!(function(){var ag=Object.defineProperty,og=Object.defineProperties;var ig=Object.getOwnPropertyDescriptors;var sd=Object.getOwnPropertySymbols;var Gd=Object.prototype.hasOwnProperty,_d=Object.prototype.propertyIsEnumerable;var zd=(nn,Kt,ve)=>Kt in nn?ag(nn,Kt,{enumerable:!0,configurable:!0,writable:!0,value:ve}):nn[Kt]=ve,bu=(nn,Kt)=>{for(var ve in Kt||(Kt={}))Gd.call(Kt,ve)&&zd(nn,ve,Kt[ve]);if(sd)for(var ve of sd(Kt))_d.call(Kt,ve)&&zd(nn,ve,Kt[ve]);return nn},Fd=(nn,Kt)=>og(nn,ig(Kt));var Wd=(nn,Kt)=>{var ve={};for(var pe in nn)Gd.call(nn,pe)&&Kt.indexOf(pe)<0&&(ve[pe]=nn[pe]);if(nn!=null&&sd)for(var pe of sd(nn))Kt.indexOf(pe)<0&&_d.call(nn,pe)&&(ve[pe]=nn[pe]);return ve};(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},89489:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},59477:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},26227:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},49198:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},87169:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},52671:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},8657:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},56082:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},33853:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},15075:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},43531:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},38819:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},95869:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Be}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(ue,Ne){return we.createElement(Ze.Z,(0,pe.Z)({},ue,{ref:Ne,icon:At}))},he=we.forwardRef(Re),Be=he},21697:function(nn,Kt){"use strict";Kt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},20397:function(){"use strict";function nn(oe,y,a,E){a===void 0&&(a=0),E===void 0&&(E=1/0),this._name=oe,this._defaultValue=y,this._minimum=a,this._maximum=E}Object.defineProperty(nn.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(nn.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(nn.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(nn.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,y){var a=go.Shape._FigureParameters[oe];return a?a[y]:null},go.Shape.setFigureParameter=function(oe,y,a){if(!(a instanceof nn))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 E=go.Shape._FigureParameters[oe];E||(E=[],go.Shape._FigureParameters[oe]=E),E[y]=a};var Kt=[];function ve(oe,y){var a=Kt.pop();return a===void 0?new go.Point(oe,y):(a.x=oe,a.y=y,a)}function pe(){var oe=Kt.pop();return oe===void 0?new go.Point:oe}function we(oe){Kt.push(oe)}function ze(oe,y,a,E,b,x,z,ne,fe){fe||(fe=new go.Point);var Ue=oe-a,Pe=b-z,Te=NaN,Ve=NaN;if(Ue===0)if(Pe===0)oe===a&&(Te=oe,Ve=y);else{var Ye=(x-ne)/Pe,nt=x-Ye*b;Te=oe,Ve=Ye*Te+nt}else if(Pe===0){var Oe=(y-E)/Ue,Ft=y-Oe*oe;Te=b,Ve=Oe*Te+Ft}else{var Oe=(y-E)/Ue,Ye=(x-ne)/Pe,Ft=y-Oe*oe,nt=x-Ye*b;Te=(nt-Ft)/(Oe-Ye),Ve=Oe*Te+Ft}return fe.x=Te,fe.y=Ve,fe}function At(oe,y,a,E,b,x,z,ne,fe,Ue,Pe,Te,Ve,Ye){var nt=1-fe,Oe=fe,Ft=oe*nt+a*Oe,Qe=y*nt+E*Oe,Tt=a*nt+b*Oe,st=E*nt+x*Oe,it=b*nt+z*Oe,Nt=x*nt+ne*Oe,gt=Ft*nt+Tt*Oe,xt=Qe*nt+st*Oe,ht=Tt*nt+it*Oe,tt=st*nt+Nt*Oe,$t=gt*nt+ht*Oe,gn=xt*nt+tt*Oe;Ue.x=Ft,Ue.y=Qe,Pe.x=gt,Pe.y=xt,Te.x=$t,Te.y=gn,Ve.x=ht,Ve.y=tt,Ye.x=it,Ye.y=Nt}var Ze=new go.Spot(.156,.156),Re=new go.Spot(.844,.844),he=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new nn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*he,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-E)).add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=a/2,E.endX=y,E.endY=a/2,E}),go.Shape.defineFigureGenerator("LineV",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y/2,E.startY=0,E.endX=y/2,E.endY=a,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(oe,y,a){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*y,(1-E)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(oe,y,a){var E=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=Ze,b.spot2=Re,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}),go.Shape.defineFigureGenerator("Line2",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y,E.startY=0,E.endX=0,E.endY=a,E}),go.Shape.defineFigureGenerator("Curve1",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,he*y,0,y,(1-he)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,he*a,(1-he)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,he*a,he*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-he)*y,0,0,(1-he)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new nn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*y;if(E===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 E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y);var b=Math.abs(E);if(E===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 E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(E=.5);var b=Math.abs(E)*y;if(E===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 E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===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 E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===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 E>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-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ne,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ne,ne).close())),x.spot1=Ze,x.spot2=Re,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(oe,y,a){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,E*a).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new nn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new nn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,y,a){var E=oe?oe.parameter1:NaN,b=oe?oe.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var x=E%360;x<0&&(x+=360);var z=b%360,ne=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,z,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,y,a){var E=he/Math.SQRT2*.5,b=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,b*y,x*a,y,(1-E)*a,(b+E)*y,(x+E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new nn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new nn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new nn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,y,a){var E=oe?oe.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var x=y/2,z=a/2,ne=Math.atan2(a,y),fe=E-Math.min(Math.cos(ne)*E/2,x),Ue=E-Math.min(Math.sin(ne)*E/2,z),b=new go.Geometry,Pe=new go.PathFigure(fe,0,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-fe,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,Ue)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,a-Ue)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-fe,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,fe,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a-Ue)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,Ue).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new nn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return b.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()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new nn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,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,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*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-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new nn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,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.Bezier,y,a,Math.abs(1-E)*y,.25*a,Math.abs(1-E)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,he*y,0,y,(.5-he/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+he/2)*a,he*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ne=0,fe=x*he;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+fe+ne)*a,(.5-fe+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+fe+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+fe+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-fe+ne)*a,(.5+fe+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-fe+z)*y,(.5-x+ne)*a,(.5-x+z+.05)*y,(.5-fe+ne-.02)*a)),x=.2,z=0,ne=-.3,fe=x*he,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+fe+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+fe+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-fe+ne)*a,(.5+fe+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-fe+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-fe+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+fe+ne)*a,(.5-fe+z)*y,(.5+x+ne)*a)),x=.2,z=-.3,ne=0,fe=x*he,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z-.05)*y,(.5-fe+ne-.02)*a,(.5+fe+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-fe+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-fe+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+fe+ne)*a,(.5-fe+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+fe+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+fe+ne)*a).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ne=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ne*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ne,x*y,x*y).close()),b=new go.PathFigure(y*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ne=.75,b=new go.PathFigure((z+x)*y,ne*a,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ne,x*y,x*y).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(oe,y,a){var E=.8535533905932737,b=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,x,b,x)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=.5,z=.5,ne=.5,fe=new go.PathFigure(z*y,(ne-x)*a);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),x=.4,b=he*.4;var Ue=pe(),Pe=pe(),Te=pe(),Ve=pe();At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.42,Ue,Pe,Te,Ve,Ve);var Ye=pe(),nt=pe(),Oe=pe();At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.58,Ve,Ve,Oe,Ye,nt);var Ft=pe(),Qe=pe(),Tt=pe();At(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.42,Ft,Qe,Tt,Ve,Ve);var st=pe(),it=pe(),Nt=pe();return At(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.58,Ve,Ve,Nt,st,it),fe.add(new go.PathSegment(go.PathSegment.Move,Nt.x*y,Nt.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,st.x*y,st.y*a,it.x*y,it.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*y,Te.y*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a)),fe.add(new go.PathSegment(go.PathSegment.Line,Nt.x*y,Nt.y*a).close()),fe.add(new go.PathSegment(go.PathSegment.Move,Tt.x*y,Tt.y*a)),fe.add(new go.PathSegment(go.PathSegment.Line,Oe.x*y,Oe.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ye.x*y,Ye.y*a,nt.x*y,nt.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Tt.x*y,Tt.y*a,Ft.x*y,Ft.y*a,Qe.x*y,Qe.y*a).close()),we(Ue),we(Pe),we(Te),we(Ve),we(Ye),we(nt),we(Oe),we(Ft),we(Qe),we(Tt),we(st),we(it),we(Nt),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new nn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>y&&(E=y);var b=(y-E)/2,x=b+E;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,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(oe,y,a){var E=new go.Geometry,b=he*.4,x=.4,z=.5,ne=.5,fe=pe(),Ue=pe(),Pe=pe(),Te=pe(),Ve=new go.PathFigure((z-x)*y,ne*a,!1);E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.44,Pe,Te,Ue,fe,fe),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a,Te.x*y,Te.y*a));var Ye=ve(Ue.x,Ue.y);At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.56,fe,fe,Ue,Pe,Te);var nt=ve(Ue.x,Ue.y);Ve.add(new go.PathSegment(go.PathSegment.Line,(Ye.x*.1+.95*.9)*y,Ye.y*.1*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ye.y*.1*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,.15*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,(nt.y*.1+.05*.9)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,nt.x*y,nt.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Pe.x*y,Pe.y*a,Te.x*y,Te.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),x=.35,b=he*.35;var Oe=new go.PathFigure(z*y,(ne-x)*a,!1);E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a));var Ft=new go.PathFigure((z-x)*y,ne*a,!1);return E.add(Ft),we(fe),we(Ue),we(Pe),we(Te),we(Ye),we(nt),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(oe,y,a){var E=new go.Geometry,b=.375,x=0,z=-.125,ne=b*he,fe=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5+b+z)*a,(.5+b+x)*y,(.5+ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+z)*a,(1-.5+b+x)*y,(.5-ne+z)*a,(.5+ne+x)*y,(.5-b+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+b+z)*a,(.5-b+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,(.5+b+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,z=-.125,ne=b*he;var fe=new go.PathFigure((1-.5+b+x)*y,(.5+z)*a,!1);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+b+z)*a,(.5+b+x)*y,(.5+ne+z)*a,(.5+ne+x)*y,(.5+b+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5+b+z)*a,(.5-b+x)*y,(.5+ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ne+z)*a,(.5-ne+x)*y,(.5-b+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5-b+z)*a,(1-.5+b+x)*y,(.5-ne+z)*a));var fe=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);return E.add(fe),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(oe,y,a){var E=oe?oe.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(oe,y,a){var E=oe?oe.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*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,E*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(oe,y,a){var E=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 E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(oe,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new nn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new nn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=.3);var x=(1-E)*y,z=(.5-b/2)*a,ne=(.5+b/2)*a,fe=new go.Geometry,Ue=new go.PathFigure(0,z,!0);fe.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,x,z)),Ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),Ue.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),Ue.add(new go.PathSegment(go.PathSegment.Line,x,ne)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),fe.spot1=new go.Spot(0,z/a);var Pe=ze(0,ne/a,1,ne/a,x/y,1,1,.5,pe());return fe.spot2=new go.Spot(Pe.x,Pe.y),we(Pe),fe}),go.Shape.setFigureParameter("Arrow2",0,new nn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new nn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=30),E>y&&(E=y);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var x=y-E,z=(a-b)/2,ne=z+b,fe=new go.Geometry,Ue=new go.PathFigure(0,z,!0);fe.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,x,z)),Ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),Ue.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),Ue.add(new go.PathSegment(go.PathSegment.Line,x,ne)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),fe.spot1=new go.Spot(0,z/a);var Pe=ze(0,ne/a,1,ne/a,x/y,1,1,.5,pe());return fe.spot2=new go.Spot(Pe.x,Pe.y),we(Pe),fe}),go.Shape.defineFigureGenerator("Chevron",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new nn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var fe=ze(0,.5,.3,0,0,b/a,.1,b/a,pe());return z.spot1=new go.Spot(fe.x,fe.y),fe=ze(.7,1,1,.5,0,x/a,1,x/a,fe),z.spot2=new go.Spot(fe.x,fe.y),we(fe),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new nn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new nn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=40);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,z=x+E,ne=(a-b)/2,fe=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,fe=a):(x=0,z=a,ne=0,fe=a));var Ue=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);Ue.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close());var Te=ze(0,.5,.3,ne/a,0,x/a,1,x/a,pe());return Ue.spot1=new go.Spot(Te.x,Te.y),Te=ze(.7,fe/a,1,.5,0,z/a,1,z/a,Te),Ue.spot2=new go.Spot(Te.x,Te.y),we(Te),Ue}),go.Shape.setFigureParameter("IBeamArrow",0,new nn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var fe=ze(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(fe.x,fe.y),we(fe),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new nn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new nn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=40);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,z=x+E,ne=(a-b)/2,fe=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,fe=a):(x=0,z=a,ne=0,fe=a));var Ue=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);Ue.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close()),Ue.spot1=new go.Spot(0,x/a);var Te=ze(.7,fe/a,1,.5,0,z/a,1,z/a,pe());return Ue.spot2=new go.Spot(Te.x,Te.y),we(Te),Ue}),go.Shape.setFigureParameter("Pointer",0,new nn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var z=ze(.2,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new nn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b.spot1=new go.Spot(E,.35);var z=ze(0,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new nn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var fe=ze(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(fe.x,fe.y),we(fe),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new nn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=50);var b=(a-E)/2,x=b+E;E>a&&(b=0,x=a);var z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var fe=ze(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(fe.x,fe.y),we(fe),z}),go.Shape.setFigureParameter("SquareArrow",0,new nn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*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,E*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=he*.1,z=new go.PathFigure(0,.9*a,!0);return E.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+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return E.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)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return E.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)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=he*.5,z=new go.PathFigure(0,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,he*E,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,E,(.5+x)*y,0,1*y,he*E)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-he*E,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,1*a,0,a-he*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E));var ne=new go.PathFigure(y,E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*E,1*y,2*E-he*E,(.5+x)*y,2*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*y,2*E,0,2*E-he*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=he*.5,z=new go.PathFigure(0,a-E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,he*E,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E,(.5+x)*y,0,y,he*E)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-he*E,(.5+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,a,0,a-he*E));var ne=new go.PathFigure(0,a-E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*E,0,a-E-he*E,(.5-x)*y,a-2*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,a-E,(.5+x)*y,a-2*E,y,a-E-he*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=he*.5,z=new go.PathFigure(E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-he*E,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-he*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,he*E,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,he*E,0));var ne=new go.PathFigure(E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*a,E+he*E,0,2*E,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,a,2*E,(.5+x)*a,E+he*E,a)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=he*.5,z=new go.PathFigure(y-E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-he*E,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-he*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,he*E,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,he*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-E,0));var ne=new go.PathFigure(y-E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-2*E,.5*a,y-E-he*E,0,y-2*E,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y-2*E,(.5+x)*a,y-E-he*E,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return E.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)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.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)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(oe,y,a){var E=new go.Geometry,b=.2,x=.1,z=he*b,ne=he*x,fe=.5,Ue=.1,Pe=new go.PathFigure(fe*y,(Ue+x)*a,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*y,Ue*a,(fe-z)*y,(Ue+x)*a,(fe-b)*y,(Ue+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-x)*a,(fe-b)*y,(Ue-ne)*a,(fe-z)*y,(Ue-x)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*y,Ue*a,(fe+z)*y,(Ue-x)*a,(fe+b)*y,(Ue-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue+x)*a,(fe+b)*y,(Ue+ne)*a,(fe+z)*y,(Ue+x)*a));var Te=.05,Ve=he*Te;fe=.05,Ue=.25;var Ye=new go.PathFigure(.5*y,.2*a,!0);return E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),fe=.95,Ue=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+Te)*y,Ue*a,(fe+Ve)*y,(Ue-Te)*a,(fe+Te)*y,(Ue-Ve)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Te=.025,Ve=he*Te,fe=.825,Ue=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-Te)*a,(fe+Te)*y,(Ue-Ve)*a,(fe+Ve)*y,(Ue-Te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-Te)*y,Ue*a,(fe-Ve)*y,(Ue-Te)*a,(fe-Te)*y,(Ue-Ve)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Te=.05,Ve=he*Te,fe=.5,Ue=.7,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-Te)*a,(fe+Te)*y,(Ue-Ve)*a,(fe+Ve)*y,(Ue-Te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-Te)*y,Ue*a,(fe-Ve)*y,(Ue-Te)*a,(fe-Te)*y,(Ue-Ve)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Te=.025,Ve=he*Te,fe=.175,Ue=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-Te)*a,(fe+Te)*y,(Ue-Ve)*a,(fe+Ve)*y,(Ue-Te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-Te)*y,Ue*a,(fe-Ve)*y,(Ue-Te)*a,(fe-Te)*y,(Ue-Ve)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Te=.05,Ve=he*Te,fe=.05,Ue=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-Te)*a,(fe-Te)*y,(Ue-Ve)*a,(fe-Ve)*y,(Ue-Te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new nn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(y,0,!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,0,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!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,.5*y,.5*a)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.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,b*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("Database",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=he*.1,z=new go.PathFigure(y,.1*a,!0);E.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+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*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-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+b)*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+x)*a)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=he*.1,z=new go.PathFigure(y,.1*a,!0);E.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+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*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-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var x=he*.2,z=new go.PathFigure(0,.2*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ne=new go.PathFigure(0,b*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.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,b*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("Document",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var x=new go.PathFigure(0,0,!0);E.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(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return E.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)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return E.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)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(b*y,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E}),go.Shape.defineFigureGenerator("Junction",function(oe,y,a){var E=new go.Geometry,b=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=he*.5,ne=.5,fe=new go.PathFigure(y,ne*a,!0);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,y,(ne+z)*a,(ne+z)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-z)*y,a,0,(ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,0,0,(ne-z)*a,(ne-z)*y,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,y,ne*a,(ne+z)*y,0,y,(ne-z)*a));var Ue=new go.PathFigure((x+b)*y,(x+b)*a,!1);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),Ue.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Line,(x+b)*y,x*a)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+b)*a,(x+b)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var 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,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*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-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return E.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)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return E.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)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=1-b,z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ne=new go.PathFigure(.5*b*y,b*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=.5,z=new go.PathFigure(y,x*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ne=new go.PathFigure(y,.5*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(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()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Procedure",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.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-b)*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E}),go.Shape.defineFigureGenerator("Process",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.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(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(b*y,0,!0);E.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(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var 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,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=new go.PathFigure(0,0,!0);return E.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+b)*y,0,y,(.5-b)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=.5,z=new go.PathFigure(y,x*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ne=new go.PathFigure(y,x*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var fe=new go.PathFigure(.8*y,.75*a,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),E}),go.Shape.defineFigureGenerator("Ground",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E}),go.Shape.defineFigureGenerator("Inverter",function(oe,y,a){var E=new go.Geometry,b=he*.1,x=.1,z=.9,ne=.5,fe=new go.PathFigure(.8*y,.5*a,!0);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var Ue=new go.PathFigure((z+x)*y,ne*a,!0);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne-x)*a,(z+x)*y,(ne-b)*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=he*.4,z=he*.1,ne=.1,fe=.9,Ue=.5,Pe=new go.PathFigure(.8*y,.5*a,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+b)*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-x)*a));var Te=new go.PathFigure((fe+ne)*y,Ue*a,!0);return E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue+ne)*a,(fe+ne)*y,(Ue+z)*a,(fe+z)*y,(Ue+ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne)*y,Ue*a,(fe-z)*y,(Ue+ne)*a,(fe-ne)*y,(Ue+z)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-ne)*a,(fe-ne)*y,(Ue-z)*a,(fe-z)*y,(Ue-ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne)*y,Ue*a,(fe+z)*y,(Ue-ne)*a,(fe+ne)*y,(Ue-z)*a)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=he*b,z=0,ne=.5,fe=new go.PathFigure(.8*y,.5*a,!0);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ne-b)*a,.7*y,(ne-x)*a)),b=.1,x=he*.1,z=.9,ne=.5;var Ue=new go.PathFigure((z-b)*y,ne*a,!0);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=he*b,z=0,ne=.5,fe=new go.PathFigure(0,0,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ne-b)*a,.8*y,(ne-x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ne+x)*a,(z+x+x)*y,(ne+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=he*b,z=.2,ne=.5,fe=new go.PathFigure(.1*y,0,!1);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Ue=new go.PathFigure(.8*y,.5*a,!0);E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ne-b)*a,.7*y,(ne-x)*a)),b=.1,x=he*.1,z=.9,ne=.5;var Pe=new go.PathFigure((z-b)*y,ne*a,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=he*b,z=.2,ne=.5,fe=new go.PathFigure(.1*y,0,!1);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Ue=new go.PathFigure(.2*y,0,!0);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ne-b)*a,.9*y,(ne-x)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Resistor",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E}),go.Shape.defineFigureGenerator("Inductor",function(oe,y,a){var E=new go.Geometry,b=he*.1,x=.1,z=.1,ne=.5,fe=new go.PathFigure((z-b*.5)*y,a,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*y,a,(z+x)*y,0,(z+b)*y,a)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,y,a){var E=new go.Geometry,b=he*.5,x=.5,z=.5,ne=.5,fe=new go.PathFigure((z-x)*y,ne*a,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne-x)*a,(z+x)*y,(ne-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ne*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ne*a,z*y,(ne-x)*a,z*y,(ne+x)*a)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Diode",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(oe,y,a){var E=new go.Geometry,b=y,x=a;y=y*.38,a=a*.6;var z=he*.8,ne=.8,fe=0,Ue=.5,Pe=(b-y)/2,Te=(x-a)/2,Ve=new go.PathFigure(fe*y+Pe,(Ue+ne)*a+Te,!0);E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne)*y+Pe,Ue*a+Te,(fe-z)*y+Pe,(Ue+ne)*a+Te,(fe-ne)*y+Pe,(Ue+z)*a+Te)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue-ne)*a+Te,(fe-ne)*y+Pe,(Ue-z)*a+Te,(fe-z)*y+Pe,(Ue-ne)*a+Te)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne+z*.5)*y+Pe,Ue*a+Te,fe*y+Pe,(Ue-ne)*a+Te,(fe-ne+z*.5)*y+Pe,(Ue-z)*a+Te)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue+ne)*a+Te,(fe-ne+z*.5)*y+Pe,(Ue+z)*a+Te,fe*y+Pe,(Ue+ne)*a+Te).close()),z=he*.4,ne=.4,fe=.2,Ue=.5;var Ye=new go.PathFigure(fe*y+Pe,(Ue+ne)*a+Te,!0);E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne)*y+Pe,Ue*a+Te,(fe-z)*y+Pe,(Ue+ne)*a+Te,(fe-ne)*y+Pe,(Ue+z)*a+Te)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue-ne)*a+Te,(fe-ne)*y+Pe,(Ue-z)*a+Te,(fe-z)*y+Pe,(Ue-ne)*a+Te)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne+z*.5)*y+Pe,Ue*a+Te,fe*y+Pe,(Ue-ne)*a+Te,(fe-ne+z*.5)*y+Pe,(Ue-z)*a+Te)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue+ne)*a+Te,(fe-ne+z*.5)*y+Pe,(Ue+z)*a+Te,fe*y+Pe,(Ue+ne)*a+Te).close()),z=he*.2,ne=.2,fe=.5,Ue=.5;var nt=new go.PathFigure((fe-ne)*y+Pe,Ue*a+Te,!0);E.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue-ne)*a+Te,(fe-ne)*y+Pe,(Ue-z)*a+Te,(fe-z)*y+Pe,(Ue-ne)*a+Te)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne)*y+Pe,Ue*a+Te,(fe+z)*y+Pe,(Ue-ne)*a+Te,(fe+ne)*y+Pe,(Ue-z)*a+Te)),nt.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue+ne)*a+Te,(fe+ne)*y+Pe,(Ue+z)*a+Te,(fe+z)*y+Pe,(Ue+ne)*a+Te)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne)*y+Pe,Ue*a+Te,(fe-z)*y+Pe,(Ue+ne)*a+Te,(fe-ne)*y+Pe,(Ue+z)*a+Te)),z=he*.4,ne=.4,fe=.8,Ue=.5;var Oe=new go.PathFigure(fe*y+Pe,(Ue-ne)*a+Te,!0);E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne)*y+Pe,Ue*a+Te,(fe+z)*y+Pe,(Ue-ne)*a+Te,(fe+ne)*y+Pe,(Ue-z)*a+Te)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue+ne)*a+Te,(fe+ne)*y+Pe,(Ue+z)*a+Te,(fe+z)*y+Pe,(Ue+ne)*a+Te)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne-z*.5)*y+Pe,Ue*a+Te,fe*y+Pe,(Ue+ne)*a+Te,(fe+ne-z*.5)*y+Pe,(Ue+z)*a+Te)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue-ne)*a+Te,(fe+ne-z*.5)*y+Pe,(Ue-z)*a+Te,fe*y+Pe,(Ue-ne)*a+Te).close()),z=he*.8,ne=.8,fe=1,Ue=.5;var Ft=new go.PathFigure(fe*y+Pe,(Ue-ne)*a+Te,!0);return E.add(Ft),Ft.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne)*y+Pe,Ue*a+Te,(fe+z)*y+Pe,(Ue-ne)*a+Te,(fe+ne)*y+Pe,(Ue-z)*a+Te)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue+ne)*a+Te,(fe+ne)*y+Pe,(Ue+z)*a+Te,(fe+z)*y+Pe,(Ue+ne)*a+Te)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne-z*.5)*y+Pe,Ue*a+Te,fe*y+Pe,(Ue+ne)*a+Te,(fe+ne-z*.5)*y+Pe,(Ue+z)*a+Te)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(Ue-ne)*a+Te,(fe+ne-z*.5)*y+Pe,(Ue-z)*a+Te,fe*y+Pe,(Ue-ne)*a+Te).close()),E}),go.Shape.defineFigureGenerator("Email",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Ethernet",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ne=new go.PathFigure(0,.5*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),E}),go.Shape.defineFigureGenerator("Power",function(oe,y,a){var E=new go.Geometry,b=he*.4,x=.4,z=.5,ne=.5,fe=pe(),Ue=pe(),Pe=pe(),Te=pe();At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.5,fe,fe,Ue,Pe,Te);var Ve=ve(Ue.x,Ue.y),Ye=new go.PathFigure(Ue.x*y,Ue.y*a,!0);E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Pe.x*y,Pe.y*a,Te.x*y,Te.y*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),At(z-x,ne,z-x,ne-b,z-b,ne-x,z,ne-x,.5,Pe,Te,Ue,fe,fe),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a,Te.x*y,Te.y*a)),b=he*.3,x=.3,At(z-x,ne,z-x,ne-b,z-b,ne-x,z,ne-x,.5,Pe,Te,Ue,fe,fe),Ye.add(new go.PathSegment(go.PathSegment.Line,Ue.x*y,Ue.y*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,Te.x*y,Te.y*a,Pe.x*y,Pe.y*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.5,fe,fe,Ue,Pe,Te),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*y,Ue.y*a,Te.x*y,Te.y*a,Pe.x*y,Pe.y*a).close());var Ye=new go.PathFigure(.45*y,0,!0);return E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),we(fe),we(Ue),we(Pe),we(Te),we(Ve),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ne,fe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*y,(.8+fe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*y,(.5+fe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*y,(.5+fe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*y,(.8+fe)*a).close())}return x(b,0,0),x(b,.4,0),x(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,y,a){var E=new go.Geometry,b=.5,x=0,z=0,ne=b*he,fe=.4*Math.SQRT2/2+.5,Ue=.5-.5*Math.SQRT2/2,Pe=1,Te=.5,Ve=.5,Ye=0,nt=new go.PathFigure(fe*y,(1-Ue)*a,!1);return E.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Te*a,Pe*y,.7*a,Pe*y,Te*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+x)*y,(Ye+x)*a,(.5+b+x)*y,(.5-ne+x)*a,(.5+ne+x)*y,(.5-b+x)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ne+z)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-b+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var z=new go.PathFigure(0,.5*a,!1);return E.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)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return E.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)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ne=.5,fe=z,Ue=Math.PI/4,Pe=4*(1-Math.cos(Ue))/(3*Math.sin(Ue)),Te=Pe*.5,Ve=z,Ye=z,nt=Pe*Ve,Oe=Pe*Ye;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-Ve)*y,fe*a,(ne-(nt+Ve)/2)*y,(fe+(Ye+Oe)/2)*a,(ne-Ve)*y,(fe+Oe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(fe-Ye)*a,(ne-Ve)*y,(fe-Oe)*a,(ne-nt)*y,(fe-Ye)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+Ve)*y,fe*a,(ne+nt)*y,(fe-Ye)*a,(ne+Ve)*y,(fe-Oe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+Ve)*y,(fe+Oe)*a,(ne+(nt+Ve)/2)*y,(fe+(Ye+Oe)/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 Ft=new go.PathFigure(.2*y,a,!1);E.add(Ft),Ft.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Qe=new go.PathFigure(.8*y,a,!1);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return E.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)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var z=new go.PathFigure(.1*y,a,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Caution",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),E}),go.Shape.defineFigureGenerator("Recycle",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);E.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 E.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)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,y,a){var E=new go.Geometry,b=.5,x=he*.5,z=new go.PathFigure(y,b*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+x)*a,(b+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*y,a,0,(b+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-x)*a,(b-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+x)*y,0,y,(b-x)*a));var ne=new go.PathFigure(b*y,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ne.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),E}),go.Shape.defineFigureGenerator("Package",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return E.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()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Component",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);E.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 E.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()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ne=he*.1,fe=.2,Ue=.9,Pe=new go.PathFigure((fe-z)*y,Ue*a,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-z)*a,(fe-z)*y,(Ue-ne)*a,(fe-ne)*y,(Ue-z)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*y,Ue*a,(fe+ne)*y,(Ue-z)*a,(fe+z)*y,(Ue-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue+z)*a,(fe+z)*y,(Ue+ne)*a,(fe+ne)*y,(Ue+z)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*y,Ue*a,(fe-ne)*y,(Ue+z)*a,(fe-z)*y,(Ue+ne)*a).close()),z=.1,ne=he*.1,fe=.8,Ue=.9;var Te=new go.PathFigure((fe-z)*y,Ue*a,!0);return E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue-z)*a,(fe-z)*y,(Ue-ne)*a,(fe-ne)*y,(Ue-z)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*y,Ue*a,(fe+ne)*y,(Ue-z)*a,(fe+z)*y,(Ue-ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Ue+z)*a,(fe+z)*y,(Ue+ne)*a,(fe+ne)*y,(Ue+z)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*y,Ue*a,(fe-ne)*y,(Ue+z)*a,(fe-z)*y,(Ue+ne)*a).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E}),go.Shape.defineFigureGenerator("Forklift",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ne=new go.PathFigure(.5*y,.7*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var fe=.1,Ue=he*.1,Pe=.1,Te=.9,Ve=new go.PathFigure((Pe-fe)*y,Te*a,!0);E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te-fe)*a,(Pe-fe)*y,(Te-Ue)*a,(Pe-Ue)*y,(Te-fe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+fe)*y,Te*a,(Pe+Ue)*y,(Te-fe)*a,(Pe+fe)*y,(Te-Ue)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te+fe)*a,(Pe+fe)*y,(Te+Ue)*a,(Pe+Ue)*y,(Te+fe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-fe)*y,Te*a,(Pe-Ue)*y,(Te+fe)*a,(Pe-fe)*y,(Te+Ue)*a)),fe=.1,Ue=he*.1,Pe=.4,Te=.9;var Ye=new go.PathFigure((Pe-fe)*y,Te*a,!0);return E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te-fe)*a,(Pe-fe)*y,(Te-Ue)*a,(Pe-Ue)*y,(Te-fe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+fe)*y,Te*a,(Pe+Ue)*y,(Te-fe)*a,(Pe+fe)*y,(Te-Ue)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te+fe)*a,(Pe+fe)*y,(Te+Ue)*a,(Pe+Ue)*y,(Te+fe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-fe)*y,Te*a,(Pe-Ue)*y,(Te+fe)*a,(Pe-fe)*y,(Te+Ue)*a)),E}),go.Shape.defineFigureGenerator("RailShipment",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);E.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 Pe=.05,Te=he*.05,Ve=.175,Ye=.95,ne=new go.PathFigure((Ve-Pe)*y,Ye*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye-Pe)*a,(Ve-Pe)*y,(Ye-Te)*a,(Ve-Te)*y,(Ye-Pe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Pe)*y,Ye*a,(Ve+Te)*y,(Ye-Pe)*a,(Ve+Pe)*y,(Ye-Te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye+Pe)*a,(Ve+Pe)*y,(Ye+Te)*a,(Ve+Te)*y,(Ye+Pe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Pe)*y,Ye*a,(Ve-Te)*y,(Ye+Pe)*a,(Ve-Pe)*y,(Ye+Te)*a));var Pe=.05,Te=he*.05,Ve=.375,Ye=.95,fe=new go.PathFigure((Ve-Pe)*y,Ye*a,!0);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye-Pe)*a,(Ve-Pe)*y,(Ye-Te)*a,(Ve-Te)*y,(Ye-Pe)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Pe)*y,Ye*a,(Ve+Te)*y,(Ye-Pe)*a,(Ve+Pe)*y,(Ye-Te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye+Pe)*a,(Ve+Pe)*y,(Ye+Te)*a,(Ve+Te)*y,(Ye+Pe)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Pe)*y,Ye*a,(Ve-Te)*y,(Ye+Pe)*a,(Ve-Pe)*y,(Ye+Te)*a));var Pe=.05,Te=he*.05,Ve=.625,Ye=.95,Ue=new go.PathFigure((Ve-Pe)*y,Ye*a,!0);E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye-Pe)*a,(Ve-Pe)*y,(Ye-Te)*a,(Ve-Te)*y,(Ye-Pe)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Pe)*y,Ye*a,(Ve+Te)*y,(Ye-Pe)*a,(Ve+Pe)*y,(Ye-Te)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye+Pe)*a,(Ve+Pe)*y,(Ye+Te)*a,(Ve+Te)*y,(Ye+Pe)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Pe)*y,Ye*a,(Ve-Te)*y,(Ye+Pe)*a,(Ve-Pe)*y,(Ye+Te)*a));var Pe=.05,Te=he*.05,Ve=.825,Ye=.95,nt=new go.PathFigure((Ve-Pe)*y,Ye*a,!0);E.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye-Pe)*a,(Ve-Pe)*y,(Ye-Te)*a,(Ve-Te)*y,(Ye-Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Pe)*y,Ye*a,(Ve+Te)*y,(Ye-Pe)*a,(Ve+Pe)*y,(Ye-Te)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye+Pe)*a,(Ve+Pe)*y,(Ye+Te)*a,(Ve+Te)*y,(Ye+Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Pe)*y,Ye*a,(Ve-Te)*y,(Ye+Pe)*a,(Ve-Pe)*y,(Ye+Te)*a).close());var Oe=new go.PathFigure(0,a,!1);return E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ne=.05,fe=he*.05,Ue=.35,Pe=.775,Te=new go.PathFigure((Ue-ne)*y,Pe*a,!0);return E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Ue*y,(Pe-ne)*a,(Ue-ne)*y,(Pe-fe)*a,(Ue-fe)*y,(Pe-ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Ue+ne)*y,Pe*a,(Ue+fe)*y,(Pe-ne)*a,(Ue+ne)*y,(Pe-fe)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Ue*y,(Pe+ne)*a,(Ue+ne)*y,(Pe+fe)*a,(Ue+fe)*y,(Pe+ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Ue-ne)*y,Pe*a,(Ue-fe)*y,(Pe+ne)*a,(Ue-ne)*y,(Pe+fe)*a).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Globe",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),E}),go.Shape.defineFigureGenerator("Wave",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),E}),go.Shape.defineFigureGenerator("Operator",function(oe,y,a){var E=new go.Geometry,b=.3,x=he*.3,z=.5,ne=.7,fe=new go.PathFigure((z-b)*y,ne*a,!0);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a));var Ue=new go.PathFigure(0,.7*a,!1);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),E}),go.Shape.defineFigureGenerator("Battery",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E}),go.Shape.defineFigureGenerator("Delete",function(oe,y,a){var E=new go.Geometry,b=.5,x=he*.5,z=.5,ne=.5,fe=new go.PathFigure((z-b)*y,ne*a,!0);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a));var Ue=new go.PathFigure(.15*y,.5*a,!1);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),E}),go.Shape.defineFigureGenerator("Flag",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),E}),go.Shape.defineFigureGenerator("Help",function(oe,y,a){var E=new go.Geometry,b=.5,x=he*.5,z=.5,ne=.5,fe=new go.PathFigure((z-b)*y,ne*a,!1);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a).close()),b=.05,x=he*.05,z=.5,ne=.8;var Ue=new go.PathFigure((z-b)*y,ne*a,!1);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a).close()),Ue.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),Ue.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),E}),go.Shape.defineFigureGenerator("Location",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Unlocked",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.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)),E}),go.Shape.defineFigureGenerator("Gear",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),E}),go.Shape.defineFigureGenerator("Map",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E}),go.Shape.defineFigureGenerator("Eject",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Pencil",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ne=new go.PathFigure(.678*y,.85*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var fe=new go.PathFigure(.5*y,.1*a,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ne=new go.PathFigure(y*.612,a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var fe=new go.PathFigure(y*.816,a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ne=new go.PathFigure(y*.055,.18*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var fe=new go.PathFigure(y*1,0,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),E}),go.Shape.defineFigureGenerator("Key",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);E.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);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ne=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var fe=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,y,a){var E=new go.Geometry,b=8,x=b*he,z=new go.PathFigure(b,0,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close());var ne=new go.PathFigure(y*.83,0,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var fe=new go.PathFigure(y*.83,a*1,!1);E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var Ue=new go.PathFigure(y*.78,a*.05,!1);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),Ue.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),Ue.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*he,x=a*.8,z=new go.Geometry,ne=new go.PathFigure(E,0,!0);return z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,x,y,x-b,y-b,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,b,x,0,x-b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Windows",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);E.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 E.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()),E}),go.Shape.defineFigureGenerator("Beaker",function(oe,y,a){var E=new go.Geometry,b=15,x=b*he,z=new go.PathFigure(y*.62,a*.475,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,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?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return E.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()),E}),go.Shape.defineFigureGenerator("Bin",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return E.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()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return E.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()),E}),go.Shape.defineFigureGenerator("4Arrows",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),E}),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")},11081: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 nn={},Kt="5.0",ve={},pe=null,we=!1,ze=!1,At=null,Ze=!1,Re=null,he=null,Be=0;Be4?parseFloat(Et):5};nn.setHTML5Codebase=function(Et,Wt){he=Et,tt(Et,Wt)},nn.setJavaCodebase=nn.setJavaCodebaseVersion=nn.isCompiledInstalled=nn.setPreCompiledScriptPath=nn.setPreCompiledResourcePath=function(){},nn.setHTML5CodebaseVersion=function(Et,Wt){var Cn=parseFloat(Et);if(Cn!==NaN&&Cn<5){console.log("The GeoGebra HTML5 codebase version "+Cn+" is deprecated. Using version latest instead.");return}Re=Et,ht(Et,Wt)},nn.getHTML5CodebaseVersion=function(){return oe},nn.getParameters=function(){return ve},nn.setFontsCSSURL=function(Et){z=Et},nn.setGiacJSURL=function(Et){},nn.setJNLPFile=function(Et){ue=Et},nn.setJNLPBaseDir=function(Et){},nn.inject=function(){function Et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Wt="auto",Cn=ve.id,Hn,hn=!1,Gn=0;Gn=5)return!0;var Et=nn.getAppletObject();return Et&&typeof Et.recalculateEnvironments=="function"?(Et.recalculateEnvironments(),!0):!1},nn.startAnimation=function(){var Et=nn.getAppletObject();return Et&&typeof Et.startAnimation=="function"?(Et.startAnimation(),!0):!1},nn.stopAnimation=function(){var Et=nn.getAppletObject();return Et&&typeof Et.stopAnimation=="function"?(Et.stopAnimation(),!0):!1},nn.getAppletObject=function(){var Et=ve.id!==void 0?ve.id:"ggbApplet";return window[Et]},nn.resize=function(){};var nt=function(Et,Wt,Cn){var Hn=document.createElement("param");Hn.setAttribute("name",Wt),Hn.setAttribute("value",Cn),Et.appendChild(Hn)},Oe=function(Et){return Et&&Et!=="false"},Ft=function(Et,Wt,Cn){fe(oe)<=4.2&&(Cn=!0);var Hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var hn=document.createElement("div");hn.classList.add("appletParameters","notranslate");var Gn=Wt.width,Dt=Wt.height;if(Wt.disableAutoScale=Wt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Wt.disableAutoScale,Wt.width!==void 0)if(fe(oe)<=4.4)Oe(Wt.showToolBar)&&(Wt.height-=7),Oe(Wt.showAlgebraInput)&&(Wt.height-=37),Wt.width<605&&Oe(Wt.showToolBar)&&(Wt.width=605,Gn=605);else{var _n=100;(Oe(Wt.showToolBar)||Oe(Wt.showMenuBar))&&(Wt.hasOwnProperty("customToolBar")&&(Wt.customToolbar=Wt.customToolBar),_n=Oe(Wt.showMenuBar)?245:155),Gn<_n&&(Wt.width=_n,Gn=_n)}hn.style.border="none",hn.style.display="inline-block";for(var er in Wt)Wt.hasOwnProperty(er)&&er!=="appletOnLoad"&&hn.setAttribute("data-param-"+er,Wt[er]);z&&hn.setAttribute("data-param-fontscssurl",z),nn.resize=function(){GGBAppletUtils.responsiveResize(Et,Wt)},window.addEventListener("resize",function(lt){nn.resize()});var je=typeof Wt.appletOnLoad=="function"?Wt.appletOnLoad:function(){};if(!Cn&&Wt.width!==void 0){Wt.hasOwnProperty("showSplash")||hn.setAttribute("data-param-showSplash","false");var qt=Et.querySelector(".applet_scaler.prerender"),He=qt!==null;if(He)var me=qt.querySelector(".ggb_preview");else{var me=Nt(Gn,Dt,Wt.borderColor,!1);qt=document.createElement("div"),qt.className="applet_scaler",qt.style.position="relative",qt.style.display="block",qt.style.width=Gn+"px",qt.style.height=Dt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(qt,"66%"),fe(oe)>=5?(Wt.appletOnLoad=function(lt){var Zt=Et.querySelector(".ggb_preview");Zt&&Zt.parentNode.removeChild(Zt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(qt),window.GGBT_wsf_view&&$(window).trigger("resize"),je(lt)},He||qt.appendChild(me)):hn.appendChild(me),qt.appendChild(hn),He||Et.appendChild(qt),setTimeout(function(){nn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(hn),Et.appendChild(se),Wt.appletOnLoad=function(lt){nn.resize(),je(lt)}}function ye(lt,Zt){Zt&&typeof Zt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(lt,Zt.appletOnLoad):renderGGBElement(lt),$t("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Zt)}function qe(lt,Zt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:lt,params:Zt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Sn){ye(Sn.article,Sn.params)}),html5AppletsToProcess=null)},fe(oe)<5&&(lt.className+=" geogebraweb")):ye(lt,Zt)}if(Hn){scriptLoadStarted=!0;for(var pt=0;pt0?(er.remove(),qt.attr("id","fullscreencontent").show(),jQuery(je).append(qt),window.dispatchEvent(new Event("resize"))):Ft(er,Wt,!1),window.GGBT_wsf_view.launchFullScreen(je)}else be=Hn,Ft(Et,Wt,!1);if(!window.GGBT_wsf_view)for(Dt=0;Dt<_n.length;Dt++)Et.removeChild(_n[Dt])},Gn=Et.getElementsByClassName("ggb_preview_play"),Dt=0;DtEt/4*3&&(er=Et/4*3),je=er/5.8,_n.setAttribute("src",b),_n.setAttribute("width",er),_n.setAttribute("height",je);var qt=(Et-er)/2,He=(Wt-je)/2;_n.style.left=qt+"px",_n.style.top=He+"px",hn.appendChild(_n)}}return hn.appendChild(Dt),hn},gt=function(Et){return Et=Et.toLowerCase(),Et==="html5"||Et==="screenshot"?Et:"html5"},xt=["web","webSimple","web3d","tablet","tablet3d","phone"],ht=function(Et,Wt){if(oe=Et,Wt){tt(oe,!0);return}var Cn=!we;if(Cn){var Hn=fe(oe);!isNaN(Hn)&&Hn<4.4&&(Cn=!1)}var hn,Gn;window.location.protocol.substr(0,4)==="http"?hn=window.location.protocol:hn="http:";var Dt=oe.indexOf("//");Dt>0?Gn=oe:Dt===0?Gn=hn+oe:Gn="https://www.geogebra.org/apps/5.2.814.0/";for(var _n in xt)if(oe.slice(xt[_n].length*-1)===xt[_n]||oe.slice((xt[_n].length+1)*-1)===xt[_n]+"/"){tt(Gn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Cn&&!pe.is3D&&!pe.AV&&!pe.SV&&!pe.CV&&!pe.EV2&&!pe.CP&&!pe.PC&&!pe.DA&&!pe.FI&&!pe.PV&&!Oe(ve.showToolBar)&&!Oe(ve.showMenuBar)&&!Oe(ve.showAlgebraInput)&&!Oe(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Gn+="webSimple/":Gn+="web3d/",tt(Gn,!1)},tt=function(Et,Wt){if(Et.requirejs){Ne=Et;return}Et.slice(-1)!=="/"&&(Et+="/"),Ne=Et,Wt===null&&(Wt=Et.indexOf("http")===-1),Ee=Wt,y="web.nocache.js",a=!1;var Cn=Ne.split("/");Cn.length>1&&(!Wt&&Cn[Cn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):xt.indexOf(Cn[Cn.length-2])>=0&&(y=Cn[Cn.length-2]+".nocache.js")),Cn=Et.split("/"),oe=Cn[Cn.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var Hn=parseFloat(oe);Hn!==NaN&&Hn<5&&Et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Hn+" is deprecated. Using version latest instead."),ht("5.0",Wt))},$t=function(Et,Wt){window.console&&window.console.log&&(!Wt||typeof Wt.showLogging=="undefined"||Wt.showLogging&&Wt.showLogging!=="false")&&console.log(Et)};ve.material_id!==void 0?Te(gn):gn();function gn(){var Et=Kt;Re!==null?Et=Re:parseFloat(Et)<5&&(Et="5.0"),ht(Et,!1),he!==null&&tt(he,Ee),Ze=!0}return nn},GGBAppletUtils=function(){"use strict";function nn(){return window.GGBT_wsf_edit!==void 0}function Kt(Ze,Re){Re!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+Re+","+Re+")",Ze.style.webkitTransform="scale("+Re+","+Re+")",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 ve(Ze,Re,he,Be,De,ue){var Ne=null;if(ue!=null&&ue!="")for(var Ee=Ze.parentNode;Ee!=null;)if((" "+Ee.className+" ").indexOf(" "+ue+" ")>-1){Ne=Ee;break}else Ee=Ee.parentNode;var be=0,oe=0,y=0,a=0,E=0,b=0,x=0;if(Ne)be=Ne.offsetWidth,oe=Math.max(Be?Ne.offsetWidth:0,Ne.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(be=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),y=be):(be=window.innerWidth,oe=window.innerHeight,y=window.innerWidth),Ze){var z=Ze.getBoundingClientRect();z.left>0&&z.left<=be&&(De===void 0||!De)&&(document.dir==="rtl"?(E=be-z.width-z.left,b=y<=480?10:30):(b=z.left,E=y<=480?10:30),a=b+E)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Ze&&((he===void 0||!he)&&Re>0&&Re+a1&&(ue=!0)),Re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))De=pe(Ze,Re,ue,he,Ze.scaleContainerClass);else return Be;return ue&&(!Ze.hasOwnProperty("scale")||Be===1)?De:Math.min(Be,De)}function ze(Ze){var Re=Math.min(window.innerWidth,document.documentElement.clientWidth),he=Math.min(window.innerHeight,document.documentElement.clientHeight),Be=Ze.getBoundingClientRect(),De=(Re-Be.width)/2,ue=(he-Be.height)/2;ue<0&&(ue=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(De<40?Ze.style.left="40px":Ze.style.left=De+"px",Ze.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?Ze.style.top="40px":Ze.style.top=ue+"px",Ze.style.left=De+"px")}function At(Ze,Re){var he=Ze.querySelector(".appletParameters");if(he){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Re.id!==he.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}if(he.parentElement&&/fullscreen/.test(he.parentElement.className))return;var Be=we(Re,Ze);nn()&&he.setAttribute("data-param-scale",Be);for(var De=null,ue=0;ue=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(nn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(nn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(nn){var Kt=c[nn];return Kt==null?null:Kt},r=d,webModule.__errFn=e}function B(){function nn(Ze){var Re=Ze.lastIndexOf(rb);Re==-1&&(Re=Ze.length);var he=Ze.indexOf(sb);he==-1&&(he=Ze.length);var Be=Ze.lastIndexOf(tb,Math.min(he,Re));return Be>=O?Ze.substring(O,Be+P):W}function Kt(Ze){if(!Ze.match(/^\w+:\/\//)){var Re=o.createElement(ub);Re.src=Ze+vb,Ze=nn(Re.src)}return Ze}function ve(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function pe(){for(var Ze=o.getElementsByTagName(_),Re=O;ReO?Ze[Ze.length-P].href:W}function ze(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var At=ve();return At==W&&(At=pe()),At==W&&(At=we()),At==W&&ze()&&(At=nn(o.location.href)),At=Kt(At),At}function C(nn){return nn.match(/^\//)||nn.match(/^[a-zA-Z]+:\/\//)?nn:webModule.__moduleBase+nn}function D(){var nn=[],Kt=O,ve=[],pe=[];function we(Ze){var Re=pe[Ze](),he=ve[Ze];if(Re in he)return Re;var Be=[];for(var De in he)Be[he[De]]=De;throw r&&r(Ze,Be,Re),null}if(__gwt_isKnownPropertyValue=function(Ze,Re){return Re in ve[Ze]},webModule.__getPropMap=function(){var Ze={};for(var Re in ve)ve.hasOwnProperty(Re)&&(Ze[Re]=we(Re));return Ze},webModule.__computePropValue=we,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ze;try{ze=Cb;var At=ze.indexOf(Db);At!=-1&&(Kt=parseInt(ze.substring(At+P),$),ze=ze.substring(O,At))}catch(Ze){}return webModule.__softPermutationId=Kt,C(ze+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})()},67303:function(nn,Kt,ve){"use strict";ve.d(Kt,{Ax:function(){return At},Ds:function(){return Ze},KI:function(){return he},SI:function(){return ze},f1:function(){return we}});var pe=ve(90524);function we(Be){let De=!0;if(Be.length>0){for(let ue=0;ueUe in fe?Ne(fe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):fe[Ue]=Pe,a=(fe,Ue)=>{for(var Pe in Ue||(Ue={}))be.call(Ue,Pe)&&y(fe,Pe,Ue[Pe]);if(Ee)for(var Pe of Ee(Ue))oe.call(Ue,Pe)&&y(fe,Pe,Ue[Pe]);return fe};const E=(fe={})=>{var Ue,Pe,Te,Ve;let Ye=(Ue=fe==null?void 0:fe.emotion)==null?void 0:Ue.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),nt=(Pe=fe==null?void 0:fe.focus)==null?void 0:Pe.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Oe=(Te=fe==null?void 0:fe.action)==null?void 0:Te.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Ft=(Ve=fe==null?void 0:fe.intention)==null?void 0:Ve.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ye||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:nt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Oe||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Ft||[]}]},b=({className:fe,dataSource:Ue=[],col:Pe=4,right:Te,bottom:Ve=23,precision:Ye=0,wrapWidth:nt=1200})=>{const Oe=(Qe="",Tt,st="--")=>Qe?(Qe==null?void 0:Qe.length)>Tt?(Qe==null?void 0:Qe.slice(0,Tt-1))+"...":Qe:st,Ft=Math.floor((nt-(Pe-1)*Te)/Pe);return pe.createElement("div",{className:At()(we.list,fe)},!!(Ue!=null&&Ue.length)&&(Ue==null?void 0:Ue.map((Qe,Tt)=>{const{cover_pic:st,created_at:it,emotion:Nt,action:gt,intention:xt,focus:ht}=Qe;return pe.createElement("div",{key:Tt,className:we.wrap,style:{width:Ft,marginRight:(1+Tt)%Pe===0?0:Te+Ye,marginBottom:Ve}},pe.createElement("div",{className:we.img},pe.createElement("img",{src:`${ue.Z.API_SERVER}${st}`}),pe.createElement("div",{className:we.tips},pe.createElement("div",null,pe.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),pe.createElement("span",null,it))),pe.createElement("div",{className:we.footer},pe.createElement("ul",null,pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-biaoqing"}),pe.createElement("span",null,"\u8868\u60C5\uFF1A",pe.createElement(Re.Z,{title:Nt},pe.createElement("span",{className:"c-grey-333"},Oe(Nt,4))))),pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-hangwei"}),pe.createElement("span",null,"\u884C\u4E3A\uFF1A",pe.createElement(Re.Z,{title:gt},pe.createElement("span",{className:"c-grey-333"},Oe(gt,4)))))),pe.createElement("ul",null,pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-yitu"}),pe.createElement("span",null,"\u610F\u56FE\uFF1A",pe.createElement(Re.Z,{title:xt},pe.createElement("span",{className:"c-grey-333"},Oe(xt,4))))),pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-zhuangtai"}),pe.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",pe.createElement(Re.Z,{title:ht},pe.createElement("span",{className:"c-grey-333"},Oe(ht,3))))))))})))},x=({className:fe,style:Ue,title:Pe,hideBar:Te=!1,children:Ve,customText:Ye="",noDataText:nt="",emptyData:Oe=[],loading:Ft,actionAnalysis:Qe})=>{var Tt,st;const it=((Tt=Oe==null?void 0:Oe[0])==null?void 0:Tt.every(gt=>{var xt;return!((xt=gt==null?void 0:gt.data)!=null&&xt.length)}))&&!((st=Oe==null?void 0:Oe[1])!=null&&st.length)||!Qe,Nt=Qe?nt:Ye;return pe.createElement(he.Z,{loading:Ft,active:!0},it&&pe.createElement("div",{className:At()(we.noData,fe),style:Ue},!!Pe&&pe.createElement("div",{className:we.title},!Te&&pe.createElement("b",null),pe.createElement("span",null,Pe)),pe.createElement("div",{className:we.itemWrap},pe.createElement(De.Z,{customText:Nt}))),!it&&Ve)};var ne=({className:fe,style:Ue,data:Pe=[],title:Te,hideBar:Ve=!1,loading:Ye=!1})=>pe.createElement("div",{className:At()(we.analysis,fe),style:Ue},!!Te&&pe.createElement("div",{className:we.title},!Ve&&pe.createElement("b",null),pe.createElement("span",null,Te)),pe.createElement(Be.Z,{spinning:Ye},pe.createElement("div",{className:we.itemWrap},Pe==null?void 0:Pe.map((nt,Oe)=>pe.createElement("div",{className:we.item,key:Oe},pe.createElement(Ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:nt==null?void 0:nt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Ft){for(let Qe in nt==null?void 0:nt.data)if(Ft==(nt==null?void 0:nt.data[Qe].name))return Ft+" "+(nt==null?void 0:nt.data[Qe].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:nt==null?void 0:nt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:nt==null?void 0:nt.data}]},style:{height:145}}))))))},6077:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Ne}});var pe=ve(59301),we={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ze=ve(92310),At=ve.n(ze),Ze=ve(71418),Re=ve(2859),he=ve(82093),Be=ve(49661),De=(Ee,be,oe)=>new Promise((y,a)=>{var E=z=>{try{x(oe.next(z))}catch(ne){a(ne)}},b=z=>{try{x(oe.throw(z))}catch(ne){a(ne)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(E,b);x((oe=oe.apply(Ee,be)).next())}),Ne=({data:Ee,className:be,fullWidth:oe,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const z=(0,pe.useRef)(null),ne=(0,pe.useRef)(null),fe=(0,pe.useRef)(null),Ue=(0,pe.useRef)(null),[Pe,Te]=(0,pe.useState)(!1),[Ve,Ye]=(0,pe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,pe.useEffect)(()=>{fe.current||(fe.current=document.createElement("style"),document.head.appendChild(fe.current)),Ee!=null&&Ee.visible?(document.body.setAttribute("data-custom","y-hidden"),fe.current.innerHTML=" html { overflow-y: hidden; }",Ee!=null&&Ee.src&&nt()):(document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null))},[Ee==null?void 0:Ee.visible]);const nt=()=>De(void 0,null,function*(){Te(!0),Ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const st=yield(0,Be.ZJ)(Ee==null?void 0:Ee.src);z.current.src="",z.current.src=st,z.current.onload=function(){Tt()},Te(!1),Ye("")}),Oe=()=>{document.body.removeAttribute("data-custom"),fe.current.innerHTML=" ",a()},Ft=st=>De(void 0,null,function*(){Te(!0),Ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const it=yield(0,he.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ee.title,file:st.dataUrl}});it!=null&&it.id&&!x?(yield(0,he.ZP)(`/api/attachments/${Ee.id}/add_subitem.json`,{method:"post",body:{subitem_id:it==null?void 0:it.id,settings:JSON.stringify(st.state)}})).status===0&&E():it!=null&&it.id&&E(it),document.body.removeAttribute("data-custom"),fe.current.innerHTML=" ",Te(!1),Ye("")}),Qe=()=>{const st=document.querySelector('a[href="https://markerjs.com/"]');st&&st.parentNode&&(st.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Nt=>{const gt=document.querySelector(Nt.name);gt&>.setAttribute("title",Nt.title)})},Tt=()=>{ne.current=new Re.hP(z.current),ne.current.targetRoot=Ue.current,ne.current.addEventListener("render",Ft),ne.current.addEventListener("beforeclose",Oe),b&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),Ee!=null&&Ee.snapshotData&&ne.current.restoreState(Ee.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return pe.createElement(pe.Fragment,null,(Ee==null?void 0:Ee.visible)&&pe.createElement(Ze.Z,{spinning:Pe,tip:Ve,style:{position:"absolute"}},pe.createElement("div",{ref:Ue,className:At()(we.imageDimensions,be,oe?we.fullWidth:""),style:y},pe.createElement("img",{className:we.img,ref:z}))))}},88615:function(nn,Kt,ve){"use strict";var pe=ve(59301),we=ve(95237),ze=ve(43604),At=ve(99313),Ze=ve(3113),Re=ve(7664),he=ve(21697),Be=ve(48136),De=ve(59301);const ue=(0,pe.forwardRef)(({callback:Ne,showSaveButton:Ee,value:be=""},oe)=>{const y=(0,pe.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],E=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=ne=>{y.current.setValue(y.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:De.createElement(we.Z,{className:he.Z.lists,gutter:[10,10]},a.map((ne,fe)=>De.createElement(ze.Z,{flex:"110px",className:he.Z.item},De.createElement("div",null,De.createElement(Re.Z,{value:`$$${ne.value}$$`}),ne.name),De.createElement("div",{className:he.Z.children},ne.children.map((Ue,Pe)=>De.createElement("div",{key:Pe},De.createElement("h1",null,Ue.name),De.createElement(we.Z,{gutter:[10,10]},Ue.data.map((Te,Ve)=>De.createElement(ze.Z,{key:Ve,onClick:()=>b(Te),className:he.Z.diamond},De.createElement(Re.Z,{value:"`$$"+Te.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:De.createElement(we.Z,{className:he.Z.lists,gutter:[10,10]},E.map((ne,fe)=>De.createElement(ze.Z,{flex:"110px",className:he.Z.item},De.createElement("div",null,De.createElement(Re.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),De.createElement("div",{className:he.Z.children},ne.children.map((Ue,Pe)=>De.createElement("div",{key:Pe},Ue.name&&De.createElement("h1",null,Ue.name),De.createElement(we.Z,{gutter:[10,10]},Ue.data.map((Te,Ve)=>De.createElement(ze.Z,{key:Ve,onClick:()=>b(Te),className:he.Z.diamond},De.createElement(Re.Z,{value:"`$$"+Te.value+"$$`"}))))))))))}],z=()=>{var ne=document.createElement("div");ne.innerHTML=y.current.getValue();var fe=ne.innerText;return Ne&&Ne(fe),fe};return(0,pe.useImperativeHandle)(oe,()=>({getData:z})),De.createElement("div",{className:he.Z.mathWrap},De.createElement(At.default,{defaultActiveKey:"1",items:x}),De.createElement("math-field",{locale:"zh_cn",className:he.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},be||""),Ee&&De.createElement("div",{className:he.Z.button},De.createElement(Ze.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Kt.Z=ue},44816:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Ft}});var pe=ve(59301),we=ve(76560),ze=ve(43418),At=ve(78241),Ze=ve(8591),Re=ve(71418),he=ve(17574),Be=ve(95237),De=ve(43604),ue=ve(6848),Ne=ve(92832),Ee={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},be=ve(98072),oe=ve(63423),y=ve(57884),a=ve(47949),E=Object.defineProperty,b=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Ue=(Qe,Tt,st)=>Tt in Qe?E(Qe,Tt,{enumerable:!0,configurable:!0,writable:!0,value:st}):Qe[Tt]=st,Pe=(Qe,Tt)=>{for(var st in Tt||(Tt={}))ne.call(Tt,st)&&Ue(Qe,st,Tt[st]);if(z)for(var st of z(Tt))fe.call(Tt,st)&&Ue(Qe,st,Tt[st]);return Qe},Te=(Qe,Tt)=>b(Qe,x(Tt)),Ve=(Qe,Tt)=>{var st={};for(var it in Qe)ne.call(Qe,it)&&Tt.indexOf(it)<0&&(st[it]=Qe[it]);if(Qe!=null&&z)for(var it of z(Qe))Tt.indexOf(it)<0&&fe.call(Qe,it)&&(st[it]=Qe[it]);return st},Ye=(Qe,Tt,st)=>new Promise((it,Nt)=>{var gt=tt=>{try{ht(st.next(tt))}catch($t){Nt($t)}},xt=tt=>{try{ht(st.throw(tt))}catch($t){Nt($t)}},ht=tt=>tt.done?it(tt.value):Promise.resolve(tt.value).then(gt,xt);ht((st=st.apply(Qe,Tt)).next())});const nt=(Qe=[])=>Qe==null?void 0:Qe.map(Tt=>Te(Pe({},Tt),{title:(Tt==null?void 0:Tt.value)||"",key:Tt==null?void 0:Tt.id,isLeaf:!0})),Oe=Qe=>{var Tt=Qe,{user:st,children:it,isShowComponent:Nt=!0,ModalProps:gt={},onDataSelect:xt}=Tt,ht=Ve(Tt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[tt,$t]=ze.default.useModal(),[gn]=At.default.useForm(),[Et,Wt]=(0,pe.useState)([]),[Cn,Hn]=(0,pe.useState)(!1),[hn,Gn]=(0,pe.useState)(!1),[,Dt,_n,er]=(0,be.U)(oe.qE,{page:1,limit:9999}),[,,je]=(0,be.U)(oe.V8,{}),[,,qt]=(0,be.U)(oe.B$,{}),[,,He]=(0,be.U)(oe.DH,{}),[,,me]=(0,be.U)(oe.bJ,{}),se=()=>{Hn(!1),gn.resetFields(),Gn(!1)},ye=pt=>Ye(void 0,null,function*(){const{node:Me,dragNode:Je,event:jt}=pt,wt=pt.node.pos.split("-"),lt=pt.dropPosition-Number(wt[wt.length-1]);if(lt==0){Ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(lt==1&&(Je==null?void 0:Je.item_index)==(Me==null?void 0:Me.item_index)+1){Ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Zt=yield me({id:Je==null?void 0:Je.key,position:lt==-1?1:(Je==null?void 0:Je.item_index)>(Me==null?void 0:Me.item_index)?(Me==null?void 0:Me.item_index)+1:Me==null?void 0:Me.item_index});(Zt==null?void 0:Zt.status)===0&&(Ze.ZP.success("\u79FB\u52A8\u6210\u529F"),_n({},!0))}),qe=pt=>Ye(void 0,null,function*(){let Me={};hn?Me=yield qt(Pe({},pt)):Me=yield He(Pe({},pt)),(Me==null?void 0:Me.status)==0&&(Ze.ZP.success((Me==null?void 0:Me.message)||(hn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),_n({},!0),se())});return(0,pe.useEffect)(()=>{gt!=null&>.open&&_n({},!0)},[gt==null?void 0:gt.open]),(0,pe.useEffect)(()=>{var pt;Wt(nt((pt=er==null?void 0:er.data)==null?void 0:pt.list))},[er]),Nt?pe.createElement(pe.Fragment,null,$t,it,pe.createElement(ze.default,Pe({},Pe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},gt)),pe.createElement(Re.Z,{spinning:Dt},(Et==null?void 0:Et.length)>0?pe.createElement(pe.Fragment,null,pe.createElement(he.default.DirectoryTree,{height:500,className:Ee.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:xt,treeData:Et,onDrop:ye,titleRender:pt=>pe.createElement(pe.Fragment,null,pe.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},pt==null?void 0:pt.title),pe.createElement("div",{className:`${Ee.EditDom}`},pe.createElement(Be.Z,{wrap:!1,align:"middle",gutter:16},pe.createElement(De.Z,null,pe.createElement(ue.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},pe.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Ee.currentPrimary}`}))),pe.createElement(De.Z,null,pe.createElement(ue.Z,{title:"\u7F16\u8F91"},pe.createElement("i",{className:`iconfont icon-bianji11 font12 ${Ee.currentPrimary}`,onClick:Me=>{Me.stopPropagation(),gn.setFieldsValue(Pe({},pt)),Hn(!0)}}))),pe.createElement(De.Z,null,pe.createElement(ue.Z,{title:"\u5220\u9664"},pe.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Ee.currentDelete}`,onClick:Me=>{Me.stopPropagation(),tt.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:()=>Ye(void 0,null,function*(){const Je=yield je({id:pt==null?void 0:pt.key});(Je==null?void 0:Je.status)==0&&(Ze.ZP.success((Je==null?void 0:Je.message)||"\u5220\u9664\u6210\u529F"),_n({},!0))})})}}))))))}),pe.createElement(a.op,{className:"ml20 mt20",icon:pe.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Gn(!0),Hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):pe.createElement(y.Z,{styles:{margin:"30px auto"},customText:pe.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",pe.createElement("a",{onClick:()=>{Gn(!0),Hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),pe.createElement(ze.default,{title:hn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Cn,okText:hn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{gn.submit()}},pe.createElement(At.default,{form:gn,onFinish:qe},hn&&pe.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"),pe.createElement(At.default.Item,{hidden:!0,name:"id"}),pe.createElement(At.default.Item,{className:"mt10",name:"value"},pe.createElement(Ne.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},maxLength:100,showCount:!0}))))):null};var Ft=(0,we.connect)(({loading:Qe,user:Tt})=>({user:Tt,loading:Qe.effects}))(Oe)},44905:function(nn,Kt,ve){"use strict";ve.d(Kt,{h:function(){return ne}});var pe=ve(59301),we=ve(57809),ze=ve(78241),At=ve(3113),Ze=ve(89780),Re=ve.n(Ze),he=ve(66543),Be=ve(59598),De=Object.defineProperty,ue=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(fe,Ue,Pe)=>Ue in fe?De(fe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):fe[Ue]=Pe,a=(fe,Ue)=>{for(var Pe in Ue||(Ue={}))be.call(Ue,Pe)&&y(fe,Pe,Ue[Pe]);if(Ee)for(var Pe of Ee(Ue))oe.call(Ue,Pe)&&y(fe,Pe,Ue[Pe]);return fe},E=(fe,Ue)=>ue(fe,Ne(Ue));const b=we.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Kt.Z=({callback:fe,onCancel:Ue})=>{const[Pe,Te]=(0,pe.useState)("python");function Ve(nt){Te(z[nt][1])}function Ye(nt){fe(nt)}return pe.createElement(ze.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),pe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},pe.createElement(we.default,{getPopupContainer:nt=>nt.parentNode,onChange:Ve},Object.keys(z).map(nt=>pe.createElement(b,{key:nt,value:nt},z[nt][0])))),pe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},pe.createElement(ne,{mode:Pe})),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(At.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(At.ZP,{type:"ghost",onClick:Ue},"\u53D6\u6D88")))};function ne({value:fe,onChange:Ue,mode:Pe,options:Te={}}){const Ve=(0,pe.useRef)(),[Ye,nt]=(0,pe.useState)();return(0,pe.useEffect)(()=>{if(Ye){let Oe=function(Ft){const Qe=Ft.getValue();Ue&&Ue(Qe)};return Ye.on("change",Oe),()=>{Ye.off("change",Oe)}}},[Ye,Ue]),(0,pe.useEffect)(()=>{Ye&&Ye.setOption("mode",Pe)},[Ye,Pe]),(0,pe.useEffect)(()=>{Ye&&(fe!==Ye.getValue()||fe==="")&&setTimeout(()=>{Ye.setValue(fe||"")},300)},[Ye,fe]),(0,pe.useEffect)(()=>{if(Ve.current&&!Ye){const Oe=Re().fromTextArea(Ve.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Te));nt(Oe)}},[Ve.current,Ye]),pe.createElement("div",{className:"my-codemirror-container"},pe.createElement("textarea",{ref:Ve}))}},89389:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ti}});var pe=ve(59301),we=ve(89780),ze=ve.n(we),At=ve(76374),Ze=ve(66543),Re=ve(6313),he=ve(25717),Be=ve(99498),De=ve(25419),ue=ve(67549),Ne=ve(7664),Ee=({value:In="",className:zn,showTextOnly:wn,showLines:kr,style:sa={}})=>{const Dr=(0,pe.useMemo)(()=>"",[In]);return pe.createElement(pe.Fragment,null,pe.createElement("div",{dangerouslySetInnerHTML:{__html:Dr}}))},be=ve(59301),oe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(In,zn,wn)=>zn in In?oe(In,zn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):In[zn]=wn,ne=(In,zn)=>{for(var wn in zn||(zn={}))b.call(zn,wn)&&z(In,wn,zn[wn]);if(E)for(var wn of E(zn))x.call(zn,wn)&&z(In,wn,zn[wn]);return In},fe=(In,zn)=>y(In,a(zn));let Ue=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Pe({onActionCallback:In,title:zn,icon:wn,actionName:kr,className:sa="",children:Dr}){function fa(){In(kr)}return be.createElement("a",{title:zn,className:sa,onClick:fa},be.createElement("i",{className:`${wn}`}),Dr)}var Te=({watch:In,showNullButton:zn,showNullProgramButton:wn,onActionCallback:kr,fullScreen:sa,insertTemp:Dr,hidetoolBar:fa,extraUse:Ua})=>{const xa=[...Ue,{title:`${In?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${In?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return be.createElement("ul",{className:"markdown-toolbar-container"},!fa&&xa.map((no,Ai)=>be.createElement("li",{key:Ai},no.actionName?be.createElement(Pe,fe(ne({},no),{onActionCallback:kr})):be.createElement("span",{className:"v-line"}))),zn?be.createElement("li",null,be.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kr},be.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,wn?be.createElement(be.Fragment,null,be.createElement("li",null,be.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kr},be.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),be.createElement("li",null,be.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kr},be.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Dr&&be.createElement("li",null,be.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Dr}`,onActionCallback:kr},be.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ua&&be.createElement("li",null,Ua),be.createElement("li",{className:"btn-full-screen"},be.createElement(Pe,{icon:`${sa?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:sa?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kr})))},Ve=ve(75790),Ye=ve(78241),nt=ve(92832),Oe=ve(3113),Ft=Object.defineProperty,Qe=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,gt=(In,zn,wn)=>zn in In?Ft(In,zn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):In[zn]=wn,xt=(In,zn)=>{for(var wn in zn||(zn={}))it.call(zn,wn)&>(In,wn,zn[wn]);if(st)for(var wn of st(zn))Nt.call(zn,wn)&>(In,wn,zn[wn]);return In},ht=(In,zn)=>Qe(In,Tt(zn));const tt={labelCol:{span:4},wrapperCol:{span:20}};var $t=({callback:In,onCancel:zn})=>{function wn(kr){In(kr)}return pe.createElement(Ye.default,ht(xt({},tt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:wn,style:{width:500}}),pe.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},pe.createElement(nt.default,null)),pe.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},pe.createElement(nt.default,null)),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Oe.ZP,{type:"ghost",onClick:zn},"\u53D6\u6D88")))},gn=ve(44905),Et=ve(45596),Wt=ve(43418),Cn=ve(95237),Hn=ve(6077),hn=ve(59301),Gn=({callback:In,onCancel:zn})=>{const wn=document.createElement("canvas"),kr=wn.getContext("2d");wn.width=1e3,wn.height=800,kr.fillStyle="#ffffff",kr.fillRect(0,0,wn.width,wn.height);const sa=wn.toDataURL("image/png");return hn.createElement(Wt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},hn.createElement(Cn.Z,{style:{height:"100vh"}},hn.createElement(Hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:sa,visible:!0,title:String(Date.now())},onOk:Dr=>{In({src:Dr.url})},onClose:zn})))},Dt=ve(12378);function _n(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(_n,go.CommandHandler),_n.prototype.canAlignSelection=function(){var In=this.diagram;return!(In===null||In.isReadOnly||In.isModelReadOnly||In.selection.count<2)},_n.prototype.alignLeft=function(){var In=this.diagram;In.startTransaction("aligning left");var zn=1/0;In.selection.each(function(wn){wn instanceof go.Link||(zn=Math.min(wn.position.x,zn))}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(zn,wn.position.y))}),In.commitTransaction("aligning left")},_n.prototype.alignRight=function(){var In=this.diagram;In.startTransaction("aligning right");var zn=-1/0;In.selection.each(function(wn){if(!(wn instanceof go.Link)){var kr=wn.actualBounds.x+wn.actualBounds.width;zn=Math.max(kr,zn)}}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(zn-wn.actualBounds.width,wn.position.y))}),In.commitTransaction("aligning right")},_n.prototype.alignTop=function(){var In=this.diagram;In.startTransaction("alignTop");var zn=1/0;In.selection.each(function(wn){wn instanceof go.Link||(zn=Math.min(wn.position.y,zn))}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(wn.position.x,zn))}),In.commitTransaction("alignTop")},_n.prototype.alignBottom=function(){var In=this.diagram;In.startTransaction("aligning bottom");var zn=-1/0;In.selection.each(function(wn){if(!(wn instanceof go.Link)){var kr=wn.actualBounds.y+wn.actualBounds.height;zn=Math.max(kr,zn)}}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(wn.actualBounds.x,zn-wn.actualBounds.height))}),In.commitTransaction("aligning bottom")},_n.prototype.alignCenterX=function(){var In=this.diagram,zn=In.selection.first();if(zn){In.startTransaction("aligning Center X");var wn=zn.actualBounds.x+zn.actualBounds.width/2;In.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(wn-kr.actualBounds.width/2,kr.actualBounds.y))}),In.commitTransaction("aligning Center X")}},_n.prototype.alignCenterY=function(){var In=this.diagram,zn=In.selection.first();if(zn){In.startTransaction("aligning Center Y");var wn=zn.actualBounds.y+zn.actualBounds.height/2;In.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(kr.actualBounds.x,wn-kr.actualBounds.height/2))}),In.commitTransaction("aligning Center Y")}},_n.prototype.alignColumn=function(In){var zn=this.diagram;zn.startTransaction("align Column"),In===void 0&&(In=0),In=parseFloat(In);var wn=new Array;zn.selection.each(function(Ua){Ua instanceof go.Link||wn.push(Ua)});for(var kr=0;kr0){for(var Ua=Dr.elt(fa-1);Ua!==null&&Ua.isTreeExpanded&&!Ua.isTreeLeaf;){var xa=this._sortTreeChildrenByY(Ua);Ua=xa.last()}Ua!==null&&In.select(Ua)}else In.select(sa)}}else if(wn.key==="Down")if(zn.isTreeExpanded&&!zn.isTreeLeaf){var kr=this._sortTreeChildrenByY(zn).first();kr!==null&&In.select(kr)}else for(;zn!==null;){var sa=zn.findTreeParentNode();if(sa===null)break;var Dr=this._sortTreeChildrenByY(sa),fa=Dr.indexOf(zn);if(faDr.y?1:sa.xDr.x?1:0}),zn},_n.prototype.copyToClipboard=function(In){go.CommandHandler.prototype.copyToClipboard.call(this,In),this._lastPasteOffset.set(this.pasteOffset)},_n.prototype.pasteFromClipboard=function(){var In=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(In,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),In},Object.defineProperty(_n.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(In){if(In!=="move"&&In!=="select"&&In!=="scroll"&&In!=="tree"&&In!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+In);this._arrowKeyBehavior=In}}),Object.defineProperty(_n.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(In){if(!(In instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+In);this._pasteOffset.set(In)}});var er=_n,je=ve(20397),qt=ve(43604),He=ve(82093),me={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},se=ve(59301),ye=(In,zn,wn)=>new Promise((kr,sa)=>{var Dr=xa=>{try{Ua(wn.next(xa))}catch(no){sa(no)}},fa=xa=>{try{Ua(wn.throw(xa))}catch(no){sa(no)}},Ua=xa=>xa.done?kr(xa.value):Promise.resolve(xa.value).then(Dr,fa);Ua((wn=wn.apply(In,zn)).next())});function qe({onCancel:In,callback:zn}){let wn=(0,pe.useRef)(),kr=(0,pe.useRef)(),sa=(0,pe.useRef)(),Dr=(0,pe.useRef)(!1);const fa=(0,pe.useRef)(!1),[Ua,xa]=(0,pe.useState)(0);function no(){const Cr=Dt.bx.make,Oa={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"};wn.current=new Dt.S0(kr.current,{padding:20,grid:Cr(Dt.s_,"Grid",Cr(Dt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cr(Dt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:zr=>{var Pa=zr.diagram.commandHandler.addTopLevelParts(zr.diagram.selection,!0);Pa||zr.diagram.currentTool.doCancel()},commandHandler:Cr(er),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:zr=>{var Pa=zr.subject;Pa.location=Pa.location.copy().snapToGridPoint(zr.diagram.grid.gridOrigin,zr.diagram.grid.gridCellSize),setTimeout(()=>{zr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:zr=>{var Pa=zr.subject;setTimeout(()=>{zr.diagram.commandHandler.editTextBlock()})},LinkRelinked:zr=>{var Pa=zr.parameter.part;Pa.invalidateConnectedLinks();var Ao=zr.subject;zr.diagram.toolManager.linkingTool.isForwards?Ao.toNode.invalidateConnectedLinks():Ao.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),wn.current.nodeTemplate=Cr(Dt.NB,"Auto",{locationSpot:Dt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Dt.$u(120,60),minSize:new Dt.$u(40,40),resizable:!0,resizeCellSize:new Dt.$u(10,10),rotatable:!0},new Dt.KX("location","loc",Dt.E9.parse).makeTwoWay(Dt.E9.stringify),new Dt.KX("desiredSize","size",Dt.$u.parse).makeTwoWay(Dt.$u.stringify),Cr(Dt.bn,{name:"SHAPE",fill:Oa.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Dt.z6.AllSides,toSpot:Dt.z6.AllSides},new Dt.KX("figure"),new Dt.KX("fill"),new Dt.KX("stroke","borderColor"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Cr(Dt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Cr(Dt.al,{margin:1,textAlign:"center",overflow:Dt.al.OverflowEllipsis,editable:!0},new Dt.KX("text").makeTwoWay(),new Dt.KX("stroke","color"))),wn.current.nodeTemplate.toolTip=Cr("ToolTip",Cr(Dt.s_,"Vertical",{maxSize:new Dt.$u(200,NaN)},Cr(Dt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Dt.KX("text")),Cr(Dt.al,{font:"10pt sans-serif",textAlign:"center"},new Dt.KX("text","details"))));function ni(zr,Pa){var Ao=(Ca,Go)=>{Ca.handled=!0,Ca.diagram.model.commit(Ka=>{var ha=Go.part.adornedPart,Na=new Dt.E9().setRectSpot(ha.actualBounds,zr);Na.subtract(ha.location),Na.scale(2,2),Na.x+=Math.sign(Na.x)*130,Na.y+=Math.sign(Na.y)*130,Na.add(ha.location),Na.snapToGridPoint(Ca.diagram.grid.gridOrigin,Ca.diagram.grid.gridCellSize);var ki=Ka.copyNodeData(ha.data);Ka.setGroupKeyForNodeData(ki,Ka.getGroupKeyForNodeData(ha.data)),Ka.addNodeData(ki);var Qo={from:ha.key,to:Ka.getKeyForNodeData(ki)};Ka.addLinkData(Qo);var qi=Ca.diagram.findNodeForData(ki);qi.location=Na,Ca.diagram.select(qi),setTimeout(()=>{Ca.diagram.commandHandler.editTextBlock()},20)})};return Cr(Dt.bn,{figure:Pa,alignment:zr,alignmentFocus:zr.opposite(),width:zr.equals(Dt.z6.Top)||zr.equals(Dt.z6.Bottom)?25:18,height:zr.equals(Dt.z6.Top)||zr.equals(Dt.z6.Bottom)?18:25,fill:"orange",stroke:Oa.white,strokeWidth:4,mouseEnter:(Ca,Go)=>Go.fill="dodgerblue",mouseLeave:(Ca,Go)=>Go.fill="orange",isActionable:!0,click:Ao,contextClick:Ao})}function Io(zr){return Cr(Dt.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:(Pa,Ao)=>Ao.fill="dodgerblue",mouseLeave:(Pa,Ao)=>Ao.fill="orange",click:(Pa,Ao)=>{Pa.diagram.commandHandler.showContextMenu(Ao.part.adornedPart)}},zr||{})}wn.current.nodeTemplate.selectionAdornmentTemplate=Cr(Dt.uz,"Spot",Cr(Dt.Vm,{padding:10}),ni(Dt.z6.Top,"TriangleUp"),ni(Dt.z6.Left,"TriangleLeft"),ni(Dt.z6.Right,"TriangleRight"),ni(Dt.z6.Bottom,"TriangleDown"),Io({alignment:new Dt.z6(.75,0)}));function zo(zr,Pa){return(Ao,Ca)=>{Ao.handled=!0,Ao.diagram.model.commit(Go=>{Go.set(Ca.part.adornedPart.data,zr,Pa)})}}function uo(zr,Pa){return Pa||(Pa="color"),Cr(Dt.bn,{width:16,height:16,stroke:"lightgray",fill:zr,margin:1,background:"transparent",mouseEnter:(Ao,Ca)=>Ca.stroke="dodgerblue",mouseLeave:(Ao,Ca)=>Ca.stroke="lightgray",click:zo(Pa,zr),contextClick:zo(Pa,zr)})}function hi(){return[Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",uo(Oa.white,"fill"),uo(Oa.beige,"fill"),uo(Oa.extralightblue,"fill"),uo(Oa.extralightred,"fill"))),Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",uo(Oa.lightgray,"fill"),uo(Oa.lightgreen,"fill"),uo(Oa.lightblue,"fill"),uo(Oa.lightred,"fill")))]}function Oi(){return[Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",uo(Oa.black),uo(Oa.green),uo(Oa.blue),uo(Oa.red))),Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",uo(Oa.white),uo(Oa.magenta),uo(Oa.purple),uo(Oa.orange)))]}function wi(zr,Pa){return Pa||(Pa="thickness"),Cr(Dt.bn,"LineH",{width:16,height:16,strokeWidth:zr,margin:1,background:"transparent",mouseEnter:(Ao,Ca)=>Ca.background="dodgerblue",mouseLeave:(Ao,Ca)=>Ca.background="transparent",click:zo(Pa,zr),contextClick:zo(Pa,zr)})}function rA(zr,Pa){return Pa||(Pa="dash"),Cr(Dt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:zr,margin:1,background:"transparent",mouseEnter:(Ao,Ca)=>Ca.background="dodgerblue",mouseLeave:(Ao,Ca)=>Ca.background="transparent",click:zo(Pa,zr),contextClick:zo(Pa,zr)})}function Fi(){return[Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",wi(1),wi(2),wi(3),wi(4))),Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",rA(null),rA([2,4]),rA([4,4])))]}function Uo(zr,Pa){return Pa||(Pa="figure"),Cr(Dt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:zr,margin:1,background:"transparent",mouseEnter:(Ao,Ca)=>Ca.fill="dodgerblue",mouseLeave:(Ao,Ca)=>Ca.fill="lightgray",click:zo(Pa,zr),contextClick:zo(Pa,zr)})}wn.current.nodeTemplate.contextMenu=Cr("ContextMenu",Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",Uo("Rectangle"),Uo("RoundedRectangle"),Uo("Ellipse"),Uo("Diamond"))),Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",Uo("Parallelogram2"),Uo("ManualOperation"),Uo("Procedure"),Uo("Cylinder1"))),Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",Uo("Terminator"),Uo("CreateRequest"),Uo("Document"),Uo("TriangleDown"))),hi(),Oi(),Fi()),wn.current.groupTemplate=Cr(Dt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Dt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(zr,Pa)=>{var Ao=Pa.addMembers(Pa.diagram.selection,!0);Ao||Pa.diagram.currentTool.doCancel()},avoidable:!1},new Dt.KX("location","loc",Dt.E9.parse).makeTwoWay(Dt.E9.stringify),Cr(Dt.s_,"Auto",{name:"BODY"},Cr(Dt.bn,{parameter1:10,fill:Oa.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Dt.z6.AllSides,toSpot:Dt.z6.AllSides},new Dt.KX("fill"),new Dt.KX("stroke","color"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Cr(Dt.Vm,{background:"transparent",margin:20})),Cr(Dt.al,{alignment:Dt.z6.Top,alignmentFocus:Dt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Dt.KX("text"),new Dt.KX("stroke","color"))),wn.current.groupTemplate.selectionAdornmentTemplate=Cr(Dt.uz,"Spot",Cr(Dt.s_,"Auto",Cr(Dt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Cr(Dt.Vm,{margin:1.5})),Io({alignment:Dt.z6.TopRight,alignmentFocus:Dt.z6.BottomRight})),wn.current.groupTemplate.contextMenu=Cr("ContextMenu",hi(),Oi(),Fi()),wn.current.linkTemplate=Cr(Dt.rU,{layerName:"Foreground",routing:Dt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Dt.KX("fromSpot","fromSpot",Dt.z6.parse),new Dt.KX("toSpot","toSpot",Dt.z6.parse),new Dt.KX("fromShortLength","dir",zr=>zr>=1?10:0),new Dt.KX("toShortLength","dir",zr=>zr>=1?10:0),new Dt.KX("points").makeTwoWay(),Cr(Dt.bn,{strokeWidth:2},new Dt.KX("stroke","color"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Cr(Dt.bn,{segmentIndex:0,segmentOffset:new Dt.E9(15,0),segmentOrientation:Dt.rU.OrientAlong,alignmentFocus:Dt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",zr=>zr===1)),Cr(Dt.bn,{segmentIndex:-1,segmentOffset:new Dt.E9(-10,6),segmentOrientation:Dt.rU.OrientPlus90,alignmentFocus:Dt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",zr=>zr>=1),new Dt.KX("width","thickness",zr=>7+3*zr),new Dt.KX("height","thickness",zr=>7+3*zr),new Dt.KX("segmentOffset","thickness",zr=>new Dt.E9(-15,4+1.5*zr))),Cr(Dt.bn,{segmentIndex:0,segmentOffset:new Dt.E9(15,-6),segmentOrientation:Dt.rU.OrientMinus90,alignmentFocus:Dt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",zr=>zr===2),new Dt.KX("width","thickness",zr=>7+3*zr),new Dt.KX("height","thickness",zr=>7+3*zr),new Dt.KX("segmentOffset","thickness",zr=>new Dt.E9(-15,4+1.5*zr))),Cr(Dt.al,{alignmentFocus:new Dt.z6(0,1,-4,0),editable:!0},new Dt.KX("text").makeTwoWay(),new Dt.KX("stroke","color"))),wn.current.linkTemplate.selectionAdornmentTemplate=Cr(Dt.uz,Cr(Dt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Ji(2)},new Dt.KX("pathPattern","thickness",Ji)),Io({alignmentFocus:new Dt.z6(0,0,-6,-4)}));function Ji(zr){return Cr(Dt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(zr+4).toString()+" H3"})}function GA(zr){var Pa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return zr===0?Pa="M0 0 M16 16 M0 8 L16 8":zr===2&&(Pa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Cr(Dt.bn,{geometryString:Pa,margin:2,background:"transparent",mouseEnter:(Ao,Ca)=>Ca.background="dodgerblue",mouseLeave:(Ao,Ca)=>Ca.background="transparent",click:zo("dir",zr),contextClick:zo("dir",zr)})}function Ti(zr){var Pa=(Ao,Ca)=>{Ao.handled=!0,Ao.diagram.model.commit(Go=>{var Ka=Ca.part.adornedPart;Go.set(Ka.data,zr?"toSpot":"fromSpot",Dt.z6.stringify(Dt.z6.AllSides)),(zr?Ka.toNode:Ka.fromNode).invalidateConnectedLinks()})};return Cr(Dt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ao,Ca)=>Ca.background="dodgerblue",mouseLeave:(Ao,Ca)=>Ca.background="transparent",click:Pa,contextClick:Pa})}function br(zr,Pa){var Ao=0,Ca=Dt.z6.RightSide;zr.equals(Dt.z6.Top)?(Ao=270,Ca=Dt.z6.TopSide):zr.equals(Dt.z6.Left)?(Ao=180,Ca=Dt.z6.LeftSide):zr.equals(Dt.z6.Bottom)&&(Ao=90,Ca=Dt.z6.BottomSide),Pa||(Ao-=180);var Go=(Ka,ha)=>{Ka.handled=!0,Ka.diagram.model.commit(Na=>{var ki=ha.part.adornedPart;Na.set(ki.data,Pa?"toSpot":"fromSpot",Dt.z6.stringify(Ca)),(Pa?ki.toNode:ki.fromNode).invalidateConnectedLinks()})};return Cr(Dt.bn,{alignment:zr,alignmentFocus:zr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ao,background:"transparent",mouseEnter:(Ka,ha)=>ha.background="dodgerblue",mouseLeave:(Ka,ha)=>ha.background="transparent",click:Go,contextClick:Go})}wn.current.linkTemplate.contextMenu=Cr("ContextMenu",Oi(),Fi(),Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",GA(0),GA(1),GA(2))),Cr("ContextMenuButton",Cr(Dt.s_,"Horizontal",Cr(Dt.s_,"Spot",Ti(!1),br(Dt.z6.Top,!1),br(Dt.z6.Left,!1),br(Dt.z6.Right,!1),br(Dt.z6.Bottom,!1)),Cr(Dt.s_,"Spot",{margin:new Dt.Zt(0,0,0,2)},Ti(!0),br(Dt.z6.Top,!0),br(Dt.z6.Left,!0),br(Dt.z6.Right,!0),br(Dt.z6.Bottom,!0)))));const zl=`{ "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 cs=["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 Ps(zr){return console.log("shapeName:",zr),cs.indexOf(zr)>=0}var _A=new Dt.YI(sa.current,{maxSelectionCount:1,linkTemplate:Cr(Dt.rU,{locationSpot:Dt.z6.Center,selectionAdornmentTemplate:Cr(Dt.uz,"Link",{locationSpot:Dt.z6.Center},Cr(Dt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Cr(Dt.bn,{toArrow:"Standard",stroke:null}))},{routing:Dt.rU.AvoidsNodes,curve:Dt.rU.JumpOver,corner:5,toShortLength:4},new Dt.KX("points"),Cr(Dt.bn,{isPanelMain:!0,strokeWidth:2}),Cr(Dt.bn,{toArrow:"Standard",stroke:null})),model:new Dt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Dt.bn.getFigureGenerators().toArray().map(zr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:zr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return wn.current.addDiagramListener("TextEdited",function(zr){var Pa;const Ao=zr.subject.part;var Ca=(Pa=document.activeElement)==null?void 0:Pa.value;typeof Ca=="string"&&Ca.trim()===""&&wn.current.model.commit(function(Go){Go.set(Ao.data,"text","\u672A\u547D\u540D"),wn.current.commandHandler.stopCommand()},"increment")}),_A.nodeTemplate=Cr(Dt.NB,"Auto",{locationSpot:Dt.z6.Center},new Dt.KX("location","location",Dt.E9.parse).makeTwoWay(Dt.E9.stringify),Cr(Dt.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 Dt.KX("stroke").makeTwoWay(),new Dt.KX("fill").makeTwoWay(),new Dt.KX("figure")),Cr(Dt.al,{margin:new Dt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Dt.$u(16,16),maxSize:new Dt.$u(10,NaN),textAlign:"center",editable:!0},new Dt.KX("key").makeTwoWay())),setTimeout(()=>{wn.current.grid=Cr(Dt.s_,"Grid",Cr(Dt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cr(Dt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),wn.current.grid.visible=!0,wn.current.grid.gridCellStroke="darkgray",wn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=wn.current,wn.current}const Ai=()=>ye(this,null,function*(){var Cr=wn.current.makeImage();const Oa=yield(0,He.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Cr.src}});zn({src:Oa.url})});return(0,pe.useEffect)(()=>(setTimeout(()=>{no()},500),xa(Ua+1),()=>{wn.current=null}),[]),se.createElement("div",{ref:fa,className:Dr.current?`${me.maxH60} body-overflow-initial`:"body-overflow-initial"},se.createElement(Wt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ua,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:se.createElement(Cn.Z,null,se.createElement(qt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),se.createElement(qt.Z,{onClick:()=>{var Cr,Oa,ni=wn.current.selection.first();if(Dr.current=!Dr.current,document.activeElement&&ni){let Io=(Oa=(Cr=document.activeElement)==null?void 0:Cr.value)==null?void 0:Oa.trim();typeof Io=="string"&&wn.current.model.commit(function(zo){zo.set(ni.data,"text",Io||"\u672A\u547D\u540D"),wn.current.commandHandler.stopCommand()},"increment")}xa(Ua+1)}},se.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:In},se.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:me.flowChartWrp},se.createElement("div",{style:{display:"flex",height:"100%"}},se.createElement("div",{style:{width:"300px",height:"100%"}},se.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),se.createElement("div",{style:{height:"calc(100% - 50px)"},className:me.myPaletteDiv,ref:sa})),se.createElement("div",{style:{flex:1,position:"relative"}},se.createElement("div",{ref:kr,style:{height:"80vh"}}))),se.createElement("div",{className:"tr"},se.createElement(Oe.ZP,{size:"large",onClick:Ai,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var pt=qe,Me=ve(5112),Je=ve(5871);const jt=Me.ZP.Group,wt={margin:"0 8px"};var lt=({callback:In,onCancel:zn})=>{function wn(kr){In(kr)}return pe.createElement(Ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:wn},pe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},pe.createElement("span",{style:wt},"\u5355\u5143\u683C\u6570\uFF1A"),pe.createElement("span",{style:wt},"\u884C\u6570"),pe.createElement(Ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},pe.createElement(Je.Z,null)),pe.createElement("span",{style:wt},"\u5217\u6570"),pe.createElement(Ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},pe.createElement(Je.Z,null))),pe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},pe.createElement("span",{style:wt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),pe.createElement(Ye.default.Item,{name:"align"},pe.createElement(jt,null,pe.createElement(Me.ZP,{value:"default"},pe.createElement("i",{className:"fa fa-align-justify"})),pe.createElement(Me.ZP,{value:"left"},pe.createElement("i",{className:"fa fa-align-left"})),pe.createElement(Me.ZP,{value:"center"},pe.createElement("i",{className:"fa fa-align-center"})),pe.createElement(Me.ZP,{value:"right"},pe.createElement("i",{className:"fa fa-align-right"}))))),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Oe.ZP,{type:"ghost",onClick:zn},"\u53D6\u6D88")))},Zt=ve(49770),Sn=ve(11081),kt=ve.n(Sn),Ot=(0,pe.forwardRef)(({use3d:In,width:zn,height:wn,callback:kr,showSaveButton:sa},Dr)=>{const fa=(0,pe.useRef)(),Ua=(0,pe.useRef)(),[xa,no]=(0,pe.useState)(!1),Ai=(0,pe.useRef)({id:fa,appName:"graphing",width:zn||1e3,height:wn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,pe.useEffect)(()=>{Ua.current=new(kt())(Ai.current,!0),window.onload=function(){Ua.current.inject("applet_container")}},[]);const Cr=()=>{var Oa=window.ggbApplet.getPNGBase64(1,!0,72);return kr&&kr(Oa),Oa};return(0,pe.useEffect)(()=>{Ai.current.appName=xa?"3D":"graphing",Ua.current.inject("applet_container")},[xa]),(0,pe.useEffect)(()=>{no(In)},[In]),(0,pe.useImperativeHandle)(Dr,()=>({getImgData:Cr})),pe.createElement(pe.Fragment,null,pe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:fa}),pe.createElement(Cn.Z,{align:"middle"},pe.createElement(qt.Z,{flex:1},pe.createElement(Zt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:xa,onChange:Oa=>no(Oa)})),pe.createElement(qt.Z,null,pe.createElement(Oe.ZP,{size:"large",onClick:Cr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Fn=ve(88615),an=ve(1012),rr=ve(8591);const gr="link",sr="upload-image",Ur="add-flowchart",Qr="draw-image",aa="add-flowchart",Aa="code-block",Gr="add-table",yr="------------",Tr={default:yr,left:`:${yr}`,center:`:${yr}:`,right:`${yr}:`};var _r=ve(17904),Ba=(In,zn,wn)=>new Promise((kr,sa)=>{var Dr=xa=>{try{Ua(wn.next(xa))}catch(no){sa(no)}},fa=xa=>{try{Ua(wn.throw(xa))}catch(no){sa(no)}},Ua=xa=>xa.done?kr(xa.value):Promise.resolve(xa.value).then(Dr,fa);Ua((wn=wn.apply(In,zn)).next())});function Xa(){}let Vr=0;const Lo=1e4,Ho="\u2581",ta="@\u2581\u2581@",mn="@\u2581@",yi=` **\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`,li=["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 ii(In){return/^\d+$/.test(In)?`${In}px`:In}const xo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Mi={[xo+"-B"]:"bold",[xo+"-I"]:"italic"},di={[gr]:"\u6DFB\u52A0\u94FE\u63A5",[Aa]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[sr]:"\u6DFB\u52A0\u56FE\u7247",[Qr]:"\u6DFB\u52A0\u753B\u56FE",[Ur]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Gr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ti=({defaultValue:In="",onChange:zn,width:wn="100%",height:kr=400,miniToolbar:sa=!1,isFocus:Dr=!1,watch:fa,insertTemp:Ua,mode:xa="markdown",id:no="markdown-editor-id",showResizeBar:Ai=!1,noStorage:Cr=!1,showNullButton:Oa=!1,showNullProgramButton:ni=!1,hidetoolBar:Io=!1,fullScreen:zo=!1,onBlur:uo,onCMBeforeChange:hi,onFullScreen:Oi,className:wi="",disablePaste:rA=!1,disabled:Fi=!1,disabledFill:Uo=!1,placeholder:Ji="",values:GA="",extraUse:Ti})=>{const[br,zl]=(0,pe.useState)(null),[cs,Ps]=(0,pe.useState)(In),[_A,zr]=(0,pe.useState)(fa),[Pa,Ao]=(0,pe.useState)(zo),[Ca,Go]=(0,pe.useState)(""),[Ka,ha]=(0,pe.useState)(0),[Na,ki]=(0,pe.useState)(kr),[Qo,qi]=(0,pe.useState)(!1),$s=(0,pe.useRef)((0,an.Z)()),ds=(0,pe.useRef)(!1),xA=(0,pe.useRef)(),[WA,kA]=(0,pe.useState)(0),[Es,Fs]=(0,pe.useState)(0),ZA=(0,pe.useRef)(),Ci=(0,pe.useRef)(),bt=(0,pe.useRef)(),Wn=(0,pe.useRef)(),Ar=()=>Ba(void 0,null,function*(){var sn;const En=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:$s.current}});(sn=En==null?void 0:En.attachments)!=null&&sn.length&&(console.log("cm:",br,ZA),En.attachments.map(Rn=>{Rn.content_type.indexOf("image")>-1?br.replaceSelection(`![,](/api/attachments/${Rn.id}?type=${Rn.content_type})`):Rn.content_type.indexOf("video")>-1?br.replaceSelection(``):Rn.content_type.indexOf("pdf")>-1?br.replaceSelection(`${Rn.name}`):br.replaceSelection(`[${Rn.name}](${ENV.API_SERVER}/api/attachments/${Rn.id}?type=${Rn.content_type})`)}))});(0,pe.useEffect)(()=>{const sn=window.scrollY||window.pageYOffset;Ps(GA),br==null||br.setValue(GA),window.scrollTo(0,sn)},[GA]),(0,pe.useEffect)(()=>{Oi==null||Oi(Pa)},[Pa]),(0,pe.useEffect)(()=>{if(ZA.current){let sn=function(Rn,lr){var Fr;if(rA){lr.preventDefault();return}const mr=lr.clipboardData;if(mr){const Er=mr.types.toString(),Sr=mr.items;if(Er==="Files"||mr.types.indexOf("Files")>-1){if(lr.preventDefault(),xa=="stex")return;try{let Ea=Sr[1];((Fr=Sr[0])==null?void 0:Fr.kind)==="file"&&(Ea=Sr[0]);const ka=Ea.getAsFile(),wa=ka.name.split(".").pop();(0,Et.I)(ka,co=>{var wo,No,ga;co.id?((wo=ka==null?void 0:ka.type)==null?void 0:wo.indexOf("image"))>-1?En.replaceSelection(``):((No=ka==null?void 0:ka.type)==null?void 0:No.indexOf("video"))>-1?En.replaceSelection(``):((ga=ka==null?void 0:ka.type)==null?void 0:ga.indexOf("pdf"))>-1?En.replaceSelection(`${ka.name}`):li.includes(wa)?En.replaceSelection(`${ka.name}`):En.replaceSelection(`[${ka.name}](/api/attachments/${co.id}?type=${co.content_type})`):(co==null?void 0:co.status)===401&&(rr.ZP.warning((co==null?void 0:co.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ea){rr.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const En=ze().fromTextArea(ZA.current,{mode:xa,lineNumbers:!sa,lineWrapping:!0,value:In,autoCloseTags:!ni,autoCloseBrackets:!0});return En.on("keyup",function(Rn,lr){lr.keyCode===8&&(Rn.getValue()==""?En.setOption("placeholder",Ji):En.setOption("placeholder",null))}),En.on("keydown",function(Rn,lr){if(lr.keyCode===8){var Fr=Ta(Rn);Fr&&lr.preventDefault()}}),Dr&&En.focus(),En.on("paste",sn),En.on("dragleave",function(Rn,lr){Ci.current.classList.remove("mouse-hover-md")}),Fi&&En.on("beforeChange",function(Rn,lr){(lr.origin==="paste"||lr.origin==="+input")&&lr.cancel()}),zl(En),()=>{En.off("paste",sn)}}},[]);const Wr=(0,pe.useCallback)(()=>{if(Ci.current)try{}catch(sn){console.log(sn,"---- to set md editor body height")}},[Na,Ci,Pa]);(0,pe.useEffect)(()=>{function sn(){let En=new At.Z(Rn=>{for(let lr of Rn)(lr.target.offsetHeight>0||lr.target.offsetWidth>0)&&(Wr(),br.setSize("100%","100%"),br.refresh())});return En.observe(ZA.current.parentElement),En}if(br){const En=sn();return()=>{var Rn,lr;(Rn=ZA.current)!=null&&Rn.parentElement&&En.unobserve((lr=ZA.current)==null?void 0:lr.parentElement)}}},[br,Wr]),(0,pe.useEffect)(()=>{if(br){let sn=[];for(const[En,Rn]of Object.entries(Mi)){let lr={[En]:()=>{ro(Rn)}};sn.push(lr),br.addKeyMap(lr)}return xA.current=setInterval(()=>{ds.current&&Ar()},4e3),()=>{clearInterval(xA.current);for(let En of sn)br.removeKeyMap(En)}}},[br]),(0,pe.useEffect)(()=>{zo!==Pa&&Ao(zo)},[zo]),(0,_r.Z)(()=>{if(!Cr&&Ka>0){let sn=new Date().getTime(),En=window.sessionStorage.getItem(no);sn>=Ka+Lo&&(!En||En!==cs)&&(window.sessionStorage.setItem(no,cs),qi(!0))}},Lo),(0,pe.useEffect)(()=>{zr(fa)},[br,fa]),(0,pe.useEffect)(()=>{br&&Dr&&br.focus()},[br,Dr]),(0,pe.useEffect)(()=>{if(_A&&br){let sn=function(Rn){let lr=Rn.target;if(Wn.current){let Fr=lr.scrollTop/lr.scrollHeight;Wn.current.scrollTop=Wn.current.scrollHeight*Fr}};const En=br.getScrollerElement();return En.addEventListener("scroll",sn),()=>{En.removeEventListener("scroll",sn)}}},[br,_A]),(0,pe.useEffect)(()=>{if(br&&hi){let sn=function(En,Rn){hi(En,Rn)};return br.on("beforeChange",sn),()=>{br.off("beforeChange",sn)}}},[br,hi]),(0,pe.useEffect)(()=>{if(br&&uo){let sn=function(){uo(br.getValue())};return br.on("blur",sn),()=>{br.off("blur",sn)}}},[br,uo]);function Ta(sn,En){var Rn=sn.getDoc(),lr=Rn.getCursor(),Fr=Rn.getLine(lr.line),mr=Fr.charAt(lr.ch-1),Er=Fr.lastIndexOf("@\u2581@",lr.ch),Sr=Fr.lastIndexOf("@\u2581\u2581@",lr.ch),Ea=Er>Sr?Er:Sr,ka=Er>Sr?3:4;if(ta.indexOf(mr)===-1)return null;if(console.log("change1:",En,sn,Fr,lr,Ea,Er,Sr,mr),Ea>=0&&lr.ch-Ea<5){var wa=Ea+ka;return Rn.replaceRange("",{line:lr.line,ch:Ea},{line:lr.line,ch:wa}),{line:lr.line,ch:wa}}return null}(0,pe.useEffect)(()=>{if(br){let sn=function(En,Rn){const lr=En.getValue();Ps(lr),ha(new Date().getTime()),En.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),zn&&(ni?zn(lr,ao(lr)):zn(lr))};return br.on("change",sn),()=>{br.off("change",sn)}}},[br,zn]),(0,pe.useEffect)(()=>{if(br)if(In==null)br.setValue(""),Ps("");else{const sn=window.scrollY||window.pageYOffset;In!==br.getValue()&&(br.setValue(In),Ps(In),br.setCursor(Fi?1:br.lineCount(),0),window.scrollTo(0,sn))}},[br,In]);const ro=(0,pe.useCallback)(sn=>{const En=br.getCursor(),Rn=br.getSelection();let lr=Rn.split(` `);switch(sn){case"bold":return br.replaceSelection("**"+Rn+"**"),Rn===""&&br.setCursor(En.line,En.ch+2),br.focus();case"italic":return br.replaceSelection("*"+Rn+"*"),Rn===""&&br.setCursor(En.line,En.ch+1),br.focus();case"code":return br.replaceSelection("`"+Rn+"`"),Rn===""&&br.setCursor(En.line,En.ch+1),br.focus();case"inline-latex":return Go("inline-latex"),br.focus();case"latex":return br.replaceSelection("```latex\n"+Rn+"\n```"),br.setCursor(En.line+1,Rn.length+1),br.focus();case"line-break":return br.replaceSelection(`
`),br.focus();case"list-ul":return Rn===""?br.replaceSelection("- "+Rn):br.replaceSelection(lr.map(Fr=>Fr===""?"":`- ${Fr}`).join(` `)),br.focus();case"list-ol":return Rn===""?br.replaceSelection("1. "+Rn):br.replaceSelection(lr.map((Fr,mr)=>Fr===""?"":`${mr+1}. ${Fr}`).join(` `)),br.focus();case"add-null-ch":return Rn===""&&br.setCursor(En.line,En.ch),br.replaceSelection(Ho),br.focus();case"add-signal":return Rn===""&&br.setCursor(En.line,En.ch),br.replaceSelection(mn),br.focus();case"add-multiple":return Rn===""&&br.setCursor(En.line,En.ch),br.replaceSelection(ta),br.focus();case"inster-template-1":return Rn===""&&br.setCursor(En.line,En.ch),br.replaceSelection(yi),br.focus();case"eraser":return br.setValue(""),br.focus();case"trigger-watch":return zr(!_A),br.focus();case"trigger-full-screen":return Ao(!Pa),br.focus();case gr:Go(gr);return;case Aa:Go(Aa);return;case sr:Go(sr);return;case Qr:Go(Qr);return;case"maths-latex":Go("maths-latex");return;case Ur:Go(Ur);return;case Gr:Go(Gr);return;default:throw new Error}},[br,_A,Pa]),jr=(0,pe.useCallback)((sn,En)=>{var Rn,lr,Fr,mr,Er,Sr;switch(Go(""),Ca){case gr:const{title:wo,link:No}=sn;return br.replaceSelection(`[${wo}](${No})`),br.focus();case Aa:const{language:ga,content:la}=sn;return br.replaceSelection(["```"+ga,la,"```"].join(` `)),br.focus();case"maths-latex":for(var Ea=atob(sn),ka=new Uint8Array(Ea.length),wa=0;wa{Ki.id?br.replaceSelection(`![,](/api/attachments/${Ki.id}?type=${Ki.content_type})`):(Ki==null?void 0:Ki.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":br.replaceSelection("`$$"+sn+"$$`");break;case sr:case Qr:case aa:const{src:oa,alt:Qa}=sn,Wa=En,lo=(Fr=(lr=(Rn=Wa==null?void 0:Wa.name)==null?void 0:Rn.split("."))==null?void 0:lr.pop)==null?void 0:Fr.call(lr);return((mr=Wa==null?void 0:Wa.type)==null?void 0:mr.indexOf("image"))>-1||!(Wa!=null&&Wa.type)?Wa.align||Wa.width?br.replaceSelection(`

${Qa||

`):br.replaceSelection(`${Qa||`):((Er=Wa==null?void 0:Wa.type)==null?void 0:Er.indexOf("video"))>-1?br.replaceSelection(``):((Sr=Wa==null?void 0:Wa.type)==null?void 0:Sr.indexOf("pdf"))>-1?br.replaceSelection(`${Wa.name}`):li.includes(lo)?br.replaceSelection(`${Wa.name}`):br.replaceSelection(`[${Wa.name}](${oa})`),br.focus();case Gr:const{row:dA,col:aA,align:Di}=sn;let es=` `;for(let Ki=0;Ki{switch(Ca){case gr:return pe.createElement($t,{callback:jr,onCancel:ma});case Aa:return pe.createElement(gn.Z,{callback:jr,onCancel:ma});case sr:return pe.createElement(Et.Z,{callback:jr,onCancel:ma});case Ur:return pe.createElement(pt,{callback:jr,onCancel:ma});case Gr:return pe.createElement(lt,{callback:jr,onCancel:ma});case"maths-latex":return pe.createElement(Ot,{showSaveButton:!0,callback:jr});case"inline-latex":return pe.createElement(Fn.Z,{showSaveButton:!0,callback:jr});default:return null}},[Ca]);function ma(){Go("")}(0,pe.useEffect)(()=>{if(bt.current){let sn=function(Er){Fr=!0,mr=Er.pageY},En=function(){Fr=!1},Rn=function(Er){if(Fr){let Sr=Er.pageY-mr;Sr<0&&(Sr=0),Sr>300&&(Sr=300);let Ea=kr+Sr+"px";ki(Ea)}},lr=bt.current,Fr=!1,mr=0;return lr.addEventListener("mousedown",sn),document.addEventListener("mousemove",Rn),document.addEventListener("mouseup",En),()=>{lr.removeEventListener("mousedown",sn),document.removeEventListener("mousemove",Rn),document.removeEventListener("mouseup",En)}}},[br,bt]),(0,pe.useEffect)(()=>{ki(kr)},[kr]);const Oo=ii(wn),Ha=ii(Na),ra={width:Oo,height:Ha},$o=(0,pe.useMemo)(()=>{if(Ka){let sn=new Date(Ka),En=sn.getHours(),Rn=sn.getMinutes(),lr=sn.getSeconds();return En=En<10?"0"+En:En,Rn=Rn<10?"0"+Rn:Rn,lr=lr<10?"0"+lr:lr,`${En}:${Rn}:${lr}`}return 0},[Ka]),ao=sn=>{const En=[];if(ni){let Rn=-1;sn=sn.replace(/(@▁▁@|@▁@)/g,function(lr,Fr,mr){En.push({multiLine:lr!==mn})})}return En};function ui(){window.sessionStorage.removeItem(no),qi(!1),ha(0)}function mo(){qi(!1),ha(0),br.setValue(window.sessionStorage.getItem(no))}(0,pe.useEffect)(()=>{di[Ca]&&Ca!==Qr&&Ca!==Ur&&setTimeout(()=>{const sn=document.getElementsByClassName("markdown-popup-form")[0],En=window.innerWidth/2-sn.offsetWidth/2,Rn=window.innerHeight/2-sn.offsetHeight/2;kA(En),Fs(Rn)},0)},[Ca]);const vn=sn=>{sn.preventDefault();const En=sn.clientX-WA,Rn=sn.clientY-Es;document.body.onmousemove=lr=>{let Fr=lr.clientX-En,mr=lr.clientY-Rn;const Er=document.getElementsByClassName("markdown-popup-form")[0],Sr=window.innerWidth-Er.offsetWidth,Ea=window.innerHeight-Er.offsetHeight;Fr=Math.max(0,Math.min(Fr,Sr)),mr=Math.max(0,Math.min(mr,Ea)),An(lr.clientX,lr.clientY,En,Rn)&&(kA(Fr),Fs(mr))},document.body.onmouseup=function(){document.body.onmousemove=null}},An=(sn,En,Rn,lr)=>{const Fr=document.body.clientHeight,mr=document.body.clientWidth;return sn<20&&Rn>sn||sn>mr-20&&RnEn||En>Fr-20&&lrnt in Ye?Ee(Ye,nt,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Ye[nt]=Oe,x=(Ye,nt)=>{for(var Oe in nt||(nt={}))a.call(nt,Oe)&&b(Ye,Oe,nt[Oe]);if(y)for(var Oe of y(nt))E.call(nt,Oe)&&b(Ye,Oe,nt[Oe]);return Ye},z=(Ye,nt)=>be(Ye,oe(nt));const{useForm:ne}=pe.default,fe={width:280,marginRight:10},Ue={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ye,onCancel:nt})=>{const[Oe]=ne();let Ft=(0,De.useRef)();function Qe(it){Ft.current.width=Oe.getFieldValue("width"),Ft.current.align=Oe.getFieldValue("align"),Ye(it,Ft.current)}function Tt(it,Nt){if(it.status===-1){we.ZP.error(it.message);return}Oe.setFieldsValue({src:`/api/attachments/${it.id}`,type:Nt.type})}function st(it){let Nt=it.target.files[0];Ft.current=Nt,Ve(Nt,Tt)}return Ne.createElement(pe.default,z(x({form:Oe},Ue),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),Ne.createElement(pe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ne.createElement("div",{className:"flex-container"},Ne.createElement(pe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ne.createElement(ze.default,{style:fe})),Ne.createElement(Te,{onFileChange:st}))),Ne.createElement(pe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ne.createElement(ze.default,{style:{width:264}})),Ne.createElement(pe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ne.createElement(At.Z,null,Ne.createElement(pe.default.Item,{name:"width",style:{margin:0}},Ne.createElement(Ze.Z,{style:{width:264}})),Ne.createElement("span",{className:"ml8"},"%"))),Ne.createElement(pe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ne.createElement(Re.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ne.createElement("aside",null,Ne.createElement(pe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ne.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ne.createElement(he.ZP,{type:"default",onClick:nt},"\u53D6\u6D88"))))};function Te({onFileChange:Ye}){return Ne.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ne.createElement("input",{type:"file",onChange:Ye}))}function Ve(Ye,nt){if(!Ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw we.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Oe=new FormData;Oe.append("editormd-image-file",Ye),Oe.append("file_param_name","editormd-image-file"),Oe.append("byxhr","true");var Ft=new window.XMLHttpRequest;Ft.withCredentials=!0,Ft.addEventListener("load",function(Qe){nt(JSON.parse(Qe.target.responseText),Ye)},!1),Ft.addEventListener("error",function(Qe){console.error(Qe)},!1),Ft.open("POST",`${Be.KI}/api/attachments.json`),Ft.send(Oe)}},75790:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ze}});var pe=ve(59301),we=ve(4676);class ze extends pe.Component{constructor(Ze){super(Ze);const Re=window.document;this.node=Re.createElement("div"),Re.body.appendChild(this.node)}render(){const{children:Ze}=this.props;return(0,we.createPortal)(Ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},929:function(nn,Kt,ve){"use strict";ve.d(Kt,{i:function(){return fe},Z:function(){return Pe}});var pe={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"},we=ve(71418),ze=ve(6848),At=ve(92310),Ze=ve.n(At),Re=ve(49661),he=ve(57884),Be=ve(34055),De=ve(79005),ue=ve(20345),Ne=ve(77882),Ee=ve(31081),be=ve(75309),oe=ve(71979),y=ve(47558),a=ve(42922),E=ve(66832),b=ve(96593),x=ve(19664),z=ve(91833),ne=ve(59301);const fe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:De,swimg:ue},{name:"101\u8BA1\u5212",ptimg:Ne,swimg:Ee},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:be,swimg:oe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:z}];var Pe=({className:Te,dataSource:Ve=[],col:Ye=4,right:nt,bottom:Oe=23,precision:Ft=0,wrapWidth:Qe=1200,trackEventItems:Tt,loading:st,onRemove:it=()=>{},isCurrent:Nt=!0,showAlias:gt=!1})=>{const xt=Math.floor((Qe-(Ye-1)*nt)/Ye),ht=[{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(tt=>(window.ENV==="build"&&(tt.ptimg=`/react/build${tt.ptimg}`,tt.swimg=`/react/build${tt.swimg}`),tt));return ne.createElement(we.Z,{spinning:st},ne.createElement("div",{className:Ze()(pe.list,Te)},!!(Ve!=null&&Ve.length)&&(Ve==null?void 0:Ve.map((tt,$t)=>{var gn;const{name:Et,id:Wt,identifier:Cn,featured:Hn,school_name:hn,image_url:Gn,excellent:Dt,is_plan:_n}=tt;return ne.createElement("div",{key:Wt,className:pe.wrap,style:{width:xt,marginRight:(1+$t)%Ye===0?0:nt+Ft,marginBottom:Oe}},ne.createElement("a",{className:pe.li,onClick:er=>{er.preventDefault(),er.stopPropagation(),Tt&&(0,Re.L9)([Tt]),(0,Re.xg)(`/paths/${Cn}`)}},ne.createElement("div",{className:pe.img},ne.createElement("img",{className:pe.cover,src:`${Gn}`}),Nt&&(0,Be.bg)()&&(tt==null?void 0:tt.studying)&&ne.createElement("div",{className:`${pe.movebq} user-path-items`,onClick:er=>{er.stopPropagation(),it(tt)}},ne.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ne.createElement("span",{className:"c-red"},"\u79FB\u9664")),(gn=tt==null?void 0:tt.subject_tags)==null?void 0:gn.map((er,je)=>{var qt,He;if(je===0){const se=(qt=ht.find(ye=>ye.name==er))==null?void 0:qt.swimg;return ne.createElement("img",{className:pe.sign,src:se,style:{left:"-4px"}})}const me=(He=ht.find(se=>se.name==er))==null?void 0:He.ptimg;return ne.createElement("img",{className:pe.sign,src:me,style:{left:`${48+52*(je-1)+2*je}px`}})}),ne.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(tt==null?void 0:tt.excellent)&&ne.createElement("div",{className:pe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:pe.name},ne.createElement(ze.Z,{title:gt&&(tt!=null&&tt.excellent_alias_name)?ne.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Et}`,ne.createElement("br",null),ne.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${tt==null?void 0:tt.excellent_alias_name}`)):Et},ne.createElement("span",{className:pe.e},gt&&(tt==null?void 0:tt.excellent_alias_name)||Et))),ne.createElement("div",{className:pe.tags},ne.createElement("div",null,ne.createElement(ze.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ne.createElement("span",null,tt.stages_count))),ne.createElement(ze.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ne.createElement("span",null,tt.members_count)))))))})),!Ve.length&&ne.createElement(he.Z,null)))}},47949:function(nn,Kt,ve){"use strict";ve.d(Kt,{jL:function(){return Ze},w9:function(){return dn},dN:function(){return rr},QD:function(){return xa},cQ:function(){return hn.Z},Oz:function(){return wt},op:function(){return wn},O5:function(){return cs},_b:function(){return Io},t7:function(){return Ye},Gi:function(){return Tr},YG:function(){return Qr},kT:function(){return Gr},qp:function(){return E},K3:function(){return z},vr:function(){return Cr},qE:function(){return Dr},Je:function(){return Ft},wb:function(){return Et},lB:function(){return Hn},cq:function(){return Ho},tp:function(){return Ue},Si:function(){return zr},k8:function(){return Ci},Du:function(){return ki}});var pe=ve(59301),we={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"},ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ze=({dataSource:bt=[],img:Wn,imgWidth:Ar=346,title:Wr,sunTitle:Ta,bannerExtraContent:ro})=>pe.createElement("div",{className:we.banner},pe.createElement("div",{className:we.content},pe.createElement("aside",null,pe.createElement("p",null,pe.createElement("b",null,Wr),pe.createElement("span",null,Ta)),bt.length>0&&pe.createElement("div",{className:we.btns},bt.map((jr,qa)=>pe.createElement("div",{key:qa,onClick:jr.click},jr.name,jr.sign?pe.createElement("img",{src:ze,width:39}):null))),ro),Wn&&pe.createElement("img",{style:{marginTop:33,marginRight:38},src:Wn,width:Ar}))),Re={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},he=ve(92310),Be=ve.n(he),De=ve(89392),ue=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,oe=(bt,Wn,Ar)=>Wn in bt?ue(bt,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Ar}):bt[Wn]=Ar,y=(bt,Wn)=>{for(var Ar in Wn||(Wn={}))Ee.call(Wn,Ar)&&oe(bt,Ar,Wn[Ar]);if(Ne)for(var Ar of Ne(Wn))be.call(Wn,Ar)&&oe(bt,Ar,Wn[Ar]);return bt},E=({dataSource:bt=[],value:Wn,onChange:Ar,onTitleChange:Wr,className:Ta,title:ro,titleWidth:jr=41,style:qa={},fontColor:ma="#6A7283",showCount:Oo,classNameActive:Ha,styleItem:ra={}})=>{const[$o,ao]=(0,pe.useState)(0),[ui,mo]=(0,pe.useState)(!1),vn=(0,pe.useRef)(null),An=(0,pe.useRef)(null);return(0,pe.useEffect)(()=>{var sn;bt.length!==0&&(((sn=vn==null?void 0:vn.current)==null?void 0:sn.clientHeight)>97?ao(1):ao(0)),bt.length===0&&ao(0),mo(!1)},[bt]),pe.createElement("div",{className:Be()(Re.row,Ta),style:qa},pe.createElement("div",{onClick:(0,De.throttle)(()=>Wr==null?void 0:Wr(),2e3),style:{width:jr,marginTop:ui?12:4},className:`${Re.title} ${Wr?"current":""}`},ro),pe.createElement("div",{className:ui?`${Re.tagsWrap} ${Re.tagsBorderWrap}`:Re.tagsWrap},pe.createElement("div",{className:Re.bar,ref:An,style:$o>0?{height:$o===1?97:"auto",overflow:$o===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},pe.createElement("div",{className:Re.tag,ref:vn},bt==null?void 0:bt.map(sn=>pe.createElement("span",{onClick:()=>Ar(sn.id),key:sn.id,style:y(y({color:ma},ra),(sn==null?void 0:sn.style)||{}),className:Wn===sn.id?Be()(Ha||Re.active,sn.classNameActive):""},pe.createElement("span",{title:sn.name,className:Re.name},sn.name),!!Oo&&pe.createElement("span",{className:Re.num},sn.count))))),!!$o&&pe.createElement(pe.Fragment,null,$o===1?pe.createElement("div",{onClick:()=>{var sn;ao(2),((sn=vn==null?void 0:vn.current)==null?void 0:sn.clientHeight)>245?mo(!0):mo(!1)},className:Re.action},"\u5C55\u5F00",pe.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):pe.createElement("div",{onClick:()=>{An.current.scrollTop=0,ao(1),mo(!1)},className:Re.action},"\u6536\u8D77",pe.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={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"},z=({dataSource:bt=[],value:Wn,onChange:Ar,onTitleChange:Wr,className:Ta,title:ro,titleWidth:jr=41,style:qa={},fontColor:ma="#6A7283",showCount:Oo,expand:Ha=!0})=>{const[ra,$o]=(0,pe.useState)(0),[ao,ui]=(0,pe.useState)(!1),mo=(0,pe.useRef)(null),vn=(0,pe.useRef)(null),[An,sn]=(0,pe.useState)(Ha);return pe.createElement("div",{className:Be()(b.row,Ta),style:qa},pe.createElement("div",{className:"flex item-center justify-between"},pe.createElement("div",{onClick:(0,De.throttle)(()=>Wr==null?void 0:Wr(),2e3),style:{width:jr,marginTop:ao?12:4},className:`${b.title} ${Wr?"current":""}`},ro),pe.createElement("i",{className:`iconfont ${An?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:An?8:10},onClick:()=>sn(!An)})),An&&pe.createElement("div",{className:ao?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},pe.createElement("div",{className:b.fenge}),pe.createElement("div",{className:b.bar,ref:vn},pe.createElement("div",{className:b.tag,ref:mo},bt==null?void 0:bt.map(En=>pe.createElement("span",{onClick:()=>Ar(En.id),key:En.id,style:{color:ma},className:Wn===En.id?b.active:""},pe.createElement("span",{title:En.name,className:b.name},En.name),!!Oo&&pe.createElement("span",{className:b.num},En.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"},Ue=({dataSource:bt=[],value:Wn,onChange:Ar,className:Wr,style:Ta={}})=>pe.createElement("div",{style:Ta,className:Be()(ne.tabs,Wr)},bt.map(ro=>pe.createElement("span",{onClick:()=>Ar(ro.id),className:Wn===ro.id?ne.active:"",key:ro.id},ro.name))),Pe={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"},Te=ve(92832),Ye=({dataSource:bt=[],value:Wn="",onChange:Ar,onInputChange:Wr=()=>{},className:Ta,style:ro={},placeholder:jr,allowClear:qa=!1})=>{var ma;const[Oo,Ha]=(0,pe.useState)(""),[ra,$o]=(0,pe.useState)("");(0,pe.useEffect)(()=>{var mo;let vn=Wn;(mo=JSON.stringify(Wn))!=null&&mo.includes("{")&&(Ha(Wn.id),vn=Wn.value||"");try{$o(decodeURIComponent(vn||""))}catch(An){$o(decodeURIComponent(vn||""))}},[Wn]);const ao=()=>{Ar(encodeURIComponent(ra),Oo||null)},ui=mo=>{mo!==Oo&&(Ha(mo),Ar(encodeURIComponent(ra),mo))};return pe.createElement("div",{className:Be()(Pe.input,Ta),style:ro},!!bt.length&&pe.createElement("div",{className:Pe.dropdown},pe.createElement("div",{className:Pe.text},(ma=bt.find(mo=>mo.id===Oo))==null?void 0:ma.name,pe.createElement("i",{className:"iconfont icon-zhankai4"}),pe.createElement("b",{className:Pe.b1}),pe.createElement("b",{className:Pe.b2})),pe.createElement("div",{className:Pe.menu},bt.map((mo,vn)=>pe.createElement("div",{key:vn,onClick:()=>ui(mo.id)},mo.name)))),pe.createElement(Te.default,{onPressEnter:ao,value:ra,onChange:mo=>{$o(mo.target.value),Wr(encodeURIComponent(mo.target.value),Oo||null)},bordered:!1,placeholder:jr}),pe.createElement("i",{onClick:ao,className:"iconfont icon-sousuo9 font14 pl10 current"}))},nt={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"},Ft=({value:bt,onChange:Wn,className:Ar,total:Wr,pageSize:Ta,style:ro={}})=>{const jr=bt<2,qa=bt>=Math.ceil(Wr/Ta);return Wr<=Ta?pe.createElement(pe.Fragment,null):pe.createElement("div",{className:Be()(nt.quickPager,Ar),style:ro},pe.createElement("div",{onClick:()=>{jr||Wn(bt-1,"prev")},className:jr?nt.disabled:""},"\u4E0A\u4E00\u9875"),pe.createElement("div",{onClick:()=>{qa||Wn(bt+1,"next")},className:qa?nt.disabled:""},"\u4E0B\u4E00\u9875"))},Qe={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"},Tt=ve(71418),st=ve(6848),it=ve(13570),Nt=ve(90524),gt=ve(49661),xt=ve(96908),ht=ve(57177),tt=ve(81378),$t=ve(57884),Et=({className:bt,dataSource:Wn=[],col:Ar=4,right:Wr,bottom:Ta=23,precision:ro=0,wrapWidth:jr=1200,trackEventItems:qa,loading:ma})=>{const Oo=Math.floor((jr-(Ar-1)*Wr)/Ar);return pe.createElement(Tt.Z,{spinning:ma},pe.createElement("div",{className:Be()(Qe.list,bt)},!!Wn.length&&Wn.map((Ha,ra)=>{const{name:$o,id:ao,identifier:ui,power:mo,cover_image_id:vn,pic:An}=Ha;return pe.createElement("div",{className:Qe.wrap,key:ao,style:{width:Oo,marginRight:(1+ra)%Ar===0?0:Wr+ro,marginBottom:Ta}},pe.createElement("a",{target:"_blank",href:`/shixuns/${ui}/challenges`,className:Qe.li,onClick:sn=>{sn.preventDefault(),qa&&(0,gt.L9)([qa]),mo&&(0,gt.xg)(`/shixuns/${ui}/challenges`)}},pe.createElement("div",{className:Qe.img},pe.createElement("img",{className:Qe.cover,src:`${An}`}),Ha.is_jupyter&&pe.createElement("img",{className:Qe.sign,src:xt}),Ha.is_jupyter_lab&&pe.createElement("img",{className:Qe.sign,src:ht}),Ha.is_unity_3d&&pe.createElement("img",{className:Qe.sign,src:tt})),pe.createElement("div",{className:Qe.name},pe.createElement(st.Z,{title:$o||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},pe.createElement("span",{className:Qe.e},$o||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),pe.createElement("div",{className:Qe.tags},pe.createElement(st.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),pe.createElement("span",null,Ha.challenges_count))),!!Ha.myshixuns_count&&pe.createElement(st.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),pe.createElement("span",null,Ha.myshixuns_count))),pe.createElement(st.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},pe.createElement("span",null,pe.createElement("span",null,Ha.level))),pe.createElement("div",{className:Qe.rate},pe.createElement(it.Z,{allowHalf:!0,disabled:!0,defaultValue:Ha.score_info}),pe.createElement("span",null,"\xA0",Ha.score_info?`${Ha.score_info}\u5206`:"5\u5206")))),!mo&&pe.createElement("div",{className:Qe.lockWrap},pe.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Wn.length&&pe.createElement($t.Z,null)))},Wt={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"},Hn=({className:bt,dataSource:Wn=[],col:Ar=4,right:Wr,bottom:Ta=23,precision:ro=0,wrapWidth:jr=1200,wrapClassName:qa,trackEventItems:ma,loading:Oo})=>{const Ha=Math.floor((jr-(Ar-1)*Wr)/Ar);return pe.createElement(Tt.Z,{spinning:Oo},pe.createElement("div",{className:Be()(Wt.list,bt)},!!Wn.length&&Wn.map((ra,$o)=>{const{name:ao,id:ui,identifier:mo,power:vn,cover_image_id:An,pic:sn}=ra;return pe.createElement("div",{className:Be()(Wt.wrap,qa),key:ui,style:{width:Ha,marginRight:(1+$o)%Ar===0?0:Wr+ro,marginBottom:Ta}},pe.createElement("a",{target:"_blank",href:`/shixuns/${mo}/challenges`,className:Wt.li,onClick:En=>{En.preventDefault(),ma&&(0,gt.L9)([ma]),vn&&(0,gt.xg)(`/shixuns/${mo}/challenges`)}},pe.createElement("img",{src:ve(47621),className:Wt.titleBg}),pe.createElement("div",{className:Wt.name},pe.createElement(st.Z,{title:ao||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},pe.createElement("span",{className:Wt.e},ao||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),pe.createElement("div",{style:{padding:"14px",paddingBottom:0}},pe.createElement("div",{className:Wt.img},pe.createElement("img",{className:Wt.cover,src:An?`${Nt.Z.API_SERVER}/api/attachments/${An}`:`${Nt.Z.IMG_SERVER+sn}`}),ra.is_jupyter&&pe.createElement("div",{className:Wt.bq},"Jupyter"),ra.is_jupyter_lab&&pe.createElement("div",{className:Wt.bq},"JupyterLab"),ra.is_unity_3d&&pe.createElement("div",{className:Wt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),pe.createElement("div",{className:"mt20 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Wt.text},"\u5B66\u4E60\u4EBA\u6570"),pe.createElement("span",{className:Wt.value},ra.myshixuns_count)),pe.createElement("div",null,pe.createElement("span",{className:Wt.text},"\u56F0\u96BE\u7B49\u7EA7"),pe.createElement("span",{className:Wt.value},ra.level))),pe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Wt.text},"\u5173\u5361\u6570"),pe.createElement("span",{className:Wt.value},ra.challenges_count)),pe.createElement("div",{className:Wt.rate},pe.createElement(it.Z,{allowHalf:!0,disabled:!0,defaultValue:ra.score_info}),pe.createElement("span",{className:Wt.value,style:{color:"#FF9C00"}},"\xA0",ra.score_info?`${ra.score_info}\u5206`:"5\u5206"))))),!vn&&pe.createElement("div",{className:Wt.lockWrap},pe.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Wn.length&&pe.createElement($t.Z,null)))},hn=ve(929),Gn={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"},Dt=ve(79005),_n=ve(20345),er=ve(77882),je=ve(31081),qt=ve(75309),He=ve(71979),me=ve(47558),se=ve(42922),ye=ve(66832),qe=ve(96593),pt=ve(19664),Me=ve(91833);const Je=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Dt,swimg:_n},{name:"101\u8BA1\u5212",ptimg:er,swimg:je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:qt,swimg:He},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:me,swimg:se},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ye,swimg:qe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:Me}];var wt=({className:bt,dataSource:Wn=[],col:Ar=4,right:Wr,bottom:Ta=23,precision:ro=0,wrapWidth:jr=1200,trackEventItems:qa,loading:ma,wrapClassName:Oo,imgClassName:Ha,isArrow:ra=!1})=>{const $o=Math.floor((jr-(Ar-1)*Wr)/Ar),[ao,ui]=(0,pe.useState)(),[mo,vn]=(0,pe.useState)(),An=En=>ui(En),sn=()=>ui(-1);return pe.createElement(Tt.Z,{spinning:ma},pe.createElement("div",{className:Be()(Gn.list,bt)},!!(Wn!=null&&Wn.length)&&(Wn==null?void 0:Wn.map((En,Rn)=>{var lr;const{name:Fr,id:mr,identifier:Er,featured:Sr,school_name:Ea,image_url:ka,excellent:wa,is_plan:co}=En;return pe.createElement("div",{key:mr,className:Be()(Gn.wrap,Oo),style:{width:$o,marginRight:(1+Rn)%Ar===0?0:Wr+ro,marginBottom:Ta}},pe.createElement("a",{target:"_blank",href:`/paths/${Er}`,className:Gn.li,onClick:wo=>{wo.preventDefault(),qa&&(0,gt.L9)([qa]),(0,gt.xg)(`/paths/${Er}`)}},pe.createElement("img",{src:ve(39057),className:Gn.titleBg}),pe.createElement("div",{className:Gn.name},pe.createElement(st.Z,{title:Fr},pe.createElement("span",{className:Gn.e,style:{color:ra&&ao===Rn?"#145DFF":"#000000"},onMouseEnter:()=>{An(Rn)},onMouseLeave:sn},Fr))),pe.createElement("div",{style:{padding:"14px",paddingBottom:0}},pe.createElement("div",{className:Be()(Gn.img,Ha)},pe.createElement("img",{className:Gn.cover,src:`${Nt.Z.IMG_SERVER+ka}`}),(lr=En==null?void 0:En.subject_tags)==null?void 0:lr.map((wo,No)=>{var ga,la;if(No===0){const Qa=(ga=Je.find(Wa=>Wa.name==wo))==null?void 0:ga.swimg;return pe.createElement("img",{className:Gn.sign,src:Qa,style:{left:"-4px"}})}const oa=(la=Je.find(Qa=>Qa.name==wo))==null?void 0:la.ptimg;return pe.createElement("img",{className:Gn.sign,src:oa,style:{left:`${48+52*(No-1)+2*No}px`}})}),pe.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(En==null?void 0:En.excellent)&&pe.createElement("div",{className:Gn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),pe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Gn.text},"\u7AE0\u8282\u6570"),pe.createElement("span",{className:Gn.value},En.stages_count)),pe.createElement("div",null,pe.createElement("span",{className:Gn.text},"\u5B66\u4E60\u4EBA\u6570"),pe.createElement("span",{className:Gn.value},En.members_count))))))})),!Wn.length&&pe.createElement($t.Z,null)))},lt={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"},Zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Sn=ve(59301),dn=({className:bt,dataSource:Wn=[],col:Ar=4,right:Wr,bottom:Ta=23,precision:ro=0,wrapWidth:jr=1200,trackEventItems:qa,loading:ma})=>{const Oo=Math.floor((jr-(Ar-1)*Wr)/Ar);return Sn.createElement(Tt.Z,{spinning:ma},Sn.createElement("div",{className:Be()(lt.list,bt)},!!Wn.length&&Wn.map((Ha,ra)=>{const{subject_identifier:$o,id:ao,identifier:ui,power:mo}=Ha,vn=Ha.is_public!=0&&Ha.is_public;return Sn.createElement("div",{className:lt.wrap,key:ao,style:{width:Oo,marginRight:(1+ra)%Ar===0?0:Wr+ro,marginBottom:Ta}},Sn.createElement("a",{className:lt.li,onClick:An=>{An.preventDefault(),qa&&(0,gt.L9)([qa]),(0,gt.xg)(Ha.first_category_url)}},Sn.createElement("div",{className:lt.top},Sn.createElement(st.Z,{title:Ha.name},Sn.createElement("div",{className:lt.name},Ha.name)),Sn.createElement("img",{className:lt.img,src:Nt.Z.IMG_SERVER+"/images/"+Ha.avatar_url}),Sn.createElement("div",{className:lt.text,title:Ha.creator},Ha.creator),$o&&Sn.createElement("div",{className:lt.btns},Sn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Sn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),vn&&Sn.createElement("div",{className:lt.sign},"\u516C\u5F00")),Sn.createElement("div",{className:lt.bottom},Ha.visits>0&&Sn.createElement(st.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Sn.createElement("span",null,Sn.createElement("i",{className:"iconfont icon-liulanyan"}),Sn.createElement("span",null,Ha.visits))),Ha.course_members_count>0&&Sn.createElement(st.Z,{title:"\u6210\u5458",placement:"bottom"},Sn.createElement("span",null,Sn.createElement("i",{className:"iconfont icon-chengyuan"}),Ha.course_members_count)),Ha.tasks_count>0&&Sn.createElement(st.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Sn.createElement("span",null,Sn.createElement("i",{className:"iconfont icon-zuoye"}),Ha.tasks_count)),Ha.is_end?Sn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Sn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ha.is_accessible&&Sn.createElement("div",{className:lt.lockWrap},Sn.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Sn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Wn.length&&Sn.createElement($t.Z,null)))},Ot={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"},Fn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",rr=({className:bt,dataSource:Wn=[],col:Ar=4,right:Wr,bottom:Ta=23,precision:ro=0,wrapWidth:jr=1200,wrapClassName:qa,trackEventItems:ma,loading:Oo})=>{const Ha=Math.floor((jr-(Ar-1)*Wr)/Ar);return pe.createElement(Tt.Z,{spinning:Oo},pe.createElement("div",{className:Be()(Ot.list,bt)},!!Wn.length&&Wn.map((ra,$o)=>{const{subject_identifier:ao,id:ui,identifier:mo,power:vn}=ra,An=ra.is_public!=0&&ra.is_public;return pe.createElement("div",{className:Be()(`${Ot.wrap} ${ra.is_accessible?"":Ot.warpStyle}`,qa),key:ui,style:{width:Ha,marginRight:(1+$o)%Ar===0?0:Wr+ro,marginBottom:Ta}},pe.createElement("a",{className:Ot.li,onClick:sn=>{sn.preventDefault(),ma&&(0,gt.L9)([ma]),(0,gt.xg)(ra.first_category_url)}},pe.createElement("div",{className:Ot.creator},pe.createElement("img",{className:Ot.img,src:Nt.Z.IMG_SERVER+"/images/"+ra.avatar_url}),pe.createElement("div",{className:Ot.text,title:ra.creator},ra.creator)),pe.createElement("div",{className:Ot.top},pe.createElement(st.Z,{title:ra.name},pe.createElement("div",{className:Ot.name},ra.name)),An&&pe.createElement("div",{className:Ot.sign},"\u516C\u5F00")),pe.createElement("div",{className:Ot.middle},pe.createElement("div",{className:Ot.row,style:{marginBottom:6}},pe.createElement("div",null,pe.createElement("span",{className:Ot.text},"\u8BBF\u95EE\u91CF"),pe.createElement("span",{className:Ot.value},(ra==null?void 0:ra.visits)||0)),pe.createElement("div",null,pe.createElement("span",{className:Ot.text},"\u6210\u5458"),pe.createElement("span",{className:Ot.value},(ra==null?void 0:ra.course_members_count)||0))),pe.createElement("div",{className:Ot.row},pe.createElement("div",null,pe.createElement("span",{className:Ot.text,style:{width:42}},"\u4F5C",pe.createElement("span",{style:{marginLeft:14}},"\u4E1A")),pe.createElement("span",{className:Ot.value},(ra==null?void 0:ra.tasks_count)||0)),pe.createElement("div",null,pe.createElement("span",{className:Ot.text},"\u72B6\u6001"),ra.is_end?pe.createElement("span",{className:Ot.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):pe.createElement("span",{className:Ot.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ao&&pe.createElement("div",{className:Ot.btns},pe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),pe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!ra.is_accessible&&pe.createElement("div",{className:Ot.lockWrap},pe.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Wn.length&&pe.createElement($t.Z,null)))},gr={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"},sr=ve(76560),Qr=({dataSource:bt=[],value:Wn,onChange:Ar,className:Wr,style:Ta={},tabBarExtraContent:ro})=>pe.createElement("div",{className:Be()(gr.tabs,Wr),style:Ta},pe.createElement("div",{className:gr.tabsWrap},bt.map((jr,qa)=>pe.createElement("aside",{className:gr.tab,onClick:()=>{Ar(jr.id),jr.link&&sr.history.push(jr.link)},key:qa},pe.createElement("div",{className:Wn===jr.id?gr.active:""},jr.name),(jr==null?void 0:jr.resetCount)==null&&(jr==null?void 0:jr.total)!==void 0&&pe.createElement("span",null,"\uFF08",jr==null?void 0:jr.total,"\uFF09"),(jr==null?void 0:jr.resetCount)!==void 0&&(jr==null?void 0:jr.total)!==void 0&&pe.createElement(st.Z,{title:(jr==null?void 0:jr.tip)!=null?jr==null?void 0:jr.tip:""},pe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",pe.createElement("span",{style:{color:"#000"}},jr==null?void 0:jr.resetCount),"/",pe.createElement("span",null,jr==null?void 0:jr.total),"\uFF09"))))),pe.createElement("div",{className:gr.tabBar},ro)),aa={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"},Gr=({dataSource:bt=[],value:Wn,onChange:Ar,className:Wr,style:Ta={},tabBarExtraContent:ro})=>pe.createElement("div",{className:Be()(aa.tabs,Wr),style:Ta},pe.createElement("div",{className:aa.tabsWrap},bt.map((jr,qa)=>pe.createElement("aside",{className:aa.tab,onClick:()=>{Ar(jr.id),jr.link&&sr.history.push(jr.link)},key:qa},pe.createElement("div",{className:Wn===jr.id?aa.active:""},jr.name),(jr==null?void 0:jr.resetCount)==null&&(jr==null?void 0:jr.total)!==void 0&&pe.createElement("span",null,"\uFF08",jr==null?void 0:jr.total,"\uFF09"),(jr==null?void 0:jr.resetCount)!==void 0&&(jr==null?void 0:jr.total)!==void 0&&pe.createElement(st.Z,{title:(jr==null?void 0:jr.tip)!=null?jr==null?void 0:jr.tip:""},pe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",pe.createElement("span",{style:{color:"#000"}},jr==null?void 0:jr.resetCount),"/",pe.createElement("span",null,jr==null?void 0:jr.total),"\uFF09"))))),pe.createElement("div",{className:aa.tabBar},ro)),Tr=({className:bt,style:Wn={},children:Ar})=>pe.createElement("div",{className:Be()(bt),style:Wn},Ar),_r={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"},Ba=ve(38854),Xa=ve(20834);const Vr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ho=({sortValue:bt,dropValue:Wn,className:Ar,onSort:Wr,onDrop:Ta,dataSource:ro=Vr})=>{var jr;return pe.createElement("div",{className:Be()(_r.orderWrap,Ar)},pe.createElement(Ba.Z,{dropdownRender:()=>pe.createElement(Xa.default,null,ro.map((qa,ma)=>pe.createElement(Xa.default.Item,{key:ma,onClick:()=>Ta(qa.id)},qa.name)))},pe.createElement("span",{className:_r.orderTextWrap},(jr=ro.find(qa=>Wn===qa.id))==null?void 0:jr.name)),pe.createElement("span",{className:_r.orderIconWrap},pe.createElement("span",{className:_r.orderAsc},pe.createElement("i",{className:bt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${_r.cursorPointer} ${_r.active}`:`iconfont icon-sanjiaoxing-up font12 ${_r.cursorPointer}`,onClick:()=>Wr(bt==="asc"?"desc":"asc")})),pe.createElement("span",{className:_r.orderDesc},pe.createElement("i",{className:bt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${_r.cursorPointer} ${_r.active}`:`iconfont icon-sanjiaoxing-down font12 ${_r.cursorPointer}`,onClick:()=>Wr(bt==="asc"?"desc":"asc")}))))},ta={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"},mn=ve(3113),yi=ve(22688),li=Object.defineProperty,ii=Object.getOwnPropertySymbols,Ei=Object.prototype.hasOwnProperty,xo=Object.prototype.propertyIsEnumerable,Mi=(bt,Wn,Ar)=>Wn in bt?li(bt,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Ar}):bt[Wn]=Ar,di=(bt,Wn)=>{for(var Ar in Wn||(Wn={}))Ei.call(Wn,Ar)&&Mi(bt,Ar,Wn[Ar]);if(ii)for(var Ar of ii(Wn))xo.call(Wn,Ar)&&Mi(bt,Ar,Wn[Ar]);return bt},ti=(bt,Wn)=>{var Ar={};for(var Wr in bt)Ei.call(bt,Wr)&&Wn.indexOf(Wr)<0&&(Ar[Wr]=bt[Wr]);if(bt!=null&&ii)for(var Wr of ii(bt))Wn.indexOf(Wr)<0&&xo.call(bt,Wr)&&(Ar[Wr]=bt[Wr]);return Ar},In=(bt,Wn,Ar)=>new Promise((Wr,Ta)=>{var ro=ma=>{try{qa(Ar.next(ma))}catch(Oo){Ta(Oo)}},jr=ma=>{try{qa(Ar.throw(ma))}catch(Oo){Ta(Oo)}},qa=ma=>ma.done?Wr(ma.value):Promise.resolve(ma.value).then(ro,jr);qa((Ar=Ar.apply(bt,Wn)).next())}),wn=bt=>{var Wn=bt,{className:Ar,style:Wr,children:Ta,loading:ro=!1,openLoading:jr,onClick:qa=()=>{},size:ma="middle",shape:Oo="round",theme:Ha}=Wn,ra=ti(Wn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[$o,ao]=(0,pe.useState)(!1),ui=(0,pe.useMemo)(()=>{switch(Ha){case yi.Fy.THEMEONE:return ta.ThemeOne;case yi.Fy.DEFAULT:default:return ta.btn}},[Ha]);return pe.createElement(mn.ZP,di({onClick:(0,De.throttle)(mo=>In(void 0,null,function*(){jr&&ao(!0);try{yield qa(mo)}catch(vn){console.log("error",vn)}jr&&ao(!1)}),2e3,{leading:!0,trailing:!1}),className:Be()(ui,ta[`${ma}-${Oo}`],Ar),style:Wr,size:ma,shape:Oo,loading:$o||ro},ra),Ta)},kr={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"},Dr=({className:bt,style:Wn,children:Ar=null,onClick:Wr,title:Ta})=>pe.createElement("div",{className:Be()(kr.head,bt),style:Wn},pe.createElement("span",{className:"primary-hover",onClick:Wr},pe.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),pe.createElement("b",{title:Ta},Ta),pe.createElement("div",{className:kr.node},Ar)),fa={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:bt=!0,confirmTitle:Wn,confirmClick:Ar,cancelShow:Wr=!0,cancelTitle:Ta,cancelClick:ro,className:jr,style:qa,confirmLoading:ma=!1})=>pe.createElement("div",{className:Be()(fa.btns,jr),style:qa},bt&&pe.createElement(mn.ZP,{loading:ma,onClick:Ar,type:"primary",className:fa.confirm},Wn),Wr&&pe.createElement(mn.ZP,{onClick:ro,className:fa.cancel},Ta)),no={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"},Cr=({className:bt,style:Wn={},LeftContent:Ar,children:Wr,RightContent:Ta})=>pe.createElement("div",{className:Be()(no.fixedBottom,bt),style:Wn},pe.createElement("div",{className:no.wrap},pe.createElement("div",{className:no.left},Ar),pe.createElement("div",{className:no.center},Wr),pe.createElement("div",{className:no.right},Ta))),Oa={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"},Io=({className:bt,style:Wn={},dataSource:Ar=[]})=>pe.createElement("div",{className:Be()(Oa.crumbs,bt),style:Wn},Ar.map((Wr,Ta)=>Tasr.history.push(Wr.path)},Wr.name):pe.createElement("span",null,Wr.name),pe.createElement("span",null,"\xA0",">","\xA0")):pe.createElement("span",{key:Ta,style:{color:"#5F6368"}},Wr.name))),zo=ve(31797),uo=Object.defineProperty,hi=Object.defineProperties,Oi=Object.getOwnPropertyDescriptors,wi=Object.getOwnPropertySymbols,rA=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,Uo=(bt,Wn,Ar)=>Wn in bt?uo(bt,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Ar}):bt[Wn]=Ar,Ji=(bt,Wn)=>{for(var Ar in Wn||(Wn={}))rA.call(Wn,Ar)&&Uo(bt,Ar,Wn[Ar]);if(wi)for(var Ar of wi(Wn))Fi.call(Wn,Ar)&&Uo(bt,Ar,Wn[Ar]);return bt},GA=(bt,Wn)=>hi(bt,Oi(Wn)),Ti=(bt,Wn)=>{var Ar={};for(var Wr in bt)rA.call(bt,Wr)&&Wn.indexOf(Wr)<0&&(Ar[Wr]=bt[Wr]);if(bt!=null&&wi)for(var Wr of wi(bt))Wn.indexOf(Wr)<0&&Fi.call(bt,Wr)&&(Ar[Wr]=bt[Wr]);return Ar};const{Countdown:br}=zo.default;var cs=bt=>{var Wn=bt,{onChange:Ar}=Wn,Wr=Ti(Wn,["onChange"]);const[Ta,ro]=(0,pe.useState)(null);(0,pe.useEffect)(()=>{typeof Ta=="number"&&Ta>=0&&Ar(Ta)},[Ta]);const jr=qa=>{const ma=Math.floor(qa/1e3);ro(ma)};return pe.createElement(br,GA(Ji({},Wr),{onChange:jr}))},Ps={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},zr=({DataProps:bt,className:Wn,style:Ar={}})=>{var Wr;return pe.createElement("div",{className:Be()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Ps.ClassRoomItem,Wn),style:Ar,onClick:()=>{(0,gt.xg)(bt==null?void 0:bt.first_category_url)}},pe.createElement("div",{className:"flex flex-col item-center"},pe.createElement("img",{src:`${(Wr=Nt.Z)==null?void 0:Wr.IMG_SERVER}/images/${bt==null?void 0:bt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(bt==null?void 0:bt.subject_identifier)&&pe.createElement("div",{className:"mt-40px"},pe.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),pe.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),pe.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},pe.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(bt!=null&&bt.is_public)&&pe.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"}},"\u516C\u5F00"),pe.createElement("span",{className:Be()("text-16px font-medium",Ps.TitleDom)},bt==null?void 0:bt.name)),pe.createElement("div",{className:"c-grey-333 font-medium"},bt==null?void 0:bt.creator),pe.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",bt==null?void 0:bt.course_members_count),pe.createElement("div",{className:"c-grey-333 flex item-center justify-between"},pe.createElement("div",null,"\u4F5C\u4E1A\uFF1A",bt==null?void 0:bt.tasks_count),bt!=null&&bt.is_end?pe.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):pe.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Pa=Object.defineProperty,Ao=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Ka=(bt,Wn,Ar)=>Wn in bt?Pa(bt,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Ar}):bt[Wn]=Ar,ha=(bt,Wn)=>{for(var Ar in Wn||(Wn={}))Ca.call(Wn,Ar)&&Ka(bt,Ar,Wn[Ar]);if(Ao)for(var Ar of Ao(Wn))Go.call(Wn,Ar)&&Ka(bt,Ar,Wn[Ar]);return bt},ki=({DataProps:bt=[],selectValue:Wn,onChange:Ar,className:Wr,style:Ta={},extra:ro,classNameItem:jr,styleItem:qa={},barHidden:ma})=>{const[Oo,Ha]=(0,pe.useState)();return(0,pe.useEffect)(()=>{Ha(Array.isArray(Wn)?Wn:[Wn])},[Wn]),pe.createElement("div",{className:Be()("flex px-20px py-10px gap-40px",Wr),style:ha({borderBottom:"1px solid #D3F0FF"},Ta)},bt==null?void 0:bt.map(ra=>pe.createElement("div",{key:ra==null?void 0:ra.id,className:Be()("flex item-center justify-center current c-grey-333 text-16 relative",jr,ra==null?void 0:ra.className),style:ha(ha({color:Oo!=null&&Oo.includes(ra==null?void 0:ra.id)?"#1890FF":"",minWidth:88},qa),(ra==null?void 0:ra.style)||{}),onClick:$o=>{Ar==null||Ar({domEvent:$o,item:ra}),ra!=null&&ra.link&&sr.history.push(ra==null?void 0:ra.link)}},ra==null?void 0:ra.name,!ma&&(Oo==null?void 0:Oo.includes(ra==null?void 0:ra.id))&&pe.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),pe.createElement("div",{className:"ml-auto"},ro))},Qo=Object.defineProperty,qi=Object.defineProperties,$s=Object.getOwnPropertyDescriptors,ds=Object.getOwnPropertySymbols,xA=Object.prototype.hasOwnProperty,WA=Object.prototype.propertyIsEnumerable,kA=(bt,Wn,Ar)=>Wn in bt?Qo(bt,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Ar}):bt[Wn]=Ar,Es=(bt,Wn)=>{for(var Ar in Wn||(Wn={}))xA.call(Wn,Ar)&&kA(bt,Ar,Wn[Ar]);if(ds)for(var Ar of ds(Wn))WA.call(Wn,Ar)&&kA(bt,Ar,Wn[Ar]);return bt},Fs=(bt,Wn)=>qi(bt,$s(Wn)),Ci=({value:bt,onChange:Wn,onInputChange:Ar,className:Wr,style:Ta={},InputProps:ro})=>{const[jr,qa]=(0,pe.useState)(bt);return pe.createElement("div",{className:Be()("flex item-center rounded-full px-10px py-2px",Wr),style:Es({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Ta)},pe.createElement(Te.default,Fs(Es({bordered:!1},ro),{onChange:ma=>{qa(ma.target.value),Ar==null||Ar(encodeURIComponent(ma.target.value))},onPressEnter:ma=>{Wn==null||Wn({domEvent:ma,item:{value:jr}})}})),pe.createElement("img",{className:"h-22px current",src:ve(25365),height:22,onClick:ma=>{Wn==null||Wn({domEvent:ma,item:{value:jr}})}}))}},17904:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return we}});var pe=ve(59301);function we(ze,At){const Ze=(0,pe.useRef)();(0,pe.useEffect)(()=>{Ze.current=ze}),(0,pe.useEffect)(()=>{function Re(){Ze.current()}if(At!==null){let he=setInterval(Re,At);return()=>clearInterval(he)}},[At])}},29678:function(nn,Kt,ve){"use strict";var pe=ve(43418),we=ve(8591),ze=ve(82093),At=ve(76560),Ze=ve(34055),Re=ve(59301),he=(De,ue,Ne)=>new Promise((Ee,be)=>{var oe=E=>{try{a(Ne.next(E))}catch(b){be(b)}},y=E=>{try{a(Ne.throw(E))}catch(b){be(b)}},a=E=>E.done?Ee(E.value):Promise.resolve(E.value).then(oe,y);a((Ne=Ne.apply(De,ue)).next())});const Be=({shixunHomeworks:De,classroomList:ue,dispatch:Ne})=>{const Ee=(0,At.useParams)();return Re.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:De.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>he(void 0,null,function*(){var be,oe,y,a;if((0,Ze.Rm)()&&!((be=ue.AssistantObject.practice)!=null&&be.can_redo)){we.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,ze.ZP)(`/api/myshixuns/${De.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Ee.coursesId,homework_common_id:De.actionTabs.homework_common_id}});if(E.shixun_identifier){we.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ne({type:"shixunHomeworks/setActionTabs",payload:{}});const b=(y=(oe=E==null?void 0:E.new_works)==null?void 0:oe.find(x=>`${x.homework_common_id}`===Ee.categoryId))==null?void 0:y.id;if((0,Ze.Rm)()&&!((a=ue.AssistantObject.practice)!=null&&a.can_view))return;At.history.replace(`/classrooms/${Ee.coursesId}/shixun_homework/${Ee.categoryId}/${b}/comment`)}}),onCancel:()=>{Ne({type:"shixunHomeworks/setActionTabs",payload:{}})}},Re.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Re.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Kt.Z=(0,At.connect)(({shixunHomeworks:De,classroomList:ue})=>({shixunHomeworks:De,classroomList:ue}))(Be)},69083:function(nn,Kt,ve){"use strict";ve.r(Kt),ve.d(Kt,{default:function(){return mo}});var pe=ve(22688),we=ve(59301),ze=ve(76560),At=ve(61186),Ze=ve.n(At),Re=ve(86129),he=ve.n(Re),Be=ve(82093),De=ve(43418),ue=ve(8591),Ne=ve(61621),Ee=ve(66104),be=ve(3113),oe=ve(6848),y=ve(92832),a=ve(28103),E=ve(95237),b=ve(43604),x=ve(1710),z=ve(57809),ne=ve(58421),fe=ve(95869),Ue=ve(87169),Pe=ve(26227),Te=ve(90524),Ve=ve(34055),Ye=ve(49661),nt=ve(42441),Oe={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_"},Ft={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Qe=({shixunHomeworks:vn,data:An,globalSetting:sn,loading:En,dispatch:Rn})=>{var lr;const{shixunWorkReport:Fr}=vn;let mr=((lr=An==null?void 0:An.efficiency_list)==null?void 0:lr.length)-parseInt(An==null?void 0:An.myself_eff[0]);const Er=()=>({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(Ea){return Ea.name===Fr.username?"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u6548\u7387\uFF1A"+(An==null?void 0:An.myself_eff[1]):Ea.name+":"+Ea.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:An==null?void 0:An.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:Fr.username,xAxis:mr,yAxis:An==null?void 0:An.myself_eff[1],value:An==null?void 0:An.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Sr=()=>({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(Ea){var ka=Ea.value;if(Ea.name===Fr.username)return"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u5F97\u5206\uFF1A"+(An==null?void 0:An.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:Ft,data:An==null?void 0:An.consume_list,symbolSize:function(Ea){return Math.round(Ea[2])},markPoint:{data:[{name:Fr.username,xAxis:An==null?void 0:An.myself_object[0],yAxis:An==null?void 0:An.myself_object[1],value:An==null?void 0:An.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return we.createElement(we.Fragment,null,we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(nt.Z,{style:{width:750,height:580},option:Er()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:Oe.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Fr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Fr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},An==null?void 0:An.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},An==null?void 0:An.myself_eff[0]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",we.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",we.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"))))),we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(nt.Z,{style:{width:750,height:580},option:Sr()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:Oe.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Fr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Fr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},An==null?void 0:An.myself_object[1]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",we.createElement("br",null)))))))};var Tt=(0,ze.connect)(({shixunHomeworks:vn,loading:An,globalSetting:sn})=>({shixunHomeworks:vn,globalSetting:sn,loading:An.effects}))(Qe),st=ve(51124),it=ve(5871),Nt=({defaultValue:vn,onBlur:An,max:sn,className:En="game-score"})=>{const[Rn,lr]=(0,we.useState)(vn);(0,we.useEffect)(()=>{lr(vn)},[vn]);function Fr(Er){lr(Er)}function mr(){Rn!==vn&&An(Rn>sn?sn:Rn)}return we.createElement(it.Z,{max:sn,min:0,className:En,value:Rn,onChange:Fr,onBlur:mr})},gt=ve(89389),xt={md:"md___GIQyK"},ht=ve(59301),tt=Object.defineProperty,$t=Object.defineProperties,gn=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Hn=(vn,An,sn)=>An in vn?tt(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,hn=(vn,An)=>{for(var sn in An||(An={}))Wt.call(An,sn)&&Hn(vn,sn,An[sn]);if(Et)for(var sn of Et(An))Cn.call(An,sn)&&Hn(vn,sn,An[sn]);return vn},Gn=(vn,An)=>$t(vn,gn(An));const Dt=z.default.Option,_n={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var er=(vn=>(vn[vn.SET_PATH=0]="SET_PATH",vn[vn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",vn))(er||{});function je(vn,An){switch(An.type){case 0:return Gn(hn({},vn),{selectedPath:An.payload});case 1:return Gn(hn({},vn),{passedContent:An.payload});default:throw new Error}}var qt=({path:vn,game_id:An,onPathChange:sn,autoHeight:En,diff_code_count:Rn,data:lr,game_codes_cn:Fr})=>{var mr,Er,Sr,Ea;const ka=vn.split("\uFF1B").filter(oa=>!!oa),[wa,co]=(0,we.useReducer)(je,{selectedPath:ka[0],passedContent:{language:"python",content:""}}),{selectedPath:wo,passedContent:No}=wa;function ga(oa){co({type:0,payload:oa})}const la={\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 ht.createElement(ht.Fragment,null,ht.createElement("h2",null," ",ht.createElement("span",null,Fr,ht.createElement(oe.Z,{title:ht.createElement("div",null,ht.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ht.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ht.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"),ht.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ht.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Rn&&ht.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Rn),ht.createElement("span",null,ht.createElement(z.default,{style:{width:200},value:wo,onChange:ga}," ",ka.map(oa=>ht.createElement(Dt,{key:oa,value:oa},oa))," "))," "),(wo==null?void 0:wo.split(".")[1])==="md"&&ht.createElement(gt.Z,{height:300,autoHeight:En,defaultValue:((Er=(mr=lr==null?void 0:lr.filter(oa=>oa.path===wo))==null?void 0:mr[0])==null?void 0:Er.content)||"",className:xt.md}),(wo==null?void 0:wo.split(".")[1])!=="md"&&ht.createElement(st.ZP,{height:300,language:No.language,value:((Ea=(Sr=lr==null?void 0:lr.filter(oa=>oa.path===wo))==null?void 0:Sr[0])==null?void 0:Ea.content)||"",autoHeight:En,theme:"default",isCopy:!0,options:_n}))},He=ve(64948),me=ve(96249),se=ve.n(me),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Je=(vn,An,sn)=>An in vn?ye(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,jt=(vn,An)=>{for(var sn in An||(An={}))pt.call(An,sn)&&Je(vn,sn,An[sn]);if(qe)for(var sn of qe(An))Me.call(An,sn)&&Je(vn,sn,An[sn]);return vn},wt=(vn,An,sn)=>new Promise((En,Rn)=>{var lr=Er=>{try{mr(sn.next(Er))}catch(Sr){Rn(Sr)}},Fr=Er=>{try{mr(sn.throw(Er))}catch(Sr){Rn(Sr)}},mr=Er=>Er.done?En(Er.value):Promise.resolve(Er.value).then(lr,Fr);mr((sn=sn.apply(vn,An)).next())});const lt=({shixunHomeworks:vn,autoHeight:An,classroomList:sn,dispatch:En})=>{var Rn,lr,Fr,mr,Er,Sr,Ea;const{shixunWorkReport:ka}=vn,{stage_list:wa,work_id:co}=ka,[wo,No]=(0,we.useState)(!1),[ga,la]=(0,we.useState)(!0),[oa,Qa]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),Wa=(0,we.useRef)(null),[lo,dA]=(0,we.useState)(!1),aA=(Yr,ya)=>{var $a;const{clientWidth:Ro,clientHeight:Do}=window.document.documentElement,Ga=($a=Wa.current)==null?void 0:$a.getBoundingClientRect();Ga&&Qa({left:-Ga.left+ya.x,right:Ro-(Ga.right-ya.x),top:-Ga.top+ya.y,bottom:Do-(Ga.bottom-ya.y)})},Di=(0,ze.useParams)(),es=(0,Ve.GJ)(),Ki={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log(Di)},[]);const ts=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Yr,ya,$a)=>we.createElement("div",null,Yr,ya.is_work_end_evaluate&&we.createElement(Ye.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:Yr=>Ze()(Yr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Yr,ya)=>we.createElement("span",{className:"c-blue current",onClick:()=>wt(void 0,null,function*(){var $a,Ro;const Do=yield(0,He.Lk)(ya.game_identifier,{path:(Ro=($a=ya.path)==null?void 0:$a.replace(/\;/g,";"))==null?void 0:Ro.split(";")[0],query_index:ya.query_index,homework_common_id:Di.categoryId});(Do==null?void 0:Do.status)===0&&(dA(Do),No(!0))})},ya.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],ns=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Yr,ya)=>{var $a;return we.createElement("span",null,we.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Te.Z.IMG_SERVER+"/images/"+(($a=ya==null?void 0:ya.user)==null?void 0:$a.image_url)}),Yr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Yr=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Yr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Yr=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Yr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Yr=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Yr?Ze()(Yr).format("YYYY-MM-DD HH:mm"):"--")}];function Nn(Yr,ya){return wt(this,null,function*(){const{challenge_id:$a}=wa[Yr],Ro=yield En({type:"shixunHomeworks/changeScore",payload:{categoryId:Di.homeworkId,type:"report",score:ya,challenge_id:$a}});yield En({type:"shixunHomeworks/getShixunWorkReport",payload:jt({},Di)}),Ro.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Ln(Yr,ya){return(0,Be.U2)(`student_works/${co}/rep_passed_content.json`,{path:ya,game_id:Yr})}const gs=ka.shixun_detail;return we.createElement(we.Fragment,null,gs==null?void 0:gs.map(function(Yr,ya){var $a,Ro;return we.createElement("div",{key:ya},we.createElement("aside",{className:"pl30 pr30",key:ya},we.createElement("div",{className:`${Oe.shixunTitle} mt10`},we.createElement("div",null,we.createElement("span",{className:"fa fa-code "}),we.createElement("strong",{className:"c-black"},"\u7B2C",ya+1,"\u5173 ",we.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${Di.coursesId}/${Di.categoryId}/${Yr.game_identifier}`},Yr.subject))),es?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement(Nt,{className:"game-score",max:wa[ya].game_score_full,defaultValue:wa[ya].game_score,onBlur:Do=>{var Ga;if((0,Ve.Rm)()&&!((Ga=sn.AssistantObject.practice)!=null&&Ga.can_appraise)){ue.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}Nn(ya,Do)}})):null),we.createElement("div",{className:"font16 mt10"},Yr.st===0&&(Yr.path?typeof(Yr==null?void 0:Yr.game_codes_cn)=="string"?we.createElement("aside",{className:Oe.shixunWrp},we.createElement(qt,{game_codes_cn:Yr==null?void 0:Yr.game_codes_cn,autoHeight:An,path:Yr.path,game_id:Yr.id,data:Yr.game_codes,diff_code_count:Yr.diff_code_count,onPathChange:Ln})):we.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"),Yr.st===1&&(Yr.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")),we.createElement("aside",{className:"mt10 font16"},($a=Yr.outputs)!=null&&$a.length?we.createElement(x.default,{columns:ts,pagination:{hideOnSinglePage:!0},dataSource:Yr.outputs.map(Do=>jt(jt({},Yr),Do))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((Ro=Yr==null?void 0:Yr.adjust_review_score_list)==null?void 0:Ro.length)>0&&(0,Ve.GJ)()&&we.createElement("div",null,we.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),we.createElement(x.default,{columns:ns,pagination:{hideOnSinglePage:!0},dataSource:Yr.adjust_review_score_list,showHeader:!1})))))}),we.createElement(De.default,{open:wo,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{dA({}),No(!1)},onCancel:()=>{dA({}),No(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ga&&la(!1)},onMouseOut:()=>{la(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Yr=>we.createElement(se(),{disabled:ga,bounds:oa,nodeRef:Wa,onStart:(ya,$a)=>aA(ya,$a)},we.createElement("div",{ref:Wa},Yr))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},((Rn=lo==null?void 0:lo.data)==null?void 0:Rn.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?we.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):we.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),we.createElement("div",{style:{color:((lr=lo==null?void 0:lo.data)==null?void 0:lr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Fr=lo==null?void 0:lo.data)==null?void 0:Fr.output_detail)),we.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ze()((mr=lo==null?void 0:lo.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Er=lo==null?void 0:lo.data)==null?void 0:Er.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Sr=lo==null?void 0:lo.data)==null?void 0:Sr.ts_mem,"mb")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ea=lo==null?void 0:lo.data)==null?void 0:Ea.test_set_passed_rate)*100,"%")))),we.createElement(st.ZP,{height:500,autoHeight:An,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((lo==null?void 0:lo.content)||""))),options:Ki})))};var Zt=(0,ze.connect)(({shixunHomeworks:vn,loading:An,globalSetting:sn,classroomList:En})=>({shixunHomeworks:vn,globalSetting:sn,loading:An.effects,classroomList:En}))(lt),Sn=ve(78241),kt={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},dn=ve(44816),Ot=ve(59301),Fn=Object.defineProperty,an=Object.getOwnPropertySymbols,rr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,sr=(vn,An,sn)=>An in vn?Fn(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,Ur=(vn,An)=>{for(var sn in An||(An={}))rr.call(An,sn)&&sr(vn,sn,An[sn]);if(an)for(var sn of an(An))gr.call(An,sn)&&sr(vn,sn,An[sn]);return vn},Qr=(vn,An,sn)=>new Promise((En,Rn)=>{var lr=Er=>{try{mr(sn.next(Er))}catch(Sr){Rn(Sr)}},Fr=Er=>{try{mr(sn.throw(Er))}catch(Sr){Rn(Sr)}},mr=Er=>Er.done?En(Er.value):Promise.resolve(Er.value).then(lr,Fr);mr((sn=sn.apply(vn,An)).next())});const aa=({shixunHomeworks:vn,dispatch:An,classroomList:sn})=>{const{shixunWorkReport:En}=vn,Rn=(0,ze.useParams)(),[lr,Fr]=(0,we.useState)(!1),[mr]=Sn.default.useForm(),[Er,Sr]=De.default.useModal(),[Ea,ka]=(0,we.useState)(!1),[wa,co]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var ga,la,oa,Qa;vn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(la=(ga=vn.actionTabs.selectArrs)==null?void 0:ga.data)==null?void 0:la.work_comment,hidden_comment:(Qa=(oa=vn.actionTabs.selectArrs)==null?void 0:oa.data)==null?void 0:Qa.work_comment_hidden})},[vn.actionTabs.key]);const wo=()=>Qr(void 0,null,function*(){const ga=mr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${Rn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ga.hidden_comment,comment:ga.comment}})).status===0&&(ue.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),An({type:"shixunHomeworks/setActionTabs",payload:{}}),An({type:"shixunHomeworks/getShixunWorkReport",payload:Ur({},Rn)}))}),No=[{title:"\u5173\u5361",dataIndex:"name",render:(ga,la,oa)=>oa+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ga,la,oa)=>Ot.createElement("div",null,ga,la.complete_status===4&&Ot.createElement(Ye.vA,{status:la.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\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:ga=>ga?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ga,la)=>Ot.createElement("div",null,Ot.createElement("span",{style:{color:parseFloat(la.game_score_full)!==parseFloat(ga)?"#E30000":"#53C41B"}},ga),"/",la.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ga,la)=>(0,Ve.GJ)()?Ot.createElement(Nt,{max:la.game_score_full,defaultValue:parseFloat(ga),onBlur:oa=>Qr(void 0,null,function*(){var Qa,Wa;if((0,Ve.Rm)()&&!((Qa=sn.AssistantObject.practice)!=null&&Qa.can_appraise)){ue.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 lo=yield An({type:"shixunHomeworks/changeScore",payload:{categoryId:Rn.homeworkId,type:"report",score:oa,challenge_id:la.challenge_id}});(Wa=vn==null?void 0:vn.actionTabs)==null||Wa.fn(),yield An({type:"shixunHomeworks/getShixunWorkReport",payload:Ur({},Rn)}),lo.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ga}];return Ot.createElement(Ot.Fragment,null,Sr,Ot.createElement(De.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:vn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Qr(void 0,null,function*(){var ga;if((0,Ve.Rm)()&&!((ga=sn.AssistantObject.practice)!=null&&ga.can_appraise)){ue.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 la=mr.getFieldsValue();JSON.stringify(la)==="{}"||la.hidden_comment===""&&la.comment===""?Fr(!0):wo()}),onCancel:()=>{An({type:"shixunHomeworks/setActionTabs",payload:{}})}},Ot.createElement(E.Z,{justify:"space-between",className:kt.info},Ot.createElement(b.Z,null,Ot.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u59D3\u540D"),Ot.createElement("span",{className:kt.blackContent},En==null?void 0:En.username)),Ot.createElement(b.Z,null,Ot.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u5B66\u53F7"),Ot.createElement("span",{className:kt.blackContent},(En==null?void 0:En.student_id)||"--")),Ot.createElement(b.Z,null,Ot.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u73ED\u7EA7"),Ot.createElement("span",{className:kt.blackContent},(En==null?void 0:En.group_name)||"--")),Ot.createElement(b.Z,null,Ot.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u5173\u5361\u5F97\u5206"),Ot.createElement("span",{className:kt.orangeContent},(En==null?void 0:En.challenge_score)||"--")),Ot.createElement(b.Z,null,Ot.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u6548\u7387\u5206"),Ot.createElement("span",{className:kt.orangeContent},(En==null?void 0:En.eff_score)||"--")),Ot.createElement(b.Z,null,Ot.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u8865\u4EA4\u6263\u5206"),Ot.createElement("span",{className:kt.orangeContent},(En==null?void 0:En.late_penalty)||"--")),Ot.createElement(b.Z,null,Ot.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Ot.createElement("span",{className:kt.orangeContent},(En==null?void 0:En.work_score)||"--"))),Ot.createElement(Sn.default,{form:mr,onChange:()=>{lr&&Fr(!1)}},Ot.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ot.createElement(b.Z,null,Ot.createElement("div",{className:`${kt.inputLabel} ${kt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ot.createElement(b.Z,null,Ot.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:Ea,onCancel:()=>{ka(!1)}},onDataSelect:(ga,la)=>Qr(void 0,[ga,la],function*(oa,{node:Qa}){const Wa=()=>{mr.setFieldsValue({comment:Qa==null?void 0:Qa.value}),ka(!1)};if(mr.getFieldValue("comment")){Er.confirm({icon:null,title:"\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:Wa});return}Wa()})},Ot.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Ot.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ga=>{ka(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ot.createElement(Sn.default.Item,{name:"comment"},Ot.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Ot.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ot.createElement(b.Z,null,Ot.createElement("div",{className:`${kt.inputLabel} ${kt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ot.createElement(b.Z,null,Ot.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:wa,onCancel:()=>{co(!1)}},onDataSelect:(ga,la)=>Qr(void 0,[ga,la],function*(oa,{node:Qa}){const Wa=()=>{mr.setFieldsValue({hidden_comment:Qa==null?void 0:Qa.value}),co(!1)};if(mr.getFieldValue("hidden_comment")){Er.confirm({icon:null,title:"\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:Wa});return}Wa()})},Ot.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Ot.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ga=>{co(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ot.createElement(Sn.default.Item,{name:"hidden_comment"},Ot.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),lr&&Ot.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Ot.createElement("div",{className:kt.tableTitle},"\u5173\u5361\u6210\u7EE9"),Ot.createElement(x.default,{className:kt.scoreTable,dataSource:En.stage_list,rowKey:"challenge_id",pagination:!1,columns:No,scroll:{x:"max-content"}})))};var Aa=(0,ze.connect)(({shixunHomeworks:vn,classroomList:An})=>({shixunHomeworks:vn,classroomList:An}))(aa),Gr=ve(95894),yr=ve(7664),Tr=ve(45278),_r=ve(44164),Ba=ve.n(_r),Xa={wrap:"wrap___rFTBy",line:"line___kZzhh"},Vr=ve(98616),Ho=({detailData:vn})=>{var An;return we.createElement("div",{className:Xa.wrap},we.createElement(Vr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Vr.Uf)(vn),(vn==null?void 0:vn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(Vr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Vr.Uf)(vn)}),!!((An=vn==null?void 0:vn.photos)!=null&&An.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:Xa.line}),we.createElement(Vr._s,{dataSource:vn==null?void 0:vn.photos,right:21,col:4,wrapWidth:1140}))))},ta=ve(30975),mn=ve(59301),yi=Object.defineProperty,li=Object.defineProperties,ii=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,di=(vn,An,sn)=>An in vn?yi(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,ti=(vn,An)=>{for(var sn in An||(An={}))xo.call(An,sn)&&di(vn,sn,An[sn]);if(Ei)for(var sn of Ei(An))Mi.call(An,sn)&&di(vn,sn,An[sn]);return vn},In=(vn,An)=>li(vn,ii(An)),zn=(vn,An)=>{var sn={};for(var En in vn)xo.call(vn,En)&&An.indexOf(En)<0&&(sn[En]=vn[En]);if(vn!=null&&Ei)for(var En of Ei(vn))An.indexOf(En)<0&&Mi.call(vn,En)&&(sn[En]=vn[En]);return sn},wn=(vn,An,sn)=>new Promise((En,Rn)=>{var lr=Er=>{try{mr(sn.next(Er))}catch(Sr){Rn(Sr)}},Fr=Er=>{try{mr(sn.throw(Er))}catch(Sr){Rn(Sr)}},mr=Er=>Er.done?En(Er.value):Promise.resolve(Er.value).then(lr,Fr);mr((sn=sn.apply(vn,An)).next())});const kr=vn=>{var An=vn,{shixunHomeworks:sn,classroomList:En,globalSetting:Rn,loading:lr,user:Fr,dispatch:mr}=An,Er=zn(An,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Sr,Ea,ka;const[wa,co]=(0,we.useState)(ti({},(0,ze.useParams)())),wo=(0,ze.useParams)(),[No,ga]=(0,we.useState)({page:1,page_size:10}),la=(0,ze.useLocation)(),[]=(0,we.useState)([]),[oa,Qa]=(0,we.useState)(),Wa=(0,we.useRef)(),[lo,dA]=(0,we.useState)(!1),[aA,Di]=(0,we.useState)(!0),[es,Ki]=(0,we.useState)(!1),[ts,ns]=(0,we.useState)(!1),{shixunWorkReport:Nn}=sn,[Ln,gs]=(0,we.useState)(),[Yr,ya]=(0,we.useState)([]),[$a,Ro]=(0,we.useState)(),[Do,Ga]=(0,we.useState)("all"),xi=(0,Ve.GJ)(),[fs,jA]=(0,we.useState)(new(he())),[rs,SA]=(0,we.useState)(0),[hs,gA]=(0,we.useState)(!1),[ea,Pl]=(0,we.useState)(!1),[ji,el]=(0,we.useState)(!1),[LA,HA]=(0,we.useState)(""),[_o,gl]=(0,we.useState)(!1),[Gl,fl]=(0,we.useState)(!0),[hl,js]=(0,we.useState)(0),ms=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),RA=(0,we.useRef)(),mi=()=>wn(void 0,null,function*(){(Fr.userInfo.is_teacher||Fr.userInfo.admin)&&(gl(!0),fl(!1))});(0,we.useEffect)(()=>{var Ir;(0,Ve.Rm)()&&En.AssistantObject.practice&&!((Ir=En.AssistantObject.practice)!=null&&Ir.can_view)&&ze.history.replace("/403")},[(Sr=En.AssistantObject.practice)==null?void 0:Sr.can_view]),(0,we.useEffect)(()=>{mi(),console.log("\u6253\u5370\u7684------",Nn),RA.current=Nn==null?void 0:Nn.next_student_work_id,HA(Nn.repeat_minus_score)},[Nn,Fr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Nn.work_score),js(Nn.work_score)},[Nn.work_score,LA]),(0,we.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var Ir;if(Nn){let Da=[];(Ir=Nn==null?void 0:Nn.target_test_sets)==null||Ir.map((cr,ba)=>{var eo;(eo=cr==null?void 0:cr.targets)==null||eo.map((Gi,$i)=>{var ci;Gi.name=cr==null?void 0:cr.name,Gi.total_target_score=cr==null?void 0:cr.total_target_score,Gi.actual_target_score=cr==null?void 0:cr.actual_target_score,Gi.rowSpan=$i===0?(ci=cr==null?void 0:cr.targets)==null?void 0:ci.length:0,Gi.order=ba+1,Da.push(Gi)})}),gs(Da),(0,Ve.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:wa.coursesId}})}},[Nn]),(0,we.useEffect)(()=>{sn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Nn==null?void 0:Nn.students_count)>0&&!aA&&setTimeout(()=>{Hs("all")},800)},[Nn==null?void 0:Nn.homework_common_id,aA]),(0,we.useEffect)(()=>{co(ti({},wo))},[la.pathname]);const IA=()=>{document.body.scrollIntoView()},MA=Ir=>{No.page=Ir,ga(ti({},No)),si(No,Do)},si=(Ir,Da)=>wn(void 0,null,function*(){Ki(!0);const cr=yield(0,Be.ZP)(`/api/student_works/${wa==null?void 0:wa.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:In(ti({},Ir),{challenge_id:Da=="all"?null:Da})});(cr==null?void 0:cr.status)===0&&(ya(cr==null?void 0:cr.list),Ro(cr==null?void 0:cr.count)),Ki(!1)});function zi(){return wn(this,null,function*(){ms.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const tl=()=>{document.querySelectorAll("canvas").forEach(Ir=>{(!Ir.clientWidth||!Ir.clientHeight)&&Ir.remove()})},ml=Ir=>wn(void 0,null,function*(){const Da=yield(0,Tr.t1)({homeworkId:Ir||wa.homeworkId});Qa(Da==null?void 0:Da.data)}),Hs=Ir=>wn(void 0,null,function*(){var Da,cr,ba,eo;let Gi=0,$i;$i=De.default.info({width:460,title:mn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",mn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",mn.createElement("span",{className:"c-blue"},Gi+1),"/",Ir!=="all"?1:Nn==null?void 0:Nn.students_count,mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Oe.modal,onOk:()=>{}});const ci={margin:[0,0],filename:`${Nn!=null&&Nn.student_id&&(Nn==null?void 0:Nn.student_id)!="--"?Nn==null?void 0:Nn.student_id:""}${Nn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},ps=fs.folder(Nn==null?void 0:Nn.shixun_name);function vs(wA){return wn(this,null,function*(){yield ml(wA||RA.current);const Po=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ti({homeworkId:wA||RA.current},ms.current||{})});RA.current=Po==null?void 0:Po.next_student_work_id,IA(),Gi++,setTimeout(()=>wn(this,null,function*(){var os,Eo,fA,Ui;tl();const bi=ps.folder(`${Po==null?void 0:Po.group_name}`).folder(`${Po!=null&&Po.student_id&&(Po==null?void 0:Po.student_id)!="--"?Po.student_id+"+":""}${Po==null?void 0:Po.username}`),Ls=document.querySelector("#export-all").children;let Bs=Ba()();for(let Li=0;Liwn(this,null,function*(){Li0&&((fA=(Eo=Po==null?void 0:Po.shixun_detail)==null?void 0:Eo.filter(Li=>{var CA;return((CA=Li==null?void 0:Li.game_codes)==null?void 0:CA.length)>0}))==null?void 0:fA.length)>0){const Li=bi.folder("\u4EE3\u7801\u6587\u4EF6");(Ui=Po==null?void 0:Po.shixun_detail)==null||Ui.map((CA,hA)=>{var KA,ae;if(((KA=CA==null?void 0:CA.game_codes)==null?void 0:KA.length)>0){const te=Li.folder(`\u7B2C${hA+1}\u5173-${CA.subject}-${CA.id}`);(ae=CA==null?void 0:CA.game_codes)==null||ae.map(re=>{te.file(`${re.filename}.txt`,re==null?void 0:re.content)})}})}$i.update({content:mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",mn.createElement("span",{className:"c-blue"},Gi),"/",Po==null?void 0:Po.students_count,mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Gi==(Po==null?void 0:Po.students_count)?($i.destroy(),as()):vs()}),2200)})}if(Ir!=="all"||(Nn==null?void 0:Nn.students_count)<2){tl(),IA();const wA=Wa.current.children;let Po=Ba()();const Eo=ps.folder(`${Nn==null?void 0:Nn.group_name}`).folder(`${Nn!=null&&Nn.student_id&&(Nn==null?void 0:Nn.student_id)!="--"?(Nn==null?void 0:Nn.student_id)+"+":""}${Nn==null?void 0:Nn.username}`);for(let fA=0;fAwn(void 0,null,function*(){fA0&&((ba=(cr=Nn==null?void 0:Nn.shixun_detail)==null?void 0:cr.filter(fA=>{var Ui;return((Ui=fA==null?void 0:fA.game_codes)==null?void 0:Ui.length)>0}))==null?void 0:ba.length)>0){const fA=Eo.folder("\u4EE3\u7801\u6587\u4EF6");(eo=Nn==null?void 0:Nn.shixun_detail)==null||eo.map((Ui,NA)=>{var bi,Ls;if(((bi=Ui==null?void 0:Ui.game_codes)==null?void 0:bi.length)>0){const Bs=fA.folder(`\u7B2C${NA+1}\u5173-${Ui.subject}-${Ui.id}`);(Ls=Ui==null?void 0:Ui.game_codes)==null||Ls.map(Li=>{Bs.file(`${Li.filename}.txt`,Li==null?void 0:Li.content)})}})}$i.destroy(),as();return}else vs(Nn==null?void 0:Nn.first_student_work_id)}),as=()=>{fs.generateAsync({type:"blob"}).then(function(Ir){console.log(Nn,"shixunWorkReport");const Da=document.createElement("a");Da.href=window.URL.createObjectURL(Ir),Da.download=(Nn==null?void 0:Nn.shixun_name)+".zip",document.body.appendChild(Da);const cr=document.createEvent("MouseEvents");cr.initEvent("click",!1,!1),Da.dispatchEvent(cr),document.body.removeChild(Da),jA(new(he()))}),ns(!1)};(0,we.useEffect)(()=>{Rs()},[wa.homeworkId]);const Rs=()=>wn(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},wa),ms.current||{})}),ml(),(0,Ve.GJ)()&&zi(),Di(!1)}),xs=[{title:"\u5173\u5361",dataIndex:"name",render:(Ir,Da,cr)=>cr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Ir,Da,cr)=>mn.createElement("div",null,Ir,Da.complete_status===4&&mn.createElement(Ye.vA,{status:Da.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Ir,Da,cr)=>Ir||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\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:Ir=>Ir?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Ir,Da)=>mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Da.myself_experience)!==parseFloat(Ir)?"red":"green"}},Da.myself_experience),"/",Ir)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Ir,Da)=>mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Da.game_score_full)!==parseFloat(Ir)?"red":"green"}},Ir),"/",Da.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Ir,Da)=>xi?mn.createElement(Nt,{max:Da.game_score_full,defaultValue:parseFloat(Ir),onBlur:cr=>wn(void 0,null,function*(){var ba;if((0,Ve.Rm)()&&!((ba=En.AssistantObject.practice)!=null&&ba.can_appraise)){ue.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 eo=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:wa.homeworkId,type:"report",score:cr,challenge_id:Da.challenge_id}});si({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},wa),ms.current||{})}),eo.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Ir}];let yA=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Ir,Da,cr)=>({children:Ir,props:{rowSpan:Da.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Ir,Da,cr)=>({children:Ir,props:{rowSpan:Da.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:(Ir,Da,cr)=>mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Da.actual_test_score)!==parseFloat(Ir)?"red":"green"}},Da.actual_test_score),"/",Ir)},{title:"\u6307\u6807\u603B\u5206",render:(Ir,Da,cr)=>({children:mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Da.actual_target_score)!==parseFloat(Ir)?"red":"green"}},Da.actual_target_score),"/",Ir),props:{rowSpan:Da.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const pl=[{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:Ir=>mn.createElement("span",null,Ir?Ze()(Ir).format("YYYY-MM-DD HH:mm"):"--")}],nl=Ir=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Ir==="next"?ze.history.push(`/classrooms/${wa.coursesId}/shixun_homework/${wa.categoryId}/${Nn==null?void 0:Nn.next_student_work_id}/comment`):ze.history.push(`/classrooms/${wa.coursesId}/shixun_homework/${wa.categoryId}/${Nn==null?void 0:Nn.pre_student_work_id}/comment`)},200)},rl=Ir=>{HA(""),Ir.target.value&&(console.log("\u8FDB\u6765",Nn),Ir.target.value=Ir.target.value>Nn.repeat_setting_score?Nn.repeat_setting_score:Ir.target.value,HA(Ir.target.value))},vl=()=>wn(void 0,null,function*(){const Ir=yield(0,Be.ZP)(`/api/student_works/${Nn==null?void 0:Nn.work_id}/update_repeat_score`,{method:"put",body:{score:LA}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},wa),ms.current||{})}),Ir.status===0&&ue.ZP.info("\u64CD\u4F5C\u6210\u529F")});return mn.createElement("section",{style:{minHeight:"100vh",background:`url(${ve(26528)}) center / cover no-repeat`}},mn.createElement("div",{className:"edu-container pb-60px"},mn.createElement(Ne.Z,{loading:lr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Nn.course_id&&mn.createElement("section",{className:"animated fadeIn pt-10px"},Nn.category&&mn.createElement(Ee.Z,{separator:">",items:[{title:mn.createElement(ze.Link,{to:`/classrooms/${Nn.course_id}/shixun_homework`}," ",Nn.course_name)},{title:mn.createElement(ze.Link,{to:`/classrooms/${Nn.course_id}/shixun_homework/${Nn.category.main?"":Nn.category.category_id}`}," ",Nn.category.category_name)},{title:mn.createElement(ze.Link,{to:`/classrooms/${Nn.course_id}/shixun_homework/${Nn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Nn.username}]}),mn.createElement("div",{className:"mt20 flex item-center gap-10px"},mn.createElement("strong",{className:"font20"}," ",Nn==null?void 0:Nn.homework_name," "),mn.createElement(Ye.VV,{temporary:!0,status:Nn.homework_status}),mn.createElement("div",{className:"ml-auto flex item-center gap-10px"},Nn.view_tpi&&mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Ir,Da;(0,Ye.xg)(`/tasks/${Nn==null?void 0:Nn.course_id}/${Nn==null?void 0:Nn.homework_common_id}/${(Da=(Ir=Nn==null?void 0:Nn.shixun_detail)==null?void 0:Ir[0])==null?void 0:Da.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ve.GJ)()&&Nn.homework_end===!1&&!!Nn.myshixun_id&&mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>wn(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Nn.myshixun_identifier},homework_common_id:wo.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Ir;if((0,Ve.Rm)()&&!((Ir=En.AssistantObject.practice)!=null&&Ir.can_download)){ue.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}Hs("")},loading:lo},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ve.GJ)()&&(Nn==null?void 0:Nn.students_count)>1&&mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Ir;if((0,Ve.Rm)()&&!((Ir=En.AssistantObject.practice)!=null&&Ir.can_download)){ue.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}De.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:mn.createElement(oe.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:mn.createElement(oe.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:()=>{Hs("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,ta.jj)({categoryId:wa.categoryId,coursesId:wa.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),mn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},mn.createElement("div",{id:"export-all",ref:Wa},mn.createElement("div",{id:"export-all-1"},mn.createElement("div",{className:"flex item-center"},mn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ve.GJ)()&&mn.createElement(be.ZP,{className:`ml-auto rounded-4px ${Oe.NewButtonStyle}`,type:"primary",icon:mn.createElement(fe.Z,{rev:void 0}),onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Nn.user_id,data:ti({},Nn)},fn:()=>si({page:1,page_size:10},"all")}})}}," ",Nn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),mn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},mn.createElement("div",{className:"flex flex-col justify-center item-center"},mn.createElement("div",{className:"flex flex-col item-center"},mn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Te.Z.IMG_SERVER}/images/${Nn.image_url}`,alt:Nn.username}),mn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},mn.createElement(Ye.vA,{status:Nn.compelete_status}))),mn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Nn.username),mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",mn.createElement("span",{className:"ml10 c-grey-333"},Nn.student_id||"--")),mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",mn.createElement("span",{className:"ml10 c-grey-333"},Nn.group_name||"--"))),mn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},mn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-red"},Nn.complete_count||"--"),"/",mn.createElement("span",{className:"c-red"},Nn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-red"},Nn.current_complete_count||"--"),"/",mn.createElement("span",{className:"c-red"},Nn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Nn&&Nn.efficiency===null?"--":Nn&&Nn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Nn&&Nn.max_efficiency===null?"--":Nn&&Nn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-orange"},Nn.challenge_score),"/",mn.createElement("span",{className:"c-light-black"},Nn.challenge_score_full)),hidden:!(Nn!=null&&Nn.eff_score_full)},{title:"\u6548\u7387\u5206",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-orange"},Nn.eff_score),"/",mn.createElement("span",{className:"c-light-black"},Nn.eff_score_full)),hidden:!(Nn!=null&&Nn.eff_score_full)}].map((Ir,Da)=>!(Ir!=null&&Ir.hidden)&&mn.createElement("div",{key:Da,className:"flex flex-col item-center gap-10px"},mn.createElement("div",{className:"text-16px"},Ir==null?void 0:Ir.children),mn.createElement("div",{style:{color:"#8E8E8E"}},Ir==null?void 0:Ir.title)))),mn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Nn&&Nn.passed_time===null||Nn&&Nn.passed_time==="--"?"--":Ze()(Nn&&Nn.passed_time).format("YYYY-MM-DD HH:mm")},{title:mn.createElement(mn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Ir=>{gA(!0)}})),children:Nn==null?void 0:Nn.human_training_time_rules},{title:mn.createElement(mn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Ir=>{Pl(!0)}})),children:Nn==null?void 0:Nn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Nn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Nn&&Nn.passed_time===null||Nn&&Nn.passed_time==="--"?"--":Ze()(Nn&&Nn.passed_time).format("YYYY-MM-DD HH:mm")},{title:mn.createElement(mn.Fragment,null," \u67E5\u91CD\u6263\u5206",Nn!=null&&Nn.review_rate?mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Nn!=null&&Nn.review_id&&_o&&(localStorage.setItem("studentDetial",window.location.pathname),ze.history.push(`/classrooms/:coursesId/shixun_homework/${wa.categoryId}/review_detail/${Nn==null?void 0:Nn.review_id}`))}}," ",Nn.review_rate.toFixed(1),"% "):mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:mn.createElement(mn.Fragment,null,(Nn==null?void 0:Nn.repeat_minus_score)!==0?"- -":mn.createElement(mn.Fragment,null,_o?mn.createElement(mn.Fragment,null,mn.createElement(y.default,{style:{width:"45px",height:"22px"},value:LA,onChange:Ir=>{rl(Ir)},onBlur:vl,disabled:Gl})," / ",Nn==null?void 0:Nn.repeat_setting_score):mn.createElement(mn.Fragment,null," ",Nn==null?void 0:Nn.repeat_minus_score," / ",Nn==null?void 0:Nn.repeat_setting_score," "))),hidden:!(Nn!=null&&Nn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Nn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-orange"},hl),"/",mn.createElement("span",{className:"c-light-black"},Nn.all_work_score))}].map((Ir,Da)=>!(Ir!=null&&Ir.hidden)&&mn.createElement("div",{key:Da,className:"flex flex-col item-center gap-10px"},mn.createElement("div",{className:"text-16px"},Ir==null?void 0:Ir.children),mn.createElement("div",{style:{color:"#8E8E8E"}},Ir==null?void 0:Ir.title))))),mn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${ve(55541)}) center / cover no-repeat`}},Nn.overall_appraisal)),mn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Nn.work_comment_hidden||Nn.work_comment)&&mn.createElement("div",null,mn.createElement(E.Z,{align:"middle"},mn.createElement(b.Z,{flex:1},mn.createElement("h1",{className:Oe.title},"\u70B9\u8BC4\u5185\u5BB9")),mn.createElement(b.Z,{className:"pr30"},(0,Ve.GJ)()&&mn.createElement(be.ZP,{onClick:()=>wn(void 0,null,function*(){De.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:mn.createElement(Ue.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return wn(this,null,function*(){(yield(0,Tr.gZ)({comment_id:Nn.comment_id,homeworkId:wa.homeworkId})).status===0&&(ue.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:ti(ti({},wa),ms.current||{})}))})}})})},mn.createElement(Pe.Z,null),"\u5220\u9664"))),mn.createElement(a.Z,{style:{margin:0}}),Nn.work_comment&&mn.createElement("aside",{className:"pl30 pr30 mt20"},mn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),mn.createElement("br",null),mn.createElement(yr.Z,{value:Nn.work_comment})),Nn.work_comment_hidden&&mn.createElement("aside",{className:"pl30 pr30 mt20"},mn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),mn.createElement("br",null),mn.createElement(yr.Z,{value:Nn.work_comment_hidden}))),(Nn==null?void 0:Nn.action_analysis)&&mn.createElement(Ho,{detailData:Nn}),mn.createElement("div",{className:Oe.score},mn.createElement("h1",{className:Oe.title},"\u9636\u6BB5\u6210\u7EE9"),(Nn==null?void 0:Nn.adjust_review_score_count)>0&&(0,Ve.GJ)()&&mn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{el(!0),si({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Nn==null?void 0:Nn.adjust_review_score_count,"\u6B21\uFF09")),mn.createElement(x.default,{className:Oe.TableStyle,dataSource:Nn.stage_list,rowKey:Ir=>Ir==null?void 0:Ir.challenge_id,pagination:!1,columns:xs}),((Ea=Nn==null?void 0:Nn.target_test_sets)==null?void 0:Ea.length)>0&&mn.createElement("div",null,mn.createElement("h1",{className:Oe.title},"\u6307\u6807\u6210\u7EE9"),mn.createElement(x.default,{className:Oe.TableStyle,dataSource:Ln,rowKey:Ir=>Ir==null?void 0:Ir.challenge_id,pagination:!1,bordered:!0,columns:yA})),(Nn==null?void 0:Nn.work_description)&&mn.createElement(mn.Fragment,null,mn.createElement("h1",{className:Oe.title},"\u4E2A\u4EBA\u603B\u7ED3"),mn.createElement(yr.Z,{value:Nn==null?void 0:Nn.work_description})),mn.createElement("h1",{className:Oe.title},"\u56FE\u5F62\u7EDF\u8BA1"),mn.createElement(Tt,{data:oa}),mn.createElement("h1",{className:Oe.title},"\u5B9E\u8BAD\u8BE6\u60C5")),mn.createElement(Zt,{autoHeight:ts}))))),(0,Ve.GJ)()&&mn.createElement("aside",{className:`sticky ${Oe.footerBar}`},mn.createElement("aside",{className:"edu-container flex item-center"},mn.createElement(ze.Link,{className:Oe.exitComment,to:`/classrooms/${wa.coursesId}/shixun_homework/${wa.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),mn.createElement("div",{className:"ml-auto flex item-center gap-20px"},mn.createElement(be.ZP,{disabled:!(Nn!=null&&Nn.pre_student_work_id),onClick:()=>nl()},"\u4E0A\u4E00\u4E2A"),mn.createElement(be.ZP,{disabled:!(Nn!=null&&Nn.next_student_work_id),onClick:()=>nl("next")},"\u4E0B\u4E00\u4E2A"),(0,Ve.GJ)()&&mn.createElement(be.ZP,{className:Oe.NewButtonStyle,type:"primary",onClick:()=>wn(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Nn.user_id,data:ti({},Nn)},fn:()=>si({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),mn.createElement(Aa,null),mn.createElement(Gr.Z,null),mn.createElement(De.default,{open:hs,width:860,centered:!0,onCancel:()=>{gA(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},mn.createElement("div",{style:{color:"#333333",fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),mn.createElement("br",null),mn.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"),mn.createElement("br",null),mn.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"),mn.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 "),mn.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")),mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),mn.createElement("br",null),mn.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 "),mn.createElement("br",null),mn.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"),mn.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 "),mn.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"),mn.createElement("br",null),mn.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")),mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),mn.createElement("br",null),mn.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")),mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),mn.createElement("br",null),mn.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"))),mn.createElement(De.default,{open:ea,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Pl(!1)},width:600},mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},mn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",mn.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"),mn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",mn.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"),mn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",mn.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"))),mn.createElement(De.default,{open:ji,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Ga("all"),el(!1)},destroyOnClose:!0,width:900},mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},mn.createElement("div",null,mn.createElement("span",null,"\u5173\u5361\uFF1A"),mn.createElement(z.default,{style:{width:300},value:Do,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Ir=>wn(void 0,null,function*(){Ga(Ir),si({page:1,page_size:10},Ir)})},mn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(ka=Nn==null?void 0:Nn.stage_list)==null?void 0:ka.map((Ir,Da)=>mn.createElement(z.default.Option,{key:Da,value:Ir==null?void 0:Ir.challenge_id},"\u7B2C",(0,Ye.EM)(Da+1),"\u5173")))),mn.createElement("div",{className:"mt20"},mn.createElement(x.default,{dataSource:Yr,rowKey:Ir=>Ir==null?void 0:Ir.id,pagination:!1,columns:pl,loading:es})),mn.createElement("div",{className:Oe.footer},mn.createElement("div",null,mn.createElement("span",{style:{color:"#656F87"}},"\u5171",mn.createElement("span",{className:"c-light-primary"},$a),"\u6761\u6570\u636E")),mn.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(No==null?void 0:No.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:$a,onChange:MA})))))};var sa=(0,ze.connect)(({shixunHomeworks:vn,classroomList:An,loading:sn,globalSetting:En,user:Rn})=>({shixunHomeworks:vn,classroomList:An,globalSetting:En,loading:sn.effects,user:Rn}))(kr),Dr=ve(27812),fa={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"},Ua={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const xa=({shixunHomeworks:vn,data:An,globalSetting:sn,loading:En,dispatch:Rn})=>{var lr;const{shixunWorkReport:Fr}=vn;let mr=((lr=An==null?void 0:An.efficiency_list)==null?void 0:lr.length)-parseInt(An==null?void 0:An.myself_eff[0]);const Er=()=>({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(Ea){return Ea.name===Fr.username?"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u6548\u7387\uFF1A"+(An==null?void 0:An.myself_eff[1]):Ea.name+":"+Ea.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:An==null?void 0:An.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:Fr.username,xAxis:mr,yAxis:An==null?void 0:An.myself_eff[1],value:An==null?void 0:An.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Sr=()=>({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(Ea){var ka=Ea.value;if(Ea.name===Fr.username)return"\u59D3\u540D\uFF1A"+Fr.username+"
\u5B66\u53F7\uFF1A "+Fr.user_id+"
\u5F97\u5206\uFF1A"+(An==null?void 0:An.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:Ua,data:An==null?void 0:An.consume_list,symbolSize:function(Ea){return Math.round(Ea[2])},markPoint:{data:[{name:Fr.username,xAxis:An==null?void 0:An.myself_object[0],yAxis:An==null?void 0:An.myself_object[1],value:An==null?void 0:An.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return we.createElement(we.Fragment,null,we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(nt.Z,{style:{width:750,height:580},option:Er()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:fa.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Fr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Fr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},An==null?void 0:An.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},An==null?void 0:An.myself_eff[0]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",we.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",we.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"))))),we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(nt.Z,{style:{width:750,height:580},option:Sr()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:fa.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Fr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Fr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},An==null?void 0:An.myself_object[1]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",we.createElement("br",null)))))))};var no=(0,ze.connect)(({shixunHomeworks:vn,loading:An,globalSetting:sn})=>({shixunHomeworks:vn,globalSetting:sn,loading:An.effects}))(xa),Ai=({defaultValue:vn,onBlur:An,max:sn,className:En="game-score"})=>{const[Rn,lr]=(0,we.useState)(vn);(0,we.useEffect)(()=>{lr(vn)},[vn]);function Fr(Er){lr(Er)}function mr(){Rn!==vn&&An(Rn>sn?sn:Rn)}return we.createElement(it.Z,{max:sn,min:0,className:En,value:Rn,onChange:Fr,onBlur:mr})},Cr={md:"md___TEmcT"},Oa=ve(59301),ni=Object.defineProperty,Io=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,uo=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,wi=(vn,An,sn)=>An in vn?ni(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,rA=(vn,An)=>{for(var sn in An||(An={}))hi.call(An,sn)&&wi(vn,sn,An[sn]);if(uo)for(var sn of uo(An))Oi.call(An,sn)&&wi(vn,sn,An[sn]);return vn},Fi=(vn,An)=>Io(vn,zo(An));const Uo=z.default.Option,Ji={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var GA=(vn=>(vn[vn.SET_PATH=0]="SET_PATH",vn[vn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",vn))(GA||{});function Ti(vn,An){switch(An.type){case 0:return Fi(rA({},vn),{selectedPath:An.payload});case 1:return Fi(rA({},vn),{passedContent:An.payload});default:throw new Error}}var br=({path:vn,game_id:An,onPathChange:sn,autoHeight:En,diff_code_count:Rn,data:lr,game_codes_cn:Fr})=>{var mr,Er,Sr,Ea;const ka=vn.split("\uFF1B").filter(oa=>!!oa),[wa,co]=(0,we.useReducer)(Ti,{selectedPath:ka[0],passedContent:{language:"python",content:""}}),{selectedPath:wo,passedContent:No}=wa;function ga(oa){co({type:0,payload:oa})}const la={\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 Oa.createElement(Oa.Fragment,null,Oa.createElement("h2",null," ",Oa.createElement("span",null,Fr,Oa.createElement(oe.Z,{title:Oa.createElement("div",null,Oa.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Oa.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Oa.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"),Oa.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Oa.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Rn&&Oa.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Rn),Oa.createElement("span",null,Oa.createElement(z.default,{style:{width:200},value:wo,onChange:ga}," ",ka.map(oa=>Oa.createElement(Uo,{key:oa,value:oa},oa))," "))," "),(wo==null?void 0:wo.split(".")[1])==="md"&&Oa.createElement(gt.Z,{height:300,autoHeight:En,defaultValue:((Er=(mr=lr==null?void 0:lr.filter(oa=>oa.path===wo))==null?void 0:mr[0])==null?void 0:Er.content)||"",className:Cr.md}),(wo==null?void 0:wo.split(".")[1])!=="md"&&Oa.createElement(st.ZP,{height:300,language:No.language,value:((Ea=(Sr=lr==null?void 0:lr.filter(oa=>oa.path===wo))==null?void 0:Sr[0])==null?void 0:Ea.content)||"",autoHeight:En,theme:"default",isCopy:!0,options:Ji}))},zl=Object.defineProperty,cs=Object.getOwnPropertySymbols,Ps=Object.prototype.hasOwnProperty,_A=Object.prototype.propertyIsEnumerable,zr=(vn,An,sn)=>An in vn?zl(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,Pa=(vn,An)=>{for(var sn in An||(An={}))Ps.call(An,sn)&&zr(vn,sn,An[sn]);if(cs)for(var sn of cs(An))_A.call(An,sn)&&zr(vn,sn,An[sn]);return vn},Ao=(vn,An,sn)=>new Promise((En,Rn)=>{var lr=Er=>{try{mr(sn.next(Er))}catch(Sr){Rn(Sr)}},Fr=Er=>{try{mr(sn.throw(Er))}catch(Sr){Rn(Sr)}},mr=Er=>Er.done?En(Er.value):Promise.resolve(Er.value).then(lr,Fr);mr((sn=sn.apply(vn,An)).next())});const Ca=({shixunHomeworks:vn,autoHeight:An,classroomList:sn,dispatch:En})=>{var Rn,lr,Fr,mr,Er,Sr,Ea;const{shixunWorkReport:ka}=vn,{stage_list:wa,work_id:co}=ka,[wo,No]=(0,we.useState)(!1),[ga,la]=(0,we.useState)(!0),[oa,Qa]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),Wa=(0,we.useRef)(null),[lo,dA]=(0,we.useState)(!1),aA=(Yr,ya)=>{var $a;const{clientWidth:Ro,clientHeight:Do}=window.document.documentElement,Ga=($a=Wa.current)==null?void 0:$a.getBoundingClientRect();Ga&&Qa({left:-Ga.left+ya.x,right:Ro-(Ga.right-ya.x),top:-Ga.top+ya.y,bottom:Do-(Ga.bottom-ya.y)})},Di=(0,ze.useParams)(),es=(0,Ve.GJ)(),Ki={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log(Di)},[]);const ts=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Yr,ya,$a)=>we.createElement("div",null,Yr,ya.is_work_end_evaluate&&we.createElement(Ye.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:Yr=>Ze()(Yr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Yr,ya)=>we.createElement("span",{className:"c-blue current",onClick:()=>Ao(void 0,null,function*(){var $a,Ro;const Do=yield(0,He.Lk)(ya.game_identifier,{path:(Ro=($a=ya.path)==null?void 0:$a.replace(/\;/g,";"))==null?void 0:Ro.split(";")[0],query_index:ya.query_index,homework_common_id:Di.categoryId});(Do==null?void 0:Do.status)===0&&(dA(Do),No(!0))})},ya.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],ns=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Yr,ya)=>{var $a;return we.createElement("span",null,we.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Te.Z.IMG_SERVER+"/images/"+(($a=ya==null?void 0:ya.user)==null?void 0:$a.image_url)}),Yr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Yr=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Yr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Yr=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Yr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Yr=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Yr?Ze()(Yr).format("YYYY-MM-DD HH:mm"):"--")}];function Nn(Yr,ya){return Ao(this,null,function*(){const{challenge_id:$a}=wa[Yr],Ro=yield En({type:"shixunHomeworks/changeScore",payload:{categoryId:Di.homeworkId,type:"report",score:ya,challenge_id:$a}});yield En({type:"shixunHomeworks/getShixunWorkReport",payload:Pa({},Di)}),Ro.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Ln(Yr,ya){return(0,Be.U2)(`student_works/${co}/rep_passed_content.json`,{path:ya,game_id:Yr})}const gs=ka.shixun_detail;return we.createElement(we.Fragment,null,gs==null?void 0:gs.map(function(Yr,ya){var $a,Ro;return we.createElement("div",{key:ya},we.createElement("aside",{className:"pl30 pr30",key:ya},we.createElement("div",{className:`${fa.shixunTitle} mt10`},we.createElement("div",null,we.createElement("span",{className:"fa fa-code "}),we.createElement("strong",{className:"c-black"},"\u7B2C",ya+1,"\u5173 ",we.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${Di.coursesId}/${Di.categoryId}/${Yr.game_identifier}`},Yr.subject))),es?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement(Ai,{className:"game-score",max:wa[ya].game_score_full,defaultValue:wa[ya].game_score,onBlur:Do=>{var Ga;if((0,Ve.Rm)()&&!((Ga=sn.AssistantObject.practice)!=null&&Ga.can_appraise)){ue.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}Nn(ya,Do)}})):null),we.createElement("div",{className:"font16 mt10"},Yr.st===0&&(Yr.path?typeof(Yr==null?void 0:Yr.game_codes_cn)=="string"?we.createElement("aside",{className:fa.shixunWrp},we.createElement(br,{game_codes_cn:Yr==null?void 0:Yr.game_codes_cn,autoHeight:An,path:Yr.path,game_id:Yr.id,data:Yr.game_codes,diff_code_count:Yr.diff_code_count,onPathChange:Ln})):we.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"),Yr.st===1&&(Yr.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")),we.createElement("aside",{className:"mt10 font16"},($a=Yr.outputs)!=null&&$a.length?we.createElement(x.default,{columns:ts,pagination:{hideOnSinglePage:!0},dataSource:Yr.outputs.map(Do=>Pa(Pa({},Yr),Do))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((Ro=Yr==null?void 0:Yr.adjust_review_score_list)==null?void 0:Ro.length)>0&&(0,Ve.GJ)()&&we.createElement("div",null,we.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),we.createElement(x.default,{columns:ns,pagination:{hideOnSinglePage:!0},dataSource:Yr.adjust_review_score_list,showHeader:!1})))))}),we.createElement(De.default,{open:wo,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{dA({}),No(!1)},onCancel:()=>{dA({}),No(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ga&&la(!1)},onMouseOut:()=>{la(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Yr=>we.createElement(se(),{disabled:ga,bounds:oa,nodeRef:Wa,onStart:(ya,$a)=>aA(ya,$a)},we.createElement("div",{ref:Wa},Yr))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},((Rn=lo==null?void 0:lo.data)==null?void 0:Rn.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?we.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):we.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),we.createElement("div",{style:{color:((lr=lo==null?void 0:lo.data)==null?void 0:lr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Fr=lo==null?void 0:lo.data)==null?void 0:Fr.output_detail)),we.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ze()((mr=lo==null?void 0:lo.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Er=lo==null?void 0:lo.data)==null?void 0:Er.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Sr=lo==null?void 0:lo.data)==null?void 0:Sr.ts_mem,"mb")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ea=lo==null?void 0:lo.data)==null?void 0:Ea.test_set_passed_rate)*100,"%")))),we.createElement(st.ZP,{height:500,autoHeight:An,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((lo==null?void 0:lo.content)||""))),options:Ki})))};var Go=(0,ze.connect)(({shixunHomeworks:vn,loading:An,globalSetting:sn,classroomList:En})=>({shixunHomeworks:vn,globalSetting:sn,loading:An.effects,classroomList:En}))(Ca),Ka={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},ha=ve(59301),Na=Object.defineProperty,ki=Object.getOwnPropertySymbols,Qo=Object.prototype.hasOwnProperty,qi=Object.prototype.propertyIsEnumerable,$s=(vn,An,sn)=>An in vn?Na(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,ds=(vn,An)=>{for(var sn in An||(An={}))Qo.call(An,sn)&&$s(vn,sn,An[sn]);if(ki)for(var sn of ki(An))qi.call(An,sn)&&$s(vn,sn,An[sn]);return vn},xA=(vn,An,sn)=>new Promise((En,Rn)=>{var lr=Er=>{try{mr(sn.next(Er))}catch(Sr){Rn(Sr)}},Fr=Er=>{try{mr(sn.throw(Er))}catch(Sr){Rn(Sr)}},mr=Er=>Er.done?En(Er.value):Promise.resolve(Er.value).then(lr,Fr);mr((sn=sn.apply(vn,An)).next())});const WA=({shixunHomeworks:vn,dispatch:An,classroomList:sn})=>{const{shixunWorkReport:En}=vn,Rn=(0,ze.useParams)(),[lr,Fr]=(0,we.useState)(!1),[mr]=Sn.default.useForm(),[Er,Sr]=De.default.useModal(),[Ea,ka]=(0,we.useState)(!1),[wa,co]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var ga,la,oa,Qa;vn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(la=(ga=vn.actionTabs.selectArrs)==null?void 0:ga.data)==null?void 0:la.work_comment,hidden_comment:(Qa=(oa=vn.actionTabs.selectArrs)==null?void 0:oa.data)==null?void 0:Qa.work_comment_hidden})},[vn.actionTabs.key]);const wo=()=>xA(void 0,null,function*(){const ga=mr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${Rn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ga.hidden_comment,comment:ga.comment}})).status===0&&(ue.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),An({type:"shixunHomeworks/setActionTabs",payload:{}}),An({type:"shixunHomeworks/getShixunWorkReport",payload:ds({},Rn)}))}),No=[{title:"\u5173\u5361",dataIndex:"name",render:(ga,la,oa)=>oa+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ga,la,oa)=>ha.createElement("div",null,ga,la.complete_status===4&&ha.createElement(Ye.vA,{status:la.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\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:ga=>ga?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ga,la)=>ha.createElement("div",null,ha.createElement("span",{style:{color:parseFloat(la.game_score_full)!==parseFloat(ga)?"#E30000":"#53C41B"}},ga),"/",la.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ga,la)=>(0,Ve.GJ)()?ha.createElement(Ai,{max:la.game_score_full,defaultValue:parseFloat(ga),onBlur:oa=>xA(void 0,null,function*(){var Qa,Wa;if((0,Ve.Rm)()&&!((Qa=sn.AssistantObject.practice)!=null&&Qa.can_appraise)){ue.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 lo=yield An({type:"shixunHomeworks/changeScore",payload:{categoryId:Rn.homeworkId,type:"report",score:oa,challenge_id:la.challenge_id}});(Wa=vn==null?void 0:vn.actionTabs)==null||Wa.fn(),yield An({type:"shixunHomeworks/getShixunWorkReport",payload:ds({},Rn)}),lo.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ga}];return ha.createElement(ha.Fragment,null,Sr,ha.createElement(De.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:vn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>xA(void 0,null,function*(){var ga;if((0,Ve.Rm)()&&!((ga=sn.AssistantObject.practice)!=null&&ga.can_appraise)){ue.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 la=mr.getFieldsValue();JSON.stringify(la)==="{}"||la.hidden_comment===""&&la.comment===""?Fr(!0):wo()}),onCancel:()=>{An({type:"shixunHomeworks/setActionTabs",payload:{}})}},ha.createElement(E.Z,{justify:"space-between",className:Ka.info},ha.createElement(b.Z,null,ha.createElement("span",{className:`${Ka.label} ${Ka.greyText}`},"\u59D3\u540D"),ha.createElement("span",{className:Ka.blackContent},En==null?void 0:En.username)),ha.createElement(b.Z,null,ha.createElement("span",{className:`${Ka.label} ${Ka.greyText}`},"\u5B66\u53F7"),ha.createElement("span",{className:Ka.blackContent},(En==null?void 0:En.student_id)||"--")),ha.createElement(b.Z,null,ha.createElement("span",{className:`${Ka.label} ${Ka.greyText}`},"\u73ED\u7EA7"),ha.createElement("span",{className:Ka.blackContent},(En==null?void 0:En.group_name)||"--")),ha.createElement(b.Z,null,ha.createElement("span",{className:`${Ka.label} ${Ka.greyText}`},"\u5173\u5361\u5F97\u5206"),ha.createElement("span",{className:Ka.orangeContent},(En==null?void 0:En.challenge_score)||"--")),ha.createElement(b.Z,null,ha.createElement("span",{className:`${Ka.label} ${Ka.greyText}`},"\u6548\u7387\u5206"),ha.createElement("span",{className:Ka.orangeContent},(En==null?void 0:En.eff_score)||"--")),ha.createElement(b.Z,null,ha.createElement("span",{className:`${Ka.label} ${Ka.greyText}`},"\u8865\u4EA4\u6263\u5206"),ha.createElement("span",{className:Ka.orangeContent},(En==null?void 0:En.late_penalty)||"--")),ha.createElement(b.Z,null,ha.createElement("span",{className:`${Ka.label} ${Ka.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),ha.createElement("span",{className:Ka.orangeContent},(En==null?void 0:En.work_score)||"--"))),ha.createElement(Sn.default,{form:mr,onChange:()=>{lr&&Fr(!1)}},ha.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},ha.createElement(b.Z,null,ha.createElement("div",{className:`${Ka.inputLabel} ${Ka.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ha.createElement(b.Z,null,ha.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:Ea,onCancel:()=>{ka(!1)}},onDataSelect:(ga,la)=>xA(void 0,[ga,la],function*(oa,{node:Qa}){const Wa=()=>{mr.setFieldsValue({comment:Qa==null?void 0:Qa.value}),ka(!1)};if(mr.getFieldValue("comment")){Er.confirm({icon:null,title:"\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:Wa});return}Wa()})},ha.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:ha.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ga=>{ka(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ha.createElement(Sn.default.Item,{name:"comment"},ha.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),ha.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},ha.createElement(b.Z,null,ha.createElement("div",{className:`${Ka.inputLabel} ${Ka.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ha.createElement(b.Z,null,ha.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:wa,onCancel:()=>{co(!1)}},onDataSelect:(ga,la)=>xA(void 0,[ga,la],function*(oa,{node:Qa}){const Wa=()=>{mr.setFieldsValue({hidden_comment:Qa==null?void 0:Qa.value}),co(!1)};if(mr.getFieldValue("hidden_comment")){Er.confirm({icon:null,title:"\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:Wa});return}Wa()})},ha.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:ha.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ga=>{co(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ha.createElement(Sn.default.Item,{name:"hidden_comment"},ha.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),lr&&ha.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),ha.createElement("div",{className:Ka.tableTitle},"\u5173\u5361\u6210\u7EE9"),ha.createElement(x.default,{className:Ka.scoreTable,dataSource:En.stage_list,rowKey:"challenge_id",pagination:!1,columns:No,scroll:{x:"max-content"}})))};var kA=(0,ze.connect)(({shixunHomeworks:vn,classroomList:An})=>({shixunHomeworks:vn,classroomList:An}))(WA),Es=ve(29678),Fs={wrap:"wrap___LZOi9",line:"line___oju0L"},Ci=({detailData:vn})=>{var An;return we.createElement("div",{className:Fs.wrap},we.createElement(Vr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Vr.Uf)(vn),(vn==null?void 0:vn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(Vr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Vr.Uf)(vn)}),!!((An=vn==null?void 0:vn.photos)!=null&&An.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:Fs.line}),we.createElement(Vr._s,{dataSource:vn==null?void 0:vn.photos,right:21,col:4,wrapWidth:1140}))))},bt=ve(59301),Wn=Object.defineProperty,Ar=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Ta=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,qa=(vn,An,sn)=>An in vn?Wn(vn,An,{enumerable:!0,configurable:!0,writable:!0,value:sn}):vn[An]=sn,ma=(vn,An)=>{for(var sn in An||(An={}))ro.call(An,sn)&&qa(vn,sn,An[sn]);if(Ta)for(var sn of Ta(An))jr.call(An,sn)&&qa(vn,sn,An[sn]);return vn},Oo=(vn,An)=>Ar(vn,Wr(An)),Ha=(vn,An)=>{var sn={};for(var En in vn)ro.call(vn,En)&&An.indexOf(En)<0&&(sn[En]=vn[En]);if(vn!=null&&Ta)for(var En of Ta(vn))An.indexOf(En)<0&&jr.call(vn,En)&&(sn[En]=vn[En]);return sn},ra=(vn,An,sn)=>new Promise((En,Rn)=>{var lr=Er=>{try{mr(sn.next(Er))}catch(Sr){Rn(Sr)}},Fr=Er=>{try{mr(sn.throw(Er))}catch(Sr){Rn(Sr)}},mr=Er=>Er.done?En(Er.value):Promise.resolve(Er.value).then(lr,Fr);mr((sn=sn.apply(vn,An)).next())});const $o=vn=>{var An=vn,{shixunHomeworks:sn,classroomList:En,globalSetting:Rn,loading:lr,user:Fr,dispatch:mr}=An,Er=Ha(An,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Sr,Ea,ka;const[wa,co]=(0,we.useState)(ma({},(0,ze.useParams)())),wo=(0,ze.useParams)(),[No,ga]=(0,we.useState)({page:1,page_size:10}),la=(0,ze.useLocation)(),[]=(0,we.useState)([]),[oa,Qa]=(0,we.useState)(),Wa=(0,we.useRef)(),lo=(0,we.useRef)(),[dA,aA]=(0,we.useState)(!1),[Di,es]=(0,we.useState)(!0),[Ki,ts]=(0,we.useState)(!1),[ns,Nn]=(0,we.useState)(!1),{shixunWorkReport:Ln}=sn,[gs,Yr]=(0,we.useState)(),[ya,$a]=(0,we.useState)([]),[Ro,Do]=(0,we.useState)(),[Ga,xi]=(0,we.useState)("all"),fs=(0,Ve.GJ)(),[jA,rs]=(0,we.useState)(new(he())),[SA,hs]=(0,we.useState)(0),[gA,ea]=(0,we.useState)(!1),[Pl,ji]=(0,we.useState)(!1),[el,LA]=(0,we.useState)(!1),[HA,_o]=(0,we.useState)(""),[gl,Gl]=(0,we.useState)(!1),[fl,hl]=(0,we.useState)(!0),[js,ms]=(0,we.useState)(0),RA=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),mi=(0,we.useRef)(),IA=()=>ra(void 0,null,function*(){(Fr.userInfo.is_teacher||Fr.userInfo.admin)&&(Gl(!0),hl(!1))});(0,we.useEffect)(()=>{var cr;(0,Ve.Rm)()&&En.AssistantObject.practice&&!((cr=En.AssistantObject.practice)!=null&&cr.can_view)&&ze.history.replace("/403")},[(Sr=En.AssistantObject.practice)==null?void 0:Sr.can_view]),(0,we.useEffect)(()=>{IA(),console.log("\u6253\u5370\u7684------",Ln),mi.current=Ln==null?void 0:Ln.next_student_work_id,_o(Ln.repeat_minus_score)},[Ln,Fr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Ln.work_score),ms(Ln.work_score)},[Ln.work_score,HA]),(0,we.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var cr;if(Ln){let ba=[];(cr=Ln==null?void 0:Ln.target_test_sets)==null||cr.map((eo,Gi)=>{var $i;($i=eo==null?void 0:eo.targets)==null||$i.map((ci,ps)=>{var vs;ci.name=eo==null?void 0:eo.name,ci.total_target_score=eo==null?void 0:eo.total_target_score,ci.actual_target_score=eo==null?void 0:eo.actual_target_score,ci.rowSpan=ps===0?(vs=eo==null?void 0:eo.targets)==null?void 0:vs.length:0,ci.order=Gi+1,ba.push(ci)})}),Yr(ba),(0,Ve.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:wa.coursesId}})}},[Ln]),(0,we.useEffect)(()=>{sn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Ln==null?void 0:Ln.students_count)>0&&!Di&&setTimeout(()=>{Rs("all")},800)},[Ln==null?void 0:Ln.homework_common_id,Di]),(0,we.useEffect)(()=>{co(ma({},wo))},[la.pathname]);const MA=()=>{document.body.scrollIntoView()},si=cr=>{No.page=cr,ga(ma({},No)),zi(No,Ga)},zi=(cr,ba)=>ra(void 0,null,function*(){ts(!0);const eo=yield(0,Be.ZP)(`/api/student_works/${wa==null?void 0:wa.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Oo(ma({},cr),{challenge_id:ba=="all"?null:ba})});(eo==null?void 0:eo.status)===0&&($a(eo==null?void 0:eo.list),Do(eo==null?void 0:eo.count)),ts(!1)});function tl(){return ra(this,null,function*(){RA.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const ml=()=>{document.querySelectorAll("canvas").forEach(cr=>{(!cr.clientWidth||!cr.clientHeight)&&cr.remove()})},Hs=()=>{Wa.current.offsetHeight>62e3?Nn(!1):Nn(!0)},as=cr=>ra(void 0,null,function*(){const ba=yield(0,Tr.t1)({homeworkId:cr||wa.homeworkId});Qa(ba==null?void 0:ba.data)}),Rs=cr=>ra(void 0,null,function*(){var ba,eo,Gi,$i;let ci=0,ps;ps=De.default.info({width:460,title:bt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",bt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:bt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",bt.createElement("span",{className:"c-blue"},ci+1),"/",cr!=="all"?1:Ln==null?void 0:Ln.students_count,bt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:fa.modal,onOk:()=>{}});const vs={margin:[0,0],filename:`${Ln!=null&&Ln.student_id&&(Ln==null?void 0:Ln.student_id)!="--"?Ln==null?void 0:Ln.student_id:""}${Ln.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},wA=jA.folder(Ln==null?void 0:Ln.shixun_name);function Po(os){return ra(this,null,function*(){yield as(os||mi.current);const Eo=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ma({homeworkId:os||mi.current},RA.current||{})});mi.current=Eo==null?void 0:Eo.next_student_work_id,MA(),ci++,setTimeout(()=>ra(this,null,function*(){var fA,Ui,NA,bi;ml();const Bs=wA.folder(`${Eo==null?void 0:Eo.group_name}`).folder(`${Eo!=null&&Eo.student_id&&(Eo==null?void 0:Eo.student_id)!="--"?Eo.student_id+"+":""}${Eo==null?void 0:Eo.username}`),Li=document.querySelector("#export-all").children;let CA=Ba()();for(let hA=0;hAra(this,null,function*(){hA0&&((NA=(Ui=Eo==null?void 0:Eo.shixun_detail)==null?void 0:Ui.filter(hA=>{var KA;return((KA=hA==null?void 0:hA.game_codes)==null?void 0:KA.length)>0}))==null?void 0:NA.length)>0){const hA=Bs.folder("\u4EE3\u7801\u6587\u4EF6");(bi=Eo==null?void 0:Eo.shixun_detail)==null||bi.map((KA,ae)=>{var te,re;if(((te=KA==null?void 0:KA.game_codes)==null?void 0:te.length)>0){const ge=hA.folder(`\u7B2C${ae+1}\u5173-${KA.subject}-${KA.id}`);(re=KA==null?void 0:KA.game_codes)==null||re.map(Ce=>{ge.file(`${Ce.filename}.txt`,Ce==null?void 0:Ce.content)})}})}ps.update({content:bt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",bt.createElement("span",{className:"c-blue"},ci),"/",Eo==null?void 0:Eo.students_count,bt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),ci==(Eo==null?void 0:Eo.students_count)?(ps.destroy(),xs()):Po()}),2200)})}if(cr!=="all"||(Ln==null?void 0:Ln.students_count)<2){ml(),MA();const os=lo.current.children;let Eo=Ba()();const Ui=wA.folder(`${Ln==null?void 0:Ln.group_name}`).folder(`${Ln!=null&&Ln.student_id&&(Ln==null?void 0:Ln.student_id)!="--"?(Ln==null?void 0:Ln.student_id)+"+":""}${Ln==null?void 0:Ln.username}`);for(let NA=0;NAra(void 0,null,function*(){NA0&&((Gi=(eo=Ln==null?void 0:Ln.shixun_detail)==null?void 0:eo.filter(NA=>{var bi;return((bi=NA==null?void 0:NA.game_codes)==null?void 0:bi.length)>0}))==null?void 0:Gi.length)>0){const NA=Ui.folder("\u4EE3\u7801\u6587\u4EF6");($i=Ln==null?void 0:Ln.shixun_detail)==null||$i.map((bi,Ls)=>{var Bs,Li;if(((Bs=bi==null?void 0:bi.game_codes)==null?void 0:Bs.length)>0){const CA=NA.folder(`\u7B2C${Ls+1}\u5173-${bi.subject}-${bi.id}`);(Li=bi==null?void 0:bi.game_codes)==null||Li.map(hA=>{CA.file(`${hA.filename}.txt`,hA==null?void 0:hA.content)})}})}ps.destroy(),xs();return}else Po(Ln==null?void 0:Ln.first_student_work_id)}),xs=()=>{jA.generateAsync({type:"blob"}).then(function(cr){console.log(Ln,"shixunWorkReport");const ba=document.createElement("a");ba.href=window.URL.createObjectURL(cr),ba.download=(Ln==null?void 0:Ln.shixun_name)+".zip",document.body.appendChild(ba);const eo=document.createEvent("MouseEvents");eo.initEvent("click",!1,!1),ba.dispatchEvent(eo),document.body.removeChild(ba),rs(new(he()))}),Nn(!1)};(0,we.useEffect)(()=>{yA()},[wa.homeworkId]);const yA=()=>ra(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},wa),RA.current||{})}),as(),(0,Ve.GJ)()&&tl(),es(!1)}),pl=[{title:"\u5173\u5361",dataIndex:"name",render:(cr,ba,eo)=>eo+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(cr,ba,eo)=>bt.createElement("div",null,cr,ba.complete_status===4&&bt.createElement(Ye.vA,{status:ba.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(cr,ba,eo)=>cr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\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:cr=>cr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(cr,ba)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(ba.myself_experience)!==parseFloat(cr)?"red":"green"}},ba.myself_experience),"/",cr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(cr,ba)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(ba.game_score_full)!==parseFloat(cr)?"red":"green"}},cr),"/",ba.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(cr,ba)=>fs?bt.createElement(Ai,{max:ba.game_score_full,defaultValue:parseFloat(cr),onBlur:eo=>ra(void 0,null,function*(){var Gi;if((0,Ve.Rm)()&&!((Gi=En.AssistantObject.practice)!=null&&Gi.can_appraise)){ue.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 $i=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:wa.homeworkId,type:"report",score:eo,challenge_id:ba.challenge_id}});zi({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},wa),RA.current||{})}),$i.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):cr}];let nl=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(cr,ba,eo)=>({children:cr,props:{rowSpan:ba.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(cr,ba,eo)=>({children:cr,props:{rowSpan:ba.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:(cr,ba,eo)=>bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(ba.actual_test_score)!==parseFloat(cr)?"red":"green"}},ba.actual_test_score),"/",cr)},{title:"\u6307\u6807\u603B\u5206",render:(cr,ba,eo)=>({children:bt.createElement("div",null,bt.createElement("span",{style:{color:parseFloat(ba.actual_target_score)!==parseFloat(cr)?"red":"green"}},ba.actual_target_score),"/",cr),props:{rowSpan:ba.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const rl=[{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:cr=>bt.createElement("span",null,cr?Ze()(cr).format("YYYY-MM-DD HH:mm"):"--")}],vl=cr=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{cr==="next"?ze.history.push(`/classrooms/${wa.coursesId}/shixun_homework/${wa.categoryId}/${Ln==null?void 0:Ln.next_student_work_id}/comment`):ze.history.push(`/classrooms/${wa.coursesId}/shixun_homework/${wa.categoryId}/${Ln==null?void 0:Ln.pre_student_work_id}/comment`)},200)},Ir=cr=>{_o(""),cr.target.value&&(console.log("\u8FDB\u6765",Ln),cr.target.value=cr.target.value>Ln.repeat_setting_score?Ln.repeat_setting_score:cr.target.value,_o(cr.target.value))},Da=()=>ra(void 0,null,function*(){const cr=yield(0,Be.ZP)(`/api/student_works/${Ln==null?void 0:Ln.work_id}/update_repeat_score`,{method:"put",body:{score:HA}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},wa),RA.current||{})}),cr.status===0&&ue.ZP.info("\u64CD\u4F5C\u6210\u529F")});return bt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},bt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},bt.createElement(Ne.Z,{loading:lr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},bt.createElement("div",{className:"edu-container"},Ln.course_id&&bt.createElement("section",{className:"animated fadeIn"},bt.createElement("aside",{className:""},Ln.category&&bt.createElement(Ee.Z,{separator:">"},bt.createElement(Ee.Z.Item,null,bt.createElement(ze.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework`},Ln.course_name)),bt.createElement(Ee.Z.Item,null,bt.createElement(ze.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework/${Ln.category.main?"":Ln.category.category_id}`},Ln.category.category_name)),bt.createElement(Ee.Z.Item,null,bt.createElement(ze.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework/${Ln.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")),bt.createElement(Ee.Z.Item,null,Ln.username))),bt.createElement("aside",{className:[fa.title1,"mt20"].join(" ")},bt.createElement(E.Z,{align:"middle"},bt.createElement(b.Z,{flex:1},bt.createElement(ze.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework/${Ln.homework_common_id}/detail`},bt.createElement(Dr.Z,{className:"font16 c-black"})),bt.createElement("strong",{className:"font20 ml5"},Ln==null?void 0:Ln.homework_name),bt.createElement(Ye.VV,{temporary:!0,status:Ln.homework_status})),bt.createElement(b.Z,{className:fa.title1_right},Ln.view_tpi&&bt.createElement(be.ZP,{onClick:()=>{var cr,ba;(0,Ye.xg)(`/tasks/${Ln==null?void 0:Ln.course_id}/${Ln==null?void 0:Ln.homework_common_id}/${(ba=(cr=Ln==null?void 0:Ln.shixun_detail)==null?void 0:cr[0])==null?void 0:ba.game_identifier}`)}},bt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ve.GJ)()&&Ln.homework_end===!1&&!!Ln.myshixun_id&&bt.createElement(be.ZP,{className:"ml10",onClick:()=>ra(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Ln.myshixun_identifier},homework_common_id:wo.categoryId}})})},bt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),bt.createElement(be.ZP,{className:"ml10",onClick:()=>{var cr;if((0,Ve.Rm)()&&!((cr=En.AssistantObject.practice)!=null&&cr.can_download)){ue.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}Rs("")},loading:dA},bt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ve.GJ)()&&(Ln==null?void 0:Ln.students_count)>1&&bt.createElement(be.ZP,{className:"ml10",onClick:()=>{var cr;if((0,Ve.Rm)()&&!((cr=En.AssistantObject.practice)!=null&&cr.can_download)){ue.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}De.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:bt.createElement(oe.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:bt.createElement(oe.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:()=>{Rs("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,ta.jj)({categoryId:wa.categoryId,coursesId:wa.coursesId},"shixun_report")}}})}},bt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),bt.createElement("aside",{className:"mt30 relative"})),bt.createElement("aside",{className:"edu-container bg-white",ref:Wa},bt.createElement("div",{id:"export-all",ref:lo},bt.createElement("div",{id:"export-all-1"},bt.createElement("div",{className:fa.title},bt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),bt.createElement("div",null,(0,Ve.GJ)()&&bt.createElement(be.ZP,{className:"mr20",type:"primary",onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Ln.user_id,data:ma({},Ln)},fn:()=>zi({page:1,page_size:10},"all")}})}},bt.createElement(fe.Z,null),Ln.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),bt.createElement(a.Z,{style:{marginTop:0}}),bt.createElement(E.Z,{className:"pl30 pr30"},bt.createElement(b.Z,null,bt.createElement("img",{className:fa.userPic,src:`${Te.Z.IMG_SERVER}/images/${Ln.image_url}`,alt:Ln.username})),bt.createElement(b.Z,null,bt.createElement("span",{className:"font16 ml40"},Ln.username),bt.createElement(Ye.vA,{status:Ln.compelete_status}),bt.createElement("ul",{className:fa.userInfo},bt.createElement("li",null,"\u5B66\u53F7\uFF1A",Ln.student_id||"--"),bt.createElement("li",null,"\u5206\u73ED\uFF1A",Ln.group_name||"--"),bt.createElement("br",null),bt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",bt.createElement("span",{className:"c-red"},Ln.complete_count),"/",bt.createElement("span",{className:"c-red"},Ln.challenges_count)),bt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",bt.createElement("span",{className:"c-red"},Ln.current_complete_count||"-"),"/",bt.createElement("span",{className:"c-red"},Ln.challenges_count)),bt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",Ln&&Ln.efficiency===null?"--":Ln&&Ln.efficiency),bt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",Ln&&Ln.max_efficiency===null?"--":Ln&&Ln.max_efficiency))),bt.createElement("ul",{className:[fa.listItem,"mt10"].join(" ")},bt.createElement("li",null,bt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),bt.createElement("div",{className:"c-light-black mt20"},Ln&&Ln.passed_time===null||Ln&&Ln.passed_time==="--"?"--":Ze()(Ln&&Ln.passed_time).format("YYYY-MM-DD HH:mm"))),bt.createElement("li",null,bt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",bt.createElement("i",{onClick:cr=>{cr.stopPropagation(),cr.preventDefault(),ea(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),bt.createElement("div",{className:"c-light-black mt20"},Ln==null?void 0:Ln.human_training_time_rules)),bt.createElement("li",null,bt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",bt.createElement("i",{onClick:cr=>{cr.stopPropagation(),cr.preventDefault(),ji(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),bt.createElement("div",{className:"c-light-black mt20"},Ln.time_consuming)),bt.createElement("li",null,bt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),bt.createElement("div",{className:"mt20"},Ln.evaluate_count)),(Ln==null?void 0:Ln.eff_score_full)&&bt.createElement(bt.Fragment,null,bt.createElement("li",null,bt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},Ln.challenge_score),"/",bt.createElement("span",{className:"c-light-black"},Ln.challenge_score_full))),bt.createElement("li",null,bt.createElement("strong",null,"\u6548\u7387\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},Ln.eff_score),"/",bt.createElement("span",{className:"c-light-black"},Ln.eff_score_full)))),(Ln==null?void 0:Ln.have_repeat)&&(Ln==null?void 0:Ln.repeat_minus_score)!==0&&bt.createElement("li",{style:{position:"relative"}},bt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},Ln!=null&&Ln.review_rate?bt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(Ln!=null&&Ln.review_id&&gl)localStorage.setItem("studentDetial",window.location.pathname),ze.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${wa.categoryId}/review_detail/${Ln==null?void 0:Ln.review_id}`});else return}},Ln.review_rate.toFixed(1),"%"):bt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),gl?bt.createElement("div",{className:"mt20"},bt.createElement(y.default,{style:{width:"45px",height:"22px"},value:HA,onChange:cr=>{Ir(cr)},onBlur:Da,disabled:fl})," / ",Ln==null?void 0:Ln.repeat_setting_score):bt.createElement("div",{className:"mt20"},Ln==null?void 0:Ln.repeat_minus_score," / ",Ln==null?void 0:Ln.repeat_setting_score)),console.log("sssssssssssssssssssssss",Ln==null?void 0:Ln.have_repeat,Ln==null?void 0:Ln.repeat_minus_score),(Ln==null?void 0:Ln.have_repeat)&&(Ln==null?void 0:Ln.repeat_minus_score)===0&&bt.createElement("li",null,bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{className:"mt20"}," - -")),!(Ln!=null&&Ln.have_repeat)&&bt.createElement("li",null,bt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),bt.createElement("div",{className:"mt20"}," - -")),bt.createElement("li",null,bt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),bt.createElement("div",{className:"mt20"},bt.createElement("span",null,Ln.late_penalty||"- -"))),bt.createElement("li",null,bt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},js),"/",bt.createElement("span",{className:"c-light-black"},Ln.all_work_score))),bt.createElement("li",null,bt.createElement("strong",null,"\u603B\u8BC4"),bt.createElement("div",{className:"mt20"},bt.createElement("span",{className:"c-orange"},Ln.overall_appraisal))))),bt.createElement(a.Z,{style:{margin:0}}),(Ln.work_comment_hidden||Ln.work_comment)&&bt.createElement("div",null,bt.createElement(E.Z,{align:"middle"},bt.createElement(b.Z,{flex:1},bt.createElement("h1",{className:fa.title},"\u70B9\u8BC4\u5185\u5BB9")),bt.createElement(b.Z,{className:"pr30"},(0,Ve.GJ)()&&bt.createElement(be.ZP,{onClick:()=>ra(void 0,null,function*(){De.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:bt.createElement(Ue.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return ra(this,null,function*(){(yield(0,Tr.gZ)({comment_id:Ln.comment_id,homeworkId:wa.homeworkId})).status===0&&(ue.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:ma(ma({},wa),RA.current||{})}))})}})})},bt.createElement(Pe.Z,null),"\u5220\u9664"))),bt.createElement(a.Z,{style:{margin:0}}),Ln.work_comment&&bt.createElement("aside",{className:"pl30 pr30 mt20"},bt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),bt.createElement("br",null),bt.createElement(yr.Z,{value:Ln.work_comment})),Ln.work_comment_hidden&&bt.createElement("aside",{className:"pl30 pr30 mt20"},bt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),bt.createElement("br",null),bt.createElement(yr.Z,{value:Ln.work_comment_hidden}))),(Ln==null?void 0:Ln.action_analysis)&&bt.createElement(Ci,{detailData:Ln}),bt.createElement("div",{className:fa.score},bt.createElement("h1",{className:fa.title},"\u9636\u6BB5\u6210\u7EE9"),(Ln==null?void 0:Ln.adjust_review_score_count)>0&&(0,Ve.GJ)()&&bt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{LA(!0),zi({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Ln==null?void 0:Ln.adjust_review_score_count,"\u6B21\uFF09")),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(x.default,{dataSource:Ln.stage_list,rowKey:cr=>cr==null?void 0:cr.challenge_id,pagination:!1,columns:pl})),((Ea=Ln==null?void 0:Ln.target_test_sets)==null?void 0:Ea.length)>0&&bt.createElement("div",null,bt.createElement("h1",{className:fa.title},"\u6307\u6807\u6210\u7EE9"),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(x.default,{dataSource:gs,rowKey:cr=>cr==null?void 0:cr.challenge_id,pagination:!1,bordered:!0,columns:nl}))),(Ln==null?void 0:Ln.work_description)&&bt.createElement(bt.Fragment,null,bt.createElement("h1",{className:fa.title},"\u4E2A\u4EBA\u603B\u7ED3"),bt.createElement("aside",{className:"pl30 pr30"},bt.createElement(yr.Z,{value:Ln==null?void 0:Ln.work_description}))),bt.createElement("h1",{className:fa.title},"\u56FE\u5F62\u7EDF\u8BA1"),bt.createElement(no,{data:oa}),bt.createElement("h1",{className:fa.title},"\u5B9E\u8BAD\u8BE6\u60C5")),bt.createElement(Go,{autoHeight:ns}))),(0,Ve.GJ)()&&bt.createElement("aside",{className:`${fa.footerBar} ${dA?fa.footerBarStatic:""}`},bt.createElement("aside",{className:"edu-container"},bt.createElement(E.Z,{align:"middle"},bt.createElement(b.Z,{flex:"1"},bt.createElement(ze.Link,{className:fa.exitComment,to:`/classrooms/${wa.coursesId}/shixun_homework/${wa.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),bt.createElement(b.Z,{flex:"1",className:"tr"},bt.createElement(be.ZP,{type:"default",disabled:!(Ln!=null&&Ln.pre_student_work_id),onClick:()=>vl()},"\u4E0A\u4E00\u4E2A"),bt.createElement(be.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(Ln!=null&&Ln.next_student_work_id),onClick:()=>vl("next")},"\u4E0B\u4E00\u4E2A"),(0,Ve.GJ)()&&bt.createElement(be.ZP,{type:"primary",onClick:()=>ra(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Ln.user_id,data:ma({},Ln)},fn:()=>zi({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),bt.createElement(kA,null),bt.createElement(Es.Z,null),bt.createElement(De.default,{open:gA,width:860,centered:!0,onCancel:()=>{ea(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},bt.createElement("div",{style:{color:"#333333",fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),bt.createElement("br",null),bt.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"),bt.createElement("br",null),bt.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"),bt.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 "),bt.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")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),bt.createElement("br",null),bt.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 "),bt.createElement("br",null),bt.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"),bt.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 "),bt.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"),bt.createElement("br",null),bt.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")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),bt.createElement("br",null),bt.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")),bt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},bt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),bt.createElement("br",null),bt.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"))),bt.createElement(De.default,{open:Pl,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ji(!1)},width:600},bt.createElement("div",{style:{fontWeight:400,color:"#333333"}},bt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.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"),bt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.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"),bt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",bt.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"))),bt.createElement(De.default,{open:el,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{xi("all"),LA(!1)},destroyOnClose:!0,width:900},bt.createElement("div",{style:{fontWeight:400,color:"#333333"}},bt.createElement("div",null,bt.createElement("span",null,"\u5173\u5361\uFF1A"),bt.createElement(z.default,{style:{width:300},value:Ga,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:cr=>ra(void 0,null,function*(){xi(cr),zi({page:1,page_size:10},cr)})},bt.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(ka=Ln==null?void 0:Ln.stage_list)==null?void 0:ka.map((cr,ba)=>bt.createElement(z.default.Option,{key:ba,value:cr==null?void 0:cr.challenge_id},"\u7B2C",(0,Ye.EM)(ba+1),"\u5173")))),bt.createElement("div",{className:"mt20"},bt.createElement(x.default,{dataSource:ya,rowKey:cr=>cr==null?void 0:cr.id,pagination:!1,columns:rl,loading:Ki})),bt.createElement("div",{className:fa.footer},bt.createElement("div",null,bt.createElement("span",{style:{color:"#656F87"}},"\u5171",bt.createElement("span",{className:"c-light-primary"},Ro),"\u6761\u6570\u636E")),bt.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(No==null?void 0:No.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Ro,onChange:si})))))};var ao=(0,ze.connect)(({shixunHomeworks:vn,classroomList:An,loading:sn,globalSetting:En,user:Rn})=>({shixunHomeworks:vn,classroomList:An,globalSetting:En,loading:sn.effects,user:Rn}))($o);const ui=({globalSetting:vn})=>{var An;switch(Number((An=vn==null?void 0:vn.setting)==null?void 0:An.theme)){case pe.Fy.THEMEONE:return we.createElement(sa,null);case pe.Fy.DEFAULT:default:return we.createElement(ao,null)}};var mo=(0,ze.connect)(({globalSetting:vn})=>({globalSetting:vn}))(ui)},95894:function(nn,Kt,ve){"use strict";var pe=ve(43418),we=ve(8591),ze=ve(82093),At=ve(76560),Ze=ve(34055),Re=ve(59301),he=(De,ue,Ne)=>new Promise((Ee,be)=>{var oe=E=>{try{a(Ne.next(E))}catch(b){be(b)}},y=E=>{try{a(Ne.throw(E))}catch(b){be(b)}},a=E=>E.done?Ee(E.value):Promise.resolve(E.value).then(oe,y);a((Ne=Ne.apply(De,ue)).next())});const Be=({shixunHomeworks:De,classroomList:ue,dispatch:Ne})=>{const Ee=(0,At.useParams)();return Re.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:De.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>he(void 0,null,function*(){var be,oe,y,a;if((0,Ze.Rm)()&&!((be=ue.AssistantObject.practice)!=null&&be.can_redo)){we.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,ze.ZP)(`/api/myshixuns/${De.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Ee.coursesId,homework_common_id:De.actionTabs.homework_common_id}});if(E.shixun_identifier){we.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ne({type:"shixunHomeworks/setActionTabs",payload:{}});const b=(y=(oe=E==null?void 0:E.new_works)==null?void 0:oe.find(x=>`${x.homework_common_id}`===Ee.categoryId))==null?void 0:y.id;if((0,Ze.Rm)()&&!((a=ue.AssistantObject.practice)!=null&&a.can_view))return;At.history.replace(`/classrooms/${Ee.coursesId}/shixun_homework/${Ee.categoryId}/${b}/comment`)}}),onCancel:()=>{Ne({type:"shixunHomeworks/setActionTabs",payload:{}})}},Re.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Re.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Kt.Z=(0,At.connect)(({shixunHomeworks:De,classroomList:ue})=>({shixunHomeworks:De,classroomList:ue}))(Be)},30975:function(nn,Kt,ve){"use strict";ve.d(Kt,{AD:function(){return Tt},D9:function(){return ht},Hp:function(){return Ue},IM:function(){return $t},Iy:function(){return Pe},KM:function(){return er},MJ:function(){return Te},Ne:function(){return tt},ON:function(){return Hn},Uj:function(){return Dt},VY:function(){return Wt},YO:function(){return Gn},YX:function(){return hn},Zn:function(){return y},_g:function(){return z},_k:function(){return gt},c6:function(){return Ft},cr:function(){return a},eV:function(){return Qe},fi:function(){return E},gh:function(){return nt},hS:function(){return gn},iA:function(){return b},j6:function(){return ne},je:function(){return Nt},jj:function(){return fe},kS:function(){return Cn},o6:function(){return Oe},pO:function(){return _n},rQ:function(){return st},sA:function(){return Ye},xm:function(){return xt},xo:function(){return Et},y8:function(){return it},yd:function(){return x}});var pe=ve(64948),we=ve(76560),ze=ve(49661),At=ve(8591),Ze=ve(90524),Re=Object.defineProperty,he=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ue=(je,qt,He)=>qt in je?Re(je,qt,{enumerable:!0,configurable:!0,writable:!0,value:He}):je[qt]=He,Ne=(je,qt)=>{for(var He in qt||(qt={}))Be.call(qt,He)&&ue(je,He,qt[He]);if(he)for(var He of he(qt))De.call(qt,He)&&ue(je,He,qt[He]);return je},Ee=(je,qt,He)=>new Promise((me,se)=>{var ye=Me=>{try{pt(He.next(Me))}catch(Je){se(Je)}},qe=Me=>{try{pt(He.throw(Me))}catch(Je){se(Je)}},pt=Me=>Me.done?me(Me.value):Promise.resolve(Me.value).then(ye,qe);pt((He=He.apply(je,qt)).next())});const be=()=>{(0,we.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},oe=()=>{(0,we.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=je=>Ee(void 0,null,function*(){be(),(yield(0,pe.YR)(Ne({},je))).status===0&&(yield(0,ze.QH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${je.coursesId}/export_couser_info.json`,query:je}))),oe()}),a=je=>Ee(void 0,null,function*(){const qt=yield(0,pe.yS)(Ne({},je));if(qt.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_member_act_score`);else{if(qt.status===-2)return qt;qt.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_member_act_score`))}}),E=je=>Ee(void 0,null,function*(){const qt=yield(0,pe.W0)(Ne({},je));if(qt.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_score`);else{if(qt.status===-4)return qt;qt.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_score`))}}),b=je=>Ee(void 0,null,function*(){const qt=yield(0,pe.Nl)(Ne({},je));if(qt.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qt.status===-4)return qt;qt.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=je=>Ee(void 0,null,function*(){const qt=yield(0,pe.IU)(Ne({},je));if(qt.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/export_star_user`);else{if(qt.status===-4)return qt;qt.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/export_star_user`))}}),z=je=>Ee(void 0,null,function*(){const qt=yield(0,pe.td)(Ne({},je));if(qt.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`);else{if(qt.status===-2)return qt;if(qt.status===-3)(0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_exercise_and_other`);else if(qt.status===-4)return qt}}),ne=je=>Ee(void 0,null,function*(){const qt=yield(0,pe.QX)(Ne({},je));if(qt.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_homework`);else{if(qt.status===-4)return qt;qt.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/course_total_homework`))}}),fe=(je,qt)=>Ee(void 0,null,function*(){const He=yield(0,pe.o_)(Ne({},je));He.status===0?(At.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"),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`))}),Ue=(je,qt)=>Ee(void 0,null,function*(){const He=yield(0,pe.ZL)(Ne({},je));He.status===0?(At.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"),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`))}),Pe=(je,qt)=>Ee(void 0,null,function*(){const He=yield(0,pe.aP)(Ne({},je));He.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`))}),Te=(je,qt)=>Ee(void 0,null,function*(){const He=yield(0,pe.vV)(Ne({},je));He.status===0?(At.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"),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/${qt}`))}),Ve=je=>Ee(void 0,null,function*(){be(),(yield exportCourseWorkListAppendix(Ne({},je))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${je.categoryId}/works_list.zip`,query:je}))),oe()}),Ye=je=>Ee(void 0,null,function*(){be(),yield(0,ze.QH)("",Ze.Z.API_SERVER+`/api/polls/${je.categoryId}/commit_result.xlsx`),oe()}),nt=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${je.coursesId}/attendances/export_xlsx_data.xlsx`,query:je}))}),Oe=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${je.coursesId}/video_study_statics.xlsx`,query:je}))}),Ft=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${je.coursesId}/export_video_study.xlsx`,query:je}))}),Qe=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${je.coursesId}/export_course_students_info.xlsx`,query:je}))}),Tt=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:je}))}),st=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:je}))}),it=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:je}))}),Nt=je=>Ee(void 0,null,function*(){const qt=yield(0,pe.Uy)(Ne({},je));qt.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${je.coursesId}/exportlist/exercise_score,export_exercise_users`)):qt.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${je.coursesId}/exportlist/exercise_score,export_exercise_users`))}),gt=je=>Ee(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/export_records/${je.id}.xlsx`,query:je}))}),xt=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:je}))}),ht=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${je==null?void 0:je.coursesId}/${je.menuKey}_statistic.xlsx?${je.checkedList.map(qt=>`course_group_id[]=${qt}`).join("&")}`,query:je}))}),tt=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${je==null?void 0:je.ec_year_id}/ec_training_objectives.xlsx`,query:je}))}),$t=je=>Ee(void 0,null,function*(){yield(0,ze.FH)(je==null?void 0:je.name,(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:je}))}),gn=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${je==null?void 0:je.ec_year_id}/ec_courses.xlsx`,query:je}))}),Et=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${je==null?void 0:je.ec_year_id}/ec_graduation_requirements.xlsx`,query:je}))}),Wt=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:je}))}),Cn=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:je}))}),Hn=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/examination_banks/${je.id}.json`,query:je}))}),hn=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/exercises/${je.categoryId}.json`,query:je}))}),Gn=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/polls/${je==null?void 0:je.id}/commit_result.json`,query:je}))}),Dt=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:je}))}),_n=(je,qt)=>Ee(void 0,null,function*(){yield(0,ze.FH)(qt||"",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/exercises/${je==null?void 0:je.exercise_id}/consult_exercise.json`,query:je}))}),er=je=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/competitions/${je==null?void 0:je.identifier}/competition_commit_records/member_works.xlsx`,query:je}))})},98072:function(nn,Kt,ve){"use strict";ve.d(Kt,{U:function(){return De}});var pe=ve(59301),we=Object.defineProperty,ze=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Re=(ue,Ne,Ee)=>Ne in ue?we(ue,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ue[Ne]=Ee,he=(ue,Ne)=>{for(var Ee in Ne||(Ne={}))At.call(Ne,Ee)&&Re(ue,Ee,Ne[Ee]);if(ze)for(var Ee of ze(Ne))Ze.call(Ne,Ee)&&Re(ue,Ee,Ne[Ee]);return ue},Be=(ue,Ne,Ee)=>new Promise((be,oe)=>{var y=b=>{try{E(Ee.next(b))}catch(x){oe(x)}},a=b=>{try{E(Ee.throw(b))}catch(x){oe(x)}},E=b=>b.done?be(b.value):Promise.resolve(b.value).then(y,a);E((Ee=Ee.apply(ue,Ne)).next())});function De(ue,Ne){const[Ee,be]=(0,pe.useState)(Ne),[oe,y]=(0,pe.useState)(!1),[a,E]=(0,pe.useState)();return[Ee,oe,(x,z=!1)=>Be(this,null,function*(){const ne=z?Ne:he(he({},Ee),x);y(!0),be(ne);const fe=yield ue(ne);return y(!1),E(fe),fe}),a]}},50371:function(nn,Kt){"use strict";function ve(){const pe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let we=1;we{const Ze=ze[At];Ze!==void 0&&(pe[At]=Ze)})}return pe}Kt.Z=ve},13845:function(nn,Kt,ve){"use strict";ve.d(Kt,{F:function(){return pe},Z:function(){return we}});function pe(ze){return ze!=null&&ze===ze.window}function we(ze,At){var Ze,Re;if(typeof window=="undefined")return 0;const he=At?"scrollTop":"scrollLeft";let Be=0;return pe(ze)?Be=ze[At?"pageYOffset":"pageXOffset"]:ze instanceof Document?Be=ze.documentElement[he]:(ze instanceof HTMLElement||ze)&&(Be=ze[he]),ze&&!pe(ze)&&typeof Be!="number"&&(Be=(Re=((Ze=ze.ownerDocument)!==null&&Ze!==void 0?Ze:ze).documentElement)===null||Re===void 0?void 0:Re[he]),Be}},56762:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return we}});var pe=ve(59301);function we(){const[,ze]=pe.useReducer(At=>At+1,0);return ze}},68031:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return At}});var pe=ve(16089);function we(Ze,Re,he,Be){const De=he-Re;return Ze/=Be/2,Ze<1?De/2*Ze*Ze*Ze+Re:De/2*((Ze-=2)*Ze*Ze+2)+Re}var ze=ve(13845);function At(Ze){let Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:he=()=>window,callback:Be,duration:De=450}=Re,ue=he(),Ne=(0,ze.Z)(ue,!0),Ee=Date.now(),be=()=>{const y=Date.now()-Ee,a=we(y>De?De:y,Ne,Ze,De);(0,ze.F)(ue)?ue.scrollTo(window.pageXOffset,a):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=a:ue.scrollTop=a,y{let{children:it}=st;const{getPrefixCls:Nt}=Ze.useContext(he.E_),gt=Nt("breadcrumb");return Ze.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},it===""?it:it||"/")};ue.__ANT_BREADCRUMB_SEPARATOR=!0;var Ne=ue,Ee=function(st,it){var Nt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&it.indexOf(gt)<0&&(Nt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xtit[xt]||gt)}function oe(st,it,Nt,gt){if(Nt==null)return null;const{className:xt,onClick:ht}=it,tt=Ee(it,["className","onClick"]),$t=Object.assign(Object.assign({},(0,At.Z)(tt,{data:!0,aria:!0})),{onClick:ht});return gt!==void 0?Ze.createElement("a",Object.assign({},$t,{className:we()(`${st}-link`,xt),href:gt}),Nt):Ze.createElement("span",Object.assign({},$t,{className:we()(`${st}-link`,xt)}),Nt)}function y(st,it){return(gt,xt,ht,tt,$t)=>{if(it)return it(gt,xt,ht,tt);const gn=be(gt,xt);return oe(st,gt,gn,$t)}}var a=function(st,it){var Nt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&it.indexOf(gt)<0&&(Nt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xt{const{prefixCls:it,separator:Nt="/",children:gt,menu:xt,overlay:ht,dropdownProps:tt,href:$t}=st,Et=(Wt=>{if(xt||ht){const Cn=Object.assign({},tt);if(xt){const Hn=xt||{},{items:hn}=Hn,Gn=a(Hn,["items"]);Cn.menu=Object.assign(Object.assign({},Gn),{items:hn==null?void 0:hn.map((Dt,_n)=>{var{key:er,title:je,label:qt,path:He}=Dt,me=a(Dt,["key","title","label","path"]);let se=qt!=null?qt:je;return He&&(se=Ze.createElement("a",{href:`${$t}${He}`},se)),Object.assign(Object.assign({},me),{key:er!=null?er:_n,label:se})})})}else ht&&(Cn.overlay=ht);return Ze.createElement(De.Z,Object.assign({placement:"bottom"},Cn),Ze.createElement("span",{className:`${it}-overlay-link`},Wt,Ze.createElement(Be.Z,null)))}return Wt})(gt);return Et!=null?Ze.createElement(Ze.Fragment,null,Ze.createElement("li",null,Et),Nt&&Ze.createElement(Ne,null,Nt)):null},b=st=>{const{prefixCls:it,children:Nt,href:gt}=st,xt=a(st,["prefixCls","children","href"]),{getPrefixCls:ht}=Ze.useContext(he.E_),tt=ht("breadcrumb",it);return Ze.createElement(E,Object.assign({},xt,{prefixCls:tt}),oe(tt,xt,Nt,gt))};b.__ANT_BREADCRUMB_ITEM=!0;var x=b,z=ve(17313),ne=ve(83116),fe=ve(37613);const Ue=st=>{const{componentCls:it,iconCls:Nt}=st;return{[it]:Object.assign(Object.assign({},(0,z.Wf)(st)),{color:st.itemColor,fontSize:st.fontSize,[Nt]:{fontSize:st.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:st.linkColor,transition:`color ${st.motionDurationMid}`,padding:`0 ${st.paddingXXS}px`,borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",marginInline:-st.marginXXS,"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover}},(0,z.Qy)(st)),"li:last-child":{color:st.lastItemColor},[`${it}-separator`]:{marginInline:st.separatorMargin,color:st.separatorColor},[`${it}-link`]:{[` > ${Nt} + span, > ${Nt} + a `]:{marginInlineStart:st.marginXXS}},[`${it}-overlay-link`]:{borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",padding:`0 ${st.paddingXXS}px`,marginInline:-st.marginXXS,[`> ${Nt}`]:{marginInlineStart:st.marginXXS,fontSize:st.fontSizeIcon},"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover,a:{color:st.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${st.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,ne.Z)("Breadcrumb",st=>{const it=(0,fe.TS)(st,{});return[Ue(it)]},st=>({itemColor:st.colorTextDescription,lastItemColor:st.colorText,iconFontSize:st.fontSize,linkColor:st.colorTextDescription,linkHoverColor:st.colorText,separatorColor:st.colorTextDescription,separatorMargin:st.marginXS})),Te=function(st,it){var Nt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&it.indexOf(gt)<0&&(Nt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xt{var{breadcrumbName:tt}=ht,$t=Te(ht,["breadcrumbName"]);return Object.assign(Object.assign({},$t),{title:tt})})}),xt}function Ye(st,it){return(0,Ze.useMemo)(()=>st||(it?it.map(Ve):null),[st,it])}var nt=function(st,it){var Nt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&it.indexOf(gt)<0&&(Nt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xt{if(it===void 0)return it;let Nt=(it||"").replace(/^\//,"");return Object.keys(st).forEach(gt=>{Nt=Nt.replace(`:${gt}`,st[gt])}),Nt},Ft=st=>{const{prefixCls:it,separator:Nt="/",style:gt,className:xt,rootClassName:ht,routes:tt,items:$t,children:gn,itemRender:Et,params:Wt={}}=st,Cn=nt(st,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Hn,direction:hn,breadcrumb:Gn}=Ze.useContext(he.E_);let Dt;const _n=Hn("breadcrumb",it),[er,je]=Pe(_n),qt=Ye($t,tt),He=y(_n,Et);if(qt&&qt.length>0){const ye=[],qe=$t||tt;Dt=qt.map((pt,Me)=>{const{path:Je,key:jt,type:wt,menu:lt,overlay:Zt,onClick:Sn,className:kt,separator:dn,dropdownProps:Ot}=pt,Fn=Oe(Wt,Je);Fn!==void 0&&ye.push(Fn);const an=jt!=null?jt:Me;if(wt==="separator")return Ze.createElement(Ne,{key:an},dn);const rr={},gr=Me===qt.length-1;lt?rr.menu=lt:Zt&&(rr.overlay=Zt);let{href:sr}=pt;return ye.length&&Fn!==void 0&&(sr=`#/${ye.join("/")}`),Ze.createElement(E,Object.assign({key:an},rr,(0,At.Z)(pt,{data:!0,aria:!0}),{className:kt,dropdownProps:Ot,href:sr,separator:gr?"":Nt,onClick:Sn,prefixCls:_n}),He(pt,Wt,qe,ye,sr))})}else if(gn){const ye=(0,ze.Z)(gn).length;Dt=(0,ze.Z)(gn).map((qe,pt)=>{if(!qe)return qe;const Me=pt===ye-1;return(0,Re.Tm)(qe,{separator:Me?"":Nt,key:pt})})}const me=we()(_n,Gn==null?void 0:Gn.className,{[`${_n}-rtl`]:hn==="rtl"},xt,ht,je),se=Object.assign(Object.assign({},Gn==null?void 0:Gn.style),gt);return er(Ze.createElement("nav",Object.assign({className:me,style:se},Cn),Ze.createElement("ol",null,Dt)))};Ft.Item=x,Ft.Separator=Ne;var Qe=Ft,Tt=Qe},24905:function(nn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Pe}});var pe=ve(92310),we=ve.n(pe),ze=ve(5630),At=ve(59301),Ze=ve(36355),Re=ve(1684),he=ve(32441),De=At.createContext(null),ue=ve(98447),Ne=ve(14088),Ee=ve(4572),be=function(Te,Ve){var Ye={};for(var nt in Te)Object.prototype.hasOwnProperty.call(Te,nt)&&Ve.indexOf(nt)<0&&(Ye[nt]=Te[nt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,nt=Object.getOwnPropertySymbols(Te);Oe{var Ye;const{prefixCls:nt,className:Oe,rootClassName:Ft,children:Qe,indeterminate:Tt=!1,style:st,onMouseEnter:it,onMouseLeave:Nt,skipGroup:gt=!1,disabled:xt}=Te,ht=be(Te,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:tt,direction:$t,checkbox:gn}=At.useContext(Ze.E_),Et=At.useContext(De),{isFormItemInput:Wt}=At.useContext(he.aM),Cn=At.useContext(Re.Z),Hn=(Ye=(Et==null?void 0:Et.disabled)||xt)!==null&&Ye!==void 0?Ye:Cn,hn=At.useRef(ht.value);At.useEffect(()=>{Et==null||Et.registerValue(ht.value)},[]),At.useEffect(()=>{if(!gt)return ht.value!==hn.current&&(Et==null||Et.cancelValue(hn.current),Et==null||Et.registerValue(ht.value),hn.current=ht.value),()=>Et==null?void 0:Et.cancelValue(ht.value)},[ht.value]);const Gn=tt("checkbox",nt),[Dt,_n]=(0,ue.ZP)(Gn),er=Object.assign({},ht);Et&&!gt&&(er.onChange=function(){ht.onChange&&ht.onChange.apply(ht,arguments),Et.toggleOption&&Et.toggleOption({label:Qe,value:ht.value})},er.name=Et.name,er.checked=Et.value.includes(ht.value));const je=we()(`${Gn}-wrapper`,{[`${Gn}-rtl`]:$t==="rtl",[`${Gn}-wrapper-checked`]:er.checked,[`${Gn}-wrapper-disabled`]:Hn,[`${Gn}-wrapper-in-form-item`]:Wt},gn==null?void 0:gn.className,Oe,Ft,_n),qt=we()({[`${Gn}-indeterminate`]:Tt},Ee.A,_n),He=Tt?"mixed":void 0;return Dt(At.createElement(Ne.Z,{component:"Checkbox",disabled:Hn},At.createElement("label",{className:je,style:Object.assign(Object.assign({},gn==null?void 0:gn.style),st),onMouseEnter:it,onMouseLeave:Nt},At.createElement(ze.Z,Object.assign({"aria-checked":He},er,{prefixCls:Gn,className:qt,disabled:Hn,ref:Ve})),Qe!==void 0&&At.createElement("span",null,Qe))))};var a=At.forwardRef(oe),E=ve(3300),b=ve(2738),x=function(Te,Ve){var Ye={};for(var nt in Te)Object.prototype.hasOwnProperty.call(Te,nt)&&Ve.indexOf(nt)<0&&(Ye[nt]=Te[nt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,nt=Object.getOwnPropertySymbols(Te);Oe{const{defaultValue:Ye,children:nt,options:Oe=[],prefixCls:Ft,className:Qe,rootClassName:Tt,style:st,onChange:it}=Te,Nt=x(Te,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:xt}=At.useContext(Ze.E_),[ht,tt]=At.useState(Nt.value||Ye||[]),[$t,gn]=At.useState([]);At.useEffect(()=>{"value"in Nt&&tt(Nt.value||[])},[Nt.value]);const Et=At.useMemo(()=>Oe.map(me=>typeof me=="string"||typeof me=="number"?{label:me,value:me}:me),[Oe]),Wt=me=>{gn(se=>se.filter(ye=>ye!==me))},Cn=me=>{gn(se=>[].concat((0,E.Z)(se),[me]))},Hn=me=>{const se=ht.indexOf(me.value),ye=(0,E.Z)(ht);se===-1?ye.push(me.value):ye.splice(se,1),"value"in Nt||tt(ye),it==null||it(ye.filter(qe=>$t.includes(qe)).sort((qe,pt)=>{const Me=Et.findIndex(jt=>jt.value===qe),Je=Et.findIndex(jt=>jt.value===pt);return Me-Je}))},hn=gt("checkbox",Ft),Gn=`${hn}-group`,[Dt,_n]=(0,ue.ZP)(hn),er=(0,b.Z)(Nt,["value","disabled"]),je=Oe.length?Et.map(me=>At.createElement(a,{prefixCls:hn,key:me.value.toString(),disabled:"disabled"in me?me.disabled:Nt.disabled,value:me.value,checked:ht.includes(me.value),onChange:me.onChange,className:`${Gn}-item`,style:me.style,title:me.title},me.label)):nt,qt={toggleOption:Hn,value:ht,disabled:Nt.disabled,name:Nt.name,registerValue:Cn,cancelValue:Wt},He=we()(Gn,{[`${Gn}-rtl`]:xt==="rtl"},Qe,Tt,_n);return Dt(At.createElement("div",Object.assign({className:He,style:st},er,{ref:Ve}),At.createElement(De.Provider,{value:qt},je)))},ne=At.forwardRef(z);var fe=At.memo(ne);const Ue=a;Ue.Group=fe,Ue.__ANT_CHECKBOX=!0;var Pe=Ue},98447:function(nn,Kt,ve){"use strict";ve.d(Kt,{C2:function(){return Ze}});var pe=ve(17313),we=ve(37613),ze=ve(83116);const At=Re=>{const{checkboxCls:he}=Re,Be=`${he}-wrapper`;return[{[`${he}-group`]:Object.assign(Object.assign({},(0,pe.Wf)(Re)),{display:"inline-flex",flexWrap:"wrap",columnGap:Re.marginXS,[`> ${Re.antCls}-row`]:{flex:1}}),[Be]:Object.assign(Object.assign({},(0,pe.Wf)(Re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Be}`]:{marginInlineStart:0},[`&${Be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[he]:Object.assign(Object.assign({},(0,pe.Wf)(Re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Re.borderRadiusSM,alignSelf:"center",[`${he}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${he}-inner`]:Object.assign({},(0,pe.oN)(Re))},[`${he}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Re.checkboxSize,height:Re.checkboxSize,direction:"ltr",backgroundColor:Re.colorBgContainer,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,borderCollapse:"separate",transition:`all ${Re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Re.checkboxSize/14*5,height:Re.checkboxSize/14*8,border:`${Re.lineWidthBold}px solid ${Re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Re.motionDurationFast} ${Re.motionEaseInBack}, opacity ${Re.motionDurationFast}`}},"& + span":{paddingInlineStart:Re.paddingXS,paddingInlineEnd:Re.paddingXS}})},{[` ${Be}:not(${Be}-disabled), ${he}:not(${he}-disabled) `]:{[`&:hover ${he}-inner`]:{borderColor:Re.colorPrimary}},[`${Be}:not(${Be}-disabled)`]:{[`&:hover ${he}-checked:not(${he}-disabled) ${he}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${he}-checked:not(${he}-disabled):after`]:{borderColor:Re.colorPrimaryHover}}},{[`${he}-checked`]:{[`${he}-inner`]:{backgroundColor:Re.colorPrimary,borderColor:Re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Re.motionDurationMid} ${Re.motionEaseOutBack} ${Re.motionDurationFast}`}}},[` ${Be}-checked:not(${Be}-disabled), ${he}-checked:not(${he}-disabled) `]:{[`&:hover ${he}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"}}},{[he]:{"&-indeterminate":{[`${he}-inner`]:{backgroundColor:Re.colorBgContainer,borderColor:Re.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Re.fontSizeLG/2,height:Re.fontSizeLG/2,backgroundColor:Re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Be}-disabled`]:{cursor:"not-allowed"},[`${he}-disabled`]:{[`&, ${he}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${he}-inner`]:{background:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,"&:after":{borderColor:Re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Re.colorTextDisabled},[`&${he}-indeterminate ${he}-inner::after`]:{background:Re.colorTextDisabled}}}]};function Ze(Re,he){const Be=(0,we.TS)(he,{checkboxCls:`.${Re}`,checkboxSize:he.controlInteractiveSize});return[At(Be)]}Kt.ZP=(0,ze.Z)("Checkbox",(Re,he)=>{let{prefixCls:Be}=he;return[Ze(Be,Re)]})},28103:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Ee}});var pe=ve(92310),we=ve.n(pe),ze=ve(59301),At=ve(36355),Ze=ve(17313),Re=ve(83116),he=ve(37613);const Be=be=>{const{componentCls:oe,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:E,textPaddingInline:b,orientationMargin:x,verticalMarginInline:z}=be;return{[oe]:Object.assign(Object.assign({},(0,Ze.Wf)(be)),{borderBlockStart:`${E}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${E}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${be.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${be.dividerHorizontalWithTextGutterMargin}px 0`,color:be.colorTextHeading,fontWeight:500,fontSize:be.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${E}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${oe}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${E}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:be.colorText,fontWeight:"normal",fontSize:be.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:y}}})}};var De=(0,Re.Z)("Divider",be=>{const oe=(0,he.TS)(be,{dividerHorizontalWithTextGutterMargin:be.margin,dividerHorizontalGutterMargin:be.marginLG,sizePaddingEdgeHorizontal:0});return[Be(oe)]},be=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:be.marginXS})),ue=function(be,oe){var y={};for(var a in be)Object.prototype.hasOwnProperty.call(be,a)&&oe.indexOf(a)<0&&(y[a]=be[a]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(be);E{const{getPrefixCls:oe,direction:y,divider:a}=ze.useContext(At.E_),{prefixCls:E,type:b="horizontal",orientation:x="center",orientationMargin:z,className:ne,rootClassName:fe,children:Ue,dashed:Pe,plain:Te,style:Ve}=be,Ye=ue(be,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),nt=oe("divider",E),[Oe,Ft]=De(nt),Qe=x.length>0?`-${x}`:x,Tt=!!Ue,st=x==="left"&&z!=null,it=x==="right"&&z!=null,Nt=we()(nt,a==null?void 0:a.className,Ft,`${nt}-${b}`,{[`${nt}-with-text`]:Tt,[`${nt}-with-text${Qe}`]:Tt,[`${nt}-dashed`]:!!Pe,[`${nt}-plain`]:!!Te,[`${nt}-rtl`]:y==="rtl",[`${nt}-no-default-orientation-margin-left`]:st,[`${nt}-no-default-orientation-margin-right`]:it},ne,fe),gt=ze.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),xt=Object.assign(Object.assign({},st&&{marginLeft:gt}),it&&{marginRight:gt});return Oe(ze.createElement("div",Object.assign({className:Nt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ve)},Ye,{role:"separator"}),Ue&&b!=="vertical"&&ze.createElement("span",{className:`${nt}-inner-text`,style:xt},Ue)))}},91857:function(nn,Kt,ve){"use strict";var pe=ve(59301),we=ve(38819),ze=ve(92310),At=ve.n(ze),Ze=ve(31561),Re=ve(70425),he=ve(18929),Be=ve(2738),De=ve(79676),ue=ve(53487),Ne=ve(92343),Ee=ve(36355),be=ve(20834),oe=ve(40875),y=ve(88088),a=ve(47211);const E=null,b=fe=>{const{menu:Ue,arrow:Pe,prefixCls:Te,children:Ve,trigger:Ye,disabled:nt,dropdownRender:Oe,getPopupContainer:Ft,overlayClassName:Qe,rootClassName:Tt,open:st,onOpenChange:it,visible:Nt,onVisibleChange:gt,mouseEnterDelay:xt=.15,mouseLeaveDelay:ht=.1,autoAdjustOverflow:tt=!0,placement:$t="",overlay:gn,transitionName:Et}=fe,{getPopupContainer:Wt,getPrefixCls:Cn,direction:Hn}=pe.useContext(Ee.E_),hn=pe.useMemo(()=>{const lt=Cn();return Et!==void 0?Et:$t.includes("top")?`${lt}-slide-down`:`${lt}-slide-up`},[Cn,$t,Et]),Gn=pe.useMemo(()=>$t?$t.includes("Center")?$t.slice(0,$t.indexOf("Center")):$t:Hn==="rtl"?"bottomRight":"bottomLeft",[$t,Hn]),Dt=Cn("dropdown",Te),[_n,er]=(0,a.Z)(Dt),[,je]=(0,y.Z)(),qt=pe.Children.only(Ve),He=(0,Ne.Tm)(qt,{className:At()(`${Dt}-trigger`,{[`${Dt}-rtl`]:Hn==="rtl"},qt.props.className),disabled:nt}),me=nt?[]:Ye;let se;me&&me.includes("contextMenu")&&(se=!0);const[ye,qe]=(0,he.Z)(!1,{value:st!=null?st:Nt}),pt=(0,Re.useEvent)(lt=>{it==null||it(lt),gt==null||gt(lt),qe(lt)}),Me=At()(Qe,Tt,er,{[`${Dt}-rtl`]:Hn==="rtl"}),Je=(0,De.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:tt,offset:je.marginXXS,arrowWidth:Pe?je.sizePopupArrow:0,borderRadius:je.borderRadius}),jt=pe.useCallback(()=>{qe(!1)},[]),wt=()=>{let lt;return Ue!=null&&Ue.items?lt=pe.createElement(be.default,Object.assign({},Ue)):typeof gn=="function"?lt=gn():lt=gn,Oe&&(lt=Oe(lt)),lt=pe.Children.only(typeof lt=="string"?pe.createElement("span",null,lt):lt),pe.createElement(oe.J,{prefixCls:`${Dt}-menu`,expandIcon:pe.createElement("span",{className:`${Dt}-menu-submenu-arrow`},pe.createElement(we.Z,{className:`${Dt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:jt,validator:Zt=>{let{mode:Sn}=Zt}},lt)};return _n(pe.createElement(Ze.Z,Object.assign({alignPoint:se},(0,Be.Z)(fe,["rootClassName"]),{mouseEnterDelay:xt,mouseLeaveDelay:ht,visible:ye,builtinPlacements:Je,arrow:!!Pe,overlayClassName:Me,prefixCls:Dt,getPopupContainer:Ft||Wt,transitionName:hn,trigger:me,overlay:wt,placement:Gn,onVisibleChange:pt}),He))};function x(fe){return Object.assign(Object.assign({},fe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,ue.Z)(b,"dropdown",fe=>fe,x),ne=fe=>pe.createElement(z,Object.assign({},fe),pe.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ne,Kt.Z=b},38854:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return y}});var pe=ve(91857),we=ve(92310),ze=ve.n(we),At=ve(59301),Ze=ve(18785),Re=ve(3113),he=ve(36355),Be=ve(81327),De=ve(33234),ue=ve(47211),Ne=function(a,E){var b={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&E.indexOf(x)<0&&(b[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(a);z{const{getPopupContainer:E,getPrefixCls:b,direction:x}=At.useContext(he.E_),{prefixCls:z,type:ne="default",danger:fe,disabled:Ue,loading:Pe,onClick:Te,htmlType:Ve,children:Ye,className:nt,menu:Oe,arrow:Ft,autoFocus:Qe,overlay:Tt,trigger:st,align:it,open:Nt,onOpenChange:gt,placement:xt,getPopupContainer:ht,href:tt,icon:$t=At.createElement(Ze.Z,null),title:gn,buttonsRender:Et=wt=>wt,mouseEnterDelay:Wt,mouseLeaveDelay:Cn,overlayClassName:Hn,overlayStyle:hn,destroyPopupOnHide:Gn,dropdownRender:Dt}=a,_n=Ne(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"]),er=b("dropdown",z),je=`${er}-button`,[qt,He]=(0,ue.Z)(er),me={menu:Oe,arrow:Ft,autoFocus:Qe,align:it,disabled:Ue,trigger:Ue?[]:st,onOpenChange:gt,getPopupContainer:ht||E,mouseEnterDelay:Wt,mouseLeaveDelay:Cn,overlayClassName:Hn,overlayStyle:hn,destroyPopupOnHide:Gn,dropdownRender:Dt},{compactSize:se,compactItemClassnames:ye}=(0,De.ri)(er,x),qe=ze()(je,ye,nt,He);"overlay"in a&&(me.overlay=Tt),"open"in a&&(me.open=Nt),"placement"in a?me.placement=xt:me.placement=x==="rtl"?"bottomLeft":"bottomRight";const pt=At.createElement(Re.ZP,{type:ne,danger:fe,disabled:Ue,loading:Pe,onClick:Te,htmlType:Ve,href:tt,title:gn},Ye),Me=At.createElement(Re.ZP,{type:ne,danger:fe,icon:$t}),[Je,jt]=Et([pt,Me]);return qt(At.createElement(Be.Z.Compact,Object.assign({className:qe,size:se,block:!0},_n),Je,At.createElement(pe.Z,Object.assign({},me),jt)))};Ee.__ANT_BUTTON=!0;var be=Ee;const oe=pe.Z;oe.Button=be;var y=oe},47211:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Ne}});var pe=ve(17313),we=ve(13826),ze=ve(92899),At=ve(29878),Ze=ve(19447),Re=ve(83116),he=ve(37613),De=Ee=>{const{componentCls:be,menuCls:oe,colorError:y,colorTextLightSolid:a}=Ee,E=`${oe}-item`;return{[`${be}, ${be}-menu-submenu`]:{[`${oe} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ue=Ee=>{const{componentCls:be,menuCls:oe,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:E,antCls:b,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ne,fontSize:fe,dropdownEdgeChildPadding:Ue,colorTextDisabled:Pe,fontSizeIcon:Te,controlPaddingHorizontal:Ve,colorBgElevated:Ye}=Ee;return[{[be]:Object.assign(Object.assign({},(0,pe.Wf)(Ee)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${x}-down, & > ${b}-btn-icon > ${x}-down`]:{fontSize:Te}},[`${be}-wrap`]:{position:"relative",[`${b}-btn > ${x}-down`]:{fontSize:Te},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${be}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottomRight`]:{animationName:we.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-topRight`]:{animationName:we.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottomRight`]:{animationName:we.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-topRight`]:{animationName:we.ly}})},(0,Ze.ZP)(Ee,{colorBg:Ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${be} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${be}, ${be}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:Ue,listStyleType:"none",backgroundColor:Ye,backgroundClip:"padding-box",borderRadius:Ee.borderRadiusLG,outline:"none",boxShadow:Ee.boxShadowSecondary},(0,pe.Qy)(Ee)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${Ve}px`,color:Ee.colorTextDescription,transition:`all ${z}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:fe,marginInlineEnd:Ee.marginXS,fontSize:Ee.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${Ve}px`,color:Ee.colorText,fontWeight:"normal",fontSize:fe,lineHeight:Ee.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Ee.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ee.controlItemBgHover}},(0,pe.Qy)(Ee)),{"&-selected":{color:Ee.colorPrimary,backgroundColor:Ee.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ee.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ee.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ee.colorSplit},[`${be}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ee.paddingXS,[`${be}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ee.colorTextDescription,fontSize:Te,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${Ee.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:Ve+Ee.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${be}-menu-submenu-title`]:{[`&, ${be}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ye,cursor:"not-allowed"}},[`${oe}-submenu-selected ${be}-menu-submenu-title`]:{color:Ee.colorPrimary}})}},[(0,we.oN)(Ee,"slide-up"),(0,we.oN)(Ee,"slide-down"),(0,ze.Fm)(Ee,"move-up"),(0,ze.Fm)(Ee,"move-down"),(0,At._y)(Ee,"zoom-big")]]};var Ne=(0,Re.Z)("Dropdown",(Ee,be)=>{let{rootPrefixCls:oe}=be;const{marginXXS:y,sizePopupArrow:a,controlHeight:E,fontSize:b,lineHeight:x,paddingXXS:z,componentCls:ne,borderRadiusLG:fe}=Ee,Ue=(E-b*x)/2,{dropdownArrowOffset:Pe}=(0,Ze.fS)({contentRadius:fe}),Te=(0,he.TS)(Ee,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:Ue,dropdownEdgeChildPadding:z});return[ue(Te),De(Te)]},Ee=>({zIndexPopup:Ee.zIndexPopupBase+50}))},8628:function(nn,Kt,ve){"use strict";var pe=ve(59301),we=ve(34280),ze=ve(56762),At=ve(69507);function Ze(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const he=(0,pe.useRef)({}),Be=(0,ze.Z)(),De=(0,At.ZP)();return(0,we.Z)(()=>{const ue=De.subscribe(Ne=>{he.current=Ne,Re&&Be()});return()=>De.unsubscribe(ue)},[]),he.current}Kt.Z=Ze},45818:function(nn,Kt,ve){"use strict";ve.d(Kt,{D:function(){return z},Z:function(){return Ue}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(Te,Ve){return we.createElement(Ze.Z,(0,pe.Z)({},Te,{ref:Ve,icon:At}))},he=we.forwardRef(Re),Be=he,De=ve(33853),ue=ve(38819),Ne=ve(92310),Ee=ve.n(Ne),be=ve(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=ve(36355),E=ve(84966),b=function(Pe,Te){var Ve={};for(var Ye in Pe)Object.prototype.hasOwnProperty.call(Pe,Ye)&&Te.indexOf(Ye)<0&&(Ve[Ye]=Pe[Ye]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ye=Object.getOwnPropertySymbols(Pe);nt{let Pe=0;return function(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pe+=1,`${Te}${Pe}`}})();var Ue=we.forwardRef((Pe,Te)=>{const{prefixCls:Ve,className:Ye,trigger:nt,children:Oe,defaultCollapsed:Ft=!1,theme:Qe="dark",style:Tt={},collapsible:st=!1,reverseArrow:it=!1,width:Nt=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:xt,breakpoint:ht,onCollapse:tt,onBreakpoint:$t}=Pe,gn=b(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Et}=(0,we.useContext)(E.Gs),[Wt,Cn]=(0,we.useState)("collapsed"in Pe?Pe.collapsed:Ft),[Hn,hn]=(0,we.useState)(!1);(0,we.useEffect)(()=>{"collapsed"in Pe&&Cn(Pe.collapsed)},[Pe.collapsed]);const Gn=(He,me)=>{"collapsed"in Pe||Cn(He),tt==null||tt(He,me)},Dt=(0,we.useRef)();Dt.current=He=>{hn(He.matches),$t==null||$t(He.matches),Wt!==He.matches&&Gn(He.matches,"responsive")},(0,we.useEffect)(()=>{function He(se){return Dt.current(se)}let me;if(typeof window!="undefined"){const{matchMedia:se}=window;if(se&&ht&&ht in x){me=se(`(max-width: ${x[ht]})`);try{me.addEventListener("change",He)}catch(ye){me.addListener(He)}He(me)}}return()=>{try{me==null||me.removeEventListener("change",He)}catch(se){me==null||me.removeListener(He)}}},[ht]),(0,we.useEffect)(()=>{const He=ne("ant-sider-");return Et.addSider(He),()=>Et.removeSider(He)},[]);const _n=()=>{Gn(!Wt,"clickTrigger")},{getPrefixCls:er}=(0,we.useContext)(a.E_),je=()=>{const He=er("layout-sider",Ve),me=(0,be.Z)(gn,["collapsed"]),se=Wt?gt:Nt,ye=y(se)?`${se}px`:String(se),qe=parseFloat(String(gt||0))===0?we.createElement("span",{onClick:_n,className:Ee()(`${He}-zero-width-trigger`,`${He}-zero-width-trigger-${it?"right":"left"}`),style:xt},nt||we.createElement(Be,null)):null,Je={expanded:it?we.createElement(ue.Z,null):we.createElement(De.Z,null),collapsed:it?we.createElement(De.Z,null):we.createElement(ue.Z,null)}[Wt?"collapsed":"expanded"],jt=nt!==null?qe||we.createElement("div",{className:`${He}-trigger`,onClick:_n,style:{width:ye}},nt||Je):null,wt=Object.assign(Object.assign({},Tt),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),lt=Ee()(He,`${He}-${Qe}`,{[`${He}-collapsed`]:!!Wt,[`${He}-has-trigger`]:st&&nt!==null&&!qe,[`${He}-below`]:!!Hn,[`${He}-zero-width`]:parseFloat(ye)===0},Ye);return we.createElement("aside",Object.assign({className:lt},me,{style:wt,ref:Te}),we.createElement("div",{className:`${He}-children`},Oe),st||Hn&&qe?jt:null)},qt=we.useMemo(()=>({siderCollapsed:Wt}),[Wt]);return we.createElement(z.Provider,{value:qt},je())})},84966:function(nn,Kt,ve){"use strict";ve.d(Kt,{VY:function(){return z},$_:function(){return x},h4:function(){return b},Gs:function(){return be},ZP:function(){return ne}});var pe=ve(3300),we=ve(92310),ze=ve.n(we),At=ve(2738),Ze=ve(59301),Re=ve(36355),he=ve(83116),De=fe=>{const{componentCls:Ue,bodyBg:Pe,lightSiderBg:Te,lightTriggerBg:Ve,lightTriggerColor:Ye}=fe;return{[`${Ue}-sider-light`]:{background:Te,[`${Ue}-sider-trigger`]:{color:Ye,background:Ve},[`${Ue}-sider-zero-width-trigger`]:{color:Ye,background:Ve,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const ue=fe=>{const{antCls:Ue,componentCls:Pe,colorText:Te,triggerColor:Ve,footerBg:Ye,triggerBg:nt,headerHeight:Oe,headerPadding:Ft,headerColor:Qe,footerPadding:Tt,triggerHeight:st,zeroTriggerHeight:it,zeroTriggerWidth:Nt,motionDurationMid:gt,motionDurationSlow:xt,fontSize:ht,borderRadius:tt,bodyBg:$t,headerBg:gn,siderBg:Et}=fe;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$t,"&, *":{boxSizing:"border-box"},[`&${Pe}-has-sider`]:{flexDirection:"row",[`> ${Pe}, > ${Pe}-content`]:{width:0}},[`${Pe}-header, &${Pe}-footer`]:{flex:"0 0 auto"},[`${Pe}-sider`]:{position:"relative",minWidth:0,background:Et,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ue}-menu${Ue}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:st},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:st,color:Ve,lineHeight:`${st}px`,textAlign:"center",background:nt,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Oe,insetInlineEnd:-Nt,zIndex:1,width:Nt,height:it,color:Ve,fontSize:fe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Et,borderStartStartRadius:0,borderStartEndRadius:tt,borderEndEndRadius:tt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${xt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${xt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Nt,borderStartStartRadius:tt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:tt}}}}},De(fe)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:Oe,padding:Ft,color:Qe,lineHeight:`${Oe}px`,background:gn,[`${Ue}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Tt,color:Te,fontSize:ht,background:Ye},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var Ne=(0,he.Z)("Layout",fe=>[ue(fe)],fe=>{const{colorBgLayout:Ue,controlHeight:Pe,controlHeightLG:Te,colorText:Ve,controlHeightSM:Ye,marginXXS:nt,colorTextLightSolid:Oe,colorBgContainer:Ft}=fe,Qe=Te*1.25;return{colorBgHeader:"#001529",colorBgBody:Ue,colorBgTrigger:"#002140",bodyBg:Ue,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${Qe}px`,headerColor:Ve,footerPadding:`${Ye}px ${Qe}px`,footerBg:Ue,siderBg:"#001529",triggerHeight:Te+nt*2,triggerBg:"#002140",triggerColor:Oe,zeroTriggerWidth:Te,zeroTriggerHeight:Te,lightSiderBg:Ft,lightTriggerBg:Ft,lightTriggerColor:Ve}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ee=function(fe,Ue){var Pe={};for(var Te in fe)Object.prototype.hasOwnProperty.call(fe,Te)&&Ue.indexOf(Te)<0&&(Pe[Te]=fe[Te]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Te=Object.getOwnPropertySymbols(fe);Venull,removeSider:()=>null}});function oe(fe){let{suffixCls:Ue,tagName:Pe,displayName:Te}=fe;return Ve=>Ze.forwardRef((nt,Oe)=>Ze.createElement(Ve,Object.assign({ref:Oe,suffixCls:Ue,tagName:Pe},nt)))}const y=Ze.forwardRef((fe,Ue)=>{const{prefixCls:Pe,suffixCls:Te,className:Ve,tagName:Ye}=fe,nt=Ee(fe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Oe}=Ze.useContext(Re.E_),Ft=Oe("layout",Pe),[Qe,Tt]=Ne(Ft),st=Te?`${Ft}-${Te}`:Ft;return Qe(Ze.createElement(Ye,Object.assign({className:ze()(Pe||st,Ve,Tt),ref:Ue},nt)))}),a=Ze.forwardRef((fe,Ue)=>{const{direction:Pe}=Ze.useContext(Re.E_),[Te,Ve]=Ze.useState([]),{prefixCls:Ye,className:nt,rootClassName:Oe,children:Ft,hasSider:Qe,tagName:Tt,style:st}=fe,it=Ee(fe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Nt=(0,At.Z)(it,["suffixCls"]),{getPrefixCls:gt,layout:xt}=Ze.useContext(Re.E_),ht=gt("layout",Ye),[tt,$t]=Ne(ht),gn=ze()(ht,{[`${ht}-has-sider`]:typeof Qe=="boolean"?Qe:Te.length>0,[`${ht}-rtl`]:Pe==="rtl"},xt==null?void 0:xt.className,nt,Oe,$t),Et=Ze.useMemo(()=>({siderHook:{addSider:Wt=>{Ve(Cn=>[].concat((0,pe.Z)(Cn),[Wt]))},removeSider:Wt=>{Ve(Cn=>Cn.filter(Hn=>Hn!==Wt))}}}),[]);return tt(Ze.createElement(be.Provider,{value:Et},Ze.createElement(Tt,Object.assign({ref:Ue,className:gn,style:Object.assign(Object.assign({},xt==null?void 0:xt.style),st)},Nt),Ft)))}),E=oe({tagName:"div",displayName:"Layout"})(a),b=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ne=E},40875:function(nn,Kt,ve){"use strict";ve.d(Kt,{J:function(){return Re}});var pe=ve(59301),we=ve(33234),ze=ve(70425),At=function(he,Be){var De={};for(var ue in he)Object.prototype.hasOwnProperty.call(he,ue)&&Be.indexOf(ue)<0&&(De[ue]=he[ue]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ue=Object.getOwnPropertySymbols(he);Ne{const{children:De}=he,ue=At(he,["children"]),Ne=pe.useContext(Ze),Ee=pe.useMemo(()=>Object.assign(Object.assign({},Ne),ue),[Ne,ue.prefixCls,ue.mode,ue.selectable]);return pe.createElement(Ze.Provider,{value:Ee},pe.createElement(we.BR,null,(0,ze.supportNodeRef)(De)?pe.cloneElement(De,{ref:Be}):De))});Kt.Z=Ze},20834:function(nn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return qt}});var pe=ve(15285),we=ve(59301),ze=ve(45818),At=ve(92310),Ze=ve.n(At),Re=ve(36355),he=function(He,me){var se={};for(var ye in He)Object.prototype.hasOwnProperty.call(He,ye)&&me.indexOf(ye)<0&&(se[ye]=He[ye]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(He);qe{const{prefixCls:me,className:se,dashed:ye}=He,qe=he(He,["prefixCls","className","dashed"]),{getPrefixCls:pt}=we.useContext(Re.E_),Me=pt("menu",me),Je=Ze()({[`${Me}-item-divider-dashed`]:!!ye},se);return we.createElement(pe.iz,Object.assign({className:Je},qe))},ue=ve(11592),Ne=ve(2738),Ee=ve(6848),be=ve(92343),y=(0,we.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=He=>{var me;const{className:se,children:ye,icon:qe,title:pt,danger:Me}=He,{prefixCls:Je,firstLevel:jt,direction:wt,disableMenuItemTitleTooltip:lt,inlineCollapsed:Zt}=we.useContext(y),Sn=rr=>{const gr=we.createElement("span",{className:`${Je}-title-content`},ye);return(!qe||(0,be.l$)(ye)&&ye.type==="span")&&ye&&rr&&jt&&typeof ye=="string"?we.createElement("div",{className:`${Je}-inline-collapsed-noicon`},ye.charAt(0)):gr},{siderCollapsed:kt}=we.useContext(ze.D);let dn=pt;typeof pt=="undefined"?dn=jt?ye:"":pt===!1&&(dn="");const Ot={title:dn};!kt&&!Zt&&(Ot.title=null,Ot.open=!1);const Fn=(0,ue.Z)(ye).length;let an=we.createElement(pe.ck,Object.assign({},(0,Ne.Z)(He,["title","icon","danger"]),{className:Ze()({[`${Je}-item-danger`]:Me,[`${Je}-item-only-child`]:(qe?Fn+1:Fn)===1},se),title:typeof pt=="string"?pt:void 0}),(0,be.Tm)(qe,{className:Ze()((0,be.l$)(qe)?(me=qe.props)===null||me===void 0?void 0:me.className:"",`${Je}-item-icon`)}),Sn(Zt));return lt||(an=we.createElement(Ee.Z,Object.assign({},Ot,{placement:wt==="rtl"?"left":"right",overlayClassName:`${Je}-inline-collapsed-tooltip`}),an)),an},x=He=>{var me;const{popupClassName:se,icon:ye,title:qe,theme:pt}=He,Me=we.useContext(y),{prefixCls:Je,inlineCollapsed:jt,theme:wt}=Me,lt=(0,pe.Xl)();let Zt;if(!ye)Zt=jt&&!lt.length&&qe&&typeof qe=="string"?we.createElement("div",{className:`${Je}-inline-collapsed-noicon`},qe.charAt(0)):we.createElement("span",{className:`${Je}-title-content`},qe);else{const kt=(0,be.l$)(qe)&&qe.type==="span";Zt=we.createElement(we.Fragment,null,(0,be.Tm)(ye,{className:Ze()((0,be.l$)(ye)?(me=ye.props)===null||me===void 0?void 0:me.className:"",`${Je}-item-icon`)}),kt?qe:we.createElement("span",{className:`${Je}-title-content`},qe))}const Sn=we.useMemo(()=>Object.assign(Object.assign({},Me),{firstLevel:!1}),[Me]);return we.createElement(y.Provider,{value:Sn},we.createElement(pe.Wd,Object.assign({},(0,Ne.Z)(He,["icon"]),{title:Zt,popupClassName:Ze()(Je,se,`${Je}-${pt||wt}`)})))},z=ve(18785),ne=ve(70425),fe=ve(62892),Ue=ve(40875),Pe=function(He,me){var se={};for(var ye in He)Object.prototype.hasOwnProperty.call(He,ye)&&me.indexOf(ye)<0&&(se[ye]=He[ye]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(He);qe{if(me&&typeof me=="object"){const ye=me,{label:qe,children:pt,key:Me,type:Je}=ye,jt=Pe(ye,["label","children","key","type"]),wt=Me!=null?Me:`tmp-${se}`;return pt||Je==="group"?Je==="group"?we.createElement(pe.BW,Object.assign({key:wt},jt,{title:qe}),Te(pt)):we.createElement(x,Object.assign({key:wt},jt,{title:qe}),Te(pt)):Je==="divider"?we.createElement(De,Object.assign({key:wt},jt)):we.createElement(E,Object.assign({key:wt},jt),qe)}return null}).filter(me=>me)}function Ve(He){return we.useMemo(()=>He&&Te(He),[He])}var Ye=ve(64993),nt=ve(17313),Oe=ve(8378),Ft=ve(13826),Qe=ve(29878),Tt=ve(83116),st=ve(37613),Nt=He=>{const{componentCls:me,motionDurationSlow:se,horizontalLineHeight:ye,colorSplit:qe,lineWidth:pt,lineType:Me,itemPaddingInline:Je}=He;return{[`${me}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${pt}px ${Me} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${me}-item, ${me}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Je},[`> ${me}-item:hover, > ${me}-item-active, > ${me}-submenu ${me}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${me}-item, ${me}-submenu-title`]:{transition:[`border-color ${se}`,`background ${se}`].join(",")},[`${me}-submenu-arrow`]:{display:"none"}}}},xt=He=>{let{componentCls:me,menuArrowOffset:se}=He;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(-${se})`},"&::after":{transform:`rotate(45deg) translateY(${se})`}}}}};const ht=He=>Object.assign({},(0,nt.oN)(He));var $t=(He,me)=>{const{componentCls:se,itemColor:ye,itemSelectedColor:qe,groupTitleColor:pt,itemBg:Me,subMenuItemBg:Je,itemSelectedBg:jt,activeBarHeight:wt,activeBarWidth:lt,activeBarBorderWidth:Zt,motionDurationSlow:Sn,motionEaseInOut:kt,motionEaseOut:dn,itemPaddingInline:Ot,motionDurationMid:Fn,itemHoverColor:an,lineType:rr,colorSplit:gr,itemDisabledColor:sr,dangerItemColor:Ur,dangerItemHoverColor:Qr,dangerItemSelectedColor:aa,dangerItemActiveBg:Aa,dangerItemSelectedBg:Gr,itemHoverBg:yr,itemActiveBg:Tr,menuSubMenuBg:_r,horizontalItemSelectedColor:Ba,horizontalItemSelectedBg:Xa,horizontalItemBorderRadius:Vr,horizontalItemHoverBg:Lo,popupBg:Ho}=He;return{[`${se}-${me}, ${se}-${me} > ${se}`]:{color:ye,background:Me,[`&${se}-root:focus-visible`]:Object.assign({},ht(He)),[`${se}-item-group-title`]:{color:pt},[`${se}-submenu-selected`]:{[`> ${se}-submenu-title`]:{color:qe}},[`${se}-item-disabled, ${se}-submenu-disabled`]:{color:`${sr} !important`},[`${se}-item:not(${se}-item-selected):not(${se}-submenu-selected)`]:{[`&:hover, > ${se}-submenu-title:hover`]:{color:an}},[`&:not(${se}-horizontal)`]:{[`${se}-item:not(${se}-item-selected)`]:{"&:hover":{backgroundColor:yr},"&:active":{backgroundColor:Tr}},[`${se}-submenu-title`]:{"&:hover":{backgroundColor:yr},"&:active":{backgroundColor:Tr}}},[`${se}-item-danger`]:{color:Ur,[`&${se}-item:hover`]:{[`&:not(${se}-item-selected):not(${se}-submenu-selected)`]:{color:Qr}},[`&${se}-item:active`]:{background:Aa}},[`${se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${se}-item-selected`]:{color:qe,[`&${se}-item-danger`]:{color:aa},"a, a:hover":{color:"inherit"}},[`& ${se}-item-selected`]:{backgroundColor:jt,[`&${se}-item-danger`]:{backgroundColor:Gr}},[`${se}-item, ${se}-submenu-title`]:{[`&:not(${se}-item-disabled):focus-visible`]:Object.assign({},ht(He))},[`&${se}-submenu > ${se}`]:{backgroundColor:_r},[`&${se}-popup > ${se}`]:{backgroundColor:Ho},[`&${se}-horizontal`]:Object.assign(Object.assign({},me==="dark"?{borderBottom:0}:{}),{[`> ${se}-item, > ${se}-submenu`]:{top:Zt,marginTop:-Zt,marginBottom:0,borderRadius:Vr,"&::after":{position:"absolute",insetInline:Ot,bottom:0,borderBottom:`${wt}px solid transparent`,transition:`border-color ${Sn} ${kt}`,content:'""'},"&:hover, &-active, &-open":{background:Lo,"&::after":{borderBottomWidth:wt,borderBottomColor:Ba}},"&-selected":{color:Ba,backgroundColor:Xa,"&:hover":{backgroundColor:Xa},"&::after":{borderBottomWidth:wt,borderBottomColor:Ba}}}}),[`&${se}-root`]:{[`&${se}-inline, &${se}-vertical`]:{borderInlineEnd:`${Zt}px ${rr} ${gr}`}},[`&${se}-inline`]:{[`${se}-sub${se}-inline`]:{background:Je},[`${se}-item, ${se}-submenu-title`]:Zt&<?{width:`calc(100% + ${Zt}px)`}:{},[`${se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${lt}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Fn} ${dn}`,`opacity ${Fn} ${dn}`].join(","),content:'""'},[`&${se}-item-danger`]:{"&::after":{borderInlineEndColor:aa}}},[`${se}-selected, ${se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Fn} ${kt}`,`opacity ${Fn} ${kt}`].join(",")}}}}}};const gn=He=>{const{componentCls:me,itemHeight:se,itemMarginInline:ye,padding:qe,menuArrowSize:pt,marginXS:Me,itemMarginBlock:Je}=He,jt=qe+pt+Me;return{[`${me}-item`]:{position:"relative",overflow:"hidden"},[`${me}-item, ${me}-submenu-title`]:{height:se,lineHeight:`${se}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Je,width:`calc(100% - ${ye*2}px)`},[`> ${me}-item, > ${me}-submenu > ${me}-submenu-title`]:{height:se,lineHeight:`${se}px`},[`${me}-item-group-list ${me}-submenu-title, ${me}-submenu-title`]:{paddingInlineEnd:jt}}};var Wt=He=>{const{componentCls:me,iconCls:se,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:pt,controlHeightLG:Me,motionDurationMid:Je,motionEaseOut:jt,paddingXL:wt,itemMarginInline:lt,fontSizeLG:Zt,motionDurationSlow:Sn,paddingXS:kt,boxShadowSecondary:dn,collapsedWidth:Ot,collapsedIconSize:Fn}=He,an={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[me]:{"&-inline, &-vertical":Object.assign({[`&${me}-root`]:{boxShadow:"none"}},gn(He))},[`${me}-submenu-popup`]:{[`${me}-vertical`]:Object.assign(Object.assign({},gn(He)),{boxShadow:dn})}},{[`${me}-submenu-popup ${me}-vertical${me}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${Me*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 ${Sn}`,`background ${Sn}`,`padding ${Je} ${jt}`].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`]:an,[`& ${me}-item-group-title`]:{paddingInlineStart:wt}},[`${me}-item`]:an}},{[`${me}-inline-collapsed`]:{width:Ot,[`&${me}-root`]:{[`${me}-item, ${me}-submenu ${me}-submenu-title`]:{[`> ${me}-inline-collapsed-noicon`]:{fontSize:Zt,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% - ${Zt/2}px - ${lt}px)`,textOverflow:"clip",[` ${me}-submenu-arrow, ${me}-submenu-expand-icon `]:{opacity:0},[`${me}-item-icon, ${se}`]:{margin:0,fontSize:Fn,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${me}-item-icon, ${se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${me}-item-icon, ${se}`]:{display:"none"},"a, a:hover":{color:qe}},[`${me}-item-group-title`]:Object.assign(Object.assign({},nt.vS),{paddingInline:kt})}}]};const Cn=He=>{const{componentCls:me,motionDurationSlow:se,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:pt,iconCls:Me,iconSize:Je,iconMarginInlineEnd:jt}=He;return{[`${me}-item, ${me}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${se}`,`background ${se}`,`padding ${se} ${qe}`].join(","),[`${me}-item-icon, ${Me}`]:{minWidth:Je,fontSize:Je,transition:[`font-size ${ye} ${pt}`,`margin ${se} ${qe}`,`color ${se}`].join(","),"+ span":{marginInlineStart:jt,opacity:1,transition:[`opacity ${se} ${qe}`,`margin ${se}`,`color ${se}`].join(",")}},[`${me}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${me}-item-only-child`]:{[`> ${Me}, > ${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"}}}},Hn=He=>{const{componentCls:me,motionDurationSlow:se,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:pt,menuArrowOffset:Me}=He;return{[`${me}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:He.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${se} ${ye}, opacity ${se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:pt*.6,height:pt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${se} ${ye}`,`transform ${se} ${ye}`,`top ${se} ${ye}`,`color ${se} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Me})`},"&::after":{transform:`rotate(-45deg) translateY(${Me})`}}}}},hn=He=>{const{antCls:me,componentCls:se,fontSize:ye,motionDurationSlow:qe,motionDurationMid:pt,motionEaseInOut:Me,paddingXS:Je,padding:jt,colorSplit:wt,lineWidth:lt,zIndexPopup:Zt,borderRadiusLG:Sn,subMenuItemBorderRadius:kt,menuArrowSize:dn,menuArrowOffset:Ot,lineType:Fn,menuPanelMaskInset:an,groupTitleLineHeight:rr,groupTitleFontSize:gr}=He;return[{"":{[`${se}`]:Object.assign(Object.assign({},(0,nt.dF)()),{"&-hidden":{display:"none"}})},[`${se}-submenu-hidden`]:{display:"none"}},{[se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(He)),(0,nt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ye,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",[`${se}-item`]:{flex:"none"}},[`${se}-item, ${se}-submenu, ${se}-submenu-title`]:{borderRadius:He.itemBorderRadius},[`${se}-item-group-title`]:{padding:`${Je}px ${jt}px`,fontSize:gr,lineHeight:rr,transition:`all ${qe}`},[`&-horizontal ${se}-submenu`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`].join(",")},[`${se}-submenu, ${se}-submenu-inline`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`,`padding ${pt} ${Me}`].join(",")},[`${se}-submenu ${se}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Me}`,`padding ${qe} ${Me}`].join(",")},[`${se}-title-content`]:{transition:`color ${qe}`},[`${se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:wt,borderStyle:Fn,borderWidth:0,borderTopWidth:lt,marginBlock:lt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Cn(He)),{[`${se}-item-group`]:{[`${se}-item-group-list`]:{margin:0,padding:0,[`${se}-item, ${se}-submenu-title`]:{paddingInline:`${ye*2}px ${jt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Zt,borderRadius:Sn,boxShadow:"none",transformOrigin:"0 0",[`&${se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${an}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:an},"\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:He.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:He.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:He.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:He.paddingXS},[`> ${se}`]:Object.assign(Object.assign(Object.assign({borderRadius:Sn},Cn(He)),Hn(He)),{[`${se}-item, ${se}-submenu > ${se}-submenu-title`]:{borderRadius:kt},[`${se}-submenu-title::after`]:{transition:`transform ${qe} ${Me}`}})}}),Hn(He)),{[`&-inline-collapsed ${se}-submenu-arrow, &-inline ${se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ot})`},"&::after":{transform:`rotate(45deg) translateX(-${Ot})`}},[`${se}-submenu-open${se}-submenu-inline > ${se}-submenu-title > ${se}-submenu-arrow`]:{transform:`translateY(-${dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ot})`},"&::before":{transform:`rotate(45deg) translateX(${Ot})`}}})},{[`${me}-layout-header`]:{[se]:{lineHeight:"inherit"}}}]};var Gn=(He,me)=>(0,Tt.Z)("Menu",ye=>{if(me===!1)return[];const{colorBgElevated:qe,colorPrimary:pt,colorTextLightSolid:Me,controlHeightLG:Je,fontSize:jt,darkItemColor:wt,darkDangerItemColor:lt,darkItemBg:Zt,darkSubMenuItemBg:Sn,darkItemSelectedColor:kt,darkItemSelectedBg:dn,darkDangerItemSelectedBg:Ot,darkItemHoverBg:Fn,darkGroupTitleColor:an,darkItemHoverColor:rr,darkItemDisabledColor:gr,darkDangerItemHoverColor:sr,darkDangerItemSelectedColor:Ur,darkDangerItemActiveBg:Qr}=ye,aa=jt/7*5,Aa=(0,st.TS)(ye,{menuArrowSize:aa,menuHorizontalHeight:Je*1.15,menuArrowOffset:`${aa*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),Gr=(0,st.TS)(Aa,{itemColor:wt,itemHoverColor:rr,groupTitleColor:an,itemSelectedColor:kt,itemBg:Zt,popupBg:Zt,subMenuItemBg:Sn,itemActiveBg:"transparent",itemSelectedBg:dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Fn,itemDisabledColor:gr,dangerItemColor:lt,dangerItemHoverColor:sr,dangerItemSelectedColor:Ur,dangerItemActiveBg:Qr,dangerItemSelectedBg:Ot,menuSubMenuBg:Sn,horizontalItemSelectedColor:Me,horizontalItemSelectedBg:pt});return[hn(Aa),Nt(Aa),Wt(Aa),$t(Aa,"light"),$t(Gr,"dark"),xt(Aa),(0,Oe.Z)(Aa),(0,Ft.oN)(Aa,"slide-up"),(0,Ft.oN)(Aa,"slide-down"),(0,Qe._y)(Aa,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:pt,colorTextDisabled:Me,colorErrorBg:Je,colorText:jt,colorTextDescription:wt,colorBgContainer:lt,colorFillAlter:Zt,colorFillContent:Sn,lineWidth:kt,lineWidthBold:dn,controlItemBgActive:Ot,colorBgTextHover:Fn,controlHeightLG:an,lineHeight:rr,colorBgElevated:gr,marginXXS:sr,padding:Ur,fontSize:Qr,controlHeightSM:aa,fontSizeLG:Aa,colorTextLightSolid:Gr,colorErrorHover:yr}=ye,Tr=new Ye.C(Gr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:jt,itemColor:jt,colorItemTextHover:jt,itemHoverColor:jt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:wt,groupTitleColor:wt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:lt,itemBg:lt,colorItemBgHover:Fn,itemHoverBg:Fn,colorItemBgActive:Sn,itemActiveBg:Ot,colorSubItemBg:Zt,subMenuItemBg:Zt,colorItemBgSelected:Ot,itemSelectedBg:Ot,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:dn,activeBarHeight:dn,colorActiveBarBorderSize:kt,activeBarBorderWidth:kt,colorItemTextDisabled:Me,itemDisabledColor:Me,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:Je,dangerItemActiveBg:Je,colorDangerItemBgSelected:Je,dangerItemSelectedBg:Je,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:an,groupTitleLineHeight:rr,collapsedWidth:an*2,popupBg:gr,itemMarginBlock:sr,itemPaddingInline:Ur,horizontalLineHeight:`${an*1.15}px`,iconSize:Qr,iconMarginInlineEnd:aa-Qr,collapsedIconSize:Aa,groupTitleFontSize:Qr,darkItemDisabledColor:new Ye.C(Gr).setAlpha(.25).toRgbString(),darkItemColor:Tr,darkDangerItemColor:pt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Gr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:Tr,darkItemHoverColor:Gr,darkDangerItemHoverColor:yr,darkDangerItemSelectedColor:Gr,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"]]})(He),Dt=function(He,me){var se={};for(var ye in He)Object.prototype.hasOwnProperty.call(He,ye)&&me.indexOf(ye)<0&&(se[ye]=He[ye]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(He);qe{var se,ye;const qe=we.useContext(Ue.Z),pt=qe||{},{getPrefixCls:Me,getPopupContainer:Je,direction:jt,menu:wt}=we.useContext(Re.E_),lt=Me(),{prefixCls:Zt,className:Sn,style:kt,theme:dn="light",expandIcon:Ot,_internalDisableMenuItemTitleTooltip:Fn,inlineCollapsed:an,siderCollapsed:rr,items:gr,children:sr,rootClassName:Ur,mode:Qr,selectable:aa,onClick:Aa,overflowedIndicatorPopupClassName:Gr}=He,yr=Dt(He,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Tr=(0,Ne.Z)(yr,["collapsedWidth"]),_r=Ve(gr)||sr;(se=pt.validator)===null||se===void 0||se.call(pt,{mode:Qr});const Ba=(0,ne.useEvent)(function(){var xo;Aa==null||Aa.apply(void 0,arguments),(xo=pt.onClick)===null||xo===void 0||xo.call(pt)}),Xa=pt.mode||Qr,Vr=aa!=null?aa:pt.selectable,Lo=we.useMemo(()=>rr!==void 0?rr:an,[an,rr]),Ho={horizontal:{motionName:`${lt}-slide-up`},inline:(0,fe.Z)(lt),other:{motionName:`${lt}-zoom-big`}},ta=Me("menu",Zt||pt.prefixCls),[mn,yi]=Gn(ta,!qe),li=Ze()(`${ta}-${dn}`,wt==null?void 0:wt.className,Sn);let ii;if(typeof Ot=="function")ii=Ot;else if(Ot===null||Ot===!1)ii=null;else if(pt.expandIcon===null||pt.expandIcon===!1)ii=null;else{const xo=Ot!=null?Ot:pt.expandIcon;ii=(0,be.Tm)(xo,{className:Ze()(`${ta}-submenu-expand-icon`,(0,be.l$)(xo)?(ye=xo.props)===null||ye===void 0?void 0:ye.className:"")})}const Ei=we.useMemo(()=>({prefixCls:ta,inlineCollapsed:Lo||!1,direction:jt,firstLevel:!0,theme:dn,mode:Xa,disableMenuItemTitleTooltip:Fn}),[ta,Lo,jt,Fn,dn]);return mn(we.createElement(Ue.Z.Provider,{value:null},we.createElement(y.Provider,{value:Ei},we.createElement(pe.ZP,Object.assign({getPopupContainer:Je,overflowedIndicator:we.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ze()(ta,`${ta}-${dn}`,Gr),mode:Xa,selectable:Vr,onClick:Ba},Tr,{inlineCollapsed:Lo,style:Object.assign(Object.assign({},wt==null?void 0:wt.style),kt),className:li,prefixCls:ta,direction:jt,defaultMotions:Ho,expandIcon:ii,ref:me,rootClassName:Ze()(Ur,yi)}),_r))))});const je=(0,we.forwardRef)((He,me)=>{const se=(0,we.useRef)(null),ye=we.useContext(ze.D);return(0,we.useImperativeHandle)(me,()=>({menu:se.current,focus:qe=>{var pt;(pt=se.current)===null||pt===void 0||pt.focus(qe)}})),we.createElement(er,Object.assign({ref:se},He,ye))});je.Item=E,je.SubMenu=x,je.Divider=De,je.ItemGroup=pe.BW;var qt=je},58421:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return pt}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function(Je,jt){return we.createElement(Ze.Z,(0,pe.Z)({},Je,{ref:jt,icon:At}))},he=we.forwardRef(Re),Be=he,De=ve(49198),ue=ve(33853),Ne=ve(38819),Ee=ve(92310),be=ve.n(Ee),oe=ve(74430),y=ve(27247),a=ve(33377),E=ve(93912),b=ve(18881),x=ve(85461),z=ve(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},fe=ne,Ue=ve(91735),Pe=function(Me){(0,b.Z)(jt,Me);var Je=(0,x.Z)(jt);function jt(){var wt;(0,a.Z)(this,jt);for(var lt=arguments.length,Zt=new Array(lt),Sn=0;Sn=0||kt.relatedTarget.className.indexOf("".concat(an,"-item"))>=0))&&Fn(wt.getValidValue()))},wt.go=function(kt){var dn=wt.state.goInputText;dn!==""&&(kt.keyCode===fe.ENTER||kt.type==="click")&&(wt.setState({goInputText:""}),wt.props.quickGo(wt.getValidValue()))},wt}return(0,E.Z)(jt,[{key:"getPageSizeOptions",value:function(){var lt=this.props,Zt=lt.pageSize,Sn=lt.pageSizeOptions;return Sn.some(function(kt){return kt.toString()===Zt.toString()})?Sn:Sn.concat([Zt.toString()]).sort(function(kt,dn){var Ot=Number.isNaN(Number(kt))?0:Number(kt),Fn=Number.isNaN(Number(dn))?0:Number(dn);return Ot-Fn})}},{key:"render",value:function(){var lt=this,Zt=this.props,Sn=Zt.pageSize,kt=Zt.locale,dn=Zt.rootPrefixCls,Ot=Zt.changeSize,Fn=Zt.quickGo,an=Zt.goButton,rr=Zt.selectComponentClass,gr=Zt.buildOptionText,sr=Zt.selectPrefixCls,Ur=Zt.disabled,Qr=this.state.goInputText,aa="".concat(dn,"-options"),Aa=rr,Gr=null,yr=null,Tr=null;if(!Ot&&!Fn)return null;var _r=this.getPageSizeOptions();if(Ot&&Aa){var Ba=_r.map(function(Xa,Vr){return we.createElement(Aa.Option,{key:Vr,value:Xa.toString()},(gr||lt.buildOptionText)(Xa))});Gr=we.createElement(Aa,{disabled:Ur,prefixCls:sr,showSearch:!1,className:"".concat(aa,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Sn||_r[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Vr){return Vr.parentNode},"aria-label":kt.page_size,defaultOpen:!1},Ba)}return Fn&&(an&&(Tr=typeof an=="boolean"?we.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ur,className:"".concat(aa,"-quick-jumper-button")},kt.jump_to_confirm):we.createElement("span",{onClick:this.go,onKeyUp:this.go},an)),yr=we.createElement("div",{className:"".concat(aa,"-quick-jumper")},kt.jump_to,we.createElement("input",{disabled:Ur,type:"text",value:Qr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":kt.page}),kt.page,Tr)),we.createElement("li",{className:"".concat(aa)},Gr,yr)}}]),jt}(we.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Te=Pe,Ve=function(Je){var jt,wt=Je.rootPrefixCls,lt=Je.page,Zt=Je.active,Sn=Je.className,kt=Je.showTitle,dn=Je.onClick,Ot=Je.onKeyPress,Fn=Je.itemRender,an="".concat(wt,"-item"),rr=be()(an,"".concat(an,"-").concat(lt),(jt={},(0,oe.Z)(jt,"".concat(an,"-active"),Zt),(0,oe.Z)(jt,"".concat(an,"-disabled"),!lt),(0,oe.Z)(jt,Je.className,Sn),jt)),gr=function(){dn(lt)},sr=function(aa){Ot(aa,dn,lt)},Ur=Fn(lt,"page",we.createElement("a",{rel:"nofollow"},lt));return Ur?we.createElement("li",{title:kt?lt.toString():null,className:rr,onClick:gr,onKeyPress:sr,tabIndex:0},Ur):null},Ye=Ve;function nt(){}function Oe(Me){var Je=Number(Me);return typeof Je=="number"&&!Number.isNaN(Je)&&isFinite(Je)&&Math.floor(Je)===Je}var Ft=function(Je,jt,wt){return wt};function Qe(Me,Je,jt){var wt=typeof Me=="undefined"?Je.pageSize:Me;return Math.floor((jt.total-1)/wt)+1}var Tt=function(Me){(0,b.Z)(jt,Me);var Je=(0,x.Z)(jt);function jt(wt){var lt;(0,a.Z)(this,jt),lt=Je.call(this,wt),lt.paginationNode=we.createRef(),lt.getJumpPrevPage=function(){return Math.max(1,lt.state.current-(lt.props.showLessItems?3:5))},lt.getJumpNextPage=function(){return Math.min(Qe(void 0,lt.state,lt.props),lt.state.current+(lt.props.showLessItems?3:5))},lt.getItemIcon=function(Ot,Fn){var an=lt.props.prefixCls,rr=Ot||we.createElement("button",{type:"button","aria-label":Fn,className:"".concat(an,"-item-link")});return typeof Ot=="function"&&(rr=we.createElement(Ot,(0,y.Z)({},lt.props))),rr},lt.isValid=function(Ot){var Fn=lt.props.total;return Oe(Ot)&&Ot!==lt.state.current&&Oe(Fn)&&Fn>0},lt.shouldDisplayQuickJumper=function(){var Ot=lt.props,Fn=Ot.showQuickJumper,an=Ot.total,rr=lt.state.pageSize;return an<=rr?!1:Fn},lt.handleKeyDown=function(Ot){(Ot.keyCode===fe.ARROW_UP||Ot.keyCode===fe.ARROW_DOWN)&&Ot.preventDefault()},lt.handleKeyUp=function(Ot){var Fn=lt.getValidValue(Ot),an=lt.state.currentInputValue;Fn!==an&<.setState({currentInputValue:Fn}),Ot.keyCode===fe.ENTER?lt.handleChange(Fn):Ot.keyCode===fe.ARROW_UP?lt.handleChange(Fn-1):Ot.keyCode===fe.ARROW_DOWN&<.handleChange(Fn+1)},lt.handleBlur=function(Ot){var Fn=lt.getValidValue(Ot);lt.handleChange(Fn)},lt.changePageSize=function(Ot){var Fn=lt.state.current,an=Qe(Ot,lt.state,lt.props);Fn=Fn>an?an:Fn,an===0&&(Fn=lt.state.current),typeof Ot=="number"&&("pageSize"in lt.props||lt.setState({pageSize:Ot}),"current"in lt.props||lt.setState({current:Fn,currentInputValue:Fn})),lt.props.onShowSizeChange(Fn,Ot),"onChange"in lt.props&<.props.onChange&<.props.onChange(Fn,Ot)},lt.handleChange=function(Ot){var Fn=lt.props,an=Fn.disabled,rr=Fn.onChange,gr=lt.state,sr=gr.pageSize,Ur=gr.current,Qr=gr.currentInputValue;if(lt.isValid(Ot)&&!an){var aa=Qe(void 0,lt.state,lt.props),Aa=Ot;return Ot>aa?Aa=aa:Ot<1&&(Aa=1),"current"in lt.props||lt.setState({current:Aa}),Aa!==Qr&<.setState({currentInputValue:Aa}),rr(Aa,sr),Aa}return Ur},lt.prev=function(){lt.hasPrev()&<.handleChange(lt.state.current-1)},lt.next=function(){lt.hasNext()&<.handleChange(lt.state.current+1)},lt.jumpPrev=function(){lt.handleChange(lt.getJumpPrevPage())},lt.jumpNext=function(){lt.handleChange(lt.getJumpNextPage())},lt.hasPrev=function(){return lt.state.current>1},lt.hasNext=function(){return lt.state.current2?an-2:0),gr=2;gr=Sn?dn=Sn:dn=Number(Zt),dn}},{key:"getShowSizeChanger",value:function(){var lt=this.props,Zt=lt.showSizeChanger,Sn=lt.total,kt=lt.totalBoundaryShowSizeChanger;return typeof Zt!="undefined"?Zt:Sn>kt}},{key:"render",value:function(){var lt=this.props,Zt=lt.prefixCls,Sn=lt.className,kt=lt.style,dn=lt.disabled,Ot=lt.hideOnSinglePage,Fn=lt.total,an=lt.locale,rr=lt.showQuickJumper,gr=lt.showLessItems,sr=lt.showTitle,Ur=lt.showTotal,Qr=lt.simple,aa=lt.itemRender,Aa=lt.showPrevNextJumpers,Gr=lt.jumpPrevIcon,yr=lt.jumpNextIcon,Tr=lt.selectComponentClass,_r=lt.selectPrefixCls,Ba=lt.pageSizeOptions,Xa=this.state,Vr=Xa.current,Lo=Xa.pageSize,Ho=Xa.currentInputValue;if(Ot===!0&&Fn<=Lo)return null;var ta=Qe(void 0,this.state,this.props),mn=[],yi=null,li=null,ii=null,Ei=null,xo=null,Mi=rr&&rr.goButton,di=gr?1:2,ti=Vr-1>0?Vr-1:0,In=Vr+1Fn?Fn:Vr*Lo]));if(Qr){Mi&&(typeof Mi=="boolean"?xo=we.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},an.jump_to_confirm):xo=we.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Mi),xo=we.createElement("li",{title:sr?"".concat(an.jump_to).concat(Vr,"/").concat(ta):null,className:"".concat(Zt,"-simple-pager")},xo));var kr=this.renderPrev(ti);return we.createElement("ul",(0,pe.Z)({className:be()(Zt,"".concat(Zt,"-simple"),(0,oe.Z)({},"".concat(Zt,"-disabled"),dn),Sn),style:kt,ref:this.paginationNode},zn),wn,kr?we.createElement("li",{title:sr?an.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:be()("".concat(Zt,"-prev"),(0,oe.Z)({},"".concat(Zt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kr):null,we.createElement("li",{title:sr?"".concat(Vr,"/").concat(ta):null,className:"".concat(Zt,"-simple-pager")},we.createElement("input",{type:"text",value:Ho,disabled:dn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),we.createElement("span",{className:"".concat(Zt,"-slash")},"/"),ta),we.createElement("li",{title:sr?an.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:be()("".concat(Zt,"-next"),(0,oe.Z)({},"".concat(Zt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(In)),xo)}if(ta<=3+di*2){var sa={locale:an,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:sr,itemRender:aa};ta||mn.push(we.createElement(Ye,(0,pe.Z)({},sa,{key:"noPager",page:1,className:"".concat(Zt,"-item-disabled")})));for(var Dr=1;Dr<=ta;Dr+=1){var fa=Vr===Dr;mn.push(we.createElement(Ye,(0,pe.Z)({},sa,{key:Dr,page:Dr,active:fa})))}}else{var Ua=gr?an.prev_3:an.prev_5,xa=gr?an.next_3:an.next_5,no=aa(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Gr,"prev page")),Ai=aa(this.getJumpNextPage(),"jump-next",this.getItemIcon(yr,"next page"));Aa&&(yi=no?we.createElement("li",{title:sr?Ua:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:be()("".concat(Zt,"-jump-prev"),(0,oe.Z)({},"".concat(Zt,"-jump-prev-custom-icon"),!!Gr))},no):null,li=Ai?we.createElement("li",{title:sr?xa:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:be()("".concat(Zt,"-jump-next"),(0,oe.Z)({},"".concat(Zt,"-jump-next-custom-icon"),!!yr))},Ai):null),Ei=we.createElement(Ye,{locale:an,last:!0,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ta,page:ta,active:!1,showTitle:sr,itemRender:aa}),ii=we.createElement(Ye,{locale:an,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:sr,itemRender:aa});var Cr=Math.max(1,Vr-di),Oa=Math.min(Vr+di,ta);Vr-1<=di&&(Oa=1+di*2),ta-Vr<=di&&(Cr=ta-di*2);for(var ni=Cr;ni<=Oa;ni+=1){var Io=Vr===ni;mn.push(we.createElement(Ye,{locale:an,rootPrefixCls:Zt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ni,page:ni,active:Io,showTitle:sr,itemRender:aa}))}Vr-1>=di*2&&Vr!==3&&(mn[0]=(0,we.cloneElement)(mn[0],{className:"".concat(Zt,"-item-after-jump-prev")}),mn.unshift(yi)),ta-Vr>=di*2&&Vr!==ta-2&&(mn[mn.length-1]=(0,we.cloneElement)(mn[mn.length-1],{className:"".concat(Zt,"-item-before-jump-next")}),mn.push(li)),Cr!==1&&mn.unshift(ii),Oa!==ta&&mn.push(Ei)}var zo=!this.hasPrev()||!ta,uo=!this.hasNext()||!ta,hi=this.renderPrev(ti),Oi=this.renderNext(In);return we.createElement("ul",(0,pe.Z)({className:be()(Zt,Sn,(0,oe.Z)({},"".concat(Zt,"-disabled"),dn)),style:kt,ref:this.paginationNode},zn),wn,hi?we.createElement("li",{title:sr?an.prev_page:null,onClick:this.prev,tabIndex:zo?null:0,onKeyPress:this.runIfEnterPrev,className:be()("".concat(Zt,"-prev"),(0,oe.Z)({},"".concat(Zt,"-disabled"),zo)),"aria-disabled":zo},hi):null,mn,Oi?we.createElement("li",{title:sr?an.next_page:null,onClick:this.next,tabIndex:uo?null:0,onKeyPress:this.runIfEnterNext,className:be()("".concat(Zt,"-next"),(0,oe.Z)({},"".concat(Zt,"-disabled"),uo)),"aria-disabled":uo},Oi):null,we.createElement(Te,{disabled:dn,locale:an,rootPrefixCls:Zt,selectComponentClass:Tr,selectPrefixCls:_r,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Vr,pageSize:Lo,pageSizeOptions:Ba,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Mi}))}}],[{key:"getDerivedStateFromProps",value:function(lt,Zt){var Sn={};if("current"in lt&&(Sn.current=lt.current,lt.current!==Zt.current&&(Sn.currentInputValue=Sn.current)),"pageSize"in lt&<.pageSize!==Zt.pageSize){var kt=Zt.current,dn=Qe(lt.pageSize,Zt,lt);kt=kt>dn?dn:kt,"current"in lt||(Sn.current=kt,Sn.currentInputValue=kt),Sn.pageSize=lt.pageSize}return Sn}}]),jt}(we.Component);Tt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:nt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:nt,locale:Ue.Z,style:{},itemRender:Ft,totalBoundaryShowSizeChanger:50};var st=Tt,it=ve(22075),Nt=ve(36355),gt=ve(19716),xt=ve(8628),ht=ve(9763),tt=ve(57809);const $t=Me=>we.createElement(tt.default,Object.assign({},Me,{showSearch:!0,size:"small"})),gn=Me=>we.createElement(tt.default,Object.assign({},Me,{showSearch:!0,size:"middle"}));$t.Option=tt.default.Option,gn.Option=tt.default.Option;var Et=ve(9937),Wt=ve(17313),Cn=ve(83116),Hn=ve(37613);const hn=Me=>{const{componentCls:Je}=Me;return{[`${Je}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Je}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Je}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}}},[`&${Je}-disabled`]:{cursor:"not-allowed",[`${Je}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Me.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Me.colorBorder,backgroundColor:Me.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Me.itemActiveBgDisabled},a:{color:Me.itemActiveColorDisabled}}},[`${Je}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Je}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Je}-simple-pager`]:{color:Me.colorTextDisabled},[`${Je}-jump-prev, ${Je}-jump-next`]:{[`${Je}-item-link-icon`]:{opacity:0},[`${Je}-item-ellipsis`]:{opacity:1}}},[`&${Je}-simple`]:{[`${Je}-prev, ${Je}-next`]:{[`&${Je}-disabled ${Je}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Gn=Me=>{const{componentCls:Je}=Me;return{[`&${Je}-mini ${Je}-total-text, &${Je}-mini ${Je}-simple-pager`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`},[`&${Je}-mini ${Je}-item`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM-2}px`},[`&${Je}-mini:not(${Je}-disabled) ${Je}-item:not(${Je}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},[`&${Je}-mini ${Je}-prev, &${Je}-mini ${Je}-next`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Je}-mini:not(${Je}-disabled)`]:{[`${Je}-prev, ${Je}-next`]:{[`&:hover ${Je}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Je}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Je}-disabled:hover ${Je}-item-link`]:{backgroundColor:"transparent"}}},[` &${Je}-mini ${Je}-prev ${Je}-item-link, &${Je}-mini ${Je}-next ${Je}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}},[`&${Je}-mini ${Je}-jump-prev, &${Je}-mini ${Je}-jump-next`]:{height:Me.itemSizeSM,marginInlineEnd:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Je}-mini ${Je}-options`]:{marginInlineStart:Me.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Me.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Et.x0)(Me)),{width:Me.paginationMiniQuickJumperInputWidth,height:Me.controlHeightSM})}}}},Dt=Me=>{const{componentCls:Je}=Me;return{[` &${Je}-simple ${Je}-prev, &${Je}-simple ${Je}-next `]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,verticalAlign:"top",[`${Je}-item-link`]:{height:Me.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive},"&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}}},[`&${Je}-simple ${Je}-simple-pager`]:{display:"inline-block",height:Me.itemSizeSM,marginInlineEnd:Me.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Me.marginXS,padding:`0 ${Me.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Me.itemInputBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,borderRadius:Me.borderRadius,outline:"none",transition:`border-color ${Me.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Me.colorPrimary},"&:focus":{borderColor:Me.colorPrimaryHover,boxShadow:`${Me.inputOutlineOffset}px 0 ${Me.controlOutlineWidth}px ${Me.controlOutline}`},"&[disabled]":{color:Me.colorTextDisabled,backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,cursor:"not-allowed"}}}}},_n=Me=>{const{componentCls:Je}=Me;return{[`${Je}-jump-prev, ${Je}-jump-next`]:{outline:0,[`${Je}-item-container`]:{position:"relative",[`${Je}-item-link-icon`]:{color:Me.colorPrimary,fontSize:Me.fontSizeSM,opacity:0,transition:`all ${Me.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Je}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Me.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Me.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Me.paginationEllipsisTextIndent,opacity:1,transition:`all ${Me.motionDurationMid}`}},"&:hover":{[`${Je}-item-link-icon`]:{opacity:1},[`${Je}-item-ellipsis`]:{opacity:0}}},[` ${Je}-prev, ${Je}-jump-prev, ${Je}-jump-next `]:{marginInlineEnd:Me.marginXS},[` ${Je}-prev, ${Je}-next, ${Je}-jump-prev, ${Je}-jump-next `]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,color:Me.colorText,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Me.borderRadius,cursor:"pointer",transition:`all ${Me.motionDurationMid}`},[`${Je}-prev, ${Je}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Me.colorText,cursor:"pointer",userSelect:"none"},[`${Je}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Me.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:"none",transition:`all ${Me.motionDurationMid}`},[`&:hover ${Je}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Je}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Je}-disabled:hover`]:{[`${Je}-item-link`]:{backgroundColor:"transparent"}}},[`${Je}-slash`]:{marginInlineEnd:Me.paginationSlashMarginInlineEnd,marginInlineStart:Me.paginationSlashMarginInlineStart},[`${Je}-options`]:{display:"inline-block",marginInlineStart:Me.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Me.controlHeight,marginInlineStart:Me.marginXS,lineHeight:`${Me.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Et.ik)(Me)),{width:Me.controlHeightLG*1.25,height:Me.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Me.marginXS,marginInlineEnd:Me.marginXS})}}}},er=Me=>{const{componentCls:Je}=Me;return{[`${Je}-item`]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,marginInlineEnd:Me.marginXS,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Me.paginationItemPaddingInline}px`,color:Me.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Je}-item-active)`]:{"&:hover":{transition:`all ${Me.motionDurationMid}`,backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},"&-active":{fontWeight:Me.fontWeightStrong,backgroundColor:Me.itemActiveBg,borderColor:Me.colorPrimary,a:{color:Me.colorPrimary},"&:hover":{borderColor:Me.colorPrimaryHover},"&:hover a":{color:Me.colorPrimaryHover}}}}},je=Me=>{const{componentCls:Je}=Me;return{[Je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Wt.Wf)(Me)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Je}-total-text`]:{display:"inline-block",height:Me.itemSize,marginInlineEnd:Me.marginXS,lineHeight:`${Me.itemSize-2}px`,verticalAlign:"middle"}}),er(Me)),_n(Me)),Dt(Me)),Gn(Me)),hn(Me)),{[`@media only screen and (max-width: ${Me.screenLG}px)`]:{[`${Je}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Me.screenSM}px)`]:{[`${Je}-options`]:{display:"none"}}}),[`&${Me.componentCls}-rtl`]:{direction:"rtl"}}},qt=Me=>{const{componentCls:Je}=Me;return{[`${Je}${Je}-disabled:not(${Je}-mini)`]:{"&, &:hover":{[`${Je}-item-link`]:{borderColor:Me.colorBorder}},"&:focus-visible":{[`${Je}-item-link`]:{borderColor:Me.colorBorder}},[`${Je}-item, ${Je}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,[`&:hover:not(${Je}-item-active)`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,a:{color:Me.colorTextDisabled}},[`&${Je}-item-active`]:{backgroundColor:Me.itemActiveBgDisabled}},[`${Je}-prev, ${Je}-next`]:{"&:hover button":{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,color:Me.colorTextDisabled},[`${Je}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder}}},[`${Je}:not(${Je}-mini)`]:{[`${Je}-prev, ${Je}-next`]:{"&:hover button":{borderColor:Me.colorPrimaryHover,backgroundColor:Me.itemBg},[`${Je}-item-link`]:{backgroundColor:Me.itemLinkBg,borderColor:Me.colorBorder},[`&:hover ${Je}-item-link`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,color:Me.colorPrimary},[`&${Je}-disabled`]:{[`${Je}-item-link`]:{borderColor:Me.colorBorder,color:Me.colorTextDisabled}}},[`${Je}-item`]:{backgroundColor:Me.itemBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,[`&:hover:not(${Je}-item-active)`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,a:{color:Me.colorPrimary}},"&-active":{borderColor:Me.colorPrimary}}}}},He=Me=>{const{componentCls:Je}=Me;return{[`${Je}:not(${Je}-disabled)`]:{[`${Je}-item`]:Object.assign({},(0,Wt.Qy)(Me)),[`${Je}-jump-prev, ${Je}-jump-next`]:{"&:focus-visible":Object.assign({[`${Je}-item-link-icon`]:{opacity:1},[`${Je}-item-ellipsis`]:{opacity:0}},(0,Wt.oN)(Me))},[`${Je}-prev, ${Je}-next`]:{[`&:focus-visible ${Je}-item-link`]:Object.assign({},(0,Wt.oN)(Me))}}}};var me=(0,Cn.Z)("Pagination",Me=>{const Je=(0,Hn.TS)(Me,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Me.marginXXS/2,paginationMiniQuickJumperInputWidth:Me.controlHeightLG*1.1,paginationItemPaddingInline:Me.marginXXS*1.5,paginationEllipsisLetterSpacing:Me.marginXXS/2,paginationSlashMarginInlineStart:Me.marginXXS,paginationSlashMarginInlineEnd:Me.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Et.e5)(Me),(0,Et.TM)(Me));return[je(Je),He(Je),Me.wireframe&&qt(Je)]},Me=>({itemBg:Me.colorBgContainer,itemSize:Me.controlHeight,itemSizeSM:Me.controlHeightSM,itemActiveBg:Me.colorBgContainer,itemLinkBg:Me.colorBgContainer,itemActiveColorDisabled:Me.colorTextDisabled,itemActiveBgDisabled:Me.controlItemBgActiveDisabled,itemInputBg:Me.colorBgContainer,miniOptionsSizeChangerTop:0})),se=function(Me,Je){var jt={};for(var wt in Me)Object.prototype.hasOwnProperty.call(Me,wt)&&Je.indexOf(wt)<0&&(jt[wt]=Me[wt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,wt=Object.getOwnPropertySymbols(Me);lt{const{prefixCls:Je,selectPrefixCls:jt,className:wt,rootClassName:lt,style:Zt,size:Sn,locale:kt,selectComponentClass:dn,responsive:Ot,showSizeChanger:Fn}=Me,an=se(Me,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:rr}=(0,xt.Z)(Ot),{getPrefixCls:gr,direction:sr,pagination:Ur={}}=we.useContext(Nt.E_),Qr=gr("pagination",Je),[aa,Aa]=me(Qr),Gr=Fn!=null?Fn:Ur.showSizeChanger,yr=we.useMemo(()=>{const ta=we.createElement("span",{className:`${Qr}-item-ellipsis`},"\u2022\u2022\u2022"),mn=we.createElement("button",{className:`${Qr}-item-link`,type:"button",tabIndex:-1},sr==="rtl"?we.createElement(Ne.Z,null):we.createElement(ue.Z,null)),yi=we.createElement("button",{className:`${Qr}-item-link`,type:"button",tabIndex:-1},sr==="rtl"?we.createElement(ue.Z,null):we.createElement(Ne.Z,null)),li=we.createElement("a",{className:`${Qr}-item-link`},we.createElement("div",{className:`${Qr}-item-container`},sr==="rtl"?we.createElement(De.Z,{className:`${Qr}-item-link-icon`}):we.createElement(Be,{className:`${Qr}-item-link-icon`}),ta)),ii=we.createElement("a",{className:`${Qr}-item-link`},we.createElement("div",{className:`${Qr}-item-container`},sr==="rtl"?we.createElement(Be,{className:`${Qr}-item-link-icon`}):we.createElement(De.Z,{className:`${Qr}-item-link-icon`}),ta));return{prevIcon:mn,nextIcon:yi,jumpPrevIcon:li,jumpNextIcon:ii}},[sr,Qr]),[Tr]=(0,ht.Z)("Pagination",it.Z),_r=Object.assign(Object.assign({},Tr),kt),Ba=(0,gt.Z)(Sn),Xa=Ba==="small"||!!(rr&&!Ba&&Ot),Vr=gr("select",jt),Lo=be()({[`${Qr}-mini`]:Xa,[`${Qr}-rtl`]:sr==="rtl"},Ur==null?void 0:Ur.className,wt,lt,Aa),Ho=Object.assign(Object.assign({},Ur==null?void 0:Ur.style),Zt);return aa(we.createElement(st,Object.assign({},yr,an,{style:Ho,prefixCls:Qr,selectPrefixCls:Vr,className:Lo,selectComponentClass:dn||(Xa?$t:gn),locale:_r,showSizeChanger:Gr})))},pt=qe},13570:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ht}});var pe=ve(32855),we=ve(59301),ze={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"},At=ze,Ze=ve(7657),Re=function($t,gn){return we.createElement(Ze.Z,(0,pe.Z)({},$t,{ref:gn,icon:At}))},he=we.forwardRef(Re),Be=he,De=ve(92310),ue=ve.n(De),Ne=ve(74430),Ee=ve(11913),be=ve(43079),oe=ve(18929),y=ve(10228),a=ve(26112);function E(tt,$t){var gn=tt.disabled,Et=tt.prefixCls,Wt=tt.character,Cn=tt.characterRender,Hn=tt.index,hn=tt.count,Gn=tt.value,Dt=tt.allowHalf,_n=tt.focused,er=tt.onHover,je=tt.onClick,qt=function(Je){er(Je,Hn)},He=function(Je){je(Je,Hn)},me=function(Je){Je.keyCode===y.Z.ENTER&&je(Je,Hn)},se=Hn+1,ye=new Set([Et]);Gn===0&&Hn===0&&_n?ye.add("".concat(Et,"-focused")):Dt&&Gn+.5>=se&&GnHn?"true":"false","aria-posinset":Hn+1,"aria-setsize":hn,tabIndex:gn?-1:0},we.createElement("div",{className:"".concat(Et,"-first")},qe),we.createElement("div",{className:"".concat(Et,"-second")},qe)));return Cn&&(pt=Cn(pt,tt)),pt}var b=we.forwardRef(E);function x(){var tt=we.useRef({});function $t(Et){return tt.current[Et]}function gn(Et){return function(Wt){tt.current[Et]=Wt}}return[$t,gn]}function z(tt){var $t=tt.pageXOffset,gn="scrollLeft";if(typeof $t!="number"){var Et=tt.document;$t=Et.documentElement[gn],typeof $t!="number"&&($t=Et.body[gn])}return $t}function ne(tt){var $t,gn,Et=tt.ownerDocument,Wt=Et.body,Cn=Et&&Et.documentElement,Hn=tt.getBoundingClientRect();return $t=Hn.left,gn=Hn.top,$t-=Cn.clientLeft||Wt.clientLeft||0,gn-=Cn.clientTop||Wt.clientTop||0,{left:$t,top:gn}}function fe(tt){var $t=ne(tt),gn=tt.ownerDocument,Et=gn.defaultView||gn.parentWindow;return $t.left+=z(Et),$t.left}var Ue=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Pe(tt,$t){var gn,Et=tt.prefixCls,Wt=Et===void 0?"rc-rate":Et,Cn=tt.className,Hn=tt.defaultValue,hn=tt.value,Gn=tt.count,Dt=Gn===void 0?5:Gn,_n=tt.allowHalf,er=_n===void 0?!1:_n,je=tt.allowClear,qt=je===void 0?!0:je,He=tt.character,me=He===void 0?"\u2605":He,se=tt.characterRender,ye=tt.disabled,qe=tt.direction,pt=qe===void 0?"ltr":qe,Me=tt.tabIndex,Je=Me===void 0?0:Me,jt=tt.autoFocus,wt=tt.onHoverChange,lt=tt.onChange,Zt=tt.onFocus,Sn=tt.onBlur,kt=tt.onKeyDown,dn=tt.onMouseLeave,Ot=(0,be.Z)(tt,Ue),Fn=x(),an=(0,Ee.Z)(Fn,2),rr=an[0],gr=an[1],sr=we.useRef(null),Ur=function(){if(!ye){var Dr;(Dr=sr.current)===null||Dr===void 0||Dr.focus()}};we.useImperativeHandle($t,function(){return{focus:Ur,blur:function(){if(!ye){var Dr;(Dr=sr.current)===null||Dr===void 0||Dr.blur()}}}});var Qr=(0,oe.Z)(Hn||0,{value:hn}),aa=(0,Ee.Z)(Qr,2),Aa=aa[0],Gr=aa[1],yr=(0,oe.Z)(null),Tr=(0,Ee.Z)(yr,2),_r=Tr[0],Ba=Tr[1],Xa=function(Dr,fa){var Ua=pt==="rtl",xa=Dr+1;if(er){var no=rr(Dr),Ai=fe(no),Cr=no.clientWidth;(Ua&&fa-Ai>Cr/2||!Ua&&fa-Ai0&&!Ua||fa===y.Z.RIGHT&&xa>0&&Ua?(er?xa-=.5:xa-=1,Vr(xa),Dr.preventDefault()):fa===y.Z.LEFT&&xa{const{componentCls:$t}=tt;return{[`${$t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:tt.marginXS},"> div":{transition:`all ${tt.motionDurationMid}, outline 0s`,"&:hover":{transform:tt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${tt.lineWidth}px dashed ${tt.starColor}`,transform:tt.starHoverScale}},"&-first, &-second":{color:tt.starBg,transition:`all ${tt.motionDurationMid}`,userSelect:"none",[tt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${$t}-star-first, &-half ${$t}-star-second`]:{opacity:1},[`&-half ${$t}-star-first, &-full ${$t}-star-second`]:{color:"inherit"}}}},st=tt=>({[`&-rtl${tt.componentCls}`]:{direction:"rtl"}}),it=tt=>{const{componentCls:$t}=tt;return{[$t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(tt)),{display:"inline-block",margin:0,padding:0,color:tt.starColor,fontSize:tt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${$t} ${$t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Tt(tt)),{[`+ ${$t}-text`]:{display:"inline-block",marginInlineStart:tt.marginXS,fontSize:tt.fontSize}}),st(tt))}};var Nt=(0,Ft.Z)("Rate",tt=>{const $t=(0,Qe.TS)(tt,{});return[it($t)]},tt=>({starColor:tt.yellow6,starSize:tt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:tt.colorFillContent})),gt=function(tt,$t){var gn={};for(var Et in tt)Object.prototype.hasOwnProperty.call(tt,Et)&&$t.indexOf(Et)<0&&(gn[Et]=tt[Et]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Et=Object.getOwnPropertySymbols(tt);Wt{const{prefixCls:gn,className:Et,rootClassName:Wt,style:Cn,tooltips:Hn,character:hn=we.createElement(Be,null)}=tt,Gn=gt(tt,["prefixCls","className","rootClassName","style","tooltips","character"]),Dt=(ye,qe)=>{let{index:pt}=qe;return Hn?we.createElement(nt.Z,{title:Hn[pt]},ye):ye},{getPrefixCls:_n,direction:er,rate:je}=we.useContext(Ye.E_),qt=_n("rate",gn),[He,me]=Nt(qt),se=Object.assign(Object.assign({},je==null?void 0:je.style),Cn);return He(we.createElement(Ve,Object.assign({ref:$t,character:hn,characterRender:Dt},Gn,{className:ue()(Et,Wt,me,je==null?void 0:je.className),style:se,prefixCls:qt,direction:er})))})},61621:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return me}});var pe=ve(92310),we=ve.n(pe),ze=ve(59301),At=ve(36355),Ze=ve(2738),he=se=>{const{prefixCls:ye,className:qe,style:pt,size:Me,shape:Je}=se,jt=we()({[`${ye}-lg`]:Me==="large",[`${ye}-sm`]:Me==="small"}),wt=we()({[`${ye}-circle`]:Je==="circle",[`${ye}-square`]:Je==="square",[`${ye}-round`]:Je==="round"}),lt=ze.useMemo(()=>typeof Me=="number"?{width:Me,height:Me,lineHeight:`${Me}px`}:{},[Me]);return ze.createElement("span",{className:we()(ye,jt,wt,qe),style:Object.assign(Object.assign({},lt),pt)})},Be=ve(36237),De=ve(83116),ue=ve(37613);const Ne=new Be.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ee=se=>({height:se,lineHeight:`${se}px`}),be=se=>Object.assign({width:se},Ee(se)),oe=se=>({background:se.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ne,animationDuration:se.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=se=>Object.assign({width:se*5,minWidth:se*5},Ee(se)),a=se=>{const{skeletonAvatarCls:ye,gradientFromColor:qe,controlHeight:pt,controlHeightLG:Me,controlHeightSM:Je}=se;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},be(pt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},be(Me)),[`${ye}${ye}-sm`]:Object.assign({},be(Je))}},E=se=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:pt,controlHeightLG:Me,controlHeightSM:Je,gradientFromColor:jt}=se;return{[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:jt,borderRadius:qe},y(ye)),[`${pt}-lg`]:Object.assign({},y(Me)),[`${pt}-sm`]:Object.assign({},y(Je))}},b=se=>Object.assign({width:se},Ee(se)),x=se=>{const{skeletonImageCls:ye,imageSizeBase:qe,gradientFromColor:pt,borderRadiusSM:Me}=se;return{[`${ye}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:pt,borderRadius:Me},b(qe*2)),{[`${ye}-path`]:{fill:"#bfbfbf"},[`${ye}-svg`]:Object.assign(Object.assign({},b(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${ye}-svg${ye}-svg-circle`]:{borderRadius:"50%"}}),[`${ye}${ye}-circle`]:{borderRadius:"50%"}}},z=(se,ye,qe)=>{const{skeletonButtonCls:pt}=se;return{[`${qe}${pt}-circle`]:{width:ye,minWidth:ye,borderRadius:"50%"},[`${qe}${pt}-round`]:{borderRadius:ye}}},ne=se=>Object.assign({width:se*2,minWidth:se*2},Ee(se)),fe=se=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:pt,controlHeightLG:Me,controlHeightSM:Je,gradientFromColor:jt}=se;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:jt,borderRadius:ye,width:pt*2,minWidth:pt*2},ne(pt))},z(se,pt,qe)),{[`${qe}-lg`]:Object.assign({},ne(Me))}),z(se,Me,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ne(Je))}),z(se,Je,`${qe}-sm`))},Ue=se=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:pt,skeletonParagraphCls:Me,skeletonButtonCls:Je,skeletonInputCls:jt,skeletonImageCls:wt,controlHeight:lt,controlHeightLG:Zt,controlHeightSM:Sn,gradientFromColor:kt,padding:dn,marginSM:Ot,borderRadius:Fn,titleHeight:an,blockRadius:rr,paragraphLiHeight:gr,controlHeightXS:sr,paragraphMarginTop:Ur}=se;return{[`${ye}`]:{display:"table",width:"100%",[`${ye}-header`]:{display:"table-cell",paddingInlineEnd:dn,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kt},be(lt)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},be(Zt)),[`${qe}-sm`]:Object.assign({},be(Sn))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${pt}`]:{width:"100%",height:an,background:kt,borderRadius:rr,[`+ ${Me}`]:{marginBlockStart:Sn}},[`${Me}`]:{padding:0,"> li":{width:"100%",height:gr,listStyle:"none",background:kt,borderRadius:rr,"+ li":{marginBlockStart:sr}}},[`${Me}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${pt}, ${Me} > li`]:{borderRadius:Fn}}},[`${ye}-with-avatar ${ye}-content`]:{[`${pt}`]:{marginBlockStart:Ot,[`+ ${Me}`]:{marginBlockStart:Ur}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},fe(se)),a(se)),E(se)),x(se)),[`${ye}${ye}-block`]:{width:"100%",[`${Je}`]:{width:"100%"},[`${jt}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[` ${pt}, ${Me} > li, ${qe}, ${Je}, ${jt}, ${wt} `]:Object.assign({},oe(se))}}};var Pe=(0,De.Z)("Skeleton",se=>{const{componentCls:ye}=se,qe=(0,ue.TS)(se,{skeletonAvatarCls:`${ye}-avatar`,skeletonTitleCls:`${ye}-title`,skeletonParagraphCls:`${ye}-paragraph`,skeletonButtonCls:`${ye}-button`,skeletonInputCls:`${ye}-input`,skeletonImageCls:`${ye}-image`,imageSizeBase:se.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${se.gradientFromColor} 25%, ${se.gradientToColor} 37%, ${se.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Ue(qe)]},se=>{const{colorFillContent:ye,colorFill:qe}=se,pt=ye,Me=qe;return{color:pt,colorGradientEnd:Me,gradientFromColor:pt,gradientToColor:Me,titleHeight:se.controlHeight/2,blockRadius:se.borderRadiusSM,paragraphMarginTop:se.marginLG+se.marginXXS,paragraphLiHeight:se.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ve=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,shape:Je="circle",size:jt="default"}=se,{getPrefixCls:wt}=ze.useContext(At.E_),lt=wt("skeleton",ye),[Zt,Sn]=Pe(lt),kt=(0,Ze.Z)(se,["prefixCls","className"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me},qe,pt,Sn);return Zt(ze.createElement("div",{className:dn},ze.createElement(he,Object.assign({prefixCls:`${lt}-avatar`,shape:Je,size:jt},kt))))},nt=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,block:Je=!1,size:jt="default"}=se,{getPrefixCls:wt}=ze.useContext(At.E_),lt=wt("skeleton",ye),[Zt,Sn]=Pe(lt),kt=(0,Ze.Z)(se,["prefixCls"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me,[`${lt}-block`]:Je},qe,pt,Sn);return Zt(ze.createElement("div",{className:dn},ze.createElement(he,Object.assign({prefixCls:`${lt}-button`,size:jt},kt))))};const Oe="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 Qe=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,style:Me,active:Je}=se,{getPrefixCls:jt}=ze.useContext(At.E_),wt=jt("skeleton",ye),[lt,Zt]=Pe(wt),Sn=we()(wt,`${wt}-element`,{[`${wt}-active`]:Je},qe,pt,Zt);return lt(ze.createElement("div",{className:Sn},ze.createElement("div",{className:we()(`${wt}-image`,qe),style:Me},ze.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${wt}-image-svg`},ze.createElement("path",{d:Oe,className:`${wt}-image-path`})))))},st=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,block:Je,size:jt="default"}=se,{getPrefixCls:wt}=ze.useContext(At.E_),lt=wt("skeleton",ye),[Zt,Sn]=Pe(lt),kt=(0,Ze.Z)(se,["prefixCls"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me,[`${lt}-block`]:Je},qe,pt,Sn);return Zt(ze.createElement("div",{className:dn},ze.createElement(he,Object.assign({prefixCls:`${lt}-input`,size:jt},kt))))},it=ve(32855),Nt={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"},gt=Nt,xt=ve(7657),ht=function(ye,qe){return ze.createElement(xt.Z,(0,it.Z)({},ye,{ref:qe,icon:gt}))},tt=ze.forwardRef(ht),$t=tt,Et=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,style:Me,active:Je,children:jt}=se,{getPrefixCls:wt}=ze.useContext(At.E_),lt=wt("skeleton",ye),[Zt,Sn]=Pe(lt),kt=we()(lt,`${lt}-element`,{[`${lt}-active`]:Je},Sn,qe,pt),dn=jt!=null?jt:ze.createElement($t,null);return Zt(ze.createElement("div",{className:kt},ze.createElement("div",{className:we()(`${lt}-image`,qe),style:Me},dn)))},Wt=ve(3300),Hn=se=>{const ye=wt=>{const{width:lt,rows:Zt=2}=se;if(Array.isArray(lt))return lt[wt];if(Zt-1===wt)return lt},{prefixCls:qe,className:pt,style:Me,rows:Je}=se,jt=(0,Wt.Z)(Array(Je)).map((wt,lt)=>ze.createElement("li",{key:lt,style:{width:ye(lt)}}));return ze.createElement("ul",{className:we()(qe,pt),style:Me},jt)},Gn=se=>{let{prefixCls:ye,className:qe,width:pt,style:Me}=se;return ze.createElement("h3",{className:we()(ye,qe),style:Object.assign({width:pt},Me)})};function Dt(se){return se&&typeof se=="object"?se:{}}function _n(se,ye){return se&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function er(se,ye){return!se&&ye?{width:"38%"}:se&&ye?{width:"50%"}:{}}function je(se,ye){const qe={};return(!se||!ye)&&(qe.width="61%"),!se&&ye?qe.rows=3:qe.rows=2,qe}const qt=se=>{const{prefixCls:ye,loading:qe,className:pt,rootClassName:Me,style:Je,children:jt,avatar:wt=!1,title:lt=!0,paragraph:Zt=!0,active:Sn,round:kt}=se,{getPrefixCls:dn,direction:Ot,skeleton:Fn}=ze.useContext(At.E_),an=dn("skeleton",ye),[rr,gr]=Pe(an);if(qe||!("loading"in se)){const sr=!!wt,Ur=!!lt,Qr=!!Zt;let aa;if(sr){const yr=Object.assign(Object.assign({prefixCls:`${an}-avatar`},_n(Ur,Qr)),Dt(wt));aa=ze.createElement("div",{className:`${an}-header`},ze.createElement(he,Object.assign({},yr)))}let Aa;if(Ur||Qr){let yr;if(Ur){const _r=Object.assign(Object.assign({prefixCls:`${an}-title`},er(sr,Qr)),Dt(lt));yr=ze.createElement(Gn,Object.assign({},_r))}let Tr;if(Qr){const _r=Object.assign(Object.assign({prefixCls:`${an}-paragraph`},je(sr,Ur)),Dt(Zt));Tr=ze.createElement(Hn,Object.assign({},_r))}Aa=ze.createElement("div",{className:`${an}-content`},yr,Tr)}const Gr=we()(an,{[`${an}-with-avatar`]:sr,[`${an}-active`]:Sn,[`${an}-rtl`]:Ot==="rtl",[`${an}-round`]:kt},Fn==null?void 0:Fn.className,pt,Me,gr);return rr(ze.createElement("div",{className:Gr,style:Object.assign(Object.assign({},Fn==null?void 0:Fn.style),Je)},aa,Aa))}return typeof jt!="undefined"?jt:null};qt.Button=nt,qt.Avatar=Ve,qt.Input=st,qt.Image=Qe,qt.Node=Et;var He=qt,me=He},31797:function(nn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Pe}});var pe=ve(59301),we=ve(56762),ze=ve(92343),At=ve(92310),Ze=ve.n(At),Re=ve(36355),he=ve(61621),De=Te=>{const{value:Ve,formatter:Ye,precision:nt,decimalSeparator:Oe,groupSeparator:Ft="",prefixCls:Qe}=Te;let Tt;if(typeof Ye=="function")Tt=Ye(Ve);else{const st=String(Ve),it=st.match(/^(-?)(\d*)(\.(\d+))?$/);if(!it||st==="-")Tt=st;else{const Nt=it[1];let gt=it[2]||"0",xt=it[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,Ft),typeof nt=="number"&&(xt=xt.padEnd(nt,"0").slice(0,nt>0?nt:0)),xt&&(xt=`${Oe}${xt}`),Tt=[pe.createElement("span",{key:"int",className:`${Qe}-content-value-int`},Nt,gt),xt&&pe.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},xt)]}}return pe.createElement("span",{className:`${Qe}-content-value`},Tt)},ue=ve(17313),Ne=ve(83116),Ee=ve(37613);const be=Te=>{const{componentCls:Ve,marginXXS:Ye,padding:nt,colorTextDescription:Oe,titleFontSize:Ft,colorTextHeading:Qe,contentFontSize:Tt,fontFamily:st}=Te;return{[`${Ve}`]:Object.assign(Object.assign({},(0,ue.Wf)(Te)),{[`${Ve}-title`]:{marginBottom:Ye,color:Oe,fontSize:Ft},[`${Ve}-skeleton`]:{paddingTop:nt},[`${Ve}-content`]:{color:Qe,fontSize:Tt,fontFamily:st,[`${Ve}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ve}-content-prefix, ${Ve}-content-suffix`]:{display:"inline-block"},[`${Ve}-content-prefix`]:{marginInlineEnd:Ye},[`${Ve}-content-suffix`]:{marginInlineStart:Ye}}})}};var oe=(0,Ne.Z)("Statistic",Te=>{const Ve=(0,Ee.TS)(Te,{});return[be(Ve)]},Te=>{const{fontSizeHeading3:Ve,fontSize:Ye}=Te;return{titleFontSize:Ye,contentFontSize:Ve}}),a=Te=>{const{prefixCls:Ve,className:Ye,rootClassName:nt,style:Oe,valueStyle:Ft,value:Qe=0,title:Tt,valueRender:st,prefix:it,suffix:Nt,loading:gt=!1,onMouseEnter:xt,onMouseLeave:ht,decimalSeparator:tt=".",groupSeparator:$t=","}=Te,{getPrefixCls:gn,direction:Et,statistic:Wt}=pe.useContext(Re.E_),Cn=gn("statistic",Ve),[Hn,hn]=oe(Cn),Gn=pe.createElement(De,Object.assign({decimalSeparator:tt,groupSeparator:$t,prefixCls:Cn},Te,{value:Qe})),Dt=Ze()(Cn,{[`${Cn}-rtl`]:Et==="rtl"},Wt==null?void 0:Wt.className,Ye,nt,hn);return Hn(pe.createElement("div",{className:Dt,style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Oe),onMouseEnter:xt,onMouseLeave:ht},Tt&&pe.createElement("div",{className:`${Cn}-title`},Tt),pe.createElement(he.Z,{paragraph:!1,loading:gt,className:`${Cn}-skeleton`},pe.createElement("div",{style:Ft,className:`${Cn}-content`},it&&pe.createElement("span",{className:`${Cn}-content-prefix`},it),st?st(Gn):Gn,Nt&&pe.createElement("span",{className:`${Cn}-content-suffix`},Nt)))))};const E=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(Te,Ve){let Ye=Te;const nt=/\[[^\]]*]/g,Oe=(Ve.match(nt)||[]).map(st=>st.slice(1,-1)),Ft=Ve.replace(nt,"[]"),Qe=E.reduce((st,it)=>{let[Nt,gt]=it;if(st.includes(Nt)){const xt=Math.floor(Ye/gt);return Ye-=xt*gt,st.replace(new RegExp(`${Nt}+`,"g"),ht=>{const tt=ht.length;return xt.toString().padStart(tt,"0")})}return st},Ft);let Tt=0;return Qe.replace(nt,()=>{const st=Oe[Tt];return Tt+=1,st})}function x(Te,Ve){const{format:Ye=""}=Ve,nt=new Date(Te).getTime(),Oe=Date.now(),Ft=Math.max(nt-Oe,0);return b(Ft,Ye)}const z=1e3/30;function ne(Te){return new Date(Te).getTime()}const fe=Te=>{const{value:Ve,format:Ye="HH:mm:ss",onChange:nt,onFinish:Oe}=Te,Ft=(0,we.Z)(),Qe=pe.useRef(null),Tt=()=>{Oe==null||Oe(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},st=()=>{const gt=ne(Ve);gt>=Date.now()&&(Qe.current=setInterval(()=>{Ft(),nt==null||nt(gt-Date.now()),gt(st(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ve]);const it=(gt,xt)=>x(gt,Object.assign(Object.assign({},xt),{format:Ye})),Nt=gt=>(0,ze.Tm)(gt,{title:void 0});return pe.createElement(a,Object.assign({},Te,{valueRender:Nt,formatter:it}))};var Ue=pe.memo(fe);a.Countdown=Ue;var Pe=a},15969:function(nn,Kt,ve){"use strict";ve.d(Kt,{N:function(){return pe}});const pe=we=>({color:we.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${we.motionDurationSlow}`,"&:focus, &:hover":{color:we.colorLinkHover},"&:active":{color:we.colorLinkActive}})},1710:function(nn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Qn}});var pe={},we="rc-table-internal-hook",ze=ve(11913),At=ve(6089),Ze=ve(34280),Re=ve(13697),he=ve(59301),Be=ve(4676);function De(Le){var Ke=he.createContext(void 0),et=function(dt){var Ct=dt.value,Rt=dt.children,tn=he.useRef(Ct);tn.current=Ct;var Xe=he.useState(function(){return{getValue:function(){return tn.current},listeners:new Set}}),ct=(0,ze.Z)(Xe,1),Pt=ct[0];return(0,Ze.Z)(function(){(0,Be.unstable_batchedUpdates)(function(){Pt.listeners.forEach(function(Lt){Lt(Ct)})})},[Ct]),he.createElement(Ke.Provider,{value:Pt},Rt)};return{Context:Ke,Provider:et,defaultValue:Le}}function ue(Le,Ke){var et=(0,At.Z)(typeof Ke=="function"?Ke:function(Lt){if(Ke===void 0)return Lt;if(!Array.isArray(Ke))return Lt[Ke];var _t={};return Ke.forEach(function(en){_t[en]=Lt[en]}),_t}),ut=he.useContext(Le==null?void 0:Le.Context),dt=ut||{},Ct=dt.listeners,Rt=dt.getValue,tn=he.useRef();tn.current=et(ut?Rt():Le==null?void 0:Le.defaultValue);var Xe=he.useState({}),ct=(0,ze.Z)(Xe,2),Pt=ct[1];return(0,Ze.Z)(function(){if(!ut)return;function Lt(_t){var en=et(_t);(0,Re.Z)(tn.current,en,!0)||Pt({})}return Ct.add(Lt),function(){Ct.delete(Lt)}},[ut]),tn.current}var Ne=ve(32855),Ee=ve(8654);function be(){var Le=he.createContext(null);function Ke(){return he.useContext(Le)}function et(dt,Ct){var Rt=(0,Ee.Yr)(dt),tn=function(ct,Pt){var Lt=Rt?{ref:Pt}:{},_t=he.useRef(0),en=he.useRef(ct),rn=Ke();return rn!==null?he.createElement(dt,(0,Ne.Z)({},ct,Lt)):((!Ct||Ct(en.current,ct))&&(_t.current+=1),en.current=ct,he.createElement(Le.Provider,{value:_t.current},he.createElement(dt,(0,Ne.Z)({},ct,Lt))))};return Rt?he.forwardRef(tn):tn}function ut(dt,Ct){var Rt=(0,Ee.Yr)(dt),tn=function(ct,Pt){var Lt=Rt?{ref:Pt}:{};return Ke(),he.createElement(dt,(0,Ne.Z)({},ct,Lt))};return Rt?he.memo(he.forwardRef(tn),Ct):he.memo(tn,Ct)}return{makeImmutable:et,responseImmutable:ut,useImmutableMark:Ke}}var oe=be(),y=oe.makeImmutable,a=oe.responseImmutable,E=oe.useImmutableMark,b=be(),x=b.makeImmutable,z=b.responseImmutable,ne=b.useImmutableMark,fe=De(),Ue=fe;function Pe(Le,Ke){var et=he.useRef(0);et.current+=1;var ut=he.useRef(Le),dt=[];Object.keys(Le||{}).map(function(Rt){var tn;(Le==null?void 0:Le[Rt])!==((tn=ut.current)===null||tn===void 0?void 0:tn[Rt])&&dt.push(Rt)}),ut.current=Le;var Ct=he.useRef([]);return dt.length&&(Ct.current=dt),he.useDebugValue(et.current),he.useDebugValue(Ct.current.join(", ")),Ke&&console.log("".concat(Ke,":"),et.current,Ct.current),et.current}var Te=null,Ve=he.memo(function(){var Le=Pe();return he.createElement("h1",null,"Render Times: ",Le)});Ve.displayName="RenderBlock";var Ye=ve(34666),nt=ve(27247),Oe=ve(74430),Ft=ve(92310),Qe=ve.n(Ft),Tt=ve(80547),st=ve(97938),it=ve(48736),Nt=he.createContext({renderWithProps:!1}),gt=Nt,xt="RC_TABLE_KEY";function ht(Le){return Le==null?[]:Array.isArray(Le)?Le:[Le]}function tt(Le){var Ke=[],et={};return Le.forEach(function(ut){for(var dt=ut||{},Ct=dt.key,Rt=dt.dataIndex,tn=Ct||ht(Rt).join("-")||xt;et[tn];)tn="".concat(tn,"_next");et[tn]=!0,Ke.push(tn)}),Ke}function $t(Le){return Le!=null}function gn(Le){return Le&&(0,Ye.Z)(Le)==="object"&&!Array.isArray(Le)&&!he.isValidElement(Le)}function Et(Le,Ke,et,ut,dt,Ct){var Rt=he.useContext(gt),tn=ne(),Xe=(0,Tt.Z)(function(){if($t(ut))return[ut];var ct=Ke==null||Ke===""?[]:Array.isArray(Ke)?Ke:[Ke],Pt=(0,st.Z)(Le,ct),Lt=Pt,_t=void 0;if(dt){var en=dt(Pt,Le,et);gn(en)?(Lt=en.children,_t=en.props,Rt.renderWithProps=!0):Lt=en}return[Lt,_t]},[tn,Le,ut,Ke,dt,et],function(ct,Pt){if(Ct){var Lt=(0,ze.Z)(ct,2),_t=Lt[1],en=(0,ze.Z)(Pt,2),rn=en[1];return Ct(rn,_t)}return Rt.renderWithProps?!0:!(0,Re.Z)(ct,Pt,!0)});return Xe}function Wt(Le,Ke,et,ut){var dt=Le+Ke-1;return Le<=ut&&dt>=et}function Cn(Le,Ke){return ue(Ue,function(et){var ut=Wt(Le,Ke||1,et.hoverStartRow,et.hoverEndRow);return[ut,et.onHover]})}var Hn=function(Ke){var et=Ke.ellipsis,ut=Ke.rowType,dt=Ke.children,Ct,Rt=et===!0?{showTitle:!0}:et;return Rt&&(Rt.showTitle||ut==="header")&&(typeof dt=="string"||typeof dt=="number"?Ct=dt.toString():he.isValidElement(dt)&&typeof dt.props.children=="string"&&(Ct=dt.props.children)),Ct};function hn(Le){var Ke,et,ut,dt,Ct,Rt,tn,Xe,ct=Le.component,Pt=Le.children,Lt=Le.ellipsis,_t=Le.scope,en=Le.prefixCls,rn=Le.className,pn=Le.align,kn=Le.record,Mn=Le.render,Zn=Le.dataIndex,qn=Le.renderIndex,wr=Le.shouldCellUpdate,Tn=Le.index,Gt=Le.rowType,Mr=Le.colSpan,xr=Le.rowSpan,Vn=Le.fixLeft,ar=Le.fixRight,or=Le.firstFixLeft,Jn=Le.lastFixLeft,fr=Le.firstFixRight,Or=Le.lastFixRight,na=Le.appendNode,Jr=Le.additionalProps,Zr=Jr===void 0?{}:Jr,da=Le.isSticky,qr="".concat(en,"-cell"),La=ue(Ue,["supportSticky","allColumnsFixedLeft"]),Lr=La.supportSticky,Co=La.allColumnsFixedLeft,_a=Et(kn,Zn,qn,Pt,Mn,wr),ja=(0,ze.Z)(_a,2),so=ja[0],Ra=ja[1],To={},za=typeof Vn=="number"&&Lr,_i=typeof ar=="number"&&Lr;za&&(To.position="sticky",To.left=Vn),_i&&(To.position="sticky",To.right=ar);var Rr=(Ke=(et=(ut=Ra==null?void 0:Ra.colSpan)!==null&&ut!==void 0?ut:Zr.colSpan)!==null&&et!==void 0?et:Mr)!==null&&Ke!==void 0?Ke:1,pa=(dt=(Ct=(Rt=Ra==null?void 0:Ra.rowSpan)!==null&&Rt!==void 0?Rt:Zr.rowSpan)!==null&&Ct!==void 0?Ct:xr)!==null&&dt!==void 0?dt:1,Sa=Cn(Tn,pa),Xr=(0,ze.Z)(Sa,2),ua=Xr[0],Kr=Xr[1],Ma=function(Nr){var Wo;kn&&Kr(Tn,Tn+pa-1),Zr==null||(Wo=Zr.onMouseEnter)===null||Wo===void 0||Wo.call(Zr,Nr)},Za=function(Nr){var Wo;kn&&Kr(-1,-1),Zr==null||(Wo=Zr.onMouseLeave)===null||Wo===void 0||Wo.call(Zr,Nr)};if(Rr===0||pa===0)return null;var oo=(tn=Zr.title)!==null&&tn!==void 0?tn:Hn({rowType:Gt,ellipsis:Lt,children:so}),pi=Qe()(qr,rn,(Xe={},(0,Oe.Z)(Xe,"".concat(qr,"-fix-left"),za&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-fix-left-first"),or&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-fix-left-last"),Jn&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-fix-left-all"),Jn&&Co&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-fix-right"),_i&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-fix-right-first"),fr&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-fix-right-last"),Or&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-ellipsis"),Lt),(0,Oe.Z)(Xe,"".concat(qr,"-with-append"),na),(0,Oe.Z)(Xe,"".concat(qr,"-fix-sticky"),(za||_i)&&da&&Lr),(0,Oe.Z)(Xe,"".concat(qr,"-row-hover"),!Ra&&ua),Xe),Zr.className,Ra==null?void 0:Ra.className),Ia={};pn&&(Ia.textAlign=pn);var Wi=(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},To),Zr.style),Ia),Ra==null?void 0:Ra.style),ei=so;return(0,Ye.Z)(ei)==="object"&&!Array.isArray(ei)&&!he.isValidElement(ei)&&(ei=null),Lt&&(Jn||fr)&&(ei=he.createElement("span",{className:"".concat(qr,"-content")},ei)),he.createElement(ct,(0,Ne.Z)({},Ra,Zr,{className:pi,style:Wi,title:oo,scope:_t,onMouseEnter:Ma,onMouseLeave:Za,colSpan:Rr!==1?Rr:null,rowSpan:pa!==1?pa:null}),na,ei)}var Gn=he.memo(hn);function Dt(Le,Ke,et,ut,dt,Ct){var Rt=et[Le]||{},tn=et[Ke]||{},Xe,ct;Rt.fixed==="left"?Xe=ut.left[dt==="rtl"?Ke:Le]:tn.fixed==="right"&&(ct=ut.right[dt==="rtl"?Le:Ke]);var Pt=!1,Lt=!1,_t=!1,en=!1,rn=et[Ke+1],pn=et[Le-1],kn=!(Ct!=null&&Ct.children);if(dt==="rtl"){if(Xe!==void 0){var Mn=pn&&pn.fixed==="left";en=!Mn&&kn}else if(ct!==void 0){var Zn=rn&&rn.fixed==="right";_t=!Zn&&kn}}else if(Xe!==void 0){var qn=rn&&rn.fixed==="left";Pt=!qn&&kn}else if(ct!==void 0){var wr=pn&&pn.fixed==="right";Lt=!wr&&kn}return{fixLeft:Xe,fixRight:ct,lastFixLeft:Pt,firstFixRight:Lt,lastFixRight:_t,firstFixLeft:en,isSticky:ut.isSticky}}var _n=he.createContext({}),er=_n;function je(Le){var Ke=Le.className,et=Le.index,ut=Le.children,dt=Le.colSpan,Ct=dt===void 0?1:dt,Rt=Le.rowSpan,tn=Le.align,Xe=ue(Ue,["prefixCls","direction"]),ct=Xe.prefixCls,Pt=Xe.direction,Lt=he.useContext(er),_t=Lt.scrollColumnIndex,en=Lt.stickyOffsets,rn=Lt.flattenColumns,pn=Lt.columns,kn=et+Ct-1,Mn=kn+1===_t?Ct+1:Ct,Zn=Dt(et,et+Mn-1,rn,en,Pt,pn==null?void 0:pn[et]);return he.createElement(Gn,(0,Ne.Z)({className:Ke,index:et,component:"td",prefixCls:ct,record:null,dataIndex:null,align:tn,colSpan:Mn,rowSpan:Rt,render:function(){return ut}},Zn))}var qt=ve(43079),He=["children"];function me(Le){var Ke=Le.children,et=(0,qt.Z)(Le,He);return he.createElement("tr",et,Ke)}function se(Le){var Ke=Le.children;return Ke}se.Row=me,se.Cell=je;var ye=se;function qe(Le){var Ke=Le.children,et=Le.stickyOffsets,ut=Le.flattenColumns,dt=Le.columns,Ct=ue(Ue,"prefixCls"),Rt=ut.length-1,tn=ut[Rt],Xe=he.useMemo(function(){return{stickyOffsets:et,flattenColumns:ut,scrollColumnIndex:tn!=null&&tn.scrollbar?Rt:null,columns:dt}},[tn,ut,Rt,et,dt]);return he.createElement(er.Provider,{value:Xe},he.createElement("tfoot",{className:"".concat(Ct,"-summary")},Ke))}var pt=z(qe),Me=ye,Je=ve(70425),jt=ve(29301),wt=ve(29194),lt=ve(24514),Zt=ve(75152),Sn=ve(26112);function kt(Le,Ke,et,ut,dt,Ct,Rt){Le.push({record:Ke,indent:et,index:Rt});var tn=Ct(Ke),Xe=dt==null?void 0:dt.has(tn);if(Ke&&Array.isArray(Ke[ut])&&Xe)for(var ct=0;ct1?or-1:0),fr=1;fr=0;tn-=1){var Xe=Ke[tn],ct=et&&et[tn],Pt=ct&&ct[yr];if(Xe||Pt||Rt){var Lt=Pt||{},_t=Lt.columnType,en=(0,qt.Z)(Lt,_r);dt.unshift(he.createElement("col",(0,Ne.Z)({key:tn,style:{width:Xe}},en))),Rt=!0}}return he.createElement("colgroup",null,dt)}var Xa=Ba,Vr=ve(3300),Lo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Ho(Le,Ke){return(0,he.useMemo)(function(){for(var et=[],ut=0;ut1?"colgroup":"col":null,ellipsis:kn.ellipsis,align:kn.align,component:kn.title?Ct:Rt,prefixCls:Pt,key:en[pn]},Mn,{additionalProps:Zn,rowType:"header"}))}))}yi.displayName="HeaderRow";var li=yi;function ii(Le){var Ke=[];function et(Rt,tn){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ke[Xe]=Ke[Xe]||[];var ct=tn,Pt=Rt.filter(Boolean).map(function(Lt){var _t={key:Lt.key,className:Lt.className||"",children:Lt.title,column:Lt,colStart:ct},en=1,rn=Lt.children;return rn&&rn.length>0&&(en=et(rn,ct,Xe+1).reduce(function(pn,kn){return pn+kn},0),_t.hasSubColumns=!0),"colSpan"in Lt&&(en=Lt.colSpan),"rowSpan"in Lt&&(_t.rowSpan=Lt.rowSpan),_t.colSpan=en,_t.colEnd=_t.colStart+en-1,Ke[Xe].push(_t),ct+=en,en});return Pt}et(Le,0);for(var ut=Ke.length,dt=function(tn){Ke[tn].forEach(function(Xe){!("rowSpan"in Xe)&&!Xe.hasSubColumns&&(Xe.rowSpan=ut-tn)})},Ct=0;Ct1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ke=="number"?Ke:Ke.endsWith("%")?Le*parseFloat(Ke)/100:null}function ti(Le,Ke){return he.useMemo(function(){if(Ke&&Ke>0){var et=0,ut=0;Le.forEach(function(ct){var Pt=di(Ke,ct.width);Pt?et+=Pt:ut+=1});var dt=Ke-et,Ct=ut,Rt=dt/ut,tn=0,Xe=Le.map(function(ct){var Pt=(0,nt.Z)({},ct),Lt=di(Ke,Pt.width);if(Lt)Pt.width=Lt;else{var _t=Math.floor(Rt);Pt.width=Ct===1?dt:_t,dt-=_t,Ct-=1}return tn+=Pt.width,Pt});return[Xe,tn]}return[Le,Ke]},[Le,Ke])}var In=["children"],zn=["fixed"];function wn(Le){return(0,Mi.Z)(Le).filter(function(Ke){return he.isValidElement(Ke)}).map(function(Ke){var et=Ke.key,ut=Ke.props,dt=ut.children,Ct=(0,qt.Z)(ut,In),Rt=(0,nt.Z)({key:et},Ct);return dt&&(Rt.children=wn(dt)),Rt})}function kr(Le){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Le.filter(function(et){return et&&(0,Ye.Z)(et)==="object"}).reduce(function(et,ut,dt){var Ct=ut.fixed,Rt=Ct===!0?"left":Ct,tn="".concat(Ke,"-").concat(dt),Xe=ut.children;return Xe&&Xe.length>0?[].concat((0,Vr.Z)(et),(0,Vr.Z)(kr(Xe,tn).map(function(ct){return(0,nt.Z)({fixed:Rt},ct)}))):[].concat((0,Vr.Z)(et),[(0,nt.Z)((0,nt.Z)({key:tn},ut),{},{fixed:Rt})])},[])}function sa(Le){for(var Ke=!0,et=0;et=0;Ct-=1){var Rt=Le[Ct];if(dt&&Rt.fixed!=="right")dt=!1;else if(!dt&&Rt.fixed==="right"){warning(!1,"Index ".concat(Ct+1," of `columns` missing `fixed='right'` prop."));break}}}function Dr(Le){return Le.map(function(Ke){var et=Ke.fixed,ut=(0,qt.Z)(Ke,zn),dt=et;return et==="left"?dt="right":et==="right"&&(dt="left"),(0,nt.Z)({fixed:dt},ut)})}function fa(Le,Ke){var et=Le.prefixCls,ut=Le.columns,dt=Le.children,Ct=Le.expandable,Rt=Le.expandedKeys,tn=Le.columnTitle,Xe=Le.getRowKey,ct=Le.onTriggerExpand,Pt=Le.expandIcon,Lt=Le.rowExpandable,_t=Le.expandIconColumnIndex,en=Le.direction,rn=Le.expandRowByClick,pn=Le.columnWidth,kn=Le.fixed,Mn=Le.scrollWidth,Zn=he.useMemo(function(){return ut||wn(dt)},[ut,dt]),qn=he.useMemo(function(){if(Ct){var ar,or=Zn.slice();if(!or.includes(pe)){var Jn=_t||0;Jn>=0&&or.splice(Jn,0,pe)}var fr=or.indexOf(pe);or=or.filter(function(Zr,da){return Zr!==pe||da===fr});var Or=Zn[fr],na;(kn==="left"||kn)&&!_t?na="left":(kn==="right"||kn)&&_t===Zn.length?na="right":na=Or?Or.fixed:null;var Jr=(ar={},(0,Oe.Z)(ar,yr,{className:"".concat(et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Oe.Z)(ar,"title",tn),(0,Oe.Z)(ar,"fixed",na),(0,Oe.Z)(ar,"className","".concat(et,"-row-expand-icon-cell")),(0,Oe.Z)(ar,"width",pn),(0,Oe.Z)(ar,"render",function(da,qr,La){var Lr=Xe(qr,La),Co=Rt.has(Lr),_a=Lt?Lt(qr):!0,ja=Pt({prefixCls:et,expanded:Co,expandable:_a,record:qr,onExpand:ct});return rn?he.createElement("span",{onClick:function(Ra){return Ra.stopPropagation()}},ja):ja}),ar);return or.map(function(Zr){return Zr===pe?Jr:Zr})}return Zn.filter(function(Zr){return Zr!==pe})},[Ct,Zn,Xe,Rt,Pt,en]),wr=he.useMemo(function(){var ar=qn;return Ke&&(ar=Ke(ar)),ar.length||(ar=[{render:function(){return null}}]),ar},[Ke,qn,en]),Tn=he.useMemo(function(){return en==="rtl"?Dr(kr(wr)):kr(wr)},[wr,en,Mn]),Gt=ti(Tn,Mn),Mr=(0,ze.Z)(Gt,2),xr=Mr[0],Vn=Mr[1];return[wr,xr,Vn]}var Ua=fa;function xa(Le){var Ke,et=Le.prefixCls,ut=Le.record,dt=Le.onExpand,Ct=Le.expanded,Rt=Le.expandable,tn="".concat(et,"-row-expand-icon");if(!Rt)return he.createElement("span",{className:Qe()(tn,"".concat(et,"-row-spaced"))});var Xe=function(Pt){dt(ut,Pt),Pt.stopPropagation()};return he.createElement("span",{className:Qe()(tn,(Ke={},(0,Oe.Z)(Ke,"".concat(et,"-row-expanded"),Ct),(0,Oe.Z)(Ke,"".concat(et,"-row-collapsed"),!Ct),Ke)),onClick:Xe})}function no(Le,Ke,et){var ut=[];function dt(Ct){(Ct||[]).forEach(function(Rt,tn){ut.push(Ke(Rt,tn)),dt(Rt[et])})}return dt(Le),ut}function Ai(Le,Ke,et){var ut=Tr(Le),dt=ut.expandIcon,Ct=ut.expandedRowKeys,Rt=ut.defaultExpandedRowKeys,tn=ut.defaultExpandAllRows,Xe=ut.expandedRowRender,ct=ut.onExpand,Pt=ut.onExpandedRowsChange,Lt=ut.childrenColumnName,_t=dt||xa,en=Lt||"children",rn=he.useMemo(function(){return Xe?"row":Le.expandable&&Le.internalHooks===we&&Le.expandable.__PARENT_RENDER_ICON__||Ke.some(function(Tn){return Tn&&(0,Ye.Z)(Tn)==="object"&&Tn[en]})?"nest":!1},[!!Xe,Ke]),pn=he.useState(function(){return Rt||(tn?no(Ke,et,en):[])}),kn=(0,ze.Z)(pn,2),Mn=kn[0],Zn=kn[1],qn=he.useMemo(function(){return new Set(Ct||Mn||[])},[Ct,Mn]),wr=he.useCallback(function(Tn){var Gt=et(Tn,Ke.indexOf(Tn)),Mr,xr=qn.has(Gt);xr?(qn.delete(Gt),Mr=(0,Vr.Z)(qn)):Mr=[].concat((0,Vr.Z)(qn),[Gt]),Zn(Mr),ct&&ct(!xr,Tn),Pt&&Pt(Mr)},[et,qn,Ke,ct,Pt]);return[ut,rn,qn,_t,en,wr]}function Cr(Le,Ke,et,ut){var dt=Le.map(function(Ct,Rt){return Dt(Rt,Rt,Le,Ke,et,ut==null?void 0:ut[Rt])});return(0,Tt.Z)(function(){return dt},[dt],function(Ct,Rt){return!(0,Re.Z)(Ct,Rt)})}function Oa(Le){var Ke=(0,he.useRef)(Le),et=(0,he.useState)({}),ut=(0,ze.Z)(et,2),dt=ut[1],Ct=(0,he.useRef)(null),Rt=(0,he.useRef)([]);function tn(Xe){Rt.current.push(Xe);var ct=Promise.resolve();Ct.current=ct,ct.then(function(){if(Ct.current===ct){var Pt=Rt.current,Lt=Ke.current;Rt.current=[],Pt.forEach(function(_t){Ke.current=_t(Ke.current)}),Ct.current=null,Lt!==Ke.current&&dt({})}})}return(0,he.useEffect)(function(){return function(){Ct.current=null}},[]),[Ke.current,tn]}function ni(Le){var Ke=(0,he.useRef)(Le||null),et=(0,he.useRef)();function ut(){window.clearTimeout(et.current)}function dt(Rt){Ke.current=Rt,ut(),et.current=window.setTimeout(function(){Ke.current=null,et.current=void 0},100)}function Ct(){return Ke.current}return(0,he.useEffect)(function(){return ut},[]),[dt,Ct]}function Io(){var Le=he.useState(-1),Ke=(0,ze.Z)(Le,2),et=Ke[0],ut=Ke[1],dt=he.useState(-1),Ct=(0,ze.Z)(dt,2),Rt=Ct[0],tn=Ct[1],Xe=he.useCallback(function(ct,Pt){ut(ct),tn(Pt)},[]);return[et,Rt,Xe]}var zo=ve(47273),uo=(0,zo.Z)()?window:null;function hi(Le,Ke){var et=(0,Ye.Z)(Le)==="object"?Le:{},ut=et.offsetHeader,dt=ut===void 0?0:ut,Ct=et.offsetSummary,Rt=Ct===void 0?0:Ct,tn=et.offsetScroll,Xe=tn===void 0?0:tn,ct=et.getContainer,Pt=ct===void 0?function(){return uo}:ct,Lt=Pt()||uo;return he.useMemo(function(){var _t=!!Le;return{isSticky:_t,stickyClassName:_t?"".concat(Ke,"-sticky-holder"):"",offsetHeader:dt,offsetSummary:Rt,offsetScroll:Xe,container:Lt}},[Xe,dt,Rt,Ke,Lt])}function Oi(Le,Ke,et){var ut=(0,he.useMemo)(function(){for(var dt=[],Ct=[],Rt=0,tn=0,Xe=0;Xe=Lt&&(Zr=Lt-_t),Rt({scrollLeft:Zr/Lt*(Pt+2)}),Zn.current.x=fr.pageX},ar=function(){if(Ct.current){var fr=(0,Ji.os)(Ct.current).top,Or=fr+Ct.current.offsetHeight,na=Xe===window?document.documentElement.scrollTop+window.innerHeight:(0,Ji.os)(Xe).top+Xe.clientHeight;Or-(0,Zt.Z)()<=na||fr>=na-tn?Mn(function(Jr){return(0,nt.Z)((0,nt.Z)({},Jr),{},{isHiddenScrollBar:!0})}):Mn(function(Jr){return(0,nt.Z)((0,nt.Z)({},Jr),{},{isHiddenScrollBar:!1})})}},or=function(fr){Mn(function(Or){return(0,nt.Z)((0,nt.Z)({},Or),{},{scrollLeft:fr/Pt*Lt||0})})};return he.useImperativeHandle(et,function(){return{setScrollLeft:or}}),he.useEffect(function(){var Jn=(0,Uo.Z)(document.body,"mouseup",Mr,!1),fr=(0,Uo.Z)(document.body,"mousemove",Vn,!1);return ar(),function(){Jn.remove(),fr.remove()}},[_t,Tn]),he.useEffect(function(){var Jn=(0,Uo.Z)(Xe,"scroll",ar,!1),fr=(0,Uo.Z)(window,"resize",ar,!1);return function(){Jn.remove(),fr.remove()}},[Xe]),he.useEffect(function(){kn.isHiddenScrollBar||Mn(function(Jn){var fr=Ct.current;return fr?(0,nt.Z)((0,nt.Z)({},Jn),{},{scrollLeft:fr.scrollLeft/fr.scrollWidth*fr.clientWidth}):Jn})},[kn.isHiddenScrollBar]),Pt<=Lt||!_t||kn.isHiddenScrollBar?null:he.createElement("div",{style:{height:(0,Zt.Z)(),width:Lt,bottom:tn},className:"".concat(ct,"-sticky-scroll")},he.createElement("div",{onMouseDown:xr,ref:en,className:Qe()("".concat(ct,"-sticky-scroll-bar"),(0,Oe.Z)({},"".concat(ct,"-sticky-scroll-bar-active"),Tn)),style:{width:"".concat(_t,"px"),transform:"translate3d(".concat(kn.scrollLeft,"px, 0, 0)")}}))},Ti=he.forwardRef(GA);function br(Le){return null}var zl=br;function cs(Le){return null}var Ps=cs,_A="rc-table",zr=[],Pa={};function Ao(){return"No Data"}function Ca(Le){var Ke,et=(0,nt.Z)({rowKey:"key",prefixCls:_A,emptyText:Ao},Le),ut=et.prefixCls,dt=et.className,Ct=et.rowClassName,Rt=et.style,tn=et.data,Xe=et.rowKey,ct=et.scroll,Pt=et.tableLayout,Lt=et.direction,_t=et.title,en=et.footer,rn=et.summary,pn=et.caption,kn=et.id,Mn=et.showHeader,Zn=et.components,qn=et.emptyText,wr=et.onRow,Tn=et.onHeaderRow,Gt=et.internalHooks,Mr=et.transformColumns,xr=et.internalRefs,Vn=et.tailor,ar=et.sticky,or=tn||zr,Jn=!!or.length,fr=Gt===we,Or=he.useCallback(function(Bo,Zo){return(0,st.Z)(Zn,Bo)||Zo},[Zn]),na=he.useMemo(function(){return typeof Xe=="function"?Xe:function(Bo){var Zo=Bo&&Bo[Xe];return Zo}},[Xe]),Jr=Or(["body"]),Zr=Io(),da=(0,ze.Z)(Zr,3),qr=da[0],La=da[1],Lr=da[2],Co=Ai(et,or,na),_a=(0,ze.Z)(Co,6),ja=_a[0],so=_a[1],Ra=_a[2],To=_a[3],za=_a[4],_i=_a[5],Rr=ct==null?void 0:ct.x,pa=he.useState(0),Sa=(0,ze.Z)(pa,2),Xr=Sa[0],ua=Sa[1],Kr=Ua((0,nt.Z)((0,nt.Z)((0,nt.Z)({},et),ja),{},{expandable:!!ja.expandedRowRender,columnTitle:ja.columnTitle,expandedKeys:Ra,getRowKey:na,onTriggerExpand:_i,expandIcon:To,expandIconColumnIndex:ja.expandIconColumnIndex,direction:Lt,scrollWidth:fr&&Vn&&typeof Rr=="number"?Rr:null}),fr?Mr:null),Ma=(0,ze.Z)(Kr,3),Za=Ma[0],oo=Ma[1],pi=Ma[2],Ia=pi!=null?pi:Rr,Wi=he.useMemo(function(){return{columns:Za,flattenColumns:oo}},[Za,oo]),ei=he.useRef(),vi=he.useRef(),Nr=he.useRef(),Wo=he.useRef(),oA=he.useRef(),po=he.useState(!1),to=(0,ze.Z)(po,2),ko=to[0],Yo=to[1],Mo=he.useState(!1),Va=(0,ze.Z)(Mo,2),gi=Va[0],Bi=Va[1],eA=Oa(new Map),Zi=(0,ze.Z)(eA,2),mA=Zi[0],Ss=Zi[1],VA=tt(oo),DA=VA.map(function(Bo){return mA.get(Bo)}),bA=he.useMemo(function(){return DA},[DA.join("_")]),tA=wi(bA,oo.length,Lt),fi=ct&&$t(ct.y),ai=ct&&$t(Ia)||!!ja.fixed,ys=ai&&oo.some(function(Bo){var Zo=Bo.fixed;return Zo}),Is=he.useRef(),Ms=hi(ar,ut),is=Ms.isSticky,_l=Ms.offsetHeader,Bl=Ms.offsetSummary,vo=Ms.offsetScroll,io=Ms.stickyClassName,Vi=Ms.container,oi=he.useMemo(function(){return rn==null?void 0:rn(or)},[rn,or]),Yi=(fi||is)&&he.isValidElement(oi)&&oi.type===ye&&oi.props.fixed,iA,nA,AA;fi&&(nA={overflowY:"scroll",maxHeight:ct.y}),ai&&(iA={overflowX:"auto"},fi||(nA={overflowY:"hidden"}),AA={width:Ia===!0?"auto":Ia,minWidth:"100%"});var al=he.useCallback(function(Bo,Zo){(0,wt.Z)(ei.current)&&Ss(function(PA){if(PA.get(Bo)!==Zo){var Ns=new Map(PA);return Ns.set(Bo,Zo),Ns}return PA})},[]),UA=ni(null),El=(0,ze.Z)(UA,2),ou=El[0],Pu=El[1];function Sl(Bo,Zo){Zo&&(typeof Zo=="function"?Zo(Bo):Zo.scrollLeft!==Bo&&(Zo.scrollLeft=Bo,Zo.scrollLeft!==Bo&&setTimeout(function(){Zo.scrollLeft=Bo},0)))}var Ks=(0,At.Z)(function(Bo){var Zo=Bo.currentTarget,PA=Bo.scrollLeft,Ns=Lt==="rtl",Ds=typeof PA=="number"?PA:Zo.scrollLeft,uu=Zo||Pa;if(!Pu()||Pu()===uu){var Xl;ou(uu),Sl(Ds,vi.current),Sl(Ds,Nr.current),Sl(Ds,oA.current),Sl(Ds,(Xl=Is.current)===null||Xl===void 0?void 0:Xl.setScrollLeft)}var Cs=Zo||vi.current;if(Cs){var Us=Cs.scrollWidth,cu=Cs.clientWidth;if(Us===cu){Yo(!1),Bi(!1);return}Ns?(Yo(-Ds0)):(Yo(Ds>0),Bi(Ds1?pn-fr:0,na=(0,nt.Z)((0,nt.Z)((0,nt.Z)({},Mr),Xe),{},{flex:"0 0 ".concat(fr,"px"),width:"".concat(fr,"px"),marginRight:Or,pointerEvents:"auto"}),Jr=he.useMemo(function(){return Pt?or<=1:Vn===0||or===0||or>1},[or,Vn,Pt]);Jr?na.visibility="hidden":Pt&&(na.height=Lt==null?void 0:Lt(or));var Zr=Jr?function(){return null}:_t,da={};return(or===0||Vn===0)&&(da.rowSpan=1,da.colSpan=1),he.createElement(Gn,(0,Ne.Z)({className:Qe()(rn,ct),ellipsis:et.ellipsis,align:et.align,scope:et.rowScope,component:"div",prefixCls:Ke.prefixCls,key:qn,record:tn,index:Ct,renderIndex:Rt,dataIndex:en,render:Zr,shouldCellUpdate:et.shouldCellUpdate},wr,{appendNode:Tn,additionalProps:(0,nt.Z)((0,nt.Z)({},Gt),{},{style:na},da)}))}var ds=$s,xA=["data","index","className","rowKey","style","extra","getHeight"],WA=he.forwardRef(function(Le,Ke){var et=Le.data,ut=Le.index,dt=Le.className,Ct=Le.rowKey,Rt=Le.style,tn=Le.extra,Xe=Le.getHeight,ct=(0,qt.Z)(Le,xA),Pt=et.record,Lt=et.indent,_t=et.index,en=ue(Ue,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),rn=en.scrollX,pn=en.flattenColumns,kn=en.prefixCls,Mn=en.fixColumn,Zn=en.componentWidth,qn=an(Pt,Ct,ut,Lt),wr=qn.rowSupportExpand,Tn=qn.expanded,Gt=qn.rowProps,Mr=qn.expandedRowRender,xr=qn.expandedRowClassName,Vn;if(wr&&Tn){var ar=Mr(Pt,ut,Lt+1,Tn),or=xr==null?void 0:xr(Pt,ut,Lt),Jn={};Mn&&(Jn={style:(0,Oe.Z)({},"--virtual-width","".concat(Zn,"px"))});var fr="".concat(kn,"-expanded-row-cell");Vn=he.createElement("div",{className:Qe()("".concat(kn,"-expanded-row"),"".concat(kn,"-expanded-row-level-").concat(Lt+1),or)},he.createElement(Gn,{component:"div",prefixCls:kn,className:Qe()(fr,(0,Oe.Z)({},"".concat(fr,"-fixed"),Mn)),additionalProps:Jn},ar))}var Or=(0,nt.Z)((0,nt.Z)({},Rt),{},{width:rn});tn&&(Or.position="absolute",Or.pointerEvents="none");var na=he.createElement("div",(0,Ne.Z)({},Gt,ct,{ref:wr?null:Ke,className:Qe()(dt,"".concat(kn,"-row"),Gt==null?void 0:Gt.className,(0,Oe.Z)({},"".concat(kn,"-row-extra"),tn)),style:(0,nt.Z)((0,nt.Z)({},Or),Gt==null?void 0:Gt.style)}),pn.map(function(Jr,Zr){return he.createElement(ds,{key:Zr,rowInfo:qn,column:Jr,colIndex:Zr,indent:Lt,index:ut,renderIndex:_t,record:Pt,inverse:tn,getHeight:Xe})}));return wr?he.createElement("div",{ref:Ke},na,Vn):na}),kA=z(WA),Es=kA,Fs=he.forwardRef(function(Le,Ke){var et=Le.data,ut=Le.onScroll,dt=ue(Ue,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ct=dt.flattenColumns,Rt=dt.onColumnResize,tn=dt.getRowKey,Xe=dt.expandedKeys,ct=dt.prefixCls,Pt=dt.childrenColumnName,Lt=dt.emptyNode,_t=dt.scrollX,en=ue(ki),rn=en.scrollY,pn=en.listItemHeight,kn=he.useRef(),Mn=dn(et,Pt,Xe,tn),Zn=he.useMemo(function(){var Vn=0;return Ct.map(function(ar){var or=ar.width,Jn=ar.key;return Vn+=or,[Jn,or,Vn]})},[Ct]),qn=he.useMemo(function(){return Zn.map(function(Vn){return Vn[2]})},[Zn]);he.useEffect(function(){Zn.forEach(function(Vn){var ar=(0,ze.Z)(Vn,2),or=ar[0],Jn=ar[1];Rt(or,Jn)})},[Zn]),he.useImperativeHandle(Ke,function(){var Vn={};return Object.defineProperty(Vn,"scrollLeft",{get:function(){var or;return((or=kn.current)===null||or===void 0?void 0:or.getScrollInfo().x)||0},set:function(or){var Jn;(Jn=kn.current)===null||Jn===void 0||Jn.scrollTo({left:or})}}),Vn});var wr=function(ar,or){var Jn,fr=(Jn=Mn[or])===null||Jn===void 0?void 0:Jn.record,Or=ar.onCell;if(Or){var na,Jr=Or(fr,or);return(na=Jr==null?void 0:Jr.rowSpan)!==null&&na!==void 0?na:1}return 1},Tn=function(ar){var or=ar.start,Jn=ar.end,fr=ar.getSize,Or=ar.offsetY;if(Jn<0)return null;for(var na=Ct.filter(function(Rr){return wr(Rr,or)===0}),Jr=or,Zr=function(pa){if(na=na.filter(function(Sa){return wr(Sa,pa)===0}),!na.length)return Jr=pa,"break"},da=or;da>=0;da-=1){var qr=Zr(da);if(qr==="break")break}for(var La=Ct.filter(function(Rr){return wr(Rr,Jn)!==1}),Lr=Jn,Co=function(pa){if(La=La.filter(function(Sa){return wr(Sa,pa)!==1}),!La.length)return Lr=Math.max(pa-1,Jn),"break"},_a=Jn;_a1})&&so.push(pa)},To=Jr;To<=Lr;To+=1)var za=Ra(To);var _i=so.map(function(Rr){var pa=Mn[Rr],Sa=tn(pa.record,Rr),Xr=function(Ma){var Za=Rr+Ma-1,oo=tn(Mn[Za].record,Za),pi=fr(Sa,oo);return pi.bottom-pi.top},ua=fr(Sa);return he.createElement(Es,{key:Rr,data:pa,rowKey:Sa,index:Rr,style:{top:-Or+ua.top},extra:!0,getHeight:Xr})});return _i},Gt=he.useMemo(function(){return{columnsOffset:qn}},[qn]),Mr="".concat(ct,"-tbody"),xr;return Mn.length?xr=he.createElement(Na.Z,{fullHeight:!1,ref:kn,className:Qe()(Mr,"".concat(Mr,"-virtual")),height:rn,itemHeight:pn||24,data:Mn,itemKey:function(ar){return tn(ar.record)},scrollWidth:_t,onVirtualScroll:function(ar){var or=ar.x;ut({scrollLeft:or})},extraRender:Tn},function(Vn,ar,or){var Jn=tn(Vn.record,ar);return he.createElement(Es,(0,Ne.Z)({data:Vn,rowKey:Jn,index:ar},or))}):xr=he.createElement("div",{className:Qe()("".concat(ct,"-placeholder"))},he.createElement(Gn,{component:"div",prefixCls:ct},Lt)),he.createElement(Qo.Provider,{value:Gt},xr)}),ZA=z(Fs),Ci=ZA,bt=function(Ke,et){var ut=et.ref,dt=et.onScroll;return he.createElement(Ci,{ref:ut,data:Ke,onScroll:dt})},Wn=100;function Ar(Le){var Ke=Le.columns,et=Le.scroll,ut=Le.prefixCls,dt=ut===void 0?_A:ut,Ct=Le.className,Rt=Le.listItemHeight,tn=et||{},Xe=tn.x,ct=tn.y;typeof Xe!="number"&&(Xe=((Ke||[]).length+1)*Wn),typeof ct!="number"&&(ct=500);var Pt=he.useMemo(function(){return{scrollY:ct,listItemHeight:Rt}},[ct,Rt]);return he.createElement(ki.Provider,{value:Pt},he.createElement(ha,(0,Ne.Z)({},Le,{className:Qe()(Ct,"".concat(dt,"-virtual")),scroll:(0,nt.Z)((0,nt.Z)({},et),{},{x:Xe}),components:{body:bt},columns:Ke,internalHooks:we,tailor:!0})))}function Wr(Le){return x(Ar,Le)}var Ta=Wr(),ro=null;function jr(Le){return null}var qa=jr;function ma(Le){return null}var Oo=ma,Ha=ve(2738),ra=ve(68031),$o=ve(36355),ao=ve(93891),ui=ve(19716),mo=ve(8628),vn=ve(31724),An=ve(58421),sn=ve(71418),En=ve(88088);function Rn(Le){return function(et){let{prefixCls:ut,onExpand:dt,record:Ct,expanded:Rt,expandable:tn}=et;const Xe=`${ut}-row-expand-icon`;return he.createElement("button",{type:"button",onClick:ct=>{dt(Ct,ct),ct.stopPropagation()},className:Qe()(Xe,{[`${Xe}-spaced`]:!tn,[`${Xe}-expanded`]:tn&&Rt,[`${Xe}-collapsed`]:tn&&!Rt}),"aria-label":Rt?Le.collapse:Le.expand,"aria-expanded":Rt})}}var lr=Rn;function Fr(Le,Ke){return"key"in Le&&Le.key!==void 0&&Le.key!==null?Le.key:Le.dataIndex?Array.isArray(Le.dataIndex)?Le.dataIndex.join("."):Le.dataIndex:Ke}function mr(Le,Ke){return Ke?`${Ke}-${Le}`:`${Le}`}function Er(Le,Ke){return typeof Le=="function"?Le(Ke):Le}function Sr(Le,Ke){const et=Er(Le,Ke);return Object.prototype.toString.call(et)==="[object Object]"?"":et}var Ea={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ka=Ea,wa=ve(7657),co=function(Ke,et){return he.createElement(wa.Z,(0,Ne.Z)({},Ke,{ref:et,icon:ka}))},wo=he.forwardRef(co),No=wo,ga=ve(56762);function la(Le){const Ke=he.useRef(Le),et=(0,ga.Z)();return[()=>Ke.current,ut=>{Ke.current=ut,et()}]}var oa=ve(3113),Qa=ve(24905),Wa=ve(38854),lo=ve(64165),dA=ve(20834),aA=ve(40875),Di=ve(5112),es=ve(17574),Ki=ve(47472),ts=ve(92832);function ns(Le){let{value:Ke,onChange:et,filterSearch:ut,tablePrefixCls:dt,locale:Ct}=Le;return ut?he.createElement("div",{className:`${dt}-filter-dropdown-search`},he.createElement(ts.default,{prefix:he.createElement(Ki.Z,null),placeholder:Ct.filterSearchPlaceholder,onChange:et,value:Ke,htmlSize:1,className:`${dt}-filter-dropdown-search-input`})):null}var Nn=ns,Ln=ve(10228);const gs=Le=>{const{keyCode:Ke}=Le;Ke===Ln.Z.ENTER&&Le.stopPropagation()};var ya=he.forwardRef((Le,Ke)=>he.createElement("div",{className:Le.className,onClick:et=>et.stopPropagation(),onKeyDown:gs,ref:Ke},Le.children));function $a(Le){let Ke=[];return(Le||[]).forEach(et=>{let{value:ut,children:dt}=et;Ke.push(ut),dt&&(Ke=[].concat((0,Vr.Z)(Ke),(0,Vr.Z)($a(dt))))}),Ke}function Ro(Le){return Le.some(Ke=>{let{children:et}=Ke;return et})}function Do(Le,Ke){return typeof Ke=="string"||typeof Ke=="number"?Ke==null?void 0:Ke.toString().toLowerCase().includes(Le.trim().toLowerCase()):!1}function Ga(Le){let{filters:Ke,prefixCls:et,filteredKeys:ut,filterMultiple:dt,searchValue:Ct,filterSearch:Rt}=Le;return Ke.map((tn,Xe)=>{const ct=String(tn.value);if(tn.children)return{key:ct||Xe,label:tn.text,popupClassName:`${et}-dropdown-submenu`,children:Ga({filters:tn.children,prefixCls:et,filteredKeys:ut,filterMultiple:dt,searchValue:Ct,filterSearch:Rt})};const Pt=dt?Qa.default:Di.ZP,Lt={key:tn.value!==void 0?ct:Xe,label:he.createElement(he.Fragment,null,he.createElement(Pt,{checked:ut.includes(ct)}),he.createElement("span",null,tn.text))};return Ct.trim()?typeof Rt=="function"?Rt(Ct,tn)?Lt:null:Do(Ct,tn.text)?Lt:null:Lt})}function xi(Le){var Ke,et;const{tablePrefixCls:ut,prefixCls:dt,column:Ct,dropdownPrefixCls:Rt,columnKey:tn,filterMultiple:Xe,filterMode:ct="menu",filterSearch:Pt=!1,filterState:Lt,triggerFilter:_t,locale:en,children:rn,getPopupContainer:pn}=Le,{filterDropdownOpen:kn,onFilterDropdownOpenChange:Mn,filterResetToDefaultFilteredValue:Zn,defaultFilteredValue:qn,filterDropdownVisible:wr,onFilterDropdownVisibleChange:Tn}=Ct,[Gt,Mr]=he.useState(!1),xr=!!(Lt&&(!((Ke=Lt.filteredKeys)===null||Ke===void 0)&&Ke.length||Lt.forceFiltered)),Vn=Kr=>{Mr(Kr),Mn==null||Mn(Kr),Tn==null||Tn(Kr)},ar=(et=kn!=null?kn:wr)!==null&&et!==void 0?et:Gt,or=Lt==null?void 0:Lt.filteredKeys,[Jn,fr]=la(or||[]),Or=Kr=>{let{selectedKeys:Ma}=Kr;fr(Ma)},na=(Kr,Ma)=>{let{node:Za,checked:oo}=Ma;Or(Xe?{selectedKeys:Kr}:{selectedKeys:oo&&Za.key?[Za.key]:[]})};he.useEffect(()=>{Gt&&Or({selectedKeys:or||[]})},[or]);const[Jr,Zr]=he.useState([]),da=Kr=>{Zr(Kr)},[qr,La]=he.useState(""),Lr=Kr=>{const{value:Ma}=Kr.target;La(Ma)};he.useEffect(()=>{Gt||La("")},[Gt]);const Co=Kr=>{const Ma=Kr&&Kr.length?Kr:null;if(Ma===null&&(!Lt||!Lt.filteredKeys)||(0,Re.Z)(Ma,Lt==null?void 0:Lt.filteredKeys,!0))return null;_t({column:Ct,key:tn,filteredKeys:Ma})},_a=()=>{Vn(!1),Co(Jn())},ja=function(){let{confirm:Kr,closeDropdown:Ma}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Kr&&Co([]),Ma&&Vn(!1),La(""),fr(Zn?(qn||[]).map(Za=>String(Za)):[])},so=function(){let{closeDropdown:Kr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Kr&&Vn(!1),Co(Jn())},Ra=Kr=>{Kr&&or!==void 0&&fr(or||[]),Vn(Kr),!Kr&&!Ct.filterDropdown&&_a()},To=Qe()({[`${Rt}-menu-without-submenu`]:!Ro(Ct.filters||[])}),za=Kr=>{if(Kr.target.checked){const Ma=$a(Ct==null?void 0:Ct.filters).map(Za=>String(Za));fr(Ma)}else fr([])},_i=Kr=>{let{filters:Ma}=Kr;return(Ma||[]).map((Za,oo)=>{const pi=String(Za.value),Ia={title:Za.text,key:Za.value!==void 0?pi:oo};return Za.children&&(Ia.children=_i({filters:Za.children})),Ia})},Rr=Kr=>{var Ma;return Object.assign(Object.assign({},Kr),{text:Kr.title,value:Kr.key,children:((Ma=Kr.children)===null||Ma===void 0?void 0:Ma.map(Za=>Rr(Za)))||[]})};let pa;if(typeof Ct.filterDropdown=="function")pa=Ct.filterDropdown({prefixCls:`${Rt}-custom`,setSelectedKeys:Kr=>Or({selectedKeys:Kr}),selectedKeys:Jn(),confirm:so,clearFilters:ja,filters:Ct.filters,visible:ar,close:()=>{Vn(!1)}});else if(Ct.filterDropdown)pa=Ct.filterDropdown;else{const Kr=Jn()||[],Ma=()=>(Ct.filters||[]).length===0?he.createElement(lo.Z,{image:lo.Z.PRESENTED_IMAGE_SIMPLE,description:en.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ct==="tree"?he.createElement(he.Fragment,null,he.createElement(Nn,{filterSearch:Pt,value:qr,onChange:Lr,tablePrefixCls:ut,locale:en}),he.createElement("div",{className:`${ut}-filter-dropdown-tree`},Xe?he.createElement(Qa.default,{checked:Kr.length===$a(Ct.filters).length,indeterminate:Kr.length>0&&Kr.length<$a(Ct.filters).length,className:`${ut}-filter-dropdown-checkall`,onChange:za},en.filterCheckall):null,he.createElement(es.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Xe,checkStrictly:!Xe,className:`${Rt}-menu`,onCheck:na,checkedKeys:Kr,selectedKeys:Kr,showIcon:!1,treeData:_i({filters:Ct.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:qr.trim()?oo=>typeof Pt=="function"?Pt(qr,Rr(oo)):Do(qr,oo.title):void 0}))):he.createElement(he.Fragment,null,he.createElement(Nn,{filterSearch:Pt,value:qr,onChange:Lr,tablePrefixCls:ut,locale:en}),he.createElement(dA.default,{selectable:!0,multiple:Xe,prefixCls:`${Rt}-menu`,className:To,onSelect:Or,onDeselect:Or,selectedKeys:Kr,getPopupContainer:pn,openKeys:Jr,onOpenChange:da,items:Ga({filters:Ct.filters||[],filterSearch:Pt,prefixCls:dt,filteredKeys:Jn(),filterMultiple:Xe,searchValue:qr})})),Za=()=>Zn?(0,Re.Z)((qn||[]).map(oo=>String(oo)),Kr,!0):Kr.length===0;pa=he.createElement(he.Fragment,null,Ma(),he.createElement("div",{className:`${dt}-dropdown-btns`},he.createElement(oa.ZP,{type:"link",size:"small",disabled:Za(),onClick:()=>ja()},en.filterReset),he.createElement(oa.ZP,{type:"primary",size:"small",onClick:_a},en.filterConfirm)))}Ct.filterDropdown&&(pa=he.createElement(aA.J,{selectable:void 0},pa));const Sa=()=>he.createElement(ya,{className:`${dt}-dropdown`},pa);let Xr;typeof Ct.filterIcon=="function"?Xr=Ct.filterIcon(xr):Ct.filterIcon?Xr=Ct.filterIcon:Xr=he.createElement(No,null);const{direction:ua}=he.useContext($o.E_);return he.createElement("div",{className:`${dt}-column`},he.createElement("span",{className:`${ut}-column-title`},rn),he.createElement(Wa.Z,{dropdownRender:Sa,trigger:["click"],open:ar,onOpenChange:Ra,getPopupContainer:pn,placement:ua==="rtl"?"bottomLeft":"bottomRight"},he.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${dt}-trigger`,{active:xr}),onClick:Kr=>{Kr.stopPropagation()}},Xr)))}var fs=xi;function jA(Le,Ke,et){let ut=[];return(Le||[]).forEach((dt,Ct)=>{var Rt;const tn=mr(Ct,et);if(dt.filters||"filterDropdown"in dt||"onFilter"in dt)if("filteredValue"in dt){let Xe=dt.filteredValue;"filterDropdown"in dt||(Xe=(Rt=Xe==null?void 0:Xe.map(String))!==null&&Rt!==void 0?Rt:Xe),ut.push({column:dt,key:Fr(dt,tn),filteredKeys:Xe,forceFiltered:dt.filtered})}else ut.push({column:dt,key:Fr(dt,tn),filteredKeys:Ke&&dt.defaultFilteredValue?dt.defaultFilteredValue:void 0,forceFiltered:dt.filtered});"children"in dt&&(ut=[].concat((0,Vr.Z)(ut),(0,Vr.Z)(jA(dt.children,Ke,tn))))}),ut}function rs(Le,Ke,et,ut,dt,Ct,Rt,tn){return et.map((Xe,ct)=>{const Pt=mr(ct,tn),{filterMultiple:Lt=!0,filterMode:_t,filterSearch:en}=Xe;let rn=Xe;if(rn.filters||rn.filterDropdown){const pn=Fr(rn,Pt),kn=ut.find(Mn=>{let{key:Zn}=Mn;return pn===Zn});rn=Object.assign(Object.assign({},rn),{title:Mn=>he.createElement(fs,{tablePrefixCls:Le,prefixCls:`${Le}-filter`,dropdownPrefixCls:Ke,column:rn,columnKey:pn,filterState:kn,filterMultiple:Lt,filterMode:_t,filterSearch:en,triggerFilter:Ct,locale:dt,getPopupContainer:Rt},Er(Xe.title,Mn))})}return"children"in rn&&(rn=Object.assign(Object.assign({},rn),{children:rs(Le,Ke,rn.children,ut,dt,Ct,Rt,Pt)})),rn})}function SA(Le){const Ke={};return Le.forEach(et=>{let{key:ut,filteredKeys:dt,column:Ct}=et;const{filters:Rt,filterDropdown:tn}=Ct;if(tn)Ke[ut]=dt||null;else if(Array.isArray(dt)){const Xe=$a(Rt);Ke[ut]=Xe.filter(ct=>dt.includes(String(ct)))}else Ke[ut]=null}),Ke}function hs(Le,Ke){return Ke.reduce((et,ut)=>{const{column:{onFilter:dt,filters:Ct},filteredKeys:Rt}=ut;return dt&&Rt&&Rt.length?et.filter(tn=>Rt.some(Xe=>{const ct=$a(Ct),Pt=ct.findIndex(_t=>String(_t)===String(Xe)),Lt=Pt!==-1?ct[Pt]:Xe;return dt(Lt,tn)})):et},Le)}const gA=Le=>Le.flatMap(Ke=>"children"in Ke?[Ke].concat((0,Vr.Z)(gA(Ke.children||[]))):[Ke]);function ea(Le){let{prefixCls:Ke,dropdownPrefixCls:et,mergedColumns:ut,onFilterChange:dt,getPopupContainer:Ct,locale:Rt}=Le;const tn=he.useMemo(()=>gA(ut||[]),[ut]),[Xe,ct]=he.useState(()=>jA(tn,!0)),Pt=he.useMemo(()=>{const rn=jA(tn,!1);if(rn.length===0)return rn;let pn=!0,kn=!0;if(rn.forEach(Mn=>{let{filteredKeys:Zn}=Mn;Zn!==void 0?pn=!1:kn=!1}),pn){const Mn=(tn||[]).map((Zn,qn)=>Fr(Zn,mr(qn)));return Xe.filter(Zn=>{let{key:qn}=Zn;return Mn.includes(qn)}).map(Zn=>{const qn=tn[Mn.findIndex(wr=>wr===Zn.key)];return Object.assign(Object.assign({},Zn),{column:Object.assign(Object.assign({},Zn.column),qn),forceFiltered:qn.filtered})})}return rn},[tn,Xe]),Lt=he.useMemo(()=>SA(Pt),[Pt]),_t=rn=>{const pn=Pt.filter(kn=>{let{key:Mn}=kn;return Mn!==rn.key});pn.push(rn),ct(pn),dt(SA(pn),pn)};return[rn=>rs(Ke,et,rn,Pt,Rt,_t,Ct),Pt,Lt]}var Pl=ea;function ji(Le,Ke,et){const ut=he.useRef({});function dt(Ct){if(!ut.current||ut.current.data!==Le||ut.current.childrenColumnName!==Ke||ut.current.getRowKey!==et){let tn=function(Xe){Xe.forEach((ct,Pt)=>{const Lt=et(ct,Pt);Rt.set(Lt,ct),ct&&typeof ct=="object"&&Ke in ct&&tn(ct[Ke]||[])})};const Rt=new Map;tn(Le),ut.current={data:Le,childrenColumnName:Ke,kvMap:Rt,getRowKey:et}}return ut.current.kvMap.get(Ct)}return[dt]}var el=ve(50371),LA=function(Le,Ke){var et={};for(var ut in Le)Object.prototype.hasOwnProperty.call(Le,ut)&&Ke.indexOf(ut)<0&&(et[ut]=Le[ut]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,ut=Object.getOwnPropertySymbols(Le);dt{const Ct=Le[dt];typeof Ct!="function"&&(et[dt]=Ct)}),et}function gl(Le,Ke,et){const ut=et&&typeof et=="object"?et:{},{total:dt=0}=ut,Ct=LA(ut,["total"]),[Rt,tn]=(0,he.useState)(()=>({current:"defaultCurrent"in Ct?Ct.defaultCurrent:1,pageSize:"defaultPageSize"in Ct?Ct.defaultPageSize:HA})),Xe=(0,el.Z)(Rt,Ct,{total:dt>0?dt:Le}),ct=Math.ceil((dt||Le)/Xe.pageSize);Xe.current>ct&&(Xe.current=ct||1);const Pt=(_t,en)=>{tn({current:_t!=null?_t:1,pageSize:en||Xe.pageSize})},Lt=(_t,en)=>{var rn;et&&((rn=et.onChange)===null||rn===void 0||rn.call(et,_t,en)),Pt(_t,en),Ke(_t,en||(Xe==null?void 0:Xe.pageSize))};return et===!1?[{},()=>{}]:[Object.assign(Object.assign({},Xe),{onChange:Lt}),Pt]}var Gl=gl,fl=ve(84105),hl=ve(35654),js=ve(90782),ms=ve(71430),RA=ve(18929);const mi={},IA="SELECT_ALL",MA="SELECT_INVERT",si="SELECT_NONE",zi=[],tl=(Le,Ke)=>{let et=[];return(Ke||[]).forEach(ut=>{et.push(ut),ut&&typeof ut=="object"&&Le in ut&&(et=[].concat((0,Vr.Z)(et),(0,Vr.Z)(tl(Le,ut[Le]))))}),et};var Hs=(Le,Ke)=>{const{preserveSelectedRowKeys:et,selectedRowKeys:ut,defaultSelectedRowKeys:dt,getCheckboxProps:Ct,onChange:Rt,onSelect:tn,onSelectAll:Xe,onSelectInvert:ct,onSelectNone:Pt,onSelectMultiple:Lt,columnWidth:_t,type:en,selections:rn,fixed:pn,renderCell:kn,hideSelectAll:Mn,checkStrictly:Zn=!0}=Ke||{},{prefixCls:qn,data:wr,pageData:Tn,getRecordByKey:Gt,getRowKey:Mr,expandType:xr,childrenColumnName:Vn,locale:ar,getPopupContainer:or}=Le,[Jn,fr]=(0,RA.Z)(ut||dt||zi,{value:ut}),Or=he.useRef(new Map),na=(0,he.useCallback)(Rr=>{if(et){const pa=new Map;Rr.forEach(Sa=>{let Xr=Gt(Sa);!Xr&&Or.current.has(Sa)&&(Xr=Or.current.get(Sa)),pa.set(Sa,Xr)}),Or.current=pa}},[Gt,et]);he.useEffect(()=>{na(Jn)},[Jn]);const{keyEntities:Jr}=(0,he.useMemo)(()=>{if(Zn)return{keyEntities:null};let Rr=wr;if(et){const pa=new Set(wr.map((Xr,ua)=>Mr(Xr,ua))),Sa=Array.from(Or.current).reduce((Xr,ua)=>{let[Kr,Ma]=ua;return pa.has(Kr)?Xr:Xr.concat(Ma)},[]);Rr=[].concat((0,Vr.Z)(Rr),(0,Vr.Z)(Sa))}return(0,ms.I8)(Rr,{externalGetKey:Mr,childrenPropName:Vn})},[wr,Mr,Zn,Vn,et]),Zr=(0,he.useMemo)(()=>tl(Vn,Tn),[Vn,Tn]),da=(0,he.useMemo)(()=>{const Rr=new Map;return Zr.forEach((pa,Sa)=>{const Xr=Mr(pa,Sa),ua=(Ct?Ct(pa):null)||{};Rr.set(Xr,ua)}),Rr},[Zr,Mr,Ct]),qr=(0,he.useCallback)(Rr=>{var pa;return!!(!((pa=da.get(Mr(Rr)))===null||pa===void 0)&&pa.disabled)},[da,Mr]),[La,Lr]=(0,he.useMemo)(()=>{if(Zn)return[Jn||[],[]];const{checkedKeys:Rr,halfCheckedKeys:pa}=(0,js.S)(Jn,!0,Jr,qr);return[Rr||[],pa]},[Jn,Zn,Jr,qr]),Co=(0,he.useMemo)(()=>{const Rr=en==="radio"?La.slice(0,1):La;return new Set(Rr)},[La,en]),_a=(0,he.useMemo)(()=>en==="radio"?new Set:new Set(Lr),[Lr,en]),[ja,so]=(0,he.useState)(null);he.useEffect(()=>{Ke||fr(zi)},[!!Ke]);const Ra=(0,he.useCallback)((Rr,pa)=>{let Sa,Xr;na(Rr),et?(Sa=Rr,Xr=Rr.map(ua=>Or.current.get(ua))):(Sa=[],Xr=[],Rr.forEach(ua=>{const Kr=Gt(ua);Kr!==void 0&&(Sa.push(ua),Xr.push(Kr))})),fr(Sa),Rt==null||Rt(Sa,Xr,{type:pa})},[fr,Gt,Rt,et]),To=(0,he.useCallback)((Rr,pa,Sa,Xr)=>{if(tn){const ua=Sa.map(Kr=>Gt(Kr));tn(Gt(Rr),pa,ua,Xr)}Ra(Sa,"single")},[tn,Gt,Ra]),za=(0,he.useMemo)(()=>!rn||Mn?null:(rn===!0?[IA,MA,si]:rn).map(pa=>pa===IA?{key:"all",text:ar.selectionAll,onSelect(){Ra(wr.map((Sa,Xr)=>Mr(Sa,Xr)).filter(Sa=>{const Xr=da.get(Sa);return!(Xr!=null&&Xr.disabled)||Co.has(Sa)}),"all")}}:pa===MA?{key:"invert",text:ar.selectInvert,onSelect(){const Sa=new Set(Co);Tn.forEach((ua,Kr)=>{const Ma=Mr(ua,Kr),Za=da.get(Ma);Za!=null&&Za.disabled||(Sa.has(Ma)?Sa.delete(Ma):Sa.add(Ma))});const Xr=Array.from(Sa);ct&&ct(Xr),Ra(Xr,"invert")}}:pa===si?{key:"none",text:ar.selectNone,onSelect(){Pt==null||Pt(),Ra(Array.from(Co).filter(Sa=>{const Xr=da.get(Sa);return Xr==null?void 0:Xr.disabled}),"none")}}:pa).map(pa=>Object.assign(Object.assign({},pa),{onSelect:function(){for(var Sa,Xr,ua=arguments.length,Kr=new Array(ua),Ma=0;Ma{var pa;if(!Ke)return Rr.filter(po=>po!==mi);let Sa=(0,Vr.Z)(Rr);const Xr=new Set(Co),ua=Zr.map(Mr).filter(po=>!da.get(po).disabled),Kr=ua.every(po=>Xr.has(po)),Ma=ua.some(po=>Xr.has(po)),Za=()=>{const po=[];Kr?ua.forEach(ko=>{Xr.delete(ko),po.push(ko)}):ua.forEach(ko=>{Xr.has(ko)||(Xr.add(ko),po.push(ko))});const to=Array.from(Xr);Xe==null||Xe(!Kr,to.map(ko=>Gt(ko)),po.map(ko=>Gt(ko))),Ra(to,"all"),so(null)};let oo;if(en!=="radio"){let po;if(za){const Va={getPopupContainer:or,items:za.map((gi,Bi)=>{const{key:eA,text:Zi,onSelect:mA}=gi;return{key:eA!=null?eA:Bi,onClick:()=>{mA==null||mA(ua)},label:Zi}})};po=he.createElement("div",{className:`${qn}-selection-extra`},he.createElement(Wa.Z,{menu:Va,getPopupContainer:or},he.createElement("span",null,he.createElement(fl.Z,null))))}const to=Zr.map((Va,gi)=>{const Bi=Mr(Va,gi),eA=da.get(Bi)||{};return Object.assign({checked:Xr.has(Bi)},eA)}).filter(Va=>{let{disabled:gi}=Va;return gi}),ko=!!to.length&&to.length===Zr.length,Yo=ko&&to.every(Va=>{let{checked:gi}=Va;return gi}),Mo=ko&&to.some(Va=>{let{checked:gi}=Va;return gi});oo=!Mn&&he.createElement("div",{className:`${qn}-selection`},he.createElement(Qa.default,{checked:ko?Yo:!!Zr.length&&Kr,indeterminate:ko?!Yo&&Mo:!Kr&&Ma,onChange:Za,disabled:Zr.length===0||ko,"aria-label":po?"Custom selection":"Select all",skipGroup:!0}),po)}let pi;en==="radio"?pi=(po,to,ko)=>{const Yo=Mr(to,ko),Mo=Xr.has(Yo);return{node:he.createElement(Di.ZP,Object.assign({},da.get(Yo),{checked:Mo,onClick:Va=>Va.stopPropagation(),onChange:Va=>{Xr.has(Yo)||To(Yo,!0,[Yo],Va.nativeEvent)}})),checked:Mo}}:pi=(po,to,ko)=>{var Yo;const Mo=Mr(to,ko),Va=Xr.has(Mo),gi=_a.has(Mo),Bi=da.get(Mo);let eA;return xr==="nest"?eA=gi:eA=(Yo=Bi==null?void 0:Bi.indeterminate)!==null&&Yo!==void 0?Yo:gi,{node:he.createElement(Qa.default,Object.assign({},Bi,{indeterminate:eA,checked:Va,skipGroup:!0,onClick:Zi=>Zi.stopPropagation(),onChange:Zi=>{let{nativeEvent:mA}=Zi;const{shiftKey:Ss}=mA;let VA=-1,DA=-1;if(Ss&&Zn){const bA=new Set([ja,Mo]);ua.some((tA,fi)=>{if(bA.has(tA))if(VA===-1)VA=fi;else return DA=fi,!0;return!1})}if(DA!==-1&&VA!==DA&&Zn){const bA=ua.slice(VA,DA+1),tA=[];Va?bA.forEach(ai=>{Xr.has(ai)&&(tA.push(ai),Xr.delete(ai))}):bA.forEach(ai=>{Xr.has(ai)||(tA.push(ai),Xr.add(ai))});const fi=Array.from(Xr);Lt==null||Lt(!Va,fi.map(ai=>Gt(ai)),tA.map(ai=>Gt(ai))),Ra(fi,"multiple")}else{const bA=La;if(Zn){const tA=Va?(0,hl._5)(bA,Mo):(0,hl.L0)(bA,Mo);To(Mo,!Va,tA,mA)}else{const tA=(0,js.S)([].concat((0,Vr.Z)(bA),[Mo]),!0,Jr,qr),{checkedKeys:fi,halfCheckedKeys:ai}=tA;let ys=fi;if(Va){const Is=new Set(fi);Is.delete(Mo),ys=(0,js.S)(Array.from(Is),{checked:!1,halfCheckedKeys:ai},Jr,qr).checkedKeys}To(Mo,!Va,ys,mA)}}so(Va?null:Mo)}})),checked:Va}};const Ia=(po,to,ko)=>{const{node:Yo,checked:Mo}=pi(po,to,ko);return kn?kn(Mo,to,ko,Yo):Yo};if(!Sa.includes(mi))if(Sa.findIndex(po=>{var to;return((to=po[yr])===null||to===void 0?void 0:to.columnType)==="EXPAND_COLUMN"})===0){const[po,...to]=Sa;Sa=[po,mi].concat((0,Vr.Z)(to))}else Sa=[mi].concat((0,Vr.Z)(Sa));const Wi=Sa.indexOf(mi);Sa=Sa.filter((po,to)=>po!==mi||to===Wi);const ei=Sa[Wi-1],vi=Sa[Wi+1];let Nr=pn;Nr===void 0&&((vi==null?void 0:vi.fixed)!==void 0?Nr=vi.fixed:(ei==null?void 0:ei.fixed)!==void 0&&(Nr=ei.fixed)),Nr&&ei&&((pa=ei[yr])===null||pa===void 0?void 0:pa.columnType)==="EXPAND_COLUMN"&&ei.fixed===void 0&&(ei.fixed=Nr);const Wo=Qe()(`${qn}-selection-col`,{[`${qn}-selection-col-with-dropdown`]:rn&&en==="checkbox"}),oA={fixed:Nr,width:_t,className:`${qn}-selection-column`,title:Ke.columnTitle||oo,render:Ia,onCell:Ke.onCell,[yr]:{className:Wo}};return Sa.map(po=>po===mi?oA:po)},[Mr,Zr,Ke,La,Co,_a,_t,za,xr,ja,da,Lt,To,qr]),Co]},as=ve(89489),Rs=ve(59477),xs=ve(6848);const yA="ascend",pl="descend";function nl(Le){return typeof Le.sorter=="object"&&typeof Le.sorter.multiple=="number"?Le.sorter.multiple:!1}function rl(Le){return typeof Le=="function"?Le:Le&&typeof Le=="object"&&Le.compare?Le.compare:!1}function vl(Le,Ke){return Ke?Le[Le.indexOf(Ke)+1]:Le[0]}function Ir(Le,Ke,et){let ut=[];function dt(Ct,Rt){ut.push({column:Ct,key:Fr(Ct,Rt),multiplePriority:nl(Ct),sortOrder:Ct.sortOrder})}return(Le||[]).forEach((Ct,Rt)=>{const tn=mr(Rt,et);Ct.children?("sortOrder"in Ct&&dt(Ct,tn),ut=[].concat((0,Vr.Z)(ut),(0,Vr.Z)(Ir(Ct.children,Ke,tn)))):Ct.sorter&&("sortOrder"in Ct?dt(Ct,tn):Ke&&Ct.defaultSortOrder&&ut.push({column:Ct,key:Fr(Ct,tn),multiplePriority:nl(Ct),sortOrder:Ct.defaultSortOrder}))}),ut}function Da(Le,Ke,et,ut,dt,Ct,Rt,tn){return(Ke||[]).map((Xe,ct)=>{const Pt=mr(ct,tn);let Lt=Xe;if(Lt.sorter){const _t=Lt.sortDirections||dt,en=Lt.showSorterTooltip===void 0?Rt:Lt.showSorterTooltip,rn=Fr(Lt,Pt),pn=et.find(xr=>{let{key:Vn}=xr;return Vn===rn}),kn=pn?pn.sortOrder:null,Mn=vl(_t,kn);let Zn;if(Xe.sortIcon)Zn=Xe.sortIcon({sortOrder:kn});else{const xr=_t.includes(yA)&&he.createElement(Rs.Z,{className:Qe()(`${Le}-column-sorter-up`,{active:kn===yA})}),Vn=_t.includes(pl)&&he.createElement(as.Z,{className:Qe()(`${Le}-column-sorter-down`,{active:kn===pl})});Zn=he.createElement("span",{className:Qe()(`${Le}-column-sorter`,{[`${Le}-column-sorter-full`]:!!(xr&&Vn)})},he.createElement("span",{className:`${Le}-column-sorter-inner`,"aria-hidden":"true"},xr,Vn))}const{cancelSort:qn,triggerAsc:wr,triggerDesc:Tn}=Ct||{};let Gt=qn;Mn===pl?Gt=Tn:Mn===yA&&(Gt=wr);const Mr=typeof en=="object"?en:{title:Gt};Lt=Object.assign(Object.assign({},Lt),{className:Qe()(Lt.className,{[`${Le}-column-sort`]:kn}),title:xr=>{const Vn=he.createElement("div",{className:`${Le}-column-sorters`},he.createElement("span",{className:`${Le}-column-title`},Er(Xe.title,xr)),Zn);return en?he.createElement(xs.Z,Object.assign({},Mr),Vn):Vn},onHeaderCell:xr=>{const Vn=Xe.onHeaderCell&&Xe.onHeaderCell(xr)||{},ar=Vn.onClick,or=Vn.onKeyDown;Vn.onClick=Or=>{ut({column:Xe,key:rn,sortOrder:Mn,multiplePriority:nl(Xe)}),ar==null||ar(Or)},Vn.onKeyDown=Or=>{Or.keyCode===Ln.Z.ENTER&&(ut({column:Xe,key:rn,sortOrder:Mn,multiplePriority:nl(Xe)}),or==null||or(Or))};const Jn=Sr(Xe.title,{}),fr=Jn==null?void 0:Jn.toString();return kn?Vn["aria-sort"]=kn==="ascend"?"ascending":"descending":Vn["aria-label"]=fr||"",Vn.className=Qe()(Vn.className,`${Le}-column-has-sorters`),Vn.tabIndex=0,Xe.ellipsis&&(Vn.title=(Jn!=null?Jn:"").toString()),Vn}})}return"children"in Lt&&(Lt=Object.assign(Object.assign({},Lt),{children:Da(Le,Lt.children,et,ut,dt,Ct,Rt,Pt)})),Lt})}function cr(Le){const{column:Ke,sortOrder:et}=Le;return{column:Ke,order:et,field:Ke.dataIndex,columnKey:Ke.key}}function ba(Le){const Ke=Le.filter(et=>{let{sortOrder:ut}=et;return ut}).map(cr);return Ke.length===0&&Le.length?Object.assign(Object.assign({},cr(Le[Le.length-1])),{column:void 0}):Ke.length<=1?Ke[0]||{}:Ke}function eo(Le,Ke,et){const ut=Ke.slice().sort((Rt,tn)=>tn.multiplePriority-Rt.multiplePriority),dt=Le.slice(),Ct=ut.filter(Rt=>{let{column:{sorter:tn},sortOrder:Xe}=Rt;return rl(tn)&&Xe});return Ct.length?dt.sort((Rt,tn)=>{for(let Xe=0;Xe{const tn=Rt[et];return tn?Object.assign(Object.assign({},Rt),{[et]:eo(tn,Ke,et)}):Rt}):dt}function Gi(Le){let{prefixCls:Ke,mergedColumns:et,onSorterChange:ut,sortDirections:dt,tableLocale:Ct,showSorterTooltip:Rt}=Le;const[tn,Xe]=he.useState(Ir(et,!0)),ct=he.useMemo(()=>{let rn=!0;const pn=Ir(et,!1);if(!pn.length)return tn;const kn=[];function Mn(qn){rn?kn.push(qn):kn.push(Object.assign(Object.assign({},qn),{sortOrder:null}))}let Zn=null;return pn.forEach(qn=>{Zn===null?(Mn(qn),qn.sortOrder&&(qn.multiplePriority===!1?rn=!1:Zn=!0)):(Zn&&qn.multiplePriority!==!1||(rn=!1),Mn(qn))}),kn},[et,tn]),Pt=he.useMemo(()=>{const rn=ct.map(pn=>{let{column:kn,sortOrder:Mn}=pn;return{column:kn,order:Mn}});return{sortColumns:rn,sortColumn:rn[0]&&rn[0].column,sortOrder:rn[0]&&rn[0].order}},[ct]);function Lt(rn){let pn;rn.multiplePriority===!1||!ct.length||ct[0].multiplePriority===!1?pn=[rn]:pn=[].concat((0,Vr.Z)(ct.filter(kn=>{let{key:Mn}=kn;return Mn!==rn.key})),[rn]),Xe(pn),ut(ba(pn),pn)}return[rn=>Da(Ke,rn,ct,Lt,dt,Ct,Rt),ct,Pt,()=>ba(ct)]}function $i(Le,Ke){return Le.map(et=>{const ut=Object.assign({},et);return ut.title=Er(et.title,Ke),"children"in ut&&(ut.children=$i(ut.children,Ke)),ut})}function ci(Le){return[he.useCallback(et=>$i(et,Le),[Le])]}var ps=Go((Le,Ke)=>{const{_renderTimes:et}=Le,{_renderTimes:ut}=Ke;return et!==ut}),vs=Wr((Le,Ke)=>{const{_renderTimes:et}=Le,{_renderTimes:ut}=Ke;return et!==ut}),wA=ve(64993),Po=ve(17313),os=ve(83116),Eo=ve(37613),Ui=Le=>{const{componentCls:Ke}=Le,et=`${Le.lineWidth}px ${Le.lineType} ${Le.tableBorderColor}`,ut=(dt,Ct,Rt)=>({[`&${Ke}-${dt}`]:{[`> ${Ke}-container`]:{[`> ${Ke}-content, > ${Ke}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ke}-expanded-row-fixed`]:{margin:`-${Ct}px -${Rt+Le.lineWidth}px`}}}}}});return{[`${Ke}-wrapper`]:{[`${Ke}${Ke}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ke}-title`]:{border:et,borderBottom:0},[`> ${Ke}-container`]:{borderInlineStart:et,borderTop:et,[` > ${Ke}-content, > ${Ke}-header, > ${Ke}-body, > ${Ke}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ke}-cell-fix-right-first::after`]:{borderInlineEnd:et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ke}-expanded-row-fixed`]:{margin:`-${Le.tablePaddingVertical}px -${Le.tablePaddingHorizontal+Le.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Le.lineWidth,bottom:0,borderInlineEnd:et,content:'""'}}}}}},[`&${Ke}-scroll-horizontal`]:{[`> ${Ke}-container > ${Ke}-body`]:{"> table > tbody":{[` > tr${Ke}-expanded-row, > tr${Ke}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},ut("middle",Le.tablePaddingVerticalMiddle,Le.tablePaddingHorizontalMiddle)),ut("small",Le.tablePaddingVerticalSmall,Le.tablePaddingHorizontalSmall)),{[`> ${Ke}-footer`]:{border:et,borderTop:0}}),[`${Ke}-cell`]:{[`${Ke}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Le.lineWidth}px 0 ${Le.lineWidth}px ${Le.tableHeaderBg}`}},[`${Ke}-bordered ${Ke}-cell-scrollbar`]:{borderInlineEnd:et}}}},bi=Le=>{const{componentCls:Ke}=Le;return{[`${Ke}-wrapper`]:{[`${Ke}-cell-ellipsis`]:Object.assign(Object.assign({},Po.vS),{wordBreak:"keep-all",[` &${Ke}-cell-fix-left-last, &${Ke}-cell-fix-right-first `]:{overflow:"visible",[`${Ke}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ke}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Bs=Le=>{const{componentCls:Ke}=Le;return{[`${Ke}-wrapper`]:{[`${Ke}-tbody > tr${Ke}-placeholder`]:{textAlign:"center",color:Le.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Le.colorBgContainer}}}}},Li=ve(15969),hA=Le=>{const{componentCls:Ke,antCls:et,controlInteractiveSize:ut,motionDurationSlow:dt,lineWidth:Ct,paddingXS:Rt,lineType:tn,tableBorderColor:Xe,tableExpandIconBg:ct,tableExpandColumnWidth:Pt,borderRadius:Lt,fontSize:_t,fontSizeSM:en,lineHeight:rn,tablePaddingVertical:pn,tablePaddingHorizontal:kn,tableExpandedRowBg:Mn,paddingXXS:Zn}=Le,qn=ut/2-Ct,wr=qn*2+Ct*3,Tn=`${Ct}px ${tn} ${Xe}`,Gt=Zn-Ct;return{[`${Ke}-wrapper`]:{[`${Ke}-expand-icon-col`]:{width:Pt},[`${Ke}-row-expand-icon-cell`]:{textAlign:"center",[`${Ke}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ke}-row-indent`]:{height:1,float:"left"},[`${Ke}-row-expand-icon`]:Object.assign(Object.assign({},(0,Li.N)(Le)),{position:"relative",float:"left",boxSizing:"border-box",width:wr,height:wr,padding:0,color:"inherit",lineHeight:`${wr}px`,background:ct,border:Tn,borderRadius:Lt,transform:`scale(${ut/wr})`,transition:`all ${dt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${dt} ease-out`,content:'""'},"&::before":{top:qn,insetInlineEnd:Gt,insetInlineStart:Gt,height:Ct},"&::after":{top:Gt,bottom:Gt,insetInlineStart:qn,width:Ct,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ke}-row-indent + ${Ke}-row-expand-icon`]:{marginTop:(_t*rn-Ct*3)/2-Math.ceil((en*1.4-Ct*3)/2),marginInlineEnd:Rt},[`tr${Ke}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Mn}},[`${et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ke}-expanded-row-fixed`]:{position:"relative",margin:`-${pn}px -${kn}px`,padding:`${pn}px ${kn}px`}}}},ae=Le=>{const{componentCls:Ke,antCls:et,iconCls:ut,tableFilterDropdownWidth:dt,tableFilterDropdownSearchWidth:Ct,paddingXXS:Rt,paddingXS:tn,colorText:Xe,lineWidth:ct,lineType:Pt,tableBorderColor:Lt,tableHeaderIconColor:_t,fontSizeSM:en,tablePaddingHorizontal:rn,borderRadius:pn,motionDurationSlow:kn,colorTextDescription:Mn,colorPrimary:Zn,tableHeaderFilterActiveBg:qn,colorTextDisabled:wr,tableFilterDropdownBg:Tn,tableFilterDropdownHeight:Gt,controlItemBgHover:Mr,controlItemBgActive:xr,boxShadowSecondary:Vn,filterDropdownMenuBg:ar}=Le,or=`${et}-dropdown`,Jn=`${Ke}-filter-dropdown`,fr=`${et}-tree`,Or=`${ct}px ${Pt} ${Lt}`;return[{[`${Ke}-wrapper`]:{[`${Ke}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ke}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Rt,marginInline:`${Rt}px ${-rn/2}px`,padding:`0 ${Rt}px`,color:_t,fontSize:en,borderRadius:pn,cursor:"pointer",transition:`all ${kn}`,"&:hover":{color:Mn,background:qn},"&.active":{color:Zn}}}},{[`${et}-dropdown`]:{[Jn]:Object.assign(Object.assign({},(0,Po.Wf)(Le)),{minWidth:dt,backgroundColor:Tn,borderRadius:pn,boxShadow:Vn,overflow:"hidden",[`${or}-menu`]:{maxHeight:Gt,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ar,"&:empty::after":{display:"block",padding:`${tn}px 0`,color:wr,fontSize:en,textAlign:"center",content:'"Not Found"'}},[`${Jn}-tree`]:{paddingBlock:`${tn}px 0`,paddingInline:tn,[fr]:{padding:0},[`${fr}-treenode ${fr}-node-content-wrapper:hover`]:{backgroundColor:Mr},[`${fr}-treenode-checkbox-checked ${fr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:xr}}},[`${Jn}-search`]:{padding:tn,borderBottom:Or,"&-input":{input:{minWidth:Ct},[ut]:{color:wr}}},[`${Jn}-checkall`]:{width:"100%",marginBottom:Rt,marginInlineStart:Rt},[`${Jn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${tn-ct}px ${tn}px`,overflow:"hidden",borderTop:Or}})}},{[`${et}-dropdown ${Jn}, ${Jn}-submenu`]:{[`${et}-checkbox-wrapper + span`]:{paddingInlineStart:tn,color:Xe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},re=Le=>{const{componentCls:Ke,lineWidth:et,colorSplit:ut,motionDurationSlow:dt,zIndexTableFixed:Ct,tableBg:Rt,zIndexTableSticky:tn}=Le,Xe=ut;return{[`${Ke}-wrapper`]:{[` ${Ke}-cell-fix-left, ${Ke}-cell-fix-right `]:{position:"sticky !important",zIndex:Ct,background:Rt},[` ${Ke}-cell-fix-left-first::after, ${Ke}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-et,width:30,transform:"translateX(100%)",transition:`box-shadow ${dt}`,content:'""',pointerEvents:"none"},[`${Ke}-cell-fix-left-all::after`]:{display:"none"},[` ${Ke}-cell-fix-right-first::after, ${Ke}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${dt}`,content:'""',pointerEvents:"none"},[`${Ke}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:tn+1,width:30,transition:`box-shadow ${dt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ke}-ping-left`]:{[`&:not(${Ke}-has-fix-left) ${Ke}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Xe}`}},[` ${Ke}-cell-fix-left-first::after, ${Ke}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Xe}`},[`${Ke}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ke}-ping-right`]:{[`&:not(${Ke}-has-fix-right) ${Ke}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Xe}`}},[` ${Ke}-cell-fix-right-first::after, ${Ke}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Xe}`}}}}},Ce=Le=>{const{componentCls:Ke,antCls:et}=Le;return{[`${Ke}-wrapper`]:{[`${Ke}-pagination${et}-pagination`]:{margin:`${Le.margin}px 0`},[`${Ke}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Le.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Ie=Le=>{const{componentCls:Ke,tableRadius:et}=Le;return{[`${Ke}-wrapper`]:{[Ke]:{[`${Ke}-title, ${Ke}-header`]:{borderRadius:`${et}px ${et}px 0 0`},[`${Ke}-title + ${Ke}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ke}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:et,borderStartEndRadius:et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:et},"> *:last-child":{borderStartEndRadius:et}}},"&-footer":{borderRadius:`0 0 ${et}px ${et}px`}}}}},_e=Le=>{const{componentCls:Ke}=Le;return{[`${Ke}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ke}-pagination-left`]:{justifyContent:"flex-end"},[`${Ke}-pagination-right`]:{justifyContent:"flex-start"},[`${Ke}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ke}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ke}-row-indent`]:{float:"right"}}}}},mt=Le=>{const{componentCls:Ke,antCls:et,iconCls:ut,fontSizeIcon:dt,padding:Ct,paddingXS:Rt,tableHeaderIconColor:tn,tableHeaderIconColorHover:Xe,tableSelectionColumnWidth:ct}=Le;return{[`${Ke}-wrapper`]:{[`${Ke}-selection-col`]:{width:ct,[`&${Ke}-selection-col-with-dropdown`]:{width:ct+dt+Ct/4}},[`${Ke}-bordered ${Ke}-selection-col`]:{width:ct+Rt*2,[`&${Ke}-selection-col-with-dropdown`]:{width:ct+dt+Ct/4+Rt*2}},[` table tr th${Ke}-selection-column, table tr td${Ke}-selection-column `]:{paddingInlineEnd:Le.paddingXS,paddingInlineStart:Le.paddingXS,textAlign:"center",[`${et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ke}-selection-column${Ke}-cell-fix-left`]:{zIndex:Le.zIndexTableFixed+1},[`table tr th${Ke}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ke}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ke}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Le.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Le.tablePaddingHorizontal/4}px`,[ut]:{color:tn,fontSize:dt,verticalAlign:"baseline","&:hover":{color:Xe}}}}}},Qt=Le=>{const{componentCls:Ke}=Le,et=(ut,dt,Ct,Rt)=>({[`${Ke}${Ke}-${ut}`]:{fontSize:Rt,[` ${Ke}-title, ${Ke}-footer, ${Ke}-cell, ${Ke}-thead > tr > th, ${Ke}-tbody > tr > th, ${Ke}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${dt}px ${Ct}px`},[`${Ke}-filter-trigger`]:{marginInlineEnd:`-${Ct/2}px`},[`${Ke}-expanded-row-fixed`]:{margin:`-${dt}px -${Ct}px`},[`${Ke}-tbody`]:{[`${Ke}-wrapper:only-child ${Ke}`]:{marginBlock:`-${dt}px`,marginInline:`${Le.tableExpandColumnWidth-Ct}px -${Ct}px`}},[`${Ke}-selection-column`]:{paddingInlineStart:`${Ct/4}px`}}});return{[`${Ke}-wrapper`]:Object.assign(Object.assign({},et("middle",Le.tablePaddingVerticalMiddle,Le.tablePaddingHorizontalMiddle,Le.tableFontSizeMiddle)),et("small",Le.tablePaddingVerticalSmall,Le.tablePaddingHorizontalSmall,Le.tableFontSizeSmall))}},on=Le=>{const{componentCls:Ke,marginXXS:et,fontSizeIcon:ut,tableHeaderIconColor:dt,tableHeaderIconColorHover:Ct}=Le;return{[`${Ke}-wrapper`]:{[`${Ke}-thead th${Ke}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Le.motionDurationSlow}`,"&:hover":{background:Le.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Le.colorPrimary},[` &${Ke}-cell-fix-left:hover, &${Ke}-cell-fix-right:hover `]:{background:Le.tableFixedHeaderSortActiveBg}},[`${Ke}-thead th${Ke}-column-sort`]:{background:Le.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ke}-column-sort`]:{background:Le.tableBodySortBg},[`${Ke}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ke}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ke}-column-sorter`]:{marginInlineStart:et,color:dt,fontSize:0,transition:`color ${Le.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ut,"&.active":{color:Le.colorPrimary}},[`${Ke}-column-sorter-up + ${Ke}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ke}-column-sorters:hover ${Ke}-column-sorter`]:{color:Ct}}}},ln=Le=>{const{componentCls:Ke,opacityLoading:et,tableScrollThumbBg:ut,tableScrollThumbBgHover:dt,tableScrollThumbSize:Ct,tableScrollBg:Rt,zIndexTableSticky:tn,stickyScrollBarBorderRadius:Xe}=Le,ct=`${Le.lineWidth}px ${Le.lineType} ${Le.tableBorderColor}`;return{[`${Ke}-wrapper`]:{[`${Ke}-sticky`]:{"&-holder":{position:"sticky",zIndex:tn,background:Le.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ct}px !important`,zIndex:tn,display:"flex",alignItems:"center",background:Rt,borderTop:ct,opacity:et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ct,backgroundColor:ut,borderRadius:Xe,transition:`all ${Le.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:dt}}}}}}},un=Le=>{const{componentCls:Ke,lineWidth:et,tableBorderColor:ut}=Le,dt=`${et}px ${Le.lineType} ${ut}`;return{[`${Ke}-wrapper`]:{[`${Ke}-summary`]:{position:"relative",zIndex:Le.zIndexTableFixed,background:Le.tableBg,"> tr":{"> th, > td":{borderBottom:dt}}},[`div${Ke}-summary`]:{boxShadow:`0 -${et}px 0 ${ut}`}}}},Xn=Le=>{const{componentCls:Ke}=Le,et=`${Le.lineWidth}px ${Le.lineType} ${Le.tableBorderColor}`,ut=`${Ke}-expanded-row-cell`;return{[`${Ke}-wrapper`]:{[`${Ke}-tbody-virtual`]:{[`${Ke}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ke}-cell`]:{borderBottom:et},[`${Ke}-expanded-row`]:{[`${ut}${ut}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Le.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ke}-bordered`]:{[`${Ke}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:et,position:"absolute"},[`${Ke}-cell`]:{borderInlineEnd:et,[`&${Ke}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Le.lineWidth,borderInlineStart:et}}}}}}};const dr=Le=>{const{componentCls:Ke,fontWeightStrong:et,tablePaddingVertical:ut,tablePaddingHorizontal:dt,lineWidth:Ct,lineType:Rt,tableBorderColor:tn,tableFontSize:Xe,tableBg:ct,tableRadius:Pt,tableHeaderTextColor:Lt,motionDurationMid:_t,tableHeaderBg:en,tableHeaderCellSplitColor:rn,tableRowHoverBg:pn,tableSelectedRowBg:kn,tableSelectedRowHoverBg:Mn,tableFooterTextColor:Zn,tableFooterBg:qn,paddingContentVerticalLG:wr}=Le,Tn=`${Ct}px ${Rt} ${tn}`;return{[`${Ke}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Po.dF)()),{[Ke]:Object.assign(Object.assign({},(0,Po.Wf)(Le)),{fontSize:Xe,background:ct,borderRadius:`${Pt}px ${Pt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Pt}px ${Pt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${Ke}-cell, ${Ke}-thead > tr > th, ${Ke}-tbody > tr > th, ${Ke}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${wr}px ${dt}px`,overflowWrap:"break-word"},[`${Ke}-title`]:{padding:`${ut}px ${dt}px`},[`${Ke}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Lt,fontWeight:et,textAlign:"start",background:en,borderBottom:Tn,transition:`background ${_t} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ke}-selection-column):not(${Ke}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:rn,transform:"translateY(-50%)",transition:`background-color ${_t}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ke}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${_t}, border-color ${_t}`,borderBottom:Tn,[` > ${Ke}-wrapper:only-child, > ${Ke}-expanded-row-fixed > ${Ke}-wrapper:only-child `]:{[Ke]:{marginBlock:`-${ut}px`,marginInline:`${Le.tableExpandColumnWidth-dt}px -${dt}px`,[`${Ke}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Lt,fontWeight:et,textAlign:"start",background:en,borderBottom:Tn,transition:`background ${_t} ease`},[` &${Ke}-row:hover > th, &${Ke}-row:hover > td, > th${Ke}-cell-row-hover, > td${Ke}-cell-row-hover `]:{background:pn},[`&${Ke}-row-selected`]:{"> th, > td":{background:kn},"&:hover > th, &:hover > td":{background:Mn}}}},[`${Ke}-footer`]:{padding:`${ut}px ${dt}px`,color:Zn,background:qn}})}};var Pr=(0,os.Z)("Table",Le=>{const{colorTextHeading:Ke,colorSplit:et,colorIcon:ut,colorIconHover:dt,opacityLoading:Ct,colorBgContainer:Rt,controlInteractiveSize:tn,headerBg:Xe,headerColor:ct,headerSortActiveBg:Pt,headerSortHoverBg:Lt,bodySortBg:_t,rowHoverBg:en,rowSelectedBg:rn,rowSelectedHoverBg:pn,rowExpandedBg:kn,cellPaddingBlock:Mn,cellPaddingInline:Zn,cellPaddingBlockMD:qn,cellPaddingInlineMD:wr,cellPaddingBlockSM:Tn,cellPaddingInlineSM:Gt,borderColor:Mr,footerBg:xr,footerColor:Vn,headerBorderRadius:ar,cellFontSize:or,cellFontSizeMD:Jn,cellFontSizeSM:fr,headerSplitColor:Or,fixedHeaderSortActiveBg:na,headerFilterHoverBg:Jr,filterDropdownBg:Zr,expandIconBg:da,selectionColumnWidth:qr,stickyScrollBarBg:La}=Le,Lr=new wA.C(ut),Co=new wA.C(dt),_a=2,ja=(0,Eo.TS)(Le,{tableFontSize:or,tableBg:Rt,tableRadius:ar,tablePaddingVertical:Mn,tablePaddingHorizontal:Zn,tablePaddingVerticalMiddle:qn,tablePaddingHorizontalMiddle:wr,tablePaddingVerticalSmall:Tn,tablePaddingHorizontalSmall:Gt,tableBorderColor:Mr,tableHeaderTextColor:ct,tableHeaderBg:Xe,tableFooterTextColor:Vn,tableFooterBg:xr,tableHeaderCellSplitColor:Or,tableHeaderSortBg:Pt,tableHeaderSortHoverBg:Lt,tableHeaderIconColor:Lr.clone().setAlpha(Lr.getAlpha()*Ct).toRgbString(),tableHeaderIconColorHover:Co.clone().setAlpha(Co.getAlpha()*Ct).toRgbString(),tableBodySortBg:_t,tableFixedHeaderSortActiveBg:na,tableHeaderFilterActiveBg:Jr,tableFilterDropdownBg:Zr,tableRowHoverBg:en,tableSelectedRowBg:rn,tableSelectedRowHoverBg:pn,zIndexTableFixed:_a,zIndexTableSticky:_a+1,tableFontSizeMiddle:Jn,tableFontSizeSmall:fr,tableSelectionColumnWidth:qr,tableExpandIconBg:da,tableExpandColumnWidth:tn+2*Le.padding,tableExpandedRowBg:kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:La,tableScrollThumbBgHover:Ke,tableScrollBg:et});return[dr(ja),Ce(ja),un(ja),on(ja),ae(ja),Ui(ja),Ie(ja),hA(ja),un(ja),Bs(ja),mt(ja),re(ja),ln(ja),bi(ja),Qt(ja),_e(ja),Xn(ja)]},Le=>{const{colorFillAlter:Ke,colorBgContainer:et,colorTextHeading:ut,colorFillSecondary:dt,colorFillContent:Ct,controlItemBgActive:Rt,controlItemBgActiveHover:tn,padding:Xe,paddingSM:ct,paddingXS:Pt,colorBorderSecondary:Lt,borderRadiusLG:_t,fontSize:en,controlHeight:rn,colorTextPlaceholder:pn}=Le,kn=new wA.C(dt).onBackground(et).toHexShortString(),Mn=new wA.C(Ct).onBackground(et).toHexShortString(),Zn=new wA.C(Ke).onBackground(et).toHexShortString();return{headerBg:Zn,headerColor:ut,headerSortActiveBg:kn,headerSortHoverBg:Mn,bodySortBg:Zn,rowHoverBg:Zn,rowSelectedBg:Rt,rowSelectedHoverBg:tn,rowExpandedBg:Ke,cellPaddingBlock:Xe,cellPaddingInline:Xe,cellPaddingBlockMD:ct,cellPaddingInlineMD:Pt,cellPaddingBlockSM:Pt,cellPaddingInlineSM:Pt,borderColor:Lt,headerBorderRadius:_t,footerBg:Zn,footerColor:ut,cellFontSize:en,cellFontSizeMD:en,cellFontSizeSM:en,headerSplitColor:Lt,fixedHeaderSortActiveBg:kn,headerFilterHoverBg:Ct,filterDropdownMenuBg:et,filterDropdownBg:et,expandIconBg:et,selectionColumnWidth:rn,stickyScrollBarBg:pn,stickyScrollBarBorderRadius:100}});const $n=[],yn=(Le,Ke)=>{const{prefixCls:et,className:ut,rootClassName:dt,style:Ct,size:Rt,bordered:tn,dropdownPrefixCls:Xe,dataSource:ct,pagination:Pt,rowSelection:Lt,rowKey:_t="key",rowClassName:en,columns:rn,children:pn,childrenColumnName:kn,onChange:Mn,getPopupContainer:Zn,loading:qn,expandIcon:wr,expandable:Tn,expandedRowRender:Gt,expandIconColumnIndex:Mr,indentSize:xr,scroll:Vn,sortDirections:ar,locale:or,showSorterTooltip:Jn=!0,virtual:fr}=Le,Or=he.useMemo(()=>rn||wn(pn),[rn,pn]),na=he.useMemo(()=>Or.some(vo=>vo.responsive),[Or]),Jr=(0,mo.Z)(na),Zr=he.useMemo(()=>{const vo=new Set(Object.keys(Jr).filter(io=>Jr[io]));return Or.filter(io=>!io.responsive||io.responsive.some(Vi=>vo.has(Vi)))},[Or,Jr]),da=(0,Ha.Z)(Le,["className","style","columns"]),{locale:qr=vn.Z,direction:La,table:Lr,renderEmpty:Co,getPrefixCls:_a,getPopupContainer:ja}=he.useContext($o.E_),so=(0,ui.Z)(Rt),Ra=Object.assign(Object.assign({},qr.Table),or),To=ct||$n,za=_a("table",et),_i=_a("dropdown",Xe),Rr=Object.assign({childrenColumnName:kn,expandIconColumnIndex:Mr},Tn),{childrenColumnName:pa="children"}=Rr,Sa=he.useMemo(()=>To.some(vo=>vo==null?void 0:vo[pa])?"nest":Gt||Tn&&Tn.expandedRowRender?"row":null,[To]),Xr={body:he.useRef()},ua=he.useMemo(()=>typeof _t=="function"?_t:vo=>vo==null?void 0:vo[_t],[_t]),[Kr]=ji(To,pa,ua),Ma={},Za=function(vo,io){let Vi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var oi,Yi,iA;const nA=Object.assign(Object.assign({},Ma),vo);Vi&&((oi=Ma.resetPagination)===null||oi===void 0||oi.call(Ma),!((Yi=nA.pagination)===null||Yi===void 0)&&Yi.current&&(nA.pagination.current=1),Pt&&Pt.onChange&&Pt.onChange(1,(iA=nA.pagination)===null||iA===void 0?void 0:iA.pageSize)),Vn&&Vn.scrollToFirstRowOnChange!==!1&&Xr.body.current&&(0,ra.Z)(0,{getContainer:()=>Xr.body.current}),Mn==null||Mn(nA.pagination,nA.filters,nA.sorter,{currentDataSource:hs(eo(To,nA.sorterStates,pa),nA.filterStates),action:io})},oo=(vo,io)=>{Za({sorter:vo,sorterStates:io},"sort",!1)},[pi,Ia,Wi,ei]=Gi({prefixCls:za,mergedColumns:Zr,onSorterChange:oo,sortDirections:ar||["ascend","descend"],tableLocale:Ra,showSorterTooltip:Jn}),vi=he.useMemo(()=>eo(To,Ia,pa),[To,Ia]);Ma.sorter=ei(),Ma.sorterStates=Ia;const Nr=(vo,io)=>{Za({filters:vo,filterStates:io},"filter",!0)},[Wo,oA,po]=Pl({prefixCls:za,locale:Ra,dropdownPrefixCls:_i,mergedColumns:Zr,onFilterChange:Nr,getPopupContainer:Zn||ja}),to=hs(vi,oA);Ma.filters=po,Ma.filterStates=oA;const ko=he.useMemo(()=>{const vo={};return Object.keys(po).forEach(io=>{po[io]!==null&&(vo[io]=po[io])}),Object.assign(Object.assign({},Wi),{filters:vo})},[Wi,po]),[Yo]=ci(ko),Mo=(vo,io)=>{Za({pagination:Object.assign(Object.assign({},Ma.pagination),{current:vo,pageSize:io})},"paginate")},[Va,gi]=Gl(to.length,Mo,Pt);Ma.pagination=Pt===!1?{}:_o(Va,Pt),Ma.resetPagination=gi;const Bi=he.useMemo(()=>{if(Pt===!1||!Va.pageSize)return to;const{current:vo=1,total:io,pageSize:Vi=HA}=Va;return to.lengthVi?to.slice((vo-1)*Vi,vo*Vi):to:to.slice((vo-1)*Vi,vo*Vi)},[!!Pt,to,Va&&Va.current,Va&&Va.pageSize,Va&&Va.total]),[eA,Zi]=Hs({prefixCls:za,data:to,pageData:Bi,getRowKey:ua,getRecordByKey:Kr,expandType:Sa,childrenColumnName:pa,locale:Ra,getPopupContainer:Zn||ja},Lt),mA=(vo,io,Vi)=>{let oi;return typeof en=="function"?oi=Qe()(en(vo,io,Vi)):oi=Qe()(en),Qe()({[`${za}-row-selected`]:Zi.has(ua(vo,io))},oi)};Rr.__PARENT_RENDER_ICON__=Rr.expandIcon,Rr.expandIcon=Rr.expandIcon||wr||lr(Ra),Sa==="nest"&&Rr.expandIconColumnIndex===void 0?Rr.expandIconColumnIndex=Lt?1:0:Rr.expandIconColumnIndex>0&&Lt&&(Rr.expandIconColumnIndex-=1),typeof Rr.indentSize!="number"&&(Rr.indentSize=typeof xr=="number"?xr:15);const Ss=he.useCallback(vo=>Yo(eA(Wo(pi(vo)))),[pi,Wo,eA]);let VA,DA;if(Pt!==!1&&(Va!=null&&Va.total)){let vo;Va.size?vo=Va.size:vo=so==="small"||so==="middle"?"small":void 0;const io=Yi=>he.createElement(An.Z,Object.assign({},Va,{className:Qe()(`${za}-pagination ${za}-pagination-${Yi}`,Va.className),size:vo})),Vi=La==="rtl"?"left":"right",{position:oi}=Va;if(oi!==null&&Array.isArray(oi)){const Yi=oi.find(AA=>AA.includes("top")),iA=oi.find(AA=>AA.includes("bottom")),nA=oi.every(AA=>`${AA}`=="none");!Yi&&!iA&&!nA&&(DA=io(Vi)),Yi&&(VA=io(Yi.toLowerCase().replace("top",""))),iA&&(DA=io(iA.toLowerCase().replace("bottom","")))}else DA=io(Vi)}let bA;typeof qn=="boolean"?bA={spinning:qn}:typeof qn=="object"&&(bA=Object.assign({spinning:!0},qn));const[tA,fi]=Pr(za),[,ai]=(0,En.Z)(),ys=Qe()(`${za}-wrapper`,Lr==null?void 0:Lr.className,{[`${za}-wrapper-rtl`]:La==="rtl"},ut,dt,fi),Is=Object.assign(Object.assign({},Lr==null?void 0:Lr.style),Ct),Ms=or&&or.emptyText||(Co==null?void 0:Co("Table"))||he.createElement(ao.Z,{componentName:"Table"}),is=fr?vs:ps,_l={},Bl=he.useMemo(()=>{const{fontSize:vo,lineHeight:io,padding:Vi,paddingXS:oi,paddingSM:Yi}=ai,iA=Math.floor(vo*io);switch(so){case"large":return Vi*2+iA;case"small":return oi*2+iA;default:return Yi*2+iA}},[ai,so]);return fr&&(_l.listItemHeight=Bl),tA(he.createElement("div",{ref:Ke,className:ys,style:Is},he.createElement(sn.Z,Object.assign({spinning:!1},bA),VA,he.createElement(is,Object.assign({},_l,da,{columns:Zr,direction:La,expandable:Rr,prefixCls:za,className:Qe()({[`${za}-middle`]:so==="middle",[`${za}-small`]:so==="small",[`${za}-bordered`]:tn,[`${za}-empty`]:To.length===0}),data:Bi,rowKey:ua,rowClassName:mA,emptyText:Ms,internalHooks:we,internalRefs:Xr,transformColumns:Ss})),DA)))};var nr=he.forwardRef(yn);const pr=(Le,Ke)=>{const et=he.useRef(0);return et.current+=1,he.createElement(nr,Object.assign({},Le,{ref:Ke,_renderTimes:et.current}))},zt=he.forwardRef(pr);zt.SELECTION_COLUMN=mi,zt.EXPAND_COLUMN=pe,zt.SELECTION_ALL=IA,zt.SELECTION_INVERT=MA,zt.SELECTION_NONE=si,zt.Column=qa,zt.ColumnGroup=Oo,zt.Summary=Me;var Jt=zt,Qn=Jt},17574:function(nn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return xt}});var pe=ve(54030),we=ve(3300),ze=ve(52671),At=ve(8657),Ze=ve(32855),Re=ve(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Be=he,De=ve(7657),ue=function(tt,$t){return Re.createElement(De.Z,(0,Ze.Z)({},tt,{ref:$t,icon:Be}))},Ne=Re.forwardRef(ue),Ee=Ne,be=ve(92310),oe=ve.n(be),y=ve(35654),a=ve(71430),E=ve(36355),b=ve(56082),x=ve(62892),z=ve(20648);const ne=4;function fe(ht){const{dropPosition:tt,dropLevelOffset:$t,prefixCls:gn,indent:Et,direction:Wt="ltr"}=ht,Cn=Wt==="ltr"?"left":"right",Hn=Wt==="ltr"?"right":"left",hn={[Cn]:-$t*Et+ne,[Hn]:0};switch(tt){case-1:hn.top=-3;break;case 1:hn.bottom=-3;break;default:hn.bottom=-3,hn[Cn]=Et+ne;break}return Re.createElement("div",{style:hn,className:`${gn}-drop-indicator`})}var Ue=ve(71997),Te=Re.forwardRef((ht,tt)=>{const{getPrefixCls:$t,direction:gn,virtual:Et,tree:Wt}=Re.useContext(E.E_),{prefixCls:Cn,className:Hn,showIcon:hn=!1,showLine:Gn,switcherIcon:Dt,blockNode:_n=!1,children:er,checkable:je=!1,selectable:qt=!0,draggable:He,motion:me,style:se}=ht,ye=$t("tree",Cn),qe=$t(),pt=me!=null?me:Object.assign(Object.assign({},(0,x.Z)(qe)),{motionAppear:!1}),Me=Object.assign(Object.assign({},ht),{checkable:je,selectable:qt,showIcon:hn,motion:pt,blockNode:_n,showLine:!!Gn,dropIndicatorRender:fe}),[Je,jt]=(0,z.ZP)(ye),wt=Re.useMemo(()=>{if(!He)return!1;let Zt={};switch(typeof He){case"function":Zt.nodeDraggable=He;break;case"object":Zt=Object.assign({},He);break;default:break}return Zt.icon!==!1&&(Zt.icon=Zt.icon||Re.createElement(b.Z,null)),Zt},[He]),lt=Zt=>Re.createElement(Ue.Z,{prefixCls:ye,switcherIcon:Dt,treeNodeProps:Zt,showLine:Gn});return Je(Re.createElement(pe.Z,Object.assign({itemHeight:20,ref:tt,virtual:Et},Me,{style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),se),prefixCls:ye,className:oe()({[`${ye}-icon-hide`]:!hn,[`${ye}-block-node`]:_n,[`${ye}-unselectable`]:!qt,[`${ye}-rtl`]:gn==="rtl"},Wt==null?void 0:Wt.className,Hn,jt),direction:gn,checkable:je&&Re.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:qt,switcherIcon:lt,draggable:wt}),er))}),Ve;(function(ht){ht[ht.None=0]="None",ht[ht.Start=1]="Start",ht[ht.End=2]="End"})(Ve||(Ve={}));function Ye(ht,tt){function $t(gn){const{key:Et,children:Wt}=gn;tt(Et,gn)!==!1&&Ye(Wt||[],tt)}ht.forEach($t)}function nt(ht){let{treeData:tt,expandedKeys:$t,startKey:gn,endKey:Et}=ht;const Wt=[];let Cn=Ve.None;if(gn&&gn===Et)return[gn];if(!gn||!Et)return[];function Hn(hn){return hn===gn||hn===Et}return Ye(tt,hn=>{if(Cn===Ve.End)return!1;if(Hn(hn)){if(Wt.push(hn),Cn===Ve.None)Cn=Ve.Start;else if(Cn===Ve.Start)return Cn=Ve.End,!1}else Cn===Ve.Start&&Wt.push(hn);return $t.includes(hn)}),Wt}function Oe(ht,tt){const $t=(0,we.Z)(tt),gn=[];return Ye(ht,(Et,Wt)=>{const Cn=$t.indexOf(Et);return Cn!==-1&&(gn.push(Wt),$t.splice(Cn,1)),!!$t.length}),gn}var Ft=function(ht,tt){var $t={};for(var gn in ht)Object.prototype.hasOwnProperty.call(ht,gn)&&tt.indexOf(gn)<0&&($t[gn]=ht[gn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,gn=Object.getOwnPropertySymbols(ht);Et{var{defaultExpandAll:$t,defaultExpandParent:gn,defaultExpandedKeys:Et}=ht,Wt=Ft(ht,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Cn=Re.useRef(),Hn=Re.useRef(),hn=()=>{const{keyEntities:wt}=(0,a.I8)(Tt(Wt));let lt;return $t?lt=Object.keys(wt):gn?lt=(0,y.r7)(Wt.expandedKeys||Et||[],wt):lt=Wt.expandedKeys||Et,lt},[Gn,Dt]=Re.useState(Wt.selectedKeys||Wt.defaultSelectedKeys||[]),[_n,er]=Re.useState(()=>hn());Re.useEffect(()=>{"selectedKeys"in Wt&&Dt(Wt.selectedKeys)},[Wt.selectedKeys]),Re.useEffect(()=>{"expandedKeys"in Wt&&er(Wt.expandedKeys)},[Wt.expandedKeys]);const je=(wt,lt)=>{var Zt;return"expandedKeys"in Wt||er(wt),(Zt=Wt.onExpand)===null||Zt===void 0?void 0:Zt.call(Wt,wt,lt)},qt=(wt,lt)=>{var Zt;const{multiple:Sn}=Wt,{node:kt,nativeEvent:dn}=lt,{key:Ot=""}=kt,Fn=Tt(Wt),an=Object.assign(Object.assign({},lt),{selected:!0}),rr=(dn==null?void 0:dn.ctrlKey)||(dn==null?void 0:dn.metaKey),gr=dn==null?void 0:dn.shiftKey;let sr;Sn&&rr?(sr=wt,Cn.current=Ot,Hn.current=sr,an.selectedNodes=Oe(Fn,sr)):Sn&&gr?(sr=Array.from(new Set([].concat((0,we.Z)(Hn.current||[]),(0,we.Z)(nt({treeData:Fn,expandedKeys:_n,startKey:Ot,endKey:Cn.current}))))),an.selectedNodes=Oe(Fn,sr)):(sr=[Ot],Cn.current=Ot,Hn.current=sr,an.selectedNodes=Oe(Fn,sr)),(Zt=Wt.onSelect)===null||Zt===void 0||Zt.call(Wt,sr,an),"selectedKeys"in Wt||Dt(sr)},{getPrefixCls:He,direction:me}=Re.useContext(E.E_),{prefixCls:se,className:ye,showIcon:qe=!0,expandAction:pt="click"}=Wt,Me=Ft(Wt,["prefixCls","className","showIcon","expandAction"]),Je=He("tree",se),jt=oe()(`${Je}-directory`,{[`${Je}-directory-rtl`]:me==="rtl"},ye);return Re.createElement(Te,Object.assign({icon:Qe,ref:tt,blockNode:!0},Me,{showIcon:qe,expandAction:pt,prefixCls:Je,className:jt,expandedKeys:_n,selectedKeys:Gn,onSelect:qt,onExpand:je}))};var Nt=Re.forwardRef(st);const gt=Te;gt.DirectoryTree=Nt,gt.TreeNode=pe.O;var xt=gt},20648:function(nn,Kt,ve){"use strict";ve.d(Kt,{TM:function(){return be},Yk:function(){return Ee}});var pe=ve(36237),we=ve(98447),ze=ve(17313),At=ve(8378),Ze=ve(37613),Re=ve(83116);const he=new pe.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Be=(oe,y)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),De=(oe,y)=>({[`.${oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ue=(oe,y)=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,titleHeight:x,nodeSelectedBg:z,nodeHoverBg:ne}=y,fe=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,ze.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,ze.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:he,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${E}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,ze.oN)(y)),[`&:not(${E}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${E}:hover &`]:{opacity:.45}},[`&${E}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Be(oe,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:fe},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${a}-node-selected`]:{backgroundColor:z},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},De(oe,y)),[`${E}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},Ne=oe=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:E,directoryNodeSelectedBg:b,directoryNodeSelectedColor:x}=oe;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:x},[`${y}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},Ee=(oe,y)=>{const a=`.${oe}`,E=`${a}-treenode`,b=y.paddingXS/2,x=(0,Ze.TS)(y,{treeCls:a,treeNodeCls:E,treeNodePadding:b});return[ue(oe,x),Ne(x)]},be=oe=>{const{controlHeightSM:y}=oe;return{titleHeight:y,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};Kt.ZP=(0,Re.Z)("Tree",(oe,y)=>{let{prefixCls:a}=y;return[{[oe.componentCls]:(0,we.C2)(`${a}-checkbox`,oe)},Ee(a,oe),(0,At.Z)(oe)]},oe=>{const{colorTextLightSolid:y,colorPrimary:a}=oe;return Object.assign(Object.assign({},be(oe)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(nn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return E}});var pe=ve(32855),we=ve(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},At=ze,Ze=ve(7657),Re=function(x,z){return we.createElement(Ze.Z,(0,pe.Z)({},x,{ref:z,icon:At}))},he=we.forwardRef(Re),Be=he,De=ve(52671),ue=ve(58617),Ne=ve(15075),Ee=ve(43531),be=ve(92310),oe=ve.n(be),y=ve(92343),E=b=>{const{prefixCls:x,switcherIcon:z,treeNodeProps:ne,showLine:fe}=b,{isLeaf:Ue,expanded:Pe,loading:Te}=ne;if(Te)return we.createElement(ue.Z,{className:`${x}-switcher-loading-icon`});let Ve;if(fe&&typeof fe=="object"&&(Ve=fe.showLeafIcon),Ue){if(!fe)return null;if(typeof Ve!="boolean"&&Ve){const Oe=typeof Ve=="function"?Ve(ne):Ve,Ft=`${x}-switcher-line-custom-icon`;return(0,y.l$)(Oe)?(0,y.Tm)(Oe,{className:oe()(Oe.props.className||"",Ft)}):Oe}return Ve?we.createElement(De.Z,{className:`${x}-switcher-line-icon`}):we.createElement("span",{className:`${x}-switcher-leaf-line`})}const Ye=`${x}-switcher-icon`,nt=typeof z=="function"?z(ne):z;return(0,y.l$)(nt)?(0,y.Tm)(nt,{className:oe()(nt.props.className||"",Ye)}):nt!==void 0?nt:fe?Pe?we.createElement(Ne.Z,{className:`${x}-switcher-line-icon`}):we.createElement(Ee.Z,{className:`${x}-switcher-line-icon`}):we.createElement(Be,{className:Ye})}},86251:function(nn,Kt){"use strict";Kt.byteLength=he,Kt.toByteArray=De,Kt.fromByteArray=Ee;for(var ve=[],pe=[],we=typeof Uint8Array!="undefined"?Uint8Array:Array,ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",At=0,Ze=ze.length;At0)throw new Error("Invalid string. Length must be a multiple of 4");var y=be.indexOf("=");y===-1&&(y=oe);var a=y===oe?0:4-y%4;return[y,a]}function he(be){var oe=Re(be),y=oe[0],a=oe[1];return(y+a)*3/4-a}function Be(be,oe,y){return(oe+y)*3/4-y}function De(be){var oe,y=Re(be),a=y[0],E=y[1],b=new we(Be(be,a,E)),x=0,z=E>0?a-4:a,ne;for(ne=0;ne>16&255,b[x++]=oe>>8&255,b[x++]=oe&255;return E===2&&(oe=pe[be.charCodeAt(ne)]<<2|pe[be.charCodeAt(ne+1)]>>4,b[x++]=oe&255),E===1&&(oe=pe[be.charCodeAt(ne)]<<10|pe[be.charCodeAt(ne+1)]<<4|pe[be.charCodeAt(ne+2)]>>2,b[x++]=oe>>8&255,b[x++]=oe&255),b}function ue(be){return ve[be>>18&63]+ve[be>>12&63]+ve[be>>6&63]+ve[be&63]}function Ne(be,oe,y){for(var a,E=[],b=oe;bz?z:x+b));return a===1?(oe=be[y-1],E.push(ve[oe>>2]+ve[oe<<4&63]+"==")):a===2&&(oe=(be[y-2]<<8)+be[y-1],E.push(ve[oe>>10]+ve[oe>>4&63]+ve[oe<<2&63]+"=")),E.join("")}},19208:function(nn,Kt,ve){"use strict";var pe;var we=ve(86251),ze=ve(67467),At=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Kt.lW=Be,pe=x,Kt.h2=50;var Ze=2147483647;pe=Ze,Be.TYPED_ARRAY_SUPPORT=Re(),!Be.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Re(){try{var He=new Uint8Array(1),me={foo:function(){return 42}};return Object.setPrototypeOf(me,Uint8Array.prototype),Object.setPrototypeOf(He,me),He.foo()===42}catch(se){return!1}}Object.defineProperty(Be.prototype,"parent",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.buffer}}),Object.defineProperty(Be.prototype,"offset",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.byteOffset}});function he(He){if(He>Ze)throw new RangeError('The value "'+He+'" is invalid for option "size"');var me=new Uint8Array(He);return Object.setPrototypeOf(me,Be.prototype),me}function Be(He,me,se){if(typeof He=="number"){if(typeof me=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ee(He)}return De(He,me,se)}Be.poolSize=8192;function De(He,me,se){if(typeof He=="string")return be(He,me);if(ArrayBuffer.isView(He))return y(He);if(He==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof He);if(er(He,ArrayBuffer)||He&&er(He.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(er(He,SharedArrayBuffer)||He&&er(He.buffer,SharedArrayBuffer)))return a(He,me,se);if(typeof He=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=He.valueOf&&He.valueOf();if(ye!=null&&ye!==He)return Be.from(ye,me,se);var qe=E(He);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof He[Symbol.toPrimitive]=="function")return Be.from(He[Symbol.toPrimitive]("string"),me,se);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof He)}Be.from=function(He,me,se){return De(He,me,se)},Object.setPrototypeOf(Be.prototype,Uint8Array.prototype),Object.setPrototypeOf(Be,Uint8Array);function ue(He){if(typeof He!="number")throw new TypeError('"size" argument must be of type number');if(He<0)throw new RangeError('The value "'+He+'" is invalid for option "size"')}function Ne(He,me,se){return ue(He),He<=0?he(He):me!==void 0?typeof se=="string"?he(He).fill(me,se):he(He).fill(me):he(He)}Be.alloc=function(He,me,se){return Ne(He,me,se)};function Ee(He){return ue(He),he(He<0?0:b(He)|0)}Be.allocUnsafe=function(He){return Ee(He)},Be.allocUnsafeSlow=function(He){return Ee(He)};function be(He,me){if((typeof me!="string"||me==="")&&(me="utf8"),!Be.isEncoding(me))throw new TypeError("Unknown encoding: "+me);var se=z(He,me)|0,ye=he(se),qe=ye.write(He,me);return qe!==se&&(ye=ye.slice(0,qe)),ye}function oe(He){for(var me=He.length<0?0:b(He.length)|0,se=he(me),ye=0;ye=Ze)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ze.toString(16)+" bytes");return He|0}function x(He){return+He!=He&&(He=0),Be.alloc(+He)}Be.isBuffer=function(me){return me!=null&&me._isBuffer===!0&&me!==Be.prototype},Be.compare=function(me,se){if(er(me,Uint8Array)&&(me=Be.from(me,me.offset,me.byteLength)),er(se,Uint8Array)&&(se=Be.from(se,se.offset,se.byteLength)),!Be.isBuffer(me)||!Be.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(me===se)return 0;for(var ye=me.length,qe=se.length,pt=0,Me=Math.min(ye,qe);ptqe.length?Be.from(Me).copy(qe,pt):Uint8Array.prototype.set.call(qe,Me,pt);else if(Be.isBuffer(Me))Me.copy(qe,pt);else throw new TypeError('"list" argument must be an Array of Buffers');pt+=Me.length}return qe};function z(He,me){if(Be.isBuffer(He))return He.length;if(ArrayBuffer.isView(He)||er(He,ArrayBuffer))return He.byteLength;if(typeof He!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof He);var se=He.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&se===0)return 0;for(var qe=!1;;)switch(me){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return Hn(He).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return Dt(He).length;default:if(qe)return ye?-1:Hn(He).length;me=(""+me).toLowerCase(),qe=!0}}Be.byteLength=z;function ne(He,me,se){var ye=!1;if((me===void 0||me<0)&&(me=0),me>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,me>>>=0,se<=me))return"";for(He||(He="utf8");;)switch(He){case"hex":return gt(this,me,se);case"utf8":case"utf-8":return Qe(this,me,se);case"ascii":return it(this,me,se);case"latin1":case"binary":return Nt(this,me,se);case"base64":return Ft(this,me,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xt(this,me,se);default:if(ye)throw new TypeError("Unknown encoding: "+He);He=(He+"").toLowerCase(),ye=!0}}Be.prototype._isBuffer=!0;function fe(He,me,se){var ye=He[me];He[me]=He[se],He[se]=ye}Be.prototype.swap16=function(){var me=this.length;if(me%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;sese&&(me+=" ... "),""},At&&(Be.prototype[At]=Be.prototype.inspect),Be.prototype.compare=function(me,se,ye,qe,pt){if(er(me,Uint8Array)&&(me=Be.from(me,me.offset,me.byteLength)),!Be.isBuffer(me))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof me);if(se===void 0&&(se=0),ye===void 0&&(ye=me?me.length:0),qe===void 0&&(qe=0),pt===void 0&&(pt=this.length),se<0||ye>me.length||qe<0||pt>this.length)throw new RangeError("out of range index");if(qe>=pt&&se>=ye)return 0;if(qe>=pt)return-1;if(se>=ye)return 1;if(se>>>=0,ye>>>=0,qe>>>=0,pt>>>=0,this===me)return 0;for(var Me=pt-qe,Je=ye-se,jt=Math.min(Me,Je),wt=this.slice(qe,pt),lt=me.slice(se,ye),Zt=0;Zt2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,je(se)&&(se=qe?0:He.length-1),se<0&&(se=He.length+se),se>=He.length){if(qe)return-1;se=He.length-1}else if(se<0)if(qe)se=0;else return-1;if(typeof me=="string"&&(me=Be.from(me,ye)),Be.isBuffer(me))return me.length===0?-1:Pe(He,me,se,ye,qe);if(typeof me=="number")return me=me&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(He,me,se):Uint8Array.prototype.lastIndexOf.call(He,me,se):Pe(He,[me],se,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(He,me,se,ye,qe){var pt=1,Me=He.length,Je=me.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(He.length<2||me.length<2)return-1;pt=2,Me/=2,Je/=2,se/=2}function jt(kt,dn){return pt===1?kt[dn]:kt.readUInt16BE(dn*pt)}var wt;if(qe){var lt=-1;for(wt=se;wtMe&&(se=Me-Je),wt=se;wt>=0;wt--){for(var Zt=!0,Sn=0;Snqe&&(ye=qe)):ye=qe;var pt=me.length;ye>pt/2&&(ye=pt/2);for(var Me=0;Me>>0,isFinite(ye)?(ye=ye>>>0,qe===void 0&&(qe="utf8")):(qe=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var pt=this.length-se;if((ye===void 0||ye>pt)&&(ye=pt),me.length>0&&(ye<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Me=!1;;)switch(qe){case"hex":return Te(this,me,se,ye);case"utf8":case"utf-8":return Ve(this,me,se,ye);case"ascii":case"latin1":case"binary":return Ye(this,me,se,ye);case"base64":return nt(this,me,se,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oe(this,me,se,ye);default:if(Me)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Me=!0}},Be.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ft(He,me,se){return me===0&&se===He.length?we.fromByteArray(He):we.fromByteArray(He.slice(me,se))}function Qe(He,me,se){se=Math.min(He.length,se);for(var ye=[],qe=me;qe239?4:pt>223?3:pt>191?2:1;if(qe+Je<=se){var jt,wt,lt,Zt;switch(Je){case 1:pt<128&&(Me=pt);break;case 2:jt=He[qe+1],(jt&192)===128&&(Zt=(pt&31)<<6|jt&63,Zt>127&&(Me=Zt));break;case 3:jt=He[qe+1],wt=He[qe+2],(jt&192)===128&&(wt&192)===128&&(Zt=(pt&15)<<12|(jt&63)<<6|wt&63,Zt>2047&&(Zt<55296||Zt>57343)&&(Me=Zt));break;case 4:jt=He[qe+1],wt=He[qe+2],lt=He[qe+3],(jt&192)===128&&(wt&192)===128&&(lt&192)===128&&(Zt=(pt&15)<<18|(jt&63)<<12|(wt&63)<<6|lt&63,Zt>65535&&Zt<1114112&&(Me=Zt))}}Me===null?(Me=65533,Je=1):Me>65535&&(Me-=65536,ye.push(Me>>>10&1023|55296),Me=56320|Me&1023),ye.push(Me),qe+=Je}return st(ye)}var Tt=4096;function st(He){var me=He.length;if(me<=Tt)return String.fromCharCode.apply(String,He);for(var se="",ye=0;yeye)&&(se=ye);for(var qe="",pt=me;ptye&&(me=ye),se<0?(se+=ye,se<0&&(se=0)):se>ye&&(se=ye),sese)throw new RangeError("Trying to access beyond buffer length")}Be.prototype.readUintLE=Be.prototype.readUIntLE=function(me,se,ye){me=me>>>0,se=se>>>0,ye||ht(me,se,this.length);for(var qe=this[me],pt=1,Me=0;++Me>>0,se=se>>>0,ye||ht(me,se,this.length);for(var qe=this[me+--se],pt=1;se>0&&(pt*=256);)qe+=this[me+--se]*pt;return qe},Be.prototype.readUint8=Be.prototype.readUInt8=function(me,se){return me=me>>>0,se||ht(me,1,this.length),this[me]},Be.prototype.readUint16LE=Be.prototype.readUInt16LE=function(me,se){return me=me>>>0,se||ht(me,2,this.length),this[me]|this[me+1]<<8},Be.prototype.readUint16BE=Be.prototype.readUInt16BE=function(me,se){return me=me>>>0,se||ht(me,2,this.length),this[me]<<8|this[me+1]},Be.prototype.readUint32LE=Be.prototype.readUInt32LE=function(me,se){return me=me>>>0,se||ht(me,4,this.length),(this[me]|this[me+1]<<8|this[me+2]<<16)+this[me+3]*16777216},Be.prototype.readUint32BE=Be.prototype.readUInt32BE=function(me,se){return me=me>>>0,se||ht(me,4,this.length),this[me]*16777216+(this[me+1]<<16|this[me+2]<<8|this[me+3])},Be.prototype.readIntLE=function(me,se,ye){me=me>>>0,se=se>>>0,ye||ht(me,se,this.length);for(var qe=this[me],pt=1,Me=0;++Me=pt&&(qe-=Math.pow(2,8*se)),qe},Be.prototype.readIntBE=function(me,se,ye){me=me>>>0,se=se>>>0,ye||ht(me,se,this.length);for(var qe=se,pt=1,Me=this[me+--qe];qe>0&&(pt*=256);)Me+=this[me+--qe]*pt;return pt*=128,Me>=pt&&(Me-=Math.pow(2,8*se)),Me},Be.prototype.readInt8=function(me,se){return me=me>>>0,se||ht(me,1,this.length),this[me]&128?(255-this[me]+1)*-1:this[me]},Be.prototype.readInt16LE=function(me,se){me=me>>>0,se||ht(me,2,this.length);var ye=this[me]|this[me+1]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt16BE=function(me,se){me=me>>>0,se||ht(me,2,this.length);var ye=this[me+1]|this[me]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt32LE=function(me,se){return me=me>>>0,se||ht(me,4,this.length),this[me]|this[me+1]<<8|this[me+2]<<16|this[me+3]<<24},Be.prototype.readInt32BE=function(me,se){return me=me>>>0,se||ht(me,4,this.length),this[me]<<24|this[me+1]<<16|this[me+2]<<8|this[me+3]},Be.prototype.readFloatLE=function(me,se){return me=me>>>0,se||ht(me,4,this.length),ze.read(this,me,!0,23,4)},Be.prototype.readFloatBE=function(me,se){return me=me>>>0,se||ht(me,4,this.length),ze.read(this,me,!1,23,4)},Be.prototype.readDoubleLE=function(me,se){return me=me>>>0,se||ht(me,8,this.length),ze.read(this,me,!0,52,8)},Be.prototype.readDoubleBE=function(me,se){return me=me>>>0,se||ht(me,8,this.length),ze.read(this,me,!1,52,8)};function tt(He,me,se,ye,qe,pt){if(!Be.isBuffer(He))throw new TypeError('"buffer" argument must be a Buffer instance');if(me>qe||meHe.length)throw new RangeError("Index out of range")}Be.prototype.writeUintLE=Be.prototype.writeUIntLE=function(me,se,ye,qe){if(me=+me,se=se>>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;tt(this,me,se,ye,pt,0)}var Me=1,Je=0;for(this[se]=me&255;++Je>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;tt(this,me,se,ye,pt,0)}var Me=ye-1,Je=1;for(this[se+Me]=me&255;--Me>=0&&(Je*=256);)this[se+Me]=me/Je&255;return se+ye},Be.prototype.writeUint8=Be.prototype.writeUInt8=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,1,255,0),this[se]=me&255,se+1},Be.prototype.writeUint16LE=Be.prototype.writeUInt16LE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,2,65535,0),this[se]=me&255,this[se+1]=me>>>8,se+2},Be.prototype.writeUint16BE=Be.prototype.writeUInt16BE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,2,65535,0),this[se]=me>>>8,this[se+1]=me&255,se+2},Be.prototype.writeUint32LE=Be.prototype.writeUInt32LE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,4,4294967295,0),this[se+3]=me>>>24,this[se+2]=me>>>16,this[se+1]=me>>>8,this[se]=me&255,se+4},Be.prototype.writeUint32BE=Be.prototype.writeUInt32BE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,4,4294967295,0),this[se]=me>>>24,this[se+1]=me>>>16,this[se+2]=me>>>8,this[se+3]=me&255,se+4},Be.prototype.writeIntLE=function(me,se,ye,qe){if(me=+me,se=se>>>0,!qe){var pt=Math.pow(2,8*ye-1);tt(this,me,se,ye,pt-1,-pt)}var Me=0,Je=1,jt=0;for(this[se]=me&255;++Me>0)-jt&255;return se+ye},Be.prototype.writeIntBE=function(me,se,ye,qe){if(me=+me,se=se>>>0,!qe){var pt=Math.pow(2,8*ye-1);tt(this,me,se,ye,pt-1,-pt)}var Me=ye-1,Je=1,jt=0;for(this[se+Me]=me&255;--Me>=0&&(Je*=256);)me<0&&jt===0&&this[se+Me+1]!==0&&(jt=1),this[se+Me]=(me/Je>>0)-jt&255;return se+ye},Be.prototype.writeInt8=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,1,127,-128),me<0&&(me=255+me+1),this[se]=me&255,se+1},Be.prototype.writeInt16LE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,2,32767,-32768),this[se]=me&255,this[se+1]=me>>>8,se+2},Be.prototype.writeInt16BE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,2,32767,-32768),this[se]=me>>>8,this[se+1]=me&255,se+2},Be.prototype.writeInt32LE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,4,2147483647,-2147483648),this[se]=me&255,this[se+1]=me>>>8,this[se+2]=me>>>16,this[se+3]=me>>>24,se+4},Be.prototype.writeInt32BE=function(me,se,ye){return me=+me,se=se>>>0,ye||tt(this,me,se,4,2147483647,-2147483648),me<0&&(me=4294967295+me+1),this[se]=me>>>24,this[se+1]=me>>>16,this[se+2]=me>>>8,this[se+3]=me&255,se+4};function $t(He,me,se,ye,qe,pt){if(se+ye>He.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function gn(He,me,se,ye,qe){return me=+me,se=se>>>0,qe||$t(He,me,se,4,34028234663852886e22,-34028234663852886e22),ze.write(He,me,se,ye,23,4),se+4}Be.prototype.writeFloatLE=function(me,se,ye){return gn(this,me,se,!0,ye)},Be.prototype.writeFloatBE=function(me,se,ye){return gn(this,me,se,!1,ye)};function Et(He,me,se,ye,qe){return me=+me,se=se>>>0,qe||$t(He,me,se,8,17976931348623157e292,-17976931348623157e292),ze.write(He,me,se,ye,52,8),se+8}Be.prototype.writeDoubleLE=function(me,se,ye){return Et(this,me,se,!0,ye)},Be.prototype.writeDoubleBE=function(me,se,ye){return Et(this,me,se,!1,ye)},Be.prototype.copy=function(me,se,ye,qe){if(!Be.isBuffer(me))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),se>=me.length&&(se=me.length),se||(se=0),qe>0&&qe=this.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("sourceEnd out of bounds");qe>this.length&&(qe=this.length),me.length-se>>0,ye=ye===void 0?this.length:ye>>>0,me||(me=0);var Me;if(typeof me=="number")for(Me=se;Me55295&&se<57344){if(!qe){if(se>56319){(me-=3)>-1&&pt.push(239,191,189);continue}else if(Me+1===ye){(me-=3)>-1&&pt.push(239,191,189);continue}qe=se;continue}if(se<56320){(me-=3)>-1&&pt.push(239,191,189),qe=se;continue}se=(qe-55296<<10|se-56320)+65536}else qe&&(me-=3)>-1&&pt.push(239,191,189);if(qe=null,se<128){if((me-=1)<0)break;pt.push(se)}else if(se<2048){if((me-=2)<0)break;pt.push(se>>6|192,se&63|128)}else if(se<65536){if((me-=3)<0)break;pt.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((me-=4)<0)break;pt.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return pt}function hn(He){for(var me=[],se=0;se>8,qe=se%256,pt.push(qe),pt.push(ye);return pt}function Dt(He){return we.toByteArray(Cn(He))}function _n(He,me,se,ye){for(var qe=0;qe=me.length||qe>=He.length);++qe)me[qe+se]=He[qe];return qe}function er(He,me){return He instanceof me||He!=null&&He.constructor!=null&&He.constructor.name!=null&&He.constructor.name===me.name}function je(He){return He!==He}var qt=function(){for(var He="0123456789abcdef",me=new Array(256),se=0;se<16;++se)for(var ye=se*16,qe=0;qe<16;++qe)me[ye+qe]=He[se]+He[qe];return me}()},14625:function(nn){function Kt(pe){var we,ze,At="";if(typeof pe=="string"||typeof pe=="number")At+=pe;else if(typeof pe=="object")if(Array.isArray(pe)){var Ze=pe.length;for(we=0;we0&&at[at.length-1])&&(Dn[0]===6||Dn[0]===2)){de=0;continue}if(Dn[0]===3&&(!at||Dn[1]>at[0]&&Dn[1]=55296&&Ge<=56319&&de>10)+55296,It%1024+56320)),(Ge+1===de||ce.length>16384)&&(at+=String.fromCharCode.apply(String,ce),ce.length=0)}return at},ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ne=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ee=0;Ee>4,Kn[Ge++]=(It&15)<<4|Yt>>2,Kn[Ge++]=(Yt&3)<<6|Xt&63;return Dn},E=function(Ae){for(var ie=Ae.length,de=[],ce=0;ce>x,Pe=1<>x,Ye=Ue+Ve,nt=Ye,Oe=32,Ft=nt+Oe,Qe=65536>>z,Tt=1<=0){if(ie<55296||ie>56319&&ie<=65535)return de=this.index[ie>>x],de=(de<>x)],de=(de<>z),de=this.index[de],de+=ie>>x&st,de=this.index[de],de=(de<Et?(Ge.push(!0),Yt-=Et):Ge.push(!1),["normal","auto","loose"].indexOf(ie)!==-1&&[8208,8211,12316,12448].indexOf(at)!==-1)return ce.push(It),de.push(qe);if(Yt===hn||Yt===qt){if(It===0)return ce.push(It),de.push(rr);var Xt=de[It-1];return Mi.indexOf(Xt)===-1?(ce.push(ce[It-1]),de.push(Xt)):(ce.push(It),de.push(rr))}if(ce.push(It),Yt===gr)return de.push(ie==="strict"?wt:Gr);if(Yt===Xa||Yt===an)return de.push(rr);if(Yt===Vr)return at>=131072&&at<=196605||at>=196608&&at<=262141?de.push(Gr):de.push(rr);de.push(Yt)}),[ce,de,Ge]},zn=function(Ae,ie,de,ce){var Ge=ce[de];if(Array.isArray(Ae)?Ae.indexOf(Ge)!==-1:Ae===Ge)for(var at=de;at<=ce.length;){at++;var It=ce[at];if(It===ie)return!0;if(It!==je)break}if(Ge===je)for(var at=de;at>0;){at--;var Yt=ce[at];if(Array.isArray(Ae)?Ae.indexOf(Yt)!==-1:Ae===Yt)for(var Xt=de;Xt<=ce.length;){Xt++;var It=ce[Xt];if(It===ie)return!0;if(It!==je)break}if(Yt!==je)break}return!1},wn=function(Ae,ie){for(var de=Ae;de>=0;){var ce=ie[de];if(ce===je)de--;else return ce}return 0},kr=function(Ae,ie,de,ce,Ge){if(de[ce]===0)return ta;var at=ce-1;if(Array.isArray(Ge)&&Ge[at]===!0)return ta;var It=at-1,Yt=at+1,Xt=ie[at],Dn=It>=0?ie[It]:0,Kn=ie[Yt];if(Xt===Cn&&Kn===Hn)return ta;if(ii.indexOf(Xt)!==-1)return Ho;if(ii.indexOf(Kn)!==-1||Ei.indexOf(Kn)!==-1)return ta;if(wn(at,ie)===_n)return mn;if(yi.get(Ae[at])===qt||(Xt===sr||Xt===Ur)&&yi.get(Ae[Yt])===qt||Xt===Dt||Kn===Dt||Xt===er||[je,me,ye].indexOf(Xt)===-1&&Kn===er||[pt,Me,Je,Sn,Fn].indexOf(Kn)!==-1||wn(at,ie)===lt||zn(Zt,lt,at,ie)||zn([pt,Me],wt,at,ie)||zn(He,He,at,ie))return ta;if(Xt===je)return mn;if(Xt===Zt||Kn===Zt)return ta;if(Kn===qe||Xt===qe)return mn;if([me,ye,wt].indexOf(Kn)!==-1||Xt===se||Dn===Aa&&ti.indexOf(Xt)!==-1||Xt===Fn&&Kn===Aa||Kn===jt||li.indexOf(Kn)!==-1&&Xt===kt||li.indexOf(Xt)!==-1&&Kn===kt||Xt===Ot&&[Gr,sr,Ur].indexOf(Kn)!==-1||[Gr,sr,Ur].indexOf(Xt)!==-1&&Kn===dn||li.indexOf(Xt)!==-1&&xo.indexOf(Kn)!==-1||xo.indexOf(Xt)!==-1&&li.indexOf(Kn)!==-1||[Ot,dn].indexOf(Xt)!==-1&&(Kn===kt||[lt,ye].indexOf(Kn)!==-1&&ie[Yt+1]===kt)||[lt,ye].indexOf(Xt)!==-1&&Kn===kt||Xt===kt&&[kt,Fn,Sn].indexOf(Kn)!==-1)return ta;if([kt,Fn,Sn,pt,Me].indexOf(Kn)!==-1)for(var ee=at;ee>=0;){var le=ie[ee];if(le===kt)return ta;if([Fn,Sn].indexOf(le)!==-1)ee--;else break}if([Ot,dn].indexOf(Kn)!==-1)for(var ee=[pt,Me].indexOf(Xt)!==-1?It:at;ee>=0;){var le=ie[ee];if(le===kt)return ta;if([Fn,Sn].indexOf(le)!==-1)ee--;else break}if(yr===Xt&&[yr,Tr,Qr,aa].indexOf(Kn)!==-1||[Tr,Qr].indexOf(Xt)!==-1&&[Tr,_r].indexOf(Kn)!==-1||[_r,aa].indexOf(Xt)!==-1&&Kn===_r||di.indexOf(Xt)!==-1&&[jt,dn].indexOf(Kn)!==-1||di.indexOf(Kn)!==-1&&Xt===Ot||li.indexOf(Xt)!==-1&&li.indexOf(Kn)!==-1||Xt===Sn&&li.indexOf(Kn)!==-1||li.concat(kt).indexOf(Xt)!==-1&&Kn===lt&&Lo.indexOf(Ae[Yt])===-1||li.concat(kt).indexOf(Kn)!==-1&&Xt===Me)return ta;if(Xt===Ba&&Kn===Ba){for(var xe=de[at],We=1;xe>0&&(xe--,ie[xe]===Ba);)We++;if(We%2!==0)return ta}return Xt===sr&&Kn===Ur?ta:mn},sa=function(Ae,ie){ie||(ie={lineBreak:"normal",wordBreak:"normal"});var de=In(Ae,ie.lineBreak),ce=de[0],Ge=de[1],at=de[2];(ie.wordBreak==="break-all"||ie.wordBreak==="break-word")&&(Ge=Ge.map(function(Yt){return[kt,rr,Xa].indexOf(Yt)!==-1?Gr:Yt}));var It=ie.wordBreak==="keep-all"?at.map(function(Yt,Xt){return Yt&&Ae[Xt]>=19968&&Ae[Xt]<=40959}):void 0;return[ce,Ge,It]},Dr=function(){function Ae(ie,de,ce,Ge){this.codePoints=ie,this.required=de===Ho,this.start=ce,this.end=Ge}return Ae.prototype.slice=function(){return De.apply(void 0,this.codePoints.slice(this.start,this.end))},Ae}(),fa=function(Ae,ie){var de=Be(Ae),ce=sa(de,ie),Ge=ce[0],at=ce[1],It=ce[2],Yt=de.length,Xt=0,Dn=0;return{next:function(){if(Dn>=Yt)return{done:!0,value:null};for(var Kn=ta;Dn=Ar&&Ae<=57},ui=function(Ae){return Ae>=55296&&Ae<=57343},mo=function(Ae){return ao(Ae)||Ae>=ma&&Ae<=Ha||Ae>=Wr&&Ae<=ro},vn=function(Ae){return Ae>=Wr&&Ae<=qa},An=function(Ae){return Ae>=ma&&Ae<=$o},sn=function(Ae){return vn(Ae)||An(Ae)},En=function(Ae){return Ae>=Na},Rn=function(Ae){return Ae===Cr||Ae===Io||Ae===zo},lr=function(Ae){return sn(Ae)||En(Ae)||Ae===GA},Fr=function(Ae){return lr(Ae)||ao(Ae)||Ae===Ti},mr=function(Ae){return Ae>=kA&&Ae<=Es||Ae===Fs||Ae>=ZA&&Ae<=Ci||Ae===bt},Er=function(Ae,ie){return Ae!==ni?!1:ie!==Cr},Sr=function(Ae,ie,de){return Ae===Ti?lr(ie)||Er(ie,de):lr(Ae)?!0:!!(Ae===ni&&Er(Ae,ie))},Ea=function(Ae,ie,de){return Ae===qi||Ae===Ti?ao(ie)?!0:ie===WA&&ao(de):ao(Ae===WA?ie:Ae)},ka=function(Ae){var ie=0,de=1;(Ae[ie]===qi||Ae[ie]===Ti)&&(Ae[ie]===Ti&&(de=-1),ie++);for(var ce=[];ao(Ae[ie]);)ce.push(Ae[ie++]);var Ge=ce.length?parseInt(De.apply(void 0,ce),10):0;Ae[ie]===WA&&ie++;for(var at=[];ao(Ae[ie]);)at.push(Ae[ie++]);var It=at.length,Yt=It?parseInt(De.apply(void 0,at),10):0;(Ae[ie]===Oo||Ae[ie]===Ta)&&ie++;var Xt=1;(Ae[ie]===qi||Ae[ie]===Ti)&&(Ae[ie]===Ti&&(Xt=-1),ie++);for(var Dn=[];ao(Ae[ie]);)Dn.push(Ae[ie++]);var Kn=Dn.length?parseInt(De.apply(void 0,Dn),10):0;return de*(Ge+Yt*Math.pow(10,-It))*Math.pow(10,Xt*Kn)},wa={type:2},co={type:3},wo={type:4},No={type:13},ga={type:8},la={type:21},oa={type:9},Qa={type:10},Wa={type:11},lo={type:12},dA={type:14},aA={type:23},Di={type:1},es={type:25},Ki={type:24},ts={type:26},ns={type:27},Nn={type:28},Ln={type:29},gs={type:31},Yr={type:32},ya=function(){function Ae(){this._value=[]}return Ae.prototype.write=function(ie){this._value=this._value.concat(Be(ie))},Ae.prototype.read=function(){for(var ie=[],de=this.consumeToken();de!==Yr;)ie.push(de),de=this.consumeToken();return ie},Ae.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case uo:return this.consumeStringToken(uo);case Oi:var de=this.peekCodePoint(0),ce=this.peekCodePoint(1),Ge=this.peekCodePoint(2);if(Fr(de)||Er(ce,Ge)){var at=Sr(de,ce,Ge)?xa:Ua,It=this.consumeName();return{type:5,value:It,flags:at}}break;case wi:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),No;break;case Fi:return this.consumeStringToken(Fi);case Uo:return wa;case Ji:return co;case Qo:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),dA;break;case qi:if(Ea(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case $s:return wo;case Ti:var Yt=ie,Xt=this.peekCodePoint(0),Dn=this.peekCodePoint(1);if(Ea(Yt,Xt,Dn))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(Sr(Yt,Xt,Dn))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(Xt===Ti&&Dn===cs)return this.consumeCodePoint(),this.consumeCodePoint(),Ki;break;case WA:if(Ea(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Oa:if(this.peekCodePoint(0)===Qo)for(this.consumeCodePoint();;){var Kn=this.consumeCodePoint();if(Kn===Qo&&(Kn=this.consumeCodePoint(),Kn===Oa))return this.consumeToken();if(Kn===Wn)return this.consumeToken()}break;case ds:return ts;case xA:return ns;case zl:if(this.peekCodePoint(0)===br&&this.peekCodePoint(1)===Ti&&this.peekCodePoint(2)===Ti)return this.consumeCodePoint(),this.consumeCodePoint(),es;break;case Ps:var ee=this.peekCodePoint(0),le=this.peekCodePoint(1),xe=this.peekCodePoint(2);if(Sr(ee,le,xe)){var It=this.consumeName();return{type:7,value:It}}break;case _A:return Nn;case ni:if(Er(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case zr:return Ln;case Pa:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),ga;break;case Ao:return Wa;case Go:return lo;case jr:case ra:var We=this.peekCodePoint(0),ot=this.peekCodePoint(1);return We===qi&&(mo(ot)||ot===Ca)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case Ka:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),oa;if(this.peekCodePoint(0)===Ka)return this.consumeCodePoint(),la;break;case ha:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),Qa;break;case Wn:return Yr}return Rn(ie)?(this.consumeWhiteSpace(),gs):ao(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):lr(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:6,value:De(ie)}},Ae.prototype.consumeCodePoint=function(){var ie=this._value.shift();return typeof ie=="undefined"?-1:ie},Ae.prototype.reconsumeCodePoint=function(ie){this._value.unshift(ie)},Ae.prototype.peekCodePoint=function(ie){return ie>=this._value.length?-1:this._value[ie]},Ae.prototype.consumeUnicodeRangeToken=function(){for(var ie=[],de=this.consumeCodePoint();mo(de)&&ie.length<6;)ie.push(de),de=this.consumeCodePoint();for(var ce=!1;de===Ca&&ie.length<6;)ie.push(de),de=this.consumeCodePoint(),ce=!0;if(ce){var Ge=parseInt(De.apply(void 0,ie.map(function(Xt){return Xt===Ca?Ar:Xt})),16),at=parseInt(De.apply(void 0,ie.map(function(Xt){return Xt===Ca?Ha:Xt})),16);return{type:30,start:Ge,end:at}}var It=parseInt(De.apply(void 0,ie),16);if(this.peekCodePoint(0)===Ti&&mo(this.peekCodePoint(1))){this.consumeCodePoint(),de=this.consumeCodePoint();for(var Yt=[];mo(de)&&Yt.length<6;)Yt.push(de),de=this.consumeCodePoint();var at=parseInt(De.apply(void 0,Yt),16);return{type:30,start:It,end:at}}else return{type:30,start:It,end:It}},Ae.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===Uo?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Uo?(this.consumeCodePoint(),{type:19,value:ie}):{type:20,value:ie}},Ae.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Wn)return{type:22,value:""};var de=this.peekCodePoint(0);if(de===Fi||de===uo){var ce=this.consumeStringToken(this.consumeCodePoint());return ce.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Wn||this.peekCodePoint(0)===Ji)?(this.consumeCodePoint(),{type:22,value:ce.value}):(this.consumeBadUrlRemnants(),aA)}for(;;){var Ge=this.consumeCodePoint();if(Ge===Wn||Ge===Ji)return{type:22,value:De.apply(void 0,ie)};if(Rn(Ge))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Wn||this.peekCodePoint(0)===Ji?(this.consumeCodePoint(),{type:22,value:De.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),aA);if(Ge===uo||Ge===Fi||Ge===Uo||mr(Ge))return this.consumeBadUrlRemnants(),aA;if(Ge===ni)if(Er(Ge,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),aA;else ie.push(Ge)}},Ae.prototype.consumeWhiteSpace=function(){for(;Rn(this.peekCodePoint(0));)this.consumeCodePoint()},Ae.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===Ji||ie===Wn)return;Er(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ae.prototype.consumeStringSlice=function(ie){for(var de=5e4,ce="";ie>0;){var Ge=Math.min(de,ie);ce+=De.apply(void 0,this._value.splice(0,Ge)),ie-=Ge}return this._value.shift(),ce},Ae.prototype.consumeStringToken=function(ie){var de="",ce=0;do{var Ge=this._value[ce];if(Ge===Wn||Ge===void 0||Ge===ie)return de+=this.consumeStringSlice(ce),{type:0,value:de};if(Ge===Cr)return this._value.splice(0,ce),Di;if(Ge===ni){var at=this._value[ce+1];at!==Wn&&at!==void 0&&(at===Cr?(de+=this.consumeStringSlice(ce),ce=-1,this._value.shift()):Er(Ge,at)&&(de+=this.consumeStringSlice(ce),de+=De(this.consumeEscapedCodePoint()),ce=-1))}ce++}while(!0)},Ae.prototype.consumeNumber=function(){var ie=[],de=no,ce=this.peekCodePoint(0);for((ce===qi||ce===Ti)&&ie.push(this.consumeCodePoint());ao(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());ce=this.peekCodePoint(0);var Ge=this.peekCodePoint(1);if(ce===WA&&ao(Ge))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),de=Ai;ao(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());ce=this.peekCodePoint(0),Ge=this.peekCodePoint(1);var at=this.peekCodePoint(2);if((ce===Oo||ce===Ta)&&((Ge===qi||Ge===Ti)&&ao(at)||ao(Ge)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),de=Ai;ao(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[ka(ie),de]},Ae.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),de=ie[0],ce=ie[1],Ge=this.peekCodePoint(0),at=this.peekCodePoint(1),It=this.peekCodePoint(2);if(Sr(Ge,at,It)){var Yt=this.consumeName();return{type:15,number:de,flags:ce,unit:Yt}}return Ge===rA?(this.consumeCodePoint(),{type:16,number:de,flags:ce}):{type:17,number:de,flags:ce}},Ae.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(mo(ie)){for(var de=De(ie);mo(this.peekCodePoint(0))&&de.length<6;)de+=De(this.consumeCodePoint());Rn(this.peekCodePoint(0))&&this.consumeCodePoint();var ce=parseInt(de,16);return ce===0||ui(ce)||ce>1114111?ki:ce}return ie===Wn?ki:ie},Ae.prototype.consumeName=function(){for(var ie="";;){var de=this.consumeCodePoint();if(Fr(de))ie+=De(de);else if(Er(de,this.peekCodePoint(0)))ie+=De(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(de),ie}},Ae}(),$a=function(){function Ae(ie){this._tokens=ie}return Ae.create=function(ie){var de=new ya;return de.write(ie),new Ae(de.read())},Ae.parseValue=function(ie){return Ae.create(ie).parseComponentValue()},Ae.parseValues=function(ie){return Ae.create(ie).parseComponentValues()},Ae.prototype.parseComponentValue=function(){for(var ie=this.consumeToken();ie.type===31;)ie=this.consumeToken();if(ie.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ie);var de=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===31);if(ie.type===32)return de;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ae.prototype.parseComponentValues=function(){for(var ie=[];;){var de=this.consumeComponentValue();if(de.type===32)return ie;ie.push(de),ie.push()}},Ae.prototype.consumeComponentValue=function(){var ie=this.consumeToken();switch(ie.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ie.type);case 19:return this.consumeFunction(ie)}return ie},Ae.prototype.consumeSimpleBlock=function(ie){for(var de={type:ie,values:[]},ce=this.consumeToken();;){if(ce.type===32||hs(ce,ie))return de;this.reconsumeToken(ce),de.values.push(this.consumeComponentValue()),ce=this.consumeToken()}},Ae.prototype.consumeFunction=function(ie){for(var de={name:ie.value,values:[],type:18};;){var ce=this.consumeToken();if(ce.type===32||ce.type===3)return de;this.reconsumeToken(ce),de.values.push(this.consumeComponentValue())}},Ae.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?Yr:ie},Ae.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},Ae}(),Ro=function(Ae){return Ae.type===15},Do=function(Ae){return Ae.type===17},Ga=function(Ae){return Ae.type===20},xi=function(Ae){return Ae.type===0},fs=function(Ae,ie){return Ga(Ae)&&Ae.value===ie},jA=function(Ae){return Ae.type!==31},rs=function(Ae){return Ae.type!==31&&Ae.type!==4},SA=function(Ae){var ie=[],de=[];return Ae.forEach(function(ce){if(ce.type===4){if(de.length===0)throw new Error("Error parsing function args, zero tokens for arg");ie.push(de),de=[];return}ce.type!==31&&de.push(ce)}),de.length&&ie.push(de),ie},hs=function(Ae,ie){return ie===11&&Ae.type===12||ie===28&&Ae.type===29?!0:ie===2&&Ae.type===3},gA=function(Ae){return Ae.type===17||Ae.type===15},ea=function(Ae){return Ae.type===16||gA(Ae)},Pl=function(Ae){return Ae.length>1?[Ae[0],Ae[1]]:[Ae[0]]},ji={type:17,number:0,flags:no},el={type:16,number:50,flags:no},LA={type:16,number:100,flags:no},HA=function(Ae,ie,de){var ce=Ae[0],Ge=Ae[1];return[_o(ce,ie),_o(typeof Ge!="undefined"?Ge:ce,de)]},_o=function(Ae,ie){if(Ae.type===16)return Ae.number/100*ie;if(Ro(Ae))switch(Ae.unit){case"rem":case"em":return 16*Ae.number;case"px":default:return Ae.number}return Ae.number},gl="deg",Gl="grad",fl="rad",hl="turn",js={name:"angle",parse:function(Ae,ie){if(ie.type===15)switch(ie.unit){case gl:return Math.PI*ie.number/180;case Gl:return Math.PI/200*ie.number;case fl:return ie.number;case hl:return Math.PI*2*ie.number}throw new Error("Unsupported angle type")}},ms=function(Ae){return Ae.type===15&&(Ae.unit===gl||Ae.unit===Gl||Ae.unit===fl||Ae.unit===hl)},RA=function(Ae){var ie=Ae.filter(Ga).map(function(de){return de.value}).join(" ");switch(ie){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ji,ji];case"to top":case"bottom":return mi(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ji,LA];case"to right":case"left":return mi(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[LA,LA];case"to bottom":case"top":return mi(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[LA,ji];case"to left":case"right":return mi(270)}return 0},mi=function(Ae){return Math.PI*Ae/180},IA={name:"color",parse:function(Ae,ie){if(ie.type===18){var de=Rs[ie.name];if(typeof de=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ie.name+'"');return de(Ae,ie.values)}if(ie.type===5){if(ie.value.length===3){var ce=ie.value.substring(0,1),Ge=ie.value.substring(1,2),at=ie.value.substring(2,3);return zi(parseInt(ce+ce,16),parseInt(Ge+Ge,16),parseInt(at+at,16),1)}if(ie.value.length===4){var ce=ie.value.substring(0,1),Ge=ie.value.substring(1,2),at=ie.value.substring(2,3),It=ie.value.substring(3,4);return zi(parseInt(ce+ce,16),parseInt(Ge+Ge,16),parseInt(at+at,16),parseInt(It+It,16)/255)}if(ie.value.length===6){var ce=ie.value.substring(0,2),Ge=ie.value.substring(2,4),at=ie.value.substring(4,6);return zi(parseInt(ce,16),parseInt(Ge,16),parseInt(at,16),1)}if(ie.value.length===8){var ce=ie.value.substring(0,2),Ge=ie.value.substring(2,4),at=ie.value.substring(4,6),It=ie.value.substring(6,8);return zi(parseInt(ce,16),parseInt(Ge,16),parseInt(at,16),parseInt(It,16)/255)}}if(ie.type===20){var Yt=yA[ie.value.toUpperCase()];if(typeof Yt!="undefined")return Yt}return yA.TRANSPARENT}},MA=function(Ae){return(255&Ae)===0},si=function(Ae){var ie=255&Ae,de=255&Ae>>8,ce=255&Ae>>16,Ge=255&Ae>>24;return ie<255?"rgba("+Ge+","+ce+","+de+","+ie/255+")":"rgb("+Ge+","+ce+","+de+")"},zi=function(Ae,ie,de,ce){return(Ae<<24|ie<<16|de<<8|Math.round(ce*255)<<0)>>>0},tl=function(Ae,ie){if(Ae.type===17)return Ae.number;if(Ae.type===16){var de=ie===3?1:255;return ie===3?Ae.number/100*de:Math.round(Ae.number/100*de)}return 0},ml=function(Ae,ie){var de=ie.filter(rs);if(de.length===3){var ce=de.map(tl),Ge=ce[0],at=ce[1],It=ce[2];return zi(Ge,at,It,1)}if(de.length===4){var Yt=de.map(tl),Ge=Yt[0],at=Yt[1],It=Yt[2],Xt=Yt[3];return zi(Ge,at,It,Xt)}return 0};function Hs(Ae,ie,de){return de<0&&(de+=1),de>=1&&(de-=1),de<1/6?(ie-Ae)*de*6+Ae:de<1/2?ie:de<2/3?(ie-Ae)*6*(2/3-de)+Ae:Ae}var as=function(Ae,ie){var de=ie.filter(rs),ce=de[0],Ge=de[1],at=de[2],It=de[3],Yt=(ce.type===17?mi(ce.number):js.parse(Ae,ce))/(Math.PI*2),Xt=ea(Ge)?Ge.number/100:0,Dn=ea(at)?at.number/100:0,Kn=typeof It!="undefined"&&ea(It)?_o(It,1):1;if(Xt===0)return zi(Dn*255,Dn*255,Dn*255,1);var ee=Dn<=.5?Dn*(Xt+1):Dn+Xt-Dn*Xt,le=Dn*2-ee,xe=Hs(le,ee,Yt+1/3),We=Hs(le,ee,Yt),ot=Hs(le,ee,Yt-1/3);return zi(xe*255,We*255,ot*255,Kn)},Rs={hsl:as,hsla:as,rgb:ml,rgba:ml},xs=function(Ae,ie){return IA.parse(Ae,$a.create(ie).parseComponentValue())},yA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},pl={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(de){if(Ga(de))switch(de.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},nl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rl=function(Ae,ie){var de=IA.parse(Ae,ie[0]),ce=ie[1];return ce&&ea(ce)?{color:de,stop:ce}:{color:de,stop:null}},vl=function(Ae,ie){var de=Ae[0],ce=Ae[Ae.length-1];de.stop===null&&(de.stop=ji),ce.stop===null&&(ce.stop=LA);for(var Ge=[],at=0,It=0;Itat?Ge.push(Xt):Ge.push(at),at=Xt}else Ge.push(null)}for(var Dn=null,It=0;ItIt.optimumDistance)?{optimumCorner:Yt,optimumDistance:Kn}:It},{optimumDistance:Ge?1/0:-1/0,optimumCorner:null}).optimumCorner},eo=function(Ae,ie,de,ce,Ge){var at=0,It=0;switch(Ae.size){case 0:Ae.shape===0?at=It=Math.min(Math.abs(ie),Math.abs(ie-ce),Math.abs(de),Math.abs(de-Ge)):Ae.shape===1&&(at=Math.min(Math.abs(ie),Math.abs(ie-ce)),It=Math.min(Math.abs(de),Math.abs(de-Ge)));break;case 2:if(Ae.shape===0)at=It=Math.min(cr(ie,de),cr(ie,de-Ge),cr(ie-ce,de),cr(ie-ce,de-Ge));else if(Ae.shape===1){var Yt=Math.min(Math.abs(de),Math.abs(de-Ge))/Math.min(Math.abs(ie),Math.abs(ie-ce)),Xt=ba(ce,Ge,ie,de,!0),Dn=Xt[0],Kn=Xt[1];at=cr(Dn-ie,(Kn-de)/Yt),It=Yt*at}break;case 1:Ae.shape===0?at=It=Math.max(Math.abs(ie),Math.abs(ie-ce),Math.abs(de),Math.abs(de-Ge)):Ae.shape===1&&(at=Math.max(Math.abs(ie),Math.abs(ie-ce)),It=Math.max(Math.abs(de),Math.abs(de-Ge)));break;case 3:if(Ae.shape===0)at=It=Math.max(cr(ie,de),cr(ie,de-Ge),cr(ie-ce,de),cr(ie-ce,de-Ge));else if(Ae.shape===1){var Yt=Math.max(Math.abs(de),Math.abs(de-Ge))/Math.max(Math.abs(ie),Math.abs(ie-ce)),ee=ba(ce,Ge,ie,de,!1),Dn=ee[0],Kn=ee[1];at=cr(Dn-ie,(Kn-de)/Yt),It=Yt*at}break}return Array.isArray(Ae.size)&&(at=_o(Ae.size[0],ce),It=Ae.size.length===2?_o(Ae.size[1],Ge):at),[at,It]},Gi=function(Ae,ie){var de=mi(180),ce=[];return SA(ie).forEach(function(Ge,at){if(at===0){var It=Ge[0];if(It.type===20&&It.value==="to"){de=RA(Ge);return}else if(ms(It)){de=js.parse(Ae,It);return}}var Yt=rl(Ae,Ge);ce.push(Yt)}),{angle:de,stops:ce,type:1}},$i=function(Ae,ie){var de=mi(180),ce=[];return SA(ie).forEach(function(Ge,at){if(at===0){var It=Ge[0];if(It.type===20&&["top","left","right","bottom"].indexOf(It.value)!==-1){de=RA(Ge);return}else if(ms(It)){de=(js.parse(Ae,It)+mi(270))%mi(360);return}}var Yt=rl(Ae,Ge);ce.push(Yt)}),{angle:de,stops:ce,type:1}},ci=function(Ae,ie){var de=mi(180),ce=[],Ge=1,at=0,It=3,Yt=[];return SA(ie).forEach(function(Xt,Dn){var Kn=Xt[0];if(Dn===0){if(Ga(Kn)&&Kn.value==="linear"){Ge=1;return}else if(Ga(Kn)&&Kn.value==="radial"){Ge=2;return}}if(Kn.type===18){if(Kn.name==="from"){var ee=IA.parse(Ae,Kn.values[0]);ce.push({stop:ji,color:ee})}else if(Kn.name==="to"){var ee=IA.parse(Ae,Kn.values[0]);ce.push({stop:LA,color:ee})}else if(Kn.name==="color-stop"){var le=Kn.values.filter(rs);if(le.length===2){var ee=IA.parse(Ae,le[1]),xe=le[0];Do(xe)&&ce.push({stop:{type:16,number:xe.number*100,flags:xe.flags},color:ee})}}}}),Ge===1?{angle:(de+mi(180))%mi(360),stops:ce,type:Ge}:{size:It,shape:at,stops:ce,position:Yt,type:Ge}},ps="closest-side",vs="farthest-side",wA="closest-corner",Po="farthest-corner",os="circle",Eo="ellipse",fA="cover",Ui="contain",NA=function(Ae,ie){var de=0,ce=3,Ge=[],at=[];return SA(ie).forEach(function(It,Yt){var Xt=!0;if(Yt===0){var Dn=!1;Xt=It.reduce(function(ee,le){if(Dn)if(Ga(le))switch(le.value){case"center":return at.push(el),ee;case"top":case"left":return at.push(ji),ee;case"right":case"bottom":return at.push(LA),ee}else(ea(le)||gA(le))&&at.push(le);else if(Ga(le))switch(le.value){case os:return de=0,!1;case Eo:return de=1,!1;case"at":return Dn=!0,!1;case ps:return ce=0,!1;case fA:case vs:return ce=1,!1;case Ui:case wA:return ce=2,!1;case Po:return ce=3,!1}else if(gA(le)||ea(le))return Array.isArray(ce)||(ce=[]),ce.push(le),!1;return ee},Xt)}if(Xt){var Kn=rl(Ae,It);Ge.push(Kn)}}),{size:ce,shape:de,stops:Ge,position:at,type:2}},bi=function(Ae,ie){var de=0,ce=3,Ge=[],at=[];return SA(ie).forEach(function(It,Yt){var Xt=!0;if(Yt===0?Xt=It.reduce(function(Kn,ee){if(Ga(ee))switch(ee.value){case"center":return at.push(el),!1;case"top":case"left":return at.push(ji),!1;case"right":case"bottom":return at.push(LA),!1}else if(ea(ee)||gA(ee))return at.push(ee),!1;return Kn},Xt):Yt===1&&(Xt=It.reduce(function(Kn,ee){if(Ga(ee))switch(ee.value){case os:return de=0,!1;case Eo:return de=1,!1;case Ui:case ps:return ce=0,!1;case vs:return ce=1,!1;case wA:return ce=2,!1;case fA:case Po:return ce=3,!1}else if(gA(ee)||ea(ee))return Array.isArray(ce)||(ce=[]),ce.push(ee),!1;return Kn},Xt)),Xt){var Dn=rl(Ae,It);Ge.push(Dn)}}),{size:ce,shape:de,stops:Ge,position:at,type:2}},Ls=function(Ae){return Ae.type===1},Bs=function(Ae){return Ae.type===2},Li={name:"image",parse:function(Ae,ie){if(ie.type===22){var de={url:ie.value,type:0};return Ae.cache.addImage(ie.value),de}if(ie.type===18){var ce=hA[ie.name];if(typeof ce=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ie.name+'"');return ce(Ae,ie.values)}throw new Error("Unsupported image type "+ie.type)}};function CA(Ae){return!(Ae.type===20&&Ae.value==="none")&&(Ae.type!==18||!!hA[Ae.name])}var hA={"linear-gradient":Gi,"-moz-linear-gradient":$i,"-ms-linear-gradient":$i,"-o-linear-gradient":$i,"-webkit-linear-gradient":$i,"radial-gradient":NA,"-moz-radial-gradient":bi,"-ms-radial-gradient":bi,"-o-radial-gradient":bi,"-webkit-radial-gradient":bi,"-webkit-gradient":ci},KA={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){if(ie.length===0)return[];var de=ie[0];return de.type===20&&de.value==="none"?[]:ie.filter(function(ce){return rs(ce)&&CA(ce)}).map(function(ce){return Li.parse(Ae,ce)})}},ae={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(de){if(Ga(de))switch(de.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},te={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Ae,ie){return SA(ie).map(function(de){return de.filter(ea)}).map(Pl)}},re={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ae,ie){return SA(ie).map(function(de){return de.filter(Ga).map(function(ce){return ce.value}).join(" ")}).map(ge)}},ge=function(Ae){switch(Ae){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ce;(function(Ae){Ae.AUTO="auto",Ae.CONTAIN="contain",Ae.COVER="cover"})(Ce||(Ce={}));var Se={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ae,ie){return SA(ie).map(function(de){return de.filter(Ie)})}},Ie=function(Ae){return Ga(Ae)||ea(Ae)},ke=function(Ae){return{name:"border-"+Ae+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},_e=ke("top"),rt=ke("right"),mt=ke("bottom"),vt=ke("left"),Qt=function(Ae){return{name:"border-radius-"+Ae,initialValue:"0 0",prefix:!1,type:1,parse:function(ie,de){return Pl(de.filter(ea))}}},$e=Qt("top-left"),on=Qt("top-right"),Vt=Qt("bottom-right"),ln=Qt("bottom-left"),Ht=function(Ae){return{name:"border-"+Ae+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ie,de){switch(de){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},un=Ht("top"),On=Ht("right"),Xn=Ht("bottom"),dr=Ht("left"),Pr=function(Ae){return{name:"border-"+Ae+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ie,de){return Ro(de)?de.number:0}}},$n=Pr("top"),yn=Pr("right"),nr=Pr("bottom"),pr=Pr("left"),zt={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Jt={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"rtl":return 1;case"ltr":default:return 0}}},Qn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(Ga).reduce(function(de,ce){return de|Le(ce.value)},0)}},Le=function(Ae){switch(Ae){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ke={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},et={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Ae,ie){return ie.type===20&&ie.value==="normal"?0:ie.type===17||ie.type===15?ie.number:0}},ut;(function(Ae){Ae.NORMAL="normal",Ae.STRICT="strict"})(ut||(ut={}));var dt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"strict":return ut.STRICT;case"normal":default:return ut.NORMAL}}},Ct={name:"line-height",initialValue:"normal",prefix:!1,type:4},Rt=function(Ae,ie){return Ga(Ae)&&Ae.value==="normal"?1.2*ie:Ae.type===17?ie*Ae.number:ea(Ae)?_o(Ae,ie):ie},tn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ae,ie){return ie.type===20&&ie.value==="none"?null:Li.parse(Ae,ie)}},Xe={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"inside":return 0;case"outside":default:return 1}}},ct={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Pt=function(Ae){return{name:"margin-"+Ae,initialValue:"0",prefix:!1,type:4}},Lt=Pt("top"),_t=Pt("right"),en=Pt("bottom"),rn=Pt("left"),pn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(Ga).map(function(de){switch(de.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},kn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"break-word":return"break-word";case"normal":default:return"normal"}}},Mn=function(Ae){return{name:"padding-"+Ae,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Zn=Mn("top"),qn=Mn("right"),wr=Mn("bottom"),Tn=Mn("left"),Gt={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Mr={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},xr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){return ie.length===1&&fs(ie[0],"none")?[]:SA(ie).map(function(de){for(var ce={color:yA.TRANSPARENT,offsetX:ji,offsetY:ji,blur:ji},Ge=0,at=0;at1?1:0],this.overflowWrap=Nr(ie,kn,de.overflowWrap),this.paddingTop=Nr(ie,Zn,de.paddingTop),this.paddingRight=Nr(ie,qn,de.paddingRight),this.paddingBottom=Nr(ie,wr,de.paddingBottom),this.paddingLeft=Nr(ie,Tn,de.paddingLeft),this.paintOrder=Nr(ie,oo,de.paintOrder),this.position=Nr(ie,Mr,de.position),this.textAlign=Nr(ie,Gt,de.textAlign),this.textDecorationColor=Nr(ie,_a,(ce=de.textDecorationColor)!==null&&ce!==void 0?ce:de.color),this.textDecorationLine=Nr(ie,ja,(Ge=de.textDecorationLine)!==null&&Ge!==void 0?Ge:de.textDecoration),this.textShadow=Nr(ie,xr,de.textShadow),this.textTransform=Nr(ie,Vn,de.textTransform),this.transform=Nr(ie,ar,de.transform),this.transformOrigin=Nr(ie,Jr,de.transformOrigin),this.visibility=Nr(ie,Zr,de.visibility),this.webkitTextStrokeColor=Nr(ie,pi,de.webkitTextStrokeColor),this.webkitTextStrokeWidth=Nr(ie,Ia,de.webkitTextStrokeWidth),this.wordBreak=Nr(ie,qr,de.wordBreak),this.zIndex=Nr(ie,La,de.zIndex)}return Ae.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ae.prototype.isTransparent=function(){return MA(this.backgroundColor)},Ae.prototype.isTransformed=function(){return this.transform!==null},Ae.prototype.isPositioned=function(){return this.position!==0},Ae.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ae.prototype.isFloating=function(){return this.float!==0},Ae.prototype.isInlineLevel=function(){return Rr(this.display,4)||Rr(this.display,33554432)||Rr(this.display,268435456)||Rr(this.display,536870912)||Rr(this.display,67108864)||Rr(this.display,134217728)},Ae}(),ei=function(){function Ae(ie,de){this.content=Nr(ie,pa,de.content),this.quotes=Nr(ie,Kr,de.quotes)}return Ae}(),vi=function(){function Ae(ie,de){this.counterIncrement=Nr(ie,Sa,de.counterIncrement),this.counterReset=Nr(ie,Xr,de.counterReset)}return Ae}(),Nr=function(Ae,ie,de){var ce=new ya,Ge=de!==null&&typeof de!="undefined"?de.toString():ie.initialValue;ce.write(Ge);var at=new $a(ce.read());switch(ie.type){case 2:var It=at.parseComponentValue();return ie.parse(Ae,Ga(It)?It.value:ie.initialValue);case 0:return ie.parse(Ae,at.parseComponentValue());case 1:return ie.parse(Ae,at.parseComponentValues());case 4:return at.parseComponentValue();case 3:switch(ie.format){case"angle":return js.parse(Ae,at.parseComponentValue());case"color":return IA.parse(Ae,at.parseComponentValue());case"image":return Li.parse(Ae,at.parseComponentValue());case"length":var Yt=at.parseComponentValue();return gA(Yt)?Yt:ji;case"length-percentage":var Xt=at.parseComponentValue();return ea(Xt)?Xt:ji;case"time":return Lr.parse(Ae,at.parseComponentValue())}break}},Wo="data-html2canvas-debug",oA=function(Ae){var ie=Ae.getAttribute(Wo);switch(ie){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},po=function(Ae,ie){var de=oA(Ae);return de===1||ie===de},to=function(){function Ae(ie,de){if(this.context=ie,this.textNodes=[],this.elements=[],this.flags=0,po(de,3))debugger;this.styles=new Wi(ie,window.getComputedStyle(de,null)),hr(de)&&(this.styles.animationDuration.some(function(ce){return ce>0})&&(de.style.animationDuration="0s"),this.styles.transform!==null&&(de.style.transform="none")),this.bounds=Re(this.context,de),po(de,4)&&(this.flags|=16)}return Ae}(),ko="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Yo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Mo=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Va=0;Va>4,Kn[Ge++]=(It&15)<<4|Yt>>2,Kn[Ge++]=(Yt&3)<<6|Xt&63;return Dn},Bi=function(Ae){for(var ie=Ae.length,de=[],ce=0;ce>Zi,bA=1<>Zi,ai=DA+fi,ys=ai,Is=32,Ms=ys+Is,is=65536>>mA,_l=1<=0){if(ie<55296||ie>56319&&ie<=65535)return de=this.index[ie>>Zi],de=(de<>Zi)],de=(de<>mA),de=this.index[de],de+=ie>>Zi&Bl,de=this.index[de],de=(de<=55296&&Ge<=56319&&de>10)+55296,It%1024+56320)),(Ge+1===de||ce.length>16384)&&(at+=String.fromCharCode.apply(String,ce),ce.length=0)}return at},Ll=Vi(ko),QA="\xD7",pA="\xF7",Xu=function(Ae){return Ll.get(Ae)},xu=function(Ae,ie,de){var ce=de-2,Ge=ie[ce],at=ie[de-1],It=ie[de];if(at===al&&It===UA)return QA;if(at===al||at===UA||at===El||It===al||It===UA||It===El)return pA;if(at===Sl&&[Sl,Ks,Eu,xl].indexOf(It)!==-1||(at===Eu||at===Ks)&&(It===Ks||It===Fl)||(at===xl||at===Fl)&&It===Fl||It===Fu||It===ou||It===Pu||at===AA)return QA;if(at===Fu&&It===iu){for(;Ge===ou;)Ge=ie[--ce];if(Ge===iu)return QA}if(at===yl&&It===yl){for(var Yt=0;Ge===yl;)Yt++,Ge=ie[--ce];if(Yt%2===0)return QA}return pA},fo=function(Ae){var ie=zs(Ae),de=ie.length,ce=0,Ge=0,at=ie.map(Xu);return{next:function(){if(ce>=de)return{done:!0,value:null};for(var It=QA;ceIt.x||Kn.y>It.y;return It=Kn,Dn===0?!0:ee});return Ae.body.removeChild(ie),Yt},su=function(){return typeof new Image().crossOrigin!="undefined"},lu=function(){return typeof new XMLHttpRequest().responseType=="string"},Il=function(Ae){var ie=new Image,de=Ae.createElement("canvas"),ce=de.getContext("2d");if(!ce)return!1;ie.src="data:image/svg+xml,";try{ce.drawImage(ie,0,0),de.toDataURL()}catch(Ge){return!1}return!0},Nl=function(Ae){return Ae[0]===0&&Ae[1]===255&&Ae[2]===0&&Ae[3]===255},Ju=function(Ae){var ie=Ae.createElement("canvas"),de=100;ie.width=de,ie.height=de;var ce=ie.getContext("2d");if(!ce)return Promise.reject(!1);ce.fillStyle="rgb(0, 255, 0)",ce.fillRect(0,0,de,de);var Ge=new Image,at=ie.toDataURL();Ge.src=at;var It=Vl(de,de,0,0,Ge);return ce.fillStyle="red",ce.fillRect(0,0,de,de),Yl(It).then(function(Yt){ce.drawImage(Yt,0,0);var Xt=ce.getImageData(0,0,de,de).data;ce.fillStyle="red",ce.fillRect(0,0,de,de);var Dn=Ae.createElement("div");return Dn.style.backgroundImage="url("+at+")",Dn.style.height=de+"px",Nl(Xt)?Yl(Vl(de,de,0,0,Dn)):Promise.reject(!1)}).then(function(Yt){return ce.drawImage(Yt,0,0),Nl(ce.getImageData(0,0,de,de).data)}).catch(function(){return!1})},Vl=function(Ae,ie,de,ce,Ge){var at="http://www.w3.org/2000/svg",It=document.createElementNS(at,"svg"),Yt=document.createElementNS(at,"foreignObject");return It.setAttributeNS(null,"width",Ae.toString()),It.setAttributeNS(null,"height",ie.toString()),Yt.setAttributeNS(null,"width","100%"),Yt.setAttributeNS(null,"height","100%"),Yt.setAttributeNS(null,"x",de.toString()),Yt.setAttributeNS(null,"y",ce.toString()),Yt.setAttributeNS(null,"externalResourcesRequired","true"),It.appendChild(Yt),Yt.appendChild(Ge),It},Yl=function(Ae){return new Promise(function(ie,de){var ce=new Image;ce.onload=function(){return ie(ce)},ce.onerror=de,ce.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ae))})},Hi={get SUPPORT_RANGE_BOUNDS(){var Ae=Au(document);return Object.defineProperty(Hi,"SUPPORT_RANGE_BOUNDS",{value:Ae}),Ae},get SUPPORT_WORD_BREAKING(){var Ae=Hi.SUPPORT_RANGE_BOUNDS&&ws(document);return Object.defineProperty(Hi,"SUPPORT_WORD_BREAKING",{value:Ae}),Ae},get SUPPORT_SVG_DRAWING(){var Ae=Il(document);return Object.defineProperty(Hi,"SUPPORT_SVG_DRAWING",{value:Ae}),Ae},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ae=typeof Array.from=="function"&&typeof window.fetch=="function"?Ju(document):Promise.resolve(!1);return Object.defineProperty(Hi,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ae}),Ae},get SUPPORT_CORS_IMAGES(){var Ae=su();return Object.defineProperty(Hi,"SUPPORT_CORS_IMAGES",{value:Ae}),Ae},get SUPPORT_RESPONSE_TYPE(){var Ae=lu();return Object.defineProperty(Hi,"SUPPORT_RESPONSE_TYPE",{value:Ae}),Ae},get SUPPORT_CORS_XHR(){var Ae="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Hi,"SUPPORT_CORS_XHR",{value:Ae}),Ae},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ae=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Hi,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ae}),Ae}},As=function(){function Ae(ie,de){this.text=ie,this.bounds=de}return Ae}(),ol=function(Ae,ie,de,ce){var Ge=Ns(ie,de),at=[],It=0;return Ge.forEach(function(Yt){if(de.textDecorationLine.length||Yt.trim().length>0)if(Hi.SUPPORT_RANGE_BOUNDS){var Xt=Bo(ce,It,Yt.length).getClientRects();if(Xt.length>1){var Dn=Zo(Yt),Kn=0;Dn.forEach(function(le){at.push(new As(le,Ze.fromDOMRectList(Ae,Bo(ce,Kn+It,le.length).getClientRects()))),Kn+=le.length})}else at.push(new As(Yt,Ze.fromDOMRectList(Ae,Xt)))}else{var ee=ce.splitText(Yt.length);at.push(new As(Yt,qu(Ae,ce))),ce=ee}else Hi.SUPPORT_RANGE_BOUNDS||(ce=ce.splitText(Yt.length));It+=Yt.length}),at},qu=function(Ae,ie){var de=ie.ownerDocument;if(de){var ce=de.createElement("html2canvaswrapper");ce.appendChild(ie.cloneNode(!0));var Ge=ie.parentNode;if(Ge){Ge.replaceChild(ce,ie);var at=Re(Ae,ce);return ce.firstChild&&Ge.replaceChild(ce.firstChild,ce),at}}return Ze.EMPTY},Bo=function(Ae,ie,de){var ce=Ae.ownerDocument;if(!ce)throw new Error("Node has no owner document");var Ge=ce.createRange();return Ge.setStart(Ae,ie),Ge.setEnd(Ae,ie+de),Ge},Zo=function(Ae){if(Hi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ie=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ie.segment(Ae)).map(function(de){return de.segment})}return Zl(Ae)},PA=function(Ae,ie){if(Hi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var de=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(de.segment(Ae)).map(function(ce){return ce.segment})}return uu(Ae,ie)},Ns=function(Ae,ie){return ie.letterSpacing!==0?Zo(Ae):PA(Ae,ie)},Ds=[32,160,4961,65792,65793,4153,4241],uu=function(Ae,ie){for(var de=fa(Ae,{lineBreak:ie.lineBreak,wordBreak:ie.overflowWrap==="break-word"?"break-word":ie.wordBreak}),ce=[],Ge,at=function(){if(Ge.value){var It=Ge.value.slice(),Yt=Be(It),Xt="";Yt.forEach(function(Dn){Ds.indexOf(Dn)===-1?Xt+=De(Dn):(Xt.length&&ce.push(Xt),ce.push(De(Dn)),Xt="")}),Xt.length&&ce.push(Xt)}};!(Ge=de.next()).done;)at();return ce},Xl=function(){function Ae(ie,de,ce){this.text=Cs(de.data,ce.textTransform),this.textBounds=ol(ie,this.text,ce,de)}return Ae}(),Cs=function(Ae,ie){switch(ie){case 1:return Ae.toLowerCase();case 3:return Ae.replace(Us,cu);case 2:return Ae.toUpperCase();default:return Ae}},Us=/(^|\s|:|-|\(|\))([a-z])/g,cu=function(Ae,ie,de){return Ae.length>0?ie+de.toUpperCase():Ae},Dl=function(Ae){ve(ie,Ae);function ie(de,ce){var Ge=Ae.call(this,de,ce)||this;return Ge.src=ce.currentSrc||ce.src,Ge.intrinsicWidth=ce.naturalWidth,Ge.intrinsicHeight=ce.naturalHeight,Ge.context.cache.addImage(Ge.src),Ge}return ie}(to),Gs=function(Ae){ve(ie,Ae);function ie(de,ce){var Ge=Ae.call(this,de,ce)||this;return Ge.canvas=ce,Ge.intrinsicWidth=ce.width,Ge.intrinsicHeight=ce.height,Ge}return ie}(to),Lu=function(Ae){ve(ie,Ae);function ie(de,ce){var Ge=Ae.call(this,de,ce)||this,at=new XMLSerializer,It=Re(de,ce);return ce.setAttribute("width",It.width+"px"),ce.setAttribute("height",It.height+"px"),Ge.svg="data:image/svg+xml,"+encodeURIComponent(at.serializeToString(ce)),Ge.intrinsicWidth=ce.width.baseVal.value,Ge.intrinsicHeight=ce.height.baseVal.value,Ge.context.cache.addImage(Ge.svg),Ge}return ie}(to),Jl=function(Ae){ve(ie,Ae);function ie(de,ce){var Ge=Ae.call(this,de,ce)||this;return Ge.value=ce.value,Ge}return ie}(to),$u=function(Ae){ve(ie,Ae);function ie(de,ce){var Ge=Ae.call(this,de,ce)||this;return Ge.start=ce.start,Ge.reversed=typeof ce.reversed=="boolean"&&ce.reversed===!0,Ge}return ie}(to),Iu=[{type:15,flags:0,unit:"px",number:3}],Fc=[{type:16,flags:0,number:50}],ec=function(Ae){return Ae.width>Ae.height?new Ze(Ae.left+(Ae.width-Ae.height)/2,Ae.top,Ae.height,Ae.height):Ae.width0)de.textNodes.push(new Xl(Ae,Ge,de.styles));else if(Yn(Ge))if(Qu(Ge)&&Ge.assignedNodes)Ge.assignedNodes().forEach(function(Yt){return il(Ae,Yt,de,ce)});else{var It=Uu(Ae,Ge);It.styles.isVisible()&&(St(Ge,It,ce)?It.flags|=4:cn(It.styles)&&(It.flags|=2),rc.indexOf(Ge.tagName)!==-1&&(It.flags|=8),de.elements.push(It),Ge.slot,Ge.shadowRoot?il(Ae,Ge.shadowRoot,It,ce):!Os(Ge)&&!Xo(Ge)&&!fu(Ge)&&il(Ae,Ge,It,ce))}},Uu=function(Ae,ie){return OA(ie)?new Dl(Ae,ie):Xi(ie)?new Gs(Ae,ie):Xo(ie)?new Lu(Ae,ie):Fa(ie)?new Jl(Ae,ie):Ja(ie)?new $u(Ae,ie):bo(ie)?new Du(Ae,ie):fu(ie)?new dc(Ae,ie):Os(ie)?new gu(Ae,ie):EA(ie)?new ql(Ae,ie):new to(Ae,ie)},Fe=function(Ae,ie){var de=Uu(Ae,ie);return de.flags|=4,il(Ae,ie,de,de),de},St=function(Ae,ie,de){return ie.styles.isPositionedWithZIndex()||ie.styles.opacity<1||ie.styles.isTransformed()||Qi(Ae)&&de.styles.isTransparent()},cn=function(Ae){return Ae.isPositioned()||Ae.isFloating()},xn=function(Ae){return Ae.nodeType===Node.TEXT_NODE},Yn=function(Ae){return Ae.nodeType===Node.ELEMENT_NODE},hr=function(Ae){return Yn(Ae)&&typeof Ae.style!="undefined"&&!Hr(Ae)},Hr=function(Ae){return typeof Ae.className=="object"},Fa=function(Ae){return Ae.tagName==="LI"},Ja=function(Ae){return Ae.tagName==="OL"},bo=function(Ae){return Ae.tagName==="INPUT"},So=function(Ae){return Ae.tagName==="HTML"},Xo=function(Ae){return Ae.tagName==="svg"},Qi=function(Ae){return Ae.tagName==="BODY"},Xi=function(Ae){return Ae.tagName==="CANVAS"},sA=function(Ae){return Ae.tagName==="VIDEO"},OA=function(Ae){return Ae.tagName==="IMG"},EA=function(Ae){return Ae.tagName==="IFRAME"},_s=function(Ae){return Ae.tagName==="STYLE"},Qs=function(Ae){return Ae.tagName==="SCRIPT"},Os=function(Ae){return Ae.tagName==="TEXTAREA"},fu=function(Ae){return Ae.tagName==="SELECT"},Qu=function(Ae){return Ae.tagName==="SLOT"},Ou=function(Ae){return Ae.tagName.indexOf("-")>0},Tu=function(){function Ae(){this.counters={}}return Ae.prototype.getCounterValue=function(ie){var de=this.counters[ie];return de&&de.length?de[de.length-1]:1},Ae.prototype.getCounterValues=function(ie){var de=this.counters[ie];return de||[]},Ae.prototype.pop=function(ie){var de=this;ie.forEach(function(ce){return de.counters[ce].pop()})},Ae.prototype.parse=function(ie){var de=this,ce=ie.counterIncrement,Ge=ie.counterReset,at=!0;ce!==null&&ce.forEach(function(Yt){var Xt=de.counters[Yt.counter];Xt&&Yt.increment!==0&&(at=!1,Xt.length||Xt.push(1),Xt[Math.max(0,Xt.length-1)]+=Yt.increment)});var It=[];return at&&Ge.forEach(function(Yt){var Xt=de.counters[Yt.counter];It.push(Yt.counter),Xt||(Xt=de.counters[Yt.counter]=[]),Xt.push(Yt.reset)}),It},Ae}(),ku={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ju={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Hu={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},zA={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Al=function(Ae,ie,de,ce,Ge,at){return Aede?ll(Ae,Ge,at.length>0):ce.integers.reduce(function(It,Yt,Xt){for(;Ae>=Yt;)Ae-=Yt,It+=ce.values[Xt];return It},"")+at},hu=function(Ae,ie,de,ce){var Ge="";do de||Ae--,Ge=ce(Ae)+Ge,Ae/=ie;while(Ae*ie>=ie);return Ge},Ii=function(Ae,ie,de,ce,Ge){var at=de-ie+1;return(Ae<0?"-":"")+(hu(Math.abs(Ae),at,ce,function(It){return De(Math.floor(It%at)+ie)})+Ge)},sl=function(Ae,ie,de){de===void 0&&(de=". ");var ce=ie.length;return hu(Math.abs(Ae),ce,!1,function(Ge){return ie[Math.floor(Ge%ce)]})+de},FA=1,wl=2,Ws=4,$l=8,vA=function(Ae,ie,de,ce,Ge,at){if(Ae<-9999||Ae>9999)return ll(Ae,4,Ge.length>0);var It=Math.abs(Ae),Yt=Ge;if(It===0)return ie[0]+Yt;for(var Xt=0;It>0&&Xt<=4;Xt++){var Dn=It%10;Dn===0&&Rr(at,FA)&&Yt!==""?Yt=ie[Dn]+Yt:Dn>1||Dn===1&&Xt===0||Dn===1&&Xt===1&&Rr(at,wl)||Dn===1&&Xt===1&&Rr(at,Ws)&&Ae>100||Dn===1&&Xt>1&&Rr(at,$l)?Yt=ie[Dn]+(Xt>0?de[Xt-1]:"")+Yt:Dn===1&&Xt>0&&(Yt=de[Xt-1]+Yt),It=Math.floor(It/10)}return(Ae<0?ce:"")+Yt},mu="\u5341\u767E\u5343\u842C",ac="\u62FE\u4F70\u4EDF\u842C",oc="\u30DE\u30A4\u30CA\u30B9",Cl="\uB9C8\uC774\uB108\uC2A4",ll=function(Ae,ie,de){var ce=de?". ":"",Ge=de?"\u3001":"",at=de?", ":"",It=de?" ":"";switch(ie){case 0:return"\u2022"+It;case 1:return"\u25E6"+It;case 2:return"\u25FE"+It;case 5:var Yt=Ii(Ae,48,57,!0,ce);return Yt.length<4?"0"+Yt:Yt;case 4:return sl(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ge);case 6:return Al(Ae,1,3999,ku,3,ce).toLowerCase();case 7:return Al(Ae,1,3999,ku,3,ce);case 8:return Ii(Ae,945,969,!1,ce);case 9:return Ii(Ae,97,122,!1,ce);case 10:return Ii(Ae,65,90,!1,ce);case 11:return Ii(Ae,1632,1641,!0,ce);case 12:case 49:return Al(Ae,1,9999,ju,3,ce);case 35:return Al(Ae,1,9999,ju,3,ce).toLowerCase();case 13:return Ii(Ae,2534,2543,!0,ce);case 14:case 30:return Ii(Ae,6112,6121,!0,ce);case 15:return sl(Ae,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ge);case 16:return sl(Ae,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ge);case 17:case 48:return vA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",mu,"\u8CA0",Ge,wl|Ws|$l);case 47:return vA(Ae,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ac,"\u8CA0",Ge,FA|wl|Ws|$l);case 42:return vA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",mu,"\u8D1F",Ge,wl|Ws|$l);case 41:return vA(Ae,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ac,"\u8D1F",Ge,FA|wl|Ws|$l);case 26:return vA(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",oc,Ge,0);case 25:return vA(Ae,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",oc,Ge,FA|wl|Ws);case 31:return vA(Ae,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Cl,at,FA|wl|Ws);case 33:return vA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Cl,at,0);case 32:return vA(Ae,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Cl,at,FA|wl|Ws);case 18:return Ii(Ae,2406,2415,!0,ce);case 20:return Al(Ae,1,19999,zA,3,ce);case 21:return Ii(Ae,2790,2799,!0,ce);case 22:return Ii(Ae,2662,2671,!0,ce);case 22:return Al(Ae,1,10999,Hu,3,ce);case 23:return sl(Ae,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return sl(Ae,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Ii(Ae,3302,3311,!0,ce);case 28:return sl(Ae,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",Ge);case 29:return sl(Ae,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",Ge);case 34:return Ii(Ae,3792,3801,!0,ce);case 37:return Ii(Ae,6160,6169,!0,ce);case 38:return Ii(Ae,4160,4169,!0,ce);case 39:return Ii(Ae,2918,2927,!0,ce);case 40:return Ii(Ae,1776,1785,!0,ce);case 43:return Ii(Ae,3046,3055,!0,ce);case 44:return Ii(Ae,3174,3183,!0,ce);case 45:return Ii(Ae,3664,3673,!0,ce);case 46:return Ii(Ae,3872,3881,!0,ce);case 3:default:return Ii(Ae,48,57,!0,ce)}},ss="data-html2canvas-ignore",YA=function(){function Ae(ie,de,ce){if(this.context=ie,this.options=ce,this.scrolledElements=[],this.referenceElement=de,this.counters=new Tu,this.quoteDepth=0,!de.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(de.ownerDocument.documentElement,!1)}return Ae.prototype.toIFrame=function(ie,de){var ce=this,Ge=Ql(ie,de);if(!Ge.contentWindow)return Promise.reject("Unable to find iframe window");var at=ie.defaultView.pageXOffset,It=ie.defaultView.pageYOffset,Yt=Ge.contentWindow,Xt=Yt.document,Dn=Tl(Ge).then(function(){return we(ce,void 0,void 0,function(){var Kn,ee;return ze(this,function(le){switch(le.label){case 0:return this.scrolledElements.forEach(Mu),Yt&&(Yt.scrollTo(de.left,de.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Yt.scrollY!==de.top||Yt.scrollX!==de.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Yt.scrollX-de.left,Yt.scrollY-de.top,0,0))),Kn=this.options.onclone,ee=this.clonedReferenceElement,typeof ee=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Xt.fonts&&Xt.fonts.ready?[4,Xt.fonts.ready]:[3,2];case 1:le.sent(),le.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ru(Xt)]:[3,4];case 3:le.sent(),le.label=4;case 4:return typeof Kn=="function"?[2,Promise.resolve().then(function(){return Kn(Xt,ee)}).then(function(){return Ge})]:[2,Ge]}})})});return Xt.open(),Xt.write(ls(document.doctype)+""),Vs(this.referenceElement.ownerDocument,at,It),Xt.replaceChild(Xt.adoptNode(this.documentElement),Xt.documentElement),Xt.close(),Dn},Ae.prototype.createElementClone=function(ie){if(po(ie,2))debugger;if(Xi(ie))return this.createCanvasClone(ie);if(sA(ie))return this.createVideoClone(ie);if(_s(ie))return this.createStyleClone(ie);var de=ie.cloneNode(!1);return OA(de)&&(OA(ie)&&ie.currentSrc&&ie.currentSrc!==ie.src&&(de.src=ie.currentSrc,de.srcset=""),de.loading==="lazy"&&(de.loading="eager")),Ou(de)?this.createCustomElementClone(de):de},Ae.prototype.createCustomElementClone=function(ie){var de=document.createElement("html2canvascustomelement");return pu(ie.style,de),de},Ae.prototype.createStyleClone=function(ie){try{var de=ie.sheet;if(de&&de.cssRules){var ce=[].slice.call(de.cssRules,0).reduce(function(at,It){return It&&typeof It.cssText=="string"?at+It.cssText:at},""),Ge=ie.cloneNode(!1);return Ge.textContent=ce,Ge}}catch(at){if(this.context.logger.error("Unable to access cssRules property",at),at.name!=="SecurityError")throw at}return ie.cloneNode(!1)},Ae.prototype.createCanvasClone=function(ie){var de;if(this.options.inlineImages&&ie.ownerDocument){var ce=ie.ownerDocument.createElement("img");try{return ce.src=ie.toDataURL(),ce}catch(Dn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ie)}}var Ge=ie.cloneNode(!1);try{Ge.width=ie.width,Ge.height=ie.height;var at=ie.getContext("2d"),It=Ge.getContext("2d");if(It)if(!this.options.allowTaint&&at)It.putImageData(at.getImageData(0,0,ie.width,ie.height),0,0);else{var Yt=(de=ie.getContext("webgl2"))!==null&&de!==void 0?de:ie.getContext("webgl");if(Yt){var Xt=Yt.getContextAttributes();(Xt==null?void 0:Xt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ie)}It.drawImage(ie,0,0)}return Ge}catch(Dn){this.context.logger.info("Unable to clone canvas as it is tainted",ie)}return Ge},Ae.prototype.createVideoClone=function(ie){var de=ie.ownerDocument.createElement("canvas");de.width=ie.offsetWidth,de.height=ie.offsetHeight;var ce=de.getContext("2d");try{return ce&&(ce.drawImage(ie,0,0,de.width,de.height),this.options.allowTaint||ce.getImageData(0,0,de.width,de.height)),de}catch(at){this.context.logger.info("Unable to clone video as it is tainted",ie)}var Ge=ie.ownerDocument.createElement("canvas");return Ge.width=ie.offsetWidth,Ge.height=ie.offsetHeight,Ge},Ae.prototype.appendChildNode=function(ie,de,ce){(!Yn(de)||!Qs(de)&&!de.hasAttribute(ss)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(de)))&&(!this.options.copyStyles||!Yn(de)||!_s(de))&&ie.appendChild(this.cloneNode(de,ce))},Ae.prototype.cloneChildNodes=function(ie,de,ce){for(var Ge=this,at=ie.shadowRoot?ie.shadowRoot.firstChild:ie.firstChild;at;at=at.nextSibling)if(Yn(at)&&Qu(at)&&typeof at.assignedNodes=="function"){var It=at.assignedNodes();It.length&&It.forEach(function(Yt){return Ge.appendChildNode(de,Yt,ce)})}else this.appendChildNode(de,at,ce)},Ae.prototype.cloneNode=function(ie,de){if(xn(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var ce=ie.ownerDocument.defaultView;if(ce&&Yn(ie)&&(hr(ie)||Hr(ie))){var Ge=this.createElementClone(ie);Ge.style.transitionProperty="none";var at=ce.getComputedStyle(ie),It=ce.getComputedStyle(ie,":before"),Yt=ce.getComputedStyle(ie,":after");this.referenceElement===ie&&hr(Ge)&&(this.clonedReferenceElement=Ge),Qi(Ge)&&vu(Ge);var Xt=this.counters.parse(new vi(this.context,at)),Dn=this.resolvePseudoContent(ie,Ge,It,Zs.BEFORE);Ou(ie)&&(de=!0),sA(ie)||this.cloneChildNodes(ie,Ge,de),Dn&&Ge.insertBefore(Dn,Ge.firstChild);var Kn=this.resolvePseudoContent(ie,Ge,Yt,Zs.AFTER);return Kn&&Ge.appendChild(Kn),this.counters.pop(Xt),(at&&(this.options.copyStyles||Hr(ie))&&!EA(ie)||de)&&pu(at,Ge),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([Ge,ie.scrollLeft,ie.scrollTop]),(Os(ie)||fu(ie))&&(Os(Ge)||fu(Ge))&&(Ge.value=ie.value),Ge}return ie.cloneNode(!1)},Ae.prototype.resolvePseudoContent=function(ie,de,ce,Ge){var at=this;if(ce){var It=ce.content,Yt=de.ownerDocument;if(!(!Yt||!It||It==="none"||It==="-moz-alt-content"||ce.display==="none")){this.counters.parse(new vi(this.context,ce));var Xt=new ei(this.context,ce),Dn=Yt.createElement("html2canvaspseudoelement");pu(ce,Dn),Xt.content.forEach(function(ee){if(ee.type===0)Dn.appendChild(Yt.createTextNode(ee.value));else if(ee.type===22){var le=Yt.createElement("img");le.src=ee.value,le.style.opacity="1",Dn.appendChild(le)}else if(ee.type===18){if(ee.name==="attr"){var xe=ee.values.filter(Ga);xe.length&&Dn.appendChild(Yt.createTextNode(ie.getAttribute(xe[0].value)||""))}else if(ee.name==="counter"){var We=ee.values.filter(rs),ot=We[0],Bt=We[1];if(ot&&Ga(ot)){var ft=at.counters.getCounterValue(ot.value),yt=Bt&&Ga(Bt)?ct.parse(at.context,Bt.value):3;Dn.appendChild(Yt.createTextNode(ll(ft,yt,!1)))}}else if(ee.name==="counters"){var Ut=ee.values.filter(rs),ot=Ut[0],Mt=Ut[1],Bt=Ut[2];if(ot&&Ga(ot)){var fn=at.counters.getCounterValues(ot.value),Bn=Bt&&Ga(Bt)?ct.parse(at.context,Bt.value):3,jn=Mt&&Mt.type===0?Mt.value:"",bn=fn.map(function(Pn){return ll(Pn,Bn,!1)}).join(jn);Dn.appendChild(Yt.createTextNode(bn))}}}else if(ee.type===20)switch(ee.value){case"open-quote":Dn.appendChild(Yt.createTextNode(Ma(Xt.quotes,at.quoteDepth++,!0)));break;case"close-quote":Dn.appendChild(Yt.createTextNode(Ma(Xt.quotes,--at.quoteDepth,!1)));break;default:Dn.appendChild(Yt.createTextNode(ee.value))}}),Dn.className=kl+" "+jl;var Kn=Ge===Zs.BEFORE?" "+kl:" "+jl;return Hr(de)?de.className.baseValue+=Kn:de.className+=Kn,Dn}}},Ae.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},Ae}(),Zs;(function(Ae){Ae[Ae.BEFORE=0]="BEFORE",Ae[Ae.AFTER=1]="AFTER"})(Zs||(Zs={}));var Ql=function(Ae,ie){var de=Ae.createElement("iframe");return de.className="html2canvas-container",de.style.visibility="hidden",de.style.position="fixed",de.style.left="-10000px",de.style.top="0px",de.style.border="0",de.width=ie.width.toString(),de.height=ie.height.toString(),de.scrolling="no",de.setAttribute(ss,"true"),Ae.body.appendChild(de),de},Ol=function(Ae){return new Promise(function(ie){if(Ae.complete){ie();return}if(!Ae.src){ie();return}Ae.onload=ie,Ae.onerror=ie})},Ru=function(Ae){return Promise.all([].slice.call(Ae.images,0).map(Ol))},Tl=function(Ae){return new Promise(function(ie,de){var ce=Ae.contentWindow;if(!ce)return de("No window assigned for iframe");var Ge=ce.document;ce.onload=Ae.onload=function(){ce.onload=Ae.onload=null;var at=setInterval(function(){Ge.body.childNodes.length>0&&Ge.readyState==="complete"&&(clearInterval(at),ie(Ae))},50)}})},lA=["all","d","content"],pu=function(Ae,ie){for(var de=Ae.length-1;de>=0;de--){var ce=Ae.item(de);lA.indexOf(ce)===-1&&ie.style.setProperty(ce,Ae.getPropertyValue(ce))}return ie},ls=function(Ae){var ie="";return Ae&&(ie+=""),ie},Vs=function(Ae,ie,de){Ae&&Ae.defaultView&&(ie!==Ae.defaultView.pageXOffset||de!==Ae.defaultView.pageYOffset)&&Ae.defaultView.scrollTo(ie,de)},Mu=function(Ae){var ie=Ae[0],de=Ae[1],ce=Ae[2];ie.scrollLeft=de,ie.scrollTop=ce},gc=":before",ic=":after",kl="___html2canvas___pseudoelement_before",jl="___html2canvas___pseudoelement_after",Hl=`{ content: "" !important; display: none !important; }`,vu=function(Ae){Ku(Ae,"."+kl+gc+Hl+` .`+jl+ic+Hl)},Ku=function(Ae,ie){var de=Ae.ownerDocument;if(de){var ce=de.createElement("style");ce.textContent=ie,Ae.appendChild(ce)}},eu=function(){function Ae(){}return Ae.getOrigin=function(ie){var de=Ae._link;return de?(de.href=ie,de.href=de.href,de.protocol+de.hostname+de.port):"about:blank"},Ae.isSameOrigin=function(ie){return Ae.getOrigin(ie)===Ae._origin},Ae.setContext=function(ie){Ae._link=ie.document.createElement("a"),Ae._origin=Ae.getOrigin(ie.location.href)},Ae._origin="about:blank",Ae}(),tu=function(){function Ae(ie,de){this.context=ie,this._options=de,this._cache={}}return Ae.prototype.addImage=function(ie){var de=Promise.resolve();return this.has(ie)||(cA(ie)||Ni(ie))&&(this._cache[ie]=this.loadImage(ie)).catch(function(){}),de},Ae.prototype.match=function(ie){return this._cache[ie]},Ae.prototype.loadImage=function(ie){return we(this,void 0,void 0,function(){var de,ce,Ge,at,It=this;return ze(this,function(Yt){switch(Yt.label){case 0:return de=eu.isSameOrigin(ie),ce=!Si(ie)&&this._options.useCORS===!0&&Hi.SUPPORT_CORS_IMAGES&&!de,Ge=!Si(ie)&&!de&&!cA(ie)&&typeof this._options.proxy=="string"&&Hi.SUPPORT_CORS_XHR&&!ce,!de&&this._options.allowTaint===!1&&!Si(ie)&&!cA(ie)&&!Ge&&!ce?[2]:(at=ie,Ge?[4,this.proxy(at)]:[3,2]);case 1:at=Yt.sent(),Yt.label=2;case 2:return this.context.logger.debug("Added image "+ie.substring(0,256)),[4,new Promise(function(Xt,Dn){var Kn=new Image;Kn.onload=function(){return Xt(Kn)},Kn.onerror=Dn,(uA(at)||ce)&&(Kn.crossOrigin="anonymous"),Kn.src=at,Kn.complete===!0&&setTimeout(function(){return Xt(Kn)},500),It._options.imageTimeout>0&&setTimeout(function(){return Dn("Timed out ("+It._options.imageTimeout+"ms) loading image")},It._options.imageTimeout)})];case 3:return[2,Yt.sent()]}})})},Ae.prototype.has=function(ie){return typeof this._cache[ie]!="undefined"},Ae.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ae.prototype.proxy=function(ie){var de=this,ce=this._options.proxy;if(!ce)throw new Error("No proxy defined");var Ge=ie.substring(0,256);return new Promise(function(at,It){var Yt=Hi.SUPPORT_RESPONSE_TYPE?"blob":"text",Xt=new XMLHttpRequest;Xt.onload=function(){if(Xt.status===200)if(Yt==="text")at(Xt.response);else{var ee=new FileReader;ee.addEventListener("load",function(){return at(ee.result)},!1),ee.addEventListener("error",function(le){return It(le)},!1),ee.readAsDataURL(Xt.response)}else It("Failed to proxy resource "+Ge+" with status code "+Xt.status)},Xt.onerror=It;var Dn=ce.indexOf("?")>-1?"&":"?";if(Xt.open("GET",""+ce+Dn+"url="+encodeURIComponent(ie)+"&responseType="+Yt),Yt!=="text"&&Xt instanceof XMLHttpRequest&&(Xt.responseType=Yt),de._options.imageTimeout){var Kn=de._options.imageTimeout;Xt.timeout=Kn,Xt.ontimeout=function(){return It("Timed out ("+Kn+"ms) proxying "+Ge)}}Xt.send()})},Ae}(),Ac=/^data:image\/svg\+xml/i,Ys=/^data:image\/.*;base64,/i,Xs=/^data:image\/.*/i,Ni=function(Ae){return Hi.SUPPORT_SVG_DRAWING||!Rl(Ae)},Si=function(Ae){return Xs.test(Ae)},uA=function(Ae){return Ys.test(Ae)},cA=function(Ae){return Ae.substr(0,4)==="blob"},Rl=function(Ae){return Ae.substr(-3).toLowerCase()==="svg"||Ac.test(Ae)},va=function(){function Ae(ie,de){this.type=0,this.x=ie,this.y=de}return Ae.prototype.add=function(ie,de){return new Ae(this.x+ie,this.y+de)},Ae}(),ul=function(Ae,ie,de){return new va(Ae.x+(ie.x-Ae.x)*de,Ae.y+(ie.y-Ae.y)*de)},Bu=function(){function Ae(ie,de,ce,Ge){this.type=1,this.start=ie,this.startControl=de,this.endControl=ce,this.end=Ge}return Ae.prototype.subdivide=function(ie,de){var ce=ul(this.start,this.startControl,ie),Ge=ul(this.startControl,this.endControl,ie),at=ul(this.endControl,this.end,ie),It=ul(ce,Ge,ie),Yt=ul(Ge,at,ie),Xt=ul(It,Yt,ie);return de?new Ae(this.start,ce,It,Xt):new Ae(Xt,Yt,at,this.end)},Ae.prototype.add=function(ie,de){return new Ae(this.start.add(ie,de),this.startControl.add(ie,de),this.endControl.add(ie,de),this.end.add(ie,de))},Ae.prototype.reverse=function(){return new Ae(this.end,this.endControl,this.startControl,this.start)},Ae}(),bs=function(Ae){return Ae.type===1},fc=function(){function Ae(ie){var de=ie.styles,ce=ie.bounds,Ge=HA(de.borderTopLeftRadius,ce.width,ce.height),at=Ge[0],It=Ge[1],Yt=HA(de.borderTopRightRadius,ce.width,ce.height),Xt=Yt[0],Dn=Yt[1],Kn=HA(de.borderBottomRightRadius,ce.width,ce.height),ee=Kn[0],le=Kn[1],xe=HA(de.borderBottomLeftRadius,ce.width,ce.height),We=xe[0],ot=xe[1],Bt=[];Bt.push((at+Xt)/ce.width),Bt.push((We+ee)/ce.width),Bt.push((It+ot)/ce.height),Bt.push((Dn+le)/ce.height);var ft=Math.max.apply(Math,Bt);ft>1&&(at/=ft,It/=ft,Xt/=ft,Dn/=ft,ee/=ft,le/=ft,We/=ft,ot/=ft);var yt=ce.width-Xt,Ut=ce.height-le,Mt=ce.width-ee,fn=ce.height-ot,Bn=de.borderTopWidth,jn=de.borderRightWidth,bn=de.borderBottomWidth,tr=de.borderLeftWidth,ir=_o(de.paddingTop,ie.bounds.width),Pn=_o(de.paddingRight,ie.bounds.width),Un=_o(de.paddingBottom,ie.bounds.width),ur=_o(de.paddingLeft,ie.bounds.width);this.topLeftBorderDoubleOuterBox=at>0||It>0?Jo(ce.left+tr/3,ce.top+Bn/3,at-tr/3,It-Bn/3,Fo.TOP_LEFT):new va(ce.left+tr/3,ce.top+Bn/3),this.topRightBorderDoubleOuterBox=at>0||It>0?Jo(ce.left+yt,ce.top+Bn/3,Xt-jn/3,Dn-Bn/3,Fo.TOP_RIGHT):new va(ce.left+ce.width-jn/3,ce.top+Bn/3),this.bottomRightBorderDoubleOuterBox=ee>0||le>0?Jo(ce.left+Mt,ce.top+Ut,ee-jn/3,le-bn/3,Fo.BOTTOM_RIGHT):new va(ce.left+ce.width-jn/3,ce.top+ce.height-bn/3),this.bottomLeftBorderDoubleOuterBox=We>0||ot>0?Jo(ce.left+tr/3,ce.top+fn,We-tr/3,ot-bn/3,Fo.BOTTOM_LEFT):new va(ce.left+tr/3,ce.top+ce.height-bn/3),this.topLeftBorderDoubleInnerBox=at>0||It>0?Jo(ce.left+tr*2/3,ce.top+Bn*2/3,at-tr*2/3,It-Bn*2/3,Fo.TOP_LEFT):new va(ce.left+tr*2/3,ce.top+Bn*2/3),this.topRightBorderDoubleInnerBox=at>0||It>0?Jo(ce.left+yt,ce.top+Bn*2/3,Xt-jn*2/3,Dn-Bn*2/3,Fo.TOP_RIGHT):new va(ce.left+ce.width-jn*2/3,ce.top+Bn*2/3),this.bottomRightBorderDoubleInnerBox=ee>0||le>0?Jo(ce.left+Mt,ce.top+Ut,ee-jn*2/3,le-bn*2/3,Fo.BOTTOM_RIGHT):new va(ce.left+ce.width-jn*2/3,ce.top+ce.height-bn*2/3),this.bottomLeftBorderDoubleInnerBox=We>0||ot>0?Jo(ce.left+tr*2/3,ce.top+fn,We-tr*2/3,ot-bn*2/3,Fo.BOTTOM_LEFT):new va(ce.left+tr*2/3,ce.top+ce.height-bn*2/3),this.topLeftBorderStroke=at>0||It>0?Jo(ce.left+tr/2,ce.top+Bn/2,at-tr/2,It-Bn/2,Fo.TOP_LEFT):new va(ce.left+tr/2,ce.top+Bn/2),this.topRightBorderStroke=at>0||It>0?Jo(ce.left+yt,ce.top+Bn/2,Xt-jn/2,Dn-Bn/2,Fo.TOP_RIGHT):new va(ce.left+ce.width-jn/2,ce.top+Bn/2),this.bottomRightBorderStroke=ee>0||le>0?Jo(ce.left+Mt,ce.top+Ut,ee-jn/2,le-bn/2,Fo.BOTTOM_RIGHT):new va(ce.left+ce.width-jn/2,ce.top+ce.height-bn/2),this.bottomLeftBorderStroke=We>0||ot>0?Jo(ce.left+tr/2,ce.top+fn,We-tr/2,ot-bn/2,Fo.BOTTOM_LEFT):new va(ce.left+tr/2,ce.top+ce.height-bn/2),this.topLeftBorderBox=at>0||It>0?Jo(ce.left,ce.top,at,It,Fo.TOP_LEFT):new va(ce.left,ce.top),this.topRightBorderBox=Xt>0||Dn>0?Jo(ce.left+yt,ce.top,Xt,Dn,Fo.TOP_RIGHT):new va(ce.left+ce.width,ce.top),this.bottomRightBorderBox=ee>0||le>0?Jo(ce.left+Mt,ce.top+Ut,ee,le,Fo.BOTTOM_RIGHT):new va(ce.left+ce.width,ce.top+ce.height),this.bottomLeftBorderBox=We>0||ot>0?Jo(ce.left,ce.top+fn,We,ot,Fo.BOTTOM_LEFT):new va(ce.left,ce.top+ce.height),this.topLeftPaddingBox=at>0||It>0?Jo(ce.left+tr,ce.top+Bn,Math.max(0,at-tr),Math.max(0,It-Bn),Fo.TOP_LEFT):new va(ce.left+tr,ce.top+Bn),this.topRightPaddingBox=Xt>0||Dn>0?Jo(ce.left+Math.min(yt,ce.width-jn),ce.top+Bn,yt>ce.width+jn?0:Math.max(0,Xt-jn),Math.max(0,Dn-Bn),Fo.TOP_RIGHT):new va(ce.left+ce.width-jn,ce.top+Bn),this.bottomRightPaddingBox=ee>0||le>0?Jo(ce.left+Math.min(Mt,ce.width-tr),ce.top+Math.min(Ut,ce.height-bn),Math.max(0,ee-jn),Math.max(0,le-bn),Fo.BOTTOM_RIGHT):new va(ce.left+ce.width-jn,ce.top+ce.height-bn),this.bottomLeftPaddingBox=We>0||ot>0?Jo(ce.left+tr,ce.top+Math.min(fn,ce.height-bn),Math.max(0,We-tr),Math.max(0,ot-bn),Fo.BOTTOM_LEFT):new va(ce.left+tr,ce.top+ce.height-bn),this.topLeftContentBox=at>0||It>0?Jo(ce.left+tr+ur,ce.top+Bn+ir,Math.max(0,at-(tr+ur)),Math.max(0,It-(Bn+ir)),Fo.TOP_LEFT):new va(ce.left+tr+ur,ce.top+Bn+ir),this.topRightContentBox=Xt>0||Dn>0?Jo(ce.left+Math.min(yt,ce.width+tr+ur),ce.top+Bn+ir,yt>ce.width+tr+ur?0:Xt-tr+ur,Dn-(Bn+ir),Fo.TOP_RIGHT):new va(ce.left+ce.width-(jn+Pn),ce.top+Bn+ir),this.bottomRightContentBox=ee>0||le>0?Jo(ce.left+Math.min(Mt,ce.width-(tr+ur)),ce.top+Math.min(Ut,ce.height+Bn+ir),Math.max(0,ee-(jn+Pn)),le-(bn+Un),Fo.BOTTOM_RIGHT):new va(ce.left+ce.width-(jn+Pn),ce.top+ce.height-(bn+Un)),this.bottomLeftContentBox=We>0||ot>0?Jo(ce.left+tr+ur,ce.top+fn,Math.max(0,We-(tr+ur)),ot-(bn+Un),Fo.BOTTOM_LEFT):new va(ce.left+tr+ur,ce.top+ce.height-(bn+Un))}return Ae}(),Fo;(function(Ae){Ae[Ae.TOP_LEFT=0]="TOP_LEFT",Ae[Ae.TOP_RIGHT=1]="TOP_RIGHT",Ae[Ae.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ae[Ae.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Fo||(Fo={}));var Jo=function(Ae,ie,de,ce,Ge){var at=4*((Math.sqrt(2)-1)/3),It=de*at,Yt=ce*at,Xt=Ae+de,Dn=ie+ce;switch(Ge){case Fo.TOP_LEFT:return new Bu(new va(Ae,Dn),new va(Ae,Dn-Yt),new va(Xt-It,ie),new va(Xt,ie));case Fo.TOP_RIGHT:return new Bu(new va(Ae,ie),new va(Ae+It,ie),new va(Xt,Dn-Yt),new va(Xt,Dn));case Fo.BOTTOM_RIGHT:return new Bu(new va(Xt,ie),new va(Xt,ie+Yt),new va(Ae+It,Dn),new va(Ae,Dn));case Fo.BOTTOM_LEFT:default:return new Bu(new va(Xt,Dn),new va(Xt-It,Dn),new va(Ae,ie+Yt),new va(Ae,ie))}},Su=function(Ae){return[Ae.topLeftBorderBox,Ae.topRightBorderBox,Ae.bottomRightBorderBox,Ae.bottomLeftBorderBox]},hc=function(Ae){return[Ae.topLeftContentBox,Ae.topRightContentBox,Ae.bottomRightContentBox,Ae.bottomLeftContentBox]},sc=function(Ae){return[Ae.topLeftPaddingBox,Ae.topRightPaddingBox,Ae.bottomRightPaddingBox,Ae.bottomLeftPaddingBox]},mc=function(){function Ae(ie,de,ce){this.offsetX=ie,this.offsetY=de,this.matrix=ce,this.type=0,this.target=6}return Ae}(),yu=function(){function Ae(ie,de){this.path=ie,this.target=de,this.type=1}return Ae}(),xc=function(){function Ae(ie){this.opacity=ie,this.type=2,this.target=6}return Ae}(),Hc=function(Ae){return Ae.type===0},pc=function(Ae){return Ae.type===1},Lc=function(Ae){return Ae.type===2},lc=function(Ae,ie){return Ae.length===ie.length?Ae.some(function(de,ce){return de===ie[ce]}):!1},Ic=function(Ae,ie,de,ce,Ge){return Ae.map(function(at,It){switch(It){case 0:return at.add(ie,de);case 1:return at.add(ie+ce,de);case 2:return at.add(ie+ce,de+Ge);case 3:return at.add(ie,de+Ge)}return at})},Rc=function(){function Ae(ie){this.element=ie,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ae}(),Mc=function(){function Ae(ie,de){if(this.container=ie,this.parent=de,this.effects=[],this.curves=new fc(this.container),this.container.styles.opacity<1&&this.effects.push(new xc(this.container.styles.opacity)),this.container.styles.transform!==null){var ce=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Ge=this.container.bounds.top+this.container.styles.transformOrigin[1].number,at=this.container.styles.transform;this.effects.push(new mc(ce,Ge,at))}if(this.container.styles.overflowX!==0){var It=Su(this.curves),Yt=sc(this.curves);lc(It,Yt)?this.effects.push(new yu(It,6)):(this.effects.push(new yu(It,2)),this.effects.push(new yu(Yt,4)))}}return Ae.prototype.getEffects=function(ie){for(var de=[2,3].indexOf(this.container.styles.position)===-1,ce=this.parent,Ge=this.effects.slice(0);ce;){var at=ce.effects.filter(function(Xt){return!pc(Xt)});if(de||ce.container.styles.position!==0||!ce.parent){if(Ge.unshift.apply(Ge,at),de=[2,3].indexOf(ce.container.styles.position)===-1,ce.container.styles.overflowX!==0){var It=Su(ce.curves),Yt=sc(ce.curves);lc(It,Yt)||Ge.unshift(new yu(Yt,6))}}else Ge.unshift.apply(Ge,at);ce=ce.parent}return Ge.filter(function(Xt){return Rr(Xt.target,ie)})},Ae}(),vc=function(Ae,ie,de,ce){Ae.container.elements.forEach(function(Ge){var at=Rr(Ge.flags,4),It=Rr(Ge.flags,2),Yt=new Mc(Ge,Ae);Rr(Ge.styles.display,2048)&&ce.push(Yt);var Xt=Rr(Ge.flags,8)?[]:ce;if(at||It){var Dn=at||Ge.styles.isPositioned()?de:ie,Kn=new Rc(Yt);if(Ge.styles.isPositioned()||Ge.styles.opacity<1||Ge.styles.isTransformed()){var ee=Ge.styles.zIndex.order;if(ee<0){var le=0;Dn.negativeZIndex.some(function(We,ot){return ee>We.element.container.styles.zIndex.order?(le=ot,!1):le>0}),Dn.negativeZIndex.splice(le,0,Kn)}else if(ee>0){var xe=0;Dn.positiveZIndex.some(function(We,ot){return ee>=We.element.container.styles.zIndex.order?(xe=ot+1,!1):xe>0}),Dn.positiveZIndex.splice(xe,0,Kn)}else Dn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Kn)}else Ge.styles.isFloating()?Dn.nonPositionedFloats.push(Kn):Dn.nonPositionedInlineLevel.push(Kn);vc(Yt,Kn,at?Kn:de,Xt)}else Ge.styles.isInlineLevel()?ie.inlineLevel.push(Yt):ie.nonInlineLevel.push(Yt),vc(Yt,ie,de,Xt);Rr(Ge.flags,8)&&Kc(Ge,Xt)})},Kc=function(Ae,ie){for(var de=Ae instanceof $u?Ae.start:1,ce=Ae instanceof $u?Ae.reversed:!1,Ge=0;Ge0&&de.intrinsicHeight>0){var at=Bc(de),It=sc(ce);this.path(It),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ge,0,0,de.intrinsicWidth,de.intrinsicHeight,at.left,at.top,at.width,at.height),this.ctx.restore()}},ie.prototype.renderNodeContent=function(de){return we(this,void 0,void 0,function(){var ce,Ge,at,It,Yt,Xt,yt,yt,Dn,Kn,ee,le,Mt,xe,We,fn,ot,Bt,ft,yt,Ut,Mt,fn;return ze(this,function(Bn){switch(Bn.label){case 0:this.applyEffects(de.getEffects(4)),ce=de.container,Ge=de.curves,at=ce.styles,It=0,Yt=ce.textNodes,Bn.label=1;case 1:return It0&&vr>0&&(bn=at.ctx.createPattern(fn,"repeat"),at.renderRepeat(ir,bn,ca,$r))):Bs(Kn)&&(tr=Dc(de,ce,[null,null,null]),ir=tr[0],Pn=tr[1],Un=tr[2],ur=tr[3],vr=tr[4],Br=Kn.position.length===0?[el]:Kn.position,ca=_o(Br[0],ur),$r=_o(Br[Br.length-1],vr),Ya=eo(Kn,ca,$r,ur,vr),ia=Ya[0],Ko=Ya[1],ia>0&&Ko>0&&(qo=at.ctx.createRadialGradient(Pn+ca,Un+$r,0,Pn+ca,Un+$r,ia),vl(Kn.stops,ia*2).forEach(function(Ri){return qo.addColorStop(Ri.stop,si(Ri.color))}),at.path(ir),at.ctx.fillStyle=qo,ia!==Ko?(jo=de.bounds.left+.5*de.bounds.width,yo=de.bounds.top+.5*de.bounds.height,ri=Ko/ia,Vo=1/ri,at.ctx.save(),at.ctx.translate(jo,yo),at.ctx.transform(1,0,0,ri,0,0),at.ctx.translate(-jo,-yo),at.ctx.fillRect(Pn,Vo*(Un-yo)+yo,ur,vr*Vo),at.ctx.restore()):at.ctx.fill())),ho.label=6;case 6:return ce--,[2]}})},at=this,It=0,Yt=de.styles.backgroundImage.slice(0).reverse(),Dn.label=1;case 1:return It0?Kn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Kn.color,Kn.width,Yt,de.curves,2)]:[3,11]):[3,13];case 4:return le.sent(),[3,11];case 5:return Kn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Kn.color,Kn.width,Yt,de.curves,3)];case 6:return le.sent(),[3,11];case 7:return Kn.style!==4?[3,9]:[4,this.renderDoubleBorder(Kn.color,Kn.width,Yt,de.curves)];case 8:return le.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Kn.color,Yt,de.curves)];case 10:le.sent(),le.label=11;case 11:Yt++,le.label=12;case 12:return Xt++,[3,3];case 13:return[2]}})})},ie.prototype.renderDashedDottedBorder=function(de,ce,Ge,at,It){return we(this,void 0,void 0,function(){var Yt,Xt,Dn,Kn,ee,le,xe,We,ot,Bt,ft,yt,Ut,Mt,fn,Bn,fn,Bn;return ze(this,function(jn){return this.ctx.save(),Yt=Nc(at,Ge),Xt=zc(at,Ge),It===2&&(this.path(Xt),this.ctx.clip()),bs(Xt[0])?(Dn=Xt[0].start.x,Kn=Xt[0].start.y):(Dn=Xt[0].x,Kn=Xt[0].y),bs(Xt[1])?(ee=Xt[1].end.x,le=Xt[1].end.y):(ee=Xt[1].x,le=Xt[1].y),Ge===0||Ge===2?xe=Math.abs(Dn-ee):xe=Math.abs(Kn-le),this.ctx.beginPath(),It===3?this.formatPath(Yt):this.formatPath(Xt.slice(0,2)),We=ce<3?ce*3:ce*2,ot=ce<3?ce*2:ce,It===3&&(We=ce,ot=ce),Bt=!0,xe<=We*2?Bt=!1:xe<=We*2+ot?(ft=xe/(2*We+ot),We*=ft,ot*=ft):(yt=Math.floor((xe+ot)/(We+ot)),Ut=(xe-yt*We)/(yt-1),Mt=(xe-(yt+1)*We)/yt,ot=Mt<=0||Math.abs(ot-Ut)Nt){var xt=gt;gt=Nt,Nt=xt}}else if(nt==="l"||nt==="landscape"){if(nt="l",Nt>gt){var xt=gt;gt=Nt,Nt=xt}}else throw"Invalid orientation: "+nt;var ht={width:gt,height:Nt,unit:Oe,k:it};return ht},De.default=Te.jsPDF},"./src/plugin/pagebreaks.js":function(Be,De,ue){"use strict";ue.r(De);var Ne=ue("./node_modules/core-js/modules/es.array.concat.js"),Ee=ue.n(Ne),be=ue("./node_modules/core-js/modules/es.array.slice.js"),oe=ue.n(be),y=ue("./node_modules/core-js/modules/es.array.join.js"),a=ue.n(y),E=ue("./node_modules/core-js/modules/web.dom-collections.for-each.js"),b=ue.n(E),x=ue("./node_modules/core-js/modules/es.object.keys.js"),z=ue.n(x),ne=ue("./src/worker.js"),fe=ue("./src/utils.js"),Ue={toContainer:ne.default.prototype.toContainer};ne.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ne.default.prototype.toContainer=function(){return Ue.toContainer.call(this).then(function(){var Ve=this.prop.container,Ye=this.prop.pageSize.inner.px.height,nt=[].concat(this.opt.pagebreak.mode),Oe={avoidAll:nt.indexOf("avoid-all")!==-1,css:nt.indexOf("css")!==-1,legacy:nt.indexOf("legacy")!==-1},Ft={},Qe=this;["before","after","avoid"].forEach(function(it){var Nt=Oe.avoidAll&&it==="avoid";Ft[it]=Nt?[]:[].concat(Qe.opt.pagebreak[it]||[]),Ft[it].length>0&&(Ft[it]=Array.prototype.slice.call(Ve.querySelectorAll(Ft[it].join(", "))))});var Tt=Ve.querySelectorAll(".html2pdf__page-break");Tt=Array.prototype.slice.call(Tt);var st=Ve.querySelectorAll("*");Array.prototype.forEach.call(st,function(Nt){var gt={before:!1,after:Oe.legacy&&Tt.indexOf(Nt)!==-1,avoid:Oe.avoidAll};if(Oe.css){var xt=window.getComputedStyle(Nt),ht=["always","page","left","right"],tt=["avoid","avoid-page"];gt={before:gt.before||ht.indexOf(xt.breakBefore||xt.pageBreakBefore)!==-1,after:gt.after||ht.indexOf(xt.breakAfter||xt.pageBreakAfter)!==-1,avoid:gt.avoid||tt.indexOf(xt.breakInside||xt.pageBreakInside)!==-1}}Object.keys(gt).forEach(function(Hn){gt[Hn]=gt[Hn]||Ft[Hn].indexOf(Nt)!==-1});var $t=Nt.getBoundingClientRect();if(gt.avoid&&!gt.before){var gn=Math.floor($t.top/Ye),Et=Math.floor($t.bottom/Ye),Wt=Math.abs($t.bottom-$t.top)/Ye;Et!==gn&&Wt<=1&&(gt.before=!0)}if(gt.before){var Cn=(0,fe.createElement)("div",{style:{display:"block",height:Ye-$t.top%Ye+"px"}});Nt.parentNode.insertBefore(Cn,Nt)}if(gt.after){var Cn=(0,fe.createElement)("div",{style:{display:"block",height:Ye-$t.bottom%Ye+"px"}});Nt.parentNode.insertBefore(Cn,Nt.nextSibling)}})})}},"./src/utils.js":function(Be,De,ue){"use strict";ue.r(De),ue.d(De,{objType:function(){return nt},createElement:function(){return Oe},cloneNode:function(){return Ft},unitConvert:function(){return Qe},toPx:function(){return Tt}});var Ne=ue("./node_modules/core-js/modules/es.number.constructor.js"),Ee=ue.n(Ne),be=ue("./node_modules/core-js/modules/es.symbol.js"),oe=ue.n(be),y=ue("./node_modules/core-js/modules/es.symbol.description.js"),a=ue.n(y),E=ue("./node_modules/core-js/modules/es.object.to-string.js"),b=ue.n(E),x=ue("./node_modules/core-js/modules/es.symbol.iterator.js"),z=ue.n(x),ne=ue("./node_modules/core-js/modules/es.array.iterator.js"),fe=ue.n(ne),Ue=ue("./node_modules/core-js/modules/es.string.iterator.js"),Pe=ue.n(Ue),Te=ue("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ve=ue.n(Te);function Ye(st){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ye=function(Nt){return typeof Nt}:Ye=function(Nt){return Nt&&typeof Symbol=="function"&&Nt.constructor===Symbol&&Nt!==Symbol.prototype?"symbol":typeof Nt},Ye(st)}var nt=function(it){var Nt=Ye(it);return Nt==="undefined"?"undefined":Nt==="string"||it instanceof String?"string":Nt==="number"||it instanceof Number?"number":Nt==="function"||it instanceof Function?"function":it&&it.constructor===Array?"array":it&&it.nodeType===1?"element":Nt==="object"?"object":"unknown"},Oe=function(it,Nt){var gt=document.createElement(it);if(Nt.className&&(gt.className=Nt.className),Nt.innerHTML){gt.innerHTML=Nt.innerHTML;for(var xt=gt.getElementsByTagName("script"),ht=xt.length;ht-- >0;null)xt[ht].parentNode.removeChild(xt[ht])}for(var tt in Nt.style)gt.style[tt]=Nt.style[tt];return gt},Ft=function st(it,Nt){for(var gt=it.nodeType===3?document.createTextNode(it.nodeValue):it.cloneNode(!1),xt=it.firstChild;xt;xt=xt.nextSibling)(Nt===!0||xt.nodeType!==1||xt.nodeName!=="SCRIPT")&>.appendChild(st(xt,Nt));return it.nodeType===1&&(it.nodeName==="CANVAS"?(gt.width=it.width,gt.height=it.height,gt.getContext("2d").drawImage(it,0,0)):(it.nodeName==="TEXTAREA"||it.nodeName==="SELECT")&&(gt.value=it.value),gt.addEventListener("load",function(){gt.scrollTop=it.scrollTop,gt.scrollLeft=it.scrollLeft},!0)),gt},Qe=function(it,Nt){if(nt(it)==="number")return it*72/96/Nt;var gt={};for(var xt in it)gt[xt]=it[xt]*72/96/Nt;return gt},Tt=function(it,Nt){return Math.floor(it*Nt/72*96)}},"./src/worker.js":function(Be,De,ue){"use strict";ue.r(De);var Ne=ue("./node_modules/core-js/modules/es.object.assign.js"),Ee=ue.n(Ne),be=ue("./node_modules/core-js/modules/es.array.map.js"),oe=ue.n(be),y=ue("./node_modules/core-js/modules/es.object.keys.js"),a=ue.n(y),E=ue("./node_modules/core-js/modules/es.array.concat.js"),b=ue.n(E),x=ue("./node_modules/core-js/modules/es.object.to-string.js"),z=ue.n(x),ne=ue("./node_modules/core-js/modules/es.regexp.to-string.js"),fe=ue.n(ne),Ue=ue("./node_modules/core-js/modules/es.function.name.js"),Pe=ue.n(Ue),Te=ue("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ve=ue.n(Te),Ye=ue("jspdf"),nt=ue.n(Ye),Oe=ue("html2canvas"),Ft=ue.n(Oe),Qe=ue("./src/utils.js"),Tt=ue("./node_modules/es6-promise/dist/es6-promise.js"),st=ue.n(Tt),it=st().Promise,Nt=function gt(xt){var ht=Object.assign(gt.convert(it.resolve()),JSON.parse(JSON.stringify(gt.template))),tt=gt.convert(it.resolve(),ht);return tt=tt.setProgress(1,gt,1,[gt]),tt=tt.set(xt),tt};Nt.prototype=Object.create(it.prototype),Nt.prototype.constructor=Nt,Nt.convert=function(xt,ht){return xt.__proto__=ht||Nt.prototype,xt},Nt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},Nt.prototype.from=function(xt,ht){function tt($t){switch((0,Qe.objType)($t)){case"string":return"string";case"element":return $t.nodeName.toLowerCase&&$t.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ht=ht||tt(xt),ht){case"string":return this.set({src:(0,Qe.createElement)("div",{innerHTML:xt})});case"element":return this.set({src:xt});case"canvas":return this.set({canvas:xt});case"img":return this.set({img:xt});default:return this.error("Unknown source type.")}})},Nt.prototype.to=function(xt){switch(xt){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},Nt.prototype.toContainer=function(){var xt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(xt).then(function(){var tt={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},$t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};tt.opacity=0;var gn=(0,Qe.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Qe.createElement)("div",{className:"html2pdf__overlay",style:tt}),this.prop.container=(0,Qe.createElement)("div",{className:"html2pdf__container",style:$t}),this.prop.container.appendChild(gn),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Nt.prototype.toCanvas=function(){var xt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(xt).then(function(){var tt=Object.assign({},this.opt.html2canvas);return delete tt.onrendered,Oe(this.prop.container,tt)}).then(function(tt){var $t=this.opt.html2canvas.onrendered||function(){};$t(tt),this.prop.canvas=tt,document.body.removeChild(this.prop.overlay)})},Nt.prototype.toImg=function(){var xt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(xt).then(function(){var tt=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=tt})},Nt.prototype.toPdf=function(){var xt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(xt).then(function(){var tt=this.prop.canvas,$t=this.opt,gn=tt.height,Et=Math.floor(tt.width*this.prop.pageSize.inner.ratio),Wt=Math.ceil(gn/Et),Cn=this.prop.pageSize.inner.height,Hn=document.createElement("canvas"),hn=Hn.getContext("2d");Hn.width=tt.width,Hn.height=Et,this.prop.pdf=this.prop.pdf||new Ye.jsPDF($t.jsPDF);for(var Gn=0;Gn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ue("./node_modules/core-js/internals/to-length.js"),be=ue("./node_modules/core-js/internals/to-absolute-index.js"),oe=function(y){return function(a,E,b){var x=Ne(a),z=Ee(x.length),ne=be(b,z),fe;if(y&&E!=E){for(;z>ne;)if(fe=x[ne++],fe!=fe)return!0}else for(;z>ne;ne++)if((y||ne in x)&&x[ne]===E)return y||ne||0;return!y&&-1}};Be.exports={includes:oe(!0),indexOf:oe(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/function-bind-context.js"),Ee=ue("./node_modules/core-js/internals/indexed-object.js"),be=ue("./node_modules/core-js/internals/to-object.js"),oe=ue("./node_modules/core-js/internals/to-length.js"),y=ue("./node_modules/core-js/internals/array-species-create.js"),a=[].push,E=function(b){var x=b==1,z=b==2,ne=b==3,fe=b==4,Ue=b==6,Pe=b==7,Te=b==5||Ue;return function(Ve,Ye,nt,Oe){for(var Ft=be(Ve),Qe=Ee(Ft),Tt=Ne(Ye,nt,3),st=oe(Qe.length),it=0,Nt=Oe||y,gt=x?Nt(Ve,st):z||Pe?Nt(Ve,0):void 0,xt,ht;st>it;it++)if((Te||it in Qe)&&(xt=Qe[it],ht=Tt(xt,it,Ft),b))if(x)gt[it]=ht;else if(ht)switch(b){case 3:return!0;case 5:return xt;case 6:return it;case 2:a.call(gt,xt)}else switch(b){case 4:return!1;case 7:a.call(gt,xt)}return Ue?-1:ne||fe?fe:gt}};Be.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterReject:E(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/fails.js"),Ee=ue("./node_modules/core-js/internals/well-known-symbol.js"),be=ue("./node_modules/core-js/internals/engine-v8-version.js"),oe=Ee("species");Be.exports=function(y){return be>=51||!Ne(function(){var a=[],E=a.constructor={};return E[oe]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/fails.js");Be.exports=function(Ee,be){var oe=[][Ee];return!!oe&&Ne(function(){oe.call(null,be||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/is-object.js"),Ee=ue("./node_modules/core-js/internals/is-array.js"),be=ue("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("species");Be.exports=function(y){var a;return Ee(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||Ee(a.prototype))?a=void 0:Ne(a)&&(a=a[oe],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/array-species-constructor.js");Be.exports=function(Ee,be){return new(Ne(Ee))(be===0?0:be)}},"./node_modules/core-js/internals/classof-raw.js":function(Be){var De={}.toString;Be.exports=function(ue){return De.call(ue).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-string-tag-support.js"),Ee=ue("./node_modules/core-js/internals/classof-raw.js"),be=ue("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("toStringTag"),y=Ee(function(){return arguments}())=="Arguments",a=function(E,b){try{return E[b]}catch(x){}};Be.exports=Ne?Ee:function(E){var b,x,z;return E===void 0?"Undefined":E===null?"Null":typeof(x=a(b=Object(E),oe))=="string"?x:y?Ee(b):(z=Ee(b))=="Object"&&typeof b.callee=="function"?"Arguments":z}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/has.js"),Ee=ue("./node_modules/core-js/internals/own-keys.js"),be=ue("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),oe=ue("./node_modules/core-js/internals/object-define-property.js");Be.exports=function(y,a){for(var E=Ee(a),b=oe.f,x=be.f,z=0;z"+b+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Ee=ue("./node_modules/core-js/internals/object-create.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js"),oe=ue("./node_modules/core-js/internals/set-to-string-tag.js"),y=ue("./node_modules/core-js/internals/iterators.js"),a=function(){return this};Be.exports=function(E,b,x){var z=b+" Iterator";return E.prototype=Ee(Ne,{next:be(1,x)}),oe(E,z,!1,!0),y[z]=a,E}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/descriptors.js"),Ee=ue("./node_modules/core-js/internals/object-define-property.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=Ne?function(oe,y,a){return Ee.f(oe,y,be(1,a))}:function(oe,y,a){return oe[y]=a,oe}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Be){Be.exports=function(De,ue){return{enumerable:!(De&1),configurable:!(De&2),writable:!(De&4),value:ue}}},"./node_modules/core-js/internals/create-property.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/to-property-key.js"),Ee=ue("./node_modules/core-js/internals/object-define-property.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=function(oe,y,a){var E=Ne(y);E in oe?Ee.f(oe,E,be(0,a)):oe[E]=a}},"./node_modules/core-js/internals/define-iterator.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/create-iterator-constructor.js"),be=ue("./node_modules/core-js/internals/object-get-prototype-of.js"),oe=ue("./node_modules/core-js/internals/object-set-prototype-of.js"),y=ue("./node_modules/core-js/internals/set-to-string-tag.js"),a=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),E=ue("./node_modules/core-js/internals/redefine.js"),b=ue("./node_modules/core-js/internals/well-known-symbol.js"),x=ue("./node_modules/core-js/internals/is-pure.js"),z=ue("./node_modules/core-js/internals/iterators.js"),ne=ue("./node_modules/core-js/internals/iterators-core.js"),fe=ne.IteratorPrototype,Ue=ne.BUGGY_SAFARI_ITERATORS,Pe=b("iterator"),Te="keys",Ve="values",Ye="entries",nt=function(){return this};Be.exports=function(Oe,Ft,Qe,Tt,st,it,Nt){Ee(Qe,Ft,Tt);var gt=function(hn){if(hn===st&&gn)return gn;if(!Ue&&hn in tt)return tt[hn];switch(hn){case Te:return function(){return new Qe(this,hn)};case Ve:return function(){return new Qe(this,hn)};case Ye:return function(){return new Qe(this,hn)}}return function(){return new Qe(this)}},xt=Ft+" Iterator",ht=!1,tt=Oe.prototype,$t=tt[Pe]||tt["@@iterator"]||st&&tt[st],gn=!Ue&&$t||gt(st),Et=Ft=="Array"&&tt.entries||$t,Wt,Cn,Hn;if(Et&&(Wt=be(Et.call(new Oe)),fe!==Object.prototype&&Wt.next&&(!x&&be(Wt)!==fe&&(oe?oe(Wt,fe):typeof Wt[Pe]!="function"&&a(Wt,Pe,nt)),y(Wt,xt,!0,!0),x&&(z[xt]=nt))),st==Ve&&$t&&$t.name!==Ve&&(ht=!0,gn=function(){return $t.call(this)}),(!x||Nt)&&tt[Pe]!==gn&&a(tt,Pe,gn),z[Ft]=gn,st)if(Cn={values:gt(Ve),keys:it?gn:gt(Te),entries:gt(Ye)},Nt)for(Hn in Cn)(Ue||ht||!(Hn in tt))&&E(tt,Hn,Cn[Hn]);else Ne({target:Ft,proto:!0,forced:Ue||ht},Cn);return Cn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/path.js"),Ee=ue("./node_modules/core-js/internals/has.js"),be=ue("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),oe=ue("./node_modules/core-js/internals/object-define-property.js").f;Be.exports=function(y){var a=Ne.Symbol||(Ne.Symbol={});Ee(a,y)||oe(a,y,{value:be.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/fails.js");Be.exports=!Ne(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/is-object.js"),be=Ne.document,oe=Ee(be)&&Ee(be.createElement);Be.exports=function(y){return oe?be.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Be){Be.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/get-built-in.js");Be.exports=Ne("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/engine-user-agent.js"),be=Ne.process,oe=Ne.Deno,y=be&&be.versions||oe&&oe.version,a=y&&y.v8,E,b;a?(E=a.split("."),b=E[0]<4?1:E[0]+E[1]):Ee&&(E=Ee.match(/Edge\/(\d+)/),(!E||E[1]>=74)&&(E=Ee.match(/Chrome\/(\d+)/),E&&(b=E[1]))),Be.exports=b&&+b},"./node_modules/core-js/internals/enum-bug-keys.js":function(Be){Be.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,be=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=ue("./node_modules/core-js/internals/redefine.js"),y=ue("./node_modules/core-js/internals/set-global.js"),a=ue("./node_modules/core-js/internals/copy-constructor-properties.js"),E=ue("./node_modules/core-js/internals/is-forced.js");Be.exports=function(b,x){var z=b.target,ne=b.global,fe=b.stat,Ue,Pe,Te,Ve,Ye,nt;if(ne?Pe=Ne:fe?Pe=Ne[z]||y(z,{}):Pe=(Ne[z]||{}).prototype,Pe)for(Te in x){if(Ye=x[Te],b.noTargetGet?(nt=Ee(Pe,Te),Ve=nt&&nt.value):Ve=Pe[Te],Ue=E(ne?Te:z+(fe?".":"#")+Te,b.forced),!Ue&&Ve!==void 0){if(typeof Ye==typeof Ve)continue;a(Ye,Ve)}(b.sham||Ve&&Ve.sham)&&be(Ye,"sham",!0),oe(Pe,Te,Ye,b)}}},"./node_modules/core-js/internals/fails.js":function(Be){Be.exports=function(De){try{return!!De()}catch(ue){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/a-function.js");Be.exports=function(Ee,be,oe){if(Ne(Ee),be===void 0)return Ee;switch(oe){case 0:return function(){return Ee.call(be)};case 1:return function(y){return Ee.call(be,y)};case 2:return function(y,a){return Ee.call(be,y,a)};case 3:return function(y,a,E){return Ee.call(be,y,a,E)}}return function(){return Ee.apply(be,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=function(be){return typeof be=="function"?be:void 0};Be.exports=function(be,oe){return arguments.length<2?Ee(Ne[be]):Ne[be]&&Ne[be][oe]}},"./node_modules/core-js/internals/global.js":function(Be){var De=function(ue){return ue&&ue.Math==Math&&ue};Be.exports=De(typeof globalThis=="object"&&globalThis)||De(typeof window=="object"&&window)||De(typeof self=="object"&&self)||De(typeof ve.g=="object"&&ve.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-object.js"),Ee={}.hasOwnProperty;Be.exports=Object.hasOwn||function(oe,y){return Ee.call(Ne(oe),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/html.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/get-built-in.js");Be.exports=Ne("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/descriptors.js"),Ee=ue("./node_modules/core-js/internals/fails.js"),be=ue("./node_modules/core-js/internals/document-create-element.js");Be.exports=!Ne&&!Ee(function(){return Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/fails.js"),Ee=ue("./node_modules/core-js/internals/classof-raw.js"),be="".split;Be.exports=Ne(function(){return!Object("z").propertyIsEnumerable(0)})?function(oe){return Ee(oe)=="String"?be.call(oe,""):Object(oe)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/is-object.js"),Ee=ue("./node_modules/core-js/internals/object-set-prototype-of.js");Be.exports=function(be,oe,y){var a,E;return Ee&&typeof(a=oe.constructor)=="function"&&a!==y&&Ne(E=a.prototype)&&E!==y.prototype&&Ee(be,E),be}},"./node_modules/core-js/internals/inspect-source.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/shared-store.js"),Ee=Function.toString;typeof Ne.inspectSource!="function"&&(Ne.inspectSource=function(be){return Ee.call(be)}),Be.exports=Ne.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/native-weak-map.js"),Ee=ue("./node_modules/core-js/internals/global.js"),be=ue("./node_modules/core-js/internals/is-object.js"),oe=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ue("./node_modules/core-js/internals/has.js"),a=ue("./node_modules/core-js/internals/shared-store.js"),E=ue("./node_modules/core-js/internals/shared-key.js"),b=ue("./node_modules/core-js/internals/hidden-keys.js"),x="Object already initialized",z=Ee.WeakMap,ne,fe,Ue,Pe=function(Qe){return Ue(Qe)?fe(Qe):ne(Qe,{})},Te=function(Qe){return function(Tt){var st;if(!be(Tt)||(st=fe(Tt)).type!==Qe)throw TypeError("Incompatible receiver, "+Qe+" required");return st}};if(Ne||a.state){var Ve=a.state||(a.state=new z),Ye=Ve.get,nt=Ve.has,Oe=Ve.set;ne=function(Qe,Tt){if(nt.call(Ve,Qe))throw new TypeError(x);return Tt.facade=Qe,Oe.call(Ve,Qe,Tt),Tt},fe=function(Qe){return Ye.call(Ve,Qe)||{}},Ue=function(Qe){return nt.call(Ve,Qe)}}else{var Ft=E("state");b[Ft]=!0,ne=function(Qe,Tt){if(y(Qe,Ft))throw new TypeError(x);return Tt.facade=Qe,oe(Qe,Ft,Tt),Tt},fe=function(Qe){return y(Qe,Ft)?Qe[Ft]:{}},Ue=function(Qe){return y(Qe,Ft)}}Be.exports={set:ne,get:fe,has:Ue,enforce:Pe,getterFor:Te}},"./node_modules/core-js/internals/is-array.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/classof-raw.js");Be.exports=Array.isArray||function(be){return Ne(be)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/fails.js"),Ee=/#|\.prototype\./,be=function(b,x){var z=y[oe(b)];return z==E?!0:z==a?!1:typeof x=="function"?Ne(x):!!x},oe=be.normalize=function(b){return String(b).replace(Ee,".").toLowerCase()},y=be.data={},a=be.NATIVE="N",E=be.POLYFILL="P";Be.exports=be},"./node_modules/core-js/internals/is-object.js":function(Be){Be.exports=function(De){return typeof De=="object"?De!==null:typeof De=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Be){Be.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/get-built-in.js"),Ee=ue("./node_modules/core-js/internals/use-symbol-as-uid.js");Be.exports=Ee?function(be){return typeof be=="symbol"}:function(be){var oe=Ne("Symbol");return typeof oe=="function"&&Object(be)instanceof oe}},"./node_modules/core-js/internals/iterators-core.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/fails.js"),Ee=ue("./node_modules/core-js/internals/object-get-prototype-of.js"),be=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=ue("./node_modules/core-js/internals/has.js"),y=ue("./node_modules/core-js/internals/well-known-symbol.js"),a=ue("./node_modules/core-js/internals/is-pure.js"),E=y("iterator"),b=!1,x=function(){return this},z,ne,fe;[].keys&&(fe=[].keys(),"next"in fe?(ne=Ee(Ee(fe)),ne!==Object.prototype&&(z=ne)):b=!0);var Ue=z==null||Ne(function(){var Pe={};return z[E].call(Pe)!==Pe});Ue&&(z={}),(!a||Ue)&&!oe(z,E)&&be(z,E,x),Be.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:b}},"./node_modules/core-js/internals/iterators.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/engine-v8-version.js"),Ee=ue("./node_modules/core-js/internals/fails.js");Be.exports=!!Object.getOwnPropertySymbols&&!Ee(function(){var be=Symbol();return!String(be)||!(Object(be)instanceof Symbol)||!Symbol.sham&&Ne&&Ne<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/inspect-source.js"),be=Ne.WeakMap;Be.exports=typeof be=="function"&&/native code/.test(Ee(be))},"./node_modules/core-js/internals/object-assign.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/descriptors.js"),Ee=ue("./node_modules/core-js/internals/fails.js"),be=ue("./node_modules/core-js/internals/object-keys.js"),oe=ue("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=ue("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=ue("./node_modules/core-js/internals/to-object.js"),E=ue("./node_modules/core-js/internals/indexed-object.js"),b=Object.assign,x=Object.defineProperty;Be.exports=!b||Ee(function(){if(Ne&&b({b:1},b(x({},"a",{enumerable:!0,get:function(){x(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var z={},ne={},fe=Symbol(),Ue="abcdefghijklmnopqrst";return z[fe]=7,Ue.split("").forEach(function(Pe){ne[Pe]=Pe}),b({},z)[fe]!=7||be(b({},ne)).join("")!=Ue})?function(ne,fe){for(var Ue=a(ne),Pe=arguments.length,Te=1,Ve=oe.f,Ye=y.f;Pe>Te;)for(var nt=E(arguments[Te++]),Oe=Ve?be(nt).concat(Ve(nt)):be(nt),Ft=Oe.length,Qe=0,Tt;Ft>Qe;)Tt=Oe[Qe++],(!Ne||Ye.call(nt,Tt))&&(Ue[Tt]=nt[Tt]);return Ue}:b},"./node_modules/core-js/internals/object-create.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/an-object.js"),Ee=ue("./node_modules/core-js/internals/object-define-properties.js"),be=ue("./node_modules/core-js/internals/enum-bug-keys.js"),oe=ue("./node_modules/core-js/internals/hidden-keys.js"),y=ue("./node_modules/core-js/internals/html.js"),a=ue("./node_modules/core-js/internals/document-create-element.js"),E=ue("./node_modules/core-js/internals/shared-key.js"),b=">",x="<",z="prototype",ne="script",fe=E("IE_PROTO"),Ue=function(){},Pe=function(Oe){return x+ne+b+Oe+x+"/"+ne+b},Te=function(Oe){Oe.write(Pe("")),Oe.close();var Ft=Oe.parentWindow.Object;return Oe=null,Ft},Ve=function(){var Oe=a("iframe"),Ft="java"+ne+":",Qe;if(Oe.style)return Oe.style.display="none",y.appendChild(Oe),Oe.src=String(Ft),Qe=Oe.contentWindow.document,Qe.open(),Qe.write(Pe("document.F=Object")),Qe.close(),Qe.F},Ye,nt=function(){try{Ye=new ActiveXObject("htmlfile")}catch(Ft){}nt=document.domain&&Ye?Te(Ye):Ve()||Te(Ye);for(var Oe=be.length;Oe--;)delete nt[z][be[Oe]];return nt()};oe[fe]=!0,Be.exports=Object.create||function(Ft,Qe){var Tt;return Ft!==null?(Ue[z]=Ne(Ft),Tt=new Ue,Ue[z]=null,Tt[fe]=Ft):Tt=nt(),Qe===void 0?Tt:Ee(Tt,Qe)}},"./node_modules/core-js/internals/object-define-properties.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/descriptors.js"),Ee=ue("./node_modules/core-js/internals/object-define-property.js"),be=ue("./node_modules/core-js/internals/an-object.js"),oe=ue("./node_modules/core-js/internals/object-keys.js");Be.exports=Ne?Object.defineProperties:function(a,E){be(a);for(var b=oe(E),x=b.length,z=0,ne;x>z;)Ee.f(a,ne=b[z++],E[ne]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/descriptors.js"),Ee=ue("./node_modules/core-js/internals/ie8-dom-define.js"),be=ue("./node_modules/core-js/internals/an-object.js"),oe=ue("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;De.f=Ne?y:function(E,b,x){if(be(E),b=oe(b),be(x),Ee)try{return y(E,b,x)}catch(z){}if("get"in x||"set"in x)throw TypeError("Accessors not supported");return"value"in x&&(E[b]=x.value),E}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/descriptors.js"),Ee=ue("./node_modules/core-js/internals/object-property-is-enumerable.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js"),oe=ue("./node_modules/core-js/internals/to-indexed-object.js"),y=ue("./node_modules/core-js/internals/to-property-key.js"),a=ue("./node_modules/core-js/internals/has.js"),E=ue("./node_modules/core-js/internals/ie8-dom-define.js"),b=Object.getOwnPropertyDescriptor;De.f=Ne?b:function(z,ne){if(z=oe(z),ne=y(ne),E)try{return b(z,ne)}catch(fe){}if(a(z,ne))return be(!Ee.f.call(z,ne),z[ne])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ue("./node_modules/core-js/internals/object-get-own-property-names.js").f,be={}.toString,oe=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Ee(a)}catch(E){return oe.slice()}};Be.exports.f=function(E){return oe&&be.call(E)=="[object Window]"?y(E):Ee(Ne(E))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/object-keys-internal.js"),Ee=ue("./node_modules/core-js/internals/enum-bug-keys.js"),be=Ee.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(y){return Ne(y,be)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Be,De){De.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/has.js"),Ee=ue("./node_modules/core-js/internals/to-object.js"),be=ue("./node_modules/core-js/internals/shared-key.js"),oe=ue("./node_modules/core-js/internals/correct-prototype-getter.js"),y=be("IE_PROTO"),a=Object.prototype;Be.exports=oe?Object.getPrototypeOf:function(E){return E=Ee(E),Ne(E,y)?E[y]:typeof E.constructor=="function"&&E instanceof E.constructor?E.constructor.prototype:E instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/has.js"),Ee=ue("./node_modules/core-js/internals/to-indexed-object.js"),be=ue("./node_modules/core-js/internals/array-includes.js").indexOf,oe=ue("./node_modules/core-js/internals/hidden-keys.js");Be.exports=function(y,a){var E=Ee(y),b=0,x=[],z;for(z in E)!Ne(oe,z)&&Ne(E,z)&&x.push(z);for(;a.length>b;)Ne(E,z=a[b++])&&(~be(x,z)||x.push(z));return x}},"./node_modules/core-js/internals/object-keys.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/object-keys-internal.js"),Ee=ue("./node_modules/core-js/internals/enum-bug-keys.js");Be.exports=Object.keys||function(oe){return Ne(oe,Ee)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Be,De){"use strict";var ue={}.propertyIsEnumerable,Ne=Object.getOwnPropertyDescriptor,Ee=Ne&&!ue.call({1:2},1);De.f=Ee?function(oe){var y=Ne(this,oe);return!!y&&y.enumerable}:ue},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/an-object.js"),Ee=ue("./node_modules/core-js/internals/a-possible-prototype.js");Be.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var be=!1,oe={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(oe,[]),be=oe instanceof Array}catch(a){}return function(E,b){return Ne(E),Ee(b),be?y.call(E,b):E.__proto__=b,E}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/to-string-tag-support.js"),Ee=ue("./node_modules/core-js/internals/classof.js");Be.exports=Ne?{}.toString:function(){return"[object "+Ee(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/is-object.js");Be.exports=function(Ee,be){var oe,y;if(be==="string"&&typeof(oe=Ee.toString)=="function"&&!Ne(y=oe.call(Ee))||typeof(oe=Ee.valueOf)=="function"&&!Ne(y=oe.call(Ee))||be!=="string"&&typeof(oe=Ee.toString)=="function"&&!Ne(y=oe.call(Ee)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/get-built-in.js"),Ee=ue("./node_modules/core-js/internals/object-get-own-property-names.js"),be=ue("./node_modules/core-js/internals/object-get-own-property-symbols.js"),oe=ue("./node_modules/core-js/internals/an-object.js");Be.exports=Ne("Reflect","ownKeys")||function(a){var E=Ee.f(oe(a)),b=be.f;return b?E.concat(b(a)):E}},"./node_modules/core-js/internals/path.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js");Be.exports=Ne},"./node_modules/core-js/internals/redefine.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),be=ue("./node_modules/core-js/internals/has.js"),oe=ue("./node_modules/core-js/internals/set-global.js"),y=ue("./node_modules/core-js/internals/inspect-source.js"),a=ue("./node_modules/core-js/internals/internal-state.js"),E=a.get,b=a.enforce,x=String(String).split("String");(Be.exports=function(z,ne,fe,Ue){var Pe=Ue?!!Ue.unsafe:!1,Te=Ue?!!Ue.enumerable:!1,Ve=Ue?!!Ue.noTargetGet:!1,Ye;if(typeof fe=="function"&&(typeof ne=="string"&&!be(fe,"name")&&Ee(fe,"name",ne),Ye=b(fe),Ye.source||(Ye.source=x.join(typeof ne=="string"?ne:""))),z===Ne){Te?z[ne]=fe:oe(ne,fe);return}else Pe?!Ve&&z[ne]&&(Te=!0):delete z[ne];Te?z[ne]=fe:Ee(z,ne,fe)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/an-object.js");Be.exports=function(){var Ee=Ne(this),be="";return Ee.global&&(be+="g"),Ee.ignoreCase&&(be+="i"),Ee.multiline&&(be+="m"),Ee.dotAll&&(be+="s"),Ee.unicode&&(be+="u"),Ee.sticky&&(be+="y"),be}},"./node_modules/core-js/internals/require-object-coercible.js":function(Be){Be.exports=function(De){if(De==null)throw TypeError("Can't call method on "+De);return De}},"./node_modules/core-js/internals/set-global.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js");Be.exports=function(Ee,be){try{Object.defineProperty(Ne,Ee,{value:be,configurable:!0,writable:!0})}catch(oe){Ne[Ee]=be}return be}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/object-define-property.js").f,Ee=ue("./node_modules/core-js/internals/has.js"),be=ue("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("toStringTag");Be.exports=function(y,a,E){y&&!Ee(y=E?y:y.prototype,oe)&&Ne(y,oe,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/shared.js"),Ee=ue("./node_modules/core-js/internals/uid.js"),be=Ne("keys");Be.exports=function(oe){return be[oe]||(be[oe]=Ee(oe))}},"./node_modules/core-js/internals/shared-store.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/set-global.js"),be="__core-js_shared__",oe=Ne[be]||Ee(be,{});Be.exports=oe},"./node_modules/core-js/internals/shared.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/is-pure.js"),Ee=ue("./node_modules/core-js/internals/shared-store.js");(Be.exports=function(be,oe){return Ee[be]||(Ee[be]=oe!==void 0?oe:{})})("versions",[]).push({version:"3.16.0",mode:Ne?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/fails.js");Be.exports=function(Ee){return Ne(function(){var be=""[Ee]('"');return be!==be.toLowerCase()||be.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-integer.js"),Ee=ue("./node_modules/core-js/internals/to-string.js"),be=ue("./node_modules/core-js/internals/require-object-coercible.js"),oe=function(y){return function(a,E){var b=Ee(be(a)),x=Ne(E),z=b.length,ne,fe;return x<0||x>=z?y?"":void 0:(ne=b.charCodeAt(x),ne<55296||ne>56319||x+1===z||(fe=b.charCodeAt(x+1))<56320||fe>57343?y?b.charAt(x):ne:y?b.slice(x,x+2):(ne-55296<<10)+(fe-56320)+65536)}};Be.exports={codeAt:oe(!1),charAt:oe(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/require-object-coercible.js"),Ee=ue("./node_modules/core-js/internals/to-string.js"),be=ue("./node_modules/core-js/internals/whitespaces.js"),oe="["+be+"]",y=RegExp("^"+oe+oe+"*"),a=RegExp(oe+oe+"*$"),E=function(b){return function(x){var z=Ee(Ne(x));return b&1&&(z=z.replace(y,"")),b&2&&(z=z.replace(a,"")),z}};Be.exports={start:E(1),end:E(2),trim:E(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-integer.js"),Ee=Math.max,be=Math.min;Be.exports=function(oe,y){var a=Ne(oe);return a<0?Ee(a+y,0):be(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/indexed-object.js"),Ee=ue("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(be){return Ne(Ee(be))}},"./node_modules/core-js/internals/to-integer.js":function(Be){var De=Math.ceil,ue=Math.floor;Be.exports=function(Ne){return isNaN(Ne=+Ne)?0:(Ne>0?ue:De)(Ne)}},"./node_modules/core-js/internals/to-length.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-integer.js"),Ee=Math.min;Be.exports=function(be){return be>0?Ee(Ne(be),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(Ee){return Object(Ne(Ee))}},"./node_modules/core-js/internals/to-primitive.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/is-object.js"),Ee=ue("./node_modules/core-js/internals/is-symbol.js"),be=ue("./node_modules/core-js/internals/ordinary-to-primitive.js"),oe=ue("./node_modules/core-js/internals/well-known-symbol.js"),y=oe("toPrimitive");Be.exports=function(a,E){if(!Ne(a)||Ee(a))return a;var b=a[y],x;if(b!==void 0){if(E===void 0&&(E="default"),x=b.call(a,E),!Ne(x)||Ee(x))return x;throw TypeError("Can't convert object to primitive value")}return E===void 0&&(E="number"),be(a,E)}},"./node_modules/core-js/internals/to-property-key.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-primitive.js"),Ee=ue("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(be){var oe=Ne(be,"string");return Ee(oe)?oe:String(oe)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/well-known-symbol.js"),Ee=Ne("toStringTag"),be={};be[Ee]="z",Be.exports=String(be)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(Ee){if(Ne(Ee))throw TypeError("Cannot convert a Symbol value to a string");return String(Ee)}},"./node_modules/core-js/internals/uid.js":function(Be){var De=0,ue=Math.random();Be.exports=function(Ne){return"Symbol("+String(Ne===void 0?"":Ne)+")_"+(++De+ue).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/native-symbol.js");Be.exports=Ne&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/well-known-symbol.js");De.f=Ne},"./node_modules/core-js/internals/well-known-symbol.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/shared.js"),be=ue("./node_modules/core-js/internals/has.js"),oe=ue("./node_modules/core-js/internals/uid.js"),y=ue("./node_modules/core-js/internals/native-symbol.js"),a=ue("./node_modules/core-js/internals/use-symbol-as-uid.js"),E=Ee("wks"),b=Ne.Symbol,x=a?b:b&&b.withoutSetter||oe;Be.exports=function(z){return(!be(E,z)||!(y||typeof E[z]=="string"))&&(y&&be(b,z)?E[z]=b[z]:E[z]=x("Symbol."+z)),E[z]}},"./node_modules/core-js/internals/whitespaces.js":function(Be){Be.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/fails.js"),be=ue("./node_modules/core-js/internals/is-array.js"),oe=ue("./node_modules/core-js/internals/is-object.js"),y=ue("./node_modules/core-js/internals/to-object.js"),a=ue("./node_modules/core-js/internals/to-length.js"),E=ue("./node_modules/core-js/internals/create-property.js"),b=ue("./node_modules/core-js/internals/array-species-create.js"),x=ue("./node_modules/core-js/internals/array-method-has-species-support.js"),z=ue("./node_modules/core-js/internals/well-known-symbol.js"),ne=ue("./node_modules/core-js/internals/engine-v8-version.js"),fe=z("isConcatSpreadable"),Ue=9007199254740991,Pe="Maximum allowed index exceeded",Te=ne>=51||!Ee(function(){var Oe=[];return Oe[fe]=!1,Oe.concat()[0]!==Oe}),Ve=x("concat"),Ye=function(Oe){if(!oe(Oe))return!1;var Ft=Oe[fe];return Ft!==void 0?!!Ft:be(Oe)},nt=!Te||!Ve;Ne({target:"Array",proto:!0,forced:nt},{concat:function(Ft){var Qe=y(this),Tt=b(Qe,0),st=0,it,Nt,gt,xt,ht;for(it=-1,gt=arguments.length;itUe)throw TypeError(Pe);for(Nt=0;Nt=Ue)throw TypeError(Pe);E(Tt,st++,ht)}return Tt.length=st,Tt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ue("./node_modules/core-js/internals/add-to-unscopables.js"),be=ue("./node_modules/core-js/internals/iterators.js"),oe=ue("./node_modules/core-js/internals/internal-state.js"),y=ue("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",E=oe.set,b=oe.getterFor(a);Be.exports=y(Array,"Array",function(x,z){E(this,{type:a,target:Ne(x),index:0,kind:z})},function(){var x=b(this),z=x.target,ne=x.kind,fe=x.index++;return!z||fe>=z.length?(x.target=void 0,{value:void 0,done:!0}):ne=="keys"?{value:fe,done:!1}:ne=="values"?{value:z[fe],done:!1}:{value:[fe,z[fe]],done:!1}},"values"),be.Arguments=be.Array,Ee("keys"),Ee("values"),Ee("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/indexed-object.js"),be=ue("./node_modules/core-js/internals/to-indexed-object.js"),oe=ue("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=Ee!=Object,E=oe("join",",");Ne({target:"Array",proto:!0,forced:a||!E},{join:function(x){return y.call(be(this),x===void 0?",":x)}})},"./node_modules/core-js/modules/es.array.map.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/array-iteration.js").map,be=ue("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=be("map");Ne({target:"Array",proto:!0,forced:!oe},{map:function(a){return Ee(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/is-object.js"),be=ue("./node_modules/core-js/internals/is-array.js"),oe=ue("./node_modules/core-js/internals/to-absolute-index.js"),y=ue("./node_modules/core-js/internals/to-length.js"),a=ue("./node_modules/core-js/internals/to-indexed-object.js"),E=ue("./node_modules/core-js/internals/create-property.js"),b=ue("./node_modules/core-js/internals/well-known-symbol.js"),x=ue("./node_modules/core-js/internals/array-method-has-species-support.js"),z=x("slice"),ne=b("species"),fe=[].slice,Ue=Math.max;Ne({target:"Array",proto:!0,forced:!z},{slice:function(Te,Ve){var Ye=a(this),nt=y(Ye.length),Oe=oe(Te,nt),Ft=oe(Ve===void 0?nt:Ve,nt),Qe,Tt,st;if(be(Ye)&&(Qe=Ye.constructor,typeof Qe=="function"&&(Qe===Array||be(Qe.prototype))?Qe=void 0:Ee(Qe)&&(Qe=Qe[ne],Qe===null&&(Qe=void 0)),Qe===Array||Qe===void 0))return fe.call(Ye,Oe,Ft);for(Tt=new(Qe===void 0?Array:Qe)(Ue(Ft-Oe,0)),st=0;Oe2){if(gt=Te(gt),xt=gt.charCodeAt(0),xt===43||xt===45){if(ht=gt.charCodeAt(2),ht===88||ht===120)return NaN}else if(xt===48){switch(gt.charCodeAt(1)){case 66:case 98:tt=2,$t=49;break;case 79:case 111:tt=8,$t=55;break;default:return+gt}for(gn=gt.slice(2),Et=gn.length,Wt=0;Wt$t)return NaN;return parseInt(gn,tt)}}return+gt};if(be(Ve,!Ye(" 0o1")||!Ye("0b1")||Ye("+0x1"))){for(var Qe=function(gt){var xt=arguments.length<1?0:gt,ht=this;return ht instanceof Qe&&(Oe?z(function(){nt.valueOf.call(ht)}):a(ht)!=Ve)?E(new Ye(Ft(xt)),ht,Qe):Ft(xt)},Tt=Ne?fe(Ye):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),st=0,it;Tt.length>st;st++)y(Ye,it=Tt[st])&&!y(Qe,it)&&Pe(Qe,it,Ue(Ye,it));Qe.prototype=nt,nt.constructor=Qe,oe(Ee,Ve,Qe)}},"./node_modules/core-js/modules/es.object.assign.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/object-assign.js");Ne({target:"Object",stat:!0,forced:Object.assign!==Ee},{assign:Ee})},"./node_modules/core-js/modules/es.object.keys.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/to-object.js"),be=ue("./node_modules/core-js/internals/object-keys.js"),oe=ue("./node_modules/core-js/internals/fails.js"),y=oe(function(){be(1)});Ne({target:"Object",stat:!0,forced:y},{keys:function(E){return be(Ee(E))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/to-string-tag-support.js"),Ee=ue("./node_modules/core-js/internals/redefine.js"),be=ue("./node_modules/core-js/internals/object-to-string.js");Ne||Ee(Object.prototype,"toString",be,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/redefine.js"),Ee=ue("./node_modules/core-js/internals/an-object.js"),be=ue("./node_modules/core-js/internals/to-string.js"),oe=ue("./node_modules/core-js/internals/fails.js"),y=ue("./node_modules/core-js/internals/regexp-flags.js"),a="toString",E=RegExp.prototype,b=E[a],x=oe(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),z=b.name!=a;(x||z)&&Ne(RegExp.prototype,a,function(){var fe=Ee(this),Ue=be(fe.source),Pe=fe.flags,Te=be(Pe===void 0&&fe instanceof RegExp&&!("flags"in E)?y.call(fe):Pe);return"/"+Ue+"/"+Te},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/string-multibyte.js").charAt,Ee=ue("./node_modules/core-js/internals/to-string.js"),be=ue("./node_modules/core-js/internals/internal-state.js"),oe=ue("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=be.set,E=be.getterFor(y);oe(String,"String",function(b){a(this,{type:y,string:Ee(b),index:0})},function(){var x=E(this),z=x.string,ne=x.index,fe;return ne>=z.length?{value:void 0,done:!0}:(fe=Ne(z,ne),x.index+=fe.length,{value:fe,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/create-html.js"),be=ue("./node_modules/core-js/internals/string-html-forced.js");Ne({target:"String",proto:!0,forced:be("link")},{link:function(y){return Ee(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/descriptors.js"),be=ue("./node_modules/core-js/internals/global.js"),oe=ue("./node_modules/core-js/internals/has.js"),y=ue("./node_modules/core-js/internals/is-object.js"),a=ue("./node_modules/core-js/internals/object-define-property.js").f,E=ue("./node_modules/core-js/internals/copy-constructor-properties.js"),b=be.Symbol;if(Ee&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var x={},z=function(){var Ve=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ye=this instanceof z?new b(Ve):Ve===void 0?b():b(Ve);return Ve===""&&(x[Ye]=!0),Ye};E(z,b);var ne=z.prototype=b.prototype;ne.constructor=z;var fe=ne.toString,Ue=String(b("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(ne,"description",{configurable:!0,get:function(){var Ve=y(this)?this.valueOf():this,Ye=fe.call(Ve);if(oe(x,Ve))return"";var nt=Ue?Ye.slice(7,-1):Ye.replace(Pe,"$1");return nt===""?void 0:nt}}),Ne({global:!0,forced:!0},{Symbol:z})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/define-well-known-symbol.js");Ne("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Be,De,ue){"use strict";var Ne=ue("./node_modules/core-js/internals/export.js"),Ee=ue("./node_modules/core-js/internals/global.js"),be=ue("./node_modules/core-js/internals/get-built-in.js"),oe=ue("./node_modules/core-js/internals/is-pure.js"),y=ue("./node_modules/core-js/internals/descriptors.js"),a=ue("./node_modules/core-js/internals/native-symbol.js"),E=ue("./node_modules/core-js/internals/fails.js"),b=ue("./node_modules/core-js/internals/has.js"),x=ue("./node_modules/core-js/internals/is-array.js"),z=ue("./node_modules/core-js/internals/is-object.js"),ne=ue("./node_modules/core-js/internals/is-symbol.js"),fe=ue("./node_modules/core-js/internals/an-object.js"),Ue=ue("./node_modules/core-js/internals/to-object.js"),Pe=ue("./node_modules/core-js/internals/to-indexed-object.js"),Te=ue("./node_modules/core-js/internals/to-property-key.js"),Ve=ue("./node_modules/core-js/internals/to-string.js"),Ye=ue("./node_modules/core-js/internals/create-property-descriptor.js"),nt=ue("./node_modules/core-js/internals/object-create.js"),Oe=ue("./node_modules/core-js/internals/object-keys.js"),Ft=ue("./node_modules/core-js/internals/object-get-own-property-names.js"),Qe=ue("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Tt=ue("./node_modules/core-js/internals/object-get-own-property-symbols.js"),st=ue("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),it=ue("./node_modules/core-js/internals/object-define-property.js"),Nt=ue("./node_modules/core-js/internals/object-property-is-enumerable.js"),gt=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),xt=ue("./node_modules/core-js/internals/redefine.js"),ht=ue("./node_modules/core-js/internals/shared.js"),tt=ue("./node_modules/core-js/internals/shared-key.js"),$t=ue("./node_modules/core-js/internals/hidden-keys.js"),gn=ue("./node_modules/core-js/internals/uid.js"),Et=ue("./node_modules/core-js/internals/well-known-symbol.js"),Wt=ue("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Cn=ue("./node_modules/core-js/internals/define-well-known-symbol.js"),Hn=ue("./node_modules/core-js/internals/set-to-string-tag.js"),hn=ue("./node_modules/core-js/internals/internal-state.js"),Gn=ue("./node_modules/core-js/internals/array-iteration.js").forEach,Dt=tt("hidden"),_n="Symbol",er="prototype",je=Et("toPrimitive"),qt=hn.set,He=hn.getterFor(_n),me=Object[er],se=Ee.Symbol,ye=be("JSON","stringify"),qe=st.f,pt=it.f,Me=Qe.f,Je=Nt.f,jt=ht("symbols"),wt=ht("op-symbols"),lt=ht("string-to-symbol-registry"),Zt=ht("symbol-to-string-registry"),Sn=ht("wks"),kt=Ee.QObject,dn=!kt||!kt[er]||!kt[er].findChild,Ot=y&&E(function(){return nt(pt({},"a",{get:function(){return pt(this,"a",{value:7}).a}})).a!=7})?function(Gr,yr,Tr){var _r=qe(me,yr);_r&&delete me[yr],pt(Gr,yr,Tr),_r&&Gr!==me&&pt(me,yr,_r)}:pt,Fn=function(Gr,yr){var Tr=jt[Gr]=nt(se[er]);return qt(Tr,{type:_n,tag:Gr,description:yr}),y||(Tr.description=yr),Tr},an=function(yr,Tr,_r){yr===me&&an(wt,Tr,_r),fe(yr);var Ba=Te(Tr);return fe(_r),b(jt,Ba)?(_r.enumerable?(b(yr,Dt)&&yr[Dt][Ba]&&(yr[Dt][Ba]=!1),_r=nt(_r,{enumerable:Ye(0,!1)})):(b(yr,Dt)||pt(yr,Dt,Ye(1,{})),yr[Dt][Ba]=!0),Ot(yr,Ba,_r)):pt(yr,Ba,_r)},rr=function(yr,Tr){fe(yr);var _r=Pe(Tr),Ba=Oe(_r).concat(aa(_r));return Gn(Ba,function(Xa){(!y||sr.call(_r,Xa))&&an(yr,Xa,_r[Xa])}),yr},gr=function(yr,Tr){return Tr===void 0?nt(yr):rr(nt(yr),Tr)},sr=function(yr){var Tr=Te(yr),_r=Je.call(this,Tr);return this===me&&b(jt,Tr)&&!b(wt,Tr)?!1:_r||!b(this,Tr)||!b(jt,Tr)||b(this,Dt)&&this[Dt][Tr]?_r:!0},Ur=function(yr,Tr){var _r=Pe(yr),Ba=Te(Tr);if(!(_r===me&&b(jt,Ba)&&!b(wt,Ba))){var Xa=qe(_r,Ba);return Xa&&b(jt,Ba)&&!(b(_r,Dt)&&_r[Dt][Ba])&&(Xa.enumerable=!0),Xa}},Qr=function(yr){var Tr=Me(Pe(yr)),_r=[];return Gn(Tr,function(Ba){!b(jt,Ba)&&!b($t,Ba)&&_r.push(Ba)}),_r},aa=function(yr){var Tr=yr===me,_r=Me(Tr?wt:Pe(yr)),Ba=[];return Gn(_r,function(Xa){b(jt,Xa)&&(!Tr||b(me,Xa))&&Ba.push(jt[Xa])}),Ba};if(a||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var yr=!arguments.length||arguments[0]===void 0?void 0:Ve(arguments[0]),Tr=gn(yr),_r=function(Ba){this===me&&_r.call(wt,Ba),b(this,Dt)&&b(this[Dt],Tr)&&(this[Dt][Tr]=!1),Ot(this,Tr,Ye(1,Ba))};return y&&dn&&Ot(me,Tr,{configurable:!0,set:_r}),Fn(Tr,yr)},xt(se[er],"toString",function(){return He(this).tag}),xt(se,"withoutSetter",function(Gr){return Fn(gn(Gr),Gr)}),Nt.f=sr,it.f=an,st.f=Ur,Ft.f=Qe.f=Qr,Tt.f=aa,Wt.f=function(Gr){return Fn(Et(Gr),Gr)},y&&(pt(se[er],"description",{configurable:!0,get:function(){return He(this).description}}),oe||xt(me,"propertyIsEnumerable",sr,{unsafe:!0}))),Ne({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:se}),Gn(Oe(Sn),function(Gr){Cn(Gr)}),Ne({target:_n,stat:!0,forced:!a},{for:function(Gr){var yr=Ve(Gr);if(b(lt,yr))return lt[yr];var Tr=se(yr);return lt[yr]=Tr,Zt[Tr]=yr,Tr},keyFor:function(yr){if(!ne(yr))throw TypeError(yr+" is not a symbol");if(b(Zt,yr))return Zt[yr]},useSetter:function(){dn=!0},useSimple:function(){dn=!1}}),Ne({target:"Object",stat:!0,forced:!a,sham:!y},{create:gr,defineProperty:an,defineProperties:rr,getOwnPropertyDescriptor:Ur}),Ne({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Qr,getOwnPropertySymbols:aa}),Ne({target:"Object",stat:!0,forced:E(function(){Tt.f(1)})},{getOwnPropertySymbols:function(yr){return Tt.f(Ue(yr))}}),ye){var Aa=!a||E(function(){var Gr=se();return ye([Gr])!="[null]"||ye({a:Gr})!="{}"||ye(Object(Gr))!="{}"});Ne({target:"JSON",stat:!0,forced:Aa},{stringify:function(yr,Tr,_r){for(var Ba=[yr],Xa=1,Vr;arguments.length>Xa;)Ba.push(arguments[Xa++]);if(Vr=Tr,!(!z(Tr)&&yr===void 0||ne(yr)))return x(Tr)||(Tr=function(Lo,Ho){if(typeof Vr=="function"&&(Ho=Vr.call(this,Lo,Ho)),!ne(Ho))return Ho}),Ba[1]=Tr,ye.apply(null,Ba)}})}se[er][je]||gt(se[er],je,se[er].valueOf),Hn(se,_n),$t[Dt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/dom-iterables.js"),be=ue("./node_modules/core-js/internals/array-for-each.js"),oe=ue("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in Ee){var a=Ne[y],E=a&&a.prototype;if(E&&E.forEach!==be)try{oe(E,"forEach",be)}catch(b){E.forEach=be}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Be,De,ue){var Ne=ue("./node_modules/core-js/internals/global.js"),Ee=ue("./node_modules/core-js/internals/dom-iterables.js"),be=ue("./node_modules/core-js/modules/es.array.iterator.js"),oe=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ue("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),E=y("toStringTag"),b=be.values;for(var x in Ee){var z=Ne[x],ne=z&&z.prototype;if(ne){if(ne[a]!==b)try{oe(ne,a,b)}catch(Ue){ne[a]=b}if(ne[E]||oe(ne,E,x),Ee[x]){for(var fe in be)if(ne[fe]!==be[fe])try{oe(ne,fe,be[fe])}catch(Ue){ne[fe]=be[fe]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Be){(function(De,ue){Be.exports=ue()})(this,function(){"use strict";function De(kt){var dn=typeof kt;return kt!==null&&(dn==="object"||dn==="function")}function ue(kt){return typeof kt=="function"}var Ne=void 0;Array.isArray?Ne=Array.isArray:Ne=function(kt){return Object.prototype.toString.call(kt)==="[object Array]"};var Ee=Ne,be=0,oe=void 0,y=void 0,a=function(dn,Ot){Oe[be]=dn,Oe[be+1]=Ot,be+=2,be===2&&(y?y(Ft):Tt())};function E(kt){y=kt}function b(kt){a=kt}var x=typeof window!="undefined"?window:void 0,z=x||{},ne=z.MutationObserver||z.WebKitMutationObserver,fe=typeof self=="undefined"&&typeof pe!="undefined"&&{}.toString.call(pe)==="[object process]",Ue=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return pe.nextTick(Ft)}}function Te(){return typeof oe!="undefined"?function(){oe(Ft)}:nt()}function Ve(){var kt=0,dn=new ne(Ft),Ot=document.createTextNode("");return dn.observe(Ot,{characterData:!0}),function(){Ot.data=kt=++kt%2}}function Ye(){var kt=new MessageChannel;return kt.port1.onmessage=Ft,function(){return kt.port2.postMessage(0)}}function nt(){var kt=setTimeout;return function(){return kt(Ft,1)}}var Oe=new Array(1e3);function Ft(){for(var kt=0;kt>1,ue=-7,Ne=we?At-1:0,Ee=we?-1:1,be=ve[pe+Ne];for(Ne+=Ee,Ze=be&(1<<-ue)-1,be>>=-ue,ue+=he;ue>0;Ze=Ze*256+ve[pe+Ne],Ne+=Ee,ue-=8);for(Re=Ze&(1<<-ue)-1,Ze>>=-ue,ue+=ze;ue>0;Re=Re*256+ve[pe+Ne],Ne+=Ee,ue-=8);if(Ze===0)Ze=1-De;else{if(Ze===Be)return Re?NaN:(be?-1:1)*(1/0);Re=Re+Math.pow(2,ze),Ze=Ze-De}return(be?-1:1)*Re*Math.pow(2,Ze-ze)},Kt.write=function(ve,pe,we,ze,At,Ze){var Re,he,Be,De=Ze*8-At-1,ue=(1<>1,Ee=At===23?Math.pow(2,-24)-Math.pow(2,-77):0,be=ze?0:Ze-1,oe=ze?1:-1,y=pe<0||pe===0&&1/pe<0?1:0;for(pe=Math.abs(pe),isNaN(pe)||pe===1/0?(he=isNaN(pe)?1:0,Re=ue):(Re=Math.floor(Math.log(pe)/Math.LN2),pe*(Be=Math.pow(2,-Re))<1&&(Re--,Be*=2),Re+Ne>=1?pe+=Ee/Be:pe+=Ee*Math.pow(2,1-Ne),pe*Be>=2&&(Re++,Be/=2),Re+Ne>=ue?(he=0,Re=ue):Re+Ne>=1?(he=(pe*Be-1)*Math.pow(2,At),Re=Re+Ne):(he=pe*Math.pow(2,Ne-1)*Math.pow(2,At),Re=0));At>=8;ve[we+be]=he&255,be+=oe,he/=256,At-=8);for(Re=Re<0;ve[we+be]=Re&255,be+=oe,Re/=256,De-=8);ve[we+be-oe]|=y*128}},7348:function(nn,Kt,ve){"use strict";ve.r(Kt),ve.d(Kt,{AcroForm:function(){return ji},AcroFormAppearance:function(){return ea},AcroFormButton:function(){return xi},AcroFormCheckBox:function(){return SA},AcroFormChoiceField:function(){return $a},AcroFormComboBox:function(){return Do},AcroFormEditBox:function(){return Ga},AcroFormListBox:function(){return Ro},AcroFormPasswordField:function(){return gA},AcroFormPushButton:function(){return fs},AcroFormRadioButton:function(){return jA},AcroFormTextField:function(){return hs},GState:function(){return vn},ShadingPattern:function(){return sn},TilingPattern:function(){return En},default:function(){return Rn},jsPDF:function(){return Rn}});var pe=ve(34666),we={},ze=function(ae,te,re,ge,Ce){var Se=new Worker(we[te]||(we[te]=URL.createObjectURL(new Blob([ae+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Se.onmessage=function(Ie){var ke=Ie.data,_e=ke.$e$;if(_e){var rt=new Error(_e[0]);rt.code=_e[1],rt.stack=_e[2],Ce(rt,null)}else Ce(null,ke)},Se.postMessage(re,ge),Se},At=Uint8Array,Ze=Uint16Array,Re=Int32Array,he=new At([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Be=new At([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),De=new At([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ue=function(ae,te){for(var re=new Ze(31),ge=0;ge<31;++ge)re[ge]=te+=1<>1|(b&21845)<<1;x=(x&52428)>>2|(x&13107)<<2,x=(x&61680)>>4|(x&3855)<<4,E[b]=((x&65280)>>8|(x&255)<<8)>>1}for(var z=function(ae,te,re){for(var ge=ae.length,Ce=0,Se=new Ze(te);Ce>_e]=rt}else for(ke=new Ze(ge),Ce=0;Ce>15-ae[Ce]);return ke},ne=new At(288),b=0;b<144;++b)ne[b]=8;for(var b=144;b<256;++b)ne[b]=9;for(var b=256;b<280;++b)ne[b]=7;for(var b=280;b<288;++b)ne[b]=8;for(var fe=new At(32),b=0;b<32;++b)fe[b]=5;var Ue=z(ne,9,0),Pe=z(ne,9,1),Te=z(fe,5,0),Ve=z(fe,5,1),Ye=function(ae){for(var te=ae[0],re=1;rete&&(te=ae[re]);return te},nt=function(ae,te,re){var ge=te/8|0;return(ae[ge]|ae[ge+1]<<8)>>(te&7)&re},Oe=function(ae,te){var re=te/8|0;return(ae[re]|ae[re+1]<<8|ae[re+2]<<16)>>(te&7)},Ft=function(ae){return(ae+7)/8|0},Qe=function(ae,te,re){return(te==null||te<0)&&(te=0),(re==null||re>ae.length)&&(re=ae.length),new At(ae.subarray(te,re))},Tt={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},st=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],it=function(ae,te,re){var ge=new Error(te||st[ae]);if(ge.code=ae,Error.captureStackTrace&&Error.captureStackTrace(ge,it),!re)throw ge;return ge},Nt=function(ae,te,re,ge){var Ce=ae.length,Se=ge?ge.length:0;if(!Ce||te.f&&!te.l)return re||new At(0);var Ie=!re,ke=Ie||te.i!=2,_e=te.i;Ie&&(re=new At(Ce*3));var rt=function(Mn){var Zn=re.length;if(Mn>Zn){var qn=new At(Math.max(Zn*2,Mn));qn.set(re),re=qn}},mt=te.f||0,vt=te.p||0,Qt=te.b||0,$e=te.l,on=te.d,Vt=te.m,ln=te.n,Ht=Ce*8;do{if(!$e){mt=nt(ae,vt,1);var un=nt(ae,vt+1,3);if(vt+=3,un)if(un==1)$e=Pe,on=Ve,Vt=9,ln=5;else if(un==2){var Pr=nt(ae,vt,31)+257,$n=nt(ae,vt+10,15)+4,yn=Pr+nt(ae,vt+5,31)+1;vt+=14;for(var nr=new At(yn),pr=new At(19),zt=0;zt<$n;++zt)pr[De[zt]]=nt(ae,vt+zt*3,7);vt+=$n*3;for(var Jt=Ye(pr),Qn=(1<>4;if(On<16)nr[zt++]=On;else{var et=0,ut=0;for(On==16?(ut=3+nt(ae,vt,3),vt+=2,et=nr[zt-1]):On==17?(ut=3+nt(ae,vt,7),vt+=3):On==18&&(ut=11+nt(ae,vt,127),vt+=7);ut--;)nr[zt++]=et}}var dt=nr.subarray(0,Pr),Ct=nr.subarray(Pr);Vt=Ye(dt),ln=Ye(Ct),$e=z(dt,Vt,1),on=z(Ct,ln,1)}else it(1);else{var On=Ft(vt)+4,Xn=ae[On-4]|ae[On-3]<<8,dr=On+Xn;if(dr>Ce){_e&&it(0);break}ke&&rt(Qt+Xn),re.set(ae.subarray(On,dr),Qt),te.b=Qt+=Xn,te.p=vt=dr*8,te.f=mt;continue}if(vt>Ht){_e&&it(0);break}}ke&&rt(Qt+131072);for(var Rt=(1<>4;if(vt+=et&15,vt>Ht){_e&&it(0);break}if(et||it(2),ct<256)re[Qt++]=ct;else if(ct==256){Xe=vt,$e=null;break}else{var Pt=ct-254;if(ct>264){var zt=ct-257,Lt=he[zt];Pt=nt(ae,vt,(1<>4;_t||it(3),vt+=_t&15;var Ct=y[en];if(en>3){var Lt=Be[en];Ct+=Oe(ae,vt)&(1<Ht){_e&&it(0);break}ke&&rt(Qt+131072);var rn=Qt+Pt;if(Qt>8},xt=function(ae,te,re){re<<=te&7;var ge=te/8|0;ae[ge]|=re,ae[ge+1]|=re>>8,ae[ge+2]|=re>>16},ht=function(ae,te){for(var re=[],ge=0;geQt&&(Qt=Se[ge].s);var $e=new Ze(Qt+1),on=tt(re[mt-1],$e,0);if(on>te){var ge=0,Vt=0,ln=on-te,Ht=1<te)Vt+=Ht-(1<>=ln;Vt>0;){var On=Se[ge].s;$e[On]=0&&Vt;--ge){var Xn=Se[ge].s;$e[Xn]==te&&(--$e[Xn],++Vt)}on=te}return{t:new At($e),l:on}},tt=function(ae,te,re){return ae.s==-1?Math.max(tt(ae.l,te,re+1),tt(ae.r,te,re+1)):te[ae.s]=re},$t=function(ae){for(var te=ae.length;te&&!ae[--te];);for(var re=new Ze(++te),ge=0,Ce=ae[0],Se=1,Ie=function(_e){re[ge++]=_e},ke=1;ke<=te;++ke)if(ae[ke]==Ce&&ke!=te)++Se;else{if(!Ce&&Se>2){for(;Se>138;Se-=138)Ie(32754);Se>2&&(Ie(Se>10?Se-11<<5|28690:Se-3<<5|12305),Se=0)}else if(Se>3){for(Ie(Ce),--Se;Se>6;Se-=6)Ie(8304);Se>2&&(Ie(Se-3<<5|8208),Se=0)}for(;Se--;)Ie(Ce);Se=1,Ce=ae[ke]}return{c:re.subarray(0,ge),n:te}},gn=function(ae,te){for(var re=0,ge=0;ge>8,ae[Ce+2]=ae[Ce]^255,ae[Ce+3]=ae[Ce+1]^255;for(var Se=0;Se4&&!pr[De[Jt-1]];--Jt);var Qn=rt+5<<3,Le=gn(Ce,ne)+gn(Se,fe)+Ie,Ke=gn(Ce,Qt)+gn(Se,Vt)+Ie+14+3*Jt+gn($n,pr)+2*$n[16]+3*$n[17]+7*$n[18];if(_e>=0&&Qn<=Le&&Qn<=Ke)return Et(te,mt,ae.subarray(_e,_e+rt));var et,ut,dt,Ct;if(gt(te,mt,1+(Ke15&&(gt(te,mt,ct[yn]>>5&127),mt+=ct[yn]>>12)}}else et=Ue,ut=ne,dt=Te,Ct=fe;for(var yn=0;yn255){var Pt=Lt>>18&31;xt(te,mt,et[Pt+257]),mt+=ut[Pt+257],Pt>7&&(gt(te,mt,Lt>>23&31),mt+=he[Pt]);var _t=Lt&31;xt(te,mt,dt[_t]),mt+=Ct[_t],_t>3&&(xt(te,mt,Lt>>5&8191),mt+=Be[_t])}else xt(te,mt,et[Lt]),mt+=ut[Lt]}return xt(te,mt,et[256]),mt+ut[256]},Cn=new Re([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Hn=new At(0),hn=function(ae,te,re,ge,Ce,Se){var Ie=Se.z||ae.length,ke=new At(ge+Ie+5*(1+Math.ceil(Ie/7e3))+Ce),_e=ke.subarray(ge,ke.length-Ce),rt=Se.l,mt=(Se.r||0)&7;if(te){mt&&(_e[0]=Se.r>>3);for(var vt=Cn[te-1],Qt=vt>>13,$e=vt&8191,on=(1<7e3||pr>24576)&&(et>423||!rt)){mt=Wt(ae,_e,0,Xn,dr,Pr,yn,pr,Jt,nr-Jt,mt),pr=$n=yn=0,Jt=nr;for(var ut=0;ut<286;++ut)dr[ut]=0;for(var ut=0;ut<30;++ut)Pr[ut]=0}var dt=2,Ct=0,Rt=$e,tn=Le-Ke&32767;if(et>2&&Qn==On(nr-tn))for(var Xe=Math.min(Qt,et)-1,ct=Math.min(32767,nr),Pt=Math.min(258,et);tn<=ct&&--Rt&&Le!=Ke;){if(ae[nr+dt]==ae[nr+dt-tn]){for(var Lt=0;Ltdt){if(dt=Lt,Ct=tn,Lt>Xe)break;for(var _t=Math.min(tn,Lt-2),en=0,ut=0;ut<_t;++ut){var rn=nr-tn+ut&32767,pn=Vt[rn],kn=rn-pn&32767;kn>en&&(en=kn,Ke=rn)}}}Le=Ke,Ke=Vt[Le],tn+=Le-Ke&32767}if(Ct){Xn[pr++]=268435456|be[dt]<<18|a[Ct];var Mn=be[dt]&31,Zn=a[Ct]&31;yn+=he[Mn]+Be[Zn],++dr[257+Mn],++Pr[Zn],zt=nr+dt,++$n}else Xn[pr++]=ae[nr],++dr[ae[nr]]}}for(nr=Math.max(nr,zt);nr=Ie&&(_e[mt/8|0]=rt,qn=Ie),mt=Et(_e,mt+1,ae.subarray(nr,qn))}Se.i=Ie}return Qe(ke,0,ge+Ft(mt)+Ce)},Gn=null,Dt=function(){var ae=-1;return{p:function(te){for(var re=ae,ge=0;ge>>8;ae=re},d:function(){return~ae}}},_n=function(){var ae=1,te=0;return{p:function(re){for(var ge=ae,Ce=te,Se=re.length|0,Ie=0;Ie!=Se;){for(var ke=Math.min(Ie+2655,Se);Ie>16),Ce=(Ce&65535)+15*(Ce>>16)}ae=ge,te=Ce},d:function(){return ae%=65521,te%=65521,(ae&255)<<24|(ae&65280)<<8|(te&255)<<8|te>>8}}},er=function(ae,te,re,ge,Ce){if(!Ce&&(Ce={l:1},te.dictionary)){var Se=te.dictionary.subarray(-32768),Ie=new At(Se.length+ae.length);Ie.set(Se),Ie.set(ae,Se.length),ae=Ie,Ce.w=Se.length}return hn(ae,te.level==null?6:te.level,te.mem==null?Ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(ae.length)))*1.5):20:12+te.mem,re,ge,Ce)},je=function(ae,te){var re={};for(var ge in ae)re[ge]=ae[ge];for(var ge in te)re[ge]=te[ge];return re},qt=function(ae,te,re){for(var ge=ae(),Ce=ae.toString(),Se=Ce.slice(Ce.indexOf("[")+1,Ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ie=0;Ie>>0},Fn=function(ae,te){return Ot(ae,te)+Ot(ae,te+4)*4294967296},an=function(ae,te,re){for(;re;++te)ae[te]=re,re>>>=8},rr=function(ae,te){var re=te.filename;if(ae[0]=31,ae[1]=139,ae[2]=8,ae[8]=te.level<2?4:te.level==9?2:0,ae[9]=3,te.mtime!=0&&an(ae,4,Math.floor(new Date(te.mtime||Date.now())/1e3)),re){ae[3]=8;for(var ge=0;ge<=re.length;++ge)ae[ge+10]=re.charCodeAt(ge)}},gr=function(ae){(ae[0]!=31||ae[1]!=139||ae[2]!=8)&&it(6,"invalid gzip data");var te=ae[3],re=10;te&4&&(re+=(ae[10]|ae[11]<<8)+2);for(var ge=(te>>3&1)+(te>>4&1);ge>0;ge-=!ae[re++]);return re+(te&2)},sr=function(ae){var te=ae.length;return(ae[te-4]|ae[te-3]<<8|ae[te-2]<<16|ae[te-1]<<24)>>>0},Ur=function(ae){return 10+(ae.filename?ae.filename.length+1:0)},Qr=function(ae,te){var re=te.level,ge=re==0?0:re<6?1:re==9?3:2;if(ae[0]=120,ae[1]=ge<<6|(te.dictionary&&32),ae[1]|=31-(ae[0]<<8|ae[1])%31,te.dictionary){var Ce=_n();Ce.p(te.dictionary),an(ae,2,Ce.d())}},aa=function(ae,te){return((ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31)&&it(6,"invalid zlib data"),(ae[1]>>5&1)==+!te&&it(6,"invalid zlib data: "+(ae[1]&32?"need":"unexpected")+" dictionary"),(ae[1]>>3&4)+2};function Aa(ae,te){return typeof ae=="function"&&(te=ae,ae={}),this.ondata=te,ae}var Gr=null,yr=null;function Tr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Zt(ae,te,[qe],function(ge){return wt(_r(ge.data[0],ge.data[1]))},0,re)}function _r(ae,te){return er(ae,te||{},0,0)}var Ba=null,Xa=null;function Vr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Zt(ae,te,[ye],function(ge){return wt(Lo(ge.data[0],lt(ge.data[1])))},1,re)}function Lo(ae,te){return Nt(ae,{i:2},te&&te.out,te&&te.dictionary)}var Ho=null,ta=null;function mn(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Zt(ae,te,[qe,pt,function(){return[yi]}],function(ge){return wt(yi(ge.data[0],ge.data[1]))},2,re)}function yi(ae,te){te||(te={});var re=Dt(),ge=ae.length;re.p(ae);var Ce=er(ae,te,Ur(te),8),Se=Ce.length;return rr(Ce,te),an(Ce,Se-8,re.d()),an(Ce,Se-4,ge),Ce}var li=null,ii=null;function Ei(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Zt(ae,te,[ye,Me,function(){return[xo]}],function(ge){return wt(xo(ge.data[0],ge.data[1]))},3,re)}function xo(ae,te){var re=gr(ae);return re+8>ae.length&&it(6,"invalid gzip data"),Nt(ae.subarray(re,-8),{i:2},te&&te.out||new At(sr(ae)),te&&te.dictionary)}var Mi=null,di=null;function ti(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Zt(ae,te,[qe,Je,function(){return[In]}],function(ge){return wt(In(ge.data[0],ge.data[1]))},4,re)}function In(ae,te){te||(te={});var re=_n();re.p(ae);var ge=er(ae,te,te.dictionary?6:2,4);return Qr(ge,te),an(ge,ge.length-4,re.d()),ge}var zn=null,wn=null;function kr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Zt(ae,te,[ye,jt,function(){return[sa]}],function(ge){return wt(sa(ge.data[0],lt(ge.data[1])))},5,re)}function sa(ae,te){return Nt(ae.subarray(aa(ae,te&&te.dictionary),-4),{i:2},te&&te.out,te&&te.dictionary)}var Dr=null,fa=null;function Ua(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),ae[0]==31&&ae[1]==139&&ae[2]==8?Ei(ae,te,re):(ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31?Vr(ae,te,re):kr(ae,te,re)}function xa(ae,te){return ae[0]==31&&ae[1]==139&&ae[2]==8?xo(ae,te):(ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31?Lo(ae,te):sa(ae,te)}var no=function(ae,te,re,ge){for(var Ce in ae){var Se=ae[Ce],Ie=te+Ce,ke=ge;Array.isArray(Se)&&(ke=je(ge,Se[1]),Se=Se[0]),Se instanceof At?re[Ie]=[Se,ke]:(re[Ie+="/"]=[new At(0),ke],no(Se,Ie,re,ge))}},Ai=typeof TextEncoder!="undefined"&&new TextEncoder,Cr=typeof TextDecoder!="undefined"&&new TextDecoder,Oa=0;try{Cr.decode(Hn,{stream:!0}),Oa=1}catch(ae){}var ni=function(ae){for(var te="",re=0;;){var ge=ae[re++],Ce=(ge>127)+(ge>223)+(ge>239);if(re+Ce>ae.length)return{s:te,r:Qe(ae,re-1)};Ce?Ce==3?(ge=((ge&15)<<18|(ae[re++]&63)<<12|(ae[re++]&63)<<6|ae[re++]&63)-65536,te+=String.fromCharCode(55296|ge>>10,56320|ge&1023)):Ce&1?te+=String.fromCharCode((ge&31)<<6|ae[re++]&63):te+=String.fromCharCode((ge&15)<<12|(ae[re++]&63)<<6|ae[re++]&63):te+=String.fromCharCode(ge)}},Io=null,zo=null;function uo(ae,te){if(te){for(var re=new At(ae.length),ge=0;ge>1)),Ie=0,ke=function(mt){Se[Ie++]=mt},ge=0;geSe.length){var _e=new At(Ie+8+(Ce-ge<<1));_e.set(Se),Se=_e}var rt=ae.charCodeAt(ge);rt<128||te?ke(rt):rt<2048?(ke(192|rt>>6),ke(128|rt&63)):rt>55295&&rt<57344?(rt=65536+(rt&1047552)|ae.charCodeAt(++ge)&1023,ke(240|rt>>18),ke(128|rt>>12&63),ke(128|rt>>6&63),ke(128|rt&63)):(ke(224|rt>>12),ke(128|rt>>6&63),ke(128|rt&63))}return Qe(Se,0,Ie)}function hi(ae,te){if(te){for(var re="",ge=0;ge65535&&it(9),te+=ge+4}return te},Ji=function(ae,te,re,ge,Ce,Se,Ie,ke){var _e=ge.length,rt=re.extra,mt=ke&&ke.length,vt=Uo(rt);an(ae,te,Ie!=null?33639248:67324752),te+=4,Ie!=null&&(ae[te++]=20,ae[te++]=re.os),ae[te]=20,te+=2,ae[te++]=re.flag<<1|(Se<0&&8),ae[te++]=Ce&&8,ae[te++]=re.compression&255,ae[te++]=re.compression>>8;var Qt=new Date(re.mtime==null?Date.now():re.mtime),$e=Qt.getFullYear()-1980;if(($e<0||$e>119)&&it(10),an(ae,te,$e<<25|Qt.getMonth()+1<<21|Qt.getDate()<<16|Qt.getHours()<<11|Qt.getMinutes()<<5|Qt.getSeconds()>>1),te+=4,Se!=-1&&(an(ae,te,re.crc),an(ae,te+4,Se<0?-Se-2:Se),an(ae,te+8,re.size)),an(ae,te+12,_e),an(ae,te+14,vt),te+=16,Ie!=null&&(an(ae,te,mt),an(ae,te+6,re.attrs),an(ae,te+10,Ie),te+=14),ae.set(ge,te),te+=_e,vt)for(var on in rt){var Vt=rt[on],ln=Vt.length;an(ae,te,+on),an(ae,te+2,ln),ae.set(Vt,te+4),te+=4+ln}return mt&&(ae.set(ke,te),te+=mt),te},GA=function(ae,te,re,ge,Ce){an(ae,te,101010256),an(ae,te+8,re),an(ae,te+10,re),an(ae,te+12,ge),an(ae,te+16,Ce)},Ti=null,br=null,zl=null,cs=null;function Ps(ae,te,re){re||(re=te,te={}),typeof re!="function"&&it(7);var ge={};no(ae,"",ge,te);var Ce=Object.keys(ge),Se=Ce.length,Ie=0,ke=0,_e=Se,rt=new Array(Se),mt=[],vt=function(){for(var ln=0;ln65535&&Le(it(11,0,1),null),!Qn)Le(null,On);else if(Pr<16e4)try{Le(null,_r(On,Xn))}catch(Ke){Le(Ke,null)}else mt.push(Tr(On,Xn,Le))},Vt=0;Vt<_e;++Vt)on(Vt);return vt}function _A(ae,te){te||(te={});var re={},ge=[];no(ae,"",re,te);var Ce=0,Se=0;for(var Ie in re){var ke=re[Ie],_e=ke[0],rt=ke[1],mt=rt.level==0?0:8,vt=uo(Ie),Qt=vt.length,$e=rt.comment,on=$e&&uo($e),Vt=on&&on.length,ln=Uo(rt.extra);Qt>65535&&it(11);var Ht=mt?_r(_e,rt):_e,un=Ht.length,On=Dt();On.p(_e),ge.push(je(rt,{size:_e.length,crc:On.d(),c:Ht,f:vt,m:on,u:Qt!=Ie.length||on&&$e.length!=Vt,o:Ce,compression:mt})),Ce+=30+Qt+ln+un,Se+=76+2*(Qt+ln)+(Vt||0)+un}for(var Xn=new At(Se+22),dr=Ce,Pr=Se-Ce,$n=0;$n65558)return Ie(it(13,0,1),null),Ce;var _e=dn(ae,ke+8);if(_e){var rt=_e,mt=Ot(ae,ke+16),vt=mt==4294967295||rt==65535;if(vt){var Qt=Ot(ae,ke-12);vt=Ot(ae,Qt)==101075792,vt&&(rt=_e=Ot(ae,Qt+32),mt=Ot(ae,Qt+48))}for(var $e=te&&te.filter,on=function(ln){var Ht=rA(ae,mt,vt),un=Ht[0],On=Ht[1],Xn=Ht[2],dr=Ht[3],Pr=Ht[4],$n=Ht[5],yn=wi(ae,$n);mt=Pr;var nr=function(zt,Jt){zt?(Ce(),Ie(zt,null)):(Jt&&(Se[dr]=Jt),--_e||Ie(null,Se))};if(!$e||$e({name:dr,size:On,originalSize:Xn,compression:un}))if(!un)nr(null,Qe(ae,yn,yn+On));else if(un==8){var pr=ae.subarray(yn,yn+On);if(Xn<524288||On>.8*Xn)try{nr(null,Lo(pr,{out:new At(Xn)}))}catch(zt){nr(zt,null)}else ge.push(Vr(pr,{size:Xn},nr))}else nr(it(14,"unknown compression type "+un,1),null);else nr(null,null)},Vt=0;Vt65558)&&it(13);var Ce=dn(ae,ge+8);if(!Ce)return{};var Se=Ot(ae,ge+16),Ie=Se==4294967295||Ce==65535;if(Ie){var ke=Ot(ae,ge-12);Ie=Ot(ae,ke)==101075792,Ie&&(Ce=Ot(ae,ke+32),Se=Ot(ae,ke+48))}for(var _e=te&&te.filter,rt=0;rt=200&&te.status<=299}function ds(ae){try{ae.dispatchEvent(new MouseEvent("click"))}catch(re){var te=document.createEvent("MouseEvents");te.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),ae.dispatchEvent(te)}}var xA,WA,kA=Na.saveAs||((typeof window=="undefined"?"undefined":(0,pe.Z)(window))!=="object"||window!==Na?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(ae,te,re){var ge=Na.URL||Na.webkitURL,Ce=document.createElement("a");te=te||ae.name||"download",Ce.download=te,Ce.rel="noopener",typeof ae=="string"?(Ce.href=ae,Ce.origin!==location.origin?$s(Ce.href)?qi(ae,te,re):ds(Ce,Ce.target="_blank"):ds(Ce)):(Ce.href=ge.createObjectURL(ae),setTimeout(function(){ge.revokeObjectURL(Ce.href)},4e4),setTimeout(function(){ds(Ce)},0))}:"msSaveOrOpenBlob"in navigator?function(ae,te,re){if(te=te||ae.name||"download",typeof ae=="string")if($s(ae))qi(ae,te,re);else{var ge=document.createElement("a");ge.href=ae,ge.target="_blank",setTimeout(function(){ds(ge)})}else navigator.msSaveOrOpenBlob(function(Ce,Se){return Se===void 0?Se={autoBom:!1}:(0,pe.Z)(Se)!=="object"&&(Qo.warn("Deprecated: Expected third argument to be a object"),Se={autoBom:!Se}),Se.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ce.type)?new Blob(["\uFEFF",Ce],{type:Ce.type}):Ce}(ae,re),te)}:function(ae,te,re,ge){if((ge=ge||open("","_blank"))&&(ge.document.title=ge.document.body.innerText="downloading..."),typeof ae=="string")return qi(ae,te,re);var Ce=ae.type==="application/octet-stream",Se=/constructor/i.test(Na.HTMLElement)||Na.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ie||Ce&&Se)&&(typeof FileReader=="undefined"?"undefined":(0,pe.Z)(FileReader))==="object"){var ke=new FileReader;ke.onloadend=function(){var mt=ke.result;mt=Ie?mt:mt.replace(/^data:[^;]*;/,"data:attachment/file;"),ge?ge.location.href=mt:location=mt,ge=null},ke.readAsDataURL(ae)}else{var _e=Na.URL||Na.webkitURL,rt=_e.createObjectURL(ae);ge?ge.location=rt:location.href=rt,ge=null,setTimeout(function(){_e.revokeObjectURL(rt)},4e4)}});function Es(ae){var te;ae=ae||"",this.ok=!1,ae.charAt(0)=="#"&&(ae=ae.substr(1,6)),ae={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[ae=(ae=ae.replace(/ /g,"")).toLowerCase()]||ae;for(var re=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ke){return[parseInt(ke[1]),parseInt(ke[2]),parseInt(ke[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ke){return[parseInt(ke[1],16),parseInt(ke[2],16),parseInt(ke[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ke){return[parseInt(ke[1]+ke[1],16),parseInt(ke[2]+ke[2],16),parseInt(ke[3]+ke[3],16)]}}],ge=0;ge255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ke=this.r.toString(16),_e=this.g.toString(16),rt=this.b.toString(16);return ke.length==1&&(ke="0"+ke),_e.length==1&&(_e="0"+_e),rt.length==1&&(rt="0"+rt),"#"+ke+_e+rt}}function Fs(ae,te){var re=ae[0],ge=ae[1],Ce=ae[2],Se=ae[3];re=Ci(re,ge,Ce,Se,te[0],7,-680876936),Se=Ci(Se,re,ge,Ce,te[1],12,-389564586),Ce=Ci(Ce,Se,re,ge,te[2],17,606105819),ge=Ci(ge,Ce,Se,re,te[3],22,-1044525330),re=Ci(re,ge,Ce,Se,te[4],7,-176418897),Se=Ci(Se,re,ge,Ce,te[5],12,1200080426),Ce=Ci(Ce,Se,re,ge,te[6],17,-1473231341),ge=Ci(ge,Ce,Se,re,te[7],22,-45705983),re=Ci(re,ge,Ce,Se,te[8],7,1770035416),Se=Ci(Se,re,ge,Ce,te[9],12,-1958414417),Ce=Ci(Ce,Se,re,ge,te[10],17,-42063),ge=Ci(ge,Ce,Se,re,te[11],22,-1990404162),re=Ci(re,ge,Ce,Se,te[12],7,1804603682),Se=Ci(Se,re,ge,Ce,te[13],12,-40341101),Ce=Ci(Ce,Se,re,ge,te[14],17,-1502002290),re=bt(re,ge=Ci(ge,Ce,Se,re,te[15],22,1236535329),Ce,Se,te[1],5,-165796510),Se=bt(Se,re,ge,Ce,te[6],9,-1069501632),Ce=bt(Ce,Se,re,ge,te[11],14,643717713),ge=bt(ge,Ce,Se,re,te[0],20,-373897302),re=bt(re,ge,Ce,Se,te[5],5,-701558691),Se=bt(Se,re,ge,Ce,te[10],9,38016083),Ce=bt(Ce,Se,re,ge,te[15],14,-660478335),ge=bt(ge,Ce,Se,re,te[4],20,-405537848),re=bt(re,ge,Ce,Se,te[9],5,568446438),Se=bt(Se,re,ge,Ce,te[14],9,-1019803690),Ce=bt(Ce,Se,re,ge,te[3],14,-187363961),ge=bt(ge,Ce,Se,re,te[8],20,1163531501),re=bt(re,ge,Ce,Se,te[13],5,-1444681467),Se=bt(Se,re,ge,Ce,te[2],9,-51403784),Ce=bt(Ce,Se,re,ge,te[7],14,1735328473),re=Wn(re,ge=bt(ge,Ce,Se,re,te[12],20,-1926607734),Ce,Se,te[5],4,-378558),Se=Wn(Se,re,ge,Ce,te[8],11,-2022574463),Ce=Wn(Ce,Se,re,ge,te[11],16,1839030562),ge=Wn(ge,Ce,Se,re,te[14],23,-35309556),re=Wn(re,ge,Ce,Se,te[1],4,-1530992060),Se=Wn(Se,re,ge,Ce,te[4],11,1272893353),Ce=Wn(Ce,Se,re,ge,te[7],16,-155497632),ge=Wn(ge,Ce,Se,re,te[10],23,-1094730640),re=Wn(re,ge,Ce,Se,te[13],4,681279174),Se=Wn(Se,re,ge,Ce,te[0],11,-358537222),Ce=Wn(Ce,Se,re,ge,te[3],16,-722521979),ge=Wn(ge,Ce,Se,re,te[6],23,76029189),re=Wn(re,ge,Ce,Se,te[9],4,-640364487),Se=Wn(Se,re,ge,Ce,te[12],11,-421815835),Ce=Wn(Ce,Se,re,ge,te[15],16,530742520),re=Ar(re,ge=Wn(ge,Ce,Se,re,te[2],23,-995338651),Ce,Se,te[0],6,-198630844),Se=Ar(Se,re,ge,Ce,te[7],10,1126891415),Ce=Ar(Ce,Se,re,ge,te[14],15,-1416354905),ge=Ar(ge,Ce,Se,re,te[5],21,-57434055),re=Ar(re,ge,Ce,Se,te[12],6,1700485571),Se=Ar(Se,re,ge,Ce,te[3],10,-1894986606),Ce=Ar(Ce,Se,re,ge,te[10],15,-1051523),ge=Ar(ge,Ce,Se,re,te[1],21,-2054922799),re=Ar(re,ge,Ce,Se,te[8],6,1873313359),Se=Ar(Se,re,ge,Ce,te[15],10,-30611744),Ce=Ar(Ce,Se,re,ge,te[6],15,-1560198380),ge=Ar(ge,Ce,Se,re,te[13],21,1309151649),re=Ar(re,ge,Ce,Se,te[4],6,-145523070),Se=Ar(Se,re,ge,Ce,te[11],10,-1120210379),Ce=Ar(Ce,Se,re,ge,te[2],15,718787259),ge=Ar(ge,Ce,Se,re,te[9],21,-343485551),ae[0]=Ha(re,ae[0]),ae[1]=Ha(ge,ae[1]),ae[2]=Ha(Ce,ae[2]),ae[3]=Ha(Se,ae[3])}function ZA(ae,te,re,ge,Ce,Se){return te=Ha(Ha(te,ae),Ha(ge,Se)),Ha(te<>>32-Ce,re)}function Ci(ae,te,re,ge,Ce,Se,Ie){return ZA(te&re|~te&ge,ae,te,Ce,Se,Ie)}function bt(ae,te,re,ge,Ce,Se,Ie){return ZA(te&ge|re&~ge,ae,te,Ce,Se,Ie)}function Wn(ae,te,re,ge,Ce,Se,Ie){return ZA(te^re^ge,ae,te,Ce,Se,Ie)}function Ar(ae,te,re,ge,Ce,Se,Ie){return ZA(re^(te|~ge),ae,te,Ce,Se,Ie)}function Wr(ae){var te,re=ae.length,ge=[1732584193,-271733879,-1732584194,271733878];for(te=64;te<=ae.length;te+=64)Fs(ge,Ta(ae.substring(te-64,te)));ae=ae.substring(te-64);var Ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(te=0;te>2]|=ae.charCodeAt(te)<<(te%4<<3);if(Ce[te>>2]|=128<<(te%4<<3),te>55)for(Fs(ge,Ce),te=0;te<16;te++)Ce[te]=0;return Ce[14]=8*re,Fs(ge,Ce),ge}function Ta(ae){var te,re=[];for(te=0;te<64;te+=4)re[te>>2]=ae.charCodeAt(te)+(ae.charCodeAt(te+1)<<8)+(ae.charCodeAt(te+2)<<16)+(ae.charCodeAt(te+3)<<24);return re}xA=Na.atob.bind(Na),WA=Na.btoa.bind(Na);var ro="0123456789abcdef".split("");function jr(ae){for(var te="",re=0;re<4;re++)te+=ro[ae>>8*re+4&15]+ro[ae>>8*re&15];return te}function qa(ae){return String.fromCharCode((255&ae)>>0,(65280&ae)>>8,(16711680&ae)>>16,(4278190080&ae)>>24)}function ma(ae){return Wr(ae).map(qa).join("")}var Oo=function(ae){for(var te=0;te>16)+(te>>16)+(re>>16)<<16|65535&re}return ae+te&4294967295}function ra(ae,te){var re,ge,Ce,Se;if(ae!==re){for(var Ie=(Ce=ae,Se=1+(256/ae.length>>0),new Array(Se+1).join(Ce)),ke=[],_e=0;_e<256;_e++)ke[_e]=_e;var rt=0;for(_e=0;_e<256;_e++){var mt=ke[_e];rt=(rt+mt+Ie.charCodeAt(_e))%256,ke[_e]=ke[rt],ke[rt]=mt}re=ae,ge=ke}else ke=ge;var vt=te.length,Qt=0,$e=0,on="";for(_e=0;_e\x80/\f\xA9\xFEdSiz";var Se=(te+this.padding).substr(0,32),Ie=(re+this.padding).substr(0,32);this.O=this.processOwnerPassword(Se,Ie),this.P=-(1+(255^Ce)),this.encryptionKey=ma(Se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(ge)).substr(0,5),this.U=ra(this.encryptionKey,this.padding)}function ui(ae){if(/[^\u0000-\u00ff]/.test(ae))throw new Error("Invalid PDF Name Object: "+ae+", Only accept ASCII characters.");for(var te="",re=ae.length,ge=0;ge126?te+="#"+("0"+Ce.toString(16)).slice(-2):te+=ae[ge]}return te}function mo(ae){if((0,pe.Z)(ae)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var te={};this.subscribe=function(re,ge,Ce){if(Ce=Ce||!1,typeof re!="string"||typeof ge!="function"||typeof Ce!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");te.hasOwnProperty(re)||(te[re]={});var Se=Math.random().toString(35);return te[re][Se]=[ge,!!Ce],Se},this.unsubscribe=function(re){for(var ge in te)if(te[ge][re])return delete te[ge][re],Object.keys(te[ge]).length===0&&delete te[ge],!0;return!1},this.publish=function(re){if(te.hasOwnProperty(re)){var ge=Array.prototype.slice.call(arguments,1),Ce=[];for(var Se in te[re]){var Ie=te[re][Se];try{Ie[0].apply(ae,ge)}catch(ke){Na.console&&Qo.error("jsPDF PubSub Error",ke.message,ke)}Ie[1]&&Ce.push(Se)}Ce.length&&Ce.forEach(this.unsubscribe)}},this.getTopics=function(){return te}}function vn(ae){if(!(this instanceof vn))return new vn(ae);var te="opacity,stroke-opacity".split(",");for(var re in ae)ae.hasOwnProperty(re)&&te.indexOf(re)>=0&&(this[re]=ae[re]);this.id="",this.objectNumber=-1}function An(ae,te){this.gState=ae,this.matrix=te,this.id="",this.objectNumber=-1}function sn(ae,te,re,ge,Ce){if(!(this instanceof sn))return new sn(ae,te,re,ge,Ce);this.type=ae==="axial"?2:3,this.coords=te,this.colors=re,An.call(this,ge,Ce)}function En(ae,te,re,ge,Ce){if(!(this instanceof En))return new En(ae,te,re,ge,Ce);this.boundingBox=ae,this.xStep=te,this.yStep=re,this.stream="",this.cloneIndex=0,An.call(this,ge,Ce)}function Rn(ae){var te,re=typeof arguments[0]=="string"?arguments[0]:"p",ge=arguments[1],Ce=arguments[2],Se=arguments[3],Ie=[],ke=1,_e=16,rt="S",mt=null;(0,pe.Z)(ae=ae||{})==="object"&&(re=ae.orientation,ge=ae.unit||ge,Ce=ae.format||Ce,Se=ae.compress||ae.compressPdf||Se,(mt=ae.encryption||null)!==null&&(mt.userPassword=mt.userPassword||"",mt.ownerPassword=mt.ownerPassword||"",mt.userPermissions=mt.userPermissions||[]),ke=typeof ae.userUnit=="number"?Math.abs(ae.userUnit):1,ae.precision!==void 0&&(te=ae.precision),ae.floatPrecision!==void 0&&(_e=ae.floatPrecision),rt=ae.defaultPathOperation||"S"),Ie=ae.filters||(Se===!0?["FlateEncode"]:Ie),ge=ge||"mm",re=(""+(re||"P")).toLowerCase();var vt=ae.putOnlyUsedFonts||!1,Qt={},$e={internal:{},__private__:{}};$e.__private__.PubSub=mo;var on="1.3",Vt=$e.__private__.getPdfVersion=function(){return on};$e.__private__.setPdfVersion=function(Fe){on=Fe};var ln={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};$e.__private__.getPageFormats=function(){return ln};var Ht=$e.__private__.getPageFormat=function(Fe){return ln[Fe]};Ce=Ce||"a4";var un={COMPAT:"compat",ADVANCED:"advanced"},On=un.COMPAT;function Xn(){this.saveGraphicsState(),Gt(new Ia(Lr,0,0,-Lr,0,il()*Lr).toString()+" cm"),this.setFontSize(this.getFontSize()/Lr),rt="n",On=un.ADVANCED}function dr(){this.restoreGraphicsState(),rt="S",On=un.COMPAT}var Pr=$e.__private__.combineFontStyleAndFontWeight=function(Fe,St){if(Fe=="bold"&&St=="normal"||Fe=="bold"&&St==400||Fe=="normal"&&St=="italic"||Fe=="bold"&&St=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return St&&(Fe=St==400||St==="normal"?Fe==="italic"?"italic":"normal":St!=700&&St!=="bold"||Fe!=="normal"?(St==700?"bold":St)+""+Fe:"bold"),Fe};$e.advancedAPI=function(Fe){var St=On===un.COMPAT;return St&&Xn.call(this),typeof Fe!="function"||(Fe(this),St&&dr.call(this)),this},$e.compatAPI=function(Fe){var St=On===un.ADVANCED;return St&&dr.call(this),typeof Fe!="function"||(Fe(this),St&&Xn.call(this)),this},$e.isAdvancedAPI=function(){return On===un.ADVANCED};var $n,yn=function(Fe){if(On!==un.ADVANCED)throw new Error(Fe+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},nr=$e.roundToPrecision=$e.__private__.roundToPrecision=function(Fe,St){var cn=te||St;if(isNaN(Fe)||isNaN(cn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Fe.toFixed(cn).replace(/0+$/,"")};$n=$e.hpf=$e.__private__.hpf=typeof _e=="number"?function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.hpf");return nr(Fe,_e)}:_e==="smart"?function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.hpf");return nr(Fe,Fe>-1&&Fe<1?16:5)}:function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.hpf");return nr(Fe,16)};var pr=$e.f2=$e.__private__.f2=function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.f2");return nr(Fe,2)},zt=$e.__private__.f3=function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.f3");return nr(Fe,3)},Jt=$e.scale=$e.__private__.scale=function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.scale");return On===un.COMPAT?Fe*Lr:On===un.ADVANCED?Fe:void 0},Qn=function(Fe){return On===un.COMPAT?il()-Fe:On===un.ADVANCED?Fe:void 0},Le=function(Fe){return Jt(Qn(Fe))};$e.__private__.setPrecision=$e.setPrecision=function(Fe){typeof parseInt(Fe,10)=="number"&&(te=parseInt(Fe,10))};var Ke,et="00000000000000000000000000000000",ut=$e.__private__.getFileId=function(){return et},dt=$e.__private__.setFileId=function(Fe){return et=Fe!==void 0&&/^[a-fA-F0-9]{32}$/.test(Fe)?Fe.toUpperCase():et.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),mt!==null&&(pA=new ao(mt.userPermissions,mt.userPassword,mt.ownerPassword,et)),et};$e.setFileId=function(Fe){return dt(Fe),this},$e.getFileId=function(){return ut()};var Ct=$e.__private__.convertDateToPDFDate=function(Fe){var St=Fe.getTimezoneOffset(),cn=St<0?"+":"-",xn=Math.floor(Math.abs(St/60)),Yn=Math.abs(St%60),hr=[cn,Pt(xn),"'",Pt(Yn),"'"].join("");return["D:",Fe.getFullYear(),Pt(Fe.getMonth()+1),Pt(Fe.getDate()),Pt(Fe.getHours()),Pt(Fe.getMinutes()),Pt(Fe.getSeconds()),hr].join("")},Rt=$e.__private__.convertPDFDateToDate=function(Fe){var St=parseInt(Fe.substr(2,4),10),cn=parseInt(Fe.substr(6,2),10)-1,xn=parseInt(Fe.substr(8,2),10),Yn=parseInt(Fe.substr(10,2),10),hr=parseInt(Fe.substr(12,2),10),Hr=parseInt(Fe.substr(14,2),10);return new Date(St,cn,xn,Yn,hr,Hr,0)},tn=$e.__private__.setCreationDate=function(Fe){var St;if(Fe===void 0&&(Fe=new Date),Fe instanceof Date)St=Ct(Fe);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Fe))throw new Error("Invalid argument passed to jsPDF.setCreationDate");St=Fe}return Ke=St},Xe=$e.__private__.getCreationDate=function(Fe){var St=Ke;return Fe==="jsDate"&&(St=Rt(Ke)),St};$e.setCreationDate=function(Fe){return tn(Fe),this},$e.getCreationDate=function(Fe){return Xe(Fe)};var ct,Pt=$e.__private__.padd2=function(Fe){return("0"+parseInt(Fe)).slice(-2)},Lt=$e.__private__.padd2Hex=function(Fe){return("00"+(Fe=Fe.toString())).substr(Fe.length)},_t=0,en=[],rn=[],pn=0,kn=[],Mn=[],Zn=!1,qn=rn,wr=function(){_t=0,pn=0,rn=[],en=[],kn=[],to=Wo(),ko=Wo()};$e.__private__.setCustomOutputDestination=function(Fe){Zn=!0,qn=Fe};var Tn=function(Fe){Zn||(qn=Fe)};$e.__private__.resetCustomOutputDestination=function(){Zn=!1,qn=rn};var Gt=$e.__private__.out=function(Fe){return Fe=Fe.toString(),pn+=Fe.length+1,qn.push(Fe),qn},Mr=$e.__private__.write=function(Fe){return Gt(arguments.length===1?Fe.toString():Array.prototype.join.call(arguments," "))},xr=$e.__private__.getArrayBuffer=function(Fe){for(var St=Fe.length,cn=new ArrayBuffer(St),xn=new Uint8Array(cn);St--;)xn[St]=Fe.charCodeAt(St);return cn},Vn=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];$e.__private__.getStandardFonts=function(){return Vn};var ar=ae.fontSize||16;$e.__private__.setFontSize=$e.setFontSize=function(Fe){return ar=On===un.ADVANCED?Fe/Lr:Fe,this};var or,Jn=$e.__private__.getFontSize=$e.getFontSize=function(){return On===un.COMPAT?ar:ar*Lr},fr=ae.R2L||!1;$e.__private__.setR2L=$e.setR2L=function(Fe){return fr=Fe,this},$e.__private__.getR2L=$e.getR2L=function(){return fr};var Or,na=$e.__private__.setZoomMode=function(Fe){var St=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Fe))or=Fe;else if(isNaN(Fe)){if(St.indexOf(Fe)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Fe+'" is not recognized.');or=Fe}else or=parseInt(Fe,10)};$e.__private__.getZoomMode=function(){return or};var Jr,Zr=$e.__private__.setPageMode=function(Fe){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Fe)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Fe+'" is not recognized.');Or=Fe};$e.__private__.getPageMode=function(){return Or};var da=$e.__private__.setLayoutMode=function(Fe){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Fe)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Fe+'" is not recognized.');Jr=Fe};$e.__private__.getLayoutMode=function(){return Jr},$e.__private__.setDisplayMode=$e.setDisplayMode=function(Fe,St,cn){return na(Fe),da(St),Zr(cn),this};var qr={title:"",subject:"",author:"",keywords:"",creator:""};$e.__private__.getDocumentProperty=function(Fe){if(Object.keys(qr).indexOf(Fe)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return qr[Fe]},$e.__private__.getDocumentProperties=function(){return qr},$e.__private__.setDocumentProperties=$e.setProperties=$e.setDocumentProperties=function(Fe){for(var St in qr)qr.hasOwnProperty(St)&&Fe[St]&&(qr[St]=Fe[St]);return this},$e.__private__.setDocumentProperty=function(Fe,St){if(Object.keys(qr).indexOf(Fe)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return qr[Fe]=St};var La,Lr,Co,_a,ja,so={},Ra={},To=[],za={},_i={},Rr={},pa={},Sa=null,Xr=0,ua=[],Kr=new mo($e),Ma=ae.hotfixes||[],Za={},oo={},pi=[],Ia=function Fe(St,cn,xn,Yn,hr,Hr){if(!(this instanceof Fe))return new Fe(St,cn,xn,Yn,hr,Hr);isNaN(St)&&(St=1),isNaN(cn)&&(cn=0),isNaN(xn)&&(xn=0),isNaN(Yn)&&(Yn=1),isNaN(hr)&&(hr=0),isNaN(Hr)&&(Hr=0),this._matrix=[St,cn,xn,Yn,hr,Hr]};Object.defineProperty(Ia.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Fe){this._matrix[0]=Fe}}),Object.defineProperty(Ia.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Fe){this._matrix[1]=Fe}}),Object.defineProperty(Ia.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Fe){this._matrix[2]=Fe}}),Object.defineProperty(Ia.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Fe){this._matrix[3]=Fe}}),Object.defineProperty(Ia.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Fe){this._matrix[4]=Fe}}),Object.defineProperty(Ia.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Fe){this._matrix[5]=Fe}}),Object.defineProperty(Ia.prototype,"a",{get:function(){return this._matrix[0]},set:function(Fe){this._matrix[0]=Fe}}),Object.defineProperty(Ia.prototype,"b",{get:function(){return this._matrix[1]},set:function(Fe){this._matrix[1]=Fe}}),Object.defineProperty(Ia.prototype,"c",{get:function(){return this._matrix[2]},set:function(Fe){this._matrix[2]=Fe}}),Object.defineProperty(Ia.prototype,"d",{get:function(){return this._matrix[3]},set:function(Fe){this._matrix[3]=Fe}}),Object.defineProperty(Ia.prototype,"e",{get:function(){return this._matrix[4]},set:function(Fe){this._matrix[4]=Fe}}),Object.defineProperty(Ia.prototype,"f",{get:function(){return this._matrix[5]},set:function(Fe){this._matrix[5]=Fe}}),Object.defineProperty(Ia.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ia.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ia.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ia.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Ia.prototype.join=function(Fe){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map($n).join(Fe)},Ia.prototype.multiply=function(Fe){var St=Fe.sx*this.sx+Fe.shy*this.shx,cn=Fe.sx*this.shy+Fe.shy*this.sy,xn=Fe.shx*this.sx+Fe.sy*this.shx,Yn=Fe.shx*this.shy+Fe.sy*this.sy,hr=Fe.tx*this.sx+Fe.ty*this.shx+this.tx,Hr=Fe.tx*this.shy+Fe.ty*this.sy+this.ty;return new Ia(St,cn,xn,Yn,hr,Hr)},Ia.prototype.decompose=function(){var Fe=this.sx,St=this.shy,cn=this.shx,xn=this.sy,Yn=this.tx,hr=this.ty,Hr=Math.sqrt(Fe*Fe+St*St),Fa=(Fe/=Hr)*cn+(St/=Hr)*xn;cn-=Fe*Fa,xn-=St*Fa;var Ja=Math.sqrt(cn*cn+xn*xn);return Fa/=Ja,Fe*(xn/=Ja)>16&255,xn=Ja>>8&255,Yn=255&Ja}if(xn===void 0||hr===void 0&&cn===xn&&xn===Yn)if(typeof cn=="string")St=cn+" "+Hr[0];else switch(Fe.precision){case 2:St=pr(cn/255)+" "+Hr[0];break;case 3:default:St=zt(cn/255)+" "+Hr[0]}else if(hr===void 0||(0,pe.Z)(hr)==="object"){if(hr&&!isNaN(hr.a)&&hr.a===0)return St=["1.","1.","1.",Hr[1]].join(" ");if(typeof cn=="string")St=[cn,xn,Yn,Hr[1]].join(" ");else switch(Fe.precision){case 2:St=[pr(cn/255),pr(xn/255),pr(Yn/255),Hr[1]].join(" ");break;default:case 3:St=[zt(cn/255),zt(xn/255),zt(Yn/255),Hr[1]].join(" ")}}else if(typeof cn=="string")St=[cn,xn,Yn,hr,Hr[2]].join(" ");else switch(Fe.precision){case 2:St=[pr(cn),pr(xn),pr(Yn),pr(hr),Hr[2]].join(" ");break;case 3:default:St=[zt(cn),zt(xn),zt(Yn),zt(hr),Hr[2]].join(" ")}return St},Va=$e.__private__.getFilters=function(){return Ie},gi=$e.__private__.putStream=function(Fe){var St=(Fe=Fe||{}).data||"",cn=Fe.filters||Va(),xn=Fe.alreadyAppliedFilters||[],Yn=Fe.addLength1||!1,hr=St.length,Hr=Fe.objectId,Fa=function(OA){return OA};if(mt!==null&&Hr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");mt!==null&&(Fa=pA.encryptor(Hr,0));var Ja={};cn===!0&&(cn=["FlateEncode"]);var bo=Fe.additionalKeyValues||[],So=(Ja=Rn.API.processDataByFilters!==void 0?Rn.API.processDataByFilters(St,cn):{data:St,reverseChain:[]}).reverseChain+(Array.isArray(xn)?xn.join(" "):xn.toString());if(Ja.data.length!==0&&(bo.push({key:"Length",value:Ja.data.length}),Yn===!0&&bo.push({key:"Length1",value:hr})),So.length!=0)if(So.split("/").length-1==1)bo.push({key:"Filter",value:So});else{bo.push({key:"Filter",value:"["+So+"]"});for(var Xo=0;Xo>"),Ja.data.length!==0&&(Gt("stream"),Gt(Fa(Ja.data)),Gt("endstream"))},Bi=$e.__private__.putPage=function(Fe){var St=Fe.number,cn=Fe.data,xn=Fe.objId,Yn=Fe.contentsObjId;oA(xn,!0),Gt("<>"),Gt("endobj");var hr=cn.join(` `);return On===un.ADVANCED&&(hr+=` Q`),oA(Yn,!0),gi({data:hr,filters:Va(),objectId:Yn}),Gt("endobj"),xn},eA=$e.__private__.putPages=function(){var Fe,St,cn=[];for(Fe=1;Fe<=Xr;Fe++)ua[Fe].objId=Wo(),ua[Fe].contentsObjId=Wo();for(Fe=1;Fe<=Xr;Fe++)cn.push(Bi({number:Fe,data:Mn[Fe],objId:ua[Fe].objId,contentsObjId:ua[Fe].contentsObjId,mediaBox:ua[Fe].mediaBox,cropBox:ua[Fe].cropBox,bleedBox:ua[Fe].bleedBox,trimBox:ua[Fe].trimBox,artBox:ua[Fe].artBox,userUnit:ua[Fe].userUnit,rootDictionaryObjId:to,resourceDictionaryObjId:ko}));oA(to,!0),Gt("<>"),Gt("endobj"),Kr.publish("postPutPages")},Zi=function(Fe){Kr.publish("putFont",{font:Fe,out:Gt,newObject:Nr,putStream:gi}),Fe.isAlreadyPutted!==!0&&(Fe.objectNumber=Nr(),Gt("<<"),Gt("/Type /Font"),Gt("/BaseFont /"+ui(Fe.postScriptName)),Gt("/Subtype /Type1"),typeof Fe.encoding=="string"&&Gt("/Encoding /"+Fe.encoding),Gt("/FirstChar 32"),Gt("/LastChar 255"),Gt(">>"),Gt("endobj"))},mA=function(){for(var Fe in so)so.hasOwnProperty(Fe)&&(vt===!1||vt===!0&&Qt.hasOwnProperty(Fe))&&Zi(so[Fe])},Ss=function(Fe){Fe.objectNumber=Nr();var St=[];St.push({key:"Type",value:"/XObject"}),St.push({key:"Subtype",value:"/Form"}),St.push({key:"BBox",value:"["+[$n(Fe.x),$n(Fe.y),$n(Fe.x+Fe.width),$n(Fe.y+Fe.height)].join(" ")+"]"}),St.push({key:"Matrix",value:"["+Fe.matrix.toString()+"]"});var cn=Fe.pages[1].join(` `);gi({data:cn,additionalKeyValues:St,objectId:Fe.objectNumber}),Gt("endobj")},VA=function(){for(var Fe in Za)Za.hasOwnProperty(Fe)&&Ss(Za[Fe])},DA=function(Fe,St){var cn,xn=[],Yn=1/(St-1);for(cn=0;cn<1;cn+=Yn)xn.push(cn);if(xn.push(1),Fe[0].offset!=0){var hr={offset:0,color:Fe[0].color};Fe.unshift(hr)}if(Fe[Fe.length-1].offset!=1){var Hr={offset:1,color:Fe[Fe.length-1].color};Fe.push(Hr)}for(var Fa="",Ja=0,bo=0;boFe[Ja+1].offset;)Ja++;var So=Fe[Ja].offset,Xo=(cn-So)/(Fe[Ja+1].offset-So),Qi=Fe[Ja].color,Xi=Fe[Ja+1].color;Fa+=Lt(Math.round((1-Xo)*Qi[0]+Xo*Xi[0]).toString(16))+Lt(Math.round((1-Xo)*Qi[1]+Xo*Xi[1]).toString(16))+Lt(Math.round((1-Xo)*Qi[2]+Xo*Xi[2]).toString(16))}return Fa.trim()},bA=function(Fe,St){St||(St=21);var cn=Nr(),xn=DA(Fe.colors,St),Yn=[];Yn.push({key:"FunctionType",value:"0"}),Yn.push({key:"Domain",value:"[0.0 1.0]"}),Yn.push({key:"Size",value:"["+St+"]"}),Yn.push({key:"BitsPerSample",value:"8"}),Yn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Yn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),gi({data:xn,additionalKeyValues:Yn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:cn}),Gt("endobj"),Fe.objectNumber=Nr(),Gt("<< /ShadingType "+Fe.type),Gt("/ColorSpace /DeviceRGB");var hr="/Coords ["+$n(parseFloat(Fe.coords[0]))+" "+$n(parseFloat(Fe.coords[1]))+" ";Fe.type===2?hr+=$n(parseFloat(Fe.coords[2]))+" "+$n(parseFloat(Fe.coords[3])):hr+=$n(parseFloat(Fe.coords[2]))+" "+$n(parseFloat(Fe.coords[3]))+" "+$n(parseFloat(Fe.coords[4]))+" "+$n(parseFloat(Fe.coords[5])),Gt(hr+="]"),Fe.matrix&&Gt("/Matrix ["+Fe.matrix.toString()+"]"),Gt("/Function "+cn+" 0 R"),Gt("/Extend [true true]"),Gt(">>"),Gt("endobj")},tA=function(Fe,St){var cn=Wo(),xn=Nr();St.push({resourcesOid:cn,objectOid:xn}),Fe.objectNumber=xn;var Yn=[];Yn.push({key:"Type",value:"/Pattern"}),Yn.push({key:"PatternType",value:"1"}),Yn.push({key:"PaintType",value:"1"}),Yn.push({key:"TilingType",value:"1"}),Yn.push({key:"BBox",value:"["+Fe.boundingBox.map($n).join(" ")+"]"}),Yn.push({key:"XStep",value:$n(Fe.xStep)}),Yn.push({key:"YStep",value:$n(Fe.yStep)}),Yn.push({key:"Resources",value:cn+" 0 R"}),Fe.matrix&&Yn.push({key:"Matrix",value:"["+Fe.matrix.toString()+"]"}),gi({data:Fe.stream,additionalKeyValues:Yn,objectId:Fe.objectNumber}),Gt("endobj")},fi=function(Fe){var St;for(St in za)za.hasOwnProperty(St)&&(za[St]instanceof sn?bA(za[St]):za[St]instanceof En&&tA(za[St],Fe))},ai=function(Fe){for(var St in Fe.objectNumber=Nr(),Gt("<<"),Fe)switch(St){case"opacity":Gt("/ca "+pr(Fe[St]));break;case"stroke-opacity":Gt("/CA "+pr(Fe[St]))}Gt(">>"),Gt("endobj")},ys=function(){var Fe;for(Fe in Rr)Rr.hasOwnProperty(Fe)&&ai(Rr[Fe])},Is=function(){for(var Fe in Gt("/XObject <<"),Za)Za.hasOwnProperty(Fe)&&Za[Fe].objectNumber>=0&&Gt("/"+Fe+" "+Za[Fe].objectNumber+" 0 R");Kr.publish("putXobjectDict"),Gt(">>")},Ms=function(){pA.oid=Nr(),Gt("<<"),Gt("/Filter /Standard"),Gt("/V "+pA.v),Gt("/R "+pA.r),Gt("/U <"+pA.toHexString(pA.U)+">"),Gt("/O <"+pA.toHexString(pA.O)+">"),Gt("/P "+pA.P),Gt(">>"),Gt("endobj")},is=function(){for(var Fe in Gt("/Font <<"),so)so.hasOwnProperty(Fe)&&(vt===!1||vt===!0&&Qt.hasOwnProperty(Fe))&&Gt("/"+Fe+" "+so[Fe].objectNumber+" 0 R");Gt(">>")},_l=function(){if(Object.keys(za).length>0){for(var Fe in Gt("/Shading <<"),za)za.hasOwnProperty(Fe)&&za[Fe]instanceof sn&&za[Fe].objectNumber>=0&&Gt("/"+Fe+" "+za[Fe].objectNumber+" 0 R");Kr.publish("putShadingPatternDict"),Gt(">>")}},Bl=function(Fe){if(Object.keys(za).length>0){for(var St in Gt("/Pattern <<"),za)za.hasOwnProperty(St)&&za[St]instanceof $e.TilingPattern&&za[St].objectNumber>=0&&za[St].objectNumber>")}},vo=function(){if(Object.keys(Rr).length>0){var Fe;for(Fe in Gt("/ExtGState <<"),Rr)Rr.hasOwnProperty(Fe)&&Rr[Fe].objectNumber>=0&&Gt("/"+Fe+" "+Rr[Fe].objectNumber+" 0 R");Kr.publish("putGStateDict"),Gt(">>")}},io=function(Fe){oA(Fe.resourcesOid,!0),Gt("<<"),Gt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),is(),_l(),Bl(Fe.objectOid),vo(),Is(),Gt(">>"),Gt("endobj")},Vi=function(){var Fe=[];mA(),ys(),VA(),fi(Fe),Kr.publish("putResources"),Fe.forEach(io),io({resourcesOid:ko,objectOid:Number.MAX_SAFE_INTEGER}),Kr.publish("postPutResources")},oi=function(){Kr.publish("putAdditionalObjects");for(var Fe=0;Fe>8&&(Ja=!0);Fe=Fa.join("")}for(cn=Fe.length;Ja===void 0&&cn!==0;)Fe.charCodeAt(cn-1)>>8&&(Ja=!0),cn--;if(!Ja)return Fe;for(Fa=St.noBOM?[]:[254,255],cn=0,xn=Fe.length;cn>8)>>8)throw new Error("Character at position "+cn+" of string '"+Fe+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Fa.push(So),Fa.push(bo-(So<<8))}return String.fromCharCode.apply(void 0,Fa)},UA=$e.__private__.pdfEscape=$e.pdfEscape=function(Fe,St){return al(Fe,St).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},El=$e.__private__.beginPage=function(Fe){Mn[++Xr]=[],ua[Xr]={objId:0,contentsObjId:0,userUnit:Number(ke),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Fe[0]),topRightY:Number(Fe[1])}},Sl(Xr),Tn(Mn[ct])},ou=function(Fe,St){var cn,xn,Yn;switch(re=St||re,typeof Fe=="string"&&(cn=Ht(Fe.toLowerCase()),Array.isArray(cn)&&(xn=cn[0],Yn=cn[1])),Array.isArray(Fe)&&(xn=Fe[0]*Lr,Yn=Fe[1]*Lr),isNaN(xn)&&(xn=Ce[0],Yn=Ce[1]),(xn>14400||Yn>14400)&&(Qo.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),xn=Math.min(14400,xn),Yn=Math.min(14400,Yn)),Ce=[xn,Yn],re.substr(0,1)){case"l":Yn>xn&&(Ce=[Yn,xn]);break;case"p":xn>Yn&&(Ce=[Yn,xn])}El(Ce),Ns(Zo),Gt(Gs),ec!==0&&Gt(ec+" J"),tc!==0&&Gt(tc+" j"),Kr.publish("addPage",{pageNumber:Xr})},Pu=function(Fe){Fe>0&&Fe<=Xr&&(Mn.splice(Fe,1),ua.splice(Fe,1),Xr--,ct>Xr&&(ct=Xr),this.setPage(ct))},Sl=function(Fe){Fe>0&&Fe<=Xr&&(ct=Fe)},Ks=$e.__private__.getNumberOfPages=$e.getNumberOfPages=function(){return Mn.length-1},Fl=function(Fe,St,cn){var xn,Yn=void 0;return cn=cn||{},Fe=Fe!==void 0?Fe:so[La].fontName,St=St!==void 0?St:so[La].fontStyle,xn=Fe.toLowerCase(),Ra[xn]!==void 0&&Ra[xn][St]!==void 0?Yn=Ra[xn][St]:Ra[Fe]!==void 0&&Ra[Fe][St]!==void 0?Yn=Ra[Fe][St]:cn.disableWarning===!1&&Qo.warn("Unable to look up font label for font '"+Fe+"', '"+St+"'. Refer to getFontList() for available fonts."),Yn||cn.noFallback||(Yn=Ra.times[St])==null&&(Yn=Ra.times.normal),Yn},Eu=$e.__private__.putInfo=function(){var Fe=Nr(),St=function(xn){return xn};for(var cn in mt!==null&&(St=pA.encryptor(Fe,0)),Gt("<<"),Gt("/Producer ("+UA(St("jsPDF "+Rn.version))+")"),qr)qr.hasOwnProperty(cn)&&qr[cn]&&Gt("/"+cn.substr(0,1).toUpperCase()+cn.substr(1)+" ("+UA(St(qr[cn]))+")");Gt("/CreationDate ("+UA(St(Ke))+")"),Gt(">>"),Gt("endobj")},xl=$e.__private__.putCatalog=function(Fe){var St=(Fe=Fe||{}).rootDictionaryObjId||to;switch(Nr(),Gt("<<"),Gt("/Type /Catalog"),Gt("/Pages "+St+" 0 R"),or||(or="fullwidth"),or){case"fullwidth":Gt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Gt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Gt("/OpenAction [3 0 R /Fit]");break;case"original":Gt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var cn=""+or;cn.substr(cn.length-1)==="%"&&(or=parseInt(or)/100),typeof or=="number"&&Gt("/OpenAction [3 0 R /XYZ null null "+pr(or)+"]")}switch(Jr||(Jr="continuous"),Jr){case"continuous":Gt("/PageLayout /OneColumn");break;case"single":Gt("/PageLayout /SinglePage");break;case"two":case"twoleft":Gt("/PageLayout /TwoColumnLeft");break;case"tworight":Gt("/PageLayout /TwoColumnRight")}Or&&Gt("/PageMode /"+Or),Kr.publish("putCatalog"),Gt(">>"),Gt("endobj")},Fu=$e.__private__.putTrailer=function(){Gt("trailer"),Gt("<<"),Gt("/Size "+(_t+1)),Gt("/Root "+_t+" 0 R"),Gt("/Info "+(_t-1)+" 0 R"),mt!==null&&Gt("/Encrypt "+pA.oid+" 0 R"),Gt("/ID [ <"+et+"> <"+et+"> ]"),Gt(">>")},iu=$e.__private__.putHeader=function(){Gt("%PDF-"+on),Gt("%\xBA\xDF\xAC\xE0")},yl=$e.__private__.putXRef=function(){var Fe="0000000000";Gt("xref"),Gt("0 "+(_t+1)),Gt("0000000000 65535 f ");for(var St=1;St<=_t;St++)typeof en[St]=="function"?Gt((Fe+en[St]()).slice(-10)+" 00000 n "):en[St]!==void 0?Gt((Fe+en[St]).slice(-10)+" 00000 n "):Gt("0000000000 00000 n ")},zs=$e.__private__.buildDocument=function(){wr(),Tn(rn),Kr.publish("buildDocument"),iu(),eA(),oi(),Vi(),mt!==null&&Ms(),Eu(),xl();var Fe=pn;return yl(),Fu(),Gt("startxref"),Gt(""+Fe),Gt("%%EOF"),Tn(Mn[ct]),rn.join(` `)},Wl=$e.__private__.getBlob=function(Fe){return new Blob([xr(Fe)],{type:"application/pdf"})},Ll=$e.output=$e.__private__.output=AA(function(Fe,St){switch(typeof(St=St||{})=="string"?St={filename:St}:St.filename=St.filename||"generated.pdf",Fe){case void 0:return zs();case"save":$e.save(St.filename);break;case"arraybuffer":return xr(zs());case"blob":return Wl(zs());case"bloburi":case"bloburl":if(Na.URL!==void 0&&typeof Na.URL.createObjectURL=="function")return Na.URL&&Na.URL.createObjectURL(Wl(zs()))||void 0;Qo.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var cn="",xn=zs();try{cn=WA(xn)}catch(Xi){cn=WA(unescape(encodeURIComponent(xn)))}return"data:application/pdf;filename="+St.filename+";base64,"+cn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Na)==="[object Window]"){var Yn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",hr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';St.pdfObjectUrl&&(Yn=St.pdfObjectUrl,hr="");var Hr='