!(function(){var Rd=Object.defineProperty,kd=Object.defineProperties;var jd=Object.getOwnPropertyDescriptors;var Kc=Object.getOwnPropertySymbols;var Cd=Object.prototype.hasOwnProperty,bd=Object.prototype.propertyIsEnumerable;var Ed=(qt,Ot,ge)=>Ot in qt?Rd(qt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:ge}):qt[Ot]=ge,bu=(qt,Ot)=>{for(var ge in Ot||(Ot={}))Cd.call(Ot,ge)&&Ed(qt,ge,Ot[ge]);if(Kc)for(var ge of Kc(Ot))bd.call(Ot,ge)&&Ed(qt,ge,Ot[ge]);return qt},ld=(qt,Ot)=>kd(qt,jd(Ot));var Pd=(qt,Ot)=>{var ge={};for(var Ae in qt)Cd.call(qt,Ae)&&Ot.indexOf(Ae)<0&&(ge[Ae]=qt[Ae]);if(qt!=null&&Kc)for(var Ae of Kc(qt))Ot.indexOf(Ae)<0&&bd.call(qt,Ae)&&(ge[Ae]=qt[Ae]);return ge};(self.webpackChunk=self.webpackChunk||[]).push([[5330],{52310:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},33463:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},28575:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},84249:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},81893:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},55304:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},73148:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},56747:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},50881:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},22751:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},34182:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},74664:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},91034:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},87922:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return pe}});var Ae=ge(87462),ye=ge(67294),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},_e=Ke,ze=ge(74643),je=function(Le,ce){return ye.createElement(ze.Z,(0,Ae.Z)({},Le,{ref:ce,icon:_e}))},pe=ye.forwardRef(je)},71736:function(qt,Ot){"use strict";Ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},18023:function(){"use strict";function qt(ie,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=ie,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(qt.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(qt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(qt.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(qt.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,y){var a=go.Shape._FigureParameters[ie];return a?a[y]:null},go.Shape.setFigureParameter=function(ie,y,a){if(!(a instanceof qt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[ie];b||(b=[],go.Shape._FigureParameters[ie]=b),b[y]=a};var Ot=[];function ge(ie,y){var a=Ot.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function Ae(){var ie=Ot.pop();return ie===void 0?new go.Point:ie}function ye(ie){Ot.push(ie)}function Ke(ie,y,a,b,E,x,z,ae,de){de||(de=new go.Point);var we=ie-a,be=E-z,Ne=NaN,We=NaN;if(we===0)if(be===0)ie===a&&(Ne=ie,We=y);else{var Ze=(x-ae)/be,at=x-Ze*E;Ne=ie,We=Ze*Ne+at}else if(be===0){var Ue=(y-b)/we,Bt=y-Ue*ie;Ne=E,We=Ue*Ne+Bt}else{var Ue=(y-b)/we,Ze=(x-ae)/be,Bt=y-Ue*ie,at=x-Ze*E;Ne=(at-Bt)/(Ue-Ze),We=Ue*Ne+Bt}return de.x=Ne,de.y=We,de}function _e(ie,y,a,b,E,x,z,ae,de,we,be,Ne,We,Ze){var at=1-de,Ue=de,Bt=ie*at+a*Ue,Me=y*at+b*Ue,Nt=a*at+E*Ue,ut=b*at+x*Ue,At=E*at+z*Ue,Lt=x*at+ae*Ue,dt=Bt*at+Nt*Ue,vt=Me*at+ut*Ue,et=Nt*at+At*Ue,ct=ut*at+Lt*Ue,an=dt*at+et*Ue,En=vt*at+ct*Ue;we.x=Bt,we.y=Me,be.x=dt,be.y=vt,Ne.x=an,Ne.y=En,We.x=et,We.y=ct,Ze.x=At,Ze.y=Lt}var ze=new go.Spot(.156,.156),je=new go.Spot(.844,.844),pe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new qt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,y,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*pe,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(ie,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=ze,E.spot2=je,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ie,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(ie,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,pe*y,0,y,(1-pe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,pe*a,(1-pe)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,pe*a,pe*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-pe)*y,0,0,(1-pe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new qt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E.5&&(b=.5);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ae,ae).close())),x.spot1=ze,x.spot2=je,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new qt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new qt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var b=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var z=E%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,x,z,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,y,a){var b=pe/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,x*a,y,(1-b)*a,(E+b)*y,(x+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,y,a){var b=ie?ie.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var x=y/2,z=a/2,ae=Math.atan2(a,y),de=b-Math.min(Math.cos(ae)*b/2,x),we=b-Math.min(Math.sin(ae)*b/2,z),E=new go.Geometry,be=new go.PathFigure(de,0,!0);return E.add(be),be.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),be.add(new go.PathSegment(go.PathSegment.Line,y-de,0)),be.add(new go.PathSegment(go.PathSegment.Line,y,we)),be.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,y,a-we)),be.add(new go.PathSegment(go.PathSegment.Line,y-de,a)),be.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),be.add(new go.PathSegment(go.PathSegment.Line,de,a)),be.add(new go.PathSegment(go.PathSegment.Line,0,a-we)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,0,we).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new qt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new qt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,pe*y,0,y,(.5-pe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+pe/2)*a,pe*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ae=0,de=x*pe;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+de+ae)*a,(.5-de+z)*y,(.5+x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ae)*a,(.5+de+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z)*y,(.5-de+ae)*a,(.5+de+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-de+z)*y,(.5-x+ae)*a,(.5-x+z+.05)*y,(.5-de+ae-.02)*a)),x=.2,z=0,ae=-.3,de=x*pe,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ae)*a,(.5+de+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z)*y,(.5-de+ae)*a,(.5+de+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ae)*a,(.5-de+z)*y,(.5-x+ae)*a,(.5-x+z)*y,(.5-de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+de+ae)*a,(.5-de+z)*y,(.5+x+ae)*a)),x=.2,z=-.3,ae=0,de=x*pe,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z-.05)*y,(.5-de+ae-.02)*a,(.5+de+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ae)*a,(.5-de+z)*y,(.5-x+ae)*a,(.5-x+z)*y,(.5-de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+de+ae)*a,(.5-de+z)*y,(.5+x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+de+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+de+ae)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ae=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ae*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ae,x*y,x*y).close()),E=new go.PathFigure(y*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,E=new go.PathFigure((z+x)*y,ae*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ae,x*y,x*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ie,y,a){var b=.8535533905932737,E=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=.5,ae=.5,de=new go.PathFigure(z*y,(ae-x)*a);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),x=.4,E=pe*.4;var we=Ae(),be=Ae(),Ne=Ae(),We=Ae();_e(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.42,we,be,Ne,We,We);var Ze=Ae(),at=Ae(),Ue=Ae();_e(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.58,We,We,Ue,Ze,at);var Bt=Ae(),Me=Ae(),Nt=Ae();_e(z,ae+x,z-E,ae+x,z-x,ae+E,z-x,ae,.42,Bt,Me,Nt,We,We);var ut=Ae(),At=Ae(),Lt=Ae();return _e(z,ae+x,z-E,ae+x,z-x,ae+E,z-x,ae,.58,We,We,Lt,ut,At),de.add(new go.PathSegment(go.PathSegment.Move,Lt.x*y,Lt.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,ut.x*y,ut.y*a,At.x*y,At.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Ne.x*y,Ne.y*a,we.x*y,we.y*a,be.x*y,be.y*a)),de.add(new go.PathSegment(go.PathSegment.Line,Lt.x*y,Lt.y*a).close()),de.add(new go.PathSegment(go.PathSegment.Move,Nt.x*y,Nt.y*a)),de.add(new go.PathSegment(go.PathSegment.Line,Ue.x*y,Ue.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,Ze.x*y,Ze.y*a,at.x*y,at.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Nt.x*y,Nt.y*a,Bt.x*y,Bt.y*a,Me.x*y,Me.y*a).close()),ye(we),ye(be),ye(Ne),ye(We),ye(Ze),ye(at),ye(Ue),ye(Bt),ye(Me),ye(Nt),ye(ut),ye(At),ye(Lt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new qt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,y,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,y,a){var b=new go.Geometry,E=pe*.4,x=.4,z=.5,ae=.5,de=Ae(),we=Ae(),be=Ae(),Ne=Ae(),We=new go.PathFigure((z-x)*y,ae*a,!1);b.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),_e(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.44,be,Ne,we,de,de),We.add(new go.PathSegment(go.PathSegment.Bezier,we.x*y,we.y*a,be.x*y,be.y*a,Ne.x*y,Ne.y*a));var Ze=ge(we.x,we.y);_e(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.56,de,de,we,be,Ne);var at=ge(we.x,we.y);We.add(new go.PathSegment(go.PathSegment.Line,(Ze.x*.1+.95*.9)*y,Ze.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ze.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),We.add(new go.PathSegment(go.PathSegment.Line,y,0)),We.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(at.x*.1+.9)*y,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(at.x*.1+.9)*y,(at.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,at.x*y,at.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,be.x*y,be.y*a,Ne.x*y,Ne.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),x=.35,E=pe*.35;var Ue=new go.PathFigure(z*y,(ae-x)*a,!1);b.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a));var Bt=new go.PathFigure((z-x)*y,ae*a,!1);return b.add(Bt),ye(de),ye(we),ye(be),ye(Ne),ye(Ze),ye(at),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(ie,y,a){var b=new go.Geometry,E=.375,x=0,z=-.125,ae=E*pe,de=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ae+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ae+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ae+z)*a,(.5+ae+x)*y,(.5-E+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ae+z)*a,(.5-ae+x)*y,(.5+E+z)*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,x=0,z=-.125,ae=E*pe;var de=new go.PathFigure((1-.5+E+x)*y,(.5+z)*a,!1);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ae+z)*a,(.5+ae+x)*y,(.5+E+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ae+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a,(.5-ae+x)*y,(.5-E+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ae+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ae+z)*a));var de=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);return b.add(de),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(ie,y,a){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,y,a){var b=ie?ie.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,y,a){var b=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new qt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new qt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*y,z=(.5-E/2)*a,ae=(.5+E/2)*a,de=new go.Geometry,we=new go.PathFigure(0,z,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,x,z)),we.add(new go.PathSegment(go.PathSegment.Line,x,0)),we.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),we.add(new go.PathSegment(go.PathSegment.Line,x,a)),we.add(new go.PathSegment(go.PathSegment.Line,x,ae)),we.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),de.spot1=new go.Spot(0,z/a);var be=Ke(0,ae/a,1,ae/a,x/y,1,1,.5,Ae());return de.spot2=new go.Spot(be.x,be.y),ye(be),de}),go.Shape.setFigureParameter("Arrow2",0,new qt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new qt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var x=y-b,z=(a-E)/2,ae=z+E,de=new go.Geometry,we=new go.PathFigure(0,z,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,x,z)),we.add(new go.PathSegment(go.PathSegment.Line,x,0)),we.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),we.add(new go.PathSegment(go.PathSegment.Line,x,a)),we.add(new go.PathSegment(go.PathSegment.Line,x,ae)),we.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),de.spot1=new go.Spot(0,z/a);var be=Ke(0,ae/a,1,ae/a,x/y,1,1,.5,Ae());return de.spot2=new go.Spot(be.x,be.y),ye(be),de}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new qt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var de=Ke(0,.5,.3,0,0,E/a,.1,E/a,Ae());return z.spot1=new go.Spot(de.x,de.y),de=Ke(.7,1,1,.5,0,x/a,1,x/a,de),z.spot2=new go.Spot(de.x,de.y),ye(de),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new qt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new qt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ae=(a-E)/2,de=ae+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ae=0,de=a):(x=0,z=a,ae=0,de=a));var we=new go.Geometry,be=new go.PathFigure(y,.5*a,!0);we.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,de)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,de)),be.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),be.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var Ne=Ke(0,.5,.3,ae/a,0,x/a,1,x/a,Ae());return we.spot1=new go.Spot(Ne.x,Ne.y),Ne=Ke(.7,de/a,1,.5,0,z/a,1,z/a,Ne),we.spot2=new go.Spot(Ne.x,Ne.y),ye(Ne),we}),go.Shape.setFigureParameter("IBeamArrow",0,new qt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),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,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,E/a);var de=Ke(.7,1,1,.5,0,x/a,1,x/a,Ae());return z.spot2=new go.Spot(de.x,de.y),ye(de),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new qt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new qt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ae=(a-E)/2,de=ae+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ae=0,de=a):(x=0,z=a,ae=0,de=a));var we=new go.Geometry,be=new go.PathFigure(y,.5*a,!0);we.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,de)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,de)),be.add(new go.PathSegment(go.PathSegment.Line,0,de)),be.add(new go.PathSegment(go.PathSegment.Line,0,ae)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),be.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),we.spot1=new go.Spot(0,x/a);var Ne=Ke(.7,de/a,1,.5,0,z/a,1,z/a,Ae());return we.spot2=new go.Spot(Ne.x,Ne.y),ye(Ne),we}),go.Shape.setFigureParameter("Pointer",0,new qt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var z=Ke(.2,.65,1,.65,0,1,1,.5,Ae());return E.spot2=new go.Spot(z.x,z.y),ye(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new qt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var z=Ke(0,.65,1,.65,0,1,1,.5,Ae());return E.spot2=new go.Spot(z.x,z.y),ye(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new qt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var de=Ke(.7,1,1,.5,0,x/a,1,x/a,Ae());return z.spot2=new go.Spot(de.x,de.y),ye(de),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new qt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,x=E+b;b>a&&(E=0,x=a);var z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,E/a);var de=Ke(.7,1,1,.5,0,x/a,1,x/a,Ae());return z.spot2=new go.Spot(de.x,de.y),ye(de),z}),go.Shape.setFigureParameter("SquareArrow",0,new qt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.1,z=new go.PathFigure(0,.9*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(0,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,pe*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+x)*y,0,1*y,pe*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-pe*b,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,1*a,0,a-pe*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ae=new go.PathFigure(y,b,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-pe*b,(.5+x)*y,2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*y,2*b,0,2*b-pe*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(0,a-b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,pe*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+x)*y,0,y,pe*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-pe*b,(.5+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,a,0,a-pe*b));var ae=new go.PathFigure(0,a-b,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-pe*b,(.5-x)*y,a-2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+x)*y,a-2*b,y,a-b-pe*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-pe*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-pe*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,pe*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,pe*b,0));var ae=new go.PathFigure(b,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+pe*b,0,2*b,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+x)*a,b+pe*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=pe*.5,z=new go.PathFigure(y-b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-pe*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-pe*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,pe*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,pe*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var ae=new go.PathFigure(y-b,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-pe*b,0,y-2*b,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+x)*a,y-b-pe*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(ie,y,a){var b=new go.Geometry,E=.2,x=.1,z=pe*E,ae=pe*x,de=.5,we=.1,be=new go.PathFigure(de*y,(we+x)*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-E)*y,we*a,(de-z)*y,(we+x)*a,(de-E)*y,(we+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-x)*a,(de-E)*y,(we-ae)*a,(de-z)*y,(we-x)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de+E)*y,we*a,(de+z)*y,(we-x)*a,(de+E)*y,(we-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we+x)*a,(de+E)*y,(we+ae)*a,(de+z)*y,(we+x)*a));var Ne=.05,We=pe*Ne;de=.05,we=.25;var Ze=new go.PathFigure(.5*y,.2*a,!0);return b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),de=.95,we=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de+Ne)*y,we*a,(de+We)*y,(we-Ne)*a,(de+Ne)*y,(we-We)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Ne=.025,We=pe*Ne,de=.825,we=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-Ne)*a,(de+Ne)*y,(we-We)*a,(de+We)*y,(we-Ne)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ne)*y,we*a,(de-We)*y,(we-Ne)*a,(de-Ne)*y,(we-We)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Ne=.05,We=pe*Ne,de=.5,we=.7,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-Ne)*a,(de+Ne)*y,(we-We)*a,(de+We)*y,(we-Ne)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ne)*y,we*a,(de-We)*y,(we-Ne)*a,(de-Ne)*y,(we-We)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Ne=.025,We=pe*Ne,de=.175,we=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-Ne)*a,(de+Ne)*y,(we-We)*a,(de+We)*y,(we-Ne)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ne)*y,we*a,(de-We)*y,(we-Ne)*a,(de-Ne)*y,(we-We)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ne=.05,We=pe*Ne,de=.05,we=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-Ne)*a,(de-Ne)*y,(we-We)*a,(de-We)*y,(we-Ne)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new qt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+E)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+x)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=pe*.2,z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,E*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(E*y,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),b}),go.Shape.defineFigureGenerator("Junction",function(ie,y,a){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=pe*.5,ae=.5,de=new go.PathFigure(y,ae*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+z)*a,(ae+z)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-z)*y,a,0,(ae+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-z)*a,(ae-z)*y,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+z)*y,0,y,(ae-z)*a));var we=new go.PathFigure((x+E)*y,(x+E)*a,!1);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),we.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+E)*a)),we.add(new go.PathSegment(go.PathSegment.Line,(x+E)*y,x*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+E)*a,(x+E)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*E*y,E*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ae=new go.PathFigure(y,.5*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(ie,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN,x=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-E)*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*y,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,y,a){var b=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ae=new go.PathFigure(y,x*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var de=new go.PathFigure(.8*y,.75*a,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var b=new go.Geometry,E=pe*.1,x=.1,z=.9,ae=.5,de=new go.PathFigure(.8*y,.5*a,!0);b.add(de),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,.8*y,.5*a));var we=new go.PathFigure((z+x)*y,ae*a,!0);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae-x)*a,(z+x)*y,(ae-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=pe*.4,z=pe*.1,ae=.1,de=.9,we=.5,be=new go.PathFigure(.8*y,.5*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+E)*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,0,a)),be.add(new go.PathSegment(go.PathSegment.Line,0,0)),be.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),be.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-x)*a));var Ne=new go.PathFigure((de+ae)*y,we*a,!0);return b.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we+ae)*a,(de+ae)*y,(we+z)*a,(de+z)*y,(we+ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y,we*a,(de-z)*y,(we+ae)*a,(de-ae)*y,(we+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-ae)*a,(de-ae)*y,(we-z)*a,(de-z)*y,(we-ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y,we*a,(de+z)*y,(we-ae)*a,(de+ae)*y,(we-z)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ie,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=0,ae=.5,de=new go.PathFigure(.8*y,.5*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ae-E)*a,.7*y,(ae-x)*a)),E=.1,x=pe*.1,z=.9,ae=.5;var we=new go.PathFigure((z-E)*y,ae*a,!0);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ie,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=0,ae=.5,de=new go.PathFigure(0,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ae-E)*a,.8*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+x)*a,(z+x+x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(ie,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=.2,ae=.5,de=new go.PathFigure(.1*y,0,!1);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var we=new go.PathFigure(.8*y,.5*a,!0);b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ae-E)*a,.7*y,(ae-x)*a)),E=.1,x=pe*.1,z=.9,ae=.5;var be=new go.PathFigure((z-E)*y,ae*a,!0);return b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ie,y,a){var b=new go.Geometry,E=.5,x=pe*E,z=.2,ae=.5,de=new go.PathFigure(.1*y,0,!1);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var we=new go.PathFigure(.2*y,0,!0);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ae-E)*a,.9*y,(ae-x)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(ie,y,a){var b=new go.Geometry,E=pe*.1,x=.1,z=.1,ae=.5,de=new go.PathFigure((z-E*.5)*y,a,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(z+E*.5)*y,a,(z+x)*y,0,(z+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var b=new go.Geometry,E=pe*.5,x=.5,z=.5,ae=.5,de=new go.PathFigure((z-x)*y,ae*a,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae-x)*a,(z+x)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ae*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ae*a,z*y,(ae-x)*a,z*y,(ae+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(ie,y,a){var b=new go.Geometry,E=y,x=a;y=y*.38,a=a*.6;var z=pe*.8,ae=.8,de=0,we=.5,be=(E-y)/2,Ne=(x-a)/2,We=new go.PathFigure(de*y+be,(we+ae)*a+Ne,!0);b.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+be,we*a+Ne,(de-z)*y+be,(we+ae)*a+Ne,(de-ae)*y+be,(we+z)*a+Ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we-ae)*a+Ne,(de-ae)*y+be,(we-z)*a+Ne,(de-z)*y+be,(we-ae)*a+Ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae+z*.5)*y+be,we*a+Ne,de*y+be,(we-ae)*a+Ne,(de-ae+z*.5)*y+be,(we-z)*a+Ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we+ae)*a+Ne,(de-ae+z*.5)*y+be,(we+z)*a+Ne,de*y+be,(we+ae)*a+Ne).close()),z=pe*.4,ae=.4,de=.2,we=.5;var Ze=new go.PathFigure(de*y+be,(we+ae)*a+Ne,!0);b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+be,we*a+Ne,(de-z)*y+be,(we+ae)*a+Ne,(de-ae)*y+be,(we+z)*a+Ne)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we-ae)*a+Ne,(de-ae)*y+be,(we-z)*a+Ne,(de-z)*y+be,(we-ae)*a+Ne)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae+z*.5)*y+be,we*a+Ne,de*y+be,(we-ae)*a+Ne,(de-ae+z*.5)*y+be,(we-z)*a+Ne)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we+ae)*a+Ne,(de-ae+z*.5)*y+be,(we+z)*a+Ne,de*y+be,(we+ae)*a+Ne).close()),z=pe*.2,ae=.2,de=.5,we=.5;var at=new go.PathFigure((de-ae)*y+be,we*a+Ne,!0);b.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we-ae)*a+Ne,(de-ae)*y+be,(we-z)*a+Ne,(de-z)*y+be,(we-ae)*a+Ne)),at.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+be,we*a+Ne,(de+z)*y+be,(we-ae)*a+Ne,(de+ae)*y+be,(we-z)*a+Ne)),at.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we+ae)*a+Ne,(de+ae)*y+be,(we+z)*a+Ne,(de+z)*y+be,(we+ae)*a+Ne)),at.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+be,we*a+Ne,(de-z)*y+be,(we+ae)*a+Ne,(de-ae)*y+be,(we+z)*a+Ne)),z=pe*.4,ae=.4,de=.8,we=.5;var Ue=new go.PathFigure(de*y+be,(we-ae)*a+Ne,!0);b.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+be,we*a+Ne,(de+z)*y+be,(we-ae)*a+Ne,(de+ae)*y+be,(we-z)*a+Ne)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we+ae)*a+Ne,(de+ae)*y+be,(we+z)*a+Ne,(de+z)*y+be,(we+ae)*a+Ne)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae-z*.5)*y+be,we*a+Ne,de*y+be,(we+ae)*a+Ne,(de+ae-z*.5)*y+be,(we+z)*a+Ne)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we-ae)*a+Ne,(de+ae-z*.5)*y+be,(we-z)*a+Ne,de*y+be,(we-ae)*a+Ne).close()),z=pe*.8,ae=.8,de=1,we=.5;var Bt=new go.PathFigure(de*y+be,(we-ae)*a+Ne,!0);return b.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+be,we*a+Ne,(de+z)*y+be,(we-ae)*a+Ne,(de+ae)*y+be,(we-z)*a+Ne)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we+ae)*a+Ne,(de+ae)*y+be,(we+z)*a+Ne,(de+z)*y+be,(we+ae)*a+Ne)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae-z*.5)*y+be,we*a+Ne,de*y+be,(we+ae)*a+Ne,(de+ae-z*.5)*y+be,(we+z)*a+Ne)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+be,(we-ae)*a+Ne,(de+ae-z*.5)*y+be,(we-z)*a+Ne,de*y+be,(we-ae)*a+Ne).close()),b}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(ie,y,a){var b=new go.Geometry,E=pe*.4,x=.4,z=.5,ae=.5,de=Ae(),we=Ae(),be=Ae(),Ne=Ae();_e(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.5,de,de,we,be,Ne);var We=ge(we.x,we.y),Ze=new go.PathFigure(we.x*y,we.y*a,!0);b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,be.x*y,be.y*a,Ne.x*y,Ne.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),_e(z-x,ae,z-x,ae-E,z-E,ae-x,z,ae-x,.5,be,Ne,we,de,de),Ze.add(new go.PathSegment(go.PathSegment.Bezier,we.x*y,we.y*a,be.x*y,be.y*a,Ne.x*y,Ne.y*a)),E=pe*.3,x=.3,_e(z-x,ae,z-x,ae-E,z-E,ae-x,z,ae-x,.5,be,Ne,we,de,de),Ze.add(new go.PathSegment(go.PathSegment.Line,we.x*y,we.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,Ne.x*y,Ne.y*a,be.x*y,be.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),_e(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.5,de,de,we,be,Ne),Ze.add(new go.PathSegment(go.PathSegment.Bezier,we.x*y,we.y*a,Ne.x*y,Ne.y*a,be.x*y,be.y*a).close());var Ze=new go.PathFigure(.45*y,0,!0);return b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ye(de),ye(we),ye(be),ye(Ne),ye(We),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ae,de){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+de)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+de)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+de)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+de)*a).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,y,a){var b=new go.Geometry,E=.5,x=0,z=0,ae=E*pe,de=.4*Math.SQRT2/2+.5,we=.5-.5*Math.SQRT2/2,be=1,Ne=.5,We=.5,Ze=0,at=new go.PathFigure(de*y,(1-we)*a,!1);return b.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,be*y,Ne*a,be*y,.7*a,be*y,Ne*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(We+x)*y,(Ze+x)*a,(.5+E+x)*y,(.5-ae+x)*a,(.5+ae+x)*y,(.5-E+x)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-E+x)*y,(.5+ae+z)*a,(.5-ae+x)*y,.9*a)),at.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),at.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),at.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ae=.5,de=z,we=Math.PI/4,be=4*(1-Math.cos(we))/(3*Math.sin(we)),Ne=be*.5,We=z,Ze=z,at=be*We,Ue=be*Ze;x.add(new go.PathSegment(go.PathSegment.Bezier,(ae-We)*y,de*a,(ae-(at+We)/2)*y,(de+(Ze+Ue)/2)*a,(ae-We)*y,(de+Ue)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(de-Ze)*a,(ae-We)*y,(de-Ue)*a,(ae-at)*y,(de-Ze)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ae+We)*y,de*a,(ae+at)*y,(de-Ze)*a,(ae+We)*y,(de-Ue)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+We)*y,(de+Ue)*a,(ae+(at+We)/2)*y,(de+(Ze+Ue)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Bt=new go.PathFigure(.2*y,a,!1);b.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Me=new go.PathFigure(.8*y,a,!1);return b.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(.1*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,y,a){var b=new go.Geometry,E=.5,x=pe*.5,z=new go.PathFigure(y,E*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+x)*a,(E+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-x)*y,a,0,(E+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-x)*a,(E-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+x)*y,0,y,(E-x)*a));var ae=new go.PathFigure(E*y,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ae=pe*.1,de=.2,we=.9,be=new go.PathFigure((de-z)*y,we*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-z)*a,(de-z)*y,(we-ae)*a,(de-ae)*y,(we-z)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*y,we*a,(de+ae)*y,(we-z)*a,(de+z)*y,(we-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we+z)*a,(de+z)*y,(we+ae)*a,(de+ae)*y,(we+z)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*y,we*a,(de-ae)*y,(we+z)*a,(de-z)*y,(we+ae)*a).close()),z=.1,ae=pe*.1,de=.8,we=.9;var Ne=new go.PathFigure((de-z)*y,we*a,!0);return b.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we-z)*a,(de-z)*y,(we-ae)*a,(de-ae)*y,(we-z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*y,we*a,(de+ae)*y,(we-z)*a,(de+z)*y,(we-ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(we+z)*a,(de+z)*y,(we+ae)*a,(de+ae)*y,(we+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*y,we*a,(de-ae)*y,(we+z)*a,(de-z)*y,(we+ae)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var de=.1,we=pe*.1,be=.1,Ne=.9,We=new go.PathFigure((be-de)*y,Ne*a,!0);b.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(Ne-de)*a,(be-de)*y,(Ne-we)*a,(be-we)*y,(Ne-de)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*y,Ne*a,(be+we)*y,(Ne-de)*a,(be+de)*y,(Ne-we)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(Ne+de)*a,(be+de)*y,(Ne+we)*a,(be+we)*y,(Ne+de)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*y,Ne*a,(be-we)*y,(Ne+de)*a,(be-de)*y,(Ne+we)*a)),de=.1,we=pe*.1,be=.4,Ne=.9;var Ze=new go.PathFigure((be-de)*y,Ne*a,!0);return b.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(Ne-de)*a,(be-de)*y,(Ne-we)*a,(be-we)*y,(Ne-de)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*y,Ne*a,(be+we)*y,(Ne-de)*a,(be+de)*y,(Ne-we)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(Ne+de)*a,(be+de)*y,(Ne+we)*a,(be+we)*y,(Ne+de)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*y,Ne*a,(be-we)*y,(Ne+de)*a,(be-de)*y,(Ne+we)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var be=.05,Ne=pe*.05,We=.175,Ze=.95,ae=new go.PathFigure((We-be)*y,Ze*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze-be)*a,(We-be)*y,(Ze-Ne)*a,(We-Ne)*y,(Ze-be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We+be)*y,Ze*a,(We+Ne)*y,(Ze-be)*a,(We+be)*y,(Ze-Ne)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze+be)*a,(We+be)*y,(Ze+Ne)*a,(We+Ne)*y,(Ze+be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(We-be)*y,Ze*a,(We-Ne)*y,(Ze+be)*a,(We-be)*y,(Ze+Ne)*a));var be=.05,Ne=pe*.05,We=.375,Ze=.95,de=new go.PathFigure((We-be)*y,Ze*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze-be)*a,(We-be)*y,(Ze-Ne)*a,(We-Ne)*y,(Ze-be)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(We+be)*y,Ze*a,(We+Ne)*y,(Ze-be)*a,(We+be)*y,(Ze-Ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze+be)*a,(We+be)*y,(Ze+Ne)*a,(We+Ne)*y,(Ze+be)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(We-be)*y,Ze*a,(We-Ne)*y,(Ze+be)*a,(We-be)*y,(Ze+Ne)*a));var be=.05,Ne=pe*.05,We=.625,Ze=.95,we=new go.PathFigure((We-be)*y,Ze*a,!0);b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze-be)*a,(We-be)*y,(Ze-Ne)*a,(We-Ne)*y,(Ze-be)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(We+be)*y,Ze*a,(We+Ne)*y,(Ze-be)*a,(We+be)*y,(Ze-Ne)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze+be)*a,(We+be)*y,(Ze+Ne)*a,(We+Ne)*y,(Ze+be)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(We-be)*y,Ze*a,(We-Ne)*y,(Ze+be)*a,(We-be)*y,(Ze+Ne)*a));var be=.05,Ne=pe*.05,We=.825,Ze=.95,at=new go.PathFigure((We-be)*y,Ze*a,!0);b.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze-be)*a,(We-be)*y,(Ze-Ne)*a,(We-Ne)*y,(Ze-be)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(We+be)*y,Ze*a,(We+Ne)*y,(Ze-be)*a,(We+be)*y,(Ze-Ne)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ze+be)*a,(We+be)*y,(Ze+Ne)*a,(We+Ne)*y,(Ze+be)*a)),at.add(new go.PathSegment(go.PathSegment.Bezier,(We-be)*y,Ze*a,(We-Ne)*y,(Ze+be)*a,(We-be)*y,(Ze+Ne)*a).close());var Ue=new go.PathFigure(0,a,!1);return b.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,de=pe*.05,we=.35,be=.775,Ne=new go.PathFigure((we-ae)*y,be*a,!0);return b.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be-ae)*a,(we-ae)*y,(be-de)*a,(we-de)*y,(be-ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(we+ae)*y,be*a,(we+de)*y,(be-ae)*a,(we+ae)*y,(be-de)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be+ae)*a,(we+ae)*y,(be+de)*a,(we+de)*y,(be+ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(we-ae)*y,be*a,(we-de)*y,(be+ae)*a,(we-ae)*y,(be+de)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(ie,y,a){var b=new go.Geometry,E=.3,x=pe*.3,z=.5,ae=.7,de=new go.PathFigure((z-E)*y,ae*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a));var we=new go.PathFigure(0,.7*a,!1);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),b}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(ie,y,a){var b=new go.Geometry,E=.5,x=pe*.5,z=.5,ae=.5,de=new go.PathFigure((z-E)*y,ae*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a));var we=new go.PathFigure(.15*y,.5*a,!1);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(ie,y,a){var b=new go.Geometry,E=.5,x=pe*.5,z=.5,ae=.5,de=new go.PathFigure((z-E)*y,ae*a,!1);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a).close()),E=.05,x=pe*.05,z=.5,ae=.8;var we=new go.PathFigure((z-E)*y,ae*a,!1);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a).close()),we.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),we.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var de=new go.PathFigure(.5*y,.1*a,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var de=new go.PathFigure(y*.816,a,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var de=new go.PathFigure(y*1,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),de.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var de=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,y,a){var b=new go.Geometry,E=8,x=E*pe,z=new go.PathFigure(E,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ae=new go.PathFigure(y*.83,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var de=new go.PathFigure(y*.83,a*1,!1);b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),de.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),de.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var we=new go.PathFigure(y*.78,a*.05,!1);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),we.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),we.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,y,a){var b=ie?ie.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*pe,x=a*.8,z=new go.Geometry,ae=new go.PathFigure(b,0,!0);return z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x-b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-b,x,y,x-E,y-E,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ae.add(new go.PathSegment(go.PathSegment.Line,b,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,.8,-E,-E)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ie,y,a){var b=new go.Geometry,E=15,x=E*pe,z=new go.PathFigure(y*.62,a*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ie,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),b}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var qt={},Ot="5.0",ge={},Ae=null,ye=!1,Ke=!1,_e=null,ze=!1,je=null,pe=null,ve=0;ve4?parseFloat(bt):5};qt.setHTML5Codebase=function(bt,nn){pe=bt,ct(bt,nn)},qt.setJavaCodebase=qt.setJavaCodebaseVersion=qt.isCompiledInstalled=qt.setPreCompiledScriptPath=qt.setPreCompiledResourcePath=function(){},qt.setHTML5CodebaseVersion=function(bt,nn){var Fn=parseFloat(bt);if(Fn!==NaN&&Fn<5){console.log("The GeoGebra HTML5 codebase version "+Fn+" is deprecated. Using version latest instead.");return}je=bt,et(bt,nn)},qt.getHTML5CodebaseVersion=function(){return ie},qt.getParameters=function(){return ge},qt.setFontsCSSURL=function(bt){z=bt},qt.setGiacJSURL=function(bt){},qt.setJNLPFile=function(bt){ce=bt},qt.setJNLPBaseDir=function(bt){},qt.inject=function(){function bt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var nn="auto",Fn=ge.id,$n,Ln=!1,Wn=0;Wn=5)return!0;var bt=qt.getAppletObject();return bt&&typeof bt.recalculateEnvironments=="function"?(bt.recalculateEnvironments(),!0):!1},qt.startAnimation=function(){var bt=qt.getAppletObject();return bt&&typeof bt.startAnimation=="function"?(bt.startAnimation(),!0):!1},qt.stopAnimation=function(){var bt=qt.getAppletObject();return bt&&typeof bt.stopAnimation=="function"?(bt.stopAnimation(),!0):!1},qt.getAppletObject=function(){var bt=ge.id!==void 0?ge.id:"ggbApplet";return window[bt]},qt.resize=function(){};var at=function(bt,nn,Fn){var $n=document.createElement("param");$n.setAttribute("name",nn),$n.setAttribute("value",Fn),bt.appendChild($n)},Ue=function(bt){return bt&&bt!=="false"},Bt=function(bt,nn,Fn){de(ie)<=4.2&&(Fn=!0);var $n=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&($n=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ln=document.createElement("div");Ln.classList.add("appletParameters","notranslate");var Wn=nn.width,It=nn.height;if(nn.disableAutoScale=nn.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():nn.disableAutoScale,nn.width!==void 0)if(de(ie)<=4.4)Ue(nn.showToolBar)&&(nn.height-=7),Ue(nn.showAlgebraInput)&&(nn.height-=37),nn.width<605&&Ue(nn.showToolBar)&&(nn.width=605,Wn=605);else{var Vn=100;(Ue(nn.showToolBar)||Ue(nn.showMenuBar))&&(nn.hasOwnProperty("customToolBar")&&(nn.customToolbar=nn.customToolBar),Vn=Ue(nn.showMenuBar)?245:155),Wn=5?(nn.appletOnLoad=function(Kn){var St=bt.querySelector(".ggb_preview");St&&St.parentNode.removeChild(St),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(mn),window.GGBT_wsf_view&&$(window).trigger("resize"),Ye(Kn)},Qe||mn.appendChild(me)):Ln.appendChild(me),mn.appendChild(Ln),Qe||bt.appendChild(mn),setTimeout(function(){qt.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(Ln),bt.appendChild(he),nn.appletOnLoad=function(Kn){qt.resize(),Ye(Kn)}}function Oe(Kn,St){St&&typeof St.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Kn,St.appletOnLoad):renderGGBElement(Kn),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",St)}function qe(Kn,St){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Kn,params:St}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(zt){Oe(zt.article,zt.params)}),html5AppletsToProcess=null)},de(ie)<5&&(Kn.className+=" geogebraweb")):Oe(Kn,St)}if($n){scriptLoadStarted=!0;for(var pt=0;pt0?(Xn.remove(),mn.attr("id","fullscreencontent").show(),jQuery(Ye).append(mn),window.dispatchEvent(new Event("resize"))):Bt(Xn,nn,!1),window.GGBT_wsf_view.launchFullScreen(Ye)}else Ee=$n,Bt(bt,nn,!1);if(!window.GGBT_wsf_view)for(It=0;Itbt/4*3&&(Xn=bt/4*3),Ye=Xn/5.8,Vn.setAttribute("src",E),Vn.setAttribute("width",Xn),Vn.setAttribute("height",Ye);var mn=(bt-Xn)/2,Qe=(nn-Ye)/2;Vn.style.left=mn+"px",Vn.style.top=Qe+"px",Ln.appendChild(Vn)}}return Ln.appendChild(It),Ln},dt=function(bt){return bt=bt.toLowerCase(),bt==="html5"||bt==="screenshot"?bt:"html5"},vt=["web","webSimple","web3d","tablet","tablet3d","phone"],et=function(bt,nn){if(ie=bt,nn){ct(ie,!0);return}var Fn=!ye;if(Fn){var $n=de(ie);!isNaN($n)&&$n<4.4&&(Fn=!1)}var Ln,Wn;window.location.protocol.substr(0,4)==="http"?Ln=window.location.protocol:Ln="http:";var It=ie.indexOf("//");It>0?Wn=ie:It===0?Wn=Ln+ie:Wn="https://www.geogebra.org/apps/5.2.814.0/";for(var Vn in vt)if(ie.slice(vt[Vn].length*-1)===vt[Vn]||ie.slice((vt[Vn].length+1)*-1)===vt[Vn]+"/"){ct(Wn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Fn&&!Ae.is3D&&!Ae.AV&&!Ae.SV&&!Ae.CV&&!Ae.EV2&&!Ae.CP&&!Ae.PC&&!Ae.DA&&!Ae.FI&&!Ae.PV&&!Ue(ge.showToolBar)&&!Ue(ge.showMenuBar)&&!Ue(ge.showAlgebraInput)&&!Ue(ge.enableRightClick)&&(!ge.appName||ge.appName=="classic")?Wn+="webSimple/":Wn+="web3d/",ct(Wn,!1)},ct=function(bt,nn){if(bt.requirejs){De=bt;return}bt.slice(-1)!=="/"&&(bt+="/"),De=bt,nn===null&&(nn=bt.indexOf("http")===-1),Pe=nn,y="web.nocache.js",a=!1;var Fn=De.split("/");Fn.length>1&&(!nn&&Fn[Fn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):vt.indexOf(Fn[Fn.length-2])>=0&&(y=Fn[Fn.length-2]+".nocache.js")),Fn=bt.split("/"),ie=Fn[Fn.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var $n=parseFloat(ie);$n!==NaN&&$n<5&&bt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+$n+" is deprecated. Using version latest instead."),et("5.0",nn))},an=function(bt,nn){window.console&&window.console.log&&(!nn||typeof nn.showLogging=="undefined"||nn.showLogging&&nn.showLogging!=="false")&&console.log(bt)};ge.material_id!==void 0?Ne(En):En();function En(){var bt=Ot;je!==null?bt=je:parseFloat(bt)<5&&(bt="5.0"),et(bt,!1),pe!==null&&ct(pe,Pe),ze=!0}return qt},GGBAppletUtils=function(){"use strict";function qt(){return window.GGBT_wsf_edit!==void 0}function Ot(ze,je){je!=1?(ze.style.transformOrigin="0% 0% 0px",ze.style.webkitTransformOrigin="0% 0% 0px",ze.style.transform="scale("+je+","+je+")",ze.style.webkitTransform="scale("+je+","+je+")",ze.style.maxWidth="initial",ze.querySelector(".ggb_preview")!==null&&(ze.querySelector(".ggb_preview").style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ze.style.transform="none",ze.style.webkitTransform="none")}function ge(ze,je,pe,ve,Le,ce){var De=null;if(ce!=null&&ce!="")for(var Pe=ze.parentNode;Pe!=null;)if((" "+Pe.className+" ").indexOf(" "+ce+" ")>-1){De=Pe;break}else Pe=Pe.parentNode;var Ee=0,ie=0,y=0,a=0,b=0,E=0,x=0;if(De)Ee=De.offsetWidth,ie=Math.max(ve?De.offsetWidth:0,De.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ee):(Ee=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),ze){var z=ze.getBoundingClientRect();z.left>0&&z.left<=Ee&&(Le===void 0||!Le)&&(document.dir==="rtl"?(b=Ee-z.width-z.left,E=y<=480?10:30):(E=z.left,b=y<=480?10:30),a=E+b)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return ze&&((pe===void 0||!pe)&&je>0&&je+a1&&(ce=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))Le=Ae(ze,je,ce,pe,ze.scaleContainerClass);else return ve;return ce&&(!ze.hasOwnProperty("scale")||ve===1)?Le:Math.min(ve,Le)}function Ke(ze){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),pe=Math.min(window.innerHeight,document.documentElement.clientHeight),ve=ze.getBoundingClientRect(),Le=(je-ve.width)/2,ce=(pe-ve.height)/2;ce<0&&(ce=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Le<40?ze.style.left="40px":ze.style.left=Le+"px",ze.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?ze.style.top="40px":ze.style.top=ce+"px",ze.style.left=Le+"px")}function _e(ze,je){var pe=ze.querySelector(".appletParameters");if(pe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.id!==pe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(pe.parentElement&&/fullscreen/.test(pe.parentElement.className))return;var ve=ye(je,ze);qt()&&pe.setAttribute("data-param-scale",ve);for(var Le=null,ce=0;ce=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(qt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(qt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(qt){var Ot=c[qt];return Ot==null?null:Ot},r=d,webModule.__errFn=e}function B(){function qt(ze){var je=ze.lastIndexOf(rb);je==-1&&(je=ze.length);var pe=ze.indexOf(sb);pe==-1&&(pe=ze.length);var ve=ze.lastIndexOf(tb,Math.min(pe,je));return ve>=O?ze.substring(O,ve+P):W}function Ot(ze){if(!ze.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=ze+vb,ze=qt(je.src)}return ze}function ge(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function Ae(){for(var ze=o.getElementsByTagName(_),je=O;jeO?ze[ze.length-P].href:W}function Ke(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var _e=ge();return _e==W&&(_e=Ae()),_e==W&&(_e=ye()),_e==W&&Ke()&&(_e=qt(o.location.href)),_e=Ot(_e),_e}function C(qt){return qt.match(/^\//)||qt.match(/^[a-zA-Z]+:\/\//)?qt:webModule.__moduleBase+qt}function D(){var qt=[],Ot=O,ge=[],Ae=[];function ye(ze){var je=Ae[ze](),pe=ge[ze];if(je in pe)return je;var ve=[];for(var Le in pe)ve[pe[Le]]=Le;throw r&&r(ze,ve,je),null}if(__gwt_isKnownPropertyValue=function(ze,je){return je in ge[ze]},webModule.__getPropMap=function(){var ze={};for(var je in ge)ge.hasOwnProperty(je)&&(ze[je]=ye(je));return ze},webModule.__computePropValue=ye,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ke;try{Ke=Cb;var _e=Ke.indexOf(Db);_e!=-1&&(Ot=parseInt(Ke.substring(_e+P),$),Ke=Ke.substring(O,_e))}catch(ze){}return webModule.__softPermutationId=Ot,C(Ke+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(qt,Ot,ge){"use strict";ge.d(Ot,{Ax:function(){return _e},Ds:function(){return ze},KI:function(){return pe},SI:function(){return Ke},f1:function(){return ye}});var Ae=ge(11320);function ye(ve){let Le=!0;if(ve.length>0){for(let ce=0;cewe in de?De(de,we,{enumerable:!0,configurable:!0,writable:!0,value:be}):de[we]=be,a=(de,we)=>{for(var be in we||(we={}))Ee.call(we,be)&&y(de,be,we[be]);if(Pe)for(var be of Pe(we))ie.call(we,be)&&y(de,be,we[be]);return de};const b=(de={})=>{var we,be,Ne,We;let Ze=(we=de==null?void 0:de.emotion)==null?void 0:we.map(Me=>a({value:Me==null?void 0:Me.rate},Me)),at=(be=de==null?void 0:de.focus)==null?void 0:be.map(Me=>a({value:Me==null?void 0:Me.rate},Me)),Ue=(Ne=de==null?void 0:de.action)==null?void 0:Ne.map(Me=>a({value:Me==null?void 0:Me.rate},Me)),Bt=(We=de==null?void 0:de.intention)==null?void 0:We.map(Me=>a({value:Me==null?void 0:Me.rate},Me));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ze||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:at||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Ue||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Bt||[]}]},E=({className:de,dataSource:we=[],col:be=4,right:Ne,bottom:We=23,precision:Ze=0,wrapWidth:at=1200})=>{const Ue=(Me="",Nt,ut="--")=>Me?(Me==null?void 0:Me.length)>Nt?(Me==null?void 0:Me.slice(0,Nt-1))+"...":Me:ut,Bt=Math.floor((at-(be-1)*Ne)/be);return Ae.createElement("div",{className:_e()(ye.list,de)},!!(we!=null&&we.length)&&(we==null?void 0:we.map((Me,Nt)=>{const{cover_pic:ut,created_at:At,emotion:Lt,action:dt,intention:vt,focus:et}=Me;return Ae.createElement("div",{key:Nt,className:ye.wrap,style:{width:Bt,marginRight:(1+Nt)%be===0?0:Ne+Ze,marginBottom:We}},Ae.createElement("div",{className:ye.img},Ae.createElement("img",{src:`${ce.Z.API_SERVER}${ut}`}),Ae.createElement("div",{className:ye.tips},Ae.createElement("div",null,Ae.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),Ae.createElement("span",null,At))),Ae.createElement("div",{className:ye.footer},Ae.createElement("ul",null,Ae.createElement("li",null,Ae.createElement("i",{className:"iconfont icon-biaoqing"}),Ae.createElement("span",null,"\u8868\u60C5\uFF1A",Ae.createElement(je.Z,{title:Lt},Ae.createElement("span",{className:"c-grey-333"},Ue(Lt,4))))),Ae.createElement("li",null,Ae.createElement("i",{className:"iconfont icon-hangwei"}),Ae.createElement("span",null,"\u884C\u4E3A\uFF1A",Ae.createElement(je.Z,{title:dt},Ae.createElement("span",{className:"c-grey-333"},Ue(dt,4)))))),Ae.createElement("ul",null,Ae.createElement("li",null,Ae.createElement("i",{className:"iconfont icon-yitu"}),Ae.createElement("span",null,"\u610F\u56FE\uFF1A",Ae.createElement(je.Z,{title:vt},Ae.createElement("span",{className:"c-grey-333"},Ue(vt,4))))),Ae.createElement("li",null,Ae.createElement("i",{className:"iconfont icon-zhuangtai"}),Ae.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",Ae.createElement(je.Z,{title:et},Ae.createElement("span",{className:"c-grey-333"},Ue(et,3))))))))})))},x=({className:de,style:we,title:be,hideBar:Ne=!1,children:We,customText:Ze="",noDataText:at="",emptyData:Ue=[],loading:Bt,actionAnalysis:Me})=>{var Nt,ut;const At=((Nt=Ue==null?void 0:Ue[0])==null?void 0:Nt.every(dt=>{var vt;return!((vt=dt==null?void 0:dt.data)!=null&&vt.length)}))&&!((ut=Ue==null?void 0:Ue[1])!=null&&ut.length)||!Me,Lt=Me?at:Ze;return Ae.createElement(pe.Z,{loading:Bt,active:!0},At&&Ae.createElement("div",{className:_e()(ye.noData,de),style:we},!!be&&Ae.createElement("div",{className:ye.title},!Ne&&Ae.createElement("b",null),Ae.createElement("span",null,be)),Ae.createElement("div",{className:ye.itemWrap},Ae.createElement(Le.Z,{customText:Lt}))),!At&&We)};var ae=({className:de,style:we,data:be=[],title:Ne,hideBar:We=!1,loading:Ze=!1})=>Ae.createElement("div",{className:_e()(ye.analysis,de),style:we},!!Ne&&Ae.createElement("div",{className:ye.title},!We&&Ae.createElement("b",null),Ae.createElement("span",null,Ne)),Ae.createElement(ve.Z,{spinning:Ze},Ae.createElement("div",{className:ye.itemWrap},be==null?void 0:be.map((at,Ue)=>Ae.createElement("div",{className:ye.item,key:Ue},Ae.createElement(ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:at==null?void 0:at.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Bt){for(let Me in at==null?void 0:at.data)if(Bt==(at==null?void 0:at.data[Me].name))return Bt+" "+(at==null?void 0:at.data[Me].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:at==null?void 0:at.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:at==null?void 0:at.data}]},style:{height:145}}))))))},56243:function(qt,Ot,ge){"use strict";var Ae=ge(17187),ye=ge.n(Ae),Ke=Object.defineProperty,_e=(ve,Le,ce)=>Le in ve?Ke(ve,Le,{enumerable:!0,configurable:!0,writable:!0,value:ce}):ve[Le]=ce,ze=(ve,Le,ce)=>_e(ve,typeof Le!="symbol"?Le+"":Le,ce),je=(ve,Le,ce)=>new Promise((De,Pe)=>{var Ee=a=>{try{y(ce.next(a))}catch(b){Pe(b)}},ie=a=>{try{y(ce.throw(a))}catch(b){Pe(b)}},y=a=>a.done?De(a.value):Promise.resolve(a.value).then(Ee,ie);y((ce=ce.apply(ve,Le)).next())});class pe extends Ae.EventEmitter{constructor(Le,ce){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=Le,this.body=ce}startStream(){return je(this,null,function*(){this.controller=new AbortController;const{signal:Le}=this.controller;try{const ce=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Le});if(!ce.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ce.status}`);const De=ce.headers.get("content-type");if(!De)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(De.includes("application/json")){const ie=yield ce.json();this.emit("error",ie);return}if(!De.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Pe=ce.body.getReader(),Ee=new TextDecoder("utf-8");for(;;){const{done:ie,value:y}=yield Pe.read();if(ie)break;const a=Ee.decode(y,{stream:!0});this.buffer+=a;const b=this.buffer.split(` `);this.buffer=b.pop()||"";for(const E of b)if(E.startsWith("data:")){const x=E.slice(5).trim();if(x==="[DONE]")break;try{const z=JSON.parse(x);z.data&&this.handleData(z.data)}catch(z){this.buffer=E+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(ce){ce.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ce.message)}})}handleData(Le){Le.content&&(this.fullContent+=Le.content,this.emit("data",{chunk:Le,full:this.fullContent}))}cancelRequest(){var Le;(Le=this.controller)==null||Le.abort()}}Ot.Z=pe},63205:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return Pe}});var Ae=ge(67294),ye={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ke=ge(94184),_e=ge.n(Ke),ze=ge(57953),je=ge(15979),pe=ge(33170),ve=ge(28706),Le=ge(35973),ce=(Ee,ie,y)=>new Promise((a,b)=>{var E=ae=>{try{z(y.next(ae))}catch(de){b(de)}},x=ae=>{try{z(y.throw(ae))}catch(de){b(de)}},z=ae=>ae.done?a(ae.value):Promise.resolve(ae.value).then(E,x);z((y=y.apply(Ee,ie)).next())}),Pe=({data:Ee,className:ie,fullWidth:y,style:a={},onClose:b,onOk:E,showFullTools:x,noAssociationId:z})=>{const ae=(0,Le.useIntl)(),de=(0,Ae.useRef)(null),we=(0,Ae.useRef)(null),be=(0,Ae.useRef)(null),Ne=(0,Ae.useRef)(null),[We,Ze]=(0,Ae.useState)(!1),[at,Ue]=(0,Ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Ae.useEffect)(()=>{be.current||(be.current=document.createElement("style"),document.head.appendChild(be.current)),Ee!=null&&Ee.visible?(document.body.setAttribute("data-custom","y-hidden"),be.current.innerHTML=" html { overflow-y: hidden; }",Ee!=null&&Ee.src&&Bt()):(document.body.removeAttribute("data-custom"),be.current&&(document.head.removeChild(be.current),be.current=null))},[Ee==null?void 0:Ee.visible]);const Bt=()=>ce(void 0,null,function*(){Ze(!0),Ue("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Lt=yield(0,ve.ZJ)(Ee==null?void 0:Ee.src);de.current.src="",de.current.src=Lt,de.current.onload=function(){At()},Ze(!1),Ue("")}),Me=()=>{document.body.removeAttribute("data-custom"),be.current.innerHTML=" ",b()},Nt=Lt=>ce(void 0,null,function*(){Ze(!0),Ue("\u6B63\u5728\u4FDD\u5B58\u4E2D");const dt=yield(0,pe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ee.title,file:Lt.dataUrl}});dt!=null&&dt.id&&!z?(yield(0,pe.ZP)(`/api/attachments/${Ee.id}/add_subitem.json`,{method:"post",body:{subitem_id:dt==null?void 0:dt.id,settings:JSON.stringify(Lt.state)}})).status===0&&E():dt!=null&&dt.id&&E(dt),document.body.removeAttribute("data-custom"),be.current.innerHTML=" ",Ze(!1),Ue("")}),ut=()=>{const Lt=document.querySelector('a[href="https://markerjs.com/"]');Lt&&Lt.parentNode&&(Lt.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:ae.formatMessage({id:"shixuns.text",defaultMessage:"\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:ae.formatMessage({id:"classroomClassroomExperiments.save",defaultMessage:"\u4FDD\u5B58"})},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(vt=>{const et=document.querySelector(vt.name);et&&et.setAttribute("title",vt.title)})},At=()=>{we.current=new je.hP(de.current),we.current.targetRoot=Ne.current,we.current.addEventListener("render",Nt),we.current.addEventListener("beforeclose",Me),x&&(we.current.availableMarkerTypes=we.current.ALL_MARKER_TYPES,we.current.uiStyleSettings.redoButtonVisible=!0,we.current.uiStyleSettings.notesButtonVisible=!0,we.current.uiStyleSettings.zoomButtonVisible=!0,we.current.uiStyleSettings.zoomOutButtonVisible=!0,we.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=we.current.uiStyleSettings,we.current.show(),Ee!=null&&Ee.snapshotData&&we.current.restoreState(Ee.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ut()},300)};return Ae.createElement(Ae.Fragment,null,(Ee==null?void 0:Ee.visible)&&Ae.createElement(ze.Z,{spinning:We,tip:at,style:{position:"absolute"}},Ae.createElement("div",{ref:Ne,className:_e()(ye.imageDimensions,ie,y?ye.fullWidth:""),style:a},Ae.createElement("img",{className:ye.img,ref:de}))))}},36527:function(qt,Ot,ge){"use strict";var Ae=ge(67294),ye=ge(71230),Ke=ge(15746),_e=ge(66368),ze=ge(71577),je=ge(85725),pe=ge(71736),ve=ge(84279),Le=ge(35973),ce=ge(67294);const De=(0,Ae.forwardRef)(({callback:Pe,showSaveButton:Ee,value:ie=""},y)=>{const a=(0,Ae.useRef)(),b=(0,Le.useIntl)(),E=[{name:b.formatMessage({id:"markdownEditor.fractionsScores",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.rootsSuperscripts",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.limitsLogarithms",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.trigonometricFunctions",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.integralOperations",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.largeOperations",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.bracketsRounding",defaultMessage:"\u62EC\u53F7\u53D6\u6574"}),value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:b.formatMessage({id:"markdownEditor.algebra",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.geometry",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.inequalities",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.integrals",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.trigonometry",defaultMessage:"\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:b.formatMessage({id:"markdownEditor.statistics",defaultMessage:"\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}`}]}]}],z=we=>{a.current.setValue(a.current.getValue()+" "+we.value+" ")},ae=[{key:"1",label:b.formatMessage({id:"markdownEditor.quickTemplates",defaultMessage:"\u5FEB\u6377\u6A21\u677F"}),children:ce.createElement(ye.Z,{className:pe.Z.lists,gutter:[10,10]},E.map((we,be)=>ce.createElement(Ke.Z,{flex:"110px",className:pe.Z.item},ce.createElement("div",null,ce.createElement(je.Z,{value:`$$${we.value}$$`}),we.name),ce.createElement("div",{className:pe.Z.children},we.children.map((Ne,We)=>ce.createElement("div",{key:We},ce.createElement("h1",null,Ne.name),ce.createElement(ye.Z,{gutter:[10,10]},Ne.data.map((Ze,at)=>ce.createElement(Ke.Z,{key:at,onClick:()=>z(Ze),className:pe.Z.diamond},ce.createElement(je.Z,{value:"`$$"+Ze.value+"$$`"}))))))))))},{key:"2",label:b.formatMessage({id:"markdownEditor.formulaTemplates",defaultMessage:"\u516C\u5F0F\u6A21\u677F"}),children:ce.createElement(ye.Z,{className:pe.Z.lists,gutter:[10,10]},x.map((we,be)=>ce.createElement(Ke.Z,{flex:"110px",className:pe.Z.item},ce.createElement("div",null,ce.createElement(je.Z,{value:"`$$"+we.value+"$$`"}),we.name),ce.createElement("div",{className:pe.Z.children},we.children.map((Ne,We)=>ce.createElement("div",{key:We},Ne.name&&ce.createElement("h1",null,Ne.name),ce.createElement(ye.Z,{gutter:[10,10]},Ne.data.map((Ze,at)=>ce.createElement(Ke.Z,{key:at,onClick:()=>z(Ze),className:pe.Z.diamond},ce.createElement(je.Z,{value:"`$$"+Ze.value+"$$`"}))))))))))}],de=()=>{var we=document.createElement("div");we.innerHTML=a.current.getValue();var be=we.innerText;return Pe&&Pe(be),be};return(0,Ae.useImperativeHandle)(y,()=>({getData:de})),ce.createElement("div",{className:pe.Z.mathWrap},ce.createElement(_e.default,{defaultActiveKey:"1",items:ae}),ce.createElement("math-field",{locale:"zh_cn",className:pe.Z.mathField,placeholder:b.formatMessage({id:"markdownEditor.pleaseOpenKeyboardEnterFormula",defaultMessage:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F"}),ref:a,style:{width:800,marginTop:30,fontSize:18}},ie||""),Ee&&ce.createElement("div",{className:pe.Z.button},ce.createElement(ze.ZP,{size:"large",onClick:de,style:{zIndex:8,marginTop:10},type:"primary"},b.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))});Ot.Z=De},1916:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return Bt}});var Ae=ge(67294),ye=ge(35973),Ke=ge(14446),_e=ge(22150),ze=ge(2453),je=ge(57953),pe=ge(79870),ve=ge(71230),Le=ge(15746),ce=ge(83062),De=ge(69677),Pe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Ee=ge(9343),ie=ge(65900),y=ge(26194),a=ge(80150),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,we=(Me,Nt,ut)=>Nt in Me?b(Me,Nt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Me[Nt]=ut,be=(Me,Nt)=>{for(var ut in Nt||(Nt={}))ae.call(Nt,ut)&&we(Me,ut,Nt[ut]);if(z)for(var ut of z(Nt))de.call(Nt,ut)&&we(Me,ut,Nt[ut]);return Me},Ne=(Me,Nt)=>E(Me,x(Nt)),We=(Me,Nt)=>{var ut={};for(var At in Me)ae.call(Me,At)&&Nt.indexOf(At)<0&&(ut[At]=Me[At]);if(Me!=null&&z)for(var At of z(Me))Nt.indexOf(At)<0&&de.call(Me,At)&&(ut[At]=Me[At]);return ut},Ze=(Me,Nt,ut)=>new Promise((At,Lt)=>{var dt=ct=>{try{et(ut.next(ct))}catch(an){Lt(an)}},vt=ct=>{try{et(ut.throw(ct))}catch(an){Lt(an)}},et=ct=>ct.done?At(ct.value):Promise.resolve(ct.value).then(dt,vt);et((ut=ut.apply(Me,Nt)).next())});const at=(Me=[])=>Me==null?void 0:Me.map(Nt=>Ne(be({},Nt),{title:(Nt==null?void 0:Nt.value)||"",key:Nt==null?void 0:Nt.id,isLeaf:!0})),Ue=Me=>{var Nt=Me,{user:ut,children:At,isShowComponent:Lt=!0,ModalProps:dt={},onDataSelect:vt}=Nt,et=We(Nt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const ct=(0,ye.useIntl)(),[an,En]=Ke.default.useModal(),[bt]=_e.default.useForm(),[nn,Fn]=(0,Ae.useState)([]),[$n,Ln]=(0,Ae.useState)(!1),[Wn,It]=(0,Ae.useState)(!1),[,Vn,Xn,Ye]=(0,Ee.U)(ie.qE,{page:1,limit:9999}),[,,mn]=(0,Ee.U)(ie.V8,{}),[,,Qe]=(0,Ee.U)(ie.B$,{}),[,,me]=(0,Ee.U)(ie.DH,{}),[,,he]=(0,Ee.U)(ie.bJ,{}),Oe=()=>{Ln(!1),bt.resetFields(),It(!1)},qe=lt=>Ze(void 0,null,function*(){const{node:_t,dragNode:An,event:cn}=lt,Kn=lt.node.pos.split("-"),St=lt.dropPosition-Number(Kn[Kn.length-1]);if(St==0){ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(St==1&&(An==null?void 0:An.item_index)==(_t==null?void 0:_t.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const zt=yield he({id:An==null?void 0:An.key,position:St==-1?1:(An==null?void 0:An.item_index)>(_t==null?void 0:_t.item_index)?(_t==null?void 0:_t.item_index)+1:_t==null?void 0:_t.item_index});(zt==null?void 0:zt.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Xn({},!0))}),pt=lt=>Ze(void 0,null,function*(){let _t={};Wn?_t=yield Qe(be({},lt)):_t=yield me(be({},lt)),(_t==null?void 0:_t.status)==0&&(ze.ZP.success((_t==null?void 0:_t.message)||(Wn?ct.formatMessage({id:"paths.addSuccess",defaultMessage:"\u6DFB\u52A0\u6210\u529F"}):"\u66F4\u65B0\u6210\u529F")),Xn({},!0),Oe())});return(0,Ae.useEffect)(()=>{dt!=null&&dt.open&&Xn({},!0)},[dt==null?void 0:dt.open]),(0,Ae.useEffect)(()=>{var lt;Fn(at((lt=Ye==null?void 0:Ye.data)==null?void 0:lt.list))},[Ye]),Lt?Ae.createElement(Ae.Fragment,null,En,At,Ae.createElement(Ke.default,be({},be({title:ct.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}),width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},dt)),Ae.createElement(je.Z,{spinning:Vn},(nn==null?void 0:nn.length)>0?Ae.createElement(Ae.Fragment,null,Ae.createElement(pe.default.DirectoryTree,{height:500,className:Pe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:vt,treeData:nn,onDrop:qe,titleRender:lt=>Ae.createElement(Ae.Fragment,null,Ae.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},lt==null?void 0:lt.title),Ae.createElement("div",{className:`${Pe.EditDom}`},Ae.createElement(ve.Z,{wrap:!1,align:"middle",gutter:16},Ae.createElement(Le.Z,null,Ae.createElement(ce.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},Ae.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Pe.currentPrimary}`}))),Ae.createElement(Le.Z,null,Ae.createElement(ce.Z,{title:ct.formatMessage({id:"classroomProgrammingHomework.edit",defaultMessage:"\u7F16\u8F91"})},Ae.createElement("i",{className:`iconfont icon-bianji11 font12 ${Pe.currentPrimary}`,onClick:_t=>{_t.stopPropagation(),bt.setFieldsValue(be({},lt)),Ln(!0)}}))),Ae.createElement(Le.Z,null,Ae.createElement(ce.Z,{title:"\u5220\u9664"},Ae.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Pe.currentDelete}`,onClick:_t=>{_t.stopPropagation(),an.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>Ze(void 0,null,function*(){const An=yield mn({id:lt==null?void 0:lt.key});(An==null?void 0:An.status)==0&&(ze.ZP.success((An==null?void 0:An.message)||"\u5220\u9664\u6210\u529F"),Xn({},!0))})})}}))))))}),Ae.createElement(a.op,{className:"ml20 mt20",icon:Ae.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{It(!0),Ln(!0)}},ct.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"}))):Ae.createElement(y.Z,{styles:{margin:"30px auto"},customText:Ae.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",Ae.createElement("a",{onClick:()=>{It(!0),Ln(!0)}},ct.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"})))}))),Ae.createElement(Ke.default,{title:Wn?ct.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"}):"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:$n,okText:Wn?ct.formatMessage({id:"classrooms.add",defaultMessage:"\u6DFB\u52A0"}):ct.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),onCancel:()=>{Oe()},onOk:()=>{bt.submit()}},Ae.createElement(_e.default,{form:bt,onFinish:pt},Wn&&Ae.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),Ae.createElement(_e.default.Item,{hidden:!0,name:"id"}),Ae.createElement(_e.default.Item,{className:"mt10",name:"value"},Ae.createElement(De.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9}}))))):null};var Bt=(0,ye.connect)(({loading:Me,user:Nt})=>({user:Nt,loading:Me.effects}))(Ue)},57444:function(qt,Ot,ge){"use strict";ge.d(Ot,{h:function(){return de}});var Ae=ge(67294),ye=ge(11713),Ke=ge(22150),_e=ge(71577),ze=ge(4631),je=ge.n(ze),pe=ge(71749),ve=ge(30483),Le=ge(35973),ce=Object.defineProperty,De=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,a=(we,be,Ne)=>be in we?ce(we,be,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):we[be]=Ne,b=(we,be)=>{for(var Ne in be||(be={}))ie.call(be,Ne)&&a(we,Ne,be[Ne]);if(Ee)for(var Ne of Ee(be))y.call(be,Ne)&&a(we,Ne,be[Ne]);return we},E=(we,be)=>De(we,Pe(be));const x=ye.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ae={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"]};Ot.Z=({callback:we,onCancel:be})=>{const[Ne,We]=(0,Ae.useState)("python");function Ze(Bt){We(ae[Bt][1])}function at(Bt){we(Bt)}const Ue=(0,Le.useIntl)();return Ae.createElement(Ke.default,E(b({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:at,style:{width:500}}),Ae.createElement(Ke.default.Item,{label:Ue.formatMessage({id:"markdownEditor.codeLanguage",defaultMessage:"\u4EE3\u7801\u8BED\u8A00"}),name:"language"},Ae.createElement(ye.default,{getPopupContainer:Bt=>Bt.parentNode,onChange:Ze},Object.keys(ae).map(Bt=>Ae.createElement(x,{key:Bt,value:Bt},ae[Bt][0])))),Ae.createElement(Ke.default.Item,{label:Ue.formatMessage({id:"markdownEditor.codeContent",defaultMessage:"\u4EE3\u7801\u5185\u5BB9"}),name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Ae.createElement(de,{mode:Ne})),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(_e.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},Ue.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Ae.createElement(_e.ZP,{type:"ghost",onClick:be},Ue.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))};function de({value:we,onChange:be,mode:Ne,options:We={}}){const Ze=(0,Ae.useRef)(),[at,Ue]=(0,Ae.useState)();return(0,Ae.useEffect)(()=>{if(at){let Bt=function(Me){const Nt=Me.getValue();be&&be(Nt)};return at.on("change",Bt),()=>{at.off("change",Bt)}}},[at,be]),(0,Ae.useEffect)(()=>{at&&at.setOption("mode",Ne)},[at,Ne]),(0,Ae.useEffect)(()=>{at&&(we!==at.getValue()||we==="")&&setTimeout(()=>{at.setValue(we||"")},300)},[at,we]),(0,Ae.useEffect)(()=>{if(Ze.current&&!at){const Bt=je().fromTextArea(Ze.current,b({mode:Ne,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},We));Ue(Bt)}},[Ze.current,at]),Ae.createElement("div",{className:"my-codemirror-container"},Ae.createElement("textarea",{ref:Ze}))}},35567:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return as}});var Ae=ge(67294),ye=ge(4631),Ke=ge.n(ye),_e=ge(91033),ze=ge(71749),je=ge(57341),pe=ge(82801),ve=ge(88386),Le=ge(49047),ce=ge(80785),De=ge(85725),Pe=({value:un="",className:Bn,showTextOnly:Pn,showLines:yr,style:ea={}})=>{const Yr=(0,Ae.useMemo)(()=>"",[un]);return Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{dangerouslySetInnerHTML:{__html:Yr}}))},Ee=ge(35973),ie=ge(67294),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ae=(un,Bn,Pn)=>Bn in un?y(un,Bn,{enumerable:!0,configurable:!0,writable:!0,value:Pn}):un[Bn]=Pn,de=(un,Bn)=>{for(var Pn in Bn||(Bn={}))x.call(Bn,Pn)&&ae(un,Pn,Bn[Pn]);if(E)for(var Pn of E(Bn))z.call(Bn,Pn)&&ae(un,Pn,Bn[Pn]);return un},we=(un,Bn)=>a(un,b(Bn));function be({onActionCallback:un,title:Bn,icon:Pn,actionName:yr,className:ea="",children:Yr}){function wo(){un(yr)}return ie.createElement("a",{title:Bn,className:ea,onClick:wo},ie.createElement("i",{className:`${Pn}`}),Yr)}var Ne=({watch:un,showNullButton:Bn,showNullProgramButton:Pn,onActionCallback:yr,fullScreen:ea,insertTemp:Yr,hidetoolBar:wo,extraUse:Sa})=>{const ca=(0,Ee.useIntl)(),Pi=[...[{title:ca.formatMessage({id:"markdownEditor.bold",defaultMessage:"\u7C97\u4F53"}),icon:"md-iconfont icon-bold",actionName:"bold"},{title:ca.formatMessage({id:"markdownEditor.italic",defaultMessage:"\u659C\u4F53"}),icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:ca.formatMessage({id:"markdownEditor.unorderedList",defaultMessage:"\u65E0\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:ca.formatMessage({id:"markdownEditor.orderedList",defaultMessage:"\u6709\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:ca.formatMessage({id:"markdownEditor.inlineCode",defaultMessage:"\u884C\u5185\u4EE3\u7801"}),icon:"md-iconfont icon-code",actionName:"code"},{title:ca.formatMessage({id:"markdownEditor.codeBlockMultiLanguage",defaultMessage:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09"}),icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:ca.formatMessage({id:"markdownEditor.link",defaultMessage:"\u94FE\u63A5"}),icon:"md-iconfont icon-link",actionName:"link"},"|",{title:ca.formatMessage({id:"markdownEditor.inlineFormula",defaultMessage:"\u884C\u5185\u516C\u5F0F"}),icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:ca.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:ca.formatMessage({id:"markdownEditor.multiLineFormula",defaultMessage:"\u591A\u884C\u516C\u5F0F"}),icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:ca.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:ca.formatMessage({id:"markdownEditor.insertDrawing",defaultMessage:"\u63D2\u5165\u753B\u56FE"}),icon:"iconfont icon-sheji",actionName:"draw-image"},{title:ca.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:ca.formatMessage({id:"markdownEditor.table",defaultMessage:"\u8868\u683C"}),icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:ca.formatMessage({id:"markdownEditor.lineBreak",defaultMessage:"\u6362\u884C"}),icon:"md-iconfont icon-minus",actionName:"line-break"},{title:ca.formatMessage({id:"markdownEditor.clear",defaultMessage:"\u6E05\u7A7A"}),icon:"md-iconfont icon-eraser",actionName:"eraser"}],{title:`${un?ca.formatMessage({id:"markdownEditor.disableRealTimePreview",defaultMessage:"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8"}):ca.formatMessage({id:"markdownEditor.enableRealTimePreview",defaultMessage:"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"})}`,icon:`${un?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ie.createElement("ul",{className:"markdown-toolbar-container"},!wo&&Pi.map((ni,Jr)=>ie.createElement("li",{key:Jr},ni.actionName?ie.createElement(be,we(de({},ni),{onActionCallback:yr})):ie.createElement("span",{className:"v-line"}))),Bn?ie.createElement("li",null,ie.createElement(be,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:yr},ie.createElement("span",{className:"fill-tip"},ca.formatMessage({id:"questionBankAddQuestion.clickToInsertBlank",defaultMessage:"\u70B9\u51FB\u63D2\u5165"}),"\b",ca.formatMessage({id:"questionBankAddQuestion.blank",defaultMessage:"\u586B\u7A7A\u9879"})))):null,Pn?ie.createElement(ie.Fragment,null,ie.createElement("li",null,ie.createElement(be,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:yr},ie.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ie.createElement("li",null,ie.createElement(be,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:yr},ie.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Yr&&ie.createElement("li",null,ie.createElement(be,{icon:"md-iconfont icon-edit",className:"btn-null",title:ca.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"}),actionName:`inster-template-${Yr}`,onActionCallback:yr},ie.createElement("span",{className:"fill-tip"},ca.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"})))),Sa&&ie.createElement("li",null,Sa),ie.createElement("li",{className:"btn-full-screen"},ie.createElement(be,{icon:`${ea?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ea?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:yr})))},We=ge(76621),Ze=ge(22150),at=ge(69677),Ue=ge(71577),Bt=Object.defineProperty,Me=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,dt=(un,Bn,Pn)=>Bn in un?Bt(un,Bn,{enumerable:!0,configurable:!0,writable:!0,value:Pn}):un[Bn]=Pn,vt=(un,Bn)=>{for(var Pn in Bn||(Bn={}))At.call(Bn,Pn)&&dt(un,Pn,Bn[Pn]);if(ut)for(var Pn of ut(Bn))Lt.call(Bn,Pn)&&dt(un,Pn,Bn[Pn]);return un},et=(un,Bn)=>Me(un,Nt(Bn));const ct={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:un,onCancel:Bn})=>{function Pn(ea){un(ea)}const yr=(0,Ee.useIntl)();return Ae.createElement(Ze.default,et(vt({},ct),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Pn,style:{width:500}}),Ae.createElement(Ze.default.Item,{label:yr.formatMessage({id:"markdownEditor.linkAddress",defaultMessage:"\u94FE\u63A5\u5730\u5740"}),name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Ae.createElement(at.default,null)),Ae.createElement(Ze.default.Item,{label:yr.formatMessage({id:"markdownEditor.linkTitle",defaultMessage:"\u94FE\u63A5\u6807\u9898"}),name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Ae.createElement(at.default,null)),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},yr.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Ae.createElement(Ue.ZP,{type:"ghost",onClick:Bn},yr.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},En=ge(57444),bt=ge(70859),nn=ge(14446),Fn=ge(71230),$n=ge(63205),Ln=ge(67294),Wn=({callback:un,onCancel:Bn})=>{const Pn=document.createElement("canvas"),yr=Pn.getContext("2d");Pn.width=1e3,Pn.height=800,yr.fillStyle="#ffffff",yr.fillRect(0,0,Pn.width,Pn.height);const ea=Pn.toDataURL("image/png");return Ln.createElement(nn.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ln.createElement(Fn.Z,{style:{height:"100vh"}},Ln.createElement($n.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ea,visible:!0,title:String(Date.now())},onOk:Yr=>{un({src:Yr.url})},onClose:Bn})))},It=ge(23495);function Vn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Vn,go.CommandHandler),Vn.prototype.canAlignSelection=function(){var un=this.diagram;return!(un===null||un.isReadOnly||un.isModelReadOnly||un.selection.count<2)},Vn.prototype.alignLeft=function(){var un=this.diagram;un.startTransaction("aligning left");var Bn=1/0;un.selection.each(function(Pn){Pn instanceof go.Link||(Bn=Math.min(Pn.position.x,Bn))}),un.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Bn,Pn.position.y))}),un.commitTransaction("aligning left")},Vn.prototype.alignRight=function(){var un=this.diagram;un.startTransaction("aligning right");var Bn=-1/0;un.selection.each(function(Pn){if(!(Pn instanceof go.Link)){var yr=Pn.actualBounds.x+Pn.actualBounds.width;Bn=Math.max(yr,Bn)}}),un.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Bn-Pn.actualBounds.width,Pn.position.y))}),un.commitTransaction("aligning right")},Vn.prototype.alignTop=function(){var un=this.diagram;un.startTransaction("alignTop");var Bn=1/0;un.selection.each(function(Pn){Pn instanceof go.Link||(Bn=Math.min(Pn.position.y,Bn))}),un.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Pn.position.x,Bn))}),un.commitTransaction("alignTop")},Vn.prototype.alignBottom=function(){var un=this.diagram;un.startTransaction("aligning bottom");var Bn=-1/0;un.selection.each(function(Pn){if(!(Pn instanceof go.Link)){var yr=Pn.actualBounds.y+Pn.actualBounds.height;Bn=Math.max(yr,Bn)}}),un.selection.each(function(Pn){Pn instanceof go.Link||Pn.move(new go.Point(Pn.actualBounds.x,Bn-Pn.actualBounds.height))}),un.commitTransaction("aligning bottom")},Vn.prototype.alignCenterX=function(){var un=this.diagram,Bn=un.selection.first();if(Bn){un.startTransaction("aligning Center X");var Pn=Bn.actualBounds.x+Bn.actualBounds.width/2;un.selection.each(function(yr){yr instanceof go.Link||yr.move(new go.Point(Pn-yr.actualBounds.width/2,yr.actualBounds.y))}),un.commitTransaction("aligning Center X")}},Vn.prototype.alignCenterY=function(){var un=this.diagram,Bn=un.selection.first();if(Bn){un.startTransaction("aligning Center Y");var Pn=Bn.actualBounds.y+Bn.actualBounds.height/2;un.selection.each(function(yr){yr instanceof go.Link||yr.move(new go.Point(yr.actualBounds.x,Pn-yr.actualBounds.height/2))}),un.commitTransaction("aligning Center Y")}},Vn.prototype.alignColumn=function(un){var Bn=this.diagram;Bn.startTransaction("align Column"),un===void 0&&(un=0),un=parseFloat(un);var Pn=new Array;Bn.selection.each(function(Sa){Sa instanceof go.Link||Pn.push(Sa)});for(var yr=0;yr0){for(var Sa=Yr.elt(wo-1);Sa!==null&&Sa.isTreeExpanded&&!Sa.isTreeLeaf;){var ca=this._sortTreeChildrenByY(Sa);Sa=ca.last()}Sa!==null&&un.select(Sa)}else un.select(ea)}}else if(Pn.key==="Down")if(Bn.isTreeExpanded&&!Bn.isTreeLeaf){var yr=this._sortTreeChildrenByY(Bn).first();yr!==null&&un.select(yr)}else for(;Bn!==null;){var ea=Bn.findTreeParentNode();if(ea===null)break;var Yr=this._sortTreeChildrenByY(ea),wo=Yr.indexOf(Bn);if(woYr.y?1:ea.xYr.x?1:0}),Bn},Vn.prototype.copyToClipboard=function(un){go.CommandHandler.prototype.copyToClipboard.call(this,un),this._lastPasteOffset.set(this.pasteOffset)},Vn.prototype.pasteFromClipboard=function(){var un=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(un,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),un},Object.defineProperty(Vn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(un){if(un!=="move"&&un!=="select"&&un!=="scroll"&&un!=="tree"&&un!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+un);this._arrowKeyBehavior=un}}),Object.defineProperty(Vn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(un){if(!(un instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+un);this._pasteOffset.set(un)}});var Xn=Vn,Ye=ge(18023),mn=ge(15746),Qe=ge(33170),me={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},he=ge(67294),Oe=(un,Bn,Pn)=>new Promise((yr,ea)=>{var Yr=ca=>{try{Sa(Pn.next(ca))}catch(Ei){ea(Ei)}},wo=ca=>{try{Sa(Pn.throw(ca))}catch(Ei){ea(Ei)}},Sa=ca=>ca.done?yr(ca.value):Promise.resolve(ca.value).then(Yr,wo);Sa((Pn=Pn.apply(un,Bn)).next())});function qe({onCancel:un,callback:Bn}){let Pn=(0,Ae.useRef)(),yr=(0,Ae.useRef)(),ea=(0,Ae.useRef)(),Yr=(0,Ae.useRef)(!1);const wo=(0,Ae.useRef)(!1),[Sa,ca]=(0,Ae.useState)(0);function Ei(){const Jr=It.bx.make,eo={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"};Pn.current=new It.S0(yr.current,{padding:20,grid:Jr(It.s_,"Grid",Jr(It.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Jr(It.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Hr=>{var Ua=Hr.diagram.commandHandler.addTopLevelParts(Hr.diagram.selection,!0);Ua||Hr.diagram.currentTool.doCancel()},commandHandler:Jr(Xn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Hr=>{var Ua=Hr.subject;Ua.location=Ua.location.copy().snapToGridPoint(Hr.diagram.grid.gridOrigin,Hr.diagram.grid.gridCellSize),setTimeout(()=>{Hr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Hr=>{var Ua=Hr.subject;setTimeout(()=>{Hr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Hr=>{var Ua=Hr.parameter.part;Ua.invalidateConnectedLinks();var fo=Hr.subject;Hr.diagram.toolManager.linkingTool.isForwards?fo.toNode.invalidateConnectedLinks():fo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Pn.current.nodeTemplate=Jr(It.NB,"Auto",{locationSpot:It.z6.Center,locationObjectName:"SHAPE",desiredSize:new It.$u(120,60),minSize:new It.$u(40,40),resizable:!0,resizeCellSize:new It.$u(10,10),rotatable:!0},new It.KX("location","loc",It.E9.parse).makeTwoWay(It.E9.stringify),new It.KX("desiredSize","size",It.$u.parse).makeTwoWay(It.$u.stringify),Jr(It.bn,{name:"SHAPE",fill:eo.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:It.z6.AllSides,toSpot:It.z6.AllSides},new It.KX("figure"),new It.KX("fill"),new It.KX("stroke","borderColor"),new It.KX("strokeWidth","thickness"),new It.KX("strokeDashArray","dash")),Jr(It.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Jr(It.al,{margin:1,textAlign:"center",overflow:It.al.OverflowEllipsis,editable:!0},new It.KX("text").makeTwoWay(),new It.KX("stroke","color"))),Pn.current.nodeTemplate.toolTip=Jr("ToolTip",Jr(It.s_,"Vertical",{maxSize:new It.$u(200,NaN)},Jr(It.al,{font:"bold 10pt sans-serif",textAlign:"center"},new It.KX("text")),Jr(It.al,{font:"10pt sans-serif",textAlign:"center"},new It.KX("text","details"))));function qi(Hr,Ua){var fo=(so,Vi)=>{so.handled=!0,so.diagram.model.commit($i=>{var us=Vi.part.adornedPart,xs=new It.E9().setRectSpot(us.actualBounds,Hr);xs.subtract(us.location),xs.scale(2,2),xs.x+=Math.sign(xs.x)*130,xs.y+=Math.sign(xs.y)*130,xs.add(us.location),xs.snapToGridPoint(so.diagram.grid.gridOrigin,so.diagram.grid.gridCellSize);var rA=$i.copyNodeData(us.data);$i.setGroupKeyForNodeData(rA,$i.getGroupKeyForNodeData(us.data)),$i.addNodeData(rA);var Ho={from:us.key,to:$i.getKeyForNodeData(rA)};$i.addLinkData(Ho);var ja=so.diagram.findNodeForData(rA);ja.location=xs,so.diagram.select(ja),setTimeout(()=>{so.diagram.commandHandler.editTextBlock()},20)})};return Jr(It.bn,{figure:Ua,alignment:Hr,alignmentFocus:Hr.opposite(),width:Hr.equals(It.z6.Top)||Hr.equals(It.z6.Bottom)?25:18,height:Hr.equals(It.z6.Top)||Hr.equals(It.z6.Bottom)?18:25,fill:"orange",stroke:eo.white,strokeWidth:4,mouseEnter:(so,Vi)=>Vi.fill="dodgerblue",mouseLeave:(so,Vi)=>Vi.fill="orange",isActionable:!0,click:fo,contextClick:fo})}function os(Hr){return Jr(It.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:(Ua,fo)=>fo.fill="dodgerblue",mouseLeave:(Ua,fo)=>fo.fill="orange",click:(Ua,fo)=>{Ua.diagram.commandHandler.showContextMenu(fo.part.adornedPart)}},Hr||{})}Pn.current.nodeTemplate.selectionAdornmentTemplate=Jr(It.uz,"Spot",Jr(It.Vm,{padding:10}),qi(It.z6.Top,"TriangleUp"),qi(It.z6.Left,"TriangleLeft"),qi(It.z6.Right,"TriangleRight"),qi(It.z6.Bottom,"TriangleDown"),os({alignment:new It.z6(.75,0)}));function fi(Hr,Ua){return(fo,so)=>{fo.handled=!0,fo.diagram.model.commit(Vi=>{Vi.set(so.part.adornedPart.data,Hr,Ua)})}}function mi(Hr,Ua){return Ua||(Ua="color"),Jr(It.bn,{width:16,height:16,stroke:"lightgray",fill:Hr,margin:1,background:"transparent",mouseEnter:(fo,so)=>so.stroke="dodgerblue",mouseLeave:(fo,so)=>so.stroke="lightgray",click:fi(Ua,Hr),contextClick:fi(Ua,Hr)})}function Ka(){return[Jr("ContextMenuButton",Jr(It.s_,"Horizontal",mi(eo.white,"fill"),mi(eo.beige,"fill"),mi(eo.extralightblue,"fill"),mi(eo.extralightred,"fill"))),Jr("ContextMenuButton",Jr(It.s_,"Horizontal",mi(eo.lightgray,"fill"),mi(eo.lightgreen,"fill"),mi(eo.lightblue,"fill"),mi(eo.lightred,"fill")))]}function Go(){return[Jr("ContextMenuButton",Jr(It.s_,"Horizontal",mi(eo.black),mi(eo.green),mi(eo.blue),mi(eo.red))),Jr("ContextMenuButton",Jr(It.s_,"Horizontal",mi(eo.white),mi(eo.magenta),mi(eo.purple),mi(eo.orange)))]}function ai(Hr,Ua){return Ua||(Ua="thickness"),Jr(It.bn,"LineH",{width:16,height:16,strokeWidth:Hr,margin:1,background:"transparent",mouseEnter:(fo,so)=>so.background="dodgerblue",mouseLeave:(fo,so)=>so.background="transparent",click:fi(Ua,Hr),contextClick:fi(Ua,Hr)})}function Qi(Hr,Ua){return Ua||(Ua="dash"),Jr(It.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Hr,margin:1,background:"transparent",mouseEnter:(fo,so)=>so.background="dodgerblue",mouseLeave:(fo,so)=>so.background="transparent",click:fi(Ua,Hr),contextClick:fi(Ua,Hr)})}function Us(){return[Jr("ContextMenuButton",Jr(It.s_,"Horizontal",ai(1),ai(2),ai(3),ai(4))),Jr("ContextMenuButton",Jr(It.s_,"Horizontal",Qi(null),Qi([2,4]),Qi([4,4])))]}function ji(Hr,Ua){return Ua||(Ua="figure"),Jr(It.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Hr,margin:1,background:"transparent",mouseEnter:(fo,so)=>so.fill="dodgerblue",mouseLeave:(fo,so)=>so.fill="lightgray",click:fi(Ua,Hr),contextClick:fi(Ua,Hr)})}Pn.current.nodeTemplate.contextMenu=Jr("ContextMenu",Jr("ContextMenuButton",Jr(It.s_,"Horizontal",ji("Rectangle"),ji("RoundedRectangle"),ji("Ellipse"),ji("Diamond"))),Jr("ContextMenuButton",Jr(It.s_,"Horizontal",ji("Parallelogram2"),ji("ManualOperation"),ji("Procedure"),ji("Cylinder1"))),Jr("ContextMenuButton",Jr(It.s_,"Horizontal",ji("Terminator"),ji("CreateRequest"),ji("Document"),ji("TriangleDown"))),Ka(),Go(),Us()),Pn.current.groupTemplate=Jr(It.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:It.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Hr,Ua)=>{var fo=Ua.addMembers(Ua.diagram.selection,!0);fo||Ua.diagram.currentTool.doCancel()},avoidable:!1},new It.KX("location","loc",It.E9.parse).makeTwoWay(It.E9.stringify),Jr(It.s_,"Auto",{name:"BODY"},Jr(It.bn,{parameter1:10,fill:eo.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:It.z6.AllSides,toSpot:It.z6.AllSides},new It.KX("fill"),new It.KX("stroke","color"),new It.KX("strokeWidth","thickness"),new It.KX("strokeDashArray","dash")),Jr(It.Vm,{background:"transparent",margin:20})),Jr(It.al,{alignment:It.z6.Top,alignmentFocus:It.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new It.KX("text"),new It.KX("stroke","color"))),Pn.current.groupTemplate.selectionAdornmentTemplate=Jr(It.uz,"Spot",Jr(It.s_,"Auto",Jr(It.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Jr(It.Vm,{margin:1.5})),os({alignment:It.z6.TopRight,alignmentFocus:It.z6.BottomRight})),Pn.current.groupTemplate.contextMenu=Jr("ContextMenu",Ka(),Go(),Us()),Pn.current.linkTemplate=Jr(It.rU,{layerName:"Foreground",routing:It.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new It.KX("fromSpot","fromSpot",It.z6.parse),new It.KX("toSpot","toSpot",It.z6.parse),new It.KX("fromShortLength","dir",Hr=>Hr>=1?10:0),new It.KX("toShortLength","dir",Hr=>Hr>=1?10:0),new It.KX("points").makeTwoWay(),Jr(It.bn,{strokeWidth:2},new It.KX("stroke","color"),new It.KX("strokeWidth","thickness"),new It.KX("strokeDashArray","dash")),Jr(It.bn,{segmentIndex:0,segmentOffset:new It.E9(15,0),segmentOrientation:It.rU.OrientAlong,alignmentFocus:It.z6.Right,figure:"circle",width:10,strokeWidth:0},new It.KX("fill","color"),new It.KX("visible","dir",Hr=>Hr===1)),Jr(It.bn,{segmentIndex:-1,segmentOffset:new It.E9(-10,6),segmentOrientation:It.rU.OrientPlus90,alignmentFocus:It.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new It.KX("fill","color"),new It.KX("visible","dir",Hr=>Hr>=1),new It.KX("width","thickness",Hr=>7+3*Hr),new It.KX("height","thickness",Hr=>7+3*Hr),new It.KX("segmentOffset","thickness",Hr=>new It.E9(-15,4+1.5*Hr))),Jr(It.bn,{segmentIndex:0,segmentOffset:new It.E9(15,-6),segmentOrientation:It.rU.OrientMinus90,alignmentFocus:It.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new It.KX("fill","color"),new It.KX("visible","dir",Hr=>Hr===2),new It.KX("width","thickness",Hr=>7+3*Hr),new It.KX("height","thickness",Hr=>7+3*Hr),new It.KX("segmentOffset","thickness",Hr=>new It.E9(-15,4+1.5*Hr))),Jr(It.al,{alignmentFocus:new It.z6(0,1,-4,0),editable:!0},new It.KX("text").makeTwoWay(),new It.KX("stroke","color"))),Pn.current.linkTemplate.selectionAdornmentTemplate=Jr(It.uz,Jr(It.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Es(2)},new It.KX("pathPattern","thickness",Es)),os({alignmentFocus:new It.z6(0,0,-6,-4)}));function Es(Hr){return Jr(It.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Hr+4).toString()+" H3"})}function zs(Hr){var Ua="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Hr===0?Ua="M0 0 M16 16 M0 8 L16 8":Hr===2&&(Ua="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Jr(It.bn,{geometryString:Ua,margin:2,background:"transparent",mouseEnter:(fo,so)=>so.background="dodgerblue",mouseLeave:(fo,so)=>so.background="transparent",click:fi("dir",Hr),contextClick:fi("dir",Hr)})}function Lr(Hr){var Ua=(fo,so)=>{fo.handled=!0,fo.diagram.model.commit(Vi=>{var $i=so.part.adornedPart;Vi.set($i.data,Hr?"toSpot":"fromSpot",It.z6.stringify(It.z6.AllSides)),(Hr?$i.toNode:$i.fromNode).invalidateConnectedLinks()})};return Jr(It.bn,{width:12,height:12,fill:"transparent",mouseEnter:(fo,so)=>so.background="dodgerblue",mouseLeave:(fo,so)=>so.background="transparent",click:Ua,contextClick:Ua})}function eA(Hr,Ua){var fo=0,so=It.z6.RightSide;Hr.equals(It.z6.Top)?(fo=270,so=It.z6.TopSide):Hr.equals(It.z6.Left)?(fo=180,so=It.z6.LeftSide):Hr.equals(It.z6.Bottom)&&(fo=90,so=It.z6.BottomSide),Ua||(fo-=180);var Vi=($i,us)=>{$i.handled=!0,$i.diagram.model.commit(xs=>{var rA=us.part.adornedPart;xs.set(rA.data,Ua?"toSpot":"fromSpot",It.z6.stringify(so)),(Ua?rA.toNode:rA.fromNode).invalidateConnectedLinks()})};return Jr(It.bn,{alignment:Hr,alignmentFocus:Hr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:fo,background:"transparent",mouseEnter:($i,us)=>us.background="dodgerblue",mouseLeave:($i,us)=>us.background="transparent",click:Vi,contextClick:Vi})}Pn.current.linkTemplate.contextMenu=Jr("ContextMenu",Go(),Us(),Jr("ContextMenuButton",Jr(It.s_,"Horizontal",zs(0),zs(1),zs(2))),Jr("ContextMenuButton",Jr(It.s_,"Horizontal",Jr(It.s_,"Spot",Lr(!1),eA(It.z6.Top,!1),eA(It.z6.Left,!1),eA(It.z6.Right,!1),eA(It.z6.Bottom,!1)),Jr(It.s_,"Spot",{margin:new It.Zt(0,0,0,2)},Lr(!0),eA(It.z6.Top,!0),eA(It.z6.Left,!0),eA(It.z6.Right,!0),eA(It.z6.Bottom,!0)))));const xA=`{ "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 Gs=["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 No(Hr){return console.log("shapeName:",Hr),Gs.indexOf(Hr)>=0}var is=new It.YI(ea.current,{maxSelectionCount:1,linkTemplate:Jr(It.rU,{locationSpot:It.z6.Center,selectionAdornmentTemplate:Jr(It.uz,"Link",{locationSpot:It.z6.Center},Jr(It.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Jr(It.bn,{toArrow:"Standard",stroke:null}))},{routing:It.rU.AvoidsNodes,curve:It.rU.JumpOver,corner:5,toShortLength:4},new It.KX("points"),Jr(It.bn,{isPanelMain:!0,strokeWidth:2}),Jr(It.bn,{toArrow:"Standard",stroke:null})),model:new It.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...It.bn.getFigureGenerators().toArray().map(Hr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Hr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Pn.current.addDiagramListener("TextEdited",function(Hr){var Ua;const fo=Hr.subject.part;var so=(Ua=document.activeElement)==null?void 0:Ua.value;typeof so=="string"&&so.trim()===""&&Pn.current.model.commit(function(Vi){Vi.set(fo.data,"text","\u672A\u547D\u540D"),Pn.current.commandHandler.stopCommand()},"increment")}),is.nodeTemplate=Jr(It.NB,"Auto",{locationSpot:It.z6.Center},new It.KX("location","location",It.E9.parse).makeTwoWay(It.E9.stringify),Jr(It.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 It.KX("stroke").makeTwoWay(),new It.KX("fill").makeTwoWay(),new It.KX("figure")),Jr(It.al,{margin:new It.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new It.$u(16,16),maxSize:new It.$u(10,NaN),textAlign:"center",editable:!0},new It.KX("key").makeTwoWay())),setTimeout(()=>{Pn.current.grid=Jr(It.s_,"Grid",Jr(It.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Jr(It.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Pn.current.grid.visible=!0,Pn.current.grid.gridCellStroke="darkgray",Pn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Pn.current,Pn.current}const Pi=()=>Oe(this,null,function*(){var Jr=Pn.current.makeImage();const eo=yield(0,Qe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Jr.src}});Bn({src:eo.url})});(0,Ae.useEffect)(()=>(setTimeout(()=>{Ei()},500),ca(Sa+1),()=>{Pn.current=null}),[]);const ni=(0,Ee.useIntl)();return he.createElement("div",{ref:wo,className:Yr.current?`${me.maxH60} body-overflow-initial`:"body-overflow-initial"},he.createElement(nn.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Sa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:he.createElement(Fn.Z,null,he.createElement(mn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),he.createElement(mn.Z,{onClick:()=>{var Jr,eo,qi=Pn.current.selection.first();if(Yr.current=!Yr.current,document.activeElement&&qi){let os=(eo=(Jr=document.activeElement)==null?void 0:Jr.value)==null?void 0:eo.trim();typeof os=="string"&&Pn.current.model.commit(function(fi){fi.set(qi.data,"text",os||"\u672A\u547D\u540D"),Pn.current.commandHandler.stopCommand()},"increment")}ca(Sa+1)}},he.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},ni.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"})," /",ni.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"})))),onCancel:un},he.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:me.flowChartWrp},he.createElement("div",{style:{display:"flex",height:"100%"}},he.createElement("div",{style:{width:"300px",height:"100%"}},he.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),he.createElement("div",{style:{height:"calc(100% - 50px)"},className:me.myPaletteDiv,ref:ea})),he.createElement("div",{style:{flex:1,position:"relative"}},he.createElement("div",{ref:yr,style:{height:"80vh"}}))),he.createElement("div",{className:"tr"},he.createElement(Ue.ZP,{size:"large",onClick:Pi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},ni.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))))}var pt=qe,lt=ge(78045),_t=ge(31795);const An=lt.ZP.Group,cn={margin:"0 8px"};var Kn=({callback:un,onCancel:Bn})=>{function Pn(ea){un(ea)}const yr=(0,Ee.useIntl)();return Ae.createElement(Ze.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Pn},Ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Ae.createElement("span",{style:cn},yr.formatMessage({id:"markdownEditor.numberOfCells",defaultMessage:"\u5355\u5143\u683C\u6570"}),"\uFF1A"),Ae.createElement("span",{style:cn},yr.formatMessage({id:"markdownEditor.numberOfRows",defaultMessage:"\u884C\u6570"})),Ae.createElement(Ze.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Ae.createElement(_t.Z,null)),Ae.createElement("span",{style:cn},yr.formatMessage({id:"markdownEditor.numberOfColumns",defaultMessage:"\u5217\u6570"})),Ae.createElement(Ze.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Ae.createElement(_t.Z,null))),Ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Ae.createElement("span",{style:cn},yr.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),"\uFF1A"),Ae.createElement(Ze.default.Item,{name:"align"},Ae.createElement(An,null,Ae.createElement(lt.ZP,{value:"default"},Ae.createElement("i",{className:"fa fa-align-justify"})),Ae.createElement(lt.ZP,{value:"left"},Ae.createElement("i",{className:"fa fa-align-left"})),Ae.createElement(lt.ZP,{value:"center"},Ae.createElement("i",{className:"fa fa-align-center"})),Ae.createElement(lt.ZP,{value:"right"},Ae.createElement("i",{className:"fa fa-align-right"}))))),Ae.createElement("div",{className:"flex-container flex-end"},Ae.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},yr.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Ae.createElement(Ue.ZP,{type:"ghost",onClick:Bn},yr.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},St=ge(47897),zt=ge(61016),Vt=ge.n(zt),yt=(0,Ae.forwardRef)(({use3d:un,width:Bn,height:Pn,callback:yr,showSaveButton:ea},Yr)=>{const wo=(0,Ae.useRef)(),Sa=(0,Ae.useRef)(),ca=(0,Ee.useIntl)(),[Ei,Pi]=(0,Ae.useState)(!1),ni=(0,Ae.useRef)({id:wo,appName:"graphing",width:Bn||1e3,height:Pn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Ae.useEffect)(()=>{Sa.current=new(Vt())(ni.current,!0),window.onload=function(){Sa.current.inject("applet_container")}},[]);const Jr=()=>{var eo=window.ggbApplet.getPNGBase64(1,!0,72);return yr&&yr(eo),eo};return(0,Ae.useEffect)(()=>{ni.current.appName=Ei?"3D":"graphing",Sa.current.inject("applet_container")},[Ei]),(0,Ae.useEffect)(()=>{Pi(un)},[un]),(0,Ae.useImperativeHandle)(Yr,()=>({getImgData:Jr})),Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:wo}),Ae.createElement(Fn.Z,{align:"middle"},Ae.createElement(mn.Z,{flex:1},Ae.createElement(St.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:ca.formatMessage({id:"markdownEditor.enable3DImage",defaultMessage:"\u5F00\u542F3D\u56FE\u50CF"}),checked:Ei,onChange:eo=>Pi(eo)})),Ae.createElement(mn.Z,null,Ae.createElement(Ue.ZP,{size:"large",onClick:Jr,style:{zIndex:8,marginTop:10},type:"primary"},ca.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"})))))}),Un=ge(36527),kt=ge(25934),en=ge(2453);const Qn="link",Mn="upload-image",er="add-flowchart",br="draw-image",_r="add-flowchart",Vr="code-block",hr="add-table",gr="------------",Sr={default:gr,left:`:${gr}`,center:`:${gr}:`,right:`${gr}:`};var qr=ge(99914),$r=(un,Bn,Pn)=>new Promise((yr,ea)=>{var Yr=ca=>{try{Sa(Pn.next(ca))}catch(Ei){ea(Ei)}},wo=ca=>{try{Sa(Pn.throw(ca))}catch(Ei){ea(Ei)}},Sa=ca=>ca.done?yr(ca.value):Promise.resolve(ca.value).then(Yr,wo);Sa((Pn=Pn.apply(un,Bn)).next())});function io(){}let Ba=0;const Io=1e4,po="\u2581",Ea="@\u2581\u2581@",sn="@\u2581@",lo=` **\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`,wa=["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 wi(un){return/^\d+$/.test(un)?`${un}px`:un}const Ia=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Di={[Ia+"-B"]:"bold",[Ia+"-I"]:"italic"};var as=({defaultValue:un="",onChange:Bn,width:Pn="100%",height:yr=400,miniToolbar:ea=!1,isFocus:Yr=!1,watch:wo,insertTemp:Sa,mode:ca="markdown",id:Ei="markdown-editor-id",showResizeBar:Pi=!1,noStorage:ni=!1,showNullButton:Jr=!1,showNullProgramButton:eo=!1,hidetoolBar:qi=!1,fullScreen:os=!1,onBlur:fi,onCMBeforeChange:mi,onFullScreen:Ka,className:Go="",disablePaste:ai=!1,disabled:Qi=!1,disabledFill:Us=!1,placeholder:ji="",values:Es="",extraUse:zs})=>{const[Lr,eA]=(0,Ae.useState)(null),[xA,Gs]=(0,Ae.useState)(un),[No,is]=(0,Ae.useState)(wo),[Hr,Ua]=(0,Ae.useState)(os),[fo,so]=(0,Ae.useState)(""),[Vi,$i]=(0,Ae.useState)(0),[us,xs]=(0,Ae.useState)(yr),[rA,Ho]=(0,Ae.useState)(!1),ja=(0,Ae.useRef)((0,kt.Z)()),XA=(0,Ae.useRef)(!1),tA=(0,Ae.useRef)(),[sA,AA]=(0,Ae.useState)(0),[LA,JA]=(0,Ae.useState)(0),ms=(0,Ae.useRef)(),pA=(0,Ae.useRef)(),Eo=(0,Ae.useRef)(),Ti=(0,Ae.useRef)(),Ws=()=>$r(void 0,null,function*(){var rr;const Qt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ja.current}});(rr=Qt==null?void 0:Qt.attachments)!=null&&rr.length&&(console.log("cm:",Lr,ms),Qt.attachments.map(Et=>{Et.content_type.indexOf("image")>-1?Lr.replaceSelection(`![,](/api/attachments/${Et.id}?type=${Et.content_type})`):Et.content_type.indexOf("video")>-1?Lr.replaceSelection(``):Et.content_type.indexOf("pdf")>-1?Lr.replaceSelection(`${Et.name}`):Lr.replaceSelection(`[${Et.name}](${ENV.API_SERVER}/api/attachments/${Et.id}?type=${Et.content_type})`)}))});(0,Ae.useEffect)(()=>{const rr=window.scrollY||window.pageYOffset;Gs(Es),Lr==null||Lr.setValue(Es),window.scrollTo(0,rr)},[Es]),(0,Ae.useEffect)(()=>{Ka==null||Ka(Hr)},[Hr]),(0,Ae.useEffect)(()=>{if(ms.current){let rr=function(Et,Yt){var Zn;if(ai){Yt.preventDefault();return}const Yn=Yt.clipboardData;if(Yn){const Kr=Yn.types.toString(),Nr=Yn.items;if(Kr==="Files"||Yn.types.indexOf("Files")>-1){if(Yt.preventDefault(),ca=="stex")return;try{let ar=Nr[1];((Zn=Nr[0])==null?void 0:Zn.kind)==="file"&&(ar=Nr[0]);const or=ar.getAsFile(),Zr=or.name.split(".").pop();(0,bt.I)(or,Da=>{var xa,da,ga;Da.id?((xa=or==null?void 0:or.type)==null?void 0:xa.indexOf("image"))>-1?Qt.replaceSelection(``):((da=or==null?void 0:or.type)==null?void 0:da.indexOf("video"))>-1?Qt.replaceSelection(``):((ga=or==null?void 0:or.type)==null?void 0:ga.indexOf("pdf"))>-1?Qt.replaceSelection(`${or.name}`):wa.includes(Zr)?Qt.replaceSelection(`${or.name}`):Qt.replaceSelection(`[${or.name}](/api/attachments/${Da.id}?type=${Da.content_type})`):(Da==null?void 0:Da.status)===401&&(en.ZP.warning((Da==null?void 0:Da.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ar){en.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qt=Ke().fromTextArea(ms.current,{mode:ca,lineNumbers:!ea,lineWrapping:!0,value:un,autoCloseTags:!eo,autoCloseBrackets:!0});return Qt.on("keyup",function(Et,Yt){Yt.keyCode===8&&(Et.getValue()==""?Qt.setOption("placeholder",ji):Qt.setOption("placeholder",null))}),Qt.on("keydown",function(Et,Yt){if(Yt.keyCode===8){var Zn=zn(Et);Zn&&Yt.preventDefault()}}),Yr&&Qt.focus(),Qt.on("paste",rr),Qt.on("dragleave",function(Et,Yt){pA.current.classList.remove("mouse-hover-md")}),Qi&&Qt.on("beforeChange",function(Et,Yt){(Yt.origin==="paste"||Yt.origin==="+input")&&Yt.cancel()}),eA(Qt),()=>{Qt.off("paste",rr)}}},[]);const On=(0,Ae.useCallback)(()=>{if(pA.current)try{}catch(rr){console.log(rr,"---- to set md editor body height")}},[us,pA,Hr]);(0,Ae.useEffect)(()=>{function rr(){let Qt=new _e.Z(Et=>{for(let Yt of Et)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&(On(),Lr.setSize("100%","100%"),Lr.refresh())});return Qt.observe(ms.current.parentElement),Qt}if(Lr){const Qt=rr();return()=>{var Et,Yt;(Et=ms.current)!=null&&Et.parentElement&&Qt.unobserve((Yt=ms.current)==null?void 0:Yt.parentElement)}}},[Lr,On]),(0,Ae.useEffect)(()=>{if(Lr){let rr=[];for(const[Qt,Et]of Object.entries(Di)){let Yt={[Qt]:()=>{gt(Et)}};rr.push(Yt),Lr.addKeyMap(Yt)}return tA.current=setInterval(()=>{XA.current&&Ws()},4e3),()=>{clearInterval(tA.current);for(let Qt of rr)Lr.removeKeyMap(Qt)}}},[Lr]),(0,Ae.useEffect)(()=>{os!==Hr&&Ua(os)},[os]),(0,qr.Z)(()=>{if(!ni&&Vi>0){let rr=new Date().getTime(),Qt=window.sessionStorage.getItem(Ei);rr>=Vi+Io&&(!Qt||Qt!==xA)&&(window.sessionStorage.setItem(Ei,xA),Ho(!0))}},Io),(0,Ae.useEffect)(()=>{is(wo)},[Lr,wo]),(0,Ae.useEffect)(()=>{Lr&&Yr&&Lr.focus()},[Lr,Yr]),(0,Ae.useEffect)(()=>{if(No&&Lr){let rr=function(Et){let Yt=Et.target;if(Ti.current){let Zn=Yt.scrollTop/Yt.scrollHeight;Ti.current.scrollTop=Ti.current.scrollHeight*Zn}};const Qt=Lr.getScrollerElement();return Qt.addEventListener("scroll",rr),()=>{Qt.removeEventListener("scroll",rr)}}},[Lr,No]),(0,Ae.useEffect)(()=>{if(Lr&&mi){let rr=function(Qt,Et){mi(Qt,Et)};return Lr.on("beforeChange",rr),()=>{Lr.off("beforeChange",rr)}}},[Lr,mi]),(0,Ae.useEffect)(()=>{if(Lr&&fi){let rr=function(){fi(Lr.getValue())};return Lr.on("blur",rr),()=>{Lr.off("blur",rr)}}},[Lr,fi]);function zn(rr,Qt){var Et=rr.getDoc(),Yt=Et.getCursor(),Zn=Et.getLine(Yt.line),Yn=Zn.charAt(Yt.ch-1),Kr=Zn.lastIndexOf("@\u2581@",Yt.ch),Nr=Zn.lastIndexOf("@\u2581\u2581@",Yt.ch),ar=Kr>Nr?Kr:Nr,or=Kr>Nr?3:4;if(Ea.indexOf(Yn)===-1)return null;if(console.log("change1:",Qt,rr,Zn,Yt,ar,Kr,Nr,Yn),ar>=0&&Yt.ch-ar<5){var Zr=ar+or;return Et.replaceRange("",{line:Yt.line,ch:ar},{line:Yt.line,ch:Zr}),{line:Yt.line,ch:Zr}}return null}(0,Ae.useEffect)(()=>{if(Lr){let rr=function(Qt,Et){const Yt=Qt.getValue();Gs(Yt),$i(new Date().getTime()),Qt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bn&&(eo?Bn(Yt,pr(Yt)):Bn(Yt))};return Lr.on("change",rr),()=>{Lr.off("change",rr)}}},[Lr,Bn]),(0,Ae.useEffect)(()=>{if(Lr)if(un==null)Lr.setValue(""),Gs("");else{const rr=window.scrollY||window.pageYOffset;un!==Lr.getValue()&&(Lr.setValue(un),Gs(un),Lr.setCursor(Qi?1:Lr.lineCount(),0),window.scrollTo(0,rr))}},[Lr,un]);const gt=(0,Ae.useCallback)(rr=>{const Qt=Lr.getCursor(),Et=Lr.getSelection();let Yt=Et.split(` `);switch(rr){case"bold":return Lr.replaceSelection("**"+Et+"**"),Et===""&&Lr.setCursor(Qt.line,Qt.ch+2),Lr.focus();case"italic":return Lr.replaceSelection("*"+Et+"*"),Et===""&&Lr.setCursor(Qt.line,Qt.ch+1),Lr.focus();case"code":return Lr.replaceSelection("`"+Et+"`"),Et===""&&Lr.setCursor(Qt.line,Qt.ch+1),Lr.focus();case"inline-latex":return so("inline-latex"),Lr.focus();case"latex":return Lr.replaceSelection("```latex\n"+Et+"\n```"),Lr.setCursor(Qt.line+1,Et.length+1),Lr.focus();case"line-break":return Lr.replaceSelection(`
`),Lr.focus();case"list-ul":return Et===""?Lr.replaceSelection("- "+Et):Lr.replaceSelection(Yt.map(Zn=>Zn===""?"":`- ${Zn}`).join(` `)),Lr.focus();case"list-ol":return Et===""?Lr.replaceSelection("1. "+Et):Lr.replaceSelection(Yt.map((Zn,Yn)=>Zn===""?"":`${Yn+1}. ${Zn}`).join(` `)),Lr.focus();case"add-null-ch":return Et===""&&Lr.setCursor(Qt.line,Qt.ch),Lr.replaceSelection(po),Lr.focus();case"add-signal":return Et===""&&Lr.setCursor(Qt.line,Qt.ch),Lr.replaceSelection(sn),Lr.focus();case"add-multiple":return Et===""&&Lr.setCursor(Qt.line,Qt.ch),Lr.replaceSelection(Ea),Lr.focus();case"inster-template-1":return Et===""&&Lr.setCursor(Qt.line,Qt.ch),Lr.replaceSelection(lo),Lr.focus();case"eraser":return Lr.setValue(""),Lr.focus();case"trigger-watch":return is(!No),Lr.focus();case"trigger-full-screen":return Ua(!Hr),Lr.focus();case Qn:so(Qn);return;case Vr:so(Vr);return;case Mn:so(Mn);return;case br:so(br);return;case"maths-latex":so("maths-latex");return;case er:so(er);return;case hr:so(hr);return;default:throw new Error}},[Lr,No,Hr]),Dt=(0,Ae.useCallback)((rr,Qt)=>{var Et,Yt,Zn,Yn,Kr,Nr;switch(so(""),fo){case Qn:const{title:xa,link:da}=rr;return Lr.replaceSelection(`[${xa}](${da})`),Lr.focus();case Vr:const{language:ga,content:yn}=rr;return Lr.replaceSelection(["```"+ga,yn,"```"].join(` `)),Lr.focus();case"maths-latex":for(var ar=atob(rr),or=new Uint8Array(ar.length),Zr=0;Zr{pa.id?Lr.replaceSelection(`![,](/api/attachments/${pa.id}?type=${pa.content_type})`):(pa==null?void 0:pa.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Lr.replaceSelection("`$$"+rr+"$$`");break;case Mn:case br:case _r:const{src:fn,alt:In}=rr,xn=Qt,ir=(Zn=(Yt=(Et=xn==null?void 0:xn.name)==null?void 0:Et.split("."))==null?void 0:Yt.pop)==null?void 0:Zn.call(Yt);return((Yn=xn==null?void 0:xn.type)==null?void 0:Yn.indexOf("image"))>-1||!(xn!=null&&xn.type)?xn.align||xn.width?Lr.replaceSelection(`

${In||

`):Lr.replaceSelection(`${In||`):((Kr=xn==null?void 0:xn.type)==null?void 0:Kr.indexOf("video"))>-1?Lr.replaceSelection(``):((Nr=xn==null?void 0:xn.type)==null?void 0:Nr.indexOf("pdf"))>-1?Lr.replaceSelection(`${xn.name}`):wa.includes(ir)?Lr.replaceSelection(`${xn.name}`):Lr.replaceSelection(`[${xn.name}](${fn})`),Lr.focus();case hr:const{row:zr,col:Sn,align:sa}=rr;let ia=` `;for(let pa=0;pa{switch(fo){case Qn:return Ae.createElement(an,{callback:Dt,onCancel:Mr});case Vr:return Ae.createElement(En.Z,{callback:Dt,onCancel:Mr});case Mn:return Ae.createElement(bt.Z,{callback:Dt,onCancel:Mr});case er:return Ae.createElement(pt,{callback:Dt,onCancel:Mr});case hr:return Ae.createElement(Kn,{callback:Dt,onCancel:Mr});case"maths-latex":return Ae.createElement(yt,{showSaveButton:!0,callback:Dt});case"inline-latex":return Ae.createElement(Un.Z,{showSaveButton:!0,callback:Dt});default:return null}},[fo]);function Mr(){so("")}(0,Ae.useEffect)(()=>{if(Eo.current){let rr=function(Kr){Zn=!0,Yn=Kr.pageY},Qt=function(){Zn=!1},Et=function(Kr){if(Zn){let Nr=Kr.pageY-Yn;Nr<0&&(Nr=0),Nr>300&&(Nr=300);let ar=yr+Nr+"px";xs(ar)}},Yt=Eo.current,Zn=!1,Yn=0;return Yt.addEventListener("mousedown",rr),document.addEventListener("mousemove",Et),document.addEventListener("mouseup",Qt),()=>{Yt.removeEventListener("mousedown",rr),document.removeEventListener("mousemove",Et),document.removeEventListener("mouseup",Qt)}}},[Lr,Eo]),(0,Ae.useEffect)(()=>{xs(yr)},[yr]);const Xr=wi(Pn),Jn=wi(us),dr={width:Xr,height:Jn},tr=(0,Ae.useMemo)(()=>{if(Vi){let rr=new Date(Vi),Qt=rr.getHours(),Et=rr.getMinutes(),Yt=rr.getSeconds();return Qt=Qt<10?"0"+Qt:Qt,Et=Et<10?"0"+Et:Et,Yt=Yt<10?"0"+Yt:Yt,`${Qt}:${Et}:${Yt}`}return 0},[Vi]),pr=rr=>{const Qt=[];if(eo){let Et=-1;rr=rr.replace(/(@▁▁@|@▁@)/g,function(Yt,Zn,Yn){Qt.push({multiLine:Yt!==sn})})}return Qt};function Qr(){window.sessionStorage.removeItem(Ei),Ho(!1),$i(0)}function Aa(){Ho(!1),$i(0),Lr.setValue(window.sessionStorage.getItem(Ei))}const ta=(0,Ee.useIntl)(),Ha={[Qn]:"\u6DFB\u52A0\u94FE\u63A5",[Vr]:ta.formatMessage({id:"markdownEditor.addCodeBlock",defaultMessage:"\u6DFB\u52A0\u4EE3\u7801\u5757"}),[Mn]:ta.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),[br]:"\u6DFB\u52A0\u753B\u56FE",[er]:ta.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),[hr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":ta.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),"inline-latex":ta.formatMessage({id:"markdownEditor.latexFormula",defaultMessage:"LATEX\u516C\u5F0F"})};(0,Ae.useEffect)(()=>{Ha[fo]&&fo!==br&&fo!==er&&setTimeout(()=>{const rr=document.getElementsByClassName("markdown-popup-form")[0],Qt=window.innerWidth/2-rr.offsetWidth/2,Et=window.innerHeight/2-rr.offsetHeight/2;AA(Qt),JA(Et)},0)},[fo]);const oo=rr=>{rr.preventDefault();const Qt=rr.clientX-sA,Et=rr.clientY-LA;document.body.onmousemove=Yt=>{let Zn=Yt.clientX-Qt,Yn=Yt.clientY-Et;const Kr=document.getElementsByClassName("markdown-popup-form")[0],Nr=window.innerWidth-Kr.offsetWidth,ar=window.innerHeight-Kr.offsetHeight;Zn=Math.max(0,Math.min(Zn,Nr)),Yn=Math.max(0,Math.min(Yn,ar)),vo(Yt.clientX,Yt.clientY,Qt,Et)&&(AA(Zn),JA(Yn))},document.body.onmouseup=function(){document.body.onmousemove=null}},vo=(rr,Qt,Et,Yt)=>{const Zn=document.body.clientHeight,Yn=document.body.clientWidth;return rr<20&&Et>rr||rr>Yn-20&&EtQt||Qt>Zn-20&&YtUe in at?Ee(at,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):at[Ue]=Bt,z=(at,Ue)=>{for(var Bt in Ue||(Ue={}))b.call(Ue,Bt)&&x(at,Bt,Ue[Bt]);if(a)for(var Bt of a(Ue))E.call(Ue,Bt)&&x(at,Bt,Ue[Bt]);return at},ae=(at,Ue)=>ie(at,y(Ue));const{useForm:de}=Ae.default,we={width:280,marginRight:10},be={labelCol:{span:5},wrapperCol:{span:19}};var Ne=({callback:at,onCancel:Ue})=>{const[Bt]=de();let Me=(0,Le.useRef)();const Nt=(0,De.useIntl)();function ut(dt){Me.current.width=Bt.getFieldValue("width"),Me.current.align=Bt.getFieldValue("align"),at(dt,Me.current)}function At(dt,vt){if(dt.status===-1){ye.ZP.error(dt.message);return}Bt.setFieldsValue({src:`/api/attachments/${dt.id}`,type:vt.type})}function Lt(dt){let vt=dt.target.files[0];Me.current=vt,Ze(vt,At)}return Pe.createElement(Ae.default,ae(z({form:Bt},be),{className:"upload-image-panel",onFinish:ut,style:{width:470,overflow:"hidden"}}),Pe.createElement(Ae.default.Item,{label:Nt.formatMessage({id:"markdownEditor.imageAddress",defaultMessage:"\u56FE\u7247\u5730\u5740"}),required:!0},Pe.createElement("div",{className:"flex-container"},Pe.createElement(Ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Pe.createElement(Ke.default,{style:we})),Pe.createElement(We,{onFileChange:Lt}))),Pe.createElement(Ae.default.Item,{label:Nt.formatMessage({id:"markdownEditor.imageDescription",defaultMessage:"\u56FE\u7247\u63CF\u8FF0"}),name:"alt"},Pe.createElement(Ke.default,{style:{width:264}})),Pe.createElement(Ae.default.Item,{label:Nt.formatMessage({id:"markdownEditor.imageWidth",defaultMessage:"\u56FE\u7247\u5BBD\u5EA6"}),name:"width"},Pe.createElement(_e.Z,null,Pe.createElement(Ae.default.Item,{name:"width",style:{margin:0}},Pe.createElement(ze.Z,{style:{width:264}})),Pe.createElement("span",{className:"ml8"},"%"))),Pe.createElement(Ae.default.Item,{label:Nt.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),name:"align"},Pe.createElement(je.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:Nt.formatMessage({id:"markdownEditor.leftAlign",defaultMessage:"\u5DE6\u5BF9\u9F50"})},{value:"center",label:Nt.formatMessage({id:"markdownEditor.centerAlign",defaultMessage:"\u5C45\u4E2D\u5BF9\u9F50"})},{value:"right",label:Nt.formatMessage({id:"markdownEditor.rightAlign",defaultMessage:"\u53F3\u5BF9\u9F50"})}]})),Pe.createElement("aside",null,Pe.createElement(Ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Pe.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},Nt.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Pe.createElement(pe.ZP,{type:"default",onClick:Ue},Nt.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"})))))};function We({onFileChange:at}){return Pe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Pe.createElement("input",{type:"file",onChange:at}))}function Ze(at,Ue){if(!at)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ce.bg)())throw ye.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Bt=new FormData;Bt.append("editormd-image-file",at),Bt.append("file_param_name","editormd-image-file"),Bt.append("byxhr","true");var Me=new window.XMLHttpRequest;Me.withCredentials=!0,Me.addEventListener("load",function(Nt){Ue(JSON.parse(Nt.target.responseText),at)},!1),Me.addEventListener("error",function(Nt){console.error(Nt)},!1),Me.open("POST",`${ve.KI}/api/attachments.json`),Me.send(Bt)}},76621:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return Ke}});var Ae=ge(67294),ye=ge(73935);class Ke extends Ae.Component{constructor(ze){super(ze);const je=window.document;this.node=je.createElement("div"),je.body.appendChild(this.node)}render(){const{children:ze}=this.props;return(0,ye.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(qt,Ot,ge){"use strict";ge.d(Ot,{i:function(){return be},Z:function(){return We}});var Ae={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},ye=ge(57953),Ke=ge(83062),_e=ge(38703),ze=ge(94184),je=ge.n(ze),pe=ge(28706),ve=ge(26194),Le=ge(52262),ce=ge(35973),De=ge(79005),Pe=ge(20345),Ee=ge(77882),ie=ge(31081),y=ge(75309),a=ge(71979),b=ge(47558),E=ge(60345),x=ge(66832),z=ge(96593),ae=ge(19664),de=ge(91833),we=ge(67294);const be=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:De,swimg:Pe},{name:"101\u8BA1\u5212",ptimg:Ee,swimg:ie},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:b,swimg:E},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ae,swimg:de}];var We=({className:Ze,dataSource:at=[],col:Ue=4,right:Bt,bottom:Me=23,precision:Nt=0,wrapWidth:ut=1200,trackEventItems:At,loading:Lt,onRemove:dt=()=>{},isCurrent:vt=!0,showAlias:et=!1,showProgress:ct=!1})=>{const an=(0,ce.useIntl)(),En=Math.floor((ut-(Ue-1)*Bt)/Ue),bt=[{name:an.formatMessage({id:"shixuns.recommendSelfStudy",defaultMessage:"\u63A8\u8350\u81EA\u5B66"}),ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:an.formatMessage({id:"shixuns.plan101",defaultMessage:"101\u8BA1\u5212"}),ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:an.formatMessage({id:"shixuns.nationalFirstClass",defaultMessage:"\u56FD\u5BB6\u4E00\u6D41"}),ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:an.formatMessage({id:"shixuns.provincialFirstClass",defaultMessage:"\u7701\u7EA7\u4E00\u6D41"}),ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:an.formatMessage({id:"shixuns.premiumCourse",defaultMessage:"\u7CBE\u54C1\u8BFE\u7A0B"}),ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:an.formatMessage({id:"shixuns.topMilitary",defaultMessage:"\u519B\u961F\u4E00\u6D41"}),ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:an.formatMessage({id:"shixuns.newTypeTextbook",defaultMessage:"\u65B0\u578B\u6559\u6750"}),ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(nn=>(window.ENV==="build"&&(nn.ptimg=`/react/build${nn.ptimg}`,nn.swimg=`/react/build${nn.swimg}`),nn));return we.createElement(ye.Z,{spinning:Lt},we.createElement("div",{className:je()(Ae.list,Ze)},!!(at!=null&&at.length)&&(at==null?void 0:at.map((nn,Fn)=>{var $n,Ln,Wn,It,Vn,Xn;const{name:Ye,id:mn,identifier:Qe,featured:me,school_name:he,image_url:Oe,excellent:qe,is_plan:pt}=nn;return we.createElement("div",{key:mn,className:vt&&ct?Ae.wrapisCurrent:Ae.wrap,style:{width:En,marginRight:(1+Fn)%Ue===0?0:Bt+Nt,marginBottom:Me}},we.createElement("a",{className:Ae.li,onClick:lt=>{lt.preventDefault(),lt.stopPropagation(),At&&(0,pe.L9)([At]),(0,pe.xg)(`/paths/${Qe}`)}},we.createElement("div",{className:Ae.img},we.createElement("img",{className:Ae.cover,src:`${Oe}`}),vt&&(0,Le.bg)()&&(nn==null?void 0:nn.studying)&&we.createElement("div",{className:`${Ae.movebq} user-path-items`,onClick:lt=>{lt.stopPropagation(),dt(nn)}},we.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),we.createElement("span",{className:"c-red"},an.formatMessage({id:"classrooms.remove",defaultMessage:"\u79FB\u9664"}))),($n=nn==null?void 0:nn.subject_tags)==null?void 0:$n.map((lt,_t)=>{var An,cn;if(_t===0){const St=(An=bt.find(zt=>zt.name==lt))==null?void 0:An.swimg;return we.createElement("img",{className:Ae.sign,src:St,style:{left:"-4px"}})}const Kn=(cn=bt.find(St=>St.name==lt))==null?void 0:cn.ptimg;return we.createElement("img",{className:Ae.sign,src:Kn,style:{left:`${48+52*(_t-1)+2*_t}px`}})}),we.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(nn==null?void 0:nn.excellent)&&we.createElement("div",{className:Ae.bq},an.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})))),we.createElement("div",{className:Ae.name},we.createElement(Ke.Z,{title:et&&(nn!=null&&nn.excellent_alias_name)?we.createElement("span",null,`${an.formatMessage({id:"paths.originalCourseName",defaultMessage:"\u8BFE\u7A0B\u539F\u540D"})}\uFF1A${Ye}`,we.createElement("br",null),we.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${nn==null?void 0:nn.excellent_alias_name}`)):Ye},we.createElement("span",{className:Ae.e},et&&(nn==null?void 0:nn.excellent_alias_name)||Ye))),vt&&ct&&((Ln=nn==null?void 0:nn.progress)==null?void 0:Ln.all_score)!=0&&we.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},we.createElement(_e.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Wn=nn==null?void 0:nn.progress)==null?void 0:Wn.my_score)/((It=nn==null?void 0:nn.progress)==null?void 0:It.all_score)*100).toFixed(),showInfo:!1}),an.formatMessage({id:"shixuns.completed",defaultMessage:"\u5DF2\u5B8C\u6210"})," ",(Vn=nn==null?void 0:nn.progress)==null?void 0:Vn.my_score,"/",(Xn=nn==null?void 0:nn.progress)==null?void 0:Xn.all_score),(!vt||!ct)&&we.createElement("div",{className:Ae.tags},we.createElement("div",null,we.createElement(Ke.Z,{placement:"bottom",title:an.formatMessage({id:"paths.chapterCount",defaultMessage:"\u7AE0\u8282\u6570"})},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),we.createElement("span",null,nn.stages_count))),we.createElement(Ke.Z,{placement:"bottom",title:an.formatMessage({id:"paths.numberOfLearners",defaultMessage:"\u5B66\u4E60\u4EBA\u6570"})},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),we.createElement("span",null,nn.members_count)))))))})),!at.length&&we.createElement(ve.Z,null)))}},80150:function(qt,Ot,ge){"use strict";ge.d(Ot,{jL:function(){return ze},w9:function(){return jo},vv:function(){return ea},dN:function(){return un},QD:function(){return XA},cQ:function(){return lt.Z},vg:function(){return Ea},Oz:function(){return qr},op:function(){return $i},O5:function(){return tr},_b:function(){return ms},t7:function(){return Me},tT:function(){return At},Gi:function(){return os},YG:function(){return Sa},Ed:function(){return eo},kT:function(){return Pi},qp:function(){return E},Um:function(){return be},K3:function(){return ae},vr:function(){return AA},qE:function(){return rA},Je:function(){return vt},wb:function(){return Vn},rC:function(){return pt},lB:function(){return mn},cq:function(){return ai},kO:function(){return Es},tp:function(){return Ze},Si:function(){return Aa},k8:function(){return ga},Du:function(){return Yt}});var Ae=ge(67294),ye={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"},Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU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dr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ze=({dataSource:yn=[],img:fn,imgWidth:In=346,title:xn,sunTitle:ir,bannerExtraContent:zr})=>Ae.createElement("div",{className:ye.banner},Ae.createElement("div",{className:ye.content},Ae.createElement("aside",null,Ae.createElement("p",null,Ae.createElement("b",null,xn),Ae.createElement("span",null,ir)),yn.length>0&&Ae.createElement("div",{className:ye.btns},yn.map((Sn,sa)=>Ae.createElement("div",{key:sa,onClick:Sn.click},Sn.name,Sn.sign?Ae.createElement("img",{src:Ke,width:39}):null))),zr),fn&&Ae.createElement("img",{style:{marginTop:33,marginRight:38},src:fn,width:In}))),je={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"},pe=ge(94184),ve=ge.n(pe),Le=ge(96486),ce=ge(35973),De=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(yn,fn,In)=>fn in yn?De(yn,fn,{enumerable:!0,configurable:!0,writable:!0,value:In}):yn[fn]=In,a=(yn,fn)=>{for(var In in fn||(fn={}))Ee.call(fn,In)&&y(yn,In,fn[In]);if(Pe)for(var In of Pe(fn))ie.call(fn,In)&&y(yn,In,fn[In]);return yn},E=({dataSource:yn=[],value:fn,onChange:In,onTitleChange:xn,className:ir,title:zr,titleWidth:Sn=41,style:sa={},fontColor:ia="#6A7283",showCount:pa,classNameActive:to,styleItem:ur={}})=>{const Bo=(0,ce.useIntl)(),[Co,Wo]=(0,Ae.useState)(0),[Qa,it]=(0,Ae.useState)(!1),xo=(0,Ae.useRef)(null),Ai=(0,Ae.useRef)(null);return(0,Ae.useEffect)(()=>{var Ur;yn.length!==0&&(((Ur=xo==null?void 0:xo.current)==null?void 0:Ur.clientHeight)>97?Wo(1):Wo(0)),yn.length===0&&Wo(0),it(!1)},[yn]),Ae.createElement("div",{className:ve()(je.row,ir),style:sa},Ae.createElement("div",{onClick:(0,Le.throttle)(()=>xn==null?void 0:xn(),2e3),style:{width:Sn,marginTop:Qa?12:4},className:`${je.title} ${xn?"current":""}`},zr),Ae.createElement("div",{className:Qa?`${je.tagsWrap} ${je.tagsBorderWrap}`:je.tagsWrap},Ae.createElement("div",{className:je.bar,ref:Ai,style:Co>0?{height:Co===1?97:"auto",overflow:Co===1?"hidden":"auto",paddingRight:70}:{paddingRight:0}},Ae.createElement("div",{className:je.tag,ref:xo},yn==null?void 0:yn.map(Ur=>Ae.createElement("span",{onClick:()=>In(Ur.id),key:Ur.id,style:a(a({color:ia},ur),(Ur==null?void 0:Ur.style)||{}),className:fn===Ur.id?ve()(to||je.active,Ur.classNameActive):""},Ae.createElement("span",{title:Ur.name,className:je.name},Ur.name),!!pa&&Ae.createElement("span",{className:je.num},Ur.count))))),!!Co&&Ae.createElement(Ae.Fragment,null,Co===1?Ae.createElement("div",{onClick:()=>{var Ur;Wo(2),((Ur=xo==null?void 0:xo.current)==null?void 0:Ur.clientHeight)>245?it(!0):it(!1)},className:je.action},Bo.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"}),Ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):Ae.createElement("div",{onClick:()=>{Ai.current.scrollTop=0,Wo(1),it(!1)},className:je.action},Bo.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"}),Ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},x={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},ae=({dataSource:yn=[],value:fn,onChange:In,onTitleChange:xn,className:ir,title:zr,titleWidth:Sn=41,style:sa={},fontColor:ia="#6A7283",showCount:pa,expand:to=!0})=>{const[ur,Bo]=(0,Ae.useState)(0),[Co,Wo]=(0,Ae.useState)(!1),Qa=(0,Ae.useRef)(null),it=(0,Ae.useRef)(null),[xo,Ai]=(0,Ae.useState)(to);return Ae.createElement("div",{className:ve()(x.row,ir),style:sa},Ae.createElement("div",{className:"flex item-center justify-between"},Ae.createElement("div",{onClick:(0,Le.throttle)(()=>xn==null?void 0:xn(),2e3),style:{width:Sn,marginTop:Co?12:4},className:`${x.title} ${xn?"current":""}`},zr),Ae.createElement("i",{className:`iconfont ${xo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:xo?8:10},onClick:()=>Ai(!xo)})),xo&&Ae.createElement("div",{className:Co?`${x.tagsWrap} ${x.tagsBorderWrap}`:x.tagsWrap},Ae.createElement("div",{className:x.fenge}),Ae.createElement("div",{className:x.bar,ref:it},Ae.createElement("div",{className:x.tag,ref:Qa},yn==null?void 0:yn.map(Ur=>Ae.createElement("span",{onClick:()=>In(Ur.id),key:Ur.id,style:{color:ia},className:fn===Ur.id?x.active:""},Ae.createElement("span",{title:Ur.name,className:x.name},Ur.name),!!pa&&Ae.createElement("span",{className:x.num},Ur.count)))))))},de={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},be=({dataSource:yn=[],value:fn,onChange:In,onTitleChange:xn,className:ir,title:zr,titleWidth:Sn=41,style:sa={},fontColor:ia="#fff",showCount:pa,expand:to=!0})=>{const[ur,Bo]=(0,Ae.useState)(0),[Co,Wo]=(0,Ae.useState)(!1),Qa=(0,Ae.useRef)(null),it=(0,Ae.useRef)(null),[xo,Ai]=(0,Ae.useState)(to);return Ae.createElement("div",{className:ve()(de.row,ir),style:sa},Ae.createElement("div",{className:"flex item-center justify-between"},Ae.createElement("div",{onClick:(0,Le.throttle)(()=>xn==null?void 0:xn(),2e3),style:{width:Sn},className:`${de.title} ${xn?"current":""}`},zr),Ae.createElement("i",{className:`iconfont ${xo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:xo?"#00DDC7":"#037F74",fontSize:xo?10:12},onClick:()=>Ai(!xo)})),xo&&Ae.createElement("div",{className:Co?`${de.tagsWrap} ${de.tagsBorderWrap}`:de.tagsWrap},Ae.createElement("div",{className:de.bar,ref:it},Ae.createElement("div",{className:de.tag,ref:Qa},yn==null?void 0:yn.map(Ur=>Ae.createElement("span",{onClick:()=>In(Ur.id),key:Ur.id,style:{color:ia},className:fn===Ur.id?de.active:""},Ae.createElement("span",{title:Ur.name,className:de.name},Ur.name),!!pa&&Ae.createElement("span",{className:de.num},Ur.count)))))))},Ne={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"},Ze=({dataSource:yn=[],value:fn,onChange:In,className:xn,style:ir={}})=>Ae.createElement("div",{style:ir,className:ve()(Ne.tabs,xn)},yn.map(zr=>Ae.createElement("span",{onClick:()=>In(zr.id),className:fn===zr.id?Ne.active:"",key:zr.id},zr.name))),at={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"},Ue=ge(69677),Me=({dataSource:yn=[],value:fn="",onChange:In,onInputChange:xn=()=>{},className:ir,style:zr={},placeholder:Sn,allowClear:sa=!1})=>{var ia;const[pa,to]=(0,Ae.useState)(""),[ur,Bo]=(0,Ae.useState)("");(0,Ae.useEffect)(()=>{var Qa;let it=fn;(Qa=JSON.stringify(fn))!=null&&Qa.includes("{")&&(to(fn.id),it=fn.value||"");try{Bo(decodeURIComponent(it||""))}catch(xo){Bo(decodeURIComponent(it||""))}},[fn]);const Co=()=>{In(encodeURIComponent(ur),pa||null)},Wo=Qa=>{Qa!==pa&&(to(Qa),In(encodeURIComponent(ur),Qa))};return Ae.createElement("div",{className:ve()(at.input,ir),style:zr},!!yn.length&&Ae.createElement("div",{className:at.dropdown},Ae.createElement("div",{className:at.text},(ia=yn.find(Qa=>Qa.id===pa))==null?void 0:ia.name,Ae.createElement("i",{className:"iconfont icon-zhankai4"}),Ae.createElement("b",{className:at.b1}),Ae.createElement("b",{className:at.b2})),Ae.createElement("div",{className:at.menu},yn.map((Qa,it)=>Ae.createElement("div",{key:it,onClick:()=>Wo(Qa.id)},Qa.name)))),Ae.createElement(Ue.default,{onPressEnter:Co,value:ur,onChange:Qa=>{Bo(Qa.target.value),xn(encodeURIComponent(Qa.target.value),pa||null)},bordered:!1,placeholder:Sn}),Ae.createElement("i",{onClick:Co,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Nt={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},At=({dataSource:yn=[],value:fn="",onChange:In,onInputChange:xn=()=>{},className:ir,style:zr={},placeholder:Sn,allowClear:sa=!1})=>{var ia;const[pa,to]=(0,Ae.useState)(""),[ur,Bo]=(0,Ae.useState)("");(0,Ae.useEffect)(()=>{var Qa;let it=fn;(Qa=JSON.stringify(fn))!=null&&Qa.includes("{")&&(to(fn.id),it=fn.value||"");try{Bo(decodeURIComponent(it||""))}catch(xo){Bo(decodeURIComponent(it||""))}},[fn]);const Co=()=>{In(encodeURIComponent(ur),pa||null)},Wo=Qa=>{Qa!==pa&&(to(Qa),In(encodeURIComponent(ur),Qa))};return Ae.createElement("div",{className:ve()(Nt.input,ir),style:zr},!!yn.length&&Ae.createElement("div",{className:Nt.dropdown},Ae.createElement("div",{className:Nt.text},(ia=yn.find(Qa=>Qa.id===pa))==null?void 0:ia.name,Ae.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),Ae.createElement("div",{className:Nt.menu},yn.map((Qa,it)=>Ae.createElement("div",{key:it,onClick:()=>Wo(Qa.id)},Qa.name)))),Ae.createElement(Ue.default,{onPressEnter:Co,value:ur,onChange:Qa=>{Bo(Qa.target.value),xn(encodeURIComponent(Qa.target.value),pa||null)},bordered:!1,placeholder:Sn}),Ae.createElement("i",{onClick:Co,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Lt={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"},vt=({value:yn,onChange:fn,className:In,total:xn,pageSize:ir,style:zr={}})=>{const Sn=(0,ce.useIntl)(),sa=yn<2,ia=yn>=Math.ceil(xn/ir);return xn<=ir?Ae.createElement(Ae.Fragment,null):Ae.createElement("div",{className:ve()(Lt.quickPager,In),style:zr},Ae.createElement("div",{onClick:()=>{sa||fn(yn-1,"prev")},className:sa?Lt.disabled:""},Sn.formatMessage({id:"shixuns.previousPage"})),Ae.createElement("div",{onClick:()=>{ia||fn(yn+1,"next")},className:ia?Lt.disabled:""},Sn.formatMessage({id:"shixuns.nextPage"})))},et={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"},ct=ge(57953),an=ge(83062),En=ge(12604),bt=ge(11320),nn=ge(28706),Fn=ge(96908),$n=ge(57177),Ln=ge(81378),Wn=ge(26194),Vn=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,trackEventItems:sa,loading:ia})=>{const pa=(0,ce.useIntl)(),to=Math.floor((Sn-(In-1)*xn)/In);return Ae.createElement(ct.Z,{spinning:ia},Ae.createElement("div",{className:ve()(et.list,yn)},!!fn.length&&fn.map((ur,Bo)=>{const{name:Co,id:Wo,identifier:Qa,power:it,cover_image_id:xo,pic:Ai}=ur;return Ae.createElement("div",{className:et.wrap,key:Wo,style:{width:to,marginRight:(1+Bo)%In===0?0:xn+zr,marginBottom:ir}},Ae.createElement("a",{target:"_blank",href:`/shixuns/${Qa}/challenges`,className:et.li,onClick:Ur=>{Ur.preventDefault(),sa&&(0,nn.L9)([sa]),it&&(0,nn.xg)(`/shixuns/${Qa}/challenges`)}},Ae.createElement("div",{className:et.img},Ae.createElement("img",{className:et.cover,src:`${Ai}`}),ur.is_jupyter&&Ae.createElement("img",{className:et.sign,src:Fn}),ur.is_jupyter_lab&&Ae.createElement("img",{className:et.sign,src:$n}),ur.is_unity_3d&&Ae.createElement("img",{className:et.sign,src:Ln})),Ae.createElement("div",{className:et.name},Ae.createElement(an.Z,{title:Co||pa.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})},Ae.createElement("span",{className:et.e},Co||pa.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})))),Ae.createElement("div",{className:et.tags},Ae.createElement(an.Z,{placement:"bottom",title:pa.formatMessage({id:"shixuns.numberOfLevels",defaultMessage:"\u5173\u5361\u6570"})},Ae.createElement("span",null,Ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Ae.createElement("span",null,ur.challenges_count))),!!ur.myshixuns_count&&Ae.createElement(an.Z,{placement:"bottom",title:pa.formatMessage({id:"shixuns.numberOfLearners"})},Ae.createElement("span",null,Ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Ae.createElement("span",null,ur.myshixuns_count))),Ae.createElement(an.Z,{placement:"bottom",title:pa.formatMessage({id:"shixuns.difficultyCoefficient",defaultMessage:"\u96BE\u5EA6\u7B49\u7EA7"})},Ae.createElement("span",null,Ae.createElement("span",null,(0,nn.Mr)(pa,ur.level)))),Ae.createElement("div",{className:et.rate},Ae.createElement(En.Z,{allowHalf:!0,disabled:!0,defaultValue:ur.score_info}),Ae.createElement("span",null,"\xA0",ur.score_info?`${ur.score_info}${pa.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"})}`:"5"+pa.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))))),!it&&Ae.createElement("div",{className:et.lockWrap},Ae.createElement("img",{src:`${bt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!fn.length&&Ae.createElement(Wn.Z,null)))},Xn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},mn=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,wrapClassName:sa,trackEventItems:ia,loading:pa})=>{const to=Math.floor((Sn-(In-1)*xn)/In);return Ae.createElement(ct.Z,{spinning:pa},Ae.createElement("div",{className:ve()(Xn.list,yn)},!!fn.length&&fn.map((ur,Bo)=>{const{name:Co,id:Wo,identifier:Qa,power:it,cover_image_id:xo,pic:Ai}=ur;return Ae.createElement("div",{className:ve()(Xn.wrap,sa),key:Wo,style:{width:to,marginRight:(1+Bo)%In===0?0:xn+zr,marginBottom:ir}},Ae.createElement("a",{target:"_blank",href:`/shixuns/${Qa}/challenges`,className:Xn.li,onClick:Ur=>{Ur.preventDefault(),ia&&(0,nn.L9)([ia]),it&&(0,nn.xg)(`/shixuns/${Qa}/challenges`)}},Ae.createElement("img",{src:ge(79633),className:Xn.titleBg}),Ae.createElement("div",{className:Xn.name},Ae.createElement(an.Z,{title:Co||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Ae.createElement("span",{className:Xn.e},Co||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},Ae.createElement("div",{className:Xn.img},Ae.createElement("img",{className:Xn.cover,src:xo?`${bt.Z.API_SERVER}/api/attachments/${xo}`:`${bt.Z.IMG_SERVER+Ai}`}),ur.is_jupyter&&Ae.createElement("div",{className:Xn.bq},"Jupyter"),ur.is_jupyter_lab&&Ae.createElement("div",{className:Xn.bq},"JupyterLab"),ur.is_unity_3d&&Ae.createElement("div",{className:Xn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),Ae.createElement("div",{className:"mt20 flex item-center justify-between"},Ae.createElement("div",null,Ae.createElement("span",{className:Xn.text},"\u5B66\u4E60\u4EBA\u6570"),Ae.createElement("span",{className:Xn.value},ur.myshixuns_count)),Ae.createElement("div",null,Ae.createElement("span",{className:Xn.text},"\u56F0\u96BE\u7B49\u7EA7"),Ae.createElement("span",{className:Xn.value},ur.level))),Ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Ae.createElement("div",null,Ae.createElement("span",{className:Xn.text},"\u5173\u5361\u6570"),Ae.createElement("span",{className:Xn.value},ur.challenges_count)),Ae.createElement("div",{className:Xn.rate},Ae.createElement(En.Z,{allowHalf:!0,disabled:!0,defaultValue:ur.score_info}),Ae.createElement("span",{className:Xn.value,style:{color:"#FF9C00"}},"\xA0",ur.score_info?`${ur.score_info}\u5206`:"5\u5206"))))),!it&&Ae.createElement("div",{className:Xn.lockWrap},Ae.createElement("img",{src:`${bt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!fn.length&&Ae.createElement(Wn.Z,null)))},Qe={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBw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i19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",pt=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,trackEventItems:sa,loading:ia,wrapClassName:pa,imgClassName:to})=>{const ur=Math.floor((Sn-(In-1)*xn)/In);return Ae.createElement(ct.Z,{spinning:ia},Ae.createElement("div",{className:ve()(Qe.list,yn)},!!fn.length&&fn.map((Bo,Co)=>{const{name:Wo,id:Qa,identifier:it,power:xo,cover_image_id:Ai,pic:Ur}=Bo;return Ae.createElement("div",{className:ve()(Qe.wrap,pa),key:Qa,style:{width:ur,marginRight:(1+Co)%In===0?0:xn+zr,marginBottom:ir}},Ae.createElement("a",{target:"_blank",href:`/shixuns/${it}/challenges`,className:Qe.li,onClick:Oo=>{Oo.preventDefault(),sa&&(0,nn.L9)([sa]),xo&&(0,nn.xg)(`/shixuns/${it}/challenges`)}},Ae.createElement("div",{className:ve()(Qe.img,to)},Ae.createElement("img",{className:Qe.cover,src:Ai?`${bt.Z.API_SERVER}/api/attachments/${Ai}`:`${bt.Z.IMG_SERVER+Ur}`}),Bo.is_jupyter&&Ae.createElement("img",{className:Qe.sign,src:me}),Bo.is_jupyter_lab&&Ae.createElement("img",{className:Qe.sign,src:he}),Bo.is_unity_3d&&Ae.createElement("img",{className:Qe.sign,src:Oe})),Ae.createElement("div",{className:Qe.name},Ae.createElement(an.Z,{title:Wo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Ae.createElement("span",{className:Qe.e},Wo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Ae.createElement("div",{className:Qe.tags},Ae.createElement(an.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Ae.createElement("span",null,Ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Ae.createElement("span",null,Bo.challenges_count))),!!Bo.myshixuns_count&&Ae.createElement(an.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ae.createElement("span",null,Ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Ae.createElement("span",null,Bo.myshixuns_count))),Ae.createElement(an.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Ae.createElement("span",null,Ae.createElement("span",null,Bo.level))),Ae.createElement("div",{className:Qe.rate},Ae.createElement(En.Z,{allowHalf:!0,disabled:!0,defaultValue:Bo.score_info}),Ae.createElement("span",null,"\xA0",Bo.score_info?`${Bo.score_info}\u5206`:"5\u5206")))),!xo&&Ae.createElement("div",{className:Qe.lockWrap},Ae.createElement("img",{src:`${bt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!fn.length&&Ae.createElement(Wn.Z,null)))},lt=ge(5476),_t={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},An=ge(79005),cn=ge(20345),Kn=ge(77882),St=ge(31081),zt=ge(75309),Vt=ge(71979),Cn=ge(47558),yt=ge(60345),Un=ge(66832),kt=ge(96593),en=ge(19664),Qn=ge(91833),Mn=Object.defineProperty,er=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Vr=(yn,fn,In)=>fn in yn?Mn(yn,fn,{enumerable:!0,configurable:!0,writable:!0,value:In}):yn[fn]=In,hr=(yn,fn)=>{for(var In in fn||(fn={}))br.call(fn,In)&&Vr(yn,In,fn[In]);if(er)for(var In of er(fn))_r.call(fn,In)&&Vr(yn,In,fn[In]);return yn};const gr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:An,swimg:cn},{name:"101\u8BA1\u5212",ptimg:Kn,swimg:St},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:zt,swimg:Vt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Cn,swimg:yt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Un,swimg:kt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:en,swimg:Qn}];var qr=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,trackEventItems:sa,loading:ia,wrapClassName:pa,imgClassName:to,isArrow:ur=!1,imgStyle:Bo={}})=>{const Co=Math.floor((Sn-(In-1)*xn)/In),[Wo,Qa]=(0,Ae.useState)(),[it,xo]=(0,Ae.useState)(),Ai=Oo=>Qa(Oo),Ur=()=>Qa(-1);return Ae.createElement(ct.Z,{spinning:ia},Ae.createElement("div",{className:ve()(_t.list,yn)},!!(fn!=null&&fn.length)&&(fn==null?void 0:fn.map((Oo,Lo)=>{var oi;const{name:Xo,id:vi,identifier:IA,featured:Ci,school_name:ri,image_url:Ls,excellent:Ca,is_plan:Ko}=Oo;return Ae.createElement("div",{key:vi,className:ve()(_t.wrap,pa),style:{width:Co,marginRight:(1+Lo)%In===0?0:xn+zr,marginBottom:ir}},Ae.createElement("a",{target:"_blank",href:`/paths/${IA}`,className:_t.li,onClick:Vo=>{Vo.preventDefault(),sa&&(0,nn.L9)([sa]),(0,nn.xg)(`/paths/${IA}`)}},Ae.createElement("img",{src:ge(39057),className:_t.titleBg}),Ae.createElement("div",{className:_t.name},Ae.createElement(an.Z,{title:Xo},Ae.createElement("span",{className:_t.e,style:{color:ur&&Wo===Lo?"#145DFF":"#000000"},onMouseEnter:()=>{Ai(Lo)},onMouseLeave:Ur},Xo))),Ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},Ae.createElement("div",{className:ve()(_t.img,to)},Ae.createElement("img",{className:_t.cover,style:hr({},Bo),src:`${bt.Z.IMG_SERVER+Ls}`}),(oi=Oo==null?void 0:Oo.subject_tags)==null?void 0:oi.map((Vo,Mi)=>{var Ro,Cs;if(Mi===0){const Vs=(Ro=gr.find(cs=>cs.name==Vo))==null?void 0:Ro.swimg;return Ae.createElement("img",{className:_t.sign,src:Vs,style:{left:"-4px"}})}const lA=(Cs=gr.find(Vs=>Vs.name==Vo))==null?void 0:Cs.ptimg;return Ae.createElement("img",{className:_t.sign,src:lA,style:{left:`${48+52*(Mi-1)+2*Mi}px`}})}),Ae.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Oo==null?void 0:Oo.excellent)&&Ae.createElement("div",{className:_t.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Ae.createElement("div",null,Ae.createElement("span",{className:_t.text},"\u7AE0\u8282\u6570"),Ae.createElement("span",{className:_t.value},Oo.stages_count)),Ae.createElement("div",null,Ae.createElement("span",{className:_t.text},"\u5B66\u4E60\u4EBA\u6570"),Ae.createElement("span",{className:_t.value},Oo.members_count))))))})),!fn.length&&Ae.createElement(Wn.Z,null)))},$r={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},io=ge(52262),Ba=ge(67294);const Io=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:An,swimg:cn},{name:"101\u8BA1\u5212",ptimg:Kn,swimg:St},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:zt,swimg:Vt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Cn,swimg:yt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Un,swimg:kt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:en,swimg:Qn}];var Ea=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,trackEventItems:sa,loading:ia,onRemove:pa=()=>{},isCurrent:to=!0,showAlias:ur=!1,wrapClassName:Bo,imgClassName:Co})=>{const Wo=Math.floor((Sn-(In-1)*xn)/In),Qa=[{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(it=>(window.ENV==="build"&&(it.ptimg=`/react/build${it.ptimg}`,it.swimg=`/react/build${it.swimg}`),it));return Ba.createElement(ct.Z,{spinning:ia},Ba.createElement("div",{className:ve()($r.list,yn)},!!(fn!=null&&fn.length)&&(fn==null?void 0:fn.map((it,xo)=>{var Ai;const{name:Ur,id:Oo,identifier:Lo,featured:oi,school_name:Xo,image_url:vi,excellent:IA,is_plan:Ci}=it;return Ba.createElement("div",{key:Oo,className:ve()($r.wrap,Bo),style:{width:Wo,marginRight:(1+xo)%In===0?0:xn+zr,marginBottom:ir}},Ba.createElement("a",{className:$r.li,onClick:ri=>{ri.preventDefault(),ri.stopPropagation(),sa&&(0,nn.L9)([sa]),(0,nn.xg)(`/paths/${Lo}`)}},Ba.createElement("div",{className:ve()($r.img,Co)},Ba.createElement("img",{className:$r.cover,src:`${bt.Z.IMG_SERVER+vi}`}),to&&(0,io.bg)()&&(it==null?void 0:it.studying)&&Ba.createElement("div",{className:`${$r.movebq} user-path-items`,onClick:ri=>{ri.stopPropagation(),pa(it)}},Ba.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ba.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ai=it==null?void 0:it.subject_tags)==null?void 0:Ai.map((ri,Ls)=>{var Ca,Ko;if(Ls===0){const Mi=(Ca=Qa.find(Ro=>Ro.name==ri))==null?void 0:Ca.swimg;return Ba.createElement("img",{className:$r.sign,src:Mi,style:{left:"-4px"}})}const Vo=(Ko=Qa.find(Mi=>Mi.name==ri))==null?void 0:Ko.ptimg;return Ba.createElement("img",{className:$r.sign,src:Vo,style:{left:`${48+52*(Ls-1)+2*Ls}px`}})}),Ba.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(it==null?void 0:it.excellent)&&Ba.createElement("div",{className:$r.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ba.createElement("div",{className:$r.name},Ba.createElement(an.Z,{title:ur&&(it!=null&&it.excellent_alias_name)?Ba.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ur}`,Ba.createElement("br",null),Ba.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${it==null?void 0:it.excellent_alias_name}`)):Ur},Ba.createElement("span",{className:$r.e},ur&&(it==null?void 0:it.excellent_alias_name)||Ur))),Ba.createElement("div",{className:$r.tags},Ba.createElement("div",null,Ba.createElement(an.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ba.createElement("span",null,Ba.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ba.createElement("span",null,it.stages_count))),Ba.createElement(an.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ba.createElement("span",null,Ba.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ba.createElement("span",null,it.members_count)))))))})),!fn.length&&Ba.createElement(Wn.Z,null)))},sn={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"},lo="data:image/png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W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",wa=ge(67294),jo=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,trackEventItems:sa,loading:ia})=>{const pa=(0,ce.useIntl)(),to=Math.floor((Sn-(In-1)*xn)/In);return wa.createElement(ct.Z,{spinning:ia},wa.createElement("div",{className:ve()(sn.list,yn)},!!fn.length&&fn.map((ur,Bo)=>{const{subject_identifier:Co,id:Wo,identifier:Qa,power:it}=ur,xo=ur.is_public!=0&&ur.is_public;return wa.createElement("div",{className:sn.wrap,key:Wo,style:{width:to,marginRight:(1+Bo)%In===0?0:xn+zr,marginBottom:ir}},wa.createElement("a",{className:sn.li,onClick:Ai=>{Ai.preventDefault(),sa&&(0,nn.L9)([sa]),(0,nn.xg)(ur.first_category_url)}},wa.createElement("div",{className:sn.top},wa.createElement(an.Z,{title:ur.name},wa.createElement("div",{className:sn.name},ur.name)),wa.createElement("img",{className:sn.img,src:bt.Z.IMG_SERVER+"/images/"+ur.avatar_url}),wa.createElement("div",{className:sn.text,title:ur.creator},ur.creator),Co&&wa.createElement("div",{className:sn.btns},wa.createElement("div",null,pa.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})),wa.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),xo&&wa.createElement("div",{className:sn.sign},pa.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}))),wa.createElement("div",{className:sn.bottom},ur.visits>0&&wa.createElement(an.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},wa.createElement("span",null,wa.createElement("i",{className:"iconfont icon-liulanyan"}),wa.createElement("span",null,ur.visits))),ur.course_members_count>0&&wa.createElement(an.Z,{title:pa.formatMessage({id:"classrooms.member",defaultMessage:"\u6210\u5458"}),placement:"bottom"},wa.createElement("span",null,wa.createElement("i",{className:"iconfont icon-chengyuan"}),ur.course_members_count)),ur.tasks_count>0&&wa.createElement(an.Z,{title:pa.formatMessage({id:"paths.homework",defaultMessage:"\u4F5C\u4E1A"}),placement:"bottom"},wa.createElement("span",null,wa.createElement("i",{className:"iconfont icon-zuoye"}),ur.tasks_count)),ur.is_end?wa.createElement("div",{style:{color:"#6B758B"}},pa.formatMessage({id:"classrooms.ended",defaultMessage:"\u5DF2\u7ED3\u675F"})):wa.createElement("div",{style:{color:"#00B187"}},pa.formatMessage({id:"classrooms.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})))),!ur.is_accessible&&wa.createElement("div",{className:sn.lockWrap},wa.createElement("img",{src:`${bt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),wa.createElement("span",{className:"mt15 font16 c-white"},pa.formatMessage({id:"classrooms.nonClassMembersNotAllowed",defaultMessage:"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165"}))))}),!fn.length&&wa.createElement(Wn.Z,null)))},Ia={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Di="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA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B5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",un=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,wrapClassName:sa,trackEventItems:ia,loading:pa})=>{const to=Math.floor((Sn-(In-1)*xn)/In);return Ae.createElement(ct.Z,{spinning:pa},Ae.createElement("div",{className:ve()(Ia.list,yn)},!!fn.length&&fn.map((ur,Bo)=>{const{subject_identifier:Co,id:Wo,identifier:Qa,power:it}=ur,xo=ur.is_public!=0&&ur.is_public;return Ae.createElement("div",{className:ve()(`${Ia.wrap} ${ur.is_accessible?"":Ia.warpStyle}`,sa),key:Wo,style:{width:to,marginRight:(1+Bo)%In===0?0:xn+zr,marginBottom:ir}},Ae.createElement("a",{className:Ia.li,onClick:Ai=>{Ai.preventDefault(),ia&&(0,nn.L9)([ia]),(0,nn.xg)(ur.first_category_url)}},Ae.createElement("div",{className:Ia.creator},Ae.createElement("img",{className:Ia.img,src:bt.Z.IMG_SERVER+"/images/"+ur.avatar_url}),Ae.createElement("div",{className:Ia.text,title:ur.creator},ur.creator)),Ae.createElement("div",{className:Ia.top},Ae.createElement(an.Z,{title:ur.name},Ae.createElement("div",{className:Ia.name},ur.name)),xo&&Ae.createElement("div",{className:Ia.sign},"\u516C\u5F00")),Ae.createElement("div",{className:Ia.middle},Ae.createElement("div",{className:Ia.row,style:{marginBottom:6}},Ae.createElement("div",null,Ae.createElement("span",{className:Ia.text},"\u8BBF\u95EE\u91CF"),Ae.createElement("span",{className:Ia.value},(ur==null?void 0:ur.visits)||0)),Ae.createElement("div",null,Ae.createElement("span",{className:Ia.text},"\u6210\u5458"),Ae.createElement("span",{className:Ia.value},(ur==null?void 0:ur.course_members_count)||0))),Ae.createElement("div",{className:Ia.row},Ae.createElement("div",null,Ae.createElement("span",{className:Ia.text,style:{width:42}},"\u4F5C",Ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Ae.createElement("span",{className:Ia.value},(ur==null?void 0:ur.tasks_count)||0)),Ae.createElement("div",null,Ae.createElement("span",{className:Ia.text},"\u72B6\u6001"),ur.is_end?Ae.createElement("span",{className:Ia.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Ae.createElement("span",{className:Ia.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Co&&Ae.createElement("div",{className:Ia.btns},Ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!ur.is_accessible&&Ae.createElement("div",{className:Ia.lockWrap},Ae.createElement("img",{src:`${bt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!fn.length&&Ae.createElement(Wn.Z,null)))},Bn={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Pn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXF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G7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ea=({className:yn,dataSource:fn=[],col:In=4,right:xn,bottom:ir=23,precision:zr=0,wrapWidth:Sn=1200,wrapClassName:sa,trackEventItems:ia,loading:pa})=>{const to=Math.floor((Sn-(In-1)*xn)/In);return Ae.createElement(ct.Z,{spinning:pa},Ae.createElement("div",{className:ve()(Bn.list,yn)},!!fn.length&&fn.map((ur,Bo)=>{const{subject_identifier:Co,id:Wo,identifier:Qa,power:it}=ur,xo=ur.is_public!=0&&ur.is_public;return Ae.createElement("div",{className:ve()(`${Bn.wrap} ${ur.is_accessible?"":Bn.warpStyle}`,sa),key:Wo,style:{width:to,marginRight:(1+Bo)%In===0?0:xn+zr,marginBottom:ir}},Ae.createElement("a",{className:Bn.li,onClick:Ai=>{Ai.preventDefault(),ia&&(0,nn.L9)([ia]),(0,nn.xg)(ur.first_category_url)}},Ae.createElement("div",{className:Bn.creator},Ae.createElement("img",{className:Bn.img,src:bt.Z.IMG_SERVER+"/images/"+ur.avatar_url}),Ae.createElement("div",{className:Bn.text,title:ur.creator},ur.creator)),Ae.createElement("div",{className:Bn.top},Ae.createElement(an.Z,{title:ur.name},Ae.createElement("div",{className:Bn.name},ur.name)),xo&&Ae.createElement("div",{className:Bn.sign})),Ae.createElement("div",{className:Bn.middle},Ae.createElement("div",{className:Bn.row,style:{marginBottom:6}},Ae.createElement("div",null,Ae.createElement("span",{className:Bn.text},"\u8BBF\u95EE\u91CF"),Ae.createElement("span",{className:Bn.value},(ur==null?void 0:ur.visits)||0)),Ae.createElement("div",null,Ae.createElement("span",{className:Bn.text},"\u6210\u5458"),Ae.createElement("span",{className:Bn.value},(ur==null?void 0:ur.course_members_count)||0))),Ae.createElement("div",{className:Bn.row},Ae.createElement("div",null,Ae.createElement("span",{className:Bn.text,style:{width:42}},"\u4F5C",Ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Ae.createElement("span",{className:Bn.value},(ur==null?void 0:ur.tasks_count)||0)),Ae.createElement("div",null,Ae.createElement("span",{className:Bn.text},"\u72B6\u6001"),ur.is_end?Ae.createElement("span",{className:Bn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Ae.createElement("span",{className:Bn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Co&&Ae.createElement("div",{className:Bn.btns},Ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!ur.is_accessible&&Ae.createElement("div",{className:Bn.lockWrap},Ae.createElement("img",{src:`${bt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!fn.length&&Ae.createElement(Wn.Z,null)))},Yr={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"},Sa=({dataSource:yn=[],value:fn,onChange:In,className:xn,style:ir={},tabBarExtraContent:zr})=>Ae.createElement("div",{className:ve()(Yr.tabs,xn),style:ir},Ae.createElement("div",{className:Yr.tabsWrap},yn.map((Sn,sa)=>Ae.createElement("aside",{className:Yr.tab,onClick:()=>{In(Sn.id),Sn.link&&ce.history.push(Sn.link)},key:sa},Ae.createElement("div",{className:fn===Sn.id?Yr.active:""},Sn.name),(Sn==null?void 0:Sn.resetCount)==null&&(Sn==null?void 0:Sn.total)!==void 0&&Ae.createElement("span",null,"\uFF08",Sn==null?void 0:Sn.total,"\uFF09"),(Sn==null?void 0:Sn.resetCount)!==void 0&&(Sn==null?void 0:Sn.total)!==void 0&&Ae.createElement(an.Z,{title:(Sn==null?void 0:Sn.tip)!=null?Sn==null?void 0:Sn.tip:""},Ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Ae.createElement("span",{style:{color:"#000"}},Sn==null?void 0:Sn.resetCount),"/",Ae.createElement("span",null,Sn==null?void 0:Sn.total),"\uFF09"))))),Ae.createElement("div",{className:Yr.tabBar},zr)),ca={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Pi=({dataSource:yn=[],value:fn,onChange:In,className:xn,style:ir={},tabBarExtraContent:zr})=>Ae.createElement("div",{className:ve()(ca.tabs,xn),style:ir},Ae.createElement("div",{className:ca.tabsWrap},yn.map((Sn,sa)=>Ae.createElement("aside",{className:ca.tab,onClick:()=>{In(Sn.id),Sn.link&&ce.history.push(Sn.link)},key:sa},Ae.createElement("div",{className:fn===Sn.id?ca.active:""},Sn.name),(Sn==null?void 0:Sn.resetCount)==null&&(Sn==null?void 0:Sn.total)!==void 0&&Ae.createElement("span",null,"\uFF08",Sn==null?void 0:Sn.total,"\uFF09"),(Sn==null?void 0:Sn.resetCount)!==void 0&&(Sn==null?void 0:Sn.total)!==void 0&&Ae.createElement(an.Z,{title:(Sn==null?void 0:Sn.tip)!=null?Sn==null?void 0:Sn.tip:""},Ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Ae.createElement("span",{style:{color:"#000"}},Sn==null?void 0:Sn.resetCount),"/",Ae.createElement("span",null,Sn==null?void 0:Sn.total),"\uFF09"))))),Ae.createElement("div",{className:ca.tabBar},zr)),ni={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},eo=({dataSource:yn=[],value:fn,onChange:In,className:xn,style:ir={},tabBarExtraContent:zr})=>Ae.createElement("div",{className:ve()(ni.tabs,xn),style:ir},Ae.createElement("div",{className:ni.tabsWrap},yn.map((Sn,sa)=>Ae.createElement("aside",{className:`${ni.tab} ${fn===Sn.id?ni.active:""}`,onClick:()=>{In(Sn.id),Sn.link&&ce.history.push(Sn.link)},key:sa},Ae.createElement("div",null,Sn.name),(Sn==null?void 0:Sn.resetCount)==null&&(Sn==null?void 0:Sn.total)!==void 0&&Ae.createElement("span",null,"\uFF08",Sn==null?void 0:Sn.total,"\uFF09"),(Sn==null?void 0:Sn.resetCount)!==void 0&&(Sn==null?void 0:Sn.total)!==void 0&&Ae.createElement(an.Z,{title:(Sn==null?void 0:Sn.tip)!=null?Sn==null?void 0:Sn.tip:""},Ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Ae.createElement("span",{style:{color:"#000"}},Sn==null?void 0:Sn.resetCount),"/",Ae.createElement("span",null,Sn==null?void 0:Sn.total),"\uFF09"))))),Ae.createElement("div",{className:ni.tabBar},zr)),os=({className:yn,style:fn={},children:In})=>Ae.createElement("div",{className:ve()(yn),style:fn},In),fi={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"},mi=ge(85418),Ka=ge(68508),ai=({sortValue:yn,dropValue:fn,className:In,onSort:xn,onDrop:ir,dataSource:zr})=>{var Sn;const sa=(0,ce.useIntl)(),[ia,pa]=(0,Ae.useState)([]),to=[{id:"updated_at",name:sa.formatMessage({id:"personalHomepageclassrooms.latestUpdates",defaultMessage:"\u6700\u65B0\u52A8\u6001"})},{id:"created_at",name:sa.formatMessage({id:"common.newestCreated",defaultMessage:"\u6700\u65B0\u521B\u5EFA"})},{id:"name",name:sa.formatMessage({id:"common.sortByName",defaultMessage:"\u540D\u79F0\u6392\u5E8F"})}];return(0,Ae.useEffect)(()=>{(zr==null?void 0:zr.length)>0?pa(zr):pa(to)},[zr]),Ae.createElement("div",{className:ve()(fi.orderWrap,In)},Ae.createElement(mi.Z,{dropdownRender:()=>Ae.createElement(Ka.default,null,ia.map((ur,Bo)=>Ae.createElement(Ka.default.Item,{key:Bo,onClick:()=>ir(ur.id)},ur.name)))},Ae.createElement("span",{className:fi.orderTextWrap},(Sn=ia.find(ur=>fn===ur.id))==null?void 0:Sn.name)),Ae.createElement("span",{className:fi.orderIconWrap},Ae.createElement("span",{className:fi.orderAsc},Ae.createElement("i",{className:yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${fi.cursorPointer} ${fi.active}`:`iconfont icon-sanjiaoxing-up font12 ${fi.cursorPointer}`,onClick:()=>xn(yn==="asc"?"desc":"asc")})),Ae.createElement("span",{className:fi.orderDesc},Ae.createElement("i",{className:yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${fi.cursorPointer} ${fi.active}`:`iconfont icon-sanjiaoxing-down font12 ${fi.cursorPointer}`,onClick:()=>xn(yn==="asc"?"desc":"asc")}))))},Qi={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Us=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Es=({sortValue:yn,dropValue:fn,className:In,onSort:xn,onDrop:ir,dataSource:zr=Us})=>{var Sn;return Ae.createElement("div",{className:ve()(Qi.orderWrap,In)},Ae.createElement(mi.Z,{dropdownRender:()=>Ae.createElement(Ka.default,null,zr.map((sa,ia)=>Ae.createElement(Ka.default.Item,{key:ia,onClick:()=>ir(sa.id)},sa.name)))},Ae.createElement("span",{className:Qi.orderTextWrap},(Sn=zr.find(sa=>fn===sa.id))==null?void 0:Sn.name)),Ae.createElement("span",{className:Qi.orderIconWrap},Ae.createElement("span",{className:Qi.orderAsc},Ae.createElement("i",{className:yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Qi.cursorPointer} ${Qi.active}`:`iconfont icon-sanjiaoxing-up font12 ${Qi.cursorPointer}`,onClick:()=>xn(yn==="asc"?"desc":"asc")})),Ae.createElement("span",{className:Qi.orderDesc},Ae.createElement("i",{className:yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Qi.cursorPointer} ${Qi.active}`:`iconfont icon-sanjiaoxing-down font12 ${Qi.cursorPointer}`,onClick:()=>xn(yn==="asc"?"desc":"asc")}))))},zs={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",ThemeOne:"ThemeOne___iCQio"},Lr=ge(71577),eA=ge(52810),xA=Object.defineProperty,Gs=Object.getOwnPropertySymbols,No=Object.prototype.hasOwnProperty,is=Object.prototype.propertyIsEnumerable,Hr=(yn,fn,In)=>fn in yn?xA(yn,fn,{enumerable:!0,configurable:!0,writable:!0,value:In}):yn[fn]=In,Ua=(yn,fn)=>{for(var In in fn||(fn={}))No.call(fn,In)&&Hr(yn,In,fn[In]);if(Gs)for(var In of Gs(fn))is.call(fn,In)&&Hr(yn,In,fn[In]);return yn},fo=(yn,fn)=>{var In={};for(var xn in yn)No.call(yn,xn)&&fn.indexOf(xn)<0&&(In[xn]=yn[xn]);if(yn!=null&&Gs)for(var xn of Gs(yn))fn.indexOf(xn)<0&&is.call(yn,xn)&&(In[xn]=yn[xn]);return In},so=(yn,fn,In)=>new Promise((xn,ir)=>{var zr=ia=>{try{sa(In.next(ia))}catch(pa){ir(pa)}},Sn=ia=>{try{sa(In.throw(ia))}catch(pa){ir(pa)}},sa=ia=>ia.done?xn(ia.value):Promise.resolve(ia.value).then(zr,Sn);sa((In=In.apply(yn,fn)).next())}),$i=yn=>{var fn=yn,{className:In,style:xn,children:ir,loading:zr=!1,openLoading:Sn,onClick:sa=()=>{},size:ia="middle",shape:pa="round",theme:to}=fn,ur=fo(fn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Bo,Co]=(0,Ae.useState)(!1),Wo=(0,Ae.useMemo)(()=>{switch(to){case eA.Fy.THEMEONE:return zs.ThemeOne;case eA.Fy.DEFAULT:default:return zs.btn}},[to]);return Ae.createElement(Lr.ZP,Ua({onClick:(0,Le.throttle)(Qa=>so(void 0,null,function*(){Sn&&Co(!0);try{yield sa(Qa)}catch(it){console.log("error",it)}Sn&&Co(!1)}),2e3,{leading:!0,trailing:!1}),className:ve()(Wo,zs[`${ia}-${pa}`],In),style:xn,size:ia,shape:pa,loading:Bo||zr},ur),ir)},us={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"},rA=({className:yn,style:fn,children:In=null,onClick:xn,title:ir})=>{const zr=(0,ce.useIntl)();return Ae.createElement("div",{className:ve()(us.head,yn),style:fn},Ae.createElement("span",{className:"primary-hover",onClick:xn},Ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),zr.formatMessage({id:"classroomGraphicGroupHomework.return",defaultMessage:"\u8FD4\u56DE"})),Ae.createElement("b",{title:ir},ir),Ae.createElement("div",{className:us.node},In))},Ho={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"},XA=({confirmShow:yn=!0,confirmTitle:fn,confirmClick:In,cancelShow:xn=!0,cancelTitle:ir,cancelClick:zr,className:Sn,style:sa,confirmLoading:ia=!1})=>Ae.createElement("div",{className:ve()(Ho.btns,Sn),style:sa},yn&&Ae.createElement(Lr.ZP,{loading:ia,onClick:In,type:"primary",className:Ho.confirm},fn),xn&&Ae.createElement(Lr.ZP,{onClick:zr,className:Ho.cancel},ir)),tA={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"},AA=({className:yn,style:fn={},LeftContent:In,children:xn,RightContent:ir})=>Ae.createElement("div",{className:ve()(tA.fixedBottom,yn),style:fn},Ae.createElement("div",{className:tA.wrap},Ae.createElement("div",{className:tA.left},In),Ae.createElement("div",{className:tA.center},xn),Ae.createElement("div",{className:tA.right},ir))),LA={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"},ms=({className:yn,style:fn={},dataSource:In=[]})=>Ae.createElement("div",{className:ve()(LA.crumbs,yn),style:fn},In.map((xn,ir)=>irce.history.push(xn.path)},xn.name):Ae.createElement("span",null,xn.name),Ae.createElement("span",null,"\xA0",">","\xA0")):Ae.createElement("span",{key:ir,style:{color:"#5F6368"}},xn.name))),pA=ge(55054),Eo=Object.defineProperty,Ti=Object.defineProperties,Ws=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,Dt=(yn,fn,In)=>fn in yn?Eo(yn,fn,{enumerable:!0,configurable:!0,writable:!0,value:In}):yn[fn]=In,sr=(yn,fn)=>{for(var In in fn||(fn={}))zn.call(fn,In)&&Dt(yn,In,fn[In]);if(On)for(var In of On(fn))gt.call(fn,In)&&Dt(yn,In,fn[In]);return yn},Mr=(yn,fn)=>Ti(yn,Ws(fn)),Xr=(yn,fn)=>{var In={};for(var xn in yn)zn.call(yn,xn)&&fn.indexOf(xn)<0&&(In[xn]=yn[xn]);if(yn!=null&&On)for(var xn of On(yn))fn.indexOf(xn)<0&>.call(yn,xn)&&(In[xn]=yn[xn]);return In};const{Countdown:Jn}=pA.default;var tr=yn=>{var fn=yn,{onChange:In}=fn,xn=Xr(fn,["onChange"]);const[ir,zr]=(0,Ae.useState)(null);(0,Ae.useEffect)(()=>{typeof ir=="number"&&ir>=0&&In(ir)},[ir]);const Sn=sa=>{const ia=Math.floor(sa/1e3);zr(ia)};return Ae.createElement(Jn,Mr(sr({},xn),{onChange:Sn}))},pr={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Aa=({DataProps:yn,className:fn,style:In={}})=>{var xn;const ir=(0,ce.useIntl)();return Ae.createElement("div",{className:ve()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",pr.ClassRoomItem,fn),style:In,onClick:()=>{(0,nn.xg)(yn==null?void 0:yn.first_category_url)}},Ae.createElement("div",{className:"flex flex-col item-center"},Ae.createElement("img",{src:`${(xn=bt.Z)==null?void 0:xn.IMG_SERVER}/images/${yn==null?void 0:yn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(yn==null?void 0:yn.subject_identifier)&&Ae.createElement("div",{className:"mt-40px"},Ae.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},ir.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})),Ae.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),Ae.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},Ae.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(yn!=null&&yn.is_public)&&Ae.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},ir.formatMessage({id:"testPaperBank.public",defaultMessage:"\u516C\u5F00"})),Ae.createElement("span",{className:ve()("text-16px font-medium",pr.TitleDom)},yn==null?void 0:yn.name)),Ae.createElement("div",{className:"c-grey-333 font-medium"},yn==null?void 0:yn.creator),Ae.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",yn==null?void 0:yn.course_members_count),Ae.createElement("div",{className:"c-grey-333 flex item-center justify-between"},Ae.createElement("div",null,"\u4F5C\u4E1A\uFF1A",yn==null?void 0:yn.tasks_count),yn!=null&&yn.is_end?Ae.createElement("div",{style:{color:"#5F6A95"}},ir.formatMessage({id:"classrooms.ended",defaultMessage:"\u5DF2\u7ED3\u675F"})):Ae.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ta=Object.defineProperty,Ha=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,vo=Object.prototype.propertyIsEnumerable,rr=(yn,fn,In)=>fn in yn?ta(yn,fn,{enumerable:!0,configurable:!0,writable:!0,value:In}):yn[fn]=In,Qt=(yn,fn)=>{for(var In in fn||(fn={}))oo.call(fn,In)&&rr(yn,In,fn[In]);if(Ha)for(var In of Ha(fn))vo.call(fn,In)&&rr(yn,In,fn[In]);return yn},Yt=({DataProps:yn=[],selectValue:fn,onChange:In,className:xn,style:ir={},extra:zr,classNameItem:Sn,styleItem:sa={},barHidden:ia})=>{const[pa,to]=(0,Ae.useState)();return(0,Ae.useEffect)(()=>{to(Array.isArray(fn)?fn:[fn])},[fn]),Ae.createElement("div",{className:ve()("flex px-20px py-10px gap-40px",xn),style:Qt({borderBottom:"1px solid #D3F0FF"},ir)},yn==null?void 0:yn.map(ur=>Ae.createElement("div",{key:ur==null?void 0:ur.id,className:ve()("flex item-center justify-center current c-grey-333 text-16 relative",Sn,ur==null?void 0:ur.className),style:Qt(Qt({color:pa!=null&&pa.includes(ur==null?void 0:ur.id)?"#1890FF":"",minWidth:88},sa),(ur==null?void 0:ur.style)||{}),onClick:Bo=>{In==null||In({domEvent:Bo,item:ur}),ur!=null&&ur.link&&ce.history.push(ur==null?void 0:ur.link)}},ur==null?void 0:ur.name,!ia&&(pa==null?void 0:pa.includes(ur==null?void 0:ur.id))&&Ae.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),Ae.createElement("div",{className:"ml-auto"},zr))},Zn=Object.defineProperty,Yn=Object.defineProperties,Kr=Object.getOwnPropertyDescriptors,Nr=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Zr=(yn,fn,In)=>fn in yn?Zn(yn,fn,{enumerable:!0,configurable:!0,writable:!0,value:In}):yn[fn]=In,Da=(yn,fn)=>{for(var In in fn||(fn={}))ar.call(fn,In)&&Zr(yn,In,fn[In]);if(Nr)for(var In of Nr(fn))or.call(fn,In)&&Zr(yn,In,fn[In]);return yn},xa=(yn,fn)=>Yn(yn,Kr(fn)),ga=({value:yn,onChange:fn,onInputChange:In,className:xn,style:ir={},InputProps:zr})=>{const[Sn,sa]=(0,Ae.useState)(yn);return Ae.createElement("div",{className:ve()("flex item-center rounded-full px-10px py-2px",xn),style:Da({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ir)},Ae.createElement(Ue.default,xa(Da({bordered:!1},zr),{onChange:ia=>{sa(ia.target.value),In==null||In(encodeURIComponent(ia.target.value))},onPressEnter:ia=>{fn==null||fn({domEvent:ia,item:{value:Sn}})}})),Ae.createElement("img",{className:"h-22px current",src:ge(25365),height:22,onClick:ia=>{fn==null||fn({domEvent:ia,item:{value:Sn}})}}))}},99914:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return ye}});var Ae=ge(67294);function ye(Ke,_e){const ze=(0,Ae.useRef)();(0,Ae.useEffect)(()=>{ze.current=Ke}),(0,Ae.useEffect)(()=>{function je(){ze.current()}if(_e!==null){let pe=setInterval(je,_e);return()=>clearInterval(pe)}},[_e])}},16151:function(qt,Ot,ge){"use strict";var Ae=ge(14446),ye=ge(2453),Ke=ge(33170),_e=ge(35973),ze=ge(52262),je=ge(67294),pe=(Le,ce,De)=>new Promise((Pe,Ee)=>{var ie=b=>{try{a(De.next(b))}catch(E){Ee(E)}},y=b=>{try{a(De.throw(b))}catch(E){Ee(E)}},a=b=>b.done?Pe(b.value):Promise.resolve(b.value).then(ie,y);a((De=De.apply(Le,ce)).next())});const ve=({shixunHomeworks:Le,classroomList:ce,dispatch:De})=>{const Pe=(0,_e.useIntl)(),Ee=(0,_e.useParams)();return je.createElement(Ae.default,{centered:!0,title:Pe.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:Pe.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Pe.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>pe(void 0,null,function*(){var ie,y,a,b;if((0,ze.Rm)()&&!((ie=ce.AssistantObject.practice)!=null&&ie.can_redo)){ye.ZP.warning(Pe.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const E=yield(0,Ke.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Ee.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(E.shixun_identifier){ye.ZP.success(Pe.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"})),De({type:"shixunHomeworks/setActionTabs",payload:{}});const x=(a=(y=E==null?void 0:E.new_works)==null?void 0:y.find(z=>`${z.homework_common_id}`===Ee.categoryId))==null?void 0:a.id;if((0,ze.Rm)()&&!((b=ce.AssistantObject.practice)!=null&&b.can_view))return;_e.history.replace(`/classrooms/${Ee.coursesId}/shixun_homework/${Ee.categoryId}/${x}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,Pe.formatMessage({id:"classrooms.returnAssignmentWarning",defaultMessage:"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"})),je.createElement("p",null,Pe.formatMessage({id:"classrooms.confirmReturnAssignment",defaultMessage:"\u786E\u5B9A\u6253\u56DE?"})))};Ot.Z=(0,_e.connect)(({shixunHomeworks:Le,classroomList:ce})=>({shixunHomeworks:Le,classroomList:ce}))(ve)},68828:function(qt,Ot,ge){"use strict";ge.r(Ot),ge.d(Ot,{default:function(){return rr}});var Ae=ge(52810),ye=ge(67294),Ke=ge(35973),_e=ge(27484),ze=ge.n(_e),je=ge(55733),pe=ge.n(je),ve=ge(33170),Le=ge(14446),ce=ge(2453),De=ge(46303),Pe=ge(85673),Ee=ge(71577),ie=ge(83062),y=ge(69677),a=ge(96074),b=ge(71230),E=ge(15746),x=ge(9430),z=ge(11713),ae=ge(28452),de=ge(87922),we=ge(55304),be=ge(84249),Ne=ge(11320),We=ge(52262),Ze=ge(28706),at=ge(50976),Ue={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},Bt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Me=({shixunHomeworks:Qt,data:Et,globalSetting:Yt,loading:Zn,dispatch:Yn})=>{var Kr;const Nr=(0,Ke.useIntl)(),{shixunWorkReport:ar}=Qt;let or=((Kr=Et==null?void 0:Et.efficiency_list)==null?void 0:Kr.length)-parseInt(Et==null?void 0:Et.myself_eff[0]);const Zr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(xa){return xa.name===ar.username?"\u59D3\u540D\uFF1A"+ar.username+"
\u5B66\u53F7\uFF1A "+ar.user_id+"
\u6548\u7387\uFF1A"+(Et==null?void 0:Et.myself_eff[1]):xa.name+":"+xa.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Et==null?void 0:Et.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:ar.username,xAxis:or,yAxis:Et==null?void 0:Et.myself_eff[1],value:Et==null?void 0:Et.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(xa){var da=xa.value;if(xa.name===ar.username)return"\u59D3\u540D\uFF1A"+ar.username+"
\u5B66\u53F7\uFF1A "+ar.user_id+"
\u5F97\u5206\uFF1A"+(Et==null?void 0:Et.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Bt,data:Et==null?void 0:Et.consume_list,symbolSize:function(xa){return Math.round(xa[2])},markPoint:{data:[{name:ar.username,xAxis:Et==null?void 0:Et.myself_object[0],yAxis:Et==null?void 0:Et.myself_object[1],value:Et==null?void 0:Et.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return ye.createElement(ye.Fragment,null,ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(at.Z,{style:{width:750,height:580},option:Zr()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Ue.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,"\u59D3\u540D")," ",ye.createElement("span",{className:"ml30"},ar.username)),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u53F7")," ",ye.createElement("span",{className:"ml30"},ar.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",ye.createElement("span",{className:"ml30 c-orange"},Et==null?void 0:Et.myself_eff[1])),ye.createElement("li",null,ye.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",ye.createElement("span",{className:"ml30 c-orange"},Et==null?void 0:Et.myself_eff[0]))),ye.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",ye.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",ye.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",ye.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(at.Z,{style:{width:750,height:580},option:Da()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Ue.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,"\u59D3\u540D")," ",ye.createElement("span",{className:"ml30"},ar.username)),ye.createElement("li",null,ye.createElement("span",null,"\u5B66\u53F7")," ",ye.createElement("span",{className:"ml30"},ar.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,"\u80FD\u529B")," ",ye.createElement("span",{className:"ml30 c-orange"},Et==null?void 0:Et.myself_object[1]))),ye.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",ye.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",ye.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",ye.createElement("br",null)))))))};var Nt=(0,Ke.connect)(({shixunHomeworks:Qt,loading:Et,globalSetting:Yt})=>({shixunHomeworks:Qt,globalSetting:Yt,loading:Et.effects}))(Me),ut=ge(36295),At=ge(31795),Lt=({defaultValue:Qt,onBlur:Et,max:Yt,className:Zn="game-score"})=>{const[Yn,Kr]=(0,ye.useState)(Qt);(0,ye.useEffect)(()=>{Kr(Qt)},[Qt]);function Nr(or){Kr(or)}function ar(){Yn!==Qt&&Et(Yn>Yt?Yt:Yn)}return ye.createElement(At.Z,{max:Yt,min:0,className:Zn,value:Yn,onChange:Nr,onBlur:ar})},dt=ge(35567),vt={md:"md___GIQyK"},et=ge(67294),ct=Object.defineProperty,an=Object.defineProperties,En=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,$n=(Qt,Et,Yt)=>Et in Qt?ct(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,Ln=(Qt,Et)=>{for(var Yt in Et||(Et={}))nn.call(Et,Yt)&&$n(Qt,Yt,Et[Yt]);if(bt)for(var Yt of bt(Et))Fn.call(Et,Yt)&&$n(Qt,Yt,Et[Yt]);return Qt},Wn=(Qt,Et)=>an(Qt,En(Et));const It=z.default.Option,Vn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Xn=(Qt=>(Qt[Qt.SET_PATH=0]="SET_PATH",Qt[Qt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Qt))(Xn||{});function Ye(Qt,Et){switch(Et.type){case 0:return Wn(Ln({},Qt),{selectedPath:Et.payload});case 1:return Wn(Ln({},Qt),{passedContent:Et.payload});default:throw new Error}}var mn=({path:Qt,game_id:Et,onPathChange:Yt,autoHeight:Zn,diff_code_count:Yn,data:Kr,game_codes_cn:Nr})=>{var ar,or,Zr,Da;const xa=Qt.split("\uFF1B").filter(ir=>!!ir),[da,ga]=(0,ye.useReducer)(Ye,{selectedPath:xa[0],passedContent:{language:"python",content:""}}),{selectedPath:yn,passedContent:fn}=da;function In(ir){ga({type:0,payload:ir})}const xn={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return et.createElement(et.Fragment,null,et.createElement("h2",null," ",et.createElement("span",null,Nr,et.createElement(ie.Z,{title:et.createElement("div",null,et.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),et.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),et.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),et.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},et.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Yn&&et.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Yn),et.createElement("span",null,et.createElement(z.default,{style:{width:200},value:yn,onChange:In}," ",xa.map(ir=>et.createElement(It,{key:ir,value:ir},ir))," "))," "),(yn==null?void 0:yn.split(".")[1])==="md"&&et.createElement(dt.Z,{height:300,autoHeight:Zn,defaultValue:((or=(ar=Kr==null?void 0:Kr.filter(ir=>ir.path===yn))==null?void 0:ar[0])==null?void 0:or.content)||"",className:vt.md}),(yn==null?void 0:yn.split(".")[1])!=="md"&&et.createElement(ut.ZP,{height:300,language:fn.language,value:((Da=(Zr=Kr==null?void 0:Kr.filter(ir=>ir.path===yn))==null?void 0:Zr[0])==null?void 0:Da.content)||"",autoHeight:Zn,theme:"default",isCopy:!0,options:Vn}))},Qe=ge(89779),me=ge(61193),he=ge.n(me),Oe=Object.defineProperty,qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,_t=(Qt,Et,Yt)=>Et in Qt?Oe(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,An=(Qt,Et)=>{for(var Yt in Et||(Et={}))pt.call(Et,Yt)&&_t(Qt,Yt,Et[Yt]);if(qe)for(var Yt of qe(Et))lt.call(Et,Yt)&&_t(Qt,Yt,Et[Yt]);return Qt},cn=(Qt,Et,Yt)=>new Promise((Zn,Yn)=>{var Kr=or=>{try{ar(Yt.next(or))}catch(Zr){Yn(Zr)}},Nr=or=>{try{ar(Yt.throw(or))}catch(Zr){Yn(Zr)}},ar=or=>or.done?Zn(or.value):Promise.resolve(or.value).then(Kr,Nr);ar((Yt=Yt.apply(Qt,Et)).next())});const Kn=({shixunHomeworks:Qt,autoHeight:Et,classroomList:Yt,dispatch:Zn})=>{var Yn,Kr,Nr,ar,or,Zr,Da;const xa=(0,Ke.useIntl)(),{shixunWorkReport:da}=Qt,{stage_list:ga,work_id:yn}=da,[fn,In]=(0,ye.useState)(!1),[xn,ir]=(0,ye.useState)(!0),[zr,Sn]=(0,ye.useState)({left:0,top:0,bottom:0,right:0}),sa=(0,ye.useRef)(null),[ia,pa]=(0,ye.useState)(!1),to=(Ur,Oo)=>{var Lo;const{clientWidth:oi,clientHeight:Xo}=window.document.documentElement,vi=(Lo=sa.current)==null?void 0:Lo.getBoundingClientRect();vi&&Sn({left:-vi.left+Oo.x,right:oi-(vi.right-Oo.x),top:-vi.top+Oo.y,bottom:Xo-(vi.bottom-Oo.y)})},ur=(0,Ke.useParams)(),Bo=(0,We.GJ)(),Co={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,ye.useEffect)(()=>{console.log(ur)},[]);const Wo=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Ur,Oo,Lo)=>ye.createElement("div",null,Ur,Oo.is_work_end_evaluate&&ye.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Ur=>ze()(Ur).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Ur,Oo)=>ye.createElement("span",{className:"c-blue current",onClick:()=>cn(void 0,null,function*(){var Lo,oi;const Xo=yield(0,Qe.Lk)(Oo.game_identifier,{path:(oi=(Lo=Oo.path)==null?void 0:Lo.replace(/\;/g,";"))==null?void 0:oi.split(";")[0],query_index:Oo.query_index,homework_common_id:ur.categoryId});(Xo==null?void 0:Xo.status)===0&&(pa(Xo),In(!0))})},Oo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Qa=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Ur,Oo)=>{var Lo;return ye.createElement("span",null,ye.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ne.Z.IMG_SERVER+"/images/"+((Lo=Oo==null?void 0:Oo.user)==null?void 0:Lo.image_url)}),Ur)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Ur=>ye.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Ur,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Ur=>ye.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Ur,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Ur=>ye.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Ur?ze()(Ur).format("YYYY-MM-DD HH:mm"):"--")}];function it(Ur,Oo){return cn(this,null,function*(){const{challenge_id:Lo}=ga[Ur],oi=yield Zn({type:"shixunHomeworks/changeScore",payload:{categoryId:ur.homeworkId,type:"report",score:Oo,challenge_id:Lo}});yield Zn({type:"shixunHomeworks/getShixunWorkReport",payload:An({},ur)}),oi.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function xo(Ur,Oo){return(0,ve.U2)(`student_works/${yn}/rep_passed_content.json`,{path:Oo,game_id:Ur})}const Ai=da.shixun_detail;return ye.createElement(ye.Fragment,null,Ai==null?void 0:Ai.map(function(Ur,Oo){var Lo,oi;return ye.createElement("div",{key:Oo},ye.createElement("aside",{className:"pl30 pr30",key:Oo},ye.createElement("div",{className:`${Ue.shixunTitle} mt10`},ye.createElement("div",null,ye.createElement("span",{className:"fa fa-code "}),ye.createElement("strong",{className:"c-black"},"\u7B2C",Oo+1,"\u5173 ",ye.createElement(Ke.Link,{className:"c-black",target:"_blank",to:`/tasks/${ur.coursesId}/${ur.categoryId}/${Ur.game_identifier}`},Ur.subject))),Bo?ye.createElement("span",null,"\u8C03\u5206\uFF1A",ye.createElement(Lt,{className:"game-score",max:ga[Oo].game_score_full,defaultValue:ga[Oo].game_score,onBlur:Xo=>{var vi;if((0,We.Rm)()&&!((vi=Yt.AssistantObject.practice)!=null&&vi.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}it(Oo,Xo)}})):null),ye.createElement("div",{className:"font16 mt10"},Ur.st===0&&(Ur.path?typeof(Ur==null?void 0:Ur.game_codes_cn)=="string"?ye.createElement("aside",{className:Ue.shixunWrp},ye.createElement(mn,{game_codes_cn:Ur==null?void 0:Ur.game_codes_cn,autoHeight:Et,path:Ur.path,game_id:Ur.id,data:Ur.game_codes,diff_code_count:Ur.diff_code_count,onPathChange:xo})):ye.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Ur.st===1&&(Ur.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),ye.createElement("aside",{className:"mt10 font16"},(Lo=Ur.outputs)!=null&&Lo.length?ye.createElement(x.default,{columns:Wo,pagination:{hideOnSinglePage:!0},dataSource:Ur.outputs.map(Xo=>An(An({},Ur),Xo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),ye.createElement("aside",{className:"mt10 font16"},((oi=Ur==null?void 0:Ur.adjust_review_score_list)==null?void 0:oi.length)>0&&(0,We.GJ)()&&ye.createElement("div",null,ye.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),ye.createElement(x.default,{columns:Qa,pagination:{hideOnSinglePage:!0},dataSource:Ur.adjust_review_score_list,showHeader:!1})))))}),ye.createElement(Le.default,{open:fn,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{pa({}),In(!1)},onCancel:()=>{pa({}),In(!1)},title:ye.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{xn&&ir(!1)},onMouseOut:()=>{ir(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Ur=>ye.createElement(he(),{disabled:xn,bounds:zr,nodeRef:sa,onStart:(Oo,Lo)=>to(Oo,Lo)},ye.createElement("div",{ref:sa},Ur))},ye.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},ye.createElement("div",{style:{display:"flex",alignItems:"center"}},((Yn=ia==null?void 0:ia.data)==null?void 0:Yn.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?ye.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):ye.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),ye.createElement("div",{style:{color:((Kr=ia==null?void 0:ia.data)==null?void 0:Kr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Nr=ia==null?void 0:ia.data)==null?void 0:Nr.output_detail)),ye.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((ar=ia==null?void 0:ia.data)==null?void 0:ar.created_at).format("YYYY-MM-DD HH:mm:ss"))),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(or=ia==null?void 0:ia.data)==null?void 0:or.ts_time,"s")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Zr=ia==null?void 0:ia.data)==null?void 0:Zr.ts_mem,"mb")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Da=ia==null?void 0:ia.data)==null?void 0:Da.test_set_passed_rate)*100,"%")))),ye.createElement(ut.ZP,{height:500,autoHeight:Et,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ia==null?void 0:ia.content)||""))),options:Co})))};var St=(0,Ke.connect)(({shixunHomeworks:Qt,loading:Et,globalSetting:Yt,classroomList:Zn})=>({shixunHomeworks:Qt,globalSetting:Yt,loading:Et.effects,classroomList:Zn}))(Kn),zt=ge(22150),Vt={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},Cn=ge(1916),yt=ge(67294),Un=Object.defineProperty,kt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,Mn=(Qt,Et,Yt)=>Et in Qt?Un(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,er=(Qt,Et)=>{for(var Yt in Et||(Et={}))en.call(Et,Yt)&&Mn(Qt,Yt,Et[Yt]);if(kt)for(var Yt of kt(Et))Qn.call(Et,Yt)&&Mn(Qt,Yt,Et[Yt]);return Qt},br=(Qt,Et,Yt)=>new Promise((Zn,Yn)=>{var Kr=or=>{try{ar(Yt.next(or))}catch(Zr){Yn(Zr)}},Nr=or=>{try{ar(Yt.throw(or))}catch(Zr){Yn(Zr)}},ar=or=>or.done?Zn(or.value):Promise.resolve(or.value).then(Kr,Nr);ar((Yt=Yt.apply(Qt,Et)).next())});const _r=({shixunHomeworks:Qt,dispatch:Et,classroomList:Yt})=>{const Zn=(0,Ke.useIntl)(),{shixunWorkReport:Yn}=Qt,Kr=(0,Ke.useParams)(),[Nr,ar]=(0,ye.useState)(!1),[or]=zt.default.useForm(),[Zr,Da]=Le.default.useModal(),[xa,da]=(0,ye.useState)(!1),[ga,yn]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{var xn,ir,zr,Sn;Qt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&or.setFieldsValue({comment:(ir=(xn=Qt.actionTabs.selectArrs)==null?void 0:xn.data)==null?void 0:ir.work_comment,hidden_comment:(Sn=(zr=Qt.actionTabs.selectArrs)==null?void 0:zr.data)==null?void 0:Sn.work_comment_hidden})},[Qt.actionTabs.key]);const fn=()=>br(void 0,null,function*(){const xn=or.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${Kr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:xn.hidden_comment,comment:xn.comment}})).status===0&&(ce.ZP.success("\u8BC4\u9605\u6210\u529F"),or.resetFields(),Et({type:"shixunHomeworks/setActionTabs",payload:{}}),Et({type:"shixunHomeworks/getShixunWorkReport",payload:er({},Kr)}))}),In=[{title:"\u5173\u5361",dataIndex:"name",render:(xn,ir,zr)=>zr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(xn,ir,zr)=>yt.createElement("div",null,xn,ir.complete_status===4&&yt.createElement(Ze.vA,{status:ir.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:Zn.formatMessage({id:"classrooms.finishTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:xn=>xn?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(xn,ir)=>yt.createElement("div",null,yt.createElement("span",{style:{color:parseFloat(ir.game_score_full)!==parseFloat(xn)?"#E30000":"#53C41B"}},xn),"/",ir.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(xn,ir)=>(0,We.GJ)()?yt.createElement(Lt,{max:ir.game_score_full,defaultValue:parseFloat(xn),onBlur:zr=>br(void 0,null,function*(){var Sn,sa;if((0,We.Rm)()&&!((Sn=Yt.AssistantObject.practice)!=null&&Sn.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ia=yield Et({type:"shixunHomeworks/changeScore",payload:{categoryId:Kr.homeworkId,type:"report",score:zr,challenge_id:ir.challenge_id}});(sa=Qt==null?void 0:Qt.actionTabs)==null||sa.fn(),yield Et({type:"shixunHomeworks/getShixunWorkReport",payload:er({},Kr)}),ia.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):xn}];return yt.createElement(yt.Fragment,null,Da,yt.createElement(Le.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Qt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:Zn.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:"\u53D6\u6D88",onOk:()=>br(void 0,null,function*(){var xn;if((0,We.Rm)()&&!((xn=Yt.AssistantObject.practice)!=null&&xn.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ir=or.getFieldsValue();JSON.stringify(ir)==="{}"||ir.hidden_comment===""&&ir.comment===""?ar(!0):fn()}),onCancel:()=>{Et({type:"shixunHomeworks/setActionTabs",payload:{}})}},yt.createElement(b.Z,{justify:"space-between",className:Vt.info},yt.createElement(E.Z,null,yt.createElement("span",{className:`${Vt.label} ${Vt.greyText}`},"\u59D3\u540D"),yt.createElement("span",{className:Vt.blackContent},Yn==null?void 0:Yn.username)),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Vt.label} ${Vt.greyText}`},"\u5B66\u53F7"),yt.createElement("span",{className:Vt.blackContent},(Yn==null?void 0:Yn.student_id)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Vt.label} ${Vt.greyText}`},"\u73ED\u7EA7"),yt.createElement("span",{className:Vt.blackContent},(Yn==null?void 0:Yn.group_name)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Vt.label} ${Vt.greyText}`},"\u5173\u5361\u5F97\u5206"),yt.createElement("span",{className:Vt.orangeContent},(Yn==null?void 0:Yn.challenge_score)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Vt.label} ${Vt.greyText}`},"\u6548\u7387\u5206"),yt.createElement("span",{className:Vt.orangeContent},(Yn==null?void 0:Yn.eff_score)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Vt.label} ${Vt.greyText}`},"\u8865\u4EA4\u6263\u5206"),yt.createElement("span",{className:Vt.orangeContent},(Yn==null?void 0:Yn.late_penalty)||"--")),yt.createElement(E.Z,null,yt.createElement("span",{className:`${Vt.label} ${Vt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),yt.createElement("span",{className:Vt.orangeContent},(Yn==null?void 0:Yn.work_score)||"--"))),yt.createElement(zt.default,{form:or,onChange:()=>{Nr&&ar(!1)}},yt.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},yt.createElement(E.Z,null,yt.createElement("div",{className:`${Vt.inputLabel} ${Vt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yt.createElement(E.Z,null,yt.createElement(Cn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:xa,onCancel:()=>{da(!1)}},onDataSelect:(xn,ir)=>br(void 0,[xn,ir],function*(zr,{node:Sn}){const sa=()=>{or.setFieldsValue({comment:Sn==null?void 0:Sn.value}),da(!1)};if(or.getFieldValue("comment")){Zr.confirm({icon:null,title:Zn.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:sa});return}sa()})},yt.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:yt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:xn=>{da(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yt.createElement(zt.default.Item,{name:"comment"},yt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),yt.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},yt.createElement(E.Z,null,yt.createElement("div",{className:`${Vt.inputLabel} ${Vt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yt.createElement(E.Z,null,yt.createElement(Cn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:ga,onCancel:()=>{yn(!1)}},onDataSelect:(xn,ir)=>br(void 0,[xn,ir],function*(zr,{node:Sn}){const sa=()=>{or.setFieldsValue({hidden_comment:Sn==null?void 0:Sn.value}),yn(!1)};if(or.getFieldValue("hidden_comment")){Zr.confirm({icon:null,title:Zn.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:sa});return}sa()})},yt.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:yt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:xn=>{yn(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yt.createElement(zt.default.Item,{name:"hidden_comment"},yt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Nr&&yt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),yt.createElement("div",{className:Vt.tableTitle},"\u5173\u5361\u6210\u7EE9"),yt.createElement(x.default,{className:Vt.scoreTable,dataSource:Yn.stage_list,rowKey:"challenge_id",pagination:!1,columns:In,scroll:{x:"max-content"}})))};var Vr=(0,Ke.connect)(({shixunHomeworks:Qt,classroomList:Et})=>({shixunHomeworks:Qt,classroomList:Et}))(_r),hr=ge(42420),gr=ge(85725),Sr=ge(86763),qr=ge(80599),$r=ge.n(qr),io={wrap:"wrap___rFTBy",line:"line___kZzhh"},Ba=ge(446),po=({detailData:Qt})=>{var Et;return ye.createElement("div",{className:io.wrap},ye.createElement(Ba.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Ba.Uf)(Qt),(Qt==null?void 0:Qt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},ye.createElement(Ba.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Ba.Uf)(Qt)}),!!((Et=Qt==null?void 0:Qt.photos)!=null&&Et.length)&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:io.line}),ye.createElement(Ba._s,{dataSource:Qt==null?void 0:Qt.photos,right:21,col:4,wrapWidth:1140}))))},Ea=ge(98769),sn=ge(67294),lo=Object.defineProperty,wa=Object.defineProperties,wi=Object.getOwnPropertyDescriptors,jo=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,as=(Qt,Et,Yt)=>Et in Qt?lo(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,un=(Qt,Et)=>{for(var Yt in Et||(Et={}))Ia.call(Et,Yt)&&as(Qt,Yt,Et[Yt]);if(jo)for(var Yt of jo(Et))Di.call(Et,Yt)&&as(Qt,Yt,Et[Yt]);return Qt},Bn=(Qt,Et)=>wa(Qt,wi(Et)),Pn=(Qt,Et)=>{var Yt={};for(var Zn in Qt)Ia.call(Qt,Zn)&&Et.indexOf(Zn)<0&&(Yt[Zn]=Qt[Zn]);if(Qt!=null&&jo)for(var Zn of jo(Qt))Et.indexOf(Zn)<0&&Di.call(Qt,Zn)&&(Yt[Zn]=Qt[Zn]);return Yt},yr=(Qt,Et,Yt)=>new Promise((Zn,Yn)=>{var Kr=or=>{try{ar(Yt.next(or))}catch(Zr){Yn(Zr)}},Nr=or=>{try{ar(Yt.throw(or))}catch(Zr){Yn(Zr)}},ar=or=>or.done?Zn(or.value):Promise.resolve(or.value).then(Kr,Nr);ar((Yt=Yt.apply(Qt,Et)).next())});const ea=Qt=>{var Et=Qt,{shixunHomeworks:Yt,classroomList:Zn,globalSetting:Yn,loading:Kr,user:Nr,dispatch:ar}=Et,or=Pn(Et,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Zr,Da,xa;const da=(0,Ke.useIntl)(),[ga,yn]=(0,ye.useState)(un({},(0,Ke.useParams)())),fn=(0,Ke.useParams)(),[In,xn]=(0,ye.useState)({page:1,page_size:10}),ir=(0,Ke.useLocation)(),[]=(0,ye.useState)([]),[zr,Sn]=(0,ye.useState)(),sa=(0,ye.useRef)(),[ia,pa]=(0,ye.useState)(!1),[to,ur]=(0,ye.useState)(!0),[Bo,Co]=(0,ye.useState)(!1),[Wo,Qa]=(0,ye.useState)(!1),{shixunWorkReport:it}=Yt,[xo,Ai]=(0,ye.useState)(),[Ur,Oo]=(0,ye.useState)([]),[Lo,oi]=(0,ye.useState)(),[Xo,vi]=(0,ye.useState)("all"),IA=(0,We.GJ)(),[Ci,ri]=(0,ye.useState)(new(pe())),[Ls,Ca]=(0,ye.useState)(0),[Ko,Vo]=(0,ye.useState)(!1),[Mi,Ro]=(0,ye.useState)(!1),[Cs,lA]=(0,ye.useState)(!1),[Vs,cs]=(0,ye.useState)(""),[QA,wA]=(0,ye.useState)(!1),[va,ks]=(0,ye.useState)(!0),[EA,Is]=(0,ye.useState)(0),ds=(0,ye.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Zs=(0,ye.useRef)(),El=()=>yr(void 0,null,function*(){(Nr.userInfo.is_teacher||Nr.userInfo.admin)&&(wA(!0),ks(!1))});(0,ye.useEffect)(()=>{var ee;(0,We.Rm)()&&Zn.AssistantObject.practice&&!((ee=Zn.AssistantObject.practice)!=null&&ee.can_view)&&Ke.history.replace("/403")},[(Zr=Zn.AssistantObject.practice)==null?void 0:Zr.can_view]),(0,ye.useEffect)(()=>{El(),console.log("\u6253\u5370\u7684------",it),Zs.current=it==null?void 0:it.next_student_work_id,cs(it.repeat_minus_score)},[it,Nr]),(0,ye.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",it.work_score),Is(it.work_score)},[it.work_score,Vs]),(0,ye.useEffect)(()=>(ar({type:"globalSetting/footerToggle",payload:!1}),()=>{ar({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ye.useEffect)(()=>{var ee;if(it){let re=[];(ee=it==null?void 0:it.target_test_sets)==null||ee.map((fe,Ce)=>{var Se;(Se=fe==null?void 0:fe.targets)==null||Se.map((Ie,Re)=>{var ke;Ie.name=fe==null?void 0:fe.name,Ie.total_target_score=fe==null?void 0:fe.total_target_score,Ie.actual_target_score=fe==null?void 0:fe.actual_target_score,Ie.rowSpan=Re===0?(ke=fe==null?void 0:fe.targets)==null?void 0:ke.length:0,Ie.order=Ce+1,re.push(Ie)})}),Ai(re),(0,We.Rm)()&&ar({type:"classroomList/getAssistantPermissions",payload:{course_id:ga.coursesId}})}},[it]),(0,ye.useEffect)(()=>{Yt.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(it==null?void 0:it.students_count)>0&&!to&&setTimeout(()=>{_l("all")},800)},[it==null?void 0:it.homework_common_id,to]),(0,ye.useEffect)(()=>{yn(un({},fn))},[ir.pathname]);const Jl=()=>{document.body.scrollIntoView()},jl=ee=>{In.page=ee,xn(un({},In)),Al(In,Xo)},Al=(ee,re)=>yr(void 0,null,function*(){Co(!0);const fe=yield(0,ve.ZP)(`/api/student_works/${ga==null?void 0:ga.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Bn(un({},ee),{challenge_id:re=="all"?null:re})});(fe==null?void 0:fe.status)===0&&(Oo(fe==null?void 0:fe.list),oi(fe==null?void 0:fe.count)),Co(!1)});function ll(){return yr(this,null,function*(){ds.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Cl=()=>{document.querySelectorAll("canvas").forEach(ee=>{(!ee.clientWidth||!ee.clientHeight)&&ee.remove()})},NA=ee=>yr(void 0,null,function*(){const re=yield(0,Sr.t1)({homeworkId:ee||ga.homeworkId});Sn(re==null?void 0:re.data)}),_l=ee=>yr(void 0,null,function*(){var re,fe,Ce,Se;let Ie=0,Re;Re=Le.default.info({width:460,title:sn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",sn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:sn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",sn.createElement("span",{className:"c-blue"},Ie+1),"/",ee!=="all"?1:it==null?void 0:it.students_count,sn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Ue.modal,onOk:()=>{}});const ke={margin:[0,0],filename:`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?it==null?void 0:it.student_id:""}${it.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},tt=Ci.folder(it==null?void 0:it.shixun_name);function ft(wt){return yr(this,null,function*(){yield NA(wt||Zs.current);const Ft=yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:un({homeworkId:wt||Zs.current},ds.current||{})});Zs.current=Ft==null?void 0:Ft.next_student_work_id,Jl(),Ie++,setTimeout(()=>yr(this,null,function*(){var Je,Gt,jt,on;Cl();const $t=tt.folder(`${Ft==null?void 0:Ft.group_name}`).folder(`${Ft!=null&&Ft.student_id&&(Ft==null?void 0:Ft.student_id)!="--"?Ft.student_id+"+":""}${Ft==null?void 0:Ft.username}`),Nn=document.querySelector("#export-all").children;let nr=$r()();for(let Ar=0;Aryr(this,null,function*(){Ar0&&((jt=(Gt=Ft==null?void 0:Ft.shixun_detail)==null?void 0:Gt.filter(Ar=>{var Tr;return((Tr=Ar==null?void 0:Ar.game_codes)==null?void 0:Tr.length)>0}))==null?void 0:jt.length)>0){const Ar=$t.folder("\u4EE3\u7801\u6587\u4EF6");(on=Ft==null?void 0:Ft.shixun_detail)==null||on.map((Tr,_n)=>{var gn,kr;if(((gn=Tr==null?void 0:Tr.game_codes)==null?void 0:gn.length)>0){const Rr=Ar.folder(`\u7B2C${_n+1}\u5173-${Tr.subject}-${Tr.id}`);(kr=Tr==null?void 0:Tr.game_codes)==null||kr.map(Zt=>{Rr.file(`${Zt.filename}.txt`,Zt==null?void 0:Zt.content)})}})}Re.update({content:sn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",sn.createElement("span",{className:"c-blue"},Ie),"/",Ft==null?void 0:Ft.students_count,sn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Ie==(Ft==null?void 0:Ft.students_count)?(Re.destroy(),ul()):ft()}),2200)})}if(ee!=="all"||(it==null?void 0:it.students_count)<2){Cl(),Jl();const wt=sa.current.children;let Ft=$r()();const Gt=tt.folder(`${it==null?void 0:it.group_name}`).folder(`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?(it==null?void 0:it.student_id)+"+":""}${it==null?void 0:it.username}`);for(let jt=0;jtyr(void 0,null,function*(){jt0&&((Ce=(fe=it==null?void 0:it.shixun_detail)==null?void 0:fe.filter(jt=>{var on;return((on=jt==null?void 0:jt.game_codes)==null?void 0:on.length)>0}))==null?void 0:Ce.length)>0){const jt=Gt.folder("\u4EE3\u7801\u6587\u4EF6");(Se=it==null?void 0:it.shixun_detail)==null||Se.map((on,Mt)=>{var $t,Nn;if((($t=on==null?void 0:on.game_codes)==null?void 0:$t.length)>0){const nr=jt.folder(`\u7B2C${Mt+1}\u5173-${on.subject}-${on.id}`);(Nn=on==null?void 0:on.game_codes)==null||Nn.map(Ar=>{nr.file(`${Ar.filename}.txt`,Ar==null?void 0:Ar.content)})}})}Re.destroy(),ul();return}else ft(it==null?void 0:it.first_student_work_id)}),ul=()=>{Ci.generateAsync({type:"blob"}).then(function(ee){console.log(it,"shixunWorkReport");const re=document.createElement("a");re.href=window.URL.createObjectURL(ee),re.download=(it==null?void 0:it.shixun_name)+".zip",document.body.appendChild(re);const fe=document.createEvent("MouseEvents");fe.initEvent("click",!1,!1),re.dispatchEvent(fe),document.body.removeChild(re),ri(new(pe()))}),Qa(!1)};(0,ye.useEffect)(()=>{cl()},[ga.homeworkId]);const cl=()=>yr(void 0,null,function*(){yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:un(un({},ga),ds.current||{})}),NA(),(0,We.GJ)()&&ll(),ur(!1)}),Hl=[{title:"\u5173\u5361",dataIndex:"name",render:(ee,re,fe)=>fe+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ee,re,fe)=>sn.createElement("div",null,ee,re.complete_status===4&&sn.createElement(Ze.vA,{status:re.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(ee,re,fe)=>ee||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:da.formatMessage({id:"classrooms.finishTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:ee=>ee?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(ee,re)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(re.myself_experience)!==parseFloat(ee)?"red":"green"}},re.myself_experience),"/",ee)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(ee,re)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(re.game_score_full)!==parseFloat(ee)?"red":"green"}},ee),"/",re.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(ee,re)=>IA?sn.createElement(Lt,{max:re.game_score_full,defaultValue:parseFloat(ee),onBlur:fe=>yr(void 0,null,function*(){var Ce;if((0,We.Rm)()&&!((Ce=Zn.AssistantObject.practice)!=null&&Ce.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Se=yield ar({type:"shixunHomeworks/changeScore",payload:{categoryId:ga.homeworkId,type:"report",score:fe,challenge_id:re.challenge_id}});Al({page:1,page_size:10},"all"),yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:un(un({},ga),ds.current||{})}),Se.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ee}];let hu=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(ee,re,fe)=>({children:ee,props:{rowSpan:re.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(ee,re,fe)=>({children:ee,props:{rowSpan:re.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(ee,re,fe)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(re.actual_test_score)!==parseFloat(ee)?"red":"green"}},re.actual_test_score),"/",ee)},{title:"\u6307\u6807\u603B\u5206",render:(ee,re,fe)=>({children:sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(re.actual_target_score)!==parseFloat(ee)?"red":"green"}},re.actual_target_score),"/",ee),props:{rowSpan:re.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const pu=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:ee=>sn.createElement("span",null,ee?ze()(ee).format("YYYY-MM-DD HH:mm"):"--")}],vA=ee=>{ar({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{ee==="next"?Ke.history.push(`/classrooms/${ga.coursesId}/shixun_homework/${ga.categoryId}/${it==null?void 0:it.next_student_work_id}/comment`):Ke.history.push(`/classrooms/${ga.coursesId}/shixun_homework/${ga.categoryId}/${it==null?void 0:it.pre_student_work_id}/comment`)},200)},cu=ee=>{cs(""),ee.target.value&&(console.log("\u8FDB\u6765",it),ee.target.value=ee.target.value>it.repeat_setting_score?it.repeat_setting_score:ee.target.value,cs(ee.target.value))},le=()=>yr(void 0,null,function*(){const ee=yield(0,ve.ZP)(`/api/student_works/${it==null?void 0:it.work_id}/update_repeat_score`,{method:"put",body:{score:Vs}});yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:un(un({},ga),ds.current||{})}),ee.status===0&&ce.ZP.info("\u64CD\u4F5C\u6210\u529F")});return sn.createElement("section",{style:{minHeight:"100vh",background:`url(${ge(26528)}) center / cover no-repeat`}},sn.createElement("div",{className:"edu-container pb-60px"},sn.createElement(De.Z,{loading:Kr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},it.course_id&&sn.createElement("section",{className:"animated fadeIn pt-10px"},it.category&&sn.createElement(Pe.Z,{separator:">",items:[{title:sn.createElement(Ke.Link,{to:`/classrooms/${it.course_id}/shixun_homework`}," ",it.course_name)},{title:sn.createElement(Ke.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.category.main?"":it.category.category_id}`}," ",it.category.category_name)},{title:sn.createElement(Ke.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:it.username}]}),sn.createElement("div",{className:"mt20 flex item-center gap-10px"},sn.createElement("strong",{className:"font20"}," ",it==null?void 0:it.homework_name," "),sn.createElement(Ze.VV,{temporary:!0,status:it.homework_status}),sn.createElement("div",{className:"ml-auto flex item-center gap-10px"},it.view_tpi&&sn.createElement(Ee.ZP,{icon:sn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var ee,re;(0,Ze.xg)(`/tasks/${it==null?void 0:it.course_id}/${it==null?void 0:it.homework_common_id}/${(re=(ee=it==null?void 0:it.shixun_detail)==null?void 0:ee[0])==null?void 0:re.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,We.GJ)()&&it.homework_end===!1&&!!it.myshixun_id&&sn.createElement(Ee.ZP,{icon:sn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>yr(void 0,null,function*(){yield ar({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:it.myshixun_identifier},homework_common_id:fn.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),sn.createElement(Ee.ZP,{icon:sn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var ee;if((0,We.Rm)()&&!((ee=Zn.AssistantObject.practice)!=null&&ee.can_download)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}_l("")},loading:ia},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,We.GJ)()&&(it==null?void 0:it.students_count)>1&&sn.createElement(Ee.ZP,{icon:sn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var ee;if((0,We.Rm)()&&!((ee=Zn.AssistantObject.practice)!=null&&ee.can_download)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:sn.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:sn.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{_l("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Ea.jj)({categoryId:ga.categoryId,coursesId:ga.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),sn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},sn.createElement("div",{id:"export-all",ref:sa},sn.createElement("div",{id:"export-all-1"},sn.createElement("div",{className:"flex item-center"},sn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,We.GJ)()&&sn.createElement(Ee.ZP,{className:`ml-auto rounded-4px ${Ue.NewButtonStyle}`,type:"primary",icon:sn.createElement(de.Z,{rev:void 0}),onClick:()=>{ar({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:un({},it)},fn:()=>Al({page:1,page_size:10},"all")}})}}," ",it.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),sn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},sn.createElement("div",{className:"flex flex-col justify-center item-center"},sn.createElement("div",{className:"flex flex-col item-center"},sn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Ne.Z.IMG_SERVER}/images/${it.image_url}`,alt:it.username}),sn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},sn.createElement(Ze.vA,{status:it.compelete_status}))),sn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},it.username),sn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",sn.createElement("span",{className:"ml10 c-grey-333"},it.student_id||"--")),sn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",sn.createElement("span",{className:"ml10 c-grey-333"},it.group_name||"--"))),sn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},sn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-red"},it.complete_count||"--"),"/",sn.createElement("span",{className:"c-red"},it.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-red"},it.current_complete_count||"--"),"/",sn.createElement("span",{className:"c-red"},it.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:it&&it.efficiency===null?"--":it&&it.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:it&&it.max_efficiency===null?"--":it&&it.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},it.challenge_score),"/",sn.createElement("span",{className:"c-light-black"},it.challenge_score_full)),hidden:!(it!=null&&it.eff_score_full)},{title:"\u6548\u7387\u5206",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},it.eff_score),"/",sn.createElement("span",{className:"c-light-black"},it.eff_score_full)),hidden:!(it!=null&&it.eff_score_full)}].map((ee,re)=>!(ee!=null&&ee.hidden)&&sn.createElement("div",{key:re,className:"flex flex-col item-center gap-10px"},sn.createElement("div",{className:"text-16px"},ee==null?void 0:ee.children),sn.createElement("div",{style:{color:"#8E8E8E"}},ee==null?void 0:ee.title)))),sn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm")},{title:sn.createElement(sn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",sn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:ee=>{Vo(!0)}})),children:it==null?void 0:it.human_training_time_rules},{title:sn.createElement(sn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",sn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:ee=>{Ro(!0)}})),children:it==null?void 0:it.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:it.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm")},{title:sn.createElement(sn.Fragment,null," \u67E5\u91CD\u6263\u5206",it!=null&&it.review_rate?sn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{it!=null&&it.review_id&&QA&&(localStorage.setItem("studentDetial",window.location.pathname),Ke.history.push(`/classrooms/:coursesId/shixun_homework/${ga.categoryId}/review_detail/${it==null?void 0:it.review_id}`))}}," ",it.review_rate.toFixed(1),"% "):sn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:sn.createElement(sn.Fragment,null,(it==null?void 0:it.repeat_minus_score)!==0?"- -":sn.createElement(sn.Fragment,null,QA?sn.createElement(sn.Fragment,null,sn.createElement(y.default,{style:{width:"45px",height:"22px"},value:Vs,onChange:ee=>{cu(ee)},onBlur:le,disabled:va})," / ",it==null?void 0:it.repeat_setting_score):sn.createElement(sn.Fragment,null," ",it==null?void 0:it.repeat_minus_score," / ",it==null?void 0:it.repeat_setting_score," "))),hidden:!(it!=null&&it.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:it.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},EA),"/",sn.createElement("span",{className:"c-light-black"},it.all_work_score))}].map((ee,re)=>!(ee!=null&&ee.hidden)&&sn.createElement("div",{key:re,className:"flex flex-col item-center gap-10px"},sn.createElement("div",{className:"text-16px"},ee==null?void 0:ee.children),sn.createElement("div",{style:{color:"#8E8E8E"}},ee==null?void 0:ee.title))))),sn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${ge(55541)}) center / cover no-repeat`}},it.overall_appraisal)),sn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(it.work_comment_hidden||it.work_comment)&&sn.createElement("div",null,sn.createElement(b.Z,{align:"middle"},sn.createElement(E.Z,{flex:1},sn.createElement("h1",{className:Ue.title},"\u70B9\u8BC4\u5185\u5BB9")),sn.createElement(E.Z,{className:"pr30"},(0,We.GJ)()&&sn.createElement(Ee.ZP,{onClick:()=>yr(void 0,null,function*(){Le.default.confirm({centered:!0,okText:da.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:"\u53D6\u6D88",title:da.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),icon:sn.createElement(we.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return yr(this,null,function*(){(yield(0,Sr.gZ)({comment_id:it.comment_id,homeworkId:ga.homeworkId})).status===0&&(ce.ZP.success("\u5220\u9664\u6210\u529F"),ar({type:"shixunHomeworks/getShixunWorkReport",payload:un(un({},ga),ds.current||{})}))})}})})},sn.createElement(be.Z,null),"\u5220\u9664"))),sn.createElement(a.Z,{style:{margin:0}}),it.work_comment&&sn.createElement("aside",{className:"pl30 pr30 mt20"},sn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),sn.createElement("br",null),sn.createElement(gr.Z,{value:it.work_comment})),it.work_comment_hidden&&sn.createElement("aside",{className:"pl30 pr30 mt20"},sn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),sn.createElement("br",null),sn.createElement(gr.Z,{value:it.work_comment_hidden}))),(it==null?void 0:it.action_analysis)&&sn.createElement(po,{detailData:it}),sn.createElement("div",{className:Ue.score},sn.createElement("h1",{className:Ue.title},"\u9636\u6BB5\u6210\u7EE9"),(it==null?void 0:it.adjust_review_score_count)>0&&(0,We.GJ)()&&sn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{lA(!0),Al({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",it==null?void 0:it.adjust_review_score_count,"\u6B21\uFF09")),sn.createElement(x.default,{className:Ue.TableStyle,dataSource:it.stage_list,rowKey:ee=>ee==null?void 0:ee.challenge_id,pagination:!1,columns:Hl}),((Da=it==null?void 0:it.target_test_sets)==null?void 0:Da.length)>0&&sn.createElement("div",null,sn.createElement("h1",{className:Ue.title},"\u6307\u6807\u6210\u7EE9"),sn.createElement(x.default,{className:Ue.TableStyle,dataSource:xo,rowKey:ee=>ee==null?void 0:ee.challenge_id,pagination:!1,bordered:!0,columns:hu})),(it==null?void 0:it.work_description)&&sn.createElement(sn.Fragment,null,sn.createElement("h1",{className:Ue.title},"\u4E2A\u4EBA\u603B\u7ED3"),sn.createElement(gr.Z,{value:it==null?void 0:it.work_description})),sn.createElement("h1",{className:Ue.title},"\u56FE\u5F62\u7EDF\u8BA1"),sn.createElement(Nt,{data:zr}),sn.createElement("h1",{className:Ue.title},da.formatMessage({id:"classrooms.practicalDetails",defaultMessage:"\u5B9E\u8BAD\u8BE6\u60C5"}))),sn.createElement(St,{autoHeight:Wo}))))),(0,We.GJ)()&&sn.createElement("aside",{className:`sticky ${Ue.footerBar}`},sn.createElement("aside",{className:"edu-container flex item-center"},sn.createElement(Ke.Link,{className:Ue.exitComment,to:`/classrooms/${ga.coursesId}/shixun_homework/${ga.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),sn.createElement("div",{className:"ml-auto flex item-center gap-20px"},sn.createElement(Ee.ZP,{disabled:!(it!=null&&it.pre_student_work_id),onClick:()=>vA()},"\u4E0A\u4E00\u4E2A"),sn.createElement(Ee.ZP,{disabled:!(it!=null&&it.next_student_work_id),onClick:()=>vA("next")},"\u4E0B\u4E00\u4E2A"),(0,We.GJ)()&&sn.createElement(Ee.ZP,{className:Ue.NewButtonStyle,type:"primary",onClick:()=>yr(void 0,null,function*(){ar({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:un({},it)},fn:()=>Al({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),sn.createElement(Vr,null),sn.createElement(hr.Z,null),sn.createElement(Le.default,{open:Ko,width:860,centered:!0,onCancel:()=>{Vo(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},sn.createElement("div",{style:{color:"#333333",fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),sn.createElement("br",null),sn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),sn.createElement("br",null),sn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),sn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),sn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),sn.createElement("br",null),sn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),sn.createElement("br",null),sn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),sn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),sn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),sn.createElement("br",null),sn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),sn.createElement("br",null),sn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),sn.createElement("br",null),sn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),sn.createElement(Le.default,{open:Mi,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Ro(!1)},width:600},sn.createElement("div",{style:{fontWeight:400,color:"#333333"}},sn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),sn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),sn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),sn.createElement(Le.default,{open:Cs,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{vi("all"),lA(!1)},destroyOnClose:!0,width:900},sn.createElement("div",{style:{fontWeight:400,color:"#333333"}},sn.createElement("div",null,sn.createElement("span",null,"\u5173\u5361\uFF1A"),sn.createElement(z.default,{style:{width:300},value:Xo,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:ee=>yr(void 0,null,function*(){vi(ee),Al({page:1,page_size:10},ee)})},sn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(xa=it==null?void 0:it.stage_list)==null?void 0:xa.map((ee,re)=>sn.createElement(z.default.Option,{key:re,value:ee==null?void 0:ee.challenge_id},"\u7B2C",(0,Ze.EM)(re+1),"\u5173")))),sn.createElement("div",{className:"mt20"},sn.createElement(x.default,{dataSource:Ur,rowKey:ee=>ee==null?void 0:ee.id,pagination:!1,columns:pu,loading:Bo})),sn.createElement("div",{className:Ue.footer},sn.createElement("div",null,sn.createElement("span",{style:{color:"#656F87"}},"\u5171",sn.createElement("span",{className:"c-light-primary"},Lo),"\u6761\u6570\u636E")),sn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(In==null?void 0:In.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Lo,onChange:jl})))))};var Yr=(0,Ke.connect)(({shixunHomeworks:Qt,classroomList:Et,loading:Yt,globalSetting:Zn,user:Yn})=>({shixunHomeworks:Qt,classroomList:Et,globalSetting:Zn,loading:Yt.effects,user:Yn}))(ea),wo=ge(52310),Sa={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy"},ca={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Ei=({shixunHomeworks:Qt,data:Et,globalSetting:Yt,loading:Zn,dispatch:Yn})=>{var Kr;const Nr=(0,Ke.useIntl)(),{shixunWorkReport:ar}=Qt;let or=((Kr=Et==null?void 0:Et.efficiency_list)==null?void 0:Kr.length)-parseInt(Et==null?void 0:Et.myself_eff[0]);const Zr=()=>({title:{text:Nr.formatMessage({id:"classroomClassroomExperiments.learningEfficiency",defaultMessage:"\u5B66\u4E60\u6548\u7387"}),subtext:Nr.formatMessage({id:"classroomClassroomExperiments.learningEfficiencyFormula",defaultMessage:"\uFF08\u5B66\u4E60\u6548\u7387=log\uFF08\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6\uFF09\uFF09"})},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(xa){return xa.name===ar.username?`${Nr.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"})}:`+ar.username+"
"+Nr.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"})+ar.user_id+"
\u6548\u7387\uFF1A"+(Et==null?void 0:Et.myself_eff[1]):xa.name+":"+xa.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:Nr.formatMessage({id:"classroomClassroomExperiments.studentPosition",defaultMessage:"\u5B66\u751F\u4F4D\u7F6E"}),nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Et==null?void 0:Et.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:Nr.formatMessage({id:"classroomClassroomExperiments.learningEfficiencyDistributionInterval",defaultMessage:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4"}),xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:ar.username,xAxis:or,yAxis:Et==null?void 0:Et.myself_eff[1],value:Et==null?void 0:Et.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:Nr.formatMessage({id:"classroomClassroomExperiments.abilityValueFormula",defaultMessage:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C / \u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"})},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(xa){var da=xa.value;if(xa.name===ar.username)return`${Nr.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"})}:`+ar.username+"
"+Nr.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"})+ar.user_id+"
\u5F97\u5206\uFF1A"+(Et==null?void 0:Et.myself_object[1])}},xAxis:{type:"value",name:Nr.formatMessage({id:"classroomClassroomExperiments.logTotalPracticalTime",defaultMessage:"log (\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)"}),nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:ca,data:Et==null?void 0:Et.consume_list,symbolSize:function(xa){return Math.round(xa[2])},markPoint:{data:[{name:ar.username,xAxis:Et==null?void 0:Et.myself_object[0],yAxis:Et==null?void 0:Et.myself_object[1],value:Et==null?void 0:Et.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return ye.createElement(ye.Fragment,null,ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(at.Z,{style:{width:750,height:580},option:Zr()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Sa.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,Nr.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"}))," ",ye.createElement("span",{className:"ml30"},ar.username)),ye.createElement("li",null,ye.createElement("span",null,Nr.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}))," ",ye.createElement("span",{className:"ml30"},ar.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,Nr.formatMessage({id:"classroomClassroomExperiments.learningEfficiency",defaultMessage:"\u5B66\u4E60\u6548\u7387"}))," ",ye.createElement("span",{className:"ml30 c-orange"},Et==null?void 0:Et.myself_eff[1])),ye.createElement("li",null,ye.createElement("span",null,Nr.formatMessage({id:"classroomClassroomExperiments.currentRanking",defaultMessage:"\u5F53\u524D\u6392\u540D"}))," ",ye.createElement("span",{className:"ml30 c-orange"},Et==null?void 0:Et.myself_eff[0]))),ye.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",ye.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",ye.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",ye.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),ye.createElement("aside",{className:"ml60 pr30"},ye.createElement(b.Z,null,ye.createElement(E.Z,{flex:"800px"},ye.createElement(at.Z,{style:{width:750,height:580},option:Da()})),ye.createElement(E.Z,{flex:"1"},ye.createElement("aside",{className:Sa.rightInfo},ye.createElement("ul",null,ye.createElement("li",null,ye.createElement("span",null,Nr.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"}))," ",ye.createElement("span",{className:"ml30"},ar.username)),ye.createElement("li",null,ye.createElement("span",null,Nr.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}))," ",ye.createElement("span",{className:"ml30"},ar.student_id||"--")),ye.createElement("li",null,ye.createElement("span",null,"\u80FD\u529B")," ",ye.createElement("span",{className:"ml30 c-orange"},Et==null?void 0:Et.myself_object[1]))),ye.createElement("p",null,Nr.formatMessage({id:"classroomClassroomExperiments.abilityGraphExplanation",defaultMessage:"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C "}),ye.createElement("br",null),Nr.formatMessage({id:"classroomClassroomExperiments.abilityGraphExplanation1",defaultMessage:"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C"}),ye.createElement("br",null),Nr.formatMessage({id:"classroomClassroomExperiments.abilityGraphExplanation2",defaultMessage:" \u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11"}),ye.createElement("br",null)))))))};var Pi=(0,Ke.connect)(({shixunHomeworks:Qt,loading:Et,globalSetting:Yt})=>({shixunHomeworks:Qt,globalSetting:Yt,loading:Et.effects}))(Ei),ni=({defaultValue:Qt,onBlur:Et,max:Yt,className:Zn="game-score"})=>{const[Yn,Kr]=(0,ye.useState)(Qt);(0,ye.useEffect)(()=>{Kr(Qt)},[Qt]);function Nr(or){Kr(or)}function ar(){Yn!==Qt&&Et(Yn>Yt?Yt:Yn)}return ye.createElement(At.Z,{max:Yt,min:0,className:Zn,value:Yn,onChange:Nr,onBlur:ar})},Jr={md:"md___TEmcT"},eo=ge(67294),qi=Object.defineProperty,os=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,mi=Object.getOwnPropertySymbols,Ka=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,ai=(Qt,Et,Yt)=>Et in Qt?qi(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,Qi=(Qt,Et)=>{for(var Yt in Et||(Et={}))Ka.call(Et,Yt)&&ai(Qt,Yt,Et[Yt]);if(mi)for(var Yt of mi(Et))Go.call(Et,Yt)&&ai(Qt,Yt,Et[Yt]);return Qt},Us=(Qt,Et)=>os(Qt,fi(Et));const ji=z.default.Option,Es={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var zs=(Qt=>(Qt[Qt.SET_PATH=0]="SET_PATH",Qt[Qt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Qt))(zs||{});function Lr(Qt,Et){switch(Et.type){case 0:return Us(Qi({},Qt),{selectedPath:Et.payload});case 1:return Us(Qi({},Qt),{passedContent:Et.payload});default:throw new Error}}var eA=({path:Qt,game_id:Et,onPathChange:Yt,autoHeight:Zn,diff_code_count:Yn,data:Kr,game_codes_cn:Nr})=>{var ar,or,Zr,Da;const xa=Qt.split("\uFF1B").filter(zr=>!!zr),[da,ga]=(0,ye.useReducer)(Lr,{selectedPath:xa[0],passedContent:{language:"python",content:""}}),{selectedPath:yn,passedContent:fn}=da,In=(0,Ke.useIntl)();function xn(zr){ga({type:0,payload:zr})}const ir={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return eo.createElement(eo.Fragment,null,eo.createElement("h2",null," ",eo.createElement("span",null,Nr,eo.createElement(ie.Z,{title:eo.createElement("div",null,eo.createElement("div",null,In.formatMessage({id:"classroomClassroomExperiments.codeDisplayRules",defaultMessage:"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"})),eo.createElement("div",null,In.formatMessage({id:"classroomClassroomExperiments.displayHighestScoringCodeBeforeDeadline",defaultMessage:"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C"})),eo.createElement("div",null,In.formatMessage({id:"classroomClassroomExperiments.displayLatestIfMultipleHighestScores",defaultMessage:"2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"})),eo.createElement("div",null,In.formatMessage({id:"classroomClassroomExperiments.noDisplayForSubmissionsAfterDeadline",defaultMessage:"3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"})))},eo.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Yn&&eo.createElement("span",{style:{marginLeft:"50px"}},In.formatMessage({id:"classroomClassroomExperiments.codeModifiedLines",defaultMessage:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570"})," ",Yn),eo.createElement("span",null,eo.createElement(z.default,{style:{width:200},value:yn,onChange:xn}," ",xa.map(zr=>eo.createElement(ji,{key:zr,value:zr},zr))," "))," "),(yn==null?void 0:yn.split(".")[1])==="md"&&eo.createElement(dt.Z,{height:300,autoHeight:Zn,defaultValue:((or=(ar=Kr==null?void 0:Kr.filter(zr=>zr.path===yn))==null?void 0:ar[0])==null?void 0:or.content)||"",className:Jr.md}),(yn==null?void 0:yn.split(".")[1])!=="md"&&eo.createElement(ut.ZP,{height:300,language:fn.language,value:((Da=(Zr=Kr==null?void 0:Kr.filter(zr=>zr.path===yn))==null?void 0:Zr[0])==null?void 0:Da.content)||"",autoHeight:Zn,theme:"default",isCopy:!0,options:Es}))},xA=ge(56243),Gs=Object.defineProperty,No=Object.defineProperties,is=Object.getOwnPropertyDescriptors,Hr=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,so=(Qt,Et,Yt)=>Et in Qt?Gs(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,Vi=(Qt,Et)=>{for(var Yt in Et||(Et={}))Ua.call(Et,Yt)&&so(Qt,Yt,Et[Yt]);if(Hr)for(var Yt of Hr(Et))fo.call(Et,Yt)&&so(Qt,Yt,Et[Yt]);return Qt},$i=(Qt,Et)=>No(Qt,is(Et)),us=(Qt,Et,Yt)=>new Promise((Zn,Yn)=>{var Kr=or=>{try{ar(Yt.next(or))}catch(Zr){Yn(Zr)}},Nr=or=>{try{ar(Yt.throw(or))}catch(Zr){Yn(Zr)}},ar=or=>or.done?Zn(or.value):Promise.resolve(or.value).then(Kr,Nr);ar((Yt=Yt.apply(Qt,Et)).next())});const xs=({shixunHomeworks:Qt,autoHeight:Et,classroomList:Yt,dispatch:Zn})=>{var Yn,Kr,Nr,ar,or,Zr,Da,xa;const da=(0,Ke.useIntl)(),{shixunWorkReport:ga}=Qt,{stage_list:yn,work_id:fn,ai_code_evaluation_promote:In}=ga,[xn,ir]=(0,ye.useState)(!1),[zr,Sn]=(0,ye.useState)(!0),[sa,ia]=(0,ye.useState)({left:0,top:0,bottom:0,right:0}),pa=(0,ye.useRef)(null),[to,ur]=(0,ye.useState)(!1),[Bo,Co]=(0,ye.useState)(""),Wo=(0,ye.useRef)(null),Qa=(Ca,Ko)=>{var Vo;const{clientWidth:Mi,clientHeight:Ro}=window.document.documentElement,Cs=(Vo=pa.current)==null?void 0:Vo.getBoundingClientRect();Cs&&ia({left:-Cs.left+Ko.x,right:Mi-(Cs.right-Ko.x),top:-Cs.top+Ko.y,bottom:Ro-(Cs.bottom-Ko.y)})},it=(0,Ke.useParams)(),xo=(0,We.GJ)(),Ai={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,ye.useEffect)(()=>{console.log(it)},[]);const Ur=[{title:da.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"position",width:"100px"},{title:da.formatMessage({id:"classroomClassroomExperiments.detailedInformation",defaultMessage:"\u8BE6\u7EC6\u4FE1\u606F"}),dataIndex:"output_detail",render:(Ca,Ko,Vo)=>ye.createElement("div",null,Ca,Ko.is_work_end_evaluate&&ye.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:`${da.formatMessage({id:"classrooms.memoryConsumption",defaultMessage:"\u5185\u5B58\u6D88\u8017"})}(MB)`,width:"150px",dataIndex:"ts_mem"},{title:da.formatMessage({id:"classroomClassroomExperiments.evaluationTime",defaultMessage:"\u8BC4\u6D4B\u65F6\u95F4"}),width:"170px",dataIndex:"created_at",render:Ca=>ze()(Ca).format("YYYY-MM-DD HH:mm")},{title:da.formatMessage({id:"classrooms.action",defaultMessage:"\u64CD\u4F5C"}),width:"80px",dataIndex:"query_index",render:(Ca,Ko)=>ye.createElement("span",{className:"c-blue current",onClick:()=>us(void 0,null,function*(){var Vo,Mi;const Ro=yield(0,Qe.Lk)(Ko.game_identifier,{path:(Mi=(Vo=Ko.path)==null?void 0:Vo.replace(/\;/g,";"))==null?void 0:Mi.split(";")[0],query_index:Ko.query_index,homework_common_id:it.categoryId});(Ro==null?void 0:Ro.status)===0&&(ur(Ro),ir(!0))})},Ko.query_index?da.formatMessage({id:"classroomClassroomExperiments.viewCode",defaultMessage:"\u67E5\u770B\u4EE3\u7801"}):"")}],Oo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Ca,Ko)=>{var Vo;return ye.createElement("span",null,ye.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ne.Z.IMG_SERVER+"/images/"+((Vo=Ko==null?void 0:Ko.user)==null?void 0:Vo.image_url)}),Ca)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Ca=>ye.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Ca,da.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Ca=>ye.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Ca,da.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Ca=>ye.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Ca?ze()(Ca).format("YYYY-MM-DD HH:mm"):"--")}];function Lo(Ca,Ko){return us(this,null,function*(){const{challenge_id:Vo}=yn[Ca],Mi=yield Zn({type:"shixunHomeworks/changeScore",payload:{categoryId:it.homeworkId,type:"report",score:Ko,challenge_id:Vo}});yield Zn({type:"shixunHomeworks/getShixunWorkReport",payload:Vi({},it)}),Mi.status===0&&ce.ZP.success(da.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}function oi(Ca,Ko){return(0,ve.U2)(`student_works/${fn}/rep_passed_content.json`,{path:Ko,game_id:Ca})}const[Xo,vi]=(0,ye.useState)((Yn=ga==null?void 0:ga.shixun_detail)==null?void 0:Yn.map(Ca=>$i(Vi({},Ca),{commentEdit:!1}))),IA=Ca=>Ca.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[Ci,ri]=(0,ye.useState)(!1),Ls=(Ca,Ko)=>us(void 0,null,function*(){var Vo,Mi;ri(!0),Wo.current=new xA.Z(Ne.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-max",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:In,shixun_id:ga==null?void 0:ga.myshixun_identifier,game_id:Ca==null?void 0:Ca.id,source:"shixun",is_chat:!1,type:9,description:Ca==null?void 0:Ca.challenge_description,query:(Mi=(Vo=Ca==null?void 0:Ca.game_codes)==null?void 0:Vo[0])==null?void 0:Mi.content,homework_common_id:it.categoryId}),yield new Promise((Ro,Cs)=>{Wo.current.on("data",lA=>{const Vs=[...Xo];Vs[Ko].comment=IA(lA==null?void 0:lA.full),vi(Vs)}),Wo.current.on("done",()=>us(void 0,null,function*(){var lA;ri(!1);const Vs=[...Xo],cs=yield(0,ve.ZP)(`/api/student_works/${it==null?void 0:it.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Ca==null?void 0:Ca.challenge_id,comment:Vs[Ko].comment}});if((cs==null?void 0:cs.status)==0){ce.ZP.success("\u8BC4\u4EF7\u6210\u529F");const QA=[...Xo];QA[Ko].comment_updated_at=(lA=cs==null?void 0:cs.data)==null?void 0:lA.comment_updated_at,vi(QA)}})),Wo.current.startStream()})});return ye.createElement(ye.Fragment,null,Xo==null?void 0:Xo.map(function(Ca,Ko){var Vo,Mi;return ye.createElement("div",{key:Ko},ye.createElement("aside",{className:"pl30 pr30",key:Ko},ye.createElement("div",{className:`${Sa.shixunTitle} mt10`},ye.createElement("div",null,ye.createElement("span",{className:"fa fa-code "}),ye.createElement("strong",{className:"c-black"},Ko+1,da.formatMessage({id:"shixuns.part",defaultMessage:"\u5173"})," ",ye.createElement(Ke.Link,{className:"c-black",target:"_blank",to:`/tasks/${it.coursesId}/${it.categoryId}/${Ca.game_identifier}`},Ca.subject))),xo?ye.createElement("span",null,da.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),"\uFF1A",ye.createElement(ni,{className:"game-score",max:yn[Ko].game_score_full,defaultValue:yn[Ko].game_score,onBlur:Ro=>{var Cs;if((0,We.Rm)()&&!((Cs=Yt.AssistantObject.practice)!=null&&Cs.can_appraise)){ce.ZP.warning(da.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}Lo(Ko,Ro)}})):null),ye.createElement("div",{className:"font16 mt10"},Ca.st===0&&(Ca.path?typeof(Ca==null?void 0:Ca.game_codes_cn)=="string"?ye.createElement("aside",{className:Sa.shixunWrp},ye.createElement(eA,{game_codes_cn:Ca==null?void 0:Ca.game_codes_cn,autoHeight:Et,path:Ca.path,game_id:Ca.id,data:Ca.game_codes,diff_code_count:Ca.diff_code_count,onPathChange:oi})):ye.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Ca.st===1&&(Ca.complete_status===0?da.formatMessage({id:"classrooms.levelNotPassed",defaultMessage:"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801"}):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),ye.createElement("aside",{className:"mt10 font16"},(Vo=Ca.outputs)!=null&&Vo.length?ye.createElement(x.default,{columns:Ur,pagination:{hideOnSinglePage:!0},dataSource:Ca.outputs.map(Ro=>Vi(Vi({},Ca),Ro))}):da.formatMessage({id:"classroomClassroomExperiments.noEvaluationRecordsThisLevel",defaultMessage:"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"})),ye.createElement("aside",{className:"mt10 font16"},((Mi=Ca==null?void 0:Ca.adjust_review_score_list)==null?void 0:Mi.length)>0&&(0,We.GJ)()&&ye.createElement("div",null,ye.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),ye.createElement(x.default,{columns:Oo,pagination:{hideOnSinglePage:!0},dataSource:Ca.adjust_review_score_list,showHeader:!1})))))}),ye.createElement(Le.default,{open:xn,width:900,okText:da.formatMessage({id:"user.disable",defaultMessage:"\u5173\u95ED"}),cancelButtonProps:{style:{display:"none"}},onOk:()=>{ur({}),ir(!1)},onCancel:()=>{ur({}),ir(!1)},title:ye.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{zr&&Sn(!1)},onMouseOut:()=>{Sn(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Ca=>ye.createElement(he(),{disabled:zr,bounds:sa,nodeRef:pa,onStart:(Ko,Vo)=>Qa(Ko,Vo)},ye.createElement("div",{ref:pa},Ca))},ye.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},ye.createElement("div",{style:{display:"flex",alignItems:"center"}},((Kr=to==null?void 0:to.data)==null?void 0:Kr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?ye.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):ye.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),ye.createElement("div",{style:{color:((Nr=to==null?void 0:to.data)==null?void 0:Nr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(ar=to==null?void 0:to.data)==null?void 0:ar.output_detail)),ye.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},da.formatMessage({id:"classroomClassroomExperiments.evaluationTime",defaultMessage:"\u8BC4\u6D4B\u65F6\u95F4"})),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((or=to==null?void 0:to.data)==null?void 0:or.created_at).format("YYYY-MM-DD HH:mm:ss"))),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Zr=to==null?void 0:to.data)==null?void 0:Zr.ts_time,"s")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},da.formatMessage({id:"shixuns.memory",defaultMessage:"\u5185\u5B58"})),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Da=to==null?void 0:to.data)==null?void 0:Da.ts_mem,"mb")),ye.createElement("div",null,ye.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),ye.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((xa=to==null?void 0:to.data)==null?void 0:xa.test_set_passed_rate)*100,"%")))),ye.createElement(ut.ZP,{height:500,autoHeight:Et,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((to==null?void 0:to.content)||""))),options:Ai})))};var rA=(0,Ke.connect)(({shixunHomeworks:Qt,loading:Et,globalSetting:Yt,classroomList:Zn})=>({shixunHomeworks:Qt,globalSetting:Yt,loading:Et.effects,classroomList:Zn}))(xs),Ho={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},ja=ge(67294),XA=Object.defineProperty,tA=Object.getOwnPropertySymbols,sA=Object.prototype.hasOwnProperty,AA=Object.prototype.propertyIsEnumerable,LA=(Qt,Et,Yt)=>Et in Qt?XA(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,JA=(Qt,Et)=>{for(var Yt in Et||(Et={}))sA.call(Et,Yt)&&LA(Qt,Yt,Et[Yt]);if(tA)for(var Yt of tA(Et))AA.call(Et,Yt)&&LA(Qt,Yt,Et[Yt]);return Qt},ms=(Qt,Et,Yt)=>new Promise((Zn,Yn)=>{var Kr=or=>{try{ar(Yt.next(or))}catch(Zr){Yn(Zr)}},Nr=or=>{try{ar(Yt.throw(or))}catch(Zr){Yn(Zr)}},ar=or=>or.done?Zn(or.value):Promise.resolve(or.value).then(Kr,Nr);ar((Yt=Yt.apply(Qt,Et)).next())});const pA=({shixunHomeworks:Qt,dispatch:Et,classroomList:Yt})=>{const{shixunWorkReport:Zn}=Qt,Yn=(0,Ke.useIntl)(),Kr=(0,Ke.useParams)(),[Nr,ar]=(0,ye.useState)(!1),[or]=zt.default.useForm(),[Zr,Da]=Le.default.useModal(),[xa,da]=(0,ye.useState)(!1),[ga,yn]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{var xn,ir,zr,Sn;Qt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&or.setFieldsValue({comment:(ir=(xn=Qt.actionTabs.selectArrs)==null?void 0:xn.data)==null?void 0:ir.work_comment,hidden_comment:(Sn=(zr=Qt.actionTabs.selectArrs)==null?void 0:zr.data)==null?void 0:Sn.work_comment_hidden})},[Qt.actionTabs.key]);const fn=()=>ms(void 0,null,function*(){const xn=or.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${Kr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:xn.hidden_comment,comment:xn.comment}})).status===0&&(ce.ZP.success("\u8BC4\u9605\u6210\u529F"),or.resetFields(),Et({type:"shixunHomeworks/setActionTabs",payload:{}}),Et({type:"shixunHomeworks/getShixunWorkReport",payload:JA({},Kr)}))}),In=[{title:"\u5173\u5361",dataIndex:"name",render:(xn,ir,zr)=>zr+1},{title:Yn.formatMessage({id:"classrooms.taskName",defaultMessage:"\u4EFB\u52A1\u540D\u79F0"}),dataIndex:"name",render:(xn,ir,zr)=>ja.createElement("div",null,xn,ir.complete_status===4&&ja.createElement(Ze.vA,{status:ir.complete_status}))},{title:Yn.formatMessage({id:"classrooms.startTime1",defaultMessage:"\u5F00\u59CB\u65F6\u95F4"}),dataIndex:"open_time"},{title:Yn.formatMessage({id:"classrooms.completionTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:Yn.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"evaluate_count",align:"center"},{title:Yn.formatMessage({id:"classroomClassroomExperiments.practicalTimeSpent",defaultMessage:"\u5B9E\u8BAD\u8017\u65F6"}),dataIndex:"time_consuming"},{title:Yn.formatMessage({id:"classroomClassroomExperiments.whetherViewedAnswers",defaultMessage:"\u662F\u5426\u67E5\u770B\u7B54\u6848"}),dataIndex:"view_answer",align:"center",render:xn=>xn?Yn.formatMessage({id:"classrooms.yes",defaultMessage:"\u662F"}):Yn.formatMessage({id:"classrooms.no",defaultMessage:"\u5426"})},{title:Yn.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"}),dataIndex:"game_score",align:"center",render:(xn,ir)=>ja.createElement("div",null,ja.createElement("span",{style:{color:parseFloat(ir.game_score_full)!==parseFloat(xn)?"#E30000":"#53C41B"}},xn),"/",ir.game_score_full)},{title:Yn.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),dataIndex:"game_score",align:"center",fixed:"right",render:(xn,ir)=>(0,We.GJ)()?ja.createElement(ni,{max:ir.game_score_full,defaultValue:parseFloat(xn),onBlur:zr=>ms(void 0,null,function*(){var Sn,sa;if((0,We.Rm)()&&!((Sn=Yt.AssistantObject.practice)!=null&&Sn.can_appraise)){ce.ZP.warning(Yn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const ia=yield Et({type:"shixunHomeworks/changeScore",payload:{categoryId:Kr.homeworkId,type:"report",score:zr,challenge_id:ir.challenge_id}});(sa=Qt==null?void 0:Qt.actionTabs)==null||sa.fn(),yield Et({type:"shixunHomeworks/getShixunWorkReport",payload:JA({},Kr)}),ia.status===0&&ce.ZP.success(Yn.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}):xn}];return ja.createElement(ja.Fragment,null,Da,ja.createElement(Le.default,{centered:!0,width:1080,title:Yn.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"}),open:Qt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:Yn.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Yn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>ms(void 0,null,function*(){var xn;if((0,We.Rm)()&&!((xn=Yt.AssistantObject.practice)!=null&&xn.can_appraise)){ce.ZP.warning(Yn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const ir=or.getFieldsValue();JSON.stringify(ir)==="{}"||ir.hidden_comment===""&&ir.comment===""?ar(!0):fn()}),onCancel:()=>{Et({type:"shixunHomeworks/setActionTabs",payload:{}})}},ja.createElement(b.Z,{justify:"space-between",className:Ho.info},ja.createElement(E.Z,null,ja.createElement("span",{className:`${Ho.label} ${Ho.greyText}`},Yn.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"})),ja.createElement("span",{className:Ho.blackContent},Zn==null?void 0:Zn.username)),ja.createElement(E.Z,null,ja.createElement("span",{className:`${Ho.label} ${Ho.greyText}`},Yn.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"})),ja.createElement("span",{className:Ho.blackContent},(Zn==null?void 0:Zn.student_id)||"--")),ja.createElement(E.Z,null,ja.createElement("span",{className:`${Ho.label} ${Ho.greyText}`},"\u73ED\u7EA7"),ja.createElement("span",{className:Ho.blackContent},(Zn==null?void 0:Zn.group_name)||"--")),ja.createElement(E.Z,null,ja.createElement("span",{className:`${Ho.label} ${Ho.greyText}`},Yn.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"})),ja.createElement("span",{className:Ho.orangeContent},(Zn==null?void 0:Zn.challenge_score)||"--")),ja.createElement(E.Z,null,ja.createElement("span",{className:`${Ho.label} ${Ho.greyText}`},"\u6548\u7387\u5206"),ja.createElement("span",{className:Ho.orangeContent},(Zn==null?void 0:Zn.eff_score)||"--")),ja.createElement(E.Z,null,ja.createElement("span",{className:`${Ho.label} ${Ho.greyText}`},Yn.formatMessage({id:"classroomClassroomExperiments.resubmissionDeduction",defaultMessage:"\u8865\u4EA4\u6263\u5206"})),ja.createElement("span",{className:Ho.orangeContent},(Zn==null?void 0:Zn.late_penalty)||"--")),ja.createElement(E.Z,null,ja.createElement("span",{className:`${Ho.label} ${Ho.greyText}`},Yn.formatMessage({id:"classrooms.finalGrade",defaultMessage:"\u6700\u7EC8\u6210\u7EE9"})),ja.createElement("span",{className:Ho.orangeContent},(Zn==null?void 0:Zn.work_score)||"--"))),ja.createElement(zt.default,{form:or,onChange:()=>{Nr&&ar(!1)}},ja.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},ja.createElement(E.Z,null,ja.createElement("div",{className:`${Ho.inputLabel} ${Ho.greyText}`},Yn.formatMessage({id:"classrooms.visibleToStudentsAndTeachers",defaultMessage:"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"}))),ja.createElement(E.Z,null,ja.createElement(Cn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:xa,onCancel:()=>{da(!1)}},onDataSelect:(xn,ir)=>ms(void 0,[xn,ir],function*(zr,{node:Sn}){const sa=()=>{or.setFieldsValue({comment:Sn==null?void 0:Sn.value}),da(!1)};if(or.getFieldValue("comment")){Zr.confirm({icon:null,title:Yn.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:sa});return}sa()})},ja.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:ja.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:xn=>{da(!0)}},Yn.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}))))),ja.createElement(zt.default.Item,{name:"comment"},ja.createElement(y.default.TextArea,{placeholder:Yn.formatMessage({id:"classrooms.pleaseEnterReviewContent",defaultMessage:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9"}),rows:3})),ja.createElement(b.Z,{wrap:!1,align:"middle",justify:"space-between"},ja.createElement(E.Z,null,ja.createElement("div",{className:`${Ho.inputLabel} ${Ho.greyText}`},Yn.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"}))),ja.createElement(E.Z,null,ja.createElement(Cn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:ga,onCancel:()=>{yn(!1)}},onDataSelect:(xn,ir)=>ms(void 0,[xn,ir],function*(zr,{node:Sn}){const sa=()=>{or.setFieldsValue({hidden_comment:Sn==null?void 0:Sn.value}),yn(!1)};if(or.getFieldValue("hidden_comment")){Zr.confirm({icon:null,title:Yn.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:sa});return}sa()})},ja.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:ja.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:xn=>{yn(!0)}},Yn.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}))))),ja.createElement(zt.default.Item,{name:"hidden_comment"},ja.createElement(y.default.TextArea,{placeholder:Yn.formatMessage({id:"classrooms.pleaseEnterReviewContent",defaultMessage:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9"}),rows:3}))),Nr&&ja.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),ja.createElement("div",{className:Ho.tableTitle},"\u5173\u5361\u6210\u7EE9"),ja.createElement(x.default,{className:Ho.scoreTable,dataSource:Zn.stage_list,rowKey:"challenge_id",pagination:!1,columns:In,scroll:{x:"max-content"}})))};var Eo=(0,Ke.connect)(({shixunHomeworks:Qt,classroomList:Et})=>({shixunHomeworks:Qt,classroomList:Et}))(pA),Ti=ge(16151),Ws={wrap:"wrap___LZOi9",line:"line___oju0L"},zn=({detailData:Qt})=>{var Et;return ye.createElement("div",{className:Ws.wrap},ye.createElement(Ba.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Ba.Uf)(Qt),(Qt==null?void 0:Qt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},ye.createElement(Ba.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Ba.Uf)(Qt)}),!!((Et=Qt==null?void 0:Qt.photos)!=null&&Et.length)&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:Ws.line}),ye.createElement(Ba._s,{dataSource:Qt==null?void 0:Qt.photos,right:21,col:4,wrapWidth:1140}))))},gt=ge(67294),Dt=Object.defineProperty,sr=Object.defineProperties,Mr=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,tr=(Qt,Et,Yt)=>Et in Qt?Dt(Qt,Et,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Qt[Et]=Yt,pr=(Qt,Et)=>{for(var Yt in Et||(Et={}))Jn.call(Et,Yt)&&tr(Qt,Yt,Et[Yt]);if(Xr)for(var Yt of Xr(Et))dr.call(Et,Yt)&&tr(Qt,Yt,Et[Yt]);return Qt},Qr=(Qt,Et)=>sr(Qt,Mr(Et)),Aa=(Qt,Et)=>{var Yt={};for(var Zn in Qt)Jn.call(Qt,Zn)&&Et.indexOf(Zn)<0&&(Yt[Zn]=Qt[Zn]);if(Qt!=null&&Xr)for(var Zn of Xr(Qt))Et.indexOf(Zn)<0&&dr.call(Qt,Zn)&&(Yt[Zn]=Qt[Zn]);return Yt},ta=(Qt,Et,Yt)=>new Promise((Zn,Yn)=>{var Kr=or=>{try{ar(Yt.next(or))}catch(Zr){Yn(Zr)}},Nr=or=>{try{ar(Yt.throw(or))}catch(Zr){Yn(Zr)}},ar=or=>or.done?Zn(or.value):Promise.resolve(or.value).then(Kr,Nr);ar((Yt=Yt.apply(Qt,Et)).next())});const Ha=Qt=>{var Et=Qt,{shixunHomeworks:Yt,classroomList:Zn,globalSetting:Yn,loading:Kr,user:Nr,dispatch:ar}=Et,or=Aa(Et,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Zr,Da,xa;const[da,ga]=(0,ye.useState)(pr({},(0,Ke.useParams)())),yn=(0,Ke.useParams)(),[fn,In]=(0,ye.useState)({page:1,page_size:10}),xn=(0,Ke.useLocation)(),[]=(0,ye.useState)([]),[ir,zr]=(0,ye.useState)(),Sn=(0,ye.useRef)(),sa=(0,ye.useRef)(),[ia,pa]=(0,ye.useState)(!1),[to,ur]=(0,ye.useState)(!0),[Bo,Co]=(0,ye.useState)(!1),[Wo,Qa]=(0,ye.useState)(!1),{shixunWorkReport:it}=Yt,[xo,Ai]=(0,ye.useState)(),[Ur,Oo]=(0,ye.useState)([]),[Lo,oi]=(0,ye.useState)(),[Xo,vi]=(0,ye.useState)("all"),IA=(0,We.GJ)(),[Ci,ri]=(0,ye.useState)(new(pe())),[Ls,Ca]=(0,ye.useState)(0),[Ko,Vo]=(0,ye.useState)(!1),[Mi,Ro]=(0,ye.useState)(!1),[Cs,lA]=(0,ye.useState)(!1),[Vs,cs]=(0,ye.useState)(""),[QA,wA]=(0,ye.useState)(!1),va=(0,Ke.useIntl)(),[ks,EA]=(0,ye.useState)(!0),[Is,ds]=(0,ye.useState)(0),Zs=(0,ye.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),El=(0,ye.useRef)(),Jl=()=>ta(void 0,null,function*(){(Nr.userInfo.is_teacher||Nr.userInfo.admin)&&(wA(!0),EA(!1))});(0,ye.useEffect)(()=>{var fe;(0,We.Rm)()&&Zn.AssistantObject.practice&&!((fe=Zn.AssistantObject.practice)!=null&&fe.can_view)&&Ke.history.replace("/403")},[(Zr=Zn.AssistantObject.practice)==null?void 0:Zr.can_view]),(0,ye.useEffect)(()=>{Jl(),console.log("\u6253\u5370\u7684------",it),El.current=it==null?void 0:it.next_student_work_id,cs(it.repeat_minus_score)},[it,Nr]),(0,ye.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",it.work_score),ds(it.work_score)},[it.work_score,Vs]),(0,ye.useEffect)(()=>(ar({type:"globalSetting/footerToggle",payload:!1}),()=>{ar({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ye.useEffect)(()=>{var fe;if(it){let Ce=[];(fe=it==null?void 0:it.target_test_sets)==null||fe.map((Se,Ie)=>{var Re;(Re=Se==null?void 0:Se.targets)==null||Re.map((ke,tt)=>{var ft;ke.name=Se==null?void 0:Se.name,ke.total_target_score=Se==null?void 0:Se.total_target_score,ke.actual_target_score=Se==null?void 0:Se.actual_target_score,ke.rowSpan=tt===0?(ft=Se==null?void 0:Se.targets)==null?void 0:ft.length:0,ke.order=Ie+1,Ce.push(ke)})}),Ai(Ce),(0,We.Rm)()&&ar({type:"classroomList/getAssistantPermissions",payload:{course_id:da.coursesId}})}},[it]),(0,ye.useEffect)(()=>{Yt.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(it==null?void 0:it.students_count)>0&&!to&&setTimeout(()=>{cl("all")},800)},[it==null?void 0:it.homework_common_id,to]),(0,ye.useEffect)(()=>{ga(pr({},yn))},[xn.pathname]);const jl=()=>{document.body.scrollIntoView()},Al=fe=>{fn.page=fe,In(pr({},fn)),ll(fn,Xo)},ll=(fe,Ce)=>ta(void 0,null,function*(){Co(!0);const Se=yield(0,ve.ZP)(`/api/student_works/${da==null?void 0:da.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Qr(pr({},fe),{challenge_id:Ce=="all"?null:Ce})});(Se==null?void 0:Se.status)===0&&(Oo(Se==null?void 0:Se.list),oi(Se==null?void 0:Se.count)),Co(!1)});function Cl(){return ta(this,null,function*(){Zs.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const NA=()=>{document.querySelectorAll("canvas").forEach(fe=>{(!fe.clientWidth||!fe.clientHeight)&&fe.remove()})},_l=()=>{Sn.current.offsetHeight>62e3?Qa(!1):Qa(!0)},ul=fe=>ta(void 0,null,function*(){const Ce=yield(0,Sr.t1)({homeworkId:fe||da.homeworkId});zr(Ce==null?void 0:Ce.data)}),cl=fe=>ta(void 0,null,function*(){var Ce,Se,Ie,Re;let ke=0,tt;tt=Le.default.info({width:460,title:gt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",gt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:gt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",gt.createElement("span",{className:"c-blue"},ke+1),"/",fe!=="all"?1:it==null?void 0:it.students_count,gt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Sa.modal,onOk:()=>{}});const ft={margin:[0,0],filename:`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?it==null?void 0:it.student_id:""}${it.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},wt=Ci.folder(it==null?void 0:it.shixun_name);function Ft(Je){return ta(this,null,function*(){yield ul(Je||El.current);const Gt=yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:pr({homeworkId:Je||El.current},Zs.current||{})});El.current=Gt==null?void 0:Gt.next_student_work_id,jl(),ke++,setTimeout(()=>ta(this,null,function*(){var jt,on,Mt,$t;NA();const nr=wt.folder(`${Gt==null?void 0:Gt.group_name}`).folder(`${Gt!=null&&Gt.student_id&&(Gt==null?void 0:Gt.student_id)!="--"?Gt.student_id+"+":""}${Gt==null?void 0:Gt.username}`),Ar=document.querySelector("#export-all").children;let Tr=$r()();for(let _n=0;_nta(this,null,function*(){_n0&&((Mt=(on=Gt==null?void 0:Gt.shixun_detail)==null?void 0:on.filter(_n=>{var gn;return((gn=_n==null?void 0:_n.game_codes)==null?void 0:gn.length)>0}))==null?void 0:Mt.length)>0){const _n=nr.folder("\u4EE3\u7801\u6587\u4EF6");($t=Gt==null?void 0:Gt.shixun_detail)==null||$t.map((gn,kr)=>{var Rr,Zt;if(((Rr=gn==null?void 0:gn.game_codes)==null?void 0:Rr.length)>0){const Xt=_n.folder(`${kr+1}${va.formatMessage({id:"shixuns.part",defaultMessage:"\u5173"})}-${gn.subject}-${gn.id}`);(Zt=gn==null?void 0:gn.game_codes)==null||Zt.map(Dn=>{Xt.file(`${Dn.filename}.txt`,Dn==null?void 0:Dn.content)})}})}tt.update({content:gt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",gt.createElement("span",{className:"c-blue"},ke),"/",Gt==null?void 0:Gt.students_count,gt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),ke==(Gt==null?void 0:Gt.students_count)?(tt.destroy(),Hl()):Ft()}),2200)})}if(fe!=="all"||(it==null?void 0:it.students_count)<2){NA(),jl();const Je=sa.current.children;let Gt=$r()();const on=wt.folder(`${it==null?void 0:it.group_name}`).folder(`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?(it==null?void 0:it.student_id)+"+":""}${it==null?void 0:it.username}`);for(let Mt=0;Mtta(void 0,null,function*(){Mt0&&((Ie=(Se=it==null?void 0:it.shixun_detail)==null?void 0:Se.filter(Mt=>{var $t;return(($t=Mt==null?void 0:Mt.game_codes)==null?void 0:$t.length)>0}))==null?void 0:Ie.length)>0){const Mt=on.folder("\u4EE3\u7801\u6587\u4EF6");(Re=it==null?void 0:it.shixun_detail)==null||Re.map(($t,Nn)=>{var nr,Ar;if(((nr=$t==null?void 0:$t.game_codes)==null?void 0:nr.length)>0){const Tr=Mt.folder(`${Nn+1}${va.formatMessage({id:"shixuns.part",defaultMessage:"\u5173"})}-${$t.subject}-${$t.id}`);(Ar=$t==null?void 0:$t.game_codes)==null||Ar.map(_n=>{Tr.file(`${_n.filename}.txt`,_n==null?void 0:_n.content)})}})}tt.destroy(),Hl();return}else Ft(it==null?void 0:it.first_student_work_id)}),Hl=()=>{Ci.generateAsync({type:"blob"}).then(function(fe){console.log(it,"shixunWorkReport");const Ce=document.createElement("a");Ce.href=window.URL.createObjectURL(fe),Ce.download=(it==null?void 0:it.shixun_name)+".zip",document.body.appendChild(Ce);const Se=document.createEvent("MouseEvents");Se.initEvent("click",!1,!1),Ce.dispatchEvent(Se),document.body.removeChild(Ce),ri(new(pe()))}),Qa(!1)};(0,ye.useEffect)(()=>{hu()},[da.homeworkId]);const hu=()=>ta(void 0,null,function*(){ur(!0),yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:pr(pr({},da),Zs.current||{})}),ul(),(0,We.GJ)()&&Cl(),ur(!1)}),pu=[{title:va.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\u5173\u5361"}),dataIndex:"name",render:(fe,Ce,Se)=>Se+1},{title:va.formatMessage({id:"classroomClassroomExperiments.taskName",defaultMessage:"\u4EFB\u52A1\u540D\u79F0"}),dataIndex:"name",render:(fe,Ce,Se)=>gt.createElement("div",null,fe,Ce.complete_status===4&>.createElement(Ze.vA,{status:Ce.complete_status}))},{title:va.formatMessage({id:"classroomClassroomExperiments.startTime",defaultMessage:"\u5F00\u542F\u65F6\u95F4"}),dataIndex:"open_time"},{title:va.formatMessage({id:"classroomClassroomExperiments.codeModifiedLines",defaultMessage:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570"}),dataIndex:"diff_code_count",render:(fe,Ce,Se)=>fe||"- -"},{title:va.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"evaluate_count"},{title:va.formatMessage({id:"classrooms.completionTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:va.formatMessage({id:"classroomClassroomExperiments.practicalTimeSpent",defaultMessage:"\u5B9E\u8BAD\u8017\u65F6"}),dataIndex:"time_consuming"},{title:va.formatMessage({id:"classroomClassroomExperiments.whetherViewedAnswers",defaultMessage:"\u662F\u5426\u67E5\u770B\u7B54\u6848"}),dataIndex:"view_answer",render:fe=>fe?va.formatMessage({id:"classrooms.yes",defaultMessage:"\u662F"}):va.formatMessage({id:"classrooms.no",defaultMessage:"\u5426"})},{title:va.formatMessage({id:"classroomClassroomExperiments.experiencePoints",defaultMessage:"\u7ECF\u9A8C\u503C"}),dataIndex:"experience",render:(fe,Ce)=>gt.createElement("div",null,gt.createElement("span",{style:{color:parseFloat(Ce.myself_experience)!==parseFloat(fe)?"red":"green"}},Ce.myself_experience),"/",fe)},{title:va.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"}),dataIndex:"game_score",render:(fe,Ce)=>gt.createElement("div",null,gt.createElement("span",{style:{color:parseFloat(Ce.game_score_full)!==parseFloat(fe)?"red":"green"}},fe),"/",Ce.game_score_full)},{title:va.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),dataIndex:"game_score",render:(fe,Ce)=>IA?gt.createElement(ni,{max:Ce.game_score_full,defaultValue:parseFloat(fe),onBlur:Se=>ta(void 0,null,function*(){var Ie;if((0,We.Rm)()&&!((Ie=Zn.AssistantObject.practice)!=null&&Ie.can_appraise)){ce.ZP.warning(va.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const Re=yield ar({type:"shixunHomeworks/changeScore",payload:{categoryId:da.homeworkId,type:"report",score:Se,challenge_id:Ce.challenge_id}});ll({page:1,page_size:10},"all"),yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:pr(pr({},da),Zs.current||{})}),Re.status===0&&ce.ZP.success(va.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}):fe}];let vA=[{title:va.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\u5173\u5361"}),dataIndex:"order",key:"order",render:(fe,Ce,Se)=>({children:fe,props:{rowSpan:Ce.rowSpan}})},{title:va.formatMessage({id:"classroomClassroomExperiments.taskName",defaultMessage:"\u4EFB\u52A1\u540D\u79F0"}),dataIndex:"name",key:"name",render:(fe,Ce,Se)=>({children:fe,props:{rowSpan:Ce.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(fe,Ce,Se)=>gt.createElement("div",null,gt.createElement("span",{style:{color:parseFloat(Ce.actual_test_score)!==parseFloat(fe)?"red":"green"}},Ce.actual_test_score),"/",fe)},{title:"\u6307\u6807\u603B\u5206",render:(fe,Ce,Se)=>({children:gt.createElement("div",null,gt.createElement("span",{style:{color:parseFloat(Ce.actual_target_score)!==parseFloat(fe)?"red":"green"}},Ce.actual_target_score),"/",fe),props:{rowSpan:Ce.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const cu=[{title:va.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\u5173\u5361"}),dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:fe=>gt.createElement("span",null,fe?ze()(fe).format("YYYY-MM-DD HH:mm"):"--")}],le=fe=>{ar({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{fe==="next"?Ke.history.push(`/classrooms/${da.coursesId}/shixun_homework/${da.categoryId}/${it==null?void 0:it.next_student_work_id}/comment`):Ke.history.push(`/classrooms/${da.coursesId}/shixun_homework/${da.categoryId}/${it==null?void 0:it.pre_student_work_id}/comment`)},200)},ee=fe=>{cs(""),fe.target.value&&(console.log("\u8FDB\u6765",it),fe.target.value=fe.target.value>it.repeat_setting_score?it.repeat_setting_score:fe.target.value,cs(fe.target.value))},re=()=>ta(void 0,null,function*(){const fe=yield(0,ve.ZP)(`/api/student_works/${it==null?void 0:it.work_id}/update_repeat_score`,{method:"put",body:{score:Vs}});yield ar({type:"shixunHomeworks/getShixunWorkReport",payload:pr(pr({},da),Zs.current||{})}),fe.status===0&&ce.ZP.info(va.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))});return gt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},gt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},gt.createElement(De.Z,{loading:Kr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},gt.createElement("div",{className:"edu-container"},it.course_id&>.createElement("section",{className:"animated fadeIn"},gt.createElement("aside",{className:""},it.category&>.createElement(Pe.Z,{separator:">"},gt.createElement(Pe.Z.Item,null,gt.createElement(Ke.Link,{to:`/classrooms/${it.course_id}/shixun_homework`},it.course_name)),gt.createElement(Pe.Z.Item,null,gt.createElement(Ke.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.category.main?"":it.category.category_id}`},it.category.category_name)),gt.createElement(Pe.Z.Item,null,gt.createElement(Ke.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail${(0,We.dE)()?"?tabs=1":""}`},va.formatMessage({id:"classroomClassroomExperiments.homeworkDetails",defaultMessage:"\u4F5C\u4E1A\u8BE6\u60C5"}))),gt.createElement(Pe.Z.Item,null,it.username))),gt.createElement("aside",{className:[Sa.title1,"mt20"].join(" ")},gt.createElement(b.Z,{align:"middle"},gt.createElement(E.Z,{flex:1},gt.createElement(Ke.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail`},gt.createElement(wo.Z,{className:"font16 c-black"})),gt.createElement("strong",{className:"font20 ml5"},it==null?void 0:it.homework_name),gt.createElement(Ze.VV,{temporary:!0,status:it.homework_status})),gt.createElement(E.Z,{className:Sa.title1_right},it.view_tpi&>.createElement(Ee.ZP,{onClick:()=>{var fe,Ce;(0,Ze.xg)(`/tasks/${it==null?void 0:it.course_id}/${it==null?void 0:it.homework_common_id}/${(Ce=(fe=it==null?void 0:it.shixun_detail)==null?void 0:fe[0])==null?void 0:Ce.game_identifier}`)}},gt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),va.formatMessage({id:"classroomClassroomExperiments.viewStudentPractical",defaultMessage:"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"})),(0,We.GJ)()&&it.homework_end===!1&&!!it.myshixun_id&>.createElement(Ee.ZP,{className:"ml10",onClick:()=>ta(void 0,null,function*(){yield ar({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:it.myshixun_identifier},homework_common_id:yn.categoryId}})})},gt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),va.formatMessage({id:"classroomMemberManagementTAPermissions.returnForRedo2",defaultMessage:"\u6253\u56DE\u91CD\u505A"})),gt.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var fe;if((0,We.Rm)()&&!((fe=Zn.AssistantObject.practice)!=null&&fe.can_download)){ce.ZP.warning(va.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}cl("")},loading:ia},gt.createElement("span",{className:"iconfont icon-daochu mr5"}),va.formatMessage({id:"classroomClassroomExperiments.exportPracticalReport",defaultMessage:"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"})),(0,We.GJ)()&&(it==null?void 0:it.students_count)>1&>.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var fe;if((0,We.Rm)()&&!((fe=Zn.AssistantObject.practice)!=null&&fe.can_download)){ce.ZP.warning(va.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:gt.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:gt.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{cl("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Ea.jj)({categoryId:da.categoryId,coursesId:da.coursesId},"shixun_report")}}})}},gt.createElement("span",{className:"iconfont icon-daochu mr5"}),va.formatMessage({id:"classroomClassroomExperiments.exportAllStudentsPracticalReports",defaultMessage:"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"})))))),gt.createElement("aside",{className:"mt30 relative"})),gt.createElement("aside",{className:"edu-container bg-white",ref:Sn},gt.createElement("div",{id:"export-all",ref:sa},gt.createElement("div",{id:"export-all-1"},gt.createElement("div",{className:Sa.title},gt.createElement("h1",null,va.formatMessage({id:"classroomClassroomExperiments.overallEvaluation",defaultMessage:"\u603B\u4F53\u8BC4\u4EF7"})),gt.createElement("div",null,(0,We.GJ)()&>.createElement(Ee.ZP,{className:"mr20",type:"primary",onClick:()=>{ar({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:pr({},it)},fn:()=>ll({page:1,page_size:10},"all")}})}},gt.createElement(de.Z,null),it.has_shixun_work_comment?va.formatMessage({id:"classrooms.changeReview",defaultMessage:"\u66F4\u6539\u70B9\u8BC4"}):va.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"})))),gt.createElement(a.Z,{style:{marginTop:0}}),gt.createElement(b.Z,{className:"pl30 pr30"},gt.createElement(E.Z,null,gt.createElement("img",{className:Sa.userPic,src:`${Ne.Z.IMG_SERVER}/images/${it.image_url}`,alt:it.username})),gt.createElement(E.Z,null,gt.createElement("span",{className:"font16 ml40"},it.username),gt.createElement(Ze.vA,{status:it.compelete_status}),gt.createElement("ul",{className:Sa.userInfo},gt.createElement("li",null,va.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}),"\uFF1A",it.student_id||"--"),gt.createElement("li",null,va.formatMessage({id:"classrooms.classDivision",defaultMessage:"\u5206\u73ED"}),"\uFF1A",it.group_name||"--"),gt.createElement("br",null),gt.createElement("li",null,va.formatMessage({id:"classroomClassroomExperiments.levelsCompletedBeforeDeadline",defaultMessage:"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361"}),"\uFF1A",gt.createElement("span",{className:"c-red"},it.complete_count),"/",gt.createElement("span",{className:"c-red"},it.challenges_count)),gt.createElement("li",null,va.formatMessage({id:"classroomClassroomExperiments.latestCompletedLevelMinus",defaultMessage:"\u6700\u65B0\u5B8C\u6210\u5173\u5361"}),"\uFF1A",gt.createElement("span",{className:"c-red"},it.current_complete_count||"-"),"/",gt.createElement("span",{className:"c-red"},it.challenges_count)),gt.createElement("li",null,va.formatMessage({id:"classroomClassroomExperiments.completionEfficiencyDashDash",defaultMessage:"\u5B8C\u6210\u6548\u7387"}),"\uFF1A",it&&it.efficiency===null?"--":it&&it.efficiency),gt.createElement("li",null,va.formatMessage({id:"classroomClassroomExperiments.classHighestCompletionEfficiencyDashDash",defaultMessage:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387"}),"\uFF1A",it&&it.max_efficiency===null?"--":it&&it.max_efficiency))),gt.createElement("ul",{className:[Sa.listItem,"mt10"].join(" ")},gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.clearanceTime",defaultMessage:"\u901A\u5173\u65F6\u95F4"})),gt.createElement("div",{className:"c-light-black mt20"},it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm"))),gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.timingRules",defaultMessage:"\u8BA1\u65F6\u89C4\u5219"}),gt.createElement("i",{onClick:fe=>{fe.stopPropagation(),fe.preventDefault(),Vo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),gt.createElement("div",{className:"c-light-black mt20"},it==null?void 0:it.human_training_time_rules)),gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.totalPracticalTime",defaultMessage:"\u5B9E\u8BAD\u603B\u8017\u65F6"}),gt.createElement("i",{onClick:fe=>{fe.stopPropagation(),fe.preventDefault(),Ro(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),gt.createElement("div",{className:"c-light-black mt20"},it.time_consuming)),gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"})),gt.createElement("div",{className:"mt20"},it.evaluate_count)),(it==null?void 0:it.eff_score_full)&>.createElement(gt.Fragment,null,gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"})),gt.createElement("div",{className:"mt20"},gt.createElement("span",{className:"c-orange"},it.challenge_score),"/",gt.createElement("span",{className:"c-light-black"},it.challenge_score_full))),gt.createElement("li",null,gt.createElement("strong",null,"\u6548\u7387\u5206"),gt.createElement("div",{className:"mt20"},gt.createElement("span",{className:"c-orange"},it.eff_score),"/",gt.createElement("span",{className:"c-light-black"},it.eff_score_full)))),(it==null?void 0:it.have_repeat)&&(it==null?void 0:it.repeat_minus_score)!==0&>.createElement("li",{style:{position:"relative"}},gt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.plagiarismDeduction",defaultMessage:"\u67E5\u91CD\u6263\u5206"})),gt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},it!=null&&it.review_rate?gt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(it!=null&&it.review_id&&QA)localStorage.setItem("studentDetial",window.location.pathname),Ke.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${da.categoryId}/review_detail/${it==null?void 0:it.review_id}`});else return}},it.review_rate.toFixed(1),"%"):gt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),QA?gt.createElement("div",{className:"mt20"},gt.createElement(y.default,{style:{width:"45px",height:"22px"},value:Vs,onChange:fe=>{ee(fe)},onBlur:re,disabled:ks})," / ",it==null?void 0:it.repeat_setting_score):gt.createElement("div",{className:"mt20"},it==null?void 0:it.repeat_minus_score," / ",it==null?void 0:it.repeat_setting_score)),console.log("sssssssssssssssssssssss",it==null?void 0:it.have_repeat,it==null?void 0:it.repeat_minus_score),(it==null?void 0:it.have_repeat)&&(it==null?void 0:it.repeat_minus_score)===0&>.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.plagiarismDeduction",defaultMessage:"\u67E5\u91CD\u6263\u5206"})),gt.createElement("div",{className:"mt20"}," - -")),!(it!=null&&it.have_repeat)&>.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.plagiarismDeduction",defaultMessage:"\u67E5\u91CD\u6263\u5206"})),gt.createElement("div",{className:"mt20"}," - -")),gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.resubmissionDeduction",defaultMessage:"\u8865\u4EA4\u6263\u5206"})),gt.createElement("div",{className:"mt20"},gt.createElement("span",null,it.late_penalty||"- -"))),gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classrooms.finalGrade",defaultMessage:"\u6700\u7EC8\u6210\u7EE9"})),gt.createElement("div",{className:"mt20"},gt.createElement("span",{className:"c-orange"},Is),"/",gt.createElement("span",{className:"c-light-black"},it.all_work_score))),gt.createElement("li",null,gt.createElement("strong",null,va.formatMessage({id:"classroomClassroomExperiments.overallScore",defaultMessage:"\u603B\u8BC4"})),gt.createElement("div",{className:"mt20"},gt.createElement("span",{className:"c-orange"},it.overall_appraisal))))),gt.createElement(a.Z,{style:{margin:0}}),(it.work_comment_hidden||it.work_comment)&>.createElement("div",null,gt.createElement(b.Z,{align:"middle"},gt.createElement(E.Z,{flex:1},gt.createElement("h1",{className:Sa.title},"\u70B9\u8BC4\u5185\u5BB9")),gt.createElement(E.Z,{className:"pr30"},(0,We.GJ)()&>.createElement(Ee.ZP,{onClick:()=>ta(void 0,null,function*(){Le.default.confirm({centered:!0,okText:va.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:va.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:va.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),icon:gt.createElement(we.Z,null),content:va.formatMessage({id:"paperlibrary.confirmDeleteSure",defaultMessage:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F"}),onOk(){return ta(this,null,function*(){(yield(0,Sr.gZ)({comment_id:it.comment_id,homeworkId:da.homeworkId})).status===0&&(ce.ZP.success(va.formatMessage({id:"classrooms.deleteSuccess",defaultMessage:"\u5220\u9664\u6210\u529F"})),ar({type:"shixunHomeworks/getShixunWorkReport",payload:pr(pr({},da),Zs.current||{})}))})}})})},gt.createElement(be.Z,null),va.formatMessage({id:"classrooms.delete",defaultMessage:"\u5220\u9664"})))),gt.createElement(a.Z,{style:{margin:0}}),it.work_comment&>.createElement("aside",{className:"pl30 pr30 mt20"},gt.createElement("span",{className:"c-light-black font12"},"# ",va.formatMessage({id:"classrooms.visibleToStudentsAndTeachers",defaultMessage:"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"})),gt.createElement("br",null),gt.createElement(gr.Z,{value:it.work_comment})),it.work_comment_hidden&>.createElement("aside",{className:"pl30 pr30 mt20"},gt.createElement("span",{className:"c-light-black font12"},"# ",va.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"})),gt.createElement("br",null),gt.createElement(gr.Z,{value:it.work_comment_hidden}))),(it==null?void 0:it.action_analysis)&>.createElement(zn,{detailData:it}),gt.createElement("div",{className:Sa.score},gt.createElement("h1",{className:Sa.title},va.formatMessage({id:"classroomClassroomExperiments.stageScores",defaultMessage:"\u9636\u6BB5\u6210\u7EE9"})),(it==null?void 0:it.adjust_review_score_count)>0&&(0,We.GJ)()&>.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{lA(!0),ll({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",it==null?void 0:it.adjust_review_score_count,"\u6B21\uFF09")),gt.createElement("aside",{className:"pl30 pr30"},gt.createElement(x.default,{dataSource:it.stage_list,rowKey:fe=>fe==null?void 0:fe.challenge_id,pagination:!1,columns:pu})),((Da=it==null?void 0:it.target_test_sets)==null?void 0:Da.length)>0&>.createElement("div",null,gt.createElement("h1",{className:Sa.title},"\u6307\u6807\u6210\u7EE9"),gt.createElement("aside",{className:"pl30 pr30"},gt.createElement(x.default,{dataSource:xo,rowKey:fe=>fe==null?void 0:fe.challenge_id,pagination:!1,bordered:!0,columns:vA}))),(it==null?void 0:it.work_description)&>.createElement(gt.Fragment,null,gt.createElement("h1",{className:Sa.title},"\u4E2A\u4EBA\u603B\u7ED3"),gt.createElement("aside",{className:"pl30 pr30"},gt.createElement(gr.Z,{value:it==null?void 0:it.work_description}))),gt.createElement("h1",{className:Sa.title},va.formatMessage({id:"classroomClassroomExperiments.graphicalStatistics",defaultMessage:"\u56FE\u5F62\u7EDF\u8BA1"})),gt.createElement(Pi,{data:ir}),gt.createElement("h1",{className:Sa.title},va.formatMessage({id:"classrooms.practicalDetails",defaultMessage:"\u5B9E\u8BAD\u8BE6\u60C5"}))),gt.createElement(rA,{autoHeight:Wo}))),(0,We.GJ)()&>.createElement("aside",{className:`${Sa.footerBar} ${ia?Sa.footerBarStatic:""}`},gt.createElement("aside",{className:"edu-container"},gt.createElement(b.Z,{align:"middle"},gt.createElement(E.Z,{flex:"1"},gt.createElement(Ke.Link,{className:Sa.exitComment,to:`/classrooms/${da.coursesId}/shixun_homework/${da.categoryId}/detail`},va.formatMessage({id:"classroomClassroomExperiments.returnToList",defaultMessage:"\u8FD4\u56DE\u5217\u8868"}))),gt.createElement(E.Z,{flex:"1",className:"tr"},gt.createElement(Ee.ZP,{type:"default",disabled:!(it!=null&&it.pre_student_work_id),onClick:()=>le()},va.formatMessage({id:"classroomGraphicGroupHomework.previous",defaultMessage:"\u4E0A\u4E00\u4E2A"})),gt.createElement(Ee.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(it!=null&&it.next_student_work_id),onClick:()=>le("next")},va.formatMessage({id:"classroomGraphicGroupHomework.next",defaultMessage:"\u4E0B\u4E00\u4E2A"})),(0,We.GJ)()&>.createElement(Ee.ZP,{type:"primary",onClick:()=>ta(void 0,null,function*(){ar({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:pr({},it)},fn:()=>ll({page:1,page_size:10},"all")}})})},va.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"})))))))),gt.createElement(Eo,null),gt.createElement(Ti.Z,null),gt.createElement(Le.default,{open:Ko,width:860,centered:!0,onCancel:()=>{Vo(!1)},title:va.formatMessage({id:"classrooms.timerRulesExplanation",defaultMessage:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E"}),footer:null},gt.createElement("div",{style:{color:"#333333",fontWeight:400}},gt.createElement("span",{style:{fontWeight:500}},"1\u3001",va.formatMessage({id:"classroomClassroomExperiments.pageStayDuration",defaultMessage:"\u9875\u9762\u505C\u7559\u65F6\u957F"})),gt.createElement("br",null),gt.createElement("span",null,va.formatMessage({id:"classroomMemberManagementTAPermissions.students",defaultMessage:"\u5B66\u751F"}),va.formatMessage({id:"classrooms.timerStart",defaultMessage:"\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"})),gt.createElement("br",null),gt.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),gt.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),gt.createElement("span",null,va.formatMessage({id:"classrooms.conditionA",defaultMessage:"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002"}))),gt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},gt.createElement("span",{style:{fontWeight:500}},va.formatMessage({id:"classrooms.totalTimeSpent1",defaultMessage:"2\u3001\u5173\u5361\u603B\u8017\u65F6"})),gt.createElement("br",null),gt.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),gt.createElement("br",null),gt.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),gt.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),gt.createElement("span",null,va.formatMessage({id:"classrooms.conditionB",defaultMessage:"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"})),gt.createElement("br",null),gt.createElement("span",null,va.formatMessage({id:"classrooms.conditionC",defaultMessage:"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B"}))),gt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},gt.createElement("span",{style:{fontWeight:500}},va.formatMessage({id:"classrooms.homeworkDuration",defaultMessage:"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"})),gt.createElement("br",null),gt.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),gt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},gt.createElement("span",{style:{fontWeight:500}},va.formatMessage({id:"classrooms.rulesPurpose",defaultMessage:"\u89C4\u5219\u76EE\u7684"})),gt.createElement("br",null),gt.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),gt.createElement(Le.default,{open:Mi,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Ro(!1)},width:600},gt.createElement("div",{style:{fontWeight:400,color:"#333333"}},gt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",gt.createElement("span",{style:{color:"#145DFF"}},va.formatMessage({id:"classroomClassroomExperiments.pageStayDuration",defaultMessage:"\u9875\u9762\u505C\u7559\u65F6\u957F"})),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),gt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",gt.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),gt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",gt.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),gt.createElement(Le.default,{open:Cs,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{vi("all"),lA(!1)},destroyOnClose:!0,width:900},gt.createElement("div",{style:{fontWeight:400,color:"#333333"}},gt.createElement("div",null,gt.createElement("span",null,va.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\u5173\u5361"}),"\uFF1A"),gt.createElement(z.default,{style:{width:300},value:Xo,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:fe=>ta(void 0,null,function*(){vi(fe),ll({page:1,page_size:10},fe)})},gt.createElement(z.default.Option,{value:"all"}," ",va.formatMessage({id:"classrooms.all",defaultMessage:"\u5168\u90E8"})," "),(xa=it==null?void 0:it.stage_list)==null?void 0:xa.map((fe,Ce)=>gt.createElement(z.default.Option,{key:Ce,value:fe==null?void 0:fe.challenge_id},(0,Ze.Gd)(Ce+1)," ",va.formatMessage({id:"shixuns.part",defaultMessage:"\u5173"}))))),gt.createElement("div",{className:"mt20"},gt.createElement(x.default,{dataSource:Ur,rowKey:fe=>fe==null?void 0:fe.id,pagination:!1,columns:cu,loading:Bo})),gt.createElement("div",{className:Sa.footer},gt.createElement("div",null,gt.createElement("span",{style:{color:"#656F87"}},va.formatMessage({id:"common.total",defaultMessage:"\u5171"}),gt.createElement("span",{className:"c-light-primary"},Lo),va.formatMessage({id:"problemset.pieceOfData",defaultMessage:"\u6761\u6570\u636E"}))),gt.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(fn==null?void 0:fn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Lo,onChange:Al})))))};var oo=(0,Ke.connect)(({shixunHomeworks:Qt,classroomList:Et,loading:Yt,globalSetting:Zn,user:Yn})=>({shixunHomeworks:Qt,classroomList:Et,globalSetting:Zn,loading:Yt.effects,user:Yn}))(Ha);const vo=({globalSetting:Qt})=>{var Et;const Yt=(0,Ke.useIntl)();switch(Number((Et=Qt==null?void 0:Qt.setting)==null?void 0:Et.theme)){case Ae.Fy.THEMEONE:return ye.createElement(Yr,null);case Ae.Fy.DEFAULT:default:return ye.createElement(oo,null)}};var rr=(0,Ke.connect)(({globalSetting:Qt})=>({globalSetting:Qt}))(vo)},42420:function(qt,Ot,ge){"use strict";var Ae=ge(14446),ye=ge(2453),Ke=ge(33170),_e=ge(35973),ze=ge(52262),je=ge(67294),pe=(Le,ce,De)=>new Promise((Pe,Ee)=>{var ie=b=>{try{a(De.next(b))}catch(E){Ee(E)}},y=b=>{try{a(De.throw(b))}catch(E){Ee(E)}},a=b=>b.done?Pe(b.value):Promise.resolve(b.value).then(ie,y);a((De=De.apply(Le,ce)).next())});const ve=({shixunHomeworks:Le,classroomList:ce,dispatch:De})=>{const Pe=(0,_e.useIntl)(),Ee=(0,_e.useParams)();return je.createElement(Ae.default,{centered:!0,title:Pe.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:Pe.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:"\u53D6\u6D88",onOk:()=>pe(void 0,null,function*(){var ie,y,a,b;if((0,ze.Rm)()&&!((ie=ce.AssistantObject.practice)!=null&&ie.can_redo)){ye.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const E=yield(0,Ke.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Ee.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(E.shixun_identifier){ye.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const x=(a=(y=E==null?void 0:E.new_works)==null?void 0:y.find(z=>`${z.homework_common_id}`===Ee.categoryId))==null?void 0:a.id;if((0,ze.Rm)()&&!((b=ce.AssistantObject.practice)!=null&&b.can_view))return;_e.history.replace(`/classrooms/${Ee.coursesId}/shixun_homework/${Ee.categoryId}/${x}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ot.Z=(0,_e.connect)(({shixunHomeworks:Le,classroomList:ce})=>({shixunHomeworks:Le,classroomList:ce}))(ve)},98769:function(qt,Ot,ge){"use strict";ge.d(Ot,{AD:function(){return Nt},BA:function(){return mn},D9:function(){return et},Hp:function(){return we},IM:function(){return an},Iy:function(){return be},KM:function(){return Ye},KU:function(){return Fn},MJ:function(){return Ne},Ne:function(){return ct},ON:function(){return Ln},Uj:function(){return Vn},VY:function(){return nn},YO:function(){return It},YX:function(){return Wn},Zn:function(){return y},_g:function(){return z},_k:function(){return dt},c6:function(){return Bt},cr:function(){return a},eV:function(){return Me},fi:function(){return b},gh:function(){return at},hS:function(){return En},iA:function(){return E},j6:function(){return ae},je:function(){return Lt},jj:function(){return de},kS:function(){return $n},o6:function(){return Ue},pO:function(){return Xn},rQ:function(){return ut},sA:function(){return Ze},xm:function(){return vt},xo:function(){return bt},y8:function(){return At},yd:function(){return x}});var Ae=ge(89779),ye=ge(35973),Ke=ge(28706),_e=ge(2453),ze=ge(11320),je=Object.defineProperty,pe=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,ce=(Qe,me,he)=>me in Qe?je(Qe,me,{enumerable:!0,configurable:!0,writable:!0,value:he}):Qe[me]=he,De=(Qe,me)=>{for(var he in me||(me={}))ve.call(me,he)&&ce(Qe,he,me[he]);if(pe)for(var he of pe(me))Le.call(me,he)&&ce(Qe,he,me[he]);return Qe},Pe=(Qe,me,he)=>new Promise((Oe,qe)=>{var pt=An=>{try{_t(he.next(An))}catch(cn){qe(cn)}},lt=An=>{try{_t(he.throw(An))}catch(cn){qe(cn)}},_t=An=>An.done?Oe(An.value):Promise.resolve(An.value).then(pt,lt);_t((he=he.apply(Qe,me)).next())});const Ee=()=>{(0,ye.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,ye.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Qe=>Pe(void 0,null,function*(){Ee(),(yield(0,Ae.YR)(De({},Qe))).status===0&&(yield(0,Ke.QH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Qe.coursesId}/export_couser_info.json`,query:Qe}))),ie()}),a=Qe=>Pe(void 0,null,function*(){const me=yield(0,Ae.yS)(De({},Qe));if(me.status===0)_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_member_act_score`);else{if(me.status===-2)return me;me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_member_act_score`))}}),b=Qe=>Pe(void 0,null,function*(){const me=yield(0,Ae.W0)(De({},Qe));if(me.status===0)_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_score`);else{if(me.status===-4)return me;me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_score`))}}),E=Qe=>Pe(void 0,null,function*(){const me=yield(0,Ae.Nl)(De({},Qe));if(me.status===0)_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(me.status===-4)return me;me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=Qe=>Pe(void 0,null,function*(){const me=yield(0,Ae.IU)(De({},Qe));if(me.status===0)_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/export_star_user`);else{if(me.status===-4)return me;me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/export_star_user`))}}),z=Qe=>Pe(void 0,null,function*(){const me=yield(0,Ae.td)(De({},Qe));if(me.status===0)_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(me.status===-2)return me;if(me.status===-3)(0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_exercise_and_other`);else if(me.status===-4)return me}}),ae=Qe=>Pe(void 0,null,function*(){const me=yield(0,Ae.QX)(De({},Qe));if(me.status===0)_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_homework`);else{if(me.status===-4)return me;me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/course_total_homework`))}}),de=(Qe,me)=>Pe(void 0,null,function*(){const he=yield(0,Ae.o_)(De({},Qe));he.status===0?(_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`)):he.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`))}),we=(Qe,me)=>Pe(void 0,null,function*(){const he=yield(0,Ae.ZL)(De({},Qe));he.status===0?(_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`)):he.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`))}),be=(Qe,me)=>Pe(void 0,null,function*(){const he=yield(0,Ae.aP)(De({},Qe));he.status===0?(_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`)):he.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`))}),Ne=(Qe,me)=>Pe(void 0,null,function*(){const he=yield(0,Ae.vV)(De({},Qe));he.status===0?(_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`)):he.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/${me}`))}),We=Qe=>Pe(void 0,null,function*(){Ee(),(yield exportCourseWorkListAppendix(De({},Qe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Qe.categoryId}/works_list.zip`,query:Qe}))),ie()}),Ze=Qe=>Pe(void 0,null,function*(){Ee(),yield(0,Ke.QH)("",ze.Z.API_SERVER+`/api/polls/${Qe.categoryId}/commit_result.xlsx`),ie()}),at=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Qe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Qe}))}),Ue=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Qe.coursesId}/video_study_statics.xlsx`,query:Qe}))}),Bt=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Qe.coursesId}/export_video_study.xlsx`,query:Qe}))}),Me=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Qe.coursesId}/export_course_students_info.xlsx`,query:Qe}))}),Nt=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Qe}))}),ut=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Qe}))}),At=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Qe}))}),Lt=Qe=>Pe(void 0,null,function*(){const me=yield(0,Ae.Uy)(De({},Qe));me.status===0?(_e.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/exercise_score,export_exercise_users`)):me.status===-3&&((0,ye.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ye.history.push(`/classrooms/${Qe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),dt=Qe=>Pe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/export_records/${Qe.id}.xlsx`,query:Qe}))}),vt=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Qe}))}),et=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Qe==null?void 0:Qe.coursesId}/${Qe.menuKey}_statistic.xlsx?${Qe.checkedList.map(me=>`course_group_id[]=${me}`).join("&")}`,query:Qe}))}),ct=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Qe==null?void 0:Qe.ec_year_id}/ec_training_objectives.xlsx`,query:Qe}))}),an=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)(Qe==null?void 0:Qe.name,(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Qe}))}),En=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Qe==null?void 0:Qe.ec_year_id}/ec_courses.xlsx`,query:Qe}))}),bt=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Qe==null?void 0:Qe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Qe}))}),nn=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Qe}))}),Fn=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Qe.categoryId}/rank_list.xlsx`,query:Qe}))}),$n=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Qe}))}),Ln=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${Qe.id}.json`,query:Qe}))}),Wn=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Qe.categoryId}.json`,query:Qe}))}),It=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/polls/${Qe==null?void 0:Qe.id}/commit_result.json`,query:Qe}))}),Vn=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Qe}))}),Xn=(Qe,me)=>Pe(void 0,null,function*(){yield(0,Ke.FH)(me||"",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Qe==null?void 0:Qe.exercise_id}/consult_exercise.json`,query:Qe}))}),Ye=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/competitions/${Qe==null?void 0:Qe.identifier}/competition_commit_records/member_works.xlsx`,query:Qe}))}),mn=Qe=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:ze.Z.API_SERVER+`/api/courses/${Qe==null?void 0:Qe.coursesId}/group_homeworks/import_group_template.xlsx`,query:Qe}))})},9343:function(qt,Ot,ge){"use strict";ge.d(Ot,{U:function(){return Le}});var Ae=ge(67294),ye=Object.defineProperty,Ke=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(ce,De,Pe)=>De in ce?ye(ce,De,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[De]=Pe,pe=(ce,De)=>{for(var Pe in De||(De={}))_e.call(De,Pe)&&je(ce,Pe,De[Pe]);if(Ke)for(var Pe of Ke(De))ze.call(De,Pe)&&je(ce,Pe,De[Pe]);return ce},ve=(ce,De,Pe)=>new Promise((Ee,ie)=>{var y=E=>{try{b(Pe.next(E))}catch(x){ie(x)}},a=E=>{try{b(Pe.throw(E))}catch(x){ie(x)}},b=E=>E.done?Ee(E.value):Promise.resolve(E.value).then(y,a);b((Pe=Pe.apply(ce,De)).next())});function Le(ce,De){const[Pe,Ee]=(0,Ae.useState)(De),[ie,y]=(0,Ae.useState)(!1),[a,b]=(0,Ae.useState)();return[Pe,ie,(x,z=!1)=>ve(this,null,function*(){const ae=z?De:pe(pe({},Pe),x);y(!0),Ee(ae);const de=yield ce(ae);return y(!1),b(de),de}),a]}},38780:function(qt,Ot){"use strict";function ge(){const Ae=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ye=1;ye{const ze=Ke[_e];ze!==void 0&&(Ae[_e]=ze)})}return Ae}Ot.Z=ge},66367:function(qt,Ot,ge){"use strict";ge.d(Ot,{F:function(){return Ae},Z:function(){return ye}});function Ae(Ke){return Ke!=null&&Ke===Ke.window}function ye(Ke,_e){var ze,je;if(typeof window=="undefined")return 0;const pe=_e?"scrollTop":"scrollLeft";let ve=0;return Ae(Ke)?ve=Ke[_e?"pageYOffset":"pageXOffset"]:Ke instanceof Document?ve=Ke.documentElement[pe]:(Ke instanceof HTMLElement||Ke)&&(ve=Ke[pe]),Ke&&!Ae(Ke)&&typeof ve!="number"&&(ve=(je=((ze=Ke.ownerDocument)!==null&&ze!==void 0?ze:Ke).documentElement)===null||je===void 0?void 0:je[pe]),ve}},57838:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return ye}});var Ae=ge(67294);function ye(){const[,Ke]=Ae.useReducer(_e=>_e+1,0);return Ke}},58375:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return _e}});var Ae=ge(96523);function ye(ze,je,pe,ve){const Le=pe-je;return ze/=ve/2,ze<1?Le/2*ze*ze*ze+je:Le/2*((ze-=2)*ze*ze+2)+je}var Ke=ge(66367);function _e(ze){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:pe=()=>window,callback:ve,duration:Le=450}=je,ce=pe(),De=(0,Ke.Z)(ce,!0),Pe=Date.now(),Ee=()=>{const y=Date.now()-Pe,a=ye(y>Le?Le:y,De,ze,Le);(0,Ke.F)(ce)?ce.scrollTo(window.pageXOffset,a):ce instanceof Document||ce.constructor.name==="HTMLDocument"?ce.documentElement.scrollTop=a:ce.scrollTop=a,y{let{children:At}=ut;const{getPrefixCls:Lt}=ze.useContext(pe.E_),dt=Lt("breadcrumb");return ze.createElement("li",{className:`${dt}-separator`,"aria-hidden":"true"},At===""?At:At||"/")};ce.__ANT_BREADCRUMB_SEPARATOR=!0;var De=ce,Pe=function(ut,At){var Lt={};for(var dt in ut)Object.prototype.hasOwnProperty.call(ut,dt)&&At.indexOf(dt)<0&&(Lt[dt]=ut[dt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,dt=Object.getOwnPropertySymbols(ut);vtAt[vt]||dt)}function ie(ut,At,Lt,dt){if(Lt==null)return null;const{className:vt,onClick:et}=At,ct=Pe(At,["className","onClick"]),an=Object.assign(Object.assign({},(0,_e.Z)(ct,{data:!0,aria:!0})),{onClick:et});return dt!==void 0?ze.createElement("a",Object.assign({},an,{className:ye()(`${ut}-link`,vt),href:dt}),Lt):ze.createElement("span",Object.assign({},an,{className:ye()(`${ut}-link`,vt)}),Lt)}function y(ut,At){return(dt,vt,et,ct,an)=>{if(At)return At(dt,vt,et,ct);const En=Ee(dt,vt);return ie(ut,dt,En,an)}}var a=function(ut,At){var Lt={};for(var dt in ut)Object.prototype.hasOwnProperty.call(ut,dt)&&At.indexOf(dt)<0&&(Lt[dt]=ut[dt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,dt=Object.getOwnPropertySymbols(ut);vt{const{prefixCls:At,separator:Lt="/",children:dt,menu:vt,overlay:et,dropdownProps:ct,href:an}=ut,bt=(nn=>{if(vt||et){const Fn=Object.assign({},ct);if(vt){const $n=vt||{},{items:Ln}=$n,Wn=a($n,["items"]);Fn.menu=Object.assign(Object.assign({},Wn),{items:Ln==null?void 0:Ln.map((It,Vn)=>{var{key:Xn,title:Ye,label:mn,path:Qe}=It,me=a(It,["key","title","label","path"]);let he=mn!=null?mn:Ye;return Qe&&(he=ze.createElement("a",{href:`${an}${Qe}`},he)),Object.assign(Object.assign({},me),{key:Xn!=null?Xn:Vn,label:he})})})}else et&&(Fn.overlay=et);return ze.createElement(Le.Z,Object.assign({placement:"bottom"},Fn),ze.createElement("span",{className:`${At}-overlay-link`},nn,ze.createElement(ve.Z,null)))}return nn})(dt);return bt!=null?ze.createElement(ze.Fragment,null,ze.createElement("li",null,bt),Lt&&ze.createElement(De,null,Lt)):null},E=ut=>{const{prefixCls:At,children:Lt,href:dt}=ut,vt=a(ut,["prefixCls","children","href"]),{getPrefixCls:et}=ze.useContext(pe.E_),ct=et("breadcrumb",At);return ze.createElement(b,Object.assign({},vt,{prefixCls:ct}),ie(ct,vt,Lt,dt))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,z=ge(14747),ae=ge(67968),de=ge(45503);const we=ut=>{const{componentCls:At,iconCls:Lt}=ut;return{[At]:Object.assign(Object.assign({},(0,z.Wf)(ut)),{color:ut.itemColor,fontSize:ut.fontSize,[Lt]:{fontSize:ut.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ut.linkColor,transition:`color ${ut.motionDurationMid}`,padding:`0 ${ut.paddingXXS}px`,borderRadius:ut.borderRadiusSM,height:ut.lineHeight*ut.fontSize,display:"inline-block",marginInline:-ut.marginXXS,"&:hover":{color:ut.linkHoverColor,backgroundColor:ut.colorBgTextHover}},(0,z.Qy)(ut)),"li:last-child":{color:ut.lastItemColor},[`${At}-separator`]:{marginInline:ut.separatorMargin,color:ut.separatorColor},[`${At}-link`]:{[` > ${Lt} + span, > ${Lt} + a `]:{marginInlineStart:ut.marginXXS}},[`${At}-overlay-link`]:{borderRadius:ut.borderRadiusSM,height:ut.lineHeight*ut.fontSize,display:"inline-block",padding:`0 ${ut.paddingXXS}px`,marginInline:-ut.marginXXS,[`> ${Lt}`]:{marginInlineStart:ut.marginXXS,fontSize:ut.fontSizeIcon},"&:hover":{color:ut.linkHoverColor,backgroundColor:ut.colorBgTextHover,a:{color:ut.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ut.componentCls}-rtl`]:{direction:"rtl"}})}};var be=(0,ae.Z)("Breadcrumb",ut=>{const At=(0,de.TS)(ut,{});return[we(At)]},ut=>({itemColor:ut.colorTextDescription,lastItemColor:ut.colorText,iconFontSize:ut.fontSize,linkColor:ut.colorTextDescription,linkHoverColor:ut.colorText,separatorColor:ut.colorTextDescription,separatorMargin:ut.marginXS})),Ne=function(ut,At){var Lt={};for(var dt in ut)Object.prototype.hasOwnProperty.call(ut,dt)&&At.indexOf(dt)<0&&(Lt[dt]=ut[dt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,dt=Object.getOwnPropertySymbols(ut);vt{var{breadcrumbName:ct}=et,an=Ne(et,["breadcrumbName"]);return Object.assign(Object.assign({},an),{title:ct})})}),vt}function Ze(ut,At){return(0,ze.useMemo)(()=>ut||(At?At.map(We):null),[ut,At])}var at=function(ut,At){var Lt={};for(var dt in ut)Object.prototype.hasOwnProperty.call(ut,dt)&&At.indexOf(dt)<0&&(Lt[dt]=ut[dt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,dt=Object.getOwnPropertySymbols(ut);vt{if(At===void 0)return At;let Lt=(At||"").replace(/^\//,"");return Object.keys(ut).forEach(dt=>{Lt=Lt.replace(`:${dt}`,ut[dt])}),Lt},Bt=ut=>{const{prefixCls:At,separator:Lt="/",style:dt,className:vt,rootClassName:et,routes:ct,items:an,children:En,itemRender:bt,params:nn={}}=ut,Fn=at(ut,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:$n,direction:Ln,breadcrumb:Wn}=ze.useContext(pe.E_);let It;const Vn=$n("breadcrumb",At),[Xn,Ye]=be(Vn),mn=Ze(an,ct),Qe=y(Vn,bt);if(mn&&mn.length>0){const Oe=[],qe=an||ct;It=mn.map((pt,lt)=>{const{path:_t,key:An,type:cn,menu:Kn,overlay:St,onClick:zt,className:Vt,separator:Cn,dropdownProps:yt}=pt,Un=Ue(nn,_t);Un!==void 0&&Oe.push(Un);const kt=An!=null?An:lt;if(cn==="separator")return ze.createElement(De,{key:kt},Cn);const en={},Qn=lt===mn.length-1;Kn?en.menu=Kn:St&&(en.overlay=St);let{href:Mn}=pt;return Oe.length&&Un!==void 0&&(Mn=`#/${Oe.join("/")}`),ze.createElement(b,Object.assign({key:kt},en,(0,_e.Z)(pt,{data:!0,aria:!0}),{className:Vt,dropdownProps:yt,href:Mn,separator:Qn?"":Lt,onClick:zt,prefixCls:Vn}),Qe(pt,nn,qe,Oe,Mn))})}else if(En){const Oe=(0,Ke.Z)(En).length;It=(0,Ke.Z)(En).map((qe,pt)=>{if(!qe)return qe;const lt=pt===Oe-1;return(0,je.Tm)(qe,{separator:lt?"":Lt,key:pt})})}const me=ye()(Vn,Wn==null?void 0:Wn.className,{[`${Vn}-rtl`]:Ln==="rtl"},vt,et,Ye),he=Object.assign(Object.assign({},Wn==null?void 0:Wn.style),dt);return Xn(ze.createElement("nav",Object.assign({className:me,style:he},Fn),ze.createElement("ol",null,It)))};Bt.Item=x,Bt.Separator=De;var Me=Bt,Nt=Me},84567:function(qt,Ot,ge){"use strict";ge.d(Ot,{default:function(){return be}});var Ae=ge(94184),ye=ge.n(Ae),Ke=ge(95860),_e=ge(67294),ze=ge(53124),je=ge(98866),pe=ge(65223),Le=_e.createContext(null),ce=ge(63185),De=ge(45353),Pe=ge(92429),Ee=function(Ne,We){var Ze={};for(var at in Ne)Object.prototype.hasOwnProperty.call(Ne,at)&&We.indexOf(at)<0&&(Ze[at]=Ne[at]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,at=Object.getOwnPropertySymbols(Ne);Ue{var Ze;const{prefixCls:at,className:Ue,rootClassName:Bt,children:Me,indeterminate:Nt=!1,style:ut,onMouseEnter:At,onMouseLeave:Lt,skipGroup:dt=!1,disabled:vt}=Ne,et=Ee(Ne,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ct,direction:an,checkbox:En}=_e.useContext(ze.E_),bt=_e.useContext(Le),{isFormItemInput:nn}=_e.useContext(pe.aM),Fn=_e.useContext(je.Z),$n=(Ze=(bt==null?void 0:bt.disabled)||vt)!==null&&Ze!==void 0?Ze:Fn,Ln=_e.useRef(et.value);_e.useEffect(()=>{bt==null||bt.registerValue(et.value)},[]),_e.useEffect(()=>{if(!dt)return et.value!==Ln.current&&(bt==null||bt.cancelValue(Ln.current),bt==null||bt.registerValue(et.value),Ln.current=et.value),()=>bt==null?void 0:bt.cancelValue(et.value)},[et.value]);const Wn=ct("checkbox",at),[It,Vn]=(0,ce.ZP)(Wn),Xn=Object.assign({},et);bt&&!dt&&(Xn.onChange=function(){et.onChange&&et.onChange.apply(et,arguments),bt.toggleOption&&bt.toggleOption({label:Me,value:et.value})},Xn.name=bt.name,Xn.checked=bt.value.includes(et.value));const Ye=ye()(`${Wn}-wrapper`,{[`${Wn}-rtl`]:an==="rtl",[`${Wn}-wrapper-checked`]:Xn.checked,[`${Wn}-wrapper-disabled`]:$n,[`${Wn}-wrapper-in-form-item`]:nn},En==null?void 0:En.className,Ue,Bt,Vn),mn=ye()({[`${Wn}-indeterminate`]:Nt},Pe.A,Vn),Qe=Nt?"mixed":void 0;return It(_e.createElement(De.Z,{component:"Checkbox",disabled:$n},_e.createElement("label",{className:Ye,style:Object.assign(Object.assign({},En==null?void 0:En.style),ut),onMouseEnter:At,onMouseLeave:Lt},_e.createElement(Ke.Z,Object.assign({"aria-checked":Qe},Xn,{prefixCls:Wn,className:mn,disabled:$n,ref:We})),Me!==void 0&&_e.createElement("span",null,Me))))};var a=_e.forwardRef(ie),b=ge(74902),E=ge(10366),x=function(Ne,We){var Ze={};for(var at in Ne)Object.prototype.hasOwnProperty.call(Ne,at)&&We.indexOf(at)<0&&(Ze[at]=Ne[at]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,at=Object.getOwnPropertySymbols(Ne);Ue{const{defaultValue:Ze,children:at,options:Ue=[],prefixCls:Bt,className:Me,rootClassName:Nt,style:ut,onChange:At}=Ne,Lt=x(Ne,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:dt,direction:vt}=_e.useContext(ze.E_),[et,ct]=_e.useState(Lt.value||Ze||[]),[an,En]=_e.useState([]);_e.useEffect(()=>{"value"in Lt&&ct(Lt.value||[])},[Lt.value]);const bt=_e.useMemo(()=>Ue.map(me=>typeof me=="string"||typeof me=="number"?{label:me,value:me}:me),[Ue]),nn=me=>{En(he=>he.filter(Oe=>Oe!==me))},Fn=me=>{En(he=>[].concat((0,b.Z)(he),[me]))},$n=me=>{const he=et.indexOf(me.value),Oe=(0,b.Z)(et);he===-1?Oe.push(me.value):Oe.splice(he,1),"value"in Lt||ct(Oe),At==null||At(Oe.filter(qe=>an.includes(qe)).sort((qe,pt)=>{const lt=bt.findIndex(An=>An.value===qe),_t=bt.findIndex(An=>An.value===pt);return lt-_t}))},Ln=dt("checkbox",Bt),Wn=`${Ln}-group`,[It,Vn]=(0,ce.ZP)(Ln),Xn=(0,E.Z)(Lt,["value","disabled"]),Ye=Ue.length?bt.map(me=>_e.createElement(a,{prefixCls:Ln,key:me.value.toString(),disabled:"disabled"in me?me.disabled:Lt.disabled,value:me.value,checked:et.includes(me.value),onChange:me.onChange,className:`${Wn}-item`,style:me.style,title:me.title},me.label)):at,mn={toggleOption:$n,value:et,disabled:Lt.disabled,name:Lt.name,registerValue:Fn,cancelValue:nn},Qe=ye()(Wn,{[`${Wn}-rtl`]:vt==="rtl"},Me,Nt,Vn);return It(_e.createElement("div",Object.assign({className:Qe,style:ut},Xn,{ref:We}),_e.createElement(Le.Provider,{value:mn},Ye)))},ae=_e.forwardRef(z);var de=_e.memo(ae);const we=a;we.Group=de,we.__ANT_CHECKBOX=!0;var be=we},63185:function(qt,Ot,ge){"use strict";ge.d(Ot,{C2:function(){return ze}});var Ae=ge(14747),ye=ge(45503),Ke=ge(67968);const _e=je=>{const{checkboxCls:pe}=je,ve=`${pe}-wrapper`;return[{[`${pe}-group`]:Object.assign(Object.assign({},(0,Ae.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[ve]:Object.assign(Object.assign({},(0,Ae.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ve}`]:{marginInlineStart:0},[`&${ve}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[pe]:Object.assign(Object.assign({},(0,Ae.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.borderRadiusSM,alignSelf:"center",[`${pe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${pe}-inner`]:Object.assign({},(0,Ae.oN)(je))},[`${pe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:je.checkboxSize,height:je.checkboxSize,direction:"ltr",backgroundColor:je.colorBgContainer,border:`${je.lineWidth}px ${je.lineType} ${je.colorBorder}`,borderRadius:je.borderRadiusSM,borderCollapse:"separate",transition:`all ${je.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:je.checkboxSize/14*5,height:je.checkboxSize/14*8,border:`${je.lineWidthBold}px solid ${je.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${je.motionDurationFast} ${je.motionEaseInBack}, opacity ${je.motionDurationFast}`}},"& + span":{paddingInlineStart:je.paddingXS,paddingInlineEnd:je.paddingXS}})},{[` ${ve}:not(${ve}-disabled), ${pe}:not(${pe}-disabled) `]:{[`&:hover ${pe}-inner`]:{borderColor:je.colorPrimary}},[`${ve}:not(${ve}-disabled)`]:{[`&:hover ${pe}-checked:not(${pe}-disabled) ${pe}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${pe}-checked:not(${pe}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${pe}-checked`]:{[`${pe}-inner`]:{backgroundColor:je.colorPrimary,borderColor:je.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${je.motionDurationMid} ${je.motionEaseOutBack} ${je.motionDurationFast}`}}},[` ${ve}-checked:not(${ve}-disabled), ${pe}-checked:not(${pe}-disabled) `]:{[`&:hover ${pe}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[pe]:{"&-indeterminate":{[`${pe}-inner`]:{backgroundColor:je.colorBgContainer,borderColor:je.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:je.fontSizeLG/2,height:je.fontSizeLG/2,backgroundColor:je.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ve}-disabled`]:{cursor:"not-allowed"},[`${pe}-disabled`]:{[`&, ${pe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${pe}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${pe}-indeterminate ${pe}-inner::after`]:{background:je.colorTextDisabled}}}]};function ze(je,pe){const ve=(0,ye.TS)(pe,{checkboxCls:`.${je}`,checkboxSize:pe.controlInteractiveSize});return[_e(ve)]}Ot.ZP=(0,Ke.Z)("Checkbox",(je,pe)=>{let{prefixCls:ve}=pe;return[ze(ve,je)]})},96074:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return Pe}});var Ae=ge(94184),ye=ge.n(Ae),Ke=ge(67294),_e=ge(53124),ze=ge(14747),je=ge(67968),pe=ge(45503);const ve=Ee=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:b,textPaddingInline:E,orientationMargin:x,verticalMarginInline:z}=Ee;return{[ie]:Object.assign(Object.assign({},(0,ze.Wf)(Ee)),{borderBlockStart:`${b}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,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${ie}-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${ie}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${b}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:b,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:Ee.colorText,fontWeight:"normal",fontSize:Ee.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:y}}})}};var Le=(0,je.Z)("Divider",Ee=>{const ie=(0,pe.TS)(Ee,{dividerHorizontalWithTextGutterMargin:Ee.margin,dividerHorizontalGutterMargin:Ee.marginLG,sizePaddingEdgeHorizontal:0});return[ve(ie)]},Ee=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ee.marginXS})),ce=function(Ee,ie){var y={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&ie.indexOf(a)<0&&(y[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Ee);b{const{getPrefixCls:ie,direction:y,divider:a}=Ke.useContext(_e.E_),{prefixCls:b,type:E="horizontal",orientation:x="center",orientationMargin:z,className:ae,rootClassName:de,children:we,dashed:be,plain:Ne,style:We}=Ee,Ze=ce(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),at=ie("divider",b),[Ue,Bt]=Le(at),Me=x.length>0?`-${x}`:x,Nt=!!we,ut=x==="left"&&z!=null,At=x==="right"&&z!=null,Lt=ye()(at,a==null?void 0:a.className,Bt,`${at}-${E}`,{[`${at}-with-text`]:Nt,[`${at}-with-text${Me}`]:Nt,[`${at}-dashed`]:!!be,[`${at}-plain`]:!!Ne,[`${at}-rtl`]:y==="rtl",[`${at}-no-default-orientation-margin-left`]:ut,[`${at}-no-default-orientation-margin-right`]:At},ae,de),dt=Ke.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),vt=Object.assign(Object.assign({},ut&&{marginLeft:dt}),At&&{marginRight:dt});return Ue(Ke.createElement("div",Object.assign({className:Lt,style:Object.assign(Object.assign({},a==null?void 0:a.style),We)},Ze,{role:"separator"}),we&&E!=="vertical"&&Ke.createElement("span",{className:`${at}-inner-text`,style:vt},we)))}},35874:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return he}});var Ae=ge(67294),ye=ge(91034),Ke=ge(94184),_e=ge.n(Ke),ze=ge(87462),je=ge(4942),pe=ge(97685),ve=ge(45987),Le=ge(62709),ce=ge(71002),De=ge(12060);function Pe(Oe,qe,pt){var lt=React.useRef({});return(!("value"in lt.current)||pt(lt.current.condition,qe))&&(lt.current.value=Oe(),lt.current.condition=qe),lt.current.value}function Ee(Oe,qe){typeof Oe=="function"?Oe(qe):(0,ce.Z)(Oe)==="object"&&Oe&&"current"in Oe&&(Oe.current=qe)}function ie(){for(var Oe=arguments.length,qe=new Array(Oe),pt=0;pt=b.F1&&pt<=b.F12)return!1;switch(pt){case b.ALT:case b.CAPS_LOCK:case b.CONTEXT_MENU:case b.CTRL:case b.DOWN:case b.END:case b.ESC:case b.HOME:case b.INSERT:case b.LEFT:case b.MAC_FF_META:case b.META:case b.NUMLOCK:case b.NUM_CENTER:case b.PAGE_DOWN:case b.PAGE_UP:case b.PAUSE:case b.PRINT_SCREEN:case b.RIGHT:case b.SHIFT:case b.UP:case b.WIN_KEY:case b.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(qe){if(qe>=b.ZERO&&qe<=b.NINE||qe>=b.NUM_ZERO&&qe<=b.NUM_MULTIPLY||qe>=b.A&&qe<=b.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&qe===0)return!0;switch(qe){case b.SPACE:case b.QUESTION_MARK:case b.NUM_PLUS:case b.NUM_MINUS:case b.NUM_PERIOD:case b.NUM_DIVISION:case b.SEMICOLON:case b.DASH:case b.EQUALS:case b.COMMA:case b.PERIOD:case b.SLASH:case b.APOSTROPHE:case b.SINGLE_QUOTE:case b.OPEN_SQUARE_BRACKET:case b.BACKSLASH:case b.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},E=b,x=function(qe){return+setTimeout(qe,16)},z=function(qe){return clearTimeout(qe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(x=function(qe){return window.requestAnimationFrame(qe)},z=function(qe){return window.cancelAnimationFrame(qe)});var ae=0,de=new Map;function we(Oe){de.delete(Oe)}var be=function(qe){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ae+=1;var lt=ae;function _t(An){if(An===0)we(lt),qe();else{var cn=x(function(){_t(An-1)});de.set(lt,cn)}}return _t(pt),lt};be.cancel=function(Oe){var qe=de.get(Oe);return we(qe),z(qe)};var Ne=be,We=E.ESC,Ze=E.TAB;function at(Oe){var qe=Oe.visible,pt=Oe.triggerRef,lt=Oe.onVisibleChange,_t=Oe.autoFocus,An=Oe.overlayRef,cn=Ae.useRef(!1),Kn=function(){if(qe){var Cn,yt;(Cn=pt.current)===null||Cn===void 0||(yt=Cn.focus)===null||yt===void 0||yt.call(Cn),lt==null||lt(!1)}},St=function(){var Cn;return(Cn=An.current)!==null&&Cn!==void 0&&Cn.focus?(An.current.focus(),cn.current=!0,!0):!1},zt=function(Cn){switch(Cn.keyCode){case We:Kn();break;case Ze:{var yt=!1;cn.current||(yt=St()),yt?Cn.preventDefault():Kn();break}}};Ae.useEffect(function(){return qe?(window.addEventListener("keydown",zt),_t&&Ne(St,3),function(){window.removeEventListener("keydown",zt),cn.current=!1}):function(){cn.current=!1}},[qe])}var Ue=(0,Ae.forwardRef)(function(Oe,qe){var pt=Oe.overlay,lt=Oe.arrow,_t=Oe.prefixCls,An=(0,Ae.useMemo)(function(){var Kn;return typeof pt=="function"?Kn=pt():Kn=pt,Kn},[pt]),cn=ie(qe,An==null?void 0:An.ref);return Ae.createElement(Ae.Fragment,null,lt&&Ae.createElement("div",{className:"".concat(_t,"-arrow")}),Ae.cloneElement(An,{ref:a(An)?cn:void 0}))}),Bt=Ue,Me={adjustX:1,adjustY:1},Nt=[0,0],ut={topLeft:{points:["bl","tl"],overflow:Me,offset:[0,-4],targetOffset:Nt},top:{points:["bc","tc"],overflow:Me,offset:[0,-4],targetOffset:Nt},topRight:{points:["br","tr"],overflow:Me,offset:[0,-4],targetOffset:Nt},bottomLeft:{points:["tl","bl"],overflow:Me,offset:[0,4],targetOffset:Nt},bottom:{points:["tc","bc"],overflow:Me,offset:[0,4],targetOffset:Nt},bottomRight:{points:["tr","br"],overflow:Me,offset:[0,4],targetOffset:Nt}},At=ut,Lt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function dt(Oe,qe){var pt,lt=Oe.arrow,_t=lt===void 0?!1:lt,An=Oe.prefixCls,cn=An===void 0?"rc-dropdown":An,Kn=Oe.transitionName,St=Oe.animation,zt=Oe.align,Vt=Oe.placement,Cn=Vt===void 0?"bottomLeft":Vt,yt=Oe.placements,Un=yt===void 0?At:yt,kt=Oe.getPopupContainer,en=Oe.showAction,Qn=Oe.hideAction,Mn=Oe.overlayClassName,er=Oe.overlayStyle,br=Oe.visible,_r=Oe.trigger,Vr=_r===void 0?["hover"]:_r,hr=Oe.autoFocus,gr=Oe.overlay,Sr=Oe.children,qr=Oe.onVisibleChange,$r=(0,ve.Z)(Oe,Lt),io=Ae.useState(),Ba=(0,pe.Z)(io,2),Io=Ba[0],po=Ba[1],Ea="visible"in Oe?br:Io,sn=Ae.useRef(null),lo=Ae.useRef(null),wa=Ae.useRef(null);Ae.useImperativeHandle(qe,function(){return sn.current});var wi=function(ea){po(ea),qr==null||qr(ea)};at({visible:Ea,triggerRef:wa,onVisibleChange:wi,autoFocus:hr,overlayRef:lo});var jo=function(ea){var Yr=Oe.onOverlayClick;po(!1),Yr&&Yr(ea)},Ia=function(){return Ae.createElement(Bt,{ref:lo,overlay:gr,prefixCls:cn,arrow:_t})},Di=function(){return typeof gr=="function"?Ia:Ia()},as=function(){var ea=Oe.minOverlayWidthMatchTrigger,Yr=Oe.alignPoint;return"minOverlayWidthMatchTrigger"in Oe?ea:!Yr},un=function(){var ea=Oe.openClassName;return ea!==void 0?ea:"".concat(cn,"-open")},Bn=Ae.cloneElement(Sr,{className:_e()((pt=Sr.props)===null||pt===void 0?void 0:pt.className,Ea&&un()),ref:a(Sr)?ie(wa,Sr.ref):void 0}),Pn=Qn;return!Pn&&Vr.indexOf("contextMenu")!==-1&&(Pn=["click"]),Ae.createElement(Le.Z,(0,ze.Z)({builtinPlacements:Un},$r,{prefixCls:cn,ref:sn,popupClassName:_e()(Mn,(0,je.Z)({},"".concat(cn,"-show-arrow"),_t)),popupStyle:er,action:Vr,showAction:en,hideAction:Pn,popupPlacement:Cn,popupAlign:zt,popupTransitionName:Kn,popupAnimation:St,popupVisible:Ea,stretch:as()?"minWidth":"",popup:Di(),onPopupVisibleChange:wi,onPopupClick:jo,getPopupContainer:kt}),Bn)}var vt=Ae.forwardRef(dt),et=vt,ct=ge(60276),an=ge(5663),En=ge(10366),bt=ge(80636),nn=ge(8745),Fn=ge(96159),$n=ge(53124),Ln=ge(68508),Wn=ge(76529),It=ge(46605),Vn=ge(66748);const Xn=null,Ye=Oe=>{const{menu:qe,arrow:pt,prefixCls:lt,children:_t,trigger:An,disabled:cn,dropdownRender:Kn,getPopupContainer:St,overlayClassName:zt,rootClassName:Vt,open:Cn,onOpenChange:yt,visible:Un,onVisibleChange:kt,mouseEnterDelay:en=.15,mouseLeaveDelay:Qn=.1,autoAdjustOverflow:Mn=!0,placement:er="",overlay:br,transitionName:_r}=Oe,{getPopupContainer:Vr,getPrefixCls:hr,direction:gr}=Ae.useContext($n.E_),Sr=Ae.useMemo(()=>{const Bn=hr();return _r!==void 0?_r:er.includes("top")?`${Bn}-slide-down`:`${Bn}-slide-up`},[hr,er,_r]),qr=Ae.useMemo(()=>er?er.includes("Center")?er.slice(0,er.indexOf("Center")):er:gr==="rtl"?"bottomRight":"bottomLeft",[er,gr]),$r=hr("dropdown",lt),[io,Ba]=(0,Vn.Z)($r),[,Io]=(0,It.Z)(),po=Ae.Children.only(_t),Ea=(0,Fn.Tm)(po,{className:_e()(`${$r}-trigger`,{[`${$r}-rtl`]:gr==="rtl"},po.props.className),disabled:cn}),sn=cn?[]:An;let lo;sn&&sn.includes("contextMenu")&&(lo=!0);const[wa,wi]=(0,an.Z)(!1,{value:Cn!=null?Cn:Un}),jo=(0,ct.useEvent)(Bn=>{yt==null||yt(Bn),kt==null||kt(Bn),wi(Bn)}),Ia=_e()(zt,Vt,Ba,{[`${$r}-rtl`]:gr==="rtl"}),Di=(0,bt.Z)({arrowPointAtCenter:typeof pt=="object"&&pt.pointAtCenter,autoAdjustOverflow:Mn,offset:Io.marginXXS,arrowWidth:pt?Io.sizePopupArrow:0,borderRadius:Io.borderRadius}),as=Ae.useCallback(()=>{wi(!1)},[]),un=()=>{let Bn;return qe!=null&&qe.items?Bn=Ae.createElement(Ln.default,Object.assign({},qe)):typeof br=="function"?Bn=br():Bn=br,Kn&&(Bn=Kn(Bn)),Bn=Ae.Children.only(typeof Bn=="string"?Ae.createElement("span",null,Bn):Bn),Ae.createElement(Wn.J,{prefixCls:`${$r}-menu`,expandIcon:Ae.createElement("span",{className:`${$r}-menu-submenu-arrow`},Ae.createElement(ye.Z,{className:`${$r}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:as,validator:Pn=>{let{mode:yr}=Pn}},Bn)};return io(Ae.createElement(et,Object.assign({alignPoint:lo},(0,En.Z)(Oe,["rootClassName"]),{mouseEnterDelay:en,mouseLeaveDelay:Qn,visible:wa,builtinPlacements:Di,arrow:!!pt,overlayClassName:Ia,prefixCls:$r,getPopupContainer:St||Vr,transitionName:Sr,trigger:sn,overlay:un,placement:qr,onVisibleChange:jo}),Ea))};function mn(Oe){return Object.assign(Object.assign({},Oe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Qe=(0,nn.Z)(Ye,"dropdown",Oe=>Oe,mn),me=Oe=>Ae.createElement(Qe,Object.assign({},Oe),Ae.createElement("span",null));Ye._InternalPanelDoNotUseOrYouWillBeFired=me;var he=Ye},85418:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return y}});var Ae=ge(35874),ye=ge(94184),Ke=ge.n(ye),_e=ge(67294),ze=ge(25877),je=ge(71577),pe=ge(53124),ve=ge(93421),Le=ge(4173),ce=ge(66748),De=function(a,b){var E={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(E[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(a);z{const{getPopupContainer:b,getPrefixCls:E,direction:x}=_e.useContext(pe.E_),{prefixCls:z,type:ae="default",danger:de,disabled:we,loading:be,onClick:Ne,htmlType:We,children:Ze,className:at,menu:Ue,arrow:Bt,autoFocus:Me,overlay:Nt,trigger:ut,align:At,open:Lt,onOpenChange:dt,placement:vt,getPopupContainer:et,href:ct,icon:an=_e.createElement(ze.Z,null),title:En,buttonsRender:bt=cn=>cn,mouseEnterDelay:nn,mouseLeaveDelay:Fn,overlayClassName:$n,overlayStyle:Ln,destroyPopupOnHide:Wn,dropdownRender:It}=a,Vn=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"]),Xn=E("dropdown",z),Ye=`${Xn}-button`,[mn,Qe]=(0,ce.Z)(Xn),me={menu:Ue,arrow:Bt,autoFocus:Me,align:At,disabled:we,trigger:we?[]:ut,onOpenChange:dt,getPopupContainer:et||b,mouseEnterDelay:nn,mouseLeaveDelay:Fn,overlayClassName:$n,overlayStyle:Ln,destroyPopupOnHide:Wn,dropdownRender:It},{compactSize:he,compactItemClassnames:Oe}=(0,Le.ri)(Xn,x),qe=Ke()(Ye,Oe,at,Qe);"overlay"in a&&(me.overlay=Nt),"open"in a&&(me.open=Lt),"placement"in a?me.placement=vt:me.placement=x==="rtl"?"bottomLeft":"bottomRight";const pt=_e.createElement(je.ZP,{type:ae,danger:de,disabled:we,loading:be,onClick:Ne,htmlType:We,href:ct,title:En},Ze),lt=_e.createElement(je.ZP,{type:ae,danger:de,icon:an}),[_t,An]=bt([pt,lt]);return mn(_e.createElement(ve.Z.Compact,Object.assign({className:qe,size:he,block:!0},Vn),_t,_e.createElement(Ae.Z,Object.assign({},me),An)))};Pe.__ANT_BUTTON=!0;var Ee=Pe;const ie=Ae.Z;ie.Button=Ee;var y=ie},66748:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return De}});var Ae=ge(14747),ye=ge(67771),Ke=ge(33297),_e=ge(50438),ze=ge(97414),je=ge(67968),pe=ge(45503),Le=Pe=>{const{componentCls:Ee,menuCls:ie,colorError:y,colorTextLightSolid:a}=Pe,b=`${ie}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${ie} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ce=Pe=>{const{componentCls:Ee,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ae,fontSize:de,dropdownEdgeChildPadding:we,colorTextDisabled:be,fontSizeIcon:Ne,controlPaddingHorizontal:We,colorBgElevated:Ze}=Pe;return[{[Ee]:Object.assign(Object.assign({},(0,Ae.Wf)(Pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:Ne}},[`${Ee}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:Ne},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${Ee}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomRight`]:{animationName:ye.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topRight`]:{animationName:ye.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:ye.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:ye.ly}})},(0,ze.ZP)(Pe,{colorBg:Ze,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:we,listStyleType:"none",backgroundColor:Ze,backgroundClip:"padding-box",borderRadius:Pe.borderRadiusLG,outline:"none",boxShadow:Pe.boxShadowSecondary},(0,Ae.Qy)(Pe)),{[`${ie}-item-group-title`]:{padding:`${ae}px ${We}px`,color:Pe.colorTextDescription,transition:`all ${z}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:de,marginInlineEnd:Pe.marginXS,fontSize:Pe.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${We}px`,color:Pe.colorText,fontWeight:"normal",fontSize:de,lineHeight:Pe.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Pe.controlItemBgHover}},(0,Ae.Qy)(Pe)),{"&-selected":{color:Pe.colorPrimary,backgroundColor:Pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Pe.controlItemBgActiveHover}},"&-disabled":{color:be,cursor:"not-allowed","&:hover":{color:be,backgroundColor:Ze,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Pe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Pe.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Pe.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Pe.colorTextDescription,fontSize:Ne,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${Pe.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:We+Pe.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:be,backgroundColor:Ze,cursor:"not-allowed"}},[`${ie}-submenu-selected ${Ee}-menu-submenu-title`]:{color:Pe.colorPrimary}})}},[(0,ye.oN)(Pe,"slide-up"),(0,ye.oN)(Pe,"slide-down"),(0,Ke.Fm)(Pe,"move-up"),(0,Ke.Fm)(Pe,"move-down"),(0,_e._y)(Pe,"zoom-big")]]};var De=(0,je.Z)("Dropdown",(Pe,Ee)=>{let{rootPrefixCls:ie}=Ee;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:z,componentCls:ae,borderRadiusLG:de}=Pe,we=(b-E*x)/2,{dropdownArrowOffset:be}=(0,ze.fS)({contentRadius:de}),Ne=(0,pe.TS)(Pe,{menuCls:`${ae}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:be,dropdownPaddingVertical:we,dropdownEdgeChildPadding:z});return[ce(Ne),Le(Ne)]},Pe=>({zIndexPopup:Pe.zIndexPopupBase+50}))},25378:function(qt,Ot,ge){"use strict";var Ae=ge(67294),ye=ge(14075),Ke=ge(57838),_e=ge(74443);function ze(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const pe=(0,Ae.useRef)({}),ve=(0,Ke.Z)(),Le=(0,_e.ZP)();return(0,ye.Z)(()=>{const ce=Le.subscribe(De=>{pe.current=De,je&&ve()});return()=>Le.unsubscribe(ce)},[]),pe.current}Ot.Z=ze},71322:function(qt,Ot,ge){"use strict";ge.d(Ot,{D:function(){return x},Z:function(){return de}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(be,Ne){return ye.createElement(ze.Z,(0,Ae.Z)({},be,{ref:Ne,icon:_e}))},pe=ye.forwardRef(je),ve=ge(22751),Le=ge(91034),ce=ge(94184),De=ge.n(ce),Pe=ge(10366),ie=we=>!isNaN(parseFloat(we))&&isFinite(we),y=ge(53124),a=ge(84321),b=function(we,be){var Ne={};for(var We in we)Object.prototype.hasOwnProperty.call(we,We)&&be.indexOf(We)<0&&(Ne[We]=we[We]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,We=Object.getOwnPropertySymbols(we);Ze{let we=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return we+=1,`${be}${we}`}})();var de=ye.forwardRef((we,be)=>{const{prefixCls:Ne,className:We,trigger:Ze,children:at,defaultCollapsed:Ue=!1,theme:Bt="dark",style:Me={},collapsible:Nt=!1,reverseArrow:ut=!1,width:At=200,collapsedWidth:Lt=80,zeroWidthTriggerStyle:dt,breakpoint:vt,onCollapse:et,onBreakpoint:ct}=we,an=b(we,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:En}=(0,ye.useContext)(a.Gs),[bt,nn]=(0,ye.useState)("collapsed"in we?we.collapsed:Ue),[Fn,$n]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{"collapsed"in we&&nn(we.collapsed)},[we.collapsed]);const Ln=(mn,Qe)=>{"collapsed"in we||nn(mn),et==null||et(mn,Qe)},Wn=(0,ye.useRef)();Wn.current=mn=>{$n(mn.matches),ct==null||ct(mn.matches),bt!==mn.matches&&Ln(mn.matches,"responsive")},(0,ye.useEffect)(()=>{function mn(me){return Wn.current(me)}let Qe;if(typeof window!="undefined"){const{matchMedia:me}=window;if(me&&vt&&vt in E){Qe=me(`(max-width: ${E[vt]})`);try{Qe.addEventListener("change",mn)}catch(he){Qe.addListener(mn)}mn(Qe)}}return()=>{try{Qe==null||Qe.removeEventListener("change",mn)}catch(me){Qe==null||Qe.removeListener(mn)}}},[vt]),(0,ye.useEffect)(()=>{const mn=z("ant-sider-");return En.addSider(mn),()=>En.removeSider(mn)},[]);const It=()=>{Ln(!bt,"clickTrigger")},{getPrefixCls:Vn}=(0,ye.useContext)(y.E_),Xn=()=>{const mn=Vn("layout-sider",Ne),Qe=(0,Pe.Z)(an,["collapsed"]),me=bt?Lt:At,he=ie(me)?`${me}px`:String(me),Oe=parseFloat(String(Lt||0))===0?ye.createElement("span",{onClick:It,className:De()(`${mn}-zero-width-trigger`,`${mn}-zero-width-trigger-${ut?"right":"left"}`),style:dt},Ze||ye.createElement(pe,null)):null,lt={expanded:ut?ye.createElement(Le.Z,null):ye.createElement(ve.Z,null),collapsed:ut?ye.createElement(ve.Z,null):ye.createElement(Le.Z,null)}[bt?"collapsed":"expanded"],_t=Ze!==null?Oe||ye.createElement("div",{className:`${mn}-trigger`,onClick:It,style:{width:he}},Ze||lt):null,An=Object.assign(Object.assign({},Me),{flex:`0 0 ${he}`,maxWidth:he,minWidth:he,width:he}),cn=De()(mn,`${mn}-${Bt}`,{[`${mn}-collapsed`]:!!bt,[`${mn}-has-trigger`]:Nt&&Ze!==null&&!Oe,[`${mn}-below`]:!!Fn,[`${mn}-zero-width`]:parseFloat(he)===0},We);return ye.createElement("aside",Object.assign({className:cn},Qe,{style:An,ref:be}),ye.createElement("div",{className:`${mn}-children`},at),Nt||Fn&&Oe?_t:null)},Ye=ye.useMemo(()=>({siderCollapsed:bt}),[bt]);return ye.createElement(x.Provider,{value:Ye},Xn())})},84321:function(qt,Ot,ge){"use strict";ge.d(Ot,{VY:function(){return z},$_:function(){return x},h4:function(){return E},Gs:function(){return Ee},ZP:function(){return ae}});var Ae=ge(74902),ye=ge(94184),Ke=ge.n(ye),_e=ge(10366),ze=ge(67294),je=ge(53124),pe=ge(67968),Le=de=>{const{componentCls:we,bodyBg:be,lightSiderBg:Ne,lightTriggerBg:We,lightTriggerColor:Ze}=de;return{[`${we}-sider-light`]:{background:Ne,[`${we}-sider-trigger`]:{color:Ze,background:We},[`${we}-sider-zero-width-trigger`]:{color:Ze,background:We,border:`1px solid ${be}`,borderInlineStart:0}}}};const ce=de=>{const{antCls:we,componentCls:be,colorText:Ne,triggerColor:We,footerBg:Ze,triggerBg:at,headerHeight:Ue,headerPadding:Bt,headerColor:Me,footerPadding:Nt,triggerHeight:ut,zeroTriggerHeight:At,zeroTriggerWidth:Lt,motionDurationMid:dt,motionDurationSlow:vt,fontSize:et,borderRadius:ct,bodyBg:an,headerBg:En,siderBg:bt}=de;return{[be]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${be}-has-sider`]:{flexDirection:"row",[`> ${be}, > ${be}-content`]:{width:0}},[`${be}-header, &${be}-footer`]:{flex:"0 0 auto"},[`${be}-sider`]:{position:"relative",minWidth:0,background:bt,transition:`all ${dt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${we}-menu${we}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ut},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ut,color:We,lineHeight:`${ut}px`,textAlign:"center",background:at,cursor:"pointer",transition:`all ${dt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ue,insetInlineEnd:-Lt,zIndex:1,width:Lt,height:At,color:We,fontSize:de.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:bt,borderStartStartRadius:0,borderStartEndRadius:ct,borderEndEndRadius:ct,borderEndStartRadius:0,cursor:"pointer",transition:`background ${vt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${vt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Lt,borderStartStartRadius:ct,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ct}}}}},Le(de)),{"&-rtl":{direction:"rtl"}}),[`${be}-header`]:{height:Ue,padding:Bt,color:Me,lineHeight:`${Ue}px`,background:En,[`${we}-menu`]:{lineHeight:"inherit"}},[`${be}-footer`]:{padding:Nt,color:Ne,fontSize:et,background:Ze},[`${be}-content`]:{flex:"auto",minHeight:0}}};var De=(0,pe.Z)("Layout",de=>[ce(de)],de=>{const{colorBgLayout:we,controlHeight:be,controlHeightLG:Ne,colorText:We,controlHeightSM:Ze,marginXXS:at,colorTextLightSolid:Ue,colorBgContainer:Bt}=de,Me=Ne*1.25;return{colorBgHeader:"#001529",colorBgBody:we,colorBgTrigger:"#002140",bodyBg:we,headerBg:"#001529",headerHeight:be*2,headerPadding:`0 ${Me}px`,headerColor:We,footerPadding:`${Ze}px ${Me}px`,footerBg:we,siderBg:"#001529",triggerHeight:Ne+at*2,triggerBg:"#002140",triggerColor:Ue,zeroTriggerWidth:Ne,zeroTriggerHeight:Ne,lightSiderBg:Bt,lightTriggerBg:Bt,lightTriggerColor:We}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Pe=function(de,we){var be={};for(var Ne in de)Object.prototype.hasOwnProperty.call(de,Ne)&&we.indexOf(Ne)<0&&(be[Ne]=de[Ne]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ne=Object.getOwnPropertySymbols(de);Wenull,removeSider:()=>null}});function ie(de){let{suffixCls:we,tagName:be,displayName:Ne}=de;return We=>ze.forwardRef((at,Ue)=>ze.createElement(We,Object.assign({ref:Ue,suffixCls:we,tagName:be},at)))}const y=ze.forwardRef((de,we)=>{const{prefixCls:be,suffixCls:Ne,className:We,tagName:Ze}=de,at=Pe(de,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ue}=ze.useContext(je.E_),Bt=Ue("layout",be),[Me,Nt]=De(Bt),ut=Ne?`${Bt}-${Ne}`:Bt;return Me(ze.createElement(Ze,Object.assign({className:Ke()(be||ut,We,Nt),ref:we},at)))}),a=ze.forwardRef((de,we)=>{const{direction:be}=ze.useContext(je.E_),[Ne,We]=ze.useState([]),{prefixCls:Ze,className:at,rootClassName:Ue,children:Bt,hasSider:Me,tagName:Nt,style:ut}=de,At=Pe(de,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Lt=(0,_e.Z)(At,["suffixCls"]),{getPrefixCls:dt,layout:vt}=ze.useContext(je.E_),et=dt("layout",Ze),[ct,an]=De(et),En=Ke()(et,{[`${et}-has-sider`]:typeof Me=="boolean"?Me:Ne.length>0,[`${et}-rtl`]:be==="rtl"},vt==null?void 0:vt.className,at,Ue,an),bt=ze.useMemo(()=>({siderHook:{addSider:nn=>{We(Fn=>[].concat((0,Ae.Z)(Fn),[nn]))},removeSider:nn=>{We(Fn=>Fn.filter($n=>$n!==nn))}}}),[]);return ct(ze.createElement(Ee.Provider,{value:bt},ze.createElement(Nt,Object.assign({ref:we,className:En,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),ut)},Lt),Bt)))}),b=ie({tagName:"div",displayName:"Layout"})(a),E=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=b},76529:function(qt,Ot,ge){"use strict";ge.d(Ot,{J:function(){return je}});var Ae=ge(67294),ye=ge(4173),Ke=ge(60276),_e=function(pe,ve){var Le={};for(var ce in pe)Object.prototype.hasOwnProperty.call(pe,ce)&&ve.indexOf(ce)<0&&(Le[ce]=pe[ce]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ce=Object.getOwnPropertySymbols(pe);De{const{children:Le}=pe,ce=_e(pe,["children"]),De=Ae.useContext(ze),Pe=Ae.useMemo(()=>Object.assign(Object.assign({},De),ce),[De,ce.prefixCls,ce.mode,ce.selectable]);return Ae.createElement(ze.Provider,{value:Pe},Ae.createElement(ye.BR,null,(0,Ke.supportNodeRef)(Le)?Ae.cloneElement(Le,{ref:ve}):Le))});Ot.Z=ze},68508:function(qt,Ot,ge){"use strict";ge.d(Ot,{default:function(){return mn}});var Ae=ge(78595),ye=ge(67294),Ke=ge(71322),_e=ge(94184),ze=ge.n(_e),je=ge(53124),pe=function(Qe,me){var he={};for(var Oe in Qe)Object.prototype.hasOwnProperty.call(Qe,Oe)&&me.indexOf(Oe)<0&&(he[Oe]=Qe[Oe]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Oe=Object.getOwnPropertySymbols(Qe);qe{const{prefixCls:me,className:he,dashed:Oe}=Qe,qe=pe(Qe,["prefixCls","className","dashed"]),{getPrefixCls:pt}=ye.useContext(je.E_),lt=pt("menu",me),_t=ze()({[`${lt}-item-divider-dashed`]:!!Oe},he);return ye.createElement(Ae.iz,Object.assign({className:_t},qe))},ce=ge(37419),De=ge(10366),Pe=ge(83062),Ee=ge(96159),y=(0,ye.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Qe=>{var me;const{className:he,children:Oe,icon:qe,title:pt,danger:lt}=Qe,{prefixCls:_t,firstLevel:An,direction:cn,disableMenuItemTitleTooltip:Kn,inlineCollapsed:St}=ye.useContext(y),zt=en=>{const Qn=ye.createElement("span",{className:`${_t}-title-content`},Oe);return(!qe||(0,Ee.l$)(Oe)&&Oe.type==="span")&&Oe&&en&&An&&typeof Oe=="string"?ye.createElement("div",{className:`${_t}-inline-collapsed-noicon`},Oe.charAt(0)):Qn},{siderCollapsed:Vt}=ye.useContext(Ke.D);let Cn=pt;typeof pt=="undefined"?Cn=An?Oe:"":pt===!1&&(Cn="");const yt={title:Cn};!Vt&&!St&&(yt.title=null,yt.open=!1);const Un=(0,ce.Z)(Oe).length;let kt=ye.createElement(Ae.ck,Object.assign({},(0,De.Z)(Qe,["title","icon","danger"]),{className:ze()({[`${_t}-item-danger`]:lt,[`${_t}-item-only-child`]:(qe?Un+1:Un)===1},he),title:typeof pt=="string"?pt:void 0}),(0,Ee.Tm)(qe,{className:ze()((0,Ee.l$)(qe)?(me=qe.props)===null||me===void 0?void 0:me.className:"",`${_t}-item-icon`)}),zt(St));return Kn||(kt=ye.createElement(Pe.Z,Object.assign({},yt,{placement:cn==="rtl"?"left":"right",overlayClassName:`${_t}-inline-collapsed-tooltip`}),kt)),kt},x=Qe=>{var me;const{popupClassName:he,icon:Oe,title:qe,theme:pt}=Qe,lt=ye.useContext(y),{prefixCls:_t,inlineCollapsed:An,theme:cn}=lt,Kn=(0,Ae.Xl)();let St;if(!Oe)St=An&&!Kn.length&&qe&&typeof qe=="string"?ye.createElement("div",{className:`${_t}-inline-collapsed-noicon`},qe.charAt(0)):ye.createElement("span",{className:`${_t}-title-content`},qe);else{const Vt=(0,Ee.l$)(qe)&&qe.type==="span";St=ye.createElement(ye.Fragment,null,(0,Ee.Tm)(Oe,{className:ze()((0,Ee.l$)(Oe)?(me=Oe.props)===null||me===void 0?void 0:me.className:"",`${_t}-item-icon`)}),Vt?qe:ye.createElement("span",{className:`${_t}-title-content`},qe))}const zt=ye.useMemo(()=>Object.assign(Object.assign({},lt),{firstLevel:!1}),[lt]);return ye.createElement(y.Provider,{value:zt},ye.createElement(Ae.Wd,Object.assign({},(0,De.Z)(Qe,["icon"]),{title:St,popupClassName:ze()(_t,he,`${_t}-${pt||cn}`)})))},z=ge(25877),ae=ge(60276),de=ge(33603),we=ge(76529),be=function(Qe,me){var he={};for(var Oe in Qe)Object.prototype.hasOwnProperty.call(Qe,Oe)&&me.indexOf(Oe)<0&&(he[Oe]=Qe[Oe]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Oe=Object.getOwnPropertySymbols(Qe);qe{if(me&&typeof me=="object"){const Oe=me,{label:qe,children:pt,key:lt,type:_t}=Oe,An=be(Oe,["label","children","key","type"]),cn=lt!=null?lt:`tmp-${he}`;return pt||_t==="group"?_t==="group"?ye.createElement(Ae.BW,Object.assign({key:cn},An,{title:qe}),Ne(pt)):ye.createElement(x,Object.assign({key:cn},An,{title:qe}),Ne(pt)):_t==="divider"?ye.createElement(Le,Object.assign({key:cn},An)):ye.createElement(b,Object.assign({key:cn},An),qe)}return null}).filter(me=>me)}function We(Qe){return ye.useMemo(()=>Qe&&Ne(Qe),[Qe])}var Ze=ge(84780),at=ge(14747),Ue=ge(33507),Bt=ge(67771),Me=ge(50438),Nt=ge(67968),ut=ge(45503),Lt=Qe=>{const{componentCls:me,motionDurationSlow:he,horizontalLineHeight:Oe,colorSplit:qe,lineWidth:pt,lineType:lt,itemPaddingInline:_t}=Qe;return{[`${me}-horizontal`]:{lineHeight:Oe,border:0,borderBottom:`${pt}px ${lt} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${me}-item, ${me}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:_t},[`> ${me}-item:hover, > ${me}-item-active, > ${me}-submenu ${me}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${me}-item, ${me}-submenu-title`]:{transition:[`border-color ${he}`,`background ${he}`].join(",")},[`${me}-submenu-arrow`]:{display:"none"}}}},vt=Qe=>{let{componentCls:me,menuArrowOffset:he}=Qe;return{[`${me}-rtl`]:{direction:"rtl"},[`${me}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${me}-rtl${me}-vertical, ${me}-submenu-rtl ${me}-vertical`]:{[`${me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${he})`},"&::after":{transform:`rotate(45deg) translateY(${he})`}}}}};const et=Qe=>Object.assign({},(0,at.oN)(Qe));var an=(Qe,me)=>{const{componentCls:he,itemColor:Oe,itemSelectedColor:qe,groupTitleColor:pt,itemBg:lt,subMenuItemBg:_t,itemSelectedBg:An,activeBarHeight:cn,activeBarWidth:Kn,activeBarBorderWidth:St,motionDurationSlow:zt,motionEaseInOut:Vt,motionEaseOut:Cn,itemPaddingInline:yt,motionDurationMid:Un,itemHoverColor:kt,lineType:en,colorSplit:Qn,itemDisabledColor:Mn,dangerItemColor:er,dangerItemHoverColor:br,dangerItemSelectedColor:_r,dangerItemActiveBg:Vr,dangerItemSelectedBg:hr,itemHoverBg:gr,itemActiveBg:Sr,menuSubMenuBg:qr,horizontalItemSelectedColor:$r,horizontalItemSelectedBg:io,horizontalItemBorderRadius:Ba,horizontalItemHoverBg:Io,popupBg:po}=Qe;return{[`${he}-${me}, ${he}-${me} > ${he}`]:{color:Oe,background:lt,[`&${he}-root:focus-visible`]:Object.assign({},et(Qe)),[`${he}-item-group-title`]:{color:pt},[`${he}-submenu-selected`]:{[`> ${he}-submenu-title`]:{color:qe}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{color:`${Mn} !important`},[`${he}-item:not(${he}-item-selected):not(${he}-submenu-selected)`]:{[`&:hover, > ${he}-submenu-title:hover`]:{color:kt}},[`&:not(${he}-horizontal)`]:{[`${he}-item:not(${he}-item-selected)`]:{"&:hover":{backgroundColor:gr},"&:active":{backgroundColor:Sr}},[`${he}-submenu-title`]:{"&:hover":{backgroundColor:gr},"&:active":{backgroundColor:Sr}}},[`${he}-item-danger`]:{color:er,[`&${he}-item:hover`]:{[`&:not(${he}-item-selected):not(${he}-submenu-selected)`]:{color:br}},[`&${he}-item:active`]:{background:Vr}},[`${he}-item a`]:{"&, &:hover":{color:"inherit"}},[`${he}-item-selected`]:{color:qe,[`&${he}-item-danger`]:{color:_r},"a, a:hover":{color:"inherit"}},[`& ${he}-item-selected`]:{backgroundColor:An,[`&${he}-item-danger`]:{backgroundColor:hr}},[`${he}-item, ${he}-submenu-title`]:{[`&:not(${he}-item-disabled):focus-visible`]:Object.assign({},et(Qe))},[`&${he}-submenu > ${he}`]:{backgroundColor:qr},[`&${he}-popup > ${he}`]:{backgroundColor:po},[`&${he}-horizontal`]:Object.assign(Object.assign({},me==="dark"?{borderBottom:0}:{}),{[`> ${he}-item, > ${he}-submenu`]:{top:St,marginTop:-St,marginBottom:0,borderRadius:Ba,"&::after":{position:"absolute",insetInline:yt,bottom:0,borderBottom:`${cn}px solid transparent`,transition:`border-color ${zt} ${Vt}`,content:'""'},"&:hover, &-active, &-open":{background:Io,"&::after":{borderBottomWidth:cn,borderBottomColor:$r}},"&-selected":{color:$r,backgroundColor:io,"&:hover":{backgroundColor:io},"&::after":{borderBottomWidth:cn,borderBottomColor:$r}}}}),[`&${he}-root`]:{[`&${he}-inline, &${he}-vertical`]:{borderInlineEnd:`${St}px ${en} ${Qn}`}},[`&${he}-inline`]:{[`${he}-sub${he}-inline`]:{background:_t},[`${he}-item, ${he}-submenu-title`]:St&&Kn?{width:`calc(100% + ${St}px)`}:{},[`${he}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Kn}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Un} ${Cn}`,`opacity ${Un} ${Cn}`].join(","),content:'""'},[`&${he}-item-danger`]:{"&::after":{borderInlineEndColor:_r}}},[`${he}-selected, ${he}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Un} ${Vt}`,`opacity ${Un} ${Vt}`].join(",")}}}}}};const En=Qe=>{const{componentCls:me,itemHeight:he,itemMarginInline:Oe,padding:qe,menuArrowSize:pt,marginXS:lt,itemMarginBlock:_t}=Qe,An=qe+pt+lt;return{[`${me}-item`]:{position:"relative",overflow:"hidden"},[`${me}-item, ${me}-submenu-title`]:{height:he,lineHeight:`${he}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Oe,marginBlock:_t,width:`calc(100% - ${Oe*2}px)`},[`> ${me}-item, > ${me}-submenu > ${me}-submenu-title`]:{height:he,lineHeight:`${he}px`},[`${me}-item-group-list ${me}-submenu-title, ${me}-submenu-title`]:{paddingInlineEnd:An}}};var nn=Qe=>{const{componentCls:me,iconCls:he,itemHeight:Oe,colorTextLightSolid:qe,dropdownWidth:pt,controlHeightLG:lt,motionDurationMid:_t,motionEaseOut:An,paddingXL:cn,itemMarginInline:Kn,fontSizeLG:St,motionDurationSlow:zt,paddingXS:Vt,boxShadowSecondary:Cn,collapsedWidth:yt,collapsedIconSize:Un}=Qe,kt={height:Oe,lineHeight:`${Oe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[me]:{"&-inline, &-vertical":Object.assign({[`&${me}-root`]:{boxShadow:"none"}},En(Qe))},[`${me}-submenu-popup`]:{[`${me}-vertical`]:Object.assign(Object.assign({},En(Qe)),{boxShadow:Cn})}},{[`${me}-submenu-popup ${me}-vertical${me}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${lt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${me}-inline`]:{width:"100%",[`&${me}-root`]:{[`${me}-item, ${me}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${zt}`,`background ${zt}`,`padding ${_t} ${An}`].join(","),[`> ${me}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${me}-sub${me}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${me}-submenu > ${me}-submenu-title`]:kt,[`& ${me}-item-group-title`]:{paddingInlineStart:cn}},[`${me}-item`]:kt}},{[`${me}-inline-collapsed`]:{width:yt,[`&${me}-root`]:{[`${me}-item, ${me}-submenu ${me}-submenu-title`]:{[`> ${me}-inline-collapsed-noicon`]:{fontSize:St,textAlign:"center"}}},[`> ${me}-item, > ${me}-item-group > ${me}-item-group-list > ${me}-item, > ${me}-item-group > ${me}-item-group-list > ${me}-submenu > ${me}-submenu-title, > ${me}-submenu > ${me}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${St/2}px - ${Kn}px)`,textOverflow:"clip",[` ${me}-submenu-arrow, ${me}-submenu-expand-icon `]:{opacity:0},[`${me}-item-icon, ${he}`]:{margin:0,fontSize:Un,lineHeight:`${Oe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${me}-item-icon, ${he}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${me}-item-icon, ${he}`]:{display:"none"},"a, a:hover":{color:qe}},[`${me}-item-group-title`]:Object.assign(Object.assign({},at.vS),{paddingInline:Vt})}}]};const Fn=Qe=>{const{componentCls:me,motionDurationSlow:he,motionDurationMid:Oe,motionEaseInOut:qe,motionEaseOut:pt,iconCls:lt,iconSize:_t,iconMarginInlineEnd:An}=Qe;return{[`${me}-item, ${me}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${he}`,`background ${he}`,`padding ${he} ${qe}`].join(","),[`${me}-item-icon, ${lt}`]:{minWidth:_t,fontSize:_t,transition:[`font-size ${Oe} ${pt}`,`margin ${he} ${qe}`,`color ${he}`].join(","),"+ span":{marginInlineStart:An,opacity:1,transition:[`opacity ${he} ${qe}`,`margin ${he}`,`color ${he}`].join(",")}},[`${me}-item-icon`]:Object.assign({},(0,at.Ro)()),[`&${me}-item-only-child`]:{[`> ${lt}, > ${me}-item-icon`]:{marginInlineEnd:0}}},[`${me}-item-disabled, ${me}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${me}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},$n=Qe=>{const{componentCls:me,motionDurationSlow:he,motionEaseInOut:Oe,borderRadius:qe,menuArrowSize:pt,menuArrowOffset:lt}=Qe;return{[`${me}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Qe.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${he} ${Oe}, opacity ${he}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:pt*.6,height:pt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${he} ${Oe}`,`transform ${he} ${Oe}`,`top ${he} ${Oe}`,`color ${he} ${Oe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${lt})`},"&::after":{transform:`rotate(-45deg) translateY(${lt})`}}}}},Ln=Qe=>{const{antCls:me,componentCls:he,fontSize:Oe,motionDurationSlow:qe,motionDurationMid:pt,motionEaseInOut:lt,paddingXS:_t,padding:An,colorSplit:cn,lineWidth:Kn,zIndexPopup:St,borderRadiusLG:zt,subMenuItemBorderRadius:Vt,menuArrowSize:Cn,menuArrowOffset:yt,lineType:Un,menuPanelMaskInset:kt,groupTitleLineHeight:en,groupTitleFontSize:Qn}=Qe;return[{"":{[`${he}`]:Object.assign(Object.assign({},(0,at.dF)()),{"&-hidden":{display:"none"}})},[`${he}-submenu-hidden`]:{display:"none"}},{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,at.Wf)(Qe)),(0,at.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Oe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${he}-item`]:{flex:"none"}},[`${he}-item, ${he}-submenu, ${he}-submenu-title`]:{borderRadius:Qe.itemBorderRadius},[`${he}-item-group-title`]:{padding:`${_t}px ${An}px`,fontSize:Qn,lineHeight:en,transition:`all ${qe}`},[`&-horizontal ${he}-submenu`]:{transition:[`border-color ${qe} ${lt}`,`background ${qe} ${lt}`].join(",")},[`${he}-submenu, ${he}-submenu-inline`]:{transition:[`border-color ${qe} ${lt}`,`background ${qe} ${lt}`,`padding ${pt} ${lt}`].join(",")},[`${he}-submenu ${he}-sub`]:{cursor:"initial",transition:[`background ${qe} ${lt}`,`padding ${qe} ${lt}`].join(",")},[`${he}-title-content`]:{transition:`color ${qe}`},[`${he}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${he}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:cn,borderStyle:Un,borderWidth:0,borderTopWidth:Kn,marginBlock:Kn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Fn(Qe)),{[`${he}-item-group`]:{[`${he}-item-group-list`]:{margin:0,padding:0,[`${he}-item, ${he}-submenu-title`]:{paddingInline:`${Oe*2}px ${An}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:St,borderRadius:zt,boxShadow:"none",transformOrigin:"0 0",[`&${he}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${kt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:kt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Qe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Qe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Qe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Qe.paddingXS},[`> ${he}`]:Object.assign(Object.assign(Object.assign({borderRadius:zt},Fn(Qe)),$n(Qe)),{[`${he}-item, ${he}-submenu > ${he}-submenu-title`]:{borderRadius:Vt},[`${he}-submenu-title::after`]:{transition:`transform ${qe} ${lt}`}})}}),$n(Qe)),{[`&-inline-collapsed ${he}-submenu-arrow, &-inline ${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${yt})`},"&::after":{transform:`rotate(45deg) translateX(-${yt})`}},[`${he}-submenu-open${he}-submenu-inline > ${he}-submenu-title > ${he}-submenu-arrow`]:{transform:`translateY(-${Cn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${yt})`},"&::before":{transform:`rotate(45deg) translateX(${yt})`}}})},{[`${me}-layout-header`]:{[he]:{lineHeight:"inherit"}}}]};var Wn=(Qe,me)=>(0,Nt.Z)("Menu",Oe=>{if(me===!1)return[];const{colorBgElevated:qe,colorPrimary:pt,colorTextLightSolid:lt,controlHeightLG:_t,fontSize:An,darkItemColor:cn,darkDangerItemColor:Kn,darkItemBg:St,darkSubMenuItemBg:zt,darkItemSelectedColor:Vt,darkItemSelectedBg:Cn,darkDangerItemSelectedBg:yt,darkItemHoverBg:Un,darkGroupTitleColor:kt,darkItemHoverColor:en,darkItemDisabledColor:Qn,darkDangerItemHoverColor:Mn,darkDangerItemSelectedColor:er,darkDangerItemActiveBg:br}=Oe,_r=An/7*5,Vr=(0,ut.TS)(Oe,{menuArrowSize:_r,menuHorizontalHeight:_t*1.15,menuArrowOffset:`${_r*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),hr=(0,ut.TS)(Vr,{itemColor:cn,itemHoverColor:en,groupTitleColor:kt,itemSelectedColor:Vt,itemBg:St,popupBg:St,subMenuItemBg:zt,itemActiveBg:"transparent",itemSelectedBg:Cn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Un,itemDisabledColor:Qn,dangerItemColor:Kn,dangerItemHoverColor:Mn,dangerItemSelectedColor:er,dangerItemActiveBg:br,dangerItemSelectedBg:yt,menuSubMenuBg:zt,horizontalItemSelectedColor:lt,horizontalItemSelectedBg:pt});return[Ln(Vr),Lt(Vr),nn(Vr),an(Vr,"light"),an(hr,"dark"),vt(Vr),(0,Ue.Z)(Vr),(0,Bt.oN)(Vr,"slide-up"),(0,Bt.oN)(Vr,"slide-down"),(0,Me._y)(Vr,"zoom-big")]},Oe=>{const{colorPrimary:qe,colorError:pt,colorTextDisabled:lt,colorErrorBg:_t,colorText:An,colorTextDescription:cn,colorBgContainer:Kn,colorFillAlter:St,colorFillContent:zt,lineWidth:Vt,lineWidthBold:Cn,controlItemBgActive:yt,colorBgTextHover:Un,controlHeightLG:kt,lineHeight:en,colorBgElevated:Qn,marginXXS:Mn,padding:er,fontSize:br,controlHeightSM:_r,fontSizeLG:Vr,colorTextLightSolid:hr,colorErrorHover:gr}=Oe,Sr=new Ze.C(hr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Oe.zIndexPopupBase+50,radiusItem:Oe.borderRadiusLG,itemBorderRadius:Oe.borderRadiusLG,radiusSubMenuItem:Oe.borderRadiusSM,subMenuItemBorderRadius:Oe.borderRadiusSM,colorItemText:An,itemColor:An,colorItemTextHover:An,itemHoverColor:An,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:cn,groupTitleColor:cn,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:Kn,itemBg:Kn,colorItemBgHover:Un,itemHoverBg:Un,colorItemBgActive:zt,itemActiveBg:yt,colorSubItemBg:St,subMenuItemBg:St,colorItemBgSelected:yt,itemSelectedBg:yt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Cn,activeBarHeight:Cn,colorActiveBarBorderSize:Vt,activeBarBorderWidth:Vt,colorItemTextDisabled:lt,itemDisabledColor:lt,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:_t,dangerItemActiveBg:_t,colorDangerItemBgSelected:_t,dangerItemSelectedBg:_t,itemMarginInline:Oe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:kt,groupTitleLineHeight:en,collapsedWidth:kt*2,popupBg:Qn,itemMarginBlock:Mn,itemPaddingInline:er,horizontalLineHeight:`${kt*1.15}px`,iconSize:br,iconMarginInlineEnd:_r-br,collapsedIconSize:Vr,groupTitleFontSize:br,darkItemDisabledColor:new Ze.C(hr).setAlpha(.25).toRgbString(),darkItemColor:Sr,darkDangerItemColor:pt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:hr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:Sr,darkItemHoverColor:hr,darkDangerItemHoverColor:gr,darkDangerItemSelectedColor:hr,darkDangerItemActiveBg:pt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Qe),It=function(Qe,me){var he={};for(var Oe in Qe)Object.prototype.hasOwnProperty.call(Qe,Oe)&&me.indexOf(Oe)<0&&(he[Oe]=Qe[Oe]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Oe=Object.getOwnPropertySymbols(Qe);qe{var he,Oe;const qe=ye.useContext(we.Z),pt=qe||{},{getPrefixCls:lt,getPopupContainer:_t,direction:An,menu:cn}=ye.useContext(je.E_),Kn=lt(),{prefixCls:St,className:zt,style:Vt,theme:Cn="light",expandIcon:yt,_internalDisableMenuItemTitleTooltip:Un,inlineCollapsed:kt,siderCollapsed:en,items:Qn,children:Mn,rootClassName:er,mode:br,selectable:_r,onClick:Vr,overflowedIndicatorPopupClassName:hr}=Qe,gr=It(Qe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Sr=(0,De.Z)(gr,["collapsedWidth"]),qr=We(Qn)||Mn;(he=pt.validator)===null||he===void 0||he.call(pt,{mode:br});const $r=(0,ae.useEvent)(function(){var Ia;Vr==null||Vr.apply(void 0,arguments),(Ia=pt.onClick)===null||Ia===void 0||Ia.call(pt)}),io=pt.mode||br,Ba=_r!=null?_r:pt.selectable,Io=ye.useMemo(()=>en!==void 0?en:kt,[kt,en]),po={horizontal:{motionName:`${Kn}-slide-up`},inline:(0,de.Z)(Kn),other:{motionName:`${Kn}-zoom-big`}},Ea=lt("menu",St||pt.prefixCls),[sn,lo]=Wn(Ea,!qe),wa=ze()(`${Ea}-${Cn}`,cn==null?void 0:cn.className,zt);let wi;if(typeof yt=="function")wi=yt;else if(yt===null||yt===!1)wi=null;else if(pt.expandIcon===null||pt.expandIcon===!1)wi=null;else{const Ia=yt!=null?yt:pt.expandIcon;wi=(0,Ee.Tm)(Ia,{className:ze()(`${Ea}-submenu-expand-icon`,(0,Ee.l$)(Ia)?(Oe=Ia.props)===null||Oe===void 0?void 0:Oe.className:"")})}const jo=ye.useMemo(()=>({prefixCls:Ea,inlineCollapsed:Io||!1,direction:An,firstLevel:!0,theme:Cn,mode:io,disableMenuItemTitleTooltip:Un}),[Ea,Io,An,Un,Cn]);return sn(ye.createElement(we.Z.Provider,{value:null},ye.createElement(y.Provider,{value:jo},ye.createElement(Ae.ZP,Object.assign({getPopupContainer:_t,overflowedIndicator:ye.createElement(z.Z,null),overflowedIndicatorPopupClassName:ze()(Ea,`${Ea}-${Cn}`,hr),mode:io,selectable:Ba,onClick:$r},Sr,{inlineCollapsed:Io,style:Object.assign(Object.assign({},cn==null?void 0:cn.style),Vt),className:wa,prefixCls:Ea,direction:An,defaultMotions:po,expandIcon:wi,ref:me,rootClassName:ze()(er,lo)}),qr))))});const Ye=(0,ye.forwardRef)((Qe,me)=>{const he=(0,ye.useRef)(null),Oe=ye.useContext(Ke.D);return(0,ye.useImperativeHandle)(me,()=>({menu:he.current,focus:qe=>{var pt;(pt=he.current)===null||pt===void 0||pt.focus(qe)}})),ye.createElement(Xn,Object.assign({ref:he},Qe,Oe))});Ye.Item=b,Ye.SubMenu=x,Ye.Divider=Le,Ye.ItemGroup=Ae.BW;var mn=Ye},28452:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return Kn}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(zt,Vt){return ye.createElement(ze.Z,(0,Ae.Z)({},zt,{ref:Vt,icon:_e}))},pe=ye.forwardRef(je),ve=ge(81893),Le=ge(22751),ce=ge(91034),De=ge(94184),Pe=ge.n(De),Ee=ge(4942),ie=ge(1413),y=ge(15671),a=ge(43144),b=ge(60136),E=ge(51630),x=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,z=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ae="".concat(x," ").concat(z).split(/[\s\n]+/),de="aria-",we="data-";function be(St,zt){return St.indexOf(zt)===0}function Ne(St){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Vt;zt===!1?Vt={aria:!0,data:!0,attr:!0}:zt===!0?Vt={aria:!0}:Vt=(0,ie.Z)({},zt);var Cn={};return Object.keys(St).forEach(function(yt){(Vt.aria&&(yt==="role"||be(yt,de))||Vt.data&&be(yt,we)||Vt.attr&&ae.includes(yt))&&(Cn[yt]=St[yt])}),Cn}var We={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ze=We,at=ge(81626),Ue=function(St){(0,b.Z)(Vt,St);var zt=(0,E.Z)(Vt);function Vt(){var Cn;(0,y.Z)(this,Vt);for(var yt=arguments.length,Un=new Array(yt),kt=0;kt=0||en.relatedTarget.className.indexOf("".concat(br,"-item"))>=0))&&er(Cn.getValidValue()))},Cn.go=function(en){var Qn=Cn.state.goInputText;Qn!==""&&(en.keyCode===Ze.ENTER||en.type==="click")&&(Cn.setState({goInputText:""}),Cn.props.quickGo(Cn.getValidValue()))},Cn}return(0,a.Z)(Vt,[{key:"getPageSizeOptions",value:function(){var yt=this.props,Un=yt.pageSize,kt=yt.pageSizeOptions;return kt.some(function(en){return en.toString()===Un.toString()})?kt:kt.concat([Un.toString()]).sort(function(en,Qn){var Mn=Number.isNaN(Number(en))?0:Number(en),er=Number.isNaN(Number(Qn))?0:Number(Qn);return Mn-er})}},{key:"render",value:function(){var yt=this,Un=this.props,kt=Un.pageSize,en=Un.locale,Qn=Un.rootPrefixCls,Mn=Un.changeSize,er=Un.quickGo,br=Un.goButton,_r=Un.selectComponentClass,Vr=Un.buildOptionText,hr=Un.selectPrefixCls,gr=Un.disabled,Sr=this.state.goInputText,qr="".concat(Qn,"-options"),$r=_r,io=null,Ba=null,Io=null;if(!Mn&&!er)return null;var po=this.getPageSizeOptions();if(Mn&&$r){var Ea=po.map(function(sn,lo){return ye.createElement($r.Option,{key:lo,value:sn.toString()},(Vr||yt.buildOptionText)(sn))});io=ye.createElement($r,{disabled:gr,prefixCls:hr,showSearch:!1,className:"".concat(qr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(kt||po[0]).toString(),onChange:this.changeSize,getPopupContainer:function(lo){return lo.parentNode},"aria-label":en.page_size,defaultOpen:!1},Ea)}return er&&(br&&(Io=typeof br=="boolean"?ye.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:gr,className:"".concat(qr,"-quick-jumper-button")},en.jump_to_confirm):ye.createElement("span",{onClick:this.go,onKeyUp:this.go},br)),Ba=ye.createElement("div",{className:"".concat(qr,"-quick-jumper")},en.jump_to,ye.createElement("input",{disabled:gr,type:"text",value:Sr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":en.page}),en.page,Io)),ye.createElement("li",{className:"".concat(qr)},io,Ba)}}]),Vt}(ye.Component);Ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var Bt=Ue,Me=function(zt){var Vt,Cn=zt.rootPrefixCls,yt=zt.page,Un=zt.active,kt=zt.className,en=zt.showTitle,Qn=zt.onClick,Mn=zt.onKeyPress,er=zt.itemRender,br="".concat(Cn,"-item"),_r=Pe()(br,"".concat(br,"-").concat(yt),(Vt={},(0,Ee.Z)(Vt,"".concat(br,"-active"),Un),(0,Ee.Z)(Vt,"".concat(br,"-disabled"),!yt),(0,Ee.Z)(Vt,zt.className,kt),Vt)),Vr=function(){Qn(yt)},hr=function(qr){Mn(qr,Qn,yt)},gr=er(yt,"page",ye.createElement("a",{rel:"nofollow"},yt));return gr?ye.createElement("li",{title:en?yt.toString():null,className:_r,onClick:Vr,onKeyPress:hr,tabIndex:0},gr):null},Nt=Me;function ut(){}function At(St){var zt=Number(St);return typeof zt=="number"&&!Number.isNaN(zt)&&isFinite(zt)&&Math.floor(zt)===zt}var Lt=function(zt,Vt,Cn){return Cn};function dt(St,zt,Vt){var Cn=typeof St=="undefined"?zt.pageSize:St;return Math.floor((Vt.total-1)/Cn)+1}var vt=function(St){(0,b.Z)(Vt,St);var zt=(0,E.Z)(Vt);function Vt(Cn){var yt;(0,y.Z)(this,Vt),yt=zt.call(this,Cn),yt.paginationNode=ye.createRef(),yt.getJumpPrevPage=function(){return Math.max(1,yt.state.current-(yt.props.showLessItems?3:5))},yt.getJumpNextPage=function(){return Math.min(dt(void 0,yt.state,yt.props),yt.state.current+(yt.props.showLessItems?3:5))},yt.getItemIcon=function(Mn,er){var br=yt.props.prefixCls,_r=Mn||ye.createElement("button",{type:"button","aria-label":er,className:"".concat(br,"-item-link")});return typeof Mn=="function"&&(_r=ye.createElement(Mn,(0,ie.Z)({},yt.props))),_r},yt.isValid=function(Mn){var er=yt.props.total;return At(Mn)&&Mn!==yt.state.current&&At(er)&&er>0},yt.shouldDisplayQuickJumper=function(){var Mn=yt.props,er=Mn.showQuickJumper,br=Mn.total,_r=yt.state.pageSize;return br<=_r?!1:er},yt.handleKeyDown=function(Mn){(Mn.keyCode===Ze.ARROW_UP||Mn.keyCode===Ze.ARROW_DOWN)&&Mn.preventDefault()},yt.handleKeyUp=function(Mn){var er=yt.getValidValue(Mn),br=yt.state.currentInputValue;er!==br&&yt.setState({currentInputValue:er}),Mn.keyCode===Ze.ENTER?yt.handleChange(er):Mn.keyCode===Ze.ARROW_UP?yt.handleChange(er-1):Mn.keyCode===Ze.ARROW_DOWN&&yt.handleChange(er+1)},yt.handleBlur=function(Mn){var er=yt.getValidValue(Mn);yt.handleChange(er)},yt.changePageSize=function(Mn){var er=yt.state.current,br=dt(Mn,yt.state,yt.props);er=er>br?br:er,br===0&&(er=yt.state.current),typeof Mn=="number"&&("pageSize"in yt.props||yt.setState({pageSize:Mn}),"current"in yt.props||yt.setState({current:er,currentInputValue:er})),yt.props.onShowSizeChange(er,Mn),"onChange"in yt.props&&yt.props.onChange&&yt.props.onChange(er,Mn)},yt.handleChange=function(Mn){var er=yt.props,br=er.disabled,_r=er.onChange,Vr=yt.state,hr=Vr.pageSize,gr=Vr.current,Sr=Vr.currentInputValue;if(yt.isValid(Mn)&&!br){var qr=dt(void 0,yt.state,yt.props),$r=Mn;return Mn>qr?$r=qr:Mn<1&&($r=1),"current"in yt.props||yt.setState({current:$r}),$r!==Sr&&yt.setState({currentInputValue:$r}),_r($r,hr),$r}return gr},yt.prev=function(){yt.hasPrev()&&yt.handleChange(yt.state.current-1)},yt.next=function(){yt.hasNext()&&yt.handleChange(yt.state.current+1)},yt.jumpPrev=function(){yt.handleChange(yt.getJumpPrevPage())},yt.jumpNext=function(){yt.handleChange(yt.getJumpNextPage())},yt.hasPrev=function(){return yt.state.current>1},yt.hasNext=function(){return yt.state.current2?br-2:0),Vr=2;Vr=kt?Qn=kt:Qn=Number(Un),Qn}},{key:"getShowSizeChanger",value:function(){var yt=this.props,Un=yt.showSizeChanger,kt=yt.total,en=yt.totalBoundaryShowSizeChanger;return typeof Un!="undefined"?Un:kt>en}},{key:"render",value:function(){var yt=this.props,Un=yt.prefixCls,kt=yt.className,en=yt.style,Qn=yt.disabled,Mn=yt.hideOnSinglePage,er=yt.total,br=yt.locale,_r=yt.showQuickJumper,Vr=yt.showLessItems,hr=yt.showTitle,gr=yt.showTotal,Sr=yt.simple,qr=yt.itemRender,$r=yt.showPrevNextJumpers,io=yt.jumpPrevIcon,Ba=yt.jumpNextIcon,Io=yt.selectComponentClass,po=yt.selectPrefixCls,Ea=yt.pageSizeOptions,sn=this.state,lo=sn.current,wa=sn.pageSize,wi=sn.currentInputValue;if(Mn===!0&&er<=wa)return null;var jo=dt(void 0,this.state,this.props),Ia=[],Di=null,as=null,un=null,Bn=null,Pn=null,yr=_r&&_r.goButton,ea=Vr?1:2,Yr=lo-1>0?lo-1:0,wo=lo+1er?er:lo*wa]));if(Sr){yr&&(typeof yr=="boolean"?Pn=ye.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},br.jump_to_confirm):Pn=ye.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},yr),Pn=ye.createElement("li",{title:hr?"".concat(br.jump_to).concat(lo,"/").concat(jo):null,className:"".concat(Un,"-simple-pager")},Pn));var Ei=this.renderPrev(Yr);return ye.createElement("ul",(0,Ae.Z)({className:Pe()(Un,"".concat(Un,"-simple"),(0,Ee.Z)({},"".concat(Un,"-disabled"),Qn),kt),style:en,ref:this.paginationNode},Sa),ca,Ei?ye.createElement("li",{title:hr?br.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Pe()("".concat(Un,"-prev"),(0,Ee.Z)({},"".concat(Un,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Ei):null,ye.createElement("li",{title:hr?"".concat(lo,"/").concat(jo):null,className:"".concat(Un,"-simple-pager")},ye.createElement("input",{type:"text",value:wi,disabled:Qn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ye.createElement("span",{className:"".concat(Un,"-slash")},"/"),jo),ye.createElement("li",{title:hr?br.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Pe()("".concat(Un,"-next"),(0,Ee.Z)({},"".concat(Un,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(wo)),Pn)}if(jo<=3+ea*2){var Pi={locale:br,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:hr,itemRender:qr};jo||Ia.push(ye.createElement(Nt,(0,Ae.Z)({},Pi,{key:"noPager",page:1,className:"".concat(Un,"-item-disabled")})));for(var ni=1;ni<=jo;ni+=1){var Jr=lo===ni;Ia.push(ye.createElement(Nt,(0,Ae.Z)({},Pi,{key:ni,page:ni,active:Jr})))}}else{var eo=Vr?br.prev_3:br.prev_5,qi=Vr?br.next_3:br.next_5,os=qr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(io,"prev page")),fi=qr(this.getJumpNextPage(),"jump-next",this.getItemIcon(Ba,"next page"));$r&&(Di=os?ye.createElement("li",{title:hr?eo:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Pe()("".concat(Un,"-jump-prev"),(0,Ee.Z)({},"".concat(Un,"-jump-prev-custom-icon"),!!io))},os):null,as=fi?ye.createElement("li",{title:hr?qi:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Pe()("".concat(Un,"-jump-next"),(0,Ee.Z)({},"".concat(Un,"-jump-next-custom-icon"),!!Ba))},fi):null),Bn=ye.createElement(Nt,{locale:br,last:!0,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:jo,page:jo,active:!1,showTitle:hr,itemRender:qr}),un=ye.createElement(Nt,{locale:br,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:hr,itemRender:qr});var mi=Math.max(1,lo-ea),Ka=Math.min(lo+ea,jo);lo-1<=ea&&(Ka=1+ea*2),jo-lo<=ea&&(mi=jo-ea*2);for(var Go=mi;Go<=Ka;Go+=1){var ai=lo===Go;Ia.push(ye.createElement(Nt,{locale:br,rootPrefixCls:Un,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Go,page:Go,active:ai,showTitle:hr,itemRender:qr}))}lo-1>=ea*2&&lo!==3&&(Ia[0]=(0,ye.cloneElement)(Ia[0],{className:"".concat(Un,"-item-after-jump-prev")}),Ia.unshift(Di)),jo-lo>=ea*2&&lo!==jo-2&&(Ia[Ia.length-1]=(0,ye.cloneElement)(Ia[Ia.length-1],{className:"".concat(Un,"-item-before-jump-next")}),Ia.push(as)),mi!==1&&Ia.unshift(un),Ka!==jo&&Ia.push(Bn)}var Qi=!this.hasPrev()||!jo,Us=!this.hasNext()||!jo,ji=this.renderPrev(Yr),Es=this.renderNext(wo);return ye.createElement("ul",(0,Ae.Z)({className:Pe()(Un,kt,(0,Ee.Z)({},"".concat(Un,"-disabled"),Qn)),style:en,ref:this.paginationNode},Sa),ca,ji?ye.createElement("li",{title:hr?br.prev_page:null,onClick:this.prev,tabIndex:Qi?null:0,onKeyPress:this.runIfEnterPrev,className:Pe()("".concat(Un,"-prev"),(0,Ee.Z)({},"".concat(Un,"-disabled"),Qi)),"aria-disabled":Qi},ji):null,Ia,Es?ye.createElement("li",{title:hr?br.next_page:null,onClick:this.next,tabIndex:Us?null:0,onKeyPress:this.runIfEnterNext,className:Pe()("".concat(Un,"-next"),(0,Ee.Z)({},"".concat(Un,"-disabled"),Us)),"aria-disabled":Us},Es):null,ye.createElement(Bt,{disabled:Qn,locale:br,rootPrefixCls:Un,selectComponentClass:Io,selectPrefixCls:po,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:lo,pageSize:wa,pageSizeOptions:Ea,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:yr}))}}],[{key:"getDerivedStateFromProps",value:function(yt,Un){var kt={};if("current"in yt&&(kt.current=yt.current,yt.current!==Un.current&&(kt.currentInputValue=kt.current)),"pageSize"in yt&&yt.pageSize!==Un.pageSize){var en=Un.current,Qn=dt(yt.pageSize,Un,yt);en=en>Qn?Qn:en,"current"in yt||(kt.current=en,kt.currentInputValue=en),kt.pageSize=yt.pageSize}return kt}}]),Vt}(ye.Component);vt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ut,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ut,locale:at.Z,style:{},itemRender:Lt,totalBoundaryShowSizeChanger:50};var et=vt,ct=ge(62906),an=ge(53124),En=ge(98675),bt=ge(25378),nn=ge(10110),Fn=ge(11713);const $n=St=>ye.createElement(Fn.default,Object.assign({},St,{showSearch:!0,size:"small"})),Ln=St=>ye.createElement(Fn.default,Object.assign({},St,{showSearch:!0,size:"middle"}));$n.Option=Fn.default.Option,Ln.Option=Fn.default.Option;var Wn=ge(47673),It=ge(14747),Vn=ge(67968),Xn=ge(45503);const Ye=St=>{const{componentCls:zt}=St;return{[`${zt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${zt}-item-link`]:{color:St.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${zt}-item-link`]:{color:St.colorTextDisabled,cursor:"not-allowed"}}},[`&${zt}-disabled`]:{cursor:"not-allowed",[`${zt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:St.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:St.colorBorder,backgroundColor:St.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:St.itemActiveBgDisabled},a:{color:St.itemActiveColorDisabled}}},[`${zt}-item-link`]:{color:St.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${zt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${zt}-simple-pager`]:{color:St.colorTextDisabled},[`${zt}-jump-prev, ${zt}-jump-next`]:{[`${zt}-item-link-icon`]:{opacity:0},[`${zt}-item-ellipsis`]:{opacity:1}}},[`&${zt}-simple`]:{[`${zt}-prev, ${zt}-next`]:{[`&${zt}-disabled ${zt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},mn=St=>{const{componentCls:zt}=St;return{[`&${zt}-mini ${zt}-total-text, &${zt}-mini ${zt}-simple-pager`]:{height:St.itemSizeSM,lineHeight:`${St.itemSizeSM}px`},[`&${zt}-mini ${zt}-item`]:{minWidth:St.itemSizeSM,height:St.itemSizeSM,margin:0,lineHeight:`${St.itemSizeSM-2}px`},[`&${zt}-mini:not(${zt}-disabled) ${zt}-item:not(${zt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:St.colorBgTextHover},"&:active":{backgroundColor:St.colorBgTextActive}},[`&${zt}-mini ${zt}-prev, &${zt}-mini ${zt}-next`]:{minWidth:St.itemSizeSM,height:St.itemSizeSM,margin:0,lineHeight:`${St.itemSizeSM}px`},[`&${zt}-mini:not(${zt}-disabled)`]:{[`${zt}-prev, ${zt}-next`]:{[`&:hover ${zt}-item-link`]:{backgroundColor:St.colorBgTextHover},[`&:active ${zt}-item-link`]:{backgroundColor:St.colorBgTextActive},[`&${zt}-disabled:hover ${zt}-item-link`]:{backgroundColor:"transparent"}}},[` &${zt}-mini ${zt}-prev ${zt}-item-link, &${zt}-mini ${zt}-next ${zt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:St.itemSizeSM,lineHeight:`${St.itemSizeSM}px`}},[`&${zt}-mini ${zt}-jump-prev, &${zt}-mini ${zt}-jump-next`]:{height:St.itemSizeSM,marginInlineEnd:0,lineHeight:`${St.itemSizeSM}px`},[`&${zt}-mini ${zt}-options`]:{marginInlineStart:St.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:St.miniOptionsSizeChangerTop},"&-quick-jumper":{height:St.itemSizeSM,lineHeight:`${St.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Wn.x0)(St)),{width:St.paginationMiniQuickJumperInputWidth,height:St.controlHeightSM})}}}},Qe=St=>{const{componentCls:zt}=St;return{[` &${zt}-simple ${zt}-prev, &${zt}-simple ${zt}-next `]:{height:St.itemSizeSM,lineHeight:`${St.itemSizeSM}px`,verticalAlign:"top",[`${zt}-item-link`]:{height:St.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:St.colorBgTextHover},"&:active":{backgroundColor:St.colorBgTextActive},"&::after":{height:St.itemSizeSM,lineHeight:`${St.itemSizeSM}px`}}},[`&${zt}-simple ${zt}-simple-pager`]:{display:"inline-block",height:St.itemSizeSM,marginInlineEnd:St.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:St.marginXS,padding:`0 ${St.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:St.itemInputBg,border:`${St.lineWidth}px ${St.lineType} ${St.colorBorder}`,borderRadius:St.borderRadius,outline:"none",transition:`border-color ${St.motionDurationMid}`,color:"inherit","&:hover":{borderColor:St.colorPrimary},"&:focus":{borderColor:St.colorPrimaryHover,boxShadow:`${St.inputOutlineOffset}px 0 ${St.controlOutlineWidth}px ${St.controlOutline}`},"&[disabled]":{color:St.colorTextDisabled,backgroundColor:St.colorBgContainerDisabled,borderColor:St.colorBorder,cursor:"not-allowed"}}}}},me=St=>{const{componentCls:zt}=St;return{[`${zt}-jump-prev, ${zt}-jump-next`]:{outline:0,[`${zt}-item-container`]:{position:"relative",[`${zt}-item-link-icon`]:{color:St.colorPrimary,fontSize:St.fontSizeSM,opacity:0,transition:`all ${St.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${zt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:St.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:St.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:St.paginationEllipsisTextIndent,opacity:1,transition:`all ${St.motionDurationMid}`}},"&:hover":{[`${zt}-item-link-icon`]:{opacity:1},[`${zt}-item-ellipsis`]:{opacity:0}}},[` ${zt}-prev, ${zt}-jump-prev, ${zt}-jump-next `]:{marginInlineEnd:St.marginXS},[` ${zt}-prev, ${zt}-next, ${zt}-jump-prev, ${zt}-jump-next `]:{display:"inline-block",minWidth:St.itemSize,height:St.itemSize,color:St.colorText,fontFamily:St.fontFamily,lineHeight:`${St.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:St.borderRadius,cursor:"pointer",transition:`all ${St.motionDurationMid}`},[`${zt}-prev, ${zt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:St.colorText,cursor:"pointer",userSelect:"none"},[`${zt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:St.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${St.lineWidth}px ${St.lineType} transparent`,borderRadius:St.borderRadius,outline:"none",transition:`all ${St.motionDurationMid}`},[`&:hover ${zt}-item-link`]:{backgroundColor:St.colorBgTextHover},[`&:active ${zt}-item-link`]:{backgroundColor:St.colorBgTextActive},[`&${zt}-disabled:hover`]:{[`${zt}-item-link`]:{backgroundColor:"transparent"}}},[`${zt}-slash`]:{marginInlineEnd:St.paginationSlashMarginInlineEnd,marginInlineStart:St.paginationSlashMarginInlineStart},[`${zt}-options`]:{display:"inline-block",marginInlineStart:St.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:St.controlHeight,marginInlineStart:St.marginXS,lineHeight:`${St.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Wn.ik)(St)),{width:St.controlHeightLG*1.25,height:St.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:St.marginXS,marginInlineEnd:St.marginXS})}}}},he=St=>{const{componentCls:zt}=St;return{[`${zt}-item`]:{display:"inline-block",minWidth:St.itemSize,height:St.itemSize,marginInlineEnd:St.marginXS,fontFamily:St.fontFamily,lineHeight:`${St.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${St.lineWidth}px ${St.lineType} transparent`,borderRadius:St.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${St.paginationItemPaddingInline}px`,color:St.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${zt}-item-active)`]:{"&:hover":{transition:`all ${St.motionDurationMid}`,backgroundColor:St.colorBgTextHover},"&:active":{backgroundColor:St.colorBgTextActive}},"&-active":{fontWeight:St.fontWeightStrong,backgroundColor:St.itemActiveBg,borderColor:St.colorPrimary,a:{color:St.colorPrimary},"&:hover":{borderColor:St.colorPrimaryHover},"&:hover a":{color:St.colorPrimaryHover}}}}},Oe=St=>{const{componentCls:zt}=St;return{[zt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,It.Wf)(St)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${zt}-total-text`]:{display:"inline-block",height:St.itemSize,marginInlineEnd:St.marginXS,lineHeight:`${St.itemSize-2}px`,verticalAlign:"middle"}}),he(St)),me(St)),Qe(St)),mn(St)),Ye(St)),{[`@media only screen and (max-width: ${St.screenLG}px)`]:{[`${zt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${St.screenSM}px)`]:{[`${zt}-options`]:{display:"none"}}}),[`&${St.componentCls}-rtl`]:{direction:"rtl"}}},qe=St=>{const{componentCls:zt}=St;return{[`${zt}${zt}-disabled:not(${zt}-mini)`]:{"&, &:hover":{[`${zt}-item-link`]:{borderColor:St.colorBorder}},"&:focus-visible":{[`${zt}-item-link`]:{borderColor:St.colorBorder}},[`${zt}-item, ${zt}-item-link`]:{backgroundColor:St.colorBgContainerDisabled,borderColor:St.colorBorder,[`&:hover:not(${zt}-item-active)`]:{backgroundColor:St.colorBgContainerDisabled,borderColor:St.colorBorder,a:{color:St.colorTextDisabled}},[`&${zt}-item-active`]:{backgroundColor:St.itemActiveBgDisabled}},[`${zt}-prev, ${zt}-next`]:{"&:hover button":{backgroundColor:St.colorBgContainerDisabled,borderColor:St.colorBorder,color:St.colorTextDisabled},[`${zt}-item-link`]:{backgroundColor:St.colorBgContainerDisabled,borderColor:St.colorBorder}}},[`${zt}:not(${zt}-mini)`]:{[`${zt}-prev, ${zt}-next`]:{"&:hover button":{borderColor:St.colorPrimaryHover,backgroundColor:St.itemBg},[`${zt}-item-link`]:{backgroundColor:St.itemLinkBg,borderColor:St.colorBorder},[`&:hover ${zt}-item-link`]:{borderColor:St.colorPrimary,backgroundColor:St.itemBg,color:St.colorPrimary},[`&${zt}-disabled`]:{[`${zt}-item-link`]:{borderColor:St.colorBorder,color:St.colorTextDisabled}}},[`${zt}-item`]:{backgroundColor:St.itemBg,border:`${St.lineWidth}px ${St.lineType} ${St.colorBorder}`,[`&:hover:not(${zt}-item-active)`]:{borderColor:St.colorPrimary,backgroundColor:St.itemBg,a:{color:St.colorPrimary}},"&-active":{borderColor:St.colorPrimary}}}}},pt=St=>{const{componentCls:zt}=St;return{[`${zt}:not(${zt}-disabled)`]:{[`${zt}-item`]:Object.assign({},(0,It.Qy)(St)),[`${zt}-jump-prev, ${zt}-jump-next`]:{"&:focus-visible":Object.assign({[`${zt}-item-link-icon`]:{opacity:1},[`${zt}-item-ellipsis`]:{opacity:0}},(0,It.oN)(St))},[`${zt}-prev, ${zt}-next`]:{[`&:focus-visible ${zt}-item-link`]:Object.assign({},(0,It.oN)(St))}}}};var lt=(0,Vn.Z)("Pagination",St=>{const zt=(0,Xn.TS)(St,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:St.marginXXS/2,paginationMiniQuickJumperInputWidth:St.controlHeightLG*1.1,paginationItemPaddingInline:St.marginXXS*1.5,paginationEllipsisLetterSpacing:St.marginXXS/2,paginationSlashMarginInlineStart:St.marginXXS,paginationSlashMarginInlineEnd:St.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Wn.e5)(St),(0,Wn.TM)(St));return[Oe(zt),pt(zt),St.wireframe&&qe(zt)]},St=>({itemBg:St.colorBgContainer,itemSize:St.controlHeight,itemSizeSM:St.controlHeightSM,itemActiveBg:St.colorBgContainer,itemLinkBg:St.colorBgContainer,itemActiveColorDisabled:St.colorTextDisabled,itemActiveBgDisabled:St.controlItemBgActiveDisabled,itemInputBg:St.colorBgContainer,miniOptionsSizeChangerTop:0})),_t=function(St,zt){var Vt={};for(var Cn in St)Object.prototype.hasOwnProperty.call(St,Cn)&&zt.indexOf(Cn)<0&&(Vt[Cn]=St[Cn]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Cn=Object.getOwnPropertySymbols(St);yt{const{prefixCls:zt,selectPrefixCls:Vt,className:Cn,rootClassName:yt,style:Un,size:kt,locale:en,selectComponentClass:Qn,responsive:Mn,showSizeChanger:er}=St,br=_t(St,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:_r}=(0,bt.Z)(Mn),{getPrefixCls:Vr,direction:hr,pagination:gr={}}=ye.useContext(an.E_),Sr=Vr("pagination",zt),[qr,$r]=lt(Sr),io=er!=null?er:gr.showSizeChanger,Ba=ye.useMemo(()=>{const jo=ye.createElement("span",{className:`${Sr}-item-ellipsis`},"\u2022\u2022\u2022"),Ia=ye.createElement("button",{className:`${Sr}-item-link`,type:"button",tabIndex:-1},hr==="rtl"?ye.createElement(ce.Z,null):ye.createElement(Le.Z,null)),Di=ye.createElement("button",{className:`${Sr}-item-link`,type:"button",tabIndex:-1},hr==="rtl"?ye.createElement(Le.Z,null):ye.createElement(ce.Z,null)),as=ye.createElement("a",{className:`${Sr}-item-link`},ye.createElement("div",{className:`${Sr}-item-container`},hr==="rtl"?ye.createElement(ve.Z,{className:`${Sr}-item-link-icon`}):ye.createElement(pe,{className:`${Sr}-item-link-icon`}),jo)),un=ye.createElement("a",{className:`${Sr}-item-link`},ye.createElement("div",{className:`${Sr}-item-container`},hr==="rtl"?ye.createElement(pe,{className:`${Sr}-item-link-icon`}):ye.createElement(ve.Z,{className:`${Sr}-item-link-icon`}),jo));return{prevIcon:Ia,nextIcon:Di,jumpPrevIcon:as,jumpNextIcon:un}},[hr,Sr]),[Io]=(0,nn.Z)("Pagination",ct.Z),po=Object.assign(Object.assign({},Io),en),Ea=(0,En.Z)(kt),sn=Ea==="small"||!!(_r&&!Ea&&Mn),lo=Vr("select",Vt),wa=Pe()({[`${Sr}-mini`]:sn,[`${Sr}-rtl`]:hr==="rtl"},gr==null?void 0:gr.className,Cn,yt,$r),wi=Object.assign(Object.assign({},gr==null?void 0:gr.style),Un);return qr(ye.createElement(et,Object.assign({},Ba,br,{style:wi,prefixCls:Sr,selectPrefixCls:lo,className:wa,selectComponentClass:Qn||(sn?$n:Ln),locale:po,showSizeChanger:io})))},Kn=cn},38703:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return Un}});var Ae=ge(67294),ye=ge(87725),Ke=ge(18299),_e=ge(16646),ze=ge(73475),je=ge(94184),pe=ge.n(je),ve=ge(10366),Le=ge(53124),ce=ge(87462),De=ge(1413),Pe=ge(45987),Ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ie=function(){var en=(0,Ae.useRef)([]),Qn=(0,Ae.useRef)(null);return(0,Ae.useEffect)(function(){var Mn=Date.now(),er=!1;en.current.forEach(function(br){if(br){er=!0;var _r=br.style;_r.transitionDuration=".3s, .3s, .3s, .06s",Qn.current&&Mn-Qn.current<100&&(_r.transitionDuration="0s, 0s")}}),er&&(Qn.current=Date.now())}),en.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(en){var Qn=(0,De.Z)((0,De.Z)({},Ee),en),Mn=Qn.className,er=Qn.percent,br=Qn.prefixCls,_r=Qn.strokeColor,Vr=Qn.strokeLinecap,hr=Qn.strokeWidth,gr=Qn.style,Sr=Qn.trailColor,qr=Qn.trailWidth,$r=Qn.transition,io=(0,Pe.Z)(Qn,y);delete io.gapPosition;var Ba=Array.isArray(er)?er:[er],Io=Array.isArray(_r)?_r:[_r],po=ie(),Ea=hr/2,sn=100-hr/2,lo="M ".concat(Vr==="round"?Ea:0,",").concat(Ea,` L `).concat(Vr==="round"?sn:100,",").concat(Ea),wa="0 0 100 ".concat(hr),wi=0;return Ae.createElement("svg",(0,ce.Z)({className:pe()("".concat(br,"-line"),Mn),viewBox:wa,preserveAspectRatio:"none",style:gr},io),Ae.createElement("path",{className:"".concat(br,"-line-trail"),d:lo,strokeLinecap:Vr,stroke:Sr,strokeWidth:qr||hr,fillOpacity:"0"}),Ba.map(function(jo,Ia){var Di=1;switch(Vr){case"round":Di=1-hr/100;break;case"square":Di=1-hr/2/100;break;default:Di=1;break}var as={strokeDasharray:"".concat(jo*Di,"px, 100px"),strokeDashoffset:"-".concat(wi,"px"),transition:$r||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},un=Io[Ia]||Io[Io.length-1];return wi+=jo,Ae.createElement("path",{key:Ia,className:"".concat(br,"-line-path"),d:lo,strokeLinecap:Vr,stroke:un,strokeWidth:hr,fillOpacity:"0",ref:function(Pn){po[Ia]=Pn},style:as})}))},b=a,E=ge(71002),x=ge(97685),z=ge(98924),ae=0,de=(0,z.Z)();function we(){var kt;return de?(kt=ae,ae+=1):kt="TEST_OR_SSR",kt}var be=function(kt){var en=Ae.useState(),Qn=(0,x.Z)(en,2),Mn=Qn[0],er=Qn[1];return Ae.useEffect(function(){er("rc_progress_".concat(we()))},[]),kt||Mn},Ne=function(en){var Qn=en.bg,Mn=en.children;return Ae.createElement("div",{style:{width:"100%",height:"100%",background:Qn}},Mn)};function We(kt,en){return Object.keys(kt).map(function(Qn){var Mn=parseFloat(Qn),er="".concat(Math.floor(Mn*en),"%");return"".concat(kt[Qn]," ").concat(er)})}var Ze=Ae.forwardRef(function(kt,en){var Qn=kt.prefixCls,Mn=kt.color,er=kt.gradientId,br=kt.radius,_r=kt.style,Vr=kt.ptg,hr=kt.strokeLinecap,gr=kt.strokeWidth,Sr=kt.size,qr=kt.gapDegree,$r=Mn&&(0,E.Z)(Mn)==="object",io=$r?"#FFF":void 0,Ba=Sr/2,Io=Ae.createElement("circle",{className:"".concat(Qn,"-circle-path"),r:br,cx:Ba,cy:Ba,stroke:io,strokeLinecap:hr,strokeWidth:gr,opacity:Vr===0?0:1,style:_r,ref:en});if(!$r)return Io;var po="".concat(er,"-conic"),Ea=qr?"".concat(180+qr/2,"deg"):"0deg",sn=We(Mn,(360-qr)/360),lo=We(Mn,1),wa="conic-gradient(from ".concat(Ea,", ").concat(sn.join(", "),")"),wi="linear-gradient(to ".concat(qr?"bottom":"top",", ").concat(lo.join(", "),")");return Ae.createElement(Ae.Fragment,null,Ae.createElement("mask",{id:po},Io),Ae.createElement("foreignObject",{x:0,y:0,width:Sr,height:Sr,mask:"url(#".concat(po,")")},Ae.createElement(Ne,{bg:wi},Ae.createElement(Ne,{bg:wa}))))}),at=Ze,Ue=100,Bt=function(en,Qn,Mn,er,br,_r,Vr,hr,gr,Sr){var qr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,$r=Mn/100*360*((360-_r)/360),io=_r===0?0:{bottom:0,top:180,left:90,right:-90}[Vr],Ba=(100-er)/100*Qn;gr==="round"&&er!==100&&(Ba+=Sr/2,Ba>=Qn&&(Ba=Qn-.01));var Io=Ue/2;return{stroke:typeof hr=="string"?hr:void 0,strokeDasharray:"".concat(Qn,"px ").concat(en),strokeDashoffset:Ba+qr,transform:"rotate(".concat(br+$r+io,"deg)"),transformOrigin:"".concat(Io,"px ").concat(Io,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Me=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Nt(kt){var en=kt!=null?kt:[];return Array.isArray(en)?en:[en]}var ut=function(en){var Qn=(0,De.Z)((0,De.Z)({},Ee),en),Mn=Qn.id,er=Qn.prefixCls,br=Qn.steps,_r=Qn.strokeWidth,Vr=Qn.trailWidth,hr=Qn.gapDegree,gr=hr===void 0?0:hr,Sr=Qn.gapPosition,qr=Qn.trailColor,$r=Qn.strokeLinecap,io=Qn.style,Ba=Qn.className,Io=Qn.strokeColor,po=Qn.percent,Ea=(0,Pe.Z)(Qn,Me),sn=Ue/2,lo=be(Mn),wa="".concat(lo,"-gradient"),wi=sn-_r/2,jo=Math.PI*2*wi,Ia=gr>0?90+gr/2:-90,Di=jo*((360-gr)/360),as=(0,E.Z)(br)==="object"?br:{count:br,space:2},un=as.count,Bn=as.space,Pn=Nt(po),yr=Nt(Io),ea=yr.find(function(ni){return ni&&(0,E.Z)(ni)==="object"}),Yr=ea&&(0,E.Z)(ea)==="object",wo=Yr?"butt":$r,Sa=Bt(jo,Di,0,100,Ia,gr,Sr,qr,wo,_r),ca=ie(),Ei=function(){var Jr=0;return Pn.map(function(eo,qi){var os=yr[qi]||yr[yr.length-1],fi=Bt(jo,Di,Jr,eo,Ia,gr,Sr,os,wo,_r);return Jr+=eo,Ae.createElement(at,{key:qi,color:os,ptg:eo,radius:wi,prefixCls:er,gradientId:wa,style:fi,strokeLinecap:wo,strokeWidth:_r,gapDegree:gr,ref:function(Ka){ca[qi]=Ka},size:Ue})}).reverse()},Pi=function(){var Jr=Math.round(un*(Pn[0]/100)),eo=100/un,qi=0;return new Array(un).fill(null).map(function(os,fi){var mi=fi<=Jr-1?yr[0]:qr,Ka=mi&&(0,E.Z)(mi)==="object"?"url(#".concat(wa,")"):void 0,Go=Bt(jo,Di,qi,eo,Ia,gr,Sr,mi,"butt",_r,Bn);return qi+=(Di-Go.strokeDashoffset+Bn)*100/Di,Ae.createElement("circle",{key:fi,className:"".concat(er,"-circle-path"),r:wi,cx:sn,cy:sn,stroke:Ka,strokeWidth:_r,opacity:1,style:Go,ref:function(Qi){ca[fi]=Qi}})})};return Ae.createElement("svg",(0,ce.Z)({className:pe()("".concat(er,"-circle"),Ba),viewBox:"0 0 ".concat(Ue," ").concat(Ue),style:io,id:Mn,role:"presentation"},Ea),!un&&Ae.createElement("circle",{className:"".concat(er,"-circle-trail"),r:wi,cx:sn,cy:sn,stroke:qr,strokeLinecap:wo,strokeWidth:Vr||_r,style:Sa}),un?Pi():Ei())},At=ut,Lt={Line:b,Circle:At},dt=ge(83062),vt=ge(47448);function et(kt){return!kt||kt<0?0:kt>100?100:kt}function ct(kt){let{success:en,successPercent:Qn}=kt,Mn=Qn;return en&&"progress"in en&&(Mn=en.progress),en&&"percent"in en&&(Mn=en.percent),Mn}const an=kt=>{let{percent:en,success:Qn,successPercent:Mn}=kt;const er=et(ct({success:Qn,successPercent:Mn}));return[er,et(et(en)-er)]},En=kt=>{let{success:en={},strokeColor:Qn}=kt;const{strokeColor:Mn}=en;return[Mn||vt.presetPrimaryColors.green,Qn||null]},bt=(kt,en,Qn)=>{var Mn,er,br,_r;let Vr=-1,hr=-1;if(en==="step"){const gr=Qn.steps,Sr=Qn.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?(Vr=kt==="small"?2:14,hr=Sr!=null?Sr:8):typeof kt=="number"?[Vr,hr]=[kt,kt]:[Vr=14,hr=8]=kt,Vr*=gr}else if(en==="line"){const gr=Qn==null?void 0:Qn.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?hr=gr||(kt==="small"?6:8):typeof kt=="number"?[Vr,hr]=[kt,kt]:[Vr=-1,hr=8]=kt}else(en==="circle"||en==="dashboard")&&(typeof kt=="string"||typeof kt=="undefined"?[Vr,hr]=kt==="small"?[60,60]:[120,120]:typeof kt=="number"?[Vr,hr]=[kt,kt]:(Vr=(er=(Mn=kt[0])!==null&&Mn!==void 0?Mn:kt[1])!==null&&er!==void 0?er:120,hr=(_r=(br=kt[0])!==null&&br!==void 0?br:kt[1])!==null&&_r!==void 0?_r:120));return[Vr,hr]},nn=3,Fn=kt=>nn/kt*100;var Ln=kt=>{const{prefixCls:en,trailColor:Qn=null,strokeLinecap:Mn="round",gapPosition:er,gapDegree:br,width:_r=120,type:Vr,children:hr,success:gr,size:Sr=_r}=kt,[qr,$r]=bt(Sr,"circle");let{strokeWidth:io}=kt;io===void 0&&(io=Math.max(Fn(qr),6));const Ba={width:qr,height:$r,fontSize:qr*.15+6},Io=Ae.useMemo(()=>{if(br||br===0)return br;if(Vr==="dashboard")return 75},[br,Vr]),po=er||Vr==="dashboard"&&"bottom"||void 0,Ea=Object.prototype.toString.call(kt.strokeColor)==="[object Object]",sn=En({success:gr,strokeColor:kt.strokeColor}),lo=pe()(`${en}-inner`,{[`${en}-circle-gradient`]:Ea}),wa=Ae.createElement(At,{percent:an(kt),strokeWidth:io,trailWidth:io,strokeColor:sn,strokeLinecap:Mn,trailColor:Qn,prefixCls:en,gapDegree:Io,gapPosition:po});return Ae.createElement("div",{className:lo,style:Ba},qr<=20?Ae.createElement(dt.Z,{title:hr},Ae.createElement("span",null,wa)):Ae.createElement(Ae.Fragment,null,wa,hr))},Wn=function(kt,en){var Qn={};for(var Mn in kt)Object.prototype.hasOwnProperty.call(kt,Mn)&&en.indexOf(Mn)<0&&(Qn[Mn]=kt[Mn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var er=0,Mn=Object.getOwnPropertySymbols(kt);er{let en=[];return Object.keys(kt).forEach(Qn=>{const Mn=parseFloat(Qn.replace(/%/g,""));isNaN(Mn)||en.push({key:Mn,value:kt[Qn]})}),en=en.sort((Qn,Mn)=>Qn.key-Mn.key),en.map(Qn=>{let{key:Mn,value:er}=Qn;return`${er} ${Mn}%`}).join(", ")},Vn=(kt,en)=>{const{from:Qn=vt.presetPrimaryColors.blue,to:Mn=vt.presetPrimaryColors.blue,direction:er=en==="rtl"?"to left":"to right"}=kt,br=Wn(kt,["from","to","direction"]);if(Object.keys(br).length!==0){const _r=It(br);return{backgroundImage:`linear-gradient(${er}, ${_r})`}}return{backgroundImage:`linear-gradient(${er}, ${Qn}, ${Mn})`}};var Ye=kt=>{const{prefixCls:en,direction:Qn,percent:Mn,size:er,strokeWidth:br,strokeColor:_r,strokeLinecap:Vr="round",children:hr,trailColor:gr=null,success:Sr}=kt,qr=_r&&typeof _r!="string"?Vn(_r,Qn):{backgroundColor:_r},$r=Vr==="square"||Vr==="butt"?0:void 0,io={backgroundColor:gr||void 0,borderRadius:$r},Ba=er!=null?er:[-1,br||(er==="small"?6:8)],[Io,po]=bt(Ba,"line",{strokeWidth:br}),Ea=Object.assign({width:`${et(Mn)}%`,height:po,borderRadius:$r},qr),sn=ct(kt),lo={width:`${et(sn)}%`,height:po,borderRadius:$r,backgroundColor:Sr==null?void 0:Sr.strokeColor},wa={width:Io<0?"100%":Io,height:po};return Ae.createElement(Ae.Fragment,null,Ae.createElement("div",{className:`${en}-outer`,style:wa},Ae.createElement("div",{className:`${en}-inner`,style:io},Ae.createElement("div",{className:`${en}-bg`,style:Ea}),sn!==void 0?Ae.createElement("div",{className:`${en}-success-bg`,style:lo}):null)),hr)},Qe=kt=>{const{size:en,steps:Qn,percent:Mn=0,strokeWidth:er=8,strokeColor:br,trailColor:_r=null,prefixCls:Vr,children:hr}=kt,gr=Math.round(Qn*(Mn/100)),Sr=en==="small"?2:14,qr=en!=null?en:[Sr,er],[$r,io]=bt(qr,"step",{steps:Qn,strokeWidth:er}),Ba=$r/Qn,Io=new Array(Qn);for(let po=0;po{const en=kt?"100%":"-100%";return new me.Keyframes(`antProgress${kt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${en}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${en}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},lt=kt=>{const{componentCls:en,iconCls:Qn}=kt;return{[en]:Object.assign(Object.assign({},(0,he.Wf)(kt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:kt.fontSize,marginInlineEnd:kt.marginXS,marginBottom:kt.marginXS},[`${en}-outer`]:{display:"inline-block",width:"100%"},[`&${en}-show-info`]:{[`${en}-outer`]:{marginInlineEnd:`calc(-2em - ${kt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${kt.paddingXS}px)`}},[`${en}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:kt.remainingColor,borderRadius:kt.lineBorderRadius},[`${en}-inner:not(${en}-circle-gradient)`]:{[`${en}-circle-path`]:{stroke:kt.defaultColor}},[`${en}-success-bg, ${en}-bg`]:{position:"relative",backgroundColor:kt.defaultColor,borderRadius:kt.lineBorderRadius,transition:`all ${kt.motionDurationSlow} ${kt.motionEaseInOutCirc}`},[`${en}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:kt.colorSuccess},[`${en}-text`]:{display:"inline-block",width:"2em",marginInlineStart:kt.marginXS,color:kt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Qn]:{fontSize:kt.fontSize}},[`&${en}-status-active`]:{[`${en}-bg::before`]:{position:"absolute",inset:0,backgroundColor:kt.colorBgContainer,borderRadius:kt.lineBorderRadius,opacity:0,animationName:pt(),animationDuration:kt.progressActiveMotionDuration,animationTimingFunction:kt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${en}-rtl${en}-status-active`]:{[`${en}-bg::before`]:{animationName:pt(!0)}},[`&${en}-status-exception`]:{[`${en}-bg`]:{backgroundColor:kt.colorError},[`${en}-text`]:{color:kt.colorError}},[`&${en}-status-exception ${en}-inner:not(${en}-circle-gradient)`]:{[`${en}-circle-path`]:{stroke:kt.colorError}},[`&${en}-status-success`]:{[`${en}-bg`]:{backgroundColor:kt.colorSuccess},[`${en}-text`]:{color:kt.colorSuccess}},[`&${en}-status-success ${en}-inner:not(${en}-circle-gradient)`]:{[`${en}-circle-path`]:{stroke:kt.colorSuccess}}})}},_t=kt=>{const{componentCls:en,iconCls:Qn}=kt;return{[en]:{[`${en}-circle-trail`]:{stroke:kt.remainingColor},[`&${en}-circle ${en}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${en}-circle ${en}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:kt.circleTextColor,fontSize:kt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Qn]:{fontSize:`${kt.fontSize/kt.fontSizeSM}em`}},[`${en}-circle&-status-exception`]:{[`${en}-text`]:{color:kt.colorError}},[`${en}-circle&-status-success`]:{[`${en}-text`]:{color:kt.colorSuccess}}},[`${en}-inline-circle`]:{lineHeight:1,[`${en}-inner`]:{verticalAlign:"bottom"}}}},An=kt=>{const{componentCls:en}=kt;return{[en]:{[`${en}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:kt.progressStepMinWidth,marginInlineEnd:kt.progressStepMarginInlineEnd,backgroundColor:kt.remainingColor,transition:`all ${kt.motionDurationSlow}`,"&-active":{backgroundColor:kt.defaultColor}}}}}},cn=kt=>{const{componentCls:en,iconCls:Qn}=kt;return{[en]:{[`${en}-small&-line, ${en}-small&-line ${en}-text ${Qn}`]:{fontSize:kt.fontSizeSM}}}};var Kn=(0,Oe.Z)("Progress",kt=>{const en=kt.marginXXS/2,Qn=(0,qe.TS)(kt,{progressStepMarginInlineEnd:en,progressStepMinWidth:en,progressActiveMotionDuration:"2.4s"});return[lt(Qn),_t(Qn),An(Qn),cn(Qn)]},kt=>({circleTextColor:kt.colorText,defaultColor:kt.colorInfo,remainingColor:kt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),St=function(kt,en){var Qn={};for(var Mn in kt)Object.prototype.hasOwnProperty.call(kt,Mn)&&en.indexOf(Mn)<0&&(Qn[Mn]=kt[Mn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var er=0,Mn=Object.getOwnPropertySymbols(kt);er{const{prefixCls:Qn,className:Mn,rootClassName:er,steps:br,strokeColor:_r,percent:Vr=0,size:hr="default",showInfo:gr=!0,type:Sr="line",status:qr,format:$r,style:io}=kt,Ba=St(kt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Io=Ae.useMemo(()=>{var Pn,yr;const ea=ct(kt);return parseInt(ea!==void 0?(Pn=ea!=null?ea:0)===null||Pn===void 0?void 0:Pn.toString():(yr=Vr!=null?Vr:0)===null||yr===void 0?void 0:yr.toString(),10)},[Vr,kt.success,kt.successPercent]),po=Ae.useMemo(()=>!Vt.includes(qr)&&Io>=100?"success":qr||"normal",[qr,Io]),{getPrefixCls:Ea,direction:sn,progress:lo}=Ae.useContext(Le.E_),wa=Ea("progress",Qn),[wi,jo]=Kn(wa),Ia=Ae.useMemo(()=>{if(!gr)return null;const Pn=ct(kt);let yr;const ea=$r||(wo=>`${wo}%`),Yr=Sr==="line";return $r||po!=="exception"&&po!=="success"?yr=ea(et(Vr),et(Pn)):po==="exception"?yr=Yr?Ae.createElement(_e.Z,null):Ae.createElement(ze.Z,null):po==="success"&&(yr=Yr?Ae.createElement(ye.Z,null):Ae.createElement(Ke.Z,null)),Ae.createElement("span",{className:`${wa}-text`,title:typeof yr=="string"?yr:void 0},yr)},[gr,Vr,Io,po,Sr,wa,$r]),Di=Array.isArray(_r)?_r[0]:_r,as=typeof _r=="string"||Array.isArray(_r)?_r:void 0;let un;Sr==="line"?un=br?Ae.createElement(Qe,Object.assign({},kt,{strokeColor:as,prefixCls:wa,steps:br}),Ia):Ae.createElement(Ye,Object.assign({},kt,{strokeColor:Di,prefixCls:wa,direction:sn}),Ia):(Sr==="circle"||Sr==="dashboard")&&(un=Ae.createElement(Ln,Object.assign({},kt,{strokeColor:Di,prefixCls:wa,progressStatus:po}),Ia));const Bn=pe()(wa,`${wa}-status-${po}`,`${wa}-${Sr==="dashboard"&&"circle"||br&&"steps"||Sr}`,{[`${wa}-inline-circle`]:Sr==="circle"&&bt(hr,"circle")[0]<=20,[`${wa}-show-info`]:gr,[`${wa}-${hr}`]:typeof hr=="string",[`${wa}-rtl`]:sn==="rtl"},lo==null?void 0:lo.className,Mn,er,jo);return wi(Ae.createElement("div",Object.assign({ref:en,style:Object.assign(Object.assign({},lo==null?void 0:lo.style),io),className:Bn,role:"progressbar","aria-valuenow":Io},(0,ve.Z)(Ba,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),un))}),Un=yt},12604:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return vt}});var Ae=ge(87462),ye=ge(67294),Ke={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"},_e=Ke,ze=ge(74643),je=function(ct,an){return ye.createElement(ze.Z,(0,Ae.Z)({},ct,{ref:an,icon:_e}))},pe=ye.forwardRef(je),ve=ge(94184),Le=ge.n(ve),ce=ge(4942),De=ge(97685),Pe=ge(45987),Ee=ge(21770),ie=ge(15105),y=ge(64217);function a(et,ct){var an=et.disabled,En=et.prefixCls,bt=et.character,nn=et.characterRender,Fn=et.index,$n=et.count,Ln=et.value,Wn=et.allowHalf,It=et.focused,Vn=et.onHover,Xn=et.onClick,Ye=function(lt){Vn(lt,Fn)},mn=function(lt){Xn(lt,Fn)},Qe=function(lt){lt.keyCode===ie.Z.ENTER&&Xn(lt,Fn)},me=Fn+1,he=new Set([En]);Ln===0&&Fn===0&&It?he.add("".concat(En,"-focused")):Wn&&Ln+.5>=me&&LnFn?"true":"false","aria-posinset":Fn+1,"aria-setsize":$n,tabIndex:an?-1:0},ye.createElement("div",{className:"".concat(En,"-first")},Oe),ye.createElement("div",{className:"".concat(En,"-second")},Oe)));return nn&&(qe=nn(qe,et)),qe}var b=ye.forwardRef(a);function E(){var et=ye.useRef({});function ct(En){return et.current[En]}function an(En){return function(bt){et.current[En]=bt}}return[ct,an]}function x(et){var ct=et.pageXOffset,an="scrollLeft";if(typeof ct!="number"){var En=et.document;ct=En.documentElement[an],typeof ct!="number"&&(ct=En.body[an])}return ct}function z(et){var ct,an,En=et.ownerDocument,bt=En.body,nn=En&&En.documentElement,Fn=et.getBoundingClientRect();return ct=Fn.left,an=Fn.top,ct-=nn.clientLeft||bt.clientLeft||0,an-=nn.clientTop||bt.clientTop||0,{left:ct,top:an}}function ae(et){var ct=z(et),an=et.ownerDocument,En=an.defaultView||an.parentWindow;return ct.left+=x(En),ct.left}var de=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function we(et,ct){var an,En=et.prefixCls,bt=En===void 0?"rc-rate":En,nn=et.className,Fn=et.defaultValue,$n=et.value,Ln=et.count,Wn=Ln===void 0?5:Ln,It=et.allowHalf,Vn=It===void 0?!1:It,Xn=et.allowClear,Ye=Xn===void 0?!0:Xn,mn=et.character,Qe=mn===void 0?"\u2605":mn,me=et.characterRender,he=et.disabled,Oe=et.direction,qe=Oe===void 0?"ltr":Oe,pt=et.tabIndex,lt=pt===void 0?0:pt,_t=et.autoFocus,An=et.onHoverChange,cn=et.onChange,Kn=et.onFocus,St=et.onBlur,zt=et.onKeyDown,Vt=et.onMouseLeave,Cn=(0,Pe.Z)(et,de),yt=E(),Un=(0,De.Z)(yt,2),kt=Un[0],en=Un[1],Qn=ye.useRef(null),Mn=function(){if(!he){var Yr;(Yr=Qn.current)===null||Yr===void 0||Yr.focus()}};ye.useImperativeHandle(ct,function(){return{focus:Mn,blur:function(){if(!he){var Yr;(Yr=Qn.current)===null||Yr===void 0||Yr.blur()}}}});var er=(0,Ee.Z)(Fn||0,{value:$n}),br=(0,De.Z)(er,2),_r=br[0],Vr=br[1],hr=(0,Ee.Z)(null),gr=(0,De.Z)(hr,2),Sr=gr[0],qr=gr[1],$r=function(Yr,wo){var Sa=qe==="rtl",ca=Yr+1;if(Vn){var Ei=kt(Yr),Pi=ae(Ei),ni=Ei.clientWidth;(Sa&&wo-Pi>ni/2||!Sa&&wo-Pi0&&!Sa||wo===ie.Z.RIGHT&&ca>0&&Sa?(Vn?ca-=.5:ca-=1,io(ca),Yr.preventDefault()):wo===ie.Z.LEFT&&ca{const{componentCls:ct}=et;return{[`${ct}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:et.marginXS},"> div":{transition:`all ${et.motionDurationMid}, outline 0s`,"&:hover":{transform:et.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${et.lineWidth}px dashed ${et.starColor}`,transform:et.starHoverScale}},"&-first, &-second":{color:et.starBg,transition:`all ${et.motionDurationMid}`,userSelect:"none",[et.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ct}-star-first, &-half ${ct}-star-second`]:{opacity:1},[`&-half ${ct}-star-first, &-full ${ct}-star-second`]:{color:"inherit"}}}},Nt=et=>({[`&-rtl${et.componentCls}`]:{direction:"rtl"}}),ut=et=>{const{componentCls:ct}=et;return{[ct]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,at.Wf)(et)),{display:"inline-block",margin:0,padding:0,color:et.starColor,fontSize:et.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${ct} ${ct}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Me(et)),{[`+ ${ct}-text`]:{display:"inline-block",marginInlineStart:et.marginXS,fontSize:et.fontSize}}),Nt(et))}};var At=(0,Ue.Z)("Rate",et=>{const ct=(0,Bt.TS)(et,{});return[ut(ct)]},et=>({starColor:et.yellow6,starSize:et.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:et.colorFillContent})),Lt=function(et,ct){var an={};for(var En in et)Object.prototype.hasOwnProperty.call(et,En)&&ct.indexOf(En)<0&&(an[En]=et[En]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,En=Object.getOwnPropertySymbols(et);bt{const{prefixCls:an,className:En,rootClassName:bt,style:nn,tooltips:Fn,character:$n=ye.createElement(pe,null)}=et,Ln=Lt(et,["prefixCls","className","rootClassName","style","tooltips","character"]),Wn=(he,Oe)=>{let{index:qe}=Oe;return Fn?ye.createElement(Ze.Z,{title:Fn[qe]},he):he},{getPrefixCls:It,direction:Vn,rate:Xn}=ye.useContext(We.E_),Ye=It("rate",an),[mn,Qe]=At(Ye),me=Object.assign(Object.assign({},Xn==null?void 0:Xn.style),nn);return mn(ye.createElement(Ne,Object.assign({ref:ct,character:$n,characterRender:Wn},Ln,{className:Le()(En,bt,Qe,Xn==null?void 0:Xn.className),style:me,prefixCls:Ye,direction:Vn})))})},46303:function(qt,Ot,ge){"use strict";ge.d(Ot,{Z:function(){return Qe}});var Ae=ge(94184),ye=ge.n(Ae),Ke=ge(67294),_e=ge(53124),ze=ge(10366),pe=me=>{const{prefixCls:he,className:Oe,style:qe,size:pt,shape:lt}=me,_t=ye()({[`${he}-lg`]:pt==="large",[`${he}-sm`]:pt==="small"}),An=ye()({[`${he}-circle`]:lt==="circle",[`${he}-square`]:lt==="square",[`${he}-round`]:lt==="round"}),cn=Ke.useMemo(()=>typeof pt=="number"?{width:pt,height:pt,lineHeight:`${pt}px`}:{},[pt]);return Ke.createElement("span",{className:ye()(he,_t,An,Oe),style:Object.assign(Object.assign({},cn),qe)})},ve=ge(45930),Le=ge(67968),ce=ge(45503);const De=new ve.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Pe=me=>({height:me,lineHeight:`${me}px`}),Ee=me=>Object.assign({width:me},Pe(me)),ie=me=>({background:me.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:De,animationDuration:me.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=me=>Object.assign({width:me*5,minWidth:me*5},Pe(me)),a=me=>{const{skeletonAvatarCls:he,gradientFromColor:Oe,controlHeight:qe,controlHeightLG:pt,controlHeightSM:lt}=me;return{[`${he}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Oe},Ee(qe)),[`${he}${he}-circle`]:{borderRadius:"50%"},[`${he}${he}-lg`]:Object.assign({},Ee(pt)),[`${he}${he}-sm`]:Object.assign({},Ee(lt))}},b=me=>{const{controlHeight:he,borderRadiusSM:Oe,skeletonInputCls:qe,controlHeightLG:pt,controlHeightSM:lt,gradientFromColor:_t}=me;return{[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_t,borderRadius:Oe},y(he)),[`${qe}-lg`]:Object.assign({},y(pt)),[`${qe}-sm`]:Object.assign({},y(lt))}},E=me=>Object.assign({width:me},Pe(me)),x=me=>{const{skeletonImageCls:he,imageSizeBase:Oe,gradientFromColor:qe,borderRadiusSM:pt}=me;return{[`${he}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:qe,borderRadius:pt},E(Oe*2)),{[`${he}-path`]:{fill:"#bfbfbf"},[`${he}-svg`]:Object.assign(Object.assign({},E(Oe)),{maxWidth:Oe*4,maxHeight:Oe*4}),[`${he}-svg${he}-svg-circle`]:{borderRadius:"50%"}}),[`${he}${he}-circle`]:{borderRadius:"50%"}}},z=(me,he,Oe)=>{const{skeletonButtonCls:qe}=me;return{[`${Oe}${qe}-circle`]:{width:he,minWidth:he,borderRadius:"50%"},[`${Oe}${qe}-round`]:{borderRadius:he}}},ae=me=>Object.assign({width:me*2,minWidth:me*2},Pe(me)),de=me=>{const{borderRadiusSM:he,skeletonButtonCls:Oe,controlHeight:qe,controlHeightLG:pt,controlHeightSM:lt,gradientFromColor:_t}=me;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_t,borderRadius:he,width:qe*2,minWidth:qe*2},ae(qe))},z(me,qe,Oe)),{[`${Oe}-lg`]:Object.assign({},ae(pt))}),z(me,pt,`${Oe}-lg`)),{[`${Oe}-sm`]:Object.assign({},ae(lt))}),z(me,lt,`${Oe}-sm`))},we=me=>{const{componentCls:he,skeletonAvatarCls:Oe,skeletonTitleCls:qe,skeletonParagraphCls:pt,skeletonButtonCls:lt,skeletonInputCls:_t,skeletonImageCls:An,controlHeight:cn,controlHeightLG:Kn,controlHeightSM:St,gradientFromColor:zt,padding:Vt,marginSM:Cn,borderRadius:yt,titleHeight:Un,blockRadius:kt,paragraphLiHeight:en,controlHeightXS:Qn,paragraphMarginTop:Mn}=me;return{[`${he}`]:{display:"table",width:"100%",[`${he}-header`]:{display:"table-cell",paddingInlineEnd:Vt,verticalAlign:"top",[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:zt},Ee(cn)),[`${Oe}-circle`]:{borderRadius:"50%"},[`${Oe}-lg`]:Object.assign({},Ee(Kn)),[`${Oe}-sm`]:Object.assign({},Ee(St))},[`${he}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${qe}`]:{width:"100%",height:Un,background:zt,borderRadius:kt,[`+ ${pt}`]:{marginBlockStart:St}},[`${pt}`]:{padding:0,"> li":{width:"100%",height:en,listStyle:"none",background:zt,borderRadius:kt,"+ li":{marginBlockStart:Qn}}},[`${pt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${he}-content`]:{[`${qe}, ${pt} > li`]:{borderRadius:yt}}},[`${he}-with-avatar ${he}-content`]:{[`${qe}`]:{marginBlockStart:Cn,[`+ ${pt}`]:{marginBlockStart:Mn}}},[`${he}${he}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},de(me)),a(me)),b(me)),x(me)),[`${he}${he}-block`]:{width:"100%",[`${lt}`]:{width:"100%"},[`${_t}`]:{width:"100%"}},[`${he}${he}-active`]:{[` ${qe}, ${pt} > li, ${Oe}, ${lt}, ${_t}, ${An} `]:Object.assign({},ie(me))}}};var be=(0,Le.Z)("Skeleton",me=>{const{componentCls:he}=me,Oe=(0,ce.TS)(me,{skeletonAvatarCls:`${he}-avatar`,skeletonTitleCls:`${he}-title`,skeletonParagraphCls:`${he}-paragraph`,skeletonButtonCls:`${he}-button`,skeletonInputCls:`${he}-input`,skeletonImageCls:`${he}-image`,imageSizeBase:me.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${me.gradientFromColor} 25%, ${me.gradientToColor} 37%, ${me.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[we(Oe)]},me=>{const{colorFillContent:he,colorFill:Oe}=me,qe=he,pt=Oe;return{color:qe,colorGradientEnd:pt,gradientFromColor:qe,gradientToColor:pt,titleHeight:me.controlHeight/2,blockRadius:me.borderRadiusSM,paragraphMarginTop:me.marginLG+me.marginXXS,paragraphLiHeight:me.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),We=me=>{const{prefixCls:he,className:Oe,rootClassName:qe,active:pt,shape:lt="circle",size:_t="default"}=me,{getPrefixCls:An}=Ke.useContext(_e.E_),cn=An("skeleton",he),[Kn,St]=be(cn),zt=(0,ze.Z)(me,["prefixCls","className"]),Vt=ye()(cn,`${cn}-element`,{[`${cn}-active`]:pt},Oe,qe,St);return Kn(Ke.createElement("div",{className:Vt},Ke.createElement(pe,Object.assign({prefixCls:`${cn}-avatar`,shape:lt,size:_t},zt))))},at=me=>{const{prefixCls:he,className:Oe,rootClassName:qe,active:pt,block:lt=!1,size:_t="default"}=me,{getPrefixCls:An}=Ke.useContext(_e.E_),cn=An("skeleton",he),[Kn,St]=be(cn),zt=(0,ze.Z)(me,["prefixCls"]),Vt=ye()(cn,`${cn}-element`,{[`${cn}-active`]:pt,[`${cn}-block`]:lt},Oe,qe,St);return Kn(Ke.createElement("div",{className:Vt},Ke.createElement(pe,Object.assign({prefixCls:`${cn}-button`,size:_t},zt))))};const Ue="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Me=me=>{const{prefixCls:he,className:Oe,rootClassName:qe,style:pt,active:lt}=me,{getPrefixCls:_t}=Ke.useContext(_e.E_),An=_t("skeleton",he),[cn,Kn]=be(An),St=ye()(An,`${An}-element`,{[`${An}-active`]:lt},Oe,qe,Kn);return cn(Ke.createElement("div",{className:St},Ke.createElement("div",{className:ye()(`${An}-image`,Oe),style:pt},Ke.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${An}-image-svg`},Ke.createElement("path",{d:Ue,className:`${An}-image-path`})))))},ut=me=>{const{prefixCls:he,className:Oe,rootClassName:qe,active:pt,block:lt,size:_t="default"}=me,{getPrefixCls:An}=Ke.useContext(_e.E_),cn=An("skeleton",he),[Kn,St]=be(cn),zt=(0,ze.Z)(me,["prefixCls"]),Vt=ye()(cn,`${cn}-element`,{[`${cn}-active`]:pt,[`${cn}-block`]:lt},Oe,qe,St);return Kn(Ke.createElement("div",{className:Vt},Ke.createElement(pe,Object.assign({prefixCls:`${cn}-input`,size:_t},zt))))},At=ge(87462),Lt={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"},dt=Lt,vt=ge(74643),et=function(he,Oe){return Ke.createElement(vt.Z,(0,At.Z)({},he,{ref:Oe,icon:dt}))},ct=Ke.forwardRef(et),En=me=>{const{prefixCls:he,className:Oe,rootClassName:qe,style:pt,active:lt,children:_t}=me,{getPrefixCls:An}=Ke.useContext(_e.E_),cn=An("skeleton",he),[Kn,St]=be(cn),zt=ye()(cn,`${cn}-element`,{[`${cn}-active`]:lt},St,Oe,qe),Vt=_t!=null?_t:Ke.createElement(ct,null);return Kn(Ke.createElement("div",{className:zt},Ke.createElement("div",{className:ye()(`${cn}-image`,Oe),style:pt},Vt)))},bt=ge(74902),Fn=me=>{const he=An=>{const{width:cn,rows:Kn=2}=me;if(Array.isArray(cn))return cn[An];if(Kn-1===An)return cn},{prefixCls:Oe,className:qe,style:pt,rows:lt}=me,_t=(0,bt.Z)(Array(lt)).map((An,cn)=>Ke.createElement("li",{key:cn,style:{width:he(cn)}}));return Ke.createElement("ul",{className:ye()(Oe,qe),style:pt},_t)},Ln=me=>{let{prefixCls:he,className:Oe,width:qe,style:pt}=me;return Ke.createElement("h3",{className:ye()(he,Oe),style:Object.assign({width:qe},pt)})};function Wn(me){return me&&typeof me=="object"?me:{}}function It(me,he){return me&&!he?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Vn(me,he){return!me&&he?{width:"38%"}:me&&he?{width:"50%"}:{}}function Xn(me,he){const Oe={};return(!me||!he)&&(Oe.width="61%"),!me&&he?Oe.rows=3:Oe.rows=2,Oe}const Ye=me=>{const{prefixCls:he,loading:Oe,className:qe,rootClassName:pt,style:lt,children:_t,avatar:An=!1,title:cn=!0,paragraph:Kn=!0,active:St,round:zt}=me,{getPrefixCls:Vt,direction:Cn,skeleton:yt}=Ke.useContext(_e.E_),Un=Vt("skeleton",he),[kt,en]=be(Un);if(Oe||!("loading"in me)){const Qn=!!An,Mn=!!cn,er=!!Kn;let br;if(Qn){const hr=Object.assign(Object.assign({prefixCls:`${Un}-avatar`},It(Mn,er)),Wn(An));br=Ke.createElement("div",{className:`${Un}-header`},Ke.createElement(pe,Object.assign({},hr)))}let _r;if(Mn||er){let hr;if(Mn){const Sr=Object.assign(Object.assign({prefixCls:`${Un}-title`},Vn(Qn,er)),Wn(cn));hr=Ke.createElement(Ln,Object.assign({},Sr))}let gr;if(er){const Sr=Object.assign(Object.assign({prefixCls:`${Un}-paragraph`},Xn(Qn,Mn)),Wn(Kn));gr=Ke.createElement(Fn,Object.assign({},Sr))}_r=Ke.createElement("div",{className:`${Un}-content`},hr,gr)}const Vr=ye()(Un,{[`${Un}-with-avatar`]:Qn,[`${Un}-active`]:St,[`${Un}-rtl`]:Cn==="rtl",[`${Un}-round`]:zt},yt==null?void 0:yt.className,qe,pt,en);return kt(Ke.createElement("div",{className:Vr,style:Object.assign(Object.assign({},yt==null?void 0:yt.style),lt)},br,_r))}return typeof _t!="undefined"?_t:null};Ye.Button=at,Ye.Avatar=We,Ye.Input=ut,Ye.Image=Me,Ye.Node=En;var mn=Ye,Qe=mn},55054:function(qt,Ot,ge){"use strict";ge.d(Ot,{default:function(){return be}});var Ae=ge(67294),ye=ge(57838),Ke=ge(96159),_e=ge(94184),ze=ge.n(_e),je=ge(53124),pe=ge(46303),Le=Ne=>{const{value:We,formatter:Ze,precision:at,decimalSeparator:Ue,groupSeparator:Bt="",prefixCls:Me}=Ne;let Nt;if(typeof Ze=="function")Nt=Ze(We);else{const ut=String(We),At=ut.match(/^(-?)(\d*)(\.(\d+))?$/);if(!At||ut==="-")Nt=ut;else{const Lt=At[1];let dt=At[2]||"0",vt=At[4]||"";dt=dt.replace(/\B(?=(\d{3})+(?!\d))/g,Bt),typeof at=="number"&&(vt=vt.padEnd(at,"0").slice(0,at>0?at:0)),vt&&(vt=`${Ue}${vt}`),Nt=[Ae.createElement("span",{key:"int",className:`${Me}-content-value-int`},Lt,dt),vt&&Ae.createElement("span",{key:"decimal",className:`${Me}-content-value-decimal`},vt)]}}return Ae.createElement("span",{className:`${Me}-content-value`},Nt)},ce=ge(14747),De=ge(67968),Pe=ge(45503);const Ee=Ne=>{const{componentCls:We,marginXXS:Ze,padding:at,colorTextDescription:Ue,titleFontSize:Bt,colorTextHeading:Me,contentFontSize:Nt,fontFamily:ut}=Ne;return{[`${We}`]:Object.assign(Object.assign({},(0,ce.Wf)(Ne)),{[`${We}-title`]:{marginBottom:Ze,color:Ue,fontSize:Bt},[`${We}-skeleton`]:{paddingTop:at},[`${We}-content`]:{color:Me,fontSize:Nt,fontFamily:ut,[`${We}-content-value`]:{display:"inline-block",direction:"ltr"},[`${We}-content-prefix, ${We}-content-suffix`]:{display:"inline-block"},[`${We}-content-prefix`]:{marginInlineEnd:Ze},[`${We}-content-suffix`]:{marginInlineStart:Ze}}})}};var ie=(0,De.Z)("Statistic",Ne=>{const We=(0,Pe.TS)(Ne,{});return[Ee(We)]},Ne=>{const{fontSizeHeading3:We,fontSize:Ze}=Ne;return{titleFontSize:Ze,contentFontSize:We}}),a=Ne=>{const{prefixCls:We,className:Ze,rootClassName:at,style:Ue,valueStyle:Bt,value:Me=0,title:Nt,valueRender:ut,prefix:At,suffix:Lt,loading:dt=!1,onMouseEnter:vt,onMouseLeave:et,decimalSeparator:ct=".",groupSeparator:an=","}=Ne,{getPrefixCls:En,direction:bt,statistic:nn}=Ae.useContext(je.E_),Fn=En("statistic",We),[$n,Ln]=ie(Fn),Wn=Ae.createElement(Le,Object.assign({decimalSeparator:ct,groupSeparator:an,prefixCls:Fn},Ne,{value:Me})),It=ze()(Fn,{[`${Fn}-rtl`]:bt==="rtl"},nn==null?void 0:nn.className,Ze,at,Ln);return $n(Ae.createElement("div",{className:It,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),Ue),onMouseEnter:vt,onMouseLeave:et},Nt&&Ae.createElement("div",{className:`${Fn}-title`},Nt),Ae.createElement(pe.Z,{paragraph:!1,loading:dt,className:`${Fn}-skeleton`},Ae.createElement("div",{style:Bt,className:`${Fn}-content`},At&&Ae.createElement("span",{className:`${Fn}-content-prefix`},At),ut?ut(Wn):Wn,Lt&&Ae.createElement("span",{className:`${Fn}-content-suffix`},Lt)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(Ne,We){let Ze=Ne;const at=/\[[^\]]*]/g,Ue=(We.match(at)||[]).map(ut=>ut.slice(1,-1)),Bt=We.replace(at,"[]"),Me=b.reduce((ut,At)=>{let[Lt,dt]=At;if(ut.includes(Lt)){const vt=Math.floor(Ze/dt);return Ze-=vt*dt,ut.replace(new RegExp(`${Lt}+`,"g"),et=>{const ct=et.length;return vt.toString().padStart(ct,"0")})}return ut},Bt);let Nt=0;return Me.replace(at,()=>{const ut=Ue[Nt];return Nt+=1,ut})}function x(Ne,We){const{format:Ze=""}=We,at=new Date(Ne).getTime(),Ue=Date.now(),Bt=Math.max(at-Ue,0);return E(Bt,Ze)}const z=1e3/30;function ae(Ne){return new Date(Ne).getTime()}const de=Ne=>{const{value:We,format:Ze="HH:mm:ss",onChange:at,onFinish:Ue}=Ne,Bt=(0,ye.Z)(),Me=Ae.useRef(null),Nt=()=>{Ue==null||Ue(),Me.current&&(clearInterval(Me.current),Me.current=null)},ut=()=>{const dt=ae(We);dt>=Date.now()&&(Me.current=setInterval(()=>{Bt(),at==null||at(dt-Date.now()),dt(ut(),()=>{Me.current&&(clearInterval(Me.current),Me.current=null)}),[We]);const At=(dt,vt)=>x(dt,Object.assign(Object.assign({},vt),{format:Ze})),Lt=dt=>(0,Ke.Tm)(dt,{title:void 0});return Ae.createElement(a,Object.assign({},Ne,{valueRender:Lt,formatter:At}))};var we=Ae.memo(de);a.Countdown=we;var be=a},49867:function(qt,Ot,ge){"use strict";ge.d(Ot,{N:function(){return Ae}});const Ae=ye=>({color:ye.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ye.motionDurationSlow}`,"&:focus, &:hover":{color:ye.colorLinkHover},"&:active":{color:ye.colorLinkActive}})},9430:function(qt,Ot,ge){"use strict";ge.d(Ot,{default:function(){return eu}});var Ae={},ye="rc-table-internal-hook",Ke=ge(97685),_e=ge(66680),ze=ge(8410),je=ge(91881),pe=ge(67294),ve=ge(73935);function Le(He){var Ge=pe.createContext(void 0),ot=function(Tt){var Kt=Tt.value,dn=Tt.children,Wt=pe.useRef(Kt);Wt.current=Kt;var wn=pe.useState(function(){return{getValue:function(){return Wt.current},listeners:new Set}}),Rn=(0,Ke.Z)(wn,1),qn=Rn[0];return(0,ze.Z)(function(){(0,ve.unstable_batchedUpdates)(function(){qn.listeners.forEach(function(kn){kn(Kt)})})},[Kt]),pe.createElement(Ge.Provider,{value:qn},dn)};return{Context:Ge,Provider:ot,defaultValue:He}}function ce(He,Ge){var ot=(0,_e.Z)(typeof Ge=="function"?Ge:function(kn){if(Ge===void 0)return kn;if(!Array.isArray(Ge))return kn[Ge];var xr={};return Ge.forEach(function(Cr){xr[Cr]=kn[Cr]}),xr}),mt=pe.useContext(He==null?void 0:He.Context),Tt=mt||{},Kt=Tt.listeners,dn=Tt.getValue,Wt=pe.useRef();Wt.current=ot(mt?dn():He==null?void 0:He.defaultValue);var wn=pe.useState({}),Rn=(0,Ke.Z)(wn,2),qn=Rn[1];return(0,ze.Z)(function(){if(!mt)return;function kn(xr){var Cr=ot(xr);(0,je.Z)(Wt.current,Cr,!0)||qn({})}return Kt.add(kn),function(){Kt.delete(kn)}},[mt]),Wt.current}var De=ge(87462),Pe=ge(42550);function Ee(){var He=pe.createContext(null);function Ge(){return pe.useContext(He)}function ot(Tt,Kt){var dn=(0,Pe.Yr)(Tt),Wt=function(Rn,qn){var kn=dn?{ref:qn}:{},xr=pe.useRef(0),Cr=pe.useRef(Rn),Pr=Ge();return Pr!==null?pe.createElement(Tt,(0,De.Z)({},Rn,kn)):((!Kt||Kt(Cr.current,Rn))&&(xr.current+=1),Cr.current=Rn,pe.createElement(He.Provider,{value:xr.current},pe.createElement(Tt,(0,De.Z)({},Rn,kn))))};return dn?pe.forwardRef(Wt):Wt}function mt(Tt,Kt){var dn=(0,Pe.Yr)(Tt),Wt=function(Rn,qn){var kn=dn?{ref:qn}:{};return Ge(),pe.createElement(Tt,(0,De.Z)({},Rn,kn))};return dn?pe.memo(pe.forwardRef(Wt),Kt):pe.memo(Wt,Kt)}return{makeImmutable:ot,responseImmutable:mt,useImmutableMark:Ge}}var ie=Ee(),y=ie.makeImmutable,a=ie.responseImmutable,b=ie.useImmutableMark,E=Ee(),x=E.makeImmutable,z=E.responseImmutable,ae=E.useImmutableMark,de=Le(),we=de;function be(He,Ge){var ot=pe.useRef(0);ot.current+=1;var mt=pe.useRef(He),Tt=[];Object.keys(He||{}).map(function(dn){var Wt;(He==null?void 0:He[dn])!==((Wt=mt.current)===null||Wt===void 0?void 0:Wt[dn])&&Tt.push(dn)}),mt.current=He;var Kt=pe.useRef([]);return Tt.length&&(Kt.current=Tt),pe.useDebugValue(ot.current),pe.useDebugValue(Kt.current.join(", ")),Ge&&console.log("".concat(Ge,":"),ot.current,Kt.current),ot.current}var Ne=null,We=pe.memo(function(){var He=be();return pe.createElement("h1",null,"Render Times: ",He)});We.displayName="RenderBlock";var Ze=ge(71002),at=ge(1413),Ue=ge(4942),Bt=ge(94184),Me=ge.n(Bt);function Nt(He,Ge,ot){var mt=pe.useRef({});return(!("value"in mt.current)||ot(mt.current.condition,Ge))&&(mt.current.value=He(),mt.current.condition=Ge),mt.current.value}var ut={},At=[],Lt=function(Ge){At.push(Ge)};function dt(He,Ge){if(0)var ot}function vt(He,Ge){if(0)var ot}function et(){ut={}}function ct(He,Ge,ot){!Ge&&!ut[ot]&&(He(!1,ot),ut[ot]=!0)}function an(He,Ge){ct(dt,He,Ge)}function En(He,Ge){ct(vt,He,Ge)}an.preMessage=Lt,an.resetWarned=et,an.noteOnce=En;var bt=an;function nn(He,Ge){var ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=new Set;function Tt(Kt,dn){var Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,wn=mt.has(Kt);if(bt(!wn,"Warning: There may be circular references"),wn)return!1;if(Kt===dn)return!0;if(ot&&Wt>1)return!1;mt.add(Kt);var Rn=Wt+1;if(Array.isArray(Kt)){if(!Array.isArray(dn)||Kt.length!==dn.length)return!1;for(var qn=0;qn=ot}function he(He,Ge){return ce(we,function(ot){var mt=me(He,Ge||1,ot.hoverStartRow,ot.hoverEndRow);return[mt,ot.onHover]})}var Oe=function(Ge){var ot=Ge.ellipsis,mt=Ge.rowType,Tt=Ge.children,Kt,dn=ot===!0?{showTitle:!0}:ot;return dn&&(dn.showTitle||mt==="header")&&(typeof Tt=="string"||typeof Tt=="number"?Kt=Tt.toString():pe.isValidElement(Tt)&&typeof Tt.props.children=="string"&&(Kt=Tt.props.children)),Kt};function qe(He){var Ge,ot,mt,Tt,Kt,dn,Wt,wn,Rn=He.component,qn=He.children,kn=He.ellipsis,xr=He.scope,Cr=He.prefixCls,Pr=He.className,Wr=He.align,na=He.record,ua=He.render,oa=He.dataIndex,la=He.renderIndex,Wa=He.shouldCellUpdate,Ra=He.index,Oa=He.rowType,_a=He.colSpan,Uo=He.rowSpan,Pa=He.fixLeft,Ga=He.fixRight,La=He.firstFixLeft,ma=He.lastFixLeft,Ma=He.firstFixRight,bo=He.lastFixRight,Zo=He.appendNode,Mo=He.additionalProps,co=Mo===void 0?{}:Mo,ei=He.isSticky,zo="".concat(Cr,"-cell"),Oi=ce(we,["supportSticky","allColumnsFixedLeft"]),di=Oi.supportSticky,Xi=Oi.allColumnsFixedLeft,Si=Qe(na,oa,la,qn,ua,Wa),Do=(0,Ke.Z)(Si,2),hs=Do[0],Na=Do[1],zi={},Gi=typeof Pa=="number"&&di,bs=typeof Ga=="number"&&di;Gi&&(zi.position="sticky",zi.left=Pa),bs&&(zi.position="sticky",zi.right=Ga);var mo=(Ge=(ot=(mt=Na==null?void 0:Na.colSpan)!==null&&mt!==void 0?mt:co.colSpan)!==null&&ot!==void 0?ot:_a)!==null&&Ge!==void 0?Ge:1,uo=(Tt=(Kt=(dn=Na==null?void 0:Na.rowSpan)!==null&&dn!==void 0?dn:co.rowSpan)!==null&&Kt!==void 0?Kt:Uo)!==null&&Tt!==void 0?Tt:1,qa=he(Ra,uo),Va=(0,Ke.Z)(qa,2),yi=Va[0],Xa=Va[1],Qo=function(ps){var dA;na&&Xa(Ra,Ra+uo-1),co==null||(dA=co.onMouseEnter)===null||dA===void 0||dA.call(co,ps)},li=function(ps){var dA;na&&Xa(-1,-1),co==null||(dA=co.onMouseLeave)===null||dA===void 0||dA.call(co,ps)};if(mo===0||uo===0)return null;var qo=(Wt=co.title)!==null&&Wt!==void 0?Wt:Oe({rowType:Oa,ellipsis:kn,children:hs}),Ns=Me()(zo,Pr,(wn={},(0,Ue.Z)(wn,"".concat(zo,"-fix-left"),Gi&&di),(0,Ue.Z)(wn,"".concat(zo,"-fix-left-first"),La&&di),(0,Ue.Z)(wn,"".concat(zo,"-fix-left-last"),ma&&di),(0,Ue.Z)(wn,"".concat(zo,"-fix-left-all"),ma&&Xi&&di),(0,Ue.Z)(wn,"".concat(zo,"-fix-right"),bs&&di),(0,Ue.Z)(wn,"".concat(zo,"-fix-right-first"),Ma&&di),(0,Ue.Z)(wn,"".concat(zo,"-fix-right-last"),bo&&di),(0,Ue.Z)(wn,"".concat(zo,"-ellipsis"),kn),(0,Ue.Z)(wn,"".concat(zo,"-with-append"),Zo),(0,Ue.Z)(wn,"".concat(zo,"-fix-sticky"),(Gi||bs)&&ei&&di),(0,Ue.Z)(wn,"".concat(zo,"-row-hover"),!Na&&yi),wn),co.className,Na==null?void 0:Na.className),Js={};Wr&&(Js.textAlign=Wr);var SA=(0,at.Z)((0,at.Z)((0,at.Z)((0,at.Z)({},zi),co.style),Js),Na==null?void 0:Na.style),Li=hs;return(0,Ze.Z)(Li)==="object"&&!Array.isArray(Li)&&!pe.isValidElement(Li)&&(Li=null),kn&&(ma||Ma)&&(Li=pe.createElement("span",{className:"".concat(zo,"-content")},Li)),pe.createElement(Rn,(0,De.Z)({},Na,co,{className:Ns,style:SA,title:qo,scope:xr,onMouseEnter:Qo,onMouseLeave:li,colSpan:mo!==1?mo:null,rowSpan:uo!==1?uo:null}),Zo,Li)}var pt=pe.memo(qe);function lt(He,Ge,ot,mt,Tt,Kt){var dn=ot[He]||{},Wt=ot[Ge]||{},wn,Rn;dn.fixed==="left"?wn=mt.left[Tt==="rtl"?Ge:He]:Wt.fixed==="right"&&(Rn=mt.right[Tt==="rtl"?He:Ge]);var qn=!1,kn=!1,xr=!1,Cr=!1,Pr=ot[Ge+1],Wr=ot[He-1],na=!(Kt!=null&&Kt.children);if(Tt==="rtl"){if(wn!==void 0){var ua=Wr&&Wr.fixed==="left";Cr=!ua&&na}else if(Rn!==void 0){var oa=Pr&&Pr.fixed==="right";xr=!oa&&na}}else if(wn!==void 0){var la=Pr&&Pr.fixed==="left";qn=!la&&na}else if(Rn!==void 0){var Wa=Wr&&Wr.fixed==="right";kn=!Wa&&na}return{fixLeft:wn,fixRight:Rn,lastFixLeft:qn,firstFixRight:kn,lastFixRight:xr,firstFixLeft:Cr,isSticky:mt.isSticky}}var _t=pe.createContext({}),An=_t;function cn(He){var Ge=He.className,ot=He.index,mt=He.children,Tt=He.colSpan,Kt=Tt===void 0?1:Tt,dn=He.rowSpan,Wt=He.align,wn=ce(we,["prefixCls","direction"]),Rn=wn.prefixCls,qn=wn.direction,kn=pe.useContext(An),xr=kn.scrollColumnIndex,Cr=kn.stickyOffsets,Pr=kn.flattenColumns,Wr=kn.columns,na=ot+Kt-1,ua=na+1===xr?Kt+1:Kt,oa=lt(ot,ot+ua-1,Pr,Cr,qn,Wr==null?void 0:Wr[ot]);return pe.createElement(pt,(0,De.Z)({className:Ge,index:ot,component:"td",prefixCls:Rn,record:null,dataIndex:null,align:Wt,colSpan:ua,rowSpan:dn,render:function(){return mt}},oa))}var Kn=ge(45987),St=["children"];function zt(He){var Ge=He.children,ot=(0,Kn.Z)(He,St);return pe.createElement("tr",ot,Ge)}function Vt(He){var Ge=He.children;return Ge}Vt.Row=zt,Vt.Cell=cn;var Cn=Vt;function yt(He){var Ge=He.children,ot=He.stickyOffsets,mt=He.flattenColumns,Tt=He.columns,Kt=ce(we,"prefixCls"),dn=mt.length-1,Wt=mt[dn],wn=pe.useMemo(function(){return{stickyOffsets:ot,flattenColumns:mt,scrollColumnIndex:Wt!=null&&Wt.scrollbar?dn:null,columns:Tt}},[Wt,mt,dn,ot,Tt]);return pe.createElement(An.Provider,{value:wn},pe.createElement("tfoot",{className:"".concat(Kt,"-summary")},Ge))}var Un=z(yt),kt=Cn;function en(He){var Ge=pe.useRef();Ge.current=He;var ot=pe.useCallback(function(){for(var mt,Tt=arguments.length,Kt=new Array(Tt),dn=0;dn3&&arguments[3]!==void 0?arguments[3]:!1;return Ge.length&&mt&&ot===void 0&&!get(He,Ge.slice(0,-1))?He:po(He,Ge,ot,mt)}function sn(He){return _typeof(He)==="object"&&He!==null&&Object.getPrototypeOf(He)===Object.prototype}function lo(He){return Array.isArray(He)?[]:{}}var wa=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function wi(){for(var He=arguments.length,Ge=new Array(He),ot=0;ot