You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Paperlibrary__Random__Pr...

219 lines
953 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[337],{89489:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},59477:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},49198:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},87169:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},52671:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},8657:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},56082:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},33853:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},12893:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},15075:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},32134:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},43531:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},38819:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(we,De){return ie.createElement(be.Z,(0,z.Z)({},we,{ref:De,icon:Re}))},re=ie.forwardRef(xe),Ne=re},88010:function(pt,vt){"use strict";vt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},43809:function(pt,vt){"use strict";vt.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"}},42678:function(pt,vt,ne){"use strict";var z=ne(59301),ie=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(Oe,we,De)=>we in Oe?ie(Oe,we,{enumerable:!0,configurable:!0,writable:!0,value:De}):Oe[we]=De,re=(Oe,we)=>{for(var De in we||(we={}))Re.call(we,De)&&xe(Oe,De,we[De]);if(Pe)for(var De of Pe(we))be.call(we,De)&&xe(Oe,De,we[De]);return Oe};const Ne=Oe=>React.createElement("svg",re({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Oe),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));vt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},74413:function(){"use strict";function pt(oe,E,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=oe,this._defaultValue=E,this._minimum=a,this._maximum=b}Object.defineProperty(pt.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(pt.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(pt.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(pt.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,E){var a=go.Shape._FigureParameters[oe];return a?a[E]:null},go.Shape.setFigureParameter=function(oe,E,a){if(!(a instanceof pt))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[E]=a};var vt=[];function ne(oe,E){var a=vt.pop();return a===void 0?new go.Point(oe,E):(a.x=oe,a.y=E,a)}function z(){var oe=vt.pop();return oe===void 0?new go.Point:oe}function ie(oe){vt.push(oe)}function Pe(oe,E,a,b,y,x,ee,te,ae){ae||(ae=new go.Point);var se=oe-a,de=y-ee,me=NaN,Be=NaN;if(se===0)if(de===0)oe===a&&(me=oe,Be=E);else{var pe=(x-te)/de,Fe=x-pe*y;me=oe,Be=pe*me+Fe}else if(de===0){var ge=(E-b)/se,tt=E-ge*oe;me=y,Be=ge*me+tt}else{var ge=(E-b)/se,pe=(x-te)/de,tt=E-ge*oe,Fe=x-pe*y;me=(Fe-tt)/(ge-pe),Be=ge*me+tt}return ae.x=me,ae.y=Be,ae}function Re(oe,E,a,b,y,x,ee,te,ae,se,de,me,Be,pe){var Fe=1-ae,ge=ae,tt=oe*Fe+a*ge,Ie=E*Fe+b*ge,Qe=a*Fe+y*ge,_e=b*Fe+x*ge,We=y*Fe+ee*ge,it=x*Fe+te*ge,Ct=tt*Fe+Qe*ge,nt=Ie*Fe+_e*ge,Lt=Qe*Fe+We*ge,Xe=_e*Fe+it*ge,xt=Ct*Fe+Lt*ge,Mt=nt*Fe+Xe*ge;se.x=tt,se.y=Ie,de.x=Ct,de.y=nt,me.x=xt,me.y=Mt,Be.x=Lt,Be.y=Xe,pe.x=We,pe.y=it}var be=new go.Spot(.156,.156),xe=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new pt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,E/3),b=Math.min(b,a/3);var y=b*re,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()));return y>1&&(x.spot1=new go.Spot(0,0,y,y),x.spot2=new go.Spot(1,1,-y,-y)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=E,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E/2,b.startY=0,b.endX=E/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,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(oe,E,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*E,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(oe,E,a){var b=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return y.spot1=be,y.spot2=xe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(oe,E,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=E,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,re*E,0,E,(1-re)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,re*a,(1-re)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,re*a,re*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-re)*E,0,0,(1-re)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new pt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var y=Math.abs(b)*E;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new pt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-E?b=-E:b>E&&(b=E);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new pt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var y=Math.abs(b)*E;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new pt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=20:b<-E?b=-E/2:b>E&&(b=E/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new pt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-E?b=-E/2:b>E&&(b=E/2);var y=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=E,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y<E/2&&x.setSpots(y/E,0,(E-y)/E,1),x}});var Ne=[];function Oe(){var oe=Ne.pop();return oe===void 0?[]:oe}function we(oe){oe.length=0,Ne.push(oe)}function De(oe){for(var E=Oe(),a=.5,b=.5,y=Math.PI*1.5,x=0,ee=0;ee<oe;ee++)x=2*Math.PI/oe*ee+y,E[ee]=new go.Point(b+a*Math.cos(x),b+a*Math.sin(x));return E.push(E[0]),E}function je(oe){var E=Ee(oe),a=Oe();a[0]=E[0];for(var b=1,y=1;b<E.length;b+=2,y+=3)a[y]=E[b],a[y+1]=E[b],a[y+2]=E[b+1];return we(E),a}function Ee(oe){for(var E=De(oe),a=Oe(),b=Math.floor(E.length/2),y=E.length-1,x=oe%2===0?2:1,ee=0;ee<y;ee++){var te=E[ee],ae=E[ee+1],se=E[(b+ee-1)%y],de=E[(b+ee+x)%y];a[ee*2]=te,a[ee*2+1]=Pe(te.x,te.y,se.x,se.y,ae.x,ae.y,de.x,de.y,new go.Point)}return a[a.length]=a[0],we(E),a}go.Shape.defineFigureGenerator("Pentagon",function(oe,E,a){var b=De(5),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<5;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(oe,E,a){var b=De(6),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<6;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(oe,E,a){var b=De(7),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<7;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(oe,E,a){var b=De(8),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<8;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(oe,E,a){var b=De(9),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<9;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(oe,E,a){var b=De(10),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(oe,E,a){var b=De(12),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(oe,E,a){var b=Ee(5),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<10;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(oe,E,a){var b=Ee(6),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<12;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(oe,E,a){var b=Ee(7),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<14;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(oe,E,a){var b=Ee(8),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<16;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(oe,E,a){var b=Ee(9),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<18;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(oe,E,a){var b=Ee(10),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<20;ee++)x.add(new go.PathSegment(go.PathSegment.Line,b[ee].x*E,b[ee].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*E,b[0].y*a).close()),we(b),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(oe,E,a){var b=je(5),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),we(b),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(oe,E,a){var b=je(6),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),we(b),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(oe,E,a){var b=je(7),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),we(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(oe,E,a){var b=je(8),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),we(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(oe,E,a){var b=je(9),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),we(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(oe,E,a){var b=je(10),y=new go.Geometry,x=new go.PathFigure(b[0].x*E,b[0].y*a,!0);y.add(x);for(var ee=1;ee<b.length;ee+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[ee+2].x*E,b[ee+2].y*a,b[ee].x*E,b[ee].y*a,b[ee+1].x*E,b[ee+1].y*a));return x.segments.last().close(),we(b),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new pt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new pt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(oe,E,a){var b=oe?oe.parameter1:NaN,y=oe?oe.parameter2:NaN;isNaN(b)&&(b=8),isNaN(y)&&(y=8);var x=new go.Geometry,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<E/2&&y<a/2&&(ee.add(new go.PathSegment(go.PathSegment.Move,b,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a-y)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,a-y)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,y).close())),x.setSpots(0,0,1,1,b,y,-b,-y),x}),go.Shape.setFigureParameter("Ring",0,new pt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var y=E/2,x=new go.Geometry,ee=new go.PathFigure(E,E/2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var te=Math.max(y-b,0);return te>0&&(ee.add(new go.PathSegment(go.PathSegment.Move,E/2+te,E/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),x.spot1=be,x.spot2=xe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(oe,E,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Line,b*E,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 pt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new pt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,E,a){var b=oe?oe.parameter1:NaN,y=oe?oe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(y)&&(y=315);var x=b%360;x<0&&(x+=360);var ee=y%360,te=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,x,ee,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,E,a){var b=re/Math.SQRT2*.5,y=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,x*a,E,(1-b)*a,(y+b)*E,(x+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new pt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var y=Math.min(b,E)/2,x=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new pt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=Math.min(b,E)/2,x=E/2,ee=a/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee-y)).add(new go.PathSegment(go.PathSegment.Line,E,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,a)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee+y)).add(new go.PathSegment(go.PathSegment.Line,0,ee-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,ee-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new pt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,E,a){var b=oe?oe.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var x=E/2,ee=a/2,te=Math.atan2(a,E),ae=b-Math.min(Math.cos(te)*b/2,x),se=b-Math.min(Math.sin(te)*b/2,ee),y=new go.Geometry,de=new go.PathFigure(ae,0,!0);return y.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),de.add(new go.PathSegment(go.PathSegment.Line,E-ae,0)),de.add(new go.PathSegment(go.PathSegment.Line,E,se)),de.add(new go.PathSegment(go.PathSegment.Line,.8*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,E,a-se)),de.add(new go.PathSegment(go.PathSegment.Line,E-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-se)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,se).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new pt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var y=new go.Geometry,x=new go.PathFigure(.1*E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new pt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*E,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,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)*E,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*E,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new pt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.5);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-b)*E,.25*a,Math.abs(1-b)*E,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,re*E,0,E,(.5-re/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+re/2)*a,re*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var x=.2,ee=.3,te=0,ae=x*re;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+x+te)*a,(.5-x+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*E,(.5+te)*a,(.5+ae+ee)*E,(.5+x+te)*a,(.5+x+ee)*E,(.5+ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-x+te)*a,(1-.5+x+ee)*E,(.5-ae+te)*a,(.5+ae+ee)*E,(.5-x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ae+ee)*E,(.5-x+te)*a,(.5-x+ee+.05)*E,(.5-ae+te-.02)*a)),x=.2,ee=0,te=-.3,ae=x*re,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+ee)*E,(.5+te)*a,(.5+ae+ee)*E,(.5+x+te)*a,(.5+x+ee)*E,(.5+ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-x+te)*a,(1-.5+x+ee)*E,(.5-ae+te)*a,(.5+ae+ee)*E,(.5-x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*E,(.5+te)*a,(.5-ae+ee)*E,(.5-x+te)*a,(.5-x+ee)*E,(.5-ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+ee)*E,(.5+x+te)*a,(.5-x+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+x+te)*a)),x=.2,ee=-.3,te=0,ae=x*re,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5-x+te)*a,(1-.5+x+ee-.05)*E,(.5-ae+te-.02)*a,(.5+ae+ee)*E,(.5-x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+ee)*E,(.5+te)*a,(.5-ae+ee)*E,(.5-x+te)*a,(.5-x+ee)*E,(.5-ae+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*E,(.5+x+te)*a,(.5-x+ee)*E,(.5+ae+te)*a,(.5-ae+ee)*E,(.5+x+te)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ae+ee)*E,(.5+x+te)*a,(.5+x+ee)*E,(.5+ae+te)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var x=.1,ee=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ee+x)*E,te*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ee,a*te,x*E,x*E).close()),y=new go.PathFigure(E*.5,0,!1),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),te=.75,y=new go.PathFigure((ee+x)*E,te*a,!0),b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ee,a*te,x*E,x*E).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(oe,E,a){var b=.8535533905932737,y=.5*E,x=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,x,y,x)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,b*a)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,b*E,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=.5,te=.5,ae=new go.PathFigure(ee*E,(te-x)*a);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),x=.4,y=re*.4;var se=z(),de=z(),me=z(),Be=z();Re(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.42,se,de,me,Be,Be);var pe=z(),Fe=z(),ge=z();Re(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.58,Be,Be,ge,pe,Fe);var tt=z(),Ie=z(),Qe=z();Re(ee,te+x,ee-y,te+x,ee-x,te+y,ee-x,te,.42,tt,Ie,Qe,Be,Be);var _e=z(),We=z(),it=z();return Re(ee,te+x,ee-y,te+x,ee-x,te+y,ee-x,te,.58,Be,Be,it,_e,We),ae.add(new go.PathSegment(go.PathSegment.Move,it.x*E,it.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,_e.x*E,_e.y*a,We.x*E,We.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,me.x*E,me.y*a,se.x*E,se.y*a,de.x*E,de.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,it.x*E,it.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Qe.x*E,Qe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,ge.x*E,ge.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,pe.x*E,pe.y*a,Fe.x*E,Fe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Qe.x*E,Qe.y*a,tt.x*E,tt.y*a,Ie.x*E,Ie.y*a).close()),ie(se),ie(de),ie(me),ie(Be),ie(pe),ie(Fe),ie(ge),ie(tt),ie(Ie),ie(Qe),ie(_e),ie(We),ie(it),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new pt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>E&&(b=E);var y=(E-b)/2,x=y+b;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(oe,E,a){var b=new go.Geometry,y=re*.4,x=.4,ee=.5,te=.5,ae=z(),se=z(),de=z(),me=z(),Be=new go.PathFigure((ee-x)*E,te*a,!1);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),Re(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.44,de,me,se,ae,ae),Be.add(new go.PathSegment(go.PathSegment.Bezier,se.x*E,se.y*a,de.x*E,de.y*a,me.x*E,me.y*a));var pe=ne(se.x,se.y);Re(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.56,ae,ae,se,de,me);var Fe=ne(se.x,se.y);Be.add(new go.PathSegment(go.PathSegment.Line,(pe.x*.1+.95*.9)*E,pe.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*E,pe.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Be.add(new go.PathSegment(go.PathSegment.Line,E,0)),Be.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(Fe.x*.1+.9)*E,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(Fe.x*.1+.9)*E,(Fe.y*.1+.05*.9)*a)),Be.add(new go.PathSegment(go.PathSegment.Line,Fe.x*E,Fe.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,de.x*E,de.y*a,me.x*E,me.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),x=.35,y=re*.35;var ge=new go.PathFigure(ee*E,(te-x)*a,!1);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a));var tt=new go.PathFigure((ee-x)*E,te*a,!1);return b.add(tt),ie(ae),ie(se),ie(de),ie(me),ie(pe),ie(Fe),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,E,a){var b=new go.Geometry,y=.375,x=0,ee=-.125,te=y*re,ae=new go.PathFigure((.525+x)*E,(.5+y+ee)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*E,(.5+ee)*a,(.5+te+x)*E,(.5+y+ee)*a,(.5+y+x)*E,(.5+te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*E,(.5-y+ee)*a,(1-.5+y+x)*E,(.5-te+ee)*a,(.5+te+x)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*E,(.5+ee)*a,(.5-te+x)*E,(.5-y+ee)*a,(.5-y+x)*E,(.5-te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*E,(.5+y+ee)*a,(.5-y+x)*E,(.5+te+ee)*a,(.5-te+x)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,x=0,ee=-.125,te=y*re;var ae=new go.PathFigure((1-.5+y+x)*E,(.5+ee)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*E,(.5+y+ee)*a,(.5+y+x)*E,(.5+te+ee)*a,(.5+te+x)*E,(.5+y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*E,(.5+ee)*a,(.5-te+x)*E,(.5+y+ee)*a,(.5-y+x)*E,(.5+te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*E,(.5-y+ee)*a,(.5-y+x)*E,(.5-te+ee)*a,(.5-te+x)*E,(.5-y+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*E,(.5+ee)*a,(.5+te+x)*E,(.5-y+ee)*a,(1-.5+y+x)*E,(.5-te+ee)*a));var ae=new go.PathFigure((.525+x)*E,(.5+y+ee)*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,E,a){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(oe,E,a){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(oe,E,a){var b=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(oe,E,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*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,E,a){var b=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*E,b*a,b*E,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new pt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new pt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=.3);var x=(1-b)*E,ee=(.5-y/2)*a,te=(.5+y/2)*a,ae=new go.Geometry,se=new go.PathFigure(0,ee,!0);ae.add(se),se.add(new go.PathSegment(go.PathSegment.Line,x,ee)),se.add(new go.PathSegment(go.PathSegment.Line,x,0)),se.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),se.add(new go.PathSegment(go.PathSegment.Line,x,a)),se.add(new go.PathSegment(go.PathSegment.Line,x,te)),se.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ae.spot1=new go.Spot(0,ee/a);var de=Pe(0,te/a,1,te/a,x/E,1,1,.5,z());return ae.spot2=new go.Spot(de.x,de.y),ie(de),ae}),go.Shape.setFigureParameter("Arrow2",0,new pt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new pt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=30),b>E&&(b=E);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var x=E-b,ee=(a-y)/2,te=ee+y,ae=new go.Geometry,se=new go.PathFigure(0,ee,!0);ae.add(se),se.add(new go.PathSegment(go.PathSegment.Line,x,ee)),se.add(new go.PathSegment(go.PathSegment.Line,x,0)),se.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),se.add(new go.PathSegment(go.PathSegment.Line,x,a)),se.add(new go.PathSegment(go.PathSegment.Line,x,te)),se.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ae.spot1=new go.Spot(0,ee/a);var de=Pe(0,te/a,1,te/a,x/E,1,1,.5,z());return ae.spot2=new go.Spot(de.x,de.y),ie(de),ae}),go.Shape.defineFigureGenerator("Chevron",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new pt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ae=Pe(0,.5,.3,0,0,y/a,.1,y/a,z());return ee.spot1=new go.Spot(ae.x,ae.y),ae=Pe(.7,1,1,.5,0,x/a,1,x/a,ae),ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new pt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new pt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var x=(a-b)/2,ee=x+b,te=(a-y)/2,ae=te+y;(b>a||y>a)&&(y>b?(b=b*a/y,x=(a-b)/2,ee=x+b,te=0,ae=a):(x=0,ee=a,te=0,ae=a));var se=new go.Geometry,de=new go.PathFigure(E,.5*a,!0);se.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close());var me=Pe(0,.5,.3,te/a,0,x/a,1,x/a,z());return se.spot1=new go.Spot(me.x,me.y),me=Pe(.7,ae/a,1,.5,0,ee/a,1,ee/a,me),se.spot2=new go.Spot(me.x,me.y),ie(me),se}),go.Shape.setFigureParameter("IBeamArrow",0,new pt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(0,y/a);var ae=Pe(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new pt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new pt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var y=oe?oe.parameter2:NaN;isNaN(y)&&(y=100);var x=(a-b)/2,ee=x+b,te=(a-y)/2,ae=te+y;(b>a||y>a)&&(y>b?(b=b*a/y,x=(a-b)/2,ee=x+b,te=0,ae=a):(x=0,ee=a,te=0,ae=a));var se=new go.Geometry,de=new go.PathFigure(E,.5*a,!0);se.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*E,te).close()),se.spot1=new go.Spot(0,x/a);var me=Pe(.7,ae/a,1,.5,0,ee/a,1,ee/a,z());return se.spot2=new go.Spot(me.x,me.y),ie(me),se}),go.Shape.setFigureParameter("Pointer",0,new pt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var y=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(b,.35);var ee=Pe(.2,.65,1,.65,0,1,1,.5,z());return y.spot2=new go.Spot(ee.x,ee.y),ie(ee),y}),go.Shape.setFigureParameter("RoundedPointer",0,new pt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var y=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*E,.75*a,b*E,.25*a).close()),y.spot1=new go.Spot(b,.35);var ee=Pe(0,.65,1,.65,0,1,1,.5,z());return y.spot2=new go.Spot(ee.x,ee.y),ie(ee),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new pt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.4);var y=(.5-b/2)*a,x=(.5+b/2)*a,ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,.3);var ae=Pe(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new pt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=50);var y=(a-b)/2,x=y+b;b>a&&(y=0,x=a);var ee=new go.Geometry,te=new go.PathFigure(E,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ee.spot1=new go.Spot(.2,y/a);var ae=Pe(.7,1,1,.5,0,x/a,1,x/a,z());return ee.spot2=new go.Spot(ae.x,ae.y),ie(ae),ee}),go.Shape.setFigureParameter("SquareArrow",0,new pt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var y=new go.Geometry,x=new go.PathFigure(E,.5*a,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*E,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*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(b,1),y}),go.Shape.defineFigureGenerator("Cone1",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.1,ee=new go.PathFigure(0,.9*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+x)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.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,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*E,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var x=new go.PathFigure(0,.3*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(0,b,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,re*b,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*E,b,(.5+x)*E,0,1*E,re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-re*b,(.5+x)*E,1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*E,1*a,0,a-re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b));var te=new go.PathFigure(E,b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*b,1*E,2*b-re*b,(.5+x)*E,2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*E,2*b,0,2*b-re*b)),y.spot1=new go.Spot(0,0,0,2*b),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(0,a-b,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,re*b,(.5-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b,(.5+x)*E,0,E,re*b)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-re*b,(.5+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*E,a,0,a-re*b));var te=new go.PathFigure(0,a-b,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*b,0,a-b-re*b,(.5-x)*E,a-2*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,a-b,(.5+x)*E,a-2*b,E,a-b-re*b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*b),y}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(b,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-re*b,0,E,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+x)*a,E-re*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0));var te=new go.PathFigure(b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+re*b,0,2*b,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+x)*a,b+re*b,a)),y.spot1=new go.Spot(0,0,2*b,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,E/3);var y=new go.Geometry,x=re*.5,ee=new go.PathFigure(E-b,0,!0);y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-re*b,0,E,(.5-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,(.5+x)*a,E-re*b,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E-b,0));var te=new go.PathFigure(E-b,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E-2*b,.5*a,E-b-re*b,0,E-2*b,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E-2*b,(.5+x)*a,E-b-re*b,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*b,0),y}),go.Shape.defineFigureGenerator("Prism1",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*E,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(oe,E,a){var b=new go.Geometry,y=.2,x=.1,ee=re*y,te=re*x,ae=.5,se=.1,de=new go.PathFigure(ae*E,(se+x)*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-y)*E,se*a,(ae-ee)*E,(se+x)*a,(ae-y)*E,(se+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-x)*a,(ae-y)*E,(se-te)*a,(ae-ee)*E,(se-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+y)*E,se*a,(ae+ee)*E,(se-x)*a,(ae+y)*E,(se-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se+x)*a,(ae+y)*E,(se+te)*a,(ae+ee)*E,(se+x)*a));var me=.05,Be=re*me;ae=.05,se=.25;var pe=new go.PathFigure(.5*E,.2*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ae=.95,se=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+me)*E,se*a,(ae+Be)*E,(se-me)*a,(ae+me)*E,(se-Be)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),me=.025,Be=re*me,ae=.825,se=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-me)*a,(ae+me)*E,(se-Be)*a,(ae+Be)*E,(se-me)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-me)*E,se*a,(ae-Be)*E,(se-me)*a,(ae-me)*E,(se-Be)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),me=.05,Be=re*me,ae=.5,se=.7,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-me)*a,(ae+me)*E,(se-Be)*a,(ae+Be)*E,(se-me)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-me)*E,se*a,(ae-Be)*E,(se-me)*a,(ae-me)*E,(se-Be)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),me=.025,Be=re*me,ae=.175,se=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-me)*a,(ae+me)*E,(se-Be)*a,(ae+Be)*E,(se-me)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-me)*E,se*a,(ae-Be)*E,(se-me)*a,(ae-me)*E,(se-Be)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),me=.05,Be=re*me,ae=.05,se=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-me)*a,(ae-me)*E,(se-Be)*a,(ae-Be)*E,(se-me)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new pt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,E,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var y=new go.Geometry,x=new go.PathFigure(E,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,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*E,0).close()),y.spot1=new go.Spot(0,b),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var x=new go.PathFigure(.5*E,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),b}),go.Shape.defineFigureGenerator("Database",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+x)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-x)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-x)*a));var te=new go.PathFigure(E,.1*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+x)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+x)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+x)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+x)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+x)*a,(.5+y)*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.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,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.1,ee=new go.PathFigure(E,.1*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+x)*a,(.5+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-x)*a,(.5-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-x)*a));var te=new go.PathFigure(E,.1*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+x)*a,(.5+y)*E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+x)*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+x)*a,(.5+y)*E,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.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,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.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,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var x=re*.2,ee=new go.PathFigure(0,.2*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-x)*a,(.2-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+x)*E,0,E,(.2-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+x)*a,(.8+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*E,a,0,(.8+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var te=new go.PathFigure(0,y*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,y*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),b}),go.Shape.defineFigureGenerator("Document",function(oe,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ee.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*E,.4*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var x=new go.PathFigure(E,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,a));var ee=new go.PathFigure(E,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(y*E,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),b}),go.Shape.defineFigureGenerator("Junction",function(oe,E,a){var b=new go.Geometry,y=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,ee=re*.5,te=.5,ae=new go.PathFigure(E,te*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,E,(te+ee)*a,(te+ee)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-ee)*E,a,0,(te+ee)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,0,0,(te-ee)*a,(te-ee)*E,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,te*a,(te+ee)*E,0,E,(te-ee)*a));var se=new go.PathFigure((x+y)*E,(x+y)*a,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)),se.add(new go.PathSegment(go.PathSegment.Move,x*E,(x+y)*a)),se.add(new go.PathSegment(go.PathSegment.Line,(x+y)*E,x*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var x=new go.PathFigure(.1*E,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=new go.PathFigure(.5*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-y)*E,a,0,(x+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-y)*a,(x-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+y)*E,0,E,(x-y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*E,.9*a,E,(x+y)*a,(x+y)*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var x=new go.PathFigure(.1*E,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var x=new go.PathFigure(.2*E,.1*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=1-y,ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var te=new go.PathFigure(.5*y*E,y*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.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,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=new go.PathFigure(E,x*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,a,E,(x+y)*a,(x+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-y)*E,a,0,(x+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-y)*a,(x-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+y)*E,0,E,(x-y)*a));var te=new go.PathFigure(E,.5*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(oe,E,a){var b=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure((1-y)*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),b}),go.Shape.defineFigureGenerator("Process",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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,E,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(y*E,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ee=new go.PathFigure(y*E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),b.spot1=new go.Spot(y,0),b.spot2=new go.Spot(1-y,1),b}),go.Shape.defineFigureGenerator("Terminator",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,E,a){var b=new go.Geometry,y=oe?oe.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,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,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=new go.PathFigure(E,x*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,a,E,(x+y)*a,(x+y)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-y)*E,a,0,(x+y)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x*E,0,0,(x-y)*a,(x-y)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,x*a,(x+y)*E,0,E,(x-y)*a));var te=new go.PathFigure(E,x*a,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,x*a));var ae=new go.PathFigure(.8*E,.75*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(oe,E,a){var b=new go.Geometry,y=re*.1,x=.1,ee=.9,te=.5,ae=new go.PathFigure(.8*E,.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*E,.5*a));var se=new go.PathFigure((ee+x)*E,te*a,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te-x)*a,(ee+x)*E,(te-y)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=re*.4,ee=re*.1,te=.1,ae=.9,se=.5,de=new go.PathFigure(.8*E,.5*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+x)*a,(.4+y)*E,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*E,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-x)*a));var me=new go.PathFigure((ae+te)*E,se*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se+te)*a,(ae+te)*E,(se+ee)*a,(ae+ee)*E,(se+te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E,se*a,(ae-ee)*E,(se+te)*a,(ae-te)*E,(se+ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-te)*a,(ae-te)*E,(se-ee)*a,(ae-ee)*E,(se-te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E,se*a,(ae+ee)*E,(se-te)*a,(ae+te)*E,(se-ee)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=0,te=.5,ae=new go.PathFigure(.8*E,.5*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+x)*E,(te-y)*a,.7*E,(te-x)*a)),y=.1,x=re*.1,ee=.9,te=.5;var se=new go.PathFigure((ee-y)*E,te*a,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=0,te=.5,ae=new go.PathFigure(0,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+x+x)*E,(te-y)*a,.8*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(te+x)*a,(ee+x+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=.2,te=.5,ae=new go.PathFigure(.1*E,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var se=new go.PathFigure(.8*E,.5*a,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(te+x)*a,(ee+x)*E,(te+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ee+x)*E,(te-y)*a,.7*E,(te-x)*a)),y=.1,x=re*.1,ee=.9,te=.5;var de=new go.PathFigure((ee-y)*E,te*a,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*y,ee=.2,te=.5,ae=new go.PathFigure(.1*E,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var se=new go.PathFigure(.2*E,0,!0);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ee+x)*E,(te-y)*a,.9*E,(te-x)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(te+x)*a,(ee+x)*E,(te+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(oe,E,a){var b=new go.Geometry,y=re*.1,x=.1,ee=.1,te=.5,ae=new go.PathFigure((ee-y*.5)*E,a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+x)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+x)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,a,(ee+x)*E,0,(ee+y)*E,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,0,(ee-y)*E,a,(ee-x)*E,0)),ee=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y*.5)*E,a,(ee+x)*E,0,(ee+y)*E,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,E,a){var b=new go.Geometry,y=re*.5,x=.5,ee=.5,te=.5,ae=new go.PathFigure((ee-x)*E,te*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-x)*a,(ee-x)*E,(te-y)*a,(ee-y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te-x)*a,(ee+x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(ee-x+.1)*E,te*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x-.1)*E,te*a,ee*E,(te-x)*a,ee*E,(te+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("Diode",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(oe,E,a){var b=new go.Geometry,y=E,x=a;E=E*.38,a=a*.6;var ee=re*.8,te=.8,ae=0,se=.5,de=(y-E)/2,me=(x-a)/2,Be=new go.PathFigure(ae*E+de,(se+te)*a+me,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+de,se*a+me,(ae-ee)*E+de,(se+te)*a+me,(ae-te)*E+de,(se+ee)*a+me)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se-te)*a+me,(ae-te)*E+de,(se-ee)*a+me,(ae-ee)*E+de,(se-te)*a+me)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te+ee*.5)*E+de,se*a+me,ae*E+de,(se-te)*a+me,(ae-te+ee*.5)*E+de,(se-ee)*a+me)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se+te)*a+me,(ae-te+ee*.5)*E+de,(se+ee)*a+me,ae*E+de,(se+te)*a+me).close()),ee=re*.4,te=.4,ae=.2,se=.5;var pe=new go.PathFigure(ae*E+de,(se+te)*a+me,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+de,se*a+me,(ae-ee)*E+de,(se+te)*a+me,(ae-te)*E+de,(se+ee)*a+me)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se-te)*a+me,(ae-te)*E+de,(se-ee)*a+me,(ae-ee)*E+de,(se-te)*a+me)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te+ee*.5)*E+de,se*a+me,ae*E+de,(se-te)*a+me,(ae-te+ee*.5)*E+de,(se-ee)*a+me)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se+te)*a+me,(ae-te+ee*.5)*E+de,(se+ee)*a+me,ae*E+de,(se+te)*a+me).close()),ee=re*.2,te=.2,ae=.5,se=.5;var Fe=new go.PathFigure((ae-te)*E+de,se*a+me,!0);b.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se-te)*a+me,(ae-te)*E+de,(se-ee)*a+me,(ae-ee)*E+de,(se-te)*a+me)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+de,se*a+me,(ae+ee)*E+de,(se-te)*a+me,(ae+te)*E+de,(se-ee)*a+me)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se+te)*a+me,(ae+te)*E+de,(se+ee)*a+me,(ae+ee)*E+de,(se+te)*a+me)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-te)*E+de,se*a+me,(ae-ee)*E+de,(se+te)*a+me,(ae-te)*E+de,(se+ee)*a+me)),ee=re*.4,te=.4,ae=.8,se=.5;var ge=new go.PathFigure(ae*E+de,(se-te)*a+me,!0);b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+de,se*a+me,(ae+ee)*E+de,(se-te)*a+me,(ae+te)*E+de,(se-ee)*a+me)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se+te)*a+me,(ae+te)*E+de,(se+ee)*a+me,(ae+ee)*E+de,(se+te)*a+me)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te-ee*.5)*E+de,se*a+me,ae*E+de,(se+te)*a+me,(ae+te-ee*.5)*E+de,(se+ee)*a+me)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se-te)*a+me,(ae+te-ee*.5)*E+de,(se-ee)*a+me,ae*E+de,(se-te)*a+me).close()),ee=re*.8,te=.8,ae=1,se=.5;var tt=new go.PathFigure(ae*E+de,(se-te)*a+me,!0);return b.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te)*E+de,se*a+me,(ae+ee)*E+de,(se-te)*a+me,(ae+te)*E+de,(se-ee)*a+me)),tt.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se+te)*a+me,(ae+te)*E+de,(se+ee)*a+me,(ae+ee)*E+de,(se+te)*a+me)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+te-ee*.5)*E+de,se*a+me,ae*E+de,(se+te)*a+me,(ae+te-ee*.5)*E+de,(se+ee)*a+me)),tt.add(new go.PathSegment(go.PathSegment.Bezier,ae*E+de,(se-te)*a+me,(ae+te-ee*.5)*E+de,(se-ee)*a+me,ae*E+de,(se-te)*a+me).close()),b}),go.Shape.defineFigureGenerator("Email",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var x=new go.PathFigure(.1*E,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ee=new go.PathFigure(.6*E,a,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var te=new go.PathFigure(0,.5*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(oe,E,a){var b=new go.Geometry,y=re*.4,x=.4,ee=.5,te=.5,ae=z(),se=z(),de=z(),me=z();Re(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.5,ae,ae,se,de,me);var Be=ne(se.x,se.y),pe=new go.PathFigure(se.x*E,se.y*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,de.x*E,de.y*a,me.x*E,me.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee+x)*E,(te+y)*a,(ee+y)*E,(te+x)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,(ee-y)*E,(te+x)*a,(ee-x)*E,(te+y)*a)),Re(ee-x,te,ee-x,te-y,ee-y,te-x,ee,te-x,.5,de,me,se,ae,ae),pe.add(new go.PathSegment(go.PathSegment.Bezier,se.x*E,se.y*a,de.x*E,de.y*a,me.x*E,me.y*a)),y=re*.3,x=.3,Re(ee-x,te,ee-x,te-y,ee-y,te-x,ee,te-x,.5,de,me,se,ae,ae),pe.add(new go.PathSegment(go.PathSegment.Line,se.x*E,se.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-x)*E,te*a,me.x*E,me.y*a,de.x*E,de.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+x)*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+x)*E,te*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),Re(ee,te-x,ee+y,te-x,ee+x,te-y,ee+x,te,.5,ae,ae,se,de,me),pe.add(new go.PathSegment(go.PathSegment.Bezier,se.x*E,se.y*a,me.x*E,me.y*a,de.x*E,de.y*a).close());var pe=new go.PathFigure(.45*E,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),ie(ae),ie(se),ie(de),ie(me),ie(Be),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a/2,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function x(ee,te,ae){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*E,(.8+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*E,(.5+ae)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*E,(.8+ae)*a).close())}return x(y,0,0),x(y,.4,0),x(y,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.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,E,a){var b=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,E,a){var b=new go.Geometry,y=.5,x=0,ee=0,te=y*re,ae=.4*Math.SQRT2/2+.5,se=.5-.5*Math.SQRT2/2,de=1,me=.5,Be=.5,pe=0,Fe=new go.PathFigure(ae*E,(1-se)*a,!1);return b.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,de*E,me*a,de*E,.7*a,de*E,me*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Be+x)*E,(pe+x)*a,(.5+y+x)*E,(.5-te+x)*a,(.5+te+x)*E,(.5-y+x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*E,(.5+ee)*a,(.5-te+x)*E,(.5-y+ee)*a,(.5-y+x)*E,(.5-te+ee)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*E,.9*a,(.5-y+x)*E,(.5+te+ee)*a,(.5-te+x)*E,.9*a)),Fe.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*E,.8*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*E,.9*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*E,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(E,a,!1);b.add(x);var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var x=new go.PathFigure(.45*E,.73*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(.335*E,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,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*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ee=.5-.285,te=.5,ae=ee,se=Math.PI/4,de=4*(1-Math.cos(se))/(3*Math.sin(se)),me=de*.5,Be=ee,pe=ee,Fe=de*Be,ge=de*pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(te-Be)*E,ae*a,(te-(Fe+Be)/2)*E,(ae+(pe+ge)/2)*a,(te-Be)*E,(ae+ge)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-pe)*a,(te-Be)*E,(ae-ge)*a,(te-Fe)*E,(ae-pe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(te+Be)*E,ae*a,(te+Fe)*E,(ae-pe)*a,(te+Be)*E,(ae-ge)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(te+Be)*E,(ae+ge)*a,(te+(Fe+Be)/2)*E,(ae+(pe+ge)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var tt=new go.PathFigure(.2*E,a,!1);b.add(tt),tt.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Ie=new go.PathFigure(.8*E,a,!1);return b.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var x=new go.PathFigure(.2*E,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y);var x=new go.PathFigure(E,a,!1);b.add(x);var ee=new go.PathFigure(.1*E,a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var x=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,x*E,x*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var x=new go.PathFigure(.475*E,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ee=new go.PathFigure(.675*E,.575*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*.5,ee=new go.PathFigure(E,y*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+x)*a,(y+x)*E,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-x)*E,a,0,(y+x)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-x)*a,(y-x)*E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+x)*E,0,E,(y-x)*a));var te=new go.PathFigure(y*E,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.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*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*E,.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 ee=new go.PathFigure(0,.6*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var x=new go.PathFigure(.15*E,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(E,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ee=.1,te=re*.1,ae=.2,se=.9,de=new go.PathFigure((ae-ee)*E,se*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-ee)*a,(ae-ee)*E,(se-te)*a,(ae-te)*E,(se-ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,se*a,(ae+te)*E,(se-ee)*a,(ae+ee)*E,(se-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se+ee)*a,(ae+ee)*E,(se+te)*a,(ae+te)*E,(se+ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,se*a,(ae-te)*E,(se+ee)*a,(ae-ee)*E,(se+te)*a).close()),ee=.1,te=re*.1,ae=.8,se=.9;var me=new go.PathFigure((ae-ee)*E,se*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-ee)*a,(ae-ee)*E,(se-te)*a,(ae-te)*E,(se-ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*E,se*a,(ae+te)*E,(se-ee)*a,(ae+ee)*E,(se-te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se+ee)*a,(ae+ee)*E,(se+te)*a,(ae+te)*E,(se+ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*E,se*a,(ae-te)*E,(se+ee)*a,(ae-ee)*E,(se+te)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.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*E,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.5*E,.8*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var te=new go.PathFigure(.5*E,.7*a,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ae=.1,se=re*.1,de=.1,me=.9,Be=new go.PathFigure((de-ae)*E,me*a,!0);b.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me-ae)*a,(de-ae)*E,(me-se)*a,(de-se)*E,(me-ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*E,me*a,(de+se)*E,(me-ae)*a,(de+ae)*E,(me-se)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me+ae)*a,(de+ae)*E,(me+se)*a,(de+se)*E,(me+ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*E,me*a,(de-se)*E,(me+ae)*a,(de-ae)*E,(me+se)*a)),ae=.1,se=re*.1,de=.4,me=.9;var pe=new go.PathFigure((de-ae)*E,me*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me-ae)*a,(de-ae)*E,(me-se)*a,(de-se)*E,(me-ae)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*E,me*a,(de+se)*E,(me-ae)*a,(de+ae)*E,(me-se)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*E,(me+ae)*a,(de+ae)*E,(me+se)*a,(de+se)*E,(me+ae)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*E,me*a,(de-se)*E,(me+ae)*a,(de-ae)*E,(me+se)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var x=new go.PathFigure(.45*E,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ee=new go.PathFigure(.55*E,.4*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var de=.05,me=re*.05,Be=.175,pe=.95,te=new go.PathFigure((Be-de)*E,pe*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe-de)*a,(Be-de)*E,(pe-me)*a,(Be-me)*E,(pe-de)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,pe*a,(Be+me)*E,(pe-de)*a,(Be+de)*E,(pe-me)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe+de)*a,(Be+de)*E,(pe+me)*a,(Be+me)*E,(pe+de)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,pe*a,(Be-me)*E,(pe+de)*a,(Be-de)*E,(pe+me)*a));var de=.05,me=re*.05,Be=.375,pe=.95,ae=new go.PathFigure((Be-de)*E,pe*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe-de)*a,(Be-de)*E,(pe-me)*a,(Be-me)*E,(pe-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,pe*a,(Be+me)*E,(pe-de)*a,(Be+de)*E,(pe-me)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe+de)*a,(Be+de)*E,(pe+me)*a,(Be+me)*E,(pe+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,pe*a,(Be-me)*E,(pe+de)*a,(Be-de)*E,(pe+me)*a));var de=.05,me=re*.05,Be=.625,pe=.95,se=new go.PathFigure((Be-de)*E,pe*a,!0);b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe-de)*a,(Be-de)*E,(pe-me)*a,(Be-me)*E,(pe-de)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,pe*a,(Be+me)*E,(pe-de)*a,(Be+de)*E,(pe-me)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe+de)*a,(Be+de)*E,(pe+me)*a,(Be+me)*E,(pe+de)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,pe*a,(Be-me)*E,(pe+de)*a,(Be-de)*E,(pe+me)*a));var de=.05,me=re*.05,Be=.825,pe=.95,Fe=new go.PathFigure((Be-de)*E,pe*a,!0);b.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe-de)*a,(Be-de)*E,(pe-me)*a,(Be-me)*E,(pe-de)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*E,pe*a,(Be+me)*E,(pe-de)*a,(Be+de)*E,(pe-me)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Be*E,(pe+de)*a,(Be+de)*E,(pe+me)*a,(Be+me)*E,(pe+de)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*E,pe*a,(Be-me)*E,(pe+de)*a,(Be-de)*E,(pe+me)*a).close());var ge=new go.PathFigure(0,a,!1);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ee=new go.PathFigure(.15*E,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var te=.05,ae=re*.05,se=.35,de=.775,me=new go.PathFigure((se-te)*E,de*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(de-te)*a,(se-te)*E,(de-ae)*a,(se-ae)*E,(de-te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,de*a,(se+ae)*E,(de-te)*a,(se+te)*E,(de-ae)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(de+te)*a,(se+te)*E,(de+ae)*a,(se+ae)*E,(de+te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,de*a,(se-ae)*E,(de+te)*a,(se-te)*E,(de+ae)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(oe,E,a){var b=new go.Geometry,y=.3,x=re*.3,ee=.5,te=.7,ae=new go.PathFigure((ee-y)*E,te*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a));var se=new go.PathFigure(0,.7*a,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E,0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),b}),go.Shape.defineFigureGenerator("Battery",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.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,E,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*.5,ee=.5,te=.5,ae=new go.PathFigure((ee-y)*E,te*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a));var se=new go.PathFigure(.15*E,.5*a,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(oe,E,a){var b=new go.Geometry,y=.5,x=re*.5,ee=.5,te=.5,ae=new go.PathFigure((ee-y)*E,te*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a).close()),y=.05,x=re*.05,ee=.5,te=.8;var se=new go.PathFigure((ee-y)*E,te*a,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te-y)*a,(ee-y)*E,(te-x)*a,(ee-x)*E,(te-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+y)*E,te*a,(ee+x)*E,(te-y)*a,(ee+y)*E,(te-x)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ee*E,(te+y)*a,(ee+y)*E,(te+x)*a,(ee+x)*E,(te+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-y)*E,te*a,(ee-x)*E,(te+y)*a,(ee-y)*E,(te+x)*a).close()),se.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),se.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*E,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*E,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.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,E,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var x=new go.PathFigure(.126*E,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ee=new go.PathFigure(.402*E,.85*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var te=new go.PathFigure(.678*E,.85*a,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ae=new go.PathFigure(.5*E,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,a*1,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var x=new go.PathFigure(E*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ee=new go.PathFigure(E*.408,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var te=new go.PathFigure(E*.612,a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ae=new go.PathFigure(E*.816,a,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var x=new go.PathFigure(E*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ee=new go.PathFigure(E*.055,.13*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var te=new go.PathFigure(E*.055,.18*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ae=new go.PathFigure(E*1,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(0,0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),x.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ee=new go.PathFigure(E*.11,a*.1,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var te=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ae=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,E,a){var b=new go.Geometry,y=8,x=y*re,ee=new go.PathFigure(y,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-x,E-x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,x,a,0,a-x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close());var te=new go.PathFigure(E*.83,0,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),te.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ae=new go.PathFigure(E*.83,a*1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var se=new go.PathFigure(E*.78,a*.05,!1);return b.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),se.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),se.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,E,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,E/3),b=Math.min(b,a/3);var y=b*re,x=a*.8,ee=new go.Geometry,te=new go.PathFigure(b,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-b,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,b,E-y,0,E,y)),te.add(new go.PathSegment(go.PathSegment.Line,E,x-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,x,E,x-y,E-y,x)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,x)),te.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),te.add(new go.PathSegment(go.PathSegment.Line,E*.55,x)),te.add(new go.PathSegment(go.PathSegment.Line,b,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,y,x,0,x-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,y,y,0).close()),y>1?(ee.spot1=new go.Spot(0,0,y,y),ee.spot2=new go.Spot(1,.8,-y,-y)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var x=new go.PathFigure(E*1,a*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(oe,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var x=new go.PathFigure(E*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ee=new go.PathFigure(E*.28,a*.37,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(oe,E,a){var b=new go.Geometry,y=15,x=y*re,ee=new go.PathFigure(E*.62,a*.475,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-x,E-x,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,x,a,0,a-x)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.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,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-x)).close());var ee=new go.PathFigure(E*.4,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var x=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);b.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-x)).close());var ee=new go.PathFigure(E*.5,a*0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var x=new go.PathFigure(E*.235,a*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(oe,E,a){var b=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return b.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var pt={},vt="5.0",ne={},z=null,ie=!1,Pe=!1,Re=null,be=!1,xe=null,re=null,Ne=0;Ne<arguments.length;Ne++){var Oe=arguments[Ne];if(Oe!==null)switch(typeof Oe){case"number":vt=Oe.toFixed(1);break;case"string":Oe.match(new RegExp("^[0-9]\\.[0-9]+$"))?vt=Oe:Re=Oe;break;case"object":typeof Oe.is3D!="undefined"?z=Oe:ne=Oe;break;case"boolean":ie=Oe,Pe=!0;break}}z===null&&(z={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ne.material_id!==void 0&&!Pe&&(ie=!0)),Re!==null&&ne.id===void 0&&(ne.id=Re);var we="",De="",je=!1,Ee=null,oe=null,E=null,a=!1,b=null,y=null,x=null,ee=null,te=null;ne.height!==void 0&&(ne.height=Math.round(ne.height)),ne.width!==void 0&&(ne.width=Math.round(ne.width));var ae=function(Te){return parseFloat(Te)>4?parseFloat(Te):5};pt.setHTML5Codebase=function(Te,$e){re=Te,Xe(Te,$e)},pt.setJavaCodebase=pt.setJavaCodebaseVersion=pt.isCompiledInstalled=pt.setPreCompiledScriptPath=pt.setPreCompiledResourcePath=function(){},pt.setHTML5CodebaseVersion=function(Te,$e){var mt=parseFloat(Te);if(mt!==NaN&&mt<5){console.log("The GeoGebra HTML5 codebase version "+mt+" is deprecated. Using version latest instead.");return}xe=Te,Lt(Te,$e)},pt.getHTML5CodebaseVersion=function(){return oe},pt.getParameters=function(){return ne},pt.setFontsCSSURL=function(Te){ee=Te},pt.setGiacJSURL=function(Te){},pt.setJNLPFile=function(Te){we=Te},pt.setJNLPBaseDir=function(Te){},pt.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var $e="auto",mt=ne.id,zt,st=!1,Tt=0;Tt<arguments.length;Tt++){var Se=arguments[Tt];typeof Se=="string"?(Se=Se.toLowerCase(),Se.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?$e=Se:mt=arguments[Tt]):typeof Se=="boolean"?st=Se:Se instanceof HTMLElement&&(zt=Se)}Ft();function Ft(){if(!be){setTimeout(Ft,200);return}$e=Ct($e);var Yt=zt||document.getElementById(mt);if(!Yt){console.log("possibly bug on ajax loading? ");return}if(pt.removeExistingApplet(Yt,!1),ne.width===void 0&&Yt.clientWidth&&(ne.width=Yt.clientWidth),ne.height===void 0&&Yt.clientHeight&&(ne.height=Yt.clientHeight),!(ne.width&&ne.height)&&$e==="html5"&&(delete ne.width,delete ne.height),Ee=$e,$e==="screenshot")Ie(Yt,ne);else{var yt=!1;ne.hasOwnProperty("playButton")&&ne.playButton||ne.hasOwnProperty("clickToLoad")&&ne.clickToLoad?yt=!0:ne.hasOwnProperty("playButtonAutoDecide")&&ne.playButtonAutoDecide&&(yt=(!se()||Te())&&de()),yt?(Ee="screenshot",_e(Yt,ne,st,$e)):tt(Yt,ne,st)}}};function se(){try{return window.self!==window.top}catch(Te){return!0}}function de(){return ne.hasOwnProperty("screenshotGenerator")&&ne.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}pt.getViews=function(){return z},pt.isJavaInstalled=function(){return!1};var me=function(Te){var $e=function(Tt){var Se=JSON.parse(Tt),Ft=function(ft){return ft.type=="G"||ft.type=="E"},Yt=Se.elements?Se.elements.filter(Ft)[0]:Se;if(!Yt||!Yt.url){mt();return}ne.fileName=Yt.url,Be(Yt.settings||{}),z.is3D=!0;var yt="https://www.geogebra.org/images/";pt.setPreviewImage(b||Yt.previewUrl,yt+"GeoGebra_loading.png",yt+"applet_play.png"),Te()},mt=function(){ne.onError&&ne.onError(),xt("Error: Fetching material (id "+ne.material_id+") failed.",ne)},zt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",st="/materials/"+ne.material_id+"?scope=basic";pe("https://"+zt+"/api/proxy.php?path="+encodeURIComponent(st),$e,mt)};function Be(Te){var $e=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(mt){Te[mt]=!!Te[mt]}),$e.forEach(function(mt){ne[mt]===void 0&&Te[mt]!==void 0&&(ne[mt]=Te[mt])}),ne.showToolBarHelp===void 0&&(ne.showToolBarHelp=ne.showToolBar)}function pe(Te,$e,mt){var zt=new XMLHttpRequest;zt.open("GET",Te),zt.onload=function(){$e(zt.responseText)},zt.onerror=mt,zt.send()}pt.isHTML5Installed=function(){return!0},pt.getLoadedAppletType=function(){return Ee},pt.setPreviewImage=function(Te,$e,mt){b=Te,y=$e,x=mt},pt.removeExistingApplet=function(Te,$e){var mt;typeof Te=="string"&&(Te=document.getElementById(Te)),Ee=null;var zt=null;for(mt=0;mt<Te.childNodes.length;mt++){var st=Te.childNodes[mt],Tt=st.className;Tt==="applet_screenshot"?$e?(st.style.display="block",Ee="screenshot"):st.style.display="none":Tt!=="applet_scaler prerender"&&(Te.removeChild(st),zt=Tt&&Tt.indexOf("appletParameters")!=-1?st.id:null,mt--)}var Se=ne.id!==void 0?ne.id:zt,Ft=window[Se];Ft&&typeof Ft.getBase64=="function"&&(Ft.remove(),window[Se]=null)},pt.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Te=pt.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},pt.startAnimation=function(){var Te=pt.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},pt.stopAnimation=function(){var Te=pt.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},pt.getAppletObject=function(){var Te=ne.id!==void 0?ne.id:"ggbApplet";return window[Te]},pt.resize=function(){};var Fe=function(Te,$e,mt){var zt=document.createElement("param");zt.setAttribute("name",$e),zt.setAttribute("value",mt),Te.appendChild(zt)},ge=function(Te){return Te&&Te!=="false"},tt=function(Te,$e,mt){ae(oe)<=4.2&&(mt=!0);var zt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(zt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var st=document.createElement("div");st.classList.add("appletParameters","notranslate");var Tt=$e.width,Se=$e.height;if($e.disableAutoScale=$e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():$e.disableAutoScale,$e.width!==void 0)if(ae(oe)<=4.4)ge($e.showToolBar)&&($e.height-=7),ge($e.showAlgebraInput)&&($e.height-=37),$e.width<605&&ge($e.showToolBar)&&($e.width=605,Tt=605);else{var Ft=100;(ge($e.showToolBar)||ge($e.showMenuBar))&&($e.hasOwnProperty("customToolBar")&&($e.customToolbar=$e.customToolBar),Ft=ge($e.showMenuBar)?245:155),Tt<Ft&&($e.width=Ft,Tt=Ft)}st.style.border="none",st.style.display="inline-block";for(var Yt in $e)$e.hasOwnProperty(Yt)&&Yt!=="appletOnLoad"&&st.setAttribute("data-param-"+Yt,$e[Yt]);ee&&st.setAttribute("data-param-fontscssurl",ee),pt.resize=function(){GGBAppletUtils.responsiveResize(Te,$e)},window.addEventListener("resize",function(Ce){pt.resize()});var yt=typeof $e.appletOnLoad=="function"?$e.appletOnLoad:function(){};if(!mt&&$e.width!==void 0){$e.hasOwnProperty("showSplash")||st.setAttribute("data-param-showSplash","false");var ft=Te.querySelector(".applet_scaler.prerender"),Ke=ft!==null;if(Ke)var ke=ft.querySelector(".ggb_preview");else{var ke=it(Tt,Se,$e.borderColor,!1);ft=document.createElement("div"),ft.className="applet_scaler",ft.style.position="relative",ft.style.display="block",ft.style.width=Tt+"px",ft.style.height=Se+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ft,"66%"),ae(oe)>=5?($e.appletOnLoad=function(Ce){var at=Te.querySelector(".ggb_preview");at&&at.parentNode.removeChild(at),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ft),window.GGBT_wsf_view&&$(window).trigger("resize"),yt(Ce)},Ke||ft.appendChild(ke)):st.appendChild(ke),ft.appendChild(st),Ke||Te.appendChild(ft),setTimeout(function(){pt.resize()},1)}else{var ve=document.createElement("div");ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.appendChild(st),Te.appendChild(ve),$e.appletOnLoad=function(Ce){pt.resize(),yt(Ce)}}function ce(Ce,at){at&&typeof at.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ce,at.appletOnLoad):renderGGBElement(Ce),xt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",at)}function He(Ce,at){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ce,params:at}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(jt){ce(jt.article,jt.params)}),html5AppletsToProcess=null)},ae(oe)<5&&(Ce.className+=" geogebraweb")):ce(Ce,at)}if(zt){scriptLoadStarted=!0;for(var ut=0;ut<st.childNodes.length;ut++){var he=st.childNodes[ut].tagName;he==="TABLE"&&(st.removeChild(st.childNodes[ut]),ut--)}if(ggbHTML5LoadedScript!==null){var fe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');fe!=null&&fe.parentNode.removeChild(fe)}var qe=document.createElement("script"),ze=function(){He(st,$e)};qe.src=De+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=qe.src,xt("GeoGebra HTML5 codebase loaded: '"+De+"'.",$e),!re&&(!xe||xe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ze()):De.requirejs?__webpack_require__.e(4184).then(function(){var Ce=[__webpack_require__(74620)];ze.apply(null,Ce)}.bind(this)).catch(__webpack_require__.oe):(qe.onload=ze,Te.appendChild(qe))}else He(st,$e);$e.height=Se,$e.width=Tt},Ie=function(Te,$e,mt){var zt=it($e.width,$e.height,$e.borderColor,mt),st=document.createElement("div");st.style.position="relative",st.style.display="block",st.style.width=$e.width+"px",st.style.height=$e.height+"px",st.className="applet_screenshot applet_scaler"+(mt?" applet_screenshot_play":""),st.appendChild(zt);var Tt=GGBAppletUtils.getScale($e,Te,mt);mt?(Te.appendChild(We()),window.GGBT_wsf_view||(Te.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(st,"66%"),Te.appendChild(st),Tt!==1&&!isNaN(Tt)&&(GGBAppletUtils.scaleElement(st,Tt),st.style.width=$e.width+"px",st.style.height=$e.height+"px",st.parentNode.style.width=$e.width*Tt+"px",st.parentNode.style.height=$e.height*Tt+"px"),pt.resize=function(){Qe(Te,zt,st,mt)},window.addEventListener("resize",function(Se){pt.resize()}),pt.resize()};function Qe(Te,$e,mt,zt){if(Te.contains($e)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Te)}var st=GGBAppletUtils.getScale(ne,Te,zt);mt.parentNode!==null&&(!isNaN(st)&&st!==1?(GGBAppletUtils.scaleElement(mt,st),mt.parentNode.style.width=ne.width*st+"px",mt.parentNode.style.height=ne.height*st+"px"):(GGBAppletUtils.scaleElement(mt,1),mt.parentNode.style.width=ne.width+"px",mt.parentNode.style.height=ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Te),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}pt.onExitFullscreen=function(Te,$e){$e.appendChild(Te)};var _e=function(Te,$e,mt,zt){Ie(Te,$e,!0);for(var st=function(){var Ft=[];for(Se=0;Se<Te.childNodes.length;Se++)Ft.push(Te.childNodes[Se]);if(window.GGBT_wsf_view){var Yt=window.GGBT_wsf_view.renderFullScreen(Te,$e.id),yt=document.getElementById("fullscreencontainer"),ft=jQuery(Te).find(".fullscreencontent");ft.length>0?(Yt.remove(),ft.attr("id","fullscreencontent").show(),jQuery(yt).append(ft),window.dispatchEvent(new Event("resize"))):tt(Yt,$e,!1),window.GGBT_wsf_view.launchFullScreen(yt)}else Ee=zt,tt(Te,$e,!1);if(!window.GGBT_wsf_view)for(Se=0;Se<Ft.length;Se++)Te.removeChild(Ft[Se])},Tt=Te.getElementsByClassName("ggb_preview_play"),Se=0;Se<Tt.length;Se++)Tt[Se].addEventListener("click",st,!1),Tt[Se].addEventListener("ontouchstart",st,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Te),de()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},We=function(){var Te=document.createElement("div");if(Te.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var $e='.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");}',mt=document.createElement("style");mt.styleSheet?mt.styleSheet.cssText=$e:mt.appendChild(document.createTextNode($e)),document.getElementsByTagName("head")[0].appendChild(mt)}return Te},it=function(Te,$e,mt,zt){var st=document.createElement("div");st.className="ggb_preview",st.style.position="absolute",st.style.zIndex="90",st.style.width=Te-2+"px",st.style.height=$e-2+"px",st.style.top="0px",st.style.left="0px",st.style.overflow="hidden",st.style.backgroundColor="white";var Tt="lightgrey";mt!==void 0&&(mt==="none"?Tt="transparent":Tt=mt),st.style.border="1px solid "+Tt;var Se=document.createElement("img");if(Se.style.position="relative",Se.style.zIndex="1000",Se.style.top="-1px",Se.style.left="-1px",b!==null&&Se.setAttribute("src",b),Se.style.opacity=.7,y!==null){var Ft,Yt,yt;if(!zt){Ft=document.createElement("img"),Ft.style.position="absolute",Ft.style.zIndex="1001",Ft.style.opacity=1,Se.style.opacity=.3,Yt=360,Yt>Te/4*3&&(Yt=Te/4*3),yt=Yt/5.8,Ft.setAttribute("src",y),Ft.setAttribute("width",Yt),Ft.setAttribute("height",yt);var ft=(Te-Yt)/2,Ke=($e-yt)/2;Ft.style.left=ft+"px",Ft.style.top=Ke+"px",st.appendChild(Ft)}}return st.appendChild(Se),st},Ct=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},nt=["web","webSimple","web3d","tablet","tablet3d","phone"],Lt=function(Te,$e){if(oe=Te,$e){Xe(oe,!0);return}var mt=!ie;if(mt){var zt=ae(oe);!isNaN(zt)&&zt<4.4&&(mt=!1)}var st,Tt;window.location.protocol.substr(0,4)==="http"?st=window.location.protocol:st="http:";var Se=oe.indexOf("//");Se>0?Tt=oe:Se===0?Tt=st+oe:Tt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ft in nt)if(oe.slice(nt[Ft].length*-1)===nt[Ft]||oe.slice((nt[Ft].length+1)*-1)===nt[Ft]+"/"){Xe(Tt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&mt&&!z.is3D&&!z.AV&&!z.SV&&!z.CV&&!z.EV2&&!z.CP&&!z.PC&&!z.DA&&!z.FI&&!z.PV&&!ge(ne.showToolBar)&&!ge(ne.showMenuBar)&&!ge(ne.showAlgebraInput)&&!ge(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?Tt+="webSimple/":Tt+="web3d/",Xe(Tt,!1)},Xe=function(Te,$e){if(Te.requirejs){De=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),De=Te,$e===null&&($e=Te.indexOf("http")===-1),je=$e,E="web.nocache.js",a=!1;var mt=De.split("/");mt.length>1&&(!$e&&mt[mt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):nt.indexOf(mt[mt.length-2])>=0&&(E=mt[mt.length-2]+".nocache.js")),mt=Te.split("/"),oe=mt[mt.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 zt=parseFloat(oe);zt!==NaN&&zt<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+zt+" is deprecated. Using version latest instead."),Lt("5.0",$e))},xt=function(Te,$e){window.console&&window.console.log&&(!$e||typeof $e.showLogging=="undefined"||$e.showLogging&&$e.showLogging!=="false")&&console.log(Te)};ne.material_id!==void 0?me(Mt):Mt();function Mt(){var Te=vt;xe!==null?Te=xe:parseFloat(Te)<5&&(Te="5.0"),Lt(Te,!1),re!==null&&Xe(re,je),be=!0}return pt},GGBAppletUtils=function(){"use strict";function pt(){return window.GGBT_wsf_edit!==void 0}function vt(be,xe){xe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+xe+","+xe+")",be.style.webkitTransform="scale("+xe+","+xe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function ne(be,xe,re,Ne,Oe,we){var De=null;if(we!=null&&we!="")for(var je=be.parentNode;je!=null;)if((" "+je.className+" ").indexOf(" "+we+" ")>-1){De=je;break}else je=je.parentNode;var Ee=0,oe=0,E=0,a=0,b=0,y=0,x=0;if(De)Ee=De.offsetWidth,oe=Math.max(Ne?De.offsetWidth:0,De.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ee):(Ee=window.innerWidth,oe=window.innerHeight,E=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=Ee&&(Oe===void 0||!Oe)&&(document.dir==="rtl"?(b=Ee-ee.width-ee.left,y=E<=480?10:30):(y=ee.left,b=E<=480?10:30),a=y+b)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return be&&((re===void 0||!re)&&xe>0&&xe+a<Ee?Ee=xe:Ee-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(oe-=x)),{width:Ee,height:oe}}function z(be,xe,re,Ne,Oe){if(be.isScreenshoGenerator)return 1;var we=Ne!==void 0&&Ne,De=be.noScaleMargin!=null&&be.noScaleMargin,je=function(te){return te&&te!=="false"},Ee=je(be.autoHeight),oe=ne(xe,be.width,re,Ee,we&&window.GGBT_wsf_view||De,Oe),E=parseInt(oe.width),a=be.width,b=be.height;if(a===void 0){var y=xe.querySelector(".appletParameters");y&&(a=y.offsetWidth,b=y.offsetHeight)}var x=E/a,ee=we?1:oe.height/b;return re!==void 0&&!re&&(x=Math.min(1,x),ee=Math.min(1,ee)),Math.min(x,ee)}function ie(be,xe,re){var Ne=1,Oe,we=!1;if(be.hasOwnProperty("allowUpscale")&&(we=be.allowUpscale),be.hasOwnProperty("scale")&&(Ne=parseFloat(be.scale),(isNaN(Ne)||Ne===null||Ne===0)&&(Ne=1),Ne>1&&(we=!0)),xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))Oe=z(be,xe,we,re,be.scaleContainerClass);else return Ne;return we&&(!be.hasOwnProperty("scale")||Ne===1)?Oe:Math.min(Ne,Oe)}function Pe(be){var xe=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),Ne=be.getBoundingClientRect(),Oe=(xe-Ne.width)/2,we=(re-Ne.height)/2;we<0&&(we=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Oe<40?be.style.left="40px":be.style.left=Oe+"px",be.style.top=we+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we<40?be.style.top="40px":be.style.top=we+"px",be.style.left=Oe+"px")}function Re(be,xe){var re=be.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xe.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var Ne=ie(xe,be);pt()&&re.setAttribute("data-param-scale",Ne);for(var Oe=null,we=0;we<be.childNodes.length;we++)if(be.childNodes[we].className!==void 0&&be.childNodes[we].className.match(/^applet_scaler/)){Oe=be.childNodes[we];break}if(Oe!==null&&Oe.querySelector(".noscale")!==null)return;var De=xe.id!==void 0?xe.id:"ggbApplet",je=window[De];(je==null||!je.recalculateEnvironments)&&Oe!==null&&!Oe.className.match(/fullscreen/)&&(Oe.parentNode.style.transform="",!isNaN(Ne)&&Ne!==1?(Oe.parentNode.style.width=xe.width*Ne+"px",Oe.parentNode.style.height=xe.height*Ne+"px",vt(Oe,Ne)):(vt(Oe,1),Oe.parentNode.style.width=xe.width+"px",Oe.parentNode.style.height=xe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Pe(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:Re,isFlexibleWorksheetEditor:pt,positionCenter:Pe,getScale:ie,scaleElement:vt}}();__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 pt=n.location.search;return pt.indexOf(J)!=-1||pt.indexOf(K)!=-1}function q(pt,vt){}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(pt){var vt=s[L].bindings;s[L].bindings=function(){for(var ne=vt?vt():{},z=pt[webModule.__softPermutationId],ie=O;ie<z.length;ie++){var Pe=z[ie];ne[Pe[O]]=Pe[P]}return ne}};var t;function u(){return v(),t}function v(){if(!t){var pt=o.createElement(Q);if(pt.id=L,pt.style.cssText=R+S,pt.tabIndex=-1,o.body.appendChild(pt),t=pt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var vt=document.compatMode==U?V:W;t.write(vt+X),t.close()}}}function w(pt){function vt(z){function ie(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Pe=ie();if(Pe){z();return}function Re(){if(!Pe){if(!ie())return;Pe=!0,z(),o.removeEventListener&&o.removeEventListener(Z,Re,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,Re,!1);var be=setInterval(function(){Re()},$)}function ne(z){var ie=u(),Pe=ie.body,Re=ie.createElement(_);Re.language=ab,Re.crossOrigin=W,Re.src=z,webModule.__errFn&&(Re.onerror=function(){webModule.__errFn(L,new Error(bb+z))}),Pe.appendChild(Re)}vt(function(){ne(pt)})}webModule.__startLoadingFragment=function(pt){return C(pt)},webModule.__installRunAsyncCode=function(pt){var vt=u(),ne=vt.body,z=vt.createElement(_);z.language=ab,z.text=pt,ne.appendChild(z),ne.removeChild(z)};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(pt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(pt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(pt){var vt=c[pt];return vt==null?null:vt},r=d,webModule.__errFn=e}function B(){function pt(be){var xe=be.lastIndexOf(rb);xe==-1&&(xe=be.length);var re=be.indexOf(sb);re==-1&&(re=be.length);var Ne=be.lastIndexOf(tb,Math.min(re,xe));return Ne>=O?be.substring(O,Ne+P):W}function vt(be){if(!be.match(/^\w+:\/\//)){var xe=o.createElement(ub);xe.src=be+vb,be=pt(xe.src)}return be}function ne(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function z(){for(var be=o.getElementsByTagName(_),xe=O;xe<be.length;++xe)if(be[xe].src.indexOf(xb)!=-1)return pt(be[xe].src);return W}function ie(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function Pe(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Re=ne();return Re==W&&(Re=z()),Re==W&&(Re=ie()),Re==W&&Pe()&&(Re=pt(o.location.href)),Re=vt(Re),Re}function C(pt){return pt.match(/^\//)||pt.match(/^[a-zA-Z]+:\/\//)?pt:webModule.__moduleBase+pt}function D(){var pt=[],vt=O,ne=[],z=[];function ie(be){var xe=z[be](),re=ne[be];if(xe in re)return xe;var Ne=[];for(var Oe in re)Ne[re[Oe]]=Oe;throw r&&r(be,Ne,xe),null}if(__gwt_isKnownPropertyValue=function(be,xe){return xe in ne[be]},webModule.__getPropMap=function(){var be={};for(var xe in ne)ne.hasOwnProperty(xe)&&(be[xe]=ie(xe));return be},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Pe;try{Pe=Cb;var Re=Pe.indexOf(Db);Re!=-1&&(vt=parseInt(Pe.substring(Re+P),$),Pe=Pe.substring(O,Re))}catch(be){}return webModule.__softPermutationId=vt,C(Pe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(pt,vt,ne){"use strict";ne.d(vt,{Ax:function(){return Re},Ds:function(){return be},KI:function(){return re},SI:function(){return Pe},f1:function(){return ie}});var z=ne(3294);function ie(Ne){let Oe=!0;if(Ne.length>0){for(let we=0;we<Ne.length;we++)if(Ne[we].compile_success==0||!Ne[we].compile_success){Oe=!1;break}}else Oe=!1;return Oe}function Pe(Ne,Oe=""){let we=[];for(let De=0;De<Ne.length;De++){let je=Ne[De],Ee=Oe?`${Oe}/${je.name}`:`${je.name}`;we.push({title:je.name,type:je.type,isLeaf:je.type!=="tree",key:Ee})}return we}function Re(Ne,Oe,we){for(let De=0;De<Ne.length;De++){let je=Ne[De];if(je.key===Oe){je.children=we;break}je.children&&Re(je.children,Oe,we)}return Ne}function be(Ne,Oe,we){let De;return function(){let je=this,Ee=arguments,oe=function(){De=null,we||Ne.apply(je,Ee)},E=we&&!De;clearTimeout(De),De=setTimeout(oe,Oe),E&&Ne.apply(je,Ee)}}const xe=!0,re=z.Z.API_SERVER},6021:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return oe}});var z=ne(3113),ie=ne(59301),Pe=Object.defineProperty,Re=Object.defineProperties,be=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Oe=(E,a,b)=>a in E?Pe(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,we=(E,a)=>{for(var b in a||(a={}))re.call(a,b)&&Oe(E,b,a[b]);if(xe)for(var b of xe(a))Ne.call(a,b)&&Oe(E,b,a[b]);return E},De=(E,a)=>Re(E,be(a)),je=(E,a)=>{var b={};for(var y in E)re.call(E,y)&&a.indexOf(y)<0&&(b[y]=E[y]);if(E!=null&&xe)for(var y of xe(E))a.indexOf(y)<0&&Ne.call(E,y)&&(b[y]=E[y]);return b},Ee=(E,a,b)=>new Promise((y,x)=>{var ee=se=>{try{ae(b.next(se))}catch(de){x(de)}},te=se=>{try{ae(b.throw(se))}catch(de){x(de)}},ae=se=>se.done?y(se.value):Promise.resolve(se.value).then(ee,te);ae((b=b.apply(E,a)).next())});const oe=E=>{var a=E,{children:b}=a,y=je(a,["children"]);const[x,ee]=(0,ie.useState)(!1);return ie.createElement(z.ZP,De(we({},y),{loading:x,onClick:te=>Ee(void 0,null,function*(){try{ee(!0),yield y.onClick(te),ee(!1)}catch(ae){console.error(ae),ee(!1)}})}),b)}},59155:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ee}});var z=ne(59301),ie=ne(8591),Pe=ne(92832),Re={codeBox:"codeBox___WpkVl"},be=ne(92310),xe=ne.n(be),re=Object.defineProperty,Ne=(oe,E,a)=>E in oe?re(oe,E,{enumerable:!0,configurable:!0,writable:!0,value:a}):oe[E]=a,Oe=(oe,E,a)=>Ne(oe,typeof E!="symbol"?E+"":E,a),we=(oe,E,a)=>new Promise((b,y)=>{var x=ae=>{try{te(a.next(ae))}catch(se){y(se)}},ee=ae=>{try{te(a.throw(ae))}catch(se){y(se)}},te=ae=>ae.done?b(ae.value):Promise.resolve(ae.value).then(x,ee);te((a=a.apply(oe,E)).next())});class De extends z.Component{constructor(E){super(E),Oe(this,"canvas"),Oe(this,"randomNum",(a,b)=>Math.floor(Math.random()*(b-a)+a)),Oe(this,"drawPic",()=>{this.randomCode()}),Oe(this,"reloadPic",()=>{this.drawPic()}),Oe(this,"changeCode",a=>{console.log(a.target.value,222),this.setState({value:a.target.value,showError:!1})}),Oe(this,"onVerify",()=>{let a;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(a=!0,ie.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(a=!0,ie.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(a=!1),this.setState({showError:a}),a}),this.canvas=z.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(E,a){const b=this.randomNum(E,a),y=this.randomNum(E,a),x=this.randomNum(E,a);return`rgb(${b}, ${y}, ${x})`}drawText(E,a,b){E.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const y=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);E.font=y+"px SimHei";const x=10,ee=(this.state.contentWidth-40)/(this.state.code.length-1);let te=x;b>0&&(te=x+b*ee);let ae=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);y>40&&(ae=40);const se=this.randomNum(-10,10);E.translate(te,ae),E.rotate(se*Math.PI/180),E.fillText(a,0,0),E.rotate(-se*Math.PI/180),E.translate(-te,-ae)}drawLine(E){for(let a=0;a<1;a++)E.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),E.beginPath(),E.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.stroke()}drawDot(E){for(let a=0;a<100;a++)E.fillStyle=this.randomColor(0,255),E.beginPath(),E.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),E.fill()}randomCode(){let E="";const a="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let b=0;b<this.state.codeLength;b++){const y=Math.floor(Math.random()*57);E+=a[y]}this.setState({code:E},()=>{const y=this.canvas.current.getContext("2d");y.textBaseline="bottom",y.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),y.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let x=0;x<this.state.code.length;x++)this.drawText(y,this.state.code[x],x);this.drawLine(y),this.drawDot(y)})}render(){const{className:E,width:a=300}=this.props;return z.createElement("div",{className:xe()(Re.codeBox,E),style:{width:a}},z.createElement("aside",null,z.createElement(Pe.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),z.createElement("div",null,z.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),z.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const je=(oe,E)=>{let a;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,E),React.createElement(De,{ref:b=>a=b})),onOk:()=>we(void 0,null,function*(){if(a.onVerify())return Promise.reject();oe()})})};var Ee=De},10672:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Oe}});var z=ne(59301),ie=ne(92832),Pe=ne(12563),Re=ne(8591),be={flex:"flex___eLcnP",flex1:"flex1___yUTT7",color666:"color666___TiUhG",error:"error___gTTtv",deleteIcon:"deleteIcon___mnZW1",addIcon:"addIcon___JC5NS"},xe=ne(62772);const{TextArea:re}=ie.default;class Ne extends z.Component{constructor(De){super(De),this.state={inputVisible:!1,EditInputIndex:-1}}render(){let{index:De,onAnswerChange:je,addChildAnswer:Ee,exerciseIsPublish:oe,answers:E,activeOptionErrorIndex:a,flex:b="0 0 1000px"}=this.props;console.log("----",E);let{inputVisible:y,EditInputIndex:x}=this.state;return z.createElement("div",{className:be.flex},z.createElement("div",{className:`${be.color666} mb5 mt6`,style:{flex:"0 0 90px"}},"\u7B54\u6848(\u586B\u7A7A",De+1,"):"),z.createElement("div",{style:{border:"1px solid #f6f6f6",flex:1,padding:10}},E==null?void 0:E.map((ee,te)=>z.createElement(z.Fragment,null,x!==te?(ee==null?void 0:ee.length)>0?z.createElement(Pe.default,{className:"edit-tag",key:ee,closable:!((E==null?void 0:E.length)===1&&te===0),onClose:ae=>{ae.preventDefault(),(E==null?void 0:E.length)===1&&te===0?this.props.deleteChildAnswermain(De,te):this.props.deleteChildAnswer(De,te)}},z.createElement("span",{onDoubleClick:ae=>{this.setState({EditInputIndex:te}),ae.preventDefault()}},ee)):z.createElement(ie.default,{defaultValue:ee,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ae=>{if(ae.target.value.replaceAll(" ","").length<=0){Re.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}je(De,te,ae.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}):z.createElement(ie.default,{defaultValue:ee,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ae=>{if(ae.target.value.replaceAll(" ","").length<=0){Re.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}je(De,te,ae.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}))),!y&&z.createElement(Pe.default,{className:"site-tag-plus",onClick:()=>{Ee(De),this.setState({inputVisible:!0})}},z.createElement(xe.Z,null)," \u65B0\u589E\u7B54\u6848")))}}var Oe=Ne},65158:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return oe}});var z=ne(59301),ie=ne(12290),Pe=Object.defineProperty,Re=Object.defineProperties,be=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Oe=(E,a,b)=>a in E?Pe(E,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[a]=b,we=(E,a)=>{for(var b in a||(a={}))re.call(a,b)&&Oe(E,b,a[b]);if(xe)for(var b of xe(a))Ne.call(a,b)&&Oe(E,b,a[b]);return E},De=(E,a)=>Re(E,be(a)),je=(E,a,b)=>Oe(E,typeof a!="symbol"?a+"":a,b);const Ee="\u2581";class oe extends z.Component{constructor(){super(...arguments),je(this,"getChCountBeforeCursor",(a,b)=>{const y=b.line;let x=0;for(let te=0;te<y;te++)x+=a.getLine(te).split(Ee).length-1;const ee=a.getLine(y).substring(0,b.ch);return x+=ee.split(Ee).length-1,x}),je(this,"onCMBeforeChange",(a,b)=>{const y=a.getRange(b.from,b.to);let x=0;if(b.text.forEach(ee=>{x+=ee.split(Ee).length-1}),y&&y.indexOf(Ee)!=-1){const ee=y.split(Ee).length-1,te=this.getChCountBeforeCursor(a,b.from);console.log(`\u5220\u9664${ee}\u4E2A\uFF0C \u4E4B\u524D\u6709${te}\u4E2A\uFF0C\u65B0\u589E${x}\u4E2A`),this.props.deleteEmptyDisabled?b.cancel():this.props.onPlaceholderChange&&this.props.onPlaceholderChange(te,ee,x)}else if(x){const ee=this.getChCountBeforeCursor(a,b.from);console.log(`\u65B0\u589E${x}\u4E2A\uFF0C\u4E4B\u524D\u6709${ee}\u4E2A`),this.props.onPlaceholderChange&&this.props.onPlaceholderChange(ee,0,x)}})}render(){return z.createElement(ie.Z,De(we({},this.props),{onCMBeforeChange:this.onCMBeforeChange}))}}},32570:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return xe}});var z=ne(60324),ie={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Pe=ne(32637),Re=ne(59301),xe=({type:re,style:Ne})=>{const Oe=Re.createElement("div",{className:ie.wrap,onClick:we=>{we.preventDefault(),we.stopPropagation()}},Re.createElement("p",null,re==="shixun"||re==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Re.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",re==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Re.createElement("div",{className:ie.contact},Re.createElement("div",{className:ie.img},Re.createElement("img",{src:Pe,width:"124px",height:"124px"})),Re.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Re.createElement(z.Z,{content:Oe},Re.createElement("span",{className:ie.text,style:Ne},"\u9AD8\u6D88\u8017"))}},73524:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(59301),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Pe=ne(92310),Re=ne.n(Pe),be=ne(71418),xe=ne(2859),re=ne(99064),Ne=ne(955),Oe=(je,Ee,oe)=>new Promise((E,a)=>{var b=ee=>{try{x(oe.next(ee))}catch(te){a(te)}},y=ee=>{try{x(oe.throw(ee))}catch(te){a(te)}},x=ee=>ee.done?E(ee.value):Promise.resolve(ee.value).then(b,y);x((oe=oe.apply(je,Ee)).next())}),De=({data:je,className:Ee,fullWidth:oe,style:E={},onClose:a,onOk:b,showFullTools:y,noAssociationId:x})=>{const ee=(0,z.useRef)(null),te=(0,z.useRef)(null),ae=(0,z.useRef)(null),se=(0,z.useRef)(null),[de,me]=(0,z.useState)(!1),[Be,pe]=(0,z.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,z.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),je!=null&&je.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",je!=null&&je.src&&Fe()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[je==null?void 0:je.visible]);const Fe=()=>Oe(void 0,null,function*(){me(!0),pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const _e=yield(0,Ne.ZJ)(je==null?void 0:je.src);ee.current.src="",ee.current.src=_e,ee.current.onload=function(){Qe()},me(!1),pe("")}),ge=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},tt=_e=>Oe(void 0,null,function*(){me(!0),pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const We=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:je.title,file:_e.dataUrl}});We!=null&&We.id&&!x?(yield(0,re.ZP)(`/api/attachments/${je.id}/add_subitem.json`,{method:"post",body:{subitem_id:We==null?void 0:We.id,settings:JSON.stringify(_e.state)}})).status===0&&b():We!=null&&We.id&&b(We),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",me(!1),pe("")}),Ie=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(it=>{const Ct=document.querySelector(it.name);Ct&&Ct.setAttribute("title",it.title)})},Qe=()=>{te.current=new xe.hP(ee.current),te.current.targetRoot=se.current,te.current.addEventListener("render",tt),te.current.addEventListener("beforeclose",ge),y&&(te.current.availableMarkerTypes=te.current.ALL_MARKER_TYPES,te.current.uiStyleSettings.redoButtonVisible=!0,te.current.uiStyleSettings.notesButtonVisible=!0,te.current.uiStyleSettings.zoomButtonVisible=!0,te.current.uiStyleSettings.zoomOutButtonVisible=!0,te.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=te.current.uiStyleSettings,te.current.show(),je!=null&&je.snapshotData&&te.current.restoreState(je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ie()},300)};return z.createElement(z.Fragment,null,(je==null?void 0:je.visible)&&z.createElement(be.Z,{spinning:de,tip:Be,style:{position:"absolute"}},z.createElement("div",{ref:se,className:Re()(ie.imageDimensions,Ee,oe?ie.fullWidth:""),style:E},z.createElement("img",{className:ie.img,ref:ee}))))}},59879:function(pt,vt,ne){"use strict";var z=ne(59301),ie=ne(88010),Pe=ne(48136),Re=ne(41588),be=ne(43418),xe=ne(59301);const re=(0,z.forwardRef)(({callback:Ne,width:Oe,onChange:we,disabled:De,readOnly:je,type:Ee="",value:oe="",style:E={}},a)=>{const b=(0,z.useRef)(),y=(0,z.useRef)(),[x,ee]=(0,z.useState)(0),[te,ae]=(0,z.useState)(0),[se,de]=(0,z.useState)(!1),me=()=>{var ge=document.createElement("div");ge.innerHTML=b.current.getValue();var tt=ge.innerText;return Ne&&Ne(tt),tt};(0,z.useImperativeHandle)(a,()=>({getData:me}));const Be=ge=>{ge.preventDefault();const tt=ge.clientX-x,Ie=ge.clientY-te;document.body.onmousemove=Qe=>{let _e=Qe.clientX-tt,We=Qe.clientY-Ie;const it=document.getElementsByClassName("markdown-popup-form")[0],Ct=window.innerWidth-it.offsetWidth,nt=window.innerHeight-it.offsetHeight;_e=Math.max(0,Math.min(_e,Ct)),We=Math.max(0,Math.min(We,nt)),pe(Qe.clientX,Qe.clientY,tt,Ie)&&(ee(_e),ae(We))},document.body.onmouseup=function(){document.body.onmousemove=null}},pe=(ge,tt,Ie,Qe)=>{const _e=document.body.clientHeight,We=document.body.clientWidth;return ge<20&&Ie>ge||ge>We-20&&Ie<ge||tt<20&&Qe>tt||tt>_e-20&&Qe<tt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,z.useEffect)(()=>{se&&setTimeout(()=>{const ge=document.getElementsByClassName("markdown-popup-form")[0],tt=window.innerWidth/2-ge.offsetWidth/2,Ie=window.innerHeight/2-ge.offsetHeight/2;ee(tt),ae(Ie)},0)},[se]);const Fe=()=>{De||je||de(!0)};return xe.createElement("div",{style:E},xe.createElement("div",{style:{width:Oe||"100%",position:"relative"},className:`${ie.Z.mathFillWrap} ${De||je?"cursorDefault":""}`,onClick:()=>Fe()},xe.createElement("math-field",{disabled:De,locale:"zh_cn",class:`${ie.Z.mathField} ${Ee}`,readOnly:je,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:oe?18:14},value:oe||""})),xe.createElement(be.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:x,top:te},title:xe.createElement("div",{style:{cursor:"move"},onMouseDown:Be},"\u8F93\u5165\u516C\u5F0F"),open:se,onOk:()=>{const ge=y.current.getData();b.current.setValue(ge),we(ge),de(!1)},onCancel:()=>{de(!1)},destroyOnClose:!0,className:"markdown-popup-form"},xe.createElement(Re.Z,{value:oe,ref:y,onChange:we,showSaveButton:!1})))});vt.Z=re},41588:function(pt,vt,ne){"use strict";var z=ne(59301),ie=ne(95237),Pe=ne(43604),Re=ne(99313),be=ne(3113),xe=ne(85149),re=ne(88010),Ne=ne(48136),Oe=ne(59301);const we=(0,z.forwardRef)(({callback:De,showSaveButton:je,value:Ee=""},oe)=>{const E=(0,z.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}`}]}]}],y=te=>{E.current.setValue(E.current.getValue()+" "+te.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Oe.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},a.map((te,ae)=>Oe.createElement(Pe.Z,{flex:"110px",className:re.Z.item},Oe.createElement("div",null,Oe.createElement(xe.Z,{value:`$$${te.value}$$`}),te.name),Oe.createElement("div",{className:re.Z.children},te.children.map((se,de)=>Oe.createElement("div",{key:de},Oe.createElement("h1",null,se.name),Oe.createElement(ie.Z,{gutter:[10,10]},se.data.map((me,Be)=>Oe.createElement(Pe.Z,{key:Be,onClick:()=>y(me),className:re.Z.diamond},Oe.createElement(xe.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Oe.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},b.map((te,ae)=>Oe.createElement(Pe.Z,{flex:"110px",className:re.Z.item},Oe.createElement("div",null,Oe.createElement(xe.Z,{value:"`$$"+te.value+"$$`"}),te.name),Oe.createElement("div",{className:re.Z.children},te.children.map((se,de)=>Oe.createElement("div",{key:de},se.name&&Oe.createElement("h1",null,se.name),Oe.createElement(ie.Z,{gutter:[10,10]},se.data.map((me,Be)=>Oe.createElement(Pe.Z,{key:Be,onClick:()=>y(me),className:re.Z.diamond},Oe.createElement(xe.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ee=()=>{var te=document.createElement("div");te.innerHTML=E.current.getValue();var ae=te.innerText;return De&&De(ae),ae};return(0,z.useImperativeHandle)(oe,()=>({getData:ee})),Oe.createElement("div",{className:re.Z.mathWrap},Oe.createElement(Re.default,{defaultActiveKey:"1",items:x}),Oe.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ee||""),je&&Oe.createElement("div",{className:re.Z.button},Oe.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});vt.Z=we},90502:function(pt,vt,ne){"use strict";ne.d(vt,{t:function(){return Ke}});var z=ne(59301),ie=ne(92832),Pe=ne(78241),Re=ne(43418),be=ne(95237),xe=ne(43604),re=ne(5871),Ne=ne(57809),Oe=ne(5112),we=ne(41984),De=ne(89070),je=ne(43809),Ee=ne(8591),oe=ne(3113),E=ne(71418),a=ne(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"},y=ne(99064),x=ne(88264),ee=ne(12290),te=ne(56102),ae=ne(74440),se=ne(59301),de=Object.defineProperty,me=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,tt=(ke,ve,ce)=>ve in ke?de(ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ce}):ke[ve]=ce,Ie=(ke,ve)=>{for(var ce in ve||(ve={}))Fe.call(ve,ce)&&tt(ke,ce,ve[ce]);if(pe)for(var ce of pe(ve))ge.call(ve,ce)&&tt(ke,ce,ve[ce]);return ke},Qe=(ke,ve)=>me(ke,Be(ve)),_e=(ke,ve,ce)=>new Promise((He,ut)=>{var he=ze=>{try{qe(ce.next(ze))}catch(Ce){ut(Ce)}},fe=ze=>{try{qe(ce.throw(ze))}catch(Ce){ut(Ce)}},qe=ze=>ze.done?He(ze.value):Promise.resolve(ze.value).then(he,fe);qe((ce=ce.apply(ke,ve)).next())}),it=({buttonProps:ke,buttonText:ve,form:ce,hackIdentifier:He="",answerKey:ut,data:he})=>{const[fe,qe]=(0,z.useState)(!1),[ze,Ce]=(0,z.useState)(!1),[at,jt]=(0,z.useState)(!1),[ct,Ot]=(0,z.useState)({}),[Dt,_t]=(0,z.useState)(""),[ht,on]=(0,z.useState)(""),tn=(0,z.useRef)(He),kt=(0,z.useRef)(""),Zt=(0,z.useRef)(!1);(0,z.useEffect)(()=>{at&&Cn()},[at]),(0,z.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const $t=()=>new Date().getTime(),sn=he==null?void 0:he.code,un=()=>{var Nt,Ht;let ln=sn?he==null?void 0:he.code:(Nt=ce.getFieldValue("hack_codes"))==null?void 0:Nt.code,nn=sn?he==null?void 0:he.answer_content:ce.getFieldValue(ut),jn=sn?he==null?void 0:he.input:(Ht=ce.getFieldValue("hack_sets"))==null?void 0:Ht.input;nn==null||nn.forEach(na=>{const hn=na.value||na.answer_text||"";ln=ln.replace(/(@▁@|@▁▁@)/,hn)}),on(jn),_t(ln),Ot({}),jt(!0)},Cn=()=>_e(void 0,null,function*(){var Nt,Ht,ln,nn;const jn=$t(),na=sn?he==null?void 0:he.time_limit:(Nt=ce.getFieldsValue())==null?void 0:Nt.hack.time_limit,hn=sn?(Ht=he==null?void 0:he.answer_content)==null?void 0:Ht.length:(nn=(ln=ce.getFieldsValue())==null?void 0:ln.standard_answers)==null?void 0:nn.length;qe(!0),yield(0,x.bM)(kt.current,{test_hack_code:Dt,test_input:ht});function Qt(){return _e(this,null,function*(){const{status:Wn,data:Me}=yield(0,x.rX)(kt.current,"submit"),Pt=$t()-jn>(na+3)*1e3*hn;if(Zt.current){if(Pt){Ee.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),qe(!1);return}if(Wn===0){qe(!1),Ot(Qe(Ie({},Me),{showText:!0}));return}setTimeout(Qt,1e3)}})}Qt()}),On=()=>_e(void 0,null,function*(){var Nt,Ht,ln,nn,jn,na,hn;if(!he){try{yield ce.validateFields()}catch(rt){(ln=(Ht=(Nt=rt==null?void 0:rt.errorFields)==null?void 0:Nt[0])==null?void 0:Ht.name)!=null&&ln.includes("standard_answers")?Ee.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ee.ZP.error(rt.errorFields[0].errors[0]),ce.scrollToField(rt.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ce(!0);let Wn="";const Me=ce.getFieldsValue();tn.current?Wn=yield(0,y.ZP)(`/api/problems/${tn.current}.json`,{method:"put",body:Qe(Ie({},Me),{hack:Qe(Ie({},Me==null?void 0:Me.hack),{sub_discipline_id:(hn=(na=Me==null?void 0:Me.hack)==null?void 0:na.sub_discipline_id)==null?void 0:hn[1],difficult:Me.difficulty,item_banks_group_id:Me.item_banks_group_id}),hack_codes:Qe(Ie({},Me.hack_codes),{code:a.Base64.encode(Me.hack_codes.code)}),update_hack_sets:[Ie({},Me.hack_sets)],is_blank:!0})}):(Wn=yield(0,y.ZP)("/api/problems.json",{method:"post",body:Qe(Ie({},Me),{hack:Qe(Ie({},Me==null?void 0:Me.hack),{sub_discipline_id:(jn=(nn=Me==null?void 0:Me.hack)==null?void 0:nn.sub_discipline_id)==null?void 0:jn[1],difficult:Me.difficulty,item_banks_group_id:Me.item_banks_group_id}),hack_codes:Qe(Ie({},Me.hack_codes),{code:a.Base64.encode(Me.hack_codes.code)}),hack_sets:[Ie({},Me.hack_sets)],is_blank:!0})}),tn.current=Wn==null?void 0:Wn.identifier,sessionStorage.projectFill=Wn==null?void 0:Wn.identifier)}const Qt=yield(0,y.ZP)(`/api/problems/${tn.current}/start.json`,{method:"get"});if((Qt==null?void 0:Qt.status)===0){kt.current=Qt==null?void 0:Qt.identifier,Zt.current=!0,Ce(!1),un();return}Ce(!1)}),Rt=Nt=>{const{status:Ht,error_msg:ln,execute_time:nn,output:jn,input:na,expected_output:hn}=Nt;let Qt=null;switch(Ht){case ae.h.OK:Qt=se.createElement(se.Fragment,null,se.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",nn/1e3,"\u79D2"),se.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ae.h.NOMATCH:Qt=se.createElement(se.Fragment,null,se.createElement("div",null,"\u8F93\u5165\uFF1A"),se.createElement("pre",{style:{fontFamily:"initial"}},na),se.createElement("div",null,"\u8F93\u51FA\uFF1A"),se.createElement("pre",{style:{fontFamily:"initial"}},jn&&a.Base64.decode(jn)),se.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),se.createElement("pre",{style:{fontFamily:"initial"}},hn&&a.Base64.decode(hn)));break;case ae.h.EXECUTEFAILURE:Qt=se.createElement(se.Fragment,null,se.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",se.createElement("pre",null,na)),se.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),se.createElement("pre",{className:"error"},a.Base64.decode(ln)));break;case ae.h.COMPILEFAILURE:Qt=se.createElement(se.Fragment,null,se.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",se.createElement("pre",null,na)),se.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),se.createElement("pre",{className:"error"},a.Base64.decode(ln)));break;case ae.h.PODFAILURE:Qt=se.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ae.h.TIMEOUT:Qt=se.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return se.createElement(se.Fragment,null," ",Qt," ")};return se.createElement("div",null,se.createElement(oe.ZP,Qe(Ie({loading:ze},ke),{onClick:On}),ve),se.createElement(Re.default,{open:at,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:fe,cancelButtonProps:{style:{display:"none"}},onOk:()=>Cn(),onCancel:()=>{Zt.current=!1,jt(!1)}},se.createElement("div",{className:b.result},se.createElement("div",{className:b.left},se.createElement("div",{className:"mb20"},se.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!he&&se.createElement(te.CopyToClipboard,{text:Dt,onCopy:()=>Ee.ZP.success("\u590D\u5236\u6210\u529F")},se.createElement("span",{style:{float:"right"},className:"current c-light-primary"},se.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),se.createElement(ee.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Dt,onChange:Nt=>_t(Nt)})),se.createElement("div",{className:b.right},se.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),se.createElement("div",{className:b.box},se.createElement("div",{className:b.li},se.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ht,onChange:Nt=>on(Nt.target.value),bordered:!1,style:{height:180}}))),se.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),se.createElement("div",{className:b.box},se.createElement(E.Z,{spinning:fe,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},se.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},Rt(ct))))))))},Ct=ne(87169),nt=ne(59301),Lt=Object.defineProperty,Xe=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,mt=(ke,ve,ce)=>ve in ke?Lt(ke,ve,{enumerable:!0,configurable:!0,writable:!0,value:ce}):ke[ve]=ce,zt=(ke,ve)=>{for(var ce in ve||(ve={}))Te.call(ve,ce)&&mt(ke,ce,ve[ce]);if(Mt)for(var ce of Mt(ve))$e.call(ve,ce)&&mt(ke,ce,ve[ce]);return ke},st=(ke,ve)=>Xe(ke,xt(ve)),Tt=(ke,ve)=>{var ce={};for(var He in ke)Te.call(ke,He)&&ve.indexOf(He)<0&&(ce[He]=ke[He]);if(ke!=null&&Mt)for(var He of Mt(ke))ve.indexOf(He)<0&&$e.call(ke,He)&&(ce[He]=ke[He]);return ce};const{TextArea:Se}=ie.default,Ft=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Yt=({value:ke,onChange:ve})=>nt.createElement(Switch,{checked:ke,onChange:ce=>{ve(ce)}}),yt="@\u2581@",ft="@\u2581\u2581@",Ke=({questionTitlePlaceholder:ke,form:ve,scoreByBlank:ce=!1,hackidentifier:He,answerKey:ut})=>{const[he,fe]=(0,z.useState)(!1),[qe,ze]=(0,z.useState)(!1),at=(0,De.useParams)().type==="edit",jt=(kt,Zt)=>{const $t=Zt.line;let sn=0;for(let Cn=0;Cn<$t;Cn++)sn+=kt.getLine(Cn).split(yt).length-1;for(let Cn=0;Cn<$t;Cn++)sn+=kt.getLine(Cn).split(ft).length-1;const un=kt.getLine($t).substring(0,Zt.ch);return sn+=un.split(yt).length-1,sn+=un.split(ft).length-1,sn},ct=(kt,Zt,$t,sn)=>{const un=kt.getRange(Zt.from,Zt.to);let Cn=0;if(Zt.text.forEach(On=>{Cn+=On.split(yt).length-1}),Zt.text.forEach(On=>{Cn+=On.split(ft).length-1}),Zt.origin!=="setValue"){if(un&&(un.indexOf(yt)!==-1||un.indexOf(ft)!==-1)){const On=un.split(yt).length-1+un.split(ft).length-1,Rt=jt(kt,Zt.from);if(console.log(`\u5220\u9664${On}\u4E2A\uFF0C \u524D\u9762\u6709${Rt}\u4E2A\uFF0C\u65B0\u589E${Cn}\u4E2A`),On>1){const Nt=Array.from({length:On},(Ht,ln)=>Rt+ln);sn(Nt)}else sn(Rt)}else if(Cn>0){const On=jt(kt,Zt.from);console.log(`\u65B0\u589E${Cn}\u4E2A\uFF0C\u4E4B\u524D\u6709${On}\u4E2A`),$t(Cn,On)}}},Ot=()=>{const kt=ve.getFieldValue(ut);ve.setFieldsValue({[ut]:kt==null?void 0:kt.map((Zt,$t)=>st(zt({},Zt),{position:$t+1}))})},Dt=(0,z.useRef)(),_t=(kt,Zt)=>{for(let $t=0;$t<kt;$t++)Dt.current({position:null,answer_text:""},Zt+$t);Ot()},ht=(0,z.useRef)(),on=kt=>{ht.current(kt),Ot()},tn=Pe.default.useWatch(ut,ve);return nt.createElement("div",{className:je.Z.wrap},nt.createElement(Pe.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},nt.createElement(we.h,{scrollId:"name",watch:!0,height:140})),nt.createElement("div",{className:je.Z.questionTitleEditorWrap},nt.createElement(Pe.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},nt.createElement(we.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(kt,Zt)=>{const $t=ve.getFieldValue(ut);console.log("--preAnswerData",$t,Zt),ve.setFieldsValue({[ut]:$t==null?void 0:$t.map((sn,un)=>{var Cn;return st(zt({},sn),{position:un+1,multi_line:(Cn=Zt==null?void 0:Zt[un])==null?void 0:Cn.multiLine})})})},placeholder:ke,onCMBeforeChange:(kt,Zt)=>{ct(kt,Zt,_t,on)}}))),nt.createElement(Pe.default.List,{name:ut,rules:[{validator(kt,Zt){if(!(Zt!=null&&Zt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const $t of Zt){const{answer_text:sn}=$t||{};if((sn==null?void 0:sn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(kt,{add:Zt,remove:$t},{errors:sn})=>(Dt.current=Zt,ht.current=$t,nt.createElement(nt.Fragment,null,nt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},nt.createElement(Pe.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),nt.createElement("div",{onClick:()=>{Re.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:nt.createElement("div",null,nt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",nt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),nt.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"}},nt.createElement(Ct.Z,{style:{marginRight:3,color:"#3061D0"}}),nt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),kt.map((un,Cn)=>{var On=un,{key:Rt,name:Nt}=On,Ht=Tt(On,["key","name"]),ln,nn;return nt.createElement(be.Z,{className:"mb20",key:Rt,align:"middle",wrap:!1},nt.createElement(xe.Z,{flex:"0 0 auto",className:`${je.Z.blankIndex}`},"\u586B\u7A7A\u9879",Cn+1),nt.createElement(xe.Z,{flex:1},nt.createElement(be.Z,{align:"top",justify:"space-between",wrap:!1},nt.createElement(xe.Z,null,nt.createElement(Pe.default.Item,st(zt({},Ht),{name:[Nt,"answer_text"],noStyle:!0}),(ln=tn==null?void 0:tn[Nt])!=null&&ln.multi_line||(nn=tn==null?void 0:tn[Nt])!=null&&nn.multiLine?nt.createElement(Se,{spellCheck:!1,style:{marginLeft:10,width:550}}):nt.createElement(ie.default,{style:{marginLeft:10,width:550},className:je.Z.blankInput,size:"large",maxLength:1e3,onBlur:jn=>{}}))),ce&&nt.createElement(xe.Z,{flex:"224px"},nt.createElement(Pe.default.Item,st(zt({},Ht),{name:[Nt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),nt.createElement(re.Z,{size:"large",className:je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),nt.createElement("div",{onClick:()=>fe(!0)},nt.createElement(Pe.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},nt.createElement(we.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:he}))),nt.createElement(Pe.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"}]},nt.createElement(Ne.default,{size:"large"},Ft.map(kt=>nt.createElement(Ne.default.Option,{key:kt.title,value:kt.key}," ",kt.title)))),nt.createElement(Pe.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},nt.createElement(Pe.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},nt.createElement(re.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),nt.createElement("span",{className:"ml10 font14"},"\u79D2")),nt.createElement(Pe.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"}]},nt.createElement(Oe.ZP.Group,{style:{marginTop:-10}},nt.createElement(Oe.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),nt.createElement(Oe.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),nt.createElement(Oe.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),nt.createElement(Pe.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),nt.createElement("div",{style:{background:"#F6F7F9",padding:15}},nt.createElement(Pe.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},nt.createElement(Se,{rows:4})),nt.createElement(Pe.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},nt.createElement(Se,{rows:4}))),nt.createElement(it,{form:ve,answerKey:ut,hackIdentifier:He,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:nt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},65357:function(pt,vt,ne){"use strict";ne.d(vt,{u:function(){return se}});var z=ne(59301),ie=ne(95237),Pe=ne(43604),Re=ne(6848),be=ne(78241),xe=ne(43809),re=ne(32134),Ne=ne(12893),Oe=ne(41984),we=ne(59301),De=Object.defineProperty,je=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(de,me,Be)=>me in de?De(de,me,{enumerable:!0,configurable:!0,writable:!0,value:Be}):de[me]=Be,y=(de,me)=>{for(var Be in me||(me={}))E.call(me,Be)&&b(de,Be,me[Be]);if(oe)for(var Be of oe(me))a.call(me,Be)&&b(de,Be,me[Be]);return de},x=(de,me)=>je(de,Ee(me)),ee=(de,me)=>{var Be={};for(var pe in de)E.call(de,pe)&&me.indexOf(pe)<0&&(Be[pe]=de[pe]);if(de!=null&&oe)for(var pe of oe(de))me.indexOf(pe)<0&&a.call(de,pe)&&(Be[pe]=de[pe]);return Be};const te=["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:me,choiceTextKey:Be,answerKey:pe,index:Fe,isEdit:ge,setInputActive:tt,form:Ie,choiceOptionsPath:Qe,allowChangeMode:_e,showAddIcon:We,addItem:it,deleteItem:Ct})=>{console.log(de,"value");const nt=(de==null?void 0:de[pe])===1,Lt=()=>{const xt=Ie.getFieldValue(Qe);Ie.setFieldValue(Qe,xt.map(Mt=>x(y({},Mt),{[pe]:0})))},Xe=()=>{nt?me(x(y({},de),{[pe]:0})):(_e||Lt(),me(x(y({},de),{[pe]:1})))};return we.createElement(ie.Z,{className:xe.Z.choiceWrap,align:"middle",wrap:!1},we.createElement(Pe.Z,{onClick:Xe,className:`${xe.Z.choiceIndex} ${nt?xe.Z.activeAnswer:""}`},te[Fe]),we.createElement(Pe.Z,{flex:1,className:`${xe.Z.editorWrap} ml15`,onClick:tt},we.createElement(Oe.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ge,value:de==null?void 0:de[Be],onChange:xt=>{me(x(y({},de),{[Be]:xt}))}})),we.createElement(Pe.Z,{flex:"0 0 auto",className:"ml15"},we.createElement("div",{onClick:Xe,className:`${xe.Z.setAnswerBtn} ${nt?xe.Z.activeAnswer:""}`},nt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),we.createElement(Pe.Z,{className:xe.Z.actionWrapper},we.createElement(Re.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},we.createElement(re.Z,{className:xe.Z.addIcon,onClick:it,style:{visibility:We?"visible":"hidden"}})),we.createElement(Re.Z,{title:"\u5220\u9664"},we.createElement(Ne.Z,{className:xe.Z.deleteIcon,onClick:Ct,style:{visibility:Fe>1?"visible":"hidden"}}))))},se=({questionTitlePlaceholder:de,titleKey:me,choiceKey:Be,analysisKey:pe,choiceTextKey:Fe,answerKey:ge,choiceOptionsPath:tt,allowChangeMode:Ie=!0,form:Qe,showAnalysis:_e=!0})=>{const[We,it]=(0,z.useState)(),[Ct,nt]=(0,z.useState)(!1);return we.createElement("div",{className:xe.Z.wrap},we.createElement("div",{className:xe.Z.questionTitleEditorWrap},we.createElement(be.default.Item,{label:"\u9898\u5E72",name:me,labelCol:{span:24},rules:[{required:!0}]},we.createElement(Oe.h,{scrollId:Array.isArray(me)?me.join("_"):`${me}`,watch:!0,height:140,placeholder:de}))),we.createElement(be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),we.createElement(be.default.List,{name:Be,rules:[{validator(Lt,Xe){const xt=Xe.some(Te=>Te[ge]===1),Mt=Xe.findIndex(Te=>{var $e;return(($e=Te[Fe])==null?void 0:$e.length)<=0});return Mt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${te[Mt]}\u9009\u9879\u7684\u5185\u5BB9`)):xt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Lt,{add:Xe,remove:xt})=>we.createElement("div",{id:Array.isArray(tt)?tt.join("_"):`${tt}`},Lt.map((Mt,Te)=>{var $e=Mt,{key:mt,name:zt}=$e,st=ee($e,["key","name"]);const Tt=We===mt,Se=()=>{it(mt)},Ft=Te<7&&Te===Lt.length-1,Yt=()=>Xe({[Fe]:"",[ge]:0}),yt=()=>xt(zt);return we.createElement(be.default.Item,x(y({},st),{key:mt,name:zt,className:xe.Z.choiceListWrap,rules:[{validator(ft,Ke){return Ke!=null&&Ke.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${te[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),we.createElement(ae,{choiceTextKey:Fe,answerKey:ge,index:Te,isEdit:Tt,setInputActive:Se,form:Qe,choiceOptionsPath:tt,allowChangeMode:Ie,showAddIcon:Ft,addItem:Yt,deleteItem:yt}))}),Lt.length<8&&we.createElement("div",{className:`${xe.Z.addBtn} mb30`,onClick:()=>Xe({[Fe]:"",[ge]:0})},"\u6DFB\u52A0\u9009\u9879"))),_e&&we.createElement("div",{onClick:()=>nt(!0)},we.createElement(be.default.Item,{name:pe,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},we.createElement(Oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ct}))))}},70472:function(pt,vt,ne){"use strict";ne.d(vt,{u:function(){return Ie}});var z=ne(59301),ie=ne(43418),Pe=ne(95237),Re=ne(43604),be=ne(92832),xe=ne(6848),re=ne(78673),Ne=ne(78241),Oe=ne(5112),we=ne(5871),De=ne(41984),je=ne(12893),Ee=ne(61485),oe=ne(43809),E=ne(59879),a=ne(59301),b=Object.defineProperty,y=Object.defineProperties,x=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,se=(Qe,_e,We)=>_e in Qe?b(Qe,_e,{enumerable:!0,configurable:!0,writable:!0,value:We}):Qe[_e]=We,de=(Qe,_e)=>{for(var We in _e||(_e={}))te.call(_e,We)&&se(Qe,We,_e[We]);if(ee)for(var We of ee(_e))ae.call(_e,We)&&se(Qe,We,_e[We]);return Qe},me=(Qe,_e)=>y(Qe,x(_e)),Be=(Qe,_e)=>{var We={};for(var it in Qe)te.call(Qe,it)&&_e.indexOf(it)<0&&(We[it]=Qe[it]);if(Qe!=null&&ee)for(var it of ee(Qe))_e.indexOf(it)<0&&ae.call(Qe,it)&&(We[it]=Qe[it]);return We};const pe=({value:Qe,onChange:_e})=>{const We=Ct=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const nt=[...Qe];nt.splice(Ct,1),_e(nt)}})},it=()=>{const Ct=[...Qe];Ct.push(""),_e(Ct)};return a.createElement(Pe.Z,{className:"ml20"},a.createElement(Re.Z,{flex:1},Qe==null?void 0:Qe.map((Ct,nt)=>a.createElement(Pe.Z,{key:`${Ct}_${nt}`,className:"mb20"},a.createElement(be.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Ct,autoSize:{maxRows:3},maxLength:1e3,onBlur:Lt=>{const Xe=[...Qe],xt=Lt.target.value.trim();Xe[nt]=xt,_e(Xe)}}),a.createElement(xe.Z,{title:"\u5220\u9664"},a.createElement(je.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:nt>0?"visible":"hidden"},onClick:()=>We(nt)}))))),a.createElement(Re.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{it()}},"\u65B0\u589E\u7B54\u6848")))},Fe=({value:Qe,onChange:_e})=>{const We=Ct=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const nt=[...Qe];nt.splice(Ct,1),_e(nt)}})},it=()=>{const Ct=[...Qe];Ct.push(""),_e(Ct)};return a.createElement(Pe.Z,{className:"ml20"},a.createElement(Re.Z,{flex:1},Qe==null?void 0:Qe.map((Ct,nt)=>a.createElement(Pe.Z,{key:`${Ct}_${nt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Ct,style:{flex:1},onChange:Lt=>{const Xe=[...Qe];Xe[nt]=Lt,_e(Xe)}}),a.createElement(xe.Z,{title:"\u5220\u9664"},a.createElement(je.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:nt>0?"visible":"hidden"},onClick:()=>We(nt)}))))),a.createElement(Re.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{it()}},"\u65B0\u589E\u7B54\u6848")))},ge=({value:Qe=!0,onChange:_e})=>a.createElement(re.Z,{checked:!Qe,onChange:We=>{_e(!We)}}),tt="\u2581",Ie=({questionTitlePlaceholder:Qe,form:_e,scoreByBlank:We=!1,answerKey:it})=>{const[Ct,nt]=(0,z.useState)(!1),Lt=(st,Tt)=>{const Se=Tt.line;let Ft=0;for(let yt=0;yt<Se;yt++)Ft+=st.getLine(yt).split(tt).length-1;const Yt=st.getLine(Se).substring(0,Tt.ch);return Ft+=Yt.split(tt).length-1,Ft},Xe=(st,Tt,Se,Ft)=>{const Yt=st.getRange(Tt.from,Tt.to);let yt=0;if(Tt.text.forEach(ft=>{yt+=ft.split(tt).length-1}),Tt.origin!=="setValue"){if(Yt&&Yt.indexOf(tt)!==-1){const ft=Yt.split(tt).length-1,Ke=Lt(st,Tt.from);if(console.log(`\u5220\u9664${ft}\u4E2A\uFF0C \u524D\u9762\u6709${Ke}\u4E2A\uFF0C\u65B0\u589E${yt}\u4E2A`),ft>1){const ke=Array.from({length:ft},(ve,ce)=>Ke+ce);Ft(ke)}else Ft(Ke)}else if(yt>0){const ft=Lt(st,Tt.from);console.log(`\u65B0\u589E${yt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ft}\u4E2A`),Se(yt,ft)}}},xt=()=>{const st=_e.getFieldValue(it);_e.setFieldsValue({[it]:st.map((Tt,Se)=>me(de({},Tt),{position:Se+1}))})},Mt=(0,z.useRef)(),Te=(st,Tt)=>{for(let Se=0;Se<st;Se++)Mt.current({position:null,answer_text:[""],model:1},Tt+Se);xt()},$e=(0,z.useRef)(),mt=st=>{$e.current(st),xt()},zt=Ne.default.useWatch(it,_e);return a.createElement("div",{className:oe.Z.wrap},a.createElement("div",{className:oe.Z.questionTitleEditorWrap},a.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(De.h,{scrollId:"name",watch:!0,height:140,placeholder:Qe,showNullButton:!0,onCMBeforeChange:(st,Tt)=>{Xe(st,Tt,Te,mt)}}))),a.createElement(Ne.default.List,{name:it,rules:[{validator(st,Tt){if(!(Tt!=null&&Tt.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Se of Tt){const{answer_text:Ft}=Se||{};if(Ft!=null&&Ft.some(Yt=>(Yt==null?void 0:Yt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(st,{add:Tt,remove:Se},{errors:Ft})=>(Mt.current=Tt,$e.current=Se,a.createElement(a.Fragment,null,a.createElement(Ne.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(st!=null&&st.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}}),st.map((Yt,yt)=>{var ft=Yt,{key:Ke,name:ke}=ft,ve=Be(ft,["key","name"]),ce,He;return a.createElement("div",{style:{marginBottom:10},key:Ke},a.createElement(Pe.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Re.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${oe.Z.blankIndex}`},"\u586B\u7A7A\u9879",yt+1),a.createElement(Ne.default.Item,me(de({},ve),{name:[ke,"model"],noStyle:!0}),a.createElement(Oe.ZP.Group,{onChange:()=>{const ut=_e.getFieldValue(it);_e.setFieldsValue({[it]:ut.map((he,fe)=>me(de({},he),{answer_text:ke===fe?[""]:he.answer_text}))})}},a.createElement(Oe.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(xe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ee.Z,null))),a.createElement(Oe.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(xe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ee.Z,null)))))),a.createElement(Pe.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Re.Z,{flex:1},a.createElement(Pe.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Re.Z,{flex:1},a.createElement(Ne.default.Item,me(de({},ve),{name:[ke,"answer_text"],noStyle:!0}),((He=(ce=_e.getFieldValue(it))==null?void 0:ce[ke])==null?void 0:He.model)===1?a.createElement(pe,null):a.createElement(Fe,null))),We&&a.createElement(Re.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Ne.default.Item,me(de({},ve),{name:[ke,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oe.Z.blankInputNumberWrapper}),a.createElement(we.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Ne.default.Item,me(de({},ve),{name:[ke,"position"],noStyle:!0}),a.createElement(be.default,{type:"hidden"})))))})))),a.createElement(Pe.Z,{align:"middle"},a.createElement(Ne.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Re.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Pe.Z,{align:"middle"},a.createElement(Ne.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Re.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(zt==null?void 0:zt.length)>1&&a.createElement(Pe.Z,{align:"middle",className:(zt==null?void 0:zt.length)>1?"mb30":`${oe.Z.hide}`},a.createElement(Ne.default.Item,{name:"is_ordered"},a.createElement(ge,null)),a.createElement(Re.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:()=>nt(!0)},a.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(De.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ct}))))}},11832:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return ee}});var z=ne(59301),ie=ne(95237),Pe=ne(43604),Re=ne(78241),be=ne(43809),xe=ne(41984),re=ne(59301),Ne=Object.defineProperty,Oe=Object.defineProperties,we=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,oe=(te,ae,se)=>ae in te?Ne(te,ae,{enumerable:!0,configurable:!0,writable:!0,value:se}):te[ae]=se,E=(te,ae)=>{for(var se in ae||(ae={}))je.call(ae,se)&&oe(te,se,ae[se]);if(De)for(var se of De(ae))Ee.call(ae,se)&&oe(te,se,ae[se]);return te},a=(te,ae)=>Oe(te,we(ae)),b=(te,ae)=>{var se={};for(var de in te)je.call(te,de)&&ae.indexOf(de)<0&&(se[de]=te[de]);if(te!=null&&De)for(var de of De(te))ae.indexOf(de)<0&&Ee.call(te,de)&&(se[de]=te[de]);return se};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},x=({value:te,onChange:ae,form:se})=>{const de=(te==null?void 0:te.is_answer)===1,me=te==null?void 0:te.choice_text,Be=()=>{const pe=se.getFieldsValue().choices.map(Fe=>({choice_text:Fe.choice_text,is_answer:0}));se.setFieldsValue({choices:pe}),ae(a(E({},te),{is_answer:1}))};return re.createElement(ie.Z,{className:be.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},re.createElement(Pe.Z,{onClick:Be,className:`${be.Z.choiceIndex} ${be.Z.judgementIndex} ${de?be.Z.activeAnswer:""}`},y[me]),re.createElement(Pe.Z,{flex:1,className:`${be.Z.editorWrap} ml15`},re.createElement("div",{className:`${be.Z.inputBorder} ${be.Z.placeholder} ${de?be.Z.activeJudgementAnswer:""}`},me)),re.createElement(Pe.Z,{flex:"0 0 auto",className:"ml15"},re.createElement("div",{onClick:Be,className:`${be.Z.setAnswerBtn} ${de?be.Z.activeAnswer:""}`},de?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ee=({questionTitlePlaceholder:te,choiceKey:ae,form:se})=>{const[de,me]=(0,z.useState)(!1);return re.createElement("div",{className:be.Z.wrap},re.createElement("div",{className:be.Z.questionTitleEditorWrap},re.createElement(Re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},re.createElement(xe.h,{scrollId:"name",watch:!0,height:140,placeholder:te}))),re.createElement(Re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},re.createElement(Re.default.List,{name:"choices",rules:[{validator(Be,pe){return pe.some(ge=>(ge==null?void 0:ge.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Be=>re.createElement("div",{id:"choices"},Be.map(pe=>{var Fe=pe,{key:ge,name:tt}=Fe,Ie=b(Fe,["key","name"]);return re.createElement(Re.default.Item,a(E({},Ie),{key:ge,name:tt,noStyle:!0}),re.createElement(x,{form:se}))})))),re.createElement("div",{onClick:()=>me(!0)},re.createElement(Re.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},re.createElement(xe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:de}))))}},41984:function(pt,vt,ne){"use strict";ne.d(vt,{h:function(){return E},x:function(){return a}});var z=ne(12290),ie=ne(43809),Pe=ne(85149),Re=ne(59301),be=Object.defineProperty,xe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,De=(b,y,x)=>y in b?be(b,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):b[y]=x,je=(b,y)=>{for(var x in y||(y={}))Oe.call(y,x)&&De(b,x,y[x]);if(Ne)for(var x of Ne(y))we.call(y,x)&&De(b,x,y[x]);return b},Ee=(b,y)=>xe(b,re(y)),oe=(b,y)=>{var x={};for(var ee in b)Oe.call(b,ee)&&y.indexOf(ee)<0&&(x[ee]=b[ee]);if(b!=null&&Ne)for(var ee of Ne(b))y.indexOf(ee)<0&&we.call(b,ee)&&(x[ee]=b[ee]);return x};const E=b=>{var y=b,{value:x,onChange:ee,scrollId:te}=y,ae=oe(y,["value","onChange","scrollId"]);return Re.createElement("div",{id:te||""},Re.createElement(z.Z,Ee(je({},ae),{defaultValue:x,onChange:(se,de)=>{de!=null&&de.length?ee(se,de):ee(se)}})))},a=({value:b,onChange:y,placeholder:x,height:ee=140,isEdit:te,miniToolbar:ae,watch:se=!0})=>te?Re.createElement(z.Z,{watch:se,isFocus:!0,height:ee||void 0,placeholder:x,defaultValue:b,onChange:y,miniToolbar:ae}):Re.createElement("div",{style:{cursor:"pointer"}},b?Re.createElement(Pe.Z,{className:ie.Z.inputBorder,value:b}):Re.createElement("div",{className:`${ie.Z.inputBorder} ${ie.Z.placeholder} inputBorderError`},x))},35173:function(pt,vt,ne){"use strict";ne.d(vt,{W:function(){return Fe}});var z=ne(59301),ie=ne(8591),Pe=ne(12563),Re=ne(78241),be=ne(78673),xe=ne(95237),re=ne(43604),Ne=ne(6848),Oe=ne(92832),we=ne(5871),De=ne(43809),je=ne(41984),Ee=ne(12290),oe=ne(61485),E=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(ge,tt,Ie)=>tt in ge?E(ge,tt,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ge[tt]=Ie,ae=(ge,tt)=>{for(var Ie in tt||(tt={}))x.call(tt,Ie)&&te(ge,Ie,tt[Ie]);if(y)for(var Ie of y(tt))ee.call(tt,Ie)&&te(ge,Ie,tt[Ie]);return ge},se=(ge,tt)=>a(ge,b(tt)),de=(ge,tt)=>{var Ie={};for(var Qe in ge)x.call(ge,Qe)&&tt.indexOf(Qe)<0&&(Ie[Qe]=ge[Qe]);if(ge!=null&&y)for(var Qe of y(ge))tt.indexOf(Qe)<0&&ee.call(ge,Qe)&&(Ie[Qe]=ge[Qe]);return Ie};const me=ge=>{var tt=ge,{value:Ie,onChange:Qe}=tt,_e=de(tt,["value","onChange"]);const We=it=>{Qe([it])};return z.createElement(Ee.Z,se(ae({},_e),{defaultValue:Ie==null?void 0:Ie[0],onChange:We}))},Be=ge=>{if(!ge)return!1;if(/^s*$/.test(ge)||ge.trim()===""){ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let tt=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 ge==="|"?(ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},pe=({value:ge=[],onClose:tt})=>z.createElement(Pe.default,{closable:!0,onClose:tt,className:De.Z.keywordTag},z.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ge.join(" \u6216 "))),Fe=({questionTitlePlaceholder:ge,form:tt,showKeywords:Ie,isMustKeyWords:Qe=Ie})=>{const[_e,We]=(0,z.useState)(!1),[it,Ct]=(0,z.useState)(""),nt=Re.default.useWatch("use_keywords",tt),Lt=Re.default.useWatch("question_score",tt);return z.createElement("div",{className:De.Z.wrap},z.createElement("div",{className:De.Z.questionTitleEditorWrap},z.createElement(Re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},z.createElement(je.h,{scrollId:"name",watch:!0,height:140,placeholder:ge}))),z.createElement(Re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},z.createElement(me,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ie&&!Qe&&z.createElement(Re.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},z.createElement(be.Z,{defaultChecked:!0})),Ie&&Qe&&z.createElement(xe.Z,{align:"middle",className:"mb30"},z.createElement(Re.default.Item,{name:"use_keywords",valuePropName:"checked"},z.createElement(be.Z,null)),z.createElement(re.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),z.createElement(re.Z,null,z.createElement(Ne.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"},z.createElement(oe.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(nt||!Qe)&&z.createElement(Re.default.List,{name:"keywords",rules:[{validator(Xe,xt){return Qe?xt!=null&&xt.length?(xt==null?void 0:xt.reduce((Te,$e)=>Te+$e.score,0))>parseFloat(Lt)?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()}}]},(Xe,{add:xt,remove:Mt})=>z.createElement(z.Fragment,null,z.createElement("div",{className:`${De.Z.title} mb10`},Qe?"\u5173\u952E\u8BCD":z.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),z.createElement(xe.Z,{align:"middle",className:"font14 mb30"},z.createElement(re.Z,{flex:1},z.createElement(Oe.default,{value:it,onChange:Te=>{Ct(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var $e,mt,zt,st;const Tt=`${($e=Te.target)==null?void 0:$e.value}`,Se=(zt=(mt=Tt==null?void 0:Tt.split("|"))==null?void 0:mt.filter(yt=>!!yt))==null?void 0:zt.map(yt=>yt==null?void 0:yt.trim()),Ft=tt.getFieldValue("keywords"),Yt=((st=Ft==null?void 0:Ft.map(yt=>yt==null?void 0:yt.keyword))==null?void 0:st.flat())||[];for(const yt of Se)if(Yt.includes(yt)){ie.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Be(Tt)&&(xt({keyword:Se,score:1}),Ct(""))},className:De.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"})),z.createElement(re.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Xe.map(Te=>{var $e=Te,{key:mt,name:zt}=$e,st=de($e,["key","name"]);return z.createElement(xe.Z,{key:mt,className:"mb20",style:{marginRight:148}},z.createElement(re.Z,{flex:1},z.createElement(xe.Z,{align:"middle",justify:"space-between"},z.createElement(Re.default.Item,se(ae({},st),{name:[zt,"keyword"]}),z.createElement(pe,{onClose:()=>Mt(zt)})),Qe&&z.createElement(Re.default.Item,se(ae({},st),{name:[zt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:De.Z.blankInputNumberWrapper}),z.createElement(we.Z,{className:De.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),z.createElement("div",{onClick:()=>We(!0)},z.createElement(Re.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:_e}))))}},94734:function(pt,vt,ne){"use strict";ne.d(vt,{tc:function(){return On.t},uh:function(){return z.u},rL:function(){return Cn},u8:function(){return Pe.u},ZZ:function(){return ie.Z},Wk:function(){return Re.W}});var z=ne(65357),ie=ne(11832),Pe=ne(70472),Re=ne(35173),be=ne(59301),xe=ne(36381),re=ne(78241),Ne=ne(95237),Oe=ne(43604),we=ne(5871),De=ne(6848),je=ne(38854),Ee=ne(43809),oe=ne(12893),E=ne(41984),a=ne(43418),b=ne(92832),y=ne(78673),x=ne(59301),ee=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Be=(Rt,Nt,Ht)=>Nt in Rt?ee(Rt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Rt[Nt]=Ht,pe=(Rt,Nt)=>{for(var Ht in Nt||(Nt={}))de.call(Nt,Ht)&&Be(Rt,Ht,Nt[Ht]);if(se)for(var Ht of se(Nt))me.call(Nt,Ht)&&Be(Rt,Ht,Nt[Ht]);return Rt},Fe=(Rt,Nt)=>te(Rt,ae(Nt)),ge=(Rt,Nt)=>{var Ht={};for(var ln in Rt)de.call(Rt,ln)&&Nt.indexOf(ln)<0&&(Ht[ln]=Rt[ln]);if(Rt!=null&&se)for(var ln of se(Rt))Nt.indexOf(ln)<0&&me.call(Rt,ln)&&(Ht[ln]=Rt[ln]);return Ht};const tt=({value:Rt,onChange:Nt})=>{const Ht=nn=>{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:Ee.Z.modal,onOk:()=>{const jn=[...Rt];jn.splice(nn,1),Nt(jn)}})},ln=()=>{const nn=[...Rt];nn.push(""),Nt(nn)};return x.createElement(Ne.Z,{className:"ml20"},x.createElement(Oe.Z,{flex:1},Rt==null?void 0:Rt.map((nn,jn)=>x.createElement(Ne.Z,{key:`${nn}_${jn}`,align:"middle",className:"mb20"},x.createElement(b.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:nn,autoSize:{maxRows:3},maxLength:1e3,onBlur:na=>{const hn=[...Rt],Qt=na.target.value.trim();hn[jn]=Qt,Nt(hn)}}),x.createElement(De.Z,{title:"\u5220\u9664"},x.createElement(oe.Z,{className:Ee.Z.deleteIcon,style:{marginLeft:15,visibility:jn>0?"visible":"hidden"},onClick:()=>Ht(jn)}))))),x.createElement(Oe.Z,null,x.createElement("div",{className:`${Ee.Z.addBtn}`,onClick:()=>{ln()}},"\u65B0\u589E\u7B54\u6848")))},Ie=({value:Rt=!0,onChange:Nt})=>x.createElement(y.Z,{checked:!Rt,onChange:Ht=>{Nt(!Ht)}}),Qe="\u2581",_e=({questionTitlePlaceholder:Rt,form:Nt,name:Ht,scoreByBlank:ln=!1,answerKey:nn,titleKey:jn="name",analysisKey:na="analysis",isOrdered:hn="is_ordered"})=>{var Qt,Wn;const[Me,rt]=(0,be.useState)(!1),Pt=(Et,Gt)=>{const It=Gt.line;let dn=0;for(let Xt=0;Xt<It;Xt++)dn+=Et.getLine(Xt).split(Qe).length-1;const an=Et.getLine(It).substring(0,Gt.ch);return dn+=an.split(Qe).length-1,dn},Bt=(Et,Gt,It,dn)=>{const an=Et.getRange(Gt.from,Gt.to);let Xt=0;if(Gt.text.forEach(cn=>{Xt+=cn.split(Qe).length-1}),Gt.origin!=="setValue"){if(an&&an.indexOf(Qe)!==-1){const cn=an.split(Qe).length-1,da=Pt(Et,Gt.from);if(console.log(`\u5220\u9664${cn}\u4E2A\uFF0C \u524D\u9762\u6709${da}\u4E2A\uFF0C\u65B0\u589E${Xt}\u4E2A`),cn>1){const Ut=Array.from({length:cn},(kn,aa)=>da+aa);dn(Ut)}else dn(da)}else if(Xt>0){const cn=Pt(Et,Gt.from);console.log(`\u65B0\u589E${Xt}\u4E2A\uFF0C\u4E4B\u524D\u6709${cn}\u4E2A`),It(Xt,cn)}}},Jt=()=>{const Et=Nt.getFieldValue(["sub_item_banks",...nn]);Nt.setFieldValue(["sub_item_banks",...nn],Et==null?void 0:Et.map((Gt,It)=>Fe(pe({},Gt),{position:It+1})))},Wt=(0,be.useRef)(),Kt=(Et,Gt)=>{for(let It=0;It<Et;It++)Wt.current({position:null,answer_text:[""]},Gt+It);Jt()},Ve=(0,be.useRef)(),Ye=Et=>{Ve.current(Et),Jt()},Je=(Wn=(Qt=Nt.getFieldValue("sub_item_banks"))==null?void 0:Qt[nn==null?void 0:nn[0]])==null?void 0:Wn[nn==null?void 0:nn[1]];return(0,be.useEffect)(()=>{console.log("========",Nt.getFieldsValue())},[Nt]),x.createElement("div",{className:Ee.Z.wrap},x.createElement("div",{className:Ee.Z.questionTitleEditorWrap},x.createElement(re.default.Item,{label:"\u9898\u5E72",name:jn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Rt,showNullButton:!0,onCMBeforeChange:(Et,Gt)=>{Bt(Et,Gt,Kt,Ye)}}))),x.createElement(re.default.List,{name:nn,rules:[{validator(Et,Gt){if((Gt==null?void 0:Gt.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const It of Gt){const{answer_text:dn}=It||{};if(dn!=null&&dn.some(an=>(an==null?void 0:an.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Et,{add:Gt,remove:It},{errors:dn})=>(Wt.current=Gt,Ve.current=It,x.createElement(x.Fragment,null,x.createElement(re.default.Item,{label:x.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Et!=null&&Et.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}}),Et.map((an,Xt)=>{var cn=an,{key:da,name:Ut}=cn,kn=ge(cn,["key","name"]);return x.createElement(Ne.Z,{align:"top",key:da},x.createElement(Oe.Z,{className:`${Ee.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",Xt+1),x.createElement(Oe.Z,{flex:1},x.createElement(Ne.Z,{align:"top",justify:"space-between"},x.createElement(Oe.Z,{flex:1},x.createElement(re.default.Item,Fe(pe({},kn),{name:[Ut,"answer_text"],noStyle:!0}),x.createElement(tt,null))),ln&&x.createElement(Oe.Z,{flex:"224px"},x.createElement(re.default.Item,Fe(pe({},kn),{name:[Ut,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ee.Z.blankInputNumberWrapper}),x.createElement(we.Z,{className:Ee.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,Fe(pe({},kn),{name:[Ut,"position"],noStyle:!0}),x.createElement(b.default,{type:"hidden"}))))})))),x.createElement(Ne.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Ht,"downcase"],valuePropName:"checked"},x.createElement(y.Z,null)),x.createElement(Oe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),x.createElement(Ne.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Ht,"no_space"],valuePropName:"checked"},x.createElement(y.Z,null)),x.createElement(Oe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Je==null?void 0:Je.length)>1&&x.createElement(Ne.Z,{align:"middle",className:(Je==null?void 0:Je.length)>1?"mb30":`${Ee.Z.hide}`},x.createElement(re.default.Item,{name:hn},x.createElement(Ie,null)),x.createElement(Oe.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:()=>rt(!0)},x.createElement(re.default.Item,{name:na,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Me}))))};var We=ne(59301),it=Object.defineProperty,Ct=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,Mt=(Rt,Nt,Ht)=>Nt in Rt?it(Rt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Rt[Nt]=Ht,Te=(Rt,Nt)=>{for(var Ht in Nt||(Nt={}))Xe.call(Nt,Ht)&&Mt(Rt,Ht,Nt[Ht]);if(Lt)for(var Ht of Lt(Nt))xt.call(Nt,Ht)&&Mt(Rt,Ht,Nt[Ht]);return Rt},$e=(Rt,Nt)=>Ct(Rt,nt(Nt)),mt=(Rt,Nt)=>{var Ht={};for(var ln in Rt)Xe.call(Rt,ln)&&Nt.indexOf(ln)<0&&(Ht[ln]=Rt[ln]);if(Rt!=null&&Lt)for(var ln of Lt(Rt))Nt.indexOf(ln)<0&&xt.call(Rt,ln)&&(Ht[ln]=Rt[ln]);return Ht};const zt={\u6B63\u786E:"T",\u9519\u8BEF:"F"},st=({value:Rt,onChange:Nt,form:Ht,choiceKey:ln})=>{const nn=(Rt==null?void 0:Rt.is_answer)===1,jn=Rt==null?void 0:Rt.choice_text,na=()=>{var hn;const Qt=(hn=Ht==null?void 0:Ht.getFieldValue(["sub_item_banks",...ln]))==null?void 0:hn.map(Wn=>({choice_text:Wn.choice_text,is_answer:0}));Ht==null||Ht.setFieldValue(["sub_item_banks",...ln],Qt),Nt($e(Te({},Rt),{is_answer:1}))};return We.createElement(Ne.Z,{className:Ee.Z.choiceWrap,align:"middle",wrap:!1},We.createElement(Oe.Z,{onClick:na,className:`${Ee.Z.choiceIndex} ${Ee.Z.judgementIndex} ${nn?Ee.Z.activeAnswer:""}`},zt[jn]),We.createElement(Oe.Z,{flex:1,className:`${Ee.Z.editorWrap} ml15`},We.createElement("div",{className:`${Ee.Z.inputBorder} ${Ee.Z.placeholder} ${nn?Ee.Z.activeJudgementAnswer:""}`},jn)),We.createElement(Oe.Z,{flex:"0 0 auto",className:"ml15"},We.createElement("div",{onClick:na,className:`${Ee.Z.setAnswerBtn} ${nn?Ee.Z.activeAnswer:""}`},nn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Tt=({questionTitlePlaceholder:Rt,choiceKey:Nt="choices",form:Ht,titleKey:ln="name",analysisKey:nn="analysis"})=>{const[jn,na]=(0,be.useState)(!1);return We.createElement("div",{className:Ee.Z.wrap},We.createElement("div",{className:Ee.Z.questionTitleEditorWrap},We.createElement(re.default.Item,{label:"\u9898\u5E72",name:ln,labelCol:{span:24},rules:[{required:!0}]},We.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Rt}))),We.createElement(re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},We.createElement(re.default.List,{name:Nt,rules:[{validator(hn,Qt){return Qt.some(Me=>(Me==null?void 0:Me.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},hn=>We.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},hn.map(Qt=>{var Wn=Qt,{key:Me,name:rt}=Wn,Pt=mt(Wn,["key","name"]);return We.createElement(re.default.Item,$e(Te({},Pt),{key:Me,name:rt,noStyle:!0}),We.createElement(st,{form:Ht,choiceKey:Nt}))})))),We.createElement("div",{className:"mt30",onClick:()=>na(!0)},We.createElement(re.default.Item,{name:nn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},We.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:jn}))))};var Se=ne(8591),Ft=ne(12563),Yt=ne(12290),yt=ne(61485),ft=Object.defineProperty,Ke=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,ut=(Rt,Nt,Ht)=>Nt in Rt?ft(Rt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Rt[Nt]=Ht,he=(Rt,Nt)=>{for(var Ht in Nt||(Nt={}))ce.call(Nt,Ht)&&ut(Rt,Ht,Nt[Ht]);if(ve)for(var Ht of ve(Nt))He.call(Nt,Ht)&&ut(Rt,Ht,Nt[Ht]);return Rt},fe=(Rt,Nt)=>Ke(Rt,ke(Nt)),qe=(Rt,Nt)=>{var Ht={};for(var ln in Rt)ce.call(Rt,ln)&&Nt.indexOf(ln)<0&&(Ht[ln]=Rt[ln]);if(Rt!=null&&ve)for(var ln of ve(Rt))Nt.indexOf(ln)<0&&He.call(Rt,ln)&&(Ht[ln]=Rt[ln]);return Ht};const ze=Rt=>{var Nt=Rt,{value:Ht,onChange:ln}=Nt,nn=qe(Nt,["value","onChange"]);const jn=na=>{ln([na])};return be.createElement(Yt.Z,fe(he({},nn),{defaultValue:Ht==null?void 0:Ht[0],onChange:jn}))},Ce=Rt=>{if(!Rt)return!1;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 Rt==="|"?(Se.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},at=({value:Rt=[],onClose:Nt})=>be.createElement(Ft.default,{closable:!0,onClose:Nt,className:Ee.Z.keywordTag},be.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Rt.join(" \u6216 "))),jt=({questionTitlePlaceholder:Rt,form:Nt,showKeywords:Ht,isMustKeyWords:ln=Ht,titleKey:nn="name",analysisKey:jn="analysis",answerTexts:na="answer_texts",keywords:hn="keywords",useKeywords:Qt="use_keywords",indexs:Wn})=>{const[Me,rt]=(0,be.useState)(!1),[Pt,Bt]=(0,be.useState)(""),[Jt,Wt]=(0,be.useState)(!1),Kt=re.default.useWatch("question_score",Nt);return be.createElement("div",{className:Ee.Z.wrap},be.createElement("div",{className:Ee.Z.questionTitleEditorWrap},be.createElement(re.default.Item,{label:"\u9898\u5E72",name:nn,labelCol:{span:24},rules:[{required:!0}]},be.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Rt}))),be.createElement(re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:na,labelCol:{span:24}},be.createElement(ze,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ht&&!ln&&be.createElement(re.default.Item,{hidden:!0,name:Qt,valuePropName:"checked"},be.createElement(y.Z,{defaultChecked:!0})),Ht&&ln&&be.createElement(Ne.Z,{align:"middle",className:"mb30"},be.createElement(re.default.Item,{name:Qt,valuePropName:"checked"},be.createElement(y.Z,{onChange:()=>{var Ve,Ye,Je,Et,Gt,It;console.log(Nt.getFieldsValue()),Wt((Je=(Ye=(Ve=Nt.getFieldsValue())==null?void 0:Ve.sub_item_banks)==null?void 0:Ye[Wn])==null?void 0:Je.use_keywords),console.log((It=(Gt=(Et=Nt.getFieldsValue())==null?void 0:Et.sub_item_banks)==null?void 0:Gt[Wn])==null?void 0:It.use_keywords),console.log(Jt)}})),be.createElement(Oe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),be.createElement(Oe.Z,null,be.createElement(De.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"},be.createElement(yt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Jt||!ln)&&be.createElement(re.default.List,{name:hn,rules:[{validator(Ve,Ye){return ln?Ye!=null&&Ye.length?(Ye==null?void 0:Ye.reduce((Et,Gt)=>Et+Gt.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()}}]},(Ve,{add:Ye,remove:Je})=>be.createElement(be.Fragment,null,be.createElement("div",{className:`${Ee.Z.title} mb10`},ln?"\u5173\u952E\u8BCD":be.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),be.createElement(Ne.Z,{align:"middle",className:"font14 mb30"},be.createElement(Oe.Z,{flex:1},be.createElement(b.default,{value:Pt,onChange:Et=>{Bt(Et.target.value)},maxLength:50,allowClear:!0,onPressEnter:Et=>{var Gt,It,dn,an;const Xt=`${(Gt=Et.target)==null?void 0:Gt.value}`,cn=(dn=(It=Xt==null?void 0:Xt.split("|"))==null?void 0:It.filter(kn=>!!kn))==null?void 0:dn.map(kn=>kn==null?void 0:kn.trim()),da=Nt.getFieldValue(["sub_item_banks",...hn]),Ut=((an=da==null?void 0:da.map(kn=>kn==null?void 0:kn.keyword))==null?void 0:an.flat())||[];for(const kn of cn)if(Ut.includes(kn)){Se.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ce(Xt)&&(Ye({keyword:cn,score:1}),Bt(""))},className:Ee.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"})),be.createElement(Oe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Ve.map(Et=>{var Gt=Et,{key:It,name:dn}=Gt,an=qe(Gt,["key","name"]);return be.createElement(Ne.Z,{key:It,className:"mb20",style:{marginRight:148}},be.createElement(Oe.Z,{flex:1},be.createElement(Ne.Z,{align:"middle",justify:"space-between"},be.createElement(re.default.Item,fe(he({},an),{name:[dn,"keyword"]}),be.createElement(at,{onClose:()=>Je(dn)})),ln&&be.createElement(re.default.Item,fe(he({},an),{name:[dn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ee.Z.blankInputNumberWrapper}),be.createElement(we.Z,{className:Ee.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),be.createElement("div",{onClick:()=>rt(!0)},be.createElement(re.default.Item,{name:jn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},be.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Me}))))};var ct=ne(59301),Ot=Object.defineProperty,Dt=Object.defineProperties,_t=Object.getOwnPropertyDescriptors,ht=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,kt=(Rt,Nt,Ht)=>Nt in Rt?Ot(Rt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Rt[Nt]=Ht,Zt=(Rt,Nt)=>{for(var Ht in Nt||(Nt={}))on.call(Nt,Ht)&&kt(Rt,Ht,Nt[Ht]);if(ht)for(var Ht of ht(Nt))tn.call(Nt,Ht)&&kt(Rt,Ht,Nt[Ht]);return Rt},$t=(Rt,Nt)=>Dt(Rt,_t(Nt)),sn=(Rt,Nt)=>{var Ht={};for(var ln in Rt)on.call(Rt,ln)&&Nt.indexOf(ln)<0&&(Ht[ln]=Rt[ln]);if(Rt!=null&&ht)for(var ln of ht(Rt))Nt.indexOf(ln)<0&&tn.call(Rt,ln)&&(Ht[ln]=Rt[ln]);return Ht};const{Panel:un}=xe.default,Cn=({questionTitlePlaceholder:Rt,choiceKey:Nt,form:Ht,withScore:ln})=>{const[nn,jn]=(0,be.useState)([]),na=hn=>{jn(hn)};return ct.createElement("div",{className:Ee.Z.wrap},ct.createElement("div",{className:Ee.Z.questionTitleEditorWrap},ct.createElement(re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ct.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Rt}))),ct.createElement(re.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),ct.createElement(re.default.List,{name:"sub_item_banks",rules:[{validator(hn,Qt){return Qt?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(hn,{add:Qt,remove:Wn,move:Me})=>{const rt=Ht.getFieldValue("sub_item_banks");return ct.createElement(ct.Fragment,null,ct.createElement(xe.default,{className:hn.length>0?Ee.Z.collapseWrapper:"",bordered:!1,activeKey:nn,onChange:na,expandIcon:({isActive:Pt})=>ct.createElement("i",{className:`iconfont icon-weizhankai ${Pt?Ee.Z.open:Ee.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},hn.map((Pt,Bt)=>{var Jt=Pt,{key:Wt,name:Kt}=Jt,Ve=sn(Jt,["key","name"]),Ye,Je,Et,Gt,It,dn,an,Xt,cn,da;return ct.createElement(un,{className:Ee.Z.panel,forceRender:!0,header:ct.createElement("div",{className:Ee.Z.panelHeader},"\u7B2C",Bt+1,"\u5C0F\u9898",ct.createElement("span",null,"\uFF08",((Ye=rt==null?void 0:rt[Kt])==null?void 0:Ye.item_type)=="SINGLE"?"\u5355\u9009\u9898":((Je=rt==null?void 0:rt[Kt])==null?void 0:Je.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((Et=rt==null?void 0:rt[Kt])==null?void 0:Et.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((Gt=rt==null?void 0:rt[Kt])==null?void 0:Gt.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Kt,extra:ct.createElement(Ne.Z,{align:"middle",onClick:Ut=>Ut.stopPropagation()},ln&&ct.createElement(Oe.Z,null,ct.createElement(re.default.Item,$t(Zt({},Ve),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Kt,"question_score"],className:Ee.Z.blankInputNumberWrapper}),ct.createElement(we.Z,{className:Ee.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),ct.createElement(Oe.Z,null,ct.createElement(Ne.Z,{align:"middle",className:"pl40",justify:"end"},Bt!==0&&ct.createElement("div",{onClick:()=>{var Ut;Me(Bt,Bt-1);const kn=(Ut=Ht.getFieldValue("sub_item_banks"))==null?void 0:Ut.map((aa,va)=>(hn.map((fn,Un)=>{va===Un&&(aa.q_position=Number(fn.name)+1)}),aa));Ht.setFieldValue("sub_item_banks",kn)}},ct.createElement(De.Z,{title:"\u4E0A\u79FB"},ct.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Bt<hn.length-1&&ct.createElement("div",{onClick:()=>{var Ut;Me(Bt,Bt+1);const kn=(Ut=Ht.getFieldValue("sub_item_banks"))==null?void 0:Ut.map((aa,va)=>(hn.map((fn,Un)=>{va===Un&&(aa.q_position=Number(fn.name)+1)}),aa));Ht.setFieldValue("sub_item_banks",kn)},className:Bt===0?"":"ml15"},ct.createElement(De.Z,{title:"\u4E0B\u79FB"},ct.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),ct.createElement(Oe.Z,null,ct.createElement(De.Z,{title:"\u5220\u9664"},ct.createElement(oe.Z,{className:`${Ee.Z.deleteIcon} ml15`,onClick:()=>Wn(Kt)}))))},ct.createElement(re.default.Item,$t(Zt({},Ve),{name:Kt}),(((It=rt==null?void 0:rt[Kt])==null?void 0:It.item_type)=="SINGLE"||((dn=rt==null?void 0:rt[Kt])==null?void 0:dn.item_type)=="MULTIPLE")&&ct.createElement(z.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((an=rt==null?void 0:rt[Kt])==null?void 0:an.item_type)=="MULTIPLE",form:Ht,choiceKey:[Kt,"choices"],titleKey:[Kt,"name"],analysisKey:[Kt,"analysis"],choiceOptionsPath:["sub_item_banks",Kt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Xt=rt==null?void 0:rt[Kt])==null?void 0:Xt.item_type)=="COMPLETION"&&ct.createElement(_e,{form:Ht,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:Kt,titleKey:[Kt,"name"],analysisKey:[Kt,"analysis"],isOrdered:[Kt,"is_ordered"],answerKey:[Kt,"standard_answers"]}),((cn=rt==null?void 0:rt[Kt])==null?void 0:cn.item_type)=="JUDGMENT"&&ct.createElement(Tt,{form:Ht,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Kt,"name"],analysisKey:[Kt,"analysis"],choiceKey:[Kt,"choices"]}),((da=rt==null?void 0:rt[Kt])==null?void 0:da.item_type)=="SUBJECTIVE"&&ct.createElement(jt,{showKeywords:!0,isMustKeyWords:!1,form:Ht,titleKey:[Kt,"name"],analysisKey:[Kt,"analysis"],answerTexts:[Kt,"answer_texts"],useKeywords:[Kt,"use_keywords"],keywords:[Kt,"keywords"],indexs:Kt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),hn.length<20&&ct.createElement(je.Z,{menu:{items:[{label:ct.createElement("div",{onClick:()=>{Qt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),jn([hn==null?void 0:hn.length,...nn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:ct.createElement("div",{onClick:()=>{Qt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),jn([hn==null?void 0:hn.length,...nn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:ct.createElement("div",{onClick:()=>{Qt({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),jn([hn==null?void 0:hn.length,...nn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:ct.createElement("div",{onClick:()=>{Qt({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),jn([hn==null?void 0:hn.length,...nn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:ct.createElement("div",{onClick:()=>{Qt({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),jn([hn==null?void 0:hn.length,...nn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Pt=>Pt.show).map(Pt=>({label:Pt.label,key:Pt.key}))}},ct.createElement("div",{className:`${Ee.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var On=ne(90502)},68042:function(pt,vt,ne){"use strict";ne.d(vt,{C:function(){return _e}});var z=ne(59301),ie={recalculation:"recalculation____i9AE",tips:"tips___GoMu8",filter:"filter___Vx7VO",input:"input___OEMMv",operating:"operating___TS9iA",operatingItem:"operatingItem___AT84q"},Pe=ne(92310),Re=ne.n(Pe),be=ne(24905),xe=ne(95237),re=ne(8591),Ne=ne(6848),Oe=ne(3113),we=ne(43418),De=ne(1710),je=ne(5871),Ee=ne(78241),oe=ne(71418),E=ne(955),a=ne(99064),b=ne(24065),y=ne(59155),x=ne(29458),ee=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Be=(We,it,Ct)=>it in We?ee(We,it,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):We[it]=Ct,pe=(We,it)=>{for(var Ct in it||(it={}))de.call(it,Ct)&&Be(We,Ct,it[Ct]);if(se)for(var Ct of se(it))me.call(it,Ct)&&Be(We,Ct,it[Ct]);return We},Fe=(We,it)=>te(We,ae(it)),ge=(We,it,Ct)=>new Promise((nt,Lt)=>{var Xe=Te=>{try{Mt(Ct.next(Te))}catch($e){Lt($e)}},xt=Te=>{try{Mt(Ct.throw(Te))}catch($e){Lt($e)}},Mt=Te=>Te.done?nt(Te.value):Promise.resolve(Te.value).then(Xe,xt);Mt((Ct=Ct.apply(We,it)).next())});const tt=be.default.Group,Ie=({className:We,title:it,items:Ct=[],value:nt,onChange:Lt})=>{const Xe=(Ct==null?void 0:Ct.length)===(nt==null?void 0:nt.length),xt=(nt==null?void 0:nt.length)>0&&(nt==null?void 0:nt.length)<(Ct==null?void 0:Ct.length),Mt=Te=>{const $e=Ct.map(mt=>mt.id);Lt(Te.target.checked?$e:[])};return z.createElement(xe.Z,{align:"middle",className:We},!!it&&z.createElement("div",{className:"mr20",style:{color:"#5F6368"}},it),z.createElement(be.default,{indeterminate:xt,onChange:Mt,checked:Xe},"\u5168\u90E8"),z.createElement(tt,{value:nt,onChange:Lt},Ct.map(Te=>z.createElement(be.default,{className:"ml30 c-black",key:Te.id,value:Te.id},Te.name,z.createElement("span",null,`(${Te.count})`)))))};var _e=({className:We,style:it,dataSource:Ct})=>{var nt,Lt,Xe,xt,Mt,Te,$e;const[mt,zt]=(0,z.useState)({}),[st,Tt]=(0,z.useState)(!0),[Se,Ft]=(0,z.useState)(!1),[Yt,yt]=(0,z.useState)(!1),[ft,Ke]=(0,z.useState)(null),[ke,ve]=(0,z.useState)(0),[ce,He]=(0,z.useState)({}),[ut,he]=(0,z.useState)(!0),[fe,qe]=(0,z.useState)(0),[ze,Ce]=(0,z.useState)(0),[at,jt]=(0,z.useState)(!1),ct=(0,z.useRef)(null),[Ot,Dt]=(0,z.useState)(!1),[_t,ht]=(0,z.useState)(!0),[on,tn]=(0,z.useState)([]),kt={page:1,per_page:5,keyword:"",review:[],question_status:[],success_status:[],sort_by:null,direction:null},[Zt,$t]=(0,z.useState)(pe({},kt));(0,z.useEffect)(()=>{Ct!=null&&Ct.question_id&&zt(Ct)},[Ct==null?void 0:Ct.question_id]),(0,z.useEffect)(()=>{var Qt;if(((Qt=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:Qt.status)==="running"){const Wn=setInterval(()=>{Cn()},3e3);return()=>clearInterval(Wn)}},[(nt=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:nt.status]),(0,z.useEffect)(()=>{var Qt;Yt&&(Yt===1&&(Zt.question_status=On.map(Wn=>Wn.value),Zt.review=Rt.map(Wn=>Wn.value)),Yt===2&&(Zt.exercise_question_resubmit_id=(Qt=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:Qt.id,ft===1&&(Zt.success_status=[1]),ft===2&&(Zt.success_status=[0])),$t(pe({},Zt)),sn(Zt),Ce(mt!=null&&mt.is_mirror?3:10),qe(mt!=null&&mt.is_mirror?1:5))},[Yt]),(0,z.useEffect)(()=>{Ot&&un()},[Ot]);const sn=Qt=>ge(void 0,null,function*(){Tt(!0);const Wn=yield(0,a.ZP)(`/api/exercise_questions/${mt==null?void 0:mt.question_id}/resubmit_student_list.json`,{method:"get",params:Qt});(Wn==null?void 0:Wn.status)==0&&(He(Wn||[]),ve(Wn==null?void 0:Wn.count)),Tt(!1)}),un=()=>ge(void 0,null,function*(){ht(!0);const Qt=yield(0,a.ZP)(`/api/exercise_questions/${mt==null?void 0:mt.question_id}/resubmit_history.json`,{method:"get"});(Qt==null?void 0:Qt.status)==0&&tn((Qt==null?void 0:Qt.data)||[]),ht(!1)}),Cn=()=>ge(void 0,null,function*(){const Qt=yield(0,a.ZP)(`/api/exercise_questions/${mt==null?void 0:mt.question_id}/resubmit_status.json`,{method:"get"});(Qt==null?void 0:Qt.status)==0&&zt(Fe(pe({},mt),{show_resubmit_history:!0,exercise_question_resubmit:(Qt==null?void 0:Qt.data)||{}}))}),On=[{label:"\u672A\u8BC4\u6D4B",value:2,color:"#9096A3"},{label:"\u672A\u901A\u5173",value:0,color:"#E30000"},{label:"\u5DF2\u901A\u5173",value:1,color:"#00B187"}],Rt=[{label:"\u672A\u8BC4\u9605",value:0,color:"#9096A3"},{label:"\u8BC4\u9605\u4E2D",value:2,color:"#FF9D18"},{label:"\u5DF2\u8BC4\u9605",value:1,color:"#3061D0"}],Nt=[{label:"\u6210\u529F",value:1,color:"#00B187"},{label:"\u5931\u8D25",value:0,color:"#E30000"}],Ht=[{title:"\u5E8F\u53F7",dataIndex:"key",render:(Qt,Wn,Me)=>z.createElement("span",{className:"c-black"},Me+1+(Zt.page-1)*Zt.per_page)},{title:"\u59D3\u540D",dataIndex:"user_name",render:Qt=>z.createElement("span",{className:"c-black"},Qt)},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,render:Qt=>z.createElement("span",{className:"c-grey-666"},Qt||"--")},{title:"\u5206\u73ED",dataIndex:"group_name",render:Qt=>z.createElement("span",{className:"c-black"},Qt)},{title:"\u9898\u76EE\u72B6\u6001",dataIndex:"question_status",render:Qt=>{const{label:Wn,color:Me}=On.find(rt=>rt.value===Qt)||{};return z.createElement("span",{style:{color:Me}},Wn)}},{title:"\u9898\u76EE\u5F97\u5206",dataIndex:"question_score",sorter:!0,render:Qt=>z.createElement("span",{className:"c-black"},Qt)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:Qt=>z.createElement("span",{className:"c-black"},Qt)},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"review",render:Qt=>{const{label:Wn,color:Me}=Rt.find(rt=>rt.value===Qt)||{};return z.createElement("span",{style:{color:Me}},Wn)}},Yt===2&&{title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"success_status",render:Qt=>{const{label:Wn,color:Me}=Nt.find(rt=>rt.value===Qt)||{};return z.createElement("span",{style:{color:Me}},Wn)}}].filter(Boolean),ln=(Qt,Wn,Me)=>{Zt.page=Qt==null?void 0:Qt.current,Zt.per_page=Qt==null?void 0:Qt.pageSize,Me!=null&&Me.order?(Zt.sort_by=Me==null?void 0:Me.field,Zt.direction=(Me==null?void 0:Me.order)==="ascend"?"asc":"desc"):(Zt.sort_by=null,Zt.direction=null),$t(pe({},Zt)),sn(Zt)},nn=()=>{if(!fe){re.ZP.warning("\u8BF7\u8F93\u5165\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570");return}jt(!0)},jn=()=>ge(void 0,null,function*(){var Qt,Wn;if((Qt=ct.current)!=null&&Qt.onVerify())return;Ft(!0);const Me=yield(0,a.ZP)(`/api/exercise_questions/${mt==null?void 0:mt.question_id}/resubmit.json`,{method:"post",body:{keyword:Zt.keyword,question_status:Zt.question_status,review:Zt.review_status,success_status:Zt.success_status,use_max_score:ut,permits:fe,exercise_question_resubmit_id:Yt===1?null:(Wn=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:Wn.id}});(Me==null?void 0:Me.status)==0&&(yield Cn(),re.ZP.success("\u64CD\u4F5C\u6210\u529F"),jt(!1),yt(!1)),Ft(!1)}),na=(Qt,Wn)=>{Zt.page=1,Zt[Wn]=Qt,$t(pe({},Zt)),sn(Zt)},hn=["","\u5F53\u524D\u9898\u76EE\u7684\u5B9E\u9A8C\u8D44\u6E90\u4E3A\u4E13\u6709\u4E91\uFF0C\u4E0D\u652F\u6301\u91CD\u65B0\u8BC4\u6D4B~","\u8BE5\u529F\u80FD\u4EC5\u8BFE\u5802\u7BA1\u7406\u5458\u548C\u8003\u8BD5\u7684\u521B\u5EFA\u8005\u53EF\u4EE5\u64CD\u4F5C~"];return z.createElement(z.Fragment,null,z.createElement("div",{className:Re()(ie.recalculation,We),style:it},z.createElement(Ne.Z,{title:hn[(mt==null?void 0:mt.disable_resubmit_reason)||0]},z.createElement(Oe.ZP,{disabled:(mt==null?void 0:mt.disable_resubmit)||((Lt=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:Lt.status)==="running",onClick:()=>yt(1),icon:z.createElement("i",{className:"iconfont icon-zhongxinpingce font14"}),type:"primary",ghost:!0},"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206")),(mt==null?void 0:mt.show_resubmit_history)&&z.createElement(z.Fragment,null,((Xe=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:Xe.status)==="running"?z.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",z.createElement("span",{className:"c-light-primary ml3"},(xt=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:xt.rate)):z.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",z.createElement("span",{onClick:()=>{yt(2),Ke(1)},className:"current",style:{color:"#3061D0",textDecoration:"underline",margin:"0 3px"}},(Mt=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:Mt.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",z.createElement("span",{onClick:()=>{yt(2),Ke(2)},className:"current",style:{color:"#E30000",textDecoration:"underline",margin:"0 3px"}},(Te=mt==null?void 0:mt.exercise_question_resubmit)==null?void 0:Te.fail_count),"\u4EBA"),z.createElement(Ne.Z,{title:"\u64CD\u4F5C\u8BB0\u5F55"},z.createElement("i",{onClick:()=>Dt(!0),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})))),z.createElement(we.default,{centered:!0,open:!!Yt,title:`\u91CD\u65B0\u8BC4\u6D4B${Yt===1?"\u7B97\u5206":"\u7ED3\u679C"}`,width:870,okText:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",onCancel:()=>yt(!1),onOk:nn,afterClose:()=>{he(!0),Ke(null),$t(pe({},kt))}},z.createElement("div",{className:ie.filter},Yt===1&&z.createElement(z.Fragment,null,z.createElement("div",{className:ie.tips},z.createElement("div",{className:"mb5",style:{color:"#FF9D18"}},z.createElement("i",{className:"iconfont icon-tishi9 mr10 font14"}),"\u6E29\u99A8\u63D0\u793A"),z.createElement("div",null,"1.\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206\u6D41\u7A0B\uFF1A \u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u5B66\u751F\u5728\u8003\u8BD5\u9875\u9762\u4FDD\u5B58\u7684\u6700\u65B0\u4EE3\u7801\uFF0C\u5E76\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\uFF0C\u4ECE\u800C\u7CBE\u51C6\u8BA1\u7B97\u51FA\u5B66\u751F\u7684\u6700\u7EC8\u5F97\u5206\uFF1B"),z.createElement("div",{style:{margin:"2px 0"}},"2.\u91CD\u65B0\u8BC4\u6D4B\u6761\u4EF6\uFF1A \u8003\u8BD5\u7ED3\u675F\u540E\uFF0C\u4EC5\u5BF9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u5DF2\u4F5C\u7B54\u8BE5\u9898\u76EE\u7684\u5B66\u751F\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\u4E0E\u7B97\u5206\uFF1B"),z.createElement("div",null,"3.\u91CD\u65B0\u8BC4\u6D4B\u65F6\uFF0C\u8BF7\u786E\u4FDD\u5B9E\u9A8C\u73AF\u5883\u80FD\u6B63\u5E38\u542F\u52A8\u5E76\u53EF\u8FD0\u884C\u8BC4\u6D4B\u3002")),z.createElement(Ie,{className:"mt10",title:"\u9898\u76EE\u72B6\u6001",items:(ce==null?void 0:ce.question_status)||[],value:Zt.question_status,onChange:Qt=>na(Qt,"question_status")}),z.createElement(Ie,{className:"mt10",title:"\u8BC4\u9605\u72B6\u6001",items:(ce==null?void 0:ce.review_status)||[],value:Zt.review,onChange:Qt=>na(Qt,"review")})),Yt===2&&z.createElement(z.Fragment,null,z.createElement(Ie,{className:"mt10",title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",items:(ce==null?void 0:ce.success_status)||[],value:Zt.success_status,onChange:Qt=>na(Qt,"success_status")})),z.createElement(x.t7,{className:ie.input,style:{bottom:Yt===1?10:-5},value:Zt.keyword,onChange:Qt=>na(Qt,"keyword"),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22"})),z.createElement(De.default,{className:"mt20",columns:Ht,scroll:(($e=ce==null?void 0:ce.data)==null?void 0:$e.length)>7?{y:300}:{},dataSource:(ce==null?void 0:ce.data)||[],loading:st,onChange:ln,pagination:{total:ke,pageSize:Zt.per_page,current:Zt.page,hideOnSinglePage:!ke,showSizeChanger:!0,pageSizeOptions:["5","10","20","50","100"],showQuickJumper:!0,size:"default",showTotal:E.rU}}),z.createElement(xe.Z,{justify:"space-between",align:"middle",className:"mt10"},z.createElement(be.default,{className:"c-black",checked:ut,onChange:Qt=>he(Qt.target.checked)},"\u91CD\u65B0\u8BC4\u6D4B\u540E\u7684\u5206\u6570\u5927\u4E8E\u539F\u6765\u7684\u5206\u6570\u624D\u66F4\u65B0\u6210\u7EE9"),(0,b.Ny)()&&z.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570",z.createElement(je.Z,{className:"ml10 mr10",value:fe,max:ze,min:1,precision:0,onChange:Qt=>qe(Qt)}),"\u4EBA",z.createElement(Ne.Z,{overlayStyle:{maxWidth:450},title:"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A20\u4EBA\uFF08\u81EA\u5B9A\u4E49\u955C\u50CF\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A3\u4EBA\uFF09\u3002"},z.createElement("i",{style:{color:"#9096A3"},className:"iconfont icon-tishi5 font13 ml10"}))))),z.createElement(we.default,{centered:!0,title:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",open:at,width:494,zIndex:1001,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Se,destroyOnClose:!0,onOk:jn,onCancel:()=>jt(!1)},z.createElement(Ee.default.Item,{className:"mb0",colon:!1,label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},z.createElement(y.Z,{ref:Qt=>ct.current=Qt}))),z.createElement(we.default,{centered:!0,title:"\u64CD\u4F5C\u8BB0\u5F55",open:Ot,width:710,onCancel:()=>Dt(!1),footer:null},z.createElement(oe.Z,{spinning:_t},z.createElement("div",{className:ie.operating},on.map((Qt,Wn)=>z.createElement("div",{key:Wn,className:ie.operatingItem},z.createElement("div",{style:{flex:"0 0 180px"},className:"c-grey-666"},Qt==null?void 0:Qt.created_at),z.createElement("div",{className:"c-black"},Qt==null?void 0:Qt.user_name,"\u64CD\u4F5C\u4E86\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206"),(Qt==null?void 0:Qt.status)==="running"?z.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",z.createElement("span",{className:"c-light-primary ml3"},Qt==null?void 0:Qt.rate)):z.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",z.createElement("span",{style:{color:"#3061D0",margin:"0 3px"}},Qt==null?void 0:Qt.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",z.createElement("span",{style:{color:"#E30000",margin:"0 3px"}},Qt==null?void 0:Qt.fail_count),"\u4EBA")))),z.createElement("div",{style:{height:20}}))))}},82438:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Ne}});var z=ne(59301),ie={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Pe=ne(43418),Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",xe=(Oe,we,De)=>new Promise((je,Ee)=>{var oe=b=>{try{a(De.next(b))}catch(y){Ee(y)}},E=b=>{try{a(De.throw(b))}catch(y){Ee(y)}},a=b=>b.done?je(b.value):Promise.resolve(b.value).then(oe,E);a((De=De.apply(Oe,we)).next())}),Ne=({type:Oe,resdata:we,onok:De,oktext:je,okloading:Ee})=>{const[oe,E]=(0,z.useState)(!1),{can_copy_list:a,can_copy_num:b,challenge_type:y,course_data_list:x,no_copy_list:ee,no_copy_num:te,no_use_list:ae,no_use_num:se,repeat_shixun_num:de,student_count:me,total_num:Be,use_num:pe}=we;let Fe=b>0||Oe==="exercise";(0,z.useEffect)(()=>{(we==null?void 0:we.student_count)>0&&E(!0)},[we]),console.log("---11",Ee),(0,z.useEffect)(()=>{Ee||E(!1)},[Ee]);const ge=()=>{if(Oe==="exercise"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Oe==="exercise"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="shixun"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="shixun"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="subject"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="subject"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",z.createElement("span",{className:ie.orangeColor},me)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",z.createElement("span",{className:ie.orangeColor},pe)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="exercisepush")return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Oe==="shixunpush"&&y===1)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",z.createElement("span",{className:ie.orangeColor},pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="shixunpush"&&y===2)return z.createElement(z.Fragment,null,"\u8BFE\u5802\u5185\u6709",z.createElement("span",{className:ie.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",z.createElement("span",{className:ie.orangeColor},pe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",z.createElement("span",{className:ie.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},tt=()=>{if(Oe==="exercise"||Oe==="subject"||Oe==="exercisepush"||Oe==="shixunpush")return z.createElement("div",{style:{marginTop:20}},te>0&&z.createElement("div",null,z.createElement("span",{className:ie.flex},z.createElement("img",{src:be,style:{width:14}}),z.createElement("span",{className:ie.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:ie.statusbody},Oe==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",z.createElement("span",{className:ie.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Oe==="subject"||Oe==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Fe&&z.createElement("span",{className:ie.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Oe==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Fe&&z.createElement("span",{className:ie.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),z.createElement("div",null,ee==null?void 0:ee.map((Ie,Qe)=>z.createElement("a",{href:`/shixuns/${Ie.identifier}/challenges`,target:"_blank"},"\u300A",Ie==null?void 0:Ie.name,"\u300B",Qe+1!==te&&"\u3001"))))),b>0&&z.createElement("div",{style:{marginTop:20}},z.createElement("span",{className:ie.flex},z.createElement("img",{src:Re,style:{width:14}}),z.createElement("span",{className:ie.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),z.createElement("div",{className:ie.statusbody},Oe==="exercise"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Oe==="subject"||Oe==="exercisepush")&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Oe==="shixunpush"&&z.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),z.createElement("div",null,a==null?void 0:a.map((Ie,Qe)=>z.createElement("a",{href:`/shixuns/${Ie.identifier}/challenges`,target:"_blank"},"\u300A",Ie==null?void 0:Ie.name,"\u300B",Qe+1!==b&&"\u3001"))))));if(Oe==="shixun")return z.createElement("div",{style:{marginTop:20}},b>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return z.createElement(Pe.default,{open:oe,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Fe&&"none"}},zIndex:1003,confirmLoading:Ee,okText:Fe?je:"\u6211\u77E5\u9053\u4E86",onOk:()=>xe(void 0,null,function*(){Fe?yield De([...a,...ae]):E(!1)})},z.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ge(),tt()))}},69304:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return xe}});var z=ne(59301),ie={btn:"btn___kReTL",redBtn:"redBtn___UFEL0"},Pe=ne(92310),Re=ne.n(Pe),xe=({className:re,style:Ne,state:Oe,onClick:we})=>{var De,je;return z.createElement("div",{onClick:we,className:Re()(Oe?(De=ie)==null?void 0:De.redBtn:(je=ie)==null?void 0:je.btn,re),style:Ne},Oe?z.createElement(z.Fragment,null,z.createElement("i",{className:"iconfont icon-biaoji1"}),z.createElement("span",null,"\u53D6\u6D88\u6807\u8BB0\u9519\u9898")):z.createElement(z.Fragment,null,z.createElement("i",{className:"iconfont icon-biaojigaiti"}),z.createElement("span",null,"\u6807\u8BB0\u9519\u9898")))}},97692:function(pt,vt,ne){"use strict";ne.d(vt,{h:function(){return te}});var z=ne(59301),ie=ne(57809),Pe=ne(78241),Re=ne(3113),be=ne(89780),xe=ne.n(be),re=ne(37036),Ne=ne(95625),Oe=Object.defineProperty,we=Object.defineProperties,De=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,E=(ae,se,de)=>se in ae?Oe(ae,se,{enumerable:!0,configurable:!0,writable:!0,value:de}):ae[se]=de,a=(ae,se)=>{for(var de in se||(se={}))Ee.call(se,de)&&E(ae,de,se[de]);if(je)for(var de of je(se))oe.call(se,de)&&E(ae,de,se[de]);return ae},b=(ae,se)=>we(ae,De(se));const y=ie.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},ee={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"]};vt.Z=({callback:ae,onCancel:se})=>{const[de,me]=(0,z.useState)("python");function Be(Fe){me(ee[Fe][1])}function pe(Fe){ae(Fe)}return z.createElement(Pe.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:pe,style:{width:500}}),z.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},z.createElement(ie.default,{getPopupContainer:Fe=>Fe.parentNode,onChange:Be},Object.keys(ee).map(Fe=>z.createElement(y,{key:Fe,value:Fe},ee[Fe][0])))),z.createElement(Pe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},z.createElement(te,{mode:de})),z.createElement("div",{className:"flex-container flex-end"},z.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(Re.ZP,{type:"ghost",onClick:se},"\u53D6\u6D88")))};function te({value:ae,onChange:se,mode:de,options:me={}}){const Be=(0,z.useRef)(),[pe,Fe]=(0,z.useState)();return(0,z.useEffect)(()=>{if(pe){let ge=function(tt){const Ie=tt.getValue();se&&se(Ie)};return pe.on("change",ge),()=>{pe.off("change",ge)}}},[pe,se]),(0,z.useEffect)(()=>{pe&&pe.setOption("mode",de)},[pe,de]),(0,z.useEffect)(()=>{pe&&(ae!==pe.getValue()||ae==="")&&setTimeout(()=>{pe.setValue(ae||"")},300)},[pe,ae]),(0,z.useEffect)(()=>{if(Be.current&&!pe){const ge=xe().fromTextArea(Be.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Fe(ge)}},[Be.current,pe]),z.createElement("div",{className:"my-codemirror-container"},z.createElement("textarea",{ref:Be}))}},12290:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Kt}});var z=ne(59301),ie=ne(89780),Pe=ne.n(ie),Re=ne(76374),be=ne(37036),xe=ne(6313),re=ne(25717),Ne=ne(99498),Oe=ne(25419),we=ne(67549),De=ne(85149),je=({value:Ve="",className:Ye,showTextOnly:Je,showLines:Et,style:Gt={}})=>{const It=(0,z.useMemo)(()=>"",[Ve]);return z.createElement(z.Fragment,null,z.createElement("div",{dangerouslySetInnerHTML:{__html:It}}))},Ee=ne(59301),oe=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(Ve,Ye,Je)=>Ye in Ve?oe(Ve,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ve[Ye]=Je,te=(Ve,Ye)=>{for(var Je in Ye||(Ye={}))y.call(Ye,Je)&&ee(Ve,Je,Ye[Je]);if(b)for(var Je of b(Ye))x.call(Ye,Je)&&ee(Ve,Je,Ye[Je]);return Ve},ae=(Ve,Ye)=>E(Ve,a(Ye));let se=[{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:Ve,title:Ye,icon:Je,actionName:Et,className:Gt="",children:It}){function dn(){Ve(Et)}return Ee.createElement("a",{title:Ye,className:Gt,onClick:dn},Ee.createElement("i",{className:`${Je}`}),It)}var me=({watch:Ve,showNullButton:Ye,showNullProgramButton:Je,onActionCallback:Et,fullScreen:Gt,insertTemp:It,hidetoolBar:dn,extraUse:an})=>{const Xt=[...se,{title:`${Ve?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ve?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ee.createElement("ul",{className:"markdown-toolbar-container"},!dn&&Xt.map((cn,da)=>Ee.createElement("li",{key:da},cn.actionName?Ee.createElement(de,ae(te({},cn),{onActionCallback:Et})):Ee.createElement("span",{className:"v-line"}))),Ye?Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Et},Ee.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Je?Ee.createElement(Ee.Fragment,null,Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Et},Ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Et},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,It&&Ee.createElement("li",null,Ee.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${It}`,onActionCallback:Et},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),an&&Ee.createElement("li",null,an),Ee.createElement("li",{className:"btn-full-screen"},Ee.createElement(de,{icon:`${Gt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Gt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Et})))},Be=ne(79346),pe=ne(78241),Fe=ne(92832),ge=ne(3113),tt=Object.defineProperty,Ie=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,Ct=(Ve,Ye,Je)=>Ye in Ve?tt(Ve,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ve[Ye]=Je,nt=(Ve,Ye)=>{for(var Je in Ye||(Ye={}))We.call(Ye,Je)&&Ct(Ve,Je,Ye[Je]);if(_e)for(var Je of _e(Ye))it.call(Ye,Je)&&Ct(Ve,Je,Ye[Je]);return Ve},Lt=(Ve,Ye)=>Ie(Ve,Qe(Ye));const Xe={labelCol:{span:4},wrapperCol:{span:20}};var xt=({callback:Ve,onCancel:Ye})=>{function Je(Et){Ve(Et)}return z.createElement(pe.default,Lt(nt({},Xe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Je,style:{width:500}}),z.createElement(pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},z.createElement(Fe.default,null)),z.createElement(pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},z.createElement(Fe.default,null)),z.createElement("div",{className:"flex-container flex-end"},z.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(ge.ZP,{type:"ghost",onClick:Ye},"\u53D6\u6D88")))},Mt=ne(97692),Te=ne(28451),$e=ne(43418),mt=ne(95237),zt=ne(73524),st=ne(59301),Tt=({callback:Ve,onCancel:Ye})=>{const Je=document.createElement("canvas"),Et=Je.getContext("2d");Je.width=1e3,Je.height=800,Et.fillStyle="#ffffff",Et.fillRect(0,0,Je.width,Je.height);const Gt=Je.toDataURL("image/png");return st.createElement($e.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},st.createElement(mt.Z,{style:{height:"100vh"}},st.createElement(zt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Gt,visible:!0,title:String(Date.now())},onOk:It=>{Ve({src:It.url})},onClose:Ye})))},Se=ne(12378);function Ft(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ft,go.CommandHandler),Ft.prototype.canAlignSelection=function(){var Ve=this.diagram;return!(Ve===null||Ve.isReadOnly||Ve.isModelReadOnly||Ve.selection.count<2)},Ft.prototype.alignLeft=function(){var Ve=this.diagram;Ve.startTransaction("aligning left");var Ye=1/0;Ve.selection.each(function(Je){Je instanceof go.Link||(Ye=Math.min(Je.position.x,Ye))}),Ve.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(Ye,Je.position.y))}),Ve.commitTransaction("aligning left")},Ft.prototype.alignRight=function(){var Ve=this.diagram;Ve.startTransaction("aligning right");var Ye=-1/0;Ve.selection.each(function(Je){if(!(Je instanceof go.Link)){var Et=Je.actualBounds.x+Je.actualBounds.width;Ye=Math.max(Et,Ye)}}),Ve.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(Ye-Je.actualBounds.width,Je.position.y))}),Ve.commitTransaction("aligning right")},Ft.prototype.alignTop=function(){var Ve=this.diagram;Ve.startTransaction("alignTop");var Ye=1/0;Ve.selection.each(function(Je){Je instanceof go.Link||(Ye=Math.min(Je.position.y,Ye))}),Ve.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(Je.position.x,Ye))}),Ve.commitTransaction("alignTop")},Ft.prototype.alignBottom=function(){var Ve=this.diagram;Ve.startTransaction("aligning bottom");var Ye=-1/0;Ve.selection.each(function(Je){if(!(Je instanceof go.Link)){var Et=Je.actualBounds.y+Je.actualBounds.height;Ye=Math.max(Et,Ye)}}),Ve.selection.each(function(Je){Je instanceof go.Link||Je.move(new go.Point(Je.actualBounds.x,Ye-Je.actualBounds.height))}),Ve.commitTransaction("aligning bottom")},Ft.prototype.alignCenterX=function(){var Ve=this.diagram,Ye=Ve.selection.first();if(Ye){Ve.startTransaction("aligning Center X");var Je=Ye.actualBounds.x+Ye.actualBounds.width/2;Ve.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Je-Et.actualBounds.width/2,Et.actualBounds.y))}),Ve.commitTransaction("aligning Center X")}},Ft.prototype.alignCenterY=function(){var Ve=this.diagram,Ye=Ve.selection.first();if(Ye){Ve.startTransaction("aligning Center Y");var Je=Ye.actualBounds.y+Ye.actualBounds.height/2;Ve.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Et.actualBounds.x,Je-Et.actualBounds.height/2))}),Ve.commitTransaction("aligning Center Y")}},Ft.prototype.alignColumn=function(Ve){var Ye=this.diagram;Ye.startTransaction("align Column"),Ve===void 0&&(Ve=0),Ve=parseFloat(Ve);var Je=new Array;Ye.selection.each(function(an){an instanceof go.Link||Je.push(an)});for(var Et=0;Et<Je.length-1;Et++){var Gt=Je[Et],It=Gt.actualBounds.y+Gt.actualBounds.height+Ve,dn=Je[Et+1];dn.move(new go.Point(Gt.actualBounds.x,It))}Ye.commitTransaction("align Column")},Ft.prototype.alignRow=function(Ve){Ve===void 0&&(Ve=0),Ve=parseFloat(Ve);var Ye=this.diagram;Ye.startTransaction("align Row");var Je=new Array;Ye.selection.each(function(an){an instanceof go.Link||Je.push(an)});for(var Et=0;Et<Je.length-1;Et++){var Gt=Je[Et],It=Gt.actualBounds.x+Gt.actualBounds.width+Ve,dn=Je[Et+1];dn.move(new go.Point(It,Gt.actualBounds.y))}Ye.commitTransaction("align Row")},Ft.prototype.canRotate=function(Ve){var Ye=this.diagram;return!(Ye===null||Ye.isReadOnly||Ye.isModelReadOnly||Ye.selection.count<1)},Ft.prototype.rotate=function(Ve){Ve===void 0&&(Ve=90);var Ye=this.diagram;Ye.startTransaction("rotate "+Ve.toString());var Ye=this.diagram;Ye.selection.each(function(Je){Je instanceof go.Link||Je instanceof go.Group||(Je.angle+=Ve)}),Ye.commitTransaction("rotate "+Ve.toString())},Ft.prototype.pullToFront=function(){var Ve=this.diagram;Ve.startTransaction("pullToFront");var Ye=new go.Map;Ve.selection.each(function(Je){Ye.set(Je.layer,0)}),Ye.iteratorKeys.each(function(Je){var Et=0;Je.parts.each(function(Gt){if(!Gt.isSelected){var It=Gt.zOrder;isNaN(It)?Gt.zOrder=0:Et=Math.max(Et,It)}}),Ye.set(Je,Et)}),Ve.selection.each(function(Je){Ft._assignZOrder(Je,Ye.get(Je.layer)+1)}),Ve.commitTransaction("pullToFront")},Ft.prototype.pushToBack=function(){var Ve=this.diagram;Ve.startTransaction("pushToBack");var Ye=new go.Map;Ve.selection.each(function(Je){Ye.set(Je.layer,0)}),Ye.iteratorKeys.each(function(Je){var Et=0;Je.parts.each(function(Gt){if(!Gt.isSelected){var It=Gt.zOrder;isNaN(It)?Gt.zOrder=0:Et=Math.min(Et,It)}}),Ye.set(Je,Et)}),Ve.selection.each(function(Je){Ft._assignZOrder(Je,Ye.get(Je.layer)-1-Ft._findGroupDepth(Je))}),Ve.commitTransaction("pushToBack")},Ft._assignZOrder=function(Ve,Ye,Je){Je===void 0&&(Je=Ve),Ve.layer===Je.layer&&(Ve.zOrder=Ye),Ve instanceof go.Group&&Ve.memberParts.each(function(Et){Ft._assignZOrder(Et,Ye+1,Je)})},Ft._findGroupDepth=function(Ve){if(Ve instanceof go.Group){var Ye=0;return Ve.memberParts.each(function(Je){Ye=Math.max(Ye,Ft._findGroupDepth(Je))}),Ye+1}else return 0},Ft.prototype.doKeyDown=function(){var Ve=this.diagram;if(Ve!==null){var Ye=Ve.lastInput;if(Ye.key==="Up"||Ye.key==="Down"||Ye.key==="Left"||Ye.key==="Right"){var Je=this.arrowKeyBehavior;if(Je==="none")return;if(Je==="select"){this._arrowKeySelect();return}else if(Je==="move"){this._arrowKeyMove();return}else if(Je==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ft.prototype._getAllParts=function(){var Ve=new Array;return this.diagram.nodes.each(function(Ye){Ve.push(Ye)}),this.diagram.parts.each(function(Ye){Ve.push(Ye)}),Ve},Ft.prototype._arrowKeyMove=function(){var Ve=this.diagram,Ye=Ve.lastInput,Je=0,Et=0;if(Ye.control||Ye.meta)Je=1,Et=1;else if(Ve.grid!==null){var Gt=Ve.grid.gridCellSize;Et=Gt.width,Je=Gt.height}Ve.startTransaction("arrowKeyMove"),Ve.selection.each(function(It){Ye.key==="Up"?It.move(new go.Point(It.actualBounds.x,It.actualBounds.y-Je)):Ye.key==="Down"?It.move(new go.Point(It.actualBounds.x,It.actualBounds.y+Je)):Ye.key==="Left"?It.move(new go.Point(It.actualBounds.x-Et,It.actualBounds.y)):Ye.key==="Right"&&It.move(new go.Point(It.actualBounds.x+Et,It.actualBounds.y))}),Ve.commitTransaction("arrowKeyMove")},Ft.prototype._arrowKeySelect=function(){var Ve=this.diagram,Ye=Ve.lastInput,Je=null;Ye.key==="Up"?Je=this._findNearestPartTowards(270):Ye.key==="Down"?Je=this._findNearestPartTowards(90):Ye.key==="Left"?Je=this._findNearestPartTowards(180):Ye.key==="Right"&&(Je=this._findNearestPartTowards(0)),Je!==null&&(Ye.shift?Je.isSelected=!0:Ye.control||Ye.meta?Je.isSelected=!Je.isSelected:Ve.select(Je))},Ft.prototype._findNearestPartTowards=function(Ve){var Ye=this.diagram.selection.first();if(Ye===null)return null;for(var Je=Ye.actualBounds.center,Et=this._getAllParts(),Gt=1/0,It=Ye,dn=0;dn<Et.length;dn++){var an=Et[dn];if(an!==Ye&&an.canSelect()){var Xt=an.actualBounds.center,cn=Je.directionPoint(Xt),da=this._angleCloseness(cn,Ve);if(da<=45){var Ut=Je.distanceSquaredPoint(Xt);Ut*=1+Math.sin(da*Math.PI/180),Ut<Gt&&(Gt=Ut,It=an)}}}return It},Ft.prototype._angleCloseness=function(Ve,Ye){return Math.min(Math.abs(Ye-Ve),Math.min(Math.abs(Ye+360-Ve),Math.abs(Ye-360-Ve)))},Ft.prototype._arrowKeyTree=function(){var Ve=this.diagram,Ye=Ve.selection.first();if(Ye instanceof go.Node){var Je=Ve.lastInput;if(Je.key==="Right"){if(!Ye.isTreeLeaf)if(!Ye.isTreeExpanded)Ve.commandHandler.canExpandTree(Ye)&&Ve.commandHandler.expandTree(Ye);else{var Et=this._sortTreeChildrenByY(Ye).first();Et!==null&&Ve.select(Et)}}else if(Je.key==="Left")if(!Ye.isTreeLeaf&&Ye.isTreeExpanded)Ve.commandHandler.canCollapseTree(Ye)&&Ve.commandHandler.collapseTree(Ye);else{var Gt=Ye.findTreeParentNode();Gt!==null&&Ve.select(Gt)}else if(Je.key==="Up"){var Gt=Ye.findTreeParentNode();if(Gt!==null){var It=this._sortTreeChildrenByY(Gt),dn=It.indexOf(Ye);if(dn>0){for(var an=It.elt(dn-1);an!==null&&an.isTreeExpanded&&!an.isTreeLeaf;){var Xt=this._sortTreeChildrenByY(an);an=Xt.last()}an!==null&&Ve.select(an)}else Ve.select(Gt)}}else if(Je.key==="Down")if(Ye.isTreeExpanded&&!Ye.isTreeLeaf){var Et=this._sortTreeChildrenByY(Ye).first();Et!==null&&Ve.select(Et)}else for(;Ye!==null;){var Gt=Ye.findTreeParentNode();if(Gt===null)break;var It=this._sortTreeChildrenByY(Gt),dn=It.indexOf(Ye);if(dn<It.length-1){Ve.select(It.elt(dn+1));break}else Ye=Gt}var cn=Ve.selection.first();cn!==null&&Ve.scrollToRect(cn.actualBounds)}},Ft.prototype._sortTreeChildrenByY=function(Ve){var Ye=new go.List().addAll(Ve.findTreeChildrenNodes());return Ye.sort(function(Je,Et){var Gt=Je.location,It=Et.location;return Gt.y<It.y?-1:Gt.y>It.y?1:Gt.x<It.x?-1:Gt.x>It.x?1:0}),Ye},Ft.prototype.copyToClipboard=function(Ve){go.CommandHandler.prototype.copyToClipboard.call(this,Ve),this._lastPasteOffset.set(this.pasteOffset)},Ft.prototype.pasteFromClipboard=function(){var Ve=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ve,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ve},Object.defineProperty(Ft.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ve){if(Ve!=="move"&&Ve!=="select"&&Ve!=="scroll"&&Ve!=="tree"&&Ve!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ve);this._arrowKeyBehavior=Ve}}),Object.defineProperty(Ft.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ve){if(!(Ve instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ve);this._pasteOffset.set(Ve)}});var Yt=Ft,yt=ne(74413),ft=ne(43604),Ke=ne(99064),ke={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=ne(59301),ce=(Ve,Ye,Je)=>new Promise((Et,Gt)=>{var It=Xt=>{try{an(Je.next(Xt))}catch(cn){Gt(cn)}},dn=Xt=>{try{an(Je.throw(Xt))}catch(cn){Gt(cn)}},an=Xt=>Xt.done?Et(Xt.value):Promise.resolve(Xt.value).then(It,dn);an((Je=Je.apply(Ve,Ye)).next())});function He({onCancel:Ve,callback:Ye}){let Je=(0,z.useRef)(),Et=(0,z.useRef)(),Gt=(0,z.useRef)(),It=(0,z.useRef)(!1);const dn=(0,z.useRef)(!1),[an,Xt]=(0,z.useState)(0);function cn(){const Ut=Se.bx.make,kn={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"};Je.current=new Se.S0(Et.current,{padding:20,grid:Ut(Se.s_,"Grid",Ut(Se.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(Se.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:pn=>{var _n=pn.diagram.commandHandler.addTopLevelParts(pn.diagram.selection,!0);_n||pn.diagram.currentTool.doCancel()},commandHandler:Ut(Yt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:pn=>{var _n=pn.subject;_n.location=_n.location.copy().snapToGridPoint(pn.diagram.grid.gridOrigin,pn.diagram.grid.gridCellSize),setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:pn=>{var _n=pn.subject;setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()})},LinkRelinked:pn=>{var _n=pn.parameter.part;_n.invalidateConnectedLinks();var oa=pn.subject;pn.diagram.toolManager.linkingTool.isForwards?oa.toNode.invalidateConnectedLinks():oa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Je.current.nodeTemplate=Ut(Se.NB,"Auto",{locationSpot:Se.z6.Center,locationObjectName:"SHAPE",desiredSize:new Se.$u(120,60),minSize:new Se.$u(40,40),resizable:!0,resizeCellSize:new Se.$u(10,10),rotatable:!0},new Se.KX("location","loc",Se.E9.parse).makeTwoWay(Se.E9.stringify),new Se.KX("desiredSize","size",Se.$u.parse).makeTwoWay(Se.$u.stringify),Ut(Se.bn,{name:"SHAPE",fill:kn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Se.z6.AllSides,toSpot:Se.z6.AllSides},new Se.KX("figure"),new Se.KX("fill"),new Se.KX("stroke","borderColor"),new Se.KX("strokeWidth","thickness"),new Se.KX("strokeDashArray","dash")),Ut(Se.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ut(Se.al,{margin:1,textAlign:"center",overflow:Se.al.OverflowEllipsis,editable:!0},new Se.KX("text").makeTwoWay(),new Se.KX("stroke","color"))),Je.current.nodeTemplate.toolTip=Ut("ToolTip",Ut(Se.s_,"Vertical",{maxSize:new Se.$u(200,NaN)},Ut(Se.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Se.KX("text")),Ut(Se.al,{font:"10pt sans-serif",textAlign:"center"},new Se.KX("text","details"))));function aa(pn,_n){var oa=(xn,Ea)=>{xn.handled=!0,xn.diagram.model.commit(Wa=>{var yo=Ea.part.adornedPart,Xa=new Se.E9().setRectSpot(yo.actualBounds,pn);Xa.subtract(yo.location),Xa.scale(2,2),Xa.x+=Math.sign(Xa.x)*130,Xa.y+=Math.sign(Xa.y)*130,Xa.add(yo.location),Xa.snapToGridPoint(xn.diagram.grid.gridOrigin,xn.diagram.grid.gridCellSize);var oo=Wa.copyNodeData(yo.data);Wa.setGroupKeyForNodeData(oo,Wa.getGroupKeyForNodeData(yo.data)),Wa.addNodeData(oo);var Jo={from:yo.key,to:Wa.getKeyForNodeData(oo)};Wa.addLinkData(Jo);var _o=xn.diagram.findNodeForData(oo);_o.location=Xa,xn.diagram.select(_o),setTimeout(()=>{xn.diagram.commandHandler.editTextBlock()},20)})};return Ut(Se.bn,{figure:_n,alignment:pn,alignmentFocus:pn.opposite(),width:pn.equals(Se.z6.Top)||pn.equals(Se.z6.Bottom)?25:18,height:pn.equals(Se.z6.Top)||pn.equals(Se.z6.Bottom)?18:25,fill:"orange",stroke:kn.white,strokeWidth:4,mouseEnter:(xn,Ea)=>Ea.fill="dodgerblue",mouseLeave:(xn,Ea)=>Ea.fill="orange",isActionable:!0,click:oa,contextClick:oa})}function va(pn){return Ut(Se.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:(_n,oa)=>oa.fill="dodgerblue",mouseLeave:(_n,oa)=>oa.fill="orange",click:(_n,oa)=>{_n.diagram.commandHandler.showContextMenu(oa.part.adornedPart)}},pn||{})}Je.current.nodeTemplate.selectionAdornmentTemplate=Ut(Se.uz,"Spot",Ut(Se.Vm,{padding:10}),aa(Se.z6.Top,"TriangleUp"),aa(Se.z6.Left,"TriangleLeft"),aa(Se.z6.Right,"TriangleRight"),aa(Se.z6.Bottom,"TriangleDown"),va({alignment:new Se.z6(.75,0)}));function fn(pn,_n){return(oa,xn)=>{oa.handled=!0,oa.diagram.model.commit(Ea=>{Ea.set(xn.part.adornedPart.data,pn,_n)})}}function Un(pn,_n){return _n||(_n="color"),Ut(Se.bn,{width:16,height:16,stroke:"lightgray",fill:pn,margin:1,background:"transparent",mouseEnter:(oa,xn)=>xn.stroke="dodgerblue",mouseLeave:(oa,xn)=>xn.stroke="lightgray",click:fn(_n,pn),contextClick:fn(_n,pn)})}function ka(){return[Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Un(kn.white,"fill"),Un(kn.beige,"fill"),Un(kn.extralightblue,"fill"),Un(kn.extralightred,"fill"))),Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Un(kn.lightgray,"fill"),Un(kn.lightgreen,"fill"),Un(kn.lightblue,"fill"),Un(kn.lightred,"fill")))]}function $n(){return[Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Un(kn.black),Un(kn.green),Un(kn.blue),Un(kn.red))),Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Un(kn.white),Un(kn.magenta),Un(kn.purple),Un(kn.orange)))]}function Na(pn,_n){return _n||(_n="thickness"),Ut(Se.bn,"LineH",{width:16,height:16,strokeWidth:pn,margin:1,background:"transparent",mouseEnter:(oa,xn)=>xn.background="dodgerblue",mouseLeave:(oa,xn)=>xn.background="transparent",click:fn(_n,pn),contextClick:fn(_n,pn)})}function Ia(pn,_n){return _n||(_n="dash"),Ut(Se.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:pn,margin:1,background:"transparent",mouseEnter:(oa,xn)=>xn.background="dodgerblue",mouseLeave:(oa,xn)=>xn.background="transparent",click:fn(_n,pn),contextClick:fn(_n,pn)})}function _a(){return[Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Na(1),Na(2),Na(3),Na(4))),Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Ia(null),Ia([2,4]),Ia([4,4])))]}function Ma(pn,_n){return _n||(_n="figure"),Ut(Se.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:pn,margin:1,background:"transparent",mouseEnter:(oa,xn)=>xn.fill="dodgerblue",mouseLeave:(oa,xn)=>xn.fill="lightgray",click:fn(_n,pn),contextClick:fn(_n,pn)})}Je.current.nodeTemplate.contextMenu=Ut("ContextMenu",Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Ma("Rectangle"),Ma("RoundedRectangle"),Ma("Ellipse"),Ma("Diamond"))),Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Ma("Parallelogram2"),Ma("ManualOperation"),Ma("Procedure"),Ma("Cylinder1"))),Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Ma("Terminator"),Ma("CreateRequest"),Ma("Document"),Ma("TriangleDown"))),ka(),$n(),_a()),Je.current.groupTemplate=Ut(Se.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Se.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(pn,_n)=>{var oa=_n.addMembers(_n.diagram.selection,!0);oa||_n.diagram.currentTool.doCancel()},avoidable:!1},new Se.KX("location","loc",Se.E9.parse).makeTwoWay(Se.E9.stringify),Ut(Se.s_,"Auto",{name:"BODY"},Ut(Se.bn,{parameter1:10,fill:kn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Se.z6.AllSides,toSpot:Se.z6.AllSides},new Se.KX("fill"),new Se.KX("stroke","color"),new Se.KX("strokeWidth","thickness"),new Se.KX("strokeDashArray","dash")),Ut(Se.Vm,{background:"transparent",margin:20})),Ut(Se.al,{alignment:Se.z6.Top,alignmentFocus:Se.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Se.KX("text"),new Se.KX("stroke","color"))),Je.current.groupTemplate.selectionAdornmentTemplate=Ut(Se.uz,"Spot",Ut(Se.s_,"Auto",Ut(Se.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ut(Se.Vm,{margin:1.5})),va({alignment:Se.z6.TopRight,alignmentFocus:Se.z6.BottomRight})),Je.current.groupTemplate.contextMenu=Ut("ContextMenu",ka(),$n(),_a()),Je.current.linkTemplate=Ut(Se.rU,{layerName:"Foreground",routing:Se.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Se.KX("fromSpot","fromSpot",Se.z6.parse),new Se.KX("toSpot","toSpot",Se.z6.parse),new Se.KX("fromShortLength","dir",pn=>pn>=1?10:0),new Se.KX("toShortLength","dir",pn=>pn>=1?10:0),new Se.KX("points").makeTwoWay(),Ut(Se.bn,{strokeWidth:2},new Se.KX("stroke","color"),new Se.KX("strokeWidth","thickness"),new Se.KX("strokeDashArray","dash")),Ut(Se.bn,{segmentIndex:0,segmentOffset:new Se.E9(15,0),segmentOrientation:Se.rU.OrientAlong,alignmentFocus:Se.z6.Right,figure:"circle",width:10,strokeWidth:0},new Se.KX("fill","color"),new Se.KX("visible","dir",pn=>pn===1)),Ut(Se.bn,{segmentIndex:-1,segmentOffset:new Se.E9(-10,6),segmentOrientation:Se.rU.OrientPlus90,alignmentFocus:Se.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Se.KX("fill","color"),new Se.KX("visible","dir",pn=>pn>=1),new Se.KX("width","thickness",pn=>7+3*pn),new Se.KX("height","thickness",pn=>7+3*pn),new Se.KX("segmentOffset","thickness",pn=>new Se.E9(-15,4+1.5*pn))),Ut(Se.bn,{segmentIndex:0,segmentOffset:new Se.E9(15,-6),segmentOrientation:Se.rU.OrientMinus90,alignmentFocus:Se.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Se.KX("fill","color"),new Se.KX("visible","dir",pn=>pn===2),new Se.KX("width","thickness",pn=>7+3*pn),new Se.KX("height","thickness",pn=>7+3*pn),new Se.KX("segmentOffset","thickness",pn=>new Se.E9(-15,4+1.5*pn))),Ut(Se.al,{alignmentFocus:new Se.z6(0,1,-4,0),editable:!0},new Se.KX("text").makeTwoWay(),new Se.KX("stroke","color"))),Je.current.linkTemplate.selectionAdornmentTemplate=Ut(Se.uz,Ut(Se.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:lo(2)},new Se.KX("pathPattern","thickness",lo)),va({alignmentFocus:new Se.z6(0,0,-6,-4)}));function lo(pn){return Ut(Se.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(pn+4).toString()+" H3"})}function qa(pn){var _n="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return pn===0?_n="M0 0 M16 16 M0 8 L16 8":pn===2&&(_n="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ut(Se.bn,{geometryString:_n,margin:2,background:"transparent",mouseEnter:(oa,xn)=>xn.background="dodgerblue",mouseLeave:(oa,xn)=>xn.background="transparent",click:fn("dir",pn),contextClick:fn("dir",pn)})}function Oo(pn){var _n=(oa,xn)=>{oa.handled=!0,oa.diagram.model.commit(Ea=>{var Wa=xn.part.adornedPart;Ea.set(Wa.data,pn?"toSpot":"fromSpot",Se.z6.stringify(Se.z6.AllSides)),(pn?Wa.toNode:Wa.fromNode).invalidateConnectedLinks()})};return Ut(Se.bn,{width:12,height:12,fill:"transparent",mouseEnter:(oa,xn)=>xn.background="dodgerblue",mouseLeave:(oa,xn)=>xn.background="transparent",click:_n,contextClick:_n})}function rn(pn,_n){var oa=0,xn=Se.z6.RightSide;pn.equals(Se.z6.Top)?(oa=270,xn=Se.z6.TopSide):pn.equals(Se.z6.Left)?(oa=180,xn=Se.z6.LeftSide):pn.equals(Se.z6.Bottom)&&(oa=90,xn=Se.z6.BottomSide),_n||(oa-=180);var Ea=(Wa,yo)=>{Wa.handled=!0,Wa.diagram.model.commit(Xa=>{var oo=yo.part.adornedPart;Xa.set(oo.data,_n?"toSpot":"fromSpot",Se.z6.stringify(xn)),(_n?oo.toNode:oo.fromNode).invalidateConnectedLinks()})};return Ut(Se.bn,{alignment:pn,alignmentFocus:pn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:oa,background:"transparent",mouseEnter:(Wa,yo)=>yo.background="dodgerblue",mouseLeave:(Wa,yo)=>yo.background="transparent",click:Ea,contextClick:Ea})}Je.current.linkTemplate.contextMenu=Ut("ContextMenu",$n(),_a(),Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",qa(0),qa(1),qa(2))),Ut("ContextMenuButton",Ut(Se.s_,"Horizontal",Ut(Se.s_,"Spot",Oo(!1),rn(Se.z6.Top,!1),rn(Se.z6.Left,!1),rn(Se.z6.Right,!1),rn(Se.z6.Bottom,!1)),Ut(Se.s_,"Spot",{margin:new Se.Zt(0,0,0,2)},Oo(!0),rn(Se.z6.Top,!0),rn(Se.z6.Left,!0),rn(Se.z6.Right,!0),rn(Se.z6.Bottom,!0)))));const Mo=`{ "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 Eo=["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 vo(pn){return console.log("shapeName:",pn),Eo.indexOf(pn)>=0}var ca=new Se.YI(Gt.current,{maxSelectionCount:1,linkTemplate:Ut(Se.rU,{locationSpot:Se.z6.Center,selectionAdornmentTemplate:Ut(Se.uz,"Link",{locationSpot:Se.z6.Center},Ut(Se.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ut(Se.bn,{toArrow:"Standard",stroke:null}))},{routing:Se.rU.AvoidsNodes,curve:Se.rU.JumpOver,corner:5,toShortLength:4},new Se.KX("points"),Ut(Se.bn,{isPanelMain:!0,strokeWidth:2}),Ut(Se.bn,{toArrow:"Standard",stroke:null})),model:new Se.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Se.bn.getFigureGenerators().toArray().map(pn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:pn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Je.current.addDiagramListener("TextEdited",function(pn){var _n;const oa=pn.subject.part;var xn=(_n=document.activeElement)==null?void 0:_n.value;typeof xn=="string"&&xn.trim()===""&&Je.current.model.commit(function(Ea){Ea.set(oa.data,"text","\u672A\u547D\u540D"),Je.current.commandHandler.stopCommand()},"increment")}),ca.nodeTemplate=Ut(Se.NB,"Auto",{locationSpot:Se.z6.Center},new Se.KX("location","location",Se.E9.parse).makeTwoWay(Se.E9.stringify),Ut(Se.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 Se.KX("stroke").makeTwoWay(),new Se.KX("fill").makeTwoWay(),new Se.KX("figure")),Ut(Se.al,{margin:new Se.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Se.$u(16,16),maxSize:new Se.$u(10,NaN),textAlign:"center",editable:!0},new Se.KX("key").makeTwoWay())),setTimeout(()=>{Je.current.grid=Ut(Se.s_,"Grid",Ut(Se.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(Se.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Je.current.grid.visible=!0,Je.current.grid.gridCellStroke="darkgray",Je.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Je.current,Je.current}const da=()=>ce(this,null,function*(){var Ut=Je.current.makeImage();const kn=yield(0,Ke.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Ut.src}});Ye({src:kn.url})});return(0,z.useEffect)(()=>(setTimeout(()=>{cn()},500),Xt(an+1),()=>{Je.current=null}),[]),ve.createElement("div",{ref:dn,className:It.current?`${ke.maxH60} body-overflow-initial`:"body-overflow-initial"},ve.createElement($e.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!an,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ve.createElement(mt.Z,null,ve.createElement(ft.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ve.createElement(ft.Z,{onClick:()=>{var Ut,kn,aa=Je.current.selection.first();if(It.current=!It.current,document.activeElement&&aa){let va=(kn=(Ut=document.activeElement)==null?void 0:Ut.value)==null?void 0:kn.trim();typeof va=="string"&&Je.current.model.commit(function(fn){fn.set(aa.data,"text",va||"\u672A\u547D\u540D"),Je.current.commandHandler.stopCommand()},"increment")}Xt(an+1)}},ve.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ve},ve.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ke.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:ke.myPaletteDiv,ref:Gt})),ve.createElement("div",{style:{flex:1,position:"relative"}},ve.createElement("div",{ref:Et,style:{height:"80vh"}}))),ve.createElement("div",{className:"tr"},ve.createElement(ge.ZP,{size:"large",onClick:da,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var ut=He,he=ne(5112),fe=ne(5871);const qe=he.ZP.Group,ze={margin:"0 8px"};var Ce=({callback:Ve,onCancel:Ye})=>{function Je(Et){Ve(Et)}return z.createElement(pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Je},z.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},z.createElement("span",{style:ze},"\u5355\u5143\u683C\u6570\uFF1A"),z.createElement("span",{style:ze},"\u884C\u6570"),z.createElement(pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},z.createElement(fe.Z,null)),z.createElement("span",{style:ze},"\u5217\u6570"),z.createElement(pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},z.createElement(fe.Z,null))),z.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},z.createElement("span",{style:ze},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),z.createElement(pe.default.Item,{name:"align"},z.createElement(qe,null,z.createElement(he.ZP,{value:"default"},z.createElement("i",{className:"fa fa-align-justify"})),z.createElement(he.ZP,{value:"left"},z.createElement("i",{className:"fa fa-align-left"})),z.createElement(he.ZP,{value:"center"},z.createElement("i",{className:"fa fa-align-center"})),z.createElement(he.ZP,{value:"right"},z.createElement("i",{className:"fa fa-align-right"}))))),z.createElement("div",{className:"flex-container flex-end"},z.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),z.createElement(ge.ZP,{type:"ghost",onClick:Ye},"\u53D6\u6D88")))},at=ne(78673),jt=ne(80727),ct=ne.n(jt),Dt=(0,z.forwardRef)(({use3d:Ve,width:Ye,height:Je,callback:Et,showSaveButton:Gt},It)=>{const dn=(0,z.useRef)(),an=(0,z.useRef)(),[Xt,cn]=(0,z.useState)(!1),da=(0,z.useRef)({id:dn,appName:"graphing",width:Ye||1e3,height:Je||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,z.useEffect)(()=>{an.current=new(ct())(da.current,!0),window.onload=function(){an.current.inject("applet_container")}},[]);const Ut=()=>{var kn=window.ggbApplet.getPNGBase64(1,!0,72);return Et&&Et(kn),kn};return(0,z.useEffect)(()=>{da.current.appName=Xt?"3D":"graphing",an.current.inject("applet_container")},[Xt]),(0,z.useEffect)(()=>{cn(Ve)},[Ve]),(0,z.useImperativeHandle)(It,()=>({getImgData:Ut})),z.createElement(z.Fragment,null,z.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:dn}),z.createElement(mt.Z,{align:"middle"},z.createElement(ft.Z,{flex:1},z.createElement(at.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Xt,onChange:kn=>cn(kn)})),z.createElement(ft.Z,null,z.createElement(ge.ZP,{size:"large",onClick:Ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),_t=ne(41588),ht=ne(1012),on=ne(8591);const tn="link",kt="upload-image",Zt="add-flowchart",$t="draw-image",sn="add-flowchart",un="code-block",Cn="add-table",On="------------",Rt={default:On,left:`:${On}`,center:`:${On}:`,right:`${On}:`};var Nt=ne(58856),Ht=(Ve,Ye,Je)=>new Promise((Et,Gt)=>{var It=Xt=>{try{an(Je.next(Xt))}catch(cn){Gt(cn)}},dn=Xt=>{try{an(Je.throw(Xt))}catch(cn){Gt(cn)}},an=Xt=>Xt.done?Et(Xt.value):Promise.resolve(Xt.value).then(It,dn);an((Je=Je.apply(Ve,Ye)).next())});function ln(){}let nn=0;const jn=1e4,na="\u2581",hn="@\u2581\u2581@",Qt="@\u2581@",Wn=`
**\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`,Me=["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 rt(Ve){return/^\d+$/.test(Ve)?`${Ve}px`:Ve}const Bt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Jt={[Bt+"-B"]:"bold",[Bt+"-I"]:"italic"},Wt={[tn]:"\u6DFB\u52A0\u94FE\u63A5",[un]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[kt]:"\u6DFB\u52A0\u56FE\u7247",[$t]:"\u6DFB\u52A0\u753B\u56FE",[Zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Cn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Kt=({defaultValue:Ve="",onChange:Ye,width:Je="100%",height:Et=400,miniToolbar:Gt=!1,isFocus:It=!1,watch:dn,insertTemp:an,mode:Xt="markdown",id:cn="markdown-editor-id",showResizeBar:da=!1,noStorage:Ut=!1,showNullButton:kn=!1,showNullProgramButton:aa=!1,hidetoolBar:va=!1,fullScreen:fn=!1,onBlur:Un,onCMBeforeChange:ka,onFullScreen:$n,className:Na="",disablePaste:Ia=!1,disabled:_a=!1,disabledFill:Ma=!1,placeholder:lo="",values:qa="",extraUse:Oo})=>{const[rn,Mo]=(0,z.useState)(null),[Eo,vo]=(0,z.useState)(Ve),[ca,pn]=(0,z.useState)(dn),[_n,oa]=(0,z.useState)(fn),[xn,Ea]=(0,z.useState)(""),[Wa,yo]=(0,z.useState)(0),[Xa,oo]=(0,z.useState)(Et),[Jo,_o]=(0,z.useState)(!1),Br=(0,z.useRef)((0,ht.Z)()),Co=(0,z.useRef)(!1),Nn=(0,z.useRef)(),[fo,ho]=(0,z.useState)(0),[Ro,Go]=(0,z.useState)(0),Uo=(0,z.useRef)(),$o=(0,z.useRef)(),Xo=(0,z.useRef)(),Ho=(0,z.useRef)(),vr=()=>Ht(void 0,null,function*(){var Qn;const Pn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Br.current}});(Qn=Pn==null?void 0:Pn.attachments)!=null&&Qn.length&&(console.log("cm:",rn,Uo),Pn.attachments.map(Sn=>{Sn.content_type.indexOf("image")>-1?rn.replaceSelection(`![,](/api/attachments/${Sn.id}?type=${Sn.content_type})`):Sn.content_type.indexOf("video")>-1?rn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Sn.content_type.indexOf("pdf")>-1?rn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Sn.id}?type=${Sn.content_type}&disposition=inline" target="_blank">${Sn.name}</a>`):rn.replaceSelection(`[${Sn.name}](${ENV.API_SERVER}/api/attachments/${Sn.id}?type=${Sn.content_type})`)}))});(0,z.useEffect)(()=>{const Qn=window.scrollY||window.pageYOffset;vo(qa),rn==null||rn.setValue(qa),window.scrollTo(0,Qn)},[qa]),(0,z.useEffect)(()=>{$n==null||$n(_n)},[_n]),(0,z.useEffect)(()=>{if(Uo.current){let Qn=function(Sn,Ln){var ba;if(Ia){Ln.preventDefault();return}const Ga=Ln.clipboardData;if(Ga){const so=Ga.types.toString(),uo=Ga.items;if(so==="Files"||Ga.types.indexOf("Files")>-1){if(Ln.preventDefault(),Xt=="stex")return;try{let Bo=uo[1];((ba=uo[0])==null?void 0:ba.kind)==="file"&&(Bo=uo[0]);const Fo=Bo.getAsFile(),qo=Fo.name.split(".").pop();(0,Te.I)(Fo,To=>{var Ar,Tr,kr;To.id?((Ar=Fo==null?void 0:Fo.type)==null?void 0:Ar.indexOf("image"))>-1?Pn.replaceSelection(`<img width="100%" src="/api/attachments/${To.id}?type=${To.content_type})" alt="" />`):((Tr=Fo==null?void 0:Fo.type)==null?void 0:Tr.indexOf("video"))>-1?Pn.replaceSelection(`<video width="100%" controls src="/api/attachments/${To.id}"></video>`):((kr=Fo==null?void 0:Fo.type)==null?void 0:kr.indexOf("pdf"))>-1?Pn.replaceSelection(`<a href="/api/attachments/${To.id}?type=${Fo.type}&disposition=inline" target="_blank">${Fo.name}</a>`):Me.includes(qo)?Pn.replaceSelection(`<a href="/api/attachments/${To.id}?type=office&disposition=inline" target="_blank">${Fo.name}</a>`):Pn.replaceSelection(`[${Fo.name}](/api/attachments/${To.id}?type=${To.content_type})`):(To==null?void 0:To.status)===401&&(on.ZP.warning((To==null?void 0:To.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Bo){on.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Pn=Pe().fromTextArea(Uo.current,{mode:Xt,lineNumbers:!Gt,lineWrapping:!0,value:Ve,autoCloseTags:!aa,autoCloseBrackets:!0});return Pn.on("keyup",function(Sn,Ln){Ln.keyCode===8&&(Sn.getValue()==""?Pn.setOption("placeholder",lo):Pn.setOption("placeholder",null))}),Pn.on("keydown",function(Sn,Ln){if(Ln.keyCode===8){var ba=Pr(Sn);ba&&Ln.preventDefault()}}),It&&Pn.focus(),Pn.on("paste",Qn),Pn.on("dragleave",function(Sn,Ln){$o.current.classList.remove("mouse-hover-md")}),_a&&Pn.on("beforeChange",function(Sn,Ln){(Ln.origin==="paste"||Ln.origin==="+input")&&Ln.cancel()}),Mo(Pn),()=>{Pn.off("paste",Qn)}}},[]);const lr=(0,z.useCallback)(()=>{if($o.current)try{}catch(Qn){console.log(Qn,"---- to set md editor body height")}},[Xa,$o,_n]);(0,z.useEffect)(()=>{function Qn(){let Pn=new Re.Z(Sn=>{for(let Ln of Sn)(Ln.target.offsetHeight>0||Ln.target.offsetWidth>0)&&(lr(),rn.setSize("100%","100%"),rn.refresh())});return Pn.observe(Uo.current.parentElement),Pn}if(rn){const Pn=Qn();return()=>{var Sn,Ln;(Sn=Uo.current)!=null&&Sn.parentElement&&Pn.unobserve((Ln=Uo.current)==null?void 0:Ln.parentElement)}}},[rn,lr]),(0,z.useEffect)(()=>{if(rn){let Qn=[];for(const[Pn,Sn]of Object.entries(Jt)){let Ln={[Pn]:()=>{Fr(Sn)}};Qn.push(Ln),rn.addKeyMap(Ln)}return Nn.current=setInterval(()=>{Co.current&&vr()},4e3),()=>{clearInterval(Nn.current);for(let Pn of Qn)rn.removeKeyMap(Pn)}}},[rn]),(0,z.useEffect)(()=>{fn!==_n&&oa(fn)},[fn]),(0,Nt.Z)(()=>{if(!Ut&&Wa>0){let Qn=new Date().getTime(),Pn=window.sessionStorage.getItem(cn);Qn>=Wa+jn&&(!Pn||Pn!==Eo)&&(window.sessionStorage.setItem(cn,Eo),_o(!0))}},jn),(0,z.useEffect)(()=>{pn(dn)},[rn,dn]),(0,z.useEffect)(()=>{rn&&It&&rn.focus()},[rn,It]),(0,z.useEffect)(()=>{if(ca&&rn){let Qn=function(Sn){let Ln=Sn.target;if(Ho.current){let ba=Ln.scrollTop/Ln.scrollHeight;Ho.current.scrollTop=Ho.current.scrollHeight*ba}};const Pn=rn.getScrollerElement();return Pn.addEventListener("scroll",Qn),()=>{Pn.removeEventListener("scroll",Qn)}}},[rn,ca]),(0,z.useEffect)(()=>{if(rn&&ka){let Qn=function(Pn,Sn){ka(Pn,Sn)};return rn.on("beforeChange",Qn),()=>{rn.off("beforeChange",Qn)}}},[rn,ka]),(0,z.useEffect)(()=>{if(rn&&Un){let Qn=function(){Un(rn.getValue())};return rn.on("blur",Qn),()=>{rn.off("blur",Qn)}}},[rn,Un]);function Pr(Qn,Pn){var Sn=Qn.getDoc(),Ln=Sn.getCursor(),ba=Sn.getLine(Ln.line),Ga=ba.charAt(Ln.ch-1),so=ba.lastIndexOf("@\u2581@",Ln.ch),uo=ba.lastIndexOf("@\u2581\u2581@",Ln.ch),Bo=so>uo?so:uo,Fo=so>uo?3:4;if(hn.indexOf(Ga)===-1)return null;if(console.log("change1:",Pn,Qn,ba,Ln,Bo,so,uo,Ga),Bo>=0&&Ln.ch-Bo<5){var qo=Bo+Fo;return Sn.replaceRange("",{line:Ln.line,ch:Bo},{line:Ln.line,ch:qo}),{line:Ln.line,ch:qo}}return null}(0,z.useEffect)(()=>{if(rn){let Qn=function(Pn,Sn){const Ln=Pn.getValue();vo(Ln),yo(new Date().getTime()),Pn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ye&&(aa?Ye(Ln,Xr(Ln)):Ye(Ln))};return rn.on("change",Qn),()=>{rn.off("change",Qn)}}},[rn,Ye]),(0,z.useEffect)(()=>{if(rn)if(Ve==null)rn.setValue(""),vo("");else{const Qn=window.scrollY||window.pageYOffset;Ve!==rn.getValue()&&(rn.setValue(Ve),vo(Ve),rn.setCursor(_a?1:rn.lineCount(),0),window.scrollTo(0,Qn))}},[rn,Ve]);const Fr=(0,z.useCallback)(Qn=>{const Pn=rn.getCursor(),Sn=rn.getSelection();let Ln=Sn.split(`
`);switch(Qn){case"bold":return rn.replaceSelection("**"+Sn+"**"),Sn===""&&rn.setCursor(Pn.line,Pn.ch+2),rn.focus();case"italic":return rn.replaceSelection("*"+Sn+"*"),Sn===""&&rn.setCursor(Pn.line,Pn.ch+1),rn.focus();case"code":return rn.replaceSelection("`"+Sn+"`"),Sn===""&&rn.setCursor(Pn.line,Pn.ch+1),rn.focus();case"inline-latex":return Ea("inline-latex"),rn.focus();case"latex":return rn.replaceSelection("```latex\n"+Sn+"\n```"),rn.setCursor(Pn.line+1,Sn.length+1),rn.focus();case"line-break":return rn.replaceSelection(`<br/>
`),rn.focus();case"list-ul":return Sn===""?rn.replaceSelection("- "+Sn):rn.replaceSelection(Ln.map(ba=>ba===""?"":`- ${ba}`).join(`
`)),rn.focus();case"list-ol":return Sn===""?rn.replaceSelection("1. "+Sn):rn.replaceSelection(Ln.map((ba,Ga)=>ba===""?"":`${Ga+1}. ${ba}`).join(`
`)),rn.focus();case"add-null-ch":return Sn===""&&rn.setCursor(Pn.line,Pn.ch),rn.replaceSelection(na),rn.focus();case"add-signal":return Sn===""&&rn.setCursor(Pn.line,Pn.ch),rn.replaceSelection(Qt),rn.focus();case"add-multiple":return Sn===""&&rn.setCursor(Pn.line,Pn.ch),rn.replaceSelection(hn),rn.focus();case"inster-template-1":return Sn===""&&rn.setCursor(Pn.line,Pn.ch),rn.replaceSelection(Wn),rn.focus();case"eraser":return rn.setValue(""),rn.focus();case"trigger-watch":return pn(!ca),rn.focus();case"trigger-full-screen":return oa(!_n),rn.focus();case tn:Ea(tn);return;case un:Ea(un);return;case kt:Ea(kt);return;case $t:Ea($t);return;case"maths-latex":Ea("maths-latex");return;case Zt:Ea(Zt);return;case Cn:Ea(Cn);return;default:throw new Error}},[rn,ca,_n]),So=(0,z.useCallback)((Qn,Pn)=>{var Sn,Ln,ba,Ga,so,uo;switch(Ea(""),xn){case tn:const{title:Ar,link:Tr}=Qn;return rn.replaceSelection(`[${Ar}](${Tr})`),rn.focus();case un:const{language:kr,content:Lr}=Qn;return rn.replaceSelection(["```"+kr,Lr,"```"].join(`
`)),rn.focus();case"maths-latex":for(var Bo=atob(Qn),Fo=new Uint8Array(Bo.length),qo=0;qo<Bo.length;qo++)Fo[qo]=Bo.charCodeAt(qo);var To=new Blob([Fo],{type:"image/png"});(0,Te.I)(To,dr=>{dr.id?rn.replaceSelection(`![,](/api/attachments/${dr.id}?type=${dr.content_type})`):(dr==null?void 0:dr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":rn.replaceSelection("`$$"+Qn+"$$`");break;case kt:case $t:case sn:const{src:Dr,alt:Qa}=Qn,ko=Pn,fi=(ba=(Ln=(Sn=ko==null?void 0:ko.name)==null?void 0:Sn.split("."))==null?void 0:Ln.pop)==null?void 0:ba.call(Ln);return((Ga=ko==null?void 0:ko.type)==null?void 0:Ga.indexOf("image"))>-1||!(ko!=null&&ko.type)?ko.align||ko.width?rn.replaceSelection(`<p style="text-align:${ko.align||"initial"}"><img width="${ko.width?ko.width+"%":"initial"}" src="${Dr}" alt="${Qa||""}" /></p>`):rn.replaceSelection(`<img width="100%" src="${Dr}" alt="${Qa||""}" />`):((so=ko==null?void 0:ko.type)==null?void 0:so.indexOf("video"))>-1?rn.replaceSelection(`<video width="100%" controls src="${Dr}"></video>`):((uo=ko==null?void 0:ko.type)==null?void 0:uo.indexOf("pdf"))>-1?rn.replaceSelection(`<a href="${Dr}?type=${ko.type}&disposition=inline" target="_blank">${ko.name}</a>`):Me.includes(fi)?rn.replaceSelection(`<a href="${Dr}?type=office&disposition=inline" target="_blank">${ko.name}</a>`):rn.replaceSelection(`[${ko.name}](${Dr})`),rn.focus();case Cn:const{row:bi,col:Kr,align:di}=Qn;let qr=`
`;for(let dr=0;dr<bi;dr++){let Wr=[],ci=[];for(let ei=0;ei<Kr;ei++)dr===1&&ci.push(Rt[di]),Wr.push(" ");dr===1&&(qr+=`| ${ci.join(" | ")} |
`),qr+=`| ${Wr.join(Kr===1?"":" | ")} |
`}return rn.replaceSelection(qr+`
`),rn.focus();default:throw new Error}},[rn,xn]),wr=(0,z.useMemo)(()=>{switch(xn){case tn:return z.createElement(xt,{callback:So,onCancel:hr});case un:return z.createElement(Mt.Z,{callback:So,onCancel:hr});case kt:return z.createElement(Te.Z,{callback:So,onCancel:hr});case Zt:return z.createElement(ut,{callback:So,onCancel:hr});case Cn:return z.createElement(Ce,{callback:So,onCancel:hr});case"maths-latex":return z.createElement(Dt,{showSaveButton:!0,callback:So});case"inline-latex":return z.createElement(_t.Z,{showSaveButton:!0,callback:So});default:return null}},[xn]);function hr(){Ea("")}(0,z.useEffect)(()=>{if(Xo.current){let Qn=function(so){ba=!0,Ga=so.pageY},Pn=function(){ba=!1},Sn=function(so){if(ba){let uo=so.pageY-Ga;uo<0&&(uo=0),uo>300&&(uo=300);let Bo=Et+uo+"px";oo(Bo)}},Ln=Xo.current,ba=!1,Ga=0;return Ln.addEventListener("mousedown",Qn),document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",Pn),()=>{Ln.removeEventListener("mousedown",Qn),document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",Pn)}}},[rn,Xo]),(0,z.useEffect)(()=>{oo(Et)},[Et]);const Gr=rt(Je),Hr=rt(Xa),Rr={width:Gr,height:Hr},Jr=(0,z.useMemo)(()=>{if(Wa){let Qn=new Date(Wa),Pn=Qn.getHours(),Sn=Qn.getMinutes(),Ln=Qn.getSeconds();return Pn=Pn<10?"0"+Pn:Pn,Sn=Sn<10?"0"+Sn:Sn,Ln=Ln<10?"0"+Ln:Ln,`${Pn}:${Sn}:${Ln}`}return 0},[Wa]),Xr=Qn=>{const Pn=[];if(aa){let Sn=-1;Qn=Qn.replace(/(@▁▁@|@▁@)/g,function(Ln,ba,Ga){Pn.push({multiLine:Ln!==Qt})})}return Pn};function si(){window.sessionStorage.removeItem(cn),_o(!1),yo(0)}function ui(){_o(!1),yo(0),rn.setValue(window.sessionStorage.getItem(cn))}(0,z.useEffect)(()=>{Wt[xn]&&xn!==$t&&xn!==Zt&&setTimeout(()=>{const Qn=document.getElementsByClassName("markdown-popup-form")[0],Pn=window.innerWidth/2-Qn.offsetWidth/2,Sn=window.innerHeight/2-Qn.offsetHeight/2;ho(Pn),Go(Sn)},0)},[xn]);const Yr=Qn=>{Qn.preventDefault();const Pn=Qn.clientX-fo,Sn=Qn.clientY-Ro;document.body.onmousemove=Ln=>{let ba=Ln.clientX-Pn,Ga=Ln.clientY-Sn;const so=document.getElementsByClassName("markdown-popup-form")[0],uo=window.innerWidth-so.offsetWidth,Bo=window.innerHeight-so.offsetHeight;ba=Math.max(0,Math.min(ba,uo)),Ga=Math.max(0,Math.min(Ga,Bo)),$r(Ln.clientX,Ln.clientY,Pn,Sn)&&(ho(ba),Go(Ga))},document.body.onmouseup=function(){document.body.onmousemove=null}},$r=(Qn,Pn,Sn,Ln)=>{const ba=document.body.clientHeight,Ga=document.body.clientWidth;return Qn<20&&Sn>Qn||Qn>Ga-20&&Sn<Qn||Pn<20&&Ln>Pn||Pn>ba-20&&Ln<Pn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return z.createElement(z.Fragment,null,z.createElement("div",{className:"markdown-editor-wrapper",ref:$o},z.createElement("div",{className:`markdown-editor-container ${Na} ${ca?"on-preview":""} ${Gt?"mini":""} ${_n?"full-screen":""}`,style:Rr},z.createElement(me,{insertTemp:an,watch:ca,fullScreen:_n,showNullButton:kn,showNullProgramButton:aa,onActionCallback:Fr,hidetoolBar:va,extraUse:Oo}),z.createElement("div",{className:"markdown-editor-body"},z.createElement("div",{className:"codemirror-container"},z.createElement("textarea",{ref:Uo,placeholder:lo})),ca?z.createElement("div",{ref:Ho,className:"preview-container"},Xt==="stex"&&z.createElement(je,{value:Eo}),Xt!=="stex"&&z.createElement(De.Z,{disabledFill:Ma,showProgramFill:aa,value:Eo})):null))),da?z.createElement("a",{ref:Xo,className:"editor-resize"}):null,xn===$t&&z.createElement(Tt,{callback:So,onCancel:hr}),xn===Zt&&z.createElement(ut,{callback:So,onCancel:hr}),z.createElement(Be.Z,null,Wt[xn]&&xn!==$t&&xn!==Zt?z.createElement($e.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:fo,top:Ro},title:z.createElement("div",{style:{cursor:"move"},onMouseDown:Yr},Wt[xn]),open:!0,onCancel:hr,footer:null,destroyOnClose:!0,width:xn===Zt?"1200px":null,height:xn===Zt?"80vh":null,className:"markdown-popup-form"},wr):null))}},28451:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return de},I:function(){return Be}});var z=ne(78241),ie=ne(8591),Pe=ne(92832),Re=ne(81327),be=ne(5871),xe=ne(5112),re=ne(3113),Ne=ne(77903),Oe=ne(59301),we=ne(24065),De=ne(59301),je=Object.defineProperty,Ee=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(pe,Fe,ge)=>Fe in pe?je(pe,Fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):pe[Fe]=ge,x=(pe,Fe)=>{for(var ge in Fe||(Fe={}))a.call(Fe,ge)&&y(pe,ge,Fe[ge]);if(E)for(var ge of E(Fe))b.call(Fe,ge)&&y(pe,ge,Fe[ge]);return pe},ee=(pe,Fe)=>Ee(pe,oe(Fe));const{useForm:te}=z.default,ae={width:280,marginRight:10},se={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:pe,onCancel:Fe})=>{const[ge]=te();let tt=(0,Oe.useRef)();function Ie(We){tt.current.width=ge.getFieldValue("width"),tt.current.align=ge.getFieldValue("align"),pe(We,tt.current)}function Qe(We,it){if(We.status===-1){ie.ZP.error(We.message);return}ge.setFieldsValue({src:`/api/attachments/${We.id}`,type:it.type})}function _e(We){let it=We.target.files[0];tt.current=it,Be(it,Qe)}return De.createElement(z.default,ee(x({form:ge},se),{className:"upload-image-panel",onFinish:Ie,style:{width:470,overflow:"hidden"}}),De.createElement(z.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},De.createElement("div",{className:"flex-container"},De.createElement(z.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},De.createElement(Pe.default,{style:ae})),De.createElement(me,{onFileChange:_e}))),De.createElement(z.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},De.createElement(Pe.default,{style:{width:264}})),De.createElement(z.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},De.createElement(Re.Z,null,De.createElement(z.default.Item,{name:"width",style:{margin:0}},De.createElement(be.Z,{style:{width:264}})),De.createElement("span",{className:"ml8"},"%"))),De.createElement(z.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},De.createElement(xe.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"}]})),De.createElement("aside",null,De.createElement(z.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},De.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),De.createElement(re.ZP,{type:"default",onClick:Fe},"\u53D6\u6D88"))))};function me({onFileChange:pe}){return De.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",De.createElement("input",{type:"file",onChange:pe}))}function Be(pe,Fe){if(!pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,we.bg)())throw ie.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ge=new FormData;ge.append("editormd-image-file",pe),ge.append("file_param_name","editormd-image-file"),ge.append("byxhr","true");var tt=new window.XMLHttpRequest;tt.withCredentials=!0,tt.addEventListener("load",function(Ie){Fe(JSON.parse(Ie.target.responseText),pe)},!1),tt.addEventListener("error",function(Ie){console.error(Ie)},!1),tt.open("POST",`${Ne.KI}/api/attachments.json`),tt.send(ge)}},79346:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Pe}});var z=ne(59301),ie=ne(4676);class Pe extends z.Component{constructor(be){super(be);const xe=window.document;this.node=xe.createElement("div"),xe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,ie.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(pt,vt,ne){"use strict";ne.d(vt,{i:function(){return ae},Z:function(){return de}});var z={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___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ru3Zc+C62+QKnYsN7s14F1YyWSbRXkxS96d0XOEzd06QeKtBzZT7jRhrs3d6NUDELaXAqCrgjiVuJuljyLJyzZkkZxtE3YkdSyKAlHFkx1TMVtu1OW+QbAPzz/n5AWJ8WAzLF9A65+dzs3A2uioOjkFIeZ63u1PzFNRdFfmYPqvl5fc0d1c4k8SwiavhxzHSG4J5+cQZuyvLyzwSSBt8BZJgESwsN65snmj3gzR3xh6YujGOSVMPo8sxK8dcHWudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",te=ne(59301);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Oe,swimg:we},{name:"101\u8BA1\u5212",ptimg:De,swimg:je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ee,swimg:oe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:ee}];var de=({className:me,dataSource:Be=[],col:pe=4,right:Fe,bottom:ge=23,precision:tt=0,wrapWidth:Ie=1200,trackEventItems:Qe,loading:_e,onRemove:We=()=>{},isCurrent:it=!0,showAlias:Ct=!1})=>{const nt=Math.floor((Ie-(pe-1)*Fe)/pe),Lt=[{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(Xe=>(window.ENV==="build"&&(Xe.ptimg=`/react/build${Xe.ptimg}`,Xe.swimg=`/react/build${Xe.swimg}`),Xe));return te.createElement(ie.Z,{spinning:_e},te.createElement("div",{className:be()(z.list,me)},!!(Be!=null&&Be.length)&&(Be==null?void 0:Be.map((Xe,xt)=>{var Mt;const{name:Te,id:$e,identifier:mt,featured:zt,school_name:st,image_url:Tt,excellent:Se,is_plan:Ft}=Xe;return te.createElement("div",{key:$e,className:z.wrap,style:{width:nt,marginRight:(1+xt)%pe===0?0:Fe+tt,marginBottom:ge}},te.createElement("a",{className:z.li,onClick:Yt=>{Yt.preventDefault(),Yt.stopPropagation(),Qe&&(0,xe.L9)([Qe]),(0,xe.xg)(`/paths/${mt}`)}},te.createElement("div",{className:z.img},te.createElement("img",{className:z.cover,src:`${Tt}`}),it&&(0,Ne.bg)()&&(Xe==null?void 0:Xe.studying)&&te.createElement("div",{className:`${z.movebq} user-path-items`,onClick:Yt=>{Yt.stopPropagation(),We(Xe)}},te.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),te.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Mt=Xe==null?void 0:Xe.subject_tags)==null?void 0:Mt.map((Yt,yt)=>{var ft,Ke;if(yt===0){const ve=(ft=Lt.find(ce=>ce.name==Yt))==null?void 0:ft.swimg;return te.createElement("img",{className:z.sign,src:ve,style:{left:"-4px"}})}const ke=(Ke=Lt.find(ve=>ve.name==Yt))==null?void 0:Ke.ptimg;return te.createElement("img",{className:z.sign,src:ke,style:{left:`${48+52*(yt-1)+2*yt}px`}})}),te.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Xe==null?void 0:Xe.excellent)&&te.createElement("div",{className:z.bq},"\u5F00\u653E\u8BFE\u7A0B"))),te.createElement("div",{className:z.name},te.createElement(Pe.Z,{title:Ct&&(Xe!=null&&Xe.excellent_alias_name)?te.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Te}`,te.createElement("br",null),te.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Xe==null?void 0:Xe.excellent_alias_name}`)):Te},te.createElement("span",{className:z.e},Ct&&(Xe==null?void 0:Xe.excellent_alias_name)||Te))),te.createElement("div",{className:z.tags},te.createElement("div",null,te.createElement(Pe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),te.createElement("span",null,Xe.stages_count))),te.createElement(Pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),te.createElement("span",null,Xe.members_count)))))))})),!Be.length&&te.createElement(re.Z,null)))}},29458:function(pt,vt,ne){"use strict";ne.d(vt,{jL:function(){return be},w9:function(){return Xe},QD:function(){return _t},cQ:function(){return We.Z},op:function(){return Ce},O5:function(){return Wn},_b:function(){return $t},t7:function(){return y},Gi:function(){return zt},YG:function(){return $e},qp:function(){return De},vr:function(){return tn},qE:function(){return ct},Je:function(){return te},wb:function(){return _e},cq:function(){return yt},tp:function(){return oe}});var z=ne(59301),ie={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Pe="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+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA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YyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",be=({dataSource:Me=[],img:rt,imgWidth:Pt=346,title:Bt,sunTitle:Jt,bannerExtraContent:Wt})=>z.createElement("div",{className:ie.banner},z.createElement("div",{className:ie.content},z.createElement("aside",null,z.createElement("p",null,z.createElement("b",null,Bt),z.createElement("span",null,Jt)),Me.length>0&&z.createElement("div",{className:ie.btns},Me.map((Kt,Ve)=>z.createElement("div",{key:Ve,onClick:Kt.click},Kt.name,Kt.sign?z.createElement("img",{src:Pe,width:39}):null))),Wt),rt&&z.createElement("img",{style:{marginTop:33,marginRight:38},src:rt,width:Pt}))),xe={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=ne(92310),Ne=ne.n(re),Oe=ne(89392),De=({dataSource:Me=[],value:rt,onChange:Pt,onTitleChange:Bt,className:Jt,title:Wt,titleWidth:Kt=41,style:Ve={},fontColor:Ye="#6A7283",showCount:Je})=>{const[Et,Gt]=(0,z.useState)(0),[It,dn]=(0,z.useState)(!1),an=(0,z.useRef)(null),Xt=(0,z.useRef)(null);return(0,z.useEffect)(()=>{var cn;Me.length!==0&&(((cn=an==null?void 0:an.current)==null?void 0:cn.clientHeight)>97?Gt(1):Gt(0)),Me.length===0&&Gt(0),dn(!1)},[Me]),z.createElement("div",{className:Ne()(xe.row,Jt),style:Ve},z.createElement("div",{onClick:(0,Oe.throttle)(()=>Bt==null?void 0:Bt(),2e3),style:{width:Kt,marginTop:It?12:4},className:`${xe.title} ${Bt?"current":""}`},Wt),z.createElement("div",{className:It?`${xe.tagsWrap} ${xe.tagsBorderWrap}`:xe.tagsWrap},z.createElement("div",{className:xe.bar,ref:Xt,style:Et>0?{height:Et===1?97:"auto",overflow:Et===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},z.createElement("div",{className:xe.tag,ref:an},Me==null?void 0:Me.map(cn=>z.createElement("span",{onClick:()=>Pt(cn.id),key:cn.id,style:{color:Ye},className:rt===cn.id?xe.active:""},z.createElement("span",{title:cn.name,className:xe.name},cn.name),!!Je&&z.createElement("span",{className:xe.num},cn.count))))),!!Et&&z.createElement(z.Fragment,null,Et===1?z.createElement("div",{onClick:()=>{var cn;Gt(2),((cn=an==null?void 0:an.current)==null?void 0:cn.clientHeight)>245?dn(!0):dn(!1)},className:xe.action},"\u5C55\u5F00",z.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):z.createElement("div",{onClick:()=>{Xt.current.scrollTop=0,Gt(1),dn(!1)},className:xe.action},"\u6536\u8D77",z.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},je={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:Me=[],value:rt,onChange:Pt,className:Bt,style:Jt={}})=>z.createElement("div",{style:Jt,className:Ne()(je.tabs,Bt)},Me.map(Wt=>z.createElement("span",{onClick:()=>Pt(Wt.id),className:rt===Wt.id?je.active:"",key:Wt.id},Wt.name))),E={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=ne(92832),y=({dataSource:Me=[],value:rt="",onChange:Pt,onInputChange:Bt=()=>{},className:Jt,style:Wt={},placeholder:Kt,allowClear:Ve=!1})=>{var Ye;const[Je,Et]=(0,z.useState)(""),[Gt,It]=(0,z.useState)("");(0,z.useEffect)(()=>{var Xt;let cn=rt;(Xt=JSON.stringify(rt))!=null&&Xt.includes("{")&&(Et(rt.id),cn=rt.value||"");try{It(decodeURIComponent(cn||""))}catch(da){It(decodeURIComponent(cn||""))}},[rt]);const dn=()=>{Pt(encodeURIComponent(Gt),Je||null)},an=Xt=>{Xt!==Je&&(Et(Xt),Pt(encodeURIComponent(Gt),Xt))};return z.createElement("div",{className:Ne()(E.input,Jt),style:Wt},!!Me.length&&z.createElement("div",{className:E.dropdown},z.createElement("div",{className:E.text},(Ye=Me.find(Xt=>Xt.id===Je))==null?void 0:Ye.name,z.createElement("i",{className:"iconfont icon-zhankai4"}),z.createElement("b",{className:E.b1}),z.createElement("b",{className:E.b2})),z.createElement("div",{className:E.menu},Me.map((Xt,cn)=>z.createElement("div",{key:cn,onClick:()=>an(Xt.id)},Xt.name)))),z.createElement(a.default,{onPressEnter:dn,value:Gt,onChange:Xt=>{It(Xt.target.value),Bt(encodeURIComponent(Xt.target.value),Je||null)},bordered:!1,placeholder:Kt}),z.createElement("i",{onClick:dn,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"},te=({value:Me,onChange:rt,className:Pt,total:Bt,pageSize:Jt,style:Wt={}})=>{const Kt=Me<2,Ve=Me>=Math.ceil(Bt/Jt);return Bt<=Jt?z.createElement(z.Fragment,null):z.createElement("div",{className:Ne()(x.quickPager,Pt),style:Wt},z.createElement("div",{onClick:()=>{Kt||rt(Me-1,"prev")},className:Kt?x.disabled:""},"\u4E0A\u4E00\u9875"),z.createElement("div",{onClick:()=>{Ve||rt(Me+1,"next")},className:Ve?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"},se=ne(71418),de=ne(6848),me=ne(13570),Be=ne(3294),pe=ne(955),Fe=ne(96908),ge=ne(57177),tt=ne(81378),Ie=ne(8797),_e=({className:Me,dataSource:rt=[],col:Pt=4,right:Bt,bottom:Jt=23,precision:Wt=0,wrapWidth:Kt=1200,trackEventItems:Ve,loading:Ye})=>{const Je=Math.floor((Kt-(Pt-1)*Bt)/Pt);return z.createElement(se.Z,{spinning:Ye},z.createElement("div",{className:Ne()(ae.list,Me)},!!rt.length&&rt.map((Et,Gt)=>{const{name:It,id:dn,identifier:an,power:Xt,cover_image_id:cn,pic:da}=Et;return z.createElement("div",{className:ae.wrap,key:dn,style:{width:Je,marginRight:(1+Gt)%Pt===0?0:Bt+Wt,marginBottom:Jt}},z.createElement("a",{target:"_blank",href:`/shixuns/${an}/challenges`,className:ae.li,onClick:Ut=>{Ut.preventDefault(),Ve&&(0,pe.L9)([Ve]),Xt&&(0,pe.xg)(`/shixuns/${an}/challenges`)}},z.createElement("div",{className:ae.img},z.createElement("img",{className:ae.cover,src:`${da}`}),Et.is_jupyter&&z.createElement("img",{className:ae.sign,src:Fe}),Et.is_jupyter_lab&&z.createElement("img",{className:ae.sign,src:ge}),Et.is_unity_3d&&z.createElement("img",{className:ae.sign,src:tt})),z.createElement("div",{className:ae.name},z.createElement(de.Z,{title:It||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},z.createElement("span",{className:ae.e},It||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),z.createElement("div",{className:ae.tags},z.createElement(de.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},z.createElement("span",null,z.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),z.createElement("span",null,Et.challenges_count))),!!Et.myshixuns_count&&z.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},z.createElement("span",null,z.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),z.createElement("span",null,Et.myshixuns_count))),z.createElement(de.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},z.createElement("span",null,z.createElement("span",null,Et.level))),z.createElement("div",{className:ae.rate},z.createElement(me.Z,{allowHalf:!0,disabled:!0,defaultValue:Et.score_info}),z.createElement("span",null,"\xA0",Et.score_info?`${Et.score_info}\u5206`:"5\u5206")))),!Xt&&z.createElement("div",{className:ae.lockWrap},z.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),z.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!rt.length&&z.createElement(Ie.Z,null)))},We=ne(33847),it={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLR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/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",nt=ne(59301),Xe=({className:Me,dataSource:rt=[],col:Pt=4,right:Bt,bottom:Jt=23,precision:Wt=0,wrapWidth:Kt=1200,trackEventItems:Ve,loading:Ye})=>{const Je=Math.floor((Kt-(Pt-1)*Bt)/Pt);return nt.createElement(se.Z,{spinning:Ye},nt.createElement("div",{className:Ne()(it.list,Me)},!!rt.length&&rt.map((Et,Gt)=>{const{subject_identifier:It,id:dn,identifier:an,power:Xt}=Et,cn=Et.is_public!=0&&Et.is_public;return nt.createElement("div",{className:it.wrap,key:dn,style:{width:Je,marginRight:(1+Gt)%Pt===0?0:Bt+Wt,marginBottom:Jt}},nt.createElement("a",{className:it.li,onClick:da=>{da.preventDefault(),Ve&&(0,pe.L9)([Ve]),(0,pe.xg)(Et.first_category_url)}},nt.createElement("div",{className:it.top},nt.createElement(de.Z,{title:Et.name},nt.createElement("div",{className:it.name},Et.name)),nt.createElement("img",{className:it.img,src:Be.Z.IMG_SERVER+"/images/"+Et.avatar_url}),nt.createElement("div",{className:it.text,title:Et.creator},Et.creator),It&&nt.createElement("div",{className:it.btns},nt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),nt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),cn&&nt.createElement("div",{className:it.sign},"\u516C\u5F00")),nt.createElement("div",{className:it.bottom},Et.visits>0&&nt.createElement(de.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-liulanyan"}),nt.createElement("span",null,Et.visits))),Et.course_members_count>0&&nt.createElement(de.Z,{title:"\u6210\u5458",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-chengyuan"}),Et.course_members_count)),Et.tasks_count>0&&nt.createElement(de.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-zuoye"}),Et.tasks_count)),Et.is_end?nt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):nt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Et.is_accessible&&nt.createElement("div",{className:it.lockWrap},nt.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),nt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!rt.length&&nt.createElement(Ie.Z,null)))},xt={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"},Mt=ne(89070),$e=({dataSource:Me=[],value:rt,onChange:Pt,className:Bt,style:Jt={},tabBarExtraContent:Wt})=>z.createElement("div",{className:Ne()(xt.tabs,Bt),style:Jt},z.createElement("div",{className:xt.tabsWrap},Me.map((Kt,Ve)=>z.createElement("aside",{className:xt.tab,onClick:()=>{Pt(Kt.id),Kt.link&&Mt.history.push(Kt.link)},key:Ve},z.createElement("div",{className:rt===Kt.id?xt.active:""},Kt.name),(Kt==null?void 0:Kt.resetCount)==null&&(Kt==null?void 0:Kt.total)!==void 0&&z.createElement("span",null,"\uFF08",Kt==null?void 0:Kt.total,"\uFF09"),(Kt==null?void 0:Kt.resetCount)!==void 0&&(Kt==null?void 0:Kt.total)!==void 0&&z.createElement(de.Z,{title:(Kt==null?void 0:Kt.tip)!=null?Kt==null?void 0:Kt.tip:""},z.createElement("span",{style:{color:"#9096A3"}},"\uFF08",z.createElement("span",{style:{color:"#000"}},Kt==null?void 0:Kt.resetCount),"/",z.createElement("span",null,Kt==null?void 0:Kt.total),"\uFF09"))))),z.createElement("div",{className:xt.tabBar},Wt)),zt=({className:Me,style:rt={},children:Pt})=>z.createElement("div",{className:Ne()(Me),style:rt},Pt),st={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"},Tt=ne(38854),Se=ne(20834);const Ft=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var yt=({sortValue:Me,dropValue:rt,className:Pt,onSort:Bt,onDrop:Jt,dataSource:Wt=Ft})=>{var Kt;return z.createElement("div",{className:Ne()(st.orderWrap,Pt)},z.createElement(Tt.Z,{dropdownRender:()=>z.createElement(Se.default,null,Wt.map((Ve,Ye)=>z.createElement(Se.default.Item,{key:Ye,onClick:()=>Jt(Ve.id)},Ve.name)))},z.createElement("span",{className:st.orderTextWrap},(Kt=Wt.find(Ve=>rt===Ve.id))==null?void 0:Kt.name)),z.createElement("span",{className:st.orderIconWrap},z.createElement("span",{className:st.orderAsc},z.createElement("i",{className:Me==="asc"?`iconfont icon-sanjiaoxing-up font12 ${st.cursorPointer} ${st.active}`:`iconfont icon-sanjiaoxing-up font12 ${st.cursorPointer}`,onClick:()=>Bt(Me==="asc"?"desc":"asc")})),z.createElement("span",{className:st.orderDesc},z.createElement("i",{className:Me==="desc"?`iconfont icon-sanjiaoxing-down font12 ${st.cursorPointer} ${st.active}`:`iconfont icon-sanjiaoxing-down font12 ${st.cursorPointer}`,onClick:()=>Bt(Me==="asc"?"desc":"asc")}))))},ft={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"},Ke=ne(3113),ke=Object.defineProperty,ve=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,ut=(Me,rt,Pt)=>rt in Me?ke(Me,rt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):Me[rt]=Pt,he=(Me,rt)=>{for(var Pt in rt||(rt={}))ce.call(rt,Pt)&&ut(Me,Pt,rt[Pt]);if(ve)for(var Pt of ve(rt))He.call(rt,Pt)&&ut(Me,Pt,rt[Pt]);return Me},fe=(Me,rt)=>{var Pt={};for(var Bt in Me)ce.call(Me,Bt)&&rt.indexOf(Bt)<0&&(Pt[Bt]=Me[Bt]);if(Me!=null&&ve)for(var Bt of ve(Me))rt.indexOf(Bt)<0&&He.call(Me,Bt)&&(Pt[Bt]=Me[Bt]);return Pt},qe=(Me,rt,Pt)=>new Promise((Bt,Jt)=>{var Wt=Ye=>{try{Ve(Pt.next(Ye))}catch(Je){Jt(Je)}},Kt=Ye=>{try{Ve(Pt.throw(Ye))}catch(Je){Jt(Je)}},Ve=Ye=>Ye.done?Bt(Ye.value):Promise.resolve(Ye.value).then(Wt,Kt);Ve((Pt=Pt.apply(Me,rt)).next())}),Ce=Me=>{var rt=Me,{className:Pt,style:Bt,children:Jt,loading:Wt=!1,openLoading:Kt,onClick:Ve=()=>{},size:Ye="middle",shape:Je="round"}=rt,Et=fe(rt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Gt,It]=(0,z.useState)(!1);return z.createElement(Ke.ZP,he({onClick:(0,Oe.throttle)(dn=>qe(void 0,null,function*(){Kt&&It(!0);try{yield Ve(dn)}catch(an){console.log("error",an)}Kt&&It(!1)}),2e3,{leading:!0,trailing:!1}),className:Ne()(ft.btn,ft[`${Ye}-${Je}`],Pt),style:Bt,size:Ye,shape:Je,loading:Gt||Wt},Et),Jt)},at={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},ct=({className:Me,style:rt,children:Pt=null,onClick:Bt,title:Jt})=>z.createElement("div",{className:Ne()(at.head,Me),style:rt},z.createElement("span",{className:"primary-hover",onClick:Bt},z.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),z.createElement("b",{title:Jt},Jt),z.createElement("div",{className:at.node},Pt)),Ot={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"},_t=({confirmShow:Me=!0,confirmTitle:rt,confirmClick:Pt,cancelShow:Bt=!0,cancelTitle:Jt,cancelClick:Wt,className:Kt,style:Ve,confirmLoading:Ye=!1})=>z.createElement("div",{className:Ne()(Ot.btns,Kt),style:Ve},Me&&z.createElement(Ke.ZP,{loading:Ye,onClick:Pt,type:"primary",className:Ot.confirm},rt),Bt&&z.createElement(Ke.ZP,{onClick:Wt,className:Ot.cancel},Jt)),ht={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"},tn=({className:Me,style:rt={},LeftContent:Pt,children:Bt,RightContent:Jt})=>z.createElement("div",{className:Ne()(ht.fixedBottom,Me),style:rt},z.createElement("div",{className:ht.wrap},z.createElement("div",{className:ht.left},Pt),z.createElement("div",{className:ht.center},Bt),z.createElement("div",{className:ht.right},Jt))),kt={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"},$t=({className:Me,style:rt={},dataSource:Pt=[]})=>z.createElement("div",{className:Ne()(kt.crumbs,Me),style:rt},Pt.map((Bt,Jt)=>Jt<Pt.length-1?z.createElement(z.Fragment,{key:Jt},Bt.path||Bt.onClick?z.createElement("span",{className:kt.hover,onClick:Bt!=null&&Bt.onClick?Bt.onClick:()=>Mt.history.push(Bt.path)},Bt.name):z.createElement("span",null,Bt.name),z.createElement("span",null,"\xA0",">","\xA0")):z.createElement("span",{key:Jt,style:{color:"#5F6368"}},Bt.name))),sn=ne(31797),un=Object.defineProperty,Cn=Object.defineProperties,On=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,ln=(Me,rt,Pt)=>rt in Me?un(Me,rt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):Me[rt]=Pt,nn=(Me,rt)=>{for(var Pt in rt||(rt={}))Nt.call(rt,Pt)&&ln(Me,Pt,rt[Pt]);if(Rt)for(var Pt of Rt(rt))Ht.call(rt,Pt)&&ln(Me,Pt,rt[Pt]);return Me},jn=(Me,rt)=>Cn(Me,On(rt)),na=(Me,rt)=>{var Pt={};for(var Bt in Me)Nt.call(Me,Bt)&&rt.indexOf(Bt)<0&&(Pt[Bt]=Me[Bt]);if(Me!=null&&Rt)for(var Bt of Rt(Me))rt.indexOf(Bt)<0&&Ht.call(Me,Bt)&&(Pt[Bt]=Me[Bt]);return Pt};const{Countdown:hn}=sn.default;var Wn=Me=>{var rt=Me,{onChange:Pt}=rt,Bt=na(rt,["onChange"]);const[Jt,Wt]=(0,z.useState)(null);(0,z.useEffect)(()=>{typeof Jt=="number"&&Jt>=0&&Pt(Jt)},[Jt]);const Kt=Ve=>{const Ye=Math.floor(Ve/1e3);Wt(Ye)};return z.createElement(hn,jn(nn({},Bt),{onChange:Kt}))}},58856:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return ie}});var z=ne(59301);function ie(Pe,Re){const be=(0,z.useRef)();(0,z.useEffect)(()=>{be.current=Pe}),(0,z.useEffect)(()=>{function xe(){be.current()}if(Re!==null){let re=setInterval(xe,Re);return()=>clearInterval(re)}},[Re])}},74440:function(pt,vt,ne){"use strict";ne.d(vt,{h:function(){return z}});var z=(ie=>(ie[ie.NOMATCH=-1]="NOMATCH",ie[ie.OK=0]="OK",ie[ie.TIMEOUT=2]="TIMEOUT",ie[ie.PODFAILURE=3]="PODFAILURE",ie[ie.COMPILEFAILURE=4]="COMPILEFAILURE",ie[ie.EXECUTEFAILURE=5]="EXECUTEFAILURE",ie[ie.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ie))(z||{})},88264:function(pt,vt,ne){"use strict";ne.d(vt,{H7:function(){return E},MK:function(){return oe},MU:function(){return we},X6:function(){return je},bM:function(){return Oe},fi:function(){return a},fu:function(){return Ne},n4:function(){return b},rX:function(){return Ee},vl:function(){return y},zO:function(){return De}});var z=ne(99064),ie=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(x,ee,te)=>ee in x?ie(x,ee,{enumerable:!0,configurable:!0,writable:!0,value:te}):x[ee]=te,re=(x,ee)=>{for(var te in ee||(ee={}))Re.call(ee,te)&&xe(x,te,ee[te]);if(Pe)for(var te of Pe(ee))be.call(ee,te)&&xe(x,te,ee[te]);return x};function Ne(x,ee){return(0,z.U2)(`myproblems/${x}.json`,re({hidePopLogin:!0},ee||{}))}function Oe(x,ee){return(0,z.v_)(`myproblems/${x}/code_submit.json`,ee)}function we(x,ee){return(0,z.v_)(`myproblems/${x}/code_debug.json`,ee)}function De(x,ee){return ee.language&&(ee.language=encodeURIComponent(ee.language)),(0,z.U2)(`myproblems/${x}/submit_records.json`,ee)}function je(x){return(0,z.U2)("myproblems/record_detail.json",{id:x})}function Ee(x,ee){return(0,z.U2)(`myproblems/${x}/result.json`,{mode:ee})}function oe(x,ee){return(0,z.v_)(`myproblems/${x}/add_notes.json`,ee)}function E(x,ee){return(0,z.v_)(`myproblems/${x}/restore_initial_code.json`,ee)}function a(x){return(0,z.v_)(`myproblems/${x}/sync_code.json`)}function b(x,ee){return(0,z.v_)(`myproblems/${x}/update_code.json`,ee)}function y(x,ee){return(0,z.v_)(`discusses/${x}/plus.json`,ee)}},92744:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return il}});var z=ne(59301),ie={flex_box_center:"flex_box_center___bZaL5",flex_space_between:"flex_space_between___oaJSq",flex_box_vertical_center:"flex_box_vertical_center____hsuP",flex_box_center_end:"flex_box_center_end___ZYbPQ",flex_box_column:"flex_box_column___nE_62",wrap:"wrap___ulhwR",left:"left___kyWln",title:"title___jsO1D",total:"total___GEhiU",list:"list___u9dBZ",name:"name___Wxggs",b:"b___Y15YO",r:"r___mKQoe",l:"l___uelFD",tag:"tag___Mpkbg",right:"right___mQ3dU",examName:"examName___Na1r8",t:"t___IgCWK",num:"num___CXI8j",topWarp:"topWarp___Kicpu",head:"head___jx3W8",so:"so___qYW7F",btn:"btn___EMJDz",content:"content___sHGsV",titleWrap:"titleWrap___I__GR",single:"single___K5iv9",analysis:"analysis___NoAuR",text:"text___xESW2",modalColumn:"modalColumn___I_tK_",modalRow:"modalRow___lyw_U",sup:"sup___HSz3Z",popover:"popover___kE8aI"},Pe=ne(78241),Re=ne(6848),be=ne(3113),xe=ne(43418),re=ne(5871),Ne=ne(8591),Oe=ne(92832),we=ne(28103),De=ne(24905),je=ne(95237),Ee=ne(43604),oe=ne(58421),E=ne(60324),a=Object.defineProperty,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(Le,Ue,et)=>Ue in Le?a(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,te=(Le,Ue)=>{for(var et in Ue||(Ue={}))y.call(Ue,et)&&ee(Le,et,Ue[et]);if(b)for(var et of b(Ue))x.call(Ue,et)&&ee(Le,et,Ue[et]);return Le};const ae=Le=>React.createElement("svg",te({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Le),React.createElement("title",null,"\u7F16\u7EC4 6"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E4E6FD",width:34,height:34,rx:10}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M13.808 11.448a.558.558 0 0 1 0 .788l-1.564 1.565a.558.558 0 1 1-.789-.79l1.564-1.563a.558.558 0 0 1 .79 0Zm9.882 2.462a.558.558 0 0 1-.789 0l-1.564-1.563a.558.558 0 1 1 .789-.789l1.564 1.564a.556.556 0 0 1 0 .788Z",fill:"#6678EB"}),React.createElement("path",{d:"M21.753 21.707a5.937 5.937 0 1 0-8.58.015l-.937.936a.558.558 0 1 0 .789.788l.995-.994a5.91 5.91 0 0 0 3.436 1.095c1.287 0 2.48-.41 3.452-1.106l.992.992a.558.558 0 1 0 .789-.789l-.936-.937Z",fill:"#6678EB"}),React.createElement("path",{d:"m20.858 18.95-3.024-1.745v-2.054a.558.558 0 1 0-1.117 0v2.351c0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UxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg==",de=ne(85149),me=ne(89070),Be=ne(955),pe=ne(99064),Fe=Object.defineProperty,ge=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Qe=(Le,Ue,et)=>Ue in Le?Fe(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,_e=(Le,Ue)=>{for(var et in Ue||(Ue={}))tt.call(Ue,et)&&Qe(Le,et,Ue[et]);if(ge)for(var et of ge(Ue))Ie.call(Ue,et)&&Qe(Le,et,Ue[et]);return Le};const We=Le=>React.createElement("svg",_e({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Le),React.createElement("title",null,"\u7F16\u7EC4 12"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{width:34,height:34,rx:10,fill:"#EAF3F4"}),React.createElement("path",{d:"M25.905 15.37a.775.775 0 0 0-.626-.529l-4.814-.7-2.152-4.362a.776.776 0 0 0-1.392 0l-2.153 4.363-4.814.699a.775.775 0 0 0-.43 1.323l3.484 3.396-.823 4.794a.777.777 0 0 0 1.126.818l4.306-2.264 4.305 2.264a.778.778 0 0 0 .817-.059.777.777 0 0 0 .31-.759l-.823-4.794 3.483-3.396a.777.777 0 0 0 .196-.795Z",fill:"#21C0A6",fillRule:"nonzero"})));var it="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIgZmlsbD0iI0VBRjNGNCIvPjxwYXRoIGQ9Ik0yNS45MDUgMTUuMzdhLjc3NS43NzUgMCAwIDAtLjYyNi0uNTI5bC00LjgxNC0uNy0yLjE1Mi00LjM2MmEuNzc2Ljc3NiAwIDAgMC0xLjM5MiAwbC0yLjE1MyA0LjM2My00LjgxNC42OTlhLjc3NS43NzUgMCAwIDAtLjQzIDEuMzIzbDMuNDg0IDMuMzk2LS44MjMgNC43OTRhLjc3Ny43NzcgMCAwIDAgMS4xMjYuODE4bDQuMzA2LTIuMjY0IDQuMzA1IDIuMjY0YS43NzguNzc4IDAgMCAwIC44MTctLjA1OS43NzcuNzc3IDAgMCAwIC4zMS0uNzU5bC0uODIzLTQuNzk0IDMuNDgzLTMuMzk2YS43NzcuNzc3IDAgMCAwIC4xOTYtLjc5NVoiIGZpbGw9IiMyMUMwQTYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",Ct=Object.defineProperty,nt=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,xt=(Le,Ue,et)=>Ue in Le?Ct(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,Mt=(Le,Ue)=>{for(var et in Ue||(Ue={}))Lt.call(Ue,et)&&xt(Le,et,Ue[et]);if(nt)for(var et of nt(Ue))Xe.call(Ue,et)&&xt(Le,et,Ue[et]);return Le};const Te=Le=>React.createElement("svg",Mt({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Le),React.createElement("title",null,"\u9898\u76EE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E7F3FF",width:34,height:34,rx:10}),React.createElement("g",{fill:"#4C6FFF",fillRule:"nonzero"},React.createElement("path",{d:"m23.719 13.325-4.098-3.94c-.097-.13-.225-.162-.355-.162-.129 0-.258.064-.387.161l-7.55 7.753c-.065.065-.098.162-.13.227l-1.032 5.427c-.033.194.032.323.16.484.13.13.227.162.389.162h.096l4.776-1.099c.097-.032.194-.064.258-.161l7.841-8.108c.194-.162.194-.517.033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c3ZnPg==",mt=ne(42678),zt=ne(12290),st=ne(65158),Tt=ne(10672),Se={wrap:"wrap___OIoOI",modal:"modal___Z3hfU",titleWrap:"titleWrap___aK3oG",required:"required___NHoO7",title:"title___uxb1R",colorGray:"colorGray___O8YPg",choiceWrap:"choiceWrap___t51sb",answer:"answer___vsBnh",activeAnswer:"activeAnswer___AJN4p",deleteIcon:"deleteIcon___WvOJZ",addIcon:"addIcon___UyeIs",editorWrap:"editorWrap___uqcFU",htmlWrap:"htmlWrap___GcBNL",radio:"radio___e8qQ5",color333:"color333___PLzVK",color999:"color999___v3EY0",fold:"fold___OfvPe",head:"head___EejYX",collapseWrapper:"collapseWrapper___sQyVD",panelHeader:"panelHeader___Ivicf",open:"open___aEOQE",close:"close___z4P5H",inputBorder:"inputBorder___ix67O",keywordTag:"keywordTag___iGx08",scoreByBlankRadio:"scoreByBlankRadio___Kwu7q"},Ft=ne(59301),Yt=Object.defineProperty,yt=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,ce=(Le,Ue,et)=>Ue in Le?Yt(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,He=(Le,Ue)=>{for(var et in Ue||(Ue={}))ke.call(Ue,et)&&ce(Le,et,Ue[et]);if(Ke)for(var et of Ke(Ue))ve.call(Ue,et)&&ce(Le,et,Ue[et]);return Le},ut=(Le,Ue)=>yt(Le,ft(Ue)),he=(Le,Ue)=>{var et={};for(var bt in Le)ke.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&Ke)for(var bt of Ke(Le))Ue.indexOf(bt)<0&&ve.call(Le,bt)&&(et[bt]=Le[bt]);return et};const fe=null,qe=(Le,Ue)=>{var et=Le,{globalSetting:bt,loading:ta,dispatch:In,isEdit:ma,editData:zn}=et,Hn=he(et,["globalSetting","loading","dispatch","isEdit","editData"]);const[xa,ra]=(0,z.useState)(""),[Ba,Ka]=(0,z.useState)(""),[Aa,yn]=(0,z.useState)([]),[Vn,pa]=(0,z.useState)(""),[Sa,Jn]=(0,z.useState)(),[Da,ya]=(0,z.useState)(!1),[Bn,Tn]=(0,z.useState)({}),[bn,An]=(0,z.useState)([]);(0,z.useEffect)(()=>{!zn||!ma||(ra(zn==null?void 0:zn.name),Ka(zn==null?void 0:zn.analysis),Jn(zn==null?void 0:zn.is_ordered),Tn(zn),ya(!0))},[zn]),(0,z.useEffect)(()=>{if(!Da)return;const Ra=zn==null?void 0:zn.standard_answer.map(io=>io==null?void 0:io.answer_text);yn(Ra);const ao=zn==null?void 0:zn.standard_answer.map(io=>io==null?void 0:io.score);An(ao),ya(!1)},[Da]),(0,z.useImperativeHandle)(Ue,()=>({onSave:ja,Clear:ro}));const ja=()=>{let Ra=[],ao=!1;return xa?(Aa.forEach((io,co)=>{Ra.push({position:co+1,answer_text:[],score:bn[co]}),io==null||io.forEach((nr,ai)=>{Ra[co].answer_text.push(nr),(!nr||!(0,Be.eR)(nr,1e4))&&(pa(`${co}-${ai}`),Ne.ZP.info(nr?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),ao=!0)})}),ao?!1:(Ra==null?void 0:Ra.length)>20?(Ne.ZP.warning("\u586B\u7A7A\u9898\u6807\u51C6\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A/\u4E0D\u80FD\u8D85\u8FC720\u4E2A\uFF01"),!1):{name:xa,analysis:Ba,standard_answers:Ra,is_ordered:Sa,downcase:Bn==null?void 0:Bn.downcase,no_space:Bn==null?void 0:Bn.no_space,use_blank_score:Bn==null?void 0:Bn.use_blank_score}):(Ne.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1)},ro=()=>{ra(""),Ka(""),yn([]),Jn(!1)},wo=(Ra,ao,io)=>{const co=Aa.slice();if(ao&&co.splice(Ra,ao),io)for(let nr=0;nr<io;nr++)co.splice(Ra+nr,0,[""]);yn(co)},Qo=(Ra,ao,io)=>{pa("");let co=Aa.slice();co[Ra][ao]=io,yn(co)},ia=Ra=>{let ao=Aa.slice();ao[Ra]=[...ao[Ra],""],yn(ao)},er=(Ra,ao)=>{let io=Aa.slice();if(!io[Ra][ao]){io[Ra]=io[Ra].filter((co,nr)=>nr!==ao),yn(io);return}xe.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:Se.modal,onOk:()=>{io[Ra]=io[Ra].filter((co,nr)=>nr!==ao),yn(io)}})},tr=Ra=>{xe.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:Se.modal,onOk:()=>{let ao=Aa.slice();ao=Aa.filter((io,co)=>Ra!==co),yn(ao)}})};return Ft.createElement("section",{className:Se.wrap},Ft.createElement("p",{className:Se.titleWrap},Ft.createElement("span",{className:Se.required},"*"),Ft.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),Ft.createElement("div",null,Ft.createElement(st.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:xa,onChange:Ra=>ra(Ra),showNullButton:!0,onPlaceholderChange:wo})),Ft.createElement("div",{className:"mt20"},Aa.map((Ra,ao)=>Ft.createElement("div",{style:{display:"flex"}},Ft.createElement("div",{style:{flex:1}},Ft.createElement(Tt.Z,{key:ao,answers:Ra,index:ao,flex:1,is_md:!0,activeOptionErrorIndex:Vn,onAnswerChange:Qo,addChildAnswer:ia,deleteChildAnswer:er,deleteChildAnswermain:tr})),Bn.use_blank_score&&Ft.createElement("div",{style:{display:"flex",alignItems:"center",width:"165px"}},Ft.createElement("span",{style:{color:"red",margin:"auto 5px auto 10px"}},"*"),"\u5206\u503C\uFF1A",Ft.createElement(re.Z,{style:{width:"100px"},size:"large",defaultValue:bn[ao],onBlur:io=>{bn[ao]=io.target.value,An([...bn])}}))))),Ft.createElement("div",null,Ft.createElement(De.default,{className:`${Se.color333} font14 mt20`,checked:Bn.use_blank_score,onChange:Ra=>Tn(ut(He({},Bn),{use_blank_score:Ra.target.checked}))},"\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206"),Ft.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u9700\u8981\u8BBE\u7F6E\u6BCF\u7A7A\u5206\u503C\uFF0C\u5B66\u751F\u7B54\u6848\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206\uFF09")),Ft.createElement("div",null,Ft.createElement(De.default,{className:`${Se.color333} font14 mt20`,checked:Bn.downcase,onChange:Ra=>Tn(ut(He({},Bn),{downcase:Ra.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ft.createElement("div",null,Ft.createElement(De.default,{className:`${Se.color333} font14 mt20`,checked:Bn.no_space,onChange:Ra=>Tn(ut(He({},Bn),{no_space:Ra.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),Ft.createElement("div",{className:"mt20"},(Aa==null?void 0:Aa.length)>1&&Ft.createElement("span",null,Ft.createElement(De.default,{checked:Sa,onChange:Ra=>Jn(Ra.target.checked),className:`${Se.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Ft.createElement("span",{className:`${Se.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),Ft.createElement("p",{className:Se.titleWrap},Ft.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Ft.createElement(zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Ba,onChange:Ra=>Ka(Ra)}))};var ze=(0,me.connect)(({loading:Le,globalSetting:Ue})=>({globalSetting:Ue,loading:Le.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(qe)),Ce=ne(5112),at=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,Ot=(Le,Ue)=>{var et={};for(var bt in Le)jt.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&at)for(var bt of at(Le))Ue.indexOf(bt)<0&&ct.call(Le,bt)&&(et[bt]=Le[bt]);return et};const Dt=null,_t=(Le,Ue)=>{var et=Le,{globalSetting:bt,loading:ta,editData:In,dispatch:ma,onRef:zn=()=>{},isEdit:Hn}=et,xa=Ot(et,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[ra,Ba]=(0,z.useState)(),[Ka,Aa]=(0,z.useState)(""),[yn,Vn]=(0,z.useState)("");(0,z.useEffect)(()=>{if(!In||!Hn)return;Aa(In==null?void 0:In.name),Vn(In==null?void 0:In.analysis);const Jn=In==null?void 0:In.choices.find(Da=>Da.is_answer);Ba(Jn.choice_text==="\u6B63\u786E"?"0":"1")},[In]),(0,z.useImperativeHandle)(Ue,()=>({onSave:pa,Clear:Sa}));const pa=()=>Ka?ra?{name:Ka,choices:[{choice_text:"\u6B63\u786E",is_answer:ra==="0"?1:0},{choice_text:"\u9519\u8BEF",is_answer:ra==="1"?1:0}],analysis:yn}:(Ne.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1):(Ne.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1),Sa=()=>{Aa(""),Vn(""),Ba("")};return z.createElement("section",{className:Se.wrap},z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),z.createElement(zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Ka,onChange:Jn=>Aa(Jn)}),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u7B54\u6848\u9009\u9879\uFF1A",z.createElement("span",{className:Se.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),z.createElement(Ce.ZP.Group,{buttonStyle:"solid",value:ra,onChange:Jn=>Ba(Jn.target.value)},z.createElement(Ce.ZP.Button,{value:"0",className:`${Se.radio} mr40`},"\u6B63\u786E"),z.createElement(Ce.ZP.Button,{value:"1",className:Se.radio},"\u9519\u8BEF")),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),z.createElement(zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:yn,onChange:Jn=>Vn(Jn)}))};var ht=(0,me.connect)(({loading:Le,globalSetting:Ue})=>({globalSetting:Ue,loading:Le.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(_t)),on=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Zt=(Le,Ue)=>{var et={};for(var bt in Le)tn.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&on)for(var bt of on(Le))Ue.indexOf(bt)<0&&kt.call(Le,bt)&&(et[bt]=Le[bt]);return et};const $t=null,sn=(Le,Ue)=>{var et=Le,{globalSetting:bt,loading:ta,editData:In,dispatch:ma,onRef:zn=()=>{},isEdit:Hn}=et,xa=Zt(et,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[ra,Ba]=(0,z.useState)([]);(0,z.useEffect)(()=>{var Vn;if(!In||!Hn)return;const pa=(Vn=In==null?void 0:In.shixun)==null?void 0:Vn.challenges.map(Sa=>({id:Sa==null?void 0:Sa.id,score:Sa.score}));Ba(pa)},[In]),(0,z.useImperativeHandle)(Ue,()=>({onSave:Ka,Clear:Aa}));const Ka=()=>({challenges:[...ra]}),Aa=()=>{Ba([])};console.log("editData--",In);const yn=Vn=>{var pa,Sa;return z.createElement("div",null,(Sa=(pa=Vn==null?void 0:Vn.shixun)==null?void 0:pa.challenges)==null?void 0:Sa.map((Jn,Da)=>{var ya;return z.createElement("div",{className:"c-grey-666 font14 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"15px"}},z.createElement("div",null,z.createElement("span",{className:"mr5"},"\u7B2C",Da+1,"\u5173"),z.createElement(Re.Z,{key:Da,title:Jn==null?void 0:Jn.challenge_name},z.createElement("span",null,(0,Be.Pq)(Jn==null?void 0:Jn.challenge_name,44)))),z.createElement("p",{style:{marginBottom:0}},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u5206\u503C\uFF1A"),z.createElement(re.Z,{precision:1,min:1,max:100,className:Se.baseFormItem,style:{width:176},value:(ya=ra.find(Bn=>Bn.id===Jn.id))==null?void 0:ya.score,onChange:Bn=>{ra.find(Tn=>Tn.id===Jn.id).score=Bn,Ba([...ra])}})))}),z.createElement("div",{style:{clear:"both"}}))};return z.createElement("section",{className:Se.wrap},z.createElement(de.Z,{style:{paddingRight:10},className:Se.titleHtml,value:`${In==null?void 0:In.position}\u3001${In==null?void 0:In.name}`}),z.createElement("p",{style:{marginBottom:"10px",marginTop:"25px"}},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u5173\u5361")),yn(In))};var un=(0,me.connect)(({loading:Le,globalSetting:Ue})=>({globalSetting:Ue,loading:Le.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(sn)),Cn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Nt=(Le,Ue)=>{var et={};for(var bt in Le)On.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&Cn)for(var bt of Cn(Le))Ue.indexOf(bt)<0&&Rt.call(Le,bt)&&(et[bt]=Le[bt]);return et};const Ht=["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"],ln=(Le,Ue)=>{var et=Le,{editData:bt,globalSetting:ta,loading:In,dispatch:ma,onRef:zn=()=>{},isEdit:Hn}=et,xa=Nt(et,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ra,Ba]=(0,z.useState)([]),[Ka,Aa]=(0,z.useState)(),[yn,Vn]=(0,z.useState)([]),[pa,Sa]=(0,z.useState)(""),[Jn,Da]=(0,z.useState)("");(0,z.useEffect)(()=>{Ba(["","","",""])},[]),(0,z.useEffect)(()=>{if(!bt||!Hn)return;Sa(bt==null?void 0:bt.name),Da(bt==null?void 0:bt.analysis),Ba(bt==null?void 0:bt.choices.map(bn=>bn.choice_text));const Tn=[];bt==null||bt.choices.map((bn,An)=>{bn.is_answer&&Tn.push(An)}),Vn(Tn)},[bt]),(0,z.useImperativeHandle)(Ue,()=>({onSave:ya,Clear:Bn}));const ya=()=>{if(!pa)return Ne.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Tn=ra.findIndex(An=>!An);if(Tn>-1)return Ne.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Ht[Tn]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!yn.length)return Ne.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(yn.length<2)return Ne.ZP.info("\u591A\u9009\u9898\u6700\u5C0F\u6B63\u786E\u9009\u9879\u4E3A2\u4E2A"),!1;const bn=ra.map((An,ja)=>({choice_text:An,is_answer:yn.includes(ja)?1:0}));return{name:pa,choices:bn,analysis:Jn}},Bn=()=>{Ba(["","","",""]),Sa(""),Da(""),Vn("")};return z.createElement("section",{className:Se.wrap},z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),z.createElement(zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:pa,onChange:Tn=>Sa(Tn)}),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u7B54\u6848\u9009\u9879\uFF1A",z.createElement("span",{className:Se.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),ra.map((Tn,bn)=>z.createElement("div",{className:Se.choiceWrap,key:bn},z.createElement(Re.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},z.createElement("div",{className:`${Se.answer} ${yn.includes(bn)?Se.activeAnswer:""}`,onClick:()=>{yn.includes(bn)?Vn(yn.filter(An=>An!==bn)):Vn([...yn,bn])}},Ht[bn])),z.createElement("div",{className:Se.editorWrap},Ka===bn?z.createElement(zt.Z,{id:`single-question-option-${bn}`,watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Tn,onChange:An=>{ra[bn]=An,Ba(ra)}}):z.createElement("div",{className:Se.htmlWrap,onClick:()=>Aa(bn)},z.createElement(de.Z,{value:Tn}))),bn>1&&z.createElement(Re.Z,{title:"\u5220\u9664"},z.createElement("i",{className:`${Se.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{Ba(ra.filter((An,ja)=>ja!==bn)),yn.includes(bn)?Vn(yn.filter(An=>An!==bn)):Vn([...yn,bn])}})),bn<7&&bn===ra.length-1&&z.createElement(Re.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},z.createElement("i",{className:`${Se.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Ba([...ra,""])})))),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),z.createElement(zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Jn,onChange:Tn=>Da(Tn)}))};var nn=(0,me.connect)(({loading:Le,globalSetting:Ue})=>({globalSetting:Ue,loading:Le.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(ln)),jn=Object.getOwnPropertySymbols,na=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Qt=(Le,Ue)=>{var et={};for(var bt in Le)na.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&jn)for(var bt of jn(Le))Ue.indexOf(bt)<0&&hn.call(Le,bt)&&(et[bt]=Le[bt]);return et};const Wn=["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"],Me=(Le,Ue)=>{var et=Le,{editData:bt,globalSetting:ta,loading:In,dispatch:ma,onRef:zn=()=>{},isEdit:Hn}=et,xa=Qt(et,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ra,Ba]=(0,z.useState)([]),[Ka,Aa]=(0,z.useState)(),[yn,Vn]=(0,z.useState)(),[pa,Sa]=(0,z.useState)(""),[Jn,Da]=(0,z.useState)("");(0,z.useEffect)(()=>{Ba(["","","",""])},[]),(0,z.useEffect)(()=>{if(!bt||!Hn)return;const Tn=[],bn=[];bt==null||bt.choices.forEach((An,ja)=>{Tn.push(An.choice_text),An.is_answer&&bn.push(ja)}),Sa(bt==null?void 0:bt.name),Da(bt==null?void 0:bt.analysis),Ba(Tn),Vn(bn)},[bt]),(0,z.useImperativeHandle)(Ue,()=>({onSave:ya,Clear:Bn}));const ya=()=>{if(!pa)return Ne.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Tn=ra.findIndex(An=>!An);if(Tn>-1)return Ne.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Wn[Tn]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Array.isArray(yn))return Ne.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;const bn=ra.map((An,ja)=>({choice_text:An,is_answer:yn.includes(ja)?1:0}));return{name:pa,choices:bn,analysis:Jn}},Bn=()=>{Ba(["","","",""]),Sa(""),Da(""),Vn("")};return z.createElement("section",{className:Se.wrap},z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),z.createElement(zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:pa,onChange:Tn=>Sa(Tn)}),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.required},"*"),z.createElement("span",{className:Se.title},"\u7B54\u6848\u9009\u9879\uFF1A",z.createElement("span",{className:Se.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),ra.map((Tn,bn)=>z.createElement("div",{className:Se.choiceWrap,key:bn},z.createElement(Re.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},z.createElement("div",{className:`${Se.answer} ${yn!=null&&yn.includes(bn)?Se.activeAnswer:""}`,onClick:()=>Vn([bn])},Wn[bn])),z.createElement("div",{className:Se.editorWrap},Ka===bn?z.createElement(zt.Z,{id:`single-question-option-${bn}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Tn,onChange:An=>{ra[bn]=An,Ba(ra)}}):z.createElement("div",{className:Se.htmlWrap,onClick:()=>Aa(bn)},z.createElement(de.Z,{value:Tn}))),bn>1&&z.createElement(Re.Z,{title:"\u5220\u9664"},z.createElement("i",{className:`${Se.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{Ba(ra.filter((An,ja)=>ja!==bn)),bn===yn&&Vn(null)}})),bn<7&&bn===ra.length-1&&z.createElement(Re.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},z.createElement("i",{className:`${Se.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Ba([...ra,""])})))),z.createElement("p",{className:Se.titleWrap},z.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),z.createElement(zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Jn,onChange:Tn=>Da(Tn)}))};var rt=(0,me.connect)(({loading:Le,globalSetting:Ue})=>({globalSetting:Ue,loading:Le.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(Me)),Pt=ne(12563),Bt=ne(78673),Jt=ne(61485),Wt=ne(59301),Kt=Object.defineProperty,Ve=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,It=(Le,Ue,et)=>Ue in Le?Kt(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,dn=(Le,Ue)=>{for(var et in Ue||(Ue={}))Et.call(Ue,et)&&It(Le,et,Ue[et]);if(Je)for(var et of Je(Ue))Gt.call(Ue,et)&&It(Le,et,Ue[et]);return Le},an=(Le,Ue)=>Ve(Le,Ye(Ue)),Xt=(Le,Ue)=>{var et={};for(var bt in Le)Et.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&Je)for(var bt of Je(Le))Ue.indexOf(bt)<0&&Gt.call(Le,bt)&&(et[bt]=Le[bt]);return et},cn=(Le,Ue,et)=>new Promise((bt,ta)=>{var In=Hn=>{try{zn(et.next(Hn))}catch(xa){ta(xa)}},ma=Hn=>{try{zn(et.throw(Hn))}catch(xa){ta(xa)}},zn=Hn=>Hn.done?bt(Hn.value):Promise.resolve(Hn.value).then(In,ma);zn((et=et.apply(Le,Ue)).next())});const da=Le=>{if(!Le)return!1;if(/^s*$/.test(Le)||Le.trim()===""){Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ue=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 Le==="|"?(Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ut=({value:Le=[],onClose:Ue})=>Wt.createElement(Pt.default,{closable:!0,onClose:Ue,className:Se.keywordTag},Wt.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Le.join(" \u6216 "))),kn=(Le,Ue)=>{var et=Le,{editData:bt,globalSetting:ta,loading:In,dispatch:ma,onRef:zn=()=>{},isEdit:Hn}=et,xa=Xt(et,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[ra,Ba]=(0,z.useState)(""),[Ka,Aa]=(0,z.useState)(""),[yn,Vn]=(0,z.useState)(""),[pa,Sa]=(0,z.useState)(""),[Jn]=Pe.default.useForm(),Da=Pe.default.useWatch("use_keywords",Jn);(0,z.useEffect)(()=>{var bn;!bt||!Hn||(Ba(bt==null?void 0:bt.name),Aa(bt==null?void 0:bt.analysis),Vn((bn=bt==null?void 0:bt.answer_texts)==null?void 0:bn[0]),Jn.setFieldsValue(dn({},bt)))},[bt]),(0,z.useImperativeHandle)(Ue,()=>({onSave:ya,Clear:Bn}));const ya=()=>cn(void 0,null,function*(){if(!ra)return Ne.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield Jn.validateFields()}catch(An){Ne.ZP.error(An.errorFields[0].errors[0]);return}const bn=Jn.getFieldsValue();return console.log(bn,"values"),dn({name:ra,answer_texts:[yn],analysis:Ka},bn)}),Bn=()=>{Ba(""),Aa(""),Vn(""),Jn.resetFields()},Tn=bt==null?void 0:bt.score;return Wt.createElement("section",{className:Se.wrap},Wt.createElement("p",{className:Se.titleWrap},Wt.createElement("span",{className:Se.required},"*"),Wt.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),Wt.createElement(zt.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ra,onChange:bn=>Ba(bn)}),Wt.createElement("p",{className:Se.titleWrap},Wt.createElement("span",{className:Se.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),Wt.createElement(zt.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:yn,onChange:bn=>Vn(bn)}),Wt.createElement("p",{className:Se.titleWrap},Wt.createElement("span",{className:Se.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Wt.createElement(zt.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Ka,onChange:bn=>Aa(bn)}),Wt.createElement(Pe.default,{form:Jn,size:"large",onFinishFailed:bn=>cn(void 0,null,function*(){var An,ja;Ne.ZP.error(bn.errorFields[0].errors[0]),Jn.scrollToField((ja=(An=bn==null?void 0:bn.errorFields)==null?void 0:An[0])==null?void 0:ja.name,{behavior:"smooth",block:"center"})})},Wt.createElement(je.Z,{align:"middle",className:"mb30 mt20"},Wt.createElement(Pe.default.Item,{noStyle:!0,name:"use_keywords",valuePropName:"checked"},Wt.createElement(Bt.Z,null)),Wt.createElement(Ee.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Wt.createElement(Ee.Z,null,Wt.createElement(Re.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"},Wt.createElement(Jt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),Da&&Wt.createElement(Pe.default.List,{name:"keywords",rules:[{validator(bn,An){return An!=null&&An.length?(An==null?void 0:An.reduce((ro,wo)=>ro+wo.score,0))>parseFloat(Tn)?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"))}}]},(bn,{add:An,remove:ja})=>Wt.createElement(Wt.Fragment,null,Wt.createElement("div",{className:"mb10"},"\u5173\u952E\u8BCD"),Wt.createElement(je.Z,{align:"middle",className:"font14 mb30"},Wt.createElement(Ee.Z,{flex:1},Wt.createElement(Oe.default,{value:pa,onChange:ro=>{Sa(ro.target.value)},maxLength:50,allowClear:!0,onPressEnter:ro=>{var wo,Qo,ia,er;const tr=`${(wo=ro.target)==null?void 0:wo.value}`,Ra=(ia=(Qo=tr==null?void 0:tr.split("|"))==null?void 0:Qo.filter(co=>!!co))==null?void 0:ia.map(co=>co==null?void 0:co.trim()),ao=Jn.getFieldValue("keywords"),io=((er=ao==null?void 0:ao.map(co=>co==null?void 0:co.keyword))==null?void 0:er.flat())||[];for(const co of Ra)if(io.includes(co)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}da(tr)&&(An({keyword:Ra,score:1}),Sa(""))},className:Se.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"})),Wt.createElement(Ee.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),bn.map(ro=>{var wo=ro,{key:Qo,name:ia}=wo,er=Xt(wo,["key","name"]);return Wt.createElement(je.Z,{key:Qo,style:{marginRight:148}},Wt.createElement(Ee.Z,{flex:1},Wt.createElement(je.Z,{align:"middle",justify:"space-between"},Wt.createElement(Pe.default.Item,an(dn({},er),{name:[ia,"keyword"]}),Wt.createElement(Ut,{onClose:()=>ja(ia)})),Wt.createElement(Pe.default.Item,an(dn({},er),{name:[ia,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Wt.createElement(re.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))})))))};var aa=(0,me.connect)(({loading:Le,globalSetting:Ue})=>({globalSetting:Ue,loading:Le.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(kn)),va=ne(36381),fn={wrap:"wrap___Cc0gS",deleteIcon:"deleteIcon___ebwMv",keywordTag:"keywordTag___lUfL5",questionTitleEditorWrap:"questionTitleEditorWrap___u9UgK",choiceWrap:"choiceWrap___VHsr3",choiceIndex:"choiceIndex___rsj9r",judgementIndex:"judgementIndex___fMm6E",setAnswerBtn:"setAnswerBtn___krVC9",activeAnswer:"activeAnswer___WiYo2",activeJudgementAnswer:"activeJudgementAnswer___M6iww",actionWrapper:"actionWrapper___oKI8_",addIcon:"addIcon___eMbGP",inputBorder:"inputBorder___ob_6x",placeholder:"placeholder___Vkwr4",blankWrapper:"blankWrapper____MZQ5",blankInput:"blankInput___ephwY",blankInputNumberWrapper:"blankInputNumberWrapper___C1UJS",addBtn:"addBtn___qRBpJ",blankIndex:"blankIndex___QsKgf",baseInputWrapper:"baseInputWrapper___juqCB",collapseWrapper:"collapseWrapper___kAXJ0",panelHeader:"panelHeader___hLTSe",open:"open___wWDjf",close:"close___XPTJ0",hide:"hide___VytUy"},Un=ne(32134),ka=ne(12893),$n=Object.defineProperty,Na=Object.defineProperties,Ia=Object.getOwnPropertyDescriptors,_a=Object.getOwnPropertySymbols,Ma=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,qa=(Le,Ue,et)=>Ue in Le?$n(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,Oo=(Le,Ue)=>{for(var et in Ue||(Ue={}))Ma.call(Ue,et)&&qa(Le,et,Ue[et]);if(_a)for(var et of _a(Ue))lo.call(Ue,et)&&qa(Le,et,Ue[et]);return Le},rn=(Le,Ue)=>Na(Le,Ia(Ue)),Mo=(Le,Ue)=>{var et={};for(var bt in Le)Ma.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&_a)for(var bt of _a(Le))Ue.indexOf(bt)<0&&lo.call(Le,bt)&&(et[bt]=Le[bt]);return et};const Eo=Le=>{var Ue=Le,{value:et,onChange:bt,scrollId:ta}=Ue,In=Mo(Ue,["value","onChange","scrollId"]);return z.createElement("div",{id:ta||""},z.createElement(zt.Z,rn(Oo({},In),{defaultValue:et,onChange:(ma,zn)=>{zn!=null&&zn.length?bt(ma,zn):bt(ma)}})))},vo=({value:Le,onChange:Ue,placeholder:et,height:bt=140,isEdit:ta})=>ta?z.createElement(zt.Z,{watch:!0,isFocus:!0,height:bt,placeholder:et,defaultValue:Le,onChange:Ue}):z.createElement("div",{style:{cursor:"pointer"}},Le?z.createElement(de.Z,{className:fn.inputBorder,value:Le}):z.createElement("div",{className:`${fn.inputBorder} ${fn.placeholder}`},et));var ca=ne(59301),pn=Object.defineProperty,_n=Object.defineProperties,oa=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,yo=(Le,Ue,et)=>Ue in Le?pn(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,Xa=(Le,Ue)=>{for(var et in Ue||(Ue={}))Ea.call(Ue,et)&&yo(Le,et,Ue[et]);if(xn)for(var et of xn(Ue))Wa.call(Ue,et)&&yo(Le,et,Ue[et]);return Le},oo=(Le,Ue)=>_n(Le,oa(Ue)),Jo=(Le,Ue)=>{var et={};for(var bt in Le)Ea.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&xn)for(var bt of xn(Le))Ue.indexOf(bt)<0&&Wa.call(Le,bt)&&(et[bt]=Le[bt]);return et};const _o=["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"],Br=({value:Le,onChange:Ue,choiceTextKey:et,answerKey:bt,index:ta,isEdit:In,setInputActive:ma,form:zn,choiceOptionsPath:Hn,allowChangeMode:xa,showAddIcon:ra,addItem:Ba,deleteItem:Ka})=>{const Aa=(Le==null?void 0:Le[bt])===!0,yn=()=>{const pa=zn.getFieldValue(Hn);zn.setFieldValue(Hn,pa.map(Sa=>oo(Xa({},Sa),{[bt]:!1})))},Vn=()=>{Aa?Ue(oo(Xa({},Le),{[bt]:!1})):(xa||yn(),Ue(oo(Xa({},Le),{[bt]:!0})))};return ca.createElement(je.Z,{className:fn.choiceWrap,align:"middle",wrap:!1},ca.createElement(Ee.Z,{onClick:Vn,className:`${fn.choiceIndex} ${Aa?fn.activeAnswer:""}`},_o[ta]),ca.createElement(Ee.Z,{flex:1,className:`${fn.editorWrap} ml15`,onClick:ma},ca.createElement(vo,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:In,value:Le==null?void 0:Le[et],onChange:pa=>{Ue(oo(Xa({},Le),{[et]:pa}))}})),ca.createElement(Ee.Z,{flex:"0 0 auto",className:"ml15"},ca.createElement("div",{onClick:Vn,className:`${fn.setAnswerBtn} ${Aa?fn.activeAnswer:""}`},Aa?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),ca.createElement(Ee.Z,{className:fn.actionWrapper},ca.createElement(Re.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},ca.createElement(Un.Z,{className:fn.addIcon,onClick:Ba,style:{visibility:ra?"visible":"hidden"}})),ca.createElement(Re.Z,{title:"\u5220\u9664"},ca.createElement(ka.Z,{className:fn.deleteIcon,onClick:Ka,style:{visibility:ta>1?"visible":"hidden"}}))))},Co=({questionTitlePlaceholder:Le,titleKey:Ue,choiceKey:et,analysisKey:bt,choiceTextKey:ta,answerKey:In,choiceOptionsPath:ma,allowChangeMode:zn=!0,form:Hn,showAnalysis:xa=!0})=>{const[ra,Ba]=(0,z.useState)(),[Ka,Aa]=(0,z.useState)(!1);return ca.createElement("div",{className:fn.wrap},ca.createElement("div",{className:fn.questionTitleEditorWrap},ca.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:Ue,labelCol:{span:24},rules:[{required:!0}]},ca.createElement(Eo,{scrollId:Array.isArray(Ue)?Ue.join("_"):`${Ue}`,watch:!0,height:140,placeholder:Le}))),ca.createElement(Pe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ca.createElement(Pe.default.List,{name:et,rules:[{validator(yn,Vn){const pa=Vn.some(Jn=>Jn[In]),Sa=Vn.findIndex(Jn=>{var Da;return((Da=Jn[ta])==null?void 0:Da.length)<=0});return Sa!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${_o[Sa]}\u9009\u9879\u7684\u5185\u5BB9`)):pa?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(yn,{add:Vn,remove:pa})=>ca.createElement("div",{id:Array.isArray(ma)?ma.join("_"):`${ma}`},yn.map((Sa,Jn)=>{var Da=Sa,{key:ya,name:Bn}=Da,Tn=Jo(Da,["key","name"]);const bn=ra===ya,An=()=>{Ba(ya)},ja=Jn<7&&Jn===yn.length-1,ro=()=>Vn({[ta]:"",[In]:0}),wo=()=>pa(Bn);return ca.createElement(Pe.default.Item,oo(Xa({},Tn),{key:ya,name:Bn,noStyle:!0}),ca.createElement(Br,{choiceTextKey:ta,answerKey:In,index:Jn,isEdit:bn,setInputActive:An,form:Hn,choiceOptionsPath:ma,allowChangeMode:zn,showAddIcon:ja,addItem:ro,deleteItem:wo}))}),yn.length<8&&ca.createElement("div",{className:`${fn.addBtn} mb30`,onClick:()=>Vn({[ta]:"",[In]:0})},"\u6DFB\u52A0\u9009\u9879"))),xa&&ca.createElement("div",{onClick:()=>Aa(!0)},ca.createElement(Pe.default.Item,{name:bt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ca.createElement(vo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ka}))))};var Nn=ne(59301),fo=Object.defineProperty,ho=Object.defineProperties,Ro=Object.getOwnPropertyDescriptors,Go=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,Xo=(Le,Ue,et)=>Ue in Le?fo(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,Ho=(Le,Ue)=>{for(var et in Ue||(Ue={}))Uo.call(Ue,et)&&Xo(Le,et,Ue[et]);if(Go)for(var et of Go(Ue))$o.call(Ue,et)&&Xo(Le,et,Ue[et]);return Le},vr=(Le,Ue)=>ho(Le,Ro(Ue)),lr=(Le,Ue)=>{var et={};for(var bt in Le)Uo.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&Go)for(var bt of Go(Le))Ue.indexOf(bt)<0&&$o.call(Le,bt)&&(et[bt]=Le[bt]);return et};const Pr=({value:Le,onChange:Ue})=>{const et=ta=>{xe.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:fn.modal,onOk:()=>{const In=[...Le];In.splice(ta,1),Ue(In)}})},bt=()=>{const ta=[...Le];ta.push(""),Ue(ta)};return Nn.createElement(je.Z,{align:"middle",className:"ml20",gutter:[40,20]},Le==null?void 0:Le.map((ta,In)=>Nn.createElement(Ee.Z,{key:`${ta}_${In}`,className:fn.blankWrapper},Nn.createElement(Oe.default,{className:fn.blankInput,defaultValue:ta,maxLength:1e3,onBlur:ma=>{const zn=[...Le],Hn=ma.target.value.trim();zn[In]=Hn,Ue(zn)}}),Nn.createElement(Re.Z,{title:"\u5220\u9664"},Nn.createElement(ka.Z,{className:fn.deleteIcon,style:{marginLeft:15,visibility:In>0?"visible":"hidden"},onClick:()=>et(In)})))),Nn.createElement(Ee.Z,null,Nn.createElement("div",{className:`${fn.addBtn}`,onClick:()=>{bt()}},"\u65B0\u589E\u7B54\u6848")))},Fr=({value:Le=!0,onChange:Ue})=>Nn.createElement(Bt.Z,{checked:!Le,onChange:et=>{Ue(!et)}}),So="\u2581",wr=({questionTitlePlaceholder:Le,form:Ue,name:et,scoreByBlank:bt="use_blank_score",answerKey:ta,titleKey:In="name",analysisKey:ma="analysis",isOrdered:zn="is_ordered"})=>{var Hn,xa;const[ra,Ba]=(0,z.useState)(!1),Ka=(ya,Bn)=>{const Tn=Bn.line;let bn=0;for(let ja=0;ja<Tn;ja++)bn+=ya.getLine(ja).split(So).length-1;const An=ya.getLine(Tn).substring(0,Bn.ch);return bn+=An.split(So).length-1,bn},Aa=(ya,Bn,Tn,bn)=>{const An=ya.getRange(Bn.from,Bn.to);let ja=0;if(Bn.text.forEach(ro=>{ja+=ro.split(So).length-1}),Bn.origin!=="setValue"){if(An&&An.indexOf(So)!==-1){const ro=An.split(So).length-1,wo=Ka(ya,Bn.from);if(console.log(`\u5220\u9664${ro}\u4E2A\uFF0C \u524D\u9762\u6709${wo}\u4E2A\uFF0C\u65B0\u589E${ja}\u4E2A`),ro>1){const Qo=Array.from({length:ro},(ia,er)=>wo+er);bn(Qo)}else bn(wo)}else if(ja>0){const ro=Ka(ya,Bn.from);console.log(`\u65B0\u589E${ja}\u4E2A\uFF0C\u4E4B\u524D\u6709${ro}\u4E2A`),Tn(ja,ro)}}},yn=()=>{const ya=Ue.getFieldValue(["sub_item_banks",...ta]);Ue.setFieldValue(["sub_item_banks",...ta],ya==null?void 0:ya.map((Bn,Tn)=>vr(Ho({},Bn),{position:Tn+1})))},Vn=(0,z.useRef)(),pa=(ya,Bn)=>{for(let Tn=0;Tn<ya;Tn++)Vn.current({position:null,answer_text:[""]},Bn+Tn);yn()},Sa=(0,z.useRef)(),Jn=ya=>{Sa.current(ya),yn()},Da=(xa=(Hn=Ue.getFieldValue("sub_item_banks"))==null?void 0:Hn[ta==null?void 0:ta[0]])==null?void 0:xa[ta==null?void 0:ta[1]];return Nn.createElement("div",{className:fn.wrap},Nn.createElement("div",{className:fn.questionTitleEditorWrap},Nn.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:In,labelCol:{span:24},rules:[{required:!0}]},Nn.createElement(Eo,{scrollId:"name",watch:!0,height:140,placeholder:Le,showNullButton:!0,onCMBeforeChange:(ya,Bn)=>{Aa(ya,Bn,pa,Jn)}}))),Nn.createElement(Pe.default.List,{name:ta,rules:[{validator(ya,Bn){if((Bn==null?void 0:Bn.length)===0)return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Tn of Bn){const{answer_text:bn}=Tn||{};if(bn!=null&&bn.some(An=>(An==null?void 0:An.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ya,{add:Bn,remove:Tn},{errors:bn})=>(Vn.current=Bn,Sa.current=Tn,Nn.createElement(Nn.Fragment,null,Nn.createElement(Pe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ya.map((An,ja)=>{var ro=An,{key:wo,name:Qo}=ro,ia=lr(ro,["key","name"]);return Nn.createElement(je.Z,{className:"mb20",key:wo,align:"middle",wrap:!1},Nn.createElement(Ee.Z,{flex:"0 0 auto",className:`${fn.blankIndex}`},"\u586B\u7A7A\u9879",ja+1),Nn.createElement(Ee.Z,{flex:1},Nn.createElement(je.Z,{align:"top",justify:"space-between",wrap:!1},Nn.createElement(Ee.Z,null,Nn.createElement(Pe.default.Item,vr(Ho({},ia),{name:[Qo,"answer_text"],noStyle:!0}),Nn.createElement(Pr,null))),(Ue==null?void 0:Ue.getFieldValue(["sub_item_banks",...bt]))&&Nn.createElement(Ee.Z,{flex:"224px"},Nn.createElement(Pe.default.Item,vr(Ho({},ia),{name:[Qo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:fn.blankInputNumberWrapper}),Nn.createElement(re.Z,{className:fn.blankInput,min:.1,max:100,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),Nn.createElement(Pe.default.Item,vr(Ho({},ia),{name:[Qo,"position"],noStyle:!0}),Nn.createElement(Oe.default,{type:"hidden"}))))})))),Nn.createElement(je.Z,{align:"middle"},Nn.createElement(Pe.default.Item,{name:[et,"downcase"],valuePropName:"checked"},Nn.createElement(Bt.Z,null)),Nn.createElement(Ee.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Nn.createElement(je.Z,{align:"middle"},Nn.createElement(Pe.default.Item,{name:[et,"no_space"],valuePropName:"checked"},Nn.createElement(Bt.Z,null)),Nn.createElement(Ee.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Da==null?void 0:Da.length)>1&&Nn.createElement(je.Z,{align:"middle",className:(Da==null?void 0:Da.length)>1?"mb30":`${fn.hide}`},Nn.createElement(Pe.default.Item,{name:zn},Nn.createElement(Fr,null)),Nn.createElement(Ee.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")),Nn.createElement("div",{onClick:()=>Ba(!0)},Nn.createElement(Pe.default.Item,{name:ma,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Nn.createElement(vo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ra}))))};var hr=Object.defineProperty,Gr=Object.defineProperties,Hr=Object.getOwnPropertyDescriptors,Rr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,si=(Le,Ue,et)=>Ue in Le?hr(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,ui=(Le,Ue)=>{for(var et in Ue||(Ue={}))Jr.call(Ue,et)&&si(Le,et,Ue[et]);if(Rr)for(var et of Rr(Ue))Xr.call(Ue,et)&&si(Le,et,Ue[et]);return Le},Yr=(Le,Ue)=>Gr(Le,Hr(Ue)),$r=(Le,Ue)=>{var et={};for(var bt in Le)Jr.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&Rr)for(var bt of Rr(Le))Ue.indexOf(bt)<0&&Xr.call(Le,bt)&&(et[bt]=Le[bt]);return et};const Qn={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Pn=({value:Le,onChange:Ue,form:et,choiceKey:bt})=>{const ta=(Le==null?void 0:Le.is_answer)===!0,In=Le==null?void 0:Le.choice_text,ma=()=>{var zn;const Hn=(zn=et==null?void 0:et.getFieldValue(["sub_item_banks",...bt]))==null?void 0:zn.map(xa=>({choice_text:xa==null?void 0:xa.choice_text,is_answer:!1}));et==null||et.setFieldValue(["sub_item_banks",...bt],Hn),Ue(Yr(ui({},Le),{is_answer:!0}))};return z.createElement(je.Z,{className:fn.choiceWrap,align:"middle",wrap:!1},z.createElement(Ee.Z,{onClick:ma,className:`${fn.choiceIndex} ${fn.judgementIndex} ${ta?fn.activeAnswer:""}`},Qn[In]),z.createElement(Ee.Z,{flex:1,className:`${fn.editorWrap} ml15`},z.createElement("div",{className:`${fn.inputBorder} ${fn.placeholder} ${ta?fn.activeJudgementAnswer:""}`},In)),z.createElement(Ee.Z,{flex:"0 0 auto",className:"ml15"},z.createElement("div",{onClick:ma,className:`${fn.setAnswerBtn} ${ta?fn.activeAnswer:""}`},ta?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Sn=({questionTitlePlaceholder:Le,choiceKey:Ue="choices",form:et,titleKey:bt="name",analysisKey:ta="analysis"})=>{const[In,ma]=(0,z.useState)(!1);return z.createElement("div",{className:fn.wrap},z.createElement("div",{className:fn.questionTitleEditorWrap},z.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:bt,labelCol:{span:24},rules:[{required:!0}]},z.createElement(Eo,{scrollId:"name",watch:!0,height:140,placeholder:Le}))),z.createElement(Pe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},z.createElement(Pe.default.List,{name:Ue,rules:[{validator(zn,Hn){return Hn.some(ra=>(ra==null?void 0:ra.is_answer)===!0)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},zn=>z.createElement("div",{id:"choices"},zn.map(Hn=>{var xa=Hn,{key:ra,name:Ba}=xa,Ka=$r(xa,["key","name"]);return z.createElement(Pe.default.Item,Yr(ui({},Ka),{key:ra,name:Ba,noStyle:!0}),z.createElement(Pn,{form:et,choiceKey:Ue}))})))),z.createElement("div",{onClick:()=>ma(!0)},z.createElement(Pe.default.Item,{name:ta,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(vo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:In}))))};var Ln=Object.defineProperty,ba=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,so=Object.getOwnPropertySymbols,uo=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,Fo=(Le,Ue,et)=>Ue in Le?Ln(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,qo=(Le,Ue)=>{for(var et in Ue||(Ue={}))uo.call(Ue,et)&&Fo(Le,et,Ue[et]);if(so)for(var et of so(Ue))Bo.call(Ue,et)&&Fo(Le,et,Ue[et]);return Le},To=(Le,Ue)=>ba(Le,Ga(Ue)),Ar=(Le,Ue)=>{var et={};for(var bt in Le)uo.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&so)for(var bt of so(Le))Ue.indexOf(bt)<0&&Bo.call(Le,bt)&&(et[bt]=Le[bt]);return et};const Tr=Le=>{var Ue=Le,{value:et,onChange:bt}=Ue,ta=Ar(Ue,["value","onChange"]);const In=ma=>{bt([ma])};return z.createElement(zt.Z,To(qo({},ta),{defaultValue:et==null?void 0:et[0],onChange:In}))},kr=Le=>{if(!Le)return!1;let Ue=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 Le==="|"?(Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Lr=({value:Le=[],onClose:Ue})=>z.createElement(Pt.default,{closable:!0,onClose:Ue,className:fn.keywordTag},Le==null?void 0:Le.join(" \u6216 ")),Dr=({questionTitlePlaceholder:Le,form:Ue,showKeywords:et,isMustKeyWords:bt=et,titleKey:ta="name",analysisKey:In="analysis",answerTexts:ma="answer_texts",keywords:zn="keywords",useKeywords:Hn="use_keywords",indexs:xa})=>{const[ra,Ba]=(0,z.useState)(!1),[Ka,Aa]=(0,z.useState)(""),yn=Pe.default.useWatch("sub_item_banks",Ue),{use_keywords:Vn,score:pa}=(yn==null?void 0:yn[xa])||{};return console.log(Vn,pa,"itemValues"),z.createElement("div",{className:fn.wrap},z.createElement("div",{className:fn.questionTitleEditorWrap},z.createElement(Pe.default.Item,{label:"\u9898\u5E72",name:ta,labelCol:{span:24},rules:[{required:!0}]},z.createElement(Eo,{scrollId:"name",watch:!0,height:140,placeholder:Le}))),z.createElement(Pe.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ma,labelCol:{span:24}},z.createElement(Tr,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),et&&!bt&&z.createElement(Pe.default.Item,{hidden:!0,name:Hn,valuePropName:"checked"},z.createElement(Bt.Z,{defaultChecked:!0})),et&&bt&&z.createElement(je.Z,{align:"middle",className:"mb30"},z.createElement(Pe.default.Item,{name:Hn,valuePropName:"checked"},z.createElement(Bt.Z,null)),z.createElement(Ee.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),z.createElement(Ee.Z,null,z.createElement(Re.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"},z.createElement(Jt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Vn||!bt)&&z.createElement(Pe.default.List,{name:zn,rules:[{validator(Sa,Jn){return bt?Jn!=null&&Jn.length?(Jn==null?void 0:Jn.reduce((ya,Bn)=>ya+Bn.score,0))>parseFloat(pa)?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()}}]},(Sa,{add:Jn,remove:Da})=>z.createElement(z.Fragment,null,z.createElement("div",{className:`${fn.title} mb10`},bt?"\u5173\u952E\u8BCD":z.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),z.createElement(je.Z,{align:"middle",className:"font14 mb30"},z.createElement(Ee.Z,{flex:1},z.createElement(Oe.default,{value:Ka,onChange:ya=>{Aa(ya.target.value)},maxLength:50,allowClear:!0,onPressEnter:ya=>{var Bn,Tn,bn,An;const ja=`${(Bn=ya.target)==null?void 0:Bn.value}`,ro=(bn=(Tn=ja==null?void 0:ja.split("|"))==null?void 0:Tn.filter(ia=>!!ia))==null?void 0:bn.map(ia=>ia==null?void 0:ia.trim()),wo=Ue.getFieldValue(["sub_item_banks",...zn]),Qo=((An=wo==null?void 0:wo.map(ia=>ia==null?void 0:ia.keyword))==null?void 0:An.flat())||[];for(const ia of ro)if(Qo.includes(ia)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}kr(ja)&&(Jn({keyword:ro,score:1}),Aa(""))},className:fn.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"})),z.createElement(Ee.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Sa.map(ya=>{var Bn=ya,{key:Tn,name:bn}=Bn,An=Ar(Bn,["key","name"]);return z.createElement(je.Z,{key:Tn,className:"mb20",style:{marginRight:148}},z.createElement(Ee.Z,{flex:1},z.createElement(je.Z,{align:"middle",justify:"space-between"},z.createElement(Pe.default.Item,To(qo({},An),{name:[bn,"keyword"]}),z.createElement(Lr,{onClose:()=>Da(bn)})),bt&&z.createElement(Pe.default.Item,To(qo({},An),{name:[bn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:fn.blankInputNumberWrapper}),z.createElement(re.Z,{className:fn.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),z.createElement("div",{onClick:()=>Ba(!0)},z.createElement(Pe.default.Item,{name:In,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(vo,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ra}))))};var Qa=ne(59301),ko=Object.defineProperty,fi=Object.defineProperties,bi=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,dr=(Le,Ue,et)=>Ue in Le?ko(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,Wr=(Le,Ue)=>{for(var et in Ue||(Ue={}))di.call(Ue,et)&&dr(Le,et,Ue[et]);if(Kr)for(var et of Kr(Ue))qr.call(Ue,et)&&dr(Le,et,Ue[et]);return Le},ci=(Le,Ue)=>fi(Le,bi(Ue)),ei=(Le,Ue)=>{var et={};for(var bt in Le)di.call(Le,bt)&&Ue.indexOf(bt)<0&&(et[bt]=Le[bt]);if(Le!=null&&Kr)for(var bt of Kr(Le))Ue.indexOf(bt)<0&&qr.call(Le,bt)&&(et[bt]=Le[bt]);return et},Mi=(Le,Ue,et)=>new Promise((bt,ta)=>{var In=Hn=>{try{zn(et.next(Hn))}catch(xa){ta(xa)}},ma=Hn=>{try{zn(et.throw(Hn))}catch(xa){ta(xa)}},zn=Hn=>Hn.done?bt(Hn.value):Promise.resolve(Hn.value).then(In,ma);zn((et=et.apply(Le,Ue)).next())});const{Panel:Ji}=va.default,Hl=null,Xi=(Le,Ue)=>{var et=Le,{globalSetting:bt,loading:ta,dispatch:In,editData:ma,onRef:zn=()=>{},isEdit:Hn}=et,xa=ei(et,["globalSetting","loading","dispatch","editData","onRef","isEdit"]);const[ra,Ba]=(0,z.useState)(""),[Ka,Aa]=(0,z.useState)([]),[yn]=Pe.default.useForm();(0,z.useEffect)(()=>{!ma||!Hn||(Ba(ma==null?void 0:ma.name),Aa(ma==null?void 0:ma.sub_item_banks),yn.setFieldsValue(Wr({},ma)))},[ma]),(0,z.useEffect)(()=>{Aa(yn.getFieldValue("sub_item_banks"))},[Pe.default.useWatch("sub_item_banks",yn)]),(0,z.useImperativeHandle)(Ue,()=>({onSave:Vn,Clear:pa}));const Vn=()=>Mi(void 0,null,function*(){if(!ra)return Ne.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield yn.validateFields()}catch(Tn){return console.log(Tn,"errInfo"),Ne.ZP.error(Tn.errorFields[0].errors[0]),!1}const Bn=Ka.map(Tn=>Wr({id:Tn.id>1?Tn.id:null},Tn));return{name:ra,sub_item_banks:Bn}}),pa=()=>{Ba(""),Aa([])},Sa={single:"\u5355\u9009\u9898",multiple:"\u591A\u9009\u9898",judgement:"\u5224\u65AD\u9898",completion:"\u586B\u7A7A\u9898",subjective:"\u7B80\u7B54\u9898",practical:"\u5B9E\u8BAD\u9898",program:"\u7F16\u7A0B\u9898",bprogram:"\u7A0B\u5E8F\u586B\u7A7A\u9898",combination:"\u7EC4\u5408\u9898"},Jn=({value:Bn})=>Qa.createElement("div",{style:{textAlign:"center",color:"#DF3065",margin:"0 5px"}},Bn),[Da,ya]=(0,z.useState)();return Qa.createElement("section",{className:Se.wrap},Qa.createElement("p",{className:Se.titleWrap},Qa.createElement("span",{className:Se.required},"*"),Qa.createElement("span",{className:Se.title},"\u9898\u5E72\uFF1A")),Qa.createElement(zt.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:ra,onChange:Bn=>Ba(Bn)}),Qa.createElement(Pe.default,{form:yn,autoComplete:"off"},Qa.createElement(Pe.default.List,{name:"sub_item_banks",rules:[{validator(Bn,Tn){return Tn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Bn,{add:Tn,remove:bn})=>{const An=yn.getFieldValue("sub_item_banks");return Qa.createElement(Qa.Fragment,null,Qa.createElement(va.default,{className:Bn.length>0?Se.collapseWrapper:"",bordered:!1,expandIcon:({isActive:ja})=>Qa.createElement("i",{className:`iconfont icon-weizhankai ${ja?Se.open:Se.close}`,style:{fontSize:14,transition:"all .2s"}})},Bn.map((ja,ro)=>{var wo=ja,{key:Qo,name:ia}=wo,er=ei(wo,["key","name"]),tr,Ra,ao,io,co,nr,ai,hi,Si,Pi,Ei,Oi;return Qa.createElement(Ji,{className:Se.panel,forceRender:!0,header:Qa.createElement("div",{className:Se.panelHeader},"\u7B2C",ro+1,"\u5C0F\u9898",Qa.createElement("span",null,"\uFF08",Sa[(tr=An==null?void 0:An[ia])==null?void 0:tr.item_type],"\uFF09")),extra:Qa.createElement(je.Z,{align:"middle",onClick:oi=>oi.stopPropagation(),style:{display:"flex",alignItems:"center"}},((Ra=An==null?void 0:An[ia])==null?void 0:Ra.item_type)=="completion"&&Qa.createElement(Pe.default.Item,ci(Wr({},er),{name:[ia,"score"],className:Se.blankInputNumberWrapper,style:{marginBottom:0}}),((ao=An==null?void 0:An[ia])==null?void 0:ao.item_type)=="completion"&&Qa.createElement("div",{style:{display:"flex",alignItems:"center",color:"#191919"}},"\u5171",Qa.createElement(Jn,{value:(io=An==null?void 0:An[ia])==null?void 0:io.score}),"\u5206")),((co=An==null?void 0:An[ia])==null?void 0:co.item_type)=="completion"&&Qa.createElement(Qa.Fragment,null,Qa.createElement(Ce.ZP.Group,{defaultValue:(nr=An==null?void 0:An[ia])==null?void 0:nr.use_blank_score,className:Se.scoreByBlankRadio,style:{marginRight:10},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:oi=>{var Ni;console.log(yn.getFieldsValue()),yn==null||yn.setFieldValue(["sub_item_banks",ia,"use_blank_score"],(Ni=oi==null?void 0:oi.target)==null?void 0:Ni.value),ya(new Date)}}),Qa.createElement(Re.Z,{overlayInnerStyle:{width:460},title:Qa.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Qa.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Qa.createElement("i",{className:"icon-tishixiaowenhao font18 c-3061d0"})))),key:Qo},Qa.createElement(Pe.default.Item,ci(Wr({},er),{name:ia}),(((ai=An==null?void 0:An[ia])==null?void 0:ai.item_type)=="single"||((hi=An==null?void 0:An[ia])==null?void 0:hi.item_type)=="multiple")&&Qa.createElement(Co,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Si=An==null?void 0:An[ia])==null?void 0:Si.item_type)!="single",form:yn,choiceKey:[ia,"choices"],titleKey:[ia,"name"],analysisKey:[ia,"analysis"],choiceOptionsPath:["sub_item_banks",ia,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Pi=An==null?void 0:An[ia])==null?void 0:Pi.item_type)=="completion"&&Qa.createElement(wr,{form:yn,name:ia,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[ia,"use_blank_score"],titleKey:[ia,"name"],analysisKey:[ia,"analysis"],isOrdered:[ia,"is_ordered"],answerKey:[ia,"standard_answer"],key:Da}),((Ei=An==null?void 0:An[ia])==null?void 0:Ei.item_type)=="judgement"&&Qa.createElement(Sn,{form:yn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[ia,"name"],analysisKey:[ia,"analysis"],choiceKey:[ia,"choices"]}),((Oi=An==null?void 0:An[ia])==null?void 0:Oi.item_type)=="subjective"&&Qa.createElement(Dr,{showKeywords:!0,form:yn,titleKey:[ia,"name"],analysisKey:[ia,"analysis"],answerTexts:[ia,"answer_texts"],useKeywords:[ia,"use_keywords"],keywords:[ia,"keywords"],indexs:ia,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})))})))};var ti=(0,me.connect)(({loading:Le,globalSetting:Ue})=>({globalSetting:Ue,loading:Le.effects}),null,null,{forwardRef:!0})((0,z.forwardRef)(Xi)),Yi=ne(6021),Ri=ne(19842),xi=ne(57809),$i=ne(1710),Or={flex_box_center:"flex_box_center___xDdtW",flex_space_between:"flex_space_between___J4mFI",flex_box_vertical_center:"flex_box_vertical_center___hDYn6",flex_box_center_end:"flex_box_center_end___H7l1j",flex_box_column:"flex_box_column___TPd2T",questionInfo:"questionInfo___ABq66",label:"label___VQOr7",content:"content____HZ6z",leftPart:"leftPart___YB0y5",rightPart:"rightPart___UVMmS",dragItem:"dragItem___Hbx8k",blackText:"blackText___U4u33",greyText:"greyText___rWIL_",iconWrapper:"iconWrapper___I0kek",contentArea:"contentArea___hGC13",dragging:"dragging___z7VVY",hidden:"hidden___nWAxb",dragIcon:"dragIcon___j91TC",deleteIcon:"deleteIcon___cmCqc",disabled:"disabled___ZlKMj",challengeNameWrapper:"challengeNameWrapper___SpiRb",challengeName:"challengeName___lmQe2",shixunPreviewFooter:"shixunPreviewFooter___u0CzD",shixunInfoWrapper:"shixunInfoWrapper___HzLHD",shixunInfo:"shixunInfo___qaQlF",btnToDetail:"btnToDetail___scXqr",fixedBottom:"fixedBottom___wTBAR",cancelBtn:"cancelBtn___Km4Gi",confirmBtn:"confirmBtn___WrECz",previewBtn:"previewBtn____oGPS",setScoreModalTable:"setScoreModalTable___CjDlp",title:"title___cQWdZ",tipcontent:"tipcontent___A8tZ5",name:"name___CvfT9",tip:"tip___EvoCF",info:"info___y_ayi",img:"img___X9CNn"},Nr=ne(29458),Ti=ne(94860),ki=ne(92365),Zi=ne(83312),zi=ne(8797),qi=ne(32570),el=({open:Le,onCancel:Ue,onOk:et})=>{const bt=(0,Ti.g)(),[ta,In,ma,zn]=(0,Zi.U)(ki.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[Hn,xa]=(0,z.useState)(!1);(0,z.useEffect)(()=>{Le&&ma({page:1,limit:10,type:0},!0).then(yn=>{(yn==null?void 0:yn.shixuns_count)===0&&xa(!0)})},[Le]);const[ra,Ba]=(0,z.useState)([]),[Ka,Aa]=(0,z.useState)([]);return z.createElement(xe.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:Le,width:948,centered:!0,closable:!0,onCancel:Ue,onOk:()=>et(Ka),destroyOnClose:!0},z.createElement(je.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},z.createElement(Ee.Z,null,z.createElement(Ri.Z,{style:{width:160},size:"large",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:bt,onChange:yn=>{ma({page:1,discipline_id:yn==null?void 0:yn[0],sub_discipline_id:yn==null?void 0:yn[1]})}}),z.createElement(xi.default,{className:"ml20",style:{width:118},size:"large",placeholder:"\u96BE\u5EA6",allowClear:!0,options:[{label:"\u521D\u7EA7",value:1},{label:"\u4E2D\u7EA7",value:2},{label:"\u4E2D\u9AD8\u7EA7",value:3},{label:"\u9AD8\u7EA7",value:4}],onChange:yn=>ma({page:1,diff:yn})}),z.createElement(xi.default,{className:"ml20",placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"large",allowClear:!0,options:[{label:"\u672A\u53D1\u5E03",value:"unpublish"},{label:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{label:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],onChange:yn=>ma({page:1,shixun_publish_status:yn})})),z.createElement(Nr.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:yn=>{ma({keyword:yn,page:1})}})),Hn?z.createElement("div",null,z.createElement(zi.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,Be.xg)("/shixuns")})):z.createElement($i.default,{loading:In,rowKey:"id",columns:[{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(yn,Vn)=>z.createElement("div",{style:{display:"flex",alignItems:"center"}},z.createElement("div",{className:Vn!=null&&Vn.high_resources_consume?Or.title:"",title:yn||"--"},z.createElement(de.Z,{key:1,showLines:1,showTextOnly:!0,value:yn||"--"})),(Vn==null?void 0:Vn.high_resources_consume)&&z.createElement(qi.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u96BE\u5EA6",dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(yn,Vn,pa)=>z.createElement("span",null,yn||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"study_count"},{title:z.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",z.createElement(Re.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},z.createElement(Jt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(yn,Vn,pa)=>z.createElement("span",null,yn||"- -")},{title:"\u64CD\u4F5C",render(yn,Vn){const{title:pa,challenge_names:Sa,author_name:Jn,identifier:Da,author_school_name:ya,study_count:Bn}=Vn||{};return z.createElement("div",null,z.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{xe.default.confirm({title:"\u9898\u76EE\u8BE6\u60C5",closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:z.createElement("div",null,z.createElement(de.Z,{value:pa,style:{marginBottom:18}}),z.createElement("div",{className:Or.challengeNameWrapper},Sa.map((Tn,bn)=>z.createElement("div",{className:Or.challengeName,key:bn},"\u7B2C",(0,Be.EM)(bn+1),"\u9898\xA0",Tn))),z.createElement(je.Z,{className:Or.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},z.createElement(Ee.Z,{className:Or.shixunInfoWrapper},z.createElement("span",null,"\u521B\u5EFA\u8005"),z.createElement("span",{className:Or.shixunInfo},Jn.split("\u3001")[0]),z.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),z.createElement("span",{className:Or.shixunInfo},ya),z.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),z.createElement("span",{className:Or.shixunInfo},Bn)),z.createElement(be.ZP,{type:"primary",className:Or.btnToDetail,onClick:()=>(0,Be.xg)(`/shixuns/${Da}/challenges?exercise=true`)},z.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},"\u67E5\u770B"),(Vn==null?void 0:Vn.shixun_tag_num)===1&&z.createElement("a",{target:"_blank",href:`/shixuns/${Vn==null?void 0:Vn.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:zn==null?void 0:zn.items,rowSelection:{type:"radio",selectedRowKeys:ra,preserveSelectedRowKeys:!0,getCheckboxProps:yn=>({disabled:yn.shixun_tag_num===1}),onChange(yn,Vn){var pa,Sa,Jn;console.log(yn),Ba(yn);const Da=[];for(const Bn of Ka)yn.includes(Bn.id)&&Da.push(Bn);const ya=Da.map(Bn=>Bn.id);for(const Bn of Vn)Bn&&yn.includes(Bn.id)&&!ya.includes(Bn.id)&&Da.push({id:Bn.id,difficulty:Bn.level,identifier:Bn.identifier,name:Bn.name,real_name:(pa=Bn==null?void 0:Bn.author_name)==null?void 0:pa.split("\u3001")[0],school_name:Bn.author_school_name,challenge_names:Bn.challenge_names,challenges:(Sa=Bn.challenge_names)==null?void 0:Sa.map((Tn,bn)=>({subject:Tn,id:bn,score:5})),score:((Jn=Bn.challenge_names)==null?void 0:Jn.length)*5,study_count:Bn.study_count,challenges_count:Bn.challenges_count});Aa(Da)}},pagination:{current:ta.page,pageSize:ta.limit,total:zn==null?void 0:zn.items_count,showTotal:yn=>z.createElement("span",null,"\u5171\xA0",z.createElement("span",{style:{color:"#165DFF"}},yn),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(yn,Vn){ma({page:yn,limit:Vn})},size:"default"},scroll:{y:400}}))},tl=ne(82438),nl=ne(49692),pi=(Le,Ue,et)=>new Promise((bt,ta)=>{var In=Hn=>{try{zn(et.next(Hn))}catch(xa){ta(xa)}},ma=Hn=>{try{zn(et.throw(Hn))}catch(xa){ta(xa)}},zn=Hn=>Hn.done?bt(Hn.value):Promise.resolve(Hn.value).then(In,ma);zn((et=et.apply(Le,Ue)).next())}),al=({visible:Le,getdata:Ue,onCancel:et,onRandomExchange:bt,selectFromProblemSet:ta,questionParams:In})=>{const[ma,zn]=(0,z.useState)(!1),[Hn,xa]=(0,z.useState)(!1),[ra,Ba]=(0,z.useState)({}),Ka=(0,me.useParams)(),[Aa,yn]=(0,z.useState)(),Vn=(pa,Sa)=>pi(void 0,null,function*(){xa(!0);const Jn=yield(0,pe.ZP)(`/api/exercises/${Ka.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:In.id,item_bank_id:pa,shixuns_info:[{id:pa,is_copy:Sa!=1,is_use:Sa!=1}]}});xa(!1),Jn!=null&&Jn.status||(Ne.ZP.info("\u6362\u9898\u6210\u529F"),et(),Ue())});return z.createElement(xe.default,{title:"\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F",open:Le,onCancel:et,centered:!0,maskClosable:!0,footer:null},z.createElement(je.Z,{justify:"center",className:"pb20"},z.createElement(Yi.Z,{onClick:bt},"\u968F\u673A\u66F4\u6362"),(In==null?void 0:In.type)!=="PRACTICAL"&&z.createElement(be.ZP,{style:{marginLeft:24},onClick:ta},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9"),(In==null?void 0:In.type)==="PRACTICAL"&&z.createElement(be.ZP,{style:{marginLeft:24},onClick:()=>{zn(!0)}},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9")),z.createElement(el,{open:ma,onCancel:()=>zn(!1),onOk:pa=>pi(void 0,null,function*(){if(console.log("----selectedRows",pa,Ka),(pa==null?void 0:pa.length)<=0){Ne.ZP.info("\u8BF7\u9009\u62E9\u5B9E\u8BAD");return}let Sa=pa==null?void 0:pa.map(Da=>Da==null?void 0:Da.id),Jn=yield(0,nl.Tr)({id:[...Sa],course_id:Ka.coursesId,type:"shixun"});(Jn==null?void 0:Jn.student_count)===0?Vn(Sa==null?void 0:Sa[0],1):(yn(Sa),Ba(Jn)),zn(!1)})}),z.createElement(tl.Z,{resdata:ra,type:"shixun",okloading:Hn,oktext:(ra==null?void 0:ra.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:pa=>pi(void 0,null,function*(){Vn(Aa==null?void 0:Aa[0],2)})}))},ol=ne(94734),Bi=ne(24334),Fi=ne(69304),wi=ne(68042),ni=ne(14165),rl=Object.defineProperty,Zr=Object.defineProperties,Ai=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,ji=Object.prototype.propertyIsEnumerable,Di=(Le,Ue,et)=>Ue in Le?rl(Le,Ue,{enumerable:!0,configurable:!0,writable:!0,value:et}):Le[Ue]=et,Er=(Le,Ue)=>{for(var et in Ue||(Ue={}))Li.call(Ue,et)&&Di(Le,et,Ue[et]);if(vi)for(var et of vi(Ue))ji.call(Ue,et)&&Di(Le,et,Ue[et]);return Le},Vr=(Le,Ue)=>Zr(Le,Ai(Ue)),yr=(Le,Ue,et)=>new Promise((bt,ta)=>{var In=Hn=>{try{zn(et.next(Hn))}catch(xa){ta(xa)}},ma=Hn=>{try{zn(et.throw(Hn))}catch(xa){ta(xa)}},zn=Hn=>Hn.done?bt(Hn.value):Promise.resolve(Hn.value).then(In,ma);zn((et=et.apply(Le,Ue)).next())}),il=({data:Le,submit:Ue,goBack:et,loading:bt,onTypeScore:ta,editPreview:In=!1,onSkipExamination:ma,selectValue:zn,onExchange:Hn,getdata:xa,handleMarkWrongQuestion:ra})=>{var Ba,Ka,Aa,yn,Vn,pa,Sa,Jn,Da,ya,Bn;const Tn=(0,z.useRef)(),[bn,An]=(0,z.useState)(null),[ja,ro]=(0,z.useState)(!1),[wo,Qo]=(0,z.useState)(!1),ia=(0,z.useRef)(),[er]=Pe.default.useForm(),tr=(0,me.useParams)(),[Ra,ao]=(0,z.useState)(!1);(0,z.useEffect)(()=>{ro(!0)},[]),(0,z.useEffect)(()=>{In||(0,Be.Dk)("\u8BD5\u5377\u9884\u89C8")},[In]);const io=["\u5BB9\u6613","\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],co={SINGLE:"\u5355\u9009\u9898",MULTIPLE:"\u591A\u9009\u9898",JUDGMENT:"\u5224\u65AD\u9898",COMPLETION:"\u586B\u7A7A\u9898",SUBJECTIVE:"\u7B80\u7B54\u9898",PRACTICAL:"\u5B9E\u8BAD\u9898",PROGRAM:"\u7F16\u7A0B\u9898",BPROGRAM:"\u7A0B\u5E8F\u586B\u7A7A\u9898",COMBINATION:"\u7EC4\u5408\u9898"},nr={single:"\u5355\u9009\u9898",multiple:"\u591A\u9009\u9898",judgement:"\u5224\u65AD\u9898",completion:"\u586B\u7A7A\u9898",subjective:"\u7B80\u7B54\u9898",practical:"\u5B9E\u8BAD\u9898",program:"\u7F16\u7A0B\u9898",bprogram:"\u7A0B\u5E8F\u586B\u7A7A\u9898",combination:"\u7EC4\u5408\u9898"},ai=St=>{var wn;const La=[];return z.createElement(z.Fragment,null,z.createElement("aside",{className:ie.single},(wn=St==null?void 0:St.choices)==null?void 0:wn.map((ue,le)=>(ue.is_answer&&La.push(ni.k4[le]),z.createElement("ul",{key:le},z.createElement("li",null,ni.k4[le],"\u3001"),z.createElement("li",null,z.createElement(de.Z,{value:ue.choice_text})))))),z.createElement("div",{className:ie.analysis},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",La.join(""),z.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",io[St.difficulty])),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:St.analysis?St.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(St==null?void 0:St.discipline_name)||"--"}/${St==null?void 0:St.sub_discipline_name}`),z.createElement(Re.Z,{title:St==null?void 0:St.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),St==null?void 0:St.tag_discipline_name)))))},hi=(St,wn)=>{var La;const ue=(La=St==null?void 0:St.standard_answer)==null?void 0:La.map((le,ye)=>{var Ae;return z.createElement("div",{key:ye},`\u7B54\u6848\uFF08\u586B\u7A7A${le==null?void 0:le.position}\uFF09\uFF1A${(Ae=le==null?void 0:le.answer_text)==null?void 0:Ae.join("\u3001")}`)});return z.createElement(z.Fragment,null,z.createElement("div",{className:ie.analysis},z.createElement("div",{style:{display:"flex"}},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),z.createElement("div",null,ue)),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:St.analysis?St.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),wn?`${(wn==null?void 0:wn.discipline_name)||"--"}/${wn==null?void 0:wn.sub_discipline_name}`:`${(St==null?void 0:St.discipline_name)||"--"}/${St==null?void 0:St.sub_discipline_name}`),z.createElement(Re.Z,{title:wn?wn==null?void 0:wn.tag_discipline_name:St==null?void 0:St.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),wn?wn==null?void 0:wn.tag_discipline_name:St==null?void 0:St.tag_discipline_name)))))},Si=St=>{var wn;const La=(wn=St==null?void 0:St.standard_answer)==null?void 0:wn.map((ue,le)=>z.createElement("div",{key:le},`\u7B54\u6848\uFF08\u586B\u7A7A${(ue==null?void 0:ue.position)||(ue==null?void 0:ue.exercise_choice_id)}\uFF09\uFF1A${ue==null?void 0:ue.answer_text}`));return z.createElement(z.Fragment,null,z.createElement("div",{className:ie.analysis},z.createElement("div",{style:{display:"flex"}},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),z.createElement("div",null,La)),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:St.analysis?St.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(St==null?void 0:St.discipline_name)||"--"}/${St==null?void 0:St.sub_discipline_name}`),z.createElement(Re.Z,{title:St==null?void 0:St.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),St==null?void 0:St.tag_discipline_name)))))},Pi=(St,wn)=>{var La;return z.createElement("div",{className:ie.analysis},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",(La=St==null?void 0:St.answer_texts)==null?void 0:La[0]),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:St.analysis?St.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),wn?`${(wn==null?void 0:wn.discipline_name)||"--"}/${wn==null?void 0:wn.sub_discipline_name}`:`${(St==null?void 0:St.discipline_name)||"--"}/${St==null?void 0:St.sub_discipline_name}`),z.createElement(Re.Z,{title:wn?wn==null?void 0:wn.tag_discipline_name:St==null?void 0:St.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),wn?wn==null?void 0:wn.tag_discipline_name:St==null?void 0:St.tag_discipline_name))))},Ei=St=>{var wn,La;return z.createElement("div",{className:ie.analysis},z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u9884\u671F\u8F93\u51FA:"),z.createElement(de.Z,{value:(wn=St==null?void 0:St.program_attr)==null?void 0:wn.description})),z.createElement("div",{style:{marginTop:20}},"\u6B63\u786E\u7B54\u6848\uFF1A",((La=St==null?void 0:St.program_attr)==null?void 0:La.answer_text)||"--"),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:St.analysis?St.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(St==null?void 0:St.discipline_name)||"--"}/${St==null?void 0:St.sub_discipline_name}`),z.createElement(Re.Z,{title:St==null?void 0:St.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),St==null?void 0:St.tag_discipline_name))))},Oi=(St,wn)=>{var La;return z.createElement("div",null,(La=St==null?void 0:St.sub_item_banks)==null?void 0:La.map((ue,le)=>{var ye,Ae;const Ge=[];return z.createElement(z.Fragment,null,z.createElement("div",{style:{marginLeft:25,fontSize:"16px",color:"#333",paddingTop:"15px"}},wn+1+"."+(le+1),"\uFF08",co[ue.item_type]||nr[ue.item_type],"\uFF09",ue.name),(ue.item_type=="SINGLE"||ue.item_type=="MULTIPLE"||ue.item_type=="JUDGMENT"||ue.item_type=="single"||ue.item_type=="multiple"||ue.item_type=="judgement")&&z.createElement(z.Fragment,null,z.createElement("aside",{className:ie.single},(ye=ue==null?void 0:ue.choices)==null?void 0:ye.map((Ze,lt)=>(Ze.is_answer&&Ge.push(ni.k4[lt]),z.createElement("ul",{key:lt},z.createElement("li",null,ni.k4[lt],"\u3001"),z.createElement("li",null,z.createElement(de.Z,{value:Ze.choice_text})))))),z.createElement("div",{className:ie.analysis},z.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",Ge.join(""),z.createElement("span",{className:"ml30"},"\u96BE\u5EA6\uFF1A",io[ue.difficulty])),z.createElement("aside",null,z.createElement("span",{className:ie.text},"\u89E3\u6790:"),z.createElement(de.Z,{value:ue.analysis?ue.analysis:"\u6682\u65E0\u89E3\u6790"})),z.createElement("ul",null,z.createElement("li",null,z.createElement("span",{style:{color:"#007AFF",marginRight:10}},"\u65B9\u5411&\u8BFE\u7A0B:"),`${(St==null?void 0:St.discipline_name)||"--"}/${St==null?void 0:St.sub_discipline_name}`),z.createElement(Re.Z,{title:St==null?void 0:St.tag_discipline_name},z.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},z.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),St==null?void 0:St.tag_discipline_name))))),(ue.item_type=="COMPLETION"||ue.item_type=="completion")&&hi(ue,St),(ue.item_type=="SUBJECTIVE"||ue.item_type=="subjective")&&Pi(ue,St),((Ae=Le==null?void 0:Le.exam)==null?void 0:Ae.exercise_status)===3&&z.createElement("div",{className:"flex gap-20px mt20"},z.createElement(Fi.Z,{state:ue==null?void 0:ue.is_wrong,onClick:()=>{ra==null||ra({value:Vr(Er({},ue),{question_id:ue==null?void 0:ue.id,question_score:ue==null?void 0:ue.score})})}}),ue.item_type=="single"&&z.createElement(be.ZP,{style:{color:"#3061D0"},onClick:()=>{Gi({value:ue})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848")))}))},oi=St=>{var wn,La,ue;return z.createElement("div",{style:{marginTop:"12px"}},(La=(wn=St==null?void 0:St.shixun)==null?void 0:wn.challenges)==null?void 0:La.map((le,ye)=>z.createElement("div",{className:"c-grey-666 font14 mb10 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},z.createElement("div",null,z.createElement("span",{className:"mr5"},"\u7B2C",ye+1,"\u5173"),z.createElement(Re.Z,{key:ye,title:le==null?void 0:le.challenge_name},z.createElement("span",null,(0,Be.Pq)(le==null?void 0:le.challenge_name,44)))),In&&z.createElement("div",null,"\u5206\u503C\uFF1A",le.score,"\u5206"))),z.createElement(me.Link,{style:{float:"right"},target:"_blank",to:`/shixuns/${(ue=St==null?void 0:St.shixun)==null?void 0:ue.identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5"),z.createElement("div",{style:{clear:"both"}}))},Ni=St=>{let wn=St.questions_score/St.questions_count;xe.default.confirm({icon:null,centered:!0,title:"\u5206\u6570\u8BBE\u7F6E",content:z.createElement("div",{className:ie.modalColumn},z.createElement("div",{className:ie.modalRow,style:{justifyContent:"flex-start"}},z.createElement("sup",{className:ie.sup},"*"),z.createElement("span",null,St==null?void 0:St.name,"\uFF1A"),z.createElement(re.Z,{min:0,precision:1,defaultValue:wn,onChange:La=>{wn=La}}),z.createElement("span",{className:"ml5"},"\u5206/\u9898"))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){var La;if(!wn)return Ne.ZP.warning("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A\u6216\u4E3A0"),Promise.reject();const ue={type:St==null?void 0:St.type,score:wn,scoreTotal:Number((La=wn*St.questions_count)==null?void 0:La.toFixed(1))};ta(ue)})})},ll=()=>{let St="";xe.default.confirm({icon:null,centered:!0,title:"\u4FDD\u5B58\u8BD5\u5377",content:z.createElement("div",{className:ie.modalColumn},z.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20"},z.createElement("img",{style:{marginRight:5},src:mt.Z}),"\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"),z.createElement("div",{className:ie.modalRow,style:{marginTop:20}},z.createElement("sup",{className:ie.sup},"*"),z.createElement("span",{style:{flexShrink:0}},"\u8BD5\u5377\u540D\u79F0\uFF1A"),z.createElement(Oe.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",min:0,maxLength:60,defaultValue:St,onChange:wn=>{St=wn.target.value}}))),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){var wn;if(!St)return Ne.ZP.warning("\u8BD5\u5377\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const La=[],ue=[],le=[],ye=[];(wn=Le==null?void 0:Le.questionList)==null||wn.forEach(Ge=>{var Ze;(Ze=Ge.questions)==null||Ze.forEach(lt=>{let ot=Ge.questions_score/Ge.questions_count;ot=ot&&ot.toFixed(1),Ge.type==="COMBINATION"&&le.push({id:lt.id,sub_item_bank_ids:lt.sub_item_banks.map(dt=>dt.id)}),Ge.type==="PRACTICAL"?ye.push(lt.id):(La.push(lt.id),ue.push(ot))})}),console.log("-----",le),yield Ue({item_bank_ids:La,item_bank_scores:ue,name:St,combination_item_banks:le,shixun_ids:ye})})})},bl=(St,wn,La,ue)=>{var le;const ye=`${location.pathname}${location.search}`,Ae=(le=ue.questions)==null?void 0:le.map(Ge=>Ge==null?void 0:Ge.id);if(ye.includes("exercise"))ia.current={id:St,ids:Ae,type:wn,index:La},Qo(!0);else{let Ge=xe.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u8981\u66F4\u6362\u8BE5\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!0,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){Ge.update({cancelButtonProps:{disabled:!0}}),yield Hn({single_question_id:St,seleted_item_bank_ids:Ae},{type:wn,index:La}),Ge.update({cancelButtonProps:{disabled:!1}}),Ne.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898")})})}},_i=St=>{var wn;const La=(wn=St.questions)==null?void 0:wn.map(ye=>ye==null?void 0:ye.id),ue=St.name;let le=xe.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:`\u786E\u8BA4\u66F4\u6362${ue}\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F`,cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){le.update({cancelButtonProps:{disabled:!0}}),yield Hn({seleted_item_bank_ids:La},{type:St.type}),le.update({cancelButtonProps:{disabled:!1}}),Ne.ZP.success(`\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210${ue}\u8BD5\u9898`)})})},xl=()=>{let St=xe.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u66F4\u6362\u9884\u89C8\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){St.update({cancelButtonProps:{disabled:!0}}),yield Hn(),St.update({cancelButtonProps:{disabled:!1}}),Ne.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u6574\u5F20\u8BD5\u9898")})})},yi=St=>{console.log(St,"key"),ma(St-1)},sl=(St,wn)=>{var La,ue;if(wn==="SINGLE")return z.createElement(z.Fragment,null,z.createElement(rt,{ref:Tn,editData:St,isEdit:!0}),z.createElement(we.Z,null));if(wn==="MULTIPLE")return z.createElement(z.Fragment,null,z.createElement(nn,{ref:Tn,editData:St,isEdit:!0}),z.createElement(we.Z,null));if(wn==="JUDGMENT")return z.createElement(z.Fragment,null,z.createElement(ht,{ref:Tn,editData:St,isEdit:!0}),z.createElement(we.Z,null));if(wn==="COMPLETION")return z.createElement(z.Fragment,null,z.createElement(ze,{ref:Tn,editData:St,isEdit:!0}),z.createElement(we.Z,null));if(wn==="SUBJECTIVE")return z.createElement(z.Fragment,null,z.createElement(aa,{ref:Tn,editData:St,isEdit:!0}),z.createElement(we.Z,null));if(wn==="COMBINATION")return z.createElement(z.Fragment,null,z.createElement(ti,{ref:Tn,editData:St,isEdit:!0}),z.createElement(we.Z,null));if(wn==="BPROGRAM")return z.createElement(z.Fragment,null,z.createElement(Pe.default,{form:er,style:{marginTop:20},onFinishFailed:le=>{var ye,Ae;le.errorFields[0].name.includes("standard_answers")?Ne.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ne.ZP.error(le.errorFields[0].errors[0]),er.scrollToField((Ae=(ye=le==null?void 0:le.errorFields)==null?void 0:ye[0])==null?void 0:Ae.name,{behavior:"smooth",block:"center"})},onFinish:le=>yr(void 0,null,function*(){var ye;let Ae=Vr(Er({question_score:St.score},le),{question_type:8,hack:Vr(Er({},le.hack),{difficult:St.program_attr.difficult}),hack_codes:Vr(Er({},le.hack_codes),{code:Bi.Base64.encode((ye=le.hack_codes)==null?void 0:ye.code)})});Ra&&(Ae.is_cover=1);const Ge=yield(0,pe.ZP)(`/api/exercise_questions/${St.id}.json`,{method:"put",body:Ae});(Ge==null?void 0:Ge.status)===0&&(Ne.ZP.success("\u7F16\u8F91\u6210\u529F"),yi(zn+1)),An(null)})},z.createElement(ol.tc,{form:er,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,hackidentifier:(La=St==null?void 0:St.program_attr)==null?void 0:La.identifier,answerKey:"standard_answers"}),z.createElement(we.Z,null)));if(wn==="PROGRAM"&&me.history.push(`/problems/${(ue=St==null?void 0:St.program_attr)==null?void 0:ue.identifier}/edit?type=exercises&express_id=${tr.categoryId}&question_id=${St==null?void 0:St.id}&score=${St==null?void 0:St.score}&callback_url=${location.pathname}&select=${zn}&exercise=true`),wn==="PRACTICAL")return z.createElement(z.Fragment,null,z.createElement(un,{ref:Tn,editData:St,isEdit:!0}),z.createElement(we.Z,null))},ul=(St,wn)=>yr(void 0,null,function*(){var La,ue,le,ye,Ae,Ge;const Ze=yield(La=Tn.current)==null?void 0:La.onSave();if(!Ze)return;const lt=gt=>{const wt=gt.map(Vt=>Vt.choice_text.trim().replace(/^\s+|\s+$/g,""));return new Set(wt).size!==wt.length},ot={question_score:wn.score,analysis:Ze.analysis};if(St==="SINGLE"||St==="MULTIPLE"||St==="JUDGMENT"){if(St!=="JUDGMENT"&&lt(Ze==null?void 0:Ze.choices)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}const gt=[],wt=[];ot.question_type=St==="JUDGMENT"?2:1,ot.question_title=Ze==null?void 0:Ze.name,(ue=Ze==null?void 0:Ze.choices)==null||ue.forEach((qt,Vt)=>{gt.push(qt.choice_text),qt!=null&&qt.is_answer&&wt.push(Vt+1)}),ot.question_choices=gt,ot.standard_answers=wt}if(St==="COMPLETION"){let gt=(le=Ze==null?void 0:Ze.standard_answers)==null?void 0:le.map((Vt,en)=>(Vt==null?void 0:Vt.score)<=0?en+1:null).filter(Vt=>Vt!==null);if((gt==null?void 0:gt.length)>0)return Ne.ZP.warning(`\u7B2C${gt.join("\u3001")}\u9879\u7684\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A`),!1;let wt=(ye=Ze==null?void 0:Ze.standard_answers)==null?void 0:ye.reduce((Vt,en)=>Vt+(Number(en==null?void 0:en.score)||0),0);if(parseFloat(wt.toFixed(2))!=(ot==null?void 0:ot.question_score))return Ne.ZP.warning("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01"),!1;ot.is_ordered=Ze.is_ordered,ot.question_title=Ze==null?void 0:Ze.name,ot.use_blank_score=Ze==null?void 0:Ze.use_blank_score,ot.question_type=3;const qt=[];(Ae=Ze==null?void 0:Ze.standard_answers)==null||Ae.forEach((Vt,en)=>{qt.push({choice_id:Vt.position,answer_text:Vt.answer_text,score:Vt.score})}),ot.standard_answers=qt,ot.downcase=Ze==null?void 0:Ze.downcase,ot.no_space=Ze==null?void 0:Ze.no_space}if(St==="SUBJECTIVE"&&(console.log("editorData"),console.log(Ze),ot.question_title=Ze==null?void 0:Ze.name,ot.question_type=4,ot.answer_texts=Ze==null?void 0:Ze.answer_texts,ot.use_keywords=Ze==null?void 0:Ze.use_keywords,ot.keywords=Ze==null?void 0:Ze.keywords),St==="COMBINATION"){ot.question_title=Ze==null?void 0:Ze.name,ot.question_type=7;try{ot.sub_questions=(Ge=Ze==null?void 0:Ze.sub_item_banks)==null?void 0:Ge.map((gt,wt)=>{var qt,Vt,en;if((gt==null?void 0:gt.item_type)=="single"||(gt==null?void 0:gt.item_type)=="multiple"){if(lt(gt==null?void 0:gt.choices))throw new Error(`\u7B2C${wt+1}\u5C0F\u9898\u9009\u9879\u5185\u5BB9\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58`);const En=[],gn=[];return(qt=gt==null?void 0:gt.choices)==null||qt.forEach((vn,mn)=>{En.push(vn.choice_text),vn!=null&&vn.is_answer&&gn.push(mn+1)}),{id:gt.id,question_id:gt.id,question_title:gt.name,difficulty:gt.difficulty,question_type:(gt==null?void 0:gt.item_type)=="single"?0:(gt==null?void 0:gt.item_type)=="multiple"?1:2,question_choices:En,standard_answers:gn,analysis:gt.analysis,question_score:gt==null?void 0:gt.score}}else if((gt==null?void 0:gt.item_type)=="completion"){let En=(Vt=gt==null?void 0:gt.standard_answer)==null?void 0:Vt.reduce((vn,mn)=>vn+(Number(mn==null?void 0:mn.score)||0),0);if(parseFloat(En.toFixed(2))!=(gt==null?void 0:gt.score))throw new Error("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01");const gn=[];return(en=gt==null?void 0:gt.standard_answer)==null||en.forEach((vn,mn)=>{gn.push({choice_id:vn.position,answer_text:vn.answer_text,score:vn.score})}),{id:gt.id,question_id:gt.id,is_ordered:gt.is_ordered,question_title:gt.name,difficulty:gt.difficulty,question_type:3,standard_answers:gn,use_blank_score:gt.use_blank_score,analysis:gt.analysis,downcase:gt==null?void 0:gt.downcase,no_space:gt==null?void 0:gt.no_space,question_score:gt==null?void 0:gt.score}}else if((gt==null?void 0:gt.item_type)=="subjective")return{id:gt.id,question_id:gt.id,question_title:gt.name,question_type:4,difficulty:gt.difficulty,answer_texts:gt==null?void 0:gt.answer_texts,analysis:gt.analysis,question_score:gt==null?void 0:gt.score,use_keywords:gt.use_keywords,keywords:gt==null?void 0:gt.keywords}})}catch(gt){Ne.ZP.warning(gt.message);return}delete ot.analysis}let dt=!1;(wn==null?void 0:wn.is_my)===1&&(dt=yield new Promise((wt,qt)=>{xe.default.confirm({title:"\u63D0\u793A",content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>{wt(!0)},onCancel:()=>{wt(!1)}})})),dt&&(ot.is_cover=1);const At=St!=="PRACTICAL"?yield(0,pe.ZP)(`/api/exercise_questions/${wn.id}.json`,{method:"put",body:ot}):yield(0,pe.ZP)(`/api/exercise_questions/${wn.id}/update_shixun_score.json`,{method:"post",body:Er({},Ze)});(At==null?void 0:At.status)===0&&(Ne.ZP.success("\u7F16\u8F91\u6210\u529F"),yi(zn+1),An(null))}),dl=()=>yr(void 0,null,function*(){(0,me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u66F4\u65B0\u8BD5\u5377\uFF0C\u8BF7\u7A0D\u540E..."}}),(yield(0,pe.ZP)(`/api/exercises/${tr.categoryId}/sync_random_question.json`,{method:"post"})).status===0&&(yield ma(zn),Ne.ZP.success("\u66F4\u65B0\u6210\u529F")),(0,me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),Gi=({value:St}={})=>{var wn;const La=[];let ue=[];const le=(wn=St==null?void 0:St.choices)==null?void 0:wn.map((Ae,Ge)=>{var Ze;const lt=Ge+1;return Ae!=null&&Ae.is_answer&&(La.push(lt),ue.push(lt)),{value:lt,label:z.createElement(de.Z,{className:"c-black font14",value:`${(Ze=ni.k4)==null?void 0:Ze[Ge]}. ${Ae==null?void 0:Ae.choice_text}`}),disabled:Ae==null?void 0:Ae.origin_standard_answer}}),ye=xe.default.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:z.createElement(z.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",La==null?void 0:La.map(Ae=>{var Ge;return(Ge=ni.k4)==null?void 0:Ge[Ae-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",z.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",z.createElement("br",null),z.createElement(De.default.Group,{className:"flex-col mt20",options:le,defaultValue:ue,onChange:Ae=>{ue=Ae}})),onOk:()=>yr(void 0,null,function*(){const Ae=yield(0,pe.ZP)(`/api/exercises/${tr.categoryId}/questions/${St==null?void 0:St.id}/add_standard_answers.json`,{method:"put",body:{standard_answer:ue}});(Ae==null?void 0:Ae.status)===0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),yi(zn+1))})})},Hi=(Ba=Le==null?void 0:Le.questionList)==null?void 0:Ba.reduce((St,wn)=>St+Number(wn.questions_score),0),Ki=In&&((Ka=Le==null?void 0:Le.exam)==null?void 0:Ka.exercise_status)!==1;return z.createElement("section",{className:ie.wrap},z.createElement("div",{id:"id_left_preview",className:ie.left,onMouseEnter:St=>{const wn=document.getElementById("id_left_preview");wn.style.overflowY="auto"},onMouseLeave:St=>{const wn=document.getElementById("id_left_preview");wn.style.overflowY="hidden"}},z.createElement("div",{className:ie.title},z.createElement("div",{className:"body-overflow-initial"},z.createElement("b",null),z.createElement("span",null,"\u7B54\u9898\u5361"))),z.createElement("div",{className:ie.total},z.createElement("div",null,z.createElement("img",{src:it}),z.createElement("span",null,"\u9898\u6570(\u9053)"),z.createElement("aside",null,Le==null?void 0:Le.all_questions_count)),z.createElement("div",{className:"mr30 ml30"},z.createElement("img",{src:$e}),z.createElement("span",null,"\u603B\u5206(\u5206)"),z.createElement("aside",null,Hi&&Hi.toFixed(1))),z.createElement("div",null,z.createElement("img",{src:se}),z.createElement("span",null,"\u65F6\u957F(\u5206)"),z.createElement("aside",null,((Aa=Le==null?void 0:Le.exam)==null?void 0:Aa.time)===-1||((yn=Le==null?void 0:Le.exam)==null?void 0:yn.time)===null?"\u4E0D\u9650":(Vn=Le==null?void 0:Le.exam)==null?void 0:Vn.time))),(pa=Le==null?void 0:Le.questionList)==null?void 0:pa.map((St,wn)=>{var La;return z.createElement("div",{className:ie.list,key:wn},z.createElement("div",{className:ie.name},z.createElement("b",null),z.createElement("span",null,St.name)),z.createElement("aside",null,z.createElement("div",null,"\u5171",z.createElement("span",{className:ie.b},St.questions_count),"\u9898 ",z.createElement("span",{className:ie.l},"|"),"\u5171",z.createElement("span",{className:ie.r},St.questions_score),"\u5206"),z.createElement("div",{className:ie.answerSheet},(La=St==null?void 0:St.questions)==null?void 0:La.map((ue,le)=>z.createElement("div",{onClick:()=>{const ye=`Anchor_${ue==null?void 0:ue.id}`;let Ae=document.getElementById(ye);Ae&&setTimeout(()=>Ae.scrollIntoView({block:"center",behavior:"smooth"}))},key:ue==null?void 0:ue.id,className:ie.tag},le+1)))))})),z.createElement("div",{className:ie.right},z.createElement("div",{className:ie.examName,id:"examName"},z.createElement("div",{className:ie.name},z.createElement(Re.Z,{title:(Sa=Le==null?void 0:Le.exam)==null?void 0:Sa.name,getPopupContainer:St=>St.parentNode},z.createElement("span",{className:ie.t},(Jn=Le==null?void 0:Le.exam)==null?void 0:Jn.name))),In&&((Da=Le==null?void 0:Le.exam)==null?void 0:Da.exercise_status)===1&&z.createElement(Nr.op,{openLoading:!0,shape:"default",onClick:()=>{xe.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u6839\u636E\u6700\u65B0\u7684\u968F\u673A\u7EC4\u5377\u62BD\u9898\u89C4\u5219\u91CD\u65B0\u751F\u6210\u8BD5\u5377\u5417\uFF1F",onOk:()=>{dl()}})},type:"primary"},"\u66F4\u65B0\u8BD5\u5377"),!In&&z.createElement(be.ZP,{onClick:xl,type:"primary"},"\u968F\u673A\u66F4\u6362")),z.createElement("div",{className:ie.topWarp},(ya=Le==null?void 0:Le.questionList)==null?void 0:ya.map((St,wn)=>{var La,ue;return z.createElement(z.Fragment,{key:wn},z.createElement("div",{className:ie.head,style:wn===0?{border:0,marginTop:-16}:{}},z.createElement("div",{className:ie.name},z.createElement("b",null),z.createElement("span",null,St.name)),z.createElement("div",{className:ie.so},"\u5171",z.createElement("span",{className:ie.b},St.questions_count," "),"\u9898 ",St.type==="COMBINATION"&&`\uFF08\u5305\u542B${(La=St==null?void 0:St.questions)==null?void 0:La.map(le=>{var ye;return(ye=le==null?void 0:le.sub_item_banks)==null?void 0:ye.length}).reduce((le,ye)=>le+ye)}\u5C0F\u9898\uFF09`,z.createElement("span",{className:ie.l},"|"),"\u5171",z.createElement("span",{className:ie.r},St.questions_score),"\u5206"),!In&&z.createElement("div",{className:ie.btn},z.createElement(be.ZP,{onClick:()=>{Ni(St)},type:"primary",ghost:!0,className:"mr20"},"\u8BBE\u7F6E\u5F97\u5206"),z.createElement(be.ZP,{onClick:()=>_i(St),type:"primary",ghost:!0},"\u968F\u673A\u66F4\u6362"))),(ue=St==null?void 0:St.questions)==null?void 0:ue.map((le,ye)=>{var Ae,Ge,Ze,lt;return bn===(le==null?void 0:le.id)?z.createElement("div",{id:`Anchor_${le==null?void 0:le.id}`,className:ie.content,style:{padding:0,marginTop:24},key:le==null?void 0:le.id},z.createElement("div",{style:{float:"right",marginTop:`${(St==null?void 0:St.type)==="PRACTICAL"?"-2px":"-6px"}`}},z.createElement(be.ZP,{onClick:()=>An(null),className:"mr20",type:"primary",ghost:!0},"\u53D6\u6D88"),z.createElement(be.ZP,{onClick:()=>{ul(St==null?void 0:St.type,le)},type:"primary"},"\u4FDD\u5B58")),sl(le,St.type)):z.createElement("div",{id:`Anchor_${le==null?void 0:le.id}`,className:ie.content,key:le==null?void 0:le.id},z.createElement("div",{className:ie.titleWrap},(le==null?void 0:le.item_type)==="bprogram"?z.createElement(de.Z,{style:{paddingRight:10},value:ye+1+"\u3001"+((Ae=le==null?void 0:le.program_attr)==null?void 0:Ae.description)}):z.createElement(de.Z,{style:{paddingRight:10},className:ie.titleHtml,value:ye+1+`\u3001${(le==null?void 0:le.item_type)==="combination"?"\uFF08\u9898\u5E72\uFF09":""}`+(le==null?void 0:le.name)}),In&&z.createElement(be.ZP,{onClick:()=>{var ot,dt,At;if(bn){Ne.ZP.warning("\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898");return}er.setFieldsValue({standard_answers:le==null?void 0:le.standard_answer,hack:Er(Er({},le),le==null?void 0:le.program_attr),hack_codes:Vr(Er({},le==null?void 0:le.program_attr),{code:Bi.Base64.decode(((ot=le==null?void 0:le.program_attr)==null?void 0:ot.code)||"")}),hack_sets:Er({},(dt=le==null?void 0:le.hack_sets)==null?void 0:dt[0])}),(le==null?void 0:le.item_type)=="program"?me.history.push(`/problems/newedit/${(At=le==null?void 0:le.program_attr)==null?void 0:At.identifier}?type=exercises&express_id=${tr.categoryId}&question_id=${le==null?void 0:le.id}&score=${le==null?void 0:le.score}&exercise=true&callback_url=/classrooms/${tr.coursesId}/exercise/${tr.categoryId}/detail?random=true`):An(le==null?void 0:le.id)},type:"primary",style:{marginLeft:"auto"},ghost:!0},"\u7F16\u8F91"),!Ki&&z.createElement(be.ZP,{disabled:Ki,className:"ml20",onClick:()=>bl(le==null?void 0:le.id,St.type,ye,St),type:"primary",ghost:!0},"\u6362\u4E00\u9898")),(le==null?void 0:le.item_type)==="bprogram"&&z.createElement(de.Z,{style:{paddingRight:10,paddingLeft:25},showProgramFill:!0,disabledFill:!0,className:ie.titleHtml,value:Bi.Base64.decode(((Ge=le==null?void 0:le.program_attr)==null?void 0:Ge.code)||"")}),(St.type==="SINGLE"||St.type==="JUDGMENT"||St.type==="MULTIPLE")&&ai(le),St.type==="COMPLETION"&&hi(le),St.type==="SUBJECTIVE"&&Pi(le),St.type==="PROGRAM"&&Ei(le),St.type==="BPROGRAM"&&Si(le),St.type==="COMBINATION"&&Oi(le,ye),St.type==="PRACTICAL"&&oi(le),z.createElement(je.Z,{className:"mt20",wrap:!1,align:"middle",gutter:20},((Ze=Le==null?void 0:Le.exam)==null?void 0:Ze.exercise_status)===3&&!["PROGRAM","BPROGRAM","PRACTICAL","COMBINATION"].includes(St.type)&&z.createElement(Ee.Z,null,z.createElement(Fi.Z,{state:le==null?void 0:le.is_wrong,onClick:()=>{ra==null||ra({value:Vr(Er({},le),{question_id:le==null?void 0:le.id,question_score:le==null?void 0:le.score})})}})),["PROGRAM","BPROGRAM","PRACTICAL"].includes(St.type)&&(le==null?void 0:le.show_resubmit)&&z.createElement(Ee.Z,null,z.createElement(wi.C,{dataSource:Vr(Er({},le),{question_id:le==null?void 0:le.id})})),((lt=Le==null?void 0:Le.exam)==null?void 0:lt.exercise_status)===3&&["SINGLE"].includes(St.type)&&z.createElement(Ee.Z,null,z.createElement(be.ZP,{style:{color:"#3061D0"},onClick:()=>{Gi({value:le})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))))}))}))),In?z.createElement(Nr.vr,null,z.createElement(oe.Z,{showTotal:Be.rU,total:(Bn=Le==null?void 0:Le.exam)==null?void 0:Bn.total_num,pageSize:1,current:zn+1,showSizeChanger:!1,onChange:yi,showQuickJumper:!1,hideOnSinglePage:!1})):z.createElement(Nr.vr,{LeftContent:z.createElement(Nr.op,{onClick:et,shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u8FD4\u56DE"),RightContent:z.createElement(je.Z,{align:"middle"},z.createElement(E.Z,{color:"#55575D",overlayClassName:ie.popover,open:ja,getPopupContainer:St=>St==null?void 0:St.parentNode,content:"\u5982\u60A8\u5BF9\u6B64\u4EFD\u8BD5\u9898\u6EE1\u610F\uFF0C\u53EF\u5C06\u6B64\u4EFD\u8BD5\u9898\u4FDD\u5B58\u4E3A\u56FA\u5B9A\u8BD5\u5377"},z.createElement(Nr.op,{onMouseEnter:()=>ro(!0),onMouseLeave:()=>ro(!1),onClick:()=>ll(),shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u4FDD\u5B58")),z.createElement(Nr.op,{shape:"default",type:"primary",onClick:()=>Ue(),style:{height:38,marginLeft:20}},"\u63D0\u4EA4"))}),z.createElement(al,{visible:wo,questionParams:ia.current,getdata:xa,onRandomExchange:()=>yr(void 0,null,function*(){const St=ia.current;yield Hn({single_question_id:St.id,seleted_item_bank_ids:St.ids},{type:St.type,index:St.index}),Qo(!1)}),selectFromProblemSet:()=>{const St=ia.current,wn=`${location.pathname}${location.search}`;wn.includes("exercise")&&me.history.push(`/paperlibrary/exchangequestion?type=exercise&qid=${St.id}&qtype=${St.type}&exerciseid=${tr.categoryId}&from=${wn}`)},onCancel:()=>{Qo(!1)}}))}},76175:function(pt,vt,ne){"use strict";ne.r(vt),ne.d(vt,{default:function(){return y}});var z=ne(59301),ie=ne(89070),Pe={flex_box_center:"flex_box_center___kQBcj",flex_space_between:"flex_space_between___Znlbo",flex_box_vertical_center:"flex_box_vertical_center___CPD50",flex_box_center_end:"flex_box_center_end___jzPvK",flex_box_column:"flex_box_column___cvIBS",wrap:"wrap___lab8O",crumbs:"crumbs___qvTza"},Re=ne(92744),be=ne(8591),xe=ne(61621),re=ne(99064),Ne=ne(955),Oe=ne(59301),we=Object.defineProperty,De=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,oe=(x,ee,te)=>ee in x?we(x,ee,{enumerable:!0,configurable:!0,writable:!0,value:te}):x[ee]=te,E=(x,ee)=>{for(var te in ee||(ee={}))je.call(ee,te)&&oe(x,te,ee[te]);if(De)for(var te of De(ee))Ee.call(ee,te)&&oe(x,te,ee[te]);return x},a=(x,ee,te)=>new Promise((ae,se)=>{var de=pe=>{try{Be(te.next(pe))}catch(Fe){se(Fe)}},me=pe=>{try{Be(te.throw(pe))}catch(Fe){se(Fe)}},Be=pe=>pe.done?ae(pe.value):Promise.resolve(pe.value).then(de,me);Be((te=te.apply(x,ee)).next())});const b=({paperlibrary:x,user:ee,globalSetting:te,dispatch:ae,location:se})=>{var de,me,Be,pe;const[Fe]=(0,ie.useSearchParams)(),ge=Fe.get("select")||0,[tt,Ie]=(0,z.useState)(!1),[Qe,_e]=(0,z.useState)(!0),[We,it]=(0,z.useState)(Number(ge)),[Ct,nt]=(0,z.useState)({}),Lt=(0,ie.useParams)(),{userInfo:Xe}=ee,{actionTabs:xt}=x;(0,z.useEffect)(()=>(ae({type:"globalSetting/footerToggle",payload:!1}),()=>{ae({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,z.useEffect)(()=>(ae({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),ae({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),ae({type:"exercise/getWorkSetting",payload:E({},Lt)}),()=>{ae({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),ae({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),(0,z.useEffect)(()=>{Mt(We)},[]),(0,z.useEffect)(()=>{var Tt;(Tt=xt==null?void 0:xt.params)!=null&&Tt.isUpdateData&&Mt(We)},[(de=xt==null?void 0:xt.params)==null?void 0:de.isUpdateData]);const Mt=(Tt=0)=>a(void 0,null,function*(){console.log(Lt),_e(!0);const Se=yield(0,re.ZP)(`/api/exercises/${Lt.categoryId}/preview_random_exercise.json`,{method:"get",params:{num:Tt}});ae({type:"paperlibrary/setActionTabs",payload:{params:{isUpdateData:!1}}}),_e(!1),nt((0,Ne.PF)(Se))}),Te=()=>{ie.history.push(`/classrooms/${Lt.coursesId}/exercise`)},$e=()=>{alert("\u4FDD\u5B58")},mt=(Tt,Se)=>a(void 0,null,function*(){const Ft=yield(0,re.ZP)(`/api/exercises/${Lt.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:Tt==null?void 0:Tt.single_question_id}});Ft!=null&&Ft.question&&(be.ZP.info("\u6362\u9898\u6210\u529F"),Mt(We))}),zt=Tt=>a(void 0,null,function*(){document.body.scrollIntoView(),it(Tt),yield Mt(Tt)}),st=Tt=>{ae({type:"exercise/setActionTabs",payload:{key:"\u6807\u8BB0\u9519\u9898",params:Tt}})};return Oe.createElement("section",{className:Pe.wrap},Oe.createElement(xe.Z,{loading:Qe,active:!0,paragraph:{rows:5}},((Be=(me=(0,ie.useLocation)())==null?void 0:me.pathname)==null?void 0:Be.includes("preview"))&&Oe.createElement("div",{className:Pe.crumbs},Oe.createElement("b",null),Oe.createElement("span",{className:"current",onClick:()=>ie.history.push(`/classrooms/${Lt.coursesId}/exercise`)},`${(pe=Xe==null?void 0:Xe.course)==null?void 0:pe.course_name}>`),Oe.createElement("span",{className:"current",onClick:()=>ie.history.push(`/classrooms/${Lt.coursesId}/exercise`)},"\u8BD5\u5377\u5217\u8868>"),Oe.createElement("span",{style:{color:"#bebebe"}},"\u9884\u89C8")),Oe.createElement(Re.Z,{loading:tt,submit:$e,goBack:Te,data:Ct,getdata:()=>{Mt(We)},selectValue:We,editPreview:!0,onExchange:mt,onSkipExamination:zt,handleMarkWrongQuestion:st})))};var y=(0,ie.connect)(({paperlibrary:x,user:ee,globalSetting:te})=>({paperlibrary:x,user:ee,globalSetting:te}))(b)},94860:function(pt,vt,ne){"use strict";ne.d(vt,{g:function(){return be}});var z=ne(59301),ie=ne(80401),Pe=ne(26422),Re=(xe,re,Ne)=>new Promise((Oe,we)=>{var De=oe=>{try{Ee(Ne.next(oe))}catch(E){we(E)}},je=oe=>{try{Ee(Ne.throw(oe))}catch(E){we(E)}},Ee=oe=>oe.done?Oe(oe.value):Promise.resolve(oe.value).then(De,je);Ee((Ne=Ne.apply(xe,re)).next())});const be=()=>{const[xe,re]=(0,z.useState)([]);return(0,z.useEffect)(()=>{Re(void 0,null,function*(){const Oe=yield(0,ie.d1)({source:"question"});Oe!=null&&Oe.disciplines&&re((0,Pe.L)(Oe==null?void 0:Oe.disciplines))})},[]),xe}},83312:function(pt,vt,ne){"use strict";ne.d(vt,{U:function(){return Oe}});var z=ne(59301),ie=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,xe=(we,De,je)=>De in we?ie(we,De,{enumerable:!0,configurable:!0,writable:!0,value:je}):we[De]=je,re=(we,De)=>{for(var je in De||(De={}))Re.call(De,je)&&xe(we,je,De[je]);if(Pe)for(var je of Pe(De))be.call(De,je)&&xe(we,je,De[je]);return we},Ne=(we,De,je)=>new Promise((Ee,oe)=>{var E=y=>{try{b(je.next(y))}catch(x){oe(x)}},a=y=>{try{b(je.throw(y))}catch(x){oe(x)}},b=y=>y.done?Ee(y.value):Promise.resolve(y.value).then(E,a);b((je=je.apply(we,De)).next())});function Oe(we,De){const[je,Ee]=(0,z.useState)(De),[oe,E]=(0,z.useState)(!1),[a,b]=(0,z.useState)();return[je,oe,(x,ee=!1)=>Ne(this,null,function*(){const te=ee?De:re(re({},je),x);E(!0),Ee(te);const ae=yield we(te);return E(!1),b(ae),ae}),a]}},50371:function(pt,vt){"use strict";function ne(){const z=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ie=1;ie<arguments.length;ie++){const Pe=ie<0||arguments.length<=ie?void 0:arguments[ie];Pe&&Object.keys(Pe).forEach(Re=>{const be=Pe[Re];be!==void 0&&(z[Re]=be)})}return z}vt.Z=ne},77578:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return z}});const z=ie=>ie?typeof ie=="function"?ie():ie:null},13845:function(pt,vt,ne){"use strict";ne.d(vt,{F:function(){return z},Z:function(){return ie}});function z(Pe){return Pe!=null&&Pe===Pe.window}function ie(Pe,Re){var be,xe;if(typeof window=="undefined")return 0;const re=Re?"scrollTop":"scrollLeft";let Ne=0;return z(Pe)?Ne=Pe[Re?"pageYOffset":"pageXOffset"]:Pe instanceof Document?Ne=Pe.documentElement[re]:(Pe instanceof HTMLElement||Pe)&&(Ne=Pe[re]),Pe&&!z(Pe)&&typeof Ne!="number"&&(Ne=(xe=((be=Pe.ownerDocument)!==null&&be!==void 0?be:Pe).documentElement)===null||xe===void 0?void 0:xe[re]),Ne}},56762:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return ie}});var z=ne(59301);function ie(){const[,Pe]=z.useReducer(Re=>Re+1,0);return Pe}},68031:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Re}});var z=ne(16089);function ie(be,xe,re,Ne){const Oe=re-xe;return be/=Ne/2,be<1?Oe/2*be*be*be+xe:Oe/2*((be-=2)*be*be+2)+xe}var Pe=ne(13845);function Re(be){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:Ne,duration:Oe=450}=xe,we=re(),De=(0,Pe.Z)(we,!0),je=Date.now(),Ee=()=>{const E=Date.now()-je,a=ie(E>Oe?Oe:E,De,be,Oe);(0,Pe.F)(we)?we.scrollTo(window.pageXOffset,a):we instanceof Document||we.constructor.name==="HTMLDocument"?we.documentElement.scrollTop=a:we.scrollTop=a,E<Oe?(0,z.Z)(Ee):typeof Ne=="function"&&Ne()};(0,z.Z)(Ee)}},19842:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Wn}});var z=ne(26407),ie=ne(59301),Pe=ne(33853),Re=ne(58617),be=ne(38819),xe=ne(92310),re=ne.n(xe),Ne=ne(92413),Oe=ne(33606),we=ne(37061),De=ne(77861),je=ne(17115),Ee=ne(90782),oe=ne(6089),E=ne(18929),a=ie.createContext(null),b=a,y=ne(39559),x=ne(400),ee=ne(33708),te="__rc_cascader_search_mark__",ae=function(rt,Pt,Bt){var Jt=Bt.label;return Pt.some(function(Wt){return String(Wt[Jt]).toLowerCase().includes(rt.toLowerCase())})},se=function(rt,Pt,Bt,Jt){return Pt.map(function(Wt){return Wt[Jt.label]}).join(" / ")},de=function(Me,rt,Pt,Bt,Jt,Wt){var Kt=Jt.filter,Ve=Kt===void 0?ae:Kt,Ye=Jt.render,Je=Ye===void 0?se:Ye,Et=Jt.limit,Gt=Et===void 0?50:Et,It=Jt.sort;return ie.useMemo(function(){var dn=[];if(!Me)return[];function an(Xt,cn){var da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Xt.forEach(function(Ut){if(!(!It&&Gt!==!1&&Gt>0&&dn.length>=Gt)){var kn=[].concat((0,z.Z)(cn),[Ut]),aa=Ut[Pt.children],va=da||Ut.disabled;if((!aa||aa.length===0||Wt)&&Ve(Me,kn,{label:Pt.label})){var fn;dn.push((0,ee.Z)((0,ee.Z)({},Ut),{},(fn={disabled:va},(0,x.Z)(fn,Pt.label,Je(Me,kn,Bt,Pt)),(0,x.Z)(fn,te,kn),(0,x.Z)(fn,Pt.children,void 0),fn)))}aa&&an(Ut[Pt.children],kn,va)}})}return an(rt,[]),It&&dn.sort(function(Xt,cn){return It(Xt[te],cn[te],Me,Pt)}),Gt!==!1&&Gt>0?dn.slice(0,Gt):dn},[Me,rt,Pt,Bt,Je,Wt,Ve,It,Gt])},me="__RC_CASCADER_SPLIT__",Be="SHOW_PARENT",pe="SHOW_CHILD";function Fe(Me){return Me.join(me)}function ge(Me){return Me.map(Fe)}function tt(Me){return Me.split(me)}function Ie(Me){var rt=Me||{},Pt=rt.label,Bt=rt.value,Jt=rt.children,Wt=Bt||"value";return{label:Pt||"label",value:Wt,key:Wt,children:Jt||"children"}}function Qe(Me,rt){var Pt,Bt;return(Pt=Me.isLeaf)!==null&&Pt!==void 0?Pt:!((Bt=Me[rt.children])!==null&&Bt!==void 0&&Bt.length)}function _e(Me){var rt=Me.parentElement;if(rt){var Pt=Me.offsetTop-rt.offsetTop;Pt-rt.scrollTop<0?rt.scrollTo({top:Pt}):Pt+Me.offsetHeight-rt.scrollTop>rt.offsetHeight&&rt.scrollTo({top:Pt+Me.offsetHeight-rt.offsetHeight})}}function We(Me,rt){return Me.map(function(Pt){var Bt;return(Bt=Pt[te])===null||Bt===void 0?void 0:Bt.map(function(Jt){return Jt[rt.value]})})}function it(Me,rt,Pt){var Bt=new Set(Me),Jt=rt();return Me.filter(function(Wt){var Kt=Jt[Wt],Ve=Kt?Kt.parent:null,Ye=Kt?Kt.children:null;return Kt&&Kt.node.disabled?!0:Pt===pe?!(Ye&&Ye.some(function(Je){return Je.key&&Bt.has(Je.key)})):!(Ve&&!Ve.node.disabled&&Bt.has(Ve.key))})}function Ct(Me,rt,Pt){for(var Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Jt=rt,Wt=[],Kt=function(){var Je,Et,Gt,It=Me[Ve],dn=(Je=Jt)===null||Je===void 0?void 0:Je.findIndex(function(Xt){var cn=Xt[Pt.value];return Bt?String(cn)===String(It):cn===It}),an=dn!==-1?(Et=Jt)===null||Et===void 0?void 0:Et[dn]:null;Wt.push({value:(Gt=an==null?void 0:an[Pt.value])!==null&&Gt!==void 0?Gt:It,index:dn,option:an}),Jt=an==null?void 0:an[Pt.children]},Ve=0;Ve<Me.length;Ve+=1)Kt();return Wt}var nt=function(Me,rt,Pt,Bt,Jt){return ie.useMemo(function(){var Wt=Jt||function(Kt){var Ve=Bt?Kt.slice(-1):Kt,Ye=" / ";return Ve.every(function(Je){return["string","number"].includes((0,y.Z)(Je))})?Ve.join(Ye):Ve.reduce(function(Je,Et,Gt){var It=ie.isValidElement(Et)?ie.cloneElement(Et,{key:Gt}):Et;return Gt===0?[It]:[].concat((0,z.Z)(Je),[Ye,It])},[])};return Me.map(function(Kt){var Ve,Ye,Je=Ct(Kt,rt,Pt),Et=Wt(Je.map(function(It){var dn,an=It.option,Xt=It.value;return(dn=an==null?void 0:an[Pt.label])!==null&&dn!==void 0?dn:Xt}),Je.map(function(It){var dn=It.option;return dn})),Gt=Fe(Kt);return{label:Et,value:Gt,key:Gt,valueCells:Kt,disabled:(Ve=Je[Je.length-1])===null||Ve===void 0||(Ye=Ve.option)===null||Ye===void 0?void 0:Ye.disabled}})},[Me,rt,Pt,Jt,Bt])},Lt=ne(71430),Xe=function(Me,rt){var Pt=ie.useRef({options:null,info:null}),Bt=ie.useCallback(function(){return Pt.current.options!==Me&&(Pt.current.options=Me,Pt.current.info=(0,Lt.I8)(Me,{fieldNames:rt,initWrapper:function(Wt){return(0,ee.Z)((0,ee.Z)({},Wt),{},{pathKeyEntities:{}})},processEntity:function(Wt,Kt){var Ve=Wt.nodes.map(function(Ye){return Ye[rt.value]}).join(me);Kt.pathKeyEntities[Ve]=Wt,Wt.key=Ve}})),Pt.current.info.pathKeyEntities},[rt,Me]);return Bt},xt=function(Me,rt){return ie.useCallback(function(Pt){var Bt=[],Jt=[];return Pt.forEach(function(Wt){var Kt=Ct(Wt,Me,rt);Kt.every(function(Ve){return Ve.option})?Jt.push(Wt):Bt.push(Wt)}),[Jt,Bt]},[Me,rt])},Mt=ne(48736);function Te(Me){return ie.useMemo(function(){if(!Me)return[!1,{}];var rt={matchInputWidth:!0,limit:50};return Me&&(0,y.Z)(Me)==="object"&&(rt=(0,ee.Z)((0,ee.Z)({},rt),Me)),rt.limit<=0&&delete rt.limit,[!0,rt]},[Me])}var $e=ie.memo(function(Me){var rt=Me.children;return rt},function(Me,rt){return!rt.open}),mt=$e;function zt(Me){var rt,Pt=Me.prefixCls,Bt=Me.checked,Jt=Me.halfChecked,Wt=Me.disabled,Kt=Me.onClick,Ve=Me.disableCheckbox,Ye=ie.useContext(b),Je=Ye.checkable,Et=typeof Je!="boolean"?Je:null;return ie.createElement("span",{className:re()("".concat(Pt),(rt={},(0,x.Z)(rt,"".concat(Pt,"-checked"),Bt),(0,x.Z)(rt,"".concat(Pt,"-indeterminate"),!Bt&&Jt),(0,x.Z)(rt,"".concat(Pt,"-disabled"),Wt||Ve),rt)),onClick:Kt},Et)}var st="__cascader_fix_label__";function Tt(Me){var rt=Me.prefixCls,Pt=Me.multiple,Bt=Me.options,Jt=Me.activeValue,Wt=Me.prevValuePath,Kt=Me.onToggleOpen,Ve=Me.onSelect,Ye=Me.onActive,Je=Me.checkedSet,Et=Me.halfCheckedSet,Gt=Me.loadingKeys,It=Me.isSelectable,dn=Me.searchValue,an="".concat(rt,"-menu"),Xt="".concat(rt,"-menu-item"),cn=ie.useContext(b),da=cn.fieldNames,Ut=cn.changeOnSelect,kn=cn.expandTrigger,aa=cn.expandIcon,va=cn.loadingIcon,fn=cn.dropdownMenuColumnStyle,Un=kn==="hover",ka=ie.useMemo(function(){return Bt.map(function($n){var Na,Ia=$n.disabled,_a=$n.disableCheckbox,Ma=$n[te],lo=(Na=$n[st])!==null&&Na!==void 0?Na:$n[da.label],qa=$n[da.value],Oo=Qe($n,da),rn=Ma?Ma.map(function(pn){return pn[da.value]}):[].concat((0,z.Z)(Wt),[qa]),Mo=Fe(rn),Eo=Gt.includes(Mo),vo=Je.has(Mo),ca=Et.has(Mo);return{disabled:Ia,label:lo,value:qa,isLeaf:Oo,isLoading:Eo,checked:vo,halfChecked:ca,option:$n,disableCheckbox:_a,fullPath:rn,fullPathKey:Mo}})},[Bt,Je,da,Et,Gt,Wt]);return ie.createElement("ul",{className:an,role:"menu"},ka.map(function($n){var Na,Ia=$n.disabled,_a=$n.label,Ma=$n.value,lo=$n.isLeaf,qa=$n.isLoading,Oo=$n.checked,rn=$n.halfChecked,Mo=$n.option,Eo=$n.fullPath,vo=$n.fullPathKey,ca=$n.disableCheckbox,pn=function(){if(!(Ia||dn)){var Ea=(0,z.Z)(Eo);Un&&lo&&Ea.pop(),Ye(Ea)}},_n=function(){It(Mo)&&Ve(Eo,lo)},oa;return typeof Mo.title=="string"?oa=Mo.title:typeof _a=="string"&&(oa=_a),ie.createElement("li",{key:vo,className:re()(Xt,(Na={},(0,x.Z)(Na,"".concat(Xt,"-expand"),!lo),(0,x.Z)(Na,"".concat(Xt,"-active"),Jt===Ma||Jt===vo),(0,x.Z)(Na,"".concat(Xt,"-disabled"),Ia),(0,x.Z)(Na,"".concat(Xt,"-loading"),qa),Na)),style:fn,role:"menuitemcheckbox",title:oa,"aria-checked":Oo,"data-path-key":vo,onClick:function(){pn(),!ca&&(!Pt||lo)&&_n()},onDoubleClick:function(){Ut&&Kt(!1)},onMouseEnter:function(){Un&&pn()},onMouseDown:function(Ea){Ea.preventDefault()}},Pt&&ie.createElement(zt,{prefixCls:"".concat(rt,"-checkbox"),checked:Oo,halfChecked:rn,disabled:Ia||ca,disableCheckbox:ca,onClick:function(Ea){ca||(Ea.stopPropagation(),_n())}}),ie.createElement("div",{className:"".concat(Xt,"-content")},_a),!qa&&aa&&!lo&&ie.createElement("div",{className:"".concat(Xt,"-expand-icon")},aa),qa&&va&&ie.createElement("div",{className:"".concat(Xt,"-loading-icon")},va))}))}var Se=function(){var Me=(0,De.lk)(),rt=Me.multiple,Pt=Me.open,Bt=ie.useContext(b),Jt=Bt.values,Wt=ie.useState([]),Kt=(0,Oe.Z)(Wt,2),Ve=Kt[0],Ye=Kt[1];return ie.useEffect(function(){if(Pt&&!rt){var Je=Jt[0];Ye(Je||[])}},[Pt]),[Ve,Ye]},Ft=ne(10228),Yt=function(Me,rt,Pt,Bt,Jt,Wt){var Kt=(0,De.lk)(),Ve=Kt.direction,Ye=Kt.searchValue,Je=Kt.toggleOpen,Et=Kt.open,Gt=Ve==="rtl",It=ie.useMemo(function(){for(var fn=-1,Un=rt,ka=[],$n=[],Na=Bt.length,Ia=We(rt,Pt),_a=function(Mo){var Eo=Un.findIndex(function(vo,ca){return(Ia[ca]?Fe(Ia[ca]):vo[Pt.value])===Bt[Mo]});if(Eo===-1)return"break";fn=Eo,ka.push(fn),$n.push(Bt[Mo]),Un=Un[fn][Pt.children]},Ma=0;Ma<Na&&Un;Ma+=1){var lo=_a(Ma);if(lo==="break")break}for(var qa=rt,Oo=0;Oo<ka.length-1;Oo+=1)qa=qa[ka[Oo]][Pt.children];return[$n,fn,qa,Ia]},[Bt,Pt,rt]),dn=(0,Oe.Z)(It,4),an=dn[0],Xt=dn[1],cn=dn[2],da=dn[3],Ut=function(Un){Jt(Un)},kn=function(Un){var ka=cn.length,$n=Xt;$n===-1&&Un<0&&($n=ka);for(var Na=0;Na<ka;Na+=1){$n=($n+Un+ka)%ka;var Ia=cn[$n];if(Ia&&!Ia.disabled){var _a=an.slice(0,-1).concat(da[$n]?Fe(da[$n]):Ia[Pt.value]);Ut(_a);return}}},aa=function(){if(an.length>1){var Un=an.slice(0,-1);Ut(Un)}else Je(!1)},va=function(){var Un,ka=((Un=cn[Xt])===null||Un===void 0?void 0:Un[Pt.children])||[],$n=ka.find(function(Ia){return!Ia.disabled});if($n){var Na=[].concat((0,z.Z)(an),[$n[Pt.value]]);Ut(Na)}};ie.useImperativeHandle(Me,function(){return{onKeyDown:function(Un){var ka=Un.which;switch(ka){case Ft.Z.UP:case Ft.Z.DOWN:{var $n=0;ka===Ft.Z.UP?$n=-1:ka===Ft.Z.DOWN&&($n=1),$n!==0&&kn($n);break}case Ft.Z.LEFT:{if(Ye)break;Gt?va():aa();break}case Ft.Z.RIGHT:{if(Ye)break;Gt?aa():va();break}case Ft.Z.BACKSPACE:{Ye||aa();break}case Ft.Z.ENTER:{if(an.length){var Na=cn[Xt],Ia=(Na==null?void 0:Na[te])||[];Ia.length?Wt(Ia.map(function(_a){return _a[Pt.value]}),Ia[Ia.length-1]):Wt(an,cn[Xt])}break}case Ft.Z.ESC:Je(!1),Et&&Un.stopPropagation()}},onKeyUp:function(){}}})},yt=ie.forwardRef(function(Me,rt){var Pt,Bt,Jt,Wt,Kt=(0,De.lk)(),Ve=Kt.prefixCls,Ye=Kt.multiple,Je=Kt.searchValue,Et=Kt.toggleOpen,Gt=Kt.notFoundContent,It=Kt.direction,dn=Kt.open,an=ie.useRef(),Xt=It==="rtl",cn=ie.useContext(b),da=cn.options,Ut=cn.values,kn=cn.halfValues,aa=cn.fieldNames,va=cn.changeOnSelect,fn=cn.onSelect,Un=cn.searchOptions,ka=cn.dropdownPrefixCls,$n=cn.loadData,Na=cn.expandTrigger,Ia=ka||Ve,_a=ie.useState([]),Ma=(0,Oe.Z)(_a,2),lo=Ma[0],qa=Ma[1],Oo=function(Nn){if(!(!$n||Je)){var fo=Ct(Nn,da,aa),ho=fo.map(function(Uo){var $o=Uo.option;return $o}),Ro=ho[ho.length-1];if(Ro&&!Qe(Ro,aa)){var Go=Fe(Nn);qa(function(Uo){return[].concat((0,z.Z)(Uo),[Go])}),$n(ho)}}};ie.useEffect(function(){lo.length&&lo.forEach(function(Co){var Nn=tt(Co),fo=Ct(Nn,da,aa,!0).map(function(Ro){var Go=Ro.option;return Go}),ho=fo[fo.length-1];(!ho||ho[aa.children]||Qe(ho,aa))&&qa(function(Ro){return Ro.filter(function(Go){return Go!==Co})})})},[da,lo,aa]);var rn=ie.useMemo(function(){return new Set(ge(Ut))},[Ut]),Mo=ie.useMemo(function(){return new Set(ge(kn))},[kn]),Eo=Se(),vo=(0,Oe.Z)(Eo,2),ca=vo[0],pn=vo[1],_n=function(Nn){pn(Nn),Oo(Nn)},oa=function(Nn){var fo=Nn.disabled,ho=Qe(Nn,aa);return!fo&&(ho||va||Ye)},xn=function(Nn,fo){var ho=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;fn(Nn),!Ye&&(fo||va&&(Na==="hover"||ho))&&Et(!1)},Ea=ie.useMemo(function(){return Je?Un:da},[Je,Un,da]),Wa=ie.useMemo(function(){for(var Co=[{options:Ea}],Nn=Ea,fo=We(Nn,aa),ho=function(){var $o=ca[Ro],Xo=Nn.find(function(vr,lr){return(fo[lr]?Fe(fo[lr]):vr[aa.value])===$o}),Ho=Xo==null?void 0:Xo[aa.children];if(!(Ho!=null&&Ho.length))return"break";Nn=Ho,Co.push({options:Ho})},Ro=0;Ro<ca.length;Ro+=1){var Go=ho();if(Go==="break")break}return Co},[Ea,ca,aa]),yo=function(Nn,fo){oa(fo)&&xn(Nn,Qe(fo,aa),!0)};Yt(rt,Ea,aa,ca,_n,yo),ie.useEffect(function(){for(var Co=0;Co<ca.length;Co+=1){var Nn,fo=ca.slice(0,Co+1),ho=Fe(fo),Ro=(Nn=an.current)===null||Nn===void 0?void 0:Nn.querySelector('li[data-path-key="'.concat(ho.replace(/\\{0,2}"/g,'\\"'),'"]'));Ro&&_e(Ro)}},[ca]);var Xa=!((Pt=Wa[0])!==null&&Pt!==void 0&&(Bt=Pt.options)!==null&&Bt!==void 0&&Bt.length),oo=[(Jt={},(0,x.Z)(Jt,aa.value,"__EMPTY__"),(0,x.Z)(Jt,st,Gt),(0,x.Z)(Jt,"disabled",!0),Jt)],Jo=(0,ee.Z)((0,ee.Z)({},Me),{},{multiple:!Xa&&Ye,onSelect:xn,onActive:_n,onToggleOpen:Et,checkedSet:rn,halfCheckedSet:Mo,loadingKeys:lo,isSelectable:oa}),_o=Xa?[{options:oo}]:Wa,Br=_o.map(function(Co,Nn){var fo=ca.slice(0,Nn),ho=ca[Nn];return ie.createElement(Tt,(0,Ne.Z)({key:Nn},Jo,{searchValue:Je,prefixCls:Ia,options:Co.options,prevValuePath:fo,activeValue:ho}))});return ie.createElement(mt,{open:dn},ie.createElement("div",{className:re()("".concat(Ia,"-menus"),(Wt={},(0,x.Z)(Wt,"".concat(Ia,"-menu-empty"),Xa),(0,x.Z)(Wt,"".concat(Ia,"-rtl"),Xt),Wt)),ref:an},Br))}),ft=yt;function Ke(Me){var rt=Me.onPopupVisibleChange,Pt=Me.popupVisible,Bt=Me.popupClassName,Jt=Me.popupPlacement;warning(!rt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Pt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Bt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Jt===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function ke(Me,rt){if(Me){var Pt=function Bt(Jt){for(var Wt=0;Wt<Jt.length;Wt++){var Kt=Jt[Wt];if(Kt[rt==null?void 0:rt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Kt[rt==null?void 0:rt.children])&&Bt(Kt[rt==null?void 0:rt.children]))return!0}};Pt(Me)}}var ve=null,ce=["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 He(Me){return Array.isArray(Me)&&Array.isArray(Me[0])}function ut(Me){return Me?He(Me)?Me:(Me.length===0?[]:[Me]).map(function(rt){return Array.isArray(rt)?rt:[rt]}):[]}var he=ie.forwardRef(function(Me,rt){var Pt=Me.id,Bt=Me.prefixCls,Jt=Bt===void 0?"rc-cascader":Bt,Wt=Me.fieldNames,Kt=Me.defaultValue,Ve=Me.value,Ye=Me.changeOnSelect,Je=Me.onChange,Et=Me.displayRender,Gt=Me.checkable,It=Me.autoClearSearchValue,dn=It===void 0?!0:It,an=Me.searchValue,Xt=Me.onSearch,cn=Me.showSearch,da=Me.expandTrigger,Ut=Me.options,kn=Me.dropdownPrefixCls,aa=Me.loadData,va=Me.popupVisible,fn=Me.open,Un=Me.popupClassName,ka=Me.dropdownClassName,$n=Me.dropdownMenuColumnStyle,Na=Me.popupPlacement,Ia=Me.placement,_a=Me.onDropdownVisibleChange,Ma=Me.onPopupVisibleChange,lo=Me.expandIcon,qa=lo===void 0?">":lo,Oo=Me.loadingIcon,rn=Me.children,Mo=Me.dropdownMatchSelectWidth,Eo=Mo===void 0?!1:Mo,vo=Me.showCheckedStrategy,ca=vo===void 0?Be:vo,pn=(0,we.Z)(Me,ce),_n=(0,je.ZP)(Pt),oa=!!Gt,xn=(0,E.Z)(Kt,{value:Ve,postState:ut}),Ea=(0,Oe.Z)(xn,2),Wa=Ea[0],yo=Ea[1],Xa=ie.useMemo(function(){return Ie(Wt)},[JSON.stringify(Wt)]),oo=ie.useMemo(function(){return Ut||[]},[Ut]),Jo=Xe(oo,Xa),_o=ie.useCallback(function(Pn){var Sn=Jo();return Pn.map(function(Ln){var ba=Sn[Ln].nodes;return ba.map(function(Ga){return Ga[Xa.value]})})},[Jo,Xa]),Br=(0,E.Z)("",{value:an,postState:function(Sn){return Sn||""}}),Co=(0,Oe.Z)(Br,2),Nn=Co[0],fo=Co[1],ho=function(Sn,Ln){fo(Sn),Ln.source!=="blur"&&Xt&&Xt(Sn)},Ro=Te(cn),Go=(0,Oe.Z)(Ro,2),Uo=Go[0],$o=Go[1],Xo=de(Nn,oo,Xa,kn||Jt,$o,Ye),Ho=xt(oo,Xa),vr=ie.useMemo(function(){var Pn=Ho(Wa),Sn=(0,Oe.Z)(Pn,2),Ln=Sn[0],ba=Sn[1];if(!oa||!Wa.length)return[Ln,[],ba];var Ga=ge(Ln),so=Jo(),uo=(0,Ee.S)(Ga,!0,so),Bo=uo.checkedKeys,Fo=uo.halfCheckedKeys;return[_o(Bo),_o(Fo),ba]},[oa,Wa,Jo,_o,Ho]),lr=(0,Oe.Z)(vr,3),Pr=lr[0],Fr=lr[1],So=lr[2],wr=ie.useMemo(function(){var Pn=ge(Pr),Sn=it(Pn,Jo,ca);return[].concat((0,z.Z)(So),(0,z.Z)(_o(Sn)))},[Pr,Jo,_o,So,ca]),hr=nt(wr,oo,Xa,oa,Et),Gr=(0,oe.Z)(function(Pn){if(yo(Pn),Je){var Sn=ut(Pn),Ln=Sn.map(function(so){return Ct(so,oo,Xa).map(function(uo){return uo.option})}),ba=oa?Sn:Sn[0],Ga=oa?Ln:Ln[0];Je(ba,Ga)}}),Hr=(0,oe.Z)(function(Pn){if((!oa||dn)&&fo(""),!oa)Gr(Pn);else{var Sn=Fe(Pn),Ln=ge(Pr),ba=ge(Fr),Ga=Ln.includes(Sn),so=So.some(function(Lr){return Fe(Lr)===Sn}),uo=Pr,Bo=So;if(so&&!Ga)Bo=So.filter(function(Lr){return Fe(Lr)!==Sn});else{var Fo=Ga?Ln.filter(function(Lr){return Lr!==Sn}):[].concat((0,z.Z)(Ln),[Sn]),qo=Jo(),To;if(Ga){var Ar=(0,Ee.S)(Fo,{checked:!1,halfCheckedKeys:ba},qo);To=Ar.checkedKeys}else{var Tr=(0,Ee.S)(Fo,!0,qo);To=Tr.checkedKeys}var kr=it(To,Jo,ca);uo=_o(kr)}Gr([].concat((0,z.Z)(Bo),(0,z.Z)(uo)))}}),Rr=function(Sn,Ln){if(Ln.type==="clear"){Gr([]);return}var ba=Ln.values[0],Ga=ba.valueCells;Hr(Ga)},Jr=fn!==void 0?fn:va,Xr=ka||Un,si=Ia||Na,ui=function(Sn){_a==null||_a(Sn),Ma==null||Ma(Sn)},Yr=ie.useMemo(function(){return{options:oo,fieldNames:Xa,values:Pr,halfValues:Fr,changeOnSelect:Ye,onSelect:Hr,checkable:Gt,searchOptions:Xo,dropdownPrefixCls:kn,loadData:aa,expandTrigger:da,expandIcon:qa,loadingIcon:Oo,dropdownMenuColumnStyle:$n}},[oo,Xa,Pr,Fr,Ye,Hr,Gt,Xo,kn,aa,da,qa,Oo,$n]),$r=!(Nn?Xo:oo).length,Qn=Nn&&$o.matchInputWidth||$r?{}:{minWidth:"auto"};return ie.createElement(b.Provider,{value:Yr},ie.createElement(De.Ac,(0,Ne.Z)({},pn,{ref:rt,id:_n,prefixCls:Jt,autoClearSearchValue:dn,dropdownMatchSelectWidth:Eo,dropdownStyle:Qn,displayValues:hr,onDisplayValuesChange:Rr,mode:oa?"multiple":void 0,searchValue:Nn,onSearch:ho,showSearch:Uo,OptionList:ft,emptyOptions:$r,open:Jr,dropdownClassName:Xr,placement:si,onDropdownVisibleChange:ui,getRawInputElement:function(){return rn}})))});he.SHOW_PARENT=Be,he.SHOW_CHILD=pe;var fe=he,qe=fe,ze=ne(2738),Ce=ne(62892),at=ne(53487),jt=ne(19080),ct=ne(36355),Ot=ne(93891),Dt=ne(1684),_t=ne(19716),ht=ne(32441),on=ne(14154),tn=ne(58582),kt=ne(84443),Zt=ne(66339),$t=ne(33234),sn=ne(98447),un=ne(17313),Cn=ne(74207),On=ne(83116);const Rt=Me=>{const{prefixCls:rt,componentCls:Pt,antCls:Bt}=Me,Jt=`${Pt}-menu-item`,Wt=`
&${Jt}-expand ${Jt}-expand-icon,
${Jt}-loading-icon
`;return[{[Pt]:{width:Me.controlWidth}},{[`${Pt}-dropdown`]:[(0,sn.C2)(`${rt}-checkbox`,Me),{[`&${Bt}-select-dropdown`]:{padding:0}},{[Pt]:{"&-checkbox":{top:0,marginInlineEnd:Me.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Pt}-menu-empty`]:{[`${Pt}-menu`]:{width:"100%",height:"auto",[Jt]:{color:Me.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Me.controlItemWidth,height:Me.dropdownHeight,margin:0,padding:Me.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Me.lineWidth}px ${Me.lineType} ${Me.colorSplit}`},"&-item":Object.assign(Object.assign({},un.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Me.optionPadding,lineHeight:Me.lineHeight,cursor:"pointer",transition:`all ${Me.motionDurationMid}`,borderRadius:Me.borderRadiusSM,"&:hover":{background:Me.controlItemBgHover},"&-disabled":{color:Me.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Wt]:{color:Me.colorTextDisabled}},[`&-active:not(${Jt}-disabled)`]:{"&, &:hover":{fontWeight:Me.optionSelectedFontWeight,backgroundColor:Me.optionSelectedBg}},"&-content":{flex:"auto"},[Wt]:{marginInlineStart:Me.paddingXXS,color:Me.colorTextDescription,fontSize:Me.fontSizeIcon},"&-keyword":{color:Me.colorHighlight}})}}}]},{[`${Pt}-dropdown-rtl`]:{direction:"rtl"}},(0,Cn.c)(Me)]};var Nt=(0,On.Z)("Cascader",Me=>[Rt(Me)],Me=>{const rt=Math.round((Me.controlHeight-Me.fontSize*Me.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Me.controlItemBgActive,optionSelectedFontWeight:Me.fontWeightStrong,optionPadding:`${rt}px ${Me.paddingSM}px`,menuPadding:Me.paddingXXS}}),Ht=function(Me,rt){var Pt={};for(var Bt in Me)Object.prototype.hasOwnProperty.call(Me,Bt)&&rt.indexOf(Bt)<0&&(Pt[Bt]=Me[Bt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,Bt=Object.getOwnPropertySymbols(Me);Jt<Bt.length;Jt++)rt.indexOf(Bt[Jt])<0&&Object.prototype.propertyIsEnumerable.call(Me,Bt[Jt])&&(Pt[Bt[Jt]]=Me[Bt[Jt]]);return Pt};const{SHOW_CHILD:ln,SHOW_PARENT:nn}=qe;function jn(Me,rt,Pt){const Bt=Me.toLowerCase().split(rt).reduce((Kt,Ve,Ye)=>Ye===0?[Ve]:[].concat((0,z.Z)(Kt),[rt,Ve]),[]),Jt=[];let Wt=0;return Bt.forEach((Kt,Ve)=>{const Ye=Wt+Kt.length;let Je=Me.slice(Wt,Ye);Wt=Ye,Ve%2===1&&(Je=ie.createElement("span",{className:`${Pt}-menu-item-keyword`,key:`separator-${Ve}`},Je)),Jt.push(Je)}),Jt}const na=(Me,rt,Pt,Bt)=>{const Jt=[],Wt=Me.toLowerCase();return rt.forEach((Kt,Ve)=>{Ve!==0&&Jt.push(" / ");let Ye=Kt[Bt.label];const Je=typeof Ye;(Je==="string"||Je==="number")&&(Ye=jn(String(Ye),Wt,Pt)),Jt.push(Ye)}),Jt},hn=ie.forwardRef((Me,rt)=>{const{prefixCls:Pt,size:Bt,disabled:Jt,className:Wt,rootClassName:Kt,multiple:Ve,bordered:Ye=!0,transitionName:Je,choiceTransitionName:Et="",popupClassName:Gt,dropdownClassName:It,expandIcon:dn,placement:an,showSearch:Xt,allowClear:cn=!0,notFoundContent:da,direction:Ut,getPopupContainer:kn,status:aa,showArrow:va,builtinPlacements:fn,style:Un}=Me,ka=Ht(Me,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),$n=(0,ze.Z)(ka,["suffixIcon"]),{getPopupContainer:Na,getPrefixCls:Ia,renderEmpty:_a,direction:Ma,popupOverflow:lo,cascader:qa}=ie.useContext(ct.E_),Oo=Ut||Ma,rn=Oo==="rtl",{status:Mo,hasFeedback:Eo,isFormItemInput:vo,feedbackIcon:ca}=ie.useContext(ht.aM),pn=(0,jt.F)(Mo,aa),_n=da||(_a==null?void 0:_a("Cascader"))||ie.createElement(Ot.Z,{componentName:"Cascader"}),oa=Ia(),xn=Ia("select",Pt),Ea=Ia("cascader",Pt),[Wa,yo]=(0,on.Z)(xn),[Xa]=Nt(Ea),{compactSize:oo,compactItemClassnames:Jo}=(0,$t.ri)(xn,Ut),_o=re()(Gt||It,`${Ea}-dropdown`,{[`${Ea}-dropdown-rtl`]:Oo==="rtl"},Kt,yo),Br=ie.useMemo(()=>{if(!Xt)return Xt;let So={render:na};return typeof Xt=="object"&&(So=Object.assign(Object.assign({},So),Xt)),So},[Xt]),Co=(0,_t.Z)(So=>{var wr;return(wr=Bt!=null?Bt:oo)!==null&&wr!==void 0?wr:So}),Nn=ie.useContext(Dt.Z),fo=Jt!=null?Jt:Nn;let ho=dn;dn||(ho=rn?ie.createElement(Pe.Z,null):ie.createElement(be.Z,null));const Ro=ie.createElement("span",{className:`${xn}-menu-item-loading-icon`},ie.createElement(Re.Z,{spin:!0})),Go=ie.useMemo(()=>Ve?ie.createElement("span",{className:`${Ea}-checkbox-inner`}):!1,[Ve]),Uo=(0,kt.Z)(Me.suffixIcon,va),{suffixIcon:$o,removeIcon:Xo,clearIcon:Ho}=(0,Zt.Z)(Object.assign(Object.assign({},Me),{hasFeedback:Eo,feedbackIcon:ca,showSuffixIcon:Uo,multiple:Ve,prefixCls:xn,componentName:"Cascader"})),vr=ie.useMemo(()=>an!==void 0?an:rn?"bottomRight":"bottomLeft",[an,rn]),lr=(0,tn.Z)(fn,lo),Pr=cn===!0?{clearIcon:Ho}:cn,Fr=ie.createElement(qe,Object.assign({prefixCls:xn,className:re()(!Pt&&Ea,{[`${xn}-lg`]:Co==="large",[`${xn}-sm`]:Co==="small",[`${xn}-rtl`]:rn,[`${xn}-borderless`]:!Ye,[`${xn}-in-form-item`]:vo},(0,jt.Z)(xn,pn,Eo),Jo,qa==null?void 0:qa.className,Wt,Kt,yo),disabled:fo,style:Object.assign(Object.assign({},qa==null?void 0:qa.style),Un)},$n,{builtinPlacements:lr,direction:Oo,placement:vr,notFoundContent:_n,allowClear:Pr,showSearch:Br,expandIcon:ho,suffixIcon:$o,removeIcon:Xo,loadingIcon:Ro,checkable:Go,dropdownClassName:_o,dropdownPrefixCls:Pt||Ea,choiceTransitionName:(0,Ce.m)(oa,"",Et),transitionName:(0,Ce.m)(oa,"slide-up",Je),getPopupContainer:kn||Na,ref:rt}));return Xa(Wa(Fr))}),Qt=(0,at.Z)(hn);hn.SHOW_PARENT=nn,hn.SHOW_CHILD=ln,hn._InternalPanelDoNotUseOrYouWillBeFired=Qt;var Wn=hn},24905:function(pt,vt,ne){"use strict";ne.d(vt,{default:function(){return de}});var z=ne(92310),ie=ne.n(z),Pe=ne(5630),Re=ne(59301),be=ne(36355),xe=ne(1684),re=ne(32441),Oe=Re.createContext(null),we=ne(98447),De=ne(14088),je=ne(4572),Ee=function(me,Be){var pe={};for(var Fe in me)Object.prototype.hasOwnProperty.call(me,Fe)&&Be.indexOf(Fe)<0&&(pe[Fe]=me[Fe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Fe=Object.getOwnPropertySymbols(me);ge<Fe.length;ge++)Be.indexOf(Fe[ge])<0&&Object.prototype.propertyIsEnumerable.call(me,Fe[ge])&&(pe[Fe[ge]]=me[Fe[ge]]);return pe};const oe=(me,Be)=>{var pe;const{prefixCls:Fe,className:ge,rootClassName:tt,children:Ie,indeterminate:Qe=!1,style:_e,onMouseEnter:We,onMouseLeave:it,skipGroup:Ct=!1,disabled:nt}=me,Lt=Ee(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Xe,direction:xt,checkbox:Mt}=Re.useContext(be.E_),Te=Re.useContext(Oe),{isFormItemInput:$e}=Re.useContext(re.aM),mt=Re.useContext(xe.Z),zt=(pe=(Te==null?void 0:Te.disabled)||nt)!==null&&pe!==void 0?pe:mt,st=Re.useRef(Lt.value);Re.useEffect(()=>{Te==null||Te.registerValue(Lt.value)},[]),Re.useEffect(()=>{if(!Ct)return Lt.value!==st.current&&(Te==null||Te.cancelValue(st.current),Te==null||Te.registerValue(Lt.value),st.current=Lt.value),()=>Te==null?void 0:Te.cancelValue(Lt.value)},[Lt.value]);const Tt=Xe("checkbox",Fe),[Se,Ft]=(0,we.ZP)(Tt),Yt=Object.assign({},Lt);Te&&!Ct&&(Yt.onChange=function(){Lt.onChange&&Lt.onChange.apply(Lt,arguments),Te.toggleOption&&Te.toggleOption({label:Ie,value:Lt.value})},Yt.name=Te.name,Yt.checked=Te.value.includes(Lt.value));const yt=ie()(`${Tt}-wrapper`,{[`${Tt}-rtl`]:xt==="rtl",[`${Tt}-wrapper-checked`]:Yt.checked,[`${Tt}-wrapper-disabled`]:zt,[`${Tt}-wrapper-in-form-item`]:$e},Mt==null?void 0:Mt.className,ge,tt,Ft),ft=ie()({[`${Tt}-indeterminate`]:Qe},je.A,Ft),Ke=Qe?"mixed":void 0;return Se(Re.createElement(De.Z,{component:"Checkbox",disabled:zt},Re.createElement("label",{className:yt,style:Object.assign(Object.assign({},Mt==null?void 0:Mt.style),_e),onMouseEnter:We,onMouseLeave:it},Re.createElement(Pe.Z,Object.assign({"aria-checked":Ke},Yt,{prefixCls:Tt,className:ft,disabled:zt,ref:Be})),Ie!==void 0&&Re.createElement("span",null,Ie))))};var a=Re.forwardRef(oe),b=ne(26407),y=ne(2738),x=function(me,Be){var pe={};for(var Fe in me)Object.prototype.hasOwnProperty.call(me,Fe)&&Be.indexOf(Fe)<0&&(pe[Fe]=me[Fe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,Fe=Object.getOwnPropertySymbols(me);ge<Fe.length;ge++)Be.indexOf(Fe[ge])<0&&Object.prototype.propertyIsEnumerable.call(me,Fe[ge])&&(pe[Fe[ge]]=me[Fe[ge]]);return pe};const ee=(me,Be)=>{const{defaultValue:pe,children:Fe,options:ge=[],prefixCls:tt,className:Ie,rootClassName:Qe,style:_e,onChange:We}=me,it=x(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ct,direction:nt}=Re.useContext(be.E_),[Lt,Xe]=Re.useState(it.value||pe||[]),[xt,Mt]=Re.useState([]);Re.useEffect(()=>{"value"in it&&Xe(it.value||[])},[it.value]);const Te=Re.useMemo(()=>ge.map(ke=>typeof ke=="string"||typeof ke=="number"?{label:ke,value:ke}:ke),[ge]),$e=ke=>{Mt(ve=>ve.filter(ce=>ce!==ke))},mt=ke=>{Mt(ve=>[].concat((0,b.Z)(ve),[ke]))},zt=ke=>{const ve=Lt.indexOf(ke.value),ce=(0,b.Z)(Lt);ve===-1?ce.push(ke.value):ce.splice(ve,1),"value"in it||Xe(ce),We==null||We(ce.filter(He=>xt.includes(He)).sort((He,ut)=>{const he=Te.findIndex(qe=>qe.value===He),fe=Te.findIndex(qe=>qe.value===ut);return he-fe}))},st=Ct("checkbox",tt),Tt=`${st}-group`,[Se,Ft]=(0,we.ZP)(st),Yt=(0,y.Z)(it,["value","disabled"]),yt=ge.length?Te.map(ke=>Re.createElement(a,{prefixCls:st,key:ke.value.toString(),disabled:"disabled"in ke?ke.disabled:it.disabled,value:ke.value,checked:Lt.includes(ke.value),onChange:ke.onChange,className:`${Tt}-item`,style:ke.style,title:ke.title},ke.label)):Fe,ft={toggleOption:zt,value:Lt,disabled:it.disabled,name:it.name,registerValue:mt,cancelValue:$e},Ke=ie()(Tt,{[`${Tt}-rtl`]:nt==="rtl"},Ie,Qe,Ft);return Se(Re.createElement("div",Object.assign({className:Ke,style:_e},Yt,{ref:Be}),Re.createElement(Oe.Provider,{value:ft},yt)))},te=Re.forwardRef(ee);var ae=Re.memo(te);const se=a;se.Group=ae,se.__ANT_CHECKBOX=!0;var de=se},98447:function(pt,vt,ne){"use strict";ne.d(vt,{C2:function(){return be}});var z=ne(17313),ie=ne(37613),Pe=ne(83116);const Re=xe=>{const{checkboxCls:re}=xe,Ne=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{display:"inline-flex",flexWrap:"wrap",columnGap:xe.marginXS,[`> ${xe.antCls}-row`]:{flex:1}}),[Ne]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ne}`]:{marginInlineStart:0},[`&${Ne}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,z.Wf)(xe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:xe.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,z.oN)(xe))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:xe.checkboxSize,height:xe.checkboxSize,direction:"ltr",backgroundColor:xe.colorBgContainer,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadiusSM,borderCollapse:"separate",transition:`all ${xe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:xe.checkboxSize/14*5,height:xe.checkboxSize/14*8,border:`${xe.lineWidthBold}px solid ${xe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${xe.motionDurationFast} ${xe.motionEaseInBack}, opacity ${xe.motionDurationFast}`}},"& + span":{paddingInlineStart:xe.paddingXS,paddingInlineEnd:xe.paddingXS}})},{[`
${Ne}:not(${Ne}-disabled),
${re}:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{borderColor:xe.colorPrimary}},[`${Ne}:not(${Ne}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:xe.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:xe.colorPrimary,borderColor:xe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${xe.motionDurationMid} ${xe.motionEaseOutBack} ${xe.motionDurationFast}`}}},[`
${Ne}-checked:not(${Ne}-disabled),
${re}-checked:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{backgroundColor:xe.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:xe.colorBgContainer,borderColor:xe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:xe.fontSizeLG/2,height:xe.fontSizeLG/2,backgroundColor:xe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ne}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,"&:after":{borderColor:xe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:xe.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:xe.colorTextDisabled}}}]};function be(xe,re){const Ne=(0,ie.TS)(re,{checkboxCls:`.${xe}`,checkboxSize:re.controlInteractiveSize});return[Re(Ne)]}vt.ZP=(0,Pe.Z)("Checkbox",(xe,re)=>{let{prefixCls:Ne}=re;return[be(Ne,xe)]})},36381:function(pt,vt,ne){"use strict";ne.d(vt,{default:function(){return Yt}});var z=ne(38819),ie=ne(92310),Pe=ne.n(ie),Re=ne(92413),be=ne(26407),xe=ne(33606),re=ne(39559),Ne=ne(18929),Oe=ne(48736),we=ne(59301),De=ne(37061),je=ne(11592),Ee=ne(400),oe=ne(77900),E=ne(10228),a=we.forwardRef(function(yt,ft){var Ke=yt.prefixCls,ke=yt.forceRender,ve=yt.className,ce=yt.style,He=yt.children,ut=yt.isActive,he=yt.role,fe=we.useState(ut||ke),qe=(0,xe.Z)(fe,2),ze=qe[0],Ce=qe[1];return we.useEffect(function(){(ke||ut)&&Ce(!0)},[ke,ut]),ze?we.createElement("div",{ref:ft,className:Pe()("".concat(Ke,"-content"),(0,Ee.Z)((0,Ee.Z)({},"".concat(Ke,"-content-active"),ut),"".concat(Ke,"-content-inactive"),!ut),ve),style:ce,role:he},we.createElement("div",{className:"".concat(Ke,"-content-box")},He)):null});a.displayName="PanelContent";var b=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],x=we.forwardRef(function(yt,ft){var Ke=yt.showArrow,ke=Ke===void 0?!0:Ke,ve=yt.headerClass,ce=yt.isActive,He=yt.onItemClick,ut=yt.forceRender,he=yt.className,fe=yt.prefixCls,qe=yt.collapsible,ze=yt.accordion,Ce=yt.panelKey,at=yt.extra,jt=yt.header,ct=yt.expandIcon,Ot=yt.openMotion,Dt=yt.destroyInactivePanel,_t=yt.children,ht=(0,De.Z)(yt,y),on=qe==="disabled",tn=qe==="header",kt=qe==="icon",Zt=at!=null&&typeof at!="boolean",$t=function(){He==null||He(Ce)},sn=function(Ht){(Ht.key==="Enter"||Ht.keyCode===E.Z.ENTER||Ht.which===E.Z.ENTER)&&$t()},un=typeof ct=="function"?ct(yt):we.createElement("i",{className:"arrow"});un&&(un=we.createElement("div",{className:"".concat(fe,"-expand-icon"),onClick:["header","icon"].includes(qe)?$t:void 0},un));var Cn=Pe()((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},"".concat(fe,"-item"),!0),"".concat(fe,"-item-active"),ce),"".concat(fe,"-item-disabled"),on),he),On=Pe()(ve,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},"".concat(fe,"-header"),!0),"".concat(fe,"-header-collapsible-only"),tn),"".concat(fe,"-icon-collapsible-only"),kt)),Rt={className:On,"aria-expanded":ce,"aria-disabled":on,onKeyDown:sn};return!tn&&!kt&&(Rt.onClick=$t,Rt.role=ze?"tab":"button",Rt.tabIndex=on?-1:0),we.createElement("div",(0,Re.Z)({},ht,{ref:ft,className:Cn}),we.createElement("div",Rt,ke&&un,we.createElement("span",{className:"".concat(fe,"-header-text"),onClick:qe==="header"?$t:void 0},jt),Zt&&we.createElement("div",{className:"".concat(fe,"-extra")},at)),we.createElement(oe.default,(0,Re.Z)({visible:ce,leavedClassName:"".concat(fe,"-content-hidden")},Ot,{forceRender:ut,removeOnLeave:Dt}),function(Nt,Ht){var ln=Nt.className,nn=Nt.style;return we.createElement(b,{ref:Ht,prefixCls:fe,className:ln,style:nn,isActive:ce,forceRender:ut,role:ze?"tabpanel":void 0},_t)}))}),ee=x,te=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ae=function(ft,Ke){var ke=Ke.prefixCls,ve=Ke.accordion,ce=Ke.collapsible,He=Ke.destroyInactivePanel,ut=Ke.onItemClick,he=Ke.activeKey,fe=Ke.openMotion,qe=Ke.expandIcon;return ft.map(function(ze,Ce){var at=ze.children,jt=ze.label,ct=ze.key,Ot=ze.collapsible,Dt=ze.onItemClick,_t=ze.destroyInactivePanel,ht=(0,De.Z)(ze,te),on=String(ct!=null?ct:Ce),tn=Ot!=null?Ot:ce,kt=_t!=null?_t:He,Zt=function(un){tn!=="disabled"&&(ut(un),Dt==null||Dt(un))},$t=!1;return ve?$t=he[0]===on:$t=he.indexOf(on)>-1,we.createElement(ee,(0,Re.Z)({},ht,{prefixCls:ke,key:on,panelKey:on,isActive:$t,accordion:ve,openMotion:fe,expandIcon:qe,header:jt,collapsible:tn,onItemClick:Zt,destroyInactivePanel:kt}),at)})},se=function(ft,Ke,ke){if(!ft)return null;var ve=ke.prefixCls,ce=ke.accordion,He=ke.collapsible,ut=ke.destroyInactivePanel,he=ke.onItemClick,fe=ke.activeKey,qe=ke.openMotion,ze=ke.expandIcon,Ce=ft.key||String(Ke),at=ft.props,jt=at.header,ct=at.headerClass,Ot=at.destroyInactivePanel,Dt=at.collapsible,_t=at.onItemClick,ht=!1;ce?ht=fe[0]===Ce:ht=fe.indexOf(Ce)>-1;var on=Dt!=null?Dt:He,tn=function($t){on!=="disabled"&&(he($t),_t==null||_t($t))},kt={key:Ce,panelKey:Ce,header:jt,headerClass:ct,isActive:ht,prefixCls:ve,destroyInactivePanel:Ot!=null?Ot:ut,openMotion:qe,accordion:ce,children:ft.props.children,onItemClick:tn,expandIcon:ze,collapsible:on};return typeof ft.type=="string"?ft:(Object.keys(kt).forEach(function(Zt){typeof kt[Zt]=="undefined"&&delete kt[Zt]}),we.cloneElement(ft,kt))};function de(yt,ft,Ke){return Array.isArray(yt)?ae(yt,Ke):(0,je.Z)(ft).map(function(ke,ve){return se(ke,ve,Ke)})}var me=de,Be=ne(26112);function pe(yt){var ft=yt;if(!Array.isArray(ft)){var Ke=(0,re.Z)(ft);ft=Ke==="number"||Ke==="string"?[ft]:[]}return ft.map(function(ke){return String(ke)})}var Fe=we.forwardRef(function(yt,ft){var Ke=yt.prefixCls,ke=Ke===void 0?"rc-collapse":Ke,ve=yt.destroyInactivePanel,ce=ve===void 0?!1:ve,He=yt.style,ut=yt.accordion,he=yt.className,fe=yt.children,qe=yt.collapsible,ze=yt.openMotion,Ce=yt.expandIcon,at=yt.activeKey,jt=yt.defaultActiveKey,ct=yt.onChange,Ot=yt.items,Dt=Pe()(ke,he),_t=(0,Ne.Z)([],{value:at,onChange:function(sn){return ct==null?void 0:ct(sn)},defaultValue:jt,postState:pe}),ht=(0,xe.Z)(_t,2),on=ht[0],tn=ht[1],kt=function(sn){return tn(function(){if(ut)return on[0]===sn?[]:[sn];var un=on.indexOf(sn),Cn=un>-1;return Cn?on.filter(function(On){return On!==sn}):[].concat((0,be.Z)(on),[sn])})};(0,Oe.ZP)(!fe,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Zt=me(Ot,fe,{prefixCls:ke,accordion:ut,openMotion:ze,expandIcon:Ce,collapsible:qe,destroyInactivePanel:ce,onItemClick:kt,activeKey:on});return we.createElement("div",(0,Re.Z)({ref:ft,className:Dt,style:He,role:ut?"tablist":void 0},(0,Be.Z)(yt,{aria:!0,data:!0})),Zt)}),ge=Object.assign(Fe,{Panel:ee}),tt=ge,Ie=ge.Panel,Qe=ne(2738),_e=ne(62892),We=ne(92343),it=ne(36355),Ct=ne(19716),Lt=we.forwardRef((yt,ft)=>{const{getPrefixCls:Ke}=we.useContext(it.E_),{prefixCls:ke,className:ve,showArrow:ce=!0}=yt,He=Ke("collapse",ke),ut=Pe()({[`${He}-no-arrow`]:!ce},ve);return we.createElement(tt.Panel,Object.assign({ref:ft},yt,{prefixCls:He,className:ut}))}),Xe=ne(17313),xt=ne(8378),Mt=ne(83116),Te=ne(37613);const $e=yt=>{const{componentCls:ft,contentBg:Ke,padding:ke,headerBg:ve,headerPadding:ce,collapseHeaderPaddingSM:He,collapseHeaderPaddingLG:ut,collapsePanelBorderRadius:he,lineWidth:fe,lineType:qe,colorBorder:ze,colorText:Ce,colorTextHeading:at,colorTextDisabled:jt,fontSize:ct,fontSizeLG:Ot,lineHeight:Dt,marginSM:_t,paddingSM:ht,paddingLG:on,paddingXS:tn,motionDurationSlow:kt,fontSizeIcon:Zt,contentPadding:$t}=yt,sn=`${fe}px ${qe} ${ze}`;return{[ft]:Object.assign(Object.assign({},(0,Xe.Wf)(yt)),{backgroundColor:ve,border:sn,borderBottom:0,borderRadius:`${he}px`,"&-rtl":{direction:"rtl"},[`& > ${ft}-item`]:{borderBottom:sn,"&:last-child":{[`
&,
& > ${ft}-header`]:{borderRadius:`0 0 ${he}px ${he}px`}},[`> ${ft}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:ce,color:at,lineHeight:Dt,cursor:"pointer",transition:`all ${kt}, visibility 0s`,[`> ${ft}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ft}-expand-icon`]:{height:ct*Dt,display:"flex",alignItems:"center",paddingInlineEnd:_t},[`${ft}-arrow`]:Object.assign(Object.assign({},(0,Xe.Ro)()),{fontSize:Zt,svg:{transition:`transform ${kt}`}}),[`${ft}-header-text`]:{marginInlineEnd:"auto"}},[`${ft}-header-collapsible-only`]:{cursor:"default",[`${ft}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ft}-icon-collapsible-only`]:{cursor:"default",[`${ft}-expand-icon`]:{cursor:"pointer"}}},[`${ft}-content`]:{color:Ce,backgroundColor:Ke,borderTop:sn,[`& > ${ft}-content-box`]:{padding:$t},"&-hidden":{display:"none"}},"&-small":{[`> ${ft}-item`]:{[`> ${ft}-header`]:{padding:He,paddingInlineStart:tn,[`> ${ft}-expand-icon`]:{marginInlineStart:ht-tn}},[`> ${ft}-content > ${ft}-content-box`]:{padding:ht}}},"&-large":{[`> ${ft}-item`]:{fontSize:Ot,[`> ${ft}-header`]:{padding:ut,paddingInlineStart:ke,[`> ${ft}-expand-icon`]:{height:Ot*Dt,marginInlineStart:on-ke}},[`> ${ft}-content > ${ft}-content-box`]:{padding:on}}},[`${ft}-item:last-child`]:{[`> ${ft}-content`]:{borderRadius:`0 0 ${he}px ${he}px`}},[`& ${ft}-item-disabled > ${ft}-header`]:{"\n &,\n & > .arrow\n ":{color:jt,cursor:"not-allowed"}},[`&${ft}-icon-position-end`]:{[`& > ${ft}-item`]:{[`> ${ft}-header`]:{[`${ft}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:_t}}}}})}},mt=yt=>{const{componentCls:ft}=yt,Ke=`> ${ft}-item > ${ft}-header ${ft}-arrow svg`;return{[`${ft}-rtl`]:{[Ke]:{transform:"rotate(180deg)"}}}},zt=yt=>{const{componentCls:ft,headerBg:Ke,paddingXXS:ke,colorBorder:ve}=yt;return{[`${ft}-borderless`]:{backgroundColor:Ke,border:0,[`> ${ft}-item`]:{borderBottom:`1px solid ${ve}`},[`
> ${ft}-item:last-child,
> ${ft}-item:last-child ${ft}-header
`]:{borderRadius:0},[`> ${ft}-item:last-child`]:{borderBottom:0},[`> ${ft}-item > ${ft}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ft}-item > ${ft}-content > ${ft}-content-box`]:{paddingTop:ke}}}},st=yt=>{const{componentCls:ft,paddingSM:Ke}=yt;return{[`${ft}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ft}-item`]:{borderBottom:0,[`> ${ft}-content`]:{backgroundColor:"transparent",border:0,[`> ${ft}-content-box`]:{paddingBlock:Ke}}}}}};var Tt=(0,Mt.Z)("Collapse",yt=>{const ft=(0,Te.TS)(yt,{collapseHeaderPaddingSM:`${yt.paddingXS}px ${yt.paddingSM}px`,collapseHeaderPaddingLG:`${yt.padding}px ${yt.paddingLG}px`,collapsePanelBorderRadius:yt.borderRadiusLG});return[$e(ft),zt(ft),st(ft),mt(ft),(0,xt.Z)(ft)]},yt=>({headerPadding:`${yt.paddingSM}px ${yt.padding}px`,headerBg:yt.colorFillAlter,contentPadding:`${yt.padding}px 16px`,contentBg:yt.colorBgContainer})),Ft=Object.assign(we.forwardRef((yt,ft)=>{const{getPrefixCls:Ke,direction:ke,collapse:ve}=we.useContext(it.E_),{prefixCls:ce,className:He,rootClassName:ut,style:he,bordered:fe=!0,ghost:qe,size:ze,expandIconPosition:Ce="start",children:at,expandIcon:jt}=yt,ct=(0,Ct.Z)(sn=>{var un;return(un=ze!=null?ze:sn)!==null&&un!==void 0?un:"middle"}),Ot=Ke("collapse",ce),Dt=Ke(),[_t,ht]=Tt(Ot),on=we.useMemo(()=>Ce==="left"?"start":Ce==="right"?"end":Ce,[Ce]),tn=function(){let sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const un=jt?jt(sn):we.createElement(z.Z,{rotate:sn.isActive?90:void 0});return(0,We.Tm)(un,()=>({className:Pe()(un.props.className,`${Ot}-arrow`)}))},kt=Pe()(`${Ot}-icon-position-${on}`,{[`${Ot}-borderless`]:!fe,[`${Ot}-rtl`]:ke==="rtl",[`${Ot}-ghost`]:!!qe,[`${Ot}-${ct}`]:ct!=="middle"},ve==null?void 0:ve.className,He,ut,ht),Zt=Object.assign(Object.assign({},(0,_e.Z)(Dt)),{motionAppear:!1,leavedClassName:`${Ot}-content-hidden`}),$t=we.useMemo(()=>at?(0,je.Z)(at).map((sn,un)=>{var Cn,On;if(!((Cn=sn.props)===null||Cn===void 0)&&Cn.disabled){const Rt=(On=sn.key)!==null&&On!==void 0?On:String(un),{disabled:Nt,collapsible:Ht}=sn.props,ln=Object.assign(Object.assign({},(0,Qe.Z)(sn.props,["disabled"])),{key:Rt,collapsible:Ht!=null?Ht:Nt?"disabled":void 0});return(0,We.Tm)(sn,ln)}return sn}):null,[at]);return _t(we.createElement(tt,Object.assign({ref:ft,openMotion:Zt},(0,Qe.Z)(yt,["rootClassName"]),{expandIcon:tn,prefixCls:Ot,className:kt,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),he)}),$t))}),{Panel:Lt}),Yt=Ft},28103:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return je}});var z=ne(92310),ie=ne.n(z),Pe=ne(59301),Re=ne(36355),be=ne(17313),xe=ne(83116),re=ne(37613);const Ne=Ee=>{const{componentCls:oe,sizePaddingEdgeHorizontal:E,colorSplit:a,lineWidth:b,textPaddingInline:y,orientationMargin:x,verticalMarginInline:ee}=Ee;return{[oe]:Object.assign(Object.assign({},(0,be.Wf)(Ee)),{borderBlockStart:`${b}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ee,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${b}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ee.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ee.dividerHorizontalWithTextGutterMargin}px 0`,color:Ee.colorTextHeading,fontWeight:500,fontSize:Ee.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${b}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${oe}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:Ee.colorText,fontWeight:"normal",fontSize:Ee.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:E}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:E}}})}};var Oe=(0,xe.Z)("Divider",Ee=>{const oe=(0,re.TS)(Ee,{dividerHorizontalWithTextGutterMargin:Ee.margin,dividerHorizontalGutterMargin:Ee.marginLG,sizePaddingEdgeHorizontal:0});return[Ne(oe)]},Ee=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ee.marginXS})),we=function(Ee,oe){var E={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&oe.indexOf(a)<0&&(E[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Ee);b<a.length;b++)oe.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(Ee,a[b])&&(E[a[b]]=Ee[a[b]]);return E},je=Ee=>{const{getPrefixCls:oe,direction:E,divider:a}=Pe.useContext(Re.E_),{prefixCls:b,type:y="horizontal",orientation:x="center",orientationMargin:ee,className:te,rootClassName:ae,children:se,dashed:de,plain:me,style:Be}=Ee,pe=we(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Fe=oe("divider",b),[ge,tt]=Oe(Fe),Ie=x.length>0?`-${x}`:x,Qe=!!se,_e=x==="left"&&ee!=null,We=x==="right"&&ee!=null,it=ie()(Fe,a==null?void 0:a.className,tt,`${Fe}-${y}`,{[`${Fe}-with-text`]:Qe,[`${Fe}-with-text${Ie}`]:Qe,[`${Fe}-dashed`]:!!de,[`${Fe}-plain`]:!!me,[`${Fe}-rtl`]:E==="rtl",[`${Fe}-no-default-orientation-margin-left`]:_e,[`${Fe}-no-default-orientation-margin-right`]:We},te,ae),Ct=Pe.useMemo(()=>typeof ee=="number"?ee:/^\d+$/.test(ee)?Number(ee):ee,[ee]),nt=Object.assign(Object.assign({},_e&&{marginLeft:Ct}),We&&{marginRight:Ct});return ge(Pe.createElement("div",Object.assign({className:it,style:Object.assign(Object.assign({},a==null?void 0:a.style),Be)},pe,{role:"separator"}),se&&y!=="vertical"&&Pe.createElement("span",{className:`${Fe}-inner-text`,style:nt},se)))}},91857:function(pt,vt,ne){"use strict";var z=ne(59301),ie=ne(38819),Pe=ne(92310),Re=ne.n(Pe),be=ne(31561),xe=ne(70425),re=ne(18929),Ne=ne(2738),Oe=ne(79676),we=ne(53487),De=ne(92343),je=ne(36355),Ee=ne(20834),oe=ne(40875),E=ne(88088),a=ne(47211);const b=null,y=ae=>{const{menu:se,arrow:de,prefixCls:me,children:Be,trigger:pe,disabled:Fe,dropdownRender:ge,getPopupContainer:tt,overlayClassName:Ie,rootClassName:Qe,open:_e,onOpenChange:We,visible:it,onVisibleChange:Ct,mouseEnterDelay:nt=.15,mouseLeaveDelay:Lt=.1,autoAdjustOverflow:Xe=!0,placement:xt="",overlay:Mt,transitionName:Te}=ae,{getPopupContainer:$e,getPrefixCls:mt,direction:zt}=z.useContext(je.E_),st=z.useMemo(()=>{const Ce=mt();return Te!==void 0?Te:xt.includes("top")?`${Ce}-slide-down`:`${Ce}-slide-up`},[mt,xt,Te]),Tt=z.useMemo(()=>xt?xt.includes("Center")?xt.slice(0,xt.indexOf("Center")):xt:zt==="rtl"?"bottomRight":"bottomLeft",[xt,zt]),Se=mt("dropdown",me),[Ft,Yt]=(0,a.Z)(Se),[,yt]=(0,E.Z)(),ft=z.Children.only(Be),Ke=(0,De.Tm)(ft,{className:Re()(`${Se}-trigger`,{[`${Se}-rtl`]:zt==="rtl"},ft.props.className),disabled:Fe}),ke=Fe?[]:pe;let ve;ke&&ke.includes("contextMenu")&&(ve=!0);const[ce,He]=(0,re.Z)(!1,{value:_e!=null?_e:it}),ut=(0,xe.useEvent)(Ce=>{We==null||We(Ce),Ct==null||Ct(Ce),He(Ce)}),he=Re()(Ie,Qe,Yt,{[`${Se}-rtl`]:zt==="rtl"}),fe=(0,Oe.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:Xe,offset:yt.marginXXS,arrowWidth:de?yt.sizePopupArrow:0,borderRadius:yt.borderRadius}),qe=z.useCallback(()=>{He(!1)},[]),ze=()=>{let Ce;return se!=null&&se.items?Ce=z.createElement(Ee.default,Object.assign({},se)):typeof Mt=="function"?Ce=Mt():Ce=Mt,ge&&(Ce=ge(Ce)),Ce=z.Children.only(typeof Ce=="string"?z.createElement("span",null,Ce):Ce),z.createElement(oe.J,{prefixCls:`${Se}-menu`,expandIcon:z.createElement("span",{className:`${Se}-menu-submenu-arrow`},z.createElement(ie.Z,{className:`${Se}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:qe,validator:at=>{let{mode:jt}=at}},Ce)};return Ft(z.createElement(be.Z,Object.assign({alignPoint:ve},(0,Ne.Z)(ae,["rootClassName"]),{mouseEnterDelay:nt,mouseLeaveDelay:Lt,visible:ce,builtinPlacements:fe,arrow:!!de,overlayClassName:he,prefixCls:Se,getPopupContainer:tt||$e,transitionName:st,trigger:ke,overlay:ze,placement:Tt,onVisibleChange:ut}),Ke))};function x(ae){return Object.assign(Object.assign({},ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,we.Z)(y,"dropdown",ae=>ae,x),te=ae=>z.createElement(ee,Object.assign({},ae),z.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=te,vt.Z=y},38854:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return E}});var z=ne(91857),ie=ne(92310),Pe=ne.n(ie),Re=ne(59301),be=ne(18785),xe=ne(3113),re=ne(36355),Ne=ne(81327),Oe=ne(33234),we=ne(47211),De=function(a,b){var y={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(y[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,x=Object.getOwnPropertySymbols(a);ee<x.length;ee++)b.indexOf(x[ee])<0&&Object.prototype.propertyIsEnumerable.call(a,x[ee])&&(y[x[ee]]=a[x[ee]]);return y};const je=a=>{const{getPopupContainer:b,getPrefixCls:y,direction:x}=Re.useContext(re.E_),{prefixCls:ee,type:te="default",danger:ae,disabled:se,loading:de,onClick:me,htmlType:Be,children:pe,className:Fe,menu:ge,arrow:tt,autoFocus:Ie,overlay:Qe,trigger:_e,align:We,open:it,onOpenChange:Ct,placement:nt,getPopupContainer:Lt,href:Xe,icon:xt=Re.createElement(be.Z,null),title:Mt,buttonsRender:Te=ze=>ze,mouseEnterDelay:$e,mouseLeaveDelay:mt,overlayClassName:zt,overlayStyle:st,destroyPopupOnHide:Tt,dropdownRender:Se}=a,Ft=De(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"]),Yt=y("dropdown",ee),yt=`${Yt}-button`,[ft,Ke]=(0,we.Z)(Yt),ke={menu:ge,arrow:tt,autoFocus:Ie,align:We,disabled:se,trigger:se?[]:_e,onOpenChange:Ct,getPopupContainer:Lt||b,mouseEnterDelay:$e,mouseLeaveDelay:mt,overlayClassName:zt,overlayStyle:st,destroyPopupOnHide:Tt,dropdownRender:Se},{compactSize:ve,compactItemClassnames:ce}=(0,Oe.ri)(Yt,x),He=Pe()(yt,ce,Fe,Ke);"overlay"in a&&(ke.overlay=Qe),"open"in a&&(ke.open=it),"placement"in a?ke.placement=nt:ke.placement=x==="rtl"?"bottomLeft":"bottomRight";const ut=Re.createElement(xe.ZP,{type:te,danger:ae,disabled:se,loading:de,onClick:me,htmlType:Be,href:Xe,title:Mt},pe),he=Re.createElement(xe.ZP,{type:te,danger:ae,icon:xt}),[fe,qe]=Te([ut,he]);return ft(Re.createElement(Ne.Z.Compact,Object.assign({className:He,size:ve,block:!0},Ft),fe,Re.createElement(z.Z,Object.assign({},ke),qe)))};je.__ANT_BUTTON=!0;var Ee=je;const oe=z.Z;oe.Button=Ee;var E=oe},47211:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return De}});var z=ne(17313),ie=ne(13826),Pe=ne(92899),Re=ne(29878),be=ne(19447),xe=ne(83116),re=ne(37613),Oe=je=>{const{componentCls:Ee,menuCls:oe,colorError:E,colorTextLightSolid:a}=je,b=`${oe}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const we=je=>{const{componentCls:Ee,menuCls:oe,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:b,antCls:y,iconCls:x,motionDurationMid:ee,dropdownPaddingVertical:te,fontSize:ae,dropdownEdgeChildPadding:se,colorTextDisabled:de,fontSizeIcon:me,controlPaddingHorizontal:Be,colorBgElevated:pe}=je;return[{[Ee]:Object.assign(Object.assign({},(0,z.Wf)(je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${x}-down, & > ${y}-btn-icon > ${x}-down`]:{fontSize:me}},[`${Ee}-wrap`]:{position:"relative",[`${y}-btn > ${x}-down`]:{fontSize:me},[`${x}-down::before`]:{transition:`transform ${ee}`}},[`${Ee}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${Ee}-placement-bottomLeft,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ee}-placement-bottomLeft,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ee}-placement-bottom,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ee}-placement-bottom,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ee}-placement-bottomRight,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ee}-placement-bottomRight`]:{animationName:ie.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${Ee}-placement-topLeft,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ee}-placement-topLeft,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ee}-placement-top,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ee}-placement-top,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ee}-placement-topRight,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ee}-placement-topRight`]:{animationName:ie.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${Ee}-placement-bottomLeft,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ee}-placement-bottom,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:ie.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${Ee}-placement-topLeft,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ee}-placement-top,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:ie.ly}})},(0,be.ZP)(je,{colorBg:pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:se,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:je.borderRadiusLG,outline:"none",boxShadow:je.boxShadowSecondary},(0,z.Qy)(je)),{[`${oe}-item-group-title`]:{padding:`${te}px ${Be}px`,color:je.colorTextDescription,transition:`all ${ee}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:ae,marginInlineEnd:je.marginXS,fontSize:je.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${te}px ${Be}px`,color:je.colorText,fontWeight:"normal",fontSize:ae,lineHeight:je.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:je.borderRadiusSM,"&:hover, &-active":{backgroundColor:je.controlItemBgHover}},(0,z.Qy)(je)),{"&-selected":{color:je.colorPrimary,backgroundColor:je.controlItemBgActive,"&:hover, &-active":{backgroundColor:je.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:je.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:je.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:je.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${je.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:Be+je.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:pe,cursor:"not-allowed"}},[`${oe}-submenu-selected ${Ee}-menu-submenu-title`]:{color:je.colorPrimary}})}},[(0,ie.oN)(je,"slide-up"),(0,ie.oN)(je,"slide-down"),(0,Pe.Fm)(je,"move-up"),(0,Pe.Fm)(je,"move-down"),(0,Re._y)(je,"zoom-big")]]};var De=(0,xe.Z)("Dropdown",(je,Ee)=>{let{rootPrefixCls:oe}=Ee;const{marginXXS:E,sizePopupArrow:a,controlHeight:b,fontSize:y,lineHeight:x,paddingXXS:ee,componentCls:te,borderRadiusLG:ae}=je,se=(b-y*x)/2,{dropdownArrowOffset:de}=(0,be.fS)({contentRadius:ae}),me=(0,re.TS)(je,{menuCls:`${te}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+E,dropdownArrowOffset:de,dropdownPaddingVertical:se,dropdownEdgeChildPadding:ee});return[we(me),Oe(me)]},je=>({zIndexPopup:je.zIndexPopupBase+50}))},8628:function(pt,vt,ne){"use strict";var z=ne(59301),ie=ne(34280),Pe=ne(56762),Re=ne(69507);function be(){let xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,z.useRef)({}),Ne=(0,Pe.Z)(),Oe=(0,Re.ZP)();return(0,ie.Z)(()=>{const we=Oe.subscribe(De=>{re.current=De,xe&&Ne()});return()=>Oe.unsubscribe(we)},[]),re.current}vt.Z=be},45818:function(pt,vt,ne){"use strict";ne.d(vt,{D:function(){return ee},Z:function(){return se}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(me,Be){return ie.createElement(be.Z,(0,z.Z)({},me,{ref:Be,icon:Re}))},re=ie.forwardRef(xe),Ne=re,Oe=ne(33853),we=ne(38819),De=ne(92310),je=ne.n(De),Ee=ne(2738),E=de=>!isNaN(parseFloat(de))&&isFinite(de),a=ne(36355),b=ne(84966),y=function(de,me){var Be={};for(var pe in de)Object.prototype.hasOwnProperty.call(de,pe)&&me.indexOf(pe)<0&&(Be[pe]=de[pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,pe=Object.getOwnPropertySymbols(de);Fe<pe.length;Fe++)me.indexOf(pe[Fe])<0&&Object.prototype.propertyIsEnumerable.call(de,pe[Fe])&&(Be[pe[Fe]]=de[pe[Fe]]);return Be};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=ie.createContext({}),te=(()=>{let de=0;return function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${me}${de}`}})();var se=ie.forwardRef((de,me)=>{const{prefixCls:Be,className:pe,trigger:Fe,children:ge,defaultCollapsed:tt=!1,theme:Ie="dark",style:Qe={},collapsible:_e=!1,reverseArrow:We=!1,width:it=200,collapsedWidth:Ct=80,zeroWidthTriggerStyle:nt,breakpoint:Lt,onCollapse:Xe,onBreakpoint:xt}=de,Mt=y(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Te}=(0,ie.useContext)(b.Gs),[$e,mt]=(0,ie.useState)("collapsed"in de?de.collapsed:tt),[zt,st]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in de&&mt(de.collapsed)},[de.collapsed]);const Tt=(Ke,ke)=>{"collapsed"in de||mt(Ke),Xe==null||Xe(Ke,ke)},Se=(0,ie.useRef)();Se.current=Ke=>{st(Ke.matches),xt==null||xt(Ke.matches),$e!==Ke.matches&&Tt(Ke.matches,"responsive")},(0,ie.useEffect)(()=>{function Ke(ve){return Se.current(ve)}let ke;if(typeof window!="undefined"){const{matchMedia:ve}=window;if(ve&&Lt&&Lt in x){ke=ve(`(max-width: ${x[Lt]})`);try{ke.addEventListener("change",Ke)}catch(ce){ke.addListener(Ke)}Ke(ke)}}return()=>{try{ke==null||ke.removeEventListener("change",Ke)}catch(ve){ke==null||ke.removeListener(Ke)}}},[Lt]),(0,ie.useEffect)(()=>{const Ke=te("ant-sider-");return Te.addSider(Ke),()=>Te.removeSider(Ke)},[]);const Ft=()=>{Tt(!$e,"clickTrigger")},{getPrefixCls:Yt}=(0,ie.useContext)(a.E_),yt=()=>{const Ke=Yt("layout-sider",Be),ke=(0,Ee.Z)(Mt,["collapsed"]),ve=$e?Ct:it,ce=E(ve)?`${ve}px`:String(ve),He=parseFloat(String(Ct||0))===0?ie.createElement("span",{onClick:Ft,className:je()(`${Ke}-zero-width-trigger`,`${Ke}-zero-width-trigger-${We?"right":"left"}`),style:nt},Fe||ie.createElement(Ne,null)):null,fe={expanded:We?ie.createElement(we.Z,null):ie.createElement(Oe.Z,null),collapsed:We?ie.createElement(Oe.Z,null):ie.createElement(we.Z,null)}[$e?"collapsed":"expanded"],qe=Fe!==null?He||ie.createElement("div",{className:`${Ke}-trigger`,onClick:Ft,style:{width:ce}},Fe||fe):null,ze=Object.assign(Object.assign({},Qe),{flex:`0 0 ${ce}`,maxWidth:ce,minWidth:ce,width:ce}),Ce=je()(Ke,`${Ke}-${Ie}`,{[`${Ke}-collapsed`]:!!$e,[`${Ke}-has-trigger`]:_e&&Fe!==null&&!He,[`${Ke}-below`]:!!zt,[`${Ke}-zero-width`]:parseFloat(ce)===0},pe);return ie.createElement("aside",Object.assign({className:Ce},ke,{style:ze,ref:me}),ie.createElement("div",{className:`${Ke}-children`},ge),_e||zt&&He?qe:null)},ft=ie.useMemo(()=>({siderCollapsed:$e}),[$e]);return ie.createElement(ee.Provider,{value:ft},yt())})},84966:function(pt,vt,ne){"use strict";ne.d(vt,{VY:function(){return ee},$_:function(){return x},h4:function(){return y},Gs:function(){return Ee},ZP:function(){return te}});var z=ne(26407),ie=ne(92310),Pe=ne.n(ie),Re=ne(2738),be=ne(59301),xe=ne(36355),re=ne(83116),Oe=ae=>{const{componentCls:se,bodyBg:de,lightSiderBg:me,lightTriggerBg:Be,lightTriggerColor:pe}=ae;return{[`${se}-sider-light`]:{background:me,[`${se}-sider-trigger`]:{color:pe,background:Be},[`${se}-sider-zero-width-trigger`]:{color:pe,background:Be,border:`1px solid ${de}`,borderInlineStart:0}}}};const we=ae=>{const{antCls:se,componentCls:de,colorText:me,triggerColor:Be,footerBg:pe,triggerBg:Fe,headerHeight:ge,headerPadding:tt,headerColor:Ie,footerPadding:Qe,triggerHeight:_e,zeroTriggerHeight:We,zeroTriggerWidth:it,motionDurationMid:Ct,motionDurationSlow:nt,fontSize:Lt,borderRadius:Xe,bodyBg:xt,headerBg:Mt,siderBg:Te}=ae;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:xt,"&, *":{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:Te,transition:`all ${Ct}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${se}-menu${se}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:_e},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:_e,color:Be,lineHeight:`${_e}px`,textAlign:"center",background:Fe,cursor:"pointer",transition:`all ${Ct}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ge,insetInlineEnd:-it,zIndex:1,width:it,height:We,color:Be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Te,borderStartStartRadius:0,borderStartEndRadius:Xe,borderEndEndRadius:Xe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${nt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${nt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-it,borderStartStartRadius:Xe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Xe}}}}},Oe(ae)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:ge,padding:tt,color:Ie,lineHeight:`${ge}px`,background:Mt,[`${se}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Qe,color:me,fontSize:Lt,background:pe},[`${de}-content`]:{flex:"auto",minHeight:0}}};var De=(0,re.Z)("Layout",ae=>[we(ae)],ae=>{const{colorBgLayout:se,controlHeight:de,controlHeightLG:me,colorText:Be,controlHeightSM:pe,marginXXS:Fe,colorTextLightSolid:ge,colorBgContainer:tt}=ae,Ie=me*1.25;return{colorBgHeader:"#001529",colorBgBody:se,colorBgTrigger:"#002140",bodyBg:se,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Ie}px`,headerColor:Be,footerPadding:`${pe}px ${Ie}px`,footerBg:se,siderBg:"#001529",triggerHeight:me+Fe*2,triggerBg:"#002140",triggerColor:ge,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:tt,lightTriggerBg:tt,lightTriggerColor:Be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),je=function(ae,se){var de={};for(var me in ae)Object.prototype.hasOwnProperty.call(ae,me)&&se.indexOf(me)<0&&(de[me]=ae[me]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,me=Object.getOwnPropertySymbols(ae);Be<me.length;Be++)se.indexOf(me[Be])<0&&Object.prototype.propertyIsEnumerable.call(ae,me[Be])&&(de[me[Be]]=ae[me[Be]]);return de};const Ee=be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function oe(ae){let{suffixCls:se,tagName:de,displayName:me}=ae;return Be=>be.forwardRef((Fe,ge)=>be.createElement(Be,Object.assign({ref:ge,suffixCls:se,tagName:de},Fe)))}const E=be.forwardRef((ae,se)=>{const{prefixCls:de,suffixCls:me,className:Be,tagName:pe}=ae,Fe=je(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ge}=be.useContext(xe.E_),tt=ge("layout",de),[Ie,Qe]=De(tt),_e=me?`${tt}-${me}`:tt;return Ie(be.createElement(pe,Object.assign({className:Pe()(de||_e,Be,Qe),ref:se},Fe)))}),a=be.forwardRef((ae,se)=>{const{direction:de}=be.useContext(xe.E_),[me,Be]=be.useState([]),{prefixCls:pe,className:Fe,rootClassName:ge,children:tt,hasSider:Ie,tagName:Qe,style:_e}=ae,We=je(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),it=(0,Re.Z)(We,["suffixCls"]),{getPrefixCls:Ct,layout:nt}=be.useContext(xe.E_),Lt=Ct("layout",pe),[Xe,xt]=De(Lt),Mt=Pe()(Lt,{[`${Lt}-has-sider`]:typeof Ie=="boolean"?Ie:me.length>0,[`${Lt}-rtl`]:de==="rtl"},nt==null?void 0:nt.className,Fe,ge,xt),Te=be.useMemo(()=>({siderHook:{addSider:$e=>{Be(mt=>[].concat((0,z.Z)(mt),[$e]))},removeSider:$e=>{Be(mt=>mt.filter(zt=>zt!==$e))}}}),[]);return Xe(be.createElement(Ee.Provider,{value:Te},be.createElement(Qe,Object.assign({ref:se,className:Mt,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),_e)},it),tt)))}),b=oe({tagName:"div",displayName:"Layout"})(a),y=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(E),x=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),ee=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var te=b},40875:function(pt,vt,ne){"use strict";ne.d(vt,{J:function(){return xe}});var z=ne(59301),ie=ne(33234),Pe=ne(70425),Re=function(re,Ne){var Oe={};for(var we in re)Object.prototype.hasOwnProperty.call(re,we)&&Ne.indexOf(we)<0&&(Oe[we]=re[we]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,we=Object.getOwnPropertySymbols(re);De<we.length;De++)Ne.indexOf(we[De])<0&&Object.prototype.propertyIsEnumerable.call(re,we[De])&&(Oe[we[De]]=re[we[De]]);return Oe};const be=z.createContext(null),xe=z.forwardRef((re,Ne)=>{const{children:Oe}=re,we=Re(re,["children"]),De=z.useContext(be),je=z.useMemo(()=>Object.assign(Object.assign({},De),we),[De,we.prefixCls,we.mode,we.selectable]);return z.createElement(be.Provider,{value:je},z.createElement(ie.BR,null,(0,Pe.supportNodeRef)(Oe)?z.cloneElement(Oe,{ref:Ne}):Oe))});vt.Z=be},20834:function(pt,vt,ne){"use strict";ne.d(vt,{default:function(){return ft}});var z=ne(15285),ie=ne(59301),Pe=ne(45818),Re=ne(92310),be=ne.n(Re),xe=ne(36355),re=function(Ke,ke){var ve={};for(var ce in Ke)Object.prototype.hasOwnProperty.call(Ke,ce)&&ke.indexOf(ce)<0&&(ve[ce]=Ke[ce]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,ce=Object.getOwnPropertySymbols(Ke);He<ce.length;He++)ke.indexOf(ce[He])<0&&Object.prototype.propertyIsEnumerable.call(Ke,ce[He])&&(ve[ce[He]]=Ke[ce[He]]);return ve},Oe=Ke=>{const{prefixCls:ke,className:ve,dashed:ce}=Ke,He=re(Ke,["prefixCls","className","dashed"]),{getPrefixCls:ut}=ie.useContext(xe.E_),he=ut("menu",ke),fe=be()({[`${he}-item-divider-dashed`]:!!ce},ve);return ie.createElement(z.iz,Object.assign({className:fe},He))},we=ne(11592),De=ne(2738),je=ne(6848),Ee=ne(92343),E=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Ke=>{var ke;const{className:ve,children:ce,icon:He,title:ut,danger:he}=Ke,{prefixCls:fe,firstLevel:qe,direction:ze,disableMenuItemTitleTooltip:Ce,inlineCollapsed:at}=ie.useContext(E),jt=on=>{const tn=ie.createElement("span",{className:`${fe}-title-content`},ce);return(!He||(0,Ee.l$)(ce)&&ce.type==="span")&&ce&&on&&qe&&typeof ce=="string"?ie.createElement("div",{className:`${fe}-inline-collapsed-noicon`},ce.charAt(0)):tn},{siderCollapsed:ct}=ie.useContext(Pe.D);let Ot=ut;typeof ut=="undefined"?Ot=qe?ce:"":ut===!1&&(Ot="");const Dt={title:Ot};!ct&&!at&&(Dt.title=null,Dt.open=!1);const _t=(0,we.Z)(ce).length;let ht=ie.createElement(z.ck,Object.assign({},(0,De.Z)(Ke,["title","icon","danger"]),{className:be()({[`${fe}-item-danger`]:he,[`${fe}-item-only-child`]:(He?_t+1:_t)===1},ve),title:typeof ut=="string"?ut:void 0}),(0,Ee.Tm)(He,{className:be()((0,Ee.l$)(He)?(ke=He.props)===null||ke===void 0?void 0:ke.className:"",`${fe}-item-icon`)}),jt(at));return Ce||(ht=ie.createElement(je.Z,Object.assign({},Dt,{placement:ze==="rtl"?"left":"right",overlayClassName:`${fe}-inline-collapsed-tooltip`}),ht)),ht},x=Ke=>{var ke;const{popupClassName:ve,icon:ce,title:He,theme:ut}=Ke,he=ie.useContext(E),{prefixCls:fe,inlineCollapsed:qe,theme:ze}=he,Ce=(0,z.Xl)();let at;if(!ce)at=qe&&!Ce.length&&He&&typeof He=="string"?ie.createElement("div",{className:`${fe}-inline-collapsed-noicon`},He.charAt(0)):ie.createElement("span",{className:`${fe}-title-content`},He);else{const ct=(0,Ee.l$)(He)&&He.type==="span";at=ie.createElement(ie.Fragment,null,(0,Ee.Tm)(ce,{className:be()((0,Ee.l$)(ce)?(ke=ce.props)===null||ke===void 0?void 0:ke.className:"",`${fe}-item-icon`)}),ct?He:ie.createElement("span",{className:`${fe}-title-content`},He))}const jt=ie.useMemo(()=>Object.assign(Object.assign({},he),{firstLevel:!1}),[he]);return ie.createElement(E.Provider,{value:jt},ie.createElement(z.Wd,Object.assign({},(0,De.Z)(Ke,["icon"]),{title:at,popupClassName:be()(fe,ve,`${fe}-${ut||ze}`)})))},ee=ne(18785),te=ne(70425),ae=ne(62892),se=ne(40875),de=function(Ke,ke){var ve={};for(var ce in Ke)Object.prototype.hasOwnProperty.call(Ke,ce)&&ke.indexOf(ce)<0&&(ve[ce]=Ke[ce]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,ce=Object.getOwnPropertySymbols(Ke);He<ce.length;He++)ke.indexOf(ce[He])<0&&Object.prototype.propertyIsEnumerable.call(Ke,ce[He])&&(ve[ce[He]]=Ke[ce[He]]);return ve};function me(Ke){return(Ke||[]).map((ke,ve)=>{if(ke&&typeof ke=="object"){const ce=ke,{label:He,children:ut,key:he,type:fe}=ce,qe=de(ce,["label","children","key","type"]),ze=he!=null?he:`tmp-${ve}`;return ut||fe==="group"?fe==="group"?ie.createElement(z.BW,Object.assign({key:ze},qe,{title:He}),me(ut)):ie.createElement(x,Object.assign({key:ze},qe,{title:He}),me(ut)):fe==="divider"?ie.createElement(Oe,Object.assign({key:ze},qe)):ie.createElement(b,Object.assign({key:ze},qe),He)}return null}).filter(ke=>ke)}function Be(Ke){return ie.useMemo(()=>Ke&&me(Ke),[Ke])}var pe=ne(64993),Fe=ne(17313),ge=ne(8378),tt=ne(13826),Ie=ne(29878),Qe=ne(83116),_e=ne(37613),it=Ke=>{const{componentCls:ke,motionDurationSlow:ve,horizontalLineHeight:ce,colorSplit:He,lineWidth:ut,lineType:he,itemPaddingInline:fe}=Ke;return{[`${ke}-horizontal`]:{lineHeight:ce,border:0,borderBottom:`${ut}px ${he} ${He}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ke}-item, ${ke}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:fe},[`> ${ke}-item:hover,
> ${ke}-item-active,
> ${ke}-submenu ${ke}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ke}-item, ${ke}-submenu-title`]:{transition:[`border-color ${ve}`,`background ${ve}`].join(",")},[`${ke}-submenu-arrow`]:{display:"none"}}}},nt=Ke=>{let{componentCls:ke,menuArrowOffset:ve}=Ke;return{[`${ke}-rtl`]:{direction:"rtl"},[`${ke}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ke}-rtl${ke}-vertical,
${ke}-submenu-rtl ${ke}-vertical`]:{[`${ke}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ve})`},"&::after":{transform:`rotate(45deg) translateY(${ve})`}}}}};const Lt=Ke=>Object.assign({},(0,Fe.oN)(Ke));var xt=(Ke,ke)=>{const{componentCls:ve,itemColor:ce,itemSelectedColor:He,groupTitleColor:ut,itemBg:he,subMenuItemBg:fe,itemSelectedBg:qe,activeBarHeight:ze,activeBarWidth:Ce,activeBarBorderWidth:at,motionDurationSlow:jt,motionEaseInOut:ct,motionEaseOut:Ot,itemPaddingInline:Dt,motionDurationMid:_t,itemHoverColor:ht,lineType:on,colorSplit:tn,itemDisabledColor:kt,dangerItemColor:Zt,dangerItemHoverColor:$t,dangerItemSelectedColor:sn,dangerItemActiveBg:un,dangerItemSelectedBg:Cn,itemHoverBg:On,itemActiveBg:Rt,menuSubMenuBg:Nt,horizontalItemSelectedColor:Ht,horizontalItemSelectedBg:ln,horizontalItemBorderRadius:nn,horizontalItemHoverBg:jn,popupBg:na}=Ke;return{[`${ve}-${ke}, ${ve}-${ke} > ${ve}`]:{color:ce,background:he,[`&${ve}-root:focus-visible`]:Object.assign({},Lt(Ke)),[`${ve}-item-group-title`]:{color:ut},[`${ve}-submenu-selected`]:{[`> ${ve}-submenu-title`]:{color:He}},[`${ve}-item-disabled, ${ve}-submenu-disabled`]:{color:`${kt} !important`},[`${ve}-item:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{[`&:hover, > ${ve}-submenu-title:hover`]:{color:ht}},[`&:not(${ve}-horizontal)`]:{[`${ve}-item:not(${ve}-item-selected)`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:Rt}},[`${ve}-submenu-title`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:Rt}}},[`${ve}-item-danger`]:{color:Zt,[`&${ve}-item:hover`]:{[`&:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{color:$t}},[`&${ve}-item:active`]:{background:un}},[`${ve}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ve}-item-selected`]:{color:He,[`&${ve}-item-danger`]:{color:sn},"a, a:hover":{color:"inherit"}},[`& ${ve}-item-selected`]:{backgroundColor:qe,[`&${ve}-item-danger`]:{backgroundColor:Cn}},[`${ve}-item, ${ve}-submenu-title`]:{[`&:not(${ve}-item-disabled):focus-visible`]:Object.assign({},Lt(Ke))},[`&${ve}-submenu > ${ve}`]:{backgroundColor:Nt},[`&${ve}-popup > ${ve}`]:{backgroundColor:na},[`&${ve}-horizontal`]:Object.assign(Object.assign({},ke==="dark"?{borderBottom:0}:{}),{[`> ${ve}-item, > ${ve}-submenu`]:{top:at,marginTop:-at,marginBottom:0,borderRadius:nn,"&::after":{position:"absolute",insetInline:Dt,bottom:0,borderBottom:`${ze}px solid transparent`,transition:`border-color ${jt} ${ct}`,content:'""'},"&:hover, &-active, &-open":{background:jn,"&::after":{borderBottomWidth:ze,borderBottomColor:Ht}},"&-selected":{color:Ht,backgroundColor:ln,"&:hover":{backgroundColor:ln},"&::after":{borderBottomWidth:ze,borderBottomColor:Ht}}}}),[`&${ve}-root`]:{[`&${ve}-inline, &${ve}-vertical`]:{borderInlineEnd:`${at}px ${on} ${tn}`}},[`&${ve}-inline`]:{[`${ve}-sub${ve}-inline`]:{background:fe},[`${ve}-item, ${ve}-submenu-title`]:at&&Ce?{width:`calc(100% + ${at}px)`}:{},[`${ve}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ce}px solid ${He}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${_t} ${Ot}`,`opacity ${_t} ${Ot}`].join(","),content:'""'},[`&${ve}-item-danger`]:{"&::after":{borderInlineEndColor:sn}}},[`${ve}-selected, ${ve}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${_t} ${ct}`,`opacity ${_t} ${ct}`].join(",")}}}}}};const Mt=Ke=>{const{componentCls:ke,itemHeight:ve,itemMarginInline:ce,padding:He,menuArrowSize:ut,marginXS:he,itemMarginBlock:fe}=Ke,qe=He+ut+he;return{[`${ke}-item`]:{position:"relative",overflow:"hidden"},[`${ke}-item, ${ke}-submenu-title`]:{height:ve,lineHeight:`${ve}px`,paddingInline:He,overflow:"hidden",textOverflow:"ellipsis",marginInline:ce,marginBlock:fe,width:`calc(100% - ${ce*2}px)`},[`> ${ke}-item,
> ${ke}-submenu > ${ke}-submenu-title`]:{height:ve,lineHeight:`${ve}px`},[`${ke}-item-group-list ${ke}-submenu-title,
${ke}-submenu-title`]:{paddingInlineEnd:qe}}};var $e=Ke=>{const{componentCls:ke,iconCls:ve,itemHeight:ce,colorTextLightSolid:He,dropdownWidth:ut,controlHeightLG:he,motionDurationMid:fe,motionEaseOut:qe,paddingXL:ze,itemMarginInline:Ce,fontSizeLG:at,motionDurationSlow:jt,paddingXS:ct,boxShadowSecondary:Ot,collapsedWidth:Dt,collapsedIconSize:_t}=Ke,ht={height:ce,lineHeight:`${ce}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ke]:{"&-inline, &-vertical":Object.assign({[`&${ke}-root`]:{boxShadow:"none"}},Mt(Ke))},[`${ke}-submenu-popup`]:{[`${ke}-vertical`]:Object.assign(Object.assign({},Mt(Ke)),{boxShadow:Ot})}},{[`${ke}-submenu-popup ${ke}-vertical${ke}-sub`]:{minWidth:ut,maxHeight:`calc(100vh - ${he*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ke}-inline`]:{width:"100%",[`&${ke}-root`]:{[`${ke}-item, ${ke}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${jt}`,`background ${jt}`,`padding ${fe} ${qe}`].join(","),[`> ${ke}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ke}-sub${ke}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ke}-submenu > ${ke}-submenu-title`]:ht,[`& ${ke}-item-group-title`]:{paddingInlineStart:ze}},[`${ke}-item`]:ht}},{[`${ke}-inline-collapsed`]:{width:Dt,[`&${ke}-root`]:{[`${ke}-item, ${ke}-submenu ${ke}-submenu-title`]:{[`> ${ke}-inline-collapsed-noicon`]:{fontSize:at,textAlign:"center"}}},[`> ${ke}-item,
> ${ke}-item-group > ${ke}-item-group-list > ${ke}-item,
> ${ke}-item-group > ${ke}-item-group-list > ${ke}-submenu > ${ke}-submenu-title,
> ${ke}-submenu > ${ke}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${at/2}px - ${Ce}px)`,textOverflow:"clip",[`
${ke}-submenu-arrow,
${ke}-submenu-expand-icon
`]:{opacity:0},[`${ke}-item-icon, ${ve}`]:{margin:0,fontSize:_t,lineHeight:`${ce}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ke}-item-icon, ${ve}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ke}-item-icon, ${ve}`]:{display:"none"},"a, a:hover":{color:He}},[`${ke}-item-group-title`]:Object.assign(Object.assign({},Fe.vS),{paddingInline:ct})}}]};const mt=Ke=>{const{componentCls:ke,motionDurationSlow:ve,motionDurationMid:ce,motionEaseInOut:He,motionEaseOut:ut,iconCls:he,iconSize:fe,iconMarginInlineEnd:qe}=Ke;return{[`${ke}-item, ${ke}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ve}`,`background ${ve}`,`padding ${ve} ${He}`].join(","),[`${ke}-item-icon, ${he}`]:{minWidth:fe,fontSize:fe,transition:[`font-size ${ce} ${ut}`,`margin ${ve} ${He}`,`color ${ve}`].join(","),"+ span":{marginInlineStart:qe,opacity:1,transition:[`opacity ${ve} ${He}`,`margin ${ve}`,`color ${ve}`].join(",")}},[`${ke}-item-icon`]:Object.assign({},(0,Fe.Ro)()),[`&${ke}-item-only-child`]:{[`> ${he}, > ${ke}-item-icon`]:{marginInlineEnd:0}}},[`${ke}-item-disabled, ${ke}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ke}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},zt=Ke=>{const{componentCls:ke,motionDurationSlow:ve,motionEaseInOut:ce,borderRadius:He,menuArrowSize:ut,menuArrowOffset:he}=Ke;return{[`${ke}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ke.margin,width:ut,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ve} ${ce}, opacity ${ve}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ut*.6,height:ut*.15,backgroundColor:"currentcolor",borderRadius:He,transition:[`background ${ve} ${ce}`,`transform ${ve} ${ce}`,`top ${ve} ${ce}`,`color ${ve} ${ce}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${he})`},"&::after":{transform:`rotate(-45deg) translateY(${he})`}}}}},st=Ke=>{const{antCls:ke,componentCls:ve,fontSize:ce,motionDurationSlow:He,motionDurationMid:ut,motionEaseInOut:he,paddingXS:fe,padding:qe,colorSplit:ze,lineWidth:Ce,zIndexPopup:at,borderRadiusLG:jt,subMenuItemBorderRadius:ct,menuArrowSize:Ot,menuArrowOffset:Dt,lineType:_t,menuPanelMaskInset:ht,groupTitleLineHeight:on,groupTitleFontSize:tn}=Ke;return[{"":{[`${ve}`]:Object.assign(Object.assign({},(0,Fe.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,Fe.Wf)(Ke)),(0,Fe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ce,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${He} 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:Ke.itemBorderRadius},[`${ve}-item-group-title`]:{padding:`${fe}px ${qe}px`,fontSize:tn,lineHeight:on,transition:`all ${He}`},[`&-horizontal ${ve}-submenu`]:{transition:[`border-color ${He} ${he}`,`background ${He} ${he}`].join(",")},[`${ve}-submenu, ${ve}-submenu-inline`]:{transition:[`border-color ${He} ${he}`,`background ${He} ${he}`,`padding ${ut} ${he}`].join(",")},[`${ve}-submenu ${ve}-sub`]:{cursor:"initial",transition:[`background ${He} ${he}`,`padding ${He} ${he}`].join(",")},[`${ve}-title-content`]:{transition:`color ${He}`},[`${ve}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ve}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ze,borderStyle:_t,borderWidth:0,borderTopWidth:Ce,marginBlock:Ce,padding:0,"&-dashed":{borderStyle:"dashed"}}}),mt(Ke)),{[`${ve}-item-group`]:{[`${ve}-item-group-list`]:{margin:0,padding:0,[`${ve}-item, ${ve}-submenu-title`]:{paddingInline:`${ce*2}px ${qe}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:at,borderRadius:jt,boxShadow:"none",transformOrigin:"0 0",[`&${ve}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ht}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ht},"\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:Ke.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ke.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ke.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ke.paddingXS},[`> ${ve}`]:Object.assign(Object.assign(Object.assign({borderRadius:jt},mt(Ke)),zt(Ke)),{[`${ve}-item, ${ve}-submenu > ${ve}-submenu-title`]:{borderRadius:ct},[`${ve}-submenu-title::after`]:{transition:`transform ${He} ${he}`}})}}),zt(Ke)),{[`&-inline-collapsed ${ve}-submenu-arrow,
&-inline ${ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Dt})`},"&::after":{transform:`rotate(45deg) translateX(-${Dt})`}},[`${ve}-submenu-open${ve}-submenu-inline > ${ve}-submenu-title > ${ve}-submenu-arrow`]:{transform:`translateY(-${Ot*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Dt})`},"&::before":{transform:`rotate(45deg) translateX(${Dt})`}}})},{[`${ke}-layout-header`]:{[ve]:{lineHeight:"inherit"}}}]};var Tt=(Ke,ke)=>(0,Qe.Z)("Menu",ce=>{if(ke===!1)return[];const{colorBgElevated:He,colorPrimary:ut,colorTextLightSolid:he,controlHeightLG:fe,fontSize:qe,darkItemColor:ze,darkDangerItemColor:Ce,darkItemBg:at,darkSubMenuItemBg:jt,darkItemSelectedColor:ct,darkItemSelectedBg:Ot,darkDangerItemSelectedBg:Dt,darkItemHoverBg:_t,darkGroupTitleColor:ht,darkItemHoverColor:on,darkItemDisabledColor:tn,darkDangerItemHoverColor:kt,darkDangerItemSelectedColor:Zt,darkDangerItemActiveBg:$t}=ce,sn=qe/7*5,un=(0,_e.TS)(ce,{menuArrowSize:sn,menuHorizontalHeight:fe*1.15,menuArrowOffset:`${sn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:He}),Cn=(0,_e.TS)(un,{itemColor:ze,itemHoverColor:on,groupTitleColor:ht,itemSelectedColor:ct,itemBg:at,popupBg:at,subMenuItemBg:jt,itemActiveBg:"transparent",itemSelectedBg:Ot,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:_t,itemDisabledColor:tn,dangerItemColor:Ce,dangerItemHoverColor:kt,dangerItemSelectedColor:Zt,dangerItemActiveBg:$t,dangerItemSelectedBg:Dt,menuSubMenuBg:jt,horizontalItemSelectedColor:he,horizontalItemSelectedBg:ut});return[st(un),it(un),$e(un),xt(un,"light"),xt(Cn,"dark"),nt(un),(0,ge.Z)(un),(0,tt.oN)(un,"slide-up"),(0,tt.oN)(un,"slide-down"),(0,Ie._y)(un,"zoom-big")]},ce=>{const{colorPrimary:He,colorError:ut,colorTextDisabled:he,colorErrorBg:fe,colorText:qe,colorTextDescription:ze,colorBgContainer:Ce,colorFillAlter:at,colorFillContent:jt,lineWidth:ct,lineWidthBold:Ot,controlItemBgActive:Dt,colorBgTextHover:_t,controlHeightLG:ht,lineHeight:on,colorBgElevated:tn,marginXXS:kt,padding:Zt,fontSize:$t,controlHeightSM:sn,fontSizeLG:un,colorTextLightSolid:Cn,colorErrorHover:On}=ce,Rt=new pe.C(Cn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ce.zIndexPopupBase+50,radiusItem:ce.borderRadiusLG,itemBorderRadius:ce.borderRadiusLG,radiusSubMenuItem:ce.borderRadiusSM,subMenuItemBorderRadius:ce.borderRadiusSM,colorItemText:qe,itemColor:qe,colorItemTextHover:qe,itemHoverColor:qe,colorItemTextHoverHorizontal:He,horizontalItemHoverColor:He,colorGroupTitle:ze,groupTitleColor:ze,colorItemTextSelected:He,itemSelectedColor:He,colorItemTextSelectedHorizontal:He,horizontalItemSelectedColor:He,colorItemBg:Ce,itemBg:Ce,colorItemBgHover:_t,itemHoverBg:_t,colorItemBgActive:jt,itemActiveBg:Dt,colorSubItemBg:at,subMenuItemBg:at,colorItemBgSelected:Dt,itemSelectedBg:Dt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Ot,activeBarHeight:Ot,colorActiveBarBorderSize:ct,activeBarBorderWidth:ct,colorItemTextDisabled:he,itemDisabledColor:he,colorDangerItemText:ut,dangerItemColor:ut,colorDangerItemTextHover:ut,dangerItemHoverColor:ut,colorDangerItemTextSelected:ut,dangerItemSelectedColor:ut,colorDangerItemBgActive:fe,dangerItemActiveBg:fe,colorDangerItemBgSelected:fe,dangerItemSelectedBg:fe,itemMarginInline:ce.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ht,groupTitleLineHeight:on,collapsedWidth:ht*2,popupBg:tn,itemMarginBlock:kt,itemPaddingInline:Zt,horizontalLineHeight:`${ht*1.15}px`,iconSize:$t,iconMarginInlineEnd:sn-$t,collapsedIconSize:un,groupTitleFontSize:$t,darkItemDisabledColor:new pe.C(Cn).setAlpha(.25).toRgbString(),darkItemColor:Rt,darkDangerItemColor:ut,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Cn,darkItemSelectedBg:He,darkDangerItemSelectedBg:ut,darkItemHoverBg:"transparent",darkGroupTitleColor:Rt,darkItemHoverColor:Cn,darkDangerItemHoverColor:On,darkDangerItemSelectedColor:Cn,darkDangerItemActiveBg:ut}},{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"]]})(Ke),Se=function(Ke,ke){var ve={};for(var ce in Ke)Object.prototype.hasOwnProperty.call(Ke,ce)&&ke.indexOf(ce)<0&&(ve[ce]=Ke[ce]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,ce=Object.getOwnPropertySymbols(Ke);He<ce.length;He++)ke.indexOf(ce[He])<0&&Object.prototype.propertyIsEnumerable.call(Ke,ce[He])&&(ve[ce[He]]=Ke[ce[He]]);return ve},Yt=(0,ie.forwardRef)((Ke,ke)=>{var ve,ce;const He=ie.useContext(se.Z),ut=He||{},{getPrefixCls:he,getPopupContainer:fe,direction:qe,menu:ze}=ie.useContext(xe.E_),Ce=he(),{prefixCls:at,className:jt,style:ct,theme:Ot="light",expandIcon:Dt,_internalDisableMenuItemTitleTooltip:_t,inlineCollapsed:ht,siderCollapsed:on,items:tn,children:kt,rootClassName:Zt,mode:$t,selectable:sn,onClick:un,overflowedIndicatorPopupClassName:Cn}=Ke,On=Se(Ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Rt=(0,De.Z)(On,["collapsedWidth"]),Nt=Be(tn)||kt;(ve=ut.validator)===null||ve===void 0||ve.call(ut,{mode:$t});const Ht=(0,te.useEvent)(function(){var Bt;un==null||un.apply(void 0,arguments),(Bt=ut.onClick)===null||Bt===void 0||Bt.call(ut)}),ln=ut.mode||$t,nn=sn!=null?sn:ut.selectable,jn=ie.useMemo(()=>on!==void 0?on:ht,[ht,on]),na={horizontal:{motionName:`${Ce}-slide-up`},inline:(0,ae.Z)(Ce),other:{motionName:`${Ce}-zoom-big`}},hn=he("menu",at||ut.prefixCls),[Qt,Wn]=Tt(hn,!He),Me=be()(`${hn}-${Ot}`,ze==null?void 0:ze.className,jt);let rt;if(typeof Dt=="function")rt=Dt;else if(Dt===null||Dt===!1)rt=null;else if(ut.expandIcon===null||ut.expandIcon===!1)rt=null;else{const Bt=Dt!=null?Dt:ut.expandIcon;rt=(0,Ee.Tm)(Bt,{className:be()(`${hn}-submenu-expand-icon`,(0,Ee.l$)(Bt)?(ce=Bt.props)===null||ce===void 0?void 0:ce.className:"")})}const Pt=ie.useMemo(()=>({prefixCls:hn,inlineCollapsed:jn||!1,direction:qe,firstLevel:!0,theme:Ot,mode:ln,disableMenuItemTitleTooltip:_t}),[hn,jn,qe,_t,Ot]);return Qt(ie.createElement(se.Z.Provider,{value:null},ie.createElement(E.Provider,{value:Pt},ie.createElement(z.ZP,Object.assign({getPopupContainer:fe,overflowedIndicator:ie.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(hn,`${hn}-${Ot}`,Cn),mode:ln,selectable:nn,onClick:Ht},Rt,{inlineCollapsed:jn,style:Object.assign(Object.assign({},ze==null?void 0:ze.style),ct),className:Me,prefixCls:hn,direction:qe,defaultMotions:na,expandIcon:rt,ref:ke,rootClassName:be()(Zt,Wn)}),Nt))))});const yt=(0,ie.forwardRef)((Ke,ke)=>{const ve=(0,ie.useRef)(null),ce=ie.useContext(Pe.D);return(0,ie.useImperativeHandle)(ke,()=>({menu:ve.current,focus:He=>{var ut;(ut=ve.current)===null||ut===void 0||ut.focus(He)}})),ie.createElement(Yt,Object.assign({ref:ve},Ke,ce))});yt.Item=b,yt.SubMenu=x,yt.Divider=Oe,yt.ItemGroup=z.BW;var ft=yt},58421:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return ut}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(fe,qe){return ie.createElement(be.Z,(0,z.Z)({},fe,{ref:qe,icon:Re}))},re=ie.forwardRef(xe),Ne=re,Oe=ne(49198),we=ne(33853),De=ne(38819),je=ne(92310),Ee=ne.n(je),oe=ne(400),E=ne(33708),a=ne(6909),b=ne(4771),y=ne(9427),x=ne(25440),ee=ne(26112),te={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ae=te,se=ne(91735),de=function(he){(0,y.Z)(qe,he);var fe=(0,x.Z)(qe);function qe(){var ze;(0,a.Z)(this,qe);for(var Ce=arguments.length,at=new Array(Ce),jt=0;jt<Ce;jt++)at[jt]=arguments[jt];return ze=fe.call.apply(fe,[this].concat(at)),ze.state={goInputText:""},ze.getValidValue=function(){var ct=ze.state.goInputText;return!ct||Number.isNaN(ct)?void 0:Number(ct)},ze.buildOptionText=function(ct){return"".concat(ct," ").concat(ze.props.locale.items_per_page)},ze.changeSize=function(ct){ze.props.changeSize(Number(ct))},ze.handleChange=function(ct){ze.setState({goInputText:ct.target.value})},ze.handleBlur=function(ct){var Ot=ze.props,Dt=Ot.goButton,_t=Ot.quickGo,ht=Ot.rootPrefixCls,on=ze.state.goInputText;Dt||on===""||(ze.setState({goInputText:""}),!(ct.relatedTarget&&(ct.relatedTarget.className.indexOf("".concat(ht,"-item-link"))>=0||ct.relatedTarget.className.indexOf("".concat(ht,"-item"))>=0))&&_t(ze.getValidValue()))},ze.go=function(ct){var Ot=ze.state.goInputText;Ot!==""&&(ct.keyCode===ae.ENTER||ct.type==="click")&&(ze.setState({goInputText:""}),ze.props.quickGo(ze.getValidValue()))},ze}return(0,b.Z)(qe,[{key:"getPageSizeOptions",value:function(){var Ce=this.props,at=Ce.pageSize,jt=Ce.pageSizeOptions;return jt.some(function(ct){return ct.toString()===at.toString()})?jt:jt.concat([at.toString()]).sort(function(ct,Ot){var Dt=Number.isNaN(Number(ct))?0:Number(ct),_t=Number.isNaN(Number(Ot))?0:Number(Ot);return Dt-_t})}},{key:"render",value:function(){var Ce=this,at=this.props,jt=at.pageSize,ct=at.locale,Ot=at.rootPrefixCls,Dt=at.changeSize,_t=at.quickGo,ht=at.goButton,on=at.selectComponentClass,tn=at.buildOptionText,kt=at.selectPrefixCls,Zt=at.disabled,$t=this.state.goInputText,sn="".concat(Ot,"-options"),un=on,Cn=null,On=null,Rt=null;if(!Dt&&!_t)return null;var Nt=this.getPageSizeOptions();if(Dt&&un){var Ht=Nt.map(function(ln,nn){return ie.createElement(un.Option,{key:nn,value:ln.toString()},(tn||Ce.buildOptionText)(ln))});Cn=ie.createElement(un,{disabled:Zt,prefixCls:kt,showSearch:!1,className:"".concat(sn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(jt||Nt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(nn){return nn.parentNode},"aria-label":ct.page_size,defaultOpen:!1},Ht)}return _t&&(ht&&(Rt=typeof ht=="boolean"?ie.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Zt,className:"".concat(sn,"-quick-jumper-button")},ct.jump_to_confirm):ie.createElement("span",{onClick:this.go,onKeyUp:this.go},ht)),On=ie.createElement("div",{className:"".concat(sn,"-quick-jumper")},ct.jump_to,ie.createElement("input",{disabled:Zt,type:"text",value:$t,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ct.page}),ct.page,Rt)),ie.createElement("li",{className:"".concat(sn)},Cn,On)}}]),qe}(ie.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var me=de,Be=function(fe){var qe,ze=fe.rootPrefixCls,Ce=fe.page,at=fe.active,jt=fe.className,ct=fe.showTitle,Ot=fe.onClick,Dt=fe.onKeyPress,_t=fe.itemRender,ht="".concat(ze,"-item"),on=Ee()(ht,"".concat(ht,"-").concat(Ce),(qe={},(0,oe.Z)(qe,"".concat(ht,"-active"),at),(0,oe.Z)(qe,"".concat(ht,"-disabled"),!Ce),(0,oe.Z)(qe,fe.className,jt),qe)),tn=function(){Ot(Ce)},kt=function(sn){Dt(sn,Ot,Ce)},Zt=_t(Ce,"page",ie.createElement("a",{rel:"nofollow"},Ce));return Zt?ie.createElement("li",{title:ct?Ce.toString():null,className:on,onClick:tn,onKeyPress:kt,tabIndex:0},Zt):null},pe=Be;function Fe(){}function ge(he){var fe=Number(he);return typeof fe=="number"&&!Number.isNaN(fe)&&isFinite(fe)&&Math.floor(fe)===fe}var tt=function(fe,qe,ze){return ze};function Ie(he,fe,qe){var ze=typeof he=="undefined"?fe.pageSize:he;return Math.floor((qe.total-1)/ze)+1}var Qe=function(he){(0,y.Z)(qe,he);var fe=(0,x.Z)(qe);function qe(ze){var Ce;(0,a.Z)(this,qe),Ce=fe.call(this,ze),Ce.paginationNode=ie.createRef(),Ce.getJumpPrevPage=function(){return Math.max(1,Ce.state.current-(Ce.props.showLessItems?3:5))},Ce.getJumpNextPage=function(){return Math.min(Ie(void 0,Ce.state,Ce.props),Ce.state.current+(Ce.props.showLessItems?3:5))},Ce.getItemIcon=function(Dt,_t){var ht=Ce.props.prefixCls,on=Dt||ie.createElement("button",{type:"button","aria-label":_t,className:"".concat(ht,"-item-link")});return typeof Dt=="function"&&(on=ie.createElement(Dt,(0,E.Z)({},Ce.props))),on},Ce.isValid=function(Dt){var _t=Ce.props.total;return ge(Dt)&&Dt!==Ce.state.current&&ge(_t)&&_t>0},Ce.shouldDisplayQuickJumper=function(){var Dt=Ce.props,_t=Dt.showQuickJumper,ht=Dt.total,on=Ce.state.pageSize;return ht<=on?!1:_t},Ce.handleKeyDown=function(Dt){(Dt.keyCode===ae.ARROW_UP||Dt.keyCode===ae.ARROW_DOWN)&&Dt.preventDefault()},Ce.handleKeyUp=function(Dt){var _t=Ce.getValidValue(Dt),ht=Ce.state.currentInputValue;_t!==ht&&Ce.setState({currentInputValue:_t}),Dt.keyCode===ae.ENTER?Ce.handleChange(_t):Dt.keyCode===ae.ARROW_UP?Ce.handleChange(_t-1):Dt.keyCode===ae.ARROW_DOWN&&Ce.handleChange(_t+1)},Ce.handleBlur=function(Dt){var _t=Ce.getValidValue(Dt);Ce.handleChange(_t)},Ce.changePageSize=function(Dt){var _t=Ce.state.current,ht=Ie(Dt,Ce.state,Ce.props);_t=_t>ht?ht:_t,ht===0&&(_t=Ce.state.current),typeof Dt=="number"&&("pageSize"in Ce.props||Ce.setState({pageSize:Dt}),"current"in Ce.props||Ce.setState({current:_t,currentInputValue:_t})),Ce.props.onShowSizeChange(_t,Dt),"onChange"in Ce.props&&Ce.props.onChange&&Ce.props.onChange(_t,Dt)},Ce.handleChange=function(Dt){var _t=Ce.props,ht=_t.disabled,on=_t.onChange,tn=Ce.state,kt=tn.pageSize,Zt=tn.current,$t=tn.currentInputValue;if(Ce.isValid(Dt)&&!ht){var sn=Ie(void 0,Ce.state,Ce.props),un=Dt;return Dt>sn?un=sn:Dt<1&&(un=1),"current"in Ce.props||Ce.setState({current:un}),un!==$t&&Ce.setState({currentInputValue:un}),on(un,kt),un}return Zt},Ce.prev=function(){Ce.hasPrev()&&Ce.handleChange(Ce.state.current-1)},Ce.next=function(){Ce.hasNext()&&Ce.handleChange(Ce.state.current+1)},Ce.jumpPrev=function(){Ce.handleChange(Ce.getJumpPrevPage())},Ce.jumpNext=function(){Ce.handleChange(Ce.getJumpNextPage())},Ce.hasPrev=function(){return Ce.state.current>1},Ce.hasNext=function(){return Ce.state.current<Ie(void 0,Ce.state,Ce.props)},Ce.runIfEnter=function(Dt,_t){if(Dt.key==="Enter"||Dt.charCode===13){for(var ht=arguments.length,on=new Array(ht>2?ht-2:0),tn=2;tn<ht;tn++)on[tn-2]=arguments[tn];_t.apply(void 0,on)}},Ce.runIfEnterPrev=function(Dt){Ce.runIfEnter(Dt,Ce.prev)},Ce.runIfEnterNext=function(Dt){Ce.runIfEnter(Dt,Ce.next)},Ce.runIfEnterJumpPrev=function(Dt){Ce.runIfEnter(Dt,Ce.jumpPrev)},Ce.runIfEnterJumpNext=function(Dt){Ce.runIfEnter(Dt,Ce.jumpNext)},Ce.handleGoTO=function(Dt){(Dt.keyCode===ae.ENTER||Dt.type==="click")&&Ce.handleChange(Ce.state.currentInputValue)},Ce.renderPrev=function(Dt){var _t=Ce.props,ht=_t.prevIcon,on=_t.itemRender,tn=on(Dt,"prev",Ce.getItemIcon(ht,"prev page")),kt=!Ce.hasPrev();return(0,ie.isValidElement)(tn)?(0,ie.cloneElement)(tn,{disabled:kt}):tn},Ce.renderNext=function(Dt){var _t=Ce.props,ht=_t.nextIcon,on=_t.itemRender,tn=on(Dt,"next",Ce.getItemIcon(ht,"next page")),kt=!Ce.hasNext();return(0,ie.isValidElement)(tn)?(0,ie.cloneElement)(tn,{disabled:kt}):tn};var at=ze.onChange!==Fe,jt="current"in ze;jt&&!at&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ct=ze.defaultCurrent;"current"in ze&&(ct=ze.current);var Ot=ze.defaultPageSize;return"pageSize"in ze&&(Ot=ze.pageSize),ct=Math.min(ct,Ie(Ot,void 0,ze)),Ce.state={current:ct,currentInputValue:ct,pageSize:Ot},Ce}return(0,b.Z)(qe,[{key:"componentDidUpdate",value:function(Ce,at){var jt=this.props.prefixCls;if(at.current!==this.state.current&&this.paginationNode.current){var ct=this.paginationNode.current.querySelector(".".concat(jt,"-item-").concat(at.current));if(ct&&document.activeElement===ct){var Ot;ct==null||(Ot=ct.blur)===null||Ot===void 0||Ot.call(ct)}}}},{key:"getValidValue",value:function(Ce){var at=Ce.target.value,jt=Ie(void 0,this.state,this.props),ct=this.state.currentInputValue,Ot;return at===""?Ot=at:Number.isNaN(Number(at))?Ot=ct:at>=jt?Ot=jt:Ot=Number(at),Ot}},{key:"getShowSizeChanger",value:function(){var Ce=this.props,at=Ce.showSizeChanger,jt=Ce.total,ct=Ce.totalBoundaryShowSizeChanger;return typeof at!="undefined"?at:jt>ct}},{key:"render",value:function(){var Ce=this.props,at=Ce.prefixCls,jt=Ce.className,ct=Ce.style,Ot=Ce.disabled,Dt=Ce.hideOnSinglePage,_t=Ce.total,ht=Ce.locale,on=Ce.showQuickJumper,tn=Ce.showLessItems,kt=Ce.showTitle,Zt=Ce.showTotal,$t=Ce.simple,sn=Ce.itemRender,un=Ce.showPrevNextJumpers,Cn=Ce.jumpPrevIcon,On=Ce.jumpNextIcon,Rt=Ce.selectComponentClass,Nt=Ce.selectPrefixCls,Ht=Ce.pageSizeOptions,ln=this.state,nn=ln.current,jn=ln.pageSize,na=ln.currentInputValue;if(Dt===!0&&_t<=jn)return null;var hn=Ie(void 0,this.state,this.props),Qt=[],Wn=null,Me=null,rt=null,Pt=null,Bt=null,Jt=on&&on.goButton,Wt=tn?1:2,Kt=nn-1>0?nn-1:0,Ve=nn+1<hn?nn+1:hn,Ye=(0,ee.Z)(this.props,{aria:!0,data:!0}),Je=Zt&&ie.createElement("li",{className:"".concat(at,"-total-text")},Zt(_t,[_t===0?0:(nn-1)*jn+1,nn*jn>_t?_t:nn*jn]));if($t){Jt&&(typeof Jt=="boolean"?Bt=ie.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ht.jump_to_confirm):Bt=ie.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Jt),Bt=ie.createElement("li",{title:kt?"".concat(ht.jump_to).concat(nn,"/").concat(hn):null,className:"".concat(at,"-simple-pager")},Bt));var Et=this.renderPrev(Kt);return ie.createElement("ul",(0,z.Z)({className:Ee()(at,"".concat(at,"-simple"),(0,oe.Z)({},"".concat(at,"-disabled"),Ot),jt),style:ct,ref:this.paginationNode},Ye),Je,Et?ie.createElement("li",{title:kt?ht.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(at,"-prev"),(0,oe.Z)({},"".concat(at,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Et):null,ie.createElement("li",{title:kt?"".concat(nn,"/").concat(hn):null,className:"".concat(at,"-simple-pager")},ie.createElement("input",{type:"text",value:na,disabled:Ot,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ie.createElement("span",{className:"".concat(at,"-slash")},"/"),hn),ie.createElement("li",{title:kt?ht.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(at,"-next"),(0,oe.Z)({},"".concat(at,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ve)),Bt)}if(hn<=3+Wt*2){var Gt={locale:ht,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:kt,itemRender:sn};hn||Qt.push(ie.createElement(pe,(0,z.Z)({},Gt,{key:"noPager",page:1,className:"".concat(at,"-item-disabled")})));for(var It=1;It<=hn;It+=1){var dn=nn===It;Qt.push(ie.createElement(pe,(0,z.Z)({},Gt,{key:It,page:It,active:dn})))}}else{var an=tn?ht.prev_3:ht.prev_5,Xt=tn?ht.next_3:ht.next_5,cn=sn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Cn,"prev page")),da=sn(this.getJumpNextPage(),"jump-next",this.getItemIcon(On,"next page"));un&&(Wn=cn?ie.createElement("li",{title:kt?an:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(at,"-jump-prev"),(0,oe.Z)({},"".concat(at,"-jump-prev-custom-icon"),!!Cn))},cn):null,Me=da?ie.createElement("li",{title:kt?Xt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(at,"-jump-next"),(0,oe.Z)({},"".concat(at,"-jump-next-custom-icon"),!!On))},da):null),Pt=ie.createElement(pe,{locale:ht,last:!0,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:hn,page:hn,active:!1,showTitle:kt,itemRender:sn}),rt=ie.createElement(pe,{locale:ht,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:kt,itemRender:sn});var Ut=Math.max(1,nn-Wt),kn=Math.min(nn+Wt,hn);nn-1<=Wt&&(kn=1+Wt*2),hn-nn<=Wt&&(Ut=hn-Wt*2);for(var aa=Ut;aa<=kn;aa+=1){var va=nn===aa;Qt.push(ie.createElement(pe,{locale:ht,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:aa,page:aa,active:va,showTitle:kt,itemRender:sn}))}nn-1>=Wt*2&&nn!==3&&(Qt[0]=(0,ie.cloneElement)(Qt[0],{className:"".concat(at,"-item-after-jump-prev")}),Qt.unshift(Wn)),hn-nn>=Wt*2&&nn!==hn-2&&(Qt[Qt.length-1]=(0,ie.cloneElement)(Qt[Qt.length-1],{className:"".concat(at,"-item-before-jump-next")}),Qt.push(Me)),Ut!==1&&Qt.unshift(rt),kn!==hn&&Qt.push(Pt)}var fn=!this.hasPrev()||!hn,Un=!this.hasNext()||!hn,ka=this.renderPrev(Kt),$n=this.renderNext(Ve);return ie.createElement("ul",(0,z.Z)({className:Ee()(at,jt,(0,oe.Z)({},"".concat(at,"-disabled"),Ot)),style:ct,ref:this.paginationNode},Ye),Je,ka?ie.createElement("li",{title:kt?ht.prev_page:null,onClick:this.prev,tabIndex:fn?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(at,"-prev"),(0,oe.Z)({},"".concat(at,"-disabled"),fn)),"aria-disabled":fn},ka):null,Qt,$n?ie.createElement("li",{title:kt?ht.next_page:null,onClick:this.next,tabIndex:Un?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(at,"-next"),(0,oe.Z)({},"".concat(at,"-disabled"),Un)),"aria-disabled":Un},$n):null,ie.createElement(me,{disabled:Ot,locale:ht,rootPrefixCls:at,selectComponentClass:Rt,selectPrefixCls:Nt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:nn,pageSize:jn,pageSizeOptions:Ht,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Jt}))}}],[{key:"getDerivedStateFromProps",value:function(Ce,at){var jt={};if("current"in Ce&&(jt.current=Ce.current,Ce.current!==at.current&&(jt.currentInputValue=jt.current)),"pageSize"in Ce&&Ce.pageSize!==at.pageSize){var ct=at.current,Ot=Ie(Ce.pageSize,at,Ce);ct=ct>Ot?Ot:ct,"current"in Ce||(jt.current=ct,jt.currentInputValue=ct),jt.pageSize=Ce.pageSize}return jt}}]),qe}(ie.Component);Qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Fe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Fe,locale:se.Z,style:{},itemRender:tt,totalBoundaryShowSizeChanger:50};var _e=Qe,We=ne(22075),it=ne(36355),Ct=ne(19716),nt=ne(8628),Lt=ne(9763),Xe=ne(57809);const xt=he=>ie.createElement(Xe.default,Object.assign({},he,{showSearch:!0,size:"small"})),Mt=he=>ie.createElement(Xe.default,Object.assign({},he,{showSearch:!0,size:"middle"}));xt.Option=Xe.default.Option,Mt.Option=Xe.default.Option;var Te=ne(9937),$e=ne(17313),mt=ne(83116),zt=ne(37613);const st=he=>{const{componentCls:fe}=he;return{[`${fe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${fe}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${fe}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed"}}},[`&${fe}-disabled`]:{cursor:"not-allowed",[`${fe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:he.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:he.colorBorder,backgroundColor:he.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:he.itemActiveBgDisabled},a:{color:he.itemActiveColorDisabled}}},[`${fe}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${fe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${fe}-simple-pager`]:{color:he.colorTextDisabled},[`${fe}-jump-prev, ${fe}-jump-next`]:{[`${fe}-item-link-icon`]:{opacity:0},[`${fe}-item-ellipsis`]:{opacity:1}}},[`&${fe}-simple`]:{[`${fe}-prev, ${fe}-next`]:{[`&${fe}-disabled ${fe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Tt=he=>{const{componentCls:fe}=he;return{[`&${fe}-mini ${fe}-total-text, &${fe}-mini ${fe}-simple-pager`]:{height:he.itemSizeSM,lineHeight:`${he.itemSizeSM}px`},[`&${fe}-mini ${fe}-item`]:{minWidth:he.itemSizeSM,height:he.itemSizeSM,margin:0,lineHeight:`${he.itemSizeSM-2}px`},[`&${fe}-mini:not(${fe}-disabled) ${fe}-item:not(${fe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:he.colorBgTextHover},"&:active":{backgroundColor:he.colorBgTextActive}},[`&${fe}-mini ${fe}-prev, &${fe}-mini ${fe}-next`]:{minWidth:he.itemSizeSM,height:he.itemSizeSM,margin:0,lineHeight:`${he.itemSizeSM}px`},[`&${fe}-mini:not(${fe}-disabled)`]:{[`${fe}-prev, ${fe}-next`]:{[`&:hover ${fe}-item-link`]:{backgroundColor:he.colorBgTextHover},[`&:active ${fe}-item-link`]:{backgroundColor:he.colorBgTextActive},[`&${fe}-disabled:hover ${fe}-item-link`]:{backgroundColor:"transparent"}}},[`
&${fe}-mini ${fe}-prev ${fe}-item-link,
&${fe}-mini ${fe}-next ${fe}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:he.itemSizeSM,lineHeight:`${he.itemSizeSM}px`}},[`&${fe}-mini ${fe}-jump-prev, &${fe}-mini ${fe}-jump-next`]:{height:he.itemSizeSM,marginInlineEnd:0,lineHeight:`${he.itemSizeSM}px`},[`&${fe}-mini ${fe}-options`]:{marginInlineStart:he.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:he.miniOptionsSizeChangerTop},"&-quick-jumper":{height:he.itemSizeSM,lineHeight:`${he.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Te.x0)(he)),{width:he.paginationMiniQuickJumperInputWidth,height:he.controlHeightSM})}}}},Se=he=>{const{componentCls:fe}=he;return{[`
&${fe}-simple ${fe}-prev,
&${fe}-simple ${fe}-next
`]:{height:he.itemSizeSM,lineHeight:`${he.itemSizeSM}px`,verticalAlign:"top",[`${fe}-item-link`]:{height:he.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:he.colorBgTextHover},"&:active":{backgroundColor:he.colorBgTextActive},"&::after":{height:he.itemSizeSM,lineHeight:`${he.itemSizeSM}px`}}},[`&${fe}-simple ${fe}-simple-pager`]:{display:"inline-block",height:he.itemSizeSM,marginInlineEnd:he.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:he.marginXS,padding:`0 ${he.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:he.itemInputBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadius,outline:"none",transition:`border-color ${he.motionDurationMid}`,color:"inherit","&:hover":{borderColor:he.colorPrimary},"&:focus":{borderColor:he.colorPrimaryHover,boxShadow:`${he.inputOutlineOffset}px 0 ${he.controlOutlineWidth}px ${he.controlOutline}`},"&[disabled]":{color:he.colorTextDisabled,backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,cursor:"not-allowed"}}}}},Ft=he=>{const{componentCls:fe}=he;return{[`${fe}-jump-prev, ${fe}-jump-next`]:{outline:0,[`${fe}-item-container`]:{position:"relative",[`${fe}-item-link-icon`]:{color:he.colorPrimary,fontSize:he.fontSizeSM,opacity:0,transition:`all ${he.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${fe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:he.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:he.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:he.paginationEllipsisTextIndent,opacity:1,transition:`all ${he.motionDurationMid}`}},"&:hover":{[`${fe}-item-link-icon`]:{opacity:1},[`${fe}-item-ellipsis`]:{opacity:0}}},[`
${fe}-prev,
${fe}-jump-prev,
${fe}-jump-next
`]:{marginInlineEnd:he.marginXS},[`
${fe}-prev,
${fe}-next,
${fe}-jump-prev,
${fe}-jump-next
`]:{display:"inline-block",minWidth:he.itemSize,height:he.itemSize,color:he.colorText,fontFamily:he.fontFamily,lineHeight:`${he.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:he.borderRadius,cursor:"pointer",transition:`all ${he.motionDurationMid}`},[`${fe}-prev, ${fe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:he.colorText,cursor:"pointer",userSelect:"none"},[`${fe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:he.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${he.lineWidth}px ${he.lineType} transparent`,borderRadius:he.borderRadius,outline:"none",transition:`all ${he.motionDurationMid}`},[`&:hover ${fe}-item-link`]:{backgroundColor:he.colorBgTextHover},[`&:active ${fe}-item-link`]:{backgroundColor:he.colorBgTextActive},[`&${fe}-disabled:hover`]:{[`${fe}-item-link`]:{backgroundColor:"transparent"}}},[`${fe}-slash`]:{marginInlineEnd:he.paginationSlashMarginInlineEnd,marginInlineStart:he.paginationSlashMarginInlineStart},[`${fe}-options`]:{display:"inline-block",marginInlineStart:he.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:he.controlHeight,marginInlineStart:he.marginXS,lineHeight:`${he.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Te.ik)(he)),{width:he.controlHeightLG*1.25,height:he.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:he.marginXS,marginInlineEnd:he.marginXS})}}}},Yt=he=>{const{componentCls:fe}=he;return{[`${fe}-item`]:{display:"inline-block",minWidth:he.itemSize,height:he.itemSize,marginInlineEnd:he.marginXS,fontFamily:he.fontFamily,lineHeight:`${he.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${he.lineWidth}px ${he.lineType} transparent`,borderRadius:he.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${he.paginationItemPaddingInline}px`,color:he.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${fe}-item-active)`]:{"&:hover":{transition:`all ${he.motionDurationMid}`,backgroundColor:he.colorBgTextHover},"&:active":{backgroundColor:he.colorBgTextActive}},"&-active":{fontWeight:he.fontWeightStrong,backgroundColor:he.itemActiveBg,borderColor:he.colorPrimary,a:{color:he.colorPrimary},"&:hover":{borderColor:he.colorPrimaryHover},"&:hover a":{color:he.colorPrimaryHover}}}}},yt=he=>{const{componentCls:fe}=he;return{[fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(he)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${fe}-total-text`]:{display:"inline-block",height:he.itemSize,marginInlineEnd:he.marginXS,lineHeight:`${he.itemSize-2}px`,verticalAlign:"middle"}}),Yt(he)),Ft(he)),Se(he)),Tt(he)),st(he)),{[`@media only screen and (max-width: ${he.screenLG}px)`]:{[`${fe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${he.screenSM}px)`]:{[`${fe}-options`]:{display:"none"}}}),[`&${he.componentCls}-rtl`]:{direction:"rtl"}}},ft=he=>{const{componentCls:fe}=he;return{[`${fe}${fe}-disabled:not(${fe}-mini)`]:{"&, &:hover":{[`${fe}-item-link`]:{borderColor:he.colorBorder}},"&:focus-visible":{[`${fe}-item-link`]:{borderColor:he.colorBorder}},[`${fe}-item, ${fe}-item-link`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,[`&:hover:not(${fe}-item-active)`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,a:{color:he.colorTextDisabled}},[`&${fe}-item-active`]:{backgroundColor:he.itemActiveBgDisabled}},[`${fe}-prev, ${fe}-next`]:{"&:hover button":{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,color:he.colorTextDisabled},[`${fe}-item-link`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder}}},[`${fe}:not(${fe}-mini)`]:{[`${fe}-prev, ${fe}-next`]:{"&:hover button":{borderColor:he.colorPrimaryHover,backgroundColor:he.itemBg},[`${fe}-item-link`]:{backgroundColor:he.itemLinkBg,borderColor:he.colorBorder},[`&:hover ${fe}-item-link`]:{borderColor:he.colorPrimary,backgroundColor:he.itemBg,color:he.colorPrimary},[`&${fe}-disabled`]:{[`${fe}-item-link`]:{borderColor:he.colorBorder,color:he.colorTextDisabled}}},[`${fe}-item`]:{backgroundColor:he.itemBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,[`&:hover:not(${fe}-item-active)`]:{borderColor:he.colorPrimary,backgroundColor:he.itemBg,a:{color:he.colorPrimary}},"&-active":{borderColor:he.colorPrimary}}}}},Ke=he=>{const{componentCls:fe}=he;return{[`${fe}:not(${fe}-disabled)`]:{[`${fe}-item`]:Object.assign({},(0,$e.Qy)(he)),[`${fe}-jump-prev, ${fe}-jump-next`]:{"&:focus-visible":Object.assign({[`${fe}-item-link-icon`]:{opacity:1},[`${fe}-item-ellipsis`]:{opacity:0}},(0,$e.oN)(he))},[`${fe}-prev, ${fe}-next`]:{[`&:focus-visible ${fe}-item-link`]:Object.assign({},(0,$e.oN)(he))}}}};var ke=(0,mt.Z)("Pagination",he=>{const fe=(0,zt.TS)(he,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:he.marginXXS/2,paginationMiniQuickJumperInputWidth:he.controlHeightLG*1.1,paginationItemPaddingInline:he.marginXXS*1.5,paginationEllipsisLetterSpacing:he.marginXXS/2,paginationSlashMarginInlineStart:he.marginXXS,paginationSlashMarginInlineEnd:he.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Te.e5)(he),(0,Te.TM)(he));return[yt(fe),Ke(fe),he.wireframe&&ft(fe)]},he=>({itemBg:he.colorBgContainer,itemSize:he.controlHeight,itemSizeSM:he.controlHeightSM,itemActiveBg:he.colorBgContainer,itemLinkBg:he.colorBgContainer,itemActiveColorDisabled:he.colorTextDisabled,itemActiveBgDisabled:he.controlItemBgActiveDisabled,itemInputBg:he.colorBgContainer,miniOptionsSizeChangerTop:0})),ve=function(he,fe){var qe={};for(var ze in he)Object.prototype.hasOwnProperty.call(he,ze)&&fe.indexOf(ze)<0&&(qe[ze]=he[ze]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ze=Object.getOwnPropertySymbols(he);Ce<ze.length;Ce++)fe.indexOf(ze[Ce])<0&&Object.prototype.propertyIsEnumerable.call(he,ze[Ce])&&(qe[ze[Ce]]=he[ze[Ce]]);return qe},He=he=>{const{prefixCls:fe,selectPrefixCls:qe,className:ze,rootClassName:Ce,style:at,size:jt,locale:ct,selectComponentClass:Ot,responsive:Dt,showSizeChanger:_t}=he,ht=ve(he,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:on}=(0,nt.Z)(Dt),{getPrefixCls:tn,direction:kt,pagination:Zt={}}=ie.useContext(it.E_),$t=tn("pagination",fe),[sn,un]=ke($t),Cn=_t!=null?_t:Zt.showSizeChanger,On=ie.useMemo(()=>{const hn=ie.createElement("span",{className:`${$t}-item-ellipsis`},"\u2022\u2022\u2022"),Qt=ie.createElement("button",{className:`${$t}-item-link`,type:"button",tabIndex:-1},kt==="rtl"?ie.createElement(De.Z,null):ie.createElement(we.Z,null)),Wn=ie.createElement("button",{className:`${$t}-item-link`,type:"button",tabIndex:-1},kt==="rtl"?ie.createElement(we.Z,null):ie.createElement(De.Z,null)),Me=ie.createElement("a",{className:`${$t}-item-link`},ie.createElement("div",{className:`${$t}-item-container`},kt==="rtl"?ie.createElement(Oe.Z,{className:`${$t}-item-link-icon`}):ie.createElement(Ne,{className:`${$t}-item-link-icon`}),hn)),rt=ie.createElement("a",{className:`${$t}-item-link`},ie.createElement("div",{className:`${$t}-item-container`},kt==="rtl"?ie.createElement(Ne,{className:`${$t}-item-link-icon`}):ie.createElement(Oe.Z,{className:`${$t}-item-link-icon`}),hn));return{prevIcon:Qt,nextIcon:Wn,jumpPrevIcon:Me,jumpNextIcon:rt}},[kt,$t]),[Rt]=(0,Lt.Z)("Pagination",We.Z),Nt=Object.assign(Object.assign({},Rt),ct),Ht=(0,Ct.Z)(jt),ln=Ht==="small"||!!(on&&!Ht&&Dt),nn=tn("select",qe),jn=Ee()({[`${$t}-mini`]:ln,[`${$t}-rtl`]:kt==="rtl"},Zt==null?void 0:Zt.className,ze,Ce,un),na=Object.assign(Object.assign({},Zt==null?void 0:Zt.style),at);return sn(ie.createElement(_e,Object.assign({},On,ht,{style:na,prefixCls:$t,selectPrefixCls:nn,className:jn,selectComponentClass:Ot||(ln?xt:Mt),locale:Nt,showSizeChanger:Cn})))},ut=He},39722:function(pt,vt,ne){"use strict";ne.d(vt,{t5:function(){return we}});var z=ne(92310),ie=ne.n(z),Pe=ne(55477),Re=ne(59301),be=ne(36355),xe=ne(77578),re=ne(17356),Ne=function(je,Ee){var oe={};for(var E in je)Object.prototype.hasOwnProperty.call(je,E)&&Ee.indexOf(E)<0&&(oe[E]=je[E]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(je);a<E.length;a++)Ee.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(je,E[a])&&(oe[E[a]]=je[E[a]]);return oe};const Oe=(je,Ee,oe)=>{if(!(!Ee&&!oe))return Re.createElement(Re.Fragment,null,Ee&&Re.createElement("div",{className:`${je}-title`},(0,xe.Z)(Ee)),Re.createElement("div",{className:`${je}-inner-content`},(0,xe.Z)(oe)))},we=je=>{const{hashId:Ee,prefixCls:oe,className:E,style:a,placement:b="top",title:y,content:x,children:ee}=je;return Re.createElement("div",{className:ie()(Ee,oe,`${oe}-pure`,`${oe}-placement-${b}`,E),style:a},Re.createElement("div",{className:`${oe}-arrow`}),Re.createElement(Pe.G,Object.assign({},je,{className:Ee,prefixCls:oe}),ee||Oe(oe,y,x)))},De=je=>{const{prefixCls:Ee}=je,oe=Ne(je,["prefixCls"]),{getPrefixCls:E}=Re.useContext(be.E_),a=E("popover",Ee),[b,y]=(0,re.Z)(a);return b(Re.createElement(we,Object.assign({},oe,{prefixCls:a,hashId:y})))};vt.ZP=De},60324:function(pt,vt,ne){"use strict";var z=ne(92310),ie=ne.n(z),Pe=ne(59301),Re=ne(77578),be=ne(62892),xe=ne(36355),re=ne(6848),Ne=ne(39722),Oe=ne(17356),we=function(Ee,oe){var E={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&oe.indexOf(a)<0&&(E[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Ee);b<a.length;b++)oe.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(Ee,a[b])&&(E[a[b]]=Ee[a[b]]);return E};const De=Ee=>{let{title:oe,content:E,prefixCls:a}=Ee;return Pe.createElement(Pe.Fragment,null,oe&&Pe.createElement("div",{className:`${a}-title`},(0,Re.Z)(oe)),Pe.createElement("div",{className:`${a}-inner-content`},(0,Re.Z)(E)))},je=Pe.forwardRef((Ee,oe)=>{const{prefixCls:E,title:a,content:b,overlayClassName:y,placement:x="top",trigger:ee="hover",mouseEnterDelay:te=.1,mouseLeaveDelay:ae=.1,overlayStyle:se={}}=Ee,de=we(Ee,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:me}=Pe.useContext(xe.E_),Be=me("popover",E),[pe,Fe]=(0,Oe.Z)(Be),ge=me(),tt=ie()(y,Fe);return pe(Pe.createElement(re.Z,Object.assign({placement:x,trigger:ee,mouseEnterDelay:te,mouseLeaveDelay:ae,overlayStyle:se},de,{prefixCls:Be,overlayClassName:tt,ref:oe,overlay:a||b?Pe.createElement(De,{prefixCls:Be,title:a,content:b}):null,transitionName:(0,be.m)(ge,"zoom-big",de.transitionName),"data-popover-inject":!0})))});je._InternalPanelDoNotUseOrYouWillBeFired=Ne.ZP,vt.Z=je},17356:function(pt,vt,ne){"use strict";var z=ne(17313),ie=ne(29878),Pe=ne(19447),Re=ne(33166),be=ne(83116),xe=ne(37613);const re=we=>{const{componentCls:De,popoverColor:je,minWidth:Ee,fontWeightStrong:oe,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:y,zIndexPopup:x,marginXS:ee,colorBgElevated:te,popoverBg:ae}=we;return[{[De]:Object.assign(Object.assign({},(0,z.Wf)(we)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:x,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":te,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${De}-content`]:{position:"relative"},[`${De}-inner`]:{backgroundColor:ae,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${De}-title`]:{minWidth:Ee,marginBottom:ee,color:b,fontWeight:oe},[`${De}-inner-content`]:{color:je}})},(0,Pe.ZP)(we,{colorBg:"var(--antd-arrow-background-color)"}),{[`${De}-pure`]:{position:"relative",maxWidth:"none",margin:we.sizePopupArrow,display:"inline-block",[`${De}-content`]:{display:"inline-block"}}}]},Ne=we=>{const{componentCls:De}=we;return{[De]:Re.i.map(je=>{const Ee=we[`${je}6`];return{[`&${De}-${je}`]:{"--antd-arrow-background-color":Ee,[`${De}-inner`]:{backgroundColor:Ee},[`${De}-arrow`]:{background:"transparent"}}}})}},Oe=we=>{const{componentCls:De,lineWidth:je,lineType:Ee,colorSplit:oe,paddingSM:E,controlHeight:a,fontSize:b,lineHeight:y,padding:x}=we,ee=a-Math.round(b*y),te=ee/2,ae=ee/2-je,se=x;return{[De]:{[`${De}-inner`]:{padding:0},[`${De}-title`]:{margin:0,padding:`${te}px ${se}px ${ae}px`,borderBottom:`${je}px ${Ee} ${oe}`},[`${De}-inner-content`]:{padding:`${E}px ${se}px`}}}};vt.Z=(0,be.Z)("Popover",we=>{const{colorBgElevated:De,colorText:je,wireframe:Ee}=we,oe=(0,xe.TS)(we,{popoverPadding:12,popoverBg:De,popoverColor:je});return[re(oe),Ne(oe),Ee&&Oe(oe),(0,ie._y)(oe,"zoom-big")]},we=>({width:177,minWidth:177,zIndexPopup:we.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},13570:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return Lt}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(xt,Mt){return ie.createElement(be.Z,(0,z.Z)({},xt,{ref:Mt,icon:Re}))},re=ie.forwardRef(xe),Ne=re,Oe=ne(92310),we=ne.n(Oe),De=ne(400),je=ne(33606),Ee=ne(37061),oe=ne(18929),E=ne(10228),a=ne(26112);function b(Xe,xt){var Mt=Xe.disabled,Te=Xe.prefixCls,$e=Xe.character,mt=Xe.characterRender,zt=Xe.index,st=Xe.count,Tt=Xe.value,Se=Xe.allowHalf,Ft=Xe.focused,Yt=Xe.onHover,yt=Xe.onClick,ft=function(fe){Yt(fe,zt)},Ke=function(fe){yt(fe,zt)},ke=function(fe){fe.keyCode===E.Z.ENTER&&yt(fe,zt)},ve=zt+1,ce=new Set([Te]);Tt===0&&zt===0&&Ft?ce.add("".concat(Te,"-focused")):Se&&Tt+.5>=ve&&Tt<ve?(ce.add("".concat(Te,"-half")),ce.add("".concat(Te,"-active")),Ft&&ce.add("".concat(Te,"-focused"))):(ve<=Tt?ce.add("".concat(Te,"-full")):ce.add("".concat(Te,"-zero")),ve===Tt&&Ft&&ce.add("".concat(Te,"-focused")));var He=typeof $e=="function"?$e(Xe):$e,ut=ie.createElement("li",{className:we()(Array.from(ce)),ref:xt},ie.createElement("div",{onClick:Mt?null:Ke,onKeyDown:Mt?null:ke,onMouseMove:Mt?null:ft,role:"radio","aria-checked":Tt>zt?"true":"false","aria-posinset":zt+1,"aria-setsize":st,tabIndex:Mt?-1:0},ie.createElement("div",{className:"".concat(Te,"-first")},He),ie.createElement("div",{className:"".concat(Te,"-second")},He)));return mt&&(ut=mt(ut,Xe)),ut}var y=ie.forwardRef(b);function x(){var Xe=ie.useRef({});function xt(Te){return Xe.current[Te]}function Mt(Te){return function($e){Xe.current[Te]=$e}}return[xt,Mt]}function ee(Xe){var xt=Xe.pageXOffset,Mt="scrollLeft";if(typeof xt!="number"){var Te=Xe.document;xt=Te.documentElement[Mt],typeof xt!="number"&&(xt=Te.body[Mt])}return xt}function te(Xe){var xt,Mt,Te=Xe.ownerDocument,$e=Te.body,mt=Te&&Te.documentElement,zt=Xe.getBoundingClientRect();return xt=zt.left,Mt=zt.top,xt-=mt.clientLeft||$e.clientLeft||0,Mt-=mt.clientTop||$e.clientTop||0,{left:xt,top:Mt}}function ae(Xe){var xt=te(Xe),Mt=Xe.ownerDocument,Te=Mt.defaultView||Mt.parentWindow;return xt.left+=ee(Te),xt.left}var se=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(Xe,xt){var Mt,Te=Xe.prefixCls,$e=Te===void 0?"rc-rate":Te,mt=Xe.className,zt=Xe.defaultValue,st=Xe.value,Tt=Xe.count,Se=Tt===void 0?5:Tt,Ft=Xe.allowHalf,Yt=Ft===void 0?!1:Ft,yt=Xe.allowClear,ft=yt===void 0?!0:yt,Ke=Xe.character,ke=Ke===void 0?"\u2605":Ke,ve=Xe.characterRender,ce=Xe.disabled,He=Xe.direction,ut=He===void 0?"ltr":He,he=Xe.tabIndex,fe=he===void 0?0:he,qe=Xe.autoFocus,ze=Xe.onHoverChange,Ce=Xe.onChange,at=Xe.onFocus,jt=Xe.onBlur,ct=Xe.onKeyDown,Ot=Xe.onMouseLeave,Dt=(0,Ee.Z)(Xe,se),_t=x(),ht=(0,je.Z)(_t,2),on=ht[0],tn=ht[1],kt=ie.useRef(null),Zt=function(){if(!ce){var It;(It=kt.current)===null||It===void 0||It.focus()}};ie.useImperativeHandle(xt,function(){return{focus:Zt,blur:function(){if(!ce){var It;(It=kt.current)===null||It===void 0||It.blur()}}}});var $t=(0,oe.Z)(zt||0,{value:st}),sn=(0,je.Z)($t,2),un=sn[0],Cn=sn[1],On=(0,oe.Z)(null),Rt=(0,je.Z)(On,2),Nt=Rt[0],Ht=Rt[1],ln=function(It,dn){var an=ut==="rtl",Xt=It+1;if(Yt){var cn=on(It),da=ae(cn),Ut=cn.clientWidth;(an&&dn-da>Ut/2||!an&&dn-da<Ut/2)&&(Xt-=.5)}return Xt},nn=function(It){Cn(It),Ce==null||Ce(It)},jn=ie.useState(!1),na=(0,je.Z)(jn,2),hn=na[0],Qt=na[1],Wn=function(){Qt(!0),at==null||at()},Me=function(){Qt(!1),jt==null||jt()},rt=ie.useState(null),Pt=(0,je.Z)(rt,2),Bt=Pt[0],Jt=Pt[1],Wt=function(It,dn){var an=ln(dn,It.pageX);an!==Nt&&(Jt(an),Ht(null)),ze==null||ze(an)},Kt=function(It){ce||(Jt(null),Ht(null),ze==null||ze(void 0)),It&&(Ot==null||Ot(It))},Ve=function(It,dn){var an=ln(dn,It.pageX),Xt=!1;ft&&(Xt=an===un),Kt(),nn(Xt?0:an),Ht(Xt?an:null)},Ye=function(It){var dn=It.keyCode,an=ut==="rtl",Xt=un;dn===E.Z.RIGHT&&Xt<Se&&!an?(Yt?Xt+=.5:Xt+=1,nn(Xt),It.preventDefault()):dn===E.Z.LEFT&&Xt>0&&!an||dn===E.Z.RIGHT&&Xt>0&&an?(Yt?Xt-=.5:Xt-=1,nn(Xt),It.preventDefault()):dn===E.Z.LEFT&&Xt<Se&&an&&(Yt?Xt+=.5:Xt+=1,nn(Xt),It.preventDefault()),ct==null||ct(It)};ie.useEffect(function(){qe&&!ce&&Zt()},[]);var Je=new Array(Se).fill(0).map(function(Gt,It){return ie.createElement(y,{ref:tn(It),index:It,count:Se,disabled:ce,prefixCls:"".concat($e,"-star"),allowHalf:Yt,value:Bt===null?un:Bt,onClick:Ve,onHover:Wt,key:Gt||It,character:ke,characterRender:ve,focused:hn})}),Et=we()($e,mt,(Mt={},(0,De.Z)(Mt,"".concat($e,"-disabled"),ce),(0,De.Z)(Mt,"".concat($e,"-rtl"),ut==="rtl"),Mt));return ie.createElement("ul",(0,z.Z)({className:Et,onMouseLeave:Kt,tabIndex:ce?-1:fe,onFocus:ce?null:Wn,onBlur:ce?null:Me,onKeyDown:ce?null:Ye,ref:kt,role:"radiogroup"},(0,a.Z)(Dt,{aria:!0,data:!0,attr:!0})),Je)}var me=ie.forwardRef(de),Be=me,pe=ne(36355),Fe=ne(6848),ge=ne(17313),tt=ne(83116),Ie=ne(37613);const Qe=Xe=>{const{componentCls:xt}=Xe;return{[`${xt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Xe.marginXS},"> div":{transition:`all ${Xe.motionDurationMid}, outline 0s`,"&:hover":{transform:Xe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Xe.lineWidth}px dashed ${Xe.starColor}`,transform:Xe.starHoverScale}},"&-first, &-second":{color:Xe.starBg,transition:`all ${Xe.motionDurationMid}`,userSelect:"none",[Xe.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${xt}-star-first, &-half ${xt}-star-second`]:{opacity:1},[`&-half ${xt}-star-first, &-full ${xt}-star-second`]:{color:"inherit"}}}},_e=Xe=>({[`&-rtl${Xe.componentCls}`]:{direction:"rtl"}}),We=Xe=>{const{componentCls:xt}=Xe;return{[xt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(Xe)),{display:"inline-block",margin:0,padding:0,color:Xe.starColor,fontSize:Xe.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${xt} ${xt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Qe(Xe)),{[`+ ${xt}-text`]:{display:"inline-block",marginInlineStart:Xe.marginXS,fontSize:Xe.fontSize}}),_e(Xe))}};var it=(0,tt.Z)("Rate",Xe=>{const xt=(0,Ie.TS)(Xe,{});return[We(xt)]},Xe=>({starColor:Xe.yellow6,starSize:Xe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Xe.colorFillContent})),Ct=function(Xe,xt){var Mt={};for(var Te in Xe)Object.prototype.hasOwnProperty.call(Xe,Te)&&xt.indexOf(Te)<0&&(Mt[Te]=Xe[Te]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Te=Object.getOwnPropertySymbols(Xe);$e<Te.length;$e++)xt.indexOf(Te[$e])<0&&Object.prototype.propertyIsEnumerable.call(Xe,Te[$e])&&(Mt[Te[$e]]=Xe[Te[$e]]);return Mt},Lt=ie.forwardRef((Xe,xt)=>{const{prefixCls:Mt,className:Te,rootClassName:$e,style:mt,tooltips:zt,character:st=ie.createElement(Ne,null)}=Xe,Tt=Ct(Xe,["prefixCls","className","rootClassName","style","tooltips","character"]),Se=(ce,He)=>{let{index:ut}=He;return zt?ie.createElement(Fe.Z,{title:zt[ut]},ce):ce},{getPrefixCls:Ft,direction:Yt,rate:yt}=ie.useContext(pe.E_),ft=Ft("rate",Mt),[Ke,ke]=it(ft),ve=Object.assign(Object.assign({},yt==null?void 0:yt.style),mt);return Ke(ie.createElement(Be,Object.assign({ref:xt,character:st,characterRender:Se},Tt,{className:we()(Te,$e,ke,yt==null?void 0:yt.className),style:ve,prefixCls:ft,direction:Yt})))})},61621:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return ke}});var z=ne(92310),ie=ne.n(z),Pe=ne(59301),Re=ne(36355),be=ne(2738),re=ve=>{const{prefixCls:ce,className:He,style:ut,size:he,shape:fe}=ve,qe=ie()({[`${ce}-lg`]:he==="large",[`${ce}-sm`]:he==="small"}),ze=ie()({[`${ce}-circle`]:fe==="circle",[`${ce}-square`]:fe==="square",[`${ce}-round`]:fe==="round"}),Ce=Pe.useMemo(()=>typeof he=="number"?{width:he,height:he,lineHeight:`${he}px`}:{},[he]);return Pe.createElement("span",{className:ie()(ce,qe,ze,He),style:Object.assign(Object.assign({},Ce),ut)})},Ne=ne(93083),Oe=ne(83116),we=ne(37613);const De=new Ne.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),je=ve=>({height:ve,lineHeight:`${ve}px`}),Ee=ve=>Object.assign({width:ve},je(ve)),oe=ve=>({background:ve.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:De,animationDuration:ve.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=ve=>Object.assign({width:ve*5,minWidth:ve*5},je(ve)),a=ve=>{const{skeletonAvatarCls:ce,gradientFromColor:He,controlHeight:ut,controlHeightLG:he,controlHeightSM:fe}=ve;return{[`${ce}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:He},Ee(ut)),[`${ce}${ce}-circle`]:{borderRadius:"50%"},[`${ce}${ce}-lg`]:Object.assign({},Ee(he)),[`${ce}${ce}-sm`]:Object.assign({},Ee(fe))}},b=ve=>{const{controlHeight:ce,borderRadiusSM:He,skeletonInputCls:ut,controlHeightLG:he,controlHeightSM:fe,gradientFromColor:qe}=ve;return{[`${ut}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe,borderRadius:He},E(ce)),[`${ut}-lg`]:Object.assign({},E(he)),[`${ut}-sm`]:Object.assign({},E(fe))}},y=ve=>Object.assign({width:ve},je(ve)),x=ve=>{const{skeletonImageCls:ce,imageSizeBase:He,gradientFromColor:ut,borderRadiusSM:he}=ve;return{[`${ce}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:ut,borderRadius:he},y(He*2)),{[`${ce}-path`]:{fill:"#bfbfbf"},[`${ce}-svg`]:Object.assign(Object.assign({},y(He)),{maxWidth:He*4,maxHeight:He*4}),[`${ce}-svg${ce}-svg-circle`]:{borderRadius:"50%"}}),[`${ce}${ce}-circle`]:{borderRadius:"50%"}}},ee=(ve,ce,He)=>{const{skeletonButtonCls:ut}=ve;return{[`${He}${ut}-circle`]:{width:ce,minWidth:ce,borderRadius:"50%"},[`${He}${ut}-round`]:{borderRadius:ce}}},te=ve=>Object.assign({width:ve*2,minWidth:ve*2},je(ve)),ae=ve=>{const{borderRadiusSM:ce,skeletonButtonCls:He,controlHeight:ut,controlHeightLG:he,controlHeightSM:fe,gradientFromColor:qe}=ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${He}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe,borderRadius:ce,width:ut*2,minWidth:ut*2},te(ut))},ee(ve,ut,He)),{[`${He}-lg`]:Object.assign({},te(he))}),ee(ve,he,`${He}-lg`)),{[`${He}-sm`]:Object.assign({},te(fe))}),ee(ve,fe,`${He}-sm`))},se=ve=>{const{componentCls:ce,skeletonAvatarCls:He,skeletonTitleCls:ut,skeletonParagraphCls:he,skeletonButtonCls:fe,skeletonInputCls:qe,skeletonImageCls:ze,controlHeight:Ce,controlHeightLG:at,controlHeightSM:jt,gradientFromColor:ct,padding:Ot,marginSM:Dt,borderRadius:_t,titleHeight:ht,blockRadius:on,paragraphLiHeight:tn,controlHeightXS:kt,paragraphMarginTop:Zt}=ve;return{[`${ce}`]:{display:"table",width:"100%",[`${ce}-header`]:{display:"table-cell",paddingInlineEnd:Ot,verticalAlign:"top",[`${He}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ct},Ee(Ce)),[`${He}-circle`]:{borderRadius:"50%"},[`${He}-lg`]:Object.assign({},Ee(at)),[`${He}-sm`]:Object.assign({},Ee(jt))},[`${ce}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${ut}`]:{width:"100%",height:ht,background:ct,borderRadius:on,[`+ ${he}`]:{marginBlockStart:jt}},[`${he}`]:{padding:0,"> li":{width:"100%",height:tn,listStyle:"none",background:ct,borderRadius:on,"+ li":{marginBlockStart:kt}}},[`${he}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ce}-content`]:{[`${ut}, ${he} > li`]:{borderRadius:_t}}},[`${ce}-with-avatar ${ce}-content`]:{[`${ut}`]:{marginBlockStart:Dt,[`+ ${he}`]:{marginBlockStart:Zt}}},[`${ce}${ce}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(ve)),a(ve)),b(ve)),x(ve)),[`${ce}${ce}-block`]:{width:"100%",[`${fe}`]:{width:"100%"},[`${qe}`]:{width:"100%"}},[`${ce}${ce}-active`]:{[`
${ut},
${he} > li,
${He},
${fe},
${qe},
${ze}
`]:Object.assign({},oe(ve))}}};var de=(0,Oe.Z)("Skeleton",ve=>{const{componentCls:ce}=ve,He=(0,we.TS)(ve,{skeletonAvatarCls:`${ce}-avatar`,skeletonTitleCls:`${ce}-title`,skeletonParagraphCls:`${ce}-paragraph`,skeletonButtonCls:`${ce}-button`,skeletonInputCls:`${ce}-input`,skeletonImageCls:`${ce}-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[se(He)]},ve=>{const{colorFillContent:ce,colorFill:He}=ve,ut=ce,he=He;return{color:ut,colorGradientEnd:he,gradientFromColor:ut,gradientToColor:he,titleHeight:ve.controlHeight/2,blockRadius:ve.borderRadiusSM,paragraphMarginTop:ve.marginLG+ve.marginXXS,paragraphLiHeight:ve.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Be=ve=>{const{prefixCls:ce,className:He,rootClassName:ut,active:he,shape:fe="circle",size:qe="default"}=ve,{getPrefixCls:ze}=Pe.useContext(Re.E_),Ce=ze("skeleton",ce),[at,jt]=de(Ce),ct=(0,be.Z)(ve,["prefixCls","className"]),Ot=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:he},He,ut,jt);return at(Pe.createElement("div",{className:Ot},Pe.createElement(re,Object.assign({prefixCls:`${Ce}-avatar`,shape:fe,size:qe},ct))))},Fe=ve=>{const{prefixCls:ce,className:He,rootClassName:ut,active:he,block:fe=!1,size:qe="default"}=ve,{getPrefixCls:ze}=Pe.useContext(Re.E_),Ce=ze("skeleton",ce),[at,jt]=de(Ce),ct=(0,be.Z)(ve,["prefixCls"]),Ot=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:he,[`${Ce}-block`]:fe},He,ut,jt);return at(Pe.createElement("div",{className:Ot},Pe.createElement(re,Object.assign({prefixCls:`${Ce}-button`,size:qe},ct))))};const ge="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 Ie=ve=>{const{prefixCls:ce,className:He,rootClassName:ut,style:he,active:fe}=ve,{getPrefixCls:qe}=Pe.useContext(Re.E_),ze=qe("skeleton",ce),[Ce,at]=de(ze),jt=ie()(ze,`${ze}-element`,{[`${ze}-active`]:fe},He,ut,at);return Ce(Pe.createElement("div",{className:jt},Pe.createElement("div",{className:ie()(`${ze}-image`,He),style:he},Pe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ze}-image-svg`},Pe.createElement("path",{d:ge,className:`${ze}-image-path`})))))},_e=ve=>{const{prefixCls:ce,className:He,rootClassName:ut,active:he,block:fe,size:qe="default"}=ve,{getPrefixCls:ze}=Pe.useContext(Re.E_),Ce=ze("skeleton",ce),[at,jt]=de(Ce),ct=(0,be.Z)(ve,["prefixCls"]),Ot=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:he,[`${Ce}-block`]:fe},He,ut,jt);return at(Pe.createElement("div",{className:Ot},Pe.createElement(re,Object.assign({prefixCls:`${Ce}-input`,size:qe},ct))))},We=ne(92413),it={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"},Ct=it,nt=ne(7657),Lt=function(ce,He){return Pe.createElement(nt.Z,(0,We.Z)({},ce,{ref:He,icon:Ct}))},Xe=Pe.forwardRef(Lt),xt=Xe,Te=ve=>{const{prefixCls:ce,className:He,rootClassName:ut,style:he,active:fe,children:qe}=ve,{getPrefixCls:ze}=Pe.useContext(Re.E_),Ce=ze("skeleton",ce),[at,jt]=de(Ce),ct=ie()(Ce,`${Ce}-element`,{[`${Ce}-active`]:fe},jt,He,ut),Ot=qe!=null?qe:Pe.createElement(xt,null);return at(Pe.createElement("div",{className:ct},Pe.createElement("div",{className:ie()(`${Ce}-image`,He),style:he},Ot)))},$e=ne(26407),zt=ve=>{const ce=ze=>{const{width:Ce,rows:at=2}=ve;if(Array.isArray(Ce))return Ce[ze];if(at-1===ze)return Ce},{prefixCls:He,className:ut,style:he,rows:fe}=ve,qe=(0,$e.Z)(Array(fe)).map((ze,Ce)=>Pe.createElement("li",{key:Ce,style:{width:ce(Ce)}}));return Pe.createElement("ul",{className:ie()(He,ut),style:he},qe)},Tt=ve=>{let{prefixCls:ce,className:He,width:ut,style:he}=ve;return Pe.createElement("h3",{className:ie()(ce,He),style:Object.assign({width:ut},he)})};function Se(ve){return ve&&typeof ve=="object"?ve:{}}function Ft(ve,ce){return ve&&!ce?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Yt(ve,ce){return!ve&&ce?{width:"38%"}:ve&&ce?{width:"50%"}:{}}function yt(ve,ce){const He={};return(!ve||!ce)&&(He.width="61%"),!ve&&ce?He.rows=3:He.rows=2,He}const ft=ve=>{const{prefixCls:ce,loading:He,className:ut,rootClassName:he,style:fe,children:qe,avatar:ze=!1,title:Ce=!0,paragraph:at=!0,active:jt,round:ct}=ve,{getPrefixCls:Ot,direction:Dt,skeleton:_t}=Pe.useContext(Re.E_),ht=Ot("skeleton",ce),[on,tn]=de(ht);if(He||!("loading"in ve)){const kt=!!ze,Zt=!!Ce,$t=!!at;let sn;if(kt){const On=Object.assign(Object.assign({prefixCls:`${ht}-avatar`},Ft(Zt,$t)),Se(ze));sn=Pe.createElement("div",{className:`${ht}-header`},Pe.createElement(re,Object.assign({},On)))}let un;if(Zt||$t){let On;if(Zt){const Nt=Object.assign(Object.assign({prefixCls:`${ht}-title`},Yt(kt,$t)),Se(Ce));On=Pe.createElement(Tt,Object.assign({},Nt))}let Rt;if($t){const Nt=Object.assign(Object.assign({prefixCls:`${ht}-paragraph`},yt(kt,Zt)),Se(at));Rt=Pe.createElement(zt,Object.assign({},Nt))}un=Pe.createElement("div",{className:`${ht}-content`},On,Rt)}const Cn=ie()(ht,{[`${ht}-with-avatar`]:kt,[`${ht}-active`]:jt,[`${ht}-rtl`]:Dt==="rtl",[`${ht}-round`]:ct},_t==null?void 0:_t.className,ut,he,tn);return on(Pe.createElement("div",{className:Cn,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),fe)},sn,un))}return typeof qe!="undefined"?qe:null};ft.Button=Fe,ft.Avatar=Be,ft.Input=_e,ft.Image=Ie,ft.Node=Te;var Ke=ft,ke=Ke},31797:function(pt,vt,ne){"use strict";ne.d(vt,{default:function(){return de}});var z=ne(59301),ie=ne(56762),Pe=ne(92343),Re=ne(92310),be=ne.n(Re),xe=ne(36355),re=ne(61621),Oe=me=>{const{value:Be,formatter:pe,precision:Fe,decimalSeparator:ge,groupSeparator:tt="",prefixCls:Ie}=me;let Qe;if(typeof pe=="function")Qe=pe(Be);else{const _e=String(Be),We=_e.match(/^(-?)(\d*)(\.(\d+))?$/);if(!We||_e==="-")Qe=_e;else{const it=We[1];let Ct=We[2]||"0",nt=We[4]||"";Ct=Ct.replace(/\B(?=(\d{3})+(?!\d))/g,tt),typeof Fe=="number"&&(nt=nt.padEnd(Fe,"0").slice(0,Fe>0?Fe:0)),nt&&(nt=`${ge}${nt}`),Qe=[z.createElement("span",{key:"int",className:`${Ie}-content-value-int`},it,Ct),nt&&z.createElement("span",{key:"decimal",className:`${Ie}-content-value-decimal`},nt)]}}return z.createElement("span",{className:`${Ie}-content-value`},Qe)},we=ne(17313),De=ne(83116),je=ne(37613);const Ee=me=>{const{componentCls:Be,marginXXS:pe,padding:Fe,colorTextDescription:ge,titleFontSize:tt,colorTextHeading:Ie,contentFontSize:Qe,fontFamily:_e}=me;return{[`${Be}`]:Object.assign(Object.assign({},(0,we.Wf)(me)),{[`${Be}-title`]:{marginBottom:pe,color:ge,fontSize:tt},[`${Be}-skeleton`]:{paddingTop:Fe},[`${Be}-content`]:{color:Ie,fontSize:Qe,fontFamily:_e,[`${Be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Be}-content-prefix, ${Be}-content-suffix`]:{display:"inline-block"},[`${Be}-content-prefix`]:{marginInlineEnd:pe},[`${Be}-content-suffix`]:{marginInlineStart:pe}}})}};var oe=(0,De.Z)("Statistic",me=>{const Be=(0,je.TS)(me,{});return[Ee(Be)]},me=>{const{fontSizeHeading3:Be,fontSize:pe}=me;return{titleFontSize:pe,contentFontSize:Be}}),a=me=>{const{prefixCls:Be,className:pe,rootClassName:Fe,style:ge,valueStyle:tt,value:Ie=0,title:Qe,valueRender:_e,prefix:We,suffix:it,loading:Ct=!1,onMouseEnter:nt,onMouseLeave:Lt,decimalSeparator:Xe=".",groupSeparator:xt=","}=me,{getPrefixCls:Mt,direction:Te,statistic:$e}=z.useContext(xe.E_),mt=Mt("statistic",Be),[zt,st]=oe(mt),Tt=z.createElement(Oe,Object.assign({decimalSeparator:Xe,groupSeparator:xt,prefixCls:mt},me,{value:Ie})),Se=be()(mt,{[`${mt}-rtl`]:Te==="rtl"},$e==null?void 0:$e.className,pe,Fe,st);return zt(z.createElement("div",{className:Se,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),ge),onMouseEnter:nt,onMouseLeave:Lt},Qe&&z.createElement("div",{className:`${mt}-title`},Qe),z.createElement(re.Z,{paragraph:!1,loading:Ct,className:`${mt}-skeleton`},z.createElement("div",{style:tt,className:`${mt}-content`},We&&z.createElement("span",{className:`${mt}-content-prefix`},We),_e?_e(Tt):Tt,it&&z.createElement("span",{className:`${mt}-content-suffix`},it)))))};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 y(me,Be){let pe=me;const Fe=/\[[^\]]*]/g,ge=(Be.match(Fe)||[]).map(_e=>_e.slice(1,-1)),tt=Be.replace(Fe,"[]"),Ie=b.reduce((_e,We)=>{let[it,Ct]=We;if(_e.includes(it)){const nt=Math.floor(pe/Ct);return pe-=nt*Ct,_e.replace(new RegExp(`${it}+`,"g"),Lt=>{const Xe=Lt.length;return nt.toString().padStart(Xe,"0")})}return _e},tt);let Qe=0;return Ie.replace(Fe,()=>{const _e=ge[Qe];return Qe+=1,_e})}function x(me,Be){const{format:pe=""}=Be,Fe=new Date(me).getTime(),ge=Date.now(),tt=Math.max(Fe-ge,0);return y(tt,pe)}const ee=1e3/30;function te(me){return new Date(me).getTime()}const ae=me=>{const{value:Be,format:pe="HH:mm:ss",onChange:Fe,onFinish:ge}=me,tt=(0,ie.Z)(),Ie=z.useRef(null),Qe=()=>{ge==null||ge(),Ie.current&&(clearInterval(Ie.current),Ie.current=null)},_e=()=>{const Ct=te(Be);Ct>=Date.now()&&(Ie.current=setInterval(()=>{tt(),Fe==null||Fe(Ct-Date.now()),Ct<Date.now()&&Qe()},ee))};z.useEffect(()=>(_e(),()=>{Ie.current&&(clearInterval(Ie.current),Ie.current=null)}),[Be]);const We=(Ct,nt)=>x(Ct,Object.assign(Object.assign({},nt),{format:pe})),it=Ct=>(0,Pe.Tm)(Ct,{title:void 0});return z.createElement(a,Object.assign({},me,{valueRender:it,formatter:We}))};var se=z.memo(ae);a.Countdown=se;var de=a},15969:function(pt,vt,ne){"use strict";ne.d(vt,{N:function(){return z}});const z=ie=>({color:ie.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ie.motionDurationSlow}`,"&:focus, &:hover":{color:ie.colorLinkHover},"&:active":{color:ie.colorLinkActive}})},1710:function(pt,vt,ne){"use strict";ne.d(vt,{default:function(){return La}});var z={},ie="rc-table-internal-hook",Pe=ne(33606),Re=ne(6089),be=ne(34280),xe=ne(13697),re=ne(59301),Ne=ne(4676);function Oe(ue){var le=re.createContext(void 0),ye=function(Ge){var Ze=Ge.value,lt=Ge.children,ot=re.useRef(Ze);ot.current=Ze;var dt=re.useState(function(){return{getValue:function(){return ot.current},listeners:new Set}}),At=(0,Pe.Z)(dt,1),gt=At[0];return(0,be.Z)(function(){(0,Ne.unstable_batchedUpdates)(function(){gt.listeners.forEach(function(wt){wt(Ze)})})},[Ze]),re.createElement(le.Provider,{value:gt},lt)};return{Context:le,Provider:ye,defaultValue:ue}}function we(ue,le){var ye=(0,Re.Z)(typeof le=="function"?le:function(wt){if(le===void 0)return wt;if(!Array.isArray(le))return wt[le];var qt={};return le.forEach(function(Vt){qt[Vt]=wt[Vt]}),qt}),Ae=re.useContext(ue==null?void 0:ue.Context),Ge=Ae||{},Ze=Ge.listeners,lt=Ge.getValue,ot=re.useRef();ot.current=ye(Ae?lt():ue==null?void 0:ue.defaultValue);var dt=re.useState({}),At=(0,Pe.Z)(dt,2),gt=At[1];return(0,be.Z)(function(){if(!Ae)return;function wt(qt){var Vt=ye(qt);(0,xe.Z)(ot.current,Vt,!0)||gt({})}return Ze.add(wt),function(){Ze.delete(wt)}},[Ae]),ot.current}var De=ne(92413),je=ne(8654);function Ee(){var ue=re.createContext(null);function le(){return re.useContext(ue)}function ye(Ge,Ze){var lt=(0,je.Yr)(Ge),ot=function(At,gt){var wt=lt?{ref:gt}:{},qt=re.useRef(0),Vt=re.useRef(At),en=le();return en!==null?re.createElement(Ge,(0,De.Z)({},At,wt)):((!Ze||Ze(Vt.current,At))&&(qt.current+=1),Vt.current=At,re.createElement(ue.Provider,{value:qt.current},re.createElement(Ge,(0,De.Z)({},At,wt))))};return lt?re.forwardRef(ot):ot}function Ae(Ge,Ze){var lt=(0,je.Yr)(Ge),ot=function(At,gt){var wt=lt?{ref:gt}:{};return le(),re.createElement(Ge,(0,De.Z)({},At,wt))};return lt?re.memo(re.forwardRef(ot),Ze):re.memo(ot,Ze)}return{makeImmutable:ye,responseImmutable:Ae,useImmutableMark:le}}var oe=Ee(),E=oe.makeImmutable,a=oe.responseImmutable,b=oe.useImmutableMark,y=Ee(),x=y.makeImmutable,ee=y.responseImmutable,te=y.useImmutableMark,ae=Oe(),se=ae;function de(ue,le){var ye=re.useRef(0);ye.current+=1;var Ae=re.useRef(ue),Ge=[];Object.keys(ue||{}).map(function(lt){var ot;(ue==null?void 0:ue[lt])!==((ot=Ae.current)===null||ot===void 0?void 0:ot[lt])&&Ge.push(lt)}),Ae.current=ue;var Ze=re.useRef([]);return Ge.length&&(Ze.current=Ge),re.useDebugValue(ye.current),re.useDebugValue(Ze.current.join(", ")),le&&console.log("".concat(le,":"),ye.current,Ze.current),ye.current}var me=null,Be=re.memo(function(){var ue=de();return re.createElement("h1",null,"Render Times: ",ue)});Be.displayName="RenderBlock";var pe=ne(39559),Fe=ne(33708),ge=ne(400),tt=ne(92310),Ie=ne.n(tt),Qe=ne(80547),_e=ne(97938),We=ne(48736),it=re.createContext({renderWithProps:!1}),Ct=it,nt="RC_TABLE_KEY";function Lt(ue){return ue==null?[]:Array.isArray(ue)?ue:[ue]}function Xe(ue){var le=[],ye={};return ue.forEach(function(Ae){for(var Ge=Ae||{},Ze=Ge.key,lt=Ge.dataIndex,ot=Ze||Lt(lt).join("-")||nt;ye[ot];)ot="".concat(ot,"_next");ye[ot]=!0,le.push(ot)}),le}function xt(ue){return ue!=null}function Mt(ue){return ue&&(0,pe.Z)(ue)==="object"&&!Array.isArray(ue)&&!re.isValidElement(ue)}function Te(ue,le,ye,Ae,Ge,Ze){var lt=re.useContext(Ct),ot=te(),dt=(0,Qe.Z)(function(){if(xt(Ae))return[Ae];var At=le==null||le===""?[]:Array.isArray(le)?le:[le],gt=(0,_e.Z)(ue,At),wt=gt,qt=void 0;if(Ge){var Vt=Ge(gt,ue,ye);Mt(Vt)?(wt=Vt.children,qt=Vt.props,lt.renderWithProps=!0):wt=Vt}return[wt,qt]},[ot,ue,Ae,le,Ge,ye],function(At,gt){if(Ze){var wt=(0,Pe.Z)(At,2),qt=wt[1],Vt=(0,Pe.Z)(gt,2),en=Vt[1];return Ze(en,qt)}return lt.renderWithProps?!0:!(0,xe.Z)(At,gt,!0)});return dt}function $e(ue,le,ye,Ae){var Ge=ue+le-1;return ue<=Ae&&Ge>=ye}function mt(ue,le){return we(se,function(ye){var Ae=$e(ue,le||1,ye.hoverStartRow,ye.hoverEndRow);return[Ae,ye.onHover]})}var zt=function(le){var ye=le.ellipsis,Ae=le.rowType,Ge=le.children,Ze,lt=ye===!0?{showTitle:!0}:ye;return lt&&(lt.showTitle||Ae==="header")&&(typeof Ge=="string"||typeof Ge=="number"?Ze=Ge.toString():re.isValidElement(Ge)&&typeof Ge.props.children=="string"&&(Ze=Ge.props.children)),Ze};function st(ue){var le,ye,Ae,Ge,Ze,lt,ot,dt,At=ue.component,gt=ue.children,wt=ue.ellipsis,qt=ue.scope,Vt=ue.prefixCls,en=ue.className,En=ue.align,gn=ue.record,vn=ue.render,mn=ue.dataIndex,Dn=ue.renderIndex,qn=ue.shouldCellUpdate,ea=ue.index,Gn=ue.rowType,ha=ue.colSpan,Fa=ue.rowSpan,Mn=ue.fixLeft,Kn=ue.fixRight,Rn=ue.firstFixLeft,Fn=ue.lastFixLeft,Zn=ue.firstFixRight,fa=ue.lastFixRight,Oa=ue.appendNode,Ca=ue.additionalProps,la=Ca===void 0?{}:Ca,Ta=ue.isSticky,Za="".concat(Vt,"-cell"),mo=we(se,["supportSticky","allColumnsFixedLeft"]),Ja=mo.supportSticky,No=mo.allColumnsFixedLeft,Io=Te(gn,mn,Dn,gt,vn,qn),wa=(0,Pe.Z)(Io,2),Zo=wa[0],Ya=wa[1],bo={},Po=typeof Mn=="number"&&Ja,cr=typeof Kn=="number"&&Ja;Po&&(bo.position="sticky",bo.left=Mn),cr&&(bo.position="sticky",bo.right=Kn);var ga=(le=(ye=(Ae=Ya==null?void 0:Ya.colSpan)!==null&&Ae!==void 0?Ae:la.colSpan)!==null&&ye!==void 0?ye:ha)!==null&&le!==void 0?le:1,ua=(Ge=(Ze=(lt=Ya==null?void 0:Ya.rowSpan)!==null&&lt!==void 0?lt:la.rowSpan)!==null&&Ze!==void 0?Ze:Fa)!==null&&Ge!==void 0?Ge:1,sa=mt(ea,ua),Xn=(0,Pe.Z)(sa,2),$a=Xn[0],Yn=Xn[1],Pa=function(jo){var gr;gn&&Yn(ea,ea+ua-1),la==null||(gr=la.onMouseEnter)===null||gr===void 0||gr.call(la,jo)},Va=function(jo){var gr;gn&&Yn(-1,-1),la==null||(gr=la.onMouseLeave)===null||gr===void 0||gr.call(la,jo)};if(ga===0||ua===0)return null;var Ha=(ot=la.title)!==null&&ot!==void 0?ot:zt({rowType:Gn,ellipsis:wt,children:Zo}),or=Ie()(Za,en,(dt={},(0,ge.Z)(dt,"".concat(Za,"-fix-left"),Po&&Ja),(0,ge.Z)(dt,"".concat(Za,"-fix-left-first"),Rn&&Ja),(0,ge.Z)(dt,"".concat(Za,"-fix-left-last"),Fn&&Ja),(0,ge.Z)(dt,"".concat(Za,"-fix-left-all"),Fn&&No&&Ja),(0,ge.Z)(dt,"".concat(Za,"-fix-right"),cr&&Ja),(0,ge.Z)(dt,"".concat(Za,"-fix-right-first"),Zn&&Ja),(0,ge.Z)(dt,"".concat(Za,"-fix-right-last"),fa&&Ja),(0,ge.Z)(dt,"".concat(Za,"-ellipsis"),wt),(0,ge.Z)(dt,"".concat(Za,"-with-append"),Oa),(0,ge.Z)(dt,"".concat(Za,"-fix-sticky"),(Po||cr)&&Ta&&Ja),(0,ge.Z)(dt,"".concat(Za,"-row-hover"),!Ya&&$a),dt),la.className,Ya==null?void 0:Ya.className),Yo={};En&&(Yo.textAlign=En);var Ir=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},bo),la.style),Yo),Ya==null?void 0:Ya.style),zo=Zo;return(0,pe.Z)(zo)==="object"&&!Array.isArray(zo)&&!re.isValidElement(zo)&&(zo=null),wt&&(Fn||Zn)&&(zo=re.createElement("span",{className:"".concat(Za,"-content")},zo)),re.createElement(At,(0,De.Z)({},Ya,la,{className:or,style:Ir,title:Ha,scope:qt,onMouseEnter:Pa,onMouseLeave:Va,colSpan:ga!==1?ga:null,rowSpan:ua!==1?ua:null}),Oa,zo)}var Tt=re.memo(st);function Se(ue,le,ye,Ae,Ge,Ze){var lt=ye[ue]||{},ot=ye[le]||{},dt,At;lt.fixed==="left"?dt=Ae.left[Ge==="rtl"?le:ue]:ot.fixed==="right"&&(At=Ae.right[Ge==="rtl"?ue:le]);var gt=!1,wt=!1,qt=!1,Vt=!1,en=ye[le+1],En=ye[ue-1],gn=!(Ze!=null&&Ze.children);if(Ge==="rtl"){if(dt!==void 0){var vn=En&&En.fixed==="left";Vt=!vn&&gn}else if(At!==void 0){var mn=en&&en.fixed==="right";qt=!mn&&gn}}else if(dt!==void 0){var Dn=en&&en.fixed==="left";gt=!Dn&&gn}else if(At!==void 0){var qn=En&&En.fixed==="right";wt=!qn&&gn}return{fixLeft:dt,fixRight:At,lastFixLeft:gt,firstFixRight:wt,lastFixRight:qt,firstFixLeft:Vt,isSticky:Ae.isSticky}}var Ft=re.createContext({}),Yt=Ft;function yt(ue){var le=ue.className,ye=ue.index,Ae=ue.children,Ge=ue.colSpan,Ze=Ge===void 0?1:Ge,lt=ue.rowSpan,ot=ue.align,dt=we(se,["prefixCls","direction"]),At=dt.prefixCls,gt=dt.direction,wt=re.useContext(Yt),qt=wt.scrollColumnIndex,Vt=wt.stickyOffsets,en=wt.flattenColumns,En=wt.columns,gn=ye+Ze-1,vn=gn+1===qt?Ze+1:Ze,mn=Se(ye,ye+vn-1,en,Vt,gt,En==null?void 0:En[ye]);return re.createElement(Tt,(0,De.Z)({className:le,index:ye,component:"td",prefixCls:At,record:null,dataIndex:null,align:ot,colSpan:vn,rowSpan:lt,render:function(){return Ae}},mn))}var ft=ne(37061),Ke=["children"];function ke(ue){var le=ue.children,ye=(0,ft.Z)(ue,Ke);return re.createElement("tr",ye,le)}function ve(ue){var le=ue.children;return le}ve.Row=ke,ve.Cell=yt;var ce=ve;function He(ue){var le=ue.children,ye=ue.stickyOffsets,Ae=ue.flattenColumns,Ge=ue.columns,Ze=we(se,"prefixCls"),lt=Ae.length-1,ot=Ae[lt],dt=re.useMemo(function(){return{stickyOffsets:ye,flattenColumns:Ae,scrollColumnIndex:ot!=null&&ot.scrollbar?lt:null,columns:Ge}},[ot,Ae,lt,ye,Ge]);return re.createElement(Yt.Provider,{value:dt},re.createElement("tfoot",{className:"".concat(Ze,"-summary")},le))}var ut=ee(He),he=ce,fe=ne(70425),qe=ne(29301),ze=ne(29194),Ce=ne(24514),at=ne(75152),jt=ne(26112);function ct(ue,le,ye,Ae,Ge,Ze,lt){ue.push({record:le,indent:ye,index:lt});var ot=Ze(le),dt=Ge==null?void 0:Ge.has(ot);if(le&&Array.isArray(le[Ae])&&dt)for(var At=0;At<le[Ae].length;At+=1)ct(ue,le[Ae][At],ye+1,Ae,Ge,Ze,At)}function Ot(ue,le,ye,Ae){var Ge=re.useMemo(function(){if(ye!=null&&ye.size){for(var Ze=[],lt=0;lt<(ue==null?void 0:ue.length);lt+=1){var ot=ue[lt];ct(Ze,ot,0,le,ye,Ae,lt)}return Ze}return ue==null?void 0:ue.map(function(dt,At){return{record:dt,indent:0,index:At}})},[ue,le,ye,Ae]);return Ge}function Dt(ue){var le=ue.prefixCls,ye=ue.children,Ae=ue.component,Ge=ue.cellComponent,Ze=ue.className,lt=ue.expanded,ot=ue.colSpan,dt=ue.isEmpty,At=we(se,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),gt=At.scrollbarSize,wt=At.fixHeader,qt=At.fixColumn,Vt=At.componentWidth,en=At.horizonScroll,En=ye;return(dt?en&&Vt:qt)&&(En=re.createElement("div",{style:{width:Vt-(wt?gt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(le,"-expanded-row-fixed")},En)),re.createElement(Ae,{className:Ze,style:{display:lt?null:"none"}},re.createElement(Tt,{component:Ge,prefixCls:le,colSpan:ot},En))}var _t=Dt;function ht(ue,le,ye,Ae){var Ge=we(se,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Ze=Ge.flattenColumns,lt=Ge.expandableType,ot=Ge.expandedKeys,dt=Ge.childrenColumnName,At=Ge.onTriggerExpand,gt=Ge.rowExpandable,wt=Ge.onRow,qt=Ge.expandRowByClick,Vt=Ge.rowClassName,en=lt==="nest",En=lt==="row"&&(!gt||gt(ue)),gn=En||en,vn=ot&&ot.has(le),mn=dt&&ue&&ue[dt],Dn=(0,fe.useEvent)(At),qn=wt==null?void 0:wt(ue,ye),ea=qn==null?void 0:qn.onClick,Gn=function(Kn){qt&&gn&&At(ue,Kn);for(var Rn=arguments.length,Fn=new Array(Rn>1?Rn-1:0),Zn=1;Zn<Rn;Zn++)Fn[Zn-1]=arguments[Zn];ea==null||ea.apply(void 0,[Kn].concat(Fn))},ha;typeof Vt=="string"?ha=Vt:typeof Vt=="function"&&(ha=Vt(ue,ye,Ae));var Fa=Xe(Ze);return(0,Fe.Z)((0,Fe.Z)({},Ge),{},{columnsKey:Fa,nestExpandable:en,expanded:vn,hasNestChildren:mn,record:ue,onTriggerExpand:Dn,rowSupportExpand:En,expandable:gn,rowProps:(0,Fe.Z)((0,Fe.Z)({},qn),{},{className:Ie()(ha,qn==null?void 0:qn.className),onClick:Gn})})}function on(ue,le,ye,Ae,Ge){var Ze=ue.record,lt=ue.prefixCls,ot=ue.columnsKey,dt=ue.fixedInfoList,At=ue.expandIconColumnIndex,gt=ue.nestExpandable,wt=ue.indentSize,qt=ue.expandIcon,Vt=ue.expanded,en=ue.hasNestChildren,En=ue.onTriggerExpand,gn=ot[ye],vn=dt[ye],mn;ye===(At||0)&&gt&&(mn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(wt*Ae,"px")},className:"".concat(lt,"-row-indent indent-level-").concat(Ae)}),qt({prefixCls:lt,expanded:Vt,expandable:en,record:Ze,onExpand:En})));var Dn;return le.onCell&&(Dn=le.onCell(Ze,Ge)),{key:gn,fixedInfo:vn,appendCellNode:mn,additionalCellProps:Dn||{}}}function tn(ue){var le=ue.className,ye=ue.style,Ae=ue.record,Ge=ue.index,Ze=ue.renderIndex,lt=ue.rowKey,ot=ue.indent,dt=ot===void 0?0:ot,At=ue.rowComponent,gt=ue.cellComponent,wt=ue.scopeCellComponent,qt=ht(Ae,lt,Ge,dt),Vt=qt.prefixCls,en=qt.flattenColumns,En=qt.expandedRowClassName,gn=qt.expandedRowRender,vn=qt.rowProps,mn=qt.expanded,Dn=qt.rowSupportExpand,qn=re.useState(!1),ea=(0,Pe.Z)(qn,2),Gn=ea[0],ha=ea[1];re.useEffect(function(){mn&&ha(!0)},[mn]);var Fa=re.createElement(At,(0,De.Z)({},vn,{"data-row-key":lt,className:Ie()(le,"".concat(Vt,"-row"),"".concat(Vt,"-row-level-").concat(dt),vn==null?void 0:vn.className),style:(0,Fe.Z)((0,Fe.Z)({},ye),vn==null?void 0:vn.style)}),en.map(function(Fn,Zn){var fa=Fn.render,Oa=Fn.dataIndex,Ca=Fn.className,la=on(qt,Fn,Zn,dt,Ge),Ta=la.key,Za=la.fixedInfo,mo=la.appendCellNode,Ja=la.additionalCellProps;return re.createElement(Tt,(0,De.Z)({className:Ca,ellipsis:Fn.ellipsis,align:Fn.align,scope:Fn.rowScope,component:Fn.rowScope?wt:gt,prefixCls:Vt,key:Ta,record:Ae,index:Ge,renderIndex:Ze,dataIndex:Oa,render:fa,shouldCellUpdate:Fn.shouldCellUpdate},Za,{appendNode:mo,additionalProps:Ja}))})),Mn;if(Dn&&(Gn||mn)){var Kn=gn(Ae,Ge,dt+1,mn),Rn=En&&En(Ae,Ge,dt);Mn=re.createElement(_t,{expanded:mn,className:Ie()("".concat(Vt,"-expanded-row"),"".concat(Vt,"-expanded-row-level-").concat(dt+1),Rn),prefixCls:Vt,component:At,cellComponent:gt,colSpan:en.length,isEmpty:!1},Kn)}return re.createElement(re.Fragment,null,Fa,Mn)}tn.displayName="BodyRow";var kt=ee(tn);function Zt(ue){var le=ue.columnKey,ye=ue.onColumnResize,Ae=re.useRef();return re.useEffect(function(){Ae.current&&ye(le,Ae.current.offsetWidth)},[]),re.createElement(qe.Z,{data:le},re.createElement("td",{ref:Ae,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function $t(ue){var le=ue.prefixCls,ye=ue.columnsKey,Ae=ue.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(le,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(qe.Z.Collection,{onBatchResize:function(Ze){Ze.forEach(function(lt){var ot=lt.data,dt=lt.size;Ae(ot,dt.offsetWidth)})}},ye.map(function(Ge){return re.createElement(Zt,{key:Ge,columnKey:Ge,onColumnResize:Ae})})))}function sn(ue){var le=ue.data,ye=ue.measureColumnWidth,Ae=we(se,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ge=Ae.prefixCls,Ze=Ae.getComponent,lt=Ae.onColumnResize,ot=Ae.flattenColumns,dt=Ae.getRowKey,At=Ae.expandedKeys,gt=Ae.childrenColumnName,wt=Ae.emptyNode,qt=Ot(le,gt,At,dt),Vt=re.useRef({renderWithProps:!1}),en=Ze(["body","wrapper"],"tbody"),En=Ze(["body","row"],"tr"),gn=Ze(["body","cell"],"td"),vn=Ze(["body","cell"],"th"),mn;le.length?mn=qt.map(function(qn,ea){var Gn=qn.record,ha=qn.indent,Fa=qn.index,Mn=dt(Gn,ea);return re.createElement(kt,{key:Mn,rowKey:Mn,record:Gn,index:ea,renderIndex:Fa,rowComponent:En,cellComponent:gn,scopeCellComponent:vn,getRowKey:dt,indent:ha})}):mn=re.createElement(_t,{expanded:!0,className:"".concat(Ge,"-placeholder"),prefixCls:Ge,component:En,cellComponent:gn,colSpan:ot.length,isEmpty:!0},wt);var Dn=Xe(ot);return re.createElement(Ct.Provider,{value:Vt.current},re.createElement(en,{className:"".concat(Ge,"-tbody")},ye&&re.createElement($t,{prefixCls:Ge,columnsKey:Dn,onColumnResize:lt}),mn))}sn.displayName="Body";var un=ee(sn),Cn=["expandable"],On="RC_TABLE_INTERNAL_COL_DEFINE";function Rt(ue){var le=ue.expandable,ye=(0,ft.Z)(ue,Cn),Ae;return"expandable"in ue?Ae=(0,Fe.Z)((0,Fe.Z)({},ye),le):Ae=ye,Ae.showExpandColumn===!1&&(Ae.expandIconColumnIndex=-1),Ae}var Nt=["columnType"];function Ht(ue){for(var le=ue.colWidths,ye=ue.columns,Ae=ue.columCount,Ge=[],Ze=Ae||ye.length,lt=!1,ot=Ze-1;ot>=0;ot-=1){var dt=le[ot],At=ye&&ye[ot],gt=At&&At[On];if(dt||gt||lt){var wt=gt||{},qt=wt.columnType,Vt=(0,ft.Z)(wt,Nt);Ge.unshift(re.createElement("col",(0,De.Z)({key:ot,style:{width:dt}},Vt))),lt=!0}}return re.createElement("colgroup",null,Ge)}var ln=Ht,nn=ne(26407),jn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function na(ue,le){return(0,re.useMemo)(function(){for(var ye=[],Ae=0;Ae<le;Ae+=1){var Ge=ue[Ae];if(Ge!==void 0)ye[Ae]=Ge;else return null}return ye},[ue.join("_"),le])}var hn=re.forwardRef(function(ue,le){var ye=ue.className,Ae=ue.noData,Ge=ue.columns,Ze=ue.flattenColumns,lt=ue.colWidths,ot=ue.columCount,dt=ue.stickyOffsets,At=ue.direction,gt=ue.fixHeader,wt=ue.stickyTopOffset,qt=ue.stickyBottomOffset,Vt=ue.stickyClassName,en=ue.onScroll,En=ue.maxContentScroll,gn=ue.children,vn=(0,ft.Z)(ue,jn),mn=we(se,["prefixCls","scrollbarSize","isSticky"]),Dn=mn.prefixCls,qn=mn.scrollbarSize,ea=mn.isSticky,Gn=ea&&!gt?0:qn,ha=re.useRef(null),Fa=re.useCallback(function(Ca){(0,je.mH)(le,Ca),(0,je.mH)(ha,Ca)},[]);re.useEffect(function(){var Ca;function la(Ta){var Za=Ta,mo=Za.currentTarget,Ja=Za.deltaX;Ja&&(en({currentTarget:mo,scrollLeft:mo.scrollLeft+Ja}),Ta.preventDefault())}return(Ca=ha.current)===null||Ca===void 0||Ca.addEventListener("wheel",la),function(){var Ta;(Ta=ha.current)===null||Ta===void 0||Ta.removeEventListener("wheel",la)}},[]);var Mn=re.useMemo(function(){return Ze.every(function(Ca){return Ca.width})},[Ze]),Kn=Ze[Ze.length-1],Rn={fixed:Kn?Kn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Dn,"-cell-scrollbar")}}},Fn=(0,re.useMemo)(function(){return Gn?[].concat((0,nn.Z)(Ge),[Rn]):Ge},[Gn,Ge]),Zn=(0,re.useMemo)(function(){return Gn?[].concat((0,nn.Z)(Ze),[Rn]):Ze},[Gn,Ze]),fa=(0,re.useMemo)(function(){var Ca=dt.right,la=dt.left;return(0,Fe.Z)((0,Fe.Z)({},dt),{},{left:At==="rtl"?[].concat((0,nn.Z)(la.map(function(Ta){return Ta+Gn})),[0]):la,right:At==="rtl"?Ca:[].concat((0,nn.Z)(Ca.map(function(Ta){return Ta+Gn})),[0]),isSticky:ea})},[Gn,dt,ea]),Oa=na(lt,ot);return re.createElement("div",{style:(0,Fe.Z)({overflow:"hidden"},ea?{top:wt,bottom:qt}:{}),ref:Fa,className:Ie()(ye,(0,ge.Z)({},Vt,!!Vt))},re.createElement("table",{style:{tableLayout:"fixed",visibility:Ae||Oa?null:"hidden"}},(!Ae||!En||Mn)&&re.createElement(ln,{colWidths:Oa?[].concat((0,nn.Z)(Oa),[Gn]):[],columCount:ot+1,columns:Zn}),gn((0,Fe.Z)((0,Fe.Z)({},vn),{},{stickyOffsets:fa,columns:Fn,flattenColumns:Zn}))))});hn.displayName="FixedHolder";var Qt=re.memo(hn);function Wn(ue){var le=ue.cells,ye=ue.stickyOffsets,Ae=ue.flattenColumns,Ge=ue.rowComponent,Ze=ue.cellComponent,lt=ue.tdCellComponent,ot=ue.onHeaderRow,dt=ue.index,At=we(se,["prefixCls","direction"]),gt=At.prefixCls,wt=At.direction,qt;ot&&(qt=ot(le.map(function(en){return en.column}),dt));var Vt=Xe(le.map(function(en){return en.column}));return re.createElement(Ge,qt,le.map(function(en,En){var gn=en.column,vn=Se(en.colStart,en.colEnd,Ae,ye,wt,gn),mn;return gn&&gn.onHeaderCell&&(mn=en.column.onHeaderCell(gn)),re.createElement(Tt,(0,De.Z)({},en,{scope:gn.title?en.colSpan>1?"colgroup":"col":null,ellipsis:gn.ellipsis,align:gn.align,component:gn.title?Ze:lt,prefixCls:gt,key:Vt[En]},vn,{additionalProps:mn,rowType:"header"}))}))}Wn.displayName="HeaderRow";var Me=Wn;function rt(ue){var le=[];function ye(lt,ot){var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;le[dt]=le[dt]||[];var At=ot,gt=lt.filter(Boolean).map(function(wt){var qt={key:wt.key,className:wt.className||"",children:wt.title,column:wt,colStart:At},Vt=1,en=wt.children;return en&&en.length>0&&(Vt=ye(en,At,dt+1).reduce(function(En,gn){return En+gn},0),qt.hasSubColumns=!0),"colSpan"in wt&&(Vt=wt.colSpan),"rowSpan"in wt&&(qt.rowSpan=wt.rowSpan),qt.colSpan=Vt,qt.colEnd=qt.colStart+Vt-1,le[dt].push(qt),At+=Vt,Vt});return gt}ye(ue,0);for(var Ae=le.length,Ge=function(ot){le[ot].forEach(function(dt){!("rowSpan"in dt)&&!dt.hasSubColumns&&(dt.rowSpan=Ae-ot)})},Ze=0;Ze<Ae;Ze+=1)Ge(Ze);return le}function Pt(ue){var le=ue.stickyOffsets,ye=ue.columns,Ae=ue.flattenColumns,Ge=ue.onHeaderRow,Ze=we(se,["prefixCls","getComponent"]),lt=Ze.prefixCls,ot=Ze.getComponent,dt=re.useMemo(function(){return rt(ye)},[ye]),At=ot(["header","wrapper"],"thead"),gt=ot(["header","row"],"tr"),wt=ot(["header","cell"],"th"),qt=ot(["header","cell"],"td");return re.createElement(At,{className:"".concat(lt,"-thead")},dt.map(function(Vt,en){var En=re.createElement(Me,{key:en,flattenColumns:Ae,cells:Vt,stickyOffsets:le,rowComponent:gt,cellComponent:wt,tdCellComponent:qt,onHeaderRow:Ge,index:en});return En}))}var Bt=ee(Pt),Jt=ne(11592);function Wt(ue){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof le=="number"?le:le.endsWith("%")?ue*parseFloat(le)/100:null}function Kt(ue,le){return re.useMemo(function(){if(le&&le>0){var ye=0,Ae=0;ue.forEach(function(At){var gt=Wt(le,At.width);gt?ye+=gt:Ae+=1});var Ge=le-ye,Ze=Ae,lt=Ge/Ae,ot=0,dt=ue.map(function(At){var gt=(0,Fe.Z)({},At),wt=Wt(le,gt.width);if(wt)gt.width=wt;else{var qt=Math.floor(lt);gt.width=Ze===1?Ge:qt,Ge-=qt,Ze-=1}return ot+=gt.width,gt});return[dt,ot]}return[ue,le]},[ue,le])}var Ve=["children"],Ye=["fixed"];function Je(ue){return(0,Jt.Z)(ue).filter(function(le){return re.isValidElement(le)}).map(function(le){var ye=le.key,Ae=le.props,Ge=Ae.children,Ze=(0,ft.Z)(Ae,Ve),lt=(0,Fe.Z)({key:ye},Ze);return Ge&&(lt.children=Je(Ge)),lt})}function Et(ue){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ue.filter(function(ye){return ye&&(0,pe.Z)(ye)==="object"}).reduce(function(ye,Ae,Ge){var Ze=Ae.fixed,lt=Ze===!0?"left":Ze,ot="".concat(le,"-").concat(Ge),dt=Ae.children;return dt&&dt.length>0?[].concat((0,nn.Z)(ye),(0,nn.Z)(Et(dt,ot).map(function(At){return(0,Fe.Z)({fixed:lt},At)}))):[].concat((0,nn.Z)(ye),[(0,Fe.Z)((0,Fe.Z)({key:ot},Ae),{},{fixed:lt})])},[])}function Gt(ue){for(var le=!0,ye=0;ye<ue.length;ye+=1){var Ae=ue[ye];if(le&&Ae.fixed!=="left")le=!1;else if(!le&&Ae.fixed==="left"){warning(!1,"Index ".concat(ye-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ge=!0,Ze=ue.length-1;Ze>=0;Ze-=1){var lt=ue[Ze];if(Ge&&lt.fixed!=="right")Ge=!1;else if(!Ge&&lt.fixed==="right"){warning(!1,"Index ".concat(Ze+1," of `columns` missing `fixed='right'` prop."));break}}}function It(ue){return ue.map(function(le){var ye=le.fixed,Ae=(0,ft.Z)(le,Ye),Ge=ye;return ye==="left"?Ge="right":ye==="right"&&(Ge="left"),(0,Fe.Z)({fixed:Ge},Ae)})}function dn(ue,le){var ye=ue.prefixCls,Ae=ue.columns,Ge=ue.children,Ze=ue.expandable,lt=ue.expandedKeys,ot=ue.columnTitle,dt=ue.getRowKey,At=ue.onTriggerExpand,gt=ue.expandIcon,wt=ue.rowExpandable,qt=ue.expandIconColumnIndex,Vt=ue.direction,en=ue.expandRowByClick,En=ue.columnWidth,gn=ue.fixed,vn=ue.scrollWidth,mn=re.useMemo(function(){return Ae||Je(Ge)},[Ae,Ge]),Dn=re.useMemo(function(){if(Ze){var Kn,Rn=mn.slice();if(!Rn.includes(z)){var Fn=qt||0;Fn>=0&&Rn.splice(Fn,0,z)}var Zn=Rn.indexOf(z);Rn=Rn.filter(function(la,Ta){return la!==z||Ta===Zn});var fa=mn[Zn],Oa;(gn==="left"||gn)&&!qt?Oa="left":(gn==="right"||gn)&&qt===mn.length?Oa="right":Oa=fa?fa.fixed:null;var Ca=(Kn={},(0,ge.Z)(Kn,On,{className:"".concat(ye,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ge.Z)(Kn,"title",ot),(0,ge.Z)(Kn,"fixed",Oa),(0,ge.Z)(Kn,"className","".concat(ye,"-row-expand-icon-cell")),(0,ge.Z)(Kn,"width",En),(0,ge.Z)(Kn,"render",function(Ta,Za,mo){var Ja=dt(Za,mo),No=lt.has(Ja),Io=wt?wt(Za):!0,wa=gt({prefixCls:ye,expanded:No,expandable:Io,record:Za,onExpand:At});return en?re.createElement("span",{onClick:function(Ya){return Ya.stopPropagation()}},wa):wa}),Kn);return Rn.map(function(la){return la===z?Ca:la})}return mn.filter(function(la){return la!==z})},[Ze,mn,dt,lt,gt,Vt]),qn=re.useMemo(function(){var Kn=Dn;return le&&(Kn=le(Kn)),Kn.length||(Kn=[{render:function(){return null}}]),Kn},[le,Dn,Vt]),ea=re.useMemo(function(){return Vt==="rtl"?It(Et(qn)):Et(qn)},[qn,Vt,vn]),Gn=Kt(ea,vn),ha=(0,Pe.Z)(Gn,2),Fa=ha[0],Mn=ha[1];return[qn,Fa,Mn]}var an=dn;function Xt(ue){var le,ye=ue.prefixCls,Ae=ue.record,Ge=ue.onExpand,Ze=ue.expanded,lt=ue.expandable,ot="".concat(ye,"-row-expand-icon");if(!lt)return re.createElement("span",{className:Ie()(ot,"".concat(ye,"-row-spaced"))});var dt=function(gt){Ge(Ae,gt),gt.stopPropagation()};return re.createElement("span",{className:Ie()(ot,(le={},(0,ge.Z)(le,"".concat(ye,"-row-expanded"),Ze),(0,ge.Z)(le,"".concat(ye,"-row-collapsed"),!Ze),le)),onClick:dt})}function cn(ue,le,ye){var Ae=[];function Ge(Ze){(Ze||[]).forEach(function(lt,ot){Ae.push(le(lt,ot)),Ge(lt[ye])})}return Ge(ue),Ae}function da(ue,le,ye){var Ae=Rt(ue),Ge=Ae.expandIcon,Ze=Ae.expandedRowKeys,lt=Ae.defaultExpandedRowKeys,ot=Ae.defaultExpandAllRows,dt=Ae.expandedRowRender,At=Ae.onExpand,gt=Ae.onExpandedRowsChange,wt=Ae.childrenColumnName,qt=Ge||Xt,Vt=wt||"children",en=re.useMemo(function(){return dt?"row":ue.expandable&&ue.internalHooks===ie&&ue.expandable.__PARENT_RENDER_ICON__||le.some(function(ea){return ea&&(0,pe.Z)(ea)==="object"&&ea[Vt]})?"nest":!1},[!!dt,le]),En=re.useState(function(){return lt||(ot?cn(le,ye,Vt):[])}),gn=(0,Pe.Z)(En,2),vn=gn[0],mn=gn[1],Dn=re.useMemo(function(){return new Set(Ze||vn||[])},[Ze,vn]),qn=re.useCallback(function(ea){var Gn=ye(ea,le.indexOf(ea)),ha,Fa=Dn.has(Gn);Fa?(Dn.delete(Gn),ha=(0,nn.Z)(Dn)):ha=[].concat((0,nn.Z)(Dn),[Gn]),mn(ha),At&&At(!Fa,ea),gt&&gt(ha)},[ye,Dn,le,At,gt]);return[Ae,en,Dn,qt,Vt,qn]}function Ut(ue,le,ye,Ae){var Ge=ue.map(function(Ze,lt){return Se(lt,lt,ue,le,ye,Ae==null?void 0:Ae[lt])});return(0,Qe.Z)(function(){return Ge},[Ge],function(Ze,lt){return!(0,xe.Z)(Ze,lt)})}function kn(ue){var le=(0,re.useRef)(ue),ye=(0,re.useState)({}),Ae=(0,Pe.Z)(ye,2),Ge=Ae[1],Ze=(0,re.useRef)(null),lt=(0,re.useRef)([]);function ot(dt){lt.current.push(dt);var At=Promise.resolve();Ze.current=At,At.then(function(){if(Ze.current===At){var gt=lt.current,wt=le.current;lt.current=[],gt.forEach(function(qt){le.current=qt(le.current)}),Ze.current=null,wt!==le.current&&Ge({})}})}return(0,re.useEffect)(function(){return function(){Ze.current=null}},[]),[le.current,ot]}function aa(ue){var le=(0,re.useRef)(ue||null),ye=(0,re.useRef)();function Ae(){window.clearTimeout(ye.current)}function Ge(lt){le.current=lt,Ae(),ye.current=window.setTimeout(function(){le.current=null,ye.current=void 0},100)}function Ze(){return le.current}return(0,re.useEffect)(function(){return Ae},[]),[Ge,Ze]}function va(){var ue=re.useState(-1),le=(0,Pe.Z)(ue,2),ye=le[0],Ae=le[1],Ge=re.useState(-1),Ze=(0,Pe.Z)(Ge,2),lt=Ze[0],ot=Ze[1],dt=re.useCallback(function(At,gt){Ae(At),ot(gt)},[]);return[ye,lt,dt]}var fn=ne(47273),Un=(0,fn.Z)()?window:null;function ka(ue,le){var ye=(0,pe.Z)(ue)==="object"?ue:{},Ae=ye.offsetHeader,Ge=Ae===void 0?0:Ae,Ze=ye.offsetSummary,lt=Ze===void 0?0:Ze,ot=ye.offsetScroll,dt=ot===void 0?0:ot,At=ye.getContainer,gt=At===void 0?function(){return Un}:At,wt=gt()||Un;return re.useMemo(function(){var qt=!!ue;return{isSticky:qt,stickyClassName:qt?"".concat(le,"-sticky-holder"):"",offsetHeader:Ge,offsetSummary:lt,offsetScroll:dt,container:wt}},[dt,Ge,lt,le,wt])}function $n(ue,le,ye){var Ae=(0,re.useMemo)(function(){for(var Ge=[],Ze=[],lt=0,ot=0,dt=0;dt<le;dt+=1)if(ye==="rtl"){Ze[dt]=ot,ot+=ue[dt]||0;var At=le-dt-1;Ge[At]=lt,lt+=ue[At]||0}else{Ge[dt]=lt,lt+=ue[dt]||0;var gt=le-dt-1;Ze[gt]=ot,ot+=ue[gt]||0}return{left:Ge,right:Ze}},[ue,le,ye]);return Ae}var Na=$n;function Ia(ue){var le=ue.className,ye=ue.children;return re.createElement("div",{className:le},ye)}var _a=Ia,Ma=ne(8224),lo=ne(55468),qa=function(le,ye){var Ae,Ge,Ze=le.scrollBodyRef,lt=le.onScroll,ot=le.offsetScroll,dt=le.container,At=we(se,"prefixCls"),gt=((Ae=Ze.current)===null||Ae===void 0?void 0:Ae.scrollWidth)||0,wt=((Ge=Ze.current)===null||Ge===void 0?void 0:Ge.clientWidth)||0,qt=gt&&wt*(wt/gt),Vt=re.useRef(),en=kn({scrollLeft:0,isHiddenScrollBar:!1}),En=(0,Pe.Z)(en,2),gn=En[0],vn=En[1],mn=re.useRef({delta:0,x:0}),Dn=re.useState(!1),qn=(0,Pe.Z)(Dn,2),ea=qn[0],Gn=qn[1],ha=function(){Gn(!1)},Fa=function(Zn){Zn.persist(),mn.current.delta=Zn.pageX-gn.scrollLeft,mn.current.x=0,Gn(!0),Zn.preventDefault()},Mn=function(Zn){var fa,Oa=Zn||((fa=window)===null||fa===void 0?void 0:fa.event),Ca=Oa.buttons;if(!ea||Ca===0){ea&&Gn(!1);return}var la=mn.current.x+Zn.pageX-mn.current.x-mn.current.delta;la<=0&&(la=0),la+qt>=wt&&(la=wt-qt),lt({scrollLeft:la/wt*(gt+2)}),mn.current.x=Zn.pageX},Kn=function(){if(Ze.current){var Zn=(0,lo.os)(Ze.current).top,fa=Zn+Ze.current.offsetHeight,Oa=dt===window?document.documentElement.scrollTop+window.innerHeight:(0,lo.os)(dt).top+dt.clientHeight;fa-(0,at.Z)()<=Oa||Zn>=Oa-ot?vn(function(Ca){return(0,Fe.Z)((0,Fe.Z)({},Ca),{},{isHiddenScrollBar:!0})}):vn(function(Ca){return(0,Fe.Z)((0,Fe.Z)({},Ca),{},{isHiddenScrollBar:!1})})}},Rn=function(Zn){vn(function(fa){return(0,Fe.Z)((0,Fe.Z)({},fa),{},{scrollLeft:Zn/gt*wt||0})})};return re.useImperativeHandle(ye,function(){return{setScrollLeft:Rn}}),re.useEffect(function(){var Fn=(0,Ma.Z)(document.body,"mouseup",ha,!1),Zn=(0,Ma.Z)(document.body,"mousemove",Mn,!1);return Kn(),function(){Fn.remove(),Zn.remove()}},[qt,ea]),re.useEffect(function(){var Fn=(0,Ma.Z)(dt,"scroll",Kn,!1),Zn=(0,Ma.Z)(window,"resize",Kn,!1);return function(){Fn.remove(),Zn.remove()}},[dt]),re.useEffect(function(){gn.isHiddenScrollBar||vn(function(Fn){var Zn=Ze.current;return Zn?(0,Fe.Z)((0,Fe.Z)({},Fn),{},{scrollLeft:Zn.scrollLeft/Zn.scrollWidth*Zn.clientWidth}):Fn})},[gn.isHiddenScrollBar]),gt<=wt||!qt||gn.isHiddenScrollBar?null:re.createElement("div",{style:{height:(0,at.Z)(),width:wt,bottom:ot},className:"".concat(At,"-sticky-scroll")},re.createElement("div",{onMouseDown:Fa,ref:Vt,className:Ie()("".concat(At,"-sticky-scroll-bar"),(0,ge.Z)({},"".concat(At,"-sticky-scroll-bar-active"),ea)),style:{width:"".concat(qt,"px"),transform:"translate3d(".concat(gn.scrollLeft,"px, 0, 0)")}}))},Oo=re.forwardRef(qa);function rn(ue){return null}var Mo=rn;function Eo(ue){return null}var vo=Eo,ca="rc-table",pn=[],_n={};function oa(){return"No Data"}function xn(ue){var le,ye=(0,Fe.Z)({rowKey:"key",prefixCls:ca,emptyText:oa},ue),Ae=ye.prefixCls,Ge=ye.className,Ze=ye.rowClassName,lt=ye.style,ot=ye.data,dt=ye.rowKey,At=ye.scroll,gt=ye.tableLayout,wt=ye.direction,qt=ye.title,Vt=ye.footer,en=ye.summary,En=ye.caption,gn=ye.id,vn=ye.showHeader,mn=ye.components,Dn=ye.emptyText,qn=ye.onRow,ea=ye.onHeaderRow,Gn=ye.internalHooks,ha=ye.transformColumns,Fa=ye.internalRefs,Mn=ye.tailor,Kn=ye.sticky,Rn=ot||pn,Fn=!!Rn.length,Zn=Gn===ie,fa=re.useCallback(function(no,xo){return(0,_e.Z)(mn,no)||xo},[mn]),Oa=re.useMemo(function(){return typeof dt=="function"?dt:function(no){var xo=no&&no[dt];return xo}},[dt]),Ca=fa(["body"]),la=va(),Ta=(0,Pe.Z)(la,3),Za=Ta[0],mo=Ta[1],Ja=Ta[2],No=da(ye,Rn,Oa),Io=(0,Pe.Z)(No,6),wa=Io[0],Zo=Io[1],Ya=Io[2],bo=Io[3],Po=Io[4],cr=Io[5],ga=At==null?void 0:At.x,ua=re.useState(0),sa=(0,Pe.Z)(ua,2),Xn=sa[0],$a=sa[1],Yn=an((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},ye),wa),{},{expandable:!!wa.expandedRowRender,columnTitle:wa.columnTitle,expandedKeys:Ya,getRowKey:Oa,onTriggerExpand:cr,expandIcon:bo,expandIconColumnIndex:wa.expandIconColumnIndex,direction:wt,scrollWidth:Zn&&Mn&&typeof ga=="number"?ga:null}),Zn?ha:null),Pa=(0,Pe.Z)(Yn,3),Va=Pa[0],Ha=Pa[1],or=Pa[2],Yo=or!=null?or:ga,Ir=re.useMemo(function(){return{columns:Va,flattenColumns:Ha}},[Va,Ha]),zo=re.useRef(),Cr=re.useRef(),jo=re.useRef(),gr=re.useRef(),gi=re.useRef(),eo=re.useState(!1),to=(0,Pe.Z)(eo,2),Ao=to[0],Ko=to[1],Wo=re.useState(!1),za=(0,Pe.Z)(Wo,2),sr=za[0],rr=za[1],Sr=kn(new Map),zr=(0,Pe.Z)(Sr,2),Mr=zr[0],Ii=zr[1],Ur=Xe(Ha),br=Ur.map(function(no){return Mr.get(no)}),mr=re.useMemo(function(){return br},[br.join("_")]),ur=Na(mr,Ha.length,wt),Vo=At&&xt(At.y),Lo=At&&xt(Yo)||!!wa.fixed,jr=Lo&&Ha.some(function(no){var xo=no.fixed;return xo}),mi=re.useRef(),ri=ka(Kn,Ae),_r=ri.isSticky,Wi=ri.offsetHeader,cl=ri.offsetSummary,Ua=ri.offsetScroll,po=ri.stickyClassName,ar=ri.container,Do=re.useMemo(function(){return en==null?void 0:en(Rn)},[en,Rn]),ir=(Vo||_r)&&re.isValidElement(Do)&&Do.type===ce&&Do.props.fixed,fr,pr,Qr;Vo&&(pr={overflowY:"scroll",maxHeight:At.y}),Lo&&(fr={overflowX:"auto"},Vo||(pr={overflowY:"hidden"}),Qr={width:Yo===!0?"auto":Yo,minWidth:"100%"});var Bl=re.useCallback(function(no,xo){(0,ze.Z)(zo.current)&&Ii(function(xr){if(xr.get(no)!==xo){var ii=new Map(xr);return ii.set(no,xo),ii}return xr})},[]),Kl=aa(null),Fl=(0,Pe.Z)(Kl,2),Wl=Fl[0],wl=Fl[1];function Vi(no,xo){xo&&(typeof xo=="function"?xo(no):xo.scrollLeft!==no&&(xo.scrollLeft=no,xo.scrollLeft!==no&&setTimeout(function(){xo.scrollLeft=no},0)))}var Ci=(0,Re.Z)(function(no){var xo=no.currentTarget,xr=no.scrollLeft,ii=wt==="rtl",li=typeof xr=="number"?xr:xo.scrollLeft,Gl=xo||_n;if(!wl()||wl()===Gl){var vl;Wl(Gl),Vi(li,Cr.current),Vi(li,jo.current),Vi(li,gi.current),Vi(li,(vl=mi.current)===null||vl===void 0?void 0:vl.setScrollLeft)}var hl=xo||Cr.current;if(hl){var Sl=hl.scrollWidth,Pl=hl.clientWidth;if(Sl===Pl){Ko(!1),rr(!1);return}ii?(Ko(-li<Sl-Pl),rr(-li>0)):(Ko(li>0),rr(li<Sl-Pl))}}),Al=function(){Lo&&jo.current?Ci({currentTarget:jo.current}):(Ko(!1),rr(!1))},Vl=function(xo){var xr=xo.width;xr!==Xn&&(Al(),$a(zo.current?zo.current.offsetWidth:xr))},Ll=re.useRef(!1);re.useEffect(function(){Ll.current&&Al()},[Lo,ot,Va.length]),re.useEffect(function(){Ll.current=!0},[]);var Ul=re.useState(0),Dl=(0,Pe.Z)(Ul,2),Ui=Dl[0],Ol=Dl[1],Ql=re.useState(!0),Nl=(0,Pe.Z)(Ql,2),Il=Nl[0],Jl=Nl[1];re.useEffect(function(){(!Mn||!Zn)&&(jo.current instanceof Element?Ol((0,at.o)(jo.current).width):Ol((0,at.o)(gr.current).width)),Jl((0,Ce.G)("position","sticky"))},[]),re.useEffect(function(){Zn&&Fa&&(Fa.body.current=jo.current)});var Xl=re.useCallback(function(no){return re.createElement(re.Fragment,null,re.createElement(Bt,no),ir==="top"&&re.createElement(ut,no,Do))},[ir,Do]),Yl=re.useCallback(function(no){return re.createElement(ut,no,Do)},[Do]),Ml=fa(["table"],"table"),Qi=re.useMemo(function(){return gt||(jr?Yo==="max-content"?"auto":"fixed":Vo||_r||Ha.some(function(no){var xo=no.ellipsis;return xo})?"fixed":"auto")},[Vo,jr,Ha,gt,_r]),gl,ml={colWidths:mr,columCount:Ha.length,stickyOffsets:ur,onHeaderRow:ea,fixHeader:Vo,scroll:At},Rl=re.useMemo(function(){return Fn?null:typeof Dn=="function"?Dn():Dn},[Fn,Dn]),Tl=re.createElement(un,{data:Rn,measureColumnWidth:Vo||Lo||_r}),kl=re.createElement(ln,{colWidths:Ha.map(function(no){var xo=no.width;return xo}),columns:Ha}),Zl=En!=null?re.createElement("caption",{className:"".concat(Ae,"-caption")},En):void 0,$l=(0,jt.Z)(ye,{data:!0}),zl=(0,jt.Z)(ye,{aria:!0});if(Vo||_r){var fl;typeof Ca=="function"?(fl=Ca(Rn,{scrollbarSize:Ui,ref:jo,onScroll:Ci}),ml.colWidths=Ha.map(function(no,xo){var xr=no.width,ii=xo===Ha.length-1?xr-Ui:xr;return typeof ii=="number"&&!Number.isNaN(ii)?ii:0})):fl=re.createElement("div",{style:(0,Fe.Z)((0,Fe.Z)({},fr),pr),onScroll:Ci,ref:jo,className:Ie()("".concat(Ae,"-body"))},re.createElement(Ml,(0,De.Z)({style:(0,Fe.Z)((0,Fe.Z)({},Qr),{},{tableLayout:Qi})},zl),Zl,kl,Tl,!ir&&Do&&re.createElement(ut,{stickyOffsets:ur,flattenColumns:Ha,columns:Va},Do)));var jl=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({noData:!Rn.length,maxContentScroll:Lo&&Yo==="max-content"},ml),Ir),{},{direction:wt,stickyClassName:po,onScroll:Ci});gl=re.createElement(re.Fragment,null,vn!==!1&&re.createElement(Qt,(0,De.Z)({},jl,{stickyTopOffset:Wi,className:"".concat(Ae,"-header"),ref:Cr}),Xl),fl,ir&&ir!=="top"&&re.createElement(Qt,(0,De.Z)({},jl,{stickyBottomOffset:cl,className:"".concat(Ae,"-summary"),ref:gi}),Yl),_r&&re.createElement(Oo,{ref:mi,offsetScroll:Ua,scrollBodyRef:jo,onScroll:Ci,container:ar}))}else gl=re.createElement("div",{style:(0,Fe.Z)((0,Fe.Z)({},fr),pr),className:Ie()("".concat(Ae,"-content")),onScroll:Ci,ref:jo},re.createElement(Ml,(0,De.Z)({style:(0,Fe.Z)((0,Fe.Z)({},Qr),{},{tableLayout:Qi})},zl),Zl,kl,vn!==!1&&re.createElement(Bt,(0,De.Z)({},ml,Ir)),Tl,Do&&re.createElement(ut,{stickyOffsets:ur,flattenColumns:Ha,columns:Va},Do)));var pl=re.createElement("div",(0,De.Z)({className:Ie()(Ae,Ge,(le={},(0,ge.Z)(le,"".concat(Ae,"-rtl"),wt==="rtl"),(0,ge.Z)(le,"".concat(Ae,"-ping-left"),Ao),(0,ge.Z)(le,"".concat(Ae,"-ping-right"),sr),(0,ge.Z)(le,"".concat(Ae,"-layout-fixed"),gt==="fixed"),(0,ge.Z)(le,"".concat(Ae,"-fixed-header"),Vo),(0,ge.Z)(le,"".concat(Ae,"-fixed-column"),jr),(0,ge.Z)(le,"".concat(Ae,"-scroll-horizontal"),Lo),(0,ge.Z)(le,"".concat(Ae,"-has-fix-left"),Ha[0]&&Ha[0].fixed),(0,ge.Z)(le,"".concat(Ae,"-has-fix-right"),Ha[Ha.length-1]&&Ha[Ha.length-1].fixed==="right"),le)),style:lt,id:gn,ref:zo},$l),qt&&re.createElement(_a,{className:"".concat(Ae,"-title")},qt(Rn)),re.createElement("div",{ref:gr,className:"".concat(Ae,"-container")},gl),Vt&&re.createElement(_a,{className:"".concat(Ae,"-footer")},Vt(Rn)));Lo&&(pl=re.createElement(qe.Z,{onResize:Vl},pl));var _l=Ut(Ha,ur,wt,Va),ql=re.useMemo(function(){return{scrollX:Yo,prefixCls:Ae,getComponent:fa,scrollbarSize:Ui,direction:wt,fixedInfoList:_l,isSticky:_r,supportSticky:Il,componentWidth:Xn,fixHeader:Vo,fixColumn:jr,horizonScroll:Lo,tableLayout:Qi,rowClassName:Ze,expandedRowClassName:wa.expandedRowClassName,expandIcon:bo,expandableType:Zo,expandRowByClick:wa.expandRowByClick,expandedRowRender:wa.expandedRowRender,onTriggerExpand:cr,expandIconColumnIndex:wa.expandIconColumnIndex,indentSize:wa.indentSize,allColumnsFixedLeft:Ha.every(function(no){return no.fixed==="left"}),emptyNode:Rl,columns:Va,flattenColumns:Ha,onColumnResize:Bl,hoverStartRow:Za,hoverEndRow:mo,onHover:Ja,rowExpandable:wa.rowExpandable,onRow:qn,getRowKey:Oa,expandedKeys:Ya,childrenColumnName:Po}},[Yo,Ae,fa,Ui,wt,_l,_r,Il,Xn,Vo,jr,Lo,Qi,Ze,wa.expandedRowClassName,bo,Zo,wa.expandRowByClick,wa.expandedRowRender,cr,wa.expandIconColumnIndex,wa.indentSize,Rl,Va,Ha,Bl,Za,mo,Ja,wa.rowExpandable,qn,Oa,Ya,Po]);return re.createElement(se.Provider,{value:ql},pl)}function Ea(ue){return x(xn,ue)}var Wa=Ea();Wa.EXPAND_COLUMN=z,Wa.INTERNAL_HOOKS=ie,Wa.Column=Mo,Wa.ColumnGroup=vo,Wa.Summary=he;var yo=Wa,Xa=ne(24916),oo=Oe(null),Jo=Oe(null);function _o(ue,le,ye){var Ae=le||1;return ye[ue+Ae]-(ye[ue]||0)}function Br(ue){var le=ue.rowInfo,ye=ue.column,Ae=ue.colIndex,Ge=ue.indent,Ze=ue.index,lt=ue.renderIndex,ot=ue.record,dt=ue.style,At=ue.className,gt=ue.inverse,wt=ue.getHeight,qt=ye.render,Vt=ye.dataIndex,en=ye.className,En=ye.width,gn=we(Jo,["columnsOffset"]),vn=gn.columnsOffset,mn=on(le,ye,Ae,Ge,Ze),Dn=mn.key,qn=mn.fixedInfo,ea=mn.appendCellNode,Gn=mn.additionalCellProps,ha=Gn.style,Fa=Gn.colSpan,Mn=Fa===void 0?1:Fa,Kn=Gn.rowSpan,Rn=Kn===void 0?1:Kn,Fn=Ae-1,Zn=_o(Fn,Mn,vn),fa=Mn>1?En-Zn:0,Oa=(0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},ha),dt),{},{flex:"0 0 ".concat(Zn,"px"),width:"".concat(Zn,"px"),marginRight:fa,pointerEvents:"auto"}),Ca=re.useMemo(function(){return gt?Rn<=1:Mn===0||Rn===0||Rn>1},[Rn,Mn,gt]);Ca?Oa.visibility="hidden":gt&&(Oa.height=wt==null?void 0:wt(Rn));var la=Ca?function(){return null}:qt,Ta={};return(Rn===0||Mn===0)&&(Ta.rowSpan=1,Ta.colSpan=1),re.createElement(Tt,(0,De.Z)({className:Ie()(en,At),ellipsis:ye.ellipsis,align:ye.align,scope:ye.rowScope,component:"div",prefixCls:le.prefixCls,key:Dn,record:ot,index:Ze,renderIndex:lt,dataIndex:Vt,render:la,shouldCellUpdate:ye.shouldCellUpdate},qn,{appendNode:ea,additionalProps:(0,Fe.Z)((0,Fe.Z)({},Gn),{},{style:Oa},Ta)}))}var Co=Br,Nn=["data","index","className","rowKey","style","extra","getHeight"],fo=re.forwardRef(function(ue,le){var ye=ue.data,Ae=ue.index,Ge=ue.className,Ze=ue.rowKey,lt=ue.style,ot=ue.extra,dt=ue.getHeight,At=(0,ft.Z)(ue,Nn),gt=ye.record,wt=ye.indent,qt=ye.index,Vt=we(se,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),en=Vt.scrollX,En=Vt.flattenColumns,gn=Vt.prefixCls,vn=Vt.fixColumn,mn=Vt.componentWidth,Dn=ht(gt,Ze,Ae,wt),qn=Dn.rowSupportExpand,ea=Dn.expanded,Gn=Dn.rowProps,ha=Dn.expandedRowRender,Fa=Dn.expandedRowClassName,Mn;if(qn&&ea){var Kn=ha(gt,Ae,wt+1,ea),Rn=Fa==null?void 0:Fa(gt,Ae,wt),Fn={};vn&&(Fn={style:(0,ge.Z)({},"--virtual-width","".concat(mn,"px"))});var Zn="".concat(gn,"-expanded-row-cell");Mn=re.createElement("div",{className:Ie()("".concat(gn,"-expanded-row"),"".concat(gn,"-expanded-row-level-").concat(wt+1),Rn)},re.createElement(Tt,{component:"div",prefixCls:gn,className:Ie()(Zn,(0,ge.Z)({},"".concat(Zn,"-fixed"),vn)),additionalProps:Fn},Kn))}var fa=(0,Fe.Z)((0,Fe.Z)({},lt),{},{width:en});ot&&(fa.position="absolute",fa.pointerEvents="none");var Oa=re.createElement("div",(0,De.Z)({},Gn,At,{ref:qn?null:le,className:Ie()(Ge,"".concat(gn,"-row"),Gn==null?void 0:Gn.className,(0,ge.Z)({},"".concat(gn,"-row-extra"),ot)),style:(0,Fe.Z)((0,Fe.Z)({},fa),Gn==null?void 0:Gn.style)}),En.map(function(Ca,la){return re.createElement(Co,{key:la,rowInfo:Dn,column:Ca,colIndex:la,indent:wt,index:Ae,renderIndex:qt,record:gt,inverse:ot,getHeight:dt})}));return qn?re.createElement("div",{ref:le},Oa,Mn):Oa}),ho=ee(fo),Ro=ho,Go=re.forwardRef(function(ue,le){var ye=ue.data,Ae=ue.onScroll,Ge=we(se,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ze=Ge.flattenColumns,lt=Ge.onColumnResize,ot=Ge.getRowKey,dt=Ge.expandedKeys,At=Ge.prefixCls,gt=Ge.childrenColumnName,wt=Ge.emptyNode,qt=Ge.scrollX,Vt=we(oo),en=Vt.scrollY,En=Vt.listItemHeight,gn=re.useRef(),vn=Ot(ye,gt,dt,ot),mn=re.useMemo(function(){var Mn=0;return Ze.map(function(Kn){var Rn=Kn.width,Fn=Kn.key;return Mn+=Rn,[Fn,Rn,Mn]})},[Ze]),Dn=re.useMemo(function(){return mn.map(function(Mn){return Mn[2]})},[mn]);re.useEffect(function(){mn.forEach(function(Mn){var Kn=(0,Pe.Z)(Mn,2),Rn=Kn[0],Fn=Kn[1];lt(Rn,Fn)})},[mn]),re.useImperativeHandle(le,function(){var Mn={};return Object.defineProperty(Mn,"scrollLeft",{get:function(){var Rn;return((Rn=gn.current)===null||Rn===void 0?void 0:Rn.getScrollInfo().x)||0},set:function(Rn){var Fn;(Fn=gn.current)===null||Fn===void 0||Fn.scrollTo({left:Rn})}}),Mn});var qn=function(Kn,Rn){var Fn,Zn=(Fn=vn[Rn])===null||Fn===void 0?void 0:Fn.record,fa=Kn.onCell;if(fa){var Oa,Ca=fa(Zn,Rn);return(Oa=Ca==null?void 0:Ca.rowSpan)!==null&&Oa!==void 0?Oa:1}return 1},ea=function(Kn){var Rn=Kn.start,Fn=Kn.end,Zn=Kn.getSize,fa=Kn.offsetY;if(Fn<0)return null;for(var Oa=Ze.filter(function(ga){return qn(ga,Rn)===0}),Ca=Rn,la=function(ua){if(Oa=Oa.filter(function(sa){return qn(sa,ua)===0}),!Oa.length)return Ca=ua,"break"},Ta=Rn;Ta>=0;Ta-=1){var Za=la(Ta);if(Za==="break")break}for(var mo=Ze.filter(function(ga){return qn(ga,Fn)!==1}),Ja=Fn,No=function(ua){if(mo=mo.filter(function(sa){return qn(sa,ua)!==1}),!mo.length)return Ja=Math.max(ua-1,Fn),"break"},Io=Fn;Io<vn.length;Io+=1){var wa=No(Io);if(wa==="break")break}for(var Zo=[],Ya=function(ua){var sa=vn[ua];if(!sa)return"continue";Ze.some(function(Xn){return qn(Xn,ua)>1})&&Zo.push(ua)},bo=Ca;bo<=Ja;bo+=1)var Po=Ya(bo);var cr=Zo.map(function(ga){var ua=vn[ga],sa=ot(ua.record,ga),Xn=function(Pa){var Va=ga+Pa-1,Ha=ot(vn[Va].record,Va),or=Zn(sa,Ha);return or.bottom-or.top},$a=Zn(sa);return re.createElement(Ro,{key:ga,data:ua,rowKey:sa,index:ga,style:{top:-fa+$a.top},extra:!0,getHeight:Xn})});return cr},Gn=re.useMemo(function(){return{columnsOffset:Dn}},[Dn]),ha="".concat(At,"-tbody"),Fa;return vn.length?Fa=re.createElement(Xa.Z,{fullHeight:!1,ref:gn,className:Ie()(ha,"".concat(ha,"-virtual")),height:en,itemHeight:En||24,data:vn,itemKey:function(Kn){return ot(Kn.record)},scrollWidth:qt,onVirtualScroll:function(Kn){var Rn=Kn.x;Ae({scrollLeft:Rn})},extraRender:ea},function(Mn,Kn,Rn){var Fn=ot(Mn.record,Kn);return re.createElement(Ro,(0,De.Z)({data:Mn,rowKey:Fn,index:Kn},Rn))}):Fa=re.createElement("div",{className:Ie()("".concat(At,"-placeholder"))},re.createElement(Tt,{component:"div",prefixCls:At},wt)),re.createElement(Jo.Provider,{value:Gn},Fa)}),Uo=ee(Go),$o=Uo,Xo=function(le,ye){var Ae=ye.ref,Ge=ye.onScroll;return re.createElement($o,{ref:Ae,data:le,onScroll:Ge})},Ho=100;function vr(ue){var le=ue.columns,ye=ue.scroll,Ae=ue.prefixCls,Ge=Ae===void 0?ca:Ae,Ze=ue.className,lt=ue.listItemHeight,ot=ye||{},dt=ot.x,At=ot.y;typeof dt!="number"&&(dt=((le||[]).length+1)*Ho),typeof At!="number"&&(At=500);var gt=re.useMemo(function(){return{scrollY:At,listItemHeight:lt}},[At,lt]);return re.createElement(oo.Provider,{value:gt},re.createElement(yo,(0,De.Z)({},ue,{className:Ie()(Ze,"".concat(Ge,"-virtual")),scroll:(0,Fe.Z)((0,Fe.Z)({},ye),{},{x:dt}),components:{body:Xo},columns:le,internalHooks:ie,tailor:!0})))}function lr(ue){return x(vr,ue)}var Pr=lr(),Fr=null;function So(ue){return null}var wr=So;function hr(ue){return null}var Gr=hr,Hr=ne(2738),Rr=ne(68031),Jr=ne(36355),Xr=ne(93891),si=ne(19716),ui=ne(8628),Yr=ne(31724),$r=ne(58421),Qn=ne(71418),Pn=ne(88088);function Sn(ue){return function(ye){let{prefixCls:Ae,onExpand:Ge,record:Ze,expanded:lt,expandable:ot}=ye;const dt=`${Ae}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:At=>{Ge(Ze,At),At.stopPropagation()},className:Ie()(dt,{[`${dt}-spaced`]:!ot,[`${dt}-expanded`]:ot&&lt,[`${dt}-collapsed`]:ot&&!lt}),"aria-label":lt?ue.collapse:ue.expand,"aria-expanded":lt})}}var Ln=Sn;function ba(ue,le){return"key"in ue&&ue.key!==void 0&&ue.key!==null?ue.key:ue.dataIndex?Array.isArray(ue.dataIndex)?ue.dataIndex.join("."):ue.dataIndex:le}function Ga(ue,le){return le?`${le}-${ue}`:`${ue}`}function so(ue,le){return typeof ue=="function"?ue(le):ue}function uo(ue,le){const ye=so(ue,le);return Object.prototype.toString.call(ye)==="[object Object]"?"":ye}var Bo={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"},Fo=Bo,qo=ne(7657),To=function(le,ye){return re.createElement(qo.Z,(0,De.Z)({},le,{ref:ye,icon:Fo}))},Ar=re.forwardRef(To),Tr=Ar,kr=ne(56762);function Lr(ue){const le=re.useRef(ue),ye=(0,kr.Z)();return[()=>le.current,Ae=>{le.current=Ae,ye()}]}var Dr=ne(3113),Qa=ne(24905),ko=ne(38854),fi=ne(64165),bi=ne(20834),Kr=ne(40875),di=ne(5112),qr=ne(17574),dr=ne(47472),Wr=ne(92832);function ci(ue){let{value:le,onChange:ye,filterSearch:Ae,tablePrefixCls:Ge,locale:Ze}=ue;return Ae?re.createElement("div",{className:`${Ge}-filter-dropdown-search`},re.createElement(Wr.default,{prefix:re.createElement(dr.Z,null),placeholder:Ze.filterSearchPlaceholder,onChange:ye,value:le,htmlSize:1,className:`${Ge}-filter-dropdown-search-input`})):null}var ei=ci,Mi=ne(10228);const Ji=ue=>{const{keyCode:le}=ue;le===Mi.Z.ENTER&&ue.stopPropagation()};var Xi=re.forwardRef((ue,le)=>re.createElement("div",{className:ue.className,onClick:ye=>ye.stopPropagation(),onKeyDown:Ji,ref:le},ue.children));function ti(ue){let le=[];return(ue||[]).forEach(ye=>{let{value:Ae,children:Ge}=ye;le.push(Ae),Ge&&(le=[].concat((0,nn.Z)(le),(0,nn.Z)(ti(Ge))))}),le}function Yi(ue){return ue.some(le=>{let{children:ye}=le;return ye})}function Ri(ue,le){return typeof le=="string"||typeof le=="number"?le==null?void 0:le.toString().toLowerCase().includes(ue.trim().toLowerCase()):!1}function xi(ue){let{filters:le,prefixCls:ye,filteredKeys:Ae,filterMultiple:Ge,searchValue:Ze,filterSearch:lt}=ue;return le.map((ot,dt)=>{const At=String(ot.value);if(ot.children)return{key:At||dt,label:ot.text,popupClassName:`${ye}-dropdown-submenu`,children:xi({filters:ot.children,prefixCls:ye,filteredKeys:Ae,filterMultiple:Ge,searchValue:Ze,filterSearch:lt})};const gt=Ge?Qa.default:di.ZP,wt={key:ot.value!==void 0?At:dt,label:re.createElement(re.Fragment,null,re.createElement(gt,{checked:Ae.includes(At)}),re.createElement("span",null,ot.text))};return Ze.trim()?typeof lt=="function"?lt(Ze,ot)?wt:null:Ri(Ze,ot.text)?wt:null:wt})}function $i(ue){var le,ye;const{tablePrefixCls:Ae,prefixCls:Ge,column:Ze,dropdownPrefixCls:lt,columnKey:ot,filterMultiple:dt,filterMode:At="menu",filterSearch:gt=!1,filterState:wt,triggerFilter:qt,locale:Vt,children:en,getPopupContainer:En}=ue,{filterDropdownOpen:gn,onFilterDropdownOpenChange:vn,filterResetToDefaultFilteredValue:mn,defaultFilteredValue:Dn,filterDropdownVisible:qn,onFilterDropdownVisibleChange:ea}=Ze,[Gn,ha]=re.useState(!1),Fa=!!(wt&&(!((le=wt.filteredKeys)===null||le===void 0)&&le.length||wt.forceFiltered)),Mn=Yn=>{ha(Yn),vn==null||vn(Yn),ea==null||ea(Yn)},Kn=(ye=gn!=null?gn:qn)!==null&&ye!==void 0?ye:Gn,Rn=wt==null?void 0:wt.filteredKeys,[Fn,Zn]=Lr(Rn||[]),fa=Yn=>{let{selectedKeys:Pa}=Yn;Zn(Pa)},Oa=(Yn,Pa)=>{let{node:Va,checked:Ha}=Pa;fa(dt?{selectedKeys:Yn}:{selectedKeys:Ha&&Va.key?[Va.key]:[]})};re.useEffect(()=>{Gn&&fa({selectedKeys:Rn||[]})},[Rn]);const[Ca,la]=re.useState([]),Ta=Yn=>{la(Yn)},[Za,mo]=re.useState(""),Ja=Yn=>{const{value:Pa}=Yn.target;mo(Pa)};re.useEffect(()=>{Gn||mo("")},[Gn]);const No=Yn=>{const Pa=Yn&&Yn.length?Yn:null;if(Pa===null&&(!wt||!wt.filteredKeys)||(0,xe.Z)(Pa,wt==null?void 0:wt.filteredKeys,!0))return null;qt({column:Ze,key:ot,filteredKeys:Pa})},Io=()=>{Mn(!1),No(Fn())},wa=function(){let{confirm:Yn,closeDropdown:Pa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Yn&&No([]),Pa&&Mn(!1),mo(""),Zn(mn?(Dn||[]).map(Va=>String(Va)):[])},Zo=function(){let{closeDropdown:Yn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Yn&&Mn(!1),No(Fn())},Ya=Yn=>{Yn&&Rn!==void 0&&Zn(Rn||[]),Mn(Yn),!Yn&&!Ze.filterDropdown&&Io()},bo=Ie()({[`${lt}-menu-without-submenu`]:!Yi(Ze.filters||[])}),Po=Yn=>{if(Yn.target.checked){const Pa=ti(Ze==null?void 0:Ze.filters).map(Va=>String(Va));Zn(Pa)}else Zn([])},cr=Yn=>{let{filters:Pa}=Yn;return(Pa||[]).map((Va,Ha)=>{const or=String(Va.value),Yo={title:Va.text,key:Va.value!==void 0?or:Ha};return Va.children&&(Yo.children=cr({filters:Va.children})),Yo})},ga=Yn=>{var Pa;return Object.assign(Object.assign({},Yn),{text:Yn.title,value:Yn.key,children:((Pa=Yn.children)===null||Pa===void 0?void 0:Pa.map(Va=>ga(Va)))||[]})};let ua;if(typeof Ze.filterDropdown=="function")ua=Ze.filterDropdown({prefixCls:`${lt}-custom`,setSelectedKeys:Yn=>fa({selectedKeys:Yn}),selectedKeys:Fn(),confirm:Zo,clearFilters:wa,filters:Ze.filters,visible:Kn,close:()=>{Mn(!1)}});else if(Ze.filterDropdown)ua=Ze.filterDropdown;else{const Yn=Fn()||[],Pa=()=>(Ze.filters||[]).length===0?re.createElement(fi.Z,{image:fi.Z.PRESENTED_IMAGE_SIMPLE,description:Vt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):At==="tree"?re.createElement(re.Fragment,null,re.createElement(ei,{filterSearch:gt,value:Za,onChange:Ja,tablePrefixCls:Ae,locale:Vt}),re.createElement("div",{className:`${Ae}-filter-dropdown-tree`},dt?re.createElement(Qa.default,{checked:Yn.length===ti(Ze.filters).length,indeterminate:Yn.length>0&&Yn.length<ti(Ze.filters).length,className:`${Ae}-filter-dropdown-checkall`,onChange:Po},Vt.filterCheckall):null,re.createElement(qr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:dt,checkStrictly:!dt,className:`${lt}-menu`,onCheck:Oa,checkedKeys:Yn,selectedKeys:Yn,showIcon:!1,treeData:cr({filters:Ze.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Za.trim()?Ha=>typeof gt=="function"?gt(Za,ga(Ha)):Ri(Za,Ha.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(ei,{filterSearch:gt,value:Za,onChange:Ja,tablePrefixCls:Ae,locale:Vt}),re.createElement(bi.default,{selectable:!0,multiple:dt,prefixCls:`${lt}-menu`,className:bo,onSelect:fa,onDeselect:fa,selectedKeys:Yn,getPopupContainer:En,openKeys:Ca,onOpenChange:Ta,items:xi({filters:Ze.filters||[],filterSearch:gt,prefixCls:Ge,filteredKeys:Fn(),filterMultiple:dt,searchValue:Za})})),Va=()=>mn?(0,xe.Z)((Dn||[]).map(Ha=>String(Ha)),Yn,!0):Yn.length===0;ua=re.createElement(re.Fragment,null,Pa(),re.createElement("div",{className:`${Ge}-dropdown-btns`},re.createElement(Dr.ZP,{type:"link",size:"small",disabled:Va(),onClick:()=>wa()},Vt.filterReset),re.createElement(Dr.ZP,{type:"primary",size:"small",onClick:Io},Vt.filterConfirm)))}Ze.filterDropdown&&(ua=re.createElement(Kr.J,{selectable:void 0},ua));const sa=()=>re.createElement(Xi,{className:`${Ge}-dropdown`},ua);let Xn;typeof Ze.filterIcon=="function"?Xn=Ze.filterIcon(Fa):Ze.filterIcon?Xn=Ze.filterIcon:Xn=re.createElement(Tr,null);const{direction:$a}=re.useContext(Jr.E_);return re.createElement("div",{className:`${Ge}-column`},re.createElement("span",{className:`${Ae}-column-title`},en),re.createElement(ko.Z,{dropdownRender:sa,trigger:["click"],open:Kn,onOpenChange:Ya,getPopupContainer:En,placement:$a==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Ie()(`${Ge}-trigger`,{active:Fa}),onClick:Yn=>{Yn.stopPropagation()}},Xn)))}var Or=$i;function Nr(ue,le,ye){let Ae=[];return(ue||[]).forEach((Ge,Ze)=>{var lt;const ot=Ga(Ze,ye);if(Ge.filters||"filterDropdown"in Ge||"onFilter"in Ge)if("filteredValue"in Ge){let dt=Ge.filteredValue;"filterDropdown"in Ge||(dt=(lt=dt==null?void 0:dt.map(String))!==null&&lt!==void 0?lt:dt),Ae.push({column:Ge,key:ba(Ge,ot),filteredKeys:dt,forceFiltered:Ge.filtered})}else Ae.push({column:Ge,key:ba(Ge,ot),filteredKeys:le&&Ge.defaultFilteredValue?Ge.defaultFilteredValue:void 0,forceFiltered:Ge.filtered});"children"in Ge&&(Ae=[].concat((0,nn.Z)(Ae),(0,nn.Z)(Nr(Ge.children,le,ot))))}),Ae}function Ti(ue,le,ye,Ae,Ge,Ze,lt,ot){return ye.map((dt,At)=>{const gt=Ga(At,ot),{filterMultiple:wt=!0,filterMode:qt,filterSearch:Vt}=dt;let en=dt;if(en.filters||en.filterDropdown){const En=ba(en,gt),gn=Ae.find(vn=>{let{key:mn}=vn;return En===mn});en=Object.assign(Object.assign({},en),{title:vn=>re.createElement(Or,{tablePrefixCls:ue,prefixCls:`${ue}-filter`,dropdownPrefixCls:le,column:en,columnKey:En,filterState:gn,filterMultiple:wt,filterMode:qt,filterSearch:Vt,triggerFilter:Ze,locale:Ge,getPopupContainer:lt},so(dt.title,vn))})}return"children"in en&&(en=Object.assign(Object.assign({},en),{children:Ti(ue,le,en.children,Ae,Ge,Ze,lt,gt)})),en})}function ki(ue){const le={};return ue.forEach(ye=>{let{key:Ae,filteredKeys:Ge,column:Ze}=ye;const{filters:lt,filterDropdown:ot}=Ze;if(ot)le[Ae]=Ge||null;else if(Array.isArray(Ge)){const dt=ti(lt);le[Ae]=dt.filter(At=>Ge.includes(String(At)))}else le[Ae]=null}),le}function Zi(ue,le){return le.reduce((ye,Ae)=>{const{column:{onFilter:Ge,filters:Ze},filteredKeys:lt}=Ae;return Ge&&lt&&lt.length?ye.filter(ot=>lt.some(dt=>{const At=ti(Ze),gt=At.findIndex(qt=>String(qt)===String(dt)),wt=gt!==-1?At[gt]:dt;return Ge(wt,ot)})):ye},ue)}const zi=ue=>ue.flatMap(le=>"children"in le?[le].concat((0,nn.Z)(zi(le.children||[]))):[le]);function qi(ue){let{prefixCls:le,dropdownPrefixCls:ye,mergedColumns:Ae,onFilterChange:Ge,getPopupContainer:Ze,locale:lt}=ue;const ot=re.useMemo(()=>zi(Ae||[]),[Ae]),[dt,At]=re.useState(()=>Nr(ot,!0)),gt=re.useMemo(()=>{const en=Nr(ot,!1);if(en.length===0)return en;let En=!0,gn=!0;if(en.forEach(vn=>{let{filteredKeys:mn}=vn;mn!==void 0?En=!1:gn=!1}),En){const vn=(ot||[]).map((mn,Dn)=>ba(mn,Ga(Dn)));return dt.filter(mn=>{let{key:Dn}=mn;return vn.includes(Dn)}).map(mn=>{const Dn=ot[vn.findIndex(qn=>qn===mn.key)];return Object.assign(Object.assign({},mn),{column:Object.assign(Object.assign({},mn.column),Dn),forceFiltered:Dn.filtered})})}return en},[ot,dt]),wt=re.useMemo(()=>ki(gt),[gt]),qt=en=>{const En=gt.filter(gn=>{let{key:vn}=gn;return vn!==en.key});En.push(en),At(En),Ge(ki(En),En)};return[en=>Ti(le,ye,en,gt,lt,qt,Ze),gt,wt]}var El=qi;function el(ue,le,ye){const Ae=re.useRef({});function Ge(Ze){if(!Ae.current||Ae.current.data!==ue||Ae.current.childrenColumnName!==le||Ae.current.getRowKey!==ye){let ot=function(dt){dt.forEach((At,gt)=>{const wt=ye(At,gt);lt.set(wt,At),At&&typeof At=="object"&&le in At&&ot(At[le]||[])})};const lt=new Map;ot(ue),Ae.current={data:ue,childrenColumnName:le,kvMap:lt,getRowKey:ye}}return Ae.current.kvMap.get(Ze)}return[Ge]}var tl=ne(50371),nl=function(ue,le){var ye={};for(var Ae in ue)Object.prototype.hasOwnProperty.call(ue,Ae)&&le.indexOf(Ae)<0&&(ye[Ae]=ue[Ae]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ae=Object.getOwnPropertySymbols(ue);Ge<Ae.length;Ge++)le.indexOf(Ae[Ge])<0&&Object.prototype.propertyIsEnumerable.call(ue,Ae[Ge])&&(ye[Ae[Ge]]=ue[Ae[Ge]]);return ye};const pi=10;function yl(ue,le){const ye={current:ue.current,pageSize:ue.pageSize};return Object.keys(le&&typeof le=="object"?le:{}).forEach(Ge=>{const Ze=ue[Ge];typeof Ze!="function"&&(ye[Ge]=Ze)}),ye}function al(ue,le,ye){const Ae=ye&&typeof ye=="object"?ye:{},{total:Ge=0}=Ae,Ze=nl(Ae,["total"]),[lt,ot]=(0,re.useState)(()=>({current:"defaultCurrent"in Ze?Ze.defaultCurrent:1,pageSize:"defaultPageSize"in Ze?Ze.defaultPageSize:pi})),dt=(0,tl.Z)(lt,Ze,{total:Ge>0?Ge:ue}),At=Math.ceil((Ge||ue)/dt.pageSize);dt.current>At&&(dt.current=At||1);const gt=(qt,Vt)=>{ot({current:qt!=null?qt:1,pageSize:Vt||dt.pageSize})},wt=(qt,Vt)=>{var en;ye&&((en=ye.onChange)===null||en===void 0||en.call(ye,qt,Vt)),gt(qt,Vt),le(qt,Vt||(dt==null?void 0:dt.pageSize))};return ye===!1?[{},()=>{}]:[Object.assign(Object.assign({},dt),{onChange:wt}),gt]}var ol=al,Bi=ne(84105),Fi=ne(35654),wi=ne(90782),ni=ne(71430),rl=ne(18929);const Zr={},Ai="SELECT_ALL",vi="SELECT_INVERT",Li="SELECT_NONE",ji=[],Di=(ue,le)=>{let ye=[];return(le||[]).forEach(Ae=>{ye.push(Ae),Ae&&typeof Ae=="object"&&ue in Ae&&(ye=[].concat((0,nn.Z)(ye),(0,nn.Z)(Di(ue,Ae[ue]))))}),ye};var Vr=(ue,le)=>{const{preserveSelectedRowKeys:ye,selectedRowKeys:Ae,defaultSelectedRowKeys:Ge,getCheckboxProps:Ze,onChange:lt,onSelect:ot,onSelectAll:dt,onSelectInvert:At,onSelectNone:gt,onSelectMultiple:wt,columnWidth:qt,type:Vt,selections:en,fixed:En,renderCell:gn,hideSelectAll:vn,checkStrictly:mn=!0}=le||{},{prefixCls:Dn,data:qn,pageData:ea,getRecordByKey:Gn,getRowKey:ha,expandType:Fa,childrenColumnName:Mn,locale:Kn,getPopupContainer:Rn}=ue,[Fn,Zn]=(0,rl.Z)(Ae||Ge||ji,{value:Ae}),fa=re.useRef(new Map),Oa=(0,re.useCallback)(ga=>{if(ye){const ua=new Map;ga.forEach(sa=>{let Xn=Gn(sa);!Xn&&fa.current.has(sa)&&(Xn=fa.current.get(sa)),ua.set(sa,Xn)}),fa.current=ua}},[Gn,ye]);re.useEffect(()=>{Oa(Fn)},[Fn]);const{keyEntities:Ca}=(0,re.useMemo)(()=>{if(mn)return{keyEntities:null};let ga=qn;if(ye){const ua=new Set(qn.map((Xn,$a)=>ha(Xn,$a))),sa=Array.from(fa.current).reduce((Xn,$a)=>{let[Yn,Pa]=$a;return ua.has(Yn)?Xn:Xn.concat(Pa)},[]);ga=[].concat((0,nn.Z)(ga),(0,nn.Z)(sa))}return(0,ni.I8)(ga,{externalGetKey:ha,childrenPropName:Mn})},[qn,ha,mn,Mn,ye]),la=(0,re.useMemo)(()=>Di(Mn,ea),[Mn,ea]),Ta=(0,re.useMemo)(()=>{const ga=new Map;return la.forEach((ua,sa)=>{const Xn=ha(ua,sa),$a=(Ze?Ze(ua):null)||{};ga.set(Xn,$a)}),ga},[la,ha,Ze]),Za=(0,re.useCallback)(ga=>{var ua;return!!(!((ua=Ta.get(ha(ga)))===null||ua===void 0)&&ua.disabled)},[Ta,ha]),[mo,Ja]=(0,re.useMemo)(()=>{if(mn)return[Fn||[],[]];const{checkedKeys:ga,halfCheckedKeys:ua}=(0,wi.S)(Fn,!0,Ca,Za);return[ga||[],ua]},[Fn,mn,Ca,Za]),No=(0,re.useMemo)(()=>{const ga=Vt==="radio"?mo.slice(0,1):mo;return new Set(ga)},[mo,Vt]),Io=(0,re.useMemo)(()=>Vt==="radio"?new Set:new Set(Ja),[Ja,Vt]),[wa,Zo]=(0,re.useState)(null);re.useEffect(()=>{le||Zn(ji)},[!!le]);const Ya=(0,re.useCallback)((ga,ua)=>{let sa,Xn;Oa(ga),ye?(sa=ga,Xn=ga.map($a=>fa.current.get($a))):(sa=[],Xn=[],ga.forEach($a=>{const Yn=Gn($a);Yn!==void 0&&(sa.push($a),Xn.push(Yn))})),Zn(sa),lt==null||lt(sa,Xn,{type:ua})},[Zn,Gn,lt,ye]),bo=(0,re.useCallback)((ga,ua,sa,Xn)=>{if(ot){const $a=sa.map(Yn=>Gn(Yn));ot(Gn(ga),ua,$a,Xn)}Ya(sa,"single")},[ot,Gn,Ya]),Po=(0,re.useMemo)(()=>!en||vn?null:(en===!0?[Ai,vi,Li]:en).map(ua=>ua===Ai?{key:"all",text:Kn.selectionAll,onSelect(){Ya(qn.map((sa,Xn)=>ha(sa,Xn)).filter(sa=>{const Xn=Ta.get(sa);return!(Xn!=null&&Xn.disabled)||No.has(sa)}),"all")}}:ua===vi?{key:"invert",text:Kn.selectInvert,onSelect(){const sa=new Set(No);ea.forEach(($a,Yn)=>{const Pa=ha($a,Yn),Va=Ta.get(Pa);Va!=null&&Va.disabled||(sa.has(Pa)?sa.delete(Pa):sa.add(Pa))});const Xn=Array.from(sa);At&&At(Xn),Ya(Xn,"invert")}}:ua===Li?{key:"none",text:Kn.selectNone,onSelect(){gt==null||gt(),Ya(Array.from(No).filter(sa=>{const Xn=Ta.get(sa);return Xn==null?void 0:Xn.disabled}),"none")}}:ua).map(ua=>Object.assign(Object.assign({},ua),{onSelect:function(){for(var sa,Xn,$a=arguments.length,Yn=new Array($a),Pa=0;Pa<$a;Pa++)Yn[Pa]=arguments[Pa];(Xn=ua.onSelect)===null||Xn===void 0||(sa=Xn).call.apply(sa,[ua].concat(Yn)),Zo(null)}})),[en,No,ea,ha,At,Ya]);return[(0,re.useCallback)(ga=>{var ua;if(!le)return ga.filter(eo=>eo!==Zr);let sa=(0,nn.Z)(ga);const Xn=new Set(No),$a=la.map(ha).filter(eo=>!Ta.get(eo).disabled),Yn=$a.every(eo=>Xn.has(eo)),Pa=$a.some(eo=>Xn.has(eo)),Va=()=>{const eo=[];Yn?$a.forEach(Ao=>{Xn.delete(Ao),eo.push(Ao)}):$a.forEach(Ao=>{Xn.has(Ao)||(Xn.add(Ao),eo.push(Ao))});const to=Array.from(Xn);dt==null||dt(!Yn,to.map(Ao=>Gn(Ao)),eo.map(Ao=>Gn(Ao))),Ya(to,"all"),Zo(null)};let Ha;if(Vt!=="radio"){let eo;if(Po){const za={getPopupContainer:Rn,items:Po.map((sr,rr)=>{const{key:Sr,text:zr,onSelect:Mr}=sr;return{key:Sr!=null?Sr:rr,onClick:()=>{Mr==null||Mr($a)},label:zr}})};eo=re.createElement("div",{className:`${Dn}-selection-extra`},re.createElement(ko.Z,{menu:za,getPopupContainer:Rn},re.createElement("span",null,re.createElement(Bi.Z,null))))}const to=la.map((za,sr)=>{const rr=ha(za,sr),Sr=Ta.get(rr)||{};return Object.assign({checked:Xn.has(rr)},Sr)}).filter(za=>{let{disabled:sr}=za;return sr}),Ao=!!to.length&&to.length===la.length,Ko=Ao&&to.every(za=>{let{checked:sr}=za;return sr}),Wo=Ao&&to.some(za=>{let{checked:sr}=za;return sr});Ha=!vn&&re.createElement("div",{className:`${Dn}-selection`},re.createElement(Qa.default,{checked:Ao?Ko:!!la.length&&Yn,indeterminate:Ao?!Ko&&Wo:!Yn&&Pa,onChange:Va,disabled:la.length===0||Ao,"aria-label":eo?"Custom selection":"Select all",skipGroup:!0}),eo)}let or;Vt==="radio"?or=(eo,to,Ao)=>{const Ko=ha(to,Ao),Wo=Xn.has(Ko);return{node:re.createElement(di.ZP,Object.assign({},Ta.get(Ko),{checked:Wo,onClick:za=>za.stopPropagation(),onChange:za=>{Xn.has(Ko)||bo(Ko,!0,[Ko],za.nativeEvent)}})),checked:Wo}}:or=(eo,to,Ao)=>{var Ko;const Wo=ha(to,Ao),za=Xn.has(Wo),sr=Io.has(Wo),rr=Ta.get(Wo);let Sr;return Fa==="nest"?Sr=sr:Sr=(Ko=rr==null?void 0:rr.indeterminate)!==null&&Ko!==void 0?Ko:sr,{node:re.createElement(Qa.default,Object.assign({},rr,{indeterminate:Sr,checked:za,skipGroup:!0,onClick:zr=>zr.stopPropagation(),onChange:zr=>{let{nativeEvent:Mr}=zr;const{shiftKey:Ii}=Mr;let Ur=-1,br=-1;if(Ii&&mn){const mr=new Set([wa,Wo]);$a.some((ur,Vo)=>{if(mr.has(ur))if(Ur===-1)Ur=Vo;else return br=Vo,!0;return!1})}if(br!==-1&&Ur!==br&&mn){const mr=$a.slice(Ur,br+1),ur=[];za?mr.forEach(Lo=>{Xn.has(Lo)&&(ur.push(Lo),Xn.delete(Lo))}):mr.forEach(Lo=>{Xn.has(Lo)||(ur.push(Lo),Xn.add(Lo))});const Vo=Array.from(Xn);wt==null||wt(!za,Vo.map(Lo=>Gn(Lo)),ur.map(Lo=>Gn(Lo))),Ya(Vo,"multiple")}else{const mr=mo;if(mn){const ur=za?(0,Fi._5)(mr,Wo):(0,Fi.L0)(mr,Wo);bo(Wo,!za,ur,Mr)}else{const ur=(0,wi.S)([].concat((0,nn.Z)(mr),[Wo]),!0,Ca,Za),{checkedKeys:Vo,halfCheckedKeys:Lo}=ur;let jr=Vo;if(za){const mi=new Set(Vo);mi.delete(Wo),jr=(0,wi.S)(Array.from(mi),{checked:!1,halfCheckedKeys:Lo},Ca,Za).checkedKeys}bo(Wo,!za,jr,Mr)}}Zo(za?null:Wo)}})),checked:za}};const Yo=(eo,to,Ao)=>{const{node:Ko,checked:Wo}=or(eo,to,Ao);return gn?gn(Wo,to,Ao,Ko):Ko};if(!sa.includes(Zr))if(sa.findIndex(eo=>{var to;return((to=eo[On])===null||to===void 0?void 0:to.columnType)==="EXPAND_COLUMN"})===0){const[eo,...to]=sa;sa=[eo,Zr].concat((0,nn.Z)(to))}else sa=[Zr].concat((0,nn.Z)(sa));const Ir=sa.indexOf(Zr);sa=sa.filter((eo,to)=>eo!==Zr||to===Ir);const zo=sa[Ir-1],Cr=sa[Ir+1];let jo=En;jo===void 0&&((Cr==null?void 0:Cr.fixed)!==void 0?jo=Cr.fixed:(zo==null?void 0:zo.fixed)!==void 0&&(jo=zo.fixed)),jo&&zo&&((ua=zo[On])===null||ua===void 0?void 0:ua.columnType)==="EXPAND_COLUMN"&&zo.fixed===void 0&&(zo.fixed=jo);const gr=Ie()(`${Dn}-selection-col`,{[`${Dn}-selection-col-with-dropdown`]:en&&Vt==="checkbox"}),gi={fixed:jo,width:qt,className:`${Dn}-selection-column`,title:le.columnTitle||Ha,render:Yo,onCell:le.onCell,[On]:{className:gr}};return sa.map(eo=>eo===Zr?gi:eo)},[ha,la,le,mo,No,Io,qt,Po,Fa,wa,Ta,wt,bo,Za]),No]},yr=ne(89489),Cl=ne(59477),il=ne(6848);const Le="ascend",Ue="descend";function et(ue){return typeof ue.sorter=="object"&&typeof ue.sorter.multiple=="number"?ue.sorter.multiple:!1}function bt(ue){return typeof ue=="function"?ue:ue&&typeof ue=="object"&&ue.compare?ue.compare:!1}function ta(ue,le){return le?ue[ue.indexOf(le)+1]:ue[0]}function In(ue,le,ye){let Ae=[];function Ge(Ze,lt){Ae.push({column:Ze,key:ba(Ze,lt),multiplePriority:et(Ze),sortOrder:Ze.sortOrder})}return(ue||[]).forEach((Ze,lt)=>{const ot=Ga(lt,ye);Ze.children?("sortOrder"in Ze&&Ge(Ze,ot),Ae=[].concat((0,nn.Z)(Ae),(0,nn.Z)(In(Ze.children,le,ot)))):Ze.sorter&&("sortOrder"in Ze?Ge(Ze,ot):le&&Ze.defaultSortOrder&&Ae.push({column:Ze,key:ba(Ze,ot),multiplePriority:et(Ze),sortOrder:Ze.defaultSortOrder}))}),Ae}function ma(ue,le,ye,Ae,Ge,Ze,lt,ot){return(le||[]).map((dt,At)=>{const gt=Ga(At,ot);let wt=dt;if(wt.sorter){const qt=wt.sortDirections||Ge,Vt=wt.showSorterTooltip===void 0?lt:wt.showSorterTooltip,en=ba(wt,gt),En=ye.find(Fa=>{let{key:Mn}=Fa;return Mn===en}),gn=En?En.sortOrder:null,vn=ta(qt,gn);let mn;if(dt.sortIcon)mn=dt.sortIcon({sortOrder:gn});else{const Fa=qt.includes(Le)&&re.createElement(Cl.Z,{className:Ie()(`${ue}-column-sorter-up`,{active:gn===Le})}),Mn=qt.includes(Ue)&&re.createElement(yr.Z,{className:Ie()(`${ue}-column-sorter-down`,{active:gn===Ue})});mn=re.createElement("span",{className:Ie()(`${ue}-column-sorter`,{[`${ue}-column-sorter-full`]:!!(Fa&&Mn)})},re.createElement("span",{className:`${ue}-column-sorter-inner`,"aria-hidden":"true"},Fa,Mn))}const{cancelSort:Dn,triggerAsc:qn,triggerDesc:ea}=Ze||{};let Gn=Dn;vn===Ue?Gn=ea:vn===Le&&(Gn=qn);const ha=typeof Vt=="object"?Vt:{title:Gn};wt=Object.assign(Object.assign({},wt),{className:Ie()(wt.className,{[`${ue}-column-sort`]:gn}),title:Fa=>{const Mn=re.createElement("div",{className:`${ue}-column-sorters`},re.createElement("span",{className:`${ue}-column-title`},so(dt.title,Fa)),mn);return Vt?re.createElement(il.Z,Object.assign({},ha),Mn):Mn},onHeaderCell:Fa=>{const Mn=dt.onHeaderCell&&dt.onHeaderCell(Fa)||{},Kn=Mn.onClick,Rn=Mn.onKeyDown;Mn.onClick=fa=>{Ae({column:dt,key:en,sortOrder:vn,multiplePriority:et(dt)}),Kn==null||Kn(fa)},Mn.onKeyDown=fa=>{fa.keyCode===Mi.Z.ENTER&&(Ae({column:dt,key:en,sortOrder:vn,multiplePriority:et(dt)}),Rn==null||Rn(fa))};const Fn=uo(dt.title,{}),Zn=Fn==null?void 0:Fn.toString();return gn?Mn["aria-sort"]=gn==="ascend"?"ascending":"descending":Mn["aria-label"]=Zn||"",Mn.className=Ie()(Mn.className,`${ue}-column-has-sorters`),Mn.tabIndex=0,dt.ellipsis&&(Mn.title=(Fn!=null?Fn:"").toString()),Mn}})}return"children"in wt&&(wt=Object.assign(Object.assign({},wt),{children:ma(ue,wt.children,ye,Ae,Ge,Ze,lt,gt)})),wt})}function zn(ue){const{column:le,sortOrder:ye}=ue;return{column:le,order:ye,field:le.dataIndex,columnKey:le.key}}function Hn(ue){const le=ue.filter(ye=>{let{sortOrder:Ae}=ye;return Ae}).map(zn);return le.length===0&&ue.length?Object.assign(Object.assign({},zn(ue[ue.length-1])),{column:void 0}):le.length<=1?le[0]||{}:le}function xa(ue,le,ye){const Ae=le.slice().sort((lt,ot)=>ot.multiplePriority-lt.multiplePriority),Ge=ue.slice(),Ze=Ae.filter(lt=>{let{column:{sorter:ot},sortOrder:dt}=lt;return bt(ot)&&dt});return Ze.length?Ge.sort((lt,ot)=>{for(let dt=0;dt<Ze.length;dt+=1){const At=Ze[dt],{column:{sorter:gt},sortOrder:wt}=At,qt=bt(gt);if(qt&&wt){const Vt=qt(lt,ot,wt);if(Vt!==0)return wt===Le?Vt:-Vt}}return 0}).map(lt=>{const ot=lt[ye];return ot?Object.assign(Object.assign({},lt),{[ye]:xa(ot,le,ye)}):lt}):Ge}function ra(ue){let{prefixCls:le,mergedColumns:ye,onSorterChange:Ae,sortDirections:Ge,tableLocale:Ze,showSorterTooltip:lt}=ue;const[ot,dt]=re.useState(In(ye,!0)),At=re.useMemo(()=>{let en=!0;const En=In(ye,!1);if(!En.length)return ot;const gn=[];function vn(Dn){en?gn.push(Dn):gn.push(Object.assign(Object.assign({},Dn),{sortOrder:null}))}let mn=null;return En.forEach(Dn=>{mn===null?(vn(Dn),Dn.sortOrder&&(Dn.multiplePriority===!1?en=!1:mn=!0)):(mn&&Dn.multiplePriority!==!1||(en=!1),vn(Dn))}),gn},[ye,ot]),gt=re.useMemo(()=>{const en=At.map(En=>{let{column:gn,sortOrder:vn}=En;return{column:gn,order:vn}});return{sortColumns:en,sortColumn:en[0]&&en[0].column,sortOrder:en[0]&&en[0].order}},[At]);function wt(en){let En;en.multiplePriority===!1||!At.length||At[0].multiplePriority===!1?En=[en]:En=[].concat((0,nn.Z)(At.filter(gn=>{let{key:vn}=gn;return vn!==en.key})),[en]),dt(En),Ae(Hn(En),En)}return[en=>ma(le,en,At,wt,Ge,Ze,lt),At,gt,()=>Hn(At)]}function Ba(ue,le){return ue.map(ye=>{const Ae=Object.assign({},ye);return Ae.title=so(ye.title,le),"children"in Ae&&(Ae.children=Ba(Ae.children,le)),Ae})}function Ka(ue){return[re.useCallback(ye=>Ba(ye,ue),[ue])]}var Aa=Ea((ue,le)=>{const{_renderTimes:ye}=ue,{_renderTimes:Ae}=le;return ye!==Ae}),yn=lr((ue,le)=>{const{_renderTimes:ye}=ue,{_renderTimes:Ae}=le;return ye!==Ae}),Vn=ne(64993),pa=ne(17313),Sa=ne(83116),Jn=ne(37613),ya=ue=>{const{componentCls:le}=ue,ye=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,Ae=(Ge,Ze,lt)=>({[`&${le}-${Ge}`]:{[`> ${le}-container`]:{[`> ${le}-content, > ${le}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${le}-expanded-row-fixed`]:{margin:`-${Ze}px -${lt+ue.lineWidth}px`}}}}}});return{[`${le}-wrapper`]:{[`${le}${le}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${le}-title`]:{border:ye,borderBottom:0},[`> ${le}-container`]:{borderInlineStart:ye,borderTop:ye,[`
> ${le}-content,
> ${le}-header,
> ${le}-body,
> ${le}-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:ye},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ye},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${le}-cell-fix-right-first::after`]:{borderInlineEnd:ye}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${le}-expanded-row-fixed`]:{margin:`-${ue.tablePaddingVertical}px -${ue.tablePaddingHorizontal+ue.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ue.lineWidth,bottom:0,borderInlineEnd:ye,content:'""'}}}}}},[`&${le}-scroll-horizontal`]:{[`> ${le}-container > ${le}-body`]:{"> table > tbody":{[`
> tr${le}-expanded-row,
> tr${le}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ae("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle)),Ae("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall)),{[`> ${le}-footer`]:{border:ye,borderTop:0}}),[`${le}-cell`]:{[`${le}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ue.lineWidth}px 0 ${ue.lineWidth}px ${ue.tableHeaderBg}`}},[`${le}-bordered ${le}-cell-scrollbar`]:{borderInlineEnd:ye}}}},Tn=ue=>{const{componentCls:le}=ue;return{[`${le}-wrapper`]:{[`${le}-cell-ellipsis`]:Object.assign(Object.assign({},pa.vS),{wordBreak:"keep-all",[`
&${le}-cell-fix-left-last,
&${le}-cell-fix-right-first
`]:{overflow:"visible",[`${le}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${le}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},An=ue=>{const{componentCls:le}=ue;return{[`${le}-wrapper`]:{[`${le}-tbody > tr${le}-placeholder`]:{textAlign:"center",color:ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ue.colorBgContainer}}}}},ja=ne(15969),wo=ue=>{const{componentCls:le,antCls:ye,controlInteractiveSize:Ae,motionDurationSlow:Ge,lineWidth:Ze,paddingXS:lt,lineType:ot,tableBorderColor:dt,tableExpandIconBg:At,tableExpandColumnWidth:gt,borderRadius:wt,fontSize:qt,fontSizeSM:Vt,lineHeight:en,tablePaddingVertical:En,tablePaddingHorizontal:gn,tableExpandedRowBg:vn,paddingXXS:mn}=ue,Dn=Ae/2-Ze,qn=Dn*2+Ze*3,ea=`${Ze}px ${ot} ${dt}`,Gn=mn-Ze;return{[`${le}-wrapper`]:{[`${le}-expand-icon-col`]:{width:gt},[`${le}-row-expand-icon-cell`]:{textAlign:"center",[`${le}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${le}-row-indent`]:{height:1,float:"left"},[`${le}-row-expand-icon`]:Object.assign(Object.assign({},(0,ja.N)(ue)),{position:"relative",float:"left",boxSizing:"border-box",width:qn,height:qn,padding:0,color:"inherit",lineHeight:`${qn}px`,background:At,border:ea,borderRadius:wt,transform:`scale(${Ae/qn})`,transition:`all ${Ge}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ge} ease-out`,content:'""'},"&::before":{top:Dn,insetInlineEnd:Gn,insetInlineStart:Gn,height:Ze},"&::after":{top:Gn,bottom:Gn,insetInlineStart:Dn,width:Ze,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"}}),[`${le}-row-indent + ${le}-row-expand-icon`]:{marginTop:(qt*en-Ze*3)/2-Math.ceil((Vt*1.4-Ze*3)/2),marginInlineEnd:lt},[`tr${le}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:vn}},[`${ye}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${le}-expanded-row-fixed`]:{position:"relative",margin:`-${En}px -${gn}px`,padding:`${En}px ${gn}px`}}}},ia=ue=>{const{componentCls:le,antCls:ye,iconCls:Ae,tableFilterDropdownWidth:Ge,tableFilterDropdownSearchWidth:Ze,paddingXXS:lt,paddingXS:ot,colorText:dt,lineWidth:At,lineType:gt,tableBorderColor:wt,tableHeaderIconColor:qt,fontSizeSM:Vt,tablePaddingHorizontal:en,borderRadius:En,motionDurationSlow:gn,colorTextDescription:vn,colorPrimary:mn,tableHeaderFilterActiveBg:Dn,colorTextDisabled:qn,tableFilterDropdownBg:ea,tableFilterDropdownHeight:Gn,controlItemBgHover:ha,controlItemBgActive:Fa,boxShadowSecondary:Mn,filterDropdownMenuBg:Kn}=ue,Rn=`${ye}-dropdown`,Fn=`${le}-filter-dropdown`,Zn=`${ye}-tree`,fa=`${At}px ${gt} ${wt}`;return[{[`${le}-wrapper`]:{[`${le}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${le}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-lt,marginInline:`${lt}px ${-en/2}px`,padding:`0 ${lt}px`,color:qt,fontSize:Vt,borderRadius:En,cursor:"pointer",transition:`all ${gn}`,"&:hover":{color:vn,background:Dn},"&.active":{color:mn}}}},{[`${ye}-dropdown`]:{[Fn]:Object.assign(Object.assign({},(0,pa.Wf)(ue)),{minWidth:Ge,backgroundColor:ea,borderRadius:En,boxShadow:Mn,overflow:"hidden",[`${Rn}-menu`]:{maxHeight:Gn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Kn,"&:empty::after":{display:"block",padding:`${ot}px 0`,color:qn,fontSize:Vt,textAlign:"center",content:'"Not Found"'}},[`${Fn}-tree`]:{paddingBlock:`${ot}px 0`,paddingInline:ot,[Zn]:{padding:0},[`${Zn}-treenode ${Zn}-node-content-wrapper:hover`]:{backgroundColor:ha},[`${Zn}-treenode-checkbox-checked ${Zn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Fa}}},[`${Fn}-search`]:{padding:ot,borderBottom:fa,"&-input":{input:{minWidth:Ze},[Ae]:{color:qn}}},[`${Fn}-checkall`]:{width:"100%",marginBottom:lt,marginInlineStart:lt},[`${Fn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${ot-At}px ${ot}px`,overflow:"hidden",borderTop:fa}})}},{[`${ye}-dropdown ${Fn}, ${Fn}-submenu`]:{[`${ye}-checkbox-wrapper + span`]:{paddingInlineStart:ot,color:dt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},tr=ue=>{const{componentCls:le,lineWidth:ye,colorSplit:Ae,motionDurationSlow:Ge,zIndexTableFixed:Ze,tableBg:lt,zIndexTableSticky:ot}=ue,dt=Ae;return{[`${le}-wrapper`]:{[`
${le}-cell-fix-left,
${le}-cell-fix-right
`]:{position:"sticky !important",zIndex:Ze,background:lt},[`
${le}-cell-fix-left-first::after,
${le}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ye,width:30,transform:"translateX(100%)",transition:`box-shadow ${Ge}`,content:'""',pointerEvents:"none"},[`${le}-cell-fix-left-all::after`]:{display:"none"},[`
${le}-cell-fix-right-first::after,
${le}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-ye,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ge}`,content:'""',pointerEvents:"none"},[`${le}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:ot+1,width:30,transition:`box-shadow ${Ge}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${le}-ping-left`]:{[`&:not(${le}-has-fix-left) ${le}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${dt}`}},[`
${le}-cell-fix-left-first::after,
${le}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${dt}`},[`${le}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${le}-ping-right`]:{[`&:not(${le}-has-fix-right) ${le}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${dt}`}},[`
${le}-cell-fix-right-first::after,
${le}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${dt}`}}}}},ao=ue=>{const{componentCls:le,antCls:ye}=ue;return{[`${le}-wrapper`]:{[`${le}-pagination${ye}-pagination`]:{margin:`${ue.margin}px 0`},[`${le}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ue.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},co=ue=>{const{componentCls:le,tableRadius:ye}=ue;return{[`${le}-wrapper`]:{[le]:{[`${le}-title, ${le}-header`]:{borderRadius:`${ye}px ${ye}px 0 0`},[`${le}-title + ${le}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${le}-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:ye,borderStartEndRadius:ye,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ye},"> *:last-child":{borderStartEndRadius:ye}}},"&-footer":{borderRadius:`0 0 ${ye}px ${ye}px`}}}}},ai=ue=>{const{componentCls:le}=ue;return{[`${le}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${le}-pagination-left`]:{justifyContent:"flex-end"},[`${le}-pagination-right`]:{justifyContent:"flex-start"},[`${le}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${le}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${le}-row-indent`]:{float:"right"}}}}},Si=ue=>{const{componentCls:le,antCls:ye,iconCls:Ae,fontSizeIcon:Ge,padding:Ze,paddingXS:lt,tableHeaderIconColor:ot,tableHeaderIconColorHover:dt,tableSelectionColumnWidth:At}=ue;return{[`${le}-wrapper`]:{[`${le}-selection-col`]:{width:At,[`&${le}-selection-col-with-dropdown`]:{width:At+Ge+Ze/4}},[`${le}-bordered ${le}-selection-col`]:{width:At+lt*2,[`&${le}-selection-col-with-dropdown`]:{width:At+Ge+Ze/4+lt*2}},[`
table tr th${le}-selection-column,
table tr td${le}-selection-column
`]:{paddingInlineEnd:ue.paddingXS,paddingInlineStart:ue.paddingXS,textAlign:"center",[`${ye}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${le}-selection-column${le}-cell-fix-left`]:{zIndex:ue.zIndexTableFixed+1},[`table tr th${le}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${le}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${le}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ue.tablePaddingHorizontal/4}px`,[Ae]:{color:ot,fontSize:Ge,verticalAlign:"baseline","&:hover":{color:dt}}}}}},Ei=ue=>{const{componentCls:le}=ue,ye=(Ae,Ge,Ze,lt)=>({[`${le}${le}-${Ae}`]:{fontSize:lt,[`
${le}-title,
${le}-footer,
${le}-cell,
${le}-thead > tr > th,
${le}-tbody > tr > th,
${le}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Ge}px ${Ze}px`},[`${le}-filter-trigger`]:{marginInlineEnd:`-${Ze/2}px`},[`${le}-expanded-row-fixed`]:{margin:`-${Ge}px -${Ze}px`},[`${le}-tbody`]:{[`${le}-wrapper:only-child ${le}`]:{marginBlock:`-${Ge}px`,marginInline:`${ue.tableExpandColumnWidth-Ze}px -${Ze}px`}},[`${le}-selection-column`]:{paddingInlineStart:`${Ze/4}px`}}});return{[`${le}-wrapper`]:Object.assign(Object.assign({},ye("middle",ue.tablePaddingVerticalMiddle,ue.tablePaddingHorizontalMiddle,ue.tableFontSizeMiddle)),ye("small",ue.tablePaddingVerticalSmall,ue.tablePaddingHorizontalSmall,ue.tableFontSizeSmall))}},oi=ue=>{const{componentCls:le,marginXXS:ye,fontSizeIcon:Ae,tableHeaderIconColor:Ge,tableHeaderIconColorHover:Ze}=ue;return{[`${le}-wrapper`]:{[`${le}-thead th${le}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ue.motionDurationSlow}`,"&:hover":{background:ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ue.colorPrimary},[`
&${le}-cell-fix-left:hover,
&${le}-cell-fix-right:hover
`]:{background:ue.tableFixedHeaderSortActiveBg}},[`${le}-thead th${le}-column-sort`]:{background:ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${le}-column-sort`]:{background:ue.tableBodySortBg},[`${le}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${le}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${le}-column-sorter`]:{marginInlineStart:ye,color:Ge,fontSize:0,transition:`color ${ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ae,"&.active":{color:ue.colorPrimary}},[`${le}-column-sorter-up + ${le}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${le}-column-sorters:hover ${le}-column-sorter`]:{color:Ze}}}},ll=ue=>{const{componentCls:le,opacityLoading:ye,tableScrollThumbBg:Ae,tableScrollThumbBgHover:Ge,tableScrollThumbSize:Ze,tableScrollBg:lt,zIndexTableSticky:ot,stickyScrollBarBorderRadius:dt}=ue,At=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`;return{[`${le}-wrapper`]:{[`${le}-sticky`]:{"&-holder":{position:"sticky",zIndex:ot,background:ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ze}px !important`,zIndex:ot,display:"flex",alignItems:"center",background:lt,borderTop:At,opacity:ye,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ze,backgroundColor:Ae,borderRadius:dt,transition:`all ${ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ge}}}}}}},_i=ue=>{const{componentCls:le,lineWidth:ye,tableBorderColor:Ae}=ue,Ge=`${ye}px ${ue.lineType} ${Ae}`;return{[`${le}-wrapper`]:{[`${le}-summary`]:{position:"relative",zIndex:ue.zIndexTableFixed,background:ue.tableBg,"> tr":{"> th, > td":{borderBottom:Ge}}},[`div${le}-summary`]:{boxShadow:`0 -${ye}px 0 ${Ae}`}}}},yi=ue=>{const{componentCls:le}=ue,ye=`${ue.lineWidth}px ${ue.lineType} ${ue.tableBorderColor}`,Ae=`${le}-expanded-row-cell`;return{[`${le}-wrapper`]:{[`${le}-tbody-virtual`]:{[`${le}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${le}-cell`]:{borderBottom:ye},[`${le}-expanded-row`]:{[`${Ae}${Ae}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ue.lineWidth}px)`,borderInlineEnd:"none"}}},[`${le}-bordered`]:{[`${le}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ye,position:"absolute"},[`${le}-cell`]:{borderInlineEnd:ye,[`&${le}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ue.lineWidth,borderInlineStart:ye}}}}}}};const sl=ue=>{const{componentCls:le,fontWeightStrong:ye,tablePaddingVertical:Ae,tablePaddingHorizontal:Ge,lineWidth:Ze,lineType:lt,tableBorderColor:ot,tableFontSize:dt,tableBg:At,tableRadius:gt,tableHeaderTextColor:wt,motionDurationMid:qt,tableHeaderBg:Vt,tableHeaderCellSplitColor:en,tableRowHoverBg:En,tableSelectedRowBg:gn,tableSelectedRowHoverBg:vn,tableFooterTextColor:mn,tableFooterBg:Dn,paddingContentVerticalLG:qn}=ue,ea=`${Ze}px ${lt} ${ot}`;return{[`${le}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,pa.dF)()),{[le]:Object.assign(Object.assign({},(0,pa.Wf)(ue)),{fontSize:dt,background:At,borderRadius:`${gt}px ${gt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${gt}px ${gt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${le}-cell,
${le}-thead > tr > th,
${le}-tbody > tr > th,
${le}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${qn}px ${Ge}px`,overflowWrap:"break-word"},[`${le}-title`]:{padding:`${Ae}px ${Ge}px`},[`${le}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:wt,fontWeight:ye,textAlign:"start",background:Vt,borderBottom:ea,transition:`background ${qt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${le}-selection-column):not(${le}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:en,transform:"translateY(-50%)",transition:`background-color ${qt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${le}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${qt}, border-color ${qt}`,borderBottom:ea,[`
> ${le}-wrapper:only-child,
> ${le}-expanded-row-fixed > ${le}-wrapper:only-child
`]:{[le]:{marginBlock:`-${Ae}px`,marginInline:`${ue.tableExpandColumnWidth-Ge}px -${Ge}px`,[`${le}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:wt,fontWeight:ye,textAlign:"start",background:Vt,borderBottom:ea,transition:`background ${qt} ease`},[`
&${le}-row:hover > th,
&${le}-row:hover > td,
> th${le}-cell-row-hover,
> td${le}-cell-row-hover
`]:{background:En},[`&${le}-row-selected`]:{"> th, > td":{background:gn},"&:hover > th, &:hover > td":{background:vn}}}},[`${le}-footer`]:{padding:`${Ae}px ${Ge}px`,color:mn,background:Dn}})}};var ul=(0,Sa.Z)("Table",ue=>{const{colorTextHeading:le,colorSplit:ye,colorIcon:Ae,colorIconHover:Ge,opacityLoading:Ze,colorBgContainer:lt,controlInteractiveSize:ot,headerBg:dt,headerColor:At,headerSortActiveBg:gt,headerSortHoverBg:wt,bodySortBg:qt,rowHoverBg:Vt,rowSelectedBg:en,rowSelectedHoverBg:En,rowExpandedBg:gn,cellPaddingBlock:vn,cellPaddingInline:mn,cellPaddingBlockMD:Dn,cellPaddingInlineMD:qn,cellPaddingBlockSM:ea,cellPaddingInlineSM:Gn,borderColor:ha,footerBg:Fa,footerColor:Mn,headerBorderRadius:Kn,cellFontSize:Rn,cellFontSizeMD:Fn,cellFontSizeSM:Zn,headerSplitColor:fa,fixedHeaderSortActiveBg:Oa,headerFilterHoverBg:Ca,filterDropdownBg:la,expandIconBg:Ta,selectionColumnWidth:Za,stickyScrollBarBg:mo}=ue,Ja=new Vn.C(Ae),No=new Vn.C(Ge),Io=2,wa=(0,Jn.TS)(ue,{tableFontSize:Rn,tableBg:lt,tableRadius:Kn,tablePaddingVertical:vn,tablePaddingHorizontal:mn,tablePaddingVerticalMiddle:Dn,tablePaddingHorizontalMiddle:qn,tablePaddingVerticalSmall:ea,tablePaddingHorizontalSmall:Gn,tableBorderColor:ha,tableHeaderTextColor:At,tableHeaderBg:dt,tableFooterTextColor:Mn,tableFooterBg:Fa,tableHeaderCellSplitColor:fa,tableHeaderSortBg:gt,tableHeaderSortHoverBg:wt,tableHeaderIconColor:Ja.clone().setAlpha(Ja.getAlpha()*Ze).toRgbString(),tableHeaderIconColorHover:No.clone().setAlpha(No.getAlpha()*Ze).toRgbString(),tableBodySortBg:qt,tableFixedHeaderSortActiveBg:Oa,tableHeaderFilterActiveBg:Ca,tableFilterDropdownBg:la,tableRowHoverBg:Vt,tableSelectedRowBg:en,tableSelectedRowHoverBg:En,zIndexTableFixed:Io,zIndexTableSticky:Io+1,tableFontSizeMiddle:Fn,tableFontSizeSmall:Zn,tableSelectionColumnWidth:Za,tableExpandIconBg:Ta,tableExpandColumnWidth:ot+2*ue.padding,tableExpandedRowBg:gn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:mo,tableScrollThumbBgHover:le,tableScrollBg:ye});return[sl(wa),ao(wa),_i(wa),oi(wa),ia(wa),ya(wa),co(wa),wo(wa),_i(wa),An(wa),Si(wa),tr(wa),ll(wa),Tn(wa),Ei(wa),ai(wa),yi(wa)]},ue=>{const{colorFillAlter:le,colorBgContainer:ye,colorTextHeading:Ae,colorFillSecondary:Ge,colorFillContent:Ze,controlItemBgActive:lt,controlItemBgActiveHover:ot,padding:dt,paddingSM:At,paddingXS:gt,colorBorderSecondary:wt,borderRadiusLG:qt,fontSize:Vt,controlHeight:en,colorTextPlaceholder:En}=ue,gn=new Vn.C(Ge).onBackground(ye).toHexShortString(),vn=new Vn.C(Ze).onBackground(ye).toHexShortString(),mn=new Vn.C(le).onBackground(ye).toHexShortString();return{headerBg:mn,headerColor:Ae,headerSortActiveBg:gn,headerSortHoverBg:vn,bodySortBg:mn,rowHoverBg:mn,rowSelectedBg:lt,rowSelectedHoverBg:ot,rowExpandedBg:le,cellPaddingBlock:dt,cellPaddingInline:dt,cellPaddingBlockMD:At,cellPaddingInlineMD:gt,cellPaddingBlockSM:gt,cellPaddingInlineSM:gt,borderColor:wt,headerBorderRadius:qt,footerBg:mn,footerColor:Ae,cellFontSize:Vt,cellFontSizeMD:Vt,cellFontSizeSM:Vt,headerSplitColor:wt,fixedHeaderSortActiveBg:gn,headerFilterHoverBg:Ze,filterDropdownMenuBg:ye,filterDropdownBg:ye,expandIconBg:ye,selectionColumnWidth:en,stickyScrollBarBg:En,stickyScrollBarBorderRadius:100}});const dl=[],Gi=(ue,le)=>{const{prefixCls:ye,className:Ae,rootClassName:Ge,style:Ze,size:lt,bordered:ot,dropdownPrefixCls:dt,dataSource:At,pagination:gt,rowSelection:wt,rowKey:qt="key",rowClassName:Vt,columns:en,children:En,childrenColumnName:gn,onChange:vn,getPopupContainer:mn,loading:Dn,expandIcon:qn,expandable:ea,expandedRowRender:Gn,expandIconColumnIndex:ha,indentSize:Fa,scroll:Mn,sortDirections:Kn,locale:Rn,showSorterTooltip:Fn=!0,virtual:Zn}=ue,fa=re.useMemo(()=>en||Je(En),[en,En]),Oa=re.useMemo(()=>fa.some(Ua=>Ua.responsive),[fa]),Ca=(0,ui.Z)(Oa),la=re.useMemo(()=>{const Ua=new Set(Object.keys(Ca).filter(po=>Ca[po]));return fa.filter(po=>!po.responsive||po.responsive.some(ar=>Ua.has(ar)))},[fa,Ca]),Ta=(0,Hr.Z)(ue,["className","style","columns"]),{locale:Za=Yr.Z,direction:mo,table:Ja,renderEmpty:No,getPrefixCls:Io,getPopupContainer:wa}=re.useContext(Jr.E_),Zo=(0,si.Z)(lt),Ya=Object.assign(Object.assign({},Za.Table),Rn),bo=At||dl,Po=Io("table",ye),cr=Io("dropdown",dt),ga=Object.assign({childrenColumnName:gn,expandIconColumnIndex:ha},ea),{childrenColumnName:ua="children"}=ga,sa=re.useMemo(()=>bo.some(Ua=>Ua==null?void 0:Ua[ua])?"nest":Gn||ea&&ea.expandedRowRender?"row":null,[bo]),Xn={body:re.useRef()},$a=re.useMemo(()=>typeof qt=="function"?qt:Ua=>Ua==null?void 0:Ua[qt],[qt]),[Yn]=el(bo,ua,$a),Pa={},Va=function(Ua,po){let ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Do,ir,fr;const pr=Object.assign(Object.assign({},Pa),Ua);ar&&((Do=Pa.resetPagination)===null||Do===void 0||Do.call(Pa),!((ir=pr.pagination)===null||ir===void 0)&&ir.current&&(pr.pagination.current=1),gt&&gt.onChange&&gt.onChange(1,(fr=pr.pagination)===null||fr===void 0?void 0:fr.pageSize)),Mn&&Mn.scrollToFirstRowOnChange!==!1&&Xn.body.current&&(0,Rr.Z)(0,{getContainer:()=>Xn.body.current}),vn==null||vn(pr.pagination,pr.filters,pr.sorter,{currentDataSource:Zi(xa(bo,pr.sorterStates,ua),pr.filterStates),action:po})},Ha=(Ua,po)=>{Va({sorter:Ua,sorterStates:po},"sort",!1)},[or,Yo,Ir,zo]=ra({prefixCls:Po,mergedColumns:la,onSorterChange:Ha,sortDirections:Kn||["ascend","descend"],tableLocale:Ya,showSorterTooltip:Fn}),Cr=re.useMemo(()=>xa(bo,Yo,ua),[bo,Yo]);Pa.sorter=zo(),Pa.sorterStates=Yo;const jo=(Ua,po)=>{Va({filters:Ua,filterStates:po},"filter",!0)},[gr,gi,eo]=El({prefixCls:Po,locale:Ya,dropdownPrefixCls:cr,mergedColumns:la,onFilterChange:jo,getPopupContainer:mn||wa}),to=Zi(Cr,gi);Pa.filters=eo,Pa.filterStates=gi;const Ao=re.useMemo(()=>{const Ua={};return Object.keys(eo).forEach(po=>{eo[po]!==null&&(Ua[po]=eo[po])}),Object.assign(Object.assign({},Ir),{filters:Ua})},[Ir,eo]),[Ko]=Ka(Ao),Wo=(Ua,po)=>{Va({pagination:Object.assign(Object.assign({},Pa.pagination),{current:Ua,pageSize:po})},"paginate")},[za,sr]=ol(to.length,Wo,gt);Pa.pagination=gt===!1?{}:yl(za,gt),Pa.resetPagination=sr;const rr=re.useMemo(()=>{if(gt===!1||!za.pageSize)return to;const{current:Ua=1,total:po,pageSize:ar=pi}=za;return to.length<po?to.length>ar?to.slice((Ua-1)*ar,Ua*ar):to:to.slice((Ua-1)*ar,Ua*ar)},[!!gt,to,za&&za.current,za&&za.pageSize,za&&za.total]),[Sr,zr]=Vr({prefixCls:Po,data:to,pageData:rr,getRowKey:$a,getRecordByKey:Yn,expandType:sa,childrenColumnName:ua,locale:Ya,getPopupContainer:mn||wa},wt),Mr=(Ua,po,ar)=>{let Do;return typeof Vt=="function"?Do=Ie()(Vt(Ua,po,ar)):Do=Ie()(Vt),Ie()({[`${Po}-row-selected`]:zr.has($a(Ua,po))},Do)};ga.__PARENT_RENDER_ICON__=ga.expandIcon,ga.expandIcon=ga.expandIcon||qn||Ln(Ya),sa==="nest"&&ga.expandIconColumnIndex===void 0?ga.expandIconColumnIndex=wt?1:0:ga.expandIconColumnIndex>0&&wt&&(ga.expandIconColumnIndex-=1),typeof ga.indentSize!="number"&&(ga.indentSize=typeof Fa=="number"?Fa:15);const Ii=re.useCallback(Ua=>Ko(Sr(gr(or(Ua)))),[or,gr,Sr]);let Ur,br;if(gt!==!1&&(za!=null&&za.total)){let Ua;za.size?Ua=za.size:Ua=Zo==="small"||Zo==="middle"?"small":void 0;const po=ir=>re.createElement($r.Z,Object.assign({},za,{className:Ie()(`${Po}-pagination ${Po}-pagination-${ir}`,za.className),size:Ua})),ar=mo==="rtl"?"left":"right",{position:Do}=za;if(Do!==null&&Array.isArray(Do)){const ir=Do.find(Qr=>Qr.includes("top")),fr=Do.find(Qr=>Qr.includes("bottom")),pr=Do.every(Qr=>`${Qr}`=="none");!ir&&!fr&&!pr&&(br=po(ar)),ir&&(Ur=po(ir.toLowerCase().replace("top",""))),fr&&(br=po(fr.toLowerCase().replace("bottom","")))}else br=po(ar)}let mr;typeof Dn=="boolean"?mr={spinning:Dn}:typeof Dn=="object"&&(mr=Object.assign({spinning:!0},Dn));const[ur,Vo]=ul(Po),[,Lo]=(0,Pn.Z)(),jr=Ie()(`${Po}-wrapper`,Ja==null?void 0:Ja.className,{[`${Po}-wrapper-rtl`]:mo==="rtl"},Ae,Ge,Vo),mi=Object.assign(Object.assign({},Ja==null?void 0:Ja.style),Ze),ri=Rn&&Rn.emptyText||(No==null?void 0:No("Table"))||re.createElement(Xr.Z,{componentName:"Table"}),_r=Zn?yn:Aa,Wi={},cl=re.useMemo(()=>{const{fontSize:Ua,lineHeight:po,padding:ar,paddingXS:Do,paddingSM:ir}=Lo,fr=Math.floor(Ua*po);switch(Zo){case"large":return ar*2+fr;case"small":return Do*2+fr;default:return ir*2+fr}},[Lo,Zo]);return Zn&&(Wi.listItemHeight=cl),ur(re.createElement("div",{ref:le,className:jr,style:mi},re.createElement(Qn.Z,Object.assign({spinning:!1},mr),Ur,re.createElement(_r,Object.assign({},Wi,Ta,{columns:la,direction:mo,expandable:ga,prefixCls:Po,className:Ie()({[`${Po}-middle`]:Zo==="middle",[`${Po}-small`]:Zo==="small",[`${Po}-bordered`]:ot,[`${Po}-empty`]:bo.length===0}),data:rr,rowKey:$a,rowClassName:Mr,emptyText:ri,internalHooks:ie,internalRefs:Xn,transformColumns:Ii})),br)))};var Hi=re.forwardRef(Gi);const Ki=(ue,le)=>{const ye=re.useRef(0);return ye.current+=1,re.createElement(Hi,Object.assign({},ue,{ref:le,_renderTimes:ye.current}))},St=re.forwardRef(Ki);St.SELECTION_COLUMN=Zr,St.EXPAND_COLUMN=z,St.SELECTION_ALL=Ai,St.SELECTION_INVERT=vi,St.SELECTION_NONE=Li,St.Column=wr,St.ColumnGroup=Gr,St.Summary=he;var wn=St,La=wn},12563:function(pt,vt,ne){"use strict";ne.d(vt,{default:function(){return Fe}});var z=ne(59301),ie=ne(99267),Pe=ne(92310),Re=ne.n(Pe),be=ne(36785),xe=ne(47729),re=ne(14088),Ne=ne(36355),Oe=ne(17313),we=ne(37613),De=ne(83116);const je=ge=>{const{paddingXXS:tt,lineWidth:Ie,tagPaddingHorizontal:Qe,componentCls:_e}=ge,We=Qe-Ie,it=tt-Ie;return{[_e]:Object.assign(Object.assign({},(0,Oe.Wf)(ge)),{display:"inline-block",height:"auto",marginInlineEnd:ge.marginXS,paddingInline:We,fontSize:ge.tagFontSize,lineHeight:ge.tagLineHeight,whiteSpace:"nowrap",background:ge.defaultBg,border:`${ge.lineWidth}px ${ge.lineType} ${ge.colorBorder}`,borderRadius:ge.borderRadiusSM,opacity:1,transition:`all ${ge.motionDurationMid}`,textAlign:"start",position:"relative",[`&${_e}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ge.defaultColor},[`${_e}-close-icon`]:{marginInlineStart:it,color:ge.colorTextDescription,fontSize:ge.tagIconSize,cursor:"pointer",transition:`all ${ge.motionDurationMid}`,"&:hover":{color:ge.colorTextHeading}},[`&${_e}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ge.iconCls}-close, ${ge.iconCls}-close:hover`]:{color:ge.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${_e}-checkable-checked):hover`]:{color:ge.colorPrimary,backgroundColor:ge.colorFillSecondary},"&:active, &-checked":{color:ge.colorTextLightSolid},"&-checked":{backgroundColor:ge.colorPrimary,"&:hover":{backgroundColor:ge.colorPrimaryHover}},"&:active":{backgroundColor:ge.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ge.iconCls} + span, > span + ${ge.iconCls}`]:{marginInlineStart:We}}),[`${_e}-borderless`]:{borderColor:"transparent",background:ge.tagBorderlessBg}}},Ee=ge=>{const{lineWidth:tt,fontSizeIcon:Ie}=ge,Qe=ge.fontSizeSM,_e=`${ge.lineHeightSM*Qe}px`;return(0,we.TS)(ge,{tagFontSize:Qe,tagLineHeight:_e,tagIconSize:Ie-2*tt,tagPaddingHorizontal:8,tagBorderlessBg:ge.colorFillTertiary})},oe=ge=>({defaultBg:ge.colorFillQuaternary,defaultColor:ge.colorText});var E=(0,De.Z)("Tag",ge=>{const tt=Ee(ge);return je(tt)},oe),a=function(ge,tt){var Ie={};for(var Qe in ge)Object.prototype.hasOwnProperty.call(ge,Qe)&&tt.indexOf(Qe)<0&&(Ie[Qe]=ge[Qe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Qe=Object.getOwnPropertySymbols(ge);_e<Qe.length;_e++)tt.indexOf(Qe[_e])<0&&Object.prototype.propertyIsEnumerable.call(ge,Qe[_e])&&(Ie[Qe[_e]]=ge[Qe[_e]]);return Ie},y=ge=>{const{prefixCls:tt,style:Ie,className:Qe,checked:_e,onChange:We,onClick:it}=ge,Ct=a(ge,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:nt,tag:Lt}=z.useContext(Ne.E_),Xe=mt=>{We==null||We(!_e),it==null||it(mt)},xt=nt("tag",tt),[Mt,Te]=E(xt),$e=Re()(xt,`${xt}-checkable`,{[`${xt}-checkable-checked`]:_e},Lt==null?void 0:Lt.className,Qe,Te);return Mt(z.createElement("span",Object.assign({},Ct,{style:Object.assign(Object.assign({},Ie),Lt==null?void 0:Lt.style),className:$e,onClick:Xe})))},x=ne(45157);const ee=ge=>(0,x.Z)(ge,(tt,Ie)=>{let{textColor:Qe,lightBorderColor:_e,lightColor:We,darkColor:it}=Ie;return{[`${ge.componentCls}-${tt}`]:{color:Qe,background:We,borderColor:_e,"&-inverse":{color:ge.colorTextLightSolid,background:it,borderColor:it},[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}});var te=(0,De.b)(["Tag","preset"],ge=>{const tt=Ee(ge);return ee(tt)},oe);function ae(ge){return typeof ge!="string"?ge:ge.charAt(0).toUpperCase()+ge.slice(1)}const se=(ge,tt,Ie)=>{const Qe=ae(Ie);return{[`${ge.componentCls}-${tt}`]:{color:ge[`color${Ie}`],background:ge[`color${Qe}Bg`],borderColor:ge[`color${Qe}Border`],[`&${ge.componentCls}-borderless`]:{borderColor:"transparent"}}}};var de=(0,De.b)(["Tag","status"],ge=>{const tt=Ee(ge);return[se(tt,"success","Success"),se(tt,"processing","Info"),se(tt,"error","Error"),se(tt,"warning","Warning")]},oe),me=function(ge,tt){var Ie={};for(var Qe in ge)Object.prototype.hasOwnProperty.call(ge,Qe)&&tt.indexOf(Qe)<0&&(Ie[Qe]=ge[Qe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Qe=Object.getOwnPropertySymbols(ge);_e<Qe.length;_e++)tt.indexOf(Qe[_e])<0&&Object.prototype.propertyIsEnumerable.call(ge,Qe[_e])&&(Ie[Qe[_e]]=ge[Qe[_e]]);return Ie};const Be=(ge,tt)=>{const{prefixCls:Ie,className:Qe,rootClassName:_e,style:We,children:it,icon:Ct,color:nt,onClose:Lt,closeIcon:Xe,closable:xt,bordered:Mt=!0}=ge,Te=me(ge,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:$e,direction:mt,tag:zt}=z.useContext(Ne.E_),[st,Tt]=z.useState(!0);z.useEffect(()=>{"visible"in Te&&Tt(Te.visible)},[Te.visible]);const Se=(0,be.o2)(nt),Ft=(0,be.yT)(nt),Yt=Se||Ft,yt=Object.assign(Object.assign({backgroundColor:nt&&!Yt?nt:void 0},zt==null?void 0:zt.style),We),ft=$e("tag",Ie),[Ke,ke]=E(ft),ve=Re()(ft,zt==null?void 0:zt.className,{[`${ft}-${nt}`]:Yt,[`${ft}-has-color`]:nt&&!Yt,[`${ft}-hidden`]:!st,[`${ft}-rtl`]:mt==="rtl",[`${ft}-borderless`]:!Mt},Qe,_e,ke),ce=ze=>{ze.stopPropagation(),Lt==null||Lt(ze),!ze.defaultPrevented&&Tt(!1)},[,He]=(0,xe.Z)(xt,Xe,ze=>ze===null?z.createElement(ie.Z,{className:`${ft}-close-icon`,onClick:ce}):z.createElement("span",{className:`${ft}-close-icon`,onClick:ce},ze),null,!1),ut=typeof Te.onClick=="function"||it&&it.type==="a",he=Ct||null,fe=he?z.createElement(z.Fragment,null,he,it&&z.createElement("span",null,it)):it,qe=z.createElement("span",Object.assign({},Te,{ref:tt,className:ve,style:yt}),fe,He,Se&&z.createElement(te,{key:"preset",prefixCls:ft}),Ft&&z.createElement(de,{key:"status",prefixCls:ft}));return Ke(ut?z.createElement(re.Z,{component:"Tag"},qe):qe)},pe=z.forwardRef(Be);pe.CheckableTag=y;var Fe=pe},17574:function(pt,vt,ne){"use strict";ne.d(vt,{default:function(){return nt}});var z=ne(23130),ie=ne(26407),Pe=ne(52671),Re=ne(8657),be=ne(92413),xe=ne(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"},Ne=re,Oe=ne(7657),we=function(Xe,xt){return xe.createElement(Oe.Z,(0,be.Z)({},Xe,{ref:xt,icon:Ne}))},De=xe.forwardRef(we),je=De,Ee=ne(92310),oe=ne.n(Ee),E=ne(35654),a=ne(71430),b=ne(36355),y=ne(56082),x=ne(62892),ee=ne(20648);const te=4;function ae(Lt){const{dropPosition:Xe,dropLevelOffset:xt,prefixCls:Mt,indent:Te,direction:$e="ltr"}=Lt,mt=$e==="ltr"?"left":"right",zt=$e==="ltr"?"right":"left",st={[mt]:-xt*Te+te,[zt]:0};switch(Xe){case-1:st.top=-3;break;case 1:st.bottom=-3;break;default:st.bottom=-3,st[mt]=Te+te;break}return xe.createElement("div",{style:st,className:`${Mt}-drop-indicator`})}var se=ne(71997),me=xe.forwardRef((Lt,Xe)=>{const{getPrefixCls:xt,direction:Mt,virtual:Te,tree:$e}=xe.useContext(b.E_),{prefixCls:mt,className:zt,showIcon:st=!1,showLine:Tt,switcherIcon:Se,blockNode:Ft=!1,children:Yt,checkable:yt=!1,selectable:ft=!0,draggable:Ke,motion:ke,style:ve}=Lt,ce=xt("tree",mt),He=xt(),ut=ke!=null?ke:Object.assign(Object.assign({},(0,x.Z)(He)),{motionAppear:!1}),he=Object.assign(Object.assign({},Lt),{checkable:yt,selectable:ft,showIcon:st,motion:ut,blockNode:Ft,showLine:!!Tt,dropIndicatorRender:ae}),[fe,qe]=(0,ee.ZP)(ce),ze=xe.useMemo(()=>{if(!Ke)return!1;let at={};switch(typeof Ke){case"function":at.nodeDraggable=Ke;break;case"object":at=Object.assign({},Ke);break;default:break}return at.icon!==!1&&(at.icon=at.icon||xe.createElement(y.Z,null)),at},[Ke]),Ce=at=>xe.createElement(se.Z,{prefixCls:ce,switcherIcon:Se,treeNodeProps:at,showLine:Tt});return fe(xe.createElement(z.Z,Object.assign({itemHeight:20,ref:Xe,virtual:Te},he,{style:Object.assign(Object.assign({},$e==null?void 0:$e.style),ve),prefixCls:ce,className:oe()({[`${ce}-icon-hide`]:!st,[`${ce}-block-node`]:Ft,[`${ce}-unselectable`]:!ft,[`${ce}-rtl`]:Mt==="rtl"},$e==null?void 0:$e.className,zt,qe),direction:Mt,checkable:yt&&xe.createElement("span",{className:`${ce}-checkbox-inner`}),selectable:ft,switcherIcon:Ce,draggable:ze}),Yt))}),Be;(function(Lt){Lt[Lt.None=0]="None",Lt[Lt.Start=1]="Start",Lt[Lt.End=2]="End"})(Be||(Be={}));function pe(Lt,Xe){function xt(Mt){const{key:Te,children:$e}=Mt;Xe(Te,Mt)!==!1&&pe($e||[],Xe)}Lt.forEach(xt)}function Fe(Lt){let{treeData:Xe,expandedKeys:xt,startKey:Mt,endKey:Te}=Lt;const $e=[];let mt=Be.None;if(Mt&&Mt===Te)return[Mt];if(!Mt||!Te)return[];function zt(st){return st===Mt||st===Te}return pe(Xe,st=>{if(mt===Be.End)return!1;if(zt(st)){if($e.push(st),mt===Be.None)mt=Be.Start;else if(mt===Be.Start)return mt=Be.End,!1}else mt===Be.Start&&$e.push(st);return xt.includes(st)}),$e}function ge(Lt,Xe){const xt=(0,ie.Z)(Xe),Mt=[];return pe(Lt,(Te,$e)=>{const mt=xt.indexOf(Te);return mt!==-1&&(Mt.push($e),xt.splice(mt,1)),!!xt.length}),Mt}var tt=function(Lt,Xe){var xt={};for(var Mt in Lt)Object.prototype.hasOwnProperty.call(Lt,Mt)&&Xe.indexOf(Mt)<0&&(xt[Mt]=Lt[Mt]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Mt=Object.getOwnPropertySymbols(Lt);Te<Mt.length;Te++)Xe.indexOf(Mt[Te])<0&&Object.prototype.propertyIsEnumerable.call(Lt,Mt[Te])&&(xt[Mt[Te]]=Lt[Mt[Te]]);return xt};function Ie(Lt){const{isLeaf:Xe,expanded:xt}=Lt;return Xe?xe.createElement(Pe.Z,null):xt?xe.createElement(Re.Z,null):xe.createElement(je,null)}function Qe(Lt){let{treeData:Xe,children:xt}=Lt;return Xe||(0,a.zn)(xt)}const _e=(Lt,Xe)=>{var{defaultExpandAll:xt,defaultExpandParent:Mt,defaultExpandedKeys:Te}=Lt,$e=tt(Lt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const mt=xe.useRef(),zt=xe.useRef(),st=()=>{const{keyEntities:ze}=(0,a.I8)(Qe($e));let Ce;return xt?Ce=Object.keys(ze):Mt?Ce=(0,E.r7)($e.expandedKeys||Te||[],ze):Ce=$e.expandedKeys||Te,Ce},[Tt,Se]=xe.useState($e.selectedKeys||$e.defaultSelectedKeys||[]),[Ft,Yt]=xe.useState(()=>st());xe.useEffect(()=>{"selectedKeys"in $e&&Se($e.selectedKeys)},[$e.selectedKeys]),xe.useEffect(()=>{"expandedKeys"in $e&&Yt($e.expandedKeys)},[$e.expandedKeys]);const yt=(ze,Ce)=>{var at;return"expandedKeys"in $e||Yt(ze),(at=$e.onExpand)===null||at===void 0?void 0:at.call($e,ze,Ce)},ft=(ze,Ce)=>{var at;const{multiple:jt}=$e,{node:ct,nativeEvent:Ot}=Ce,{key:Dt=""}=ct,_t=Qe($e),ht=Object.assign(Object.assign({},Ce),{selected:!0}),on=(Ot==null?void 0:Ot.ctrlKey)||(Ot==null?void 0:Ot.metaKey),tn=Ot==null?void 0:Ot.shiftKey;let kt;jt&&on?(kt=ze,mt.current=Dt,zt.current=kt,ht.selectedNodes=ge(_t,kt)):jt&&tn?(kt=Array.from(new Set([].concat((0,ie.Z)(zt.current||[]),(0,ie.Z)(Fe({treeData:_t,expandedKeys:Ft,startKey:Dt,endKey:mt.current}))))),ht.selectedNodes=ge(_t,kt)):(kt=[Dt],mt.current=Dt,zt.current=kt,ht.selectedNodes=ge(_t,kt)),(at=$e.onSelect)===null||at===void 0||at.call($e,kt,ht),"selectedKeys"in $e||Se(kt)},{getPrefixCls:Ke,direction:ke}=xe.useContext(b.E_),{prefixCls:ve,className:ce,showIcon:He=!0,expandAction:ut="click"}=$e,he=tt($e,["prefixCls","className","showIcon","expandAction"]),fe=Ke("tree",ve),qe=oe()(`${fe}-directory`,{[`${fe}-directory-rtl`]:ke==="rtl"},ce);return xe.createElement(me,Object.assign({icon:Ie,ref:Xe,blockNode:!0},he,{showIcon:He,expandAction:ut,prefixCls:fe,className:qe,expandedKeys:Ft,selectedKeys:Tt,onSelect:ft,onExpand:yt}))};var it=xe.forwardRef(_e);const Ct=me;Ct.DirectoryTree=it,Ct.TreeNode=z.O;var nt=Ct},20648:function(pt,vt,ne){"use strict";ne.d(vt,{TM:function(){return Ee},Yk:function(){return je}});var z=ne(93083),ie=ne(98447),Pe=ne(17313),Re=ne(8378),be=ne(37613),xe=ne(83116);const re=new z.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ne=(oe,E)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),Oe=(oe,E)=>({[`.${oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),we=(oe,E)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:y,titleHeight:x,nodeSelectedBg:ee,nodeHoverBg:te}=E,ae=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Pe.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Pe.oN)(E)),[`${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:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:re,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Pe.oN)(E)),[`&: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 ${E.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({},Ne(oe,E)),{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:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${E.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 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:te},[`&${a}-node-selected`]:{backgroundColor:ee},[`${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"},Oe(oe,E)),[`${b}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-y,borderInlineEnd:`1px solid ${E.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`}}}}})}},De=oe=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:y,directoryNodeSelectedColor:x}=oe;return{[`${E}${E}-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},[`${E}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:x},[`${E}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},je=(oe,E)=>{const a=`.${oe}`,b=`${a}-treenode`,y=E.paddingXS/2,x=(0,be.TS)(E,{treeCls:a,treeNodeCls:b,treeNodePadding:y});return[we(oe,x),De(x)]},Ee=oe=>{const{controlHeightSM:E}=oe;return{titleHeight:E,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};vt.ZP=(0,xe.Z)("Tree",(oe,E)=>{let{prefixCls:a}=E;return[{[oe.componentCls]:(0,ie.C2)(`${a}-checkbox`,oe)},je(a,oe),(0,Re.Z)(oe)]},oe=>{const{colorTextLightSolid:E,colorPrimary:a}=oe;return Object.assign(Object.assign({},Ee(oe)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return b}});var z=ne(92413),ie=ne(59301),Pe={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"},Re=Pe,be=ne(7657),xe=function(x,ee){return ie.createElement(be.Z,(0,z.Z)({},x,{ref:ee,icon:Re}))},re=ie.forwardRef(xe),Ne=re,Oe=ne(52671),we=ne(58617),De=ne(15075),je=ne(43531),Ee=ne(92310),oe=ne.n(Ee),E=ne(92343),b=y=>{const{prefixCls:x,switcherIcon:ee,treeNodeProps:te,showLine:ae}=y,{isLeaf:se,expanded:de,loading:me}=te;if(me)return ie.createElement(we.Z,{className:`${x}-switcher-loading-icon`});let Be;if(ae&&typeof ae=="object"&&(Be=ae.showLeafIcon),se){if(!ae)return null;if(typeof Be!="boolean"&&Be){const ge=typeof Be=="function"?Be(te):Be,tt=`${x}-switcher-line-custom-icon`;return(0,E.l$)(ge)?(0,E.Tm)(ge,{className:oe()(ge.props.className||"",tt)}):ge}return Be?ie.createElement(Oe.Z,{className:`${x}-switcher-line-icon`}):ie.createElement("span",{className:`${x}-switcher-leaf-line`})}const pe=`${x}-switcher-icon`,Fe=typeof ee=="function"?ee(te):ee;return(0,E.l$)(Fe)?(0,E.Tm)(Fe,{className:oe()(Fe.props.className||"",pe)}):Fe!==void 0?Fe:ae?de?ie.createElement(De.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(je.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(Ne,{className:pe})}},24334:function(pt,vt,ne){var z,ie;(function(Pe,Re){pt.exports=Re(Pe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ne.g!="undefined"?ne.g:this,function(Pe){"use strict";Pe=Pe||{};var Re=Pe.Base64,be="2.6.4",xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Ie){for(var Qe={},_e=0,We=Ie.length;_e<We;_e++)Qe[Ie.charAt(_e)]=_e;return Qe}(xe),Ne=String.fromCharCode,Oe=function(Ie){if(Ie.length<2){var Qe=Ie.charCodeAt(0);return Qe<128?Ie:Qe<2048?Ne(192|Qe>>>6)+Ne(128|Qe&63):Ne(224|Qe>>>12&15)+Ne(128|Qe>>>6&63)+Ne(128|Qe&63)}else{var Qe=65536+(Ie.charCodeAt(0)-55296)*1024+(Ie.charCodeAt(1)-56320);return Ne(240|Qe>>>18&7)+Ne(128|Qe>>>12&63)+Ne(128|Qe>>>6&63)+Ne(128|Qe&63)}},we=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,De=function(Ie){return Ie.replace(we,Oe)},je=function(Ie){var Qe=[0,2,1][Ie.length%3],_e=Ie.charCodeAt(0)<<16|(Ie.length>1?Ie.charCodeAt(1):0)<<8|(Ie.length>2?Ie.charCodeAt(2):0),We=[xe.charAt(_e>>>18),xe.charAt(_e>>>12&63),Qe>=2?"=":xe.charAt(_e>>>6&63),Qe>=1?"=":xe.charAt(_e&63)];return We.join("")},Ee=Pe.btoa&&typeof Pe.btoa=="function"?function(Ie){return Pe.btoa(Ie)}:function(Ie){if(Ie.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ie.replace(/[\s\S]{1,3}/g,je)},oe=function(Ie){return Ee(De(String(Ie)))},E=function(Ie){return Ie.replace(/[+\/]/g,function(Qe){return Qe=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ie,Qe){return Qe?E(oe(Ie)):oe(Ie)},b=function(Ie){return a(Ie,!0)},y;Pe.Uint8Array&&(y=function(Ie,Qe){for(var _e="",We=0,it=Ie.length;We<it;We+=3){var Ct=Ie[We],nt=Ie[We+1],Lt=Ie[We+2],Xe=Ct<<16|nt<<8|Lt;_e+=xe.charAt(Xe>>>18)+xe.charAt(Xe>>>12&63)+(typeof nt!="undefined"?xe.charAt(Xe>>>6&63):"=")+(typeof Lt!="undefined"?xe.charAt(Xe&63):"=")}return Qe?E(_e):_e});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ee=function(Ie){switch(Ie.length){case 4:var Qe=(7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3),_e=Qe-65536;return Ne((_e>>>10)+55296)+Ne((_e&1023)+56320);case 3:return Ne((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return Ne((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},te=function(Ie){return Ie.replace(x,ee)},ae=function(Ie){var Qe=Ie.length,_e=Qe%4,We=(Qe>0?re[Ie.charAt(0)]<<18:0)|(Qe>1?re[Ie.charAt(1)]<<12:0)|(Qe>2?re[Ie.charAt(2)]<<6:0)|(Qe>3?re[Ie.charAt(3)]:0),it=[Ne(We>>>16),Ne(We>>>8&255),Ne(We&255)];return it.length-=[0,0,2,1][_e],it.join("")},se=Pe.atob&&typeof Pe.atob=="function"?function(Ie){return Pe.atob(Ie)}:function(Ie){return Ie.replace(/\S{1,4}/g,ae)},de=function(Ie){return se(String(Ie).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(Ie){return te(se(Ie))},Be=function(Ie){return String(Ie).replace(/[-_]/g,function(Qe){return Qe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},pe=function(Ie){return me(Be(Ie))},Fe;Pe.Uint8Array&&(Fe=function(Ie){return Uint8Array.from(de(Be(Ie)),function(Qe){return Qe.charCodeAt(0)})});var ge=function(){var Ie=Pe.Base64;return Pe.Base64=Re,Ie};if(Pe.Base64={VERSION:be,atob:de,btoa:Ee,fromBase64:pe,toBase64:a,utob:De,encode:a,encodeURI:b,btou:te,decode:pe,noConflict:ge,fromUint8Array:y,toUint8Array:Fe},typeof Object.defineProperty=="function"){var tt=function(Ie){return{value:Ie,enumerable:!1,writable:!0,configurable:!0}};Pe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",tt(function(){return pe(this)})),Object.defineProperty(String.prototype,"toBase64",tt(function(Ie){return a(this,Ie)})),Object.defineProperty(String.prototype,"toBase64URI",tt(function(){return a(this,!0)}))}}return Pe.Meteor&&(Base64=Pe.Base64),pt.exports?pt.exports.Base64=Pe.Base64:(z=[],ie=function(){return Pe.Base64}.apply(vt,z),ie!==void 0&&(pt.exports=ie)),{Base64:Pe.Base64}})},39417:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return me}});var z=ne(92413),ie=ne(400),Pe=ne(37061),Re=ne(33708),be=ne(6909),xe=ne(4771),re=ne(25314),Ne=ne(9427),Oe=ne(25440),we=ne(92310),De=ne.n(we),je=ne(26112),Ee=ne(59301),oe=ne(39378),E=function(pe){for(var Fe=pe.prefixCls,ge=pe.level,tt=pe.isStart,Ie=pe.isEnd,Qe="".concat(Fe,"-indent-unit"),_e=[],We=0;We<ge;We+=1){var it;_e.push(Ee.createElement("span",{key:We,className:De()(Qe,(it={},(0,ie.Z)(it,"".concat(Qe,"-start"),tt[We]),(0,ie.Z)(it,"".concat(Qe,"-end"),Ie[We]),it))}))}return Ee.createElement("span",{"aria-hidden":"true",className:"".concat(Fe,"-indent")},_e)},a=Ee.memo(E),b=ne(67841),y=ne(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",te="close",ae="---",se=function(Be){(0,Ne.Z)(Fe,Be);var pe=(0,Oe.Z)(Fe);function Fe(){var ge;(0,be.Z)(this,Fe);for(var tt=arguments.length,Ie=new Array(tt),Qe=0;Qe<tt;Qe++)Ie[Qe]=arguments[Qe];return ge=pe.call.apply(pe,[this].concat(Ie)),ge.state={dragNodeHighlight:!1},ge.selectHandle=void 0,ge.cacheIndent=void 0,ge.onSelectorClick=function(_e){var We=ge.props.context.onNodeClick;We(_e,(0,y.F)(ge.props)),ge.isSelectable()?ge.onSelect(_e):ge.onCheck(_e)},ge.onSelectorDoubleClick=function(_e){var We=ge.props.context.onNodeDoubleClick;We(_e,(0,y.F)(ge.props))},ge.onSelect=function(_e){if(!ge.isDisabled()){var We=ge.props.context.onNodeSelect;We(_e,(0,y.F)(ge.props))}},ge.onCheck=function(_e){if(!ge.isDisabled()){var We=ge.props,it=We.disableCheckbox,Ct=We.checked,nt=ge.props.context.onNodeCheck;if(!(!ge.isCheckable()||it)){var Lt=!Ct;nt(_e,(0,y.F)(ge.props),Lt)}}},ge.onMouseEnter=function(_e){var We=ge.props.context.onNodeMouseEnter;We(_e,(0,y.F)(ge.props))},ge.onMouseLeave=function(_e){var We=ge.props.context.onNodeMouseLeave;We(_e,(0,y.F)(ge.props))},ge.onContextMenu=function(_e){var We=ge.props.context.onNodeContextMenu;We(_e,(0,y.F)(ge.props))},ge.onDragStart=function(_e){var We=ge.props.context.onNodeDragStart;_e.stopPropagation(),ge.setState({dragNodeHighlight:!0}),We(_e,(0,re.Z)(ge));try{_e.dataTransfer.setData("text/plain","")}catch(it){}},ge.onDragEnter=function(_e){var We=ge.props.context.onNodeDragEnter;_e.preventDefault(),_e.stopPropagation(),We(_e,(0,re.Z)(ge))},ge.onDragOver=function(_e){var We=ge.props.context.onNodeDragOver;_e.preventDefault(),_e.stopPropagation(),We(_e,(0,re.Z)(ge))},ge.onDragLeave=function(_e){var We=ge.props.context.onNodeDragLeave;_e.stopPropagation(),We(_e,(0,re.Z)(ge))},ge.onDragEnd=function(_e){var We=ge.props.context.onNodeDragEnd;_e.stopPropagation(),ge.setState({dragNodeHighlight:!1}),We(_e,(0,re.Z)(ge))},ge.onDrop=function(_e){var We=ge.props.context.onNodeDrop;_e.preventDefault(),_e.stopPropagation(),ge.setState({dragNodeHighlight:!1}),We(_e,(0,re.Z)(ge))},ge.onExpand=function(_e){var We=ge.props,it=We.loading,Ct=We.context.onNodeExpand;it||Ct(_e,(0,y.F)(ge.props))},ge.setSelectHandle=function(_e){ge.selectHandle=_e},ge.getNodeState=function(){var _e=ge.props.expanded;return ge.isLeaf()?null:_e?ee:te},ge.hasChildren=function(){var _e=ge.props.eventKey,We=ge.props.context.keyEntities,it=(0,b.Z)(We,_e)||{},Ct=it.children;return!!(Ct||[]).length},ge.isLeaf=function(){var _e=ge.props,We=_e.isLeaf,it=_e.loaded,Ct=ge.props.context.loadData,nt=ge.hasChildren();return We===!1?!1:We||!Ct&&!nt||Ct&&it&&!nt},ge.isDisabled=function(){var _e=ge.props.disabled,We=ge.props.context.disabled;return!!(We||_e)},ge.isCheckable=function(){var _e=ge.props.checkable,We=ge.props.context.checkable;return!We||_e===!1?!1:We},ge.syncLoadData=function(_e){var We=_e.expanded,it=_e.loading,Ct=_e.loaded,nt=ge.props.context,Lt=nt.loadData,Xe=nt.onNodeLoad;it||Lt&&We&&!ge.isLeaf()&&!ge.hasChildren()&&!Ct&&Xe((0,y.F)(ge.props))},ge.isDraggable=function(){var _e=ge.props,We=_e.data,it=_e.context.draggable;return!!(it&&(!it.nodeDraggable||it.nodeDraggable(We)))},ge.renderDragHandler=function(){var _e=ge.props.context,We=_e.draggable,it=_e.prefixCls;return We!=null&&We.icon?Ee.createElement("span",{className:"".concat(it,"-draggable-icon")},We.icon):null},ge.renderSwitcherIconDom=function(_e){var We=ge.props.switcherIcon,it=ge.props.context.switcherIcon,Ct=We||it;return typeof Ct=="function"?Ct((0,Re.Z)((0,Re.Z)({},ge.props),{},{isLeaf:_e})):Ct},ge.renderSwitcher=function(){var _e=ge.props.expanded,We=ge.props.context.prefixCls;if(ge.isLeaf()){var it=ge.renderSwitcherIconDom(!0);return it!==!1?Ee.createElement("span",{className:De()("".concat(We,"-switcher"),"".concat(We,"-switcher-noop"))},it):null}var Ct=De()("".concat(We,"-switcher"),"".concat(We,"-switcher_").concat(_e?ee:te)),nt=ge.renderSwitcherIconDom(!1);return nt!==!1?Ee.createElement("span",{onClick:ge.onExpand,className:Ct},nt):null},ge.renderCheckbox=function(){var _e=ge.props,We=_e.checked,it=_e.halfChecked,Ct=_e.disableCheckbox,nt=ge.props.context.prefixCls,Lt=ge.isDisabled(),Xe=ge.isCheckable();if(!Xe)return null;var xt=typeof Xe!="boolean"?Xe:null;return Ee.createElement("span",{className:De()("".concat(nt,"-checkbox"),We&&"".concat(nt,"-checkbox-checked"),!We&&it&&"".concat(nt,"-checkbox-indeterminate"),(Lt||Ct)&&"".concat(nt,"-checkbox-disabled")),onClick:ge.onCheck},xt)},ge.renderIcon=function(){var _e=ge.props.loading,We=ge.props.context.prefixCls;return Ee.createElement("span",{className:De()("".concat(We,"-iconEle"),"".concat(We,"-icon__").concat(ge.getNodeState()||"docu"),_e&&"".concat(We,"-icon_loading"))})},ge.renderSelector=function(){var _e=ge.state.dragNodeHighlight,We=ge.props,it=We.title,Ct=it===void 0?ae:it,nt=We.selected,Lt=We.icon,Xe=We.loading,xt=We.data,Mt=ge.props.context,Te=Mt.prefixCls,$e=Mt.showIcon,mt=Mt.icon,zt=Mt.loadData,st=Mt.titleRender,Tt=ge.isDisabled(),Se="".concat(Te,"-node-content-wrapper"),Ft;if($e){var Yt=Lt||mt;Ft=Yt?Ee.createElement("span",{className:De()("".concat(Te,"-iconEle"),"".concat(Te,"-icon__customize"))},typeof Yt=="function"?Yt(ge.props):Yt):ge.renderIcon()}else zt&&Xe&&(Ft=ge.renderIcon());var yt;typeof Ct=="function"?yt=Ct(xt):st?yt=st(xt):yt=Ct;var ft=Ee.createElement("span",{className:"".concat(Te,"-title")},yt);return Ee.createElement("span",{ref:ge.setSelectHandle,title:typeof Ct=="string"?Ct:"",className:De()("".concat(Se),"".concat(Se,"-").concat(ge.getNodeState()||"normal"),!Tt&&(nt||_e)&&"".concat(Te,"-node-selected")),onMouseEnter:ge.onMouseEnter,onMouseLeave:ge.onMouseLeave,onContextMenu:ge.onContextMenu,onClick:ge.onSelectorClick,onDoubleClick:ge.onSelectorDoubleClick},Ft,ft,ge.renderDropIndicator())},ge.renderDropIndicator=function(){var _e=ge.props,We=_e.disabled,it=_e.eventKey,Ct=ge.props.context,nt=Ct.draggable,Lt=Ct.dropLevelOffset,Xe=Ct.dropPosition,xt=Ct.prefixCls,Mt=Ct.indent,Te=Ct.dropIndicatorRender,$e=Ct.dragOverNodeKey,mt=Ct.direction,zt=!!nt,st=!We&&zt&&$e===it,Tt=Mt!=null?Mt:ge.cacheIndent;return ge.cacheIndent=Mt,st?Te({dropPosition:Xe,dropLevelOffset:Lt,indent:Tt,prefixCls:xt,direction:mt}):null},ge}return(0,xe.Z)(Fe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var tt=this.props.selectable,Ie=this.props.context.selectable;return typeof tt=="boolean"?tt:Ie}},{key:"render",value:function(){var tt,Ie=this.props,Qe=Ie.eventKey,_e=Ie.className,We=Ie.style,it=Ie.dragOver,Ct=Ie.dragOverGapTop,nt=Ie.dragOverGapBottom,Lt=Ie.isLeaf,Xe=Ie.isStart,xt=Ie.isEnd,Mt=Ie.expanded,Te=Ie.selected,$e=Ie.checked,mt=Ie.halfChecked,zt=Ie.loading,st=Ie.domRef,Tt=Ie.active,Se=Ie.data,Ft=Ie.onMouseMove,Yt=Ie.selectable,yt=(0,Pe.Z)(Ie,x),ft=this.props.context,Ke=ft.prefixCls,ke=ft.filterTreeNode,ve=ft.keyEntities,ce=ft.dropContainerKey,He=ft.dropTargetKey,ut=ft.draggingNodeKey,he=this.isDisabled(),fe=(0,je.Z)(yt,{aria:!0,data:!0}),qe=(0,b.Z)(ve,Qe)||{},ze=qe.level,Ce=xt[xt.length-1],at=this.isDraggable(),jt=!he&&at,ct=ut===Qe,Ot=Yt!==void 0?{"aria-selected":!!Yt}:void 0;return Ee.createElement("div",(0,z.Z)({ref:st,className:De()(_e,"".concat(Ke,"-treenode"),(tt={},(0,ie.Z)(tt,"".concat(Ke,"-treenode-disabled"),he),(0,ie.Z)(tt,"".concat(Ke,"-treenode-switcher-").concat(Mt?"open":"close"),!Lt),(0,ie.Z)(tt,"".concat(Ke,"-treenode-checkbox-checked"),$e),(0,ie.Z)(tt,"".concat(Ke,"-treenode-checkbox-indeterminate"),mt),(0,ie.Z)(tt,"".concat(Ke,"-treenode-selected"),Te),(0,ie.Z)(tt,"".concat(Ke,"-treenode-loading"),zt),(0,ie.Z)(tt,"".concat(Ke,"-treenode-active"),Tt),(0,ie.Z)(tt,"".concat(Ke,"-treenode-leaf-last"),Ce),(0,ie.Z)(tt,"".concat(Ke,"-treenode-draggable"),at),(0,ie.Z)(tt,"dragging",ct),(0,ie.Z)(tt,"drop-target",He===Qe),(0,ie.Z)(tt,"drop-container",ce===Qe),(0,ie.Z)(tt,"drag-over",!he&&it),(0,ie.Z)(tt,"drag-over-gap-top",!he&&Ct),(0,ie.Z)(tt,"drag-over-gap-bottom",!he&&nt),(0,ie.Z)(tt,"filter-node",ke&&ke((0,y.F)(this.props))),tt)),style:We,draggable:jt,"aria-grabbed":ct,onDragStart:jt?this.onDragStart:void 0,onDragEnter:at?this.onDragEnter:void 0,onDragOver:at?this.onDragOver:void 0,onDragLeave:at?this.onDragLeave:void 0,onDrop:at?this.onDrop:void 0,onDragEnd:at?this.onDragEnd:void 0,onMouseMove:Ft},Ot,fe),Ee.createElement(a,{prefixCls:Ke,level:ze,isStart:Xe,isEnd:xt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Fe}(Ee.Component),de=function(pe){return Ee.createElement(oe.k.Consumer,null,function(Fe){return Ee.createElement(se,(0,z.Z)({},pe,{context:Fe}))})};de.displayName="TreeNode",de.isTreeNode=1;var me=de},39378:function(pt,vt,ne){"use strict";ne.d(vt,{k:function(){return ie}});var z=ne(59301),ie=z.createContext(null)},23130:function(pt,vt,ne){"use strict";ne.d(vt,{O:function(){return me.Z},Z:function(){return ft}});var z=ne(92413),ie=ne(400),Pe=ne(39559),Re=ne(33708),be=ne(26407),xe=ne(6909),re=ne(4771),Ne=ne(25314),Oe=ne(9427),we=ne(25440),De=ne(92310),je=ne.n(De),Ee=ne(10228),oe=ne(26112),E=ne(48736),a=ne(59301),b=ne(39378);function y(Ke){var ke=Ke.dropPosition,ve=Ke.dropLevelOffset,ce=Ke.indent,He={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ke){case-1:He.top=0,He.left=-ve*ce;break;case 1:He.bottom=0,He.left=-ve*ce;break;case 0:He.bottom=0,He.left=ce;break}return a.createElement("div",{style:He})}function x(Ke){if(Ke==null)throw new TypeError("Cannot destructure "+Ke)}var ee=ne(33606),te=ne(37061),ae=ne(34280),se=ne(24916),de=ne(77900),me=ne(39417);function Be(Ke,ke){var ve=a.useState(!1),ce=(0,ee.Z)(ve,2),He=ce[0],ut=ce[1];a.useLayoutEffect(function(){if(He)return Ke(),function(){ke()}},[He]),a.useLayoutEffect(function(){return ut(!0),function(){ut(!1)}},[])}var pe=ne(71430),Fe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ge=function(ke,ve){var ce=ke.className,He=ke.style,ut=ke.motion,he=ke.motionNodes,fe=ke.motionType,qe=ke.onMotionStart,ze=ke.onMotionEnd,Ce=ke.active,at=ke.treeNodeRequiredProps,jt=(0,te.Z)(ke,Fe),ct=a.useState(!0),Ot=(0,ee.Z)(ct,2),Dt=Ot[0],_t=Ot[1],ht=a.useContext(b.k),on=ht.prefixCls,tn=he&&fe!=="hide";(0,ae.Z)(function(){he&&tn!==Dt&&_t(tn)},[he]);var kt=function(){he&&qe()},Zt=a.useRef(!1),$t=function(){he&&!Zt.current&&(Zt.current=!0,ze())};Be(kt,$t);var sn=function(Cn){tn===Cn&&$t()};return he?a.createElement(de.default,(0,z.Z)({ref:ve,visible:Dt},ut,{motionAppear:fe==="show",onVisibleChanged:sn}),function(un,Cn){var On=un.className,Rt=un.style;return a.createElement("div",{ref:Cn,className:je()("".concat(on,"-treenode-motion"),On),style:Rt},he.map(function(Nt){var Ht=(0,z.Z)({},(x(Nt.data),Nt.data)),ln=Nt.title,nn=Nt.key,jn=Nt.isStart,na=Nt.isEnd;delete Ht.children;var hn=(0,pe.H8)(nn,at);return a.createElement(me.Z,(0,z.Z)({},Ht,hn,{title:ln,active:Ce,data:Nt.data,key:nn,isStart:jn,isEnd:na}))}))}):a.createElement(me.Z,(0,z.Z)({domRef:ve,className:ce,style:He},jt,{active:Ce}))};ge.displayName="MotionTreeNode";var tt=a.forwardRef(ge),Ie=tt;function Qe(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=Ke.length,ce=ke.length;if(Math.abs(ve-ce)!==1)return{add:!1,key:null};function He(ut,he){var fe=new Map;ut.forEach(function(ze){fe.set(ze,!0)});var qe=he.filter(function(ze){return!fe.has(ze)});return qe.length===1?qe[0]:null}return ve<ce?{add:!0,key:He(Ke,ke)}:{add:!1,key:He(ke,Ke)}}function _e(Ke,ke,ve){var ce=Ke.findIndex(function(fe){return fe.key===ve}),He=Ke[ce+1],ut=ke.findIndex(function(fe){return fe.key===ve});if(He){var he=ke.findIndex(function(fe){return fe.key===He.key});return ke.slice(ut+1,he)}return ke.slice(ut+1)}var We=["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"],it={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ct=function(){},nt="RC_TREE_MOTION_".concat(Math.random()),Lt={key:nt},Xe={key:nt,level:0,index:0,pos:"0",node:Lt,nodes:[Lt]},xt={parent:null,children:[],pos:Xe.pos,data:Lt,title:null,key:nt,isStart:[],isEnd:[]};function Mt(Ke,ke,ve,ce){return ke===!1||!ve?Ke:Ke.slice(0,Math.ceil(ve/ce)+1)}function Te(Ke){var ke=Ke.key,ve=Ke.pos;return(0,pe.km)(ke,ve)}function $e(Ke){for(var ke=String(Ke.data.key),ve=Ke;ve.parent;)ve=ve.parent,ke="".concat(ve.data.key," > ").concat(ke);return ke}var mt=a.forwardRef(function(Ke,ke){var ve=Ke.prefixCls,ce=Ke.data,He=Ke.selectable,ut=Ke.checkable,he=Ke.expandedKeys,fe=Ke.selectedKeys,qe=Ke.checkedKeys,ze=Ke.loadedKeys,Ce=Ke.loadingKeys,at=Ke.halfCheckedKeys,jt=Ke.keyEntities,ct=Ke.disabled,Ot=Ke.dragging,Dt=Ke.dragOverNodeKey,_t=Ke.dropPosition,ht=Ke.motion,on=Ke.height,tn=Ke.itemHeight,kt=Ke.virtual,Zt=Ke.focusable,$t=Ke.activeItem,sn=Ke.focused,un=Ke.tabIndex,Cn=Ke.onKeyDown,On=Ke.onFocus,Rt=Ke.onBlur,Nt=Ke.onActiveChange,Ht=Ke.onListChangeStart,ln=Ke.onListChangeEnd,nn=(0,te.Z)(Ke,We),jn=a.useRef(null),na=a.useRef(null);a.useImperativeHandle(ke,function(){return{scrollTo:function(fn){jn.current.scrollTo(fn)},getIndentWidth:function(){return na.current.offsetWidth}}});var hn=a.useState(he),Qt=(0,ee.Z)(hn,2),Wn=Qt[0],Me=Qt[1],rt=a.useState(ce),Pt=(0,ee.Z)(rt,2),Bt=Pt[0],Jt=Pt[1],Wt=a.useState(ce),Kt=(0,ee.Z)(Wt,2),Ve=Kt[0],Ye=Kt[1],Je=a.useState([]),Et=(0,ee.Z)(Je,2),Gt=Et[0],It=Et[1],dn=a.useState(null),an=(0,ee.Z)(dn,2),Xt=an[0],cn=an[1],da=a.useRef(ce);da.current=ce;function Ut(){var va=da.current;Jt(va),Ye(va),It([]),cn(null),ln()}(0,ae.Z)(function(){Me(he);var va=Qe(Wn,he);if(va.key!==null)if(va.add){var fn=Bt.findIndex(function(_a){var Ma=_a.key;return Ma===va.key}),Un=Mt(_e(Bt,ce,va.key),kt,on,tn),ka=Bt.slice();ka.splice(fn+1,0,xt),Ye(ka),It(Un),cn("show")}else{var $n=ce.findIndex(function(_a){var Ma=_a.key;return Ma===va.key}),Na=Mt(_e(ce,Bt,va.key),kt,on,tn),Ia=ce.slice();Ia.splice($n+1,0,xt),Ye(Ia),It(Na),cn("hide")}else Bt!==ce&&(Jt(ce),Ye(ce))},[he,ce]),a.useEffect(function(){Ot||Ut()},[Ot]);var kn=ht?Ve:ce,aa={expandedKeys:he,selectedKeys:fe,loadedKeys:ze,loadingKeys:Ce,checkedKeys:qe,halfCheckedKeys:at,dragOverNodeKey:Dt,dropPosition:_t,keyEntities:jt};return a.createElement(a.Fragment,null,sn&&$t&&a.createElement("span",{style:it,"aria-live":"assertive"},$e($t)),a.createElement("div",null,a.createElement("input",{style:it,disabled:Zt===!1||ct,tabIndex:Zt!==!1?un:null,onKeyDown:Cn,onFocus:On,onBlur:Rt,value:"",onChange:Ct,"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:na,className:"".concat(ve,"-indent-unit")}))),a.createElement(se.Z,(0,z.Z)({},nn,{data:kn,itemKey:Te,height:on,fullHeight:!1,virtual:kt,itemHeight:tn,prefixCls:"".concat(ve,"-list"),ref:jn,onVisibleChange:function(fn,Un){var ka=new Set(fn),$n=Un.filter(function(Na){return!ka.has(Na)});$n.some(function(Na){return Te(Na)===nt})&&Ut()}}),function(va){var fn=va.pos,Un=(0,z.Z)({},(x(va.data),va.data)),ka=va.title,$n=va.key,Na=va.isStart,Ia=va.isEnd,_a=(0,pe.km)($n,fn);delete Un.key,delete Un.children;var Ma=(0,pe.H8)(_a,aa);return a.createElement(Ie,(0,z.Z)({},Un,Ma,{title:ka,active:!!$t&&$n===$t.key,pos:fn,data:va.data,isStart:Na,isEnd:Ia,motion:ht,motionNodes:$n===nt?Gt:null,motionType:Xt,onMotionStart:Ht,onMotionEnd:Ut,treeNodeRequiredProps:aa,onMouseMove:function(){Nt(null)}}))}))});mt.displayName="NodeList";var zt=mt,st=ne(35654),Tt=ne(90782),Se=ne(67841),Ft=10,Yt=function(Ke){(0,Oe.Z)(ve,Ke);var ke=(0,we.Z)(ve);function ve(){var ce;(0,xe.Z)(this,ve);for(var He=arguments.length,ut=new Array(He),he=0;he<He;he++)ut[he]=arguments[he];return ce=ke.call.apply(ke,[this].concat(ut)),ce.destroyed=!1,ce.delayedDragEnterLogic=void 0,ce.loadingRetryTimes={},ce.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$)()},ce.dragStartMousePosition=null,ce.dragNode=void 0,ce.currentMouseOverDroppableNodeKey=null,ce.listRef=a.createRef(),ce.onNodeDragStart=function(fe,qe){var ze=ce.state,Ce=ze.expandedKeys,at=ze.keyEntities,jt=ce.props.onDragStart,ct=qe.props.eventKey;ce.dragNode=qe,ce.dragStartMousePosition={x:fe.clientX,y:fe.clientY};var Ot=(0,st._5)(Ce,ct);ce.setState({draggingNodeKey:ct,dragChildrenKeys:(0,st.wA)(ct,at),indent:ce.listRef.current.getIndentWidth()}),ce.setExpandedKeys(Ot),window.addEventListener("dragend",ce.onWindowDragEnd),jt==null||jt({event:fe,node:(0,pe.F)(qe.props)})},ce.onNodeDragEnter=function(fe,qe){var ze=ce.state,Ce=ze.expandedKeys,at=ze.keyEntities,jt=ze.dragChildrenKeys,ct=ze.flattenNodes,Ot=ze.indent,Dt=ce.props,_t=Dt.onDragEnter,ht=Dt.onExpand,on=Dt.allowDrop,tn=Dt.direction,kt=qe.props,Zt=kt.pos,$t=kt.eventKey,sn=(0,Ne.Z)(ce),un=sn.dragNode;if(ce.currentMouseOverDroppableNodeKey!==$t&&(ce.currentMouseOverDroppableNodeKey=$t),!un){ce.resetDragState();return}var Cn=(0,st.OM)(fe,un,qe,Ot,ce.dragStartMousePosition,on,ct,at,Ce,tn),On=Cn.dropPosition,Rt=Cn.dropLevelOffset,Nt=Cn.dropTargetKey,Ht=Cn.dropContainerKey,ln=Cn.dropTargetPos,nn=Cn.dropAllowed,jn=Cn.dragOverNodeKey;if(jt.indexOf(Nt)!==-1||!nn){ce.resetDragState();return}if(ce.delayedDragEnterLogic||(ce.delayedDragEnterLogic={}),Object.keys(ce.delayedDragEnterLogic).forEach(function(na){clearTimeout(ce.delayedDragEnterLogic[na])}),un.props.eventKey!==qe.props.eventKey&&(fe.persist(),ce.delayedDragEnterLogic[Zt]=window.setTimeout(function(){if(ce.state.draggingNodeKey!==null){var na=(0,be.Z)(Ce),hn=(0,Se.Z)(at,qe.props.eventKey);hn&&(hn.children||[]).length&&(na=(0,st.L0)(Ce,qe.props.eventKey)),"expandedKeys"in ce.props||ce.setExpandedKeys(na),ht==null||ht(na,{node:(0,pe.F)(qe.props),expanded:!0,nativeEvent:fe.nativeEvent})}},800)),un.props.eventKey===Nt&&Rt===0){ce.resetDragState();return}ce.setState({dragOverNodeKey:jn,dropPosition:On,dropLevelOffset:Rt,dropTargetKey:Nt,dropContainerKey:Ht,dropTargetPos:ln,dropAllowed:nn}),_t==null||_t({event:fe,node:(0,pe.F)(qe.props),expandedKeys:Ce})},ce.onNodeDragOver=function(fe,qe){var ze=ce.state,Ce=ze.dragChildrenKeys,at=ze.flattenNodes,jt=ze.keyEntities,ct=ze.expandedKeys,Ot=ze.indent,Dt=ce.props,_t=Dt.onDragOver,ht=Dt.allowDrop,on=Dt.direction,tn=(0,Ne.Z)(ce),kt=tn.dragNode;if(kt){var Zt=(0,st.OM)(fe,kt,qe,Ot,ce.dragStartMousePosition,ht,at,jt,ct,on),$t=Zt.dropPosition,sn=Zt.dropLevelOffset,un=Zt.dropTargetKey,Cn=Zt.dropContainerKey,On=Zt.dropAllowed,Rt=Zt.dropTargetPos,Nt=Zt.dragOverNodeKey;Ce.indexOf(un)!==-1||!On||(kt.props.eventKey===un&&sn===0?ce.state.dropPosition===null&&ce.state.dropLevelOffset===null&&ce.state.dropTargetKey===null&&ce.state.dropContainerKey===null&&ce.state.dropTargetPos===null&&ce.state.dropAllowed===!1&&ce.state.dragOverNodeKey===null||ce.resetDragState():$t===ce.state.dropPosition&&sn===ce.state.dropLevelOffset&&un===ce.state.dropTargetKey&&Cn===ce.state.dropContainerKey&&Rt===ce.state.dropTargetPos&&On===ce.state.dropAllowed&&Nt===ce.state.dragOverNodeKey||ce.setState({dropPosition:$t,dropLevelOffset:sn,dropTargetKey:un,dropContainerKey:Cn,dropTargetPos:Rt,dropAllowed:On,dragOverNodeKey:Nt}),_t==null||_t({event:fe,node:(0,pe.F)(qe.props)}))}},ce.onNodeDragLeave=function(fe,qe){ce.currentMouseOverDroppableNodeKey===qe.props.eventKey&&!fe.currentTarget.contains(fe.relatedTarget)&&(ce.resetDragState(),ce.currentMouseOverDroppableNodeKey=null);var ze=ce.props.onDragLeave;ze==null||ze({event:fe,node:(0,pe.F)(qe.props)})},ce.onWindowDragEnd=function(fe){ce.onNodeDragEnd(fe,null,!0),window.removeEventListener("dragend",ce.onWindowDragEnd)},ce.onNodeDragEnd=function(fe,qe){var ze=ce.props.onDragEnd;ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),ze==null||ze({event:fe,node:(0,pe.F)(qe.props)}),ce.dragNode=null,window.removeEventListener("dragend",ce.onWindowDragEnd)},ce.onNodeDrop=function(fe,qe){var ze,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,at=ce.state,jt=at.dragChildrenKeys,ct=at.dropPosition,Ot=at.dropTargetKey,Dt=at.dropTargetPos,_t=at.dropAllowed;if(_t){var ht=ce.props.onDrop;if(ce.setState({dragOverNodeKey:null}),ce.cleanDragState(),Ot!==null){var on=(0,Re.Z)((0,Re.Z)({},(0,pe.H8)(Ot,ce.getTreeNodeRequiredProps())),{},{active:((ze=ce.getActiveItem())===null||ze===void 0?void 0:ze.key)===Ot,data:(0,Se.Z)(ce.state.keyEntities,Ot).node}),tn=jt.indexOf(Ot)!==-1;(0,E.ZP)(!tn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var kt=(0,st.yx)(Dt),Zt={event:fe,node:(0,pe.F)(on),dragNode:ce.dragNode?(0,pe.F)(ce.dragNode.props):null,dragNodesKeys:[ce.dragNode.props.eventKey].concat(jt),dropToGap:ct!==0,dropPosition:ct+Number(kt[kt.length-1])};Ce||ht==null||ht(Zt),ce.dragNode=null}}},ce.cleanDragState=function(){var fe=ce.state.draggingNodeKey;fe!==null&&ce.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ce.dragStartMousePosition=null,ce.currentMouseOverDroppableNodeKey=null},ce.triggerExpandActionExpand=function(fe,qe){var ze=ce.state,Ce=ze.expandedKeys,at=ze.flattenNodes,jt=qe.expanded,ct=qe.key,Ot=qe.isLeaf;if(!(Ot||fe.shiftKey||fe.metaKey||fe.ctrlKey)){var Dt=at.filter(function(ht){return ht.key===ct})[0],_t=(0,pe.F)((0,Re.Z)((0,Re.Z)({},(0,pe.H8)(ct,ce.getTreeNodeRequiredProps())),{},{data:Dt.data}));ce.setExpandedKeys(jt?(0,st._5)(Ce,ct):(0,st.L0)(Ce,ct)),ce.onNodeExpand(fe,_t)}},ce.onNodeClick=function(fe,qe){var ze=ce.props,Ce=ze.onClick,at=ze.expandAction;at==="click"&&ce.triggerExpandActionExpand(fe,qe),Ce==null||Ce(fe,qe)},ce.onNodeDoubleClick=function(fe,qe){var ze=ce.props,Ce=ze.onDoubleClick,at=ze.expandAction;at==="doubleClick"&&ce.triggerExpandActionExpand(fe,qe),Ce==null||Ce(fe,qe)},ce.onNodeSelect=function(fe,qe){var ze=ce.state.selectedKeys,Ce=ce.state,at=Ce.keyEntities,jt=Ce.fieldNames,ct=ce.props,Ot=ct.onSelect,Dt=ct.multiple,_t=qe.selected,ht=qe[jt.key],on=!_t;on?Dt?ze=(0,st.L0)(ze,ht):ze=[ht]:ze=(0,st._5)(ze,ht);var tn=ze.map(function(kt){var Zt=(0,Se.Z)(at,kt);return Zt?Zt.node:null}).filter(function(kt){return kt});ce.setUncontrolledState({selectedKeys:ze}),Ot==null||Ot(ze,{event:"select",selected:on,node:qe,selectedNodes:tn,nativeEvent:fe.nativeEvent})},ce.onNodeCheck=function(fe,qe,ze){var Ce=ce.state,at=Ce.keyEntities,jt=Ce.checkedKeys,ct=Ce.halfCheckedKeys,Ot=ce.props,Dt=Ot.checkStrictly,_t=Ot.onCheck,ht=qe.key,on,tn={event:"check",node:qe,checked:ze,nativeEvent:fe.nativeEvent};if(Dt){var kt=ze?(0,st.L0)(jt,ht):(0,st._5)(jt,ht),Zt=(0,st._5)(ct,ht);on={checked:kt,halfChecked:Zt},tn.checkedNodes=kt.map(function(Rt){return(0,Se.Z)(at,Rt)}).filter(function(Rt){return Rt}).map(function(Rt){return Rt.node}),ce.setUncontrolledState({checkedKeys:kt})}else{var $t=(0,Tt.S)([].concat((0,be.Z)(jt),[ht]),!0,at),sn=$t.checkedKeys,un=$t.halfCheckedKeys;if(!ze){var Cn=new Set(sn);Cn.delete(ht);var On=(0,Tt.S)(Array.from(Cn),{checked:!1,halfCheckedKeys:un},at);sn=On.checkedKeys,un=On.halfCheckedKeys}on=sn,tn.checkedNodes=[],tn.checkedNodesPositions=[],tn.halfCheckedKeys=un,sn.forEach(function(Rt){var Nt=(0,Se.Z)(at,Rt);if(Nt){var Ht=Nt.node,ln=Nt.pos;tn.checkedNodes.push(Ht),tn.checkedNodesPositions.push({node:Ht,pos:ln})}}),ce.setUncontrolledState({checkedKeys:sn},!1,{halfCheckedKeys:un})}_t==null||_t(on,tn)},ce.onNodeLoad=function(fe){var qe=fe.key,ze=new Promise(function(Ce,at){ce.setState(function(jt){var ct=jt.loadedKeys,Ot=ct===void 0?[]:ct,Dt=jt.loadingKeys,_t=Dt===void 0?[]:Dt,ht=ce.props,on=ht.loadData,tn=ht.onLoad;if(!on||Ot.indexOf(qe)!==-1||_t.indexOf(qe)!==-1)return null;var kt=on(fe);return kt.then(function(){var Zt=ce.state.loadedKeys,$t=(0,st.L0)(Zt,qe);tn==null||tn($t,{event:"load",node:fe}),ce.setUncontrolledState({loadedKeys:$t}),ce.setState(function(sn){return{loadingKeys:(0,st._5)(sn.loadingKeys,qe)}}),Ce()}).catch(function(Zt){if(ce.setState(function(sn){return{loadingKeys:(0,st._5)(sn.loadingKeys,qe)}}),ce.loadingRetryTimes[qe]=(ce.loadingRetryTimes[qe]||0)+1,ce.loadingRetryTimes[qe]>=Ft){var $t=ce.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ce.setUncontrolledState({loadedKeys:(0,st.L0)($t,qe)}),Ce()}at(Zt)}),{loadingKeys:(0,st.L0)(_t,qe)}})});return ze.catch(function(){}),ze},ce.onNodeMouseEnter=function(fe,qe){var ze=ce.props.onMouseEnter;ze==null||ze({event:fe,node:qe})},ce.onNodeMouseLeave=function(fe,qe){var ze=ce.props.onMouseLeave;ze==null||ze({event:fe,node:qe})},ce.onNodeContextMenu=function(fe,qe){var ze=ce.props.onRightClick;ze&&(fe.preventDefault(),ze({event:fe,node:qe}))},ce.onFocus=function(){var fe=ce.props.onFocus;ce.setState({focused:!0});for(var qe=arguments.length,ze=new Array(qe),Ce=0;Ce<qe;Ce++)ze[Ce]=arguments[Ce];fe==null||fe.apply(void 0,ze)},ce.onBlur=function(){var fe=ce.props.onBlur;ce.setState({focused:!1}),ce.onActiveChange(null);for(var qe=arguments.length,ze=new Array(qe),Ce=0;Ce<qe;Ce++)ze[Ce]=arguments[Ce];fe==null||fe.apply(void 0,ze)},ce.getTreeNodeRequiredProps=function(){var fe=ce.state,qe=fe.expandedKeys,ze=fe.selectedKeys,Ce=fe.loadedKeys,at=fe.loadingKeys,jt=fe.checkedKeys,ct=fe.halfCheckedKeys,Ot=fe.dragOverNodeKey,Dt=fe.dropPosition,_t=fe.keyEntities;return{expandedKeys:qe||[],selectedKeys:ze||[],loadedKeys:Ce||[],loadingKeys:at||[],checkedKeys:jt||[],halfCheckedKeys:ct||[],dragOverNodeKey:Ot,dropPosition:Dt,keyEntities:_t}},ce.setExpandedKeys=function(fe){var qe=ce.state,ze=qe.treeData,Ce=qe.fieldNames,at=(0,pe.oH)(ze,fe,Ce);ce.setUncontrolledState({expandedKeys:fe,flattenNodes:at},!0)},ce.onNodeExpand=function(fe,qe){var ze=ce.state.expandedKeys,Ce=ce.state,at=Ce.listChanging,jt=Ce.fieldNames,ct=ce.props,Ot=ct.onExpand,Dt=ct.loadData,_t=qe.expanded,ht=qe[jt.key];if(!at){var on=ze.indexOf(ht),tn=!_t;if((0,E.ZP)(_t&&on!==-1||!_t&&on===-1,"Expand state not sync with index check"),tn?ze=(0,st.L0)(ze,ht):ze=(0,st._5)(ze,ht),ce.setExpandedKeys(ze),Ot==null||Ot(ze,{node:qe,expanded:tn,nativeEvent:fe.nativeEvent}),tn&&Dt){var kt=ce.onNodeLoad(qe);kt&&kt.then(function(){var Zt=(0,pe.oH)(ce.state.treeData,ze,jt);ce.setUncontrolledState({flattenNodes:Zt})}).catch(function(){var Zt=ce.state.expandedKeys,$t=(0,st._5)(Zt,ht);ce.setExpandedKeys($t)})}}},ce.onListChangeStart=function(){ce.setUncontrolledState({listChanging:!0})},ce.onListChangeEnd=function(){setTimeout(function(){ce.setUncontrolledState({listChanging:!1})})},ce.onActiveChange=function(fe){var qe=ce.state.activeKey,ze=ce.props.onActiveChange;qe!==fe&&(ce.setState({activeKey:fe}),fe!==null&&ce.scrollTo({key:fe}),ze==null||ze(fe))},ce.getActiveItem=function(){var fe=ce.state,qe=fe.activeKey,ze=fe.flattenNodes;return qe===null?null:ze.find(function(Ce){var at=Ce.key;return at===qe})||null},ce.offsetActiveKey=function(fe){var qe=ce.state,ze=qe.flattenNodes,Ce=qe.activeKey,at=ze.findIndex(function(Ot){var Dt=Ot.key;return Dt===Ce});at===-1&&fe<0&&(at=ze.length),at=(at+fe+ze.length)%ze.length;var jt=ze[at];if(jt){var ct=jt.key;ce.onActiveChange(ct)}else ce.onActiveChange(null)},ce.onKeyDown=function(fe){var qe=ce.state,ze=qe.activeKey,Ce=qe.expandedKeys,at=qe.checkedKeys,jt=qe.fieldNames,ct=ce.props,Ot=ct.onKeyDown,Dt=ct.checkable,_t=ct.selectable;switch(fe.which){case Ee.Z.UP:{ce.offsetActiveKey(-1),fe.preventDefault();break}case Ee.Z.DOWN:{ce.offsetActiveKey(1),fe.preventDefault();break}}var ht=ce.getActiveItem();if(ht&&ht.data){var on=ce.getTreeNodeRequiredProps(),tn=ht.data.isLeaf===!1||!!(ht.data[jt.children]||[]).length,kt=(0,pe.F)((0,Re.Z)((0,Re.Z)({},(0,pe.H8)(ze,on)),{},{data:ht.data,active:!0}));switch(fe.which){case Ee.Z.LEFT:{tn&&Ce.includes(ze)?ce.onNodeExpand({},kt):ht.parent&&ce.onActiveChange(ht.parent.key),fe.preventDefault();break}case Ee.Z.RIGHT:{tn&&!Ce.includes(ze)?ce.onNodeExpand({},kt):ht.children&&ht.children.length&&ce.onActiveChange(ht.children[0].key),fe.preventDefault();break}case Ee.Z.ENTER:case Ee.Z.SPACE:{Dt&&!kt.disabled&&kt.checkable!==!1&&!kt.disableCheckbox?ce.onNodeCheck({},kt,!at.includes(ze)):!Dt&&_t&&!kt.disabled&&kt.selectable!==!1&&ce.onNodeSelect({},kt);break}}}Ot==null||Ot(fe)},ce.setUncontrolledState=function(fe){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ce.destroyed){var Ce=!1,at=!0,jt={};Object.keys(fe).forEach(function(ct){if(ct in ce.props){at=!1;return}Ce=!0,jt[ct]=fe[ct]}),Ce&&(!qe||at)&&ce.setState((0,Re.Z)((0,Re.Z)({},jt),ze))}},ce.scrollTo=function(fe){ce.listRef.current.scrollTo(fe)},ce}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 He=this.props.activeKey;He!==void 0&&He!==this.state.activeKey&&(this.setState({activeKey:He}),He!==null&&this.scrollTo({key:He}))}},{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 He,ut=this.state,he=ut.focused,fe=ut.flattenNodes,qe=ut.keyEntities,ze=ut.draggingNodeKey,Ce=ut.activeKey,at=ut.dropLevelOffset,jt=ut.dropContainerKey,ct=ut.dropTargetKey,Ot=ut.dropPosition,Dt=ut.dragOverNodeKey,_t=ut.indent,ht=this.props,on=ht.prefixCls,tn=ht.className,kt=ht.style,Zt=ht.showLine,$t=ht.focusable,sn=ht.tabIndex,un=sn===void 0?0:sn,Cn=ht.selectable,On=ht.showIcon,Rt=ht.icon,Nt=ht.switcherIcon,Ht=ht.draggable,ln=ht.checkable,nn=ht.checkStrictly,jn=ht.disabled,na=ht.motion,hn=ht.loadData,Qt=ht.filterTreeNode,Wn=ht.height,Me=ht.itemHeight,rt=ht.virtual,Pt=ht.titleRender,Bt=ht.dropIndicatorRender,Jt=ht.onContextMenu,Wt=ht.onScroll,Kt=ht.direction,Ve=ht.rootClassName,Ye=ht.rootStyle,Je=(0,oe.Z)(this.props,{aria:!0,data:!0}),Et;return Ht&&((0,Pe.Z)(Ht)==="object"?Et=Ht:typeof Ht=="function"?Et={nodeDraggable:Ht}:Et={}),a.createElement(b.k.Provider,{value:{prefixCls:on,selectable:Cn,showIcon:On,icon:Rt,switcherIcon:Nt,draggable:Et,draggingNodeKey:ze,checkable:ln,checkStrictly:nn,disabled:jn,keyEntities:qe,dropLevelOffset:at,dropContainerKey:jt,dropTargetKey:ct,dropPosition:Ot,dragOverNodeKey:Dt,indent:_t,direction:Kt,dropIndicatorRender:Bt,loadData:hn,filterTreeNode:Qt,titleRender:Pt,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:je()(on,tn,Ve,(He={},(0,ie.Z)(He,"".concat(on,"-show-line"),Zt),(0,ie.Z)(He,"".concat(on,"-focused"),he),(0,ie.Z)(He,"".concat(on,"-active-focused"),Ce!==null),He)),style:Ye},a.createElement(zt,(0,z.Z)({ref:this.listRef,prefixCls:on,style:kt,data:fe,disabled:jn,selectable:Cn,checkable:!!ln,motion:na,dragging:ze!==null,height:Wn,itemHeight:Me,virtual:rt,focusable:$t,focused:he,tabIndex:un,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Jt,onScroll:Wt},this.getTreeNodeRequiredProps(),Je))))}}],[{key:"getDerivedStateFromProps",value:function(He,ut){var he=ut.prevProps,fe={prevProps:He};function qe($t){return!he&&$t in He||he&&he[$t]!==He[$t]}var ze,Ce=ut.fieldNames;if(qe("fieldNames")&&(Ce=(0,pe.w$)(He.fieldNames),fe.fieldNames=Ce),qe("treeData")?ze=He.treeData:qe("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ze=(0,pe.zn)(He.children)),ze){fe.treeData=ze;var at=(0,pe.I8)(ze,{fieldNames:Ce});fe.keyEntities=(0,Re.Z)((0,ie.Z)({},nt,Xe),at.keyEntities)}var jt=fe.keyEntities||ut.keyEntities;if(qe("expandedKeys")||he&&qe("autoExpandParent"))fe.expandedKeys=He.autoExpandParent||!he&&He.defaultExpandParent?(0,st.r7)(He.expandedKeys,jt):He.expandedKeys;else if(!he&&He.defaultExpandAll){var ct=(0,Re.Z)({},jt);delete ct[nt],fe.expandedKeys=Object.keys(ct).map(function($t){return ct[$t].key})}else!he&&He.defaultExpandedKeys&&(fe.expandedKeys=He.autoExpandParent||He.defaultExpandParent?(0,st.r7)(He.defaultExpandedKeys,jt):He.defaultExpandedKeys);if(fe.expandedKeys||delete fe.expandedKeys,ze||fe.expandedKeys){var Ot=(0,pe.oH)(ze||ut.treeData,fe.expandedKeys||ut.expandedKeys,Ce);fe.flattenNodes=Ot}if(He.selectable&&(qe("selectedKeys")?fe.selectedKeys=(0,st.BT)(He.selectedKeys,He):!he&&He.defaultSelectedKeys&&(fe.selectedKeys=(0,st.BT)(He.defaultSelectedKeys,He))),He.checkable){var Dt;if(qe("checkedKeys")?Dt=(0,st.E6)(He.checkedKeys)||{}:!he&&He.defaultCheckedKeys?Dt=(0,st.E6)(He.defaultCheckedKeys)||{}:ze&&(Dt=(0,st.E6)(He.checkedKeys)||{checkedKeys:ut.checkedKeys,halfCheckedKeys:ut.halfCheckedKeys}),Dt){var _t=Dt,ht=_t.checkedKeys,on=ht===void 0?[]:ht,tn=_t.halfCheckedKeys,kt=tn===void 0?[]:tn;if(!He.checkStrictly){var Zt=(0,Tt.S)(on,!0,jt);on=Zt.checkedKeys,kt=Zt.halfCheckedKeys}fe.checkedKeys=on,fe.halfCheckedKeys=kt}}return qe("loadedKeys")&&(fe.loadedKeys=He.loadedKeys),fe}}]),ve}(a.Component);Yt.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:y,allowDrop:function(){return!0},expandAction:!1},Yt.TreeNode=me.Z;var yt=Yt,ft=yt},35654:function(pt,vt,ne){"use strict";ne.d(vt,{BT:function(){return a},E6:function(){return x},L0:function(){return we},OM:function(){return E},_5:function(){return Oe},r7:function(){return ee},wA:function(){return je},yx:function(){return De}});var z=ne(26407),ie=ne(39559),Pe=ne(48736),Re=ne(59301),be=ne(39417),xe=ne(67841),re=ne(71430),Ne=null;function Oe(te,ae){if(!te)return[];var se=te.slice(),de=se.indexOf(ae);return de>=0&&se.splice(de,1),se}function we(te,ae){var se=(te||[]).slice();return se.indexOf(ae)===-1&&se.push(ae),se}function De(te){return te.split("-")}function je(te,ae){var se=[],de=(0,xe.Z)(ae,te);function me(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Be.forEach(function(pe){var Fe=pe.key,ge=pe.children;se.push(Fe),me(ge)})}return me(de.children),se}function Ee(te){if(te.parent){var ae=De(te.pos);return Number(ae[ae.length-1])===te.parent.children.length-1}return!1}function oe(te){var ae=De(te.pos);return Number(ae[ae.length-1])===0}function E(te,ae,se,de,me,Be,pe,Fe,ge,tt){var Ie,Qe=te.clientX,_e=te.clientY,We=te.target.getBoundingClientRect(),it=We.top,Ct=We.height,nt=(tt==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-Qe),Lt=(nt-12)/de,Xe=(0,xe.Z)(Fe,se.props.eventKey);if(_e<it+Ct/2){var xt=pe.findIndex(function(ft){return ft.key===Xe.key}),Mt=xt<=0?0:xt-1,Te=pe[Mt].key;Xe=(0,xe.Z)(Fe,Te)}var $e=Xe.key,mt=Xe,zt=Xe.key,st=0,Tt=0;if(!ge.includes($e))for(var Se=0;Se<Lt&&Ee(Xe);Se+=1)Xe=Xe.parent,Tt+=1;var Ft=ae.props.data,Yt=Xe.node,yt=!0;return oe(Xe)&&Xe.level===0&&_e<it+Ct/2&&Be({dragNode:Ft,dropNode:Yt,dropPosition:-1})&&Xe.key===se.props.eventKey?st=-1:(mt.children||[]).length&&ge.includes(zt)?Be({dragNode:Ft,dropNode:Yt,dropPosition:0})?st=0:yt=!1:Tt===0?Lt>-1.5?Be({dragNode:Ft,dropNode:Yt,dropPosition:1})?st=1:yt=!1:Be({dragNode:Ft,dropNode:Yt,dropPosition:0})?st=0:Be({dragNode:Ft,dropNode:Yt,dropPosition:1})?st=1:yt=!1:Be({dragNode:Ft,dropNode:Yt,dropPosition:1})?st=1:yt=!1,{dropPosition:st,dropLevelOffset:Tt,dropTargetKey:Xe.key,dropTargetPos:Xe.pos,dragOverNodeKey:zt,dropContainerKey:st===0?null:((Ie=Xe.parent)===null||Ie===void 0?void 0:Ie.key)||null,dropAllowed:yt}}function a(te,ae){if(te){var se=ae.multiple;return se?te.slice():te.length?[te[0]]:te}}var b=function(ae){return ae};function y(te,ae){if(!te)return[];var se=ae||{},de=se.processProps,me=de===void 0?b:de,Be=Array.isArray(te)?te:[te];return Be.map(function(pe){var Fe=pe.children,ge=_objectWithoutProperties(pe,Ne),tt=y(Fe,ae);return React.createElement(TreeNode,_extends({key:ge.key},me(ge)),tt)})}function x(te){if(!te)return null;var ae;if(Array.isArray(te))ae={checkedKeys:te,halfCheckedKeys:void 0};else if((0,ie.Z)(te)==="object")ae={checkedKeys:te.checked||void 0,halfCheckedKeys:te.halfChecked||void 0};else return(0,Pe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function ee(te,ae){var se=new Set;function de(me){if(!se.has(me)){var Be=(0,xe.Z)(ae,me);if(Be){se.add(me);var pe=Be.parent,Fe=Be.node;Fe.disabled||pe&&de(pe.key)}}}return(te||[]).forEach(function(me){de(me)}),(0,z.Z)(se)}},90782:function(pt,vt,ne){"use strict";ne.d(vt,{S:function(){return re}});var z=ne(48736),ie=ne(67841);function Pe(Ne,Oe){var we=new Set;return Ne.forEach(function(De){Oe.has(De)||we.add(De)}),we}function Re(Ne){var Oe=Ne||{},we=Oe.disabled,De=Oe.disableCheckbox,je=Oe.checkable;return!!(we||De)||je===!1}function be(Ne,Oe,we,De){for(var je=new Set(Ne),Ee=new Set,oe=0;oe<=we;oe+=1){var E=Oe.get(oe)||new Set;E.forEach(function(x){var ee=x.key,te=x.node,ae=x.children,se=ae===void 0?[]:ae;je.has(ee)&&!De(te)&&se.filter(function(de){return!De(de.node)}).forEach(function(de){je.add(de.key)})})}for(var a=new Set,b=we;b>=0;b-=1){var y=Oe.get(b)||new Set;y.forEach(function(x){var ee=x.parent,te=x.node;if(!(De(te)||!x.parent||a.has(x.parent.key))){if(De(x.parent.node)){a.add(ee.key);return}var ae=!0,se=!1;(ee.children||[]).filter(function(de){return!De(de.node)}).forEach(function(de){var me=de.key,Be=je.has(me);ae&&!Be&&(ae=!1),!se&&(Be||Ee.has(me))&&(se=!0)}),ae&&je.add(ee.key),se&&Ee.add(ee.key),a.add(ee.key)}})}return{checkedKeys:Array.from(je),halfCheckedKeys:Array.from(Pe(Ee,je))}}function xe(Ne,Oe,we,De,je){for(var Ee=new Set(Ne),oe=new Set(Oe),E=0;E<=De;E+=1){var a=we.get(E)||new Set;a.forEach(function(ee){var te=ee.key,ae=ee.node,se=ee.children,de=se===void 0?[]:se;!Ee.has(te)&&!oe.has(te)&&!je(ae)&&de.filter(function(me){return!je(me.node)}).forEach(function(me){Ee.delete(me.key)})})}oe=new Set;for(var b=new Set,y=De;y>=0;y-=1){var x=we.get(y)||new Set;x.forEach(function(ee){var te=ee.parent,ae=ee.node;if(!(je(ae)||!ee.parent||b.has(ee.parent.key))){if(je(ee.parent.node)){b.add(te.key);return}var se=!0,de=!1;(te.children||[]).filter(function(me){return!je(me.node)}).forEach(function(me){var Be=me.key,pe=Ee.has(Be);se&&!pe&&(se=!1),!de&&(pe||oe.has(Be))&&(de=!0)}),se||Ee.delete(te.key),de&&oe.add(te.key),b.add(te.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(Pe(oe,Ee))}}function re(Ne,Oe,we,De){var je=[],Ee;De?Ee=De:Ee=Re;var oe=new Set(Ne.filter(function(y){var x=!!(0,ie.Z)(we,y);return x||je.push(y),x})),E=new Map,a=0;Object.keys(we).forEach(function(y){var x=we[y],ee=x.level,te=E.get(ee);te||(te=new Set,E.set(ee,te)),te.add(x),a=Math.max(a,ee)}),(0,z.ZP)(!je.length,"Tree missing follow keys: ".concat(je.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var b;return Oe===!0?b=be(oe,E,a,Ee):b=xe(oe,Oe.halfCheckedKeys,E,a,Ee),b}},67841:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return z}});function z(ie,Pe){return ie[Pe]}},71430:function(pt,vt,ne){"use strict";ne.d(vt,{F:function(){return ee},H8:function(){return x},I8:function(){return y},km:function(){return je},oH:function(){return a},w$:function(){return Ee},zn:function(){return E}});var z=ne(39559),ie=ne(26407),Pe=ne(33708),Re=ne(37061),be=ne(11592),xe=ne(2738),re=ne(48736),Ne=ne(67841),Oe=["children"];function we(te,ae){return"".concat(te,"-").concat(ae)}function De(te){return te&&te.type&&te.type.isTreeNode}function je(te,ae){return te!=null?te:ae}function Ee(te){var ae=te||{},se=ae.title,de=ae._title,me=ae.key,Be=ae.children,pe=se||"title";return{title:pe,_title:de||[pe],key:me||"key",children:Be||"children"}}function oe(te,ae){var se=new Map;function de(me){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(me||[]).forEach(function(pe){var Fe=pe[ae.key],ge=pe[ae.children];warning(Fe!=null,"Tree node must have a certain key: [".concat(Be).concat(Fe,"]"));var tt=String(Fe);warning(!se.has(tt)||Fe===null||Fe===void 0,"Same 'key' exist in the Tree: ".concat(tt)),se.set(tt,!0),de(ge,"".concat(Be).concat(tt," > "))})}de(te)}function E(te){function ae(se){var de=(0,be.Z)(se);return de.map(function(me){if(!De(me))return(0,re.ZP)(!me,"Tree/TreeNode can only accept TreeNode as children."),null;var Be=me.key,pe=me.props,Fe=pe.children,ge=(0,Re.Z)(pe,Oe),tt=(0,Pe.Z)({key:Be},ge),Ie=ae(Fe);return Ie.length&&(tt.children=Ie),tt}).filter(function(me){return me})}return ae(te)}function a(te,ae,se){var de=Ee(se),me=de._title,Be=de.key,pe=de.children,Fe=new Set(ae===!0?[]:ae),ge=[];function tt(Ie){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ie.map(function(_e,We){for(var it=we(Qe?Qe.pos:"0",We),Ct=je(_e[Be],it),nt,Lt=0;Lt<me.length;Lt+=1){var Xe=me[Lt];if(_e[Xe]!==void 0){nt=_e[Xe];break}}var xt=(0,Pe.Z)((0,Pe.Z)({},(0,xe.Z)(_e,[].concat((0,ie.Z)(me),[Be,pe]))),{},{title:nt,key:Ct,parent:Qe,pos:it,children:null,data:_e,isStart:[].concat((0,ie.Z)(Qe?Qe.isStart:[]),[We===0]),isEnd:[].concat((0,ie.Z)(Qe?Qe.isEnd:[]),[We===Ie.length-1])});return ge.push(xt),ae===!0||Fe.has(Ct)?xt.children=tt(_e[pe]||[],xt):xt.children=[],xt})}return tt(te),ge}function b(te,ae,se){var de={};(0,z.Z)(se)==="object"?de=se:de={externalGetKey:se},de=de||{};var me=de,Be=me.childrenPropName,pe=me.externalGetKey,Fe=me.fieldNames,ge=Ee(Fe),tt=ge.key,Ie=ge.children,Qe=Be||Ie,_e;pe?typeof pe=="string"?_e=function(Ct){return Ct[pe]}:typeof pe=="function"&&(_e=function(Ct){return pe(Ct)}):_e=function(Ct,nt){return je(Ct[tt],nt)};function We(it,Ct,nt,Lt){var Xe=it?it[Qe]:te,xt=it?we(nt.pos,Ct):"0",Mt=it?[].concat((0,ie.Z)(Lt),[it]):[];if(it){var Te=_e(it,xt),$e={node:it,index:Ct,pos:xt,key:Te,parentPos:nt.node?nt.pos:null,level:nt.level+1,nodes:Mt};ae($e)}Xe&&Xe.forEach(function(mt,zt){We(mt,zt,{node:it,pos:xt,level:nt?nt.level+1:-1},Mt)})}We(null)}function y(te){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},se=ae.initWrapper,de=ae.processEntity,me=ae.onProcessFinished,Be=ae.externalGetKey,pe=ae.childrenPropName,Fe=ae.fieldNames,ge=arguments.length>2?arguments[2]:void 0,tt=Be||ge,Ie={},Qe={},_e={posEntities:Ie,keyEntities:Qe};return se&&(_e=se(_e)||_e),b(te,function(We){var it=We.node,Ct=We.index,nt=We.pos,Lt=We.key,Xe=We.parentPos,xt=We.level,Mt=We.nodes,Te={node:it,nodes:Mt,index:Ct,key:Lt,pos:nt,level:xt},$e=je(Lt,nt);Ie[nt]=Te,Qe[$e]=Te,Te.parent=Ie[Xe],Te.parent&&(Te.parent.children=Te.parent.children||[],Te.parent.children.push(Te)),de&&de(Te,_e)},{externalGetKey:tt,childrenPropName:pe,fieldNames:Fe}),me&&me(_e),_e}function x(te,ae){var se=ae.expandedKeys,de=ae.selectedKeys,me=ae.loadedKeys,Be=ae.loadingKeys,pe=ae.checkedKeys,Fe=ae.halfCheckedKeys,ge=ae.dragOverNodeKey,tt=ae.dropPosition,Ie=ae.keyEntities,Qe=(0,Ne.Z)(Ie,te),_e={eventKey:te,expanded:se.indexOf(te)!==-1,selected:de.indexOf(te)!==-1,loaded:me.indexOf(te)!==-1,loading:Be.indexOf(te)!==-1,checked:pe.indexOf(te)!==-1,halfChecked:Fe.indexOf(te)!==-1,pos:String(Qe?Qe.pos:""),dragOver:ge===te&&tt===0,dragOverGapTop:ge===te&&tt===-1,dragOverGapBottom:ge===te&&tt===1};return _e}function ee(te){var ae=te.data,se=te.expanded,de=te.selected,me=te.checked,Be=te.loaded,pe=te.loading,Fe=te.halfChecked,ge=te.dragOver,tt=te.dragOverGapTop,Ie=te.dragOverGapBottom,Qe=te.pos,_e=te.active,We=te.eventKey,it=(0,Pe.Z)((0,Pe.Z)({},ae),{},{expanded:se,selected:de,checked:me,loaded:Be,loading:pe,halfChecked:Fe,dragOver:ge,dragOverGapTop:tt,dragOverGapBottom:Ie,pos:Qe,active:_e,key:We});return"props"in it||Object.defineProperty(it,"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`."),te}}),it}},8224:function(pt,vt,ne){"use strict";ne.d(vt,{Z:function(){return ie}});var z=ne(4676);function ie(Pe,Re,be,xe){var re=z.unstable_batchedUpdates?function(Oe){z.unstable_batchedUpdates(be,Oe)}:be;return Pe!=null&&Pe.addEventListener&&Pe.addEventListener(Re,re,xe),{remove:function(){Pe!=null&&Pe.removeEventListener&&Pe.removeEventListener(Re,re,xe)}}}},55468:function(pt,vt,ne){"use strict";ne.d(vt,{g1:function(){return De},os:function(){return Ee}});var z=/margin|padding|width|height|max|min|offset/,ie={left:!0,top:!0},Pe={cssFloat:1,styleFloat:1,float:1};function Re(oe){return oe.nodeType===1?oe.ownerDocument.defaultView.getComputedStyle(oe,null):{}}function be(oe,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return oe.offsetHeight;if(E==="width")return oe.offsetWidth}return E in ie||(ie[E]=z.test(E)),ie[E]?parseFloat(a)||0:a}function xe(oe,E){var a=arguments.length,b=Re(oe);return E=Pe[E]?"cssFloat"in oe.style?"cssFloat":"styleFloat":E,a===1?b:be(oe,E,b[E]||oe.style[E])}function re(oe,E,a){var b=arguments.length;if(E=Pe[E]?"cssFloat"in oe.style?"cssFloat":"styleFloat":E,b===3)return typeof a=="number"&&z.test(E)&&(a="".concat(a,"px")),oe.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&re(oe,y,E[y]);return Re(oe)}function Ne(oe){return oe===document.body?document.documentElement.clientWidth:oe.offsetWidth}function Oe(oe){return oe===document.body?window.innerHeight||document.documentElement.clientHeight:oe.offsetHeight}function we(){var oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:oe,height:E}}function De(){var oe=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:oe,height:E}}function je(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ee(oe){var E=oe.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(pt,vt,ne){"use strict";ne.d(vt,{G:function(){return Re}});var z=ne(47273),ie=function(xe){if((0,z.Z)()&&window.document.documentElement){var re=Array.isArray(xe)?xe:[xe],Ne=window.document.documentElement;return re.some(function(Oe){return Oe in Ne.style})}return!1},Pe=function(xe,re){if(!ie(xe))return!1;var Ne=document.createElement("div"),Oe=Ne.style[xe];return Ne.style[xe]=re,Ne.style[xe]!==Oe};function Re(be,xe){return!Array.isArray(be)&&xe!==void 0?Pe(be,xe):ie(be)}},32637:function(pt,vt,ne){"use strict";pt.exports=ne.p+"static/AssistantCode3.a8740efb.jpeg"},96908:function(pt){"use strict";pt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSe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