!(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=(rn,Mt,Be)=>Mt in rn?ag(rn,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Be}):rn[Mt]=Be,Cu=(rn,Mt)=>{for(var Be in Mt||(Mt={}))Gd.call(Mt,Be)&&zd(rn,Be,Mt[Be]);if(sd)for(var Be of sd(Mt))_d.call(Mt,Be)&&zd(rn,Be,Mt[Be]);return rn},Fd=(rn,Mt)=>og(rn,ig(Mt));var Wd=(rn,Mt)=>{var Be={};for(var ue in rn)Gd.call(rn,ue)&&Mt.indexOf(ue)<0&&(Be[ue]=rn[ue]);if(rn!=null&&sd)for(var ue of sd(rn))Mt.indexOf(ue)<0&&_d.call(rn,ue)&&(Be[ue]=rn[ue]);return Be};(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},89489:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},59477:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},26227:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},49198:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},87169:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},52671:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},8657:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},56082:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},33853:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},15075:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},43531:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},38819:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},95869:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ve}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(ce,Ne){return we.createElement(Ze.Z,(0,ue.Z)({},ce,{ref:Ne,icon:At}))},he=we.forwardRef(Re),ve=he},99587:function(rn,Mt){"use strict";Mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},63720:function(){"use strict";function rn(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(rn.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(rn.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(rn.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(rn.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 rn))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 Mt=[];function Be(oe,y){var a=Mt.pop();return a===void 0?new go.Point(oe,y):(a.x=oe,a.y=y,a)}function ue(){var oe=Mt.pop();return oe===void 0?new go.Point:oe}function we(oe){Mt.push(oe)}function ze(oe,y,a,E,b,x,z,ne,me){me||(me=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 me.x=Te,me.y=Ve,me}function At(oe,y,a,E,b,x,z,ne,me,Ue,Pe,Te,Ve,Ye){var nt=1-me,Oe=me,Ft=oe*nt+a*Oe,Qe=y*nt+E*Oe,kt=a*nt+b*Oe,ut=E*nt+x*Oe,it=b*nt+z*Oe,Nt=x*nt+ne*Oe,mt=Ft*nt+kt*Oe,Pt=Qe*nt+ut*Oe,gt=kt*nt+it*Oe,et=ut*nt+Nt*Oe,Xt=mt*nt+gt*Oe,An=Pt*nt+et*Oe;Ue.x=Ft,Ue.y=Qe,Pe.x=mt,Pe.y=Pt,Te.x=Xt,Te.y=An,Ve.x=gt,Ve.y=et,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 rn("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 rn("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 rn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new rn("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 rn("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 rn("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 rn("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),me=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(me,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-me,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-me,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,me,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 rn("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 rn("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 rn("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,me=x*he;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+me+ne)*a,(.5-me+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+me+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+me+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-me+ne)*a,(.5+me+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-me+z)*y,(.5-x+ne)*a,(.5-x+z+.05)*y,(.5-me+ne-.02)*a)),x=.2,z=0,ne=-.3,me=x*he,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+me+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+me+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-me+ne)*a,(.5+me+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-me+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-me+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+me+ne)*a,(.5-me+z)*y,(.5+x+ne)*a)),x=.2,z=-.3,ne=0,me=x*he,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z-.05)*y,(.5-me+ne-.02)*a,(.5+me+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-me+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-me+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+me+ne)*a,(.5-me+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+me+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+me+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,me=new go.PathFigure(z*y,(ne-x)*a);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),me.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=ue(),Pe=ue(),Te=ue(),Ve=ue();At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.42,Ue,Pe,Te,Ve,Ve);var Ye=ue(),nt=ue(),Oe=ue();At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.58,Ve,Ve,Oe,Ye,nt);var Ft=ue(),Qe=ue(),kt=ue();At(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.42,Ft,Qe,kt,Ve,Ve);var ut=ue(),it=ue(),Nt=ue();return At(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.58,Ve,Ve,Nt,ut,it),me.add(new go.PathSegment(go.PathSegment.Move,Nt.x*y,Nt.y*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,ut.x*y,ut.y*a,it.x*y,it.y*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),me.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)),me.add(new go.PathSegment(go.PathSegment.Line,Nt.x*y,Nt.y*a).close()),me.add(new go.PathSegment(go.PathSegment.Move,kt.x*y,kt.y*a)),me.add(new go.PathSegment(go.PathSegment.Line,Oe.x*y,Oe.y*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ye.x*y,Ye.y*a,nt.x*y,nt.y*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,kt.x*y,kt.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(kt),we(ut),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 rn("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,me=ue(),Ue=ue(),Pe=ue(),Te=ue(),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,me,me),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=Be(Ue.x,Ue.y);At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.56,me,me,Ue,Pe,Te);var nt=Be(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(me),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,me=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);E.add(me),me.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)),me.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)),me.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)),me.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)),me.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),me.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),me.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),me.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),me.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),me.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),me.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),me.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),me.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),me.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,z=-.125,ne=b*he;var me=new go.PathFigure((1-.5+b+x)*y,(.5+z)*a,!1);E.add(me),me.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)),me.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)),me.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)),me.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 me=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);return E.add(me),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 rn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new rn("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,me=new go.Geometry,Ue=new go.PathFigure(0,z,!0);me.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()),me.spot1=new go.Spot(0,z/a);var Pe=ze(0,ne/a,1,ne/a,x/y,1,1,.5,ue());return me.spot2=new go.Spot(Pe.x,Pe.y),we(Pe),me}),go.Shape.setFigureParameter("Arrow2",0,new rn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new rn("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,me=new go.Geometry,Ue=new go.PathFigure(0,z,!0);me.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()),me.spot1=new go.Spot(0,z/a);var Pe=ze(0,ne/a,1,ne/a,x/y,1,1,.5,ue());return me.spot2=new go.Spot(Pe.x,Pe.y),we(Pe),me}),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 rn("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 me=ze(0,.5,.3,0,0,b/a,.1,b/a,ue());return z.spot1=new go.Spot(me.x,me.y),me=ze(.7,1,1,.5,0,x/a,1,x/a,me),z.spot2=new go.Spot(me.x,me.y),we(me),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new rn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new rn("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,me=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,me=a):(x=0,z=a,ne=0,me=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,me)),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,me)),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,ue());return Ue.spot1=new go.Spot(Te.x,Te.y),Te=ze(.7,me/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 rn("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 me=ze(.7,1,1,.5,0,x/a,1,x/a,ue());return z.spot2=new go.Spot(me.x,me.y),we(me),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new rn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new rn("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,me=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,me=a):(x=0,z=a,ne=0,me=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,me)),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,me)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,me)),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,me/a,1,.5,0,z/a,1,z/a,ue());return Ue.spot2=new go.Spot(Te.x,Te.y),we(Te),Ue}),go.Shape.setFigureParameter("Pointer",0,new rn("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,ue());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new rn("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,ue());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new rn("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 me=ze(.7,1,1,.5,0,x/a,1,x/a,ue());return z.spot2=new go.Spot(me.x,me.y),we(me),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new rn("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 me=ze(.7,1,1,.5,0,x/a,1,x/a,ue());return z.spot2=new go.Spot(me.x,me.y),we(me),z}),go.Shape.setFigureParameter("SquareArrow",0,new rn("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,me=.5,Ue=.1,Pe=new go.PathFigure(me*y,(Ue+x)*a,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-b)*y,Ue*a,(me-z)*y,(Ue+x)*a,(me-b)*y,(Ue+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-x)*a,(me-b)*y,(Ue-ne)*a,(me-z)*y,(Ue-x)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+b)*y,Ue*a,(me+z)*y,(Ue-x)*a,(me+b)*y,(Ue-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue+x)*a,(me+b)*y,(Ue+ne)*a,(me+z)*y,(Ue+x)*a));var Te=.05,Ve=he*Te;me=.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)),me=.95,Ue=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+Te)*y,Ue*a,(me+Ve)*y,(Ue-Te)*a,(me+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,me=.825,Ue=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-Te)*a,(me+Te)*y,(Ue-Ve)*a,(me+Ve)*y,(Ue-Te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-Te)*y,Ue*a,(me-Ve)*y,(Ue-Te)*a,(me-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,me=.5,Ue=.7,Ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-Te)*a,(me+Te)*y,(Ue-Ve)*a,(me+Ve)*y,(Ue-Te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-Te)*y,Ue*a,(me-Ve)*y,(Ue-Te)*a,(me-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,me=.175,Ue=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-Te)*a,(me+Te)*y,(Ue-Ve)*a,(me+Ve)*y,(Ue-Te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-Te)*y,Ue*a,(me-Ve)*y,(Ue-Te)*a,(me-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,me=.05,Ue=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-Te)*a,(me-Te)*y,(Ue-Ve)*a,(me-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 rn("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,me=new go.PathFigure(y,ne*a,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,y,(ne+z)*a,(ne+z)*y,a)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-z)*y,a,0,(ne+z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,0,0,(ne-z)*a,(ne-z)*y,0)),me.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 me=new go.PathFigure(.8*y,.75*a,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),me.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),me.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),me.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),me.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),me.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),me.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,me=new go.PathFigure(.8*y,.5*a,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,a)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.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,me=.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((me+ne)*y,Ue*a,!0);return E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue+ne)*a,(me+ne)*y,(Ue+z)*a,(me+z)*y,(Ue+ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(me-ne)*y,Ue*a,(me-z)*y,(Ue+ne)*a,(me-ne)*y,(Ue+z)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-ne)*a,(me-ne)*y,(Ue-z)*a,(me-z)*y,(Ue-ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(me+ne)*y,Ue*a,(me+z)*y,(Ue-ne)*a,(me+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,me=new go.PathFigure(.8*y,.5*a,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),me.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,me=new go.PathFigure(0,0,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ne-b)*a,.8*y,(ne-x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ne+x)*a,(z+x+x)*y,(ne+b)*a)),me.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,me=new go.PathFigure(.1*y,0,!1);E.add(me),me.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,me=new go.PathFigure(.1*y,0,!1);E.add(me),me.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,me=new go.PathFigure((z-b*.5)*y,a,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.3,me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.5,me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.9,me.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,me=new go.PathFigure((z-x)*y,ne*a,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne-x)*a,(z+x)*y,(ne-b)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),me.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ne*a)),me.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,me=0,Ue=.5,Pe=(b-y)/2,Te=(x-a)/2,Ve=new go.PathFigure(me*y+Pe,(Ue+ne)*a+Te,!0);E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(me-ne)*y+Pe,Ue*a+Te,(me-z)*y+Pe,(Ue+ne)*a+Te,(me-ne)*y+Pe,(Ue+z)*a+Te)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue-ne)*a+Te,(me-ne)*y+Pe,(Ue-z)*a+Te,(me-z)*y+Pe,(Ue-ne)*a+Te)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(me-ne+z*.5)*y+Pe,Ue*a+Te,me*y+Pe,(Ue-ne)*a+Te,(me-ne+z*.5)*y+Pe,(Ue-z)*a+Te)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue+ne)*a+Te,(me-ne+z*.5)*y+Pe,(Ue+z)*a+Te,me*y+Pe,(Ue+ne)*a+Te).close()),z=he*.4,ne=.4,me=.2,Ue=.5;var Ye=new go.PathFigure(me*y+Pe,(Ue+ne)*a+Te,!0);E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-ne)*y+Pe,Ue*a+Te,(me-z)*y+Pe,(Ue+ne)*a+Te,(me-ne)*y+Pe,(Ue+z)*a+Te)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue-ne)*a+Te,(me-ne)*y+Pe,(Ue-z)*a+Te,(me-z)*y+Pe,(Ue-ne)*a+Te)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-ne+z*.5)*y+Pe,Ue*a+Te,me*y+Pe,(Ue-ne)*a+Te,(me-ne+z*.5)*y+Pe,(Ue-z)*a+Te)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue+ne)*a+Te,(me-ne+z*.5)*y+Pe,(Ue+z)*a+Te,me*y+Pe,(Ue+ne)*a+Te).close()),z=he*.2,ne=.2,me=.5,Ue=.5;var nt=new go.PathFigure((me-ne)*y+Pe,Ue*a+Te,!0);E.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue-ne)*a+Te,(me-ne)*y+Pe,(Ue-z)*a+Te,(me-z)*y+Pe,(Ue-ne)*a+Te)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(me+ne)*y+Pe,Ue*a+Te,(me+z)*y+Pe,(Ue-ne)*a+Te,(me+ne)*y+Pe,(Ue-z)*a+Te)),nt.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue+ne)*a+Te,(me+ne)*y+Pe,(Ue+z)*a+Te,(me+z)*y+Pe,(Ue+ne)*a+Te)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(me-ne)*y+Pe,Ue*a+Te,(me-z)*y+Pe,(Ue+ne)*a+Te,(me-ne)*y+Pe,(Ue+z)*a+Te)),z=he*.4,ne=.4,me=.8,Ue=.5;var Oe=new go.PathFigure(me*y+Pe,(Ue-ne)*a+Te,!0);E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ne)*y+Pe,Ue*a+Te,(me+z)*y+Pe,(Ue-ne)*a+Te,(me+ne)*y+Pe,(Ue-z)*a+Te)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue+ne)*a+Te,(me+ne)*y+Pe,(Ue+z)*a+Te,(me+z)*y+Pe,(Ue+ne)*a+Te)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ne-z*.5)*y+Pe,Ue*a+Te,me*y+Pe,(Ue+ne)*a+Te,(me+ne-z*.5)*y+Pe,(Ue+z)*a+Te)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue-ne)*a+Te,(me+ne-z*.5)*y+Pe,(Ue-z)*a+Te,me*y+Pe,(Ue-ne)*a+Te).close()),z=he*.8,ne=.8,me=1,Ue=.5;var Ft=new go.PathFigure(me*y+Pe,(Ue-ne)*a+Te,!0);return E.add(Ft),Ft.add(new go.PathSegment(go.PathSegment.Bezier,(me+ne)*y+Pe,Ue*a+Te,(me+z)*y+Pe,(Ue-ne)*a+Te,(me+ne)*y+Pe,(Ue-z)*a+Te)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue+ne)*a+Te,(me+ne)*y+Pe,(Ue+z)*a+Te,(me+z)*y+Pe,(Ue+ne)*a+Te)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,(me+ne-z*.5)*y+Pe,Ue*a+Te,me*y+Pe,(Ue+ne)*a+Te,(me+ne-z*.5)*y+Pe,(Ue+z)*a+Te)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,me*y+Pe,(Ue-ne)*a+Te,(me+ne-z*.5)*y+Pe,(Ue-z)*a+Te,me*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,me=ue(),Ue=ue(),Pe=ue(),Te=ue();At(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.5,me,me,Ue,Pe,Te);var Ve=Be(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,me,me),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,me,me),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,me,me,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(me),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,me){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*y,(.8+me)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*y,(.5+me)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*y,(.5+me)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*y,(.8+me)*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,me=.4*Math.SQRT2/2+.5,Ue=.5-.5*Math.SQRT2/2,Pe=1,Te=.5,Ve=.5,Ye=0,nt=new go.PathFigure(me*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,me=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,me*a,(ne-(nt+Ve)/2)*y,(me+(Ye+Oe)/2)*a,(ne-Ve)*y,(me+Oe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(me-Ye)*a,(ne-Ve)*y,(me-Oe)*a,(ne-nt)*y,(me-Ye)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+Ve)*y,me*a,(ne+nt)*y,(me-Ye)*a,(ne+Ve)*y,(me-Oe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+Ve)*y,(me+Oe)*a,(ne+(nt+Ve)/2)*y,(me+(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,me=.2,Ue=.9,Pe=new go.PathFigure((me-z)*y,Ue*a,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-z)*a,(me-z)*y,(Ue-ne)*a,(me-ne)*y,(Ue-z)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+z)*y,Ue*a,(me+ne)*y,(Ue-z)*a,(me+z)*y,(Ue-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue+z)*a,(me+z)*y,(Ue+ne)*a,(me+ne)*y,(Ue+z)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-z)*y,Ue*a,(me-ne)*y,(Ue+z)*a,(me-z)*y,(Ue+ne)*a).close()),z=.1,ne=he*.1,me=.8,Ue=.9;var Te=new go.PathFigure((me-z)*y,Ue*a,!0);return E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue-z)*a,(me-z)*y,(Ue-ne)*a,(me-ne)*y,(Ue-z)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(me+z)*y,Ue*a,(me+ne)*y,(Ue-z)*a,(me+z)*y,(Ue-ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(Ue+z)*a,(me+z)*y,(Ue+ne)*a,(me+ne)*y,(Ue+z)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(me-z)*y,Ue*a,(me-ne)*y,(Ue+z)*a,(me-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 me=.1,Ue=he*.1,Pe=.1,Te=.9,Ve=new go.PathFigure((Pe-me)*y,Te*a,!0);E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te-me)*a,(Pe-me)*y,(Te-Ue)*a,(Pe-Ue)*y,(Te-me)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+me)*y,Te*a,(Pe+Ue)*y,(Te-me)*a,(Pe+me)*y,(Te-Ue)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te+me)*a,(Pe+me)*y,(Te+Ue)*a,(Pe+Ue)*y,(Te+me)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-me)*y,Te*a,(Pe-Ue)*y,(Te+me)*a,(Pe-me)*y,(Te+Ue)*a)),me=.1,Ue=he*.1,Pe=.4,Te=.9;var Ye=new go.PathFigure((Pe-me)*y,Te*a,!0);return E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te-me)*a,(Pe-me)*y,(Te-Ue)*a,(Pe-Ue)*y,(Te-me)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+me)*y,Te*a,(Pe+Ue)*y,(Te-me)*a,(Pe+me)*y,(Te-Ue)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Te+me)*a,(Pe+me)*y,(Te+Ue)*a,(Pe+Ue)*y,(Te+me)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-me)*y,Te*a,(Pe-Ue)*y,(Te+me)*a,(Pe-me)*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,me=new go.PathFigure((Ve-Pe)*y,Ye*a,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye-Pe)*a,(Ve-Pe)*y,(Ye-Te)*a,(Ve-Te)*y,(Ye-Pe)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Pe)*y,Ye*a,(Ve+Te)*y,(Ye-Pe)*a,(Ve+Pe)*y,(Ye-Te)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,Ve*y,(Ye+Pe)*a,(Ve+Pe)*y,(Ye+Te)*a,(Ve+Te)*y,(Ye+Pe)*a)),me.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,me=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-me)*a,(Ue-me)*y,(Pe-ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Ue+ne)*y,Pe*a,(Ue+me)*y,(Pe-ne)*a,(Ue+ne)*y,(Pe-me)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Ue*y,(Pe+ne)*a,(Ue+ne)*y,(Pe+me)*a,(Ue+me)*y,(Pe+ne)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Ue-ne)*y,Pe*a,(Ue-me)*y,(Pe+ne)*a,(Ue-ne)*y,(Pe+me)*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,me=new go.PathFigure((z-b)*y,ne*a,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),me.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,me=new go.PathFigure((z-b)*y,ne*a,!0);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),me.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,me=new go.PathFigure((z-b)*y,ne*a,!1);E.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),me.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 me=new go.PathFigure(.5*y,.1*a,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),me.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 me=new go.PathFigure(y*.816,a,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),me.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),me.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 me=new go.PathFigure(y*1,0,!0);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),me.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),me.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 me=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),me.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),me.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 me=new go.PathFigure(y*.83,a*1,!1);E.add(me),me.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),me.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),me.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")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var rn={},Mt="5.0",Be={},ue=null,we=!1,ze=!1,At=null,Ze=!1,Re=null,he=null,ve=0;ve4?parseFloat(bt):5};rn.setHTML5Codebase=function(bt,qt){he=bt,et(bt,qt)},rn.setJavaCodebase=rn.setJavaCodebaseVersion=rn.isCompiledInstalled=rn.setPreCompiledScriptPath=rn.setPreCompiledResourcePath=function(){},rn.setHTML5CodebaseVersion=function(bt,qt){var wn=parseFloat(bt);if(wn!==NaN&&wn<5){console.log("The GeoGebra HTML5 codebase version "+wn+" is deprecated. Using version latest instead.");return}Re=bt,gt(bt,qt)},rn.getHTML5CodebaseVersion=function(){return oe},rn.getParameters=function(){return Be},rn.setFontsCSSURL=function(bt){z=bt},rn.setGiacJSURL=function(bt){},rn.setJNLPFile=function(bt){ce=bt},rn.setJNLPBaseDir=function(bt){},rn.inject=function(){function bt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var qt="auto",wn=Be.id,zn,fn=!1,qn=0;qn=5)return!0;var bt=rn.getAppletObject();return bt&&typeof bt.recalculateEnvironments=="function"?(bt.recalculateEnvironments(),!0):!1},rn.startAnimation=function(){var bt=rn.getAppletObject();return bt&&typeof bt.startAnimation=="function"?(bt.startAnimation(),!0):!1},rn.stopAnimation=function(){var bt=rn.getAppletObject();return bt&&typeof bt.stopAnimation=="function"?(bt.stopAnimation(),!0):!1},rn.getAppletObject=function(){var bt=Be.id!==void 0?Be.id:"ggbApplet";return window[bt]},rn.resize=function(){};var nt=function(bt,qt,wn){var zn=document.createElement("param");zn.setAttribute("name",qt),zn.setAttribute("value",wn),bt.appendChild(zn)},Oe=function(bt){return bt&&bt!=="false"},Ft=function(bt,qt,wn){me(oe)<=4.2&&(wn=!0);var zn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(zn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var fn=document.createElement("div");fn.classList.add("appletParameters","notranslate");var qn=qt.width,It=qt.height;if(qt.disableAutoScale=qt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():qt.disableAutoScale,qt.width!==void 0)if(me(oe)<=4.4)Oe(qt.showToolBar)&&(qt.height-=7),Oe(qt.showAlgebraInput)&&(qt.height-=37),qt.width<605&&Oe(qt.showToolBar)&&(qt.width=605,qn=605);else{var On=100;(Oe(qt.showToolBar)||Oe(qt.showMenuBar))&&(qt.hasOwnProperty("customToolBar")&&(qt.customToolbar=qt.customToolBar),On=Oe(qt.showMenuBar)?245:155),qn=5?(qt.appletOnLoad=function(lt){var Wt=bt.querySelector(".ggb_preview");Wt&&Wt.parentNode.removeChild(Wt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(_t),window.GGBT_wsf_view&&$(window).trigger("resize"),ke(lt)},He||_t.appendChild(pe)):fn.appendChild(pe),_t.appendChild(fn),He||bt.appendChild(_t),setTimeout(function(){rn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(fn),bt.appendChild(se),qt.appletOnLoad=function(lt){rn.resize(),ke(lt)}}function ye(lt,Wt){Wt&&typeof Wt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(lt,Wt.appletOnLoad):renderGGBElement(lt),Xt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Wt)}function qe(lt,Wt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:lt,params:Wt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kn){ye(kn.article,kn.params)}),html5AppletsToProcess=null)},me(oe)<5&&(lt.className+=" geogebraweb")):ye(lt,Wt)}if(zn){scriptLoadStarted=!0;for(var pt=0;pt0?(rr.remove(),_t.attr("id","fullscreencontent").show(),jQuery(ke).append(_t),window.dispatchEvent(new Event("resize"))):Ft(rr,qt,!1),window.GGBT_wsf_view.launchFullScreen(ke)}else Ce=zn,Ft(bt,qt,!1);if(!window.GGBT_wsf_view)for(It=0;Itbt/4*3&&(rr=bt/4*3),ke=rr/5.8,On.setAttribute("src",b),On.setAttribute("width",rr),On.setAttribute("height",ke);var _t=(bt-rr)/2,He=(qt-ke)/2;On.style.left=_t+"px",On.style.top=He+"px",fn.appendChild(On)}}return fn.appendChild(It),fn},mt=function(bt){return bt=bt.toLowerCase(),bt==="html5"||bt==="screenshot"?bt:"html5"},Pt=["web","webSimple","web3d","tablet","tablet3d","phone"],gt=function(bt,qt){if(oe=bt,qt){et(oe,!0);return}var wn=!we;if(wn){var zn=me(oe);!isNaN(zn)&&zn<4.4&&(wn=!1)}var fn,qn;window.location.protocol.substr(0,4)==="http"?fn=window.location.protocol:fn="http:";var It=oe.indexOf("//");It>0?qn=oe:It===0?qn=fn+oe:qn="https://www.geogebra.org/apps/5.2.814.0/";for(var On in Pt)if(oe.slice(Pt[On].length*-1)===Pt[On]||oe.slice((Pt[On].length+1)*-1)===Pt[On]+"/"){et(qn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&wn&&!ue.is3D&&!ue.AV&&!ue.SV&&!ue.CV&&!ue.EV2&&!ue.CP&&!ue.PC&&!ue.DA&&!ue.FI&&!ue.PV&&!Oe(Be.showToolBar)&&!Oe(Be.showMenuBar)&&!Oe(Be.showAlgebraInput)&&!Oe(Be.enableRightClick)&&(!Be.appName||Be.appName=="classic")?qn+="webSimple/":qn+="web3d/",et(qn,!1)},et=function(bt,qt){if(bt.requirejs){Ne=bt;return}bt.slice(-1)!=="/"&&(bt+="/"),Ne=bt,qt===null&&(qt=bt.indexOf("http")===-1),Ee=qt,y="web.nocache.js",a=!1;var wn=Ne.split("/");wn.length>1&&(!qt&&wn[wn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Pt.indexOf(wn[wn.length-2])>=0&&(y=wn[wn.length-2]+".nocache.js")),wn=bt.split("/"),oe=wn[wn.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 zn=parseFloat(oe);zn!==NaN&&zn<5&&bt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+zn+" is deprecated. Using version latest instead."),gt("5.0",qt))},Xt=function(bt,qt){window.console&&window.console.log&&(!qt||typeof qt.showLogging=="undefined"||qt.showLogging&&qt.showLogging!=="false")&&console.log(bt)};Be.material_id!==void 0?Te(An):An();function An(){var bt=Mt;Re!==null?bt=Re:parseFloat(bt)<5&&(bt="5.0"),gt(bt,!1),he!==null&&et(he,Ee),Ze=!0}return rn},GGBAppletUtils=function(){"use strict";function rn(){return window.GGBT_wsf_edit!==void 0}function Mt(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 Be(Ze,Re,he,ve,De,ce){var Ne=null;if(ce!=null&&ce!="")for(var Ee=Ze.parentNode;Ee!=null;)if((" "+Ee.className+" ").indexOf(" "+ce+" ")>-1){Ne=Ee;break}else Ee=Ee.parentNode;var Ce=0,oe=0,y=0,a=0,E=0,b=0,x=0;if(Ne)Ce=Ne.offsetWidth,oe=Math.max(ve?Ne.offsetWidth:0,Ne.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ce):(Ce=window.innerWidth,oe=window.innerHeight,y=window.innerWidth),Ze){var z=Ze.getBoundingClientRect();z.left>0&&z.left<=Ce&&(De===void 0||!De)&&(document.dir==="rtl"?(E=Ce-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&&(ce=!0)),Re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))De=ue(Ze,Re,ce,he,Ze.scaleContainerClass);else return ve;return ce&&(!Ze.hasOwnProperty("scale")||ve===1)?De:Math.min(ve,De)}function ze(Ze){var Re=Math.min(window.innerWidth,document.documentElement.clientWidth),he=Math.min(window.innerHeight,document.documentElement.clientHeight),ve=Ze.getBoundingClientRect(),De=(Re-ve.width)/2,ce=(he-ve.height)/2;ce<0&&(ce=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=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?Ze.style.top="40px":Ze.style.top=ce+"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 ve=we(Re,Ze);rn()&&he.setAttribute("data-param-scale",ve);for(var De=null,ce=0;ce=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(rn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(rn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(rn){var Mt=c[rn];return Mt==null?null:Mt},r=d,webModule.__errFn=e}function B(){function rn(Ze){var Re=Ze.lastIndexOf(rb);Re==-1&&(Re=Ze.length);var he=Ze.indexOf(sb);he==-1&&(he=Ze.length);var ve=Ze.lastIndexOf(tb,Math.min(he,Re));return ve>=O?Ze.substring(O,ve+P):W}function Mt(Ze){if(!Ze.match(/^\w+:\/\//)){var Re=o.createElement(ub);Re.src=Ze+vb,Ze=rn(Re.src)}return Ze}function Be(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function ue(){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=Be();return At==W&&(At=ue()),At==W&&(At=we()),At==W&&ze()&&(At=rn(o.location.href)),At=Mt(At),At}function C(rn){return rn.match(/^\//)||rn.match(/^[a-zA-Z]+:\/\//)?rn:webModule.__moduleBase+rn}function D(){var rn=[],Mt=O,Be=[],ue=[];function we(Ze){var Re=ue[Ze](),he=Be[Ze];if(Re in he)return Re;var ve=[];for(var De in he)ve[he[De]]=De;throw r&&r(Ze,ve,Re),null}if(__gwt_isKnownPropertyValue=function(Ze,Re){return Re in Be[Ze]},webModule.__getPropMap=function(){var Ze={};for(var Re in Be)Be.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&&(Mt=parseInt(ze.substring(At+P),$),ze=ze.substring(O,At))}catch(Ze){}return webModule.__softPermutationId=Mt,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})()},46699:function(rn,Mt,Be){"use strict";Be.d(Mt,{Ax:function(){return At},Ds:function(){return Ze},KI:function(){return he},SI:function(){return ze},f1:function(){return we}});var ue=Be(346);function we(ve){let De=!0;if(ve.length>0){for(let ce=0;ceUe in me?Ne(me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):me[Ue]=Pe,a=(me,Ue)=>{for(var Pe in Ue||(Ue={}))Ce.call(Ue,Pe)&&y(me,Pe,Ue[Pe]);if(Ee)for(var Pe of Ee(Ue))oe.call(Ue,Pe)&&y(me,Pe,Ue[Pe]);return me};const E=(me={})=>{var Ue,Pe,Te,Ve;let Ye=(Ue=me==null?void 0:me.emotion)==null?void 0:Ue.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),nt=(Pe=me==null?void 0:me.focus)==null?void 0:Pe.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Oe=(Te=me==null?void 0:me.action)==null?void 0:Te.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Ft=(Ve=me==null?void 0:me.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:me,dataSource:Ue=[],col:Pe=4,right:Te,bottom:Ve=23,precision:Ye=0,wrapWidth:nt=1200})=>{const Oe=(Qe="",kt,ut="--")=>Qe?(Qe==null?void 0:Qe.length)>kt?(Qe==null?void 0:Qe.slice(0,kt-1))+"...":Qe:ut,Ft=Math.floor((nt-(Pe-1)*Te)/Pe);return ue.createElement("div",{className:At()(we.list,me)},!!(Ue!=null&&Ue.length)&&(Ue==null?void 0:Ue.map((Qe,kt)=>{const{cover_pic:ut,created_at:it,emotion:Nt,action:mt,intention:Pt,focus:gt}=Qe;return ue.createElement("div",{key:kt,className:we.wrap,style:{width:Ft,marginRight:(1+kt)%Pe===0?0:Te+Ye,marginBottom:Ve}},ue.createElement("div",{className:we.img},ue.createElement("img",{src:`${ce.Z.API_SERVER}${ut}`}),ue.createElement("div",{className:we.tips},ue.createElement("div",null,ue.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),ue.createElement("span",null,it))),ue.createElement("div",{className:we.footer},ue.createElement("ul",null,ue.createElement("li",null,ue.createElement("i",{className:"iconfont icon-biaoqing"}),ue.createElement("span",null,"\u8868\u60C5\uFF1A",ue.createElement(Re.Z,{title:Nt},ue.createElement("span",{className:"c-grey-333"},Oe(Nt,4))))),ue.createElement("li",null,ue.createElement("i",{className:"iconfont icon-hangwei"}),ue.createElement("span",null,"\u884C\u4E3A\uFF1A",ue.createElement(Re.Z,{title:mt},ue.createElement("span",{className:"c-grey-333"},Oe(mt,4)))))),ue.createElement("ul",null,ue.createElement("li",null,ue.createElement("i",{className:"iconfont icon-yitu"}),ue.createElement("span",null,"\u610F\u56FE\uFF1A",ue.createElement(Re.Z,{title:Pt},ue.createElement("span",{className:"c-grey-333"},Oe(Pt,4))))),ue.createElement("li",null,ue.createElement("i",{className:"iconfont icon-zhuangtai"}),ue.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",ue.createElement(Re.Z,{title:gt},ue.createElement("span",{className:"c-grey-333"},Oe(gt,3))))))))})))},x=({className:me,style:Ue,title:Pe,hideBar:Te=!1,children:Ve,customText:Ye="",noDataText:nt="",emptyData:Oe=[],loading:Ft,actionAnalysis:Qe})=>{var kt,ut;const it=((kt=Oe==null?void 0:Oe[0])==null?void 0:kt.every(mt=>{var Pt;return!((Pt=mt==null?void 0:mt.data)!=null&&Pt.length)}))&&!((ut=Oe==null?void 0:Oe[1])!=null&&ut.length)||!Qe,Nt=Qe?nt:Ye;return ue.createElement(he.Z,{loading:Ft,active:!0},it&&ue.createElement("div",{className:At()(we.noData,me),style:Ue},!!Pe&&ue.createElement("div",{className:we.title},!Te&&ue.createElement("b",null),ue.createElement("span",null,Pe)),ue.createElement("div",{className:we.itemWrap},ue.createElement(De.Z,{customText:Nt}))),!it&&Ve)};var ne=({className:me,style:Ue,data:Pe=[],title:Te,hideBar:Ve=!1,loading:Ye=!1})=>ue.createElement("div",{className:At()(we.analysis,me),style:Ue},!!Te&&ue.createElement("div",{className:we.title},!Ve&&ue.createElement("b",null),ue.createElement("span",null,Te)),ue.createElement(ve.Z,{spinning:Ye},ue.createElement("div",{className:we.itemWrap},Pe==null?void 0:Pe.map((nt,Oe)=>ue.createElement("div",{className:we.item,key:Oe},ue.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}}))))))},9507:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return Ne}});var ue=Be(59301),we={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ze=Be(92310),At=Be.n(ze),Ze=Be(71418),Re=Be(2859),he=Be(38986),ve=Be(51257),De=(Ee,Ce,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,Ce)).next())}),Ne=({data:Ee,className:Ce,fullWidth:oe,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const z=(0,ue.useRef)(null),ne=(0,ue.useRef)(null),me=(0,ue.useRef)(null),Ue=(0,ue.useRef)(null),[Pe,Te]=(0,ue.useState)(!1),[Ve,Ye]=(0,ue.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ue.useEffect)(()=>{me.current||(me.current=document.createElement("style"),document.head.appendChild(me.current)),Ee!=null&&Ee.visible?(document.body.setAttribute("data-custom","y-hidden"),me.current.innerHTML=" html { overflow-y: hidden; }",Ee!=null&&Ee.src&&nt()):(document.body.removeAttribute("data-custom"),me.current&&(document.head.removeChild(me.current),me.current=null))},[Ee==null?void 0:Ee.visible]);const nt=()=>De(void 0,null,function*(){Te(!0),Ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ut=yield(0,ve.ZJ)(Ee==null?void 0:Ee.src);z.current.src="",z.current.src=ut,z.current.onload=function(){kt()},Te(!1),Ye("")}),Oe=()=>{document.body.removeAttribute("data-custom"),me.current.innerHTML=" ",a()},Ft=ut=>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:ut.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(ut.state)}})).status===0&&E():it!=null&&it.id&&E(it),document.body.removeAttribute("data-custom"),me.current.innerHTML=" ",Te(!1),Ye("")}),Qe=()=>{const ut=document.querySelector('a[href="https://markerjs.com/"]');ut&&ut.parentNode&&(ut.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 mt=document.querySelector(Nt.name);mt&&mt.setAttribute("title",Nt.title)})},kt=()=>{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 ue.createElement(ue.Fragment,null,(Ee==null?void 0:Ee.visible)&&ue.createElement(Ze.Z,{spinning:Pe,tip:Ve,style:{position:"absolute"}},ue.createElement("div",{ref:Ue,className:At()(we.imageDimensions,Ce,oe?we.fullWidth:""),style:y},ue.createElement("img",{className:we.img,ref:z}))))}},76562:function(rn,Mt,Be){"use strict";var ue=Be(59301),we=Be(95237),ze=Be(43604),At=Be(99313),Ze=Be(3113),Re=Be(91842),he=Be(99587),ve=Be(48136),De=Be(59301);const ce=(0,ue.forwardRef)(({callback:Ne,showSaveButton:Ee,value:Ce=""},oe)=>{const y=(0,ue.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,me)=>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,me)=>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 me=ne.innerText;return Ne&&Ne(me),me};return(0,ue.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}},Ce||""),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")))});Mt.Z=ce},6701:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return Ft}});var ue=Be(59301),we=Be(25690),ze=Be(43418),At=Be(78241),Ze=Be(8591),Re=Be(71418),he=Be(17574),ve=Be(95237),De=Be(43604),ce=Be(6848),Ne=Be(92832),Ee={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Ce=Be(45937),oe=Be(86245),y=Be(28426),a=Be(53093),E=Object.defineProperty,b=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Ue=(Qe,kt,ut)=>kt in Qe?E(Qe,kt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Qe[kt]=ut,Pe=(Qe,kt)=>{for(var ut in kt||(kt={}))ne.call(kt,ut)&&Ue(Qe,ut,kt[ut]);if(z)for(var ut of z(kt))me.call(kt,ut)&&Ue(Qe,ut,kt[ut]);return Qe},Te=(Qe,kt)=>b(Qe,x(kt)),Ve=(Qe,kt)=>{var ut={};for(var it in Qe)ne.call(Qe,it)&&kt.indexOf(it)<0&&(ut[it]=Qe[it]);if(Qe!=null&&z)for(var it of z(Qe))kt.indexOf(it)<0&&me.call(Qe,it)&&(ut[it]=Qe[it]);return ut},Ye=(Qe,kt,ut)=>new Promise((it,Nt)=>{var mt=et=>{try{gt(ut.next(et))}catch(Xt){Nt(Xt)}},Pt=et=>{try{gt(ut.throw(et))}catch(Xt){Nt(Xt)}},gt=et=>et.done?it(et.value):Promise.resolve(et.value).then(mt,Pt);gt((ut=ut.apply(Qe,kt)).next())});const nt=(Qe=[])=>Qe==null?void 0:Qe.map(kt=>Te(Pe({},kt),{title:(kt==null?void 0:kt.value)||"",key:kt==null?void 0:kt.id,isLeaf:!0})),Oe=Qe=>{var kt=Qe,{user:ut,children:it,isShowComponent:Nt=!0,ModalProps:mt={},onDataSelect:Pt}=kt,gt=Ve(kt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[et,Xt]=ze.default.useModal(),[An]=At.default.useForm(),[bt,qt]=(0,ue.useState)([]),[wn,zn]=(0,ue.useState)(!1),[fn,qn]=(0,ue.useState)(!1),[,It,On,rr]=(0,Ce.U)(oe.qE,{page:1,limit:9999}),[,,ke]=(0,Ce.U)(oe.V8,{}),[,,_t]=(0,Ce.U)(oe.B$,{}),[,,He]=(0,Ce.U)(oe.DH,{}),[,,pe]=(0,Ce.U)(oe.bJ,{}),se=()=>{zn(!1),An.resetFields(),qn(!1)},ye=pt=>Ye(void 0,null,function*(){const{node:Me,dragNode:Xe,event:Ot}=pt,yt=pt.node.pos.split("-"),lt=pt.dropPosition-Number(yt[yt.length-1]);if(lt==0){Ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(lt==1&&(Xe==null?void 0:Xe.item_index)==(Me==null?void 0:Me.item_index)+1){Ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Wt=yield pe({id:Xe==null?void 0:Xe.key,position:lt==-1?1:(Xe==null?void 0:Xe.item_index)>(Me==null?void 0:Me.item_index)?(Me==null?void 0:Me.item_index)+1:Me==null?void 0:Me.item_index});(Wt==null?void 0:Wt.status)===0&&(Ze.ZP.success("\u79FB\u52A8\u6210\u529F"),On({},!0))}),qe=pt=>Ye(void 0,null,function*(){let Me={};fn?Me=yield _t(Pe({},pt)):Me=yield He(Pe({},pt)),(Me==null?void 0:Me.status)==0&&(Ze.ZP.success((Me==null?void 0:Me.message)||(fn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),On({},!0),se())});return(0,ue.useEffect)(()=>{mt!=null&&mt.open&&On({},!0)},[mt==null?void 0:mt.open]),(0,ue.useEffect)(()=>{var pt;qt(nt((pt=rr==null?void 0:rr.data)==null?void 0:pt.list))},[rr]),Nt?ue.createElement(ue.Fragment,null,Xt,it,ue.createElement(ze.default,Pe({},Pe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},mt)),ue.createElement(Re.Z,{spinning:It},(bt==null?void 0:bt.length)>0?ue.createElement(ue.Fragment,null,ue.createElement(he.default.DirectoryTree,{height:500,className:Ee.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:Pt,treeData:bt,onDrop:ye,titleRender:pt=>ue.createElement(ue.Fragment,null,ue.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},pt==null?void 0:pt.title),ue.createElement("div",{className:`${Ee.EditDom}`},ue.createElement(ve.Z,{wrap:!1,align:"middle",gutter:16},ue.createElement(De.Z,null,ue.createElement(ce.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},ue.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Ee.currentPrimary}`}))),ue.createElement(De.Z,null,ue.createElement(ce.Z,{title:"\u7F16\u8F91"},ue.createElement("i",{className:`iconfont icon-bianji11 font12 ${Ee.currentPrimary}`,onClick:Me=>{Me.stopPropagation(),An.setFieldsValue(Pe({},pt)),zn(!0)}}))),ue.createElement(De.Z,null,ue.createElement(ce.Z,{title:"\u5220\u9664"},ue.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Ee.currentDelete}`,onClick:Me=>{Me.stopPropagation(),et.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 Xe=yield ke({id:pt==null?void 0:pt.key});(Xe==null?void 0:Xe.status)==0&&(Ze.ZP.success((Xe==null?void 0:Xe.message)||"\u5220\u9664\u6210\u529F"),On({},!0))})})}}))))))}),ue.createElement(a.op,{className:"ml20 mt20",icon:ue.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{qn(!0),zn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):ue.createElement(y.Z,{styles:{margin:"30px auto"},customText:ue.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",ue.createElement("a",{onClick:()=>{qn(!0),zn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),ue.createElement(ze.default,{title:fn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:wn,okText:fn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{An.submit()}},ue.createElement(At.default,{form:An,onFinish:qe},fn&&ue.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"),ue.createElement(At.default.Item,{hidden:!0,name:"id"}),ue.createElement(At.default.Item,{className:"mt10",name:"value"},ue.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:kt})=>({user:kt,loading:Qe.effects}))(Oe)},69720:function(rn,Mt,Be){"use strict";Be.d(Mt,{h:function(){return ne}});var ue=Be(59301),we=Be(57809),ze=Be(78241),At=Be(3113),Ze=Be(89780),Re=Be.n(Ze),he=Be(8336),ve=Be(12469),De=Object.defineProperty,ce=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(me,Ue,Pe)=>Ue in me?De(me,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):me[Ue]=Pe,a=(me,Ue)=>{for(var Pe in Ue||(Ue={}))Ce.call(Ue,Pe)&&y(me,Pe,Ue[Pe]);if(Ee)for(var Pe of Ee(Ue))oe.call(Ue,Pe)&&y(me,Pe,Ue[Pe]);return me},E=(me,Ue)=>ce(me,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"]};Mt.Z=({callback:me,onCancel:Ue})=>{const[Pe,Te]=(0,ue.useState)("python");function Ve(nt){Te(z[nt][1])}function Ye(nt){me(nt)}return ue.createElement(ze.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),ue.createElement(ze.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ue.createElement(we.default,{getPopupContainer:nt=>nt.parentNode,onChange:Ve},Object.keys(z).map(nt=>ue.createElement(b,{key:nt,value:nt},z[nt][0])))),ue.createElement(ze.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ue.createElement(ne,{mode:Pe})),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(At.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(At.ZP,{type:"ghost",onClick:Ue},"\u53D6\u6D88")))};function ne({value:me,onChange:Ue,mode:Pe,options:Te={}}){const Ve=(0,ue.useRef)(),[Ye,nt]=(0,ue.useState)();return(0,ue.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,ue.useEffect)(()=>{Ye&&Ye.setOption("mode",Pe)},[Ye,Pe]),(0,ue.useEffect)(()=>{Ye&&(me!==Ye.getValue()||me==="")&&setTimeout(()=>{Ye.setValue(me||"")},300)},[Ye,me]),(0,ue.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]),ue.createElement("div",{className:"my-codemirror-container"},ue.createElement("textarea",{ref:Ve}))}},39793:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ei}});var ue=Be(59301),we=Be(89780),ze=Be.n(we),At=Be(76374),Ze=Be(8336),Re=Be(6313),he=Be(25717),ve=Be(99498),De=Be(25419),ce=Be(67549),Ne=Be(91842),Ee=({value:Dn="",className:Gn,showTextOnly:Cn,showLines:Wr,style:ua={}})=>{const Kr=(0,ue.useMemo)(()=>"",[Dn]);return ue.createElement(ue.Fragment,null,ue.createElement("div",{dangerouslySetInnerHTML:{__html:Kr}}))},Ce=Be(59301),oe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(Dn,Gn,Cn)=>Gn in Dn?oe(Dn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Dn[Gn]=Cn,ne=(Dn,Gn)=>{for(var Cn in Gn||(Gn={}))b.call(Gn,Cn)&&z(Dn,Cn,Gn[Cn]);if(E)for(var Cn of E(Gn))x.call(Gn,Cn)&&z(Dn,Cn,Gn[Cn]);return Dn},me=(Dn,Gn)=>y(Dn,a(Gn));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:Dn,title:Gn,icon:Cn,actionName:Wr,className:ua="",children:Kr}){function Fa(){Dn(Wr)}return Ce.createElement("a",{title:Gn,className:ua,onClick:Fa},Ce.createElement("i",{className:`${Cn}`}),Kr)}var Te=({watch:Dn,showNullButton:Gn,showNullProgramButton:Cn,onActionCallback:Wr,fullScreen:ua,insertTemp:Kr,hidetoolBar:Fa,extraUse:ja})=>{const Na=[...Ue,{title:`${Dn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Dn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ce.createElement("ul",{className:"markdown-toolbar-container"},!Fa&&Na.map((Wa,ti)=>Ce.createElement("li",{key:ti},Wa.actionName?Ce.createElement(Pe,me(ne({},Wa),{onActionCallback:Wr})):Ce.createElement("span",{className:"v-line"}))),Gn?Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Wr},Ce.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Cn?Ce.createElement(Ce.Fragment,null,Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Wr},Ce.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Wr},Ce.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Kr&&Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Kr}`,onActionCallback:Wr},Ce.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ja&&Ce.createElement("li",null,ja),Ce.createElement("li",{className:"btn-full-screen"},Ce.createElement(Pe,{icon:`${ua?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ua?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Wr})))},Ve=Be(91558),Ye=Be(78241),nt=Be(92832),Oe=Be(3113),Ft=Object.defineProperty,Qe=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,mt=(Dn,Gn,Cn)=>Gn in Dn?Ft(Dn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Dn[Gn]=Cn,Pt=(Dn,Gn)=>{for(var Cn in Gn||(Gn={}))it.call(Gn,Cn)&&mt(Dn,Cn,Gn[Cn]);if(ut)for(var Cn of ut(Gn))Nt.call(Gn,Cn)&&mt(Dn,Cn,Gn[Cn]);return Dn},gt=(Dn,Gn)=>Qe(Dn,kt(Gn));const et={labelCol:{span:4},wrapperCol:{span:20}};var Xt=({callback:Dn,onCancel:Gn})=>{function Cn(Wr){Dn(Wr)}return ue.createElement(Ye.default,gt(Pt({},et),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Cn,style:{width:500}}),ue.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ue.createElement(nt.default,null)),ue.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ue.createElement(nt.default,null)),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(Oe.ZP,{type:"ghost",onClick:Gn},"\u53D6\u6D88")))},An=Be(69720),bt=Be(17077),qt=Be(43418),wn=Be(95237),zn=Be(9507),fn=Be(59301),qn=({callback:Dn,onCancel:Gn})=>{const Cn=document.createElement("canvas"),Wr=Cn.getContext("2d");Cn.width=1e3,Cn.height=800,Wr.fillStyle="#ffffff",Wr.fillRect(0,0,Cn.width,Cn.height);const ua=Cn.toDataURL("image/png");return fn.createElement(qt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},fn.createElement(wn.Z,{style:{height:"100vh"}},fn.createElement(zn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ua,visible:!0,title:String(Date.now())},onOk:Kr=>{Dn({src:Kr.url})},onClose:Gn})))},It=Be(12378);function On(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(On,go.CommandHandler),On.prototype.canAlignSelection=function(){var Dn=this.diagram;return!(Dn===null||Dn.isReadOnly||Dn.isModelReadOnly||Dn.selection.count<2)},On.prototype.alignLeft=function(){var Dn=this.diagram;Dn.startTransaction("aligning left");var Gn=1/0;Dn.selection.each(function(Cn){Cn instanceof go.Link||(Gn=Math.min(Cn.position.x,Gn))}),Dn.selection.each(function(Cn){Cn instanceof go.Link||Cn.move(new go.Point(Gn,Cn.position.y))}),Dn.commitTransaction("aligning left")},On.prototype.alignRight=function(){var Dn=this.diagram;Dn.startTransaction("aligning right");var Gn=-1/0;Dn.selection.each(function(Cn){if(!(Cn instanceof go.Link)){var Wr=Cn.actualBounds.x+Cn.actualBounds.width;Gn=Math.max(Wr,Gn)}}),Dn.selection.each(function(Cn){Cn instanceof go.Link||Cn.move(new go.Point(Gn-Cn.actualBounds.width,Cn.position.y))}),Dn.commitTransaction("aligning right")},On.prototype.alignTop=function(){var Dn=this.diagram;Dn.startTransaction("alignTop");var Gn=1/0;Dn.selection.each(function(Cn){Cn instanceof go.Link||(Gn=Math.min(Cn.position.y,Gn))}),Dn.selection.each(function(Cn){Cn instanceof go.Link||Cn.move(new go.Point(Cn.position.x,Gn))}),Dn.commitTransaction("alignTop")},On.prototype.alignBottom=function(){var Dn=this.diagram;Dn.startTransaction("aligning bottom");var Gn=-1/0;Dn.selection.each(function(Cn){if(!(Cn instanceof go.Link)){var Wr=Cn.actualBounds.y+Cn.actualBounds.height;Gn=Math.max(Wr,Gn)}}),Dn.selection.each(function(Cn){Cn instanceof go.Link||Cn.move(new go.Point(Cn.actualBounds.x,Gn-Cn.actualBounds.height))}),Dn.commitTransaction("aligning bottom")},On.prototype.alignCenterX=function(){var Dn=this.diagram,Gn=Dn.selection.first();if(Gn){Dn.startTransaction("aligning Center X");var Cn=Gn.actualBounds.x+Gn.actualBounds.width/2;Dn.selection.each(function(Wr){Wr instanceof go.Link||Wr.move(new go.Point(Cn-Wr.actualBounds.width/2,Wr.actualBounds.y))}),Dn.commitTransaction("aligning Center X")}},On.prototype.alignCenterY=function(){var Dn=this.diagram,Gn=Dn.selection.first();if(Gn){Dn.startTransaction("aligning Center Y");var Cn=Gn.actualBounds.y+Gn.actualBounds.height/2;Dn.selection.each(function(Wr){Wr instanceof go.Link||Wr.move(new go.Point(Wr.actualBounds.x,Cn-Wr.actualBounds.height/2))}),Dn.commitTransaction("aligning Center Y")}},On.prototype.alignColumn=function(Dn){var Gn=this.diagram;Gn.startTransaction("align Column"),Dn===void 0&&(Dn=0),Dn=parseFloat(Dn);var Cn=new Array;Gn.selection.each(function(ja){ja instanceof go.Link||Cn.push(ja)});for(var Wr=0;Wr0){for(var ja=Kr.elt(Fa-1);ja!==null&&ja.isTreeExpanded&&!ja.isTreeLeaf;){var Na=this._sortTreeChildrenByY(ja);ja=Na.last()}ja!==null&&Dn.select(ja)}else Dn.select(ua)}}else if(Cn.key==="Down")if(Gn.isTreeExpanded&&!Gn.isTreeLeaf){var Wr=this._sortTreeChildrenByY(Gn).first();Wr!==null&&Dn.select(Wr)}else for(;Gn!==null;){var ua=Gn.findTreeParentNode();if(ua===null)break;var Kr=this._sortTreeChildrenByY(ua),Fa=Kr.indexOf(Gn);if(FaKr.y?1:ua.xKr.x?1:0}),Gn},On.prototype.copyToClipboard=function(Dn){go.CommandHandler.prototype.copyToClipboard.call(this,Dn),this._lastPasteOffset.set(this.pasteOffset)},On.prototype.pasteFromClipboard=function(){var Dn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Dn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Dn},Object.defineProperty(On.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Dn){if(Dn!=="move"&&Dn!=="select"&&Dn!=="scroll"&&Dn!=="tree"&&Dn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Dn);this._arrowKeyBehavior=Dn}}),Object.defineProperty(On.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Dn){if(!(Dn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Dn);this._pasteOffset.set(Dn)}});var rr=On,ke=Be(63720),_t=Be(43604),He=Be(38986),pe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},se=Be(59301),ye=(Dn,Gn,Cn)=>new Promise((Wr,ua)=>{var Kr=Na=>{try{ja(Cn.next(Na))}catch(Wa){ua(Wa)}},Fa=Na=>{try{ja(Cn.throw(Na))}catch(Wa){ua(Wa)}},ja=Na=>Na.done?Wr(Na.value):Promise.resolve(Na.value).then(Kr,Fa);ja((Cn=Cn.apply(Dn,Gn)).next())});function qe({onCancel:Dn,callback:Gn}){let Cn=(0,ue.useRef)(),Wr=(0,ue.useRef)(),ua=(0,ue.useRef)(),Kr=(0,ue.useRef)(!1);const Fa=(0,ue.useRef)(!1),[ja,Na]=(0,ue.useState)(0);function Wa(){const Lr=It.bx.make,Ra={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"};Cn.current=new It.S0(Wr.current,{padding:20,grid:Lr(It.s_,"Grid",Lr(It.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Lr(It.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Yr=>{var Da=Yr.diagram.commandHandler.addTopLevelParts(Yr.diagram.selection,!0);Da||Yr.diagram.currentTool.doCancel()},commandHandler:Lr(rr),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Yr=>{var Da=Yr.subject;Da.location=Da.location.copy().snapToGridPoint(Yr.diagram.grid.gridOrigin,Yr.diagram.grid.gridCellSize),setTimeout(()=>{Yr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Yr=>{var Da=Yr.subject;setTimeout(()=>{Yr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Yr=>{var Da=Yr.parameter.part;Da.invalidateConnectedLinks();var lo=Yr.subject;Yr.diagram.toolManager.linkingTool.isForwards?lo.toNode.invalidateConnectedLinks():lo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Cn.current.nodeTemplate=Lr(It.NB,"Auto",{locationSpot:It.z6.Center,locationObjectName:"SHAPE",desiredSize:new It.$u(120,60),minSize:new It.$u(40,40),resizable:!0,resizeCellSize:new It.$u(10,10),rotatable:!0},new It.KX("location","loc",It.E9.parse).makeTwoWay(It.E9.stringify),new It.KX("desiredSize","size",It.$u.parse).makeTwoWay(It.$u.stringify),Lr(It.bn,{name:"SHAPE",fill:Ra.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:It.z6.AllSides,toSpot:It.z6.AllSides},new It.KX("figure"),new It.KX("fill"),new It.KX("stroke","borderColor"),new It.KX("strokeWidth","thickness"),new It.KX("strokeDashArray","dash")),Lr(It.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Lr(It.al,{margin:1,textAlign:"center",overflow:It.al.OverflowEllipsis,editable:!0},new It.KX("text").makeTwoWay(),new It.KX("stroke","color"))),Cn.current.nodeTemplate.toolTip=Lr("ToolTip",Lr(It.s_,"Vertical",{maxSize:new It.$u(200,NaN)},Lr(It.al,{font:"bold 10pt sans-serif",textAlign:"center"},new It.KX("text")),Lr(It.al,{font:"10pt sans-serif",textAlign:"center"},new It.KX("text","details"))));function Xo(Yr,Da){var lo=(ya,Ro)=>{ya.handled=!0,ya.diagram.model.commit(Ga=>{var Ca=Ro.part.adornedPart,Oa=new It.E9().setRectSpot(Ca.actualBounds,Yr);Oa.subtract(Ca.location),Oa.scale(2,2),Oa.x+=Math.sign(Oa.x)*130,Oa.y+=Math.sign(Oa.y)*130,Oa.add(Ca.location),Oa.snapToGridPoint(ya.diagram.grid.gridOrigin,ya.diagram.grid.gridCellSize);var Qi=Ga.copyNodeData(Ca.data);Ga.setGroupKeyForNodeData(Qi,Ga.getGroupKeyForNodeData(Ca.data)),Ga.addNodeData(Qi);var Uo={from:Ca.key,to:Ga.getKeyForNodeData(Qi)};Ga.addLinkData(Uo);var Ji=ya.diagram.findNodeForData(Qi);Ji.location=Oa,ya.diagram.select(Ji),setTimeout(()=>{ya.diagram.commandHandler.editTextBlock()},20)})};return Lr(It.bn,{figure:Da,alignment:Yr,alignmentFocus:Yr.opposite(),width:Yr.equals(It.z6.Top)||Yr.equals(It.z6.Bottom)?25:18,height:Yr.equals(It.z6.Top)||Yr.equals(It.z6.Bottom)?18:25,fill:"orange",stroke:Ra.white,strokeWidth:4,mouseEnter:(ya,Ro)=>Ro.fill="dodgerblue",mouseLeave:(ya,Ro)=>Ro.fill="orange",isActionable:!0,click:lo,contextClick:lo})}function Lo(Yr){return Lr(It.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Da,lo)=>lo.fill="dodgerblue",mouseLeave:(Da,lo)=>lo.fill="orange",click:(Da,lo)=>{Da.diagram.commandHandler.showContextMenu(lo.part.adornedPart)}},Yr||{})}Cn.current.nodeTemplate.selectionAdornmentTemplate=Lr(It.uz,"Spot",Lr(It.Vm,{padding:10}),Xo(It.z6.Top,"TriangleUp"),Xo(It.z6.Left,"TriangleLeft"),Xo(It.z6.Right,"TriangleRight"),Xo(It.z6.Bottom,"TriangleDown"),Lo({alignment:new It.z6(.75,0)}));function No(Yr,Da){return(lo,ya)=>{lo.handled=!0,lo.diagram.model.commit(Ro=>{Ro.set(ya.part.adornedPart.data,Yr,Da)})}}function so(Yr,Da){return Da||(Da="color"),Lr(It.bn,{width:16,height:16,stroke:"lightgray",fill:Yr,margin:1,background:"transparent",mouseEnter:(lo,ya)=>ya.stroke="dodgerblue",mouseLeave:(lo,ya)=>ya.stroke="lightgray",click:No(Da,Yr),contextClick:No(Da,Yr)})}function Ai(){return[Lr("ContextMenuButton",Lr(It.s_,"Horizontal",so(Ra.white,"fill"),so(Ra.beige,"fill"),so(Ra.extralightblue,"fill"),so(Ra.extralightred,"fill"))),Lr("ContextMenuButton",Lr(It.s_,"Horizontal",so(Ra.lightgray,"fill"),so(Ra.lightgreen,"fill"),so(Ra.lightblue,"fill"),so(Ra.lightred,"fill")))]}function Di(){return[Lr("ContextMenuButton",Lr(It.s_,"Horizontal",so(Ra.black),so(Ra.green),so(Ra.blue),so(Ra.red))),Lr("ContextMenuButton",Lr(It.s_,"Horizontal",so(Ra.white),so(Ra.magenta),so(Ra.purple),so(Ra.orange)))]}function vi(Yr,Da){return Da||(Da="thickness"),Lr(It.bn,"LineH",{width:16,height:16,strokeWidth:Yr,margin:1,background:"transparent",mouseEnter:(lo,ya)=>ya.background="dodgerblue",mouseLeave:(lo,ya)=>ya.background="transparent",click:No(Da,Yr),contextClick:No(Da,Yr)})}function rA(Yr,Da){return Da||(Da="dash"),Lr(It.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Yr,margin:1,background:"transparent",mouseEnter:(lo,ya)=>ya.background="dodgerblue",mouseLeave:(lo,ya)=>ya.background="transparent",click:No(Da,Yr),contextClick:No(Da,Yr)})}function Ci(){return[Lr("ContextMenuButton",Lr(It.s_,"Horizontal",vi(1),vi(2),vi(3),vi(4))),Lr("ContextMenuButton",Lr(It.s_,"Horizontal",rA(null),rA([2,4]),rA([4,4])))]}function Do(Yr,Da){return Da||(Da="figure"),Lr(It.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Yr,margin:1,background:"transparent",mouseEnter:(lo,ya)=>ya.fill="dodgerblue",mouseLeave:(lo,ya)=>ya.fill="lightgray",click:No(Da,Yr),contextClick:No(Da,Yr)})}Cn.current.nodeTemplate.contextMenu=Lr("ContextMenu",Lr("ContextMenuButton",Lr(It.s_,"Horizontal",Do("Rectangle"),Do("RoundedRectangle"),Do("Ellipse"),Do("Diamond"))),Lr("ContextMenuButton",Lr(It.s_,"Horizontal",Do("Parallelogram2"),Do("ManualOperation"),Do("Procedure"),Do("Cylinder1"))),Lr("ContextMenuButton",Lr(It.s_,"Horizontal",Do("Terminator"),Do("CreateRequest"),Do("Document"),Do("TriangleDown"))),Ai(),Di(),Ci()),Cn.current.groupTemplate=Lr(It.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:It.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Yr,Da)=>{var lo=Da.addMembers(Da.diagram.selection,!0);lo||Da.diagram.currentTool.doCancel()},avoidable:!1},new It.KX("location","loc",It.E9.parse).makeTwoWay(It.E9.stringify),Lr(It.s_,"Auto",{name:"BODY"},Lr(It.bn,{parameter1:10,fill:Ra.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:It.z6.AllSides,toSpot:It.z6.AllSides},new It.KX("fill"),new It.KX("stroke","color"),new It.KX("strokeWidth","thickness"),new It.KX("strokeDashArray","dash")),Lr(It.Vm,{background:"transparent",margin:20})),Lr(It.al,{alignment:It.z6.Top,alignmentFocus:It.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new It.KX("text"),new It.KX("stroke","color"))),Cn.current.groupTemplate.selectionAdornmentTemplate=Lr(It.uz,"Spot",Lr(It.s_,"Auto",Lr(It.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Lr(It.Vm,{margin:1.5})),Lo({alignment:It.z6.TopRight,alignmentFocus:It.z6.BottomRight})),Cn.current.groupTemplate.contextMenu=Lr("ContextMenu",Ai(),Di(),Ci()),Cn.current.linkTemplate=Lr(It.rU,{layerName:"Foreground",routing:It.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new It.KX("fromSpot","fromSpot",It.z6.parse),new It.KX("toSpot","toSpot",It.z6.parse),new It.KX("fromShortLength","dir",Yr=>Yr>=1?10:0),new It.KX("toShortLength","dir",Yr=>Yr>=1?10:0),new It.KX("points").makeTwoWay(),Lr(It.bn,{strokeWidth:2},new It.KX("stroke","color"),new It.KX("strokeWidth","thickness"),new It.KX("strokeDashArray","dash")),Lr(It.bn,{segmentIndex:0,segmentOffset:new It.E9(15,0),segmentOrientation:It.rU.OrientAlong,alignmentFocus:It.z6.Right,figure:"circle",width:10,strokeWidth:0},new It.KX("fill","color"),new It.KX("visible","dir",Yr=>Yr===1)),Lr(It.bn,{segmentIndex:-1,segmentOffset:new It.E9(-10,6),segmentOrientation:It.rU.OrientPlus90,alignmentFocus:It.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new It.KX("fill","color"),new It.KX("visible","dir",Yr=>Yr>=1),new It.KX("width","thickness",Yr=>7+3*Yr),new It.KX("height","thickness",Yr=>7+3*Yr),new It.KX("segmentOffset","thickness",Yr=>new It.E9(-15,4+1.5*Yr))),Lr(It.bn,{segmentIndex:0,segmentOffset:new It.E9(15,-6),segmentOrientation:It.rU.OrientMinus90,alignmentFocus:It.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new It.KX("fill","color"),new It.KX("visible","dir",Yr=>Yr===2),new It.KX("width","thickness",Yr=>7+3*Yr),new It.KX("height","thickness",Yr=>7+3*Yr),new It.KX("segmentOffset","thickness",Yr=>new It.E9(-15,4+1.5*Yr))),Lr(It.al,{alignmentFocus:new It.z6(0,1,-4,0),editable:!0},new It.KX("text").makeTwoWay(),new It.KX("stroke","color"))),Cn.current.linkTemplate.selectionAdornmentTemplate=Lr(It.uz,Lr(It.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Yi(2)},new It.KX("pathPattern","thickness",Yi)),Lo({alignmentFocus:new It.z6(0,0,-6,-4)}));function Yi(Yr){return Lr(It.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Yr+4).toString()+" H3"})}function _A(Yr){var Da="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Yr===0?Da="M0 0 M16 16 M0 8 L16 8":Yr===2&&(Da="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Lr(It.bn,{geometryString:Da,margin:2,background:"transparent",mouseEnter:(lo,ya)=>ya.background="dodgerblue",mouseLeave:(lo,ya)=>ya.background="transparent",click:No("dir",Yr),contextClick:No("dir",Yr)})}function Ui(Yr){var Da=(lo,ya)=>{lo.handled=!0,lo.diagram.model.commit(Ro=>{var Ga=ya.part.adornedPart;Ro.set(Ga.data,Yr?"toSpot":"fromSpot",It.z6.stringify(It.z6.AllSides)),(Yr?Ga.toNode:Ga.fromNode).invalidateConnectedLinks()})};return Lr(It.bn,{width:12,height:12,fill:"transparent",mouseEnter:(lo,ya)=>ya.background="dodgerblue",mouseLeave:(lo,ya)=>ya.background="transparent",click:Da,contextClick:Da})}function Dr(Yr,Da){var lo=0,ya=It.z6.RightSide;Yr.equals(It.z6.Top)?(lo=270,ya=It.z6.TopSide):Yr.equals(It.z6.Left)?(lo=180,ya=It.z6.LeftSide):Yr.equals(It.z6.Bottom)&&(lo=90,ya=It.z6.BottomSide),Da||(lo-=180);var Ro=(Ga,Ca)=>{Ga.handled=!0,Ga.diagram.model.commit(Oa=>{var Qi=Ca.part.adornedPart;Oa.set(Qi.data,Da?"toSpot":"fromSpot",It.z6.stringify(ya)),(Da?Qi.toNode:Qi.fromNode).invalidateConnectedLinks()})};return Lr(It.bn,{alignment:Yr,alignmentFocus:Yr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:lo,background:"transparent",mouseEnter:(Ga,Ca)=>Ca.background="dodgerblue",mouseLeave:(Ga,Ca)=>Ca.background="transparent",click:Ro,contextClick:Ro})}Cn.current.linkTemplate.contextMenu=Lr("ContextMenu",Di(),Ci(),Lr("ContextMenuButton",Lr(It.s_,"Horizontal",_A(0),_A(1),_A(2))),Lr("ContextMenuButton",Lr(It.s_,"Horizontal",Lr(It.s_,"Spot",Ui(!1),Dr(It.z6.Top,!1),Dr(It.z6.Left,!1),Dr(It.z6.Right,!1),Dr(It.z6.Bottom,!1)),Lr(It.s_,"Spot",{margin:new It.Zt(0,0,0,2)},Ui(!0),Dr(It.z6.Top,!0),Dr(It.z6.Left,!0),Dr(It.z6.Right,!0),Dr(It.z6.Bottom,!0)))));const Cl=`{ "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 $A=["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 Zs(Yr){return console.log("shapeName:",Yr),$A.indexOf(Yr)>=0}var TA=new It.YI(ua.current,{maxSelectionCount:1,linkTemplate:Lr(It.rU,{locationSpot:It.z6.Center,selectionAdornmentTemplate:Lr(It.uz,"Link",{locationSpot:It.z6.Center},Lr(It.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Lr(It.bn,{toArrow:"Standard",stroke:null}))},{routing:It.rU.AvoidsNodes,curve:It.rU.JumpOver,corner:5,toShortLength:4},new It.KX("points"),Lr(It.bn,{isPanelMain:!0,strokeWidth:2}),Lr(It.bn,{toArrow:"Standard",stroke:null})),model:new It.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...It.bn.getFigureGenerators().toArray().map(Yr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Yr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Cn.current.addDiagramListener("TextEdited",function(Yr){var Da;const lo=Yr.subject.part;var ya=(Da=document.activeElement)==null?void 0:Da.value;typeof ya=="string"&&ya.trim()===""&&Cn.current.model.commit(function(Ro){Ro.set(lo.data,"text","\u672A\u547D\u540D"),Cn.current.commandHandler.stopCommand()},"increment")}),TA.nodeTemplate=Lr(It.NB,"Auto",{locationSpot:It.z6.Center},new It.KX("location","location",It.E9.parse).makeTwoWay(It.E9.stringify),Lr(It.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new It.KX("stroke").makeTwoWay(),new It.KX("fill").makeTwoWay(),new It.KX("figure")),Lr(It.al,{margin:new It.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new It.$u(16,16),maxSize:new It.$u(10,NaN),textAlign:"center",editable:!0},new It.KX("key").makeTwoWay())),setTimeout(()=>{Cn.current.grid=Lr(It.s_,"Grid",Lr(It.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Lr(It.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Cn.current.grid.visible=!0,Cn.current.grid.gridCellStroke="darkgray",Cn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Cn.current,Cn.current}const ti=()=>ye(this,null,function*(){var Lr=Cn.current.makeImage();const Ra=yield(0,He.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Lr.src}});Gn({src:Ra.url})});return(0,ue.useEffect)(()=>(setTimeout(()=>{Wa()},500),Na(ja+1),()=>{Cn.current=null}),[]),se.createElement("div",{ref:Fa,className:Kr.current?`${pe.maxH60} body-overflow-initial`:"body-overflow-initial"},se.createElement(qt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ja,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:se.createElement(wn.Z,null,se.createElement(_t.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),se.createElement(_t.Z,{onClick:()=>{var Lr,Ra,Xo=Cn.current.selection.first();if(Kr.current=!Kr.current,document.activeElement&&Xo){let Lo=(Ra=(Lr=document.activeElement)==null?void 0:Lr.value)==null?void 0:Ra.trim();typeof Lo=="string"&&Cn.current.model.commit(function(No){No.set(Xo.data,"text",Lo||"\u672A\u547D\u540D"),Cn.current.commandHandler.stopCommand()},"increment")}Na(ja+1)}},se.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Dn},se.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:pe.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:pe.myPaletteDiv,ref:ua})),se.createElement("div",{style:{flex:1,position:"relative"}},se.createElement("div",{ref:Wr,style:{height:"80vh"}}))),se.createElement("div",{className:"tr"},se.createElement(Oe.ZP,{size:"large",onClick:ti,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var pt=qe,Me=Be(5112),Xe=Be(5871);const Ot=Me.ZP.Group,yt={margin:"0 8px"};var lt=({callback:Dn,onCancel:Gn})=>{function Cn(Wr){Dn(Wr)}return ue.createElement(Ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Cn},ue.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ue.createElement("span",{style:yt},"\u5355\u5143\u683C\u6570\uFF1A"),ue.createElement("span",{style:yt},"\u884C\u6570"),ue.createElement(Ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ue.createElement(Xe.Z,null)),ue.createElement("span",{style:yt},"\u5217\u6570"),ue.createElement(Ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ue.createElement(Xe.Z,null))),ue.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ue.createElement("span",{style:yt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ue.createElement(Ye.default.Item,{name:"align"},ue.createElement(Ot,null,ue.createElement(Me.ZP,{value:"default"},ue.createElement("i",{className:"fa fa-align-justify"})),ue.createElement(Me.ZP,{value:"left"},ue.createElement("i",{className:"fa fa-align-left"})),ue.createElement(Me.ZP,{value:"center"},ue.createElement("i",{className:"fa fa-align-center"})),ue.createElement(Me.ZP,{value:"right"},ue.createElement("i",{className:"fa fa-align-right"}))))),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(Oe.ZP,{type:"ghost",onClick:Gn},"\u53D6\u6D88")))},Wt=Be(78673),kn=Be(43001),Qt=Be.n(kn),Rt=(0,ue.forwardRef)(({use3d:Dn,width:Gn,height:Cn,callback:Wr,showSaveButton:ua},Kr)=>{const Fa=(0,ue.useRef)(),ja=(0,ue.useRef)(),[Na,Wa]=(0,ue.useState)(!1),ti=(0,ue.useRef)({id:Fa,appName:"graphing",width:Gn||1e3,height:Cn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ue.useEffect)(()=>{ja.current=new(Qt())(ti.current,!0),window.onload=function(){ja.current.inject("applet_container")}},[]);const Lr=()=>{var Ra=window.ggbApplet.getPNGBase64(1,!0,72);return Wr&&Wr(Ra),Ra};return(0,ue.useEffect)(()=>{ti.current.appName=Na?"3D":"graphing",ja.current.inject("applet_container")},[Na]),(0,ue.useEffect)(()=>{Wa(Dn)},[Dn]),(0,ue.useImperativeHandle)(Kr,()=>({getImgData:Lr})),ue.createElement(ue.Fragment,null,ue.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fa}),ue.createElement(wn.Z,{align:"middle"},ue.createElement(_t.Z,{flex:1},ue.createElement(Wt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Na,onChange:Ra=>Wa(Ra)})),ue.createElement(_t.Z,null,ue.createElement(Oe.ZP,{size:"large",onClick:Lr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),bn=Be(76562),tn=Be(1012),Ar=Be(8591);const Sr="link",gr="upload-image",zr="add-flowchart",Nr="draw-image",ma="add-flowchart",Qr="code-block",ea="add-table",xr="------------",_r={default:xr,left:`:${xr}`,center:`:${xr}:`,right:`${xr}:`};var qr=Be(37808),Pa=(Dn,Gn,Cn)=>new Promise((Wr,ua)=>{var Kr=Na=>{try{ja(Cn.next(Na))}catch(Wa){ua(Wa)}},Fa=Na=>{try{ja(Cn.throw(Na))}catch(Wa){ua(Wa)}},ja=Na=>Na.done?Wr(Na.value):Promise.resolve(Na.value).then(Kr,Fa);ja((Cn=Cn.apply(Dn,Gn)).next())});function ga(){}let aa=0;const Fo=1e4,za="\u2581",da="@\u2581\u2581@",Bn="@\u2581@",wi=` **\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`,ro=["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 pi(Dn){return/^\d+$/.test(Dn)?`${Dn}px`:Dn}const xo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",bi={[xo+"-B"]:"bold",[xo+"-I"]:"italic"},Jo={[Sr]:"\u6DFB\u52A0\u94FE\u63A5",[Qr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[gr]:"\u6DFB\u52A0\u56FE\u7247",[Nr]:"\u6DFB\u52A0\u753B\u56FE",[zr]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ea]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ei=({defaultValue:Dn="",onChange:Gn,width:Cn="100%",height:Wr=400,miniToolbar:ua=!1,isFocus:Kr=!1,watch:Fa,insertTemp:ja,mode:Na="markdown",id:Wa="markdown-editor-id",showResizeBar:ti=!1,noStorage:Lr=!1,showNullButton:Ra=!1,showNullProgramButton:Xo=!1,hidetoolBar:Lo=!1,fullScreen:No=!1,onBlur:so,onCMBeforeChange:Ai,onFullScreen:Di,className:vi="",disablePaste:rA=!1,disabled:Ci=!1,disabledFill:Do=!1,placeholder:Yi="",values:_A="",extraUse:Ui})=>{const[Dr,Cl]=(0,ue.useState)(null),[$A,Zs]=(0,ue.useState)(Dn),[TA,Yr]=(0,ue.useState)(Fa),[Da,lo]=(0,ue.useState)(No),[ya,Ro]=(0,ue.useState)(""),[Ga,Ca]=(0,ue.useState)(0),[Oa,Qi]=(0,ue.useState)(Wr),[Uo,Ji]=(0,ue.useState)(!1),Vs=(0,ue.useRef)((0,tn.Z)()),vs=(0,ue.useRef)(!1),aA=(0,ue.useRef)(),[jA,kA]=(0,ue.useState)(0),[Bs,Ss]=(0,ue.useState)(0),HA=(0,ue.useRef)(),Bi=(0,ue.useRef)(),cn=(0,ue.useRef)(),Go=(0,ue.useRef)(),xi=()=>Pa(void 0,null,function*(){var hn;const Hn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Vs.current}});(hn=Hn==null?void 0:Hn.attachments)!=null&&hn.length&&(console.log("cm:",Dr,HA),Hn.attachments.map(Wn=>{Wn.content_type.indexOf("image")>-1?Dr.replaceSelection(`![,](/api/attachments/${Wn.id}?type=${Wn.content_type})`):Wn.content_type.indexOf("video")>-1?Dr.replaceSelection(``):Wn.content_type.indexOf("pdf")>-1?Dr.replaceSelection(`${Wn.name}`):Dr.replaceSelection(`[${Wn.name}](${ENV.API_SERVER}/api/attachments/${Wn.id}?type=${Wn.content_type})`)}))});(0,ue.useEffect)(()=>{const hn=window.scrollY||window.pageYOffset;Zs(_A),Dr==null||Dr.setValue(_A),window.scrollTo(0,hn)},[_A]),(0,ue.useEffect)(()=>{Di==null||Di(Da)},[Da]),(0,ue.useEffect)(()=>{if(HA.current){let hn=function(Wn,dr){var Hr;if(rA){dr.preventDefault();return}const br=dr.clipboardData;if(br){const Or=br.types.toString(),nn=br.items;if(Or==="Files"||br.types.indexOf("Files")>-1){if(dr.preventDefault(),Na=="stex")return;try{let vn=nn[1];((Hr=nn[0])==null?void 0:Hr.kind)==="file"&&(vn=nn[0]);const In=vn.getAsFile(),Yn=In.name.split(".").pop();(0,bt.I)(In,Tr=>{var ra,ar,Br;Tr.id?((ra=In==null?void 0:In.type)==null?void 0:ra.indexOf("image"))>-1?Hn.replaceSelection(``):((ar=In==null?void 0:In.type)==null?void 0:ar.indexOf("video"))>-1?Hn.replaceSelection(``):((Br=In==null?void 0:In.type)==null?void 0:Br.indexOf("pdf"))>-1?Hn.replaceSelection(`${In.name}`):ro.includes(Yn)?Hn.replaceSelection(`${In.name}`):Hn.replaceSelection(`[${In.name}](/api/attachments/${Tr.id}?type=${Tr.content_type})`):(Tr==null?void 0:Tr.status)===401&&(Ar.ZP.warning((Tr==null?void 0:Tr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(vn){Ar.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Hn=ze().fromTextArea(HA.current,{mode:Na,lineNumbers:!ua,lineWrapping:!0,value:Dn,autoCloseTags:!Xo,autoCloseBrackets:!0});return Hn.on("keyup",function(Wn,dr){dr.keyCode===8&&(Wn.getValue()==""?Hn.setOption("placeholder",Yi):Hn.setOption("placeholder",null))}),Hn.on("keydown",function(Wn,dr){if(dr.keyCode===8){var Hr=Ys(Wn);Hr&&dr.preventDefault()}}),Kr&&Hn.focus(),Hn.on("paste",hn),Hn.on("dragleave",function(Wn,dr){Bi.current.classList.remove("mouse-hover-md")}),Ci&&Hn.on("beforeChange",function(Wn,dr){(dr.origin==="paste"||dr.origin==="+input")&&dr.cancel()}),Cl(Hn),()=>{Hn.off("paste",hn)}}},[]);const As=(0,ue.useCallback)(()=>{if(Bi.current)try{}catch(hn){console.log(hn,"---- to set md editor body height")}},[Oa,Bi,Da]);(0,ue.useEffect)(()=>{function hn(){let Hn=new At.Z(Wn=>{for(let dr of Wn)(dr.target.offsetHeight>0||dr.target.offsetWidth>0)&&(As(),Dr.setSize("100%","100%"),Dr.refresh())});return Hn.observe(HA.current.parentElement),Hn}if(Dr){const Hn=hn();return()=>{var Wn,dr;(Wn=HA.current)!=null&&Wn.parentElement&&Hn.unobserve((dr=HA.current)==null?void 0:dr.parentElement)}}},[Dr,As]),(0,ue.useEffect)(()=>{if(Dr){let hn=[];for(const[Hn,Wn]of Object.entries(bi)){let dr={[Hn]:()=>{Js(Wn)}};hn.push(dr),Dr.addKeyMap(dr)}return aA.current=setInterval(()=>{vs.current&&xi()},4e3),()=>{clearInterval(aA.current);for(let Hn of hn)Dr.removeKeyMap(Hn)}}},[Dr]),(0,ue.useEffect)(()=>{No!==Da&&lo(No)},[No]),(0,qr.Z)(()=>{if(!Lr&&Ga>0){let hn=new Date().getTime(),Hn=window.sessionStorage.getItem(Wa);hn>=Ga+Fo&&(!Hn||Hn!==$A)&&(window.sessionStorage.setItem(Wa,$A),Ji(!0))}},Fo),(0,ue.useEffect)(()=>{Yr(Fa)},[Dr,Fa]),(0,ue.useEffect)(()=>{Dr&&Kr&&Dr.focus()},[Dr,Kr]),(0,ue.useEffect)(()=>{if(TA&&Dr){let hn=function(Wn){let dr=Wn.target;if(Go.current){let Hr=dr.scrollTop/dr.scrollHeight;Go.current.scrollTop=Go.current.scrollHeight*Hr}};const Hn=Dr.getScrollerElement();return Hn.addEventListener("scroll",hn),()=>{Hn.removeEventListener("scroll",hn)}}},[Dr,TA]),(0,ue.useEffect)(()=>{if(Dr&&Ai){let hn=function(Hn,Wn){Ai(Hn,Wn)};return Dr.on("beforeChange",hn),()=>{Dr.off("beforeChange",hn)}}},[Dr,Ai]),(0,ue.useEffect)(()=>{if(Dr&&so){let hn=function(){so(Dr.getValue())};return Dr.on("blur",hn),()=>{Dr.off("blur",hn)}}},[Dr,so]);function Ys(hn,Hn){var Wn=hn.getDoc(),dr=Wn.getCursor(),Hr=Wn.getLine(dr.line),br=Hr.charAt(dr.ch-1),Or=Hr.lastIndexOf("@\u2581@",dr.ch),nn=Hr.lastIndexOf("@\u2581\u2581@",dr.ch),vn=Or>nn?Or:nn,In=Or>nn?3:4;if(da.indexOf(br)===-1)return null;if(console.log("change1:",Hn,hn,Hr,dr,vn,Or,nn,br),vn>=0&&dr.ch-vn<5){var Yn=vn+In;return Wn.replaceRange("",{line:dr.line,ch:vn},{line:dr.line,ch:Yn}),{line:dr.line,ch:Yn}}return null}(0,ue.useEffect)(()=>{if(Dr){let hn=function(Hn,Wn){const dr=Hn.getValue();Zs(dr),Ca(new Date().getTime()),Hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Gn&&(Xo?Gn(dr,li(dr)):Gn(dr))};return Dr.on("change",hn),()=>{Dr.off("change",hn)}}},[Dr,Gn]),(0,ue.useEffect)(()=>{if(Dr)if(Dn==null)Dr.setValue(""),Zs("");else{const hn=window.scrollY||window.pageYOffset;Dn!==Dr.getValue()&&(Dr.setValue(Dn),Zs(Dn),Dr.setCursor(Ci?1:Dr.lineCount(),0),window.scrollTo(0,hn))}},[Dr,Dn]);const Js=(0,ue.useCallback)(hn=>{const Hn=Dr.getCursor(),Wn=Dr.getSelection();let dr=Wn.split(` `);switch(hn){case"bold":return Dr.replaceSelection("**"+Wn+"**"),Wn===""&&Dr.setCursor(Hn.line,Hn.ch+2),Dr.focus();case"italic":return Dr.replaceSelection("*"+Wn+"*"),Wn===""&&Dr.setCursor(Hn.line,Hn.ch+1),Dr.focus();case"code":return Dr.replaceSelection("`"+Wn+"`"),Wn===""&&Dr.setCursor(Hn.line,Hn.ch+1),Dr.focus();case"inline-latex":return Ro("inline-latex"),Dr.focus();case"latex":return Dr.replaceSelection("```latex\n"+Wn+"\n```"),Dr.setCursor(Hn.line+1,Wn.length+1),Dr.focus();case"line-break":return Dr.replaceSelection(`
`),Dr.focus();case"list-ul":return Wn===""?Dr.replaceSelection("- "+Wn):Dr.replaceSelection(dr.map(Hr=>Hr===""?"":`- ${Hr}`).join(` `)),Dr.focus();case"list-ol":return Wn===""?Dr.replaceSelection("1. "+Wn):Dr.replaceSelection(dr.map((Hr,br)=>Hr===""?"":`${br+1}. ${Hr}`).join(` `)),Dr.focus();case"add-null-ch":return Wn===""&&Dr.setCursor(Hn.line,Hn.ch),Dr.replaceSelection(za),Dr.focus();case"add-signal":return Wn===""&&Dr.setCursor(Hn.line,Hn.ch),Dr.replaceSelection(Bn),Dr.focus();case"add-multiple":return Wn===""&&Dr.setCursor(Hn.line,Hn.ch),Dr.replaceSelection(da),Dr.focus();case"inster-template-1":return Wn===""&&Dr.setCursor(Hn.line,Hn.ch),Dr.replaceSelection(wi),Dr.focus();case"eraser":return Dr.setValue(""),Dr.focus();case"trigger-watch":return Yr(!TA),Dr.focus();case"trigger-full-screen":return lo(!Da),Dr.focus();case Sr:Ro(Sr);return;case Qr:Ro(Qr);return;case gr:Ro(gr);return;case Nr:Ro(Nr);return;case"maths-latex":Ro("maths-latex");return;case zr:Ro(zr);return;case ea:Ro(ea);return;default:throw new Error}},[Dr,TA,Da]),EA=(0,ue.useCallback)((hn,Hn)=>{var Wn,dr,Hr,br,Or,nn;switch(Ro(""),ya){case Sr:const{title:ra,link:ar}=hn;return Dr.replaceSelection(`[${ra}](${ar})`),Dr.focus();case Qr:const{language:Br,content:pr}=hn;return Dr.replaceSelection(["```"+Br,pr,"```"].join(` `)),Dr.focus();case"maths-latex":for(var vn=atob(hn),In=new Uint8Array(vn.length),Yn=0;Yn{qa.id?Dr.replaceSelection(`![,](/api/attachments/${qa.id}?type=${qa.content_type})`):(qa==null?void 0:qa.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Dr.replaceSelection("`$$"+hn+"$$`");break;case gr:case Nr:case ma:const{src:Cr,alt:Fr}=hn,cr=Hn,ta=(Hr=(dr=(Wn=cr==null?void 0:cr.name)==null?void 0:Wn.split("."))==null?void 0:dr.pop)==null?void 0:Hr.call(dr);return((br=cr==null?void 0:cr.type)==null?void 0:br.indexOf("image"))>-1||!(cr!=null&&cr.type)?cr.align||cr.width?Dr.replaceSelection(`

${Fr||

`):Dr.replaceSelection(`${Fr||`):((Or=cr==null?void 0:cr.type)==null?void 0:Or.indexOf("video"))>-1?Dr.replaceSelection(``):((nn=cr==null?void 0:cr.type)==null?void 0:nn.indexOf("pdf"))>-1?Dr.replaceSelection(`${cr.name}`):ro.includes(ta)?Dr.replaceSelection(`${cr.name}`):Dr.replaceSelection(`[${cr.name}](${Cr})`),Dr.focus();case ea:const{row:Xa,col:uo,align:va}=hn;let xa=` `;for(let qa=0;qa{switch(ya){case Sr:return ue.createElement(Xt,{callback:EA,onCancel:qo});case Qr:return ue.createElement(An.Z,{callback:EA,onCancel:qo});case gr:return ue.createElement(bt.Z,{callback:EA,onCancel:qo});case zr:return ue.createElement(pt,{callback:EA,onCancel:qo});case ea:return ue.createElement(lt,{callback:EA,onCancel:qo});case"maths-latex":return ue.createElement(Rt,{showSaveButton:!0,callback:EA});case"inline-latex":return ue.createElement(bn.Z,{showSaveButton:!0,callback:EA});default:return null}},[ya]);function qo(){Ro("")}(0,ue.useEffect)(()=>{if(cn.current){let hn=function(Or){Hr=!0,br=Or.pageY},Hn=function(){Hr=!1},Wn=function(Or){if(Hr){let nn=Or.pageY-br;nn<0&&(nn=0),nn>300&&(nn=300);let vn=Wr+nn+"px";Qi(vn)}},dr=cn.current,Hr=!1,br=0;return dr.addEventListener("mousedown",hn),document.addEventListener("mousemove",Wn),document.addEventListener("mouseup",Hn),()=>{dr.removeEventListener("mousedown",hn),document.removeEventListener("mousemove",Wn),document.removeEventListener("mouseup",Hn)}}},[Dr,cn]),(0,ue.useEffect)(()=>{Qi(Wr)},[Wr]);const cl=pi(Cn),PA=pi(Oa),si={width:cl,height:PA},El=(0,ue.useMemo)(()=>{if(Ga){let hn=new Date(Ga),Hn=hn.getHours(),Wn=hn.getMinutes(),dr=hn.getSeconds();return Hn=Hn<10?"0"+Hn:Hn,Wn=Wn<10?"0"+Wn:Wn,dr=dr<10?"0"+dr:dr,`${Hn}:${Wn}:${dr}`}return 0},[Ga]),li=hn=>{const Hn=[];if(Xo){let Wn=-1;hn=hn.replace(/(@▁▁@|@▁@)/g,function(dr,Hr,br){Hn.push({multiLine:dr!==Bn})})}return Hn};function ys(){window.sessionStorage.removeItem(Wa),Ji(!1),Ca(0)}function ss(){Ji(!1),Ca(0),Dr.setValue(window.sessionStorage.getItem(Wa))}(0,ue.useEffect)(()=>{Jo[ya]&&ya!==Nr&&ya!==zr&&setTimeout(()=>{const hn=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth/2-hn.offsetWidth/2,Wn=window.innerHeight/2-hn.offsetHeight/2;kA(Hn),Ss(Wn)},0)},[ya]);const Ln=hn=>{hn.preventDefault();const Hn=hn.clientX-jA,Wn=hn.clientY-Bs;document.body.onmousemove=dr=>{let Hr=dr.clientX-Hn,br=dr.clientY-Wn;const Or=document.getElementsByClassName("markdown-popup-form")[0],nn=window.innerWidth-Or.offsetWidth,vn=window.innerHeight-Or.offsetHeight;Hr=Math.max(0,Math.min(Hr,nn)),br=Math.max(0,Math.min(br,vn)),gn(dr.clientX,dr.clientY,Hn,Wn)&&(kA(Hr),Ss(br))},document.body.onmouseup=function(){document.body.onmousemove=null}},gn=(hn,Hn,Wn,dr)=>{const Hr=document.body.clientHeight,br=document.body.clientWidth;return hn<20&&Wn>hn||hn>br-20&&WnHn||Hn>Hr-20&&drnt 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)=>Ce(Ye,oe(nt));const{useForm:ne}=ue.default,me={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 kt(it,Nt){if(it.status===-1){we.ZP.error(it.message);return}Oe.setFieldsValue({src:`/api/attachments/${it.id}`,type:Nt.type})}function ut(it){let Nt=it.target.files[0];Ft.current=Nt,Ve(Nt,kt)}return Ne.createElement(ue.default,z(x({form:Oe},Ue),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),Ne.createElement(ue.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ne.createElement("div",{className:"flex-container"},Ne.createElement(ue.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ne.createElement(ze.default,{style:me})),Ne.createElement(Te,{onFileChange:ut}))),Ne.createElement(ue.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ne.createElement(ze.default,{style:{width:264}})),Ne.createElement(ue.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ne.createElement(At.Z,null,Ne.createElement(ue.default.Item,{name:"width",style:{margin:0}},Ne.createElement(Ze.Z,{style:{width:264}})),Ne.createElement("span",{className:"ml8"},"%"))),Ne.createElement(ue.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(ue.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,ce.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",`${ve.KI}/api/attachments.json`),Ft.send(Oe)}},91558:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return ze}});var ue=Be(59301),we=Be(4676);class ze extends ue.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)}}},10661:function(rn,Mt,Be){"use strict";Be.d(Mt,{i:function(){return me},Z:function(){return Pe}});var ue={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=Be(71418),ze=Be(6848),At=Be(92310),Ze=Be.n(At),Re=Be(51257),he=Be(28426),ve=Be(48790),De=Be(79005),ce=Be(20345),Ne=Be(77882),Ee=Be(31081),Ce=Be(75309),oe=Be(71979),y=Be(47558),a=Be(42922),E=Be(66832),b=Be(96593),x=Be(19664),z=Be(91833),ne=Be(59301);const me=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:De,swimg:ce},{name:"101\u8BA1\u5212",ptimg:Ne,swimg:Ee},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ce,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:kt,loading:ut,onRemove:it=()=>{},isCurrent:Nt=!0,showAlias:mt=!1})=>{const Pt=Math.floor((Qe-(Ye-1)*nt)/Ye),gt=[{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(et=>(window.ENV==="build"&&(et.ptimg=`/react/build${et.ptimg}`,et.swimg=`/react/build${et.swimg}`),et));return ne.createElement(we.Z,{spinning:ut},ne.createElement("div",{className:Ze()(ue.list,Te)},!!(Ve!=null&&Ve.length)&&(Ve==null?void 0:Ve.map((et,Xt)=>{var An;const{name:bt,id:qt,identifier:wn,featured:zn,school_name:fn,image_url:qn,excellent:It,is_plan:On}=et;return ne.createElement("div",{key:qt,className:ue.wrap,style:{width:Pt,marginRight:(1+Xt)%Ye===0?0:nt+Ft,marginBottom:Oe}},ne.createElement("a",{className:ue.li,onClick:rr=>{rr.preventDefault(),rr.stopPropagation(),kt&&(0,Re.L9)([kt]),(0,Re.xg)(`/paths/${wn}`)}},ne.createElement("div",{className:ue.img},ne.createElement("img",{className:ue.cover,src:`${qn}`}),Nt&&(0,ve.bg)()&&(et==null?void 0:et.studying)&&ne.createElement("div",{className:`${ue.movebq} user-path-items`,onClick:rr=>{rr.stopPropagation(),it(et)}},ne.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ne.createElement("span",{className:"c-red"},"\u79FB\u9664")),(An=et==null?void 0:et.subject_tags)==null?void 0:An.map((rr,ke)=>{var _t,He;if(ke===0){const se=(_t=gt.find(ye=>ye.name==rr))==null?void 0:_t.swimg;return ne.createElement("img",{className:ue.sign,src:se,style:{left:"-4px"}})}const pe=(He=gt.find(se=>se.name==rr))==null?void 0:He.ptimg;return ne.createElement("img",{className:ue.sign,src:pe,style:{left:`${48+52*(ke-1)+2*ke}px`}})}),ne.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(et==null?void 0:et.excellent)&&ne.createElement("div",{className:ue.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:ue.name},ne.createElement(ze.Z,{title:mt&&(et!=null&&et.excellent_alias_name)?ne.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${bt}`,ne.createElement("br",null),ne.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${et==null?void 0:et.excellent_alias_name}`)):bt},ne.createElement("span",{className:ue.e},mt&&(et==null?void 0:et.excellent_alias_name)||bt))),ne.createElement("div",{className:ue.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,et.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,et.members_count)))))))})),!Ve.length&&ne.createElement(he.Z,null)))}},53093:function(rn,Mt,Be){"use strict";Be.d(Mt,{jL:function(){return Ze},w9:function(){return Fo},vv:function(){return xo},dN:function(){return wi},QD:function(){return lo},cQ:function(){return pt.Z},vg:function(){return _r},Oz:function(){return zr},op:function(){return Cl},O5:function(){return xi},_b:function(){return Qi},t7:function(){return Ft},tT:function(){return ut},Gi:function(){return Na},YG:function(){return Dn},Ed:function(){return Fa},kT:function(){return Wr},qp:function(){return E},Um:function(){return Ue},K3:function(){return z},vr:function(){return Ga},qE:function(){return TA},Je:function(){return mt},wb:function(){return It},rC:function(){return qe},lB:function(){return ke},cq:function(){return Lo},tp:function(){return Ve},Si:function(){return Js},k8:function(){return Or},Du:function(){return li}});var ue=Be(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+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKq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zyz/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:nn=[],img:vn,imgWidth:In=346,title:Yn,sunTitle:Tr,bannerExtraContent:ra})=>ue.createElement("div",{className:we.banner},ue.createElement("div",{className:we.content},ue.createElement("aside",null,ue.createElement("p",null,ue.createElement("b",null,Yn),ue.createElement("span",null,Tr)),nn.length>0&&ue.createElement("div",{className:we.btns},nn.map((ar,Br)=>ue.createElement("div",{key:Br,onClick:ar.click},ar.name,ar.sign?ue.createElement("img",{src:ze,width:39}):null))),ra),vn&&ue.createElement("img",{style:{marginTop:33,marginRight:38},src:vn,width:In}))),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=Be(92310),ve=Be.n(he),De=Be(89392),ce=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,oe=(nn,vn,In)=>vn in nn?ce(nn,vn,{enumerable:!0,configurable:!0,writable:!0,value:In}):nn[vn]=In,y=(nn,vn)=>{for(var In in vn||(vn={}))Ee.call(vn,In)&&oe(nn,In,vn[In]);if(Ne)for(var In of Ne(vn))Ce.call(vn,In)&&oe(nn,In,vn[In]);return nn},E=({dataSource:nn=[],value:vn,onChange:In,onTitleChange:Yn,className:Tr,title:ra,titleWidth:ar=41,style:Br={},fontColor:pr="#6A7283",showCount:Cr,classNameActive:Fr,styleItem:cr={}})=>{const[ta,Xa]=(0,ue.useState)(0),[uo,va]=(0,ue.useState)(!1),xa=(0,ue.useRef)(null),qa=(0,ue.useRef)(null);return(0,ue.useEffect)(()=>{var io;nn.length!==0&&(((io=xa==null?void 0:xa.current)==null?void 0:io.clientHeight)>97?Xa(1):Xa(0)),nn.length===0&&Xa(0),va(!1)},[nn]),ue.createElement("div",{className:ve()(Re.row,Tr),style:Br},ue.createElement("div",{onClick:(0,De.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:ar,marginTop:uo?12:4},className:`${Re.title} ${Yn?"current":""}`},ra),ue.createElement("div",{className:uo?`${Re.tagsWrap} ${Re.tagsBorderWrap}`:Re.tagsWrap},ue.createElement("div",{className:Re.bar,ref:qa,style:ta>0?{height:ta===1?97:"auto",overflow:ta===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ue.createElement("div",{className:Re.tag,ref:xa},nn==null?void 0:nn.map(io=>ue.createElement("span",{onClick:()=>In(io.id),key:io.id,style:y(y({color:pr},cr),(io==null?void 0:io.style)||{}),className:vn===io.id?ve()(Fr||Re.active,io.classNameActive):""},ue.createElement("span",{title:io.name,className:Re.name},io.name),!!Cr&&ue.createElement("span",{className:Re.num},io.count))))),!!ta&&ue.createElement(ue.Fragment,null,ta===1?ue.createElement("div",{onClick:()=>{var io;Xa(2),((io=xa==null?void 0:xa.current)==null?void 0:io.clientHeight)>245?va(!0):va(!1)},className:Re.action},"\u5C55\u5F00",ue.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ue.createElement("div",{onClick:()=>{qa.current.scrollTop=0,Xa(1),va(!1)},className:Re.action},"\u6536\u8D77",ue.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:nn=[],value:vn,onChange:In,onTitleChange:Yn,className:Tr,title:ra,titleWidth:ar=41,style:Br={},fontColor:pr="#6A7283",showCount:Cr,expand:Fr=!0})=>{const[cr,ta]=(0,ue.useState)(0),[Xa,uo]=(0,ue.useState)(!1),va=(0,ue.useRef)(null),xa=(0,ue.useRef)(null),[qa,io]=(0,ue.useState)(Fr);return ue.createElement("div",{className:ve()(b.row,Tr),style:Br},ue.createElement("div",{className:"flex item-center justify-between"},ue.createElement("div",{onClick:(0,De.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:ar,marginTop:Xa?12:4},className:`${b.title} ${Yn?"current":""}`},ra),ue.createElement("i",{className:`iconfont ${qa?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:qa?8:10},onClick:()=>io(!qa)})),qa&&ue.createElement("div",{className:Xa?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},ue.createElement("div",{className:b.fenge}),ue.createElement("div",{className:b.bar,ref:xa},ue.createElement("div",{className:b.tag,ref:va},nn==null?void 0:nn.map(fo=>ue.createElement("span",{onClick:()=>In(fo.id),key:fo.id,style:{color:pr},className:vn===fo.id?b.active:""},ue.createElement("span",{title:fo.name,className:b.name},fo.name),!!Cr&&ue.createElement("span",{className:b.num},fo.count)))))))},ne={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},Ue=({dataSource:nn=[],value:vn,onChange:In,onTitleChange:Yn,className:Tr,title:ra,titleWidth:ar=41,style:Br={},fontColor:pr="#fff",showCount:Cr,expand:Fr=!0})=>{const[cr,ta]=(0,ue.useState)(0),[Xa,uo]=(0,ue.useState)(!1),va=(0,ue.useRef)(null),xa=(0,ue.useRef)(null),[qa,io]=(0,ue.useState)(Fr);return ue.createElement("div",{className:ve()(ne.row,Tr),style:Br},ue.createElement("div",{className:"flex item-center justify-between"},ue.createElement("div",{onClick:(0,De.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:ar},className:`${ne.title} ${Yn?"current":""}`},ra),ue.createElement("i",{className:`iconfont ${qa?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:qa?"#00DDC7":"#037F74",fontSize:qa?10:12},onClick:()=>io(!qa)})),qa&&ue.createElement("div",{className:Xa?`${ne.tagsWrap} ${ne.tagsBorderWrap}`:ne.tagsWrap},ue.createElement("div",{className:ne.bar,ref:xa},ue.createElement("div",{className:ne.tag,ref:va},nn==null?void 0:nn.map(fo=>ue.createElement("span",{onClick:()=>In(fo.id),key:fo.id,style:{color:pr},className:vn===fo.id?ne.active:""},ue.createElement("span",{title:fo.name,className:ne.name},fo.name),!!Cr&&ue.createElement("span",{className:ne.num},fo.count)))))))},Pe={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"},Ve=({dataSource:nn=[],value:vn,onChange:In,className:Yn,style:Tr={}})=>ue.createElement("div",{style:Tr,className:ve()(Pe.tabs,Yn)},nn.map(ra=>ue.createElement("span",{onClick:()=>In(ra.id),className:vn===ra.id?Pe.active:"",key:ra.id},ra.name))),Ye={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"},nt=Be(92832),Ft=({dataSource:nn=[],value:vn="",onChange:In,onInputChange:Yn=()=>{},className:Tr,style:ra={},placeholder:ar,allowClear:Br=!1})=>{var pr;const[Cr,Fr]=(0,ue.useState)(""),[cr,ta]=(0,ue.useState)("");(0,ue.useEffect)(()=>{var va;let xa=vn;(va=JSON.stringify(vn))!=null&&va.includes("{")&&(Fr(vn.id),xa=vn.value||"");try{ta(decodeURIComponent(xa||""))}catch(qa){ta(decodeURIComponent(xa||""))}},[vn]);const Xa=()=>{In(encodeURIComponent(cr),Cr||null)},uo=va=>{va!==Cr&&(Fr(va),In(encodeURIComponent(cr),va))};return ue.createElement("div",{className:ve()(Ye.input,Tr),style:ra},!!nn.length&&ue.createElement("div",{className:Ye.dropdown},ue.createElement("div",{className:Ye.text},(pr=nn.find(va=>va.id===Cr))==null?void 0:pr.name,ue.createElement("i",{className:"iconfont icon-zhankai4"}),ue.createElement("b",{className:Ye.b1}),ue.createElement("b",{className:Ye.b2})),ue.createElement("div",{className:Ye.menu},nn.map((va,xa)=>ue.createElement("div",{key:xa,onClick:()=>uo(va.id)},va.name)))),ue.createElement(nt.default,{onPressEnter:Xa,value:cr,onChange:va=>{ta(va.target.value),Yn(encodeURIComponent(va.target.value),Cr||null)},bordered:!1,placeholder:ar}),ue.createElement("i",{onClick:Xa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Qe={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},ut=({dataSource:nn=[],value:vn="",onChange:In,onInputChange:Yn=()=>{},className:Tr,style:ra={},placeholder:ar,allowClear:Br=!1})=>{var pr;const[Cr,Fr]=(0,ue.useState)(""),[cr,ta]=(0,ue.useState)("");(0,ue.useEffect)(()=>{var va;let xa=vn;(va=JSON.stringify(vn))!=null&&va.includes("{")&&(Fr(vn.id),xa=vn.value||"");try{ta(decodeURIComponent(xa||""))}catch(qa){ta(decodeURIComponent(xa||""))}},[vn]);const Xa=()=>{In(encodeURIComponent(cr),Cr||null)},uo=va=>{va!==Cr&&(Fr(va),In(encodeURIComponent(cr),va))};return ue.createElement("div",{className:ve()(Qe.input,Tr),style:ra},!!nn.length&&ue.createElement("div",{className:Qe.dropdown},ue.createElement("div",{className:Qe.text},(pr=nn.find(va=>va.id===Cr))==null?void 0:pr.name,ue.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ue.createElement("div",{className:Qe.menu},nn.map((va,xa)=>ue.createElement("div",{key:xa,onClick:()=>uo(va.id)},va.name)))),ue.createElement(nt.default,{onPressEnter:Xa,value:cr,onChange:va=>{ta(va.target.value),Yn(encodeURIComponent(va.target.value),Cr||null)},bordered:!1,placeholder:ar}),ue.createElement("i",{onClick:Xa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},it={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"},mt=({value:nn,onChange:vn,className:In,total:Yn,pageSize:Tr,style:ra={}})=>{const ar=nn<2,Br=nn>=Math.ceil(Yn/Tr);return Yn<=Tr?ue.createElement(ue.Fragment,null):ue.createElement("div",{className:ve()(it.quickPager,In),style:ra},ue.createElement("div",{onClick:()=>{ar||vn(nn-1,"prev")},className:ar?it.disabled:""},"\u4E0A\u4E00\u9875"),ue.createElement("div",{onClick:()=>{Br||vn(nn+1,"next")},className:Br?it.disabled:""},"\u4E0B\u4E00\u9875"))},Pt={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"},gt=Be(71418),et=Be(6848),Xt=Be(13570),An=Be(346),bt=Be(51257),qt=Be(96908),wn=Be(57177),zn=Be(81378),fn=Be(28426),It=({className:nn,dataSource:vn=[],col:In=4,right:Yn,bottom:Tr=23,precision:ra=0,wrapWidth:ar=1200,trackEventItems:Br,loading:pr})=>{const Cr=Math.floor((ar-(In-1)*Yn)/In);return ue.createElement(gt.Z,{spinning:pr},ue.createElement("div",{className:ve()(Pt.list,nn)},!!vn.length&&vn.map((Fr,cr)=>{const{name:ta,id:Xa,identifier:uo,power:va,cover_image_id:xa,pic:qa}=Fr;return ue.createElement("div",{className:Pt.wrap,key:Xa,style:{width:Cr,marginRight:(1+cr)%In===0?0:Yn+ra,marginBottom:Tr}},ue.createElement("a",{target:"_blank",href:`/shixuns/${uo}/challenges`,className:Pt.li,onClick:io=>{io.preventDefault(),Br&&(0,bt.L9)([Br]),va&&(0,bt.xg)(`/shixuns/${uo}/challenges`)}},ue.createElement("div",{className:Pt.img},ue.createElement("img",{className:Pt.cover,src:`${qa}`}),Fr.is_jupyter&&ue.createElement("img",{className:Pt.sign,src:qt}),Fr.is_jupyter_lab&&ue.createElement("img",{className:Pt.sign,src:wn}),Fr.is_unity_3d&&ue.createElement("img",{className:Pt.sign,src:zn})),ue.createElement("div",{className:Pt.name},ue.createElement(et.Z,{title:ta||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ue.createElement("span",{className:Pt.e},ta||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ue.createElement("div",{className:Pt.tags},ue.createElement(et.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ue.createElement("span",null,Fr.challenges_count))),!!Fr.myshixuns_count&&ue.createElement(et.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ue.createElement("span",null,Fr.myshixuns_count))),ue.createElement(et.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ue.createElement("span",null,ue.createElement("span",null,Fr.level))),ue.createElement("div",{className:Pt.rate},ue.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:Fr.score_info}),ue.createElement("span",null,"\xA0",Fr.score_info?`${Fr.score_info}\u5206`:"5\u5206")))),!va&&ue.createElement("div",{className:Pt.lockWrap},ue.createElement("img",{src:`${An.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!vn.length&&ue.createElement(fn.Z,null)))},On={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"},ke=({className:nn,dataSource:vn=[],col:In=4,right:Yn,bottom:Tr=23,precision:ra=0,wrapWidth:ar=1200,wrapClassName:Br,trackEventItems:pr,loading:Cr})=>{const Fr=Math.floor((ar-(In-1)*Yn)/In);return ue.createElement(gt.Z,{spinning:Cr},ue.createElement("div",{className:ve()(On.list,nn)},!!vn.length&&vn.map((cr,ta)=>{const{name:Xa,id:uo,identifier:va,power:xa,cover_image_id:qa,pic:io}=cr;return ue.createElement("div",{className:ve()(On.wrap,Br),key:uo,style:{width:Fr,marginRight:(1+ta)%In===0?0:Yn+ra,marginBottom:Tr}},ue.createElement("a",{target:"_blank",href:`/shixuns/${va}/challenges`,className:On.li,onClick:fo=>{fo.preventDefault(),pr&&(0,bt.L9)([pr]),xa&&(0,bt.xg)(`/shixuns/${va}/challenges`)}},ue.createElement("img",{src:Be(47621),className:On.titleBg}),ue.createElement("div",{className:On.name},ue.createElement(et.Z,{title:Xa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ue.createElement("span",{className:On.e},Xa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ue.createElement("div",{style:{padding:"14px",paddingBottom:0}},ue.createElement("div",{className:On.img},ue.createElement("img",{className:On.cover,src:qa?`${An.Z.API_SERVER}/api/attachments/${qa}`:`${An.Z.IMG_SERVER+io}`}),cr.is_jupyter&&ue.createElement("div",{className:On.bq},"Jupyter"),cr.is_jupyter_lab&&ue.createElement("div",{className:On.bq},"JupyterLab"),cr.is_unity_3d&&ue.createElement("div",{className:On.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ue.createElement("div",{className:"mt20 flex item-center justify-between"},ue.createElement("div",null,ue.createElement("span",{className:On.text},"\u5B66\u4E60\u4EBA\u6570"),ue.createElement("span",{className:On.value},cr.myshixuns_count)),ue.createElement("div",null,ue.createElement("span",{className:On.text},"\u56F0\u96BE\u7B49\u7EA7"),ue.createElement("span",{className:On.value},cr.level))),ue.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ue.createElement("div",null,ue.createElement("span",{className:On.text},"\u5173\u5361\u6570"),ue.createElement("span",{className:On.value},cr.challenges_count)),ue.createElement("div",{className:On.rate},ue.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:cr.score_info}),ue.createElement("span",{className:On.value,style:{color:"#FF9C00"}},"\xA0",cr.score_info?`${cr.score_info}\u5206`:"5\u5206"))))),!xa&&ue.createElement("div",{className:On.lockWrap},ue.createElement("img",{src:`${An.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!vn.length&&ue.createElement(fn.Z,null)))},_t={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqp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mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",qe=({className:nn,dataSource:vn=[],col:In=4,right:Yn,bottom:Tr=23,precision:ra=0,wrapWidth:ar=1200,trackEventItems:Br,loading:pr,wrapClassName:Cr,imgClassName:Fr})=>{const cr=Math.floor((ar-(In-1)*Yn)/In);return ue.createElement(gt.Z,{spinning:pr},ue.createElement("div",{className:ve()(_t.list,nn)},!!vn.length&&vn.map((ta,Xa)=>{const{name:uo,id:va,identifier:xa,power:qa,cover_image_id:io,pic:fo}=ta;return ue.createElement("div",{className:ve()(_t.wrap,Cr),key:va,style:{width:cr,marginRight:(1+Xa)%In===0?0:Yn+ra,marginBottom:Tr}},ue.createElement("a",{target:"_blank",href:`/shixuns/${xa}/challenges`,className:_t.li,onClick:xn=>{xn.preventDefault(),Br&&(0,bt.L9)([Br]),qa&&(0,bt.xg)(`/shixuns/${xa}/challenges`)}},ue.createElement("div",{className:ve()(_t.img,Fr)},ue.createElement("img",{className:_t.cover,src:io?`${An.Z.API_SERVER}/api/attachments/${io}`:`${An.Z.IMG_SERVER+fo}`}),ta.is_jupyter&&ue.createElement("img",{className:_t.sign,src:He}),ta.is_jupyter_lab&&ue.createElement("img",{className:_t.sign,src:pe}),ta.is_unity_3d&&ue.createElement("img",{className:_t.sign,src:se})),ue.createElement("div",{className:_t.name},ue.createElement(et.Z,{title:uo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ue.createElement("span",{className:_t.e},uo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ue.createElement("div",{className:_t.tags},ue.createElement(et.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ue.createElement("span",null,ta.challenges_count))),!!ta.myshixuns_count&&ue.createElement(et.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ue.createElement("span",null,ta.myshixuns_count))),ue.createElement(et.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ue.createElement("span",null,ue.createElement("span",null,ta.level))),ue.createElement("div",{className:_t.rate},ue.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:ta.score_info}),ue.createElement("span",null,"\xA0",ta.score_info?`${ta.score_info}\u5206`:"5\u5206")))),!qa&&ue.createElement("div",{className:_t.lockWrap},ue.createElement("img",{src:`${An.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!vn.length&&ue.createElement(fn.Z,null)))},pt=Be(10661),Me={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"},Xe=Be(79005),Ot=Be(20345),yt=Be(77882),lt=Be(31081),Wt=Be(75309),kn=Be(71979),Qt=Be(47558),dn=Be(42922),Rt=Be(66832),bn=Be(96593),tn=Be(19664),Ar=Be(91833);const Sr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Xe,swimg:Ot},{name:"101\u8BA1\u5212",ptimg:yt,swimg:lt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Wt,swimg:kn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Qt,swimg:dn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Rt,swimg:bn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:tn,swimg:Ar}];var zr=({className:nn,dataSource:vn=[],col:In=4,right:Yn,bottom:Tr=23,precision:ra=0,wrapWidth:ar=1200,trackEventItems:Br,loading:pr,wrapClassName:Cr,imgClassName:Fr,isArrow:cr=!1})=>{const ta=Math.floor((ar-(In-1)*Yn)/In),[Xa,uo]=(0,ue.useState)(),[va,xa]=(0,ue.useState)(),qa=fo=>uo(fo),io=()=>uo(-1);return ue.createElement(gt.Z,{spinning:pr},ue.createElement("div",{className:ve()(Me.list,nn)},!!(vn!=null&&vn.length)&&(vn==null?void 0:vn.map((fo,xn)=>{var En;const{name:FA,id:na,identifier:Ba,featured:$a,school_name:Io,image_url:co,excellent:ka,is_plan:oi}=fo;return ue.createElement("div",{key:na,className:ve()(Me.wrap,Cr),style:{width:ta,marginRight:(1+xn)%In===0?0:Yn+ra,marginBottom:Tr}},ue.createElement("a",{target:"_blank",href:`/paths/${Ba}`,className:Me.li,onClick:Xi=>{Xi.preventDefault(),Br&&(0,bt.L9)([Br]),(0,bt.xg)(`/paths/${Ba}`)}},ue.createElement("img",{src:Be(39057),className:Me.titleBg}),ue.createElement("div",{className:Me.name},ue.createElement(et.Z,{title:FA},ue.createElement("span",{className:Me.e,style:{color:cr&&Xa===xn?"#145DFF":"#000000"},onMouseEnter:()=>{qa(xn)},onMouseLeave:io},FA))),ue.createElement("div",{style:{padding:"14px",paddingBottom:0}},ue.createElement("div",{className:ve()(Me.img,Fr)},ue.createElement("img",{className:Me.cover,src:`${An.Z.IMG_SERVER+co}`}),(En=fo==null?void 0:fo.subject_tags)==null?void 0:En.map((Xi,Ri)=>{var qi,Oi;if(Ri===0){const Ti=(qi=Sr.find(oa=>oa.name==Xi))==null?void 0:qi.swimg;return ue.createElement("img",{className:Me.sign,src:Ti,style:{left:"-4px"}})}const WA=(Oi=Sr.find(Ti=>Ti.name==Xi))==null?void 0:Oi.ptimg;return ue.createElement("img",{className:Me.sign,src:WA,style:{left:`${48+52*(Ri-1)+2*Ri}px`}})}),ue.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(fo==null?void 0:fo.excellent)&&ue.createElement("div",{className:Me.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ue.createElement("div",null,ue.createElement("span",{className:Me.text},"\u7AE0\u8282\u6570"),ue.createElement("span",{className:Me.value},fo.stages_count)),ue.createElement("div",null,ue.createElement("span",{className:Me.text},"\u5B66\u4E60\u4EBA\u6570"),ue.createElement("span",{className:Me.value},fo.members_count))))))})),!vn.length&&ue.createElement(fn.Z,null)))},Nr={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},ma=Be(48790),Qr=Be(59301);const ea=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Xe,swimg:Ot},{name:"101\u8BA1\u5212",ptimg:yt,swimg:lt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Wt,swimg:kn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Qt,swimg:dn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Rt,swimg:bn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:tn,swimg:Ar}];var _r=({className:nn,dataSource:vn=[],col:In=4,right:Yn,bottom:Tr=23,precision:ra=0,wrapWidth:ar=1200,trackEventItems:Br,loading:pr,onRemove:Cr=()=>{},isCurrent:Fr=!0,showAlias:cr=!1,wrapClassName:ta,imgClassName:Xa})=>{const uo=Math.floor((ar-(In-1)*Yn)/In),va=[{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(xa=>(window.ENV==="build"&&(xa.ptimg=`/react/build${xa.ptimg}`,xa.swimg=`/react/build${xa.swimg}`),xa));return Qr.createElement(gt.Z,{spinning:pr},Qr.createElement("div",{className:ve()(Nr.list,nn)},!!(vn!=null&&vn.length)&&(vn==null?void 0:vn.map((xa,qa)=>{var io;const{name:fo,id:xn,identifier:En,featured:FA,school_name:na,image_url:Ba,excellent:$a,is_plan:Io}=xa;return Qr.createElement("div",{key:xn,className:ve()(Nr.wrap,ta),style:{width:uo,marginRight:(1+qa)%In===0?0:Yn+ra,marginBottom:Tr}},Qr.createElement("a",{className:Nr.li,onClick:co=>{co.preventDefault(),co.stopPropagation(),Br&&(0,bt.L9)([Br]),(0,bt.xg)(`/paths/${En}`)}},Qr.createElement("div",{className:ve()(Nr.img,Xa)},Qr.createElement("img",{className:Nr.cover,src:`${An.Z.IMG_SERVER+Ba}`}),Fr&&(0,ma.bg)()&&(xa==null?void 0:xa.studying)&&Qr.createElement("div",{className:`${Nr.movebq} user-path-items`,onClick:co=>{co.stopPropagation(),Cr(xa)}},Qr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Qr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(io=xa==null?void 0:xa.subject_tags)==null?void 0:io.map((co,ka)=>{var oi,Xi;if(ka===0){const qi=(oi=va.find(Oi=>Oi.name==co))==null?void 0:oi.swimg;return Qr.createElement("img",{className:Nr.sign,src:qi,style:{left:"-4px"}})}const Ri=(Xi=va.find(qi=>qi.name==co))==null?void 0:Xi.ptimg;return Qr.createElement("img",{className:Nr.sign,src:Ri,style:{left:`${48+52*(ka-1)+2*ka}px`}})}),Qr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(xa==null?void 0:xa.excellent)&&Qr.createElement("div",{className:Nr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Qr.createElement("div",{className:Nr.name},Qr.createElement(et.Z,{title:cr&&(xa!=null&&xa.excellent_alias_name)?Qr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${fo}`,Qr.createElement("br",null),Qr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xa==null?void 0:xa.excellent_alias_name}`)):fo},Qr.createElement("span",{className:Nr.e},cr&&(xa==null?void 0:xa.excellent_alias_name)||fo))),Qr.createElement("div",{className:Nr.tags},Qr.createElement("div",null,Qr.createElement(et.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Qr.createElement("span",null,Qr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Qr.createElement("span",null,xa.stages_count))),Qr.createElement(et.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Qr.createElement("span",null,Qr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Qr.createElement("span",null,xa.members_count)))))))})),!vn.length&&Qr.createElement(fn.Z,null)))},qr={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"},Pa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGx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r=23,precision:ra=0,wrapWidth:ar=1200,trackEventItems:Br,loading:pr})=>{const Cr=Math.floor((ar-(In-1)*Yn)/In);return ga.createElement(gt.Z,{spinning:pr},ga.createElement("div",{className:ve()(qr.list,nn)},!!vn.length&&vn.map((Fr,cr)=>{const{subject_identifier:ta,id:Xa,identifier:uo,power:va}=Fr,xa=Fr.is_public!=0&&Fr.is_public;return ga.createElement("div",{className:qr.wrap,key:Xa,style:{width:Cr,marginRight:(1+cr)%In===0?0:Yn+ra,marginBottom:Tr}},ga.createElement("a",{className:qr.li,onClick:qa=>{qa.preventDefault(),Br&&(0,bt.L9)([Br]),(0,bt.xg)(Fr.first_category_url)}},ga.createElement("div",{className:qr.top},ga.createElement(et.Z,{title:Fr.name},ga.createElement("div",{className:qr.name},Fr.name)),ga.createElement("img",{className:qr.img,src:An.Z.IMG_SERVER+"/images/"+Fr.avatar_url}),ga.createElement("div",{className:qr.text,title:Fr.creator},Fr.creator),ta&&ga.createElement("div",{className:qr.btns},ga.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ga.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),xa&&ga.createElement("div",{className:qr.sign},"\u516C\u5F00")),ga.createElement("div",{className:qr.bottom},Fr.visits>0&&ga.createElement(et.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ga.createElement("span",null,ga.createElement("i",{className:"iconfont icon-liulanyan"}),ga.createElement("span",null,Fr.visits))),Fr.course_members_count>0&&ga.createElement(et.Z,{title:"\u6210\u5458",placement:"bottom"},ga.createElement("span",null,ga.createElement("i",{className:"iconfont icon-chengyuan"}),Fr.course_members_count)),Fr.tasks_count>0&&ga.createElement(et.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ga.createElement("span",null,ga.createElement("i",{className:"iconfont icon-zuoye"}),Fr.tasks_count)),Fr.is_end?ga.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ga.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Fr.is_accessible&&ga.createElement("div",{className:qr.lockWrap},ga.createElement("img",{src:`${An.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ga.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!vn.length&&ga.createElement(fn.Z,null)))},za={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"},da="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp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Ba9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",wi=({className:nn,dataSource:vn=[],col:In=4,right:Yn,bottom:Tr=23,precision:ra=0,wrapWidth:ar=1200,wrapClassName:Br,trackEventItems:pr,loading:Cr})=>{const Fr=Math.floor((ar-(In-1)*Yn)/In);return ue.createElement(gt.Z,{spinning:Cr},ue.createElement("div",{className:ve()(za.list,nn)},!!vn.length&&vn.map((cr,ta)=>{const{subject_identifier:Xa,id:uo,identifier:va,power:xa}=cr,qa=cr.is_public!=0&&cr.is_public;return ue.createElement("div",{className:ve()(`${za.wrap} ${cr.is_accessible?"":za.warpStyle}`,Br),key:uo,style:{width:Fr,marginRight:(1+ta)%In===0?0:Yn+ra,marginBottom:Tr}},ue.createElement("a",{className:za.li,onClick:io=>{io.preventDefault(),pr&&(0,bt.L9)([pr]),(0,bt.xg)(cr.first_category_url)}},ue.createElement("div",{className:za.creator},ue.createElement("img",{className:za.img,src:An.Z.IMG_SERVER+"/images/"+cr.avatar_url}),ue.createElement("div",{className:za.text,title:cr.creator},cr.creator)),ue.createElement("div",{className:za.top},ue.createElement(et.Z,{title:cr.name},ue.createElement("div",{className:za.name},cr.name)),qa&&ue.createElement("div",{className:za.sign},"\u516C\u5F00")),ue.createElement("div",{className:za.middle},ue.createElement("div",{className:za.row,style:{marginBottom:6}},ue.createElement("div",null,ue.createElement("span",{className:za.text},"\u8BBF\u95EE\u91CF"),ue.createElement("span",{className:za.value},(cr==null?void 0:cr.visits)||0)),ue.createElement("div",null,ue.createElement("span",{className:za.text},"\u6210\u5458"),ue.createElement("span",{className:za.value},(cr==null?void 0:cr.course_members_count)||0))),ue.createElement("div",{className:za.row},ue.createElement("div",null,ue.createElement("span",{className:za.text,style:{width:42}},"\u4F5C",ue.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ue.createElement("span",{className:za.value},(cr==null?void 0:cr.tasks_count)||0)),ue.createElement("div",null,ue.createElement("span",{className:za.text},"\u72B6\u6001"),cr.is_end?ue.createElement("span",{className:za.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ue.createElement("span",{className:za.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Xa&&ue.createElement("div",{className:za.btns},ue.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ue.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!cr.is_accessible&&ue.createElement("div",{className:za.lockWrap},ue.createElement("img",{src:`${An.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!vn.length&&ue.createElement(fn.Z,null)))},ro={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},pi="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+fJXi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jtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",xo=({className:nn,dataSource:vn=[],col:In=4,right:Yn,bottom:Tr=23,precision:ra=0,wrapWidth:ar=1200,wrapClassName:Br,trackEventItems:pr,loading:Cr})=>{const Fr=Math.floor((ar-(In-1)*Yn)/In);return ue.createElement(gt.Z,{spinning:Cr},ue.createElement("div",{className:ve()(ro.list,nn)},!!vn.length&&vn.map((cr,ta)=>{const{subject_identifier:Xa,id:uo,identifier:va,power:xa}=cr,qa=cr.is_public!=0&&cr.is_public;return ue.createElement("div",{className:ve()(`${ro.wrap} ${cr.is_accessible?"":ro.warpStyle}`,Br),key:uo,style:{width:Fr,marginRight:(1+ta)%In===0?0:Yn+ra,marginBottom:Tr}},ue.createElement("a",{className:ro.li,onClick:io=>{io.preventDefault(),pr&&(0,bt.L9)([pr]),(0,bt.xg)(cr.first_category_url)}},ue.createElement("div",{className:ro.creator},ue.createElement("img",{className:ro.img,src:An.Z.IMG_SERVER+"/images/"+cr.avatar_url}),ue.createElement("div",{className:ro.text,title:cr.creator},cr.creator)),ue.createElement("div",{className:ro.top},ue.createElement(et.Z,{title:cr.name},ue.createElement("div",{className:ro.name},cr.name)),qa&&ue.createElement("div",{className:ro.sign})),ue.createElement("div",{className:ro.middle},ue.createElement("div",{className:ro.row,style:{marginBottom:6}},ue.createElement("div",null,ue.createElement("span",{className:ro.text},"\u8BBF\u95EE\u91CF"),ue.createElement("span",{className:ro.value},(cr==null?void 0:cr.visits)||0)),ue.createElement("div",null,ue.createElement("span",{className:ro.text},"\u6210\u5458"),ue.createElement("span",{className:ro.value},(cr==null?void 0:cr.course_members_count)||0))),ue.createElement("div",{className:ro.row},ue.createElement("div",null,ue.createElement("span",{className:ro.text,style:{width:42}},"\u4F5C",ue.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ue.createElement("span",{className:ro.value},(cr==null?void 0:cr.tasks_count)||0)),ue.createElement("div",null,ue.createElement("span",{className:ro.text},"\u72B6\u6001"),cr.is_end?ue.createElement("span",{className:ro.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ue.createElement("span",{className:ro.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Xa&&ue.createElement("div",{className:ro.btns},ue.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ue.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!cr.is_accessible&&ue.createElement("div",{className:ro.lockWrap},ue.createElement("img",{src:`${An.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!vn.length&&ue.createElement(fn.Z,null)))},bi={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"},Jo=Be(25690),Dn=({dataSource:nn=[],value:vn,onChange:In,className:Yn,style:Tr={},tabBarExtraContent:ra})=>ue.createElement("div",{className:ve()(bi.tabs,Yn),style:Tr},ue.createElement("div",{className:bi.tabsWrap},nn.map((ar,Br)=>ue.createElement("aside",{className:bi.tab,onClick:()=>{In(ar.id),ar.link&&Jo.history.push(ar.link)},key:Br},ue.createElement("div",{className:vn===ar.id?bi.active:""},ar.name),(ar==null?void 0:ar.resetCount)==null&&(ar==null?void 0:ar.total)!==void 0&&ue.createElement("span",null,"\uFF08",ar==null?void 0:ar.total,"\uFF09"),(ar==null?void 0:ar.resetCount)!==void 0&&(ar==null?void 0:ar.total)!==void 0&&ue.createElement(et.Z,{title:(ar==null?void 0:ar.tip)!=null?ar==null?void 0:ar.tip:""},ue.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ue.createElement("span",{style:{color:"#000"}},ar==null?void 0:ar.resetCount),"/",ue.createElement("span",null,ar==null?void 0:ar.total),"\uFF09"))))),ue.createElement("div",{className:bi.tabBar},ra)),Gn={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"},Wr=({dataSource:nn=[],value:vn,onChange:In,className:Yn,style:Tr={},tabBarExtraContent:ra})=>ue.createElement("div",{className:ve()(Gn.tabs,Yn),style:Tr},ue.createElement("div",{className:Gn.tabsWrap},nn.map((ar,Br)=>ue.createElement("aside",{className:Gn.tab,onClick:()=>{In(ar.id),ar.link&&Jo.history.push(ar.link)},key:Br},ue.createElement("div",{className:vn===ar.id?Gn.active:""},ar.name),(ar==null?void 0:ar.resetCount)==null&&(ar==null?void 0:ar.total)!==void 0&&ue.createElement("span",null,"\uFF08",ar==null?void 0:ar.total,"\uFF09"),(ar==null?void 0:ar.resetCount)!==void 0&&(ar==null?void 0:ar.total)!==void 0&&ue.createElement(et.Z,{title:(ar==null?void 0:ar.tip)!=null?ar==null?void 0:ar.tip:""},ue.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ue.createElement("span",{style:{color:"#000"}},ar==null?void 0:ar.resetCount),"/",ue.createElement("span",null,ar==null?void 0:ar.total),"\uFF09"))))),ue.createElement("div",{className:Gn.tabBar},ra)),ua={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Fa=({dataSource:nn=[],value:vn,onChange:In,className:Yn,style:Tr={},tabBarExtraContent:ra})=>ue.createElement("div",{className:ve()(ua.tabs,Yn),style:Tr},ue.createElement("div",{className:ua.tabsWrap},nn.map((ar,Br)=>ue.createElement("aside",{className:`${ua.tab} ${vn===ar.id?ua.active:""}`,onClick:()=>{In(ar.id),ar.link&&Jo.history.push(ar.link)},key:Br},ue.createElement("div",null,ar.name),(ar==null?void 0:ar.resetCount)==null&&(ar==null?void 0:ar.total)!==void 0&&ue.createElement("span",null,"\uFF08",ar==null?void 0:ar.total,"\uFF09"),(ar==null?void 0:ar.resetCount)!==void 0&&(ar==null?void 0:ar.total)!==void 0&&ue.createElement(et.Z,{title:(ar==null?void 0:ar.tip)!=null?ar==null?void 0:ar.tip:""},ue.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ue.createElement("span",{style:{color:"#000"}},ar==null?void 0:ar.resetCount),"/",ue.createElement("span",null,ar==null?void 0:ar.total),"\uFF09"))))),ue.createElement("div",{className:ua.tabBar},ra)),Na=({className:nn,style:vn={},children:In})=>ue.createElement("div",{className:ve()(nn),style:vn},In),Wa={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"},ti=Be(38854),Lr=Be(20834);const Ra=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Lo=({sortValue:nn,dropValue:vn,className:In,onSort:Yn,onDrop:Tr,dataSource:ra=Ra})=>{var ar;return ue.createElement("div",{className:ve()(Wa.orderWrap,In)},ue.createElement(ti.Z,{dropdownRender:()=>ue.createElement(Lr.default,null,ra.map((Br,pr)=>ue.createElement(Lr.default.Item,{key:pr,onClick:()=>Tr(Br.id)},Br.name)))},ue.createElement("span",{className:Wa.orderTextWrap},(ar=ra.find(Br=>vn===Br.id))==null?void 0:ar.name)),ue.createElement("span",{className:Wa.orderIconWrap},ue.createElement("span",{className:Wa.orderAsc},ue.createElement("i",{className:nn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Wa.cursorPointer} ${Wa.active}`:`iconfont icon-sanjiaoxing-up font12 ${Wa.cursorPointer}`,onClick:()=>Yn(nn==="asc"?"desc":"asc")})),ue.createElement("span",{className:Wa.orderDesc},ue.createElement("i",{className:nn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Wa.cursorPointer} ${Wa.active}`:`iconfont icon-sanjiaoxing-down font12 ${Wa.cursorPointer}`,onClick:()=>Yn(nn==="asc"?"desc":"asc")}))))},No={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"},so=Be(3113),Ai=Be(32162),Di=Object.defineProperty,vi=Object.getOwnPropertySymbols,rA=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,Do=(nn,vn,In)=>vn in nn?Di(nn,vn,{enumerable:!0,configurable:!0,writable:!0,value:In}):nn[vn]=In,Yi=(nn,vn)=>{for(var In in vn||(vn={}))rA.call(vn,In)&&Do(nn,In,vn[In]);if(vi)for(var In of vi(vn))Ci.call(vn,In)&&Do(nn,In,vn[In]);return nn},_A=(nn,vn)=>{var In={};for(var Yn in nn)rA.call(nn,Yn)&&vn.indexOf(Yn)<0&&(In[Yn]=nn[Yn]);if(nn!=null&&vi)for(var Yn of vi(nn))vn.indexOf(Yn)<0&&Ci.call(nn,Yn)&&(In[Yn]=nn[Yn]);return In},Ui=(nn,vn,In)=>new Promise((Yn,Tr)=>{var ra=pr=>{try{Br(In.next(pr))}catch(Cr){Tr(Cr)}},ar=pr=>{try{Br(In.throw(pr))}catch(Cr){Tr(Cr)}},Br=pr=>pr.done?Yn(pr.value):Promise.resolve(pr.value).then(ra,ar);Br((In=In.apply(nn,vn)).next())}),Cl=nn=>{var vn=nn,{className:In,style:Yn,children:Tr,loading:ra=!1,openLoading:ar,onClick:Br=()=>{},size:pr="middle",shape:Cr="round",theme:Fr}=vn,cr=_A(vn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[ta,Xa]=(0,ue.useState)(!1),uo=(0,ue.useMemo)(()=>{switch(Fr){case Ai.Fy.THEMEONE:return No.ThemeOne;case Ai.Fy.DEFAULT:default:return No.btn}},[Fr]);return ue.createElement(so.ZP,Yi({onClick:(0,De.throttle)(va=>Ui(void 0,null,function*(){ar&&Xa(!0);try{yield Br(va)}catch(xa){console.log("error",xa)}ar&&Xa(!1)}),2e3,{leading:!0,trailing:!1}),className:ve()(uo,No[`${pr}-${Cr}`],In),style:Yn,size:pr,shape:Cr,loading:ta||ra},cr),Tr)},$A={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"},TA=({className:nn,style:vn,children:In=null,onClick:Yn,title:Tr})=>ue.createElement("div",{className:ve()($A.head,nn),style:vn},ue.createElement("span",{className:"primary-hover",onClick:Yn},ue.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ue.createElement("b",{title:Tr},Tr),ue.createElement("div",{className:$A.node},In)),Yr={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"},lo=({confirmShow:nn=!0,confirmTitle:vn,confirmClick:In,cancelShow:Yn=!0,cancelTitle:Tr,cancelClick:ra,className:ar,style:Br,confirmLoading:pr=!1})=>ue.createElement("div",{className:ve()(Yr.btns,ar),style:Br},nn&&ue.createElement(so.ZP,{loading:pr,onClick:In,type:"primary",className:Yr.confirm},vn),Yn&&ue.createElement(so.ZP,{onClick:ra,className:Yr.cancel},Tr)),ya={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"},Ga=({className:nn,style:vn={},LeftContent:In,children:Yn,RightContent:Tr})=>ue.createElement("div",{className:ve()(ya.fixedBottom,nn),style:vn},ue.createElement("div",{className:ya.wrap},ue.createElement("div",{className:ya.left},In),ue.createElement("div",{className:ya.center},Yn),ue.createElement("div",{className:ya.right},Tr))),Ca={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"},Qi=({className:nn,style:vn={},dataSource:In=[]})=>ue.createElement("div",{className:ve()(Ca.crumbs,nn),style:vn},In.map((Yn,Tr)=>TrJo.history.push(Yn.path)},Yn.name):ue.createElement("span",null,Yn.name),ue.createElement("span",null,"\xA0",">","\xA0")):ue.createElement("span",{key:Tr,style:{color:"#5F6368"}},Yn.name))),Uo=Be(31797),Ji=Object.defineProperty,Vs=Object.defineProperties,vs=Object.getOwnPropertyDescriptors,aA=Object.getOwnPropertySymbols,jA=Object.prototype.hasOwnProperty,kA=Object.prototype.propertyIsEnumerable,Bs=(nn,vn,In)=>vn in nn?Ji(nn,vn,{enumerable:!0,configurable:!0,writable:!0,value:In}):nn[vn]=In,Ss=(nn,vn)=>{for(var In in vn||(vn={}))jA.call(vn,In)&&Bs(nn,In,vn[In]);if(aA)for(var In of aA(vn))kA.call(vn,In)&&Bs(nn,In,vn[In]);return nn},HA=(nn,vn)=>Vs(nn,vs(vn)),Bi=(nn,vn)=>{var In={};for(var Yn in nn)jA.call(nn,Yn)&&vn.indexOf(Yn)<0&&(In[Yn]=nn[Yn]);if(nn!=null&&aA)for(var Yn of aA(nn))vn.indexOf(Yn)<0&&kA.call(nn,Yn)&&(In[Yn]=nn[Yn]);return In};const{Countdown:cn}=Uo.default;var xi=nn=>{var vn=nn,{onChange:In}=vn,Yn=Bi(vn,["onChange"]);const[Tr,ra]=(0,ue.useState)(null);(0,ue.useEffect)(()=>{typeof Tr=="number"&&Tr>=0&&In(Tr)},[Tr]);const ar=Br=>{const pr=Math.floor(Br/1e3);ra(pr)};return ue.createElement(cn,HA(Ss({},Yn),{onChange:ar}))},As={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Js=({DataProps:nn,className:vn,style:In={}})=>{var Yn;return ue.createElement("div",{className:ve()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",As.ClassRoomItem,vn),style:In,onClick:()=>{(0,bt.xg)(nn==null?void 0:nn.first_category_url)}},ue.createElement("div",{className:"flex flex-col item-center"},ue.createElement("img",{src:`${(Yn=An.Z)==null?void 0:Yn.IMG_SERVER}/images/${nn==null?void 0:nn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(nn==null?void 0:nn.subject_identifier)&&ue.createElement("div",{className:"mt-40px"},ue.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ue.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ue.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ue.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(nn!=null&&nn.is_public)&&ue.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"),ue.createElement("span",{className:ve()("text-16px font-medium",As.TitleDom)},nn==null?void 0:nn.name)),ue.createElement("div",{className:"c-grey-333 font-medium"},nn==null?void 0:nn.creator),ue.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",nn==null?void 0:nn.course_members_count),ue.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ue.createElement("div",null,"\u4F5C\u4E1A\uFF1A",nn==null?void 0:nn.tasks_count),nn!=null&&nn.is_end?ue.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ue.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},EA=Object.defineProperty,Xs=Object.getOwnPropertySymbols,qo=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,PA=(nn,vn,In)=>vn in nn?EA(nn,vn,{enumerable:!0,configurable:!0,writable:!0,value:In}):nn[vn]=In,si=(nn,vn)=>{for(var In in vn||(vn={}))qo.call(vn,In)&&PA(nn,In,vn[In]);if(Xs)for(var In of Xs(vn))cl.call(vn,In)&&PA(nn,In,vn[In]);return nn},li=({DataProps:nn=[],selectValue:vn,onChange:In,className:Yn,style:Tr={},extra:ra,classNameItem:ar,styleItem:Br={},barHidden:pr})=>{const[Cr,Fr]=(0,ue.useState)();return(0,ue.useEffect)(()=>{Fr(Array.isArray(vn)?vn:[vn])},[vn]),ue.createElement("div",{className:ve()("flex px-20px py-10px gap-40px",Yn),style:si({borderBottom:"1px solid #D3F0FF"},Tr)},nn==null?void 0:nn.map(cr=>ue.createElement("div",{key:cr==null?void 0:cr.id,className:ve()("flex item-center justify-center current c-grey-333 text-16 relative",ar,cr==null?void 0:cr.className),style:si(si({color:Cr!=null&&Cr.includes(cr==null?void 0:cr.id)?"#1890FF":"",minWidth:88},Br),(cr==null?void 0:cr.style)||{}),onClick:ta=>{In==null||In({domEvent:ta,item:cr}),cr!=null&&cr.link&&Jo.history.push(cr==null?void 0:cr.link)}},cr==null?void 0:cr.name,!pr&&(Cr==null?void 0:Cr.includes(cr==null?void 0:cr.id))&&ue.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ue.createElement("div",{className:"ml-auto"},ra))},ys=Object.defineProperty,ss=Object.defineProperties,Ln=Object.getOwnPropertyDescriptors,gn=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,Wn=(nn,vn,In)=>vn in nn?ys(nn,vn,{enumerable:!0,configurable:!0,writable:!0,value:In}):nn[vn]=In,dr=(nn,vn)=>{for(var In in vn||(vn={}))hn.call(vn,In)&&Wn(nn,In,vn[In]);if(gn)for(var In of gn(vn))Hn.call(vn,In)&&Wn(nn,In,vn[In]);return nn},Hr=(nn,vn)=>ss(nn,Ln(vn)),Or=({value:nn,onChange:vn,onInputChange:In,className:Yn,style:Tr={},InputProps:ra})=>{const[ar,Br]=(0,ue.useState)(nn);return ue.createElement("div",{className:ve()("flex item-center rounded-full px-10px py-2px",Yn),style:dr({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Tr)},ue.createElement(nt.default,Hr(dr({bordered:!1},ra),{onChange:pr=>{Br(pr.target.value),In==null||In(encodeURIComponent(pr.target.value))},onPressEnter:pr=>{vn==null||vn({domEvent:pr,item:{value:ar}})}})),ue.createElement("img",{className:"h-22px current",src:Be(25365),height:22,onClick:pr=>{vn==null||vn({domEvent:pr,item:{value:ar}})}}))}},37808:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return we}});var ue=Be(59301);function we(ze,At){const Ze=(0,ue.useRef)();(0,ue.useEffect)(()=>{Ze.current=ze}),(0,ue.useEffect)(()=>{function Re(){Ze.current()}if(At!==null){let he=setInterval(Re,At);return()=>clearInterval(he)}},[At])}},97610:function(rn,Mt,Be){"use strict";var ue=Be(43418),we=Be(8591),ze=Be(38986),At=Be(25690),Ze=Be(48790),Re=Be(59301),he=(De,ce,Ne)=>new Promise((Ee,Ce)=>{var oe=E=>{try{a(Ne.next(E))}catch(b){Ce(b)}},y=E=>{try{a(Ne.throw(E))}catch(b){Ce(b)}},a=E=>E.done?Ee(E.value):Promise.resolve(E.value).then(oe,y);a((Ne=Ne.apply(De,ce)).next())});const ve=({shixunHomeworks:De,classroomList:ce,dispatch:Ne})=>{const Ee=(0,At.useParams)();return Re.createElement(ue.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 Ce,oe,y,a;if((0,Ze.Rm)()&&!((Ce=ce.AssistantObject.practice)!=null&&Ce.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=ce.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?"))};Mt.Z=(0,At.connect)(({shixunHomeworks:De,classroomList:ce})=>({shixunHomeworks:De,classroomList:ce}))(ve)},28063:function(rn,Mt,Be){"use strict";Be.r(Mt),Be.d(Mt,{default:function(){return ss}});var ue=Be(32162),we=Be(59301),ze=Be(25690),At=Be(61186),Ze=Be.n(At),Re=Be(86129),he=Be.n(Re),ve=Be(38986),De=Be(43418),ce=Be(8591),Ne=Be(61621),Ee=Be(66104),Ce=Be(3113),oe=Be(6848),y=Be(92832),a=Be(28103),E=Be(95237),b=Be(43604),x=Be(1710),z=Be(57809),ne=Be(58421),me=Be(95869),Ue=Be(87169),Pe=Be(26227),Te=Be(346),Ve=Be(48790),Ye=Be(51257),nt=Be(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:Ln,data:gn,globalSetting:hn,loading:Hn,dispatch:Wn})=>{var dr;const{shixunWorkReport:Hr}=Ln;let br=((dr=gn==null?void 0:gn.efficiency_list)==null?void 0:dr.length)-parseInt(gn==null?void 0:gn.myself_eff[0]);const Or=()=>({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(vn){return vn.name===Hr.username?"\u59D3\u540D\uFF1A"+Hr.username+"
\u5B66\u53F7\uFF1A "+Hr.user_id+"
\u6548\u7387\uFF1A"+(gn==null?void 0:gn.myself_eff[1]):vn.name+":"+vn.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:gn==null?void 0:gn.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:Hr.username,xAxis:br,yAxis:gn==null?void 0:gn.myself_eff[1],value:gn==null?void 0:gn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),nn=()=>({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(vn){var In=vn.value;if(vn.name===Hr.username)return"\u59D3\u540D\uFF1A"+Hr.username+"
\u5B66\u53F7\uFF1A "+Hr.user_id+"
\u5F97\u5206\uFF1A"+(gn==null?void 0:gn.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:gn==null?void 0:gn.consume_list,symbolSize:function(vn){return Math.round(vn[2])},markPoint:{data:[{name:Hr.username,xAxis:gn==null?void 0:gn.myself_object[0],yAxis:gn==null?void 0:gn.myself_object[1],value:gn==null?void 0:gn.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:Or()})),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"},Hr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Hr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},gn==null?void 0:gn.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},gn==null?void 0:gn.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:nn()})),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"},Hr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Hr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},gn==null?void 0:gn.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 kt=(0,ze.connect)(({shixunHomeworks:Ln,loading:gn,globalSetting:hn})=>({shixunHomeworks:Ln,globalSetting:hn,loading:gn.effects}))(Qe),ut=Be(75975),it=Be(5871),Nt=({defaultValue:Ln,onBlur:gn,max:hn,className:Hn="game-score"})=>{const[Wn,dr]=(0,we.useState)(Ln);(0,we.useEffect)(()=>{dr(Ln)},[Ln]);function Hr(Or){dr(Or)}function br(){Wn!==Ln&&gn(Wn>hn?hn:Wn)}return we.createElement(it.Z,{max:hn,min:0,className:Hn,value:Wn,onChange:Hr,onBlur:br})},mt=Be(39793),Pt={md:"md___GIQyK"},gt=Be(59301),et=Object.defineProperty,Xt=Object.defineProperties,An=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,zn=(Ln,gn,hn)=>gn in Ln?et(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,fn=(Ln,gn)=>{for(var hn in gn||(gn={}))qt.call(gn,hn)&&zn(Ln,hn,gn[hn]);if(bt)for(var hn of bt(gn))wn.call(gn,hn)&&zn(Ln,hn,gn[hn]);return Ln},qn=(Ln,gn)=>Xt(Ln,An(gn));const It=z.default.Option,On={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var rr=(Ln=>(Ln[Ln.SET_PATH=0]="SET_PATH",Ln[Ln.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ln))(rr||{});function ke(Ln,gn){switch(gn.type){case 0:return qn(fn({},Ln),{selectedPath:gn.payload});case 1:return qn(fn({},Ln),{passedContent:gn.payload});default:throw new Error}}var _t=({path:Ln,game_id:gn,onPathChange:hn,autoHeight:Hn,diff_code_count:Wn,data:dr,game_codes_cn:Hr})=>{var br,Or,nn,vn;const In=Ln.split("\uFF1B").filter(Cr=>!!Cr),[Yn,Tr]=(0,we.useReducer)(ke,{selectedPath:In[0],passedContent:{language:"python",content:""}}),{selectedPath:ra,passedContent:ar}=Yn;function Br(Cr){Tr({type:0,payload:Cr})}const pr={\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 gt.createElement(gt.Fragment,null,gt.createElement("h2",null," ",gt.createElement("span",null,Hr,gt.createElement(oe.Z,{title:gt.createElement("div",null,gt.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),gt.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),gt.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"),gt.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},gt.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Wn&>.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Wn),gt.createElement("span",null,gt.createElement(z.default,{style:{width:200},value:ra,onChange:Br}," ",In.map(Cr=>gt.createElement(It,{key:Cr,value:Cr},Cr))," "))," "),(ra==null?void 0:ra.split(".")[1])==="md"&>.createElement(mt.Z,{height:300,autoHeight:Hn,defaultValue:((Or=(br=dr==null?void 0:dr.filter(Cr=>Cr.path===ra))==null?void 0:br[0])==null?void 0:Or.content)||"",className:Pt.md}),(ra==null?void 0:ra.split(".")[1])!=="md"&>.createElement(ut.ZP,{height:300,language:ar.language,value:((vn=(nn=dr==null?void 0:dr.filter(Cr=>Cr.path===ra))==null?void 0:nn[0])==null?void 0:vn.content)||"",autoHeight:Hn,theme:"default",isCopy:!0,options:On}))},He=Be(82264),pe=Be(96249),se=Be.n(pe),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Xe=(Ln,gn,hn)=>gn in Ln?ye(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,Ot=(Ln,gn)=>{for(var hn in gn||(gn={}))pt.call(gn,hn)&&Xe(Ln,hn,gn[hn]);if(qe)for(var hn of qe(gn))Me.call(gn,hn)&&Xe(Ln,hn,gn[hn]);return Ln},yt=(Ln,gn,hn)=>new Promise((Hn,Wn)=>{var dr=Or=>{try{br(hn.next(Or))}catch(nn){Wn(nn)}},Hr=Or=>{try{br(hn.throw(Or))}catch(nn){Wn(nn)}},br=Or=>Or.done?Hn(Or.value):Promise.resolve(Or.value).then(dr,Hr);br((hn=hn.apply(Ln,gn)).next())});const lt=({shixunHomeworks:Ln,autoHeight:gn,classroomList:hn,dispatch:Hn})=>{var Wn,dr,Hr,br,Or,nn,vn;const{shixunWorkReport:In}=Ln,{stage_list:Yn,work_id:Tr}=In,[ra,ar]=(0,we.useState)(!1),[Br,pr]=(0,we.useState)(!0),[Cr,Fr]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),cr=(0,we.useRef)(null),[ta,Xa]=(0,we.useState)(!1),uo=(na,Ba)=>{var $a;const{clientWidth:Io,clientHeight:co}=window.document.documentElement,ka=($a=cr.current)==null?void 0:$a.getBoundingClientRect();ka&&Fr({left:-ka.left+Ba.x,right:Io-(ka.right-Ba.x),top:-ka.top+Ba.y,bottom:co-(ka.bottom-Ba.y)})},va=(0,ze.useParams)(),xa=(0,Ve.GJ)(),qa={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log(va)},[]);const io=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(na,Ba,$a)=>we.createElement("div",null,na,Ba.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:na=>Ze()(na).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(na,Ba)=>we.createElement("span",{className:"c-blue current",onClick:()=>yt(void 0,null,function*(){var $a,Io;const co=yield(0,He.Lk)(Ba.game_identifier,{path:(Io=($a=Ba.path)==null?void 0:$a.replace(/\;/g,";"))==null?void 0:Io.split(";")[0],query_index:Ba.query_index,homework_common_id:va.categoryId});(co==null?void 0:co.status)===0&&(Xa(co),ar(!0))})},Ba.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],fo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(na,Ba)=>{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=Ba==null?void 0:Ba.user)==null?void 0:$a.image_url)}),na)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:na=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",na,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:na=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",na,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:na=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",na?Ze()(na).format("YYYY-MM-DD HH:mm"):"--")}];function xn(na,Ba){return yt(this,null,function*(){const{challenge_id:$a}=Yn[na],Io=yield Hn({type:"shixunHomeworks/changeScore",payload:{categoryId:va.homeworkId,type:"report",score:Ba,challenge_id:$a}});yield Hn({type:"shixunHomeworks/getShixunWorkReport",payload:Ot({},va)}),Io.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function En(na,Ba){return(0,ve.U2)(`student_works/${Tr}/rep_passed_content.json`,{path:Ba,game_id:na})}const FA=In.shixun_detail;return we.createElement(we.Fragment,null,FA==null?void 0:FA.map(function(na,Ba){var $a,Io;return we.createElement("div",{key:Ba},we.createElement("aside",{className:"pl30 pr30",key:Ba},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",Ba+1,"\u5173 ",we.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${va.coursesId}/${va.categoryId}/${na.game_identifier}`},na.subject))),xa?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement(Nt,{className:"game-score",max:Yn[Ba].game_score_full,defaultValue:Yn[Ba].game_score,onBlur:co=>{var ka;if((0,Ve.Rm)()&&!((ka=hn.AssistantObject.practice)!=null&&ka.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xn(Ba,co)}})):null),we.createElement("div",{className:"font16 mt10"},na.st===0&&(na.path?typeof(na==null?void 0:na.game_codes_cn)=="string"?we.createElement("aside",{className:Oe.shixunWrp},we.createElement(_t,{game_codes_cn:na==null?void 0:na.game_codes_cn,autoHeight:gn,path:na.path,game_id:na.id,data:na.game_codes,diff_code_count:na.diff_code_count,onPathChange:En})):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"),na.st===1&&(na.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=na.outputs)!=null&&$a.length?we.createElement(x.default,{columns:io,pagination:{hideOnSinglePage:!0},dataSource:na.outputs.map(co=>Ot(Ot({},na),co))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((Io=na==null?void 0:na.adjust_review_score_list)==null?void 0:Io.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:fo,pagination:{hideOnSinglePage:!0},dataSource:na.adjust_review_score_list,showHeader:!1})))))}),we.createElement(De.default,{open:ra,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Xa({}),ar(!1)},onCancel:()=>{Xa({}),ar(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Br&&pr(!1)},onMouseOut:()=>{pr(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:na=>we.createElement(se(),{disabled:Br,bounds:Cr,nodeRef:cr,onStart:(Ba,$a)=>uo(Ba,$a)},we.createElement("div",{ref:cr},na))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},((Wn=ta==null?void 0:ta.data)==null?void 0:Wn.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:((dr=ta==null?void 0:ta.data)==null?void 0:dr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Hr=ta==null?void 0:ta.data)==null?void 0:Hr.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()((br=ta==null?void 0:ta.data)==null?void 0:br.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"}},(Or=ta==null?void 0:ta.data)==null?void 0:Or.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(nn=ta==null?void 0:ta.data)==null?void 0:nn.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"}},((vn=ta==null?void 0:ta.data)==null?void 0:vn.test_set_passed_rate)*100,"%")))),we.createElement(ut.ZP,{height:500,autoHeight:gn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ta==null?void 0:ta.content)||""))),options:qa})))};var Wt=(0,ze.connect)(({shixunHomeworks:Ln,loading:gn,globalSetting:hn,classroomList:Hn})=>({shixunHomeworks:Ln,globalSetting:hn,loading:gn.effects,classroomList:Hn}))(lt),kn=Be(78241),Qt={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=Be(6701),Rt=Be(59301),bn=Object.defineProperty,tn=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,gr=(Ln,gn,hn)=>gn in Ln?bn(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,zr=(Ln,gn)=>{for(var hn in gn||(gn={}))Ar.call(gn,hn)&&gr(Ln,hn,gn[hn]);if(tn)for(var hn of tn(gn))Sr.call(gn,hn)&&gr(Ln,hn,gn[hn]);return Ln},Nr=(Ln,gn,hn)=>new Promise((Hn,Wn)=>{var dr=Or=>{try{br(hn.next(Or))}catch(nn){Wn(nn)}},Hr=Or=>{try{br(hn.throw(Or))}catch(nn){Wn(nn)}},br=Or=>Or.done?Hn(Or.value):Promise.resolve(Or.value).then(dr,Hr);br((hn=hn.apply(Ln,gn)).next())});const ma=({shixunHomeworks:Ln,dispatch:gn,classroomList:hn})=>{const{shixunWorkReport:Hn}=Ln,Wn=(0,ze.useParams)(),[dr,Hr]=(0,we.useState)(!1),[br]=kn.default.useForm(),[Or,nn]=De.default.useModal(),[vn,In]=(0,we.useState)(!1),[Yn,Tr]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var Br,pr,Cr,Fr;Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&br.setFieldsValue({comment:(pr=(Br=Ln.actionTabs.selectArrs)==null?void 0:Br.data)==null?void 0:pr.work_comment,hidden_comment:(Fr=(Cr=Ln.actionTabs.selectArrs)==null?void 0:Cr.data)==null?void 0:Fr.work_comment_hidden})},[Ln.actionTabs.key]);const ra=()=>Nr(void 0,null,function*(){const Br=br.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${Wn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Br.hidden_comment,comment:Br.comment}})).status===0&&(ce.ZP.success("\u8BC4\u9605\u6210\u529F"),br.resetFields(),gn({type:"shixunHomeworks/setActionTabs",payload:{}}),gn({type:"shixunHomeworks/getShixunWorkReport",payload:zr({},Wn)}))}),ar=[{title:"\u5173\u5361",dataIndex:"name",render:(Br,pr,Cr)=>Cr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Br,pr,Cr)=>Rt.createElement("div",null,Br,pr.complete_status===4&&Rt.createElement(Ye.vA,{status:pr.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:Br=>Br?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Br,pr)=>Rt.createElement("div",null,Rt.createElement("span",{style:{color:parseFloat(pr.game_score_full)!==parseFloat(Br)?"#E30000":"#53C41B"}},Br),"/",pr.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Br,pr)=>(0,Ve.GJ)()?Rt.createElement(Nt,{max:pr.game_score_full,defaultValue:parseFloat(Br),onBlur:Cr=>Nr(void 0,null,function*(){var Fr,cr;if((0,Ve.Rm)()&&!((Fr=hn.AssistantObject.practice)!=null&&Fr.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ta=yield gn({type:"shixunHomeworks/changeScore",payload:{categoryId:Wn.homeworkId,type:"report",score:Cr,challenge_id:pr.challenge_id}});(cr=Ln==null?void 0:Ln.actionTabs)==null||cr.fn(),yield gn({type:"shixunHomeworks/getShixunWorkReport",payload:zr({},Wn)}),ta.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Br}];return Rt.createElement(Rt.Fragment,null,nn,Rt.createElement(De.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Nr(void 0,null,function*(){var Br;if((0,Ve.Rm)()&&!((Br=hn.AssistantObject.practice)!=null&&Br.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const pr=br.getFieldsValue();JSON.stringify(pr)==="{}"||pr.hidden_comment===""&&pr.comment===""?Hr(!0):ra()}),onCancel:()=>{gn({type:"shixunHomeworks/setActionTabs",payload:{}})}},Rt.createElement(E.Z,{justify:"space-between",className:Qt.info},Rt.createElement(b.Z,null,Rt.createElement("span",{className:`${Qt.label} ${Qt.greyText}`},"\u59D3\u540D"),Rt.createElement("span",{className:Qt.blackContent},Hn==null?void 0:Hn.username)),Rt.createElement(b.Z,null,Rt.createElement("span",{className:`${Qt.label} ${Qt.greyText}`},"\u5B66\u53F7"),Rt.createElement("span",{className:Qt.blackContent},(Hn==null?void 0:Hn.student_id)||"--")),Rt.createElement(b.Z,null,Rt.createElement("span",{className:`${Qt.label} ${Qt.greyText}`},"\u73ED\u7EA7"),Rt.createElement("span",{className:Qt.blackContent},(Hn==null?void 0:Hn.group_name)||"--")),Rt.createElement(b.Z,null,Rt.createElement("span",{className:`${Qt.label} ${Qt.greyText}`},"\u5173\u5361\u5F97\u5206"),Rt.createElement("span",{className:Qt.orangeContent},(Hn==null?void 0:Hn.challenge_score)||"--")),Rt.createElement(b.Z,null,Rt.createElement("span",{className:`${Qt.label} ${Qt.greyText}`},"\u6548\u7387\u5206"),Rt.createElement("span",{className:Qt.orangeContent},(Hn==null?void 0:Hn.eff_score)||"--")),Rt.createElement(b.Z,null,Rt.createElement("span",{className:`${Qt.label} ${Qt.greyText}`},"\u8865\u4EA4\u6263\u5206"),Rt.createElement("span",{className:Qt.orangeContent},(Hn==null?void 0:Hn.late_penalty)||"--")),Rt.createElement(b.Z,null,Rt.createElement("span",{className:`${Qt.label} ${Qt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Rt.createElement("span",{className:Qt.orangeContent},(Hn==null?void 0:Hn.work_score)||"--"))),Rt.createElement(kn.default,{form:br,onChange:()=>{dr&&Hr(!1)}},Rt.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Rt.createElement(b.Z,null,Rt.createElement("div",{className:`${Qt.inputLabel} ${Qt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Rt.createElement(b.Z,null,Rt.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:vn,onCancel:()=>{In(!1)}},onDataSelect:(Br,pr)=>Nr(void 0,[Br,pr],function*(Cr,{node:Fr}){const cr=()=>{br.setFieldsValue({comment:Fr==null?void 0:Fr.value}),In(!1)};if(br.getFieldValue("comment")){Or.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:cr});return}cr()})},Rt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Rt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Br=>{In(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Rt.createElement(kn.default.Item,{name:"comment"},Rt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Rt.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Rt.createElement(b.Z,null,Rt.createElement("div",{className:`${Qt.inputLabel} ${Qt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Rt.createElement(b.Z,null,Rt.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:Yn,onCancel:()=>{Tr(!1)}},onDataSelect:(Br,pr)=>Nr(void 0,[Br,pr],function*(Cr,{node:Fr}){const cr=()=>{br.setFieldsValue({hidden_comment:Fr==null?void 0:Fr.value}),Tr(!1)};if(br.getFieldValue("hidden_comment")){Or.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:cr});return}cr()})},Rt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Rt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Br=>{Tr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Rt.createElement(kn.default.Item,{name:"hidden_comment"},Rt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),dr&&Rt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Rt.createElement("div",{className:Qt.tableTitle},"\u5173\u5361\u6210\u7EE9"),Rt.createElement(x.default,{className:Qt.scoreTable,dataSource:Hn.stage_list,rowKey:"challenge_id",pagination:!1,columns:ar,scroll:{x:"max-content"}})))};var Qr=(0,ze.connect)(({shixunHomeworks:Ln,classroomList:gn})=>({shixunHomeworks:Ln,classroomList:gn}))(ma),ea=Be(79902),xr=Be(91842),_r=Be(1247),qr=Be(44164),Pa=Be.n(qr),ga={wrap:"wrap___rFTBy",line:"line___kZzhh"},aa=Be(1546),za=({detailData:Ln})=>{var gn;return we.createElement("div",{className:ga.wrap},we.createElement(aa.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,aa.Uf)(Ln),(Ln==null?void 0:Ln.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(aa.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,aa.Uf)(Ln)}),!!((gn=Ln==null?void 0:Ln.photos)!=null&&gn.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:ga.line}),we.createElement(aa._s,{dataSource:Ln==null?void 0:Ln.photos,right:21,col:4,wrapWidth:1140}))))},da=Be(40133),Bn=Be(59301),wi=Object.defineProperty,ro=Object.defineProperties,pi=Object.getOwnPropertyDescriptors,Ni=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,Jo=(Ln,gn,hn)=>gn in Ln?wi(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,ei=(Ln,gn)=>{for(var hn in gn||(gn={}))xo.call(gn,hn)&&Jo(Ln,hn,gn[hn]);if(Ni)for(var hn of Ni(gn))bi.call(gn,hn)&&Jo(Ln,hn,gn[hn]);return Ln},Dn=(Ln,gn)=>ro(Ln,pi(gn)),Gn=(Ln,gn)=>{var hn={};for(var Hn in Ln)xo.call(Ln,Hn)&&gn.indexOf(Hn)<0&&(hn[Hn]=Ln[Hn]);if(Ln!=null&&Ni)for(var Hn of Ni(Ln))gn.indexOf(Hn)<0&&bi.call(Ln,Hn)&&(hn[Hn]=Ln[Hn]);return hn},Cn=(Ln,gn,hn)=>new Promise((Hn,Wn)=>{var dr=Or=>{try{br(hn.next(Or))}catch(nn){Wn(nn)}},Hr=Or=>{try{br(hn.throw(Or))}catch(nn){Wn(nn)}},br=Or=>Or.done?Hn(Or.value):Promise.resolve(Or.value).then(dr,Hr);br((hn=hn.apply(Ln,gn)).next())});const Wr=Ln=>{var gn=Ln,{shixunHomeworks:hn,classroomList:Hn,globalSetting:Wn,loading:dr,user:Hr,dispatch:br}=gn,Or=Gn(gn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),nn,vn,In;const[Yn,Tr]=(0,we.useState)(ei({},(0,ze.useParams)())),ra=(0,ze.useParams)(),[ar,Br]=(0,we.useState)({page:1,page_size:10}),pr=(0,ze.useLocation)(),[]=(0,we.useState)([]),[Cr,Fr]=(0,we.useState)(),cr=(0,we.useRef)(),[ta,Xa]=(0,we.useState)(!1),[uo,va]=(0,we.useState)(!0),[xa,qa]=(0,we.useState)(!1),[io,fo]=(0,we.useState)(!1),{shixunWorkReport:xn}=hn,[En,FA]=(0,we.useState)(),[na,Ba]=(0,we.useState)([]),[$a,Io]=(0,we.useState)(),[co,ka]=(0,we.useState)("all"),oi=(0,Ve.GJ)(),[Xi,Ri]=(0,we.useState)(new(he())),[qi,Oi]=(0,we.useState)(0),[WA,Ti]=(0,we.useState)(!1),[oa,Pl]=(0,we.useState)(!1),[ji,qs]=(0,we.useState)(!1),[xA,RA]=(0,we.useState)(""),[Ho,dl]=(0,we.useState)(!1),[Gl,gl]=(0,we.useState)(!0),[fl,Ds]=(0,we.useState)(0),ls=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),MA=(0,we.useRef)(),di=()=>Cn(void 0,null,function*(){(Hr.userInfo.is_teacher||Hr.userInfo.admin)&&(dl(!0),gl(!1))});(0,we.useEffect)(()=>{var Rr;(0,Ve.Rm)()&&Hn.AssistantObject.practice&&!((Rr=Hn.AssistantObject.practice)!=null&&Rr.can_view)&&ze.history.replace("/403")},[(nn=Hn.AssistantObject.practice)==null?void 0:nn.can_view]),(0,we.useEffect)(()=>{di(),console.log("\u6253\u5370\u7684------",xn),MA.current=xn==null?void 0:xn.next_student_work_id,RA(xn.repeat_minus_score)},[xn,Hr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",xn.work_score),Ds(xn.work_score)},[xn.work_score,xA]),(0,we.useEffect)(()=>(br({type:"globalSetting/footerToggle",payload:!1}),()=>{br({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var Rr;if(xn){let Ta=[];(Rr=xn==null?void 0:xn.target_test_sets)==null||Rr.map((mr,La)=>{var to;(to=mr==null?void 0:mr.targets)==null||to.map((Ki,$i)=>{var ii;Ki.name=mr==null?void 0:mr.name,Ki.total_target_score=mr==null?void 0:mr.total_target_score,Ki.actual_target_score=mr==null?void 0:mr.actual_target_score,Ki.rowSpan=$i===0?(ii=mr==null?void 0:mr.targets)==null?void 0:ii.length:0,Ki.order=La+1,Ta.push(Ki)})}),FA(Ta),(0,Ve.Rm)()&&br({type:"classroomList/getAssistantPermissions",payload:{course_id:Yn.coursesId}})}},[xn]),(0,we.useEffect)(()=>{hn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(xn==null?void 0:xn.students_count)>0&&!uo&&setTimeout(()=>{Us("all")},800)},[xn==null?void 0:xn.homework_common_id,uo]),(0,we.useEffect)(()=>{Tr(ei({},ra))},[pr.pathname]);const LA=()=>{document.body.scrollIntoView()},KA=Rr=>{ar.page=Rr,Br(ei({},ar)),ai(ar,co)},ai=(Rr,Ta)=>Cn(void 0,null,function*(){qa(!0);const mr=yield(0,ve.ZP)(`/api/student_works/${Yn==null?void 0:Yn.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Dn(ei({},Rr),{challenge_id:Ta=="all"?null:Ta})});(mr==null?void 0:mr.status)===0&&(Ba(mr==null?void 0:mr.list),Io(mr==null?void 0:mr.count)),qa(!1)});function Mi(){return Cn(this,null,function*(){ls.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const $s=()=>{document.querySelectorAll("canvas").forEach(Rr=>{(!Rr.clientWidth||!Rr.clientHeight)&&Rr.remove()})},ml=Rr=>Cn(void 0,null,function*(){const Ta=yield(0,_r.t1)({homeworkId:Rr||Yn.homeworkId});Fr(Ta==null?void 0:Ta.data)}),Us=Rr=>Cn(void 0,null,function*(){var Ta,mr,La,to;let Ki=0,$i;$i=De.default.info({width:460,title:Bn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",Bn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Bn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Bn.createElement("span",{className:"c-blue"},Ki+1),"/",Rr!=="all"?1:xn==null?void 0:xn.students_count,Bn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Oe.modal,onOk:()=>{}});const ii={margin:[0,0],filename:`${xn!=null&&xn.student_id&&(xn==null?void 0:xn.student_id)!="--"?xn==null?void 0:xn.student_id:""}${xn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},us=Xi.folder(xn==null?void 0:xn.shixun_name);function cs(BA){return Cn(this,null,function*(){yield ml(BA||MA.current);const Co=yield br({type:"shixunHomeworks/getShixunWorkReport",payload:ei({homeworkId:BA||MA.current},ls.current||{})});MA.current=Co==null?void 0:Co.next_student_work_id,LA(),Ki++,setTimeout(()=>Cn(this,null,function*(){var ts,Eo,dA,Li;$s();const Si=us.folder(`${Co==null?void 0:Co.group_name}`).folder(`${Co!=null&&Co.student_id&&(Co==null?void 0:Co.student_id)!="--"?Co.student_id+"+":""}${Co==null?void 0:Co.username}`),bs=document.querySelector("#export-all").children;let ds=Pa()();for(let Ei=0;EiCn(this,null,function*(){Ei0&&((dA=(Eo=Co==null?void 0:Co.shixun_detail)==null?void 0:Eo.filter(Ei=>{var SA;return((SA=Ei==null?void 0:Ei.game_codes)==null?void 0:SA.length)>0}))==null?void 0:dA.length)>0){const Ei=Si.folder("\u4EE3\u7801\u6587\u4EF6");(Li=Co==null?void 0:Co.shixun_detail)==null||Li.map((SA,gA)=>{var zA,ae;if(((zA=SA==null?void 0:SA.game_codes)==null?void 0:zA.length)>0){const te=Ei.folder(`\u7B2C${gA+1}\u5173-${SA.subject}-${SA.id}`);(ae=SA==null?void 0:SA.game_codes)==null||ae.map(re=>{te.file(`${re.filename}.txt`,re==null?void 0:re.content)})}})}$i.update({content:Bn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Bn.createElement("span",{className:"c-blue"},Ki),"/",Co==null?void 0:Co.students_count,Bn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Ki==(Co==null?void 0:Co.students_count)?($i.destroy(),es()):cs()}),2200)})}if(Rr!=="all"||(xn==null?void 0:xn.students_count)<2){$s(),LA();const BA=cr.current.children;let Co=Pa()();const Eo=us.folder(`${xn==null?void 0:xn.group_name}`).folder(`${xn!=null&&xn.student_id&&(xn==null?void 0:xn.student_id)!="--"?(xn==null?void 0:xn.student_id)+"+":""}${xn==null?void 0:xn.username}`);for(let dA=0;dACn(void 0,null,function*(){dA0&&((La=(mr=xn==null?void 0:xn.shixun_detail)==null?void 0:mr.filter(dA=>{var Li;return((Li=dA==null?void 0:dA.game_codes)==null?void 0:Li.length)>0}))==null?void 0:La.length)>0){const dA=Eo.folder("\u4EE3\u7801\u6587\u4EF6");(to=xn==null?void 0:xn.shixun_detail)==null||to.map((Li,IA)=>{var Si,bs;if(((Si=Li==null?void 0:Li.game_codes)==null?void 0:Si.length)>0){const ds=dA.folder(`\u7B2C${IA+1}\u5173-${Li.subject}-${Li.id}`);(bs=Li==null?void 0:Li.game_codes)==null||bs.map(Ei=>{ds.file(`${Ei.filename}.txt`,Ei==null?void 0:Ei.content)})}})}$i.destroy(),es();return}else cs(xn==null?void 0:xn.first_student_work_id)}),es=()=>{Xi.generateAsync({type:"blob"}).then(function(Rr){console.log(xn,"shixunWorkReport");const Ta=document.createElement("a");Ta.href=window.URL.createObjectURL(Rr),Ta.download=(xn==null?void 0:xn.shixun_name)+".zip",document.body.appendChild(Ta);const mr=document.createEvent("MouseEvents");mr.initEvent("click",!1,!1),Ta.dispatchEvent(mr),document.body.removeChild(Ta),Ri(new(he()))}),fo(!1)};(0,we.useEffect)(()=>{Qs()},[Yn.homeworkId]);const Qs=()=>Cn(void 0,null,function*(){yield br({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Yn),ls.current||{})}),ml(),(0,Ve.GJ)()&&Mi(),va(!1)}),ws=[{title:"\u5173\u5361",dataIndex:"name",render:(Rr,Ta,mr)=>mr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Rr,Ta,mr)=>Bn.createElement("div",null,Rr,Ta.complete_status===4&&Bn.createElement(Ye.vA,{status:Ta.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Rr,Ta,mr)=>Rr||"- -"},{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:Rr=>Rr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Rr,Ta)=>Bn.createElement("div",null,Bn.createElement("span",{style:{color:parseFloat(Ta.myself_experience)!==parseFloat(Rr)?"red":"green"}},Ta.myself_experience),"/",Rr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Rr,Ta)=>Bn.createElement("div",null,Bn.createElement("span",{style:{color:parseFloat(Ta.game_score_full)!==parseFloat(Rr)?"red":"green"}},Rr),"/",Ta.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Rr,Ta)=>oi?Bn.createElement(Nt,{max:Ta.game_score_full,defaultValue:parseFloat(Rr),onBlur:mr=>Cn(void 0,null,function*(){var La;if((0,Ve.Rm)()&&!((La=Hn.AssistantObject.practice)!=null&&La.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const to=yield br({type:"shixunHomeworks/changeScore",payload:{categoryId:Yn.homeworkId,type:"report",score:mr,challenge_id:Ta.challenge_id}});ai({page:1,page_size:10},"all"),yield br({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Yn),ls.current||{})}),to.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Rr}];let vA=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Rr,Ta,mr)=>({children:Rr,props:{rowSpan:Ta.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Rr,Ta,mr)=>({children:Rr,props:{rowSpan:Ta.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:(Rr,Ta,mr)=>Bn.createElement("div",null,Bn.createElement("span",{style:{color:parseFloat(Ta.actual_test_score)!==parseFloat(Rr)?"red":"green"}},Ta.actual_test_score),"/",Rr)},{title:"\u6307\u6807\u603B\u5206",render:(Rr,Ta,mr)=>({children:Bn.createElement("div",null,Bn.createElement("span",{style:{color:parseFloat(Ta.actual_target_score)!==parseFloat(Rr)?"red":"green"}},Ta.actual_target_score),"/",Rr),props:{rowSpan:Ta.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const hl=[{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:Rr=>Bn.createElement("span",null,Rr?Ze()(Rr).format("YYYY-MM-DD HH:mm"):"--")}],el=Rr=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Rr==="next"?ze.history.push(`/classrooms/${Yn.coursesId}/shixun_homework/${Yn.categoryId}/${xn==null?void 0:xn.next_student_work_id}/comment`):ze.history.push(`/classrooms/${Yn.coursesId}/shixun_homework/${Yn.categoryId}/${xn==null?void 0:xn.pre_student_work_id}/comment`)},200)},tl=Rr=>{RA(""),Rr.target.value&&(console.log("\u8FDB\u6765",xn),Rr.target.value=Rr.target.value>xn.repeat_setting_score?xn.repeat_setting_score:Rr.target.value,RA(Rr.target.value))},pl=()=>Cn(void 0,null,function*(){const Rr=yield(0,ve.ZP)(`/api/student_works/${xn==null?void 0:xn.work_id}/update_repeat_score`,{method:"put",body:{score:xA}});yield br({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Yn),ls.current||{})}),Rr.status===0&&ce.ZP.info("\u64CD\u4F5C\u6210\u529F")});return Bn.createElement("section",{style:{minHeight:"100vh",background:`url(${Be(26528)}) center / cover no-repeat`}},Bn.createElement("div",{className:"edu-container pb-60px"},Bn.createElement(Ne.Z,{loading:dr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},xn.course_id&&Bn.createElement("section",{className:"animated fadeIn pt-10px"},xn.category&&Bn.createElement(Ee.Z,{separator:">",items:[{title:Bn.createElement(ze.Link,{to:`/classrooms/${xn.course_id}/shixun_homework`}," ",xn.course_name)},{title:Bn.createElement(ze.Link,{to:`/classrooms/${xn.course_id}/shixun_homework/${xn.category.main?"":xn.category.category_id}`}," ",xn.category.category_name)},{title:Bn.createElement(ze.Link,{to:`/classrooms/${xn.course_id}/shixun_homework/${xn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:xn.username}]}),Bn.createElement("div",{className:"mt20 flex item-center gap-10px"},Bn.createElement("strong",{className:"font20"}," ",xn==null?void 0:xn.homework_name," "),Bn.createElement(Ye.VV,{temporary:!0,status:xn.homework_status}),Bn.createElement("div",{className:"ml-auto flex item-center gap-10px"},xn.view_tpi&&Bn.createElement(Ce.ZP,{icon:Bn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Rr,Ta;(0,Ye.xg)(`/tasks/${xn==null?void 0:xn.course_id}/${xn==null?void 0:xn.homework_common_id}/${(Ta=(Rr=xn==null?void 0:xn.shixun_detail)==null?void 0:Rr[0])==null?void 0:Ta.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ve.GJ)()&&xn.homework_end===!1&&!!xn.myshixun_id&&Bn.createElement(Ce.ZP,{icon:Bn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>Cn(void 0,null,function*(){yield br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:xn.myshixun_identifier},homework_common_id:ra.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),Bn.createElement(Ce.ZP,{icon:Bn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Rr;if((0,Ve.Rm)()&&!((Rr=Hn.AssistantObject.practice)!=null&&Rr.can_download)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Us("")},loading:ta},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ve.GJ)()&&(xn==null?void 0:xn.students_count)>1&&Bn.createElement(Ce.ZP,{icon:Bn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Rr;if((0,Ve.Rm)()&&!((Rr=Hn.AssistantObject.practice)!=null&&Rr.can_download)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}De.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:Bn.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:Bn.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:()=>{Us("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,da.jj)({categoryId:Yn.categoryId,coursesId:Yn.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),Bn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},Bn.createElement("div",{id:"export-all",ref:cr},Bn.createElement("div",{id:"export-all-1"},Bn.createElement("div",{className:"flex item-center"},Bn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ve.GJ)()&&Bn.createElement(Ce.ZP,{className:`ml-auto rounded-4px ${Oe.NewButtonStyle}`,type:"primary",icon:Bn.createElement(me.Z,{rev:void 0}),onClick:()=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:xn.user_id,data:ei({},xn)},fn:()=>ai({page:1,page_size:10},"all")}})}}," ",xn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),Bn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},Bn.createElement("div",{className:"flex flex-col justify-center item-center"},Bn.createElement("div",{className:"flex flex-col item-center"},Bn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Te.Z.IMG_SERVER}/images/${xn.image_url}`,alt:xn.username}),Bn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},Bn.createElement(Ye.vA,{status:xn.compelete_status}))),Bn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},xn.username),Bn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",Bn.createElement("span",{className:"ml10 c-grey-333"},xn.student_id||"--")),Bn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",Bn.createElement("span",{className:"ml10 c-grey-333"},xn.group_name||"--"))),Bn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},Bn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:Bn.createElement(Bn.Fragment,null,Bn.createElement("span",{className:"c-red"},xn.complete_count||"--"),"/",Bn.createElement("span",{className:"c-red"},xn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:Bn.createElement(Bn.Fragment,null,Bn.createElement("span",{className:"c-red"},xn.current_complete_count||"--"),"/",Bn.createElement("span",{className:"c-red"},xn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:xn&&xn.efficiency===null?"--":xn&&xn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:xn&&xn.max_efficiency===null?"--":xn&&xn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:Bn.createElement(Bn.Fragment,null,Bn.createElement("span",{className:"c-orange"},xn.challenge_score),"/",Bn.createElement("span",{className:"c-light-black"},xn.challenge_score_full)),hidden:!(xn!=null&&xn.eff_score_full)},{title:"\u6548\u7387\u5206",children:Bn.createElement(Bn.Fragment,null,Bn.createElement("span",{className:"c-orange"},xn.eff_score),"/",Bn.createElement("span",{className:"c-light-black"},xn.eff_score_full)),hidden:!(xn!=null&&xn.eff_score_full)}].map((Rr,Ta)=>!(Rr!=null&&Rr.hidden)&&Bn.createElement("div",{key:Ta,className:"flex flex-col item-center gap-10px"},Bn.createElement("div",{className:"text-16px"},Rr==null?void 0:Rr.children),Bn.createElement("div",{style:{color:"#8E8E8E"}},Rr==null?void 0:Rr.title)))),Bn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:xn&&xn.passed_time===null||xn&&xn.passed_time==="--"?"--":Ze()(xn&&xn.passed_time).format("YYYY-MM-DD HH:mm")},{title:Bn.createElement(Bn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",Bn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Rr=>{Ti(!0)}})),children:xn==null?void 0:xn.human_training_time_rules},{title:Bn.createElement(Bn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",Bn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Rr=>{Pl(!0)}})),children:xn==null?void 0:xn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:xn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:xn&&xn.passed_time===null||xn&&xn.passed_time==="--"?"--":Ze()(xn&&xn.passed_time).format("YYYY-MM-DD HH:mm")},{title:Bn.createElement(Bn.Fragment,null," \u67E5\u91CD\u6263\u5206",xn!=null&&xn.review_rate?Bn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{xn!=null&&xn.review_id&&Ho&&(localStorage.setItem("studentDetial",window.location.pathname),ze.history.push(`/classrooms/:coursesId/shixun_homework/${Yn.categoryId}/review_detail/${xn==null?void 0:xn.review_id}`))}}," ",xn.review_rate.toFixed(1),"% "):Bn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:Bn.createElement(Bn.Fragment,null,(xn==null?void 0:xn.repeat_minus_score)!==0?"- -":Bn.createElement(Bn.Fragment,null,Ho?Bn.createElement(Bn.Fragment,null,Bn.createElement(y.default,{style:{width:"45px",height:"22px"},value:xA,onChange:Rr=>{tl(Rr)},onBlur:pl,disabled:Gl})," / ",xn==null?void 0:xn.repeat_setting_score):Bn.createElement(Bn.Fragment,null," ",xn==null?void 0:xn.repeat_minus_score," / ",xn==null?void 0:xn.repeat_setting_score," "))),hidden:!(xn!=null&&xn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:xn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:Bn.createElement(Bn.Fragment,null,Bn.createElement("span",{className:"c-orange"},fl),"/",Bn.createElement("span",{className:"c-light-black"},xn.all_work_score))}].map((Rr,Ta)=>!(Rr!=null&&Rr.hidden)&&Bn.createElement("div",{key:Ta,className:"flex flex-col item-center gap-10px"},Bn.createElement("div",{className:"text-16px"},Rr==null?void 0:Rr.children),Bn.createElement("div",{style:{color:"#8E8E8E"}},Rr==null?void 0:Rr.title))))),Bn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${Be(55541)}) center / cover no-repeat`}},xn.overall_appraisal)),Bn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(xn.work_comment_hidden||xn.work_comment)&&Bn.createElement("div",null,Bn.createElement(E.Z,{align:"middle"},Bn.createElement(b.Z,{flex:1},Bn.createElement("h1",{className:Oe.title},"\u70B9\u8BC4\u5185\u5BB9")),Bn.createElement(b.Z,{className:"pr30"},(0,Ve.GJ)()&&Bn.createElement(Ce.ZP,{onClick:()=>Cn(void 0,null,function*(){De.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Bn.createElement(Ue.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Cn(this,null,function*(){(yield(0,_r.gZ)({comment_id:xn.comment_id,homeworkId:Yn.homeworkId})).status===0&&(ce.ZP.success("\u5220\u9664\u6210\u529F"),br({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Yn),ls.current||{})}))})}})})},Bn.createElement(Pe.Z,null),"\u5220\u9664"))),Bn.createElement(a.Z,{style:{margin:0}}),xn.work_comment&&Bn.createElement("aside",{className:"pl30 pr30 mt20"},Bn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Bn.createElement("br",null),Bn.createElement(xr.Z,{value:xn.work_comment})),xn.work_comment_hidden&&Bn.createElement("aside",{className:"pl30 pr30 mt20"},Bn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Bn.createElement("br",null),Bn.createElement(xr.Z,{value:xn.work_comment_hidden}))),(xn==null?void 0:xn.action_analysis)&&Bn.createElement(za,{detailData:xn}),Bn.createElement("div",{className:Oe.score},Bn.createElement("h1",{className:Oe.title},"\u9636\u6BB5\u6210\u7EE9"),(xn==null?void 0:xn.adjust_review_score_count)>0&&(0,Ve.GJ)()&&Bn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{qs(!0),ai({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",xn==null?void 0:xn.adjust_review_score_count,"\u6B21\uFF09")),Bn.createElement(x.default,{className:Oe.TableStyle,dataSource:xn.stage_list,rowKey:Rr=>Rr==null?void 0:Rr.challenge_id,pagination:!1,columns:ws}),((vn=xn==null?void 0:xn.target_test_sets)==null?void 0:vn.length)>0&&Bn.createElement("div",null,Bn.createElement("h1",{className:Oe.title},"\u6307\u6807\u6210\u7EE9"),Bn.createElement(x.default,{className:Oe.TableStyle,dataSource:En,rowKey:Rr=>Rr==null?void 0:Rr.challenge_id,pagination:!1,bordered:!0,columns:vA})),(xn==null?void 0:xn.work_description)&&Bn.createElement(Bn.Fragment,null,Bn.createElement("h1",{className:Oe.title},"\u4E2A\u4EBA\u603B\u7ED3"),Bn.createElement(xr.Z,{value:xn==null?void 0:xn.work_description})),Bn.createElement("h1",{className:Oe.title},"\u56FE\u5F62\u7EDF\u8BA1"),Bn.createElement(kt,{data:Cr}),Bn.createElement("h1",{className:Oe.title},"\u5B9E\u8BAD\u8BE6\u60C5")),Bn.createElement(Wt,{autoHeight:io}))))),(0,Ve.GJ)()&&Bn.createElement("aside",{className:`sticky ${Oe.footerBar}`},Bn.createElement("aside",{className:"edu-container flex item-center"},Bn.createElement(ze.Link,{className:Oe.exitComment,to:`/classrooms/${Yn.coursesId}/shixun_homework/${Yn.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),Bn.createElement("div",{className:"ml-auto flex item-center gap-20px"},Bn.createElement(Ce.ZP,{disabled:!(xn!=null&&xn.pre_student_work_id),onClick:()=>el()},"\u4E0A\u4E00\u4E2A"),Bn.createElement(Ce.ZP,{disabled:!(xn!=null&&xn.next_student_work_id),onClick:()=>el("next")},"\u4E0B\u4E00\u4E2A"),(0,Ve.GJ)()&&Bn.createElement(Ce.ZP,{className:Oe.NewButtonStyle,type:"primary",onClick:()=>Cn(void 0,null,function*(){br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:xn.user_id,data:ei({},xn)},fn:()=>ai({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),Bn.createElement(Qr,null),Bn.createElement(ea.Z,null),Bn.createElement(De.default,{open:WA,width:860,centered:!0,onCancel:()=>{Ti(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Bn.createElement("div",{style:{color:"#333333",fontWeight:400}},Bn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Bn.createElement("br",null),Bn.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"),Bn.createElement("br",null),Bn.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"),Bn.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 "),Bn.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")),Bn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Bn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Bn.createElement("br",null),Bn.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 "),Bn.createElement("br",null),Bn.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"),Bn.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 "),Bn.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"),Bn.createElement("br",null),Bn.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")),Bn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Bn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Bn.createElement("br",null),Bn.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")),Bn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Bn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Bn.createElement("br",null),Bn.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"))),Bn.createElement(De.default,{open:oa,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Pl(!1)},width:600},Bn.createElement("div",{style:{fontWeight:400,color:"#333333"}},Bn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Bn.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"),Bn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Bn.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"),Bn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Bn.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"))),Bn.createElement(De.default,{open:ji,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{ka("all"),qs(!1)},destroyOnClose:!0,width:900},Bn.createElement("div",{style:{fontWeight:400,color:"#333333"}},Bn.createElement("div",null,Bn.createElement("span",null,"\u5173\u5361\uFF1A"),Bn.createElement(z.default,{style:{width:300},value:co,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Rr=>Cn(void 0,null,function*(){ka(Rr),ai({page:1,page_size:10},Rr)})},Bn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(In=xn==null?void 0:xn.stage_list)==null?void 0:In.map((Rr,Ta)=>Bn.createElement(z.default.Option,{key:Ta,value:Rr==null?void 0:Rr.challenge_id},"\u7B2C",(0,Ye.EM)(Ta+1),"\u5173")))),Bn.createElement("div",{className:"mt20"},Bn.createElement(x.default,{dataSource:na,rowKey:Rr=>Rr==null?void 0:Rr.id,pagination:!1,columns:hl,loading:xa})),Bn.createElement("div",{className:Oe.footer},Bn.createElement("div",null,Bn.createElement("span",{style:{color:"#656F87"}},"\u5171",Bn.createElement("span",{className:"c-light-primary"},$a),"\u6761\u6570\u636E")),Bn.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(ar==null?void 0:ar.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:$a,onChange:KA})))))};var ua=(0,ze.connect)(({shixunHomeworks:Ln,classroomList:gn,loading:hn,globalSetting:Hn,user:Wn})=>({shixunHomeworks:Ln,classroomList:gn,globalSetting:Hn,loading:hn.effects,user:Wn}))(Wr),Kr=Be(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"},ja={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Na=({shixunHomeworks:Ln,data:gn,globalSetting:hn,loading:Hn,dispatch:Wn})=>{var dr;const{shixunWorkReport:Hr}=Ln;let br=((dr=gn==null?void 0:gn.efficiency_list)==null?void 0:dr.length)-parseInt(gn==null?void 0:gn.myself_eff[0]);const Or=()=>({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(vn){return vn.name===Hr.username?"\u59D3\u540D\uFF1A"+Hr.username+"
\u5B66\u53F7\uFF1A "+Hr.user_id+"
\u6548\u7387\uFF1A"+(gn==null?void 0:gn.myself_eff[1]):vn.name+":"+vn.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:gn==null?void 0:gn.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:Hr.username,xAxis:br,yAxis:gn==null?void 0:gn.myself_eff[1],value:gn==null?void 0:gn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),nn=()=>({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(vn){var In=vn.value;if(vn.name===Hr.username)return"\u59D3\u540D\uFF1A"+Hr.username+"
\u5B66\u53F7\uFF1A "+Hr.user_id+"
\u5F97\u5206\uFF1A"+(gn==null?void 0:gn.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:ja,data:gn==null?void 0:gn.consume_list,symbolSize:function(vn){return Math.round(vn[2])},markPoint:{data:[{name:Hr.username,xAxis:gn==null?void 0:gn.myself_object[0],yAxis:gn==null?void 0:gn.myself_object[1],value:gn==null?void 0:gn.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:Or()})),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"},Hr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Hr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},gn==null?void 0:gn.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},gn==null?void 0:gn.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:nn()})),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"},Hr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Hr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},gn==null?void 0:gn.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 Wa=(0,ze.connect)(({shixunHomeworks:Ln,loading:gn,globalSetting:hn})=>({shixunHomeworks:Ln,globalSetting:hn,loading:gn.effects}))(Na),ti=({defaultValue:Ln,onBlur:gn,max:hn,className:Hn="game-score"})=>{const[Wn,dr]=(0,we.useState)(Ln);(0,we.useEffect)(()=>{dr(Ln)},[Ln]);function Hr(Or){dr(Or)}function br(){Wn!==Ln&&gn(Wn>hn?hn:Wn)}return we.createElement(it.Z,{max:hn,min:0,className:Hn,value:Wn,onChange:Hr,onBlur:br})},Lr={md:"md___TEmcT"},Ra=Be(59301),Xo=Object.defineProperty,Lo=Object.defineProperties,No=Object.getOwnPropertyDescriptors,so=Object.getOwnPropertySymbols,Ai=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,vi=(Ln,gn,hn)=>gn in Ln?Xo(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,rA=(Ln,gn)=>{for(var hn in gn||(gn={}))Ai.call(gn,hn)&&vi(Ln,hn,gn[hn]);if(so)for(var hn of so(gn))Di.call(gn,hn)&&vi(Ln,hn,gn[hn]);return Ln},Ci=(Ln,gn)=>Lo(Ln,No(gn));const Do=z.default.Option,Yi={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var _A=(Ln=>(Ln[Ln.SET_PATH=0]="SET_PATH",Ln[Ln.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ln))(_A||{});function Ui(Ln,gn){switch(gn.type){case 0:return Ci(rA({},Ln),{selectedPath:gn.payload});case 1:return Ci(rA({},Ln),{passedContent:gn.payload});default:throw new Error}}var Dr=({path:Ln,game_id:gn,onPathChange:hn,autoHeight:Hn,diff_code_count:Wn,data:dr,game_codes_cn:Hr})=>{var br,Or,nn,vn;const In=Ln.split("\uFF1B").filter(Cr=>!!Cr),[Yn,Tr]=(0,we.useReducer)(Ui,{selectedPath:In[0],passedContent:{language:"python",content:""}}),{selectedPath:ra,passedContent:ar}=Yn;function Br(Cr){Tr({type:0,payload:Cr})}const pr={\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 Ra.createElement(Ra.Fragment,null,Ra.createElement("h2",null," ",Ra.createElement("span",null,Hr,Ra.createElement(oe.Z,{title:Ra.createElement("div",null,Ra.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ra.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ra.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"),Ra.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ra.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Wn&&Ra.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Wn),Ra.createElement("span",null,Ra.createElement(z.default,{style:{width:200},value:ra,onChange:Br}," ",In.map(Cr=>Ra.createElement(Do,{key:Cr,value:Cr},Cr))," "))," "),(ra==null?void 0:ra.split(".")[1])==="md"&&Ra.createElement(mt.Z,{height:300,autoHeight:Hn,defaultValue:((Or=(br=dr==null?void 0:dr.filter(Cr=>Cr.path===ra))==null?void 0:br[0])==null?void 0:Or.content)||"",className:Lr.md}),(ra==null?void 0:ra.split(".")[1])!=="md"&&Ra.createElement(ut.ZP,{height:300,language:ar.language,value:((vn=(nn=dr==null?void 0:dr.filter(Cr=>Cr.path===ra))==null?void 0:nn[0])==null?void 0:vn.content)||"",autoHeight:Hn,theme:"default",isCopy:!0,options:Yi}))},Cl=Object.defineProperty,$A=Object.getOwnPropertySymbols,Zs=Object.prototype.hasOwnProperty,TA=Object.prototype.propertyIsEnumerable,Yr=(Ln,gn,hn)=>gn in Ln?Cl(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,Da=(Ln,gn)=>{for(var hn in gn||(gn={}))Zs.call(gn,hn)&&Yr(Ln,hn,gn[hn]);if($A)for(var hn of $A(gn))TA.call(gn,hn)&&Yr(Ln,hn,gn[hn]);return Ln},lo=(Ln,gn,hn)=>new Promise((Hn,Wn)=>{var dr=Or=>{try{br(hn.next(Or))}catch(nn){Wn(nn)}},Hr=Or=>{try{br(hn.throw(Or))}catch(nn){Wn(nn)}},br=Or=>Or.done?Hn(Or.value):Promise.resolve(Or.value).then(dr,Hr);br((hn=hn.apply(Ln,gn)).next())});const ya=({shixunHomeworks:Ln,autoHeight:gn,classroomList:hn,dispatch:Hn})=>{var Wn,dr,Hr,br,Or,nn,vn;const{shixunWorkReport:In}=Ln,{stage_list:Yn,work_id:Tr}=In,[ra,ar]=(0,we.useState)(!1),[Br,pr]=(0,we.useState)(!0),[Cr,Fr]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),cr=(0,we.useRef)(null),[ta,Xa]=(0,we.useState)(!1),uo=(na,Ba)=>{var $a;const{clientWidth:Io,clientHeight:co}=window.document.documentElement,ka=($a=cr.current)==null?void 0:$a.getBoundingClientRect();ka&&Fr({left:-ka.left+Ba.x,right:Io-(ka.right-Ba.x),top:-ka.top+Ba.y,bottom:co-(ka.bottom-Ba.y)})},va=(0,ze.useParams)(),xa=(0,Ve.GJ)(),qa={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log(va)},[]);const io=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(na,Ba,$a)=>we.createElement("div",null,na,Ba.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:na=>Ze()(na).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(na,Ba)=>we.createElement("span",{className:"c-blue current",onClick:()=>lo(void 0,null,function*(){var $a,Io;const co=yield(0,He.Lk)(Ba.game_identifier,{path:(Io=($a=Ba.path)==null?void 0:$a.replace(/\;/g,";"))==null?void 0:Io.split(";")[0],query_index:Ba.query_index,homework_common_id:va.categoryId});(co==null?void 0:co.status)===0&&(Xa(co),ar(!0))})},Ba.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],fo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(na,Ba)=>{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=Ba==null?void 0:Ba.user)==null?void 0:$a.image_url)}),na)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:na=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",na,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:na=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",na,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:na=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",na?Ze()(na).format("YYYY-MM-DD HH:mm"):"--")}];function xn(na,Ba){return lo(this,null,function*(){const{challenge_id:$a}=Yn[na],Io=yield Hn({type:"shixunHomeworks/changeScore",payload:{categoryId:va.homeworkId,type:"report",score:Ba,challenge_id:$a}});yield Hn({type:"shixunHomeworks/getShixunWorkReport",payload:Da({},va)}),Io.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function En(na,Ba){return(0,ve.U2)(`student_works/${Tr}/rep_passed_content.json`,{path:Ba,game_id:na})}const FA=In.shixun_detail;return we.createElement(we.Fragment,null,FA==null?void 0:FA.map(function(na,Ba){var $a,Io;return we.createElement("div",{key:Ba},we.createElement("aside",{className:"pl30 pr30",key:Ba},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",Ba+1,"\u5173 ",we.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${va.coursesId}/${va.categoryId}/${na.game_identifier}`},na.subject))),xa?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement(ti,{className:"game-score",max:Yn[Ba].game_score_full,defaultValue:Yn[Ba].game_score,onBlur:co=>{var ka;if((0,Ve.Rm)()&&!((ka=hn.AssistantObject.practice)!=null&&ka.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xn(Ba,co)}})):null),we.createElement("div",{className:"font16 mt10"},na.st===0&&(na.path?typeof(na==null?void 0:na.game_codes_cn)=="string"?we.createElement("aside",{className:Fa.shixunWrp},we.createElement(Dr,{game_codes_cn:na==null?void 0:na.game_codes_cn,autoHeight:gn,path:na.path,game_id:na.id,data:na.game_codes,diff_code_count:na.diff_code_count,onPathChange:En})):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"),na.st===1&&(na.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=na.outputs)!=null&&$a.length?we.createElement(x.default,{columns:io,pagination:{hideOnSinglePage:!0},dataSource:na.outputs.map(co=>Da(Da({},na),co))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((Io=na==null?void 0:na.adjust_review_score_list)==null?void 0:Io.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:fo,pagination:{hideOnSinglePage:!0},dataSource:na.adjust_review_score_list,showHeader:!1})))))}),we.createElement(De.default,{open:ra,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Xa({}),ar(!1)},onCancel:()=>{Xa({}),ar(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Br&&pr(!1)},onMouseOut:()=>{pr(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:na=>we.createElement(se(),{disabled:Br,bounds:Cr,nodeRef:cr,onStart:(Ba,$a)=>uo(Ba,$a)},we.createElement("div",{ref:cr},na))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},((Wn=ta==null?void 0:ta.data)==null?void 0:Wn.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:((dr=ta==null?void 0:ta.data)==null?void 0:dr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Hr=ta==null?void 0:ta.data)==null?void 0:Hr.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()((br=ta==null?void 0:ta.data)==null?void 0:br.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"}},(Or=ta==null?void 0:ta.data)==null?void 0:Or.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(nn=ta==null?void 0:ta.data)==null?void 0:nn.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"}},((vn=ta==null?void 0:ta.data)==null?void 0:vn.test_set_passed_rate)*100,"%")))),we.createElement(ut.ZP,{height:500,autoHeight:gn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ta==null?void 0:ta.content)||""))),options:qa})))};var Ro=(0,ze.connect)(({shixunHomeworks:Ln,loading:gn,globalSetting:hn,classroomList:Hn})=>({shixunHomeworks:Ln,globalSetting:hn,loading:gn.effects,classroomList:Hn}))(ya),Ga={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Ca=Be(59301),Oa=Object.defineProperty,Qi=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Ji=Object.prototype.propertyIsEnumerable,Vs=(Ln,gn,hn)=>gn in Ln?Oa(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,vs=(Ln,gn)=>{for(var hn in gn||(gn={}))Uo.call(gn,hn)&&Vs(Ln,hn,gn[hn]);if(Qi)for(var hn of Qi(gn))Ji.call(gn,hn)&&Vs(Ln,hn,gn[hn]);return Ln},aA=(Ln,gn,hn)=>new Promise((Hn,Wn)=>{var dr=Or=>{try{br(hn.next(Or))}catch(nn){Wn(nn)}},Hr=Or=>{try{br(hn.throw(Or))}catch(nn){Wn(nn)}},br=Or=>Or.done?Hn(Or.value):Promise.resolve(Or.value).then(dr,Hr);br((hn=hn.apply(Ln,gn)).next())});const jA=({shixunHomeworks:Ln,dispatch:gn,classroomList:hn})=>{const{shixunWorkReport:Hn}=Ln,Wn=(0,ze.useParams)(),[dr,Hr]=(0,we.useState)(!1),[br]=kn.default.useForm(),[Or,nn]=De.default.useModal(),[vn,In]=(0,we.useState)(!1),[Yn,Tr]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var Br,pr,Cr,Fr;Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&br.setFieldsValue({comment:(pr=(Br=Ln.actionTabs.selectArrs)==null?void 0:Br.data)==null?void 0:pr.work_comment,hidden_comment:(Fr=(Cr=Ln.actionTabs.selectArrs)==null?void 0:Cr.data)==null?void 0:Fr.work_comment_hidden})},[Ln.actionTabs.key]);const ra=()=>aA(void 0,null,function*(){const Br=br.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${Wn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Br.hidden_comment,comment:Br.comment}})).status===0&&(ce.ZP.success("\u8BC4\u9605\u6210\u529F"),br.resetFields(),gn({type:"shixunHomeworks/setActionTabs",payload:{}}),gn({type:"shixunHomeworks/getShixunWorkReport",payload:vs({},Wn)}))}),ar=[{title:"\u5173\u5361",dataIndex:"name",render:(Br,pr,Cr)=>Cr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Br,pr,Cr)=>Ca.createElement("div",null,Br,pr.complete_status===4&&Ca.createElement(Ye.vA,{status:pr.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:Br=>Br?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Br,pr)=>Ca.createElement("div",null,Ca.createElement("span",{style:{color:parseFloat(pr.game_score_full)!==parseFloat(Br)?"#E30000":"#53C41B"}},Br),"/",pr.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Br,pr)=>(0,Ve.GJ)()?Ca.createElement(ti,{max:pr.game_score_full,defaultValue:parseFloat(Br),onBlur:Cr=>aA(void 0,null,function*(){var Fr,cr;if((0,Ve.Rm)()&&!((Fr=hn.AssistantObject.practice)!=null&&Fr.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ta=yield gn({type:"shixunHomeworks/changeScore",payload:{categoryId:Wn.homeworkId,type:"report",score:Cr,challenge_id:pr.challenge_id}});(cr=Ln==null?void 0:Ln.actionTabs)==null||cr.fn(),yield gn({type:"shixunHomeworks/getShixunWorkReport",payload:vs({},Wn)}),ta.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Br}];return Ca.createElement(Ca.Fragment,null,nn,Ca.createElement(De.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>aA(void 0,null,function*(){var Br;if((0,Ve.Rm)()&&!((Br=hn.AssistantObject.practice)!=null&&Br.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const pr=br.getFieldsValue();JSON.stringify(pr)==="{}"||pr.hidden_comment===""&&pr.comment===""?Hr(!0):ra()}),onCancel:()=>{gn({type:"shixunHomeworks/setActionTabs",payload:{}})}},Ca.createElement(E.Z,{justify:"space-between",className:Ga.info},Ca.createElement(b.Z,null,Ca.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u59D3\u540D"),Ca.createElement("span",{className:Ga.blackContent},Hn==null?void 0:Hn.username)),Ca.createElement(b.Z,null,Ca.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u5B66\u53F7"),Ca.createElement("span",{className:Ga.blackContent},(Hn==null?void 0:Hn.student_id)||"--")),Ca.createElement(b.Z,null,Ca.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u73ED\u7EA7"),Ca.createElement("span",{className:Ga.blackContent},(Hn==null?void 0:Hn.group_name)||"--")),Ca.createElement(b.Z,null,Ca.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u5173\u5361\u5F97\u5206"),Ca.createElement("span",{className:Ga.orangeContent},(Hn==null?void 0:Hn.challenge_score)||"--")),Ca.createElement(b.Z,null,Ca.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u6548\u7387\u5206"),Ca.createElement("span",{className:Ga.orangeContent},(Hn==null?void 0:Hn.eff_score)||"--")),Ca.createElement(b.Z,null,Ca.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u8865\u4EA4\u6263\u5206"),Ca.createElement("span",{className:Ga.orangeContent},(Hn==null?void 0:Hn.late_penalty)||"--")),Ca.createElement(b.Z,null,Ca.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Ca.createElement("span",{className:Ga.orangeContent},(Hn==null?void 0:Hn.work_score)||"--"))),Ca.createElement(kn.default,{form:br,onChange:()=>{dr&&Hr(!1)}},Ca.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ca.createElement(b.Z,null,Ca.createElement("div",{className:`${Ga.inputLabel} ${Ga.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ca.createElement(b.Z,null,Ca.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:vn,onCancel:()=>{In(!1)}},onDataSelect:(Br,pr)=>aA(void 0,[Br,pr],function*(Cr,{node:Fr}){const cr=()=>{br.setFieldsValue({comment:Fr==null?void 0:Fr.value}),In(!1)};if(br.getFieldValue("comment")){Or.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:cr});return}cr()})},Ca.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Ca.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Br=>{In(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ca.createElement(kn.default.Item,{name:"comment"},Ca.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Ca.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ca.createElement(b.Z,null,Ca.createElement("div",{className:`${Ga.inputLabel} ${Ga.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ca.createElement(b.Z,null,Ca.createElement(dn.Z,{isShowComponent:(0,Ve.G5)(),ModalProps:{open:Yn,onCancel:()=>{Tr(!1)}},onDataSelect:(Br,pr)=>aA(void 0,[Br,pr],function*(Cr,{node:Fr}){const cr=()=>{br.setFieldsValue({hidden_comment:Fr==null?void 0:Fr.value}),Tr(!1)};if(br.getFieldValue("hidden_comment")){Or.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:cr});return}cr()})},Ca.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Ca.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Br=>{Tr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ca.createElement(kn.default.Item,{name:"hidden_comment"},Ca.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),dr&&Ca.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Ca.createElement("div",{className:Ga.tableTitle},"\u5173\u5361\u6210\u7EE9"),Ca.createElement(x.default,{className:Ga.scoreTable,dataSource:Hn.stage_list,rowKey:"challenge_id",pagination:!1,columns:ar,scroll:{x:"max-content"}})))};var kA=(0,ze.connect)(({shixunHomeworks:Ln,classroomList:gn})=>({shixunHomeworks:Ln,classroomList:gn}))(jA),Bs=Be(97610),Ss={wrap:"wrap___LZOi9",line:"line___oju0L"},Bi=({detailData:Ln})=>{var gn;return we.createElement("div",{className:Ss.wrap},we.createElement(aa.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,aa.Uf)(Ln),(Ln==null?void 0:Ln.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(aa.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,aa.Uf)(Ln)}),!!((gn=Ln==null?void 0:Ln.photos)!=null&&gn.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:Ss.line}),we.createElement(aa._s,{dataSource:Ln==null?void 0:Ln.photos,right:21,col:4,wrapWidth:1140}))))},cn=Be(59301),Go=Object.defineProperty,xi=Object.defineProperties,As=Object.getOwnPropertyDescriptors,Ys=Object.getOwnPropertySymbols,Js=Object.prototype.hasOwnProperty,EA=Object.prototype.propertyIsEnumerable,Xs=(Ln,gn,hn)=>gn in Ln?Go(Ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ln[gn]=hn,qo=(Ln,gn)=>{for(var hn in gn||(gn={}))Js.call(gn,hn)&&Xs(Ln,hn,gn[hn]);if(Ys)for(var hn of Ys(gn))EA.call(gn,hn)&&Xs(Ln,hn,gn[hn]);return Ln},cl=(Ln,gn)=>xi(Ln,As(gn)),PA=(Ln,gn)=>{var hn={};for(var Hn in Ln)Js.call(Ln,Hn)&&gn.indexOf(Hn)<0&&(hn[Hn]=Ln[Hn]);if(Ln!=null&&Ys)for(var Hn of Ys(Ln))gn.indexOf(Hn)<0&&EA.call(Ln,Hn)&&(hn[Hn]=Ln[Hn]);return hn},si=(Ln,gn,hn)=>new Promise((Hn,Wn)=>{var dr=Or=>{try{br(hn.next(Or))}catch(nn){Wn(nn)}},Hr=Or=>{try{br(hn.throw(Or))}catch(nn){Wn(nn)}},br=Or=>Or.done?Hn(Or.value):Promise.resolve(Or.value).then(dr,Hr);br((hn=hn.apply(Ln,gn)).next())});const El=Ln=>{var gn=Ln,{shixunHomeworks:hn,classroomList:Hn,globalSetting:Wn,loading:dr,user:Hr,dispatch:br}=gn,Or=PA(gn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),nn,vn,In;const[Yn,Tr]=(0,we.useState)(qo({},(0,ze.useParams)())),ra=(0,ze.useParams)(),[ar,Br]=(0,we.useState)({page:1,page_size:10}),pr=(0,ze.useLocation)(),[]=(0,we.useState)([]),[Cr,Fr]=(0,we.useState)(),cr=(0,we.useRef)(),ta=(0,we.useRef)(),[Xa,uo]=(0,we.useState)(!1),[va,xa]=(0,we.useState)(!0),[qa,io]=(0,we.useState)(!1),[fo,xn]=(0,we.useState)(!1),{shixunWorkReport:En}=hn,[FA,na]=(0,we.useState)(),[Ba,$a]=(0,we.useState)([]),[Io,co]=(0,we.useState)(),[ka,oi]=(0,we.useState)("all"),Xi=(0,Ve.GJ)(),[Ri,qi]=(0,we.useState)(new(he())),[Oi,WA]=(0,we.useState)(0),[Ti,oa]=(0,we.useState)(!1),[Pl,ji]=(0,we.useState)(!1),[qs,xA]=(0,we.useState)(!1),[RA,Ho]=(0,we.useState)(""),[dl,Gl]=(0,we.useState)(!1),[gl,fl]=(0,we.useState)(!0),[Ds,ls]=(0,we.useState)(0),MA=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),di=(0,we.useRef)(),LA=()=>si(void 0,null,function*(){(Hr.userInfo.is_teacher||Hr.userInfo.admin)&&(Gl(!0),fl(!1))});(0,we.useEffect)(()=>{var mr;(0,Ve.Rm)()&&Hn.AssistantObject.practice&&!((mr=Hn.AssistantObject.practice)!=null&&mr.can_view)&&ze.history.replace("/403")},[(nn=Hn.AssistantObject.practice)==null?void 0:nn.can_view]),(0,we.useEffect)(()=>{LA(),console.log("\u6253\u5370\u7684------",En),di.current=En==null?void 0:En.next_student_work_id,Ho(En.repeat_minus_score)},[En,Hr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",En.work_score),ls(En.work_score)},[En.work_score,RA]),(0,we.useEffect)(()=>(br({type:"globalSetting/footerToggle",payload:!1}),()=>{br({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var mr;if(En){let La=[];(mr=En==null?void 0:En.target_test_sets)==null||mr.map((to,Ki)=>{var $i;($i=to==null?void 0:to.targets)==null||$i.map((ii,us)=>{var cs;ii.name=to==null?void 0:to.name,ii.total_target_score=to==null?void 0:to.total_target_score,ii.actual_target_score=to==null?void 0:to.actual_target_score,ii.rowSpan=us===0?(cs=to==null?void 0:to.targets)==null?void 0:cs.length:0,ii.order=Ki+1,La.push(ii)})}),na(La),(0,Ve.Rm)()&&br({type:"classroomList/getAssistantPermissions",payload:{course_id:Yn.coursesId}})}},[En]),(0,we.useEffect)(()=>{hn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(En==null?void 0:En.students_count)>0&&!va&&setTimeout(()=>{Qs("all")},800)},[En==null?void 0:En.homework_common_id,va]),(0,we.useEffect)(()=>{Tr(qo({},ra))},[pr.pathname]);const KA=()=>{document.body.scrollIntoView()},ai=mr=>{ar.page=mr,Br(qo({},ar)),Mi(ar,ka)},Mi=(mr,La)=>si(void 0,null,function*(){io(!0);const to=yield(0,ve.ZP)(`/api/student_works/${Yn==null?void 0:Yn.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:cl(qo({},mr),{challenge_id:La=="all"?null:La})});(to==null?void 0:to.status)===0&&($a(to==null?void 0:to.list),co(to==null?void 0:to.count)),io(!1)});function $s(){return si(this,null,function*(){MA.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const ml=()=>{document.querySelectorAll("canvas").forEach(mr=>{(!mr.clientWidth||!mr.clientHeight)&&mr.remove()})},Us=()=>{cr.current.offsetHeight>62e3?xn(!1):xn(!0)},es=mr=>si(void 0,null,function*(){const La=yield(0,_r.t1)({homeworkId:mr||Yn.homeworkId});Fr(La==null?void 0:La.data)}),Qs=mr=>si(void 0,null,function*(){var La,to,Ki,$i;let ii=0,us;us=De.default.info({width:460,title:cn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",cn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:cn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",cn.createElement("span",{className:"c-blue"},ii+1),"/",mr!=="all"?1:En==null?void 0:En.students_count,cn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Fa.modal,onOk:()=>{}});const cs={margin:[0,0],filename:`${En!=null&&En.student_id&&(En==null?void 0:En.student_id)!="--"?En==null?void 0:En.student_id:""}${En.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},BA=Ri.folder(En==null?void 0:En.shixun_name);function Co(ts){return si(this,null,function*(){yield es(ts||di.current);const Eo=yield br({type:"shixunHomeworks/getShixunWorkReport",payload:qo({homeworkId:ts||di.current},MA.current||{})});di.current=Eo==null?void 0:Eo.next_student_work_id,KA(),ii++,setTimeout(()=>si(this,null,function*(){var dA,Li,IA,Si;ml();const ds=BA.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}`),Ei=document.querySelector("#export-all").children;let SA=Pa()();for(let gA=0;gAsi(this,null,function*(){gA0&&((IA=(Li=Eo==null?void 0:Eo.shixun_detail)==null?void 0:Li.filter(gA=>{var zA;return((zA=gA==null?void 0:gA.game_codes)==null?void 0:zA.length)>0}))==null?void 0:IA.length)>0){const gA=ds.folder("\u4EE3\u7801\u6587\u4EF6");(Si=Eo==null?void 0:Eo.shixun_detail)==null||Si.map((zA,ae)=>{var te,re;if(((te=zA==null?void 0:zA.game_codes)==null?void 0:te.length)>0){const fe=gA.folder(`\u7B2C${ae+1}\u5173-${zA.subject}-${zA.id}`);(re=zA==null?void 0:zA.game_codes)==null||re.map(be=>{fe.file(`${be.filename}.txt`,be==null?void 0:be.content)})}})}us.update({content:cn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",cn.createElement("span",{className:"c-blue"},ii),"/",Eo==null?void 0:Eo.students_count,cn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),ii==(Eo==null?void 0:Eo.students_count)?(us.destroy(),ws()):Co()}),2200)})}if(mr!=="all"||(En==null?void 0:En.students_count)<2){ml(),KA();const ts=ta.current.children;let Eo=Pa()();const Li=BA.folder(`${En==null?void 0:En.group_name}`).folder(`${En!=null&&En.student_id&&(En==null?void 0:En.student_id)!="--"?(En==null?void 0:En.student_id)+"+":""}${En==null?void 0:En.username}`);for(let IA=0;IAsi(void 0,null,function*(){IA0&&((Ki=(to=En==null?void 0:En.shixun_detail)==null?void 0:to.filter(IA=>{var Si;return((Si=IA==null?void 0:IA.game_codes)==null?void 0:Si.length)>0}))==null?void 0:Ki.length)>0){const IA=Li.folder("\u4EE3\u7801\u6587\u4EF6");($i=En==null?void 0:En.shixun_detail)==null||$i.map((Si,bs)=>{var ds,Ei;if(((ds=Si==null?void 0:Si.game_codes)==null?void 0:ds.length)>0){const SA=IA.folder(`\u7B2C${bs+1}\u5173-${Si.subject}-${Si.id}`);(Ei=Si==null?void 0:Si.game_codes)==null||Ei.map(gA=>{SA.file(`${gA.filename}.txt`,gA==null?void 0:gA.content)})}})}us.destroy(),ws();return}else Co(En==null?void 0:En.first_student_work_id)}),ws=()=>{Ri.generateAsync({type:"blob"}).then(function(mr){console.log(En,"shixunWorkReport");const La=document.createElement("a");La.href=window.URL.createObjectURL(mr),La.download=(En==null?void 0:En.shixun_name)+".zip",document.body.appendChild(La);const to=document.createEvent("MouseEvents");to.initEvent("click",!1,!1),La.dispatchEvent(to),document.body.removeChild(La),qi(new(he()))}),xn(!1)};(0,we.useEffect)(()=>{vA()},[Yn.homeworkId]);const vA=()=>si(void 0,null,function*(){yield br({type:"shixunHomeworks/getShixunWorkReport",payload:qo(qo({},Yn),MA.current||{})}),es(),(0,Ve.GJ)()&&$s(),xa(!1)}),hl=[{title:"\u5173\u5361",dataIndex:"name",render:(mr,La,to)=>to+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(mr,La,to)=>cn.createElement("div",null,mr,La.complete_status===4&&cn.createElement(Ye.vA,{status:La.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(mr,La,to)=>mr||"- -"},{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:mr=>mr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(mr,La)=>cn.createElement("div",null,cn.createElement("span",{style:{color:parseFloat(La.myself_experience)!==parseFloat(mr)?"red":"green"}},La.myself_experience),"/",mr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(mr,La)=>cn.createElement("div",null,cn.createElement("span",{style:{color:parseFloat(La.game_score_full)!==parseFloat(mr)?"red":"green"}},mr),"/",La.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(mr,La)=>Xi?cn.createElement(ti,{max:La.game_score_full,defaultValue:parseFloat(mr),onBlur:to=>si(void 0,null,function*(){var Ki;if((0,Ve.Rm)()&&!((Ki=Hn.AssistantObject.practice)!=null&&Ki.can_appraise)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const $i=yield br({type:"shixunHomeworks/changeScore",payload:{categoryId:Yn.homeworkId,type:"report",score:to,challenge_id:La.challenge_id}});Mi({page:1,page_size:10},"all"),yield br({type:"shixunHomeworks/getShixunWorkReport",payload:qo(qo({},Yn),MA.current||{})}),$i.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):mr}];let el=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(mr,La,to)=>({children:mr,props:{rowSpan:La.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(mr,La,to)=>({children:mr,props:{rowSpan:La.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:(mr,La,to)=>cn.createElement("div",null,cn.createElement("span",{style:{color:parseFloat(La.actual_test_score)!==parseFloat(mr)?"red":"green"}},La.actual_test_score),"/",mr)},{title:"\u6307\u6807\u603B\u5206",render:(mr,La,to)=>({children:cn.createElement("div",null,cn.createElement("span",{style:{color:parseFloat(La.actual_target_score)!==parseFloat(mr)?"red":"green"}},La.actual_target_score),"/",mr),props:{rowSpan:La.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const tl=[{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:mr=>cn.createElement("span",null,mr?Ze()(mr).format("YYYY-MM-DD HH:mm"):"--")}],pl=mr=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{mr==="next"?ze.history.push(`/classrooms/${Yn.coursesId}/shixun_homework/${Yn.categoryId}/${En==null?void 0:En.next_student_work_id}/comment`):ze.history.push(`/classrooms/${Yn.coursesId}/shixun_homework/${Yn.categoryId}/${En==null?void 0:En.pre_student_work_id}/comment`)},200)},Rr=mr=>{Ho(""),mr.target.value&&(console.log("\u8FDB\u6765",En),mr.target.value=mr.target.value>En.repeat_setting_score?En.repeat_setting_score:mr.target.value,Ho(mr.target.value))},Ta=()=>si(void 0,null,function*(){const mr=yield(0,ve.ZP)(`/api/student_works/${En==null?void 0:En.work_id}/update_repeat_score`,{method:"put",body:{score:RA}});yield br({type:"shixunHomeworks/getShixunWorkReport",payload:qo(qo({},Yn),MA.current||{})}),mr.status===0&&ce.ZP.info("\u64CD\u4F5C\u6210\u529F")});return cn.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},cn.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},cn.createElement(Ne.Z,{loading:dr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},cn.createElement("div",{className:"edu-container"},En.course_id&&cn.createElement("section",{className:"animated fadeIn"},cn.createElement("aside",{className:""},En.category&&cn.createElement(Ee.Z,{separator:">"},cn.createElement(Ee.Z.Item,null,cn.createElement(ze.Link,{to:`/classrooms/${En.course_id}/shixun_homework`},En.course_name)),cn.createElement(Ee.Z.Item,null,cn.createElement(ze.Link,{to:`/classrooms/${En.course_id}/shixun_homework/${En.category.main?"":En.category.category_id}`},En.category.category_name)),cn.createElement(Ee.Z.Item,null,cn.createElement(ze.Link,{to:`/classrooms/${En.course_id}/shixun_homework/${En.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")),cn.createElement(Ee.Z.Item,null,En.username))),cn.createElement("aside",{className:[Fa.title1,"mt20"].join(" ")},cn.createElement(E.Z,{align:"middle"},cn.createElement(b.Z,{flex:1},cn.createElement(ze.Link,{to:`/classrooms/${En.course_id}/shixun_homework/${En.homework_common_id}/detail`},cn.createElement(Kr.Z,{className:"font16 c-black"})),cn.createElement("strong",{className:"font20 ml5"},En==null?void 0:En.homework_name),cn.createElement(Ye.VV,{temporary:!0,status:En.homework_status})),cn.createElement(b.Z,{className:Fa.title1_right},En.view_tpi&&cn.createElement(Ce.ZP,{onClick:()=>{var mr,La;(0,Ye.xg)(`/tasks/${En==null?void 0:En.course_id}/${En==null?void 0:En.homework_common_id}/${(La=(mr=En==null?void 0:En.shixun_detail)==null?void 0:mr[0])==null?void 0:La.game_identifier}`)}},cn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ve.GJ)()&&En.homework_end===!1&&!!En.myshixun_id&&cn.createElement(Ce.ZP,{className:"ml10",onClick:()=>si(void 0,null,function*(){yield br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:En.myshixun_identifier},homework_common_id:ra.categoryId}})})},cn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),cn.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var mr;if((0,Ve.Rm)()&&!((mr=Hn.AssistantObject.practice)!=null&&mr.can_download)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qs("")},loading:Xa},cn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ve.GJ)()&&(En==null?void 0:En.students_count)>1&&cn.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var mr;if((0,Ve.Rm)()&&!((mr=Hn.AssistantObject.practice)!=null&&mr.can_download)){ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}De.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:cn.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:cn.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:()=>{Qs("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,da.jj)({categoryId:Yn.categoryId,coursesId:Yn.coursesId},"shixun_report")}}})}},cn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),cn.createElement("aside",{className:"mt30 relative"})),cn.createElement("aside",{className:"edu-container bg-white",ref:cr},cn.createElement("div",{id:"export-all",ref:ta},cn.createElement("div",{id:"export-all-1"},cn.createElement("div",{className:Fa.title},cn.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),cn.createElement("div",null,(0,Ve.GJ)()&&cn.createElement(Ce.ZP,{className:"mr20",type:"primary",onClick:()=>{br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:En.user_id,data:qo({},En)},fn:()=>Mi({page:1,page_size:10},"all")}})}},cn.createElement(me.Z,null),En.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),cn.createElement(a.Z,{style:{marginTop:0}}),cn.createElement(E.Z,{className:"pl30 pr30"},cn.createElement(b.Z,null,cn.createElement("img",{className:Fa.userPic,src:`${Te.Z.IMG_SERVER}/images/${En.image_url}`,alt:En.username})),cn.createElement(b.Z,null,cn.createElement("span",{className:"font16 ml40"},En.username),cn.createElement(Ye.vA,{status:En.compelete_status}),cn.createElement("ul",{className:Fa.userInfo},cn.createElement("li",null,"\u5B66\u53F7\uFF1A",En.student_id||"--"),cn.createElement("li",null,"\u5206\u73ED\uFF1A",En.group_name||"--"),cn.createElement("br",null),cn.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",cn.createElement("span",{className:"c-red"},En.complete_count),"/",cn.createElement("span",{className:"c-red"},En.challenges_count)),cn.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",cn.createElement("span",{className:"c-red"},En.current_complete_count||"-"),"/",cn.createElement("span",{className:"c-red"},En.challenges_count)),cn.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",En&&En.efficiency===null?"--":En&&En.efficiency),cn.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",En&&En.max_efficiency===null?"--":En&&En.max_efficiency))),cn.createElement("ul",{className:[Fa.listItem,"mt10"].join(" ")},cn.createElement("li",null,cn.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),cn.createElement("div",{className:"c-light-black mt20"},En&&En.passed_time===null||En&&En.passed_time==="--"?"--":Ze()(En&&En.passed_time).format("YYYY-MM-DD HH:mm"))),cn.createElement("li",null,cn.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",cn.createElement("i",{onClick:mr=>{mr.stopPropagation(),mr.preventDefault(),oa(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),cn.createElement("div",{className:"c-light-black mt20"},En==null?void 0:En.human_training_time_rules)),cn.createElement("li",null,cn.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",cn.createElement("i",{onClick:mr=>{mr.stopPropagation(),mr.preventDefault(),ji(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),cn.createElement("div",{className:"c-light-black mt20"},En.time_consuming)),cn.createElement("li",null,cn.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),cn.createElement("div",{className:"mt20"},En.evaluate_count)),(En==null?void 0:En.eff_score_full)&&cn.createElement(cn.Fragment,null,cn.createElement("li",null,cn.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),cn.createElement("div",{className:"mt20"},cn.createElement("span",{className:"c-orange"},En.challenge_score),"/",cn.createElement("span",{className:"c-light-black"},En.challenge_score_full))),cn.createElement("li",null,cn.createElement("strong",null,"\u6548\u7387\u5206"),cn.createElement("div",{className:"mt20"},cn.createElement("span",{className:"c-orange"},En.eff_score),"/",cn.createElement("span",{className:"c-light-black"},En.eff_score_full)))),(En==null?void 0:En.have_repeat)&&(En==null?void 0:En.repeat_minus_score)!==0&&cn.createElement("li",{style:{position:"relative"}},cn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},cn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),cn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},En!=null&&En.review_rate?cn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(En!=null&&En.review_id&&dl)localStorage.setItem("studentDetial",window.location.pathname),ze.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Yn.categoryId}/review_detail/${En==null?void 0:En.review_id}`});else return}},En.review_rate.toFixed(1),"%"):cn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),dl?cn.createElement("div",{className:"mt20"},cn.createElement(y.default,{style:{width:"45px",height:"22px"},value:RA,onChange:mr=>{Rr(mr)},onBlur:Ta,disabled:gl})," / ",En==null?void 0:En.repeat_setting_score):cn.createElement("div",{className:"mt20"},En==null?void 0:En.repeat_minus_score," / ",En==null?void 0:En.repeat_setting_score)),console.log("sssssssssssssssssssssss",En==null?void 0:En.have_repeat,En==null?void 0:En.repeat_minus_score),(En==null?void 0:En.have_repeat)&&(En==null?void 0:En.repeat_minus_score)===0&&cn.createElement("li",null,cn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),cn.createElement("div",{className:"mt20"}," - -")),!(En!=null&&En.have_repeat)&&cn.createElement("li",null,cn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),cn.createElement("div",{className:"mt20"}," - -")),cn.createElement("li",null,cn.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),cn.createElement("div",{className:"mt20"},cn.createElement("span",null,En.late_penalty||"- -"))),cn.createElement("li",null,cn.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),cn.createElement("div",{className:"mt20"},cn.createElement("span",{className:"c-orange"},Ds),"/",cn.createElement("span",{className:"c-light-black"},En.all_work_score))),cn.createElement("li",null,cn.createElement("strong",null,"\u603B\u8BC4"),cn.createElement("div",{className:"mt20"},cn.createElement("span",{className:"c-orange"},En.overall_appraisal))))),cn.createElement(a.Z,{style:{margin:0}}),(En.work_comment_hidden||En.work_comment)&&cn.createElement("div",null,cn.createElement(E.Z,{align:"middle"},cn.createElement(b.Z,{flex:1},cn.createElement("h1",{className:Fa.title},"\u70B9\u8BC4\u5185\u5BB9")),cn.createElement(b.Z,{className:"pr30"},(0,Ve.GJ)()&&cn.createElement(Ce.ZP,{onClick:()=>si(void 0,null,function*(){De.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:cn.createElement(Ue.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return si(this,null,function*(){(yield(0,_r.gZ)({comment_id:En.comment_id,homeworkId:Yn.homeworkId})).status===0&&(ce.ZP.success("\u5220\u9664\u6210\u529F"),br({type:"shixunHomeworks/getShixunWorkReport",payload:qo(qo({},Yn),MA.current||{})}))})}})})},cn.createElement(Pe.Z,null),"\u5220\u9664"))),cn.createElement(a.Z,{style:{margin:0}}),En.work_comment&&cn.createElement("aside",{className:"pl30 pr30 mt20"},cn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),cn.createElement("br",null),cn.createElement(xr.Z,{value:En.work_comment})),En.work_comment_hidden&&cn.createElement("aside",{className:"pl30 pr30 mt20"},cn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),cn.createElement("br",null),cn.createElement(xr.Z,{value:En.work_comment_hidden}))),(En==null?void 0:En.action_analysis)&&cn.createElement(Bi,{detailData:En}),cn.createElement("div",{className:Fa.score},cn.createElement("h1",{className:Fa.title},"\u9636\u6BB5\u6210\u7EE9"),(En==null?void 0:En.adjust_review_score_count)>0&&(0,Ve.GJ)()&&cn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{xA(!0),Mi({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",En==null?void 0:En.adjust_review_score_count,"\u6B21\uFF09")),cn.createElement("aside",{className:"pl30 pr30"},cn.createElement(x.default,{dataSource:En.stage_list,rowKey:mr=>mr==null?void 0:mr.challenge_id,pagination:!1,columns:hl})),((vn=En==null?void 0:En.target_test_sets)==null?void 0:vn.length)>0&&cn.createElement("div",null,cn.createElement("h1",{className:Fa.title},"\u6307\u6807\u6210\u7EE9"),cn.createElement("aside",{className:"pl30 pr30"},cn.createElement(x.default,{dataSource:FA,rowKey:mr=>mr==null?void 0:mr.challenge_id,pagination:!1,bordered:!0,columns:el}))),(En==null?void 0:En.work_description)&&cn.createElement(cn.Fragment,null,cn.createElement("h1",{className:Fa.title},"\u4E2A\u4EBA\u603B\u7ED3"),cn.createElement("aside",{className:"pl30 pr30"},cn.createElement(xr.Z,{value:En==null?void 0:En.work_description}))),cn.createElement("h1",{className:Fa.title},"\u56FE\u5F62\u7EDF\u8BA1"),cn.createElement(Wa,{data:Cr}),cn.createElement("h1",{className:Fa.title},"\u5B9E\u8BAD\u8BE6\u60C5")),cn.createElement(Ro,{autoHeight:fo}))),(0,Ve.GJ)()&&cn.createElement("aside",{className:`${Fa.footerBar} ${Xa?Fa.footerBarStatic:""}`},cn.createElement("aside",{className:"edu-container"},cn.createElement(E.Z,{align:"middle"},cn.createElement(b.Z,{flex:"1"},cn.createElement(ze.Link,{className:Fa.exitComment,to:`/classrooms/${Yn.coursesId}/shixun_homework/${Yn.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),cn.createElement(b.Z,{flex:"1",className:"tr"},cn.createElement(Ce.ZP,{type:"default",disabled:!(En!=null&&En.pre_student_work_id),onClick:()=>pl()},"\u4E0A\u4E00\u4E2A"),cn.createElement(Ce.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(En!=null&&En.next_student_work_id),onClick:()=>pl("next")},"\u4E0B\u4E00\u4E2A"),(0,Ve.GJ)()&&cn.createElement(Ce.ZP,{type:"primary",onClick:()=>si(void 0,null,function*(){br({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:En.user_id,data:qo({},En)},fn:()=>Mi({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),cn.createElement(kA,null),cn.createElement(Bs.Z,null),cn.createElement(De.default,{open:Ti,width:860,centered:!0,onCancel:()=>{oa(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},cn.createElement("div",{style:{color:"#333333",fontWeight:400}},cn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),cn.createElement("br",null),cn.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"),cn.createElement("br",null),cn.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"),cn.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 "),cn.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")),cn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},cn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),cn.createElement("br",null),cn.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 "),cn.createElement("br",null),cn.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"),cn.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 "),cn.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"),cn.createElement("br",null),cn.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")),cn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},cn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),cn.createElement("br",null),cn.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")),cn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},cn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),cn.createElement("br",null),cn.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"))),cn.createElement(De.default,{open:Pl,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ji(!1)},width:600},cn.createElement("div",{style:{fontWeight:400,color:"#333333"}},cn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",cn.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"),cn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",cn.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"),cn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",cn.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"))),cn.createElement(De.default,{open:qs,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{oi("all"),xA(!1)},destroyOnClose:!0,width:900},cn.createElement("div",{style:{fontWeight:400,color:"#333333"}},cn.createElement("div",null,cn.createElement("span",null,"\u5173\u5361\uFF1A"),cn.createElement(z.default,{style:{width:300},value:ka,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:mr=>si(void 0,null,function*(){oi(mr),Mi({page:1,page_size:10},mr)})},cn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(In=En==null?void 0:En.stage_list)==null?void 0:In.map((mr,La)=>cn.createElement(z.default.Option,{key:La,value:mr==null?void 0:mr.challenge_id},"\u7B2C",(0,Ye.EM)(La+1),"\u5173")))),cn.createElement("div",{className:"mt20"},cn.createElement(x.default,{dataSource:Ba,rowKey:mr=>mr==null?void 0:mr.id,pagination:!1,columns:tl,loading:qa})),cn.createElement("div",{className:Fa.footer},cn.createElement("div",null,cn.createElement("span",{style:{color:"#656F87"}},"\u5171",cn.createElement("span",{className:"c-light-primary"},Io),"\u6761\u6570\u636E")),cn.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(ar==null?void 0:ar.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Io,onChange:ai})))))};var li=(0,ze.connect)(({shixunHomeworks:Ln,classroomList:gn,loading:hn,globalSetting:Hn,user:Wn})=>({shixunHomeworks:Ln,classroomList:gn,globalSetting:Hn,loading:hn.effects,user:Wn}))(El);const ys=({globalSetting:Ln})=>{var gn;switch(Number((gn=Ln==null?void 0:Ln.setting)==null?void 0:gn.theme)){case ue.Fy.THEMEONE:return we.createElement(ua,null);case ue.Fy.DEFAULT:default:return we.createElement(li,null)}};var ss=(0,ze.connect)(({globalSetting:Ln})=>({globalSetting:Ln}))(ys)},79902:function(rn,Mt,Be){"use strict";var ue=Be(43418),we=Be(8591),ze=Be(38986),At=Be(25690),Ze=Be(48790),Re=Be(59301),he=(De,ce,Ne)=>new Promise((Ee,Ce)=>{var oe=E=>{try{a(Ne.next(E))}catch(b){Ce(b)}},y=E=>{try{a(Ne.throw(E))}catch(b){Ce(b)}},a=E=>E.done?Ee(E.value):Promise.resolve(E.value).then(oe,y);a((Ne=Ne.apply(De,ce)).next())});const ve=({shixunHomeworks:De,classroomList:ce,dispatch:Ne})=>{const Ee=(0,At.useParams)();return Re.createElement(ue.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 Ce,oe,y,a;if((0,Ze.Rm)()&&!((Ce=ce.AssistantObject.practice)!=null&&Ce.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=ce.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?"))};Mt.Z=(0,At.connect)(({shixunHomeworks:De,classroomList:ce})=>({shixunHomeworks:De,classroomList:ce}))(ve)},40133:function(rn,Mt,Be){"use strict";Be.d(Mt,{AD:function(){return kt},D9:function(){return gt},Hp:function(){return Ue},IM:function(){return Xt},Iy:function(){return Pe},KM:function(){return rr},MJ:function(){return Te},Ne:function(){return et},ON:function(){return zn},Uj:function(){return It},VY:function(){return qt},YO:function(){return qn},YX:function(){return fn},Zn:function(){return y},_g:function(){return z},_k:function(){return mt},c6:function(){return Ft},cr:function(){return a},eV:function(){return Qe},fi:function(){return E},gh:function(){return nt},hS:function(){return An},iA:function(){return b},j6:function(){return ne},je:function(){return Nt},jj:function(){return me},kS:function(){return wn},o6:function(){return Oe},pO:function(){return On},rQ:function(){return ut},sA:function(){return Ye},xm:function(){return Pt},xo:function(){return bt},y8:function(){return it},yd:function(){return x}});var ue=Be(82264),we=Be(25690),ze=Be(51257),At=Be(8591),Ze=Be(346),Re=Object.defineProperty,he=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ce=(ke,_t,He)=>_t in ke?Re(ke,_t,{enumerable:!0,configurable:!0,writable:!0,value:He}):ke[_t]=He,Ne=(ke,_t)=>{for(var He in _t||(_t={}))ve.call(_t,He)&&ce(ke,He,_t[He]);if(he)for(var He of he(_t))De.call(_t,He)&&ce(ke,He,_t[He]);return ke},Ee=(ke,_t,He)=>new Promise((pe,se)=>{var ye=Me=>{try{pt(He.next(Me))}catch(Xe){se(Xe)}},qe=Me=>{try{pt(He.throw(Me))}catch(Xe){se(Xe)}},pt=Me=>Me.done?pe(Me.value):Promise.resolve(Me.value).then(ye,qe);pt((He=He.apply(ke,_t)).next())});const Ce=()=>{(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=ke=>Ee(void 0,null,function*(){Ce(),(yield(0,ue.YR)(Ne({},ke))).status===0&&(yield(0,ze.QH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${ke.coursesId}/export_couser_info.json`,query:ke}))),oe()}),a=ke=>Ee(void 0,null,function*(){const _t=yield(0,ue.yS)(Ne({},ke));if(_t.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_member_act_score`);else{if(_t.status===-2)return _t;_t.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_member_act_score`))}}),E=ke=>Ee(void 0,null,function*(){const _t=yield(0,ue.W0)(Ne({},ke));if(_t.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_score`);else{if(_t.status===-4)return _t;_t.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_score`))}}),b=ke=>Ee(void 0,null,function*(){const _t=yield(0,ue.Nl)(Ne({},ke));if(_t.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_exercise_and_other`);else{if(_t.status===-4)return _t;_t.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=ke=>Ee(void 0,null,function*(){const _t=yield(0,ue.IU)(Ne({},ke));if(_t.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/export_star_user`);else{if(_t.status===-4)return _t;_t.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/export_star_user`))}}),z=ke=>Ee(void 0,null,function*(){const _t=yield(0,ue.td)(Ne({},ke));if(_t.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_exercise_and_other`);else{if(_t.status===-2)return _t;if(_t.status===-3)(0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_exercise_and_other`);else if(_t.status===-4)return _t}}),ne=ke=>Ee(void 0,null,function*(){const _t=yield(0,ue.QX)(Ne({},ke));if(_t.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_homework`);else{if(_t.status===-4)return _t;_t.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/course_total_homework`))}}),me=(ke,_t)=>Ee(void 0,null,function*(){const He=yield(0,ue.o_)(Ne({},ke));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/${ke.coursesId}/exportlist/${_t}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/${_t}`))}),Ue=(ke,_t)=>Ee(void 0,null,function*(){const He=yield(0,ue.ZL)(Ne({},ke));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/${ke.coursesId}/exportlist/${_t}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/${_t}`))}),Pe=(ke,_t)=>Ee(void 0,null,function*(){const He=yield(0,ue.aP)(Ne({},ke));He.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/${_t}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/${_t}`))}),Te=(ke,_t)=>Ee(void 0,null,function*(){const He=yield(0,ue.vV)(Ne({},ke));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/${ke.coursesId}/exportlist/${_t}`)):He.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/${_t}`))}),Ve=ke=>Ee(void 0,null,function*(){Ce(),(yield exportCourseWorkListAppendix(Ne({},ke))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ke.categoryId}/works_list.zip`,query:ke}))),oe()}),Ye=ke=>Ee(void 0,null,function*(){Ce(),yield(0,ze.QH)("",Ze.Z.API_SERVER+`/api/polls/${ke.categoryId}/commit_result.xlsx`),oe()}),nt=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${ke.coursesId}/attendances/export_xlsx_data.xlsx`,query:ke}))}),Oe=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${ke.coursesId}/video_study_statics.xlsx`,query:ke}))}),Ft=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${ke.coursesId}/export_video_study.xlsx`,query:ke}))}),Qe=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${ke.coursesId}/export_course_students_info.xlsx`,query:ke}))}),kt=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ke}))}),ut=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ke}))}),it=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ke}))}),Nt=ke=>Ee(void 0,null,function*(){const _t=yield(0,ue.Uy)(Ne({},ke));_t.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${ke.coursesId}/exportlist/exercise_score,export_exercise_users`)):_t.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${ke.coursesId}/exportlist/exercise_score,export_exercise_users`))}),mt=ke=>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/${ke.id}.xlsx`,query:ke}))}),Pt=ke=>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:ke}))}),gt=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/courses/${ke==null?void 0:ke.coursesId}/${ke.menuKey}_statistic.xlsx?${ke.checkedList.map(_t=>`course_group_id[]=${_t}`).join("&")}`,query:ke}))}),et=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${ke==null?void 0:ke.ec_year_id}/ec_training_objectives.xlsx`,query:ke}))}),Xt=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)(ke==null?void 0:ke.name,(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ke}))}),An=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${ke==null?void 0:ke.ec_year_id}/ec_courses.xlsx`,query:ke}))}),bt=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${ke==null?void 0:ke.ec_year_id}/ec_graduation_requirements.xlsx`,query:ke}))}),qt=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ke}))}),wn=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ke}))}),zn=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/examination_banks/${ke.id}.json`,query:ke}))}),fn=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/exercises/${ke.categoryId}.json`,query:ke}))}),qn=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/polls/${ke==null?void 0:ke.id}/commit_result.json`,query:ke}))}),It=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ke}))}),On=(ke,_t)=>Ee(void 0,null,function*(){yield(0,ze.FH)(_t||"",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/exercises/${ke==null?void 0:ke.exercise_id}/consult_exercise.json`,query:ke}))}),rr=ke=>Ee(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ze.Z.API_SERVER+`/api/competitions/${ke==null?void 0:ke.identifier}/competition_commit_records/member_works.xlsx`,query:ke}))})},45937:function(rn,Mt,Be){"use strict";Be.d(Mt,{U:function(){return De}});var ue=Be(59301),we=Object.defineProperty,ze=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Re=(ce,Ne,Ee)=>Ne in ce?we(ce,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ce[Ne]=Ee,he=(ce,Ne)=>{for(var Ee in Ne||(Ne={}))At.call(Ne,Ee)&&Re(ce,Ee,Ne[Ee]);if(ze)for(var Ee of ze(Ne))Ze.call(Ne,Ee)&&Re(ce,Ee,Ne[Ee]);return ce},ve=(ce,Ne,Ee)=>new Promise((Ce,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?Ce(b.value):Promise.resolve(b.value).then(y,a);E((Ee=Ee.apply(ce,Ne)).next())});function De(ce,Ne){const[Ee,Ce]=(0,ue.useState)(Ne),[oe,y]=(0,ue.useState)(!1),[a,E]=(0,ue.useState)();return[Ee,oe,(x,z=!1)=>ve(this,null,function*(){const ne=z?Ne:he(he({},Ee),x);y(!0),Ce(ne);const me=yield ce(ne);return y(!1),E(me),me}),a]}},50371:function(rn,Mt){"use strict";function Be(){const ue=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let we=1;we{const Ze=ze[At];Ze!==void 0&&(ue[At]=Ze)})}return ue}Mt.Z=Be},13845:function(rn,Mt,Be){"use strict";Be.d(Mt,{F:function(){return ue},Z:function(){return we}});function ue(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 ve=0;return ue(ze)?ve=ze[At?"pageYOffset":"pageXOffset"]:ze instanceof Document?ve=ze.documentElement[he]:(ze instanceof HTMLElement||ze)&&(ve=ze[he]),ze&&!ue(ze)&&typeof ve!="number"&&(ve=(Re=((Ze=ze.ownerDocument)!==null&&Ze!==void 0?Ze:ze).documentElement)===null||Re===void 0?void 0:Re[he]),ve}},56762:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return we}});var ue=Be(59301);function we(){const[,ze]=ue.useReducer(At=>At+1,0);return ze}},68031:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return At}});var ue=Be(16089);function we(Ze,Re,he,ve){const De=he-Re;return Ze/=ve/2,Ze<1?De/2*Ze*Ze*Ze+Re:De/2*((Ze-=2)*Ze*Ze+2)+Re}var ze=Be(13845);function At(Ze){let Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:he=()=>window,callback:ve,duration:De=450}=Re,ce=he(),Ne=(0,ze.Z)(ce,!0),Ee=Date.now(),Ce=()=>{const y=Date.now()-Ee,a=we(y>De?De:y,Ne,Ze,De);(0,ze.F)(ce)?ce.scrollTo(window.pageXOffset,a):ce instanceof Document||ce.constructor.name==="HTMLDocument"?ce.documentElement.scrollTop=a:ce.scrollTop=a,y{let{children:it}=ut;const{getPrefixCls:Nt}=Ze.useContext(he.E_),mt=Nt("breadcrumb");return Ze.createElement("li",{className:`${mt}-separator`,"aria-hidden":"true"},it===""?it:it||"/")};ce.__ANT_BREADCRUMB_SEPARATOR=!0;var Ne=ce,Ee=function(ut,it){var Nt={};for(var mt in ut)Object.prototype.hasOwnProperty.call(ut,mt)&&it.indexOf(mt)<0&&(Nt[mt]=ut[mt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(ut);Ptit[Pt]||mt)}function oe(ut,it,Nt,mt){if(Nt==null)return null;const{className:Pt,onClick:gt}=it,et=Ee(it,["className","onClick"]),Xt=Object.assign(Object.assign({},(0,At.Z)(et,{data:!0,aria:!0})),{onClick:gt});return mt!==void 0?Ze.createElement("a",Object.assign({},Xt,{className:we()(`${ut}-link`,Pt),href:mt}),Nt):Ze.createElement("span",Object.assign({},Xt,{className:we()(`${ut}-link`,Pt)}),Nt)}function y(ut,it){return(mt,Pt,gt,et,Xt)=>{if(it)return it(mt,Pt,gt,et);const An=Ce(mt,Pt);return oe(ut,mt,An,Xt)}}var a=function(ut,it){var Nt={};for(var mt in ut)Object.prototype.hasOwnProperty.call(ut,mt)&&it.indexOf(mt)<0&&(Nt[mt]=ut[mt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(ut);Pt{const{prefixCls:it,separator:Nt="/",children:mt,menu:Pt,overlay:gt,dropdownProps:et,href:Xt}=ut,bt=(qt=>{if(Pt||gt){const wn=Object.assign({},et);if(Pt){const zn=Pt||{},{items:fn}=zn,qn=a(zn,["items"]);wn.menu=Object.assign(Object.assign({},qn),{items:fn==null?void 0:fn.map((It,On)=>{var{key:rr,title:ke,label:_t,path:He}=It,pe=a(It,["key","title","label","path"]);let se=_t!=null?_t:ke;return He&&(se=Ze.createElement("a",{href:`${Xt}${He}`},se)),Object.assign(Object.assign({},pe),{key:rr!=null?rr:On,label:se})})})}else gt&&(wn.overlay=gt);return Ze.createElement(De.Z,Object.assign({placement:"bottom"},wn),Ze.createElement("span",{className:`${it}-overlay-link`},qt,Ze.createElement(ve.Z,null)))}return qt})(mt);return bt!=null?Ze.createElement(Ze.Fragment,null,Ze.createElement("li",null,bt),Nt&&Ze.createElement(Ne,null,Nt)):null},b=ut=>{const{prefixCls:it,children:Nt,href:mt}=ut,Pt=a(ut,["prefixCls","children","href"]),{getPrefixCls:gt}=Ze.useContext(he.E_),et=gt("breadcrumb",it);return Ze.createElement(E,Object.assign({},Pt,{prefixCls:et}),oe(et,Pt,Nt,mt))};b.__ANT_BREADCRUMB_ITEM=!0;var x=b,z=Be(17313),ne=Be(83116),me=Be(37613);const Ue=ut=>{const{componentCls:it,iconCls:Nt}=ut;return{[it]:Object.assign(Object.assign({},(0,z.Wf)(ut)),{color:ut.itemColor,fontSize:ut.fontSize,[Nt]:{fontSize:ut.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ut.linkColor,transition:`color ${ut.motionDurationMid}`,padding:`0 ${ut.paddingXXS}px`,borderRadius:ut.borderRadiusSM,height:ut.lineHeight*ut.fontSize,display:"inline-block",marginInline:-ut.marginXXS,"&:hover":{color:ut.linkHoverColor,backgroundColor:ut.colorBgTextHover}},(0,z.Qy)(ut)),"li:last-child":{color:ut.lastItemColor},[`${it}-separator`]:{marginInline:ut.separatorMargin,color:ut.separatorColor},[`${it}-link`]:{[` > ${Nt} + span, > ${Nt} + a `]:{marginInlineStart:ut.marginXXS}},[`${it}-overlay-link`]:{borderRadius:ut.borderRadiusSM,height:ut.lineHeight*ut.fontSize,display:"inline-block",padding:`0 ${ut.paddingXXS}px`,marginInline:-ut.marginXXS,[`> ${Nt}`]:{marginInlineStart:ut.marginXXS,fontSize:ut.fontSizeIcon},"&:hover":{color:ut.linkHoverColor,backgroundColor:ut.colorBgTextHover,a:{color:ut.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ut.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,ne.Z)("Breadcrumb",ut=>{const it=(0,me.TS)(ut,{});return[Ue(it)]},ut=>({itemColor:ut.colorTextDescription,lastItemColor:ut.colorText,iconFontSize:ut.fontSize,linkColor:ut.colorTextDescription,linkHoverColor:ut.colorText,separatorColor:ut.colorTextDescription,separatorMargin:ut.marginXS})),Te=function(ut,it){var Nt={};for(var mt in ut)Object.prototype.hasOwnProperty.call(ut,mt)&&it.indexOf(mt)<0&&(Nt[mt]=ut[mt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(ut);Pt{var{breadcrumbName:et}=gt,Xt=Te(gt,["breadcrumbName"]);return Object.assign(Object.assign({},Xt),{title:et})})}),Pt}function Ye(ut,it){return(0,Ze.useMemo)(()=>ut||(it?it.map(Ve):null),[ut,it])}var nt=function(ut,it){var Nt={};for(var mt in ut)Object.prototype.hasOwnProperty.call(ut,mt)&&it.indexOf(mt)<0&&(Nt[mt]=ut[mt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(ut);Pt{if(it===void 0)return it;let Nt=(it||"").replace(/^\//,"");return Object.keys(ut).forEach(mt=>{Nt=Nt.replace(`:${mt}`,ut[mt])}),Nt},Ft=ut=>{const{prefixCls:it,separator:Nt="/",style:mt,className:Pt,rootClassName:gt,routes:et,items:Xt,children:An,itemRender:bt,params:qt={}}=ut,wn=nt(ut,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:zn,direction:fn,breadcrumb:qn}=Ze.useContext(he.E_);let It;const On=zn("breadcrumb",it),[rr,ke]=Pe(On),_t=Ye(Xt,et),He=y(On,bt);if(_t&&_t.length>0){const ye=[],qe=Xt||et;It=_t.map((pt,Me)=>{const{path:Xe,key:Ot,type:yt,menu:lt,overlay:Wt,onClick:kn,className:Qt,separator:dn,dropdownProps:Rt}=pt,bn=Oe(qt,Xe);bn!==void 0&&ye.push(bn);const tn=Ot!=null?Ot:Me;if(yt==="separator")return Ze.createElement(Ne,{key:tn},dn);const Ar={},Sr=Me===_t.length-1;lt?Ar.menu=lt:Wt&&(Ar.overlay=Wt);let{href:gr}=pt;return ye.length&&bn!==void 0&&(gr=`#/${ye.join("/")}`),Ze.createElement(E,Object.assign({key:tn},Ar,(0,At.Z)(pt,{data:!0,aria:!0}),{className:Qt,dropdownProps:Rt,href:gr,separator:Sr?"":Nt,onClick:kn,prefixCls:On}),He(pt,qt,qe,ye,gr))})}else if(An){const ye=(0,ze.Z)(An).length;It=(0,ze.Z)(An).map((qe,pt)=>{if(!qe)return qe;const Me=pt===ye-1;return(0,Re.Tm)(qe,{separator:Me?"":Nt,key:pt})})}const pe=we()(On,qn==null?void 0:qn.className,{[`${On}-rtl`]:fn==="rtl"},Pt,gt,ke),se=Object.assign(Object.assign({},qn==null?void 0:qn.style),mt);return rr(Ze.createElement("nav",Object.assign({className:pe,style:se},wn),Ze.createElement("ol",null,It)))};Ft.Item=x,Ft.Separator=Ne;var Qe=Ft,kt=Qe},24905:function(rn,Mt,Be){"use strict";Be.d(Mt,{default:function(){return Pe}});var ue=Be(92310),we=Be.n(ue),ze=Be(5630),At=Be(59301),Ze=Be(36355),Re=Be(1684),he=Be(32441),De=At.createContext(null),ce=Be(98447),Ne=Be(14088),Ee=Be(4572),Ce=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:kt=!1,style:ut,onMouseEnter:it,onMouseLeave:Nt,skipGroup:mt=!1,disabled:Pt}=Te,gt=Ce(Te,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:et,direction:Xt,checkbox:An}=At.useContext(Ze.E_),bt=At.useContext(De),{isFormItemInput:qt}=At.useContext(he.aM),wn=At.useContext(Re.Z),zn=(Ye=(bt==null?void 0:bt.disabled)||Pt)!==null&&Ye!==void 0?Ye:wn,fn=At.useRef(gt.value);At.useEffect(()=>{bt==null||bt.registerValue(gt.value)},[]),At.useEffect(()=>{if(!mt)return gt.value!==fn.current&&(bt==null||bt.cancelValue(fn.current),bt==null||bt.registerValue(gt.value),fn.current=gt.value),()=>bt==null?void 0:bt.cancelValue(gt.value)},[gt.value]);const qn=et("checkbox",nt),[It,On]=(0,ce.ZP)(qn),rr=Object.assign({},gt);bt&&!mt&&(rr.onChange=function(){gt.onChange&>.onChange.apply(gt,arguments),bt.toggleOption&&bt.toggleOption({label:Qe,value:gt.value})},rr.name=bt.name,rr.checked=bt.value.includes(gt.value));const ke=we()(`${qn}-wrapper`,{[`${qn}-rtl`]:Xt==="rtl",[`${qn}-wrapper-checked`]:rr.checked,[`${qn}-wrapper-disabled`]:zn,[`${qn}-wrapper-in-form-item`]:qt},An==null?void 0:An.className,Oe,Ft,On),_t=we()({[`${qn}-indeterminate`]:kt},Ee.A,On),He=kt?"mixed":void 0;return It(At.createElement(Ne.Z,{component:"Checkbox",disabled:zn},At.createElement("label",{className:ke,style:Object.assign(Object.assign({},An==null?void 0:An.style),ut),onMouseEnter:it,onMouseLeave:Nt},At.createElement(ze.Z,Object.assign({"aria-checked":He},rr,{prefixCls:qn,className:_t,disabled:zn,ref:Ve})),Qe!==void 0&&At.createElement("span",null,Qe))))};var a=At.forwardRef(oe),E=Be(95190),b=Be(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:kt,style:ut,onChange:it}=Te,Nt=x(Te,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:mt,direction:Pt}=At.useContext(Ze.E_),[gt,et]=At.useState(Nt.value||Ye||[]),[Xt,An]=At.useState([]);At.useEffect(()=>{"value"in Nt&&et(Nt.value||[])},[Nt.value]);const bt=At.useMemo(()=>Oe.map(pe=>typeof pe=="string"||typeof pe=="number"?{label:pe,value:pe}:pe),[Oe]),qt=pe=>{An(se=>se.filter(ye=>ye!==pe))},wn=pe=>{An(se=>[].concat((0,E.Z)(se),[pe]))},zn=pe=>{const se=gt.indexOf(pe.value),ye=(0,E.Z)(gt);se===-1?ye.push(pe.value):ye.splice(se,1),"value"in Nt||et(ye),it==null||it(ye.filter(qe=>Xt.includes(qe)).sort((qe,pt)=>{const Me=bt.findIndex(Ot=>Ot.value===qe),Xe=bt.findIndex(Ot=>Ot.value===pt);return Me-Xe}))},fn=mt("checkbox",Ft),qn=`${fn}-group`,[It,On]=(0,ce.ZP)(fn),rr=(0,b.Z)(Nt,["value","disabled"]),ke=Oe.length?bt.map(pe=>At.createElement(a,{prefixCls:fn,key:pe.value.toString(),disabled:"disabled"in pe?pe.disabled:Nt.disabled,value:pe.value,checked:gt.includes(pe.value),onChange:pe.onChange,className:`${qn}-item`,style:pe.style,title:pe.title},pe.label)):nt,_t={toggleOption:zn,value:gt,disabled:Nt.disabled,name:Nt.name,registerValue:wn,cancelValue:qt},He=we()(qn,{[`${qn}-rtl`]:Pt==="rtl"},Qe,kt,On);return It(At.createElement("div",Object.assign({className:He,style:ut},rr,{ref:Ve}),At.createElement(De.Provider,{value:_t},ke)))},ne=At.forwardRef(z);var me=At.memo(ne);const Ue=a;Ue.Group=me,Ue.__ANT_CHECKBOX=!0;var Pe=Ue},98447:function(rn,Mt,Be){"use strict";Be.d(Mt,{C2:function(){return Ze}});var ue=Be(17313),we=Be(37613),ze=Be(83116);const At=Re=>{const{checkboxCls:he}=Re,ve=`${he}-wrapper`;return[{[`${he}-group`]:Object.assign(Object.assign({},(0,ue.Wf)(Re)),{display:"inline-flex",flexWrap:"wrap",columnGap:Re.marginXS,[`> ${Re.antCls}-row`]:{flex:1}}),[ve]:Object.assign(Object.assign({},(0,ue.Wf)(Re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ve}`]:{marginInlineStart:0},[`&${ve}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[he]:Object.assign(Object.assign({},(0,ue.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,ue.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}})},{[` ${ve}:not(${ve}-disabled), ${he}:not(${he}-disabled) `]:{[`&:hover ${he}-inner`]:{borderColor:Re.colorPrimary}},[`${ve}:not(${ve}-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}`}}},[` ${ve}-checked:not(${ve}-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:'""'}}}}},{[`${ve}-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 ve=(0,we.TS)(he,{checkboxCls:`.${Re}`,checkboxSize:he.controlInteractiveSize});return[At(ve)]}Mt.ZP=(0,ze.Z)("Checkbox",(Re,he)=>{let{prefixCls:ve}=he;return[Ze(ve,Re)]})},28103:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return Ee}});var ue=Be(92310),we=Be.n(ue),ze=Be(59301),At=Be(36355),Ze=Be(17313),Re=Be(83116),he=Be(37613);const ve=Ce=>{const{componentCls:oe,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:E,textPaddingInline:b,orientationMargin:x,verticalMarginInline:z}=Ce;return{[oe]:Object.assign(Object.assign({},(0,Ze.Wf)(Ce)),{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:`${Ce.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ce.dividerHorizontalWithTextGutterMargin}px 0`,color:Ce.colorTextHeading,fontWeight:500,fontSize:Ce.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:Ce.colorText,fontWeight:"normal",fontSize:Ce.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",Ce=>{const oe=(0,he.TS)(Ce,{dividerHorizontalWithTextGutterMargin:Ce.margin,dividerHorizontalGutterMargin:Ce.marginLG,sizePaddingEdgeHorizontal:0});return[ve(oe)]},Ce=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ce.marginXS})),ce=function(Ce,oe){var y={};for(var a in Ce)Object.prototype.hasOwnProperty.call(Ce,a)&&oe.indexOf(a)<0&&(y[a]=Ce[a]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(Ce);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:me,children:Ue,dashed:Pe,plain:Te,style:Ve}=Ce,Ye=ce(Ce,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),nt=oe("divider",E),[Oe,Ft]=De(nt),Qe=x.length>0?`-${x}`:x,kt=!!Ue,ut=x==="left"&&z!=null,it=x==="right"&&z!=null,Nt=we()(nt,a==null?void 0:a.className,Ft,`${nt}-${b}`,{[`${nt}-with-text`]:kt,[`${nt}-with-text${Qe}`]:kt,[`${nt}-dashed`]:!!Pe,[`${nt}-plain`]:!!Te,[`${nt}-rtl`]:y==="rtl",[`${nt}-no-default-orientation-margin-left`]:ut,[`${nt}-no-default-orientation-margin-right`]:it},ne,me),mt=ze.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Pt=Object.assign(Object.assign({},ut&&{marginLeft:mt}),it&&{marginRight:mt});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:Pt},Ue)))}},91857:function(rn,Mt,Be){"use strict";var ue=Be(59301),we=Be(38819),ze=Be(92310),At=Be.n(ze),Ze=Be(31561),Re=Be(70425),he=Be(18929),ve=Be(2738),De=Be(79676),ce=Be(53487),Ne=Be(92343),Ee=Be(36355),Ce=Be(20834),oe=Be(40875),y=Be(88088),a=Be(47211);const E=null,b=me=>{const{menu:Ue,arrow:Pe,prefixCls:Te,children:Ve,trigger:Ye,disabled:nt,dropdownRender:Oe,getPopupContainer:Ft,overlayClassName:Qe,rootClassName:kt,open:ut,onOpenChange:it,visible:Nt,onVisibleChange:mt,mouseEnterDelay:Pt=.15,mouseLeaveDelay:gt=.1,autoAdjustOverflow:et=!0,placement:Xt="",overlay:An,transitionName:bt}=me,{getPopupContainer:qt,getPrefixCls:wn,direction:zn}=ue.useContext(Ee.E_),fn=ue.useMemo(()=>{const lt=wn();return bt!==void 0?bt:Xt.includes("top")?`${lt}-slide-down`:`${lt}-slide-up`},[wn,Xt,bt]),qn=ue.useMemo(()=>Xt?Xt.includes("Center")?Xt.slice(0,Xt.indexOf("Center")):Xt:zn==="rtl"?"bottomRight":"bottomLeft",[Xt,zn]),It=wn("dropdown",Te),[On,rr]=(0,a.Z)(It),[,ke]=(0,y.Z)(),_t=ue.Children.only(Ve),He=(0,Ne.Tm)(_t,{className:At()(`${It}-trigger`,{[`${It}-rtl`]:zn==="rtl"},_t.props.className),disabled:nt}),pe=nt?[]:Ye;let se;pe&&pe.includes("contextMenu")&&(se=!0);const[ye,qe]=(0,he.Z)(!1,{value:ut!=null?ut:Nt}),pt=(0,Re.useEvent)(lt=>{it==null||it(lt),mt==null||mt(lt),qe(lt)}),Me=At()(Qe,kt,rr,{[`${It}-rtl`]:zn==="rtl"}),Xe=(0,De.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:et,offset:ke.marginXXS,arrowWidth:Pe?ke.sizePopupArrow:0,borderRadius:ke.borderRadius}),Ot=ue.useCallback(()=>{qe(!1)},[]),yt=()=>{let lt;return Ue!=null&&Ue.items?lt=ue.createElement(Ce.default,Object.assign({},Ue)):typeof An=="function"?lt=An():lt=An,Oe&&(lt=Oe(lt)),lt=ue.Children.only(typeof lt=="string"?ue.createElement("span",null,lt):lt),ue.createElement(oe.J,{prefixCls:`${It}-menu`,expandIcon:ue.createElement("span",{className:`${It}-menu-submenu-arrow`},ue.createElement(we.Z,{className:`${It}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ot,validator:Wt=>{let{mode:kn}=Wt}},lt)};return On(ue.createElement(Ze.Z,Object.assign({alignPoint:se},(0,ve.Z)(me,["rootClassName"]),{mouseEnterDelay:Pt,mouseLeaveDelay:gt,visible:ye,builtinPlacements:Xe,arrow:!!Pe,overlayClassName:Me,prefixCls:It,getPopupContainer:Ft||qt,transitionName:fn,trigger:pe,overlay:yt,placement:qn,onVisibleChange:pt}),He))};function x(me){return Object.assign(Object.assign({},me),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,ce.Z)(b,"dropdown",me=>me,x),ne=me=>ue.createElement(z,Object.assign({},me),ue.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ne,Mt.Z=b},38854:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return y}});var ue=Be(91857),we=Be(92310),ze=Be.n(we),At=Be(59301),Ze=Be(18785),Re=Be(3113),he=Be(36355),ve=Be(81327),De=Be(33234),ce=Be(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:me,disabled:Ue,loading:Pe,onClick:Te,htmlType:Ve,children:Ye,className:nt,menu:Oe,arrow:Ft,autoFocus:Qe,overlay:kt,trigger:ut,align:it,open:Nt,onOpenChange:mt,placement:Pt,getPopupContainer:gt,href:et,icon:Xt=At.createElement(Ze.Z,null),title:An,buttonsRender:bt=yt=>yt,mouseEnterDelay:qt,mouseLeaveDelay:wn,overlayClassName:zn,overlayStyle:fn,destroyPopupOnHide:qn,dropdownRender:It}=a,On=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"]),rr=b("dropdown",z),ke=`${rr}-button`,[_t,He]=(0,ce.Z)(rr),pe={menu:Oe,arrow:Ft,autoFocus:Qe,align:it,disabled:Ue,trigger:Ue?[]:ut,onOpenChange:mt,getPopupContainer:gt||E,mouseEnterDelay:qt,mouseLeaveDelay:wn,overlayClassName:zn,overlayStyle:fn,destroyPopupOnHide:qn,dropdownRender:It},{compactSize:se,compactItemClassnames:ye}=(0,De.ri)(rr,x),qe=ze()(ke,ye,nt,He);"overlay"in a&&(pe.overlay=kt),"open"in a&&(pe.open=Nt),"placement"in a?pe.placement=Pt:pe.placement=x==="rtl"?"bottomLeft":"bottomRight";const pt=At.createElement(Re.ZP,{type:ne,danger:me,disabled:Ue,loading:Pe,onClick:Te,htmlType:Ve,href:et,title:An},Ye),Me=At.createElement(Re.ZP,{type:ne,danger:me,icon:Xt}),[Xe,Ot]=bt([pt,Me]);return _t(At.createElement(ve.Z.Compact,Object.assign({className:qe,size:se,block:!0},On),Xe,At.createElement(ue.Z,Object.assign({},pe),Ot)))};Ee.__ANT_BUTTON=!0;var Ce=Ee;const oe=ue.Z;oe.Button=Ce;var y=oe},47211:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return Ne}});var ue=Be(17313),we=Be(13826),ze=Be(92899),At=Be(29878),Ze=Be(19447),Re=Be(83116),he=Be(37613),De=Ee=>{const{componentCls:Ce,menuCls:oe,colorError:y,colorTextLightSolid:a}=Ee,E=`${oe}-item`;return{[`${Ce}, ${Ce}-menu-submenu`]:{[`${oe} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ce=Ee=>{const{componentCls:Ce,menuCls:oe,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:E,antCls:b,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ne,fontSize:me,dropdownEdgeChildPadding:Ue,colorTextDisabled:Pe,fontSizeIcon:Te,controlPaddingHorizontal:Ve,colorBgElevated:Ye}=Ee;return[{[Ce]:Object.assign(Object.assign({},(0,ue.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}},[`${Ce}-wrap`]:{position:"relative",[`${b}-btn > ${x}-down`]:{fontSize:Te},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${Ce}-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${Ce}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${Ce}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${Ce}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${Ce}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${Ce}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${Ce}-placement-bottomRight`]:{animationName:we.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Ce}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${Ce}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${Ce}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${Ce}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${Ce}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${Ce}-placement-topRight`]:{animationName:we.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Ce}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${Ce}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${Ce}-placement-bottomRight`]:{animationName:we.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Ce}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${Ce}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${Ce}-placement-topRight`]:{animationName:we.ly}})},(0,Ze.ZP)(Ee,{colorBg:Ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ce} ${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}},[`${Ce}, ${Ce}-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,ue.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:me,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:me,lineHeight:Ee.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Ee.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ee.controlItemBgHover}},(0,ue.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},[`${Ce}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ee.paddingXS,[`${Ce}-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 ${Ce}-menu-submenu-title`]:{[`&, ${Ce}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ye,cursor:"not-allowed"}},[`${oe}-submenu-selected ${Ce}-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,Ce)=>{let{rootPrefixCls:oe}=Ce;const{marginXXS:y,sizePopupArrow:a,controlHeight:E,fontSize:b,lineHeight:x,paddingXXS:z,componentCls:ne,borderRadiusLG:me}=Ee,Ue=(E-b*x)/2,{dropdownArrowOffset:Pe}=(0,Ze.fS)({contentRadius:me}),Te=(0,he.TS)(Ee,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:Ue,dropdownEdgeChildPadding:z});return[ce(Te),De(Te)]},Ee=>({zIndexPopup:Ee.zIndexPopupBase+50}))},8628:function(rn,Mt,Be){"use strict";var ue=Be(59301),we=Be(34280),ze=Be(56762),At=Be(69507);function Ze(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const he=(0,ue.useRef)({}),ve=(0,ze.Z)(),De=(0,At.ZP)();return(0,we.Z)(()=>{const ce=De.subscribe(Ne=>{he.current=Ne,Re&&ve()});return()=>De.unsubscribe(ce)},[]),he.current}Mt.Z=Ze},45818:function(rn,Mt,Be){"use strict";Be.d(Mt,{D:function(){return z},Z:function(){return Ue}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(Te,Ve){return we.createElement(Ze.Z,(0,ue.Z)({},Te,{ref:Ve,icon:At}))},he=we.forwardRef(Re),ve=he,De=Be(33853),ce=Be(38819),Ne=Be(92310),Ee=Be.n(Ne),Ce=Be(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=Be(36355),E=Be(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:kt={},collapsible:ut=!1,reverseArrow:it=!1,width:Nt=200,collapsedWidth:mt=80,zeroWidthTriggerStyle:Pt,breakpoint:gt,onCollapse:et,onBreakpoint:Xt}=Pe,An=b(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:bt}=(0,we.useContext)(E.Gs),[qt,wn]=(0,we.useState)("collapsed"in Pe?Pe.collapsed:Ft),[zn,fn]=(0,we.useState)(!1);(0,we.useEffect)(()=>{"collapsed"in Pe&&wn(Pe.collapsed)},[Pe.collapsed]);const qn=(He,pe)=>{"collapsed"in Pe||wn(He),et==null||et(He,pe)},It=(0,we.useRef)();It.current=He=>{fn(He.matches),Xt==null||Xt(He.matches),qt!==He.matches&&qn(He.matches,"responsive")},(0,we.useEffect)(()=>{function He(se){return It.current(se)}let pe;if(typeof window!="undefined"){const{matchMedia:se}=window;if(se&>&> in x){pe=se(`(max-width: ${x[gt]})`);try{pe.addEventListener("change",He)}catch(ye){pe.addListener(He)}He(pe)}}return()=>{try{pe==null||pe.removeEventListener("change",He)}catch(se){pe==null||pe.removeListener(He)}}},[gt]),(0,we.useEffect)(()=>{const He=ne("ant-sider-");return bt.addSider(He),()=>bt.removeSider(He)},[]);const On=()=>{qn(!qt,"clickTrigger")},{getPrefixCls:rr}=(0,we.useContext)(a.E_),ke=()=>{const He=rr("layout-sider",Ve),pe=(0,Ce.Z)(An,["collapsed"]),se=qt?mt:Nt,ye=y(se)?`${se}px`:String(se),qe=parseFloat(String(mt||0))===0?we.createElement("span",{onClick:On,className:Ee()(`${He}-zero-width-trigger`,`${He}-zero-width-trigger-${it?"right":"left"}`),style:Pt},nt||we.createElement(ve,null)):null,Xe={expanded:it?we.createElement(ce.Z,null):we.createElement(De.Z,null),collapsed:it?we.createElement(De.Z,null):we.createElement(ce.Z,null)}[qt?"collapsed":"expanded"],Ot=nt!==null?qe||we.createElement("div",{className:`${He}-trigger`,onClick:On,style:{width:ye}},nt||Xe):null,yt=Object.assign(Object.assign({},kt),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),lt=Ee()(He,`${He}-${Qe}`,{[`${He}-collapsed`]:!!qt,[`${He}-has-trigger`]:ut&&nt!==null&&!qe,[`${He}-below`]:!!zn,[`${He}-zero-width`]:parseFloat(ye)===0},Ye);return we.createElement("aside",Object.assign({className:lt},pe,{style:yt,ref:Te}),we.createElement("div",{className:`${He}-children`},Oe),ut||zn&&qe?Ot:null)},_t=we.useMemo(()=>({siderCollapsed:qt}),[qt]);return we.createElement(z.Provider,{value:_t},ke())})},84966:function(rn,Mt,Be){"use strict";Be.d(Mt,{VY:function(){return z},$_:function(){return x},h4:function(){return b},Gs:function(){return Ce},ZP:function(){return ne}});var ue=Be(95190),we=Be(92310),ze=Be.n(we),At=Be(2738),Ze=Be(59301),Re=Be(36355),he=Be(83116),De=me=>{const{componentCls:Ue,bodyBg:Pe,lightSiderBg:Te,lightTriggerBg:Ve,lightTriggerColor:Ye}=me;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 ce=me=>{const{antCls:Ue,componentCls:Pe,colorText:Te,triggerColor:Ve,footerBg:Ye,triggerBg:nt,headerHeight:Oe,headerPadding:Ft,headerColor:Qe,footerPadding:kt,triggerHeight:ut,zeroTriggerHeight:it,zeroTriggerWidth:Nt,motionDurationMid:mt,motionDurationSlow:Pt,fontSize:gt,borderRadius:et,bodyBg:Xt,headerBg:An,siderBg:bt}=me;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Xt,"&, *":{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:bt,transition:`all ${mt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ue}-menu${Ue}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ut},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ut,color:Ve,lineHeight:`${ut}px`,textAlign:"center",background:nt,cursor:"pointer",transition:`all ${mt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Oe,insetInlineEnd:-Nt,zIndex:1,width:Nt,height:it,color:Ve,fontSize:me.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:bt,borderStartStartRadius:0,borderStartEndRadius:et,borderEndEndRadius:et,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Pt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Pt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Nt,borderStartStartRadius:et,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:et}}}}},De(me)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:Oe,padding:Ft,color:Qe,lineHeight:`${Oe}px`,background:An,[`${Ue}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:kt,color:Te,fontSize:gt,background:Ye},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var Ne=(0,he.Z)("Layout",me=>[ce(me)],me=>{const{colorBgLayout:Ue,controlHeight:Pe,controlHeightLG:Te,colorText:Ve,controlHeightSM:Ye,marginXXS:nt,colorTextLightSolid:Oe,colorBgContainer:Ft}=me,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(me,Ue){var Pe={};for(var Te in me)Object.prototype.hasOwnProperty.call(me,Te)&&Ue.indexOf(Te)<0&&(Pe[Te]=me[Te]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Te=Object.getOwnPropertySymbols(me);Venull,removeSider:()=>null}});function oe(me){let{suffixCls:Ue,tagName:Pe,displayName:Te}=me;return Ve=>Ze.forwardRef((nt,Oe)=>Ze.createElement(Ve,Object.assign({ref:Oe,suffixCls:Ue,tagName:Pe},nt)))}const y=Ze.forwardRef((me,Ue)=>{const{prefixCls:Pe,suffixCls:Te,className:Ve,tagName:Ye}=me,nt=Ee(me,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Oe}=Ze.useContext(Re.E_),Ft=Oe("layout",Pe),[Qe,kt]=Ne(Ft),ut=Te?`${Ft}-${Te}`:Ft;return Qe(Ze.createElement(Ye,Object.assign({className:ze()(Pe||ut,Ve,kt),ref:Ue},nt)))}),a=Ze.forwardRef((me,Ue)=>{const{direction:Pe}=Ze.useContext(Re.E_),[Te,Ve]=Ze.useState([]),{prefixCls:Ye,className:nt,rootClassName:Oe,children:Ft,hasSider:Qe,tagName:kt,style:ut}=me,it=Ee(me,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Nt=(0,At.Z)(it,["suffixCls"]),{getPrefixCls:mt,layout:Pt}=Ze.useContext(Re.E_),gt=mt("layout",Ye),[et,Xt]=Ne(gt),An=ze()(gt,{[`${gt}-has-sider`]:typeof Qe=="boolean"?Qe:Te.length>0,[`${gt}-rtl`]:Pe==="rtl"},Pt==null?void 0:Pt.className,nt,Oe,Xt),bt=Ze.useMemo(()=>({siderHook:{addSider:qt=>{Ve(wn=>[].concat((0,ue.Z)(wn),[qt]))},removeSider:qt=>{Ve(wn=>wn.filter(zn=>zn!==qt))}}}),[]);return et(Ze.createElement(Ce.Provider,{value:bt},Ze.createElement(kt,Object.assign({ref:Ue,className:An,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),ut)},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(rn,Mt,Be){"use strict";Be.d(Mt,{J:function(){return Re}});var ue=Be(59301),we=Be(33234),ze=Be(70425),At=function(he,ve){var De={};for(var ce in he)Object.prototype.hasOwnProperty.call(he,ce)&&ve.indexOf(ce)<0&&(De[ce]=he[ce]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ce=Object.getOwnPropertySymbols(he);Ne{const{children:De}=he,ce=At(he,["children"]),Ne=ue.useContext(Ze),Ee=ue.useMemo(()=>Object.assign(Object.assign({},Ne),ce),[Ne,ce.prefixCls,ce.mode,ce.selectable]);return ue.createElement(Ze.Provider,{value:Ee},ue.createElement(we.BR,null,(0,ze.supportNodeRef)(De)?ue.cloneElement(De,{ref:ve}):De))});Mt.Z=Ze},20834:function(rn,Mt,Be){"use strict";Be.d(Mt,{default:function(){return _t}});var ue=Be(15285),we=Be(59301),ze=Be(45818),At=Be(92310),Ze=Be.n(At),Re=Be(36355),he=function(He,pe){var se={};for(var ye in He)Object.prototype.hasOwnProperty.call(He,ye)&&pe.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:pe,className:se,dashed:ye}=He,qe=he(He,["prefixCls","className","dashed"]),{getPrefixCls:pt}=we.useContext(Re.E_),Me=pt("menu",pe),Xe=Ze()({[`${Me}-item-divider-dashed`]:!!ye},se);return we.createElement(ue.iz,Object.assign({className:Xe},qe))},ce=Be(11592),Ne=Be(2738),Ee=Be(6848),Ce=Be(92343),y=(0,we.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=He=>{var pe;const{className:se,children:ye,icon:qe,title:pt,danger:Me}=He,{prefixCls:Xe,firstLevel:Ot,direction:yt,disableMenuItemTitleTooltip:lt,inlineCollapsed:Wt}=we.useContext(y),kn=Ar=>{const Sr=we.createElement("span",{className:`${Xe}-title-content`},ye);return(!qe||(0,Ce.l$)(ye)&&ye.type==="span")&&ye&&Ar&&Ot&&typeof ye=="string"?we.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},ye.charAt(0)):Sr},{siderCollapsed:Qt}=we.useContext(ze.D);let dn=pt;typeof pt=="undefined"?dn=Ot?ye:"":pt===!1&&(dn="");const Rt={title:dn};!Qt&&!Wt&&(Rt.title=null,Rt.open=!1);const bn=(0,ce.Z)(ye).length;let tn=we.createElement(ue.ck,Object.assign({},(0,Ne.Z)(He,["title","icon","danger"]),{className:Ze()({[`${Xe}-item-danger`]:Me,[`${Xe}-item-only-child`]:(qe?bn+1:bn)===1},se),title:typeof pt=="string"?pt:void 0}),(0,Ce.Tm)(qe,{className:Ze()((0,Ce.l$)(qe)?(pe=qe.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),kn(Wt));return lt||(tn=we.createElement(Ee.Z,Object.assign({},Rt,{placement:yt==="rtl"?"left":"right",overlayClassName:`${Xe}-inline-collapsed-tooltip`}),tn)),tn},x=He=>{var pe;const{popupClassName:se,icon:ye,title:qe,theme:pt}=He,Me=we.useContext(y),{prefixCls:Xe,inlineCollapsed:Ot,theme:yt}=Me,lt=(0,ue.Xl)();let Wt;if(!ye)Wt=Ot&&!lt.length&&qe&&typeof qe=="string"?we.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},qe.charAt(0)):we.createElement("span",{className:`${Xe}-title-content`},qe);else{const Qt=(0,Ce.l$)(qe)&&qe.type==="span";Wt=we.createElement(we.Fragment,null,(0,Ce.Tm)(ye,{className:Ze()((0,Ce.l$)(ye)?(pe=ye.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),Qt?qe:we.createElement("span",{className:`${Xe}-title-content`},qe))}const kn=we.useMemo(()=>Object.assign(Object.assign({},Me),{firstLevel:!1}),[Me]);return we.createElement(y.Provider,{value:kn},we.createElement(ue.Wd,Object.assign({},(0,Ne.Z)(He,["icon"]),{title:Wt,popupClassName:Ze()(Xe,se,`${Xe}-${pt||yt}`)})))},z=Be(18785),ne=Be(70425),me=Be(62892),Ue=Be(40875),Pe=function(He,pe){var se={};for(var ye in He)Object.prototype.hasOwnProperty.call(He,ye)&&pe.indexOf(ye)<0&&(se[ye]=He[ye]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(He);qe{if(pe&&typeof pe=="object"){const ye=pe,{label:qe,children:pt,key:Me,type:Xe}=ye,Ot=Pe(ye,["label","children","key","type"]),yt=Me!=null?Me:`tmp-${se}`;return pt||Xe==="group"?Xe==="group"?we.createElement(ue.BW,Object.assign({key:yt},Ot,{title:qe}),Te(pt)):we.createElement(x,Object.assign({key:yt},Ot,{title:qe}),Te(pt)):Xe==="divider"?we.createElement(De,Object.assign({key:yt},Ot)):we.createElement(E,Object.assign({key:yt},Ot),qe)}return null}).filter(pe=>pe)}function Ve(He){return we.useMemo(()=>He&&Te(He),[He])}var Ye=Be(64993),nt=Be(17313),Oe=Be(8378),Ft=Be(13826),Qe=Be(29878),kt=Be(83116),ut=Be(37613),Nt=He=>{const{componentCls:pe,motionDurationSlow:se,horizontalLineHeight:ye,colorSplit:qe,lineWidth:pt,lineType:Me,itemPaddingInline:Xe}=He;return{[`${pe}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${pt}px ${Me} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xe},[`> ${pe}-item:hover, > ${pe}-item-active, > ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${se}`,`background ${se}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},Pt=He=>{let{componentCls:pe,menuArrowOffset:se}=He;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical, ${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${se})`},"&::after":{transform:`rotate(45deg) translateY(${se})`}}}}};const gt=He=>Object.assign({},(0,nt.oN)(He));var Xt=(He,pe)=>{const{componentCls:se,itemColor:ye,itemSelectedColor:qe,groupTitleColor:pt,itemBg:Me,subMenuItemBg:Xe,itemSelectedBg:Ot,activeBarHeight:yt,activeBarWidth:lt,activeBarBorderWidth:Wt,motionDurationSlow:kn,motionEaseInOut:Qt,motionEaseOut:dn,itemPaddingInline:Rt,motionDurationMid:bn,itemHoverColor:tn,lineType:Ar,colorSplit:Sr,itemDisabledColor:gr,dangerItemColor:zr,dangerItemHoverColor:Nr,dangerItemSelectedColor:ma,dangerItemActiveBg:Qr,dangerItemSelectedBg:ea,itemHoverBg:xr,itemActiveBg:_r,menuSubMenuBg:qr,horizontalItemSelectedColor:Pa,horizontalItemSelectedBg:ga,horizontalItemBorderRadius:aa,horizontalItemHoverBg:Fo,popupBg:za}=He;return{[`${se}-${pe}, ${se}-${pe} > ${se}`]:{color:ye,background:Me,[`&${se}-root:focus-visible`]:Object.assign({},gt(He)),[`${se}-item-group-title`]:{color:pt},[`${se}-submenu-selected`]:{[`> ${se}-submenu-title`]:{color:qe}},[`${se}-item-disabled, ${se}-submenu-disabled`]:{color:`${gr} !important`},[`${se}-item:not(${se}-item-selected):not(${se}-submenu-selected)`]:{[`&:hover, > ${se}-submenu-title:hover`]:{color:tn}},[`&:not(${se}-horizontal)`]:{[`${se}-item:not(${se}-item-selected)`]:{"&:hover":{backgroundColor:xr},"&:active":{backgroundColor:_r}},[`${se}-submenu-title`]:{"&:hover":{backgroundColor:xr},"&:active":{backgroundColor:_r}}},[`${se}-item-danger`]:{color:zr,[`&${se}-item:hover`]:{[`&:not(${se}-item-selected):not(${se}-submenu-selected)`]:{color:Nr}},[`&${se}-item:active`]:{background:Qr}},[`${se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${se}-item-selected`]:{color:qe,[`&${se}-item-danger`]:{color:ma},"a, a:hover":{color:"inherit"}},[`& ${se}-item-selected`]:{backgroundColor:Ot,[`&${se}-item-danger`]:{backgroundColor:ea}},[`${se}-item, ${se}-submenu-title`]:{[`&:not(${se}-item-disabled):focus-visible`]:Object.assign({},gt(He))},[`&${se}-submenu > ${se}`]:{backgroundColor:qr},[`&${se}-popup > ${se}`]:{backgroundColor:za},[`&${se}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${se}-item, > ${se}-submenu`]:{top:Wt,marginTop:-Wt,marginBottom:0,borderRadius:aa,"&::after":{position:"absolute",insetInline:Rt,bottom:0,borderBottom:`${yt}px solid transparent`,transition:`border-color ${kn} ${Qt}`,content:'""'},"&:hover, &-active, &-open":{background:Fo,"&::after":{borderBottomWidth:yt,borderBottomColor:Pa}},"&-selected":{color:Pa,backgroundColor:ga,"&:hover":{backgroundColor:ga},"&::after":{borderBottomWidth:yt,borderBottomColor:Pa}}}}),[`&${se}-root`]:{[`&${se}-inline, &${se}-vertical`]:{borderInlineEnd:`${Wt}px ${Ar} ${Sr}`}},[`&${se}-inline`]:{[`${se}-sub${se}-inline`]:{background:Xe},[`${se}-item, ${se}-submenu-title`]:Wt&<?{width:`calc(100% + ${Wt}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 ${bn} ${dn}`,`opacity ${bn} ${dn}`].join(","),content:'""'},[`&${se}-item-danger`]:{"&::after":{borderInlineEndColor:ma}}},[`${se}-selected, ${se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${bn} ${Qt}`,`opacity ${bn} ${Qt}`].join(",")}}}}}};const An=He=>{const{componentCls:pe,itemHeight:se,itemMarginInline:ye,padding:qe,menuArrowSize:pt,marginXS:Me,itemMarginBlock:Xe}=He,Ot=qe+pt+Me;return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:se,lineHeight:`${se}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Xe,width:`calc(100% - ${ye*2}px)`},[`> ${pe}-item, > ${pe}-submenu > ${pe}-submenu-title`]:{height:se,lineHeight:`${se}px`},[`${pe}-item-group-list ${pe}-submenu-title, ${pe}-submenu-title`]:{paddingInlineEnd:Ot}}};var qt=He=>{const{componentCls:pe,iconCls:se,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:pt,controlHeightLG:Me,motionDurationMid:Xe,motionEaseOut:Ot,paddingXL:yt,itemMarginInline:lt,fontSizeLG:Wt,motionDurationSlow:kn,paddingXS:Qt,boxShadowSecondary:dn,collapsedWidth:Rt,collapsedIconSize:bn}=He,tn={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},An(He))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},An(He)),{boxShadow:dn})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${Me*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${kn}`,`background ${kn}`,`padding ${Xe} ${Ot}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:tn,[`& ${pe}-item-group-title`]:{paddingInlineStart:yt}},[`${pe}-item`]:tn}},{[`${pe}-inline-collapsed`]:{width:Rt,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:Wt,textAlign:"center"}}},[`> ${pe}-item, > ${pe}-item-group > ${pe}-item-group-list > ${pe}-item, > ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title, > ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Wt/2}px - ${lt}px)`,textOverflow:"clip",[` ${pe}-submenu-arrow, ${pe}-submenu-expand-icon `]:{opacity:0},[`${pe}-item-icon, ${se}`]:{margin:0,fontSize:bn,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${se}`]:{display:"none"},"a, a:hover":{color:qe}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},nt.vS),{paddingInline:Qt})}}]};const wn=He=>{const{componentCls:pe,motionDurationSlow:se,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:pt,iconCls:Me,iconSize:Xe,iconMarginInlineEnd:Ot}=He;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${se}`,`background ${se}`,`padding ${se} ${qe}`].join(","),[`${pe}-item-icon, ${Me}`]:{minWidth:Xe,fontSize:Xe,transition:[`font-size ${ye} ${pt}`,`margin ${se} ${qe}`,`color ${se}`].join(","),"+ span":{marginInlineStart:Ot,opacity:1,transition:[`opacity ${se} ${qe}`,`margin ${se}`,`color ${se}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Me}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},zn=He=>{const{componentCls:pe,motionDurationSlow:se,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:pt,menuArrowOffset:Me}=He;return{[`${pe}-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})`}}}}},fn=He=>{const{antCls:pe,componentCls:se,fontSize:ye,motionDurationSlow:qe,motionDurationMid:pt,motionEaseInOut:Me,paddingXS:Xe,padding:Ot,colorSplit:yt,lineWidth:lt,zIndexPopup:Wt,borderRadiusLG:kn,subMenuItemBorderRadius:Qt,menuArrowSize:dn,menuArrowOffset:Rt,lineType:bn,menuPanelMaskInset:tn,groupTitleLineHeight:Ar,groupTitleFontSize:Sr}=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:`${Xe}px ${Ot}px`,fontSize:Sr,lineHeight:Ar,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:yt,borderStyle:bn,borderWidth:0,borderTopWidth:lt,marginBlock:lt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),wn(He)),{[`${se}-item-group`]:{[`${se}-item-group-list`]:{margin:0,padding:0,[`${se}-item, ${se}-submenu-title`]:{paddingInline:`${ye*2}px ${Ot}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Wt,borderRadius:kn,boxShadow:"none",transformOrigin:"0 0",[`&${se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${tn}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:tn},"\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:kn},wn(He)),zn(He)),{[`${se}-item, ${se}-submenu > ${se}-submenu-title`]:{borderRadius:Qt},[`${se}-submenu-title::after`]:{transition:`transform ${qe} ${Me}`}})}}),zn(He)),{[`&-inline-collapsed ${se}-submenu-arrow, &-inline ${se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Rt})`},"&::after":{transform:`rotate(45deg) translateX(-${Rt})`}},[`${se}-submenu-open${se}-submenu-inline > ${se}-submenu-title > ${se}-submenu-arrow`]:{transform:`translateY(-${dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Rt})`},"&::before":{transform:`rotate(45deg) translateX(${Rt})`}}})},{[`${pe}-layout-header`]:{[se]:{lineHeight:"inherit"}}}]};var qn=(He,pe)=>(0,kt.Z)("Menu",ye=>{if(pe===!1)return[];const{colorBgElevated:qe,colorPrimary:pt,colorTextLightSolid:Me,controlHeightLG:Xe,fontSize:Ot,darkItemColor:yt,darkDangerItemColor:lt,darkItemBg:Wt,darkSubMenuItemBg:kn,darkItemSelectedColor:Qt,darkItemSelectedBg:dn,darkDangerItemSelectedBg:Rt,darkItemHoverBg:bn,darkGroupTitleColor:tn,darkItemHoverColor:Ar,darkItemDisabledColor:Sr,darkDangerItemHoverColor:gr,darkDangerItemSelectedColor:zr,darkDangerItemActiveBg:Nr}=ye,ma=Ot/7*5,Qr=(0,ut.TS)(ye,{menuArrowSize:ma,menuHorizontalHeight:Xe*1.15,menuArrowOffset:`${ma*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),ea=(0,ut.TS)(Qr,{itemColor:yt,itemHoverColor:Ar,groupTitleColor:tn,itemSelectedColor:Qt,itemBg:Wt,popupBg:Wt,subMenuItemBg:kn,itemActiveBg:"transparent",itemSelectedBg:dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:bn,itemDisabledColor:Sr,dangerItemColor:lt,dangerItemHoverColor:gr,dangerItemSelectedColor:zr,dangerItemActiveBg:Nr,dangerItemSelectedBg:Rt,menuSubMenuBg:kn,horizontalItemSelectedColor:Me,horizontalItemSelectedBg:pt});return[fn(Qr),Nt(Qr),qt(Qr),Xt(Qr,"light"),Xt(ea,"dark"),Pt(Qr),(0,Oe.Z)(Qr),(0,Ft.oN)(Qr,"slide-up"),(0,Ft.oN)(Qr,"slide-down"),(0,Qe._y)(Qr,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:pt,colorTextDisabled:Me,colorErrorBg:Xe,colorText:Ot,colorTextDescription:yt,colorBgContainer:lt,colorFillAlter:Wt,colorFillContent:kn,lineWidth:Qt,lineWidthBold:dn,controlItemBgActive:Rt,colorBgTextHover:bn,controlHeightLG:tn,lineHeight:Ar,colorBgElevated:Sr,marginXXS:gr,padding:zr,fontSize:Nr,controlHeightSM:ma,fontSizeLG:Qr,colorTextLightSolid:ea,colorErrorHover:xr}=ye,_r=new Ye.C(ea).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:Ot,itemColor:Ot,colorItemTextHover:Ot,itemHoverColor:Ot,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:yt,groupTitleColor:yt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:lt,itemBg:lt,colorItemBgHover:bn,itemHoverBg:bn,colorItemBgActive:kn,itemActiveBg:Rt,colorSubItemBg:Wt,subMenuItemBg:Wt,colorItemBgSelected:Rt,itemSelectedBg:Rt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:dn,activeBarHeight:dn,colorActiveBarBorderSize:Qt,activeBarBorderWidth:Qt,colorItemTextDisabled:Me,itemDisabledColor:Me,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:Xe,dangerItemActiveBg:Xe,colorDangerItemBgSelected:Xe,dangerItemSelectedBg:Xe,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:tn,groupTitleLineHeight:Ar,collapsedWidth:tn*2,popupBg:Sr,itemMarginBlock:gr,itemPaddingInline:zr,horizontalLineHeight:`${tn*1.15}px`,iconSize:Nr,iconMarginInlineEnd:ma-Nr,collapsedIconSize:Qr,groupTitleFontSize:Nr,darkItemDisabledColor:new Ye.C(ea).setAlpha(.25).toRgbString(),darkItemColor:_r,darkDangerItemColor:pt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ea,darkItemSelectedBg:qe,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:_r,darkItemHoverColor:ea,darkDangerItemHoverColor:xr,darkDangerItemSelectedColor:ea,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),It=function(He,pe){var se={};for(var ye in He)Object.prototype.hasOwnProperty.call(He,ye)&&pe.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:Xe,direction:Ot,menu:yt}=we.useContext(Re.E_),lt=Me(),{prefixCls:Wt,className:kn,style:Qt,theme:dn="light",expandIcon:Rt,_internalDisableMenuItemTitleTooltip:bn,inlineCollapsed:tn,siderCollapsed:Ar,items:Sr,children:gr,rootClassName:zr,mode:Nr,selectable:ma,onClick:Qr,overflowedIndicatorPopupClassName:ea}=He,xr=It(He,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),_r=(0,Ne.Z)(xr,["collapsedWidth"]),qr=Ve(Sr)||gr;(se=pt.validator)===null||se===void 0||se.call(pt,{mode:Nr});const Pa=(0,ne.useEvent)(function(){var xo;Qr==null||Qr.apply(void 0,arguments),(xo=pt.onClick)===null||xo===void 0||xo.call(pt)}),ga=pt.mode||Nr,aa=ma!=null?ma:pt.selectable,Fo=we.useMemo(()=>Ar!==void 0?Ar:tn,[tn,Ar]),za={horizontal:{motionName:`${lt}-slide-up`},inline:(0,me.Z)(lt),other:{motionName:`${lt}-zoom-big`}},da=Me("menu",Wt||pt.prefixCls),[Bn,wi]=qn(da,!qe),ro=Ze()(`${da}-${dn}`,yt==null?void 0:yt.className,kn);let pi;if(typeof Rt=="function")pi=Rt;else if(Rt===null||Rt===!1)pi=null;else if(pt.expandIcon===null||pt.expandIcon===!1)pi=null;else{const xo=Rt!=null?Rt:pt.expandIcon;pi=(0,Ce.Tm)(xo,{className:Ze()(`${da}-submenu-expand-icon`,(0,Ce.l$)(xo)?(ye=xo.props)===null||ye===void 0?void 0:ye.className:"")})}const Ni=we.useMemo(()=>({prefixCls:da,inlineCollapsed:Fo||!1,direction:Ot,firstLevel:!0,theme:dn,mode:ga,disableMenuItemTitleTooltip:bn}),[da,Fo,Ot,bn,dn]);return Bn(we.createElement(Ue.Z.Provider,{value:null},we.createElement(y.Provider,{value:Ni},we.createElement(ue.ZP,Object.assign({getPopupContainer:Xe,overflowedIndicator:we.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ze()(da,`${da}-${dn}`,ea),mode:ga,selectable:aa,onClick:Pa},_r,{inlineCollapsed:Fo,style:Object.assign(Object.assign({},yt==null?void 0:yt.style),Qt),className:ro,prefixCls:da,direction:Ot,defaultMotions:za,expandIcon:pi,ref:pe,rootClassName:Ze()(zr,wi)}),qr))))});const ke=(0,we.forwardRef)((He,pe)=>{const se=(0,we.useRef)(null),ye=we.useContext(ze.D);return(0,we.useImperativeHandle)(pe,()=>({menu:se.current,focus:qe=>{var pt;(pt=se.current)===null||pt===void 0||pt.focus(qe)}})),we.createElement(rr,Object.assign({ref:se},He,ye))});ke.Item=E,ke.SubMenu=x,ke.Divider=De,ke.ItemGroup=ue.BW;var _t=ke},58421:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return pt}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(Xe,Ot){return we.createElement(Ze.Z,(0,ue.Z)({},Xe,{ref:Ot,icon:At}))},he=we.forwardRef(Re),ve=he,De=Be(49198),ce=Be(33853),Ne=Be(38819),Ee=Be(92310),Ce=Be.n(Ee),oe=Be(4635),y=Be(20439),a=Be(99153),E=Be(84851),b=Be(19257),x=Be(93046),z=Be(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},me=ne,Ue=Be(91735),Pe=function(Me){(0,b.Z)(Ot,Me);var Xe=(0,x.Z)(Ot);function Ot(){var yt;(0,a.Z)(this,Ot);for(var lt=arguments.length,Wt=new Array(lt),kn=0;kn=0||Qt.relatedTarget.className.indexOf("".concat(tn,"-item"))>=0))&&bn(yt.getValidValue()))},yt.go=function(Qt){var dn=yt.state.goInputText;dn!==""&&(Qt.keyCode===me.ENTER||Qt.type==="click")&&(yt.setState({goInputText:""}),yt.props.quickGo(yt.getValidValue()))},yt}return(0,E.Z)(Ot,[{key:"getPageSizeOptions",value:function(){var lt=this.props,Wt=lt.pageSize,kn=lt.pageSizeOptions;return kn.some(function(Qt){return Qt.toString()===Wt.toString()})?kn:kn.concat([Wt.toString()]).sort(function(Qt,dn){var Rt=Number.isNaN(Number(Qt))?0:Number(Qt),bn=Number.isNaN(Number(dn))?0:Number(dn);return Rt-bn})}},{key:"render",value:function(){var lt=this,Wt=this.props,kn=Wt.pageSize,Qt=Wt.locale,dn=Wt.rootPrefixCls,Rt=Wt.changeSize,bn=Wt.quickGo,tn=Wt.goButton,Ar=Wt.selectComponentClass,Sr=Wt.buildOptionText,gr=Wt.selectPrefixCls,zr=Wt.disabled,Nr=this.state.goInputText,ma="".concat(dn,"-options"),Qr=Ar,ea=null,xr=null,_r=null;if(!Rt&&!bn)return null;var qr=this.getPageSizeOptions();if(Rt&&Qr){var Pa=qr.map(function(ga,aa){return we.createElement(Qr.Option,{key:aa,value:ga.toString()},(Sr||lt.buildOptionText)(ga))});ea=we.createElement(Qr,{disabled:zr,prefixCls:gr,showSearch:!1,className:"".concat(ma,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(kn||qr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(aa){return aa.parentNode},"aria-label":Qt.page_size,defaultOpen:!1},Pa)}return bn&&(tn&&(_r=typeof tn=="boolean"?we.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:zr,className:"".concat(ma,"-quick-jumper-button")},Qt.jump_to_confirm):we.createElement("span",{onClick:this.go,onKeyUp:this.go},tn)),xr=we.createElement("div",{className:"".concat(ma,"-quick-jumper")},Qt.jump_to,we.createElement("input",{disabled:zr,type:"text",value:Nr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Qt.page}),Qt.page,_r)),we.createElement("li",{className:"".concat(ma)},ea,xr)}}]),Ot}(we.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Te=Pe,Ve=function(Xe){var Ot,yt=Xe.rootPrefixCls,lt=Xe.page,Wt=Xe.active,kn=Xe.className,Qt=Xe.showTitle,dn=Xe.onClick,Rt=Xe.onKeyPress,bn=Xe.itemRender,tn="".concat(yt,"-item"),Ar=Ce()(tn,"".concat(tn,"-").concat(lt),(Ot={},(0,oe.Z)(Ot,"".concat(tn,"-active"),Wt),(0,oe.Z)(Ot,"".concat(tn,"-disabled"),!lt),(0,oe.Z)(Ot,Xe.className,kn),Ot)),Sr=function(){dn(lt)},gr=function(ma){Rt(ma,dn,lt)},zr=bn(lt,"page",we.createElement("a",{rel:"nofollow"},lt));return zr?we.createElement("li",{title:Qt?lt.toString():null,className:Ar,onClick:Sr,onKeyPress:gr,tabIndex:0},zr):null},Ye=Ve;function nt(){}function Oe(Me){var Xe=Number(Me);return typeof Xe=="number"&&!Number.isNaN(Xe)&&isFinite(Xe)&&Math.floor(Xe)===Xe}var Ft=function(Xe,Ot,yt){return yt};function Qe(Me,Xe,Ot){var yt=typeof Me=="undefined"?Xe.pageSize:Me;return Math.floor((Ot.total-1)/yt)+1}var kt=function(Me){(0,b.Z)(Ot,Me);var Xe=(0,x.Z)(Ot);function Ot(yt){var lt;(0,a.Z)(this,Ot),lt=Xe.call(this,yt),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(Rt,bn){var tn=lt.props.prefixCls,Ar=Rt||we.createElement("button",{type:"button","aria-label":bn,className:"".concat(tn,"-item-link")});return typeof Rt=="function"&&(Ar=we.createElement(Rt,(0,y.Z)({},lt.props))),Ar},lt.isValid=function(Rt){var bn=lt.props.total;return Oe(Rt)&&Rt!==lt.state.current&&Oe(bn)&&bn>0},lt.shouldDisplayQuickJumper=function(){var Rt=lt.props,bn=Rt.showQuickJumper,tn=Rt.total,Ar=lt.state.pageSize;return tn<=Ar?!1:bn},lt.handleKeyDown=function(Rt){(Rt.keyCode===me.ARROW_UP||Rt.keyCode===me.ARROW_DOWN)&&Rt.preventDefault()},lt.handleKeyUp=function(Rt){var bn=lt.getValidValue(Rt),tn=lt.state.currentInputValue;bn!==tn&<.setState({currentInputValue:bn}),Rt.keyCode===me.ENTER?lt.handleChange(bn):Rt.keyCode===me.ARROW_UP?lt.handleChange(bn-1):Rt.keyCode===me.ARROW_DOWN&<.handleChange(bn+1)},lt.handleBlur=function(Rt){var bn=lt.getValidValue(Rt);lt.handleChange(bn)},lt.changePageSize=function(Rt){var bn=lt.state.current,tn=Qe(Rt,lt.state,lt.props);bn=bn>tn?tn:bn,tn===0&&(bn=lt.state.current),typeof Rt=="number"&&("pageSize"in lt.props||lt.setState({pageSize:Rt}),"current"in lt.props||lt.setState({current:bn,currentInputValue:bn})),lt.props.onShowSizeChange(bn,Rt),"onChange"in lt.props&<.props.onChange&<.props.onChange(bn,Rt)},lt.handleChange=function(Rt){var bn=lt.props,tn=bn.disabled,Ar=bn.onChange,Sr=lt.state,gr=Sr.pageSize,zr=Sr.current,Nr=Sr.currentInputValue;if(lt.isValid(Rt)&&!tn){var ma=Qe(void 0,lt.state,lt.props),Qr=Rt;return Rt>ma?Qr=ma:Rt<1&&(Qr=1),"current"in lt.props||lt.setState({current:Qr}),Qr!==Nr&<.setState({currentInputValue:Qr}),Ar(Qr,gr),Qr}return zr},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?tn-2:0),Sr=2;Sr=kn?dn=kn:dn=Number(Wt),dn}},{key:"getShowSizeChanger",value:function(){var lt=this.props,Wt=lt.showSizeChanger,kn=lt.total,Qt=lt.totalBoundaryShowSizeChanger;return typeof Wt!="undefined"?Wt:kn>Qt}},{key:"render",value:function(){var lt=this.props,Wt=lt.prefixCls,kn=lt.className,Qt=lt.style,dn=lt.disabled,Rt=lt.hideOnSinglePage,bn=lt.total,tn=lt.locale,Ar=lt.showQuickJumper,Sr=lt.showLessItems,gr=lt.showTitle,zr=lt.showTotal,Nr=lt.simple,ma=lt.itemRender,Qr=lt.showPrevNextJumpers,ea=lt.jumpPrevIcon,xr=lt.jumpNextIcon,_r=lt.selectComponentClass,qr=lt.selectPrefixCls,Pa=lt.pageSizeOptions,ga=this.state,aa=ga.current,Fo=ga.pageSize,za=ga.currentInputValue;if(Rt===!0&&bn<=Fo)return null;var da=Qe(void 0,this.state,this.props),Bn=[],wi=null,ro=null,pi=null,Ni=null,xo=null,bi=Ar&&Ar.goButton,Jo=Sr?1:2,ei=aa-1>0?aa-1:0,Dn=aa+1bn?bn:aa*Fo]));if(Nr){bi&&(typeof bi=="boolean"?xo=we.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tn.jump_to_confirm):xo=we.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},bi),xo=we.createElement("li",{title:gr?"".concat(tn.jump_to).concat(aa,"/").concat(da):null,className:"".concat(Wt,"-simple-pager")},xo));var Wr=this.renderPrev(ei);return we.createElement("ul",(0,ue.Z)({className:Ce()(Wt,"".concat(Wt,"-simple"),(0,oe.Z)({},"".concat(Wt,"-disabled"),dn),kn),style:Qt,ref:this.paginationNode},Gn),Cn,Wr?we.createElement("li",{title:gr?tn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(Wt,"-prev"),(0,oe.Z)({},"".concat(Wt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Wr):null,we.createElement("li",{title:gr?"".concat(aa,"/").concat(da):null,className:"".concat(Wt,"-simple-pager")},we.createElement("input",{type:"text",value:za,disabled:dn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),we.createElement("span",{className:"".concat(Wt,"-slash")},"/"),da),we.createElement("li",{title:gr?tn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(Wt,"-next"),(0,oe.Z)({},"".concat(Wt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Dn)),xo)}if(da<=3+Jo*2){var ua={locale:tn,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:gr,itemRender:ma};da||Bn.push(we.createElement(Ye,(0,ue.Z)({},ua,{key:"noPager",page:1,className:"".concat(Wt,"-item-disabled")})));for(var Kr=1;Kr<=da;Kr+=1){var Fa=aa===Kr;Bn.push(we.createElement(Ye,(0,ue.Z)({},ua,{key:Kr,page:Kr,active:Fa})))}}else{var ja=Sr?tn.prev_3:tn.prev_5,Na=Sr?tn.next_3:tn.next_5,Wa=ma(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ea,"prev page")),ti=ma(this.getJumpNextPage(),"jump-next",this.getItemIcon(xr,"next page"));Qr&&(wi=Wa?we.createElement("li",{title:gr?ja:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ce()("".concat(Wt,"-jump-prev"),(0,oe.Z)({},"".concat(Wt,"-jump-prev-custom-icon"),!!ea))},Wa):null,ro=ti?we.createElement("li",{title:gr?Na:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ce()("".concat(Wt,"-jump-next"),(0,oe.Z)({},"".concat(Wt,"-jump-next-custom-icon"),!!xr))},ti):null),Ni=we.createElement(Ye,{locale:tn,last:!0,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:da,page:da,active:!1,showTitle:gr,itemRender:ma}),pi=we.createElement(Ye,{locale:tn,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:gr,itemRender:ma});var Lr=Math.max(1,aa-Jo),Ra=Math.min(aa+Jo,da);aa-1<=Jo&&(Ra=1+Jo*2),da-aa<=Jo&&(Lr=da-Jo*2);for(var Xo=Lr;Xo<=Ra;Xo+=1){var Lo=aa===Xo;Bn.push(we.createElement(Ye,{locale:tn,rootPrefixCls:Wt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Xo,page:Xo,active:Lo,showTitle:gr,itemRender:ma}))}aa-1>=Jo*2&&aa!==3&&(Bn[0]=(0,we.cloneElement)(Bn[0],{className:"".concat(Wt,"-item-after-jump-prev")}),Bn.unshift(wi)),da-aa>=Jo*2&&aa!==da-2&&(Bn[Bn.length-1]=(0,we.cloneElement)(Bn[Bn.length-1],{className:"".concat(Wt,"-item-before-jump-next")}),Bn.push(ro)),Lr!==1&&Bn.unshift(pi),Ra!==da&&Bn.push(Ni)}var No=!this.hasPrev()||!da,so=!this.hasNext()||!da,Ai=this.renderPrev(ei),Di=this.renderNext(Dn);return we.createElement("ul",(0,ue.Z)({className:Ce()(Wt,kn,(0,oe.Z)({},"".concat(Wt,"-disabled"),dn)),style:Qt,ref:this.paginationNode},Gn),Cn,Ai?we.createElement("li",{title:gr?tn.prev_page:null,onClick:this.prev,tabIndex:No?null:0,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(Wt,"-prev"),(0,oe.Z)({},"".concat(Wt,"-disabled"),No)),"aria-disabled":No},Ai):null,Bn,Di?we.createElement("li",{title:gr?tn.next_page:null,onClick:this.next,tabIndex:so?null:0,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(Wt,"-next"),(0,oe.Z)({},"".concat(Wt,"-disabled"),so)),"aria-disabled":so},Di):null,we.createElement(Te,{disabled:dn,locale:tn,rootPrefixCls:Wt,selectComponentClass:_r,selectPrefixCls:qr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:aa,pageSize:Fo,pageSizeOptions:Pa,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:bi}))}}],[{key:"getDerivedStateFromProps",value:function(lt,Wt){var kn={};if("current"in lt&&(kn.current=lt.current,lt.current!==Wt.current&&(kn.currentInputValue=kn.current)),"pageSize"in lt&<.pageSize!==Wt.pageSize){var Qt=Wt.current,dn=Qe(lt.pageSize,Wt,lt);Qt=Qt>dn?dn:Qt,"current"in lt||(kn.current=Qt,kn.currentInputValue=Qt),kn.pageSize=lt.pageSize}return kn}}]),Ot}(we.Component);kt.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 ut=kt,it=Be(22075),Nt=Be(36355),mt=Be(19716),Pt=Be(8628),gt=Be(9763),et=Be(57809);const Xt=Me=>we.createElement(et.default,Object.assign({},Me,{showSearch:!0,size:"small"})),An=Me=>we.createElement(et.default,Object.assign({},Me,{showSearch:!0,size:"middle"}));Xt.Option=et.default.Option,An.Option=et.default.Option;var bt=Be(9937),qt=Be(17313),wn=Be(83116),zn=Be(37613);const fn=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}}},[`&${Xe}-disabled`]:{cursor:"not-allowed",[`${Xe}-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}}},[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Xe}-simple-pager`]:{color:Me.colorTextDisabled},[`${Xe}-jump-prev, ${Xe}-jump-next`]:{[`${Xe}-item-link-icon`]:{opacity:0},[`${Xe}-item-ellipsis`]:{opacity:1}}},[`&${Xe}-simple`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&${Xe}-disabled ${Xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},qn=Me=>{const{componentCls:Xe}=Me;return{[`&${Xe}-mini ${Xe}-total-text, &${Xe}-mini ${Xe}-simple-pager`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-item`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM-2}px`},[`&${Xe}-mini:not(${Xe}-disabled) ${Xe}-item:not(${Xe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},[`&${Xe}-mini ${Xe}-prev, &${Xe}-mini ${Xe}-next`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini:not(${Xe}-disabled)`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&:hover ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover ${Xe}-item-link`]:{backgroundColor:"transparent"}}},[` &${Xe}-mini ${Xe}-prev ${Xe}-item-link, &${Xe}-mini ${Xe}-next ${Xe}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}},[`&${Xe}-mini ${Xe}-jump-prev, &${Xe}-mini ${Xe}-jump-next`]:{height:Me.itemSizeSM,marginInlineEnd:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-options`]:{marginInlineStart:Me.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Me.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,bt.x0)(Me)),{width:Me.paginationMiniQuickJumperInputWidth,height:Me.controlHeightSM})}}}},It=Me=>{const{componentCls:Xe}=Me;return{[` &${Xe}-simple ${Xe}-prev, &${Xe}-simple ${Xe}-next `]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,verticalAlign:"top",[`${Xe}-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`}}},[`&${Xe}-simple ${Xe}-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"}}}}},On=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-jump-prev, ${Xe}-jump-next`]:{outline:0,[`${Xe}-item-container`]:{position:"relative",[`${Xe}-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"}},[`${Xe}-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":{[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}}},[` ${Xe}-prev, ${Xe}-jump-prev, ${Xe}-jump-next `]:{marginInlineEnd:Me.marginXS},[` ${Xe}-prev, ${Xe}-next, ${Xe}-jump-prev, ${Xe}-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}`},[`${Xe}-prev, ${Xe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Me.colorText,cursor:"pointer",userSelect:"none"},[`${Xe}-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 ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover`]:{[`${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`${Xe}-slash`]:{marginInlineEnd:Me.paginationSlashMarginInlineEnd,marginInlineStart:Me.paginationSlashMarginInlineStart},[`${Xe}-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,bt.ik)(Me)),{width:Me.controlHeightLG*1.25,height:Me.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Me.marginXS,marginInlineEnd:Me.marginXS})}}}},rr=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-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(${Xe}-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}}}}},ke=Me=>{const{componentCls:Xe}=Me;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,qt.Wf)(Me)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Xe}-total-text`]:{display:"inline-block",height:Me.itemSize,marginInlineEnd:Me.marginXS,lineHeight:`${Me.itemSize-2}px`,verticalAlign:"middle"}}),rr(Me)),On(Me)),It(Me)),qn(Me)),fn(Me)),{[`@media only screen and (max-width: ${Me.screenLG}px)`]:{[`${Xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Me.screenSM}px)`]:{[`${Xe}-options`]:{display:"none"}}}),[`&${Me.componentCls}-rtl`]:{direction:"rtl"}}},_t=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}${Xe}-disabled:not(${Xe}-mini)`]:{"&, &:hover":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},"&:focus-visible":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},[`${Xe}-item, ${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,[`&:hover:not(${Xe}-item-active)`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,a:{color:Me.colorTextDisabled}},[`&${Xe}-item-active`]:{backgroundColor:Me.itemActiveBgDisabled}},[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,color:Me.colorTextDisabled},[`${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder}}},[`${Xe}:not(${Xe}-mini)`]:{[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{borderColor:Me.colorPrimaryHover,backgroundColor:Me.itemBg},[`${Xe}-item-link`]:{backgroundColor:Me.itemLinkBg,borderColor:Me.colorBorder},[`&:hover ${Xe}-item-link`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,color:Me.colorPrimary},[`&${Xe}-disabled`]:{[`${Xe}-item-link`]:{borderColor:Me.colorBorder,color:Me.colorTextDisabled}}},[`${Xe}-item`]:{backgroundColor:Me.itemBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,[`&:hover:not(${Xe}-item-active)`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,a:{color:Me.colorPrimary}},"&-active":{borderColor:Me.colorPrimary}}}}},He=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}:not(${Xe}-disabled)`]:{[`${Xe}-item`]:Object.assign({},(0,qt.Qy)(Me)),[`${Xe}-jump-prev, ${Xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}},(0,qt.oN)(Me))},[`${Xe}-prev, ${Xe}-next`]:{[`&:focus-visible ${Xe}-item-link`]:Object.assign({},(0,qt.oN)(Me))}}}};var pe=(0,wn.Z)("Pagination",Me=>{const Xe=(0,zn.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,bt.e5)(Me),(0,bt.TM)(Me));return[ke(Xe),He(Xe),Me.wireframe&&_t(Xe)]},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,Xe){var Ot={};for(var yt in Me)Object.prototype.hasOwnProperty.call(Me,yt)&&Xe.indexOf(yt)<0&&(Ot[yt]=Me[yt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,yt=Object.getOwnPropertySymbols(Me);lt{const{prefixCls:Xe,selectPrefixCls:Ot,className:yt,rootClassName:lt,style:Wt,size:kn,locale:Qt,selectComponentClass:dn,responsive:Rt,showSizeChanger:bn}=Me,tn=se(Me,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ar}=(0,Pt.Z)(Rt),{getPrefixCls:Sr,direction:gr,pagination:zr={}}=we.useContext(Nt.E_),Nr=Sr("pagination",Xe),[ma,Qr]=pe(Nr),ea=bn!=null?bn:zr.showSizeChanger,xr=we.useMemo(()=>{const da=we.createElement("span",{className:`${Nr}-item-ellipsis`},"\u2022\u2022\u2022"),Bn=we.createElement("button",{className:`${Nr}-item-link`,type:"button",tabIndex:-1},gr==="rtl"?we.createElement(Ne.Z,null):we.createElement(ce.Z,null)),wi=we.createElement("button",{className:`${Nr}-item-link`,type:"button",tabIndex:-1},gr==="rtl"?we.createElement(ce.Z,null):we.createElement(Ne.Z,null)),ro=we.createElement("a",{className:`${Nr}-item-link`},we.createElement("div",{className:`${Nr}-item-container`},gr==="rtl"?we.createElement(De.Z,{className:`${Nr}-item-link-icon`}):we.createElement(ve,{className:`${Nr}-item-link-icon`}),da)),pi=we.createElement("a",{className:`${Nr}-item-link`},we.createElement("div",{className:`${Nr}-item-container`},gr==="rtl"?we.createElement(ve,{className:`${Nr}-item-link-icon`}):we.createElement(De.Z,{className:`${Nr}-item-link-icon`}),da));return{prevIcon:Bn,nextIcon:wi,jumpPrevIcon:ro,jumpNextIcon:pi}},[gr,Nr]),[_r]=(0,gt.Z)("Pagination",it.Z),qr=Object.assign(Object.assign({},_r),Qt),Pa=(0,mt.Z)(kn),ga=Pa==="small"||!!(Ar&&!Pa&&Rt),aa=Sr("select",Ot),Fo=Ce()({[`${Nr}-mini`]:ga,[`${Nr}-rtl`]:gr==="rtl"},zr==null?void 0:zr.className,yt,lt,Qr),za=Object.assign(Object.assign({},zr==null?void 0:zr.style),Wt);return ma(we.createElement(ut,Object.assign({},xr,tn,{style:za,prefixCls:Nr,selectPrefixCls:aa,className:Fo,selectComponentClass:dn||(ga?Xt:An),locale:qr,showSizeChanger:ea})))},pt=qe},13570:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return gt}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(Xt,An){return we.createElement(Ze.Z,(0,ue.Z)({},Xt,{ref:An,icon:At}))},he=we.forwardRef(Re),ve=he,De=Be(92310),ce=Be.n(De),Ne=Be(4635),Ee=Be(50298),Ce=Be(62646),oe=Be(18929),y=Be(10228),a=Be(26112);function E(et,Xt){var An=et.disabled,bt=et.prefixCls,qt=et.character,wn=et.characterRender,zn=et.index,fn=et.count,qn=et.value,It=et.allowHalf,On=et.focused,rr=et.onHover,ke=et.onClick,_t=function(Xe){rr(Xe,zn)},He=function(Xe){ke(Xe,zn)},pe=function(Xe){Xe.keyCode===y.Z.ENTER&&ke(Xe,zn)},se=zn+1,ye=new Set([bt]);qn===0&&zn===0&&On?ye.add("".concat(bt,"-focused")):It&&qn+.5>=se&&qnzn?"true":"false","aria-posinset":zn+1,"aria-setsize":fn,tabIndex:An?-1:0},we.createElement("div",{className:"".concat(bt,"-first")},qe),we.createElement("div",{className:"".concat(bt,"-second")},qe)));return wn&&(pt=wn(pt,et)),pt}var b=we.forwardRef(E);function x(){var et=we.useRef({});function Xt(bt){return et.current[bt]}function An(bt){return function(qt){et.current[bt]=qt}}return[Xt,An]}function z(et){var Xt=et.pageXOffset,An="scrollLeft";if(typeof Xt!="number"){var bt=et.document;Xt=bt.documentElement[An],typeof Xt!="number"&&(Xt=bt.body[An])}return Xt}function ne(et){var Xt,An,bt=et.ownerDocument,qt=bt.body,wn=bt&&bt.documentElement,zn=et.getBoundingClientRect();return Xt=zn.left,An=zn.top,Xt-=wn.clientLeft||qt.clientLeft||0,An-=wn.clientTop||qt.clientTop||0,{left:Xt,top:An}}function me(et){var Xt=ne(et),An=et.ownerDocument,bt=An.defaultView||An.parentWindow;return Xt.left+=z(bt),Xt.left}var Ue=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Pe(et,Xt){var An,bt=et.prefixCls,qt=bt===void 0?"rc-rate":bt,wn=et.className,zn=et.defaultValue,fn=et.value,qn=et.count,It=qn===void 0?5:qn,On=et.allowHalf,rr=On===void 0?!1:On,ke=et.allowClear,_t=ke===void 0?!0:ke,He=et.character,pe=He===void 0?"\u2605":He,se=et.characterRender,ye=et.disabled,qe=et.direction,pt=qe===void 0?"ltr":qe,Me=et.tabIndex,Xe=Me===void 0?0:Me,Ot=et.autoFocus,yt=et.onHoverChange,lt=et.onChange,Wt=et.onFocus,kn=et.onBlur,Qt=et.onKeyDown,dn=et.onMouseLeave,Rt=(0,Ce.Z)(et,Ue),bn=x(),tn=(0,Ee.Z)(bn,2),Ar=tn[0],Sr=tn[1],gr=we.useRef(null),zr=function(){if(!ye){var Kr;(Kr=gr.current)===null||Kr===void 0||Kr.focus()}};we.useImperativeHandle(Xt,function(){return{focus:zr,blur:function(){if(!ye){var Kr;(Kr=gr.current)===null||Kr===void 0||Kr.blur()}}}});var Nr=(0,oe.Z)(zn||0,{value:fn}),ma=(0,Ee.Z)(Nr,2),Qr=ma[0],ea=ma[1],xr=(0,oe.Z)(null),_r=(0,Ee.Z)(xr,2),qr=_r[0],Pa=_r[1],ga=function(Kr,Fa){var ja=pt==="rtl",Na=Kr+1;if(rr){var Wa=Ar(Kr),ti=me(Wa),Lr=Wa.clientWidth;(ja&&Fa-ti>Lr/2||!ja&&Fa-ti0&&!ja||Fa===y.Z.RIGHT&&Na>0&&ja?(rr?Na-=.5:Na-=1,aa(Na),Kr.preventDefault()):Fa===y.Z.LEFT&&Na{const{componentCls:Xt}=et;return{[`${Xt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:et.marginXS},"> div":{transition:`all ${et.motionDurationMid}, outline 0s`,"&:hover":{transform:et.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${et.lineWidth}px dashed ${et.starColor}`,transform:et.starHoverScale}},"&-first, &-second":{color:et.starBg,transition:`all ${et.motionDurationMid}`,userSelect:"none",[et.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Xt}-star-first, &-half ${Xt}-star-second`]:{opacity:1},[`&-half ${Xt}-star-first, &-full ${Xt}-star-second`]:{color:"inherit"}}}},ut=et=>({[`&-rtl${et.componentCls}`]:{direction:"rtl"}}),it=et=>{const{componentCls:Xt}=et;return{[Xt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(et)),{display:"inline-block",margin:0,padding:0,color:et.starColor,fontSize:et.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Xt} ${Xt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),kt(et)),{[`+ ${Xt}-text`]:{display:"inline-block",marginInlineStart:et.marginXS,fontSize:et.fontSize}}),ut(et))}};var Nt=(0,Ft.Z)("Rate",et=>{const Xt=(0,Qe.TS)(et,{});return[it(Xt)]},et=>({starColor:et.yellow6,starSize:et.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:et.colorFillContent})),mt=function(et,Xt){var An={};for(var bt in et)Object.prototype.hasOwnProperty.call(et,bt)&&Xt.indexOf(bt)<0&&(An[bt]=et[bt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,bt=Object.getOwnPropertySymbols(et);qt{const{prefixCls:An,className:bt,rootClassName:qt,style:wn,tooltips:zn,character:fn=we.createElement(ve,null)}=et,qn=mt(et,["prefixCls","className","rootClassName","style","tooltips","character"]),It=(ye,qe)=>{let{index:pt}=qe;return zn?we.createElement(nt.Z,{title:zn[pt]},ye):ye},{getPrefixCls:On,direction:rr,rate:ke}=we.useContext(Ye.E_),_t=On("rate",An),[He,pe]=Nt(_t),se=Object.assign(Object.assign({},ke==null?void 0:ke.style),wn);return He(we.createElement(Ve,Object.assign({ref:Xt,character:fn,characterRender:It},qn,{className:ce()(bt,qt,pe,ke==null?void 0:ke.className),style:se,prefixCls:_t,direction:rr})))})},61621:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return pe}});var ue=Be(92310),we=Be.n(ue),ze=Be(59301),At=Be(36355),Ze=Be(2738),he=se=>{const{prefixCls:ye,className:qe,style:pt,size:Me,shape:Xe}=se,Ot=we()({[`${ye}-lg`]:Me==="large",[`${ye}-sm`]:Me==="small"}),yt=we()({[`${ye}-circle`]:Xe==="circle",[`${ye}-square`]:Xe==="square",[`${ye}-round`]:Xe==="round"}),lt=ze.useMemo(()=>typeof Me=="number"?{width:Me,height:Me,lineHeight:`${Me}px`}:{},[Me]);return ze.createElement("span",{className:we()(ye,Ot,yt,qe),style:Object.assign(Object.assign({},lt),pt)})},ve=Be(36237),De=Be(83116),ce=Be(37613);const Ne=new ve.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ee=se=>({height:se,lineHeight:`${se}px`}),Ce=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:Xe}=se;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ce(pt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},Ce(Me)),[`${ye}${ye}-sm`]:Object.assign({},Ce(Xe))}},E=se=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:pt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Ot}=se;return{[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ot,borderRadius:qe},y(ye)),[`${pt}-lg`]:Object.assign({},y(Me)),[`${pt}-sm`]:Object.assign({},y(Xe))}},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)),me=se=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:pt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Ot}=se;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ot,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(Xe))}),z(se,Xe,`${qe}-sm`))},Ue=se=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:pt,skeletonParagraphCls:Me,skeletonButtonCls:Xe,skeletonInputCls:Ot,skeletonImageCls:yt,controlHeight:lt,controlHeightLG:Wt,controlHeightSM:kn,gradientFromColor:Qt,padding:dn,marginSM:Rt,borderRadius:bn,titleHeight:tn,blockRadius:Ar,paragraphLiHeight:Sr,controlHeightXS:gr,paragraphMarginTop:zr}=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:Qt},Ce(lt)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ce(Wt)),[`${qe}-sm`]:Object.assign({},Ce(kn))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${pt}`]:{width:"100%",height:tn,background:Qt,borderRadius:Ar,[`+ ${Me}`]:{marginBlockStart:kn}},[`${Me}`]:{padding:0,"> li":{width:"100%",height:Sr,listStyle:"none",background:Qt,borderRadius:Ar,"+ li":{marginBlockStart:gr}}},[`${Me}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${pt}, ${Me} > li`]:{borderRadius:bn}}},[`${ye}-with-avatar ${ye}-content`]:{[`${pt}`]:{marginBlockStart:Rt,[`+ ${Me}`]:{marginBlockStart:zr}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},me(se)),a(se)),E(se)),x(se)),[`${ye}${ye}-block`]:{width:"100%",[`${Xe}`]:{width:"100%"},[`${Ot}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[` ${pt}, ${Me} > li, ${qe}, ${Xe}, ${Ot}, ${yt} `]:Object.assign({},oe(se))}}};var Pe=(0,De.Z)("Skeleton",se=>{const{componentCls:ye}=se,qe=(0,ce.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:Xe="circle",size:Ot="default"}=se,{getPrefixCls:yt}=ze.useContext(At.E_),lt=yt("skeleton",ye),[Wt,kn]=Pe(lt),Qt=(0,Ze.Z)(se,["prefixCls","className"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me},qe,pt,kn);return Wt(ze.createElement("div",{className:dn},ze.createElement(he,Object.assign({prefixCls:`${lt}-avatar`,shape:Xe,size:Ot},Qt))))},nt=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,block:Xe=!1,size:Ot="default"}=se,{getPrefixCls:yt}=ze.useContext(At.E_),lt=yt("skeleton",ye),[Wt,kn]=Pe(lt),Qt=(0,Ze.Z)(se,["prefixCls"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me,[`${lt}-block`]:Xe},qe,pt,kn);return Wt(ze.createElement("div",{className:dn},ze.createElement(he,Object.assign({prefixCls:`${lt}-button`,size:Ot},Qt))))};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:Xe}=se,{getPrefixCls:Ot}=ze.useContext(At.E_),yt=Ot("skeleton",ye),[lt,Wt]=Pe(yt),kn=we()(yt,`${yt}-element`,{[`${yt}-active`]:Xe},qe,pt,Wt);return lt(ze.createElement("div",{className:kn},ze.createElement("div",{className:we()(`${yt}-image`,qe),style:Me},ze.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${yt}-image-svg`},ze.createElement("path",{d:Oe,className:`${yt}-image-path`})))))},ut=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,block:Xe,size:Ot="default"}=se,{getPrefixCls:yt}=ze.useContext(At.E_),lt=yt("skeleton",ye),[Wt,kn]=Pe(lt),Qt=(0,Ze.Z)(se,["prefixCls"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me,[`${lt}-block`]:Xe},qe,pt,kn);return Wt(ze.createElement("div",{className:dn},ze.createElement(he,Object.assign({prefixCls:`${lt}-input`,size:Ot},Qt))))},it=Be(14809),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"},mt=Nt,Pt=Be(7657),gt=function(ye,qe){return ze.createElement(Pt.Z,(0,it.Z)({},ye,{ref:qe,icon:mt}))},et=ze.forwardRef(gt),Xt=et,bt=se=>{const{prefixCls:ye,className:qe,rootClassName:pt,style:Me,active:Xe,children:Ot}=se,{getPrefixCls:yt}=ze.useContext(At.E_),lt=yt("skeleton",ye),[Wt,kn]=Pe(lt),Qt=we()(lt,`${lt}-element`,{[`${lt}-active`]:Xe},kn,qe,pt),dn=Ot!=null?Ot:ze.createElement(Xt,null);return Wt(ze.createElement("div",{className:Qt},ze.createElement("div",{className:we()(`${lt}-image`,qe),style:Me},dn)))},qt=Be(95190),zn=se=>{const ye=yt=>{const{width:lt,rows:Wt=2}=se;if(Array.isArray(lt))return lt[yt];if(Wt-1===yt)return lt},{prefixCls:qe,className:pt,style:Me,rows:Xe}=se,Ot=(0,qt.Z)(Array(Xe)).map((yt,lt)=>ze.createElement("li",{key:lt,style:{width:ye(lt)}}));return ze.createElement("ul",{className:we()(qe,pt),style:Me},Ot)},qn=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 It(se){return se&&typeof se=="object"?se:{}}function On(se,ye){return se&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function rr(se,ye){return!se&&ye?{width:"38%"}:se&&ye?{width:"50%"}:{}}function ke(se,ye){const qe={};return(!se||!ye)&&(qe.width="61%"),!se&&ye?qe.rows=3:qe.rows=2,qe}const _t=se=>{const{prefixCls:ye,loading:qe,className:pt,rootClassName:Me,style:Xe,children:Ot,avatar:yt=!1,title:lt=!0,paragraph:Wt=!0,active:kn,round:Qt}=se,{getPrefixCls:dn,direction:Rt,skeleton:bn}=ze.useContext(At.E_),tn=dn("skeleton",ye),[Ar,Sr]=Pe(tn);if(qe||!("loading"in se)){const gr=!!yt,zr=!!lt,Nr=!!Wt;let ma;if(gr){const xr=Object.assign(Object.assign({prefixCls:`${tn}-avatar`},On(zr,Nr)),It(yt));ma=ze.createElement("div",{className:`${tn}-header`},ze.createElement(he,Object.assign({},xr)))}let Qr;if(zr||Nr){let xr;if(zr){const qr=Object.assign(Object.assign({prefixCls:`${tn}-title`},rr(gr,Nr)),It(lt));xr=ze.createElement(qn,Object.assign({},qr))}let _r;if(Nr){const qr=Object.assign(Object.assign({prefixCls:`${tn}-paragraph`},ke(gr,zr)),It(Wt));_r=ze.createElement(zn,Object.assign({},qr))}Qr=ze.createElement("div",{className:`${tn}-content`},xr,_r)}const ea=we()(tn,{[`${tn}-with-avatar`]:gr,[`${tn}-active`]:kn,[`${tn}-rtl`]:Rt==="rtl",[`${tn}-round`]:Qt},bn==null?void 0:bn.className,pt,Me,Sr);return Ar(ze.createElement("div",{className:ea,style:Object.assign(Object.assign({},bn==null?void 0:bn.style),Xe)},ma,Qr))}return typeof Ot!="undefined"?Ot:null};_t.Button=nt,_t.Avatar=Ve,_t.Input=ut,_t.Image=Qe,_t.Node=bt;var He=_t,pe=He},31797:function(rn,Mt,Be){"use strict";Be.d(Mt,{default:function(){return Pe}});var ue=Be(59301),we=Be(56762),ze=Be(92343),At=Be(92310),Ze=Be.n(At),Re=Be(36355),he=Be(61621),De=Te=>{const{value:Ve,formatter:Ye,precision:nt,decimalSeparator:Oe,groupSeparator:Ft="",prefixCls:Qe}=Te;let kt;if(typeof Ye=="function")kt=Ye(Ve);else{const ut=String(Ve),it=ut.match(/^(-?)(\d*)(\.(\d+))?$/);if(!it||ut==="-")kt=ut;else{const Nt=it[1];let mt=it[2]||"0",Pt=it[4]||"";mt=mt.replace(/\B(?=(\d{3})+(?!\d))/g,Ft),typeof nt=="number"&&(Pt=Pt.padEnd(nt,"0").slice(0,nt>0?nt:0)),Pt&&(Pt=`${Oe}${Pt}`),kt=[ue.createElement("span",{key:"int",className:`${Qe}-content-value-int`},Nt,mt),Pt&&ue.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},Pt)]}}return ue.createElement("span",{className:`${Qe}-content-value`},kt)},ce=Be(17313),Ne=Be(83116),Ee=Be(37613);const Ce=Te=>{const{componentCls:Ve,marginXXS:Ye,padding:nt,colorTextDescription:Oe,titleFontSize:Ft,colorTextHeading:Qe,contentFontSize:kt,fontFamily:ut}=Te;return{[`${Ve}`]:Object.assign(Object.assign({},(0,ce.Wf)(Te)),{[`${Ve}-title`]:{marginBottom:Ye,color:Oe,fontSize:Ft},[`${Ve}-skeleton`]:{paddingTop:nt},[`${Ve}-content`]:{color:Qe,fontSize:kt,fontFamily:ut,[`${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[Ce(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:kt,valueRender:ut,prefix:it,suffix:Nt,loading:mt=!1,onMouseEnter:Pt,onMouseLeave:gt,decimalSeparator:et=".",groupSeparator:Xt=","}=Te,{getPrefixCls:An,direction:bt,statistic:qt}=ue.useContext(Re.E_),wn=An("statistic",Ve),[zn,fn]=oe(wn),qn=ue.createElement(De,Object.assign({decimalSeparator:et,groupSeparator:Xt,prefixCls:wn},Te,{value:Qe})),It=Ze()(wn,{[`${wn}-rtl`]:bt==="rtl"},qt==null?void 0:qt.className,Ye,nt,fn);return zn(ue.createElement("div",{className:It,style:Object.assign(Object.assign({},qt==null?void 0:qt.style),Oe),onMouseEnter:Pt,onMouseLeave:gt},kt&&ue.createElement("div",{className:`${wn}-title`},kt),ue.createElement(he.Z,{paragraph:!1,loading:mt,className:`${wn}-skeleton`},ue.createElement("div",{style:Ft,className:`${wn}-content`},it&&ue.createElement("span",{className:`${wn}-content-prefix`},it),ut?ut(qn):qn,Nt&&ue.createElement("span",{className:`${wn}-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(ut=>ut.slice(1,-1)),Ft=Ve.replace(nt,"[]"),Qe=E.reduce((ut,it)=>{let[Nt,mt]=it;if(ut.includes(Nt)){const Pt=Math.floor(Ye/mt);return Ye-=Pt*mt,ut.replace(new RegExp(`${Nt}+`,"g"),gt=>{const et=gt.length;return Pt.toString().padStart(et,"0")})}return ut},Ft);let kt=0;return Qe.replace(nt,()=>{const ut=Oe[kt];return kt+=1,ut})}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 me=Te=>{const{value:Ve,format:Ye="HH:mm:ss",onChange:nt,onFinish:Oe}=Te,Ft=(0,we.Z)(),Qe=ue.useRef(null),kt=()=>{Oe==null||Oe(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},ut=()=>{const mt=ne(Ve);mt>=Date.now()&&(Qe.current=setInterval(()=>{Ft(),nt==null||nt(mt-Date.now()),mt(ut(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ve]);const it=(mt,Pt)=>x(mt,Object.assign(Object.assign({},Pt),{format:Ye})),Nt=mt=>(0,ze.Tm)(mt,{title:void 0});return ue.createElement(a,Object.assign({},Te,{valueRender:Nt,formatter:it}))};var Ue=ue.memo(me);a.Countdown=Ue;var Pe=a},15969:function(rn,Mt,Be){"use strict";Be.d(Mt,{N:function(){return ue}});const ue=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(rn,Mt,Be){"use strict";Be.d(Mt,{default:function(){return Tn}});var ue={},we="rc-table-internal-hook",ze=Be(50298),At=Be(6089),Ze=Be(34280),Re=Be(13697),he=Be(59301),ve=Be(4676);function De(Le){var Ke=he.createContext(void 0),tt=function(dt){var Ct=dt.value,jt=dt.children,en=he.useRef(Ct);en.current=Ct;var Je=he.useState(function(){return{getValue:function(){return en.current},listeners:new Set}}),ct=(0,ze.Z)(Je,1),Et=ct[0];return(0,Ze.Z)(function(){(0,ve.unstable_batchedUpdates)(function(){Et.listeners.forEach(function(xt){xt(Ct)})})},[Ct]),he.createElement(Ke.Provider,{value:Et},jt)};return{Context:Ke,Provider:tt,defaultValue:Le}}function ce(Le,Ke){var tt=(0,At.Z)(typeof Ke=="function"?Ke:function(xt){if(Ke===void 0)return xt;if(!Array.isArray(Ke))return xt[Ke];var Gt={};return Ke.forEach(function($t){Gt[$t]=xt[$t]}),Gt}),st=he.useContext(Le==null?void 0:Le.Context),dt=st||{},Ct=dt.listeners,jt=dt.getValue,en=he.useRef();en.current=tt(st?jt():Le==null?void 0:Le.defaultValue);var Je=he.useState({}),ct=(0,ze.Z)(Je,2),Et=ct[1];return(0,Ze.Z)(function(){if(!st)return;function xt(Gt){var $t=tt(Gt);(0,Re.Z)(en.current,$t,!0)||Et({})}return Ct.add(xt),function(){Ct.delete(xt)}},[st]),en.current}var Ne=Be(14809),Ee=Be(8654);function Ce(){var Le=he.createContext(null);function Ke(){return he.useContext(Le)}function tt(dt,Ct){var jt=(0,Ee.Yr)(dt),en=function(ct,Et){var xt=jt?{ref:Et}:{},Gt=he.useRef(0),$t=he.useRef(ct),an=Ke();return an!==null?he.createElement(dt,(0,Ne.Z)({},ct,xt)):((!Ct||Ct($t.current,ct))&&(Gt.current+=1),$t.current=ct,he.createElement(Le.Provider,{value:Gt.current},he.createElement(dt,(0,Ne.Z)({},ct,xt))))};return jt?he.forwardRef(en):en}function st(dt,Ct){var jt=(0,Ee.Yr)(dt),en=function(ct,Et){var xt=jt?{ref:Et}:{};return Ke(),he.createElement(dt,(0,Ne.Z)({},ct,xt))};return jt?he.memo(he.forwardRef(en),Ct):he.memo(en,Ct)}return{makeImmutable:tt,responseImmutable:st,useImmutableMark:Ke}}var oe=Ce(),y=oe.makeImmutable,a=oe.responseImmutable,E=oe.useImmutableMark,b=Ce(),x=b.makeImmutable,z=b.responseImmutable,ne=b.useImmutableMark,me=De(),Ue=me;function Pe(Le,Ke){var tt=he.useRef(0);tt.current+=1;var st=he.useRef(Le),dt=[];Object.keys(Le||{}).map(function(jt){var en;(Le==null?void 0:Le[jt])!==((en=st.current)===null||en===void 0?void 0:en[jt])&&dt.push(jt)}),st.current=Le;var Ct=he.useRef([]);return dt.length&&(Ct.current=dt),he.useDebugValue(tt.current),he.useDebugValue(Ct.current.join(", ")),Ke&&console.log("".concat(Ke,":"),tt.current,Ct.current),tt.current}var Te=null,Ve=he.memo(function(){var Le=Pe();return he.createElement("h1",null,"Render Times: ",Le)});Ve.displayName="RenderBlock";var Ye=Be(93664),nt=Be(20439),Oe=Be(4635),Ft=Be(92310),Qe=Be.n(Ft),kt=Be(80547),ut=Be(97938),it=Be(48736),Nt=he.createContext({renderWithProps:!1}),mt=Nt,Pt="RC_TABLE_KEY";function gt(Le){return Le==null?[]:Array.isArray(Le)?Le:[Le]}function et(Le){var Ke=[],tt={};return Le.forEach(function(st){for(var dt=st||{},Ct=dt.key,jt=dt.dataIndex,en=Ct||gt(jt).join("-")||Pt;tt[en];)en="".concat(en,"_next");tt[en]=!0,Ke.push(en)}),Ke}function Xt(Le){return Le!=null}function An(Le){return Le&&(0,Ye.Z)(Le)==="object"&&!Array.isArray(Le)&&!he.isValidElement(Le)}function bt(Le,Ke,tt,st,dt,Ct){var jt=he.useContext(mt),en=ne(),Je=(0,kt.Z)(function(){if(Xt(st))return[st];var ct=Ke==null||Ke===""?[]:Array.isArray(Ke)?Ke:[Ke],Et=(0,ut.Z)(Le,ct),xt=Et,Gt=void 0;if(dt){var $t=dt(Et,Le,tt);An($t)?(xt=$t.children,Gt=$t.props,jt.renderWithProps=!0):xt=$t}return[xt,Gt]},[en,Le,st,Ke,dt,tt],function(ct,Et){if(Ct){var xt=(0,ze.Z)(ct,2),Gt=xt[1],$t=(0,ze.Z)(Et,2),an=$t[1];return Ct(an,Gt)}return jt.renderWithProps?!0:!(0,Re.Z)(ct,Et,!0)});return Je}function qt(Le,Ke,tt,st){var dt=Le+Ke-1;return Le<=st&&dt>=tt}function wn(Le,Ke){return ce(Ue,function(tt){var st=qt(Le,Ke||1,tt.hoverStartRow,tt.hoverEndRow);return[st,tt.onHover]})}var zn=function(Ke){var tt=Ke.ellipsis,st=Ke.rowType,dt=Ke.children,Ct,jt=tt===!0?{showTitle:!0}:tt;return jt&&(jt.showTitle||st==="header")&&(typeof dt=="string"||typeof dt=="number"?Ct=dt.toString():he.isValidElement(dt)&&typeof dt.props.children=="string"&&(Ct=dt.props.children)),Ct};function fn(Le){var Ke,tt,st,dt,Ct,jt,en,Je,ct=Le.component,Et=Le.children,xt=Le.ellipsis,Gt=Le.scope,$t=Le.prefixCls,an=Le.className,pn=Le.align,Mn=Le.record,_n=Le.render,Vn=Le.dataIndex,tr=Le.renderIndex,Ir=Le.shouldCellUpdate,Rn=Le.index,zt=Le.rowType,Jr=Le.colSpan,jr=Le.rowSpan,Jn=Le.fixLeft,sr=Le.fixRight,lr=Le.firstFixLeft,er=Le.lastFixLeft,vr=Le.firstFixRight,Gr=Le.lastFixRight,ca=Le.appendNode,Aa=Le.additionalProps,$r=Aa===void 0?{}:Aa,Sa=Le.isSticky,sa="".concat($t,"-cell"),Ua=ce(Ue,["supportSticky","allColumnsFixedLeft"]),kr=Ua.supportSticky,wo=Ua.allColumnsFixedLeft,Za=bt(Mn,Vn,tr,Et,_n,Ir),Ha=(0,ze.Z)(Za,2),Ao=Ha[0],Ma=Ha[1],Qo={},_a=typeof Jn=="number"&&kr,zi=typeof sr=="number"&&kr;_a&&(Qo.position="sticky",Qo.left=Jn),zi&&(Qo.position="sticky",Qo.right=sr);var Vr=(Ke=(tt=(st=Ma==null?void 0:Ma.colSpan)!==null&&st!==void 0?st:$r.colSpan)!==null&&tt!==void 0?tt:Jr)!==null&&Ke!==void 0?Ke:1,wa=(dt=(Ct=(jt=Ma==null?void 0:Ma.rowSpan)!==null&&jt!==void 0?jt:$r.rowSpan)!==null&&Ct!==void 0?Ct:jr)!==null&&dt!==void 0?dt:1,Ea=wn(Rn,wa),ia=(0,ze.Z)(Ea,2),ha=ia[0],Xr=ia[1],Ka=function(Mr){var Mo;Mn&&Xr(Rn,Rn+wa-1),$r==null||(Mo=$r.onMouseEnter)===null||Mo===void 0||Mo.call($r,Mr)},Va=function(Mr){var Mo;Mn&&Xr(-1,-1),$r==null||(Mo=$r.onMouseLeave)===null||Mo===void 0||Mo.call($r,Mr)};if(Vr===0||wa===0)return null;var ao=(en=$r.title)!==null&&en!==void 0?en:zn({rowType:zt,ellipsis:xt,children:Ao}),gi=Qe()(sa,an,(Je={},(0,Oe.Z)(Je,"".concat(sa,"-fix-left"),_a&&kr),(0,Oe.Z)(Je,"".concat(sa,"-fix-left-first"),lr&&kr),(0,Oe.Z)(Je,"".concat(sa,"-fix-left-last"),er&&kr),(0,Oe.Z)(Je,"".concat(sa,"-fix-left-all"),er&&wo&&kr),(0,Oe.Z)(Je,"".concat(sa,"-fix-right"),zi&&kr),(0,Oe.Z)(Je,"".concat(sa,"-fix-right-first"),vr&&kr),(0,Oe.Z)(Je,"".concat(sa,"-fix-right-last"),Gr&&kr),(0,Oe.Z)(Je,"".concat(sa,"-ellipsis"),xt),(0,Oe.Z)(Je,"".concat(sa,"-with-append"),ca),(0,Oe.Z)(Je,"".concat(sa,"-fix-sticky"),(_a||zi)&&Sa&&kr),(0,Oe.Z)(Je,"".concat(sa,"-row-hover"),!Ma&&ha),Je),$r.className,Ma==null?void 0:Ma.className),Qa={};pn&&(Qa.textAlign=pn);var Gi=(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},Qo),$r.style),Qa),Ma==null?void 0:Ma.style),Yo=Ao;return(0,Ye.Z)(Yo)==="object"&&!Array.isArray(Yo)&&!he.isValidElement(Yo)&&(Yo=null),xt&&(er||vr)&&(Yo=he.createElement("span",{className:"".concat(sa,"-content")},Yo)),he.createElement(ct,(0,Ne.Z)({},Ma,$r,{className:gi,style:Gi,title:ao,scope:Gt,onMouseEnter:Ka,onMouseLeave:Va,colSpan:Vr!==1?Vr:null,rowSpan:wa!==1?wa:null}),ca,Yo)}var qn=he.memo(fn);function It(Le,Ke,tt,st,dt,Ct){var jt=tt[Le]||{},en=tt[Ke]||{},Je,ct;jt.fixed==="left"?Je=st.left[dt==="rtl"?Ke:Le]:en.fixed==="right"&&(ct=st.right[dt==="rtl"?Le:Ke]);var Et=!1,xt=!1,Gt=!1,$t=!1,an=tt[Ke+1],pn=tt[Le-1],Mn=!(Ct!=null&&Ct.children);if(dt==="rtl"){if(Je!==void 0){var _n=pn&&pn.fixed==="left";$t=!_n&&Mn}else if(ct!==void 0){var Vn=an&&an.fixed==="right";Gt=!Vn&&Mn}}else if(Je!==void 0){var tr=an&&an.fixed==="left";Et=!tr&&Mn}else if(ct!==void 0){var Ir=pn&&pn.fixed==="right";xt=!Ir&&Mn}return{fixLeft:Je,fixRight:ct,lastFixLeft:Et,firstFixRight:xt,lastFixRight:Gt,firstFixLeft:$t,isSticky:st.isSticky}}var On=he.createContext({}),rr=On;function ke(Le){var Ke=Le.className,tt=Le.index,st=Le.children,dt=Le.colSpan,Ct=dt===void 0?1:dt,jt=Le.rowSpan,en=Le.align,Je=ce(Ue,["prefixCls","direction"]),ct=Je.prefixCls,Et=Je.direction,xt=he.useContext(rr),Gt=xt.scrollColumnIndex,$t=xt.stickyOffsets,an=xt.flattenColumns,pn=xt.columns,Mn=tt+Ct-1,_n=Mn+1===Gt?Ct+1:Ct,Vn=It(tt,tt+_n-1,an,$t,Et,pn==null?void 0:pn[tt]);return he.createElement(qn,(0,Ne.Z)({className:Ke,index:tt,component:"td",prefixCls:ct,record:null,dataIndex:null,align:en,colSpan:_n,rowSpan:jt,render:function(){return st}},Vn))}var _t=Be(62646),He=["children"];function pe(Le){var Ke=Le.children,tt=(0,_t.Z)(Le,He);return he.createElement("tr",tt,Ke)}function se(Le){var Ke=Le.children;return Ke}se.Row=pe,se.Cell=ke;var ye=se;function qe(Le){var Ke=Le.children,tt=Le.stickyOffsets,st=Le.flattenColumns,dt=Le.columns,Ct=ce(Ue,"prefixCls"),jt=st.length-1,en=st[jt],Je=he.useMemo(function(){return{stickyOffsets:tt,flattenColumns:st,scrollColumnIndex:en!=null&&en.scrollbar?jt:null,columns:dt}},[en,st,jt,tt,dt]);return he.createElement(rr.Provider,{value:Je},he.createElement("tfoot",{className:"".concat(Ct,"-summary")},Ke))}var pt=z(qe),Me=ye,Xe=Be(70425),Ot=Be(29301),yt=Be(29194),lt=Be(24514),Wt=Be(75152),kn=Be(26112);function Qt(Le,Ke,tt,st,dt,Ct,jt){Le.push({record:Ke,indent:tt,index:jt});var en=Ct(Ke),Je=dt==null?void 0:dt.has(en);if(Ke&&Array.isArray(Ke[st])&&Je)for(var ct=0;ct1?lr-1:0),vr=1;vr=0;en-=1){var Je=Ke[en],ct=tt&&tt[en],Et=ct&&ct[xr];if(Je||Et||jt){var xt=Et||{},Gt=xt.columnType,$t=(0,_t.Z)(xt,qr);dt.unshift(he.createElement("col",(0,Ne.Z)({key:en,style:{width:Je}},$t))),jt=!0}}return he.createElement("colgroup",null,dt)}var ga=Pa,aa=Be(95190),Fo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function za(Le,Ke){return(0,he.useMemo)(function(){for(var tt=[],st=0;st1?"colgroup":"col":null,ellipsis:Mn.ellipsis,align:Mn.align,component:Mn.title?Ct:jt,prefixCls:Et,key:$t[pn]},_n,{additionalProps:Vn,rowType:"header"}))}))}wi.displayName="HeaderRow";var ro=wi;function pi(Le){var Ke=[];function tt(jt,en){var Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ke[Je]=Ke[Je]||[];var ct=en,Et=jt.filter(Boolean).map(function(xt){var Gt={key:xt.key,className:xt.className||"",children:xt.title,column:xt,colStart:ct},$t=1,an=xt.children;return an&&an.length>0&&($t=tt(an,ct,Je+1).reduce(function(pn,Mn){return pn+Mn},0),Gt.hasSubColumns=!0),"colSpan"in xt&&($t=xt.colSpan),"rowSpan"in xt&&(Gt.rowSpan=xt.rowSpan),Gt.colSpan=$t,Gt.colEnd=Gt.colStart+$t-1,Ke[Je].push(Gt),ct+=$t,$t});return Et}tt(Le,0);for(var st=Ke.length,dt=function(en){Ke[en].forEach(function(Je){!("rowSpan"in Je)&&!Je.hasSubColumns&&(Je.rowSpan=st-en)})},Ct=0;Ct1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ke=="number"?Ke:Ke.endsWith("%")?Le*parseFloat(Ke)/100:null}function ei(Le,Ke){return he.useMemo(function(){if(Ke&&Ke>0){var tt=0,st=0;Le.forEach(function(ct){var Et=Jo(Ke,ct.width);Et?tt+=Et:st+=1});var dt=Ke-tt,Ct=st,jt=dt/st,en=0,Je=Le.map(function(ct){var Et=(0,nt.Z)({},ct),xt=Jo(Ke,Et.width);if(xt)Et.width=xt;else{var Gt=Math.floor(jt);Et.width=Ct===1?dt:Gt,dt-=Gt,Ct-=1}return en+=Et.width,Et});return[Je,en]}return[Le,Ke]},[Le,Ke])}var Dn=["children"],Gn=["fixed"];function Cn(Le){return(0,bi.Z)(Le).filter(function(Ke){return he.isValidElement(Ke)}).map(function(Ke){var tt=Ke.key,st=Ke.props,dt=st.children,Ct=(0,_t.Z)(st,Dn),jt=(0,nt.Z)({key:tt},Ct);return dt&&(jt.children=Cn(dt)),jt})}function Wr(Le){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Le.filter(function(tt){return tt&&(0,Ye.Z)(tt)==="object"}).reduce(function(tt,st,dt){var Ct=st.fixed,jt=Ct===!0?"left":Ct,en="".concat(Ke,"-").concat(dt),Je=st.children;return Je&&Je.length>0?[].concat((0,aa.Z)(tt),(0,aa.Z)(Wr(Je,en).map(function(ct){return(0,nt.Z)({fixed:jt},ct)}))):[].concat((0,aa.Z)(tt),[(0,nt.Z)((0,nt.Z)({key:en},st),{},{fixed:jt})])},[])}function ua(Le){for(var Ke=!0,tt=0;tt=0;Ct-=1){var jt=Le[Ct];if(dt&&jt.fixed!=="right")dt=!1;else if(!dt&&jt.fixed==="right"){warning(!1,"Index ".concat(Ct+1," of `columns` missing `fixed='right'` prop."));break}}}function Kr(Le){return Le.map(function(Ke){var tt=Ke.fixed,st=(0,_t.Z)(Ke,Gn),dt=tt;return tt==="left"?dt="right":tt==="right"&&(dt="left"),(0,nt.Z)({fixed:dt},st)})}function Fa(Le,Ke){var tt=Le.prefixCls,st=Le.columns,dt=Le.children,Ct=Le.expandable,jt=Le.expandedKeys,en=Le.columnTitle,Je=Le.getRowKey,ct=Le.onTriggerExpand,Et=Le.expandIcon,xt=Le.rowExpandable,Gt=Le.expandIconColumnIndex,$t=Le.direction,an=Le.expandRowByClick,pn=Le.columnWidth,Mn=Le.fixed,_n=Le.scrollWidth,Vn=he.useMemo(function(){return st||Cn(dt)},[st,dt]),tr=he.useMemo(function(){if(Ct){var sr,lr=Vn.slice();if(!lr.includes(ue)){var er=Gt||0;er>=0&&lr.splice(er,0,ue)}var vr=lr.indexOf(ue);lr=lr.filter(function($r,Sa){return $r!==ue||Sa===vr});var Gr=Vn[vr],ca;(Mn==="left"||Mn)&&!Gt?ca="left":(Mn==="right"||Mn)&&Gt===Vn.length?ca="right":ca=Gr?Gr.fixed:null;var Aa=(sr={},(0,Oe.Z)(sr,xr,{className:"".concat(tt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Oe.Z)(sr,"title",en),(0,Oe.Z)(sr,"fixed",ca),(0,Oe.Z)(sr,"className","".concat(tt,"-row-expand-icon-cell")),(0,Oe.Z)(sr,"width",pn),(0,Oe.Z)(sr,"render",function(Sa,sa,Ua){var kr=Je(sa,Ua),wo=jt.has(kr),Za=xt?xt(sa):!0,Ha=Et({prefixCls:tt,expanded:wo,expandable:Za,record:sa,onExpand:ct});return an?he.createElement("span",{onClick:function(Ma){return Ma.stopPropagation()}},Ha):Ha}),sr);return lr.map(function($r){return $r===ue?Aa:$r})}return Vn.filter(function($r){return $r!==ue})},[Ct,Vn,Je,jt,Et,$t]),Ir=he.useMemo(function(){var sr=tr;return Ke&&(sr=Ke(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Ke,tr,$t]),Rn=he.useMemo(function(){return $t==="rtl"?Kr(Wr(Ir)):Wr(Ir)},[Ir,$t,_n]),zt=ei(Rn,_n),Jr=(0,ze.Z)(zt,2),jr=Jr[0],Jn=Jr[1];return[Ir,jr,Jn]}var ja=Fa;function Na(Le){var Ke,tt=Le.prefixCls,st=Le.record,dt=Le.onExpand,Ct=Le.expanded,jt=Le.expandable,en="".concat(tt,"-row-expand-icon");if(!jt)return he.createElement("span",{className:Qe()(en,"".concat(tt,"-row-spaced"))});var Je=function(Et){dt(st,Et),Et.stopPropagation()};return he.createElement("span",{className:Qe()(en,(Ke={},(0,Oe.Z)(Ke,"".concat(tt,"-row-expanded"),Ct),(0,Oe.Z)(Ke,"".concat(tt,"-row-collapsed"),!Ct),Ke)),onClick:Je})}function Wa(Le,Ke,tt){var st=[];function dt(Ct){(Ct||[]).forEach(function(jt,en){st.push(Ke(jt,en)),dt(jt[tt])})}return dt(Le),st}function ti(Le,Ke,tt){var st=_r(Le),dt=st.expandIcon,Ct=st.expandedRowKeys,jt=st.defaultExpandedRowKeys,en=st.defaultExpandAllRows,Je=st.expandedRowRender,ct=st.onExpand,Et=st.onExpandedRowsChange,xt=st.childrenColumnName,Gt=dt||Na,$t=xt||"children",an=he.useMemo(function(){return Je?"row":Le.expandable&&Le.internalHooks===we&&Le.expandable.__PARENT_RENDER_ICON__||Ke.some(function(Rn){return Rn&&(0,Ye.Z)(Rn)==="object"&&Rn[$t]})?"nest":!1},[!!Je,Ke]),pn=he.useState(function(){return jt||(en?Wa(Ke,tt,$t):[])}),Mn=(0,ze.Z)(pn,2),_n=Mn[0],Vn=Mn[1],tr=he.useMemo(function(){return new Set(Ct||_n||[])},[Ct,_n]),Ir=he.useCallback(function(Rn){var zt=tt(Rn,Ke.indexOf(Rn)),Jr,jr=tr.has(zt);jr?(tr.delete(zt),Jr=(0,aa.Z)(tr)):Jr=[].concat((0,aa.Z)(tr),[zt]),Vn(Jr),ct&&ct(!jr,Rn),Et&&Et(Jr)},[tt,tr,Ke,ct,Et]);return[st,an,tr,Gt,$t,Ir]}function Lr(Le,Ke,tt,st){var dt=Le.map(function(Ct,jt){return It(jt,jt,Le,Ke,tt,st==null?void 0:st[jt])});return(0,kt.Z)(function(){return dt},[dt],function(Ct,jt){return!(0,Re.Z)(Ct,jt)})}function Ra(Le){var Ke=(0,he.useRef)(Le),tt=(0,he.useState)({}),st=(0,ze.Z)(tt,2),dt=st[1],Ct=(0,he.useRef)(null),jt=(0,he.useRef)([]);function en(Je){jt.current.push(Je);var ct=Promise.resolve();Ct.current=ct,ct.then(function(){if(Ct.current===ct){var Et=jt.current,xt=Ke.current;jt.current=[],Et.forEach(function(Gt){Ke.current=Gt(Ke.current)}),Ct.current=null,xt!==Ke.current&&dt({})}})}return(0,he.useEffect)(function(){return function(){Ct.current=null}},[]),[Ke.current,en]}function Xo(Le){var Ke=(0,he.useRef)(Le||null),tt=(0,he.useRef)();function st(){window.clearTimeout(tt.current)}function dt(jt){Ke.current=jt,st(),tt.current=window.setTimeout(function(){Ke.current=null,tt.current=void 0},100)}function Ct(){return Ke.current}return(0,he.useEffect)(function(){return st},[]),[dt,Ct]}function Lo(){var Le=he.useState(-1),Ke=(0,ze.Z)(Le,2),tt=Ke[0],st=Ke[1],dt=he.useState(-1),Ct=(0,ze.Z)(dt,2),jt=Ct[0],en=Ct[1],Je=he.useCallback(function(ct,Et){st(ct),en(Et)},[]);return[tt,jt,Je]}var No=Be(47273),so=(0,No.Z)()?window:null;function Ai(Le,Ke){var tt=(0,Ye.Z)(Le)==="object"?Le:{},st=tt.offsetHeader,dt=st===void 0?0:st,Ct=tt.offsetSummary,jt=Ct===void 0?0:Ct,en=tt.offsetScroll,Je=en===void 0?0:en,ct=tt.getContainer,Et=ct===void 0?function(){return so}:ct,xt=Et()||so;return he.useMemo(function(){var Gt=!!Le;return{isSticky:Gt,stickyClassName:Gt?"".concat(Ke,"-sticky-holder"):"",offsetHeader:dt,offsetSummary:jt,offsetScroll:Je,container:xt}},[Je,dt,jt,Ke,xt])}function Di(Le,Ke,tt){var st=(0,he.useMemo)(function(){for(var dt=[],Ct=[],jt=0,en=0,Je=0;Je=xt&&($r=xt-Gt),jt({scrollLeft:$r/xt*(Et+2)}),Vn.current.x=vr.pageX},sr=function(){if(Ct.current){var vr=(0,Yi.os)(Ct.current).top,Gr=vr+Ct.current.offsetHeight,ca=Je===window?document.documentElement.scrollTop+window.innerHeight:(0,Yi.os)(Je).top+Je.clientHeight;Gr-(0,Wt.Z)()<=ca||vr>=ca-en?_n(function(Aa){return(0,nt.Z)((0,nt.Z)({},Aa),{},{isHiddenScrollBar:!0})}):_n(function(Aa){return(0,nt.Z)((0,nt.Z)({},Aa),{},{isHiddenScrollBar:!1})})}},lr=function(vr){_n(function(Gr){return(0,nt.Z)((0,nt.Z)({},Gr),{},{scrollLeft:vr/Et*xt||0})})};return he.useImperativeHandle(tt,function(){return{setScrollLeft:lr}}),he.useEffect(function(){var er=(0,Do.Z)(document.body,"mouseup",Jr,!1),vr=(0,Do.Z)(document.body,"mousemove",Jn,!1);return sr(),function(){er.remove(),vr.remove()}},[Gt,Rn]),he.useEffect(function(){var er=(0,Do.Z)(Je,"scroll",sr,!1),vr=(0,Do.Z)(window,"resize",sr,!1);return function(){er.remove(),vr.remove()}},[Je]),he.useEffect(function(){Mn.isHiddenScrollBar||_n(function(er){var vr=Ct.current;return vr?(0,nt.Z)((0,nt.Z)({},er),{},{scrollLeft:vr.scrollLeft/vr.scrollWidth*vr.clientWidth}):er})},[Mn.isHiddenScrollBar]),Et<=xt||!Gt||Mn.isHiddenScrollBar?null:he.createElement("div",{style:{height:(0,Wt.Z)(),width:xt,bottom:en},className:"".concat(ct,"-sticky-scroll")},he.createElement("div",{onMouseDown:jr,ref:$t,className:Qe()("".concat(ct,"-sticky-scroll-bar"),(0,Oe.Z)({},"".concat(ct,"-sticky-scroll-bar-active"),Rn)),style:{width:"".concat(Gt,"px"),transform:"translate3d(".concat(Mn.scrollLeft,"px, 0, 0)")}}))},Ui=he.forwardRef(_A);function Dr(Le){return null}var Cl=Dr;function $A(Le){return null}var Zs=$A,TA="rc-table",Yr=[],Da={};function lo(){return"No Data"}function ya(Le){var Ke,tt=(0,nt.Z)({rowKey:"key",prefixCls:TA,emptyText:lo},Le),st=tt.prefixCls,dt=tt.className,Ct=tt.rowClassName,jt=tt.style,en=tt.data,Je=tt.rowKey,ct=tt.scroll,Et=tt.tableLayout,xt=tt.direction,Gt=tt.title,$t=tt.footer,an=tt.summary,pn=tt.caption,Mn=tt.id,_n=tt.showHeader,Vn=tt.components,tr=tt.emptyText,Ir=tt.onRow,Rn=tt.onHeaderRow,zt=tt.internalHooks,Jr=tt.transformColumns,jr=tt.internalRefs,Jn=tt.tailor,sr=tt.sticky,lr=en||Yr,er=!!lr.length,vr=zt===we,Gr=he.useCallback(function(Bo,Ko){return(0,ut.Z)(Vn,Bo)||Ko},[Vn]),ca=he.useMemo(function(){return typeof Je=="function"?Je:function(Bo){var Ko=Bo&&Bo[Je];return Ko}},[Je]),Aa=Gr(["body"]),$r=Lo(),Sa=(0,ze.Z)($r,3),sa=Sa[0],Ua=Sa[1],kr=Sa[2],wo=ti(tt,lr,ca),Za=(0,ze.Z)(wo,6),Ha=Za[0],Ao=Za[1],Ma=Za[2],Qo=Za[3],_a=Za[4],zi=Za[5],Vr=ct==null?void 0:ct.x,wa=he.useState(0),Ea=(0,ze.Z)(wa,2),ia=Ea[0],ha=Ea[1],Xr=ja((0,nt.Z)((0,nt.Z)((0,nt.Z)({},tt),Ha),{},{expandable:!!Ha.expandedRowRender,columnTitle:Ha.columnTitle,expandedKeys:Ma,getRowKey:ca,onTriggerExpand:zi,expandIcon:Qo,expandIconColumnIndex:Ha.expandIconColumnIndex,direction:xt,scrollWidth:vr&&Jn&&typeof Vr=="number"?Vr:null}),vr?Jr:null),Ka=(0,ze.Z)(Xr,3),Va=Ka[0],ao=Ka[1],gi=Ka[2],Qa=gi!=null?gi:Vr,Gi=he.useMemo(function(){return{columns:Va,flattenColumns:ao}},[Va,ao]),Yo=he.useRef(),fi=he.useRef(),Mr=he.useRef(),Mo=he.useRef(),oA=he.useRef(),po=he.useState(!1),no=(0,ze.Z)(po,2),Oo=no[0],_o=no[1],jo=he.useState(!1),Ya=(0,ze.Z)(jo,2),ui=Ya[0],mi=Ya[1],eA=Ra(new Map),_i=(0,ze.Z)(eA,2),fA=_i[0],gs=_i[1],ZA=et(ao),NA=ZA.map(function(Bo){return fA.get(Bo)}),yA=he.useMemo(function(){return NA},[NA.join("_")]),tA=vi(yA,ao.length,xt),ci=ct&&Xt(ct.y),ni=ct&&Xt(Qa)||!!Ha.fixed,fs=ni&&ao.some(function(Bo){var Ko=Bo.fixed;return Ko}),Cs=he.useRef(),Os=Ai(sr,st),ns=Os.isSticky,_l=Os.offsetHeader,vl=Os.offsetSummary,vo=Os.offsetScroll,oo=Os.stickyClassName,Wi=Os.container,ri=he.useMemo(function(){return an==null?void 0:an(lr)},[an,lr]),Zi=(ci||ns)&&he.isValidElement(ri)&&ri.type===ye&&ri.props.fixed,iA,nA,AA;ci&&(nA={overflowY:"scroll",maxHeight:ct.y}),ni&&(iA={overflowX:"auto"},ci||(nA={overflowY:"hidden"}),AA={width:Qa===!0?"auto":Qa,minWidth:"100%"});var nl=he.useCallback(function(Bo,Ko){(0,yt.Z)(Yo.current)&&gs(function(wA){if(wA.get(Bo)!==Ko){var Es=new Map(wA);return Es.set(Bo,Ko),Es}return wA})},[]),DA=Xo(null),Fl=(0,ze.Z)(DA,2),ou=Fl[0],Eu=Fl[1];function Bl(Bo,Ko){Ko&&(typeof Ko=="function"?Ko(Bo):Ko.scrollLeft!==Bo&&(Ko.scrollLeft=Bo,Ko.scrollLeft!==Bo&&setTimeout(function(){Ko.scrollLeft=Bo},0)))}var Ts=(0,At.Z)(function(Bo){var Ko=Bo.currentTarget,wA=Bo.scrollLeft,Es=xt==="rtl",Ps=typeof wA=="number"?wA:Ko.scrollLeft,uu=Ko||Da;if(!Eu()||Eu()===uu){var Jl;ou(uu),Bl(Ps,fi.current),Bl(Ps,Mr.current),Bl(Ps,oA.current),Bl(Ps,(Jl=Cs.current)===null||Jl===void 0?void 0:Jl.setScrollLeft)}var hs=Ko||fi.current;if(hs){var Fs=hs.scrollWidth,cu=hs.clientWidth;if(Fs===cu){_o(!1),mi(!1);return}Es?(_o(-Ps0)):(_o(Ps>0),mi(Ps1?pn-vr:0,ca=(0,nt.Z)((0,nt.Z)((0,nt.Z)({},Jr),Je),{},{flex:"0 0 ".concat(vr,"px"),width:"".concat(vr,"px"),marginRight:Gr,pointerEvents:"auto"}),Aa=he.useMemo(function(){return Et?lr<=1:Jn===0||lr===0||lr>1},[lr,Jn,Et]);Aa?ca.visibility="hidden":Et&&(ca.height=xt==null?void 0:xt(lr));var $r=Aa?function(){return null}:Gt,Sa={};return(lr===0||Jn===0)&&(Sa.rowSpan=1,Sa.colSpan=1),he.createElement(qn,(0,Ne.Z)({className:Qe()(an,ct),ellipsis:tt.ellipsis,align:tt.align,scope:tt.rowScope,component:"div",prefixCls:Ke.prefixCls,key:tr,record:en,index:Ct,renderIndex:jt,dataIndex:$t,render:$r,shouldCellUpdate:tt.shouldCellUpdate},Ir,{appendNode:Rn,additionalProps:(0,nt.Z)((0,nt.Z)({},zt),{},{style:ca},Sa)}))}var vs=Vs,aA=["data","index","className","rowKey","style","extra","getHeight"],jA=he.forwardRef(function(Le,Ke){var tt=Le.data,st=Le.index,dt=Le.className,Ct=Le.rowKey,jt=Le.style,en=Le.extra,Je=Le.getHeight,ct=(0,_t.Z)(Le,aA),Et=tt.record,xt=tt.indent,Gt=tt.index,$t=ce(Ue,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),an=$t.scrollX,pn=$t.flattenColumns,Mn=$t.prefixCls,_n=$t.fixColumn,Vn=$t.componentWidth,tr=tn(Et,Ct,st,xt),Ir=tr.rowSupportExpand,Rn=tr.expanded,zt=tr.rowProps,Jr=tr.expandedRowRender,jr=tr.expandedRowClassName,Jn;if(Ir&&Rn){var sr=Jr(Et,st,xt+1,Rn),lr=jr==null?void 0:jr(Et,st,xt),er={};_n&&(er={style:(0,Oe.Z)({},"--virtual-width","".concat(Vn,"px"))});var vr="".concat(Mn,"-expanded-row-cell");Jn=he.createElement("div",{className:Qe()("".concat(Mn,"-expanded-row"),"".concat(Mn,"-expanded-row-level-").concat(xt+1),lr)},he.createElement(qn,{component:"div",prefixCls:Mn,className:Qe()(vr,(0,Oe.Z)({},"".concat(vr,"-fixed"),_n)),additionalProps:er},sr))}var Gr=(0,nt.Z)((0,nt.Z)({},jt),{},{width:an});en&&(Gr.position="absolute",Gr.pointerEvents="none");var ca=he.createElement("div",(0,Ne.Z)({},zt,ct,{ref:Ir?null:Ke,className:Qe()(dt,"".concat(Mn,"-row"),zt==null?void 0:zt.className,(0,Oe.Z)({},"".concat(Mn,"-row-extra"),en)),style:(0,nt.Z)((0,nt.Z)({},Gr),zt==null?void 0:zt.style)}),pn.map(function(Aa,$r){return he.createElement(vs,{key:$r,rowInfo:tr,column:Aa,colIndex:$r,indent:xt,index:st,renderIndex:Gt,record:Et,inverse:en,getHeight:Je})}));return Ir?he.createElement("div",{ref:Ke},ca,Jn):ca}),kA=z(jA),Bs=kA,Ss=he.forwardRef(function(Le,Ke){var tt=Le.data,st=Le.onScroll,dt=ce(Ue,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ct=dt.flattenColumns,jt=dt.onColumnResize,en=dt.getRowKey,Je=dt.expandedKeys,ct=dt.prefixCls,Et=dt.childrenColumnName,xt=dt.emptyNode,Gt=dt.scrollX,$t=ce(Qi),an=$t.scrollY,pn=$t.listItemHeight,Mn=he.useRef(),_n=dn(tt,Et,Je,en),Vn=he.useMemo(function(){var Jn=0;return Ct.map(function(sr){var lr=sr.width,er=sr.key;return Jn+=lr,[er,lr,Jn]})},[Ct]),tr=he.useMemo(function(){return Vn.map(function(Jn){return Jn[2]})},[Vn]);he.useEffect(function(){Vn.forEach(function(Jn){var sr=(0,ze.Z)(Jn,2),lr=sr[0],er=sr[1];jt(lr,er)})},[Vn]),he.useImperativeHandle(Ke,function(){var Jn={};return Object.defineProperty(Jn,"scrollLeft",{get:function(){var lr;return((lr=Mn.current)===null||lr===void 0?void 0:lr.getScrollInfo().x)||0},set:function(lr){var er;(er=Mn.current)===null||er===void 0||er.scrollTo({left:lr})}}),Jn});var Ir=function(sr,lr){var er,vr=(er=_n[lr])===null||er===void 0?void 0:er.record,Gr=sr.onCell;if(Gr){var ca,Aa=Gr(vr,lr);return(ca=Aa==null?void 0:Aa.rowSpan)!==null&&ca!==void 0?ca:1}return 1},Rn=function(sr){var lr=sr.start,er=sr.end,vr=sr.getSize,Gr=sr.offsetY;if(er<0)return null;for(var ca=Ct.filter(function(Vr){return Ir(Vr,lr)===0}),Aa=lr,$r=function(wa){if(ca=ca.filter(function(Ea){return Ir(Ea,wa)===0}),!ca.length)return Aa=wa,"break"},Sa=lr;Sa>=0;Sa-=1){var sa=$r(Sa);if(sa==="break")break}for(var Ua=Ct.filter(function(Vr){return Ir(Vr,er)!==1}),kr=er,wo=function(wa){if(Ua=Ua.filter(function(Ea){return Ir(Ea,wa)!==1}),!Ua.length)return kr=Math.max(wa-1,er),"break"},Za=er;Za<_n.length;Za+=1){var Ha=wo(Za);if(Ha==="break")break}for(var Ao=[],Ma=function(wa){var Ea=_n[wa];if(!Ea)return"continue";Ct.some(function(ia){return Ir(ia,wa)>1})&&Ao.push(wa)},Qo=Aa;Qo<=kr;Qo+=1)var _a=Ma(Qo);var zi=Ao.map(function(Vr){var wa=_n[Vr],Ea=en(wa.record,Vr),ia=function(Ka){var Va=Vr+Ka-1,ao=en(_n[Va].record,Va),gi=vr(Ea,ao);return gi.bottom-gi.top},ha=vr(Ea);return he.createElement(Bs,{key:Vr,data:wa,rowKey:Ea,index:Vr,style:{top:-Gr+ha.top},extra:!0,getHeight:ia})});return zi},zt=he.useMemo(function(){return{columnsOffset:tr}},[tr]),Jr="".concat(ct,"-tbody"),jr;return _n.length?jr=he.createElement(Oa.Z,{fullHeight:!1,ref:Mn,className:Qe()(Jr,"".concat(Jr,"-virtual")),height:an,itemHeight:pn||24,data:_n,itemKey:function(sr){return en(sr.record)},scrollWidth:Gt,onVirtualScroll:function(sr){var lr=sr.x;st({scrollLeft:lr})},extraRender:Rn},function(Jn,sr,lr){var er=en(Jn.record,sr);return he.createElement(Bs,(0,Ne.Z)({data:Jn,rowKey:er,index:sr},lr))}):jr=he.createElement("div",{className:Qe()("".concat(ct,"-placeholder"))},he.createElement(qn,{component:"div",prefixCls:ct},xt)),he.createElement(Uo.Provider,{value:zt},jr)}),HA=z(Ss),Bi=HA,cn=function(Ke,tt){var st=tt.ref,dt=tt.onScroll;return he.createElement(Bi,{ref:st,data:Ke,onScroll:dt})},Go=100;function xi(Le){var Ke=Le.columns,tt=Le.scroll,st=Le.prefixCls,dt=st===void 0?TA:st,Ct=Le.className,jt=Le.listItemHeight,en=tt||{},Je=en.x,ct=en.y;typeof Je!="number"&&(Je=((Ke||[]).length+1)*Go),typeof ct!="number"&&(ct=500);var Et=he.useMemo(function(){return{scrollY:ct,listItemHeight:jt}},[ct,jt]);return he.createElement(Qi.Provider,{value:Et},he.createElement(Ca,(0,Ne.Z)({},Le,{className:Qe()(Ct,"".concat(dt,"-virtual")),scroll:(0,nt.Z)((0,nt.Z)({},tt),{},{x:Je}),components:{body:cn},columns:Ke,internalHooks:we,tailor:!0})))}function As(Le){return x(xi,Le)}var Ys=As(),Js=null;function EA(Le){return null}var Xs=EA;function qo(Le){return null}var cl=qo,PA=Be(2738),si=Be(68031),El=Be(36355),li=Be(93891),ys=Be(19716),ss=Be(8628),Ln=Be(31724),gn=Be(58421),hn=Be(71418),Hn=Be(88088);function Wn(Le){return function(tt){let{prefixCls:st,onExpand:dt,record:Ct,expanded:jt,expandable:en}=tt;const Je=`${st}-row-expand-icon`;return he.createElement("button",{type:"button",onClick:ct=>{dt(Ct,ct),ct.stopPropagation()},className:Qe()(Je,{[`${Je}-spaced`]:!en,[`${Je}-expanded`]:en&&jt,[`${Je}-collapsed`]:en&&!jt}),"aria-label":jt?Le.collapse:Le.expand,"aria-expanded":jt})}}var dr=Wn;function Hr(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 br(Le,Ke){return Ke?`${Ke}-${Le}`:`${Le}`}function Or(Le,Ke){return typeof Le=="function"?Le(Ke):Le}function nn(Le,Ke){const tt=Or(Le,Ke);return Object.prototype.toString.call(tt)==="[object Object]"?"":tt}var vn={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"},In=vn,Yn=Be(7657),Tr=function(Ke,tt){return he.createElement(Yn.Z,(0,Ne.Z)({},Ke,{ref:tt,icon:In}))},ra=he.forwardRef(Tr),ar=ra,Br=Be(56762);function pr(Le){const Ke=he.useRef(Le),tt=(0,Br.Z)();return[()=>Ke.current,st=>{Ke.current=st,tt()}]}var Cr=Be(3113),Fr=Be(24905),cr=Be(38854),ta=Be(64165),Xa=Be(20834),uo=Be(40875),va=Be(5112),xa=Be(17574),qa=Be(47472),io=Be(92832);function fo(Le){let{value:Ke,onChange:tt,filterSearch:st,tablePrefixCls:dt,locale:Ct}=Le;return st?he.createElement("div",{className:`${dt}-filter-dropdown-search`},he.createElement(io.default,{prefix:he.createElement(qa.Z,null),placeholder:Ct.filterSearchPlaceholder,onChange:tt,value:Ke,htmlSize:1,className:`${dt}-filter-dropdown-search-input`})):null}var xn=fo,En=Be(10228);const FA=Le=>{const{keyCode:Ke}=Le;Ke===En.Z.ENTER&&Le.stopPropagation()};var Ba=he.forwardRef((Le,Ke)=>he.createElement("div",{className:Le.className,onClick:tt=>tt.stopPropagation(),onKeyDown:FA,ref:Ke},Le.children));function $a(Le){let Ke=[];return(Le||[]).forEach(tt=>{let{value:st,children:dt}=tt;Ke.push(st),dt&&(Ke=[].concat((0,aa.Z)(Ke),(0,aa.Z)($a(dt))))}),Ke}function Io(Le){return Le.some(Ke=>{let{children:tt}=Ke;return tt})}function co(Le,Ke){return typeof Ke=="string"||typeof Ke=="number"?Ke==null?void 0:Ke.toString().toLowerCase().includes(Le.trim().toLowerCase()):!1}function ka(Le){let{filters:Ke,prefixCls:tt,filteredKeys:st,filterMultiple:dt,searchValue:Ct,filterSearch:jt}=Le;return Ke.map((en,Je)=>{const ct=String(en.value);if(en.children)return{key:ct||Je,label:en.text,popupClassName:`${tt}-dropdown-submenu`,children:ka({filters:en.children,prefixCls:tt,filteredKeys:st,filterMultiple:dt,searchValue:Ct,filterSearch:jt})};const Et=dt?Fr.default:va.ZP,xt={key:en.value!==void 0?ct:Je,label:he.createElement(he.Fragment,null,he.createElement(Et,{checked:st.includes(ct)}),he.createElement("span",null,en.text))};return Ct.trim()?typeof jt=="function"?jt(Ct,en)?xt:null:co(Ct,en.text)?xt:null:xt})}function oi(Le){var Ke,tt;const{tablePrefixCls:st,prefixCls:dt,column:Ct,dropdownPrefixCls:jt,columnKey:en,filterMultiple:Je,filterMode:ct="menu",filterSearch:Et=!1,filterState:xt,triggerFilter:Gt,locale:$t,children:an,getPopupContainer:pn}=Le,{filterDropdownOpen:Mn,onFilterDropdownOpenChange:_n,filterResetToDefaultFilteredValue:Vn,defaultFilteredValue:tr,filterDropdownVisible:Ir,onFilterDropdownVisibleChange:Rn}=Ct,[zt,Jr]=he.useState(!1),jr=!!(xt&&(!((Ke=xt.filteredKeys)===null||Ke===void 0)&&Ke.length||xt.forceFiltered)),Jn=Xr=>{Jr(Xr),_n==null||_n(Xr),Rn==null||Rn(Xr)},sr=(tt=Mn!=null?Mn:Ir)!==null&&tt!==void 0?tt:zt,lr=xt==null?void 0:xt.filteredKeys,[er,vr]=pr(lr||[]),Gr=Xr=>{let{selectedKeys:Ka}=Xr;vr(Ka)},ca=(Xr,Ka)=>{let{node:Va,checked:ao}=Ka;Gr(Je?{selectedKeys:Xr}:{selectedKeys:ao&&Va.key?[Va.key]:[]})};he.useEffect(()=>{zt&&Gr({selectedKeys:lr||[]})},[lr]);const[Aa,$r]=he.useState([]),Sa=Xr=>{$r(Xr)},[sa,Ua]=he.useState(""),kr=Xr=>{const{value:Ka}=Xr.target;Ua(Ka)};he.useEffect(()=>{zt||Ua("")},[zt]);const wo=Xr=>{const Ka=Xr&&Xr.length?Xr:null;if(Ka===null&&(!xt||!xt.filteredKeys)||(0,Re.Z)(Ka,xt==null?void 0:xt.filteredKeys,!0))return null;Gt({column:Ct,key:en,filteredKeys:Ka})},Za=()=>{Jn(!1),wo(er())},Ha=function(){let{confirm:Xr,closeDropdown:Ka}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Xr&&wo([]),Ka&&Jn(!1),Ua(""),vr(Vn?(tr||[]).map(Va=>String(Va)):[])},Ao=function(){let{closeDropdown:Xr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Xr&&Jn(!1),wo(er())},Ma=Xr=>{Xr&&lr!==void 0&&vr(lr||[]),Jn(Xr),!Xr&&!Ct.filterDropdown&&Za()},Qo=Qe()({[`${jt}-menu-without-submenu`]:!Io(Ct.filters||[])}),_a=Xr=>{if(Xr.target.checked){const Ka=$a(Ct==null?void 0:Ct.filters).map(Va=>String(Va));vr(Ka)}else vr([])},zi=Xr=>{let{filters:Ka}=Xr;return(Ka||[]).map((Va,ao)=>{const gi=String(Va.value),Qa={title:Va.text,key:Va.value!==void 0?gi:ao};return Va.children&&(Qa.children=zi({filters:Va.children})),Qa})},Vr=Xr=>{var Ka;return Object.assign(Object.assign({},Xr),{text:Xr.title,value:Xr.key,children:((Ka=Xr.children)===null||Ka===void 0?void 0:Ka.map(Va=>Vr(Va)))||[]})};let wa;if(typeof Ct.filterDropdown=="function")wa=Ct.filterDropdown({prefixCls:`${jt}-custom`,setSelectedKeys:Xr=>Gr({selectedKeys:Xr}),selectedKeys:er(),confirm:Ao,clearFilters:Ha,filters:Ct.filters,visible:sr,close:()=>{Jn(!1)}});else if(Ct.filterDropdown)wa=Ct.filterDropdown;else{const Xr=er()||[],Ka=()=>(Ct.filters||[]).length===0?he.createElement(ta.Z,{image:ta.Z.PRESENTED_IMAGE_SIMPLE,description:$t.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ct==="tree"?he.createElement(he.Fragment,null,he.createElement(xn,{filterSearch:Et,value:sa,onChange:kr,tablePrefixCls:st,locale:$t}),he.createElement("div",{className:`${st}-filter-dropdown-tree`},Je?he.createElement(Fr.default,{checked:Xr.length===$a(Ct.filters).length,indeterminate:Xr.length>0&&Xr.length<$a(Ct.filters).length,className:`${st}-filter-dropdown-checkall`,onChange:_a},$t.filterCheckall):null,he.createElement(xa.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Je,checkStrictly:!Je,className:`${jt}-menu`,onCheck:ca,checkedKeys:Xr,selectedKeys:Xr,showIcon:!1,treeData:zi({filters:Ct.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:sa.trim()?ao=>typeof Et=="function"?Et(sa,Vr(ao)):co(sa,ao.title):void 0}))):he.createElement(he.Fragment,null,he.createElement(xn,{filterSearch:Et,value:sa,onChange:kr,tablePrefixCls:st,locale:$t}),he.createElement(Xa.default,{selectable:!0,multiple:Je,prefixCls:`${jt}-menu`,className:Qo,onSelect:Gr,onDeselect:Gr,selectedKeys:Xr,getPopupContainer:pn,openKeys:Aa,onOpenChange:Sa,items:ka({filters:Ct.filters||[],filterSearch:Et,prefixCls:dt,filteredKeys:er(),filterMultiple:Je,searchValue:sa})})),Va=()=>Vn?(0,Re.Z)((tr||[]).map(ao=>String(ao)),Xr,!0):Xr.length===0;wa=he.createElement(he.Fragment,null,Ka(),he.createElement("div",{className:`${dt}-dropdown-btns`},he.createElement(Cr.ZP,{type:"link",size:"small",disabled:Va(),onClick:()=>Ha()},$t.filterReset),he.createElement(Cr.ZP,{type:"primary",size:"small",onClick:Za},$t.filterConfirm)))}Ct.filterDropdown&&(wa=he.createElement(uo.J,{selectable:void 0},wa));const Ea=()=>he.createElement(Ba,{className:`${dt}-dropdown`},wa);let ia;typeof Ct.filterIcon=="function"?ia=Ct.filterIcon(jr):Ct.filterIcon?ia=Ct.filterIcon:ia=he.createElement(ar,null);const{direction:ha}=he.useContext(El.E_);return he.createElement("div",{className:`${dt}-column`},he.createElement("span",{className:`${st}-column-title`},an),he.createElement(cr.Z,{dropdownRender:Ea,trigger:["click"],open:sr,onOpenChange:Ma,getPopupContainer:pn,placement:ha==="rtl"?"bottomLeft":"bottomRight"},he.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${dt}-trigger`,{active:jr}),onClick:Xr=>{Xr.stopPropagation()}},ia)))}var Xi=oi;function Ri(Le,Ke,tt){let st=[];return(Le||[]).forEach((dt,Ct)=>{var jt;const en=br(Ct,tt);if(dt.filters||"filterDropdown"in dt||"onFilter"in dt)if("filteredValue"in dt){let Je=dt.filteredValue;"filterDropdown"in dt||(Je=(jt=Je==null?void 0:Je.map(String))!==null&&jt!==void 0?jt:Je),st.push({column:dt,key:Hr(dt,en),filteredKeys:Je,forceFiltered:dt.filtered})}else st.push({column:dt,key:Hr(dt,en),filteredKeys:Ke&&dt.defaultFilteredValue?dt.defaultFilteredValue:void 0,forceFiltered:dt.filtered});"children"in dt&&(st=[].concat((0,aa.Z)(st),(0,aa.Z)(Ri(dt.children,Ke,en))))}),st}function qi(Le,Ke,tt,st,dt,Ct,jt,en){return tt.map((Je,ct)=>{const Et=br(ct,en),{filterMultiple:xt=!0,filterMode:Gt,filterSearch:$t}=Je;let an=Je;if(an.filters||an.filterDropdown){const pn=Hr(an,Et),Mn=st.find(_n=>{let{key:Vn}=_n;return pn===Vn});an=Object.assign(Object.assign({},an),{title:_n=>he.createElement(Xi,{tablePrefixCls:Le,prefixCls:`${Le}-filter`,dropdownPrefixCls:Ke,column:an,columnKey:pn,filterState:Mn,filterMultiple:xt,filterMode:Gt,filterSearch:$t,triggerFilter:Ct,locale:dt,getPopupContainer:jt},Or(Je.title,_n))})}return"children"in an&&(an=Object.assign(Object.assign({},an),{children:qi(Le,Ke,an.children,st,dt,Ct,jt,Et)})),an})}function Oi(Le){const Ke={};return Le.forEach(tt=>{let{key:st,filteredKeys:dt,column:Ct}=tt;const{filters:jt,filterDropdown:en}=Ct;if(en)Ke[st]=dt||null;else if(Array.isArray(dt)){const Je=$a(jt);Ke[st]=Je.filter(ct=>dt.includes(String(ct)))}else Ke[st]=null}),Ke}function WA(Le,Ke){return Ke.reduce((tt,st)=>{const{column:{onFilter:dt,filters:Ct},filteredKeys:jt}=st;return dt&&jt&&jt.length?tt.filter(en=>jt.some(Je=>{const ct=$a(Ct),Et=ct.findIndex(Gt=>String(Gt)===String(Je)),xt=Et!==-1?ct[Et]:Je;return dt(xt,en)})):tt},Le)}const Ti=Le=>Le.flatMap(Ke=>"children"in Ke?[Ke].concat((0,aa.Z)(Ti(Ke.children||[]))):[Ke]);function oa(Le){let{prefixCls:Ke,dropdownPrefixCls:tt,mergedColumns:st,onFilterChange:dt,getPopupContainer:Ct,locale:jt}=Le;const en=he.useMemo(()=>Ti(st||[]),[st]),[Je,ct]=he.useState(()=>Ri(en,!0)),Et=he.useMemo(()=>{const an=Ri(en,!1);if(an.length===0)return an;let pn=!0,Mn=!0;if(an.forEach(_n=>{let{filteredKeys:Vn}=_n;Vn!==void 0?pn=!1:Mn=!1}),pn){const _n=(en||[]).map((Vn,tr)=>Hr(Vn,br(tr)));return Je.filter(Vn=>{let{key:tr}=Vn;return _n.includes(tr)}).map(Vn=>{const tr=en[_n.findIndex(Ir=>Ir===Vn.key)];return Object.assign(Object.assign({},Vn),{column:Object.assign(Object.assign({},Vn.column),tr),forceFiltered:tr.filtered})})}return an},[en,Je]),xt=he.useMemo(()=>Oi(Et),[Et]),Gt=an=>{const pn=Et.filter(Mn=>{let{key:_n}=Mn;return _n!==an.key});pn.push(an),ct(pn),dt(Oi(pn),pn)};return[an=>qi(Ke,tt,an,Et,jt,Gt,Ct),Et,xt]}var Pl=oa;function ji(Le,Ke,tt){const st=he.useRef({});function dt(Ct){if(!st.current||st.current.data!==Le||st.current.childrenColumnName!==Ke||st.current.getRowKey!==tt){let en=function(Je){Je.forEach((ct,Et)=>{const xt=tt(ct,Et);jt.set(xt,ct),ct&&typeof ct=="object"&&Ke in ct&&en(ct[Ke]||[])})};const jt=new Map;en(Le),st.current={data:Le,childrenColumnName:Ke,kvMap:jt,getRowKey:tt}}return st.current.kvMap.get(Ct)}return[dt]}var qs=Be(50371),xA=function(Le,Ke){var tt={};for(var st in Le)Object.prototype.hasOwnProperty.call(Le,st)&&Ke.indexOf(st)<0&&(tt[st]=Le[st]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,st=Object.getOwnPropertySymbols(Le);dt{const Ct=Le[dt];typeof Ct!="function"&&(tt[dt]=Ct)}),tt}function dl(Le,Ke,tt){const st=tt&&typeof tt=="object"?tt:{},{total:dt=0}=st,Ct=xA(st,["total"]),[jt,en]=(0,he.useState)(()=>({current:"defaultCurrent"in Ct?Ct.defaultCurrent:1,pageSize:"defaultPageSize"in Ct?Ct.defaultPageSize:RA})),Je=(0,qs.Z)(jt,Ct,{total:dt>0?dt:Le}),ct=Math.ceil((dt||Le)/Je.pageSize);Je.current>ct&&(Je.current=ct||1);const Et=(Gt,$t)=>{en({current:Gt!=null?Gt:1,pageSize:$t||Je.pageSize})},xt=(Gt,$t)=>{var an;tt&&((an=tt.onChange)===null||an===void 0||an.call(tt,Gt,$t)),Et(Gt,$t),Ke(Gt,$t||(Je==null?void 0:Je.pageSize))};return tt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Je),{onChange:xt}),Et]}var Gl=dl,gl=Be(84105),fl=Be(35654),Ds=Be(90782),ls=Be(71430),MA=Be(18929);const di={},LA="SELECT_ALL",KA="SELECT_INVERT",ai="SELECT_NONE",Mi=[],$s=(Le,Ke)=>{let tt=[];return(Ke||[]).forEach(st=>{tt.push(st),st&&typeof st=="object"&&Le in st&&(tt=[].concat((0,aa.Z)(tt),(0,aa.Z)($s(Le,st[Le]))))}),tt};var Us=(Le,Ke)=>{const{preserveSelectedRowKeys:tt,selectedRowKeys:st,defaultSelectedRowKeys:dt,getCheckboxProps:Ct,onChange:jt,onSelect:en,onSelectAll:Je,onSelectInvert:ct,onSelectNone:Et,onSelectMultiple:xt,columnWidth:Gt,type:$t,selections:an,fixed:pn,renderCell:Mn,hideSelectAll:_n,checkStrictly:Vn=!0}=Ke||{},{prefixCls:tr,data:Ir,pageData:Rn,getRecordByKey:zt,getRowKey:Jr,expandType:jr,childrenColumnName:Jn,locale:sr,getPopupContainer:lr}=Le,[er,vr]=(0,MA.Z)(st||dt||Mi,{value:st}),Gr=he.useRef(new Map),ca=(0,he.useCallback)(Vr=>{if(tt){const wa=new Map;Vr.forEach(Ea=>{let ia=zt(Ea);!ia&&Gr.current.has(Ea)&&(ia=Gr.current.get(Ea)),wa.set(Ea,ia)}),Gr.current=wa}},[zt,tt]);he.useEffect(()=>{ca(er)},[er]);const{keyEntities:Aa}=(0,he.useMemo)(()=>{if(Vn)return{keyEntities:null};let Vr=Ir;if(tt){const wa=new Set(Ir.map((ia,ha)=>Jr(ia,ha))),Ea=Array.from(Gr.current).reduce((ia,ha)=>{let[Xr,Ka]=ha;return wa.has(Xr)?ia:ia.concat(Ka)},[]);Vr=[].concat((0,aa.Z)(Vr),(0,aa.Z)(Ea))}return(0,ls.I8)(Vr,{externalGetKey:Jr,childrenPropName:Jn})},[Ir,Jr,Vn,Jn,tt]),$r=(0,he.useMemo)(()=>$s(Jn,Rn),[Jn,Rn]),Sa=(0,he.useMemo)(()=>{const Vr=new Map;return $r.forEach((wa,Ea)=>{const ia=Jr(wa,Ea),ha=(Ct?Ct(wa):null)||{};Vr.set(ia,ha)}),Vr},[$r,Jr,Ct]),sa=(0,he.useCallback)(Vr=>{var wa;return!!(!((wa=Sa.get(Jr(Vr)))===null||wa===void 0)&&wa.disabled)},[Sa,Jr]),[Ua,kr]=(0,he.useMemo)(()=>{if(Vn)return[er||[],[]];const{checkedKeys:Vr,halfCheckedKeys:wa}=(0,Ds.S)(er,!0,Aa,sa);return[Vr||[],wa]},[er,Vn,Aa,sa]),wo=(0,he.useMemo)(()=>{const Vr=$t==="radio"?Ua.slice(0,1):Ua;return new Set(Vr)},[Ua,$t]),Za=(0,he.useMemo)(()=>$t==="radio"?new Set:new Set(kr),[kr,$t]),[Ha,Ao]=(0,he.useState)(null);he.useEffect(()=>{Ke||vr(Mi)},[!!Ke]);const Ma=(0,he.useCallback)((Vr,wa)=>{let Ea,ia;ca(Vr),tt?(Ea=Vr,ia=Vr.map(ha=>Gr.current.get(ha))):(Ea=[],ia=[],Vr.forEach(ha=>{const Xr=zt(ha);Xr!==void 0&&(Ea.push(ha),ia.push(Xr))})),vr(Ea),jt==null||jt(Ea,ia,{type:wa})},[vr,zt,jt,tt]),Qo=(0,he.useCallback)((Vr,wa,Ea,ia)=>{if(en){const ha=Ea.map(Xr=>zt(Xr));en(zt(Vr),wa,ha,ia)}Ma(Ea,"single")},[en,zt,Ma]),_a=(0,he.useMemo)(()=>!an||_n?null:(an===!0?[LA,KA,ai]:an).map(wa=>wa===LA?{key:"all",text:sr.selectionAll,onSelect(){Ma(Ir.map((Ea,ia)=>Jr(Ea,ia)).filter(Ea=>{const ia=Sa.get(Ea);return!(ia!=null&&ia.disabled)||wo.has(Ea)}),"all")}}:wa===KA?{key:"invert",text:sr.selectInvert,onSelect(){const Ea=new Set(wo);Rn.forEach((ha,Xr)=>{const Ka=Jr(ha,Xr),Va=Sa.get(Ka);Va!=null&&Va.disabled||(Ea.has(Ka)?Ea.delete(Ka):Ea.add(Ka))});const ia=Array.from(Ea);ct&&ct(ia),Ma(ia,"invert")}}:wa===ai?{key:"none",text:sr.selectNone,onSelect(){Et==null||Et(),Ma(Array.from(wo).filter(Ea=>{const ia=Sa.get(Ea);return ia==null?void 0:ia.disabled}),"none")}}:wa).map(wa=>Object.assign(Object.assign({},wa),{onSelect:function(){for(var Ea,ia,ha=arguments.length,Xr=new Array(ha),Ka=0;Ka{var wa;if(!Ke)return Vr.filter(po=>po!==di);let Ea=(0,aa.Z)(Vr);const ia=new Set(wo),ha=$r.map(Jr).filter(po=>!Sa.get(po).disabled),Xr=ha.every(po=>ia.has(po)),Ka=ha.some(po=>ia.has(po)),Va=()=>{const po=[];Xr?ha.forEach(Oo=>{ia.delete(Oo),po.push(Oo)}):ha.forEach(Oo=>{ia.has(Oo)||(ia.add(Oo),po.push(Oo))});const no=Array.from(ia);Je==null||Je(!Xr,no.map(Oo=>zt(Oo)),po.map(Oo=>zt(Oo))),Ma(no,"all"),Ao(null)};let ao;if($t!=="radio"){let po;if(_a){const Ya={getPopupContainer:lr,items:_a.map((ui,mi)=>{const{key:eA,text:_i,onSelect:fA}=ui;return{key:eA!=null?eA:mi,onClick:()=>{fA==null||fA(ha)},label:_i}})};po=he.createElement("div",{className:`${tr}-selection-extra`},he.createElement(cr.Z,{menu:Ya,getPopupContainer:lr},he.createElement("span",null,he.createElement(gl.Z,null))))}const no=$r.map((Ya,ui)=>{const mi=Jr(Ya,ui),eA=Sa.get(mi)||{};return Object.assign({checked:ia.has(mi)},eA)}).filter(Ya=>{let{disabled:ui}=Ya;return ui}),Oo=!!no.length&&no.length===$r.length,_o=Oo&&no.every(Ya=>{let{checked:ui}=Ya;return ui}),jo=Oo&&no.some(Ya=>{let{checked:ui}=Ya;return ui});ao=!_n&&he.createElement("div",{className:`${tr}-selection`},he.createElement(Fr.default,{checked:Oo?_o:!!$r.length&&Xr,indeterminate:Oo?!_o&&jo:!Xr&&Ka,onChange:Va,disabled:$r.length===0||Oo,"aria-label":po?"Custom selection":"Select all",skipGroup:!0}),po)}let gi;$t==="radio"?gi=(po,no,Oo)=>{const _o=Jr(no,Oo),jo=ia.has(_o);return{node:he.createElement(va.ZP,Object.assign({},Sa.get(_o),{checked:jo,onClick:Ya=>Ya.stopPropagation(),onChange:Ya=>{ia.has(_o)||Qo(_o,!0,[_o],Ya.nativeEvent)}})),checked:jo}}:gi=(po,no,Oo)=>{var _o;const jo=Jr(no,Oo),Ya=ia.has(jo),ui=Za.has(jo),mi=Sa.get(jo);let eA;return jr==="nest"?eA=ui:eA=(_o=mi==null?void 0:mi.indeterminate)!==null&&_o!==void 0?_o:ui,{node:he.createElement(Fr.default,Object.assign({},mi,{indeterminate:eA,checked:Ya,skipGroup:!0,onClick:_i=>_i.stopPropagation(),onChange:_i=>{let{nativeEvent:fA}=_i;const{shiftKey:gs}=fA;let ZA=-1,NA=-1;if(gs&&Vn){const yA=new Set([Ha,jo]);ha.some((tA,ci)=>{if(yA.has(tA))if(ZA===-1)ZA=ci;else return NA=ci,!0;return!1})}if(NA!==-1&&ZA!==NA&&Vn){const yA=ha.slice(ZA,NA+1),tA=[];Ya?yA.forEach(ni=>{ia.has(ni)&&(tA.push(ni),ia.delete(ni))}):yA.forEach(ni=>{ia.has(ni)||(tA.push(ni),ia.add(ni))});const ci=Array.from(ia);xt==null||xt(!Ya,ci.map(ni=>zt(ni)),tA.map(ni=>zt(ni))),Ma(ci,"multiple")}else{const yA=Ua;if(Vn){const tA=Ya?(0,fl._5)(yA,jo):(0,fl.L0)(yA,jo);Qo(jo,!Ya,tA,fA)}else{const tA=(0,Ds.S)([].concat((0,aa.Z)(yA),[jo]),!0,Aa,sa),{checkedKeys:ci,halfCheckedKeys:ni}=tA;let fs=ci;if(Ya){const Cs=new Set(ci);Cs.delete(jo),fs=(0,Ds.S)(Array.from(Cs),{checked:!1,halfCheckedKeys:ni},Aa,sa).checkedKeys}Qo(jo,!Ya,fs,fA)}}Ao(Ya?null:jo)}})),checked:Ya}};const Qa=(po,no,Oo)=>{const{node:_o,checked:jo}=gi(po,no,Oo);return Mn?Mn(jo,no,Oo,_o):_o};if(!Ea.includes(di))if(Ea.findIndex(po=>{var no;return((no=po[xr])===null||no===void 0?void 0:no.columnType)==="EXPAND_COLUMN"})===0){const[po,...no]=Ea;Ea=[po,di].concat((0,aa.Z)(no))}else Ea=[di].concat((0,aa.Z)(Ea));const Gi=Ea.indexOf(di);Ea=Ea.filter((po,no)=>po!==di||no===Gi);const Yo=Ea[Gi-1],fi=Ea[Gi+1];let Mr=pn;Mr===void 0&&((fi==null?void 0:fi.fixed)!==void 0?Mr=fi.fixed:(Yo==null?void 0:Yo.fixed)!==void 0&&(Mr=Yo.fixed)),Mr&&Yo&&((wa=Yo[xr])===null||wa===void 0?void 0:wa.columnType)==="EXPAND_COLUMN"&&Yo.fixed===void 0&&(Yo.fixed=Mr);const Mo=Qe()(`${tr}-selection-col`,{[`${tr}-selection-col-with-dropdown`]:an&&$t==="checkbox"}),oA={fixed:Mr,width:Gt,className:`${tr}-selection-column`,title:Ke.columnTitle||ao,render:Qa,onCell:Ke.onCell,[xr]:{className:Mo}};return Ea.map(po=>po===di?oA:po)},[Jr,$r,Ke,Ua,wo,Za,Gt,_a,jr,Ha,Sa,xt,Qo,sa]),wo]},es=Be(89489),Qs=Be(59477),ws=Be(6848);const vA="ascend",hl="descend";function el(Le){return typeof Le.sorter=="object"&&typeof Le.sorter.multiple=="number"?Le.sorter.multiple:!1}function tl(Le){return typeof Le=="function"?Le:Le&&typeof Le=="object"&&Le.compare?Le.compare:!1}function pl(Le,Ke){return Ke?Le[Le.indexOf(Ke)+1]:Le[0]}function Rr(Le,Ke,tt){let st=[];function dt(Ct,jt){st.push({column:Ct,key:Hr(Ct,jt),multiplePriority:el(Ct),sortOrder:Ct.sortOrder})}return(Le||[]).forEach((Ct,jt)=>{const en=br(jt,tt);Ct.children?("sortOrder"in Ct&&dt(Ct,en),st=[].concat((0,aa.Z)(st),(0,aa.Z)(Rr(Ct.children,Ke,en)))):Ct.sorter&&("sortOrder"in Ct?dt(Ct,en):Ke&&Ct.defaultSortOrder&&st.push({column:Ct,key:Hr(Ct,en),multiplePriority:el(Ct),sortOrder:Ct.defaultSortOrder}))}),st}function Ta(Le,Ke,tt,st,dt,Ct,jt,en){return(Ke||[]).map((Je,ct)=>{const Et=br(ct,en);let xt=Je;if(xt.sorter){const Gt=xt.sortDirections||dt,$t=xt.showSorterTooltip===void 0?jt:xt.showSorterTooltip,an=Hr(xt,Et),pn=tt.find(jr=>{let{key:Jn}=jr;return Jn===an}),Mn=pn?pn.sortOrder:null,_n=pl(Gt,Mn);let Vn;if(Je.sortIcon)Vn=Je.sortIcon({sortOrder:Mn});else{const jr=Gt.includes(vA)&&he.createElement(Qs.Z,{className:Qe()(`${Le}-column-sorter-up`,{active:Mn===vA})}),Jn=Gt.includes(hl)&&he.createElement(es.Z,{className:Qe()(`${Le}-column-sorter-down`,{active:Mn===hl})});Vn=he.createElement("span",{className:Qe()(`${Le}-column-sorter`,{[`${Le}-column-sorter-full`]:!!(jr&&Jn)})},he.createElement("span",{className:`${Le}-column-sorter-inner`,"aria-hidden":"true"},jr,Jn))}const{cancelSort:tr,triggerAsc:Ir,triggerDesc:Rn}=Ct||{};let zt=tr;_n===hl?zt=Rn:_n===vA&&(zt=Ir);const Jr=typeof $t=="object"?$t:{title:zt};xt=Object.assign(Object.assign({},xt),{className:Qe()(xt.className,{[`${Le}-column-sort`]:Mn}),title:jr=>{const Jn=he.createElement("div",{className:`${Le}-column-sorters`},he.createElement("span",{className:`${Le}-column-title`},Or(Je.title,jr)),Vn);return $t?he.createElement(ws.Z,Object.assign({},Jr),Jn):Jn},onHeaderCell:jr=>{const Jn=Je.onHeaderCell&&Je.onHeaderCell(jr)||{},sr=Jn.onClick,lr=Jn.onKeyDown;Jn.onClick=Gr=>{st({column:Je,key:an,sortOrder:_n,multiplePriority:el(Je)}),sr==null||sr(Gr)},Jn.onKeyDown=Gr=>{Gr.keyCode===En.Z.ENTER&&(st({column:Je,key:an,sortOrder:_n,multiplePriority:el(Je)}),lr==null||lr(Gr))};const er=nn(Je.title,{}),vr=er==null?void 0:er.toString();return Mn?Jn["aria-sort"]=Mn==="ascend"?"ascending":"descending":Jn["aria-label"]=vr||"",Jn.className=Qe()(Jn.className,`${Le}-column-has-sorters`),Jn.tabIndex=0,Je.ellipsis&&(Jn.title=(er!=null?er:"").toString()),Jn}})}return"children"in xt&&(xt=Object.assign(Object.assign({},xt),{children:Ta(Le,xt.children,tt,st,dt,Ct,jt,Et)})),xt})}function mr(Le){const{column:Ke,sortOrder:tt}=Le;return{column:Ke,order:tt,field:Ke.dataIndex,columnKey:Ke.key}}function La(Le){const Ke=Le.filter(tt=>{let{sortOrder:st}=tt;return st}).map(mr);return Ke.length===0&&Le.length?Object.assign(Object.assign({},mr(Le[Le.length-1])),{column:void 0}):Ke.length<=1?Ke[0]||{}:Ke}function to(Le,Ke,tt){const st=Ke.slice().sort((jt,en)=>en.multiplePriority-jt.multiplePriority),dt=Le.slice(),Ct=st.filter(jt=>{let{column:{sorter:en},sortOrder:Je}=jt;return tl(en)&&Je});return Ct.length?dt.sort((jt,en)=>{for(let Je=0;Je{const en=jt[tt];return en?Object.assign(Object.assign({},jt),{[tt]:to(en,Ke,tt)}):jt}):dt}function Ki(Le){let{prefixCls:Ke,mergedColumns:tt,onSorterChange:st,sortDirections:dt,tableLocale:Ct,showSorterTooltip:jt}=Le;const[en,Je]=he.useState(Rr(tt,!0)),ct=he.useMemo(()=>{let an=!0;const pn=Rr(tt,!1);if(!pn.length)return en;const Mn=[];function _n(tr){an?Mn.push(tr):Mn.push(Object.assign(Object.assign({},tr),{sortOrder:null}))}let Vn=null;return pn.forEach(tr=>{Vn===null?(_n(tr),tr.sortOrder&&(tr.multiplePriority===!1?an=!1:Vn=!0)):(Vn&&tr.multiplePriority!==!1||(an=!1),_n(tr))}),Mn},[tt,en]),Et=he.useMemo(()=>{const an=ct.map(pn=>{let{column:Mn,sortOrder:_n}=pn;return{column:Mn,order:_n}});return{sortColumns:an,sortColumn:an[0]&&an[0].column,sortOrder:an[0]&&an[0].order}},[ct]);function xt(an){let pn;an.multiplePriority===!1||!ct.length||ct[0].multiplePriority===!1?pn=[an]:pn=[].concat((0,aa.Z)(ct.filter(Mn=>{let{key:_n}=Mn;return _n!==an.key})),[an]),Je(pn),st(La(pn),pn)}return[an=>Ta(Ke,an,ct,xt,dt,Ct,jt),ct,Et,()=>La(ct)]}function $i(Le,Ke){return Le.map(tt=>{const st=Object.assign({},tt);return st.title=Or(tt.title,Ke),"children"in st&&(st.children=$i(st.children,Ke)),st})}function ii(Le){return[he.useCallback(tt=>$i(tt,Le),[Le])]}var us=Ro((Le,Ke)=>{const{_renderTimes:tt}=Le,{_renderTimes:st}=Ke;return tt!==st}),cs=As((Le,Ke)=>{const{_renderTimes:tt}=Le,{_renderTimes:st}=Ke;return tt!==st}),BA=Be(64993),Co=Be(17313),ts=Be(83116),Eo=Be(37613),Li=Le=>{const{componentCls:Ke}=Le,tt=`${Le.lineWidth}px ${Le.lineType} ${Le.tableBorderColor}`,st=(dt,Ct,jt)=>({[`&${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 -${jt+Le.lineWidth}px`}}}}}});return{[`${Ke}-wrapper`]:{[`${Ke}${Ke}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ke}-title`]:{border:tt,borderBottom:0},[`> ${Ke}-container`]:{borderInlineStart:tt,borderTop:tt,[` > ${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:tt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:tt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ke}-cell-fix-right-first::after`]:{borderInlineEnd:tt}},"\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:tt,content:'""'}}}}}},[`&${Ke}-scroll-horizontal`]:{[`> ${Ke}-container > ${Ke}-body`]:{"> table > tbody":{[` > tr${Ke}-expanded-row, > tr${Ke}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},st("middle",Le.tablePaddingVerticalMiddle,Le.tablePaddingHorizontalMiddle)),st("small",Le.tablePaddingVerticalSmall,Le.tablePaddingHorizontalSmall)),{[`> ${Ke}-footer`]:{border:tt,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:tt}}}},Si=Le=>{const{componentCls:Ke}=Le;return{[`${Ke}-wrapper`]:{[`${Ke}-cell-ellipsis`]:Object.assign(Object.assign({},Co.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"}})}}},ds=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}}}}},Ei=Be(15969),gA=Le=>{const{componentCls:Ke,antCls:tt,controlInteractiveSize:st,motionDurationSlow:dt,lineWidth:Ct,paddingXS:jt,lineType:en,tableBorderColor:Je,tableExpandIconBg:ct,tableExpandColumnWidth:Et,borderRadius:xt,fontSize:Gt,fontSizeSM:$t,lineHeight:an,tablePaddingVertical:pn,tablePaddingHorizontal:Mn,tableExpandedRowBg:_n,paddingXXS:Vn}=Le,tr=st/2-Ct,Ir=tr*2+Ct*3,Rn=`${Ct}px ${en} ${Je}`,zt=Vn-Ct;return{[`${Ke}-wrapper`]:{[`${Ke}-expand-icon-col`]:{width:Et},[`${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,Ei.N)(Le)),{position:"relative",float:"left",boxSizing:"border-box",width:Ir,height:Ir,padding:0,color:"inherit",lineHeight:`${Ir}px`,background:ct,border:Rn,borderRadius:xt,transform:`scale(${st/Ir})`,transition:`all ${dt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${dt} ease-out`,content:'""'},"&::before":{top:tr,insetInlineEnd:zt,insetInlineStart:zt,height:Ct},"&::after":{top:zt,bottom:zt,insetInlineStart:tr,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:(Gt*an-Ct*3)/2-Math.ceil(($t*1.4-Ct*3)/2),marginInlineEnd:jt},[`tr${Ke}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:_n}},[`${tt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ke}-expanded-row-fixed`]:{position:"relative",margin:`-${pn}px -${Mn}px`,padding:`${pn}px ${Mn}px`}}}},ae=Le=>{const{componentCls:Ke,antCls:tt,iconCls:st,tableFilterDropdownWidth:dt,tableFilterDropdownSearchWidth:Ct,paddingXXS:jt,paddingXS:en,colorText:Je,lineWidth:ct,lineType:Et,tableBorderColor:xt,tableHeaderIconColor:Gt,fontSizeSM:$t,tablePaddingHorizontal:an,borderRadius:pn,motionDurationSlow:Mn,colorTextDescription:_n,colorPrimary:Vn,tableHeaderFilterActiveBg:tr,colorTextDisabled:Ir,tableFilterDropdownBg:Rn,tableFilterDropdownHeight:zt,controlItemBgHover:Jr,controlItemBgActive:jr,boxShadowSecondary:Jn,filterDropdownMenuBg:sr}=Le,lr=`${tt}-dropdown`,er=`${Ke}-filter-dropdown`,vr=`${tt}-tree`,Gr=`${ct}px ${Et} ${xt}`;return[{[`${Ke}-wrapper`]:{[`${Ke}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ke}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-jt,marginInline:`${jt}px ${-an/2}px`,padding:`0 ${jt}px`,color:Gt,fontSize:$t,borderRadius:pn,cursor:"pointer",transition:`all ${Mn}`,"&:hover":{color:_n,background:tr},"&.active":{color:Vn}}}},{[`${tt}-dropdown`]:{[er]:Object.assign(Object.assign({},(0,Co.Wf)(Le)),{minWidth:dt,backgroundColor:Rn,borderRadius:pn,boxShadow:Jn,overflow:"hidden",[`${lr}-menu`]:{maxHeight:zt,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:sr,"&:empty::after":{display:"block",padding:`${en}px 0`,color:Ir,fontSize:$t,textAlign:"center",content:'"Not Found"'}},[`${er}-tree`]:{paddingBlock:`${en}px 0`,paddingInline:en,[vr]:{padding:0},[`${vr}-treenode ${vr}-node-content-wrapper:hover`]:{backgroundColor:Jr},[`${vr}-treenode-checkbox-checked ${vr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:jr}}},[`${er}-search`]:{padding:en,borderBottom:Gr,"&-input":{input:{minWidth:Ct},[st]:{color:Ir}}},[`${er}-checkall`]:{width:"100%",marginBottom:jt,marginInlineStart:jt},[`${er}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${en-ct}px ${en}px`,overflow:"hidden",borderTop:Gr}})}},{[`${tt}-dropdown ${er}, ${er}-submenu`]:{[`${tt}-checkbox-wrapper + span`]:{paddingInlineStart:en,color:Je},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},re=Le=>{const{componentCls:Ke,lineWidth:tt,colorSplit:st,motionDurationSlow:dt,zIndexTableFixed:Ct,tableBg:jt,zIndexTableSticky:en}=Le,Je=st;return{[`${Ke}-wrapper`]:{[` ${Ke}-cell-fix-left, ${Ke}-cell-fix-right `]:{position:"sticky !important",zIndex:Ct,background:jt},[` ${Ke}-cell-fix-left-first::after, ${Ke}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-tt,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:-tt,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:en+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 ${Je}`}},[` ${Ke}-cell-fix-left-first::after, ${Ke}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Je}`},[`${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 ${Je}`}},[` ${Ke}-cell-fix-right-first::after, ${Ke}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Je}`}}}}},be=Le=>{const{componentCls:Ke,antCls:tt}=Le;return{[`${Ke}-wrapper`]:{[`${Ke}-pagination${tt}-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:tt}=Le;return{[`${Ke}-wrapper`]:{[Ke]:{[`${Ke}-title, ${Ke}-header`]:{borderRadius:`${tt}px ${tt}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:tt,borderStartEndRadius:tt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:tt},"> *:last-child":{borderStartEndRadius:tt}}},"&-footer":{borderRadius:`0 0 ${tt}px ${tt}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"}}}}},ht=Le=>{const{componentCls:Ke,antCls:tt,iconCls:st,fontSizeIcon:dt,padding:Ct,paddingXS:jt,tableHeaderIconColor:en,tableHeaderIconColorHover:Je,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+jt*2,[`&${Ke}-selection-col-with-dropdown`]:{width:ct+dt+Ct/4+jt*2}},[` table tr th${Ke}-selection-column, table tr td${Ke}-selection-column `]:{paddingInlineEnd:Le.paddingXS,paddingInlineStart:Le.paddingXS,textAlign:"center",[`${tt}-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`,[st]:{color:en,fontSize:dt,verticalAlign:"baseline","&:hover":{color:Je}}}}}},Ut=Le=>{const{componentCls:Ke}=Le,tt=(st,dt,Ct,jt)=>({[`${Ke}${Ke}-${st}`]:{fontSize:jt,[` ${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({},tt("middle",Le.tablePaddingVerticalMiddle,Le.tablePaddingHorizontalMiddle,Le.tableFontSizeMiddle)),tt("small",Le.tablePaddingVerticalSmall,Le.tablePaddingHorizontalSmall,Le.tableFontSizeSmall))}},on=Le=>{const{componentCls:Ke,marginXXS:tt,fontSizeIcon:st,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:tt,color:dt,fontSize:0,transition:`color ${Le.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:st,"&.active":{color:Le.colorPrimary}},[`${Ke}-column-sorter-up + ${Ke}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ke}-column-sorters:hover ${Ke}-column-sorter`]:{color:Ct}}}},sn=Le=>{const{componentCls:Ke,opacityLoading:tt,tableScrollThumbBg:st,tableScrollThumbBgHover:dt,tableScrollThumbSize:Ct,tableScrollBg:jt,zIndexTableSticky:en,stickyScrollBarBorderRadius:Je}=Le,ct=`${Le.lineWidth}px ${Le.lineType} ${Le.tableBorderColor}`;return{[`${Ke}-wrapper`]:{[`${Ke}-sticky`]:{"&-holder":{position:"sticky",zIndex:en,background:Le.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ct}px !important`,zIndex:en,display:"flex",alignItems:"center",background:jt,borderTop:ct,opacity:tt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ct,backgroundColor:st,borderRadius:Je,transition:`all ${Le.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:dt}}}}}}},ln=Le=>{const{componentCls:Ke,lineWidth:tt,tableBorderColor:st}=Le,dt=`${tt}px ${Le.lineType} ${st}`;return{[`${Ke}-wrapper`]:{[`${Ke}-summary`]:{position:"relative",zIndex:Le.zIndexTableFixed,background:Le.tableBg,"> tr":{"> th, > td":{borderBottom:dt}}},[`div${Ke}-summary`]:{boxShadow:`0 -${tt}px 0 ${st}`}}}},$n=Le=>{const{componentCls:Ke}=Le,tt=`${Le.lineWidth}px ${Le.lineType} ${Le.tableBorderColor}`,st=`${Ke}-expanded-row-cell`;return{[`${Ke}-wrapper`]:{[`${Ke}-tbody-virtual`]:{[`${Ke}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ke}-cell`]:{borderBottom:tt},[`${Ke}-expanded-row`]:{[`${st}${st}-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:tt,position:"absolute"},[`${Ke}-cell`]:{borderInlineEnd:tt,[`&${Ke}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Le.lineWidth,borderInlineStart:tt}}}}}}};const hr=Le=>{const{componentCls:Ke,fontWeightStrong:tt,tablePaddingVertical:st,tablePaddingHorizontal:dt,lineWidth:Ct,lineType:jt,tableBorderColor:en,tableFontSize:Je,tableBg:ct,tableRadius:Et,tableHeaderTextColor:xt,motionDurationMid:Gt,tableHeaderBg:$t,tableHeaderCellSplitColor:an,tableRowHoverBg:pn,tableSelectedRowBg:Mn,tableSelectedRowHoverBg:_n,tableFooterTextColor:Vn,tableFooterBg:tr,paddingContentVerticalLG:Ir}=Le,Rn=`${Ct}px ${jt} ${en}`;return{[`${Ke}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Co.dF)()),{[Ke]:Object.assign(Object.assign({},(0,Co.Wf)(Le)),{fontSize:Je,background:ct,borderRadius:`${Et}px ${Et}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Et}px ${Et}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:`${Ir}px ${dt}px`,overflowWrap:"break-word"},[`${Ke}-title`]:{padding:`${st}px ${dt}px`},[`${Ke}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:xt,fontWeight:tt,textAlign:"start",background:$t,borderBottom:Rn,transition:`background ${Gt} 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:an,transform:"translateY(-50%)",transition:`background-color ${Gt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ke}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Gt}, border-color ${Gt}`,borderBottom:Rn,[` > ${Ke}-wrapper:only-child, > ${Ke}-expanded-row-fixed > ${Ke}-wrapper:only-child `]:{[Ke]:{marginBlock:`-${st}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:xt,fontWeight:tt,textAlign:"start",background:$t,borderBottom:Rn,transition:`background ${Gt} 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:Mn},"&:hover > th, &:hover > td":{background:_n}}}},[`${Ke}-footer`]:{padding:`${st}px ${dt}px`,color:Vn,background:tr}})}};var Ur=(0,ts.Z)("Table",Le=>{const{colorTextHeading:Ke,colorSplit:tt,colorIcon:st,colorIconHover:dt,opacityLoading:Ct,colorBgContainer:jt,controlInteractiveSize:en,headerBg:Je,headerColor:ct,headerSortActiveBg:Et,headerSortHoverBg:xt,bodySortBg:Gt,rowHoverBg:$t,rowSelectedBg:an,rowSelectedHoverBg:pn,rowExpandedBg:Mn,cellPaddingBlock:_n,cellPaddingInline:Vn,cellPaddingBlockMD:tr,cellPaddingInlineMD:Ir,cellPaddingBlockSM:Rn,cellPaddingInlineSM:zt,borderColor:Jr,footerBg:jr,footerColor:Jn,headerBorderRadius:sr,cellFontSize:lr,cellFontSizeMD:er,cellFontSizeSM:vr,headerSplitColor:Gr,fixedHeaderSortActiveBg:ca,headerFilterHoverBg:Aa,filterDropdownBg:$r,expandIconBg:Sa,selectionColumnWidth:sa,stickyScrollBarBg:Ua}=Le,kr=new BA.C(st),wo=new BA.C(dt),Za=2,Ha=(0,Eo.TS)(Le,{tableFontSize:lr,tableBg:jt,tableRadius:sr,tablePaddingVertical:_n,tablePaddingHorizontal:Vn,tablePaddingVerticalMiddle:tr,tablePaddingHorizontalMiddle:Ir,tablePaddingVerticalSmall:Rn,tablePaddingHorizontalSmall:zt,tableBorderColor:Jr,tableHeaderTextColor:ct,tableHeaderBg:Je,tableFooterTextColor:Jn,tableFooterBg:jr,tableHeaderCellSplitColor:Gr,tableHeaderSortBg:Et,tableHeaderSortHoverBg:xt,tableHeaderIconColor:kr.clone().setAlpha(kr.getAlpha()*Ct).toRgbString(),tableHeaderIconColorHover:wo.clone().setAlpha(wo.getAlpha()*Ct).toRgbString(),tableBodySortBg:Gt,tableFixedHeaderSortActiveBg:ca,tableHeaderFilterActiveBg:Aa,tableFilterDropdownBg:$r,tableRowHoverBg:$t,tableSelectedRowBg:an,tableSelectedRowHoverBg:pn,zIndexTableFixed:Za,zIndexTableSticky:Za+1,tableFontSizeMiddle:er,tableFontSizeSmall:vr,tableSelectionColumnWidth:sa,tableExpandIconBg:Sa,tableExpandColumnWidth:en+2*Le.padding,tableExpandedRowBg:Mn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ua,tableScrollThumbBgHover:Ke,tableScrollBg:tt});return[hr(Ha),be(Ha),ln(Ha),on(Ha),ae(Ha),Li(Ha),Ie(Ha),gA(Ha),ln(Ha),ds(Ha),ht(Ha),re(Ha),sn(Ha),Si(Ha),Ut(Ha),_e(Ha),$n(Ha)]},Le=>{const{colorFillAlter:Ke,colorBgContainer:tt,colorTextHeading:st,colorFillSecondary:dt,colorFillContent:Ct,controlItemBgActive:jt,controlItemBgActiveHover:en,padding:Je,paddingSM:ct,paddingXS:Et,colorBorderSecondary:xt,borderRadiusLG:Gt,fontSize:$t,controlHeight:an,colorTextPlaceholder:pn}=Le,Mn=new BA.C(dt).onBackground(tt).toHexShortString(),_n=new BA.C(Ct).onBackground(tt).toHexShortString(),Vn=new BA.C(Ke).onBackground(tt).toHexShortString();return{headerBg:Vn,headerColor:st,headerSortActiveBg:Mn,headerSortHoverBg:_n,bodySortBg:Vn,rowHoverBg:Vn,rowSelectedBg:jt,rowSelectedHoverBg:en,rowExpandedBg:Ke,cellPaddingBlock:Je,cellPaddingInline:Je,cellPaddingBlockMD:ct,cellPaddingInlineMD:Et,cellPaddingBlockSM:Et,cellPaddingInlineSM:Et,borderColor:xt,headerBorderRadius:Gt,footerBg:Vn,footerColor:st,cellFontSize:$t,cellFontSizeMD:$t,cellFontSizeSM:$t,headerSplitColor:xt,fixedHeaderSortActiveBg:Mn,headerFilterHoverBg:Ct,filterDropdownMenuBg:tt,filterDropdownBg:tt,expandIconBg:tt,selectionColumnWidth:an,stickyScrollBarBg:pn,stickyScrollBarBorderRadius:100}});const nr=[],yn=(Le,Ke)=>{const{prefixCls:tt,className:st,rootClassName:dt,style:Ct,size:jt,bordered:en,dropdownPrefixCls:Je,dataSource:ct,pagination:Et,rowSelection:xt,rowKey:Gt="key",rowClassName:$t,columns:an,children:pn,childrenColumnName:Mn,onChange:_n,getPopupContainer:Vn,loading:tr,expandIcon:Ir,expandable:Rn,expandedRowRender:zt,expandIconColumnIndex:Jr,indentSize:jr,scroll:Jn,sortDirections:sr,locale:lr,showSorterTooltip:er=!0,virtual:vr}=Le,Gr=he.useMemo(()=>an||Cn(pn),[an,pn]),ca=he.useMemo(()=>Gr.some(vo=>vo.responsive),[Gr]),Aa=(0,ss.Z)(ca),$r=he.useMemo(()=>{const vo=new Set(Object.keys(Aa).filter(oo=>Aa[oo]));return Gr.filter(oo=>!oo.responsive||oo.responsive.some(Wi=>vo.has(Wi)))},[Gr,Aa]),Sa=(0,PA.Z)(Le,["className","style","columns"]),{locale:sa=Ln.Z,direction:Ua,table:kr,renderEmpty:wo,getPrefixCls:Za,getPopupContainer:Ha}=he.useContext(El.E_),Ao=(0,ys.Z)(jt),Ma=Object.assign(Object.assign({},sa.Table),lr),Qo=ct||nr,_a=Za("table",tt),zi=Za("dropdown",Je),Vr=Object.assign({childrenColumnName:Mn,expandIconColumnIndex:Jr},Rn),{childrenColumnName:wa="children"}=Vr,Ea=he.useMemo(()=>Qo.some(vo=>vo==null?void 0:vo[wa])?"nest":zt||Rn&&Rn.expandedRowRender?"row":null,[Qo]),ia={body:he.useRef()},ha=he.useMemo(()=>typeof Gt=="function"?Gt:vo=>vo==null?void 0:vo[Gt],[Gt]),[Xr]=ji(Qo,wa,ha),Ka={},Va=function(vo,oo){let Wi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ri,Zi,iA;const nA=Object.assign(Object.assign({},Ka),vo);Wi&&((ri=Ka.resetPagination)===null||ri===void 0||ri.call(Ka),!((Zi=nA.pagination)===null||Zi===void 0)&&Zi.current&&(nA.pagination.current=1),Et&&Et.onChange&&Et.onChange(1,(iA=nA.pagination)===null||iA===void 0?void 0:iA.pageSize)),Jn&&Jn.scrollToFirstRowOnChange!==!1&&ia.body.current&&(0,si.Z)(0,{getContainer:()=>ia.body.current}),_n==null||_n(nA.pagination,nA.filters,nA.sorter,{currentDataSource:WA(to(Qo,nA.sorterStates,wa),nA.filterStates),action:oo})},ao=(vo,oo)=>{Va({sorter:vo,sorterStates:oo},"sort",!1)},[gi,Qa,Gi,Yo]=Ki({prefixCls:_a,mergedColumns:$r,onSorterChange:ao,sortDirections:sr||["ascend","descend"],tableLocale:Ma,showSorterTooltip:er}),fi=he.useMemo(()=>to(Qo,Qa,wa),[Qo,Qa]);Ka.sorter=Yo(),Ka.sorterStates=Qa;const Mr=(vo,oo)=>{Va({filters:vo,filterStates:oo},"filter",!0)},[Mo,oA,po]=Pl({prefixCls:_a,locale:Ma,dropdownPrefixCls:zi,mergedColumns:$r,onFilterChange:Mr,getPopupContainer:Vn||Ha}),no=WA(fi,oA);Ka.filters=po,Ka.filterStates=oA;const Oo=he.useMemo(()=>{const vo={};return Object.keys(po).forEach(oo=>{po[oo]!==null&&(vo[oo]=po[oo])}),Object.assign(Object.assign({},Gi),{filters:vo})},[Gi,po]),[_o]=ii(Oo),jo=(vo,oo)=>{Va({pagination:Object.assign(Object.assign({},Ka.pagination),{current:vo,pageSize:oo})},"paginate")},[Ya,ui]=Gl(no.length,jo,Et);Ka.pagination=Et===!1?{}:Ho(Ya,Et),Ka.resetPagination=ui;const mi=he.useMemo(()=>{if(Et===!1||!Ya.pageSize)return no;const{current:vo=1,total:oo,pageSize:Wi=RA}=Ya;return no.lengthWi?no.slice((vo-1)*Wi,vo*Wi):no:no.slice((vo-1)*Wi,vo*Wi)},[!!Et,no,Ya&&Ya.current,Ya&&Ya.pageSize,Ya&&Ya.total]),[eA,_i]=Us({prefixCls:_a,data:no,pageData:mi,getRowKey:ha,getRecordByKey:Xr,expandType:Ea,childrenColumnName:wa,locale:Ma,getPopupContainer:Vn||Ha},xt),fA=(vo,oo,Wi)=>{let ri;return typeof $t=="function"?ri=Qe()($t(vo,oo,Wi)):ri=Qe()($t),Qe()({[`${_a}-row-selected`]:_i.has(ha(vo,oo))},ri)};Vr.__PARENT_RENDER_ICON__=Vr.expandIcon,Vr.expandIcon=Vr.expandIcon||Ir||dr(Ma),Ea==="nest"&&Vr.expandIconColumnIndex===void 0?Vr.expandIconColumnIndex=xt?1:0:Vr.expandIconColumnIndex>0&&xt&&(Vr.expandIconColumnIndex-=1),typeof Vr.indentSize!="number"&&(Vr.indentSize=typeof jr=="number"?jr:15);const gs=he.useCallback(vo=>_o(eA(Mo(gi(vo)))),[gi,Mo,eA]);let ZA,NA;if(Et!==!1&&(Ya!=null&&Ya.total)){let vo;Ya.size?vo=Ya.size:vo=Ao==="small"||Ao==="middle"?"small":void 0;const oo=Zi=>he.createElement(gn.Z,Object.assign({},Ya,{className:Qe()(`${_a}-pagination ${_a}-pagination-${Zi}`,Ya.className),size:vo})),Wi=Ua==="rtl"?"left":"right",{position:ri}=Ya;if(ri!==null&&Array.isArray(ri)){const Zi=ri.find(AA=>AA.includes("top")),iA=ri.find(AA=>AA.includes("bottom")),nA=ri.every(AA=>`${AA}`=="none");!Zi&&!iA&&!nA&&(NA=oo(Wi)),Zi&&(ZA=oo(Zi.toLowerCase().replace("top",""))),iA&&(NA=oo(iA.toLowerCase().replace("bottom","")))}else NA=oo(Wi)}let yA;typeof tr=="boolean"?yA={spinning:tr}:typeof tr=="object"&&(yA=Object.assign({spinning:!0},tr));const[tA,ci]=Ur(_a),[,ni]=(0,Hn.Z)(),fs=Qe()(`${_a}-wrapper`,kr==null?void 0:kr.className,{[`${_a}-wrapper-rtl`]:Ua==="rtl"},st,dt,ci),Cs=Object.assign(Object.assign({},kr==null?void 0:kr.style),Ct),Os=lr&&lr.emptyText||(wo==null?void 0:wo("Table"))||he.createElement(li.Z,{componentName:"Table"}),ns=vr?cs:us,_l={},vl=he.useMemo(()=>{const{fontSize:vo,lineHeight:oo,padding:Wi,paddingXS:ri,paddingSM:Zi}=ni,iA=Math.floor(vo*oo);switch(Ao){case"large":return Wi*2+iA;case"small":return ri*2+iA;default:return Zi*2+iA}},[ni,Ao]);return vr&&(_l.listItemHeight=vl),tA(he.createElement("div",{ref:Ke,className:fs,style:Cs},he.createElement(hn.Z,Object.assign({spinning:!1},yA),ZA,he.createElement(ns,Object.assign({},_l,Sa,{columns:$r,direction:Ua,expandable:Vr,prefixCls:_a,className:Qe()({[`${_a}-middle`]:Ao==="middle",[`${_a}-small`]:Ao==="small",[`${_a}-bordered`]:en,[`${_a}-empty`]:Qo.length===0}),data:mi,rowKey:ha,rowClassName:fA,emptyText:Os,internalHooks:we,internalRefs:ia,transformColumns:gs})),NA)))};var ir=he.forwardRef(yn);const wr=(Le,Ke)=>{const tt=he.useRef(0);return tt.current+=1,he.createElement(ir,Object.assign({},Le,{ref:Ke,_renderTimes:tt.current}))},Kt=he.forwardRef(wr);Kt.SELECTION_COLUMN=di,Kt.EXPAND_COLUMN=ue,Kt.SELECTION_ALL=LA,Kt.SELECTION_INVERT=KA,Kt.SELECTION_NONE=ai,Kt.Column=Xs,Kt.ColumnGroup=cl,Kt.Summary=Me;var Jt=Kt,Tn=Jt},17574:function(rn,Mt,Be){"use strict";Be.d(Mt,{default:function(){return Pt}});var ue=Be(79556),we=Be(95190),ze=Be(52671),At=Be(8657),Ze=Be(14809),Re=Be(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"},ve=he,De=Be(7657),ce=function(et,Xt){return Re.createElement(De.Z,(0,Ze.Z)({},et,{ref:Xt,icon:ve}))},Ne=Re.forwardRef(ce),Ee=Ne,Ce=Be(92310),oe=Be.n(Ce),y=Be(35654),a=Be(71430),E=Be(36355),b=Be(56082),x=Be(62892),z=Be(20648);const ne=4;function me(gt){const{dropPosition:et,dropLevelOffset:Xt,prefixCls:An,indent:bt,direction:qt="ltr"}=gt,wn=qt==="ltr"?"left":"right",zn=qt==="ltr"?"right":"left",fn={[wn]:-Xt*bt+ne,[zn]:0};switch(et){case-1:fn.top=-3;break;case 1:fn.bottom=-3;break;default:fn.bottom=-3,fn[wn]=bt+ne;break}return Re.createElement("div",{style:fn,className:`${An}-drop-indicator`})}var Ue=Be(71997),Te=Re.forwardRef((gt,et)=>{const{getPrefixCls:Xt,direction:An,virtual:bt,tree:qt}=Re.useContext(E.E_),{prefixCls:wn,className:zn,showIcon:fn=!1,showLine:qn,switcherIcon:It,blockNode:On=!1,children:rr,checkable:ke=!1,selectable:_t=!0,draggable:He,motion:pe,style:se}=gt,ye=Xt("tree",wn),qe=Xt(),pt=pe!=null?pe:Object.assign(Object.assign({},(0,x.Z)(qe)),{motionAppear:!1}),Me=Object.assign(Object.assign({},gt),{checkable:ke,selectable:_t,showIcon:fn,motion:pt,blockNode:On,showLine:!!qn,dropIndicatorRender:me}),[Xe,Ot]=(0,z.ZP)(ye),yt=Re.useMemo(()=>{if(!He)return!1;let Wt={};switch(typeof He){case"function":Wt.nodeDraggable=He;break;case"object":Wt=Object.assign({},He);break;default:break}return Wt.icon!==!1&&(Wt.icon=Wt.icon||Re.createElement(b.Z,null)),Wt},[He]),lt=Wt=>Re.createElement(Ue.Z,{prefixCls:ye,switcherIcon:It,treeNodeProps:Wt,showLine:qn});return Xe(Re.createElement(ue.Z,Object.assign({itemHeight:20,ref:et,virtual:bt},Me,{style:Object.assign(Object.assign({},qt==null?void 0:qt.style),se),prefixCls:ye,className:oe()({[`${ye}-icon-hide`]:!fn,[`${ye}-block-node`]:On,[`${ye}-unselectable`]:!_t,[`${ye}-rtl`]:An==="rtl"},qt==null?void 0:qt.className,zn,Ot),direction:An,checkable:ke&&Re.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:_t,switcherIcon:lt,draggable:yt}),rr))}),Ve;(function(gt){gt[gt.None=0]="None",gt[gt.Start=1]="Start",gt[gt.End=2]="End"})(Ve||(Ve={}));function Ye(gt,et){function Xt(An){const{key:bt,children:qt}=An;et(bt,An)!==!1&&Ye(qt||[],et)}gt.forEach(Xt)}function nt(gt){let{treeData:et,expandedKeys:Xt,startKey:An,endKey:bt}=gt;const qt=[];let wn=Ve.None;if(An&&An===bt)return[An];if(!An||!bt)return[];function zn(fn){return fn===An||fn===bt}return Ye(et,fn=>{if(wn===Ve.End)return!1;if(zn(fn)){if(qt.push(fn),wn===Ve.None)wn=Ve.Start;else if(wn===Ve.Start)return wn=Ve.End,!1}else wn===Ve.Start&&qt.push(fn);return Xt.includes(fn)}),qt}function Oe(gt,et){const Xt=(0,we.Z)(et),An=[];return Ye(gt,(bt,qt)=>{const wn=Xt.indexOf(bt);return wn!==-1&&(An.push(qt),Xt.splice(wn,1)),!!Xt.length}),An}var Ft=function(gt,et){var Xt={};for(var An in gt)Object.prototype.hasOwnProperty.call(gt,An)&&et.indexOf(An)<0&&(Xt[An]=gt[An]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,An=Object.getOwnPropertySymbols(gt);bt{var{defaultExpandAll:Xt,defaultExpandParent:An,defaultExpandedKeys:bt}=gt,qt=Ft(gt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const wn=Re.useRef(),zn=Re.useRef(),fn=()=>{const{keyEntities:yt}=(0,a.I8)(kt(qt));let lt;return Xt?lt=Object.keys(yt):An?lt=(0,y.r7)(qt.expandedKeys||bt||[],yt):lt=qt.expandedKeys||bt,lt},[qn,It]=Re.useState(qt.selectedKeys||qt.defaultSelectedKeys||[]),[On,rr]=Re.useState(()=>fn());Re.useEffect(()=>{"selectedKeys"in qt&&It(qt.selectedKeys)},[qt.selectedKeys]),Re.useEffect(()=>{"expandedKeys"in qt&&rr(qt.expandedKeys)},[qt.expandedKeys]);const ke=(yt,lt)=>{var Wt;return"expandedKeys"in qt||rr(yt),(Wt=qt.onExpand)===null||Wt===void 0?void 0:Wt.call(qt,yt,lt)},_t=(yt,lt)=>{var Wt;const{multiple:kn}=qt,{node:Qt,nativeEvent:dn}=lt,{key:Rt=""}=Qt,bn=kt(qt),tn=Object.assign(Object.assign({},lt),{selected:!0}),Ar=(dn==null?void 0:dn.ctrlKey)||(dn==null?void 0:dn.metaKey),Sr=dn==null?void 0:dn.shiftKey;let gr;kn&&Ar?(gr=yt,wn.current=Rt,zn.current=gr,tn.selectedNodes=Oe(bn,gr)):kn&&Sr?(gr=Array.from(new Set([].concat((0,we.Z)(zn.current||[]),(0,we.Z)(nt({treeData:bn,expandedKeys:On,startKey:Rt,endKey:wn.current}))))),tn.selectedNodes=Oe(bn,gr)):(gr=[Rt],wn.current=Rt,zn.current=gr,tn.selectedNodes=Oe(bn,gr)),(Wt=qt.onSelect)===null||Wt===void 0||Wt.call(qt,gr,tn),"selectedKeys"in qt||It(gr)},{getPrefixCls:He,direction:pe}=Re.useContext(E.E_),{prefixCls:se,className:ye,showIcon:qe=!0,expandAction:pt="click"}=qt,Me=Ft(qt,["prefixCls","className","showIcon","expandAction"]),Xe=He("tree",se),Ot=oe()(`${Xe}-directory`,{[`${Xe}-directory-rtl`]:pe==="rtl"},ye);return Re.createElement(Te,Object.assign({icon:Qe,ref:et,blockNode:!0},Me,{showIcon:qe,expandAction:pt,prefixCls:Xe,className:Ot,expandedKeys:On,selectedKeys:qn,onSelect:_t,onExpand:ke}))};var Nt=Re.forwardRef(ut);const mt=Te;mt.DirectoryTree=Nt,mt.TreeNode=ue.O;var Pt=mt},20648:function(rn,Mt,Be){"use strict";Be.d(Mt,{TM:function(){return Ce},Yk:function(){return Ee}});var ue=Be(36237),we=Be(98447),ze=Be(17313),At=Be(8378),Ze=Be(37613),Re=Be(83116);const he=new ue.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ve=(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:'""'}}}),ce=(oe,y)=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,titleHeight:x,nodeSelectedBg:z,nodeHoverBg:ne}=y,me=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({},ve(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:me},[`${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[ce(oe,x),Ne(x)]},Ce=oe=>{const{controlHeightSM:y}=oe;return{titleHeight:y,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};Mt.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({},Ce(oe)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(rn,Mt,Be){"use strict";Be.d(Mt,{Z:function(){return E}});var ue=Be(14809),we=Be(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=Be(7657),Re=function(x,z){return we.createElement(Ze.Z,(0,ue.Z)({},x,{ref:z,icon:At}))},he=we.forwardRef(Re),ve=he,De=Be(52671),ce=Be(58617),Ne=Be(15075),Ee=Be(43531),Ce=Be(92310),oe=Be.n(Ce),y=Be(92343),E=b=>{const{prefixCls:x,switcherIcon:z,treeNodeProps:ne,showLine:me}=b,{isLeaf:Ue,expanded:Pe,loading:Te}=ne;if(Te)return we.createElement(ce.Z,{className:`${x}-switcher-loading-icon`});let Ve;if(me&&typeof me=="object"&&(Ve=me.showLeafIcon),Ue){if(!me)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:me?Pe?we.createElement(Ne.Z,{className:`${x}-switcher-line-icon`}):we.createElement(Ee.Z,{className:`${x}-switcher-line-icon`}):we.createElement(ve,{className:Ye})}},86251:function(rn,Mt){"use strict";Mt.byteLength=he,Mt.toByteArray=De,Mt.fromByteArray=Ee;for(var Be=[],ue=[],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=Ce.indexOf("=");y===-1&&(y=oe);var a=y===oe?0:4-y%4;return[y,a]}function he(Ce){var oe=Re(Ce),y=oe[0],a=oe[1];return(y+a)*3/4-a}function ve(Ce,oe,y){return(oe+y)*3/4-y}function De(Ce){var oe,y=Re(Ce),a=y[0],E=y[1],b=new we(ve(Ce,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=ue[Ce.charCodeAt(ne)]<<2|ue[Ce.charCodeAt(ne+1)]>>4,b[x++]=oe&255),E===1&&(oe=ue[Ce.charCodeAt(ne)]<<10|ue[Ce.charCodeAt(ne+1)]<<4|ue[Ce.charCodeAt(ne+2)]>>2,b[x++]=oe>>8&255,b[x++]=oe&255),b}function ce(Ce){return Be[Ce>>18&63]+Be[Ce>>12&63]+Be[Ce>>6&63]+Be[Ce&63]}function Ne(Ce,oe,y){for(var a,E=[],b=oe;bz?z:x+b));return a===1?(oe=Ce[y-1],E.push(Be[oe>>2]+Be[oe<<4&63]+"==")):a===2&&(oe=(Ce[y-2]<<8)+Ce[y-1],E.push(Be[oe>>10]+Be[oe>>4&63]+Be[oe<<2&63]+"=")),E.join("")}},19208:function(rn,Mt,Be){"use strict";var ue;var we=Be(86251),ze=Be(67467),At=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mt.lW=ve,ue=x,Mt.h2=50;var Ze=2147483647;ue=Ze,ve.TYPED_ARRAY_SUPPORT=Re(),!ve.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),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(He,pe),He.foo()===42}catch(se){return!1}}Object.defineProperty(ve.prototype,"parent",{enumerable:!0,get:function(){if(ve.isBuffer(this))return this.buffer}}),Object.defineProperty(ve.prototype,"offset",{enumerable:!0,get:function(){if(ve.isBuffer(this))return this.byteOffset}});function he(He){if(He>Ze)throw new RangeError('The value "'+He+'" is invalid for option "size"');var pe=new Uint8Array(He);return Object.setPrototypeOf(pe,ve.prototype),pe}function ve(He,pe,se){if(typeof He=="number"){if(typeof pe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ee(He)}return De(He,pe,se)}ve.poolSize=8192;function De(He,pe,se){if(typeof He=="string")return Ce(He,pe);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(rr(He,ArrayBuffer)||He&&rr(He.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(rr(He,SharedArrayBuffer)||He&&rr(He.buffer,SharedArrayBuffer)))return a(He,pe,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 ve.from(ye,pe,se);var qe=E(He);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof He[Symbol.toPrimitive]=="function")return ve.from(He[Symbol.toPrimitive]("string"),pe,se);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof He)}ve.from=function(He,pe,se){return De(He,pe,se)},Object.setPrototypeOf(ve.prototype,Uint8Array.prototype),Object.setPrototypeOf(ve,Uint8Array);function ce(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,pe,se){return ce(He),He<=0?he(He):pe!==void 0?typeof se=="string"?he(He).fill(pe,se):he(He).fill(pe):he(He)}ve.alloc=function(He,pe,se){return Ne(He,pe,se)};function Ee(He){return ce(He),he(He<0?0:b(He)|0)}ve.allocUnsafe=function(He){return Ee(He)},ve.allocUnsafeSlow=function(He){return Ee(He)};function Ce(He,pe){if((typeof pe!="string"||pe==="")&&(pe="utf8"),!ve.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);var se=z(He,pe)|0,ye=he(se),qe=ye.write(He,pe);return qe!==se&&(ye=ye.slice(0,qe)),ye}function oe(He){for(var pe=He.length<0?0:b(He.length)|0,se=he(pe),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),ve.alloc(+He)}ve.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==ve.prototype},ve.compare=function(pe,se){if(rr(pe,Uint8Array)&&(pe=ve.from(pe,pe.offset,pe.byteLength)),rr(se,Uint8Array)&&(se=ve.from(se,se.offset,se.byteLength)),!ve.isBuffer(pe)||!ve.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(pe===se)return 0;for(var ye=pe.length,qe=se.length,pt=0,Me=Math.min(ye,qe);ptqe.length?ve.from(Me).copy(qe,pt):Uint8Array.prototype.set.call(qe,Me,pt);else if(ve.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,pe){if(ve.isBuffer(He))return He.length;if(ArrayBuffer.isView(He)||rr(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(pe){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return zn(He).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return It(He).length;default:if(qe)return ye?-1:zn(He).length;pe=(""+pe).toLowerCase(),qe=!0}}ve.byteLength=z;function ne(He,pe,se){var ye=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,pe>>>=0,se<=pe))return"";for(He||(He="utf8");;)switch(He){case"hex":return mt(this,pe,se);case"utf8":case"utf-8":return Qe(this,pe,se);case"ascii":return it(this,pe,se);case"latin1":case"binary":return Nt(this,pe,se);case"base64":return Ft(this,pe,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pt(this,pe,se);default:if(ye)throw new TypeError("Unknown encoding: "+He);He=(He+"").toLowerCase(),ye=!0}}ve.prototype._isBuffer=!0;function me(He,pe,se){var ye=He[pe];He[pe]=He[se],He[se]=ye}ve.prototype.swap16=function(){var pe=this.length;if(pe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;sese&&(pe+=" ... "),""},At&&(ve.prototype[At]=ve.prototype.inspect),ve.prototype.compare=function(pe,se,ye,qe,pt){if(rr(pe,Uint8Array)&&(pe=ve.from(pe,pe.offset,pe.byteLength)),!ve.isBuffer(pe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(se===void 0&&(se=0),ye===void 0&&(ye=pe?pe.length:0),qe===void 0&&(qe=0),pt===void 0&&(pt=this.length),se<0||ye>pe.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===pe)return 0;for(var Me=pt-qe,Xe=ye-se,Ot=Math.min(Me,Xe),yt=this.slice(qe,pt),lt=pe.slice(se,ye),Wt=0;Wt2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,ke(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 pe=="string"&&(pe=ve.from(pe,ye)),ve.isBuffer(pe))return pe.length===0?-1:Pe(He,pe,se,ye,qe);if(typeof pe=="number")return pe=pe&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(He,pe,se):Uint8Array.prototype.lastIndexOf.call(He,pe,se):Pe(He,[pe],se,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(He,pe,se,ye,qe){var pt=1,Me=He.length,Xe=pe.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(He.length<2||pe.length<2)return-1;pt=2,Me/=2,Xe/=2,se/=2}function Ot(Qt,dn){return pt===1?Qt[dn]:Qt.readUInt16BE(dn*pt)}var yt;if(qe){var lt=-1;for(yt=se;ytMe&&(se=Me-Xe),yt=se;yt>=0;yt--){for(var Wt=!0,kn=0;knqe&&(ye=qe)):ye=qe;var pt=pe.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),pe.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,pe,se,ye);case"utf8":case"utf-8":return Ve(this,pe,se,ye);case"ascii":case"latin1":case"binary":return Ye(this,pe,se,ye);case"base64":return nt(this,pe,se,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oe(this,pe,se,ye);default:if(Me)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Me=!0}},ve.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ft(He,pe,se){return pe===0&&se===He.length?we.fromByteArray(He):we.fromByteArray(He.slice(pe,se))}function Qe(He,pe,se){se=Math.min(He.length,se);for(var ye=[],qe=pe;qe239?4:pt>223?3:pt>191?2:1;if(qe+Xe<=se){var Ot,yt,lt,Wt;switch(Xe){case 1:pt<128&&(Me=pt);break;case 2:Ot=He[qe+1],(Ot&192)===128&&(Wt=(pt&31)<<6|Ot&63,Wt>127&&(Me=Wt));break;case 3:Ot=He[qe+1],yt=He[qe+2],(Ot&192)===128&&(yt&192)===128&&(Wt=(pt&15)<<12|(Ot&63)<<6|yt&63,Wt>2047&&(Wt<55296||Wt>57343)&&(Me=Wt));break;case 4:Ot=He[qe+1],yt=He[qe+2],lt=He[qe+3],(Ot&192)===128&&(yt&192)===128&&(lt&192)===128&&(Wt=(pt&15)<<18|(Ot&63)<<12|(yt&63)<<6|lt&63,Wt>65535&&Wt<1114112&&(Me=Wt))}}Me===null?(Me=65533,Xe=1):Me>65535&&(Me-=65536,ye.push(Me>>>10&1023|55296),Me=56320|Me&1023),ye.push(Me),qe+=Xe}return ut(ye)}var kt=4096;function ut(He){var pe=He.length;if(pe<=kt)return String.fromCharCode.apply(String,He);for(var se="",ye=0;yeye)&&(se=ye);for(var qe="",pt=pe;ptye&&(pe=ye),se<0?(se+=ye,se<0&&(se=0)):se>ye&&(se=ye),sese)throw new RangeError("Trying to access beyond buffer length")}ve.prototype.readUintLE=ve.prototype.readUIntLE=function(pe,se,ye){pe=pe>>>0,se=se>>>0,ye||gt(pe,se,this.length);for(var qe=this[pe],pt=1,Me=0;++Me>>0,se=se>>>0,ye||gt(pe,se,this.length);for(var qe=this[pe+--se],pt=1;se>0&&(pt*=256);)qe+=this[pe+--se]*pt;return qe},ve.prototype.readUint8=ve.prototype.readUInt8=function(pe,se){return pe=pe>>>0,se||gt(pe,1,this.length),this[pe]},ve.prototype.readUint16LE=ve.prototype.readUInt16LE=function(pe,se){return pe=pe>>>0,se||gt(pe,2,this.length),this[pe]|this[pe+1]<<8},ve.prototype.readUint16BE=ve.prototype.readUInt16BE=function(pe,se){return pe=pe>>>0,se||gt(pe,2,this.length),this[pe]<<8|this[pe+1]},ve.prototype.readUint32LE=ve.prototype.readUInt32LE=function(pe,se){return pe=pe>>>0,se||gt(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},ve.prototype.readUint32BE=ve.prototype.readUInt32BE=function(pe,se){return pe=pe>>>0,se||gt(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},ve.prototype.readIntLE=function(pe,se,ye){pe=pe>>>0,se=se>>>0,ye||gt(pe,se,this.length);for(var qe=this[pe],pt=1,Me=0;++Me=pt&&(qe-=Math.pow(2,8*se)),qe},ve.prototype.readIntBE=function(pe,se,ye){pe=pe>>>0,se=se>>>0,ye||gt(pe,se,this.length);for(var qe=se,pt=1,Me=this[pe+--qe];qe>0&&(pt*=256);)Me+=this[pe+--qe]*pt;return pt*=128,Me>=pt&&(Me-=Math.pow(2,8*se)),Me},ve.prototype.readInt8=function(pe,se){return pe=pe>>>0,se||gt(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},ve.prototype.readInt16LE=function(pe,se){pe=pe>>>0,se||gt(pe,2,this.length);var ye=this[pe]|this[pe+1]<<8;return ye&32768?ye|4294901760:ye},ve.prototype.readInt16BE=function(pe,se){pe=pe>>>0,se||gt(pe,2,this.length);var ye=this[pe+1]|this[pe]<<8;return ye&32768?ye|4294901760:ye},ve.prototype.readInt32LE=function(pe,se){return pe=pe>>>0,se||gt(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},ve.prototype.readInt32BE=function(pe,se){return pe=pe>>>0,se||gt(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},ve.prototype.readFloatLE=function(pe,se){return pe=pe>>>0,se||gt(pe,4,this.length),ze.read(this,pe,!0,23,4)},ve.prototype.readFloatBE=function(pe,se){return pe=pe>>>0,se||gt(pe,4,this.length),ze.read(this,pe,!1,23,4)},ve.prototype.readDoubleLE=function(pe,se){return pe=pe>>>0,se||gt(pe,8,this.length),ze.read(this,pe,!0,52,8)},ve.prototype.readDoubleBE=function(pe,se){return pe=pe>>>0,se||gt(pe,8,this.length),ze.read(this,pe,!1,52,8)};function et(He,pe,se,ye,qe,pt){if(!ve.isBuffer(He))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>qe||peHe.length)throw new RangeError("Index out of range")}ve.prototype.writeUintLE=ve.prototype.writeUIntLE=function(pe,se,ye,qe){if(pe=+pe,se=se>>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;et(this,pe,se,ye,pt,0)}var Me=1,Xe=0;for(this[se]=pe&255;++Xe>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;et(this,pe,se,ye,pt,0)}var Me=ye-1,Xe=1;for(this[se+Me]=pe&255;--Me>=0&&(Xe*=256);)this[se+Me]=pe/Xe&255;return se+ye},ve.prototype.writeUint8=ve.prototype.writeUInt8=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,1,255,0),this[se]=pe&255,se+1},ve.prototype.writeUint16LE=ve.prototype.writeUInt16LE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,2,65535,0),this[se]=pe&255,this[se+1]=pe>>>8,se+2},ve.prototype.writeUint16BE=ve.prototype.writeUInt16BE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,2,65535,0),this[se]=pe>>>8,this[se+1]=pe&255,se+2},ve.prototype.writeUint32LE=ve.prototype.writeUInt32LE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,4,4294967295,0),this[se+3]=pe>>>24,this[se+2]=pe>>>16,this[se+1]=pe>>>8,this[se]=pe&255,se+4},ve.prototype.writeUint32BE=ve.prototype.writeUInt32BE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,4,4294967295,0),this[se]=pe>>>24,this[se+1]=pe>>>16,this[se+2]=pe>>>8,this[se+3]=pe&255,se+4},ve.prototype.writeIntLE=function(pe,se,ye,qe){if(pe=+pe,se=se>>>0,!qe){var pt=Math.pow(2,8*ye-1);et(this,pe,se,ye,pt-1,-pt)}var Me=0,Xe=1,Ot=0;for(this[se]=pe&255;++Me>0)-Ot&255;return se+ye},ve.prototype.writeIntBE=function(pe,se,ye,qe){if(pe=+pe,se=se>>>0,!qe){var pt=Math.pow(2,8*ye-1);et(this,pe,se,ye,pt-1,-pt)}var Me=ye-1,Xe=1,Ot=0;for(this[se+Me]=pe&255;--Me>=0&&(Xe*=256);)pe<0&&Ot===0&&this[se+Me+1]!==0&&(Ot=1),this[se+Me]=(pe/Xe>>0)-Ot&255;return se+ye},ve.prototype.writeInt8=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,1,127,-128),pe<0&&(pe=255+pe+1),this[se]=pe&255,se+1},ve.prototype.writeInt16LE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,2,32767,-32768),this[se]=pe&255,this[se+1]=pe>>>8,se+2},ve.prototype.writeInt16BE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,2,32767,-32768),this[se]=pe>>>8,this[se+1]=pe&255,se+2},ve.prototype.writeInt32LE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,4,2147483647,-2147483648),this[se]=pe&255,this[se+1]=pe>>>8,this[se+2]=pe>>>16,this[se+3]=pe>>>24,se+4},ve.prototype.writeInt32BE=function(pe,se,ye){return pe=+pe,se=se>>>0,ye||et(this,pe,se,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[se]=pe>>>24,this[se+1]=pe>>>16,this[se+2]=pe>>>8,this[se+3]=pe&255,se+4};function Xt(He,pe,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 An(He,pe,se,ye,qe){return pe=+pe,se=se>>>0,qe||Xt(He,pe,se,4,34028234663852886e22,-34028234663852886e22),ze.write(He,pe,se,ye,23,4),se+4}ve.prototype.writeFloatLE=function(pe,se,ye){return An(this,pe,se,!0,ye)},ve.prototype.writeFloatBE=function(pe,se,ye){return An(this,pe,se,!1,ye)};function bt(He,pe,se,ye,qe){return pe=+pe,se=se>>>0,qe||Xt(He,pe,se,8,17976931348623157e292,-17976931348623157e292),ze.write(He,pe,se,ye,52,8),se+8}ve.prototype.writeDoubleLE=function(pe,se,ye){return bt(this,pe,se,!0,ye)},ve.prototype.writeDoubleBE=function(pe,se,ye){return bt(this,pe,se,!1,ye)},ve.prototype.copy=function(pe,se,ye,qe){if(!ve.isBuffer(pe))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),se>=pe.length&&(se=pe.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),pe.length-se>>0,ye=ye===void 0?this.length:ye>>>0,pe||(pe=0);var Me;if(typeof pe=="number")for(Me=se;Me55295&&se<57344){if(!qe){if(se>56319){(pe-=3)>-1&&pt.push(239,191,189);continue}else if(Me+1===ye){(pe-=3)>-1&&pt.push(239,191,189);continue}qe=se;continue}if(se<56320){(pe-=3)>-1&&pt.push(239,191,189),qe=se;continue}se=(qe-55296<<10|se-56320)+65536}else qe&&(pe-=3)>-1&&pt.push(239,191,189);if(qe=null,se<128){if((pe-=1)<0)break;pt.push(se)}else if(se<2048){if((pe-=2)<0)break;pt.push(se>>6|192,se&63|128)}else if(se<65536){if((pe-=3)<0)break;pt.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((pe-=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 fn(He){for(var pe=[],se=0;se>8,qe=se%256,pt.push(qe),pt.push(ye);return pt}function It(He){return we.toByteArray(wn(He))}function On(He,pe,se,ye){for(var qe=0;qe=pe.length||qe>=He.length);++qe)pe[qe+se]=He[qe];return qe}function rr(He,pe){return He instanceof pe||He!=null&&He.constructor!=null&&He.constructor.name!=null&&He.constructor.name===pe.name}function ke(He){return He!==He}var _t=function(){for(var He="0123456789abcdef",pe=new Array(256),se=0;se<16;++se)for(var ye=se*16,qe=0;qe<16;++qe)pe[ye+qe]=He[se]+He[qe];return pe}()},14625:function(rn){function Mt(ue){var we,ze,At="";if(typeof ue=="string"||typeof ue=="number")At+=ue;else if(typeof ue=="object")if(Array.isArray(ue)){var Ze=ue.length;for(we=0;we0&&at[at.length-1])&&(Un[0]===6||Un[0]===2)){ge=0;continue}if(Un[0]===3&&(!at||Un[1]>at[0]&&Un[1]=55296&&Ge<=56319&&ge>10)+55296,Lt%1024+56320)),(Ge+1===ge||de.length>16384)&&(at+=String.fromCharCode.apply(String,de),de.length=0)}return at},ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ne=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ee=0;Ee>4,Zn[Ge++]=(Lt&15)<<4|Vt>>2,Zn[Ge++]=(Vt&3)<<6|Yt&63;return Un},E=function(Ae){for(var ie=Ae.length,ge=[],de=0;de>x,Pe=1<>x,Ye=Ue+Ve,nt=Ye,Oe=32,Ft=nt+Oe,Qe=65536>>z,kt=1<=0){if(ie<55296||ie>56319&&ie<=65535)return ge=this.index[ie>>x],ge=(ge<>x)],ge=(ge<>z),ge=this.index[ge],ge+=ie>>x&ut,ge=this.index[ge],ge=(ge<bt?(Ge.push(!0),Vt-=bt):Ge.push(!1),["normal","auto","loose"].indexOf(ie)!==-1&&[8208,8211,12316,12448].indexOf(at)!==-1)return de.push(Lt),ge.push(qe);if(Vt===fn||Vt===_t){if(Lt===0)return de.push(Lt),ge.push(Ar);var Yt=ge[Lt-1];return bi.indexOf(Yt)===-1?(de.push(de[Lt-1]),ge.push(Yt)):(de.push(Lt),ge.push(Ar))}if(de.push(Lt),Vt===Sr)return ge.push(ie==="strict"?yt:ea);if(Vt===ga||Vt===tn)return ge.push(Ar);if(Vt===aa)return at>=131072&&at<=196605||at>=196608&&at<=262141?ge.push(ea):ge.push(Ar);ge.push(Vt)}),[de,ge,Ge]},Gn=function(Ae,ie,ge,de){var Ge=de[ge];if(Array.isArray(Ae)?Ae.indexOf(Ge)!==-1:Ae===Ge)for(var at=ge;at<=de.length;){at++;var Lt=de[at];if(Lt===ie)return!0;if(Lt!==ke)break}if(Ge===ke)for(var at=ge;at>0;){at--;var Vt=de[at];if(Array.isArray(Ae)?Ae.indexOf(Vt)!==-1:Ae===Vt)for(var Yt=ge;Yt<=de.length;){Yt++;var Lt=de[Yt];if(Lt===ie)return!0;if(Lt!==ke)break}if(Vt!==ke)break}return!1},Cn=function(Ae,ie){for(var ge=Ae;ge>=0;){var de=ie[ge];if(de===ke)ge--;else return de}return 0},Wr=function(Ae,ie,ge,de,Ge){if(ge[de]===0)return da;var at=de-1;if(Array.isArray(Ge)&&Ge[at]===!0)return da;var Lt=at-1,Vt=at+1,Yt=ie[at],Un=Lt>=0?ie[Lt]:0,Zn=ie[Vt];if(Yt===wn&&Zn===zn)return da;if(pi.indexOf(Yt)!==-1)return za;if(pi.indexOf(Zn)!==-1||Ni.indexOf(Zn)!==-1)return da;if(Cn(at,ie)===On)return Bn;if(wi.get(Ae[at])===_t||(Yt===gr||Yt===zr)&&wi.get(Ae[Vt])===_t||Yt===It||Zn===It||Yt===rr||[ke,pe,ye].indexOf(Yt)===-1&&Zn===rr||[pt,Me,Xe,kn,bn].indexOf(Zn)!==-1||Cn(at,ie)===lt||Gn(Wt,lt,at,ie)||Gn([pt,Me],yt,at,ie)||Gn(He,He,at,ie))return da;if(Yt===ke)return Bn;if(Yt===Wt||Zn===Wt)return da;if(Zn===qe||Yt===qe)return Bn;if([pe,ye,yt].indexOf(Zn)!==-1||Yt===se||Un===Qr&&ei.indexOf(Yt)!==-1||Yt===bn&&Zn===Qr||Zn===Ot||ro.indexOf(Zn)!==-1&&Yt===Qt||ro.indexOf(Yt)!==-1&&Zn===Qt||Yt===Rt&&[ea,gr,zr].indexOf(Zn)!==-1||[ea,gr,zr].indexOf(Yt)!==-1&&Zn===dn||ro.indexOf(Yt)!==-1&&xo.indexOf(Zn)!==-1||xo.indexOf(Yt)!==-1&&ro.indexOf(Zn)!==-1||[Rt,dn].indexOf(Yt)!==-1&&(Zn===Qt||[lt,ye].indexOf(Zn)!==-1&&ie[Vt+1]===Qt)||[lt,ye].indexOf(Yt)!==-1&&Zn===Qt||Yt===Qt&&[Qt,bn,kn].indexOf(Zn)!==-1)return da;if([Qt,bn,kn,pt,Me].indexOf(Zn)!==-1)for(var ee=at;ee>=0;){var le=ie[ee];if(le===Qt)return da;if([bn,kn].indexOf(le)!==-1)ee--;else break}if([Rt,dn].indexOf(Zn)!==-1)for(var ee=[pt,Me].indexOf(Yt)!==-1?Lt:at;ee>=0;){var le=ie[ee];if(le===Qt)return da;if([bn,kn].indexOf(le)!==-1)ee--;else break}if(xr===Yt&&[xr,_r,Nr,ma].indexOf(Zn)!==-1||[_r,Nr].indexOf(Yt)!==-1&&[_r,qr].indexOf(Zn)!==-1||[qr,ma].indexOf(Yt)!==-1&&Zn===qr||Jo.indexOf(Yt)!==-1&&[Ot,dn].indexOf(Zn)!==-1||Jo.indexOf(Zn)!==-1&&Yt===Rt||ro.indexOf(Yt)!==-1&&ro.indexOf(Zn)!==-1||Yt===kn&&ro.indexOf(Zn)!==-1||ro.concat(Qt).indexOf(Yt)!==-1&&Zn===lt&&Fo.indexOf(Ae[Vt])===-1||ro.concat(Qt).indexOf(Zn)!==-1&&Yt===Me)return da;if(Yt===Pa&&Zn===Pa){for(var xe=ge[at],We=1;xe>0&&(xe--,ie[xe]===Pa);)We++;if(We%2!==0)return da}return Yt===gr&&Zn===zr?da:Bn},ua=function(Ae,ie){ie||(ie={lineBreak:"normal",wordBreak:"normal"});var ge=Dn(Ae,ie.lineBreak),de=ge[0],Ge=ge[1],at=ge[2];(ie.wordBreak==="break-all"||ie.wordBreak==="break-word")&&(Ge=Ge.map(function(Vt){return[Qt,Ar,ga].indexOf(Vt)!==-1?ea:Vt}));var Lt=ie.wordBreak==="keep-all"?at.map(function(Vt,Yt){return Vt&&Ae[Yt]>=19968&&Ae[Yt]<=40959}):void 0;return[de,Ge,Lt]},Kr=function(){function Ae(ie,ge,de,Ge){this.codePoints=ie,this.required=ge===za,this.start=de,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 ge=ve(Ae),de=ua(ge,ie),Ge=de[0],at=de[1],Lt=de[2],Vt=ge.length,Yt=0,Un=0;return{next:function(){if(Un>=Vt)return{done:!0,value:null};for(var Zn=da;Un=xi&&Ae<=57},ys=function(Ae){return Ae>=55296&&Ae<=57343},ss=function(Ae){return li(Ae)||Ae>=qo&&Ae<=PA||Ae>=As&&Ae<=Js},Ln=function(Ae){return Ae>=As&&Ae<=Xs},gn=function(Ae){return Ae>=qo&&Ae<=El},hn=function(Ae){return Ln(Ae)||gn(Ae)},Hn=function(Ae){return Ae>=Oa},Wn=function(Ae){return Ae===Lr||Ae===Lo||Ae===No},dr=function(Ae){return hn(Ae)||Hn(Ae)||Ae===_A},Hr=function(Ae){return dr(Ae)||li(Ae)||Ae===Ui},br=function(Ae){return Ae>=kA&&Ae<=Bs||Ae===Ss||Ae>=HA&&Ae<=Bi||Ae===cn},Or=function(Ae,ie){return Ae!==Xo?!1:ie!==Lr},nn=function(Ae,ie,ge){return Ae===Ui?dr(ie)||Or(ie,ge):dr(Ae)?!0:!!(Ae===Xo&&Or(Ae,ie))},vn=function(Ae,ie,ge){return Ae===Ji||Ae===Ui?li(ie)?!0:ie===jA&&li(ge):li(Ae===jA?ie:Ae)},In=function(Ae){var ie=0,ge=1;(Ae[ie]===Ji||Ae[ie]===Ui)&&(Ae[ie]===Ui&&(ge=-1),ie++);for(var de=[];li(Ae[ie]);)de.push(Ae[ie++]);var Ge=de.length?parseInt(De.apply(void 0,de),10):0;Ae[ie]===jA&&ie++;for(var at=[];li(Ae[ie]);)at.push(Ae[ie++]);var Lt=at.length,Vt=Lt?parseInt(De.apply(void 0,at),10):0;(Ae[ie]===cl||Ae[ie]===Ys)&&ie++;var Yt=1;(Ae[ie]===Ji||Ae[ie]===Ui)&&(Ae[ie]===Ui&&(Yt=-1),ie++);for(var Un=[];li(Ae[ie]);)Un.push(Ae[ie++]);var Zn=Un.length?parseInt(De.apply(void 0,Un),10):0;return ge*(Ge+Vt*Math.pow(10,-Lt))*Math.pow(10,Yt*Zn)},Yn={type:2},Tr={type:3},ra={type:4},ar={type:13},Br={type:8},pr={type:21},Cr={type:9},Fr={type:10},cr={type:11},ta={type:12},Xa={type:14},uo={type:23},va={type:1},xa={type:25},qa={type:24},io={type:26},fo={type:27},xn={type:28},En={type:29},FA={type:31},na={type:32},Ba=function(){function Ae(){this._value=[]}return Ae.prototype.write=function(ie){this._value=this._value.concat(ve(ie))},Ae.prototype.read=function(){for(var ie=[],ge=this.consumeToken();ge!==na;)ie.push(ge),ge=this.consumeToken();return ie},Ae.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case so:return this.consumeStringToken(so);case Di:var ge=this.peekCodePoint(0),de=this.peekCodePoint(1),Ge=this.peekCodePoint(2);if(Hr(ge)||Or(de,Ge)){var at=nn(ge,de,Ge)?Na:ja,Lt=this.consumeName();return{type:5,value:Lt,flags:at}}break;case vi:if(this.peekCodePoint(0)===Ai)return this.consumeCodePoint(),ar;break;case Ci:return this.consumeStringToken(Ci);case Do:return Yn;case Yi:return Tr;case Uo:if(this.peekCodePoint(0)===Ai)return this.consumeCodePoint(),Xa;break;case Ji:if(vn(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Vs:return ra;case Ui:var Vt=ie,Yt=this.peekCodePoint(0),Un=this.peekCodePoint(1);if(vn(Vt,Yt,Un))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(nn(Vt,Yt,Un))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(Yt===Ui&&Un===$A)return this.consumeCodePoint(),this.consumeCodePoint(),qa;break;case jA:if(vn(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Ra:if(this.peekCodePoint(0)===Uo)for(this.consumeCodePoint();;){var Zn=this.consumeCodePoint();if(Zn===Uo&&(Zn=this.consumeCodePoint(),Zn===Ra))return this.consumeToken();if(Zn===Go)return this.consumeToken()}break;case vs:return io;case aA:return fo;case Cl:if(this.peekCodePoint(0)===Dr&&this.peekCodePoint(1)===Ui&&this.peekCodePoint(2)===Ui)return this.consumeCodePoint(),this.consumeCodePoint(),xa;break;case Zs:var ee=this.peekCodePoint(0),le=this.peekCodePoint(1),xe=this.peekCodePoint(2);if(nn(ee,le,xe)){var Lt=this.consumeName();return{type:7,value:Lt}}break;case TA:return xn;case Xo:if(Or(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case Yr:return En;case Da:if(this.peekCodePoint(0)===Ai)return this.consumeCodePoint(),Br;break;case lo:return cr;case Ro:return ta;case EA:case si:var We=this.peekCodePoint(0),ot=this.peekCodePoint(1);return We===Ji&&(ss(ot)||ot===ya)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case Ga:if(this.peekCodePoint(0)===Ai)return this.consumeCodePoint(),Cr;if(this.peekCodePoint(0)===Ga)return this.consumeCodePoint(),pr;break;case Ca:if(this.peekCodePoint(0)===Ai)return this.consumeCodePoint(),Fr;break;case Go:return na}return Wn(ie)?(this.consumeWhiteSpace(),FA):li(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):dr(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=[],ge=this.consumeCodePoint();ss(ge)&&ie.length<6;)ie.push(ge),ge=this.consumeCodePoint();for(var de=!1;ge===ya&&ie.length<6;)ie.push(ge),ge=this.consumeCodePoint(),de=!0;if(de){var Ge=parseInt(De.apply(void 0,ie.map(function(Yt){return Yt===ya?xi:Yt})),16),at=parseInt(De.apply(void 0,ie.map(function(Yt){return Yt===ya?PA:Yt})),16);return{type:30,start:Ge,end:at}}var Lt=parseInt(De.apply(void 0,ie),16);if(this.peekCodePoint(0)===Ui&&ss(this.peekCodePoint(1))){this.consumeCodePoint(),ge=this.consumeCodePoint();for(var Vt=[];ss(ge)&&Vt.length<6;)Vt.push(ge),ge=this.consumeCodePoint();var at=parseInt(De.apply(void 0,Vt),16);return{type:30,start:Lt,end:at}}else return{type:30,start:Lt,end:Lt}},Ae.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===Do?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Do?(this.consumeCodePoint(),{type:19,value:ie}):{type:20,value:ie}},Ae.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Go)return{type:22,value:""};var ge=this.peekCodePoint(0);if(ge===Ci||ge===so){var de=this.consumeStringToken(this.consumeCodePoint());return de.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Go||this.peekCodePoint(0)===Yi)?(this.consumeCodePoint(),{type:22,value:de.value}):(this.consumeBadUrlRemnants(),uo)}for(;;){var Ge=this.consumeCodePoint();if(Ge===Go||Ge===Yi)return{type:22,value:De.apply(void 0,ie)};if(Wn(Ge))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Go||this.peekCodePoint(0)===Yi?(this.consumeCodePoint(),{type:22,value:De.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),uo);if(Ge===so||Ge===Ci||Ge===Do||br(Ge))return this.consumeBadUrlRemnants(),uo;if(Ge===Xo)if(Or(Ge,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),uo;else ie.push(Ge)}},Ae.prototype.consumeWhiteSpace=function(){for(;Wn(this.peekCodePoint(0));)this.consumeCodePoint()},Ae.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===Yi||ie===Go)return;Or(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ae.prototype.consumeStringSlice=function(ie){for(var ge=5e4,de="";ie>0;){var Ge=Math.min(ge,ie);de+=De.apply(void 0,this._value.splice(0,Ge)),ie-=Ge}return this._value.shift(),de},Ae.prototype.consumeStringToken=function(ie){var ge="",de=0;do{var Ge=this._value[de];if(Ge===Go||Ge===void 0||Ge===ie)return ge+=this.consumeStringSlice(de),{type:0,value:ge};if(Ge===Lr)return this._value.splice(0,de),va;if(Ge===Xo){var at=this._value[de+1];at!==Go&&at!==void 0&&(at===Lr?(ge+=this.consumeStringSlice(de),de=-1,this._value.shift()):Or(Ge,at)&&(ge+=this.consumeStringSlice(de),ge+=De(this.consumeEscapedCodePoint()),de=-1))}de++}while(!0)},Ae.prototype.consumeNumber=function(){var ie=[],ge=Wa,de=this.peekCodePoint(0);for((de===Ji||de===Ui)&&ie.push(this.consumeCodePoint());li(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());de=this.peekCodePoint(0);var Ge=this.peekCodePoint(1);if(de===jA&&li(Ge))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),ge=ti;li(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());de=this.peekCodePoint(0),Ge=this.peekCodePoint(1);var at=this.peekCodePoint(2);if((de===cl||de===Ys)&&((Ge===Ji||Ge===Ui)&&li(at)||li(Ge)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),ge=ti;li(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[In(ie),ge]},Ae.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),ge=ie[0],de=ie[1],Ge=this.peekCodePoint(0),at=this.peekCodePoint(1),Lt=this.peekCodePoint(2);if(nn(Ge,at,Lt)){var Vt=this.consumeName();return{type:15,number:ge,flags:de,unit:Vt}}return Ge===rA?(this.consumeCodePoint(),{type:16,number:ge,flags:de}):{type:17,number:ge,flags:de}},Ae.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(ss(ie)){for(var ge=De(ie);ss(this.peekCodePoint(0))&&ge.length<6;)ge+=De(this.consumeCodePoint());Wn(this.peekCodePoint(0))&&this.consumeCodePoint();var de=parseInt(ge,16);return de===0||ys(de)||de>1114111?Qi:de}return ie===Go?Qi:ie},Ae.prototype.consumeName=function(){for(var ie="";;){var ge=this.consumeCodePoint();if(Hr(ge))ie+=De(ge);else if(Or(ge,this.peekCodePoint(0)))ie+=De(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ge),ie}},Ae}(),$a=function(){function Ae(ie){this._tokens=ie}return Ae.create=function(ie){var ge=new Ba;return ge.write(ie),new Ae(ge.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 ge=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===31);if(ie.type===32)return ge;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ae.prototype.parseComponentValues=function(){for(var ie=[];;){var ge=this.consumeComponentValue();if(ge.type===32)return ie;ie.push(ge),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 ge={type:ie,values:[]},de=this.consumeToken();;){if(de.type===32||WA(de,ie))return ge;this.reconsumeToken(de),ge.values.push(this.consumeComponentValue()),de=this.consumeToken()}},Ae.prototype.consumeFunction=function(ie){for(var ge={name:ie.value,values:[],type:18};;){var de=this.consumeToken();if(de.type===32||de.type===3)return ge;this.reconsumeToken(de),ge.values.push(this.consumeComponentValue())}},Ae.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?na:ie},Ae.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},Ae}(),Io=function(Ae){return Ae.type===15},co=function(Ae){return Ae.type===17},ka=function(Ae){return Ae.type===20},oi=function(Ae){return Ae.type===0},Xi=function(Ae,ie){return ka(Ae)&&Ae.value===ie},Ri=function(Ae){return Ae.type!==31},qi=function(Ae){return Ae.type!==31&&Ae.type!==4},Oi=function(Ae){var ie=[],ge=[];return Ae.forEach(function(de){if(de.type===4){if(ge.length===0)throw new Error("Error parsing function args, zero tokens for arg");ie.push(ge),ge=[];return}de.type!==31&&ge.push(de)}),ge.length&&ie.push(ge),ie},WA=function(Ae,ie){return ie===11&&Ae.type===12||ie===28&&Ae.type===29?!0:ie===2&&Ae.type===3},Ti=function(Ae){return Ae.type===17||Ae.type===15},oa=function(Ae){return Ae.type===16||Ti(Ae)},Pl=function(Ae){return Ae.length>1?[Ae[0],Ae[1]]:[Ae[0]]},ji={type:17,number:0,flags:Wa},qs={type:16,number:50,flags:Wa},xA={type:16,number:100,flags:Wa},RA=function(Ae,ie,ge){var de=Ae[0],Ge=Ae[1];return[Ho(de,ie),Ho(typeof Ge!="undefined"?Ge:de,ge)]},Ho=function(Ae,ie){if(Ae.type===16)return Ae.number/100*ie;if(Io(Ae))switch(Ae.unit){case"rem":case"em":return 16*Ae.number;case"px":default:return Ae.number}return Ae.number},dl="deg",Gl="grad",gl="rad",fl="turn",Ds={name:"angle",parse:function(Ae,ie){if(ie.type===15)switch(ie.unit){case dl:return Math.PI*ie.number/180;case Gl:return Math.PI/200*ie.number;case gl:return ie.number;case fl:return Math.PI*2*ie.number}throw new Error("Unsupported angle type")}},ls=function(Ae){return Ae.type===15&&(Ae.unit===dl||Ae.unit===Gl||Ae.unit===gl||Ae.unit===fl)},MA=function(Ae){var ie=Ae.filter(ka).map(function(ge){return ge.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 di(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ji,xA];case"to right":case"left":return di(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[xA,xA];case"to bottom":case"top":return di(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[xA,ji];case"to left":case"right":return di(270)}return 0},di=function(Ae){return Math.PI*Ae/180},LA={name:"color",parse:function(Ae,ie){if(ie.type===18){var ge=Qs[ie.name];if(typeof ge=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ie.name+'"');return ge(Ae,ie.values)}if(ie.type===5){if(ie.value.length===3){var de=ie.value.substring(0,1),Ge=ie.value.substring(1,2),at=ie.value.substring(2,3);return Mi(parseInt(de+de,16),parseInt(Ge+Ge,16),parseInt(at+at,16),1)}if(ie.value.length===4){var de=ie.value.substring(0,1),Ge=ie.value.substring(1,2),at=ie.value.substring(2,3),Lt=ie.value.substring(3,4);return Mi(parseInt(de+de,16),parseInt(Ge+Ge,16),parseInt(at+at,16),parseInt(Lt+Lt,16)/255)}if(ie.value.length===6){var de=ie.value.substring(0,2),Ge=ie.value.substring(2,4),at=ie.value.substring(4,6);return Mi(parseInt(de,16),parseInt(Ge,16),parseInt(at,16),1)}if(ie.value.length===8){var de=ie.value.substring(0,2),Ge=ie.value.substring(2,4),at=ie.value.substring(4,6),Lt=ie.value.substring(6,8);return Mi(parseInt(de,16),parseInt(Ge,16),parseInt(at,16),parseInt(Lt,16)/255)}}if(ie.type===20){var Vt=vA[ie.value.toUpperCase()];if(typeof Vt!="undefined")return Vt}return vA.TRANSPARENT}},KA=function(Ae){return(255&Ae)===0},ai=function(Ae){var ie=255&Ae,ge=255&Ae>>8,de=255&Ae>>16,Ge=255&Ae>>24;return ie<255?"rgba("+Ge+","+de+","+ge+","+ie/255+")":"rgb("+Ge+","+de+","+ge+")"},Mi=function(Ae,ie,ge,de){return(Ae<<24|ie<<16|ge<<8|Math.round(de*255)<<0)>>>0},$s=function(Ae,ie){if(Ae.type===17)return Ae.number;if(Ae.type===16){var ge=ie===3?1:255;return ie===3?Ae.number/100*ge:Math.round(Ae.number/100*ge)}return 0},ml=function(Ae,ie){var ge=ie.filter(qi);if(ge.length===3){var de=ge.map($s),Ge=de[0],at=de[1],Lt=de[2];return Mi(Ge,at,Lt,1)}if(ge.length===4){var Vt=ge.map($s),Ge=Vt[0],at=Vt[1],Lt=Vt[2],Yt=Vt[3];return Mi(Ge,at,Lt,Yt)}return 0};function Us(Ae,ie,ge){return ge<0&&(ge+=1),ge>=1&&(ge-=1),ge<1/6?(ie-Ae)*ge*6+Ae:ge<1/2?ie:ge<2/3?(ie-Ae)*6*(2/3-ge)+Ae:Ae}var es=function(Ae,ie){var ge=ie.filter(qi),de=ge[0],Ge=ge[1],at=ge[2],Lt=ge[3],Vt=(de.type===17?di(de.number):Ds.parse(Ae,de))/(Math.PI*2),Yt=oa(Ge)?Ge.number/100:0,Un=oa(at)?at.number/100:0,Zn=typeof Lt!="undefined"&&oa(Lt)?Ho(Lt,1):1;if(Yt===0)return Mi(Un*255,Un*255,Un*255,1);var ee=Un<=.5?Un*(Yt+1):Un+Yt-Un*Yt,le=Un*2-ee,xe=Us(le,ee,Vt+1/3),We=Us(le,ee,Vt),ot=Us(le,ee,Vt-1/3);return Mi(xe*255,We*255,ot*255,Zn)},Qs={hsl:es,hsla:es,rgb:ml,rgba:ml},ws=function(Ae,ie){return LA.parse(Ae,$a.create(ie).parseComponentValue())},vA={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},hl={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(ge){if(ka(ge))switch(ge.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},el={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},tl=function(Ae,ie){var ge=LA.parse(Ae,ie[0]),de=ie[1];return de&&oa(de)?{color:ge,stop:de}:{color:ge,stop:null}},pl=function(Ae,ie){var ge=Ae[0],de=Ae[Ae.length-1];ge.stop===null&&(ge.stop=ji),de.stop===null&&(de.stop=xA);for(var Ge=[],at=0,Lt=0;Ltat?Ge.push(Yt):Ge.push(at),at=Yt}else Ge.push(null)}for(var Un=null,Lt=0;LtLt.optimumDistance)?{optimumCorner:Vt,optimumDistance:Zn}:Lt},{optimumDistance:Ge?1/0:-1/0,optimumCorner:null}).optimumCorner},to=function(Ae,ie,ge,de,Ge){var at=0,Lt=0;switch(Ae.size){case 0:Ae.shape===0?at=Lt=Math.min(Math.abs(ie),Math.abs(ie-de),Math.abs(ge),Math.abs(ge-Ge)):Ae.shape===1&&(at=Math.min(Math.abs(ie),Math.abs(ie-de)),Lt=Math.min(Math.abs(ge),Math.abs(ge-Ge)));break;case 2:if(Ae.shape===0)at=Lt=Math.min(mr(ie,ge),mr(ie,ge-Ge),mr(ie-de,ge),mr(ie-de,ge-Ge));else if(Ae.shape===1){var Vt=Math.min(Math.abs(ge),Math.abs(ge-Ge))/Math.min(Math.abs(ie),Math.abs(ie-de)),Yt=La(de,Ge,ie,ge,!0),Un=Yt[0],Zn=Yt[1];at=mr(Un-ie,(Zn-ge)/Vt),Lt=Vt*at}break;case 1:Ae.shape===0?at=Lt=Math.max(Math.abs(ie),Math.abs(ie-de),Math.abs(ge),Math.abs(ge-Ge)):Ae.shape===1&&(at=Math.max(Math.abs(ie),Math.abs(ie-de)),Lt=Math.max(Math.abs(ge),Math.abs(ge-Ge)));break;case 3:if(Ae.shape===0)at=Lt=Math.max(mr(ie,ge),mr(ie,ge-Ge),mr(ie-de,ge),mr(ie-de,ge-Ge));else if(Ae.shape===1){var Vt=Math.max(Math.abs(ge),Math.abs(ge-Ge))/Math.max(Math.abs(ie),Math.abs(ie-de)),ee=La(de,Ge,ie,ge,!1),Un=ee[0],Zn=ee[1];at=mr(Un-ie,(Zn-ge)/Vt),Lt=Vt*at}break}return Array.isArray(Ae.size)&&(at=Ho(Ae.size[0],de),Lt=Ae.size.length===2?Ho(Ae.size[1],Ge):at),[at,Lt]},Ki=function(Ae,ie){var ge=di(180),de=[];return Oi(ie).forEach(function(Ge,at){if(at===0){var Lt=Ge[0];if(Lt.type===20&&Lt.value==="to"){ge=MA(Ge);return}else if(ls(Lt)){ge=Ds.parse(Ae,Lt);return}}var Vt=tl(Ae,Ge);de.push(Vt)}),{angle:ge,stops:de,type:1}},$i=function(Ae,ie){var ge=di(180),de=[];return Oi(ie).forEach(function(Ge,at){if(at===0){var Lt=Ge[0];if(Lt.type===20&&["top","left","right","bottom"].indexOf(Lt.value)!==-1){ge=MA(Ge);return}else if(ls(Lt)){ge=(Ds.parse(Ae,Lt)+di(270))%di(360);return}}var Vt=tl(Ae,Ge);de.push(Vt)}),{angle:ge,stops:de,type:1}},ii=function(Ae,ie){var ge=di(180),de=[],Ge=1,at=0,Lt=3,Vt=[];return Oi(ie).forEach(function(Yt,Un){var Zn=Yt[0];if(Un===0){if(ka(Zn)&&Zn.value==="linear"){Ge=1;return}else if(ka(Zn)&&Zn.value==="radial"){Ge=2;return}}if(Zn.type===18){if(Zn.name==="from"){var ee=LA.parse(Ae,Zn.values[0]);de.push({stop:ji,color:ee})}else if(Zn.name==="to"){var ee=LA.parse(Ae,Zn.values[0]);de.push({stop:xA,color:ee})}else if(Zn.name==="color-stop"){var le=Zn.values.filter(qi);if(le.length===2){var ee=LA.parse(Ae,le[1]),xe=le[0];co(xe)&&de.push({stop:{type:16,number:xe.number*100,flags:xe.flags},color:ee})}}}}),Ge===1?{angle:(ge+di(180))%di(360),stops:de,type:Ge}:{size:Lt,shape:at,stops:de,position:Vt,type:Ge}},us="closest-side",cs="farthest-side",BA="closest-corner",Co="farthest-corner",ts="circle",Eo="ellipse",dA="cover",Li="contain",IA=function(Ae,ie){var ge=0,de=3,Ge=[],at=[];return Oi(ie).forEach(function(Lt,Vt){var Yt=!0;if(Vt===0){var Un=!1;Yt=Lt.reduce(function(ee,le){if(Un)if(ka(le))switch(le.value){case"center":return at.push(qs),ee;case"top":case"left":return at.push(ji),ee;case"right":case"bottom":return at.push(xA),ee}else(oa(le)||Ti(le))&&at.push(le);else if(ka(le))switch(le.value){case ts:return ge=0,!1;case Eo:return ge=1,!1;case"at":return Un=!0,!1;case us:return de=0,!1;case dA:case cs:return de=1,!1;case Li:case BA:return de=2,!1;case Co:return de=3,!1}else if(Ti(le)||oa(le))return Array.isArray(de)||(de=[]),de.push(le),!1;return ee},Yt)}if(Yt){var Zn=tl(Ae,Lt);Ge.push(Zn)}}),{size:de,shape:ge,stops:Ge,position:at,type:2}},Si=function(Ae,ie){var ge=0,de=3,Ge=[],at=[];return Oi(ie).forEach(function(Lt,Vt){var Yt=!0;if(Vt===0?Yt=Lt.reduce(function(Zn,ee){if(ka(ee))switch(ee.value){case"center":return at.push(qs),!1;case"top":case"left":return at.push(ji),!1;case"right":case"bottom":return at.push(xA),!1}else if(oa(ee)||Ti(ee))return at.push(ee),!1;return Zn},Yt):Vt===1&&(Yt=Lt.reduce(function(Zn,ee){if(ka(ee))switch(ee.value){case ts:return ge=0,!1;case Eo:return ge=1,!1;case Li:case us:return de=0,!1;case cs:return de=1,!1;case BA:return de=2,!1;case dA:case Co:return de=3,!1}else if(Ti(ee)||oa(ee))return Array.isArray(de)||(de=[]),de.push(ee),!1;return Zn},Yt)),Yt){var Un=tl(Ae,Lt);Ge.push(Un)}}),{size:de,shape:ge,stops:Ge,position:at,type:2}},bs=function(Ae){return Ae.type===1},ds=function(Ae){return Ae.type===2},Ei={name:"image",parse:function(Ae,ie){if(ie.type===22){var ge={url:ie.value,type:0};return Ae.cache.addImage(ie.value),ge}if(ie.type===18){var de=gA[ie.name];if(typeof de=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ie.name+'"');return de(Ae,ie.values)}throw new Error("Unsupported image type "+ie.type)}};function SA(Ae){return!(Ae.type===20&&Ae.value==="none")&&(Ae.type!==18||!!gA[Ae.name])}var gA={"linear-gradient":Ki,"-moz-linear-gradient":$i,"-ms-linear-gradient":$i,"-o-linear-gradient":$i,"-webkit-linear-gradient":$i,"radial-gradient":IA,"-moz-radial-gradient":Si,"-ms-radial-gradient":Si,"-o-radial-gradient":Si,"-webkit-radial-gradient":Si,"-webkit-gradient":ii},zA={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){if(ie.length===0)return[];var ge=ie[0];return ge.type===20&&ge.value==="none"?[]:ie.filter(function(de){return qi(de)&&SA(de)}).map(function(de){return Ei.parse(Ae,de)})}},ae={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(ge){if(ka(ge))switch(ge.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 Oi(ie).map(function(ge){return ge.filter(oa)}).map(Pl)}},re={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ae,ie){return Oi(ie).map(function(ge){return ge.filter(ka).map(function(de){return de.value}).join(" ")}).map(fe)}},fe=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}},be;(function(Ae){Ae.AUTO="auto",Ae.CONTAIN="contain",Ae.COVER="cover"})(be||(be={}));var Se={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ae,ie){return Oi(ie).map(function(ge){return ge.filter(Ie)})}},Ie=function(Ae){return ka(Ae)||oa(Ae)},je=function(Ae){return{name:"border-"+Ae+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},_e=je("top"),rt=je("right"),ht=je("bottom"),vt=je("left"),Ut=function(Ae){return{name:"border-radius-"+Ae,initialValue:"0 0",prefix:!1,type:1,parse:function(ie,ge){return Pl(ge.filter(oa))}}},$e=Ut("top-left"),on=Ut("top-right"),Zt=Ut("bottom-right"),sn=Ut("bottom-left"),Tt=function(Ae){return{name:"border-"+Ae+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ie,ge){switch(ge){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},ln=Tt("top"),jn=Tt("right"),$n=Tt("bottom"),hr=Tt("left"),Ur=function(Ae){return{name:"border-"+Ae+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ie,ge){return Io(ge)?ge.number:0}}},nr=Ur("top"),yn=Ur("right"),ir=Ur("bottom"),wr=Ur("left"),Kt={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}}},Tn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(ka).reduce(function(ge,de){return ge|Le(de.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}},tt={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}},st;(function(Ae){Ae.NORMAL="normal",Ae.STRICT="strict"})(st||(st={}));var dt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"strict":return st.STRICT;case"normal":default:return st.NORMAL}}},Ct={name:"line-height",initialValue:"normal",prefix:!1,type:4},jt=function(Ae,ie){return ka(Ae)&&Ae.value==="normal"?1.2*ie:Ae.type===17?ie*Ae.number:oa(Ae)?Ho(Ae,ie):ie},en={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ae,ie){return ie.type===20&&ie.value==="none"?null:Ei.parse(Ae,ie)}},Je={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}}},Et=function(Ae){return{name:"margin-"+Ae,initialValue:"0",prefix:!1,type:4}},xt=Et("top"),Gt=Et("right"),$t=Et("bottom"),an=Et("left"),pn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(ka).map(function(ge){switch(ge.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Mn={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"}}},_n=function(Ae){return{name:"padding-"+Ae,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Vn=_n("top"),tr=_n("right"),Ir=_n("bottom"),Rn=_n("left"),zt={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}}},Jr={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}},jr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){return ie.length===1&&Xi(ie[0],"none")?[]:Oi(ie).map(function(ge){for(var de={color:vA.TRANSPARENT,offsetX:ji,offsetY:ji,blur:ji},Ge=0,at=0;at1?1:0],this.overflowWrap=Mr(ie,Mn,ge.overflowWrap),this.paddingTop=Mr(ie,Vn,ge.paddingTop),this.paddingRight=Mr(ie,tr,ge.paddingRight),this.paddingBottom=Mr(ie,Ir,ge.paddingBottom),this.paddingLeft=Mr(ie,Rn,ge.paddingLeft),this.paintOrder=Mr(ie,ao,ge.paintOrder),this.position=Mr(ie,Jr,ge.position),this.textAlign=Mr(ie,zt,ge.textAlign),this.textDecorationColor=Mr(ie,Za,(de=ge.textDecorationColor)!==null&&de!==void 0?de:ge.color),this.textDecorationLine=Mr(ie,Ha,(Ge=ge.textDecorationLine)!==null&&Ge!==void 0?Ge:ge.textDecoration),this.textShadow=Mr(ie,jr,ge.textShadow),this.textTransform=Mr(ie,Jn,ge.textTransform),this.transform=Mr(ie,sr,ge.transform),this.transformOrigin=Mr(ie,Aa,ge.transformOrigin),this.visibility=Mr(ie,$r,ge.visibility),this.webkitTextStrokeColor=Mr(ie,gi,ge.webkitTextStrokeColor),this.webkitTextStrokeWidth=Mr(ie,Qa,ge.webkitTextStrokeWidth),this.wordBreak=Mr(ie,sa,ge.wordBreak),this.zIndex=Mr(ie,Ua,ge.zIndex)}return Ae.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ae.prototype.isTransparent=function(){return KA(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 Vr(this.display,4)||Vr(this.display,33554432)||Vr(this.display,268435456)||Vr(this.display,536870912)||Vr(this.display,67108864)||Vr(this.display,134217728)},Ae}(),Yo=function(){function Ae(ie,ge){this.content=Mr(ie,wa,ge.content),this.quotes=Mr(ie,Xr,ge.quotes)}return Ae}(),fi=function(){function Ae(ie,ge){this.counterIncrement=Mr(ie,Ea,ge.counterIncrement),this.counterReset=Mr(ie,ia,ge.counterReset)}return Ae}(),Mr=function(Ae,ie,ge){var de=new Ba,Ge=ge!==null&&typeof ge!="undefined"?ge.toString():ie.initialValue;de.write(Ge);var at=new $a(de.read());switch(ie.type){case 2:var Lt=at.parseComponentValue();return ie.parse(Ae,ka(Lt)?Lt.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 Ds.parse(Ae,at.parseComponentValue());case"color":return LA.parse(Ae,at.parseComponentValue());case"image":return Ei.parse(Ae,at.parseComponentValue());case"length":var Vt=at.parseComponentValue();return Ti(Vt)?Vt:ji;case"length-percentage":var Yt=at.parseComponentValue();return oa(Yt)?Yt:ji;case"time":return kr.parse(Ae,at.parseComponentValue())}break}},Mo="data-html2canvas-debug",oA=function(Ae){var ie=Ae.getAttribute(Mo);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 ge=oA(Ae);return ge===1||ie===ge},no=function(){function Ae(ie,ge){if(this.context=ie,this.textNodes=[],this.elements=[],this.flags=0,po(ge,3))debugger;this.styles=new Gi(ie,window.getComputedStyle(ge,null)),yr(ge)&&(this.styles.animationDuration.some(function(de){return de>0})&&(ge.style.animationDuration="0s"),this.styles.transform!==null&&(ge.style.transform="none")),this.bounds=Re(this.context,ge),po(ge,4)&&(this.flags|=16)}return Ae}(),Oo="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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QFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFig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AOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",_o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jo=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ya=0;Ya<_o.length;Ya++)jo[_o.charCodeAt(Ya)]=Ya;for(var ui=function(Ae){var ie=Ae.length*.75,ge=Ae.length,de,Ge=0,at,Lt,Vt,Yt;Ae[Ae.length-1]==="="&&(ie--,Ae[Ae.length-2]==="="&&ie--);var Un=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ie):new Array(ie),Zn=Array.isArray(Un)?Un:new Uint8Array(Un);for(de=0;de>4,Zn[Ge++]=(Lt&15)<<4|Vt>>2,Zn[Ge++]=(Vt&3)<<6|Yt&63;return Un},mi=function(Ae){for(var ie=Ae.length,ge=[],de=0;de>_i,yA=1<<_i,tA=yA-1,ci=1024>>_i,ni=NA+ci,fs=ni,Cs=32,Os=fs+Cs,ns=65536>>fA,_l=1<=0){if(ie<55296||ie>56319&&ie<=65535)return ge=this.index[ie>>_i],ge=(ge<>_i)],ge=(ge<>fA),ge=this.index[ge],ge+=ie>>_i&vl,ge=this.index[ge],ge=(ge<=55296&&Ge<=56319&&ge>10)+55296,Lt%1024+56320)),(Ge+1===ge||de.length>16384)&&(at+=String.fromCharCode.apply(String,de),de.length=0)}return at},Il=Wi(Oo),UA="\xD7",mA="\xF7",Ju=function(Ae){return Il.get(Ae)},xu=function(Ae,ie,ge){var de=ge-2,Ge=ie[de],at=ie[ge-1],Lt=ie[ge];if(at===nl&&Lt===DA)return UA;if(at===nl||at===DA||at===Fl||Lt===nl||Lt===DA||Lt===Fl)return mA;if(at===Bl&&[Bl,Ts,Pu,Ll].indexOf(Lt)!==-1||(at===Pu||at===Ts)&&(Lt===Ts||Lt===xl)||(at===Ll||at===xl)&&Lt===xl||Lt===Fu||Lt===ou||Lt===Eu||at===AA)return UA;if(at===Fu&&Lt===iu){for(;Ge===ou;)Ge=ie[--de];if(Ge===iu)return UA}if(at===Sl&&Lt===Sl){for(var Vt=0;Ge===Sl;)Vt++,Ge=ie[--de];if(Vt%2===0)return UA}return mA},mo=function(Ae){var ie=js(Ae),ge=ie.length,de=0,Ge=0,at=ie.map(Ju);return{next:function(){if(de>=ge)return{done:!0,value:null};for(var Lt=UA;deLt.x||Zn.y>Lt.y;return Lt=Zn,Un===0?!0:ee});return Ae.body.removeChild(ie),Vt},su=function(){return typeof new Image().crossOrigin!="undefined"},lu=function(){return typeof new XMLHttpRequest().responseType=="string"},Nl=function(Ae){var ie=new Image,ge=Ae.createElement("canvas"),de=ge.getContext("2d");if(!de)return!1;ie.src="data:image/svg+xml,";try{de.drawImage(ie,0,0),ge.toDataURL()}catch(Ge){return!1}return!0},Dl=function(Ae){return Ae[0]===0&&Ae[1]===255&&Ae[2]===0&&Ae[3]===255},Xu=function(Ae){var ie=Ae.createElement("canvas"),ge=100;ie.width=ge,ie.height=ge;var de=ie.getContext("2d");if(!de)return Promise.reject(!1);de.fillStyle="rgb(0, 255, 0)",de.fillRect(0,0,ge,ge);var Ge=new Image,at=ie.toDataURL();Ge.src=at;var Lt=Vl(ge,ge,0,0,Ge);return de.fillStyle="red",de.fillRect(0,0,ge,ge),Yl(Lt).then(function(Vt){de.drawImage(Vt,0,0);var Yt=de.getImageData(0,0,ge,ge).data;de.fillStyle="red",de.fillRect(0,0,ge,ge);var Un=Ae.createElement("div");return Un.style.backgroundImage="url("+at+")",Un.style.height=ge+"px",Dl(Yt)?Yl(Vl(ge,ge,0,0,Un)):Promise.reject(!1)}).then(function(Vt){return de.drawImage(Vt,0,0),Dl(de.getImageData(0,0,ge,ge).data)}).catch(function(){return!1})},Vl=function(Ae,ie,ge,de,Ge){var at="http://www.w3.org/2000/svg",Lt=document.createElementNS(at,"svg"),Vt=document.createElementNS(at,"foreignObject");return Lt.setAttributeNS(null,"width",Ae.toString()),Lt.setAttributeNS(null,"height",ie.toString()),Vt.setAttributeNS(null,"width","100%"),Vt.setAttributeNS(null,"height","100%"),Vt.setAttributeNS(null,"x",ge.toString()),Vt.setAttributeNS(null,"y",de.toString()),Vt.setAttributeNS(null,"externalResourcesRequired","true"),Lt.appendChild(Vt),Vt.appendChild(Ge),Lt},Yl=function(Ae){return new Promise(function(ie,ge){var de=new Image;de.onload=function(){return ie(de)},de.onerror=ge,de.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ae))})},ki={get SUPPORT_RANGE_BOUNDS(){var Ae=Au(document);return Object.defineProperty(ki,"SUPPORT_RANGE_BOUNDS",{value:Ae}),Ae},get SUPPORT_WORD_BREAKING(){var Ae=ki.SUPPORT_RANGE_BOUNDS&&ms(document);return Object.defineProperty(ki,"SUPPORT_WORD_BREAKING",{value:Ae}),Ae},get SUPPORT_SVG_DRAWING(){var Ae=Nl(document);return Object.defineProperty(ki,"SUPPORT_SVG_DRAWING",{value:Ae}),Ae},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ae=typeof Array.from=="function"&&typeof window.fetch=="function"?Xu(document):Promise.resolve(!1);return Object.defineProperty(ki,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ae}),Ae},get SUPPORT_CORS_IMAGES(){var Ae=su();return Object.defineProperty(ki,"SUPPORT_CORS_IMAGES",{value:Ae}),Ae},get SUPPORT_RESPONSE_TYPE(){var Ae=lu();return Object.defineProperty(ki,"SUPPORT_RESPONSE_TYPE",{value:Ae}),Ae},get SUPPORT_CORS_XHR(){var Ae="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ki,"SUPPORT_CORS_XHR",{value:Ae}),Ae},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ae=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(ki,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ae}),Ae}},rs=function(){function Ae(ie,ge){this.text=ie,this.bounds=ge}return Ae}(),rl=function(Ae,ie,ge,de){var Ge=Es(ie,ge),at=[],Lt=0;return Ge.forEach(function(Vt){if(ge.textDecorationLine.length||Vt.trim().length>0)if(ki.SUPPORT_RANGE_BOUNDS){var Yt=Bo(de,Lt,Vt.length).getClientRects();if(Yt.length>1){var Un=Ko(Vt),Zn=0;Un.forEach(function(le){at.push(new rs(le,Ze.fromDOMRectList(Ae,Bo(de,Zn+Lt,le.length).getClientRects()))),Zn+=le.length})}else at.push(new rs(Vt,Ze.fromDOMRectList(Ae,Yt)))}else{var ee=de.splitText(Vt.length);at.push(new rs(Vt,qu(Ae,de))),de=ee}else ki.SUPPORT_RANGE_BOUNDS||(de=de.splitText(Vt.length));Lt+=Vt.length}),at},qu=function(Ae,ie){var ge=ie.ownerDocument;if(ge){var de=ge.createElement("html2canvaswrapper");de.appendChild(ie.cloneNode(!0));var Ge=ie.parentNode;if(Ge){Ge.replaceChild(de,ie);var at=Re(Ae,de);return de.firstChild&&Ge.replaceChild(de.firstChild,de),at}}return Ze.EMPTY},Bo=function(Ae,ie,ge){var de=Ae.ownerDocument;if(!de)throw new Error("Node has no owner document");var Ge=de.createRange();return Ge.setStart(Ae,ie),Ge.setEnd(Ae,ie+ge),Ge},Ko=function(Ae){if(ki.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ie=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ie.segment(Ae)).map(function(ge){return ge.segment})}return Zl(Ae)},wA=function(Ae,ie){if(ki.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ge=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ge.segment(Ae)).map(function(de){return de.segment})}return uu(Ae,ie)},Es=function(Ae,ie){return ie.letterSpacing!==0?Ko(Ae):wA(Ae,ie)},Ps=[32,160,4961,65792,65793,4153,4241],uu=function(Ae,ie){for(var ge=Fa(Ae,{lineBreak:ie.lineBreak,wordBreak:ie.overflowWrap==="break-word"?"break-word":ie.wordBreak}),de=[],Ge,at=function(){if(Ge.value){var Lt=Ge.value.slice(),Vt=ve(Lt),Yt="";Vt.forEach(function(Un){Ps.indexOf(Un)===-1?Yt+=De(Un):(Yt.length&&de.push(Yt),de.push(De(Un)),Yt="")}),Yt.length&&de.push(Yt)}};!(Ge=ge.next()).done;)at();return de},Jl=function(){function Ae(ie,ge,de){this.text=hs(ge.data,de.textTransform),this.textBounds=rl(ie,this.text,de,ge)}return Ae}(),hs=function(Ae,ie){switch(ie){case 1:return Ae.toLowerCase();case 3:return Ae.replace(Fs,cu);case 2:return Ae.toUpperCase();default:return Ae}},Fs=/(^|\s|:|-|\(|\))([a-z])/g,cu=function(Ae,ie,ge){return Ae.length>0?ie+ge.toUpperCase():Ae},Ul=function(Ae){Be(ie,Ae);function ie(ge,de){var Ge=Ae.call(this,ge,de)||this;return Ge.src=de.currentSrc||de.src,Ge.intrinsicWidth=de.naturalWidth,Ge.intrinsicHeight=de.naturalHeight,Ge.context.cache.addImage(Ge.src),Ge}return ie}(no),ks=function(Ae){Be(ie,Ae);function ie(ge,de){var Ge=Ae.call(this,ge,de)||this;return Ge.canvas=de,Ge.intrinsicWidth=de.width,Ge.intrinsicHeight=de.height,Ge}return ie}(no),Lu=function(Ae){Be(ie,Ae);function ie(ge,de){var Ge=Ae.call(this,ge,de)||this,at=new XMLSerializer,Lt=Re(ge,de);return de.setAttribute("width",Lt.width+"px"),de.setAttribute("height",Lt.height+"px"),Ge.svg="data:image/svg+xml,"+encodeURIComponent(at.serializeToString(de)),Ge.intrinsicWidth=de.width.baseVal.value,Ge.intrinsicHeight=de.height.baseVal.value,Ge.context.cache.addImage(Ge.svg),Ge}return ie}(no),Xl=function(Ae){Be(ie,Ae);function ie(ge,de){var Ge=Ae.call(this,ge,de)||this;return Ge.value=de.value,Ge}return ie}(no),$u=function(Ae){Be(ie,Ae);function ie(ge,de){var Ge=Ae.call(this,ge,de)||this;return Ge.start=de.start,Ge.reversed=typeof de.reversed=="boolean"&&de.reversed===!0,Ge}return ie}(no),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)ge.textNodes.push(new Jl(Ae,Ge,ge.styles));else if(Xn(Ge))if(Qu(Ge)&&Ge.assignedNodes)Ge.assignedNodes().forEach(function(Vt){return al(Ae,Vt,ge,de)});else{var Lt=Uu(Ae,Ge);Lt.styles.isVisible()&&(St(Ge,Lt,de)?Lt.flags|=4:un(Lt.styles)&&(Lt.flags|=2),rc.indexOf(Ge.tagName)!==-1&&(Lt.flags|=8),ge.elements.push(Lt),Ge.slot,Ge.shadowRoot?al(Ae,Ge.shadowRoot,Lt,de):!Ls(Ge)&&!Wo(Ge)&&!fu(Ge)&&al(Ae,Ge,Lt,de))}},Uu=function(Ae,ie){return QA(ie)?new Ul(Ae,ie):Vi(ie)?new ks(Ae,ie):Wo(ie)?new Lu(Ae,ie):Ia(ie)?new Xl(Ae,ie):eo(ie)?new $u(Ae,ie):bo(ie)?new Du(Ae,ie):fu(ie)?new dc(Ae,ie):Ls(ie)?new gu(Ae,ie):bA(ie)?new ql(Ae,ie):new no(Ae,ie)},Fe=function(Ae,ie){var ge=Uu(Ae,ie);return ge.flags|=4,al(Ae,ie,ge,ge),ge},St=function(Ae,ie,ge){return ie.styles.isPositionedWithZIndex()||ie.styles.opacity<1||ie.styles.isTransformed()||Ii(Ae)&&ge.styles.isTransparent()},un=function(Ae){return Ae.isPositioned()||Ae.isFloating()},Nn=function(Ae){return Ae.nodeType===Node.TEXT_NODE},Xn=function(Ae){return Ae.nodeType===Node.ELEMENT_NODE},yr=function(Ae){return Xn(Ae)&&typeof Ae.style!="undefined"&&!Zr(Ae)},Zr=function(Ae){return typeof Ae.className=="object"},Ia=function(Ae){return Ae.tagName==="LI"},eo=function(Ae){return Ae.tagName==="OL"},bo=function(Ae){return Ae.tagName==="INPUT"},So=function(Ae){return Ae.tagName==="HTML"},Wo=function(Ae){return Ae.tagName==="svg"},Ii=function(Ae){return Ae.tagName==="BODY"},Vi=function(Ae){return Ae.tagName==="CANVAS"},sA=function(Ae){return Ae.tagName==="VIDEO"},QA=function(Ae){return Ae.tagName==="IMG"},bA=function(Ae){return Ae.tagName==="IFRAME"},Hs=function(Ae){return Ae.tagName==="STYLE"},xs=function(Ae){return Ae.tagName==="SCRIPT"},Ls=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 ge=this.counters[ie];return ge&&ge.length?ge[ge.length-1]:1},Ae.prototype.getCounterValues=function(ie){var ge=this.counters[ie];return ge||[]},Ae.prototype.pop=function(ie){var ge=this;ie.forEach(function(de){return ge.counters[de].pop()})},Ae.prototype.parse=function(ie){var ge=this,de=ie.counterIncrement,Ge=ie.counterReset,at=!0;de!==null&&de.forEach(function(Vt){var Yt=ge.counters[Vt.counter];Yt&&Vt.increment!==0&&(at=!1,Yt.length||Yt.push(1),Yt[Math.max(0,Yt.length-1)]+=Vt.increment)});var Lt=[];return at&&Ge.forEach(function(Vt){var Yt=ge.counters[Vt.counter];Lt.push(Vt.counter),Yt||(Yt=ge.counters[Vt.counter]=[]),Yt.push(Vt.reset)}),Lt},Ae}(),ju={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"]},ku={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"]},GA={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"]},ol=function(Ae,ie,ge,de,Ge,at){return Aege?Al(Ae,Ge,at.length>0):de.integers.reduce(function(Lt,Vt,Yt){for(;Ae>=Vt;)Ae-=Vt,Lt+=de.values[Yt];return Lt},"")+at},mu=function(Ae,ie,ge,de){var Ge="";do ge||Ae--,Ge=de(Ae)+Ge,Ae/=ie;while(Ae*ie>=ie);return Ge},Pi=function(Ae,ie,ge,de,Ge){var at=ge-ie+1;return(Ae<0?"-":"")+(mu(Math.abs(Ae),at,de,function(Lt){return De(Math.floor(Lt%at)+ie)})+Ge)},il=function(Ae,ie,ge){ge===void 0&&(ge=". ");var de=ie.length;return mu(Math.abs(Ae),de,!1,function(Ge){return ie[Math.floor(Ge%de)]})+ge},CA=1,yl=2,Rs=4,$l=8,hA=function(Ae,ie,ge,de,Ge,at){if(Ae<-9999||Ae>9999)return Al(Ae,4,Ge.length>0);var Lt=Math.abs(Ae),Vt=Ge;if(Lt===0)return ie[0]+Vt;for(var Yt=0;Lt>0&&Yt<=4;Yt++){var Un=Lt%10;Un===0&&Vr(at,CA)&&Vt!==""?Vt=ie[Un]+Vt:Un>1||Un===1&&Yt===0||Un===1&&Yt===1&&Vr(at,yl)||Un===1&&Yt===1&&Vr(at,Rs)&&Ae>100||Un===1&&Yt>1&&Vr(at,$l)?Vt=ie[Un]+(Yt>0?ge[Yt-1]:"")+Vt:Un===1&&Yt>0&&(Vt=ge[Yt-1]+Vt),Lt=Math.floor(Lt/10)}return(Ae<0?de:"")+Vt},hu="\u5341\u767E\u5343\u842C",ac="\u62FE\u4F70\u4EDF\u842C",oc="\u30DE\u30A4\u30CA\u30B9",wl="\uB9C8\uC774\uB108\uC2A4",Al=function(Ae,ie,ge){var de=ge?". ":"",Ge=ge?"\u3001":"",at=ge?", ":"",Lt=ge?" ":"";switch(ie){case 0:return"\u2022"+Lt;case 1:return"\u25E6"+Lt;case 2:return"\u25FE"+Lt;case 5:var Vt=Pi(Ae,48,57,!0,de);return Vt.length<4?"0"+Vt:Vt;case 4:return il(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ge);case 6:return ol(Ae,1,3999,ju,3,de).toLowerCase();case 7:return ol(Ae,1,3999,ju,3,de);case 8:return Pi(Ae,945,969,!1,de);case 9:return Pi(Ae,97,122,!1,de);case 10:return Pi(Ae,65,90,!1,de);case 11:return Pi(Ae,1632,1641,!0,de);case 12:case 49:return ol(Ae,1,9999,ku,3,de);case 35:return ol(Ae,1,9999,ku,3,de).toLowerCase();case 13:return Pi(Ae,2534,2543,!0,de);case 14:case 30:return Pi(Ae,6112,6121,!0,de);case 15:return il(Ae,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ge);case 16:return il(Ae,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ge);case 17:case 48:return hA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",hu,"\u8CA0",Ge,yl|Rs|$l);case 47:return hA(Ae,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ac,"\u8CA0",Ge,CA|yl|Rs|$l);case 42:return hA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",hu,"\u8D1F",Ge,yl|Rs|$l);case 41:return hA(Ae,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ac,"\u8D1F",Ge,CA|yl|Rs|$l);case 26:return hA(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",oc,Ge,0);case 25:return hA(Ae,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",oc,Ge,CA|yl|Rs);case 31:return hA(Ae,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",wl,at,CA|yl|Rs);case 33:return hA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",wl,at,0);case 32:return hA(Ae,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",wl,at,CA|yl|Rs);case 18:return Pi(Ae,2406,2415,!0,de);case 20:return ol(Ae,1,19999,GA,3,de);case 21:return Pi(Ae,2790,2799,!0,de);case 22:return Pi(Ae,2662,2671,!0,de);case 22:return ol(Ae,1,10999,Hu,3,de);case 23:return il(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 il(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 Pi(Ae,3302,3311,!0,de);case 28:return il(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 il(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 Pi(Ae,3792,3801,!0,de);case 37:return Pi(Ae,6160,6169,!0,de);case 38:return Pi(Ae,4160,4169,!0,de);case 39:return Pi(Ae,2918,2927,!0,de);case 40:return Pi(Ae,1776,1785,!0,de);case 43:return Pi(Ae,3046,3055,!0,de);case 44:return Pi(Ae,3174,3183,!0,de);case 45:return Pi(Ae,3664,3673,!0,de);case 46:return Pi(Ae,3872,3881,!0,de);case 3:default:return Pi(Ae,48,57,!0,de)}},as="data-html2canvas-ignore",VA=function(){function Ae(ie,ge,de){if(this.context=ie,this.options=de,this.scrolledElements=[],this.referenceElement=ge,this.counters=new Tu,this.quoteDepth=0,!ge.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ge.ownerDocument.documentElement,!1)}return Ae.prototype.toIFrame=function(ie,ge){var de=this,Ge=Ol(ie,ge);if(!Ge.contentWindow)return Promise.reject("Unable to find iframe window");var at=ie.defaultView.pageXOffset,Lt=ie.defaultView.pageYOffset,Vt=Ge.contentWindow,Yt=Vt.document,Un=jl(Ge).then(function(){return we(de,void 0,void 0,function(){var Zn,ee;return ze(this,function(le){switch(le.label){case 0:return this.scrolledElements.forEach(Mu),Vt&&(Vt.scrollTo(ge.left,ge.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Vt.scrollY!==ge.top||Vt.scrollX!==ge.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Vt.scrollX-ge.left,Vt.scrollY-ge.top,0,0))),Zn=this.options.onclone,ee=this.clonedReferenceElement,typeof ee=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Yt.fonts&&Yt.fonts.ready?[4,Yt.fonts.ready]:[3,2];case 1:le.sent(),le.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ru(Yt)]:[3,4];case 3:le.sent(),le.label=4;case 4:return typeof Zn=="function"?[2,Promise.resolve().then(function(){return Zn(Yt,ee)}).then(function(){return Ge})]:[2,Ge]}})})});return Yt.open(),Yt.write(os(document.doctype)+""),Ks(this.referenceElement.ownerDocument,at,Lt),Yt.replaceChild(Yt.adoptNode(this.documentElement),Yt.documentElement),Yt.close(),Un},Ae.prototype.createElementClone=function(ie){if(po(ie,2))debugger;if(Vi(ie))return this.createCanvasClone(ie);if(sA(ie))return this.createVideoClone(ie);if(Hs(ie))return this.createStyleClone(ie);var ge=ie.cloneNode(!1);return QA(ge)&&(QA(ie)&&ie.currentSrc&&ie.currentSrc!==ie.src&&(ge.src=ie.currentSrc,ge.srcset=""),ge.loading==="lazy"&&(ge.loading="eager")),Ou(ge)?this.createCustomElementClone(ge):ge},Ae.prototype.createCustomElementClone=function(ie){var ge=document.createElement("html2canvascustomelement");return pu(ie.style,ge),ge},Ae.prototype.createStyleClone=function(ie){try{var ge=ie.sheet;if(ge&&ge.cssRules){var de=[].slice.call(ge.cssRules,0).reduce(function(at,Lt){return Lt&&typeof Lt.cssText=="string"?at+Lt.cssText:at},""),Ge=ie.cloneNode(!1);return Ge.textContent=de,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 ge;if(this.options.inlineImages&&ie.ownerDocument){var de=ie.ownerDocument.createElement("img");try{return de.src=ie.toDataURL(),de}catch(Un){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"),Lt=Ge.getContext("2d");if(Lt)if(!this.options.allowTaint&&at)Lt.putImageData(at.getImageData(0,0,ie.width,ie.height),0,0);else{var Vt=(ge=ie.getContext("webgl2"))!==null&&ge!==void 0?ge:ie.getContext("webgl");if(Vt){var Yt=Vt.getContextAttributes();(Yt==null?void 0:Yt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ie)}Lt.drawImage(ie,0,0)}return Ge}catch(Un){this.context.logger.info("Unable to clone canvas as it is tainted",ie)}return Ge},Ae.prototype.createVideoClone=function(ie){var ge=ie.ownerDocument.createElement("canvas");ge.width=ie.offsetWidth,ge.height=ie.offsetHeight;var de=ge.getContext("2d");try{return de&&(de.drawImage(ie,0,0,ge.width,ge.height),this.options.allowTaint||de.getImageData(0,0,ge.width,ge.height)),ge}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,ge,de){(!Xn(ge)||!xs(ge)&&!ge.hasAttribute(as)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(ge)))&&(!this.options.copyStyles||!Xn(ge)||!Hs(ge))&&ie.appendChild(this.cloneNode(ge,de))},Ae.prototype.cloneChildNodes=function(ie,ge,de){for(var Ge=this,at=ie.shadowRoot?ie.shadowRoot.firstChild:ie.firstChild;at;at=at.nextSibling)if(Xn(at)&&Qu(at)&&typeof at.assignedNodes=="function"){var Lt=at.assignedNodes();Lt.length&&Lt.forEach(function(Vt){return Ge.appendChildNode(ge,Vt,de)})}else this.appendChildNode(ge,at,de)},Ae.prototype.cloneNode=function(ie,ge){if(Nn(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var de=ie.ownerDocument.defaultView;if(de&&Xn(ie)&&(yr(ie)||Zr(ie))){var Ge=this.createElementClone(ie);Ge.style.transitionProperty="none";var at=de.getComputedStyle(ie),Lt=de.getComputedStyle(ie,":before"),Vt=de.getComputedStyle(ie,":after");this.referenceElement===ie&&yr(Ge)&&(this.clonedReferenceElement=Ge),Ii(Ge)&&vu(Ge);var Yt=this.counters.parse(new fi(this.context,at)),Un=this.resolvePseudoContent(ie,Ge,Lt,Ms.BEFORE);Ou(ie)&&(ge=!0),sA(ie)||this.cloneChildNodes(ie,Ge,ge),Un&&Ge.insertBefore(Un,Ge.firstChild);var Zn=this.resolvePseudoContent(ie,Ge,Vt,Ms.AFTER);return Zn&&Ge.appendChild(Zn),this.counters.pop(Yt),(at&&(this.options.copyStyles||Zr(ie))&&!bA(ie)||ge)&&pu(at,Ge),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([Ge,ie.scrollLeft,ie.scrollTop]),(Ls(ie)||fu(ie))&&(Ls(Ge)||fu(Ge))&&(Ge.value=ie.value),Ge}return ie.cloneNode(!1)},Ae.prototype.resolvePseudoContent=function(ie,ge,de,Ge){var at=this;if(de){var Lt=de.content,Vt=ge.ownerDocument;if(!(!Vt||!Lt||Lt==="none"||Lt==="-moz-alt-content"||de.display==="none")){this.counters.parse(new fi(this.context,de));var Yt=new Yo(this.context,de),Un=Vt.createElement("html2canvaspseudoelement");pu(de,Un),Yt.content.forEach(function(ee){if(ee.type===0)Un.appendChild(Vt.createTextNode(ee.value));else if(ee.type===22){var le=Vt.createElement("img");le.src=ee.value,le.style.opacity="1",Un.appendChild(le)}else if(ee.type===18){if(ee.name==="attr"){var xe=ee.values.filter(ka);xe.length&&Un.appendChild(Vt.createTextNode(ie.getAttribute(xe[0].value)||""))}else if(ee.name==="counter"){var We=ee.values.filter(qi),ot=We[0],Bt=We[1];if(ot&&ka(ot)){var ft=at.counters.getCounterValue(ot.value),wt=Bt&&ka(Bt)?ct.parse(at.context,Bt.value):3;Un.appendChild(Vt.createTextNode(Al(ft,wt,!1)))}}else if(ee.name==="counters"){var Dt=ee.values.filter(qi),ot=Dt[0],Ht=Dt[1],Bt=Dt[2];if(ot&&ka(ot)){var mn=at.counters.getCounterValues(ot.value),Sn=Bt&&ka(Bt)?ct.parse(at.context,Bt.value):3,Kn=Ht&&Ht.type===0?Ht.value:"",Pn=mn.map(function(Fn){return Al(Fn,Sn,!1)}).join(Kn);Un.appendChild(Vt.createTextNode(Pn))}}}else if(ee.type===20)switch(ee.value){case"open-quote":Un.appendChild(Vt.createTextNode(Ka(Yt.quotes,at.quoteDepth++,!0)));break;case"close-quote":Un.appendChild(Vt.createTextNode(Ka(Yt.quotes,--at.quoteDepth,!1)));break;default:Un.appendChild(Vt.createTextNode(ee.value))}}),Un.className=kl+" "+Hl;var Zn=Ge===Ms.BEFORE?" "+kl:" "+Hl;return Zr(ge)?ge.className.baseValue+=Zn:ge.className+=Zn,Un}}},Ae.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},Ae}(),Ms;(function(Ae){Ae[Ae.BEFORE=0]="BEFORE",Ae[Ae.AFTER=1]="AFTER"})(Ms||(Ms={}));var Ol=function(Ae,ie){var ge=Ae.createElement("iframe");return ge.className="html2canvas-container",ge.style.visibility="hidden",ge.style.position="fixed",ge.style.left="-10000px",ge.style.top="0px",ge.style.border="0",ge.width=ie.width.toString(),ge.height=ie.height.toString(),ge.scrolling="no",ge.setAttribute(as,"true"),Ae.body.appendChild(ge),ge},Tl=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(Tl))},jl=function(Ae){return new Promise(function(ie,ge){var de=Ae.contentWindow;if(!de)return ge("No window assigned for iframe");var Ge=de.document;de.onload=Ae.onload=function(){de.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 ge=Ae.length-1;ge>=0;ge--){var de=Ae.item(ge);lA.indexOf(de)===-1&&ie.style.setProperty(de,Ae.getPropertyValue(de))}return ie},os=function(Ae){var ie="";return Ae&&(ie+=""),ie},Ks=function(Ae,ie,ge){Ae&&Ae.defaultView&&(ie!==Ae.defaultView.pageXOffset||ge!==Ae.defaultView.pageYOffset)&&Ae.defaultView.scrollTo(ie,ge)},Mu=function(Ae){var ie=Ae[0],ge=Ae[1],de=Ae[2];ie.scrollLeft=ge,ie.scrollTop=de},gc=":before",ic=":after",kl="___html2canvas___pseudoelement_before",Hl="___html2canvas___pseudoelement_after",Rl=`{ content: "" !important; display: none !important; }`,vu=function(Ae){Ku(Ae,"."+kl+gc+Rl+` .`+Hl+ic+Rl)},Ku=function(Ae,ie){var ge=Ae.ownerDocument;if(ge){var de=ge.createElement("style");de.textContent=ie,Ae.appendChild(de)}},eu=function(){function Ae(){}return Ae.getOrigin=function(ie){var ge=Ae._link;return ge?(ge.href=ie,ge.href=ge.href,ge.protocol+ge.hostname+ge.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,ge){this.context=ie,this._options=ge,this._cache={}}return Ae.prototype.addImage=function(ie){var ge=Promise.resolve();return this.has(ie)||(cA(ie)||Fi(ie))&&(this._cache[ie]=this.loadImage(ie)).catch(function(){}),ge},Ae.prototype.match=function(ie){return this._cache[ie]},Ae.prototype.loadImage=function(ie){return we(this,void 0,void 0,function(){var ge,de,Ge,at,Lt=this;return ze(this,function(Vt){switch(Vt.label){case 0:return ge=eu.isSameOrigin(ie),de=!hi(ie)&&this._options.useCORS===!0&&ki.SUPPORT_CORS_IMAGES&&!ge,Ge=!hi(ie)&&!ge&&!cA(ie)&&typeof this._options.proxy=="string"&&ki.SUPPORT_CORS_XHR&&!de,!ge&&this._options.allowTaint===!1&&!hi(ie)&&!cA(ie)&&!Ge&&!de?[2]:(at=ie,Ge?[4,this.proxy(at)]:[3,2]);case 1:at=Vt.sent(),Vt.label=2;case 2:return this.context.logger.debug("Added image "+ie.substring(0,256)),[4,new Promise(function(Yt,Un){var Zn=new Image;Zn.onload=function(){return Yt(Zn)},Zn.onerror=Un,(uA(at)||de)&&(Zn.crossOrigin="anonymous"),Zn.src=at,Zn.complete===!0&&setTimeout(function(){return Yt(Zn)},500),Lt._options.imageTimeout>0&&setTimeout(function(){return Un("Timed out ("+Lt._options.imageTimeout+"ms) loading image")},Lt._options.imageTimeout)})];case 3:return[2,Vt.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 ge=this,de=this._options.proxy;if(!de)throw new Error("No proxy defined");var Ge=ie.substring(0,256);return new Promise(function(at,Lt){var Vt=ki.SUPPORT_RESPONSE_TYPE?"blob":"text",Yt=new XMLHttpRequest;Yt.onload=function(){if(Yt.status===200)if(Vt==="text")at(Yt.response);else{var ee=new FileReader;ee.addEventListener("load",function(){return at(ee.result)},!1),ee.addEventListener("error",function(le){return Lt(le)},!1),ee.readAsDataURL(Yt.response)}else Lt("Failed to proxy resource "+Ge+" with status code "+Yt.status)},Yt.onerror=Lt;var Un=de.indexOf("?")>-1?"&":"?";if(Yt.open("GET",""+de+Un+"url="+encodeURIComponent(ie)+"&responseType="+Vt),Vt!=="text"&&Yt instanceof XMLHttpRequest&&(Yt.responseType=Vt),ge._options.imageTimeout){var Zn=ge._options.imageTimeout;Yt.timeout=Zn,Yt.ontimeout=function(){return Lt("Timed out ("+Zn+"ms) proxying "+Ge)}}Yt.send()})},Ae}(),Ac=/^data:image\/svg\+xml/i,zs=/^data:image\/.*;base64,/i,Gs=/^data:image\/.*/i,Fi=function(Ae){return ki.SUPPORT_SVG_DRAWING||!Ml(Ae)},hi=function(Ae){return Gs.test(Ae)},uA=function(Ae){return zs.test(Ae)},cA=function(Ae){return Ae.substr(0,4)==="blob"},Ml=function(Ae){return Ae.substr(-3).toLowerCase()==="svg"||Ac.test(Ae)},ba=function(){function Ae(ie,ge){this.type=0,this.x=ie,this.y=ge}return Ae.prototype.add=function(ie,ge){return new Ae(this.x+ie,this.y+ge)},Ae}(),sl=function(Ae,ie,ge){return new ba(Ae.x+(ie.x-Ae.x)*ge,Ae.y+(ie.y-Ae.y)*ge)},Bu=function(){function Ae(ie,ge,de,Ge){this.type=1,this.start=ie,this.startControl=ge,this.endControl=de,this.end=Ge}return Ae.prototype.subdivide=function(ie,ge){var de=sl(this.start,this.startControl,ie),Ge=sl(this.startControl,this.endControl,ie),at=sl(this.endControl,this.end,ie),Lt=sl(de,Ge,ie),Vt=sl(Ge,at,ie),Yt=sl(Lt,Vt,ie);return ge?new Ae(this.start,de,Lt,Yt):new Ae(Yt,Vt,at,this.end)},Ae.prototype.add=function(ie,ge){return new Ae(this.start.add(ie,ge),this.startControl.add(ie,ge),this.endControl.add(ie,ge),this.end.add(ie,ge))},Ae.prototype.reverse=function(){return new Ae(this.end,this.endControl,this.startControl,this.start)},Ae}(),ps=function(Ae){return Ae.type===1},fc=function(){function Ae(ie){var ge=ie.styles,de=ie.bounds,Ge=RA(ge.borderTopLeftRadius,de.width,de.height),at=Ge[0],Lt=Ge[1],Vt=RA(ge.borderTopRightRadius,de.width,de.height),Yt=Vt[0],Un=Vt[1],Zn=RA(ge.borderBottomRightRadius,de.width,de.height),ee=Zn[0],le=Zn[1],xe=RA(ge.borderBottomLeftRadius,de.width,de.height),We=xe[0],ot=xe[1],Bt=[];Bt.push((at+Yt)/de.width),Bt.push((We+ee)/de.width),Bt.push((Lt+ot)/de.height),Bt.push((Un+le)/de.height);var ft=Math.max.apply(Math,Bt);ft>1&&(at/=ft,Lt/=ft,Yt/=ft,Un/=ft,ee/=ft,le/=ft,We/=ft,ot/=ft);var wt=de.width-Yt,Dt=de.height-le,Ht=de.width-ee,mn=de.height-ot,Sn=ge.borderTopWidth,Kn=ge.borderRightWidth,Pn=ge.borderBottomWidth,or=ge.borderLeftWidth,ur=Ho(ge.paddingTop,ie.bounds.width),Fn=Ho(ge.paddingRight,ie.bounds.width),Qn=Ho(ge.paddingBottom,ie.bounds.width),fr=Ho(ge.paddingLeft,ie.bounds.width);this.topLeftBorderDoubleOuterBox=at>0||Lt>0?Zo(de.left+or/3,de.top+Sn/3,at-or/3,Lt-Sn/3,Po.TOP_LEFT):new ba(de.left+or/3,de.top+Sn/3),this.topRightBorderDoubleOuterBox=at>0||Lt>0?Zo(de.left+wt,de.top+Sn/3,Yt-Kn/3,Un-Sn/3,Po.TOP_RIGHT):new ba(de.left+de.width-Kn/3,de.top+Sn/3),this.bottomRightBorderDoubleOuterBox=ee>0||le>0?Zo(de.left+Ht,de.top+Dt,ee-Kn/3,le-Pn/3,Po.BOTTOM_RIGHT):new ba(de.left+de.width-Kn/3,de.top+de.height-Pn/3),this.bottomLeftBorderDoubleOuterBox=We>0||ot>0?Zo(de.left+or/3,de.top+mn,We-or/3,ot-Pn/3,Po.BOTTOM_LEFT):new ba(de.left+or/3,de.top+de.height-Pn/3),this.topLeftBorderDoubleInnerBox=at>0||Lt>0?Zo(de.left+or*2/3,de.top+Sn*2/3,at-or*2/3,Lt-Sn*2/3,Po.TOP_LEFT):new ba(de.left+or*2/3,de.top+Sn*2/3),this.topRightBorderDoubleInnerBox=at>0||Lt>0?Zo(de.left+wt,de.top+Sn*2/3,Yt-Kn*2/3,Un-Sn*2/3,Po.TOP_RIGHT):new ba(de.left+de.width-Kn*2/3,de.top+Sn*2/3),this.bottomRightBorderDoubleInnerBox=ee>0||le>0?Zo(de.left+Ht,de.top+Dt,ee-Kn*2/3,le-Pn*2/3,Po.BOTTOM_RIGHT):new ba(de.left+de.width-Kn*2/3,de.top+de.height-Pn*2/3),this.bottomLeftBorderDoubleInnerBox=We>0||ot>0?Zo(de.left+or*2/3,de.top+mn,We-or*2/3,ot-Pn*2/3,Po.BOTTOM_LEFT):new ba(de.left+or*2/3,de.top+de.height-Pn*2/3),this.topLeftBorderStroke=at>0||Lt>0?Zo(de.left+or/2,de.top+Sn/2,at-or/2,Lt-Sn/2,Po.TOP_LEFT):new ba(de.left+or/2,de.top+Sn/2),this.topRightBorderStroke=at>0||Lt>0?Zo(de.left+wt,de.top+Sn/2,Yt-Kn/2,Un-Sn/2,Po.TOP_RIGHT):new ba(de.left+de.width-Kn/2,de.top+Sn/2),this.bottomRightBorderStroke=ee>0||le>0?Zo(de.left+Ht,de.top+Dt,ee-Kn/2,le-Pn/2,Po.BOTTOM_RIGHT):new ba(de.left+de.width-Kn/2,de.top+de.height-Pn/2),this.bottomLeftBorderStroke=We>0||ot>0?Zo(de.left+or/2,de.top+mn,We-or/2,ot-Pn/2,Po.BOTTOM_LEFT):new ba(de.left+or/2,de.top+de.height-Pn/2),this.topLeftBorderBox=at>0||Lt>0?Zo(de.left,de.top,at,Lt,Po.TOP_LEFT):new ba(de.left,de.top),this.topRightBorderBox=Yt>0||Un>0?Zo(de.left+wt,de.top,Yt,Un,Po.TOP_RIGHT):new ba(de.left+de.width,de.top),this.bottomRightBorderBox=ee>0||le>0?Zo(de.left+Ht,de.top+Dt,ee,le,Po.BOTTOM_RIGHT):new ba(de.left+de.width,de.top+de.height),this.bottomLeftBorderBox=We>0||ot>0?Zo(de.left,de.top+mn,We,ot,Po.BOTTOM_LEFT):new ba(de.left,de.top+de.height),this.topLeftPaddingBox=at>0||Lt>0?Zo(de.left+or,de.top+Sn,Math.max(0,at-or),Math.max(0,Lt-Sn),Po.TOP_LEFT):new ba(de.left+or,de.top+Sn),this.topRightPaddingBox=Yt>0||Un>0?Zo(de.left+Math.min(wt,de.width-Kn),de.top+Sn,wt>de.width+Kn?0:Math.max(0,Yt-Kn),Math.max(0,Un-Sn),Po.TOP_RIGHT):new ba(de.left+de.width-Kn,de.top+Sn),this.bottomRightPaddingBox=ee>0||le>0?Zo(de.left+Math.min(Ht,de.width-or),de.top+Math.min(Dt,de.height-Pn),Math.max(0,ee-Kn),Math.max(0,le-Pn),Po.BOTTOM_RIGHT):new ba(de.left+de.width-Kn,de.top+de.height-Pn),this.bottomLeftPaddingBox=We>0||ot>0?Zo(de.left+or,de.top+Math.min(mn,de.height-Pn),Math.max(0,We-or),Math.max(0,ot-Pn),Po.BOTTOM_LEFT):new ba(de.left+or,de.top+de.height-Pn),this.topLeftContentBox=at>0||Lt>0?Zo(de.left+or+fr,de.top+Sn+ur,Math.max(0,at-(or+fr)),Math.max(0,Lt-(Sn+ur)),Po.TOP_LEFT):new ba(de.left+or+fr,de.top+Sn+ur),this.topRightContentBox=Yt>0||Un>0?Zo(de.left+Math.min(wt,de.width+or+fr),de.top+Sn+ur,wt>de.width+or+fr?0:Yt-or+fr,Un-(Sn+ur),Po.TOP_RIGHT):new ba(de.left+de.width-(Kn+Fn),de.top+Sn+ur),this.bottomRightContentBox=ee>0||le>0?Zo(de.left+Math.min(Ht,de.width-(or+fr)),de.top+Math.min(Dt,de.height+Sn+ur),Math.max(0,ee-(Kn+Fn)),le-(Pn+Qn),Po.BOTTOM_RIGHT):new ba(de.left+de.width-(Kn+Fn),de.top+de.height-(Pn+Qn)),this.bottomLeftContentBox=We>0||ot>0?Zo(de.left+or+fr,de.top+mn,Math.max(0,We-(or+fr)),ot-(Pn+Qn),Po.BOTTOM_LEFT):new ba(de.left+or+fr,de.top+de.height-(Pn+Qn))}return Ae}(),Po;(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"})(Po||(Po={}));var Zo=function(Ae,ie,ge,de,Ge){var at=4*((Math.sqrt(2)-1)/3),Lt=ge*at,Vt=de*at,Yt=Ae+ge,Un=ie+de;switch(Ge){case Po.TOP_LEFT:return new Bu(new ba(Ae,Un),new ba(Ae,Un-Vt),new ba(Yt-Lt,ie),new ba(Yt,ie));case Po.TOP_RIGHT:return new Bu(new ba(Ae,ie),new ba(Ae+Lt,ie),new ba(Yt,Un-Vt),new ba(Yt,Un));case Po.BOTTOM_RIGHT:return new Bu(new ba(Yt,ie),new ba(Yt,ie+Vt),new ba(Ae+Lt,Un),new ba(Ae,Un));case Po.BOTTOM_LEFT:default:return new Bu(new ba(Yt,Un),new ba(Yt-Lt,Un),new ba(Ae,ie+Vt),new ba(Ae,ie))}},Su=function(Ae){return[Ae.topLeftBorderBox,Ae.topRightBorderBox,Ae.bottomRightBorderBox,Ae.bottomLeftBorderBox]},mc=function(Ae){return[Ae.topLeftContentBox,Ae.topRightContentBox,Ae.bottomRightContentBox,Ae.bottomLeftContentBox]},sc=function(Ae){return[Ae.topLeftPaddingBox,Ae.topRightPaddingBox,Ae.bottomRightPaddingBox,Ae.bottomLeftPaddingBox]},hc=function(){function Ae(ie,ge,de){this.offsetX=ie,this.offsetY=ge,this.matrix=de,this.type=0,this.target=6}return Ae}(),yu=function(){function Ae(ie,ge){this.path=ie,this.target=ge,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(ge,de){return ge===ie[de]}):!1},Ic=function(Ae,ie,ge,de,Ge){return Ae.map(function(at,Lt){switch(Lt){case 0:return at.add(ie,ge);case 1:return at.add(ie+de,ge);case 2:return at.add(ie+de,ge+Ge);case 3:return at.add(ie,ge+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,ge){if(this.container=ie,this.parent=ge,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 de=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 hc(de,Ge,at))}if(this.container.styles.overflowX!==0){var Lt=Su(this.curves),Vt=sc(this.curves);lc(Lt,Vt)?this.effects.push(new yu(Lt,6)):(this.effects.push(new yu(Lt,2)),this.effects.push(new yu(Vt,4)))}}return Ae.prototype.getEffects=function(ie){for(var ge=[2,3].indexOf(this.container.styles.position)===-1,de=this.parent,Ge=this.effects.slice(0);de;){var at=de.effects.filter(function(Yt){return!pc(Yt)});if(ge||de.container.styles.position!==0||!de.parent){if(Ge.unshift.apply(Ge,at),ge=[2,3].indexOf(de.container.styles.position)===-1,de.container.styles.overflowX!==0){var Lt=Su(de.curves),Vt=sc(de.curves);lc(Lt,Vt)||Ge.unshift(new yu(Vt,6))}}else Ge.unshift.apply(Ge,at);de=de.parent}return Ge.filter(function(Yt){return Vr(Yt.target,ie)})},Ae}(),vc=function(Ae,ie,ge,de){Ae.container.elements.forEach(function(Ge){var at=Vr(Ge.flags,4),Lt=Vr(Ge.flags,2),Vt=new Mc(Ge,Ae);Vr(Ge.styles.display,2048)&&de.push(Vt);var Yt=Vr(Ge.flags,8)?[]:de;if(at||Lt){var Un=at||Ge.styles.isPositioned()?ge:ie,Zn=new Rc(Vt);if(Ge.styles.isPositioned()||Ge.styles.opacity<1||Ge.styles.isTransformed()){var ee=Ge.styles.zIndex.order;if(ee<0){var le=0;Un.negativeZIndex.some(function(We,ot){return ee>We.element.container.styles.zIndex.order?(le=ot,!1):le>0}),Un.negativeZIndex.splice(le,0,Zn)}else if(ee>0){var xe=0;Un.positiveZIndex.some(function(We,ot){return ee>=We.element.container.styles.zIndex.order?(xe=ot+1,!1):xe>0}),Un.positiveZIndex.splice(xe,0,Zn)}else Un.zeroOrAutoZIndexOrTransformedOrOpacity.push(Zn)}else Ge.styles.isFloating()?Un.nonPositionedFloats.push(Zn):Un.nonPositionedInlineLevel.push(Zn);vc(Vt,Zn,at?Zn:ge,Yt)}else Ge.styles.isInlineLevel()?ie.inlineLevel.push(Vt):ie.nonInlineLevel.push(Vt),vc(Vt,ie,ge,Yt);Vr(Ge.flags,8)&&Kc(Ge,Yt)})},Kc=function(Ae,ie){for(var ge=Ae instanceof $u?Ae.start:1,de=Ae instanceof $u?Ae.reversed:!1,Ge=0;Ge0&&ge.intrinsicHeight>0){var at=Bc(ge),Lt=sc(de);this.path(Lt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ge,0,0,ge.intrinsicWidth,ge.intrinsicHeight,at.left,at.top,at.width,at.height),this.ctx.restore()}},ie.prototype.renderNodeContent=function(ge){return we(this,void 0,void 0,function(){var de,Ge,at,Lt,Vt,Yt,wt,wt,Un,Zn,ee,le,Ht,xe,We,mn,ot,Bt,ft,wt,Dt,Ht,mn;return ze(this,function(Sn){switch(Sn.label){case 0:this.applyEffects(ge.getEffects(4)),de=ge.container,Ge=ge.curves,at=de.styles,Lt=0,Vt=de.textNodes,Sn.label=1;case 1:return Lt0&&Er>0&&(Pn=at.ctx.createPattern(mn,"repeat"),at.renderRepeat(ur,Pn,pa,la))):ds(Zn)&&(or=Dc(ge,de,[null,null,null]),ur=or[0],Fn=or[1],Qn=or[2],fr=or[3],Er=or[4],Pr=Zn.position.length===0?[qs]:Zn.position,pa=Ho(Pr[0],fr),la=Ho(Pr[Pr.length-1],Er),Ja=to(Zn,pa,la,fr,Er),fa=Ja[0],ko=Ja[1],fa>0&&ko>0&&(Vo=at.ctx.createRadialGradient(Fn+pa,Qn+la,0,Fn+pa,Qn+la,fa),pl(Zn.stops,fa*2).forEach(function(Hi){return Vo.addColorStop(Hi.stop,ai(Hi.color))}),at.path(ur),at.ctx.fillStyle=Vo,fa!==ko?(To=ge.bounds.left+.5*ge.bounds.width,yo=ge.bounds.top+.5*ge.bounds.height,$o=ko/fa,zo=1/$o,at.ctx.save(),at.ctx.translate(To,yo),at.ctx.transform(1,0,0,$o,0,0),at.ctx.translate(-To,-yo),at.ctx.fillRect(Fn,zo*(Qn-yo)+yo,fr,Er*zo),at.ctx.restore()):at.ctx.fill())),ho.label=6;case 6:return de--,[2]}})},at=this,Lt=0,Vt=ge.styles.backgroundImage.slice(0).reverse(),Un.label=1;case 1:return Lt0?Zn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Zn.color,Zn.width,Vt,ge.curves,2)]:[3,11]):[3,13];case 4:return le.sent(),[3,11];case 5:return Zn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Zn.color,Zn.width,Vt,ge.curves,3)];case 6:return le.sent(),[3,11];case 7:return Zn.style!==4?[3,9]:[4,this.renderDoubleBorder(Zn.color,Zn.width,Vt,ge.curves)];case 8:return le.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Zn.color,Vt,ge.curves)];case 10:le.sent(),le.label=11;case 11:Vt++,le.label=12;case 12:return Yt++,[3,3];case 13:return[2]}})})},ie.prototype.renderDashedDottedBorder=function(ge,de,Ge,at,Lt){return we(this,void 0,void 0,function(){var Vt,Yt,Un,Zn,ee,le,xe,We,ot,Bt,ft,wt,Dt,Ht,mn,Sn,mn,Sn;return ze(this,function(Kn){return this.ctx.save(),Vt=Nc(at,Ge),Yt=zc(at,Ge),Lt===2&&(this.path(Yt),this.ctx.clip()),ps(Yt[0])?(Un=Yt[0].start.x,Zn=Yt[0].start.y):(Un=Yt[0].x,Zn=Yt[0].y),ps(Yt[1])?(ee=Yt[1].end.x,le=Yt[1].end.y):(ee=Yt[1].x,le=Yt[1].y),Ge===0||Ge===2?xe=Math.abs(Un-ee):xe=Math.abs(Zn-le),this.ctx.beginPath(),Lt===3?this.formatPath(Vt):this.formatPath(Yt.slice(0,2)),We=de<3?de*3:de*2,ot=de<3?de*2:de,Lt===3&&(We=de,ot=de),Bt=!0,xe<=We*2?Bt=!1:xe<=We*2+ot?(ft=xe/(2*We+ot),We*=ft,ot*=ft):(wt=Math.floor((xe+ot)/(We+ot)),Dt=(xe-wt*We)/(wt-1),Ht=(xe-(wt+1)*We)/wt,ot=Ht<=0||Math.abs(ot-Dt)Nt){var Pt=mt;mt=Nt,Nt=Pt}}else if(nt==="l"||nt==="landscape"){if(nt="l",Nt>mt){var Pt=mt;mt=Nt,Nt=Pt}}else throw"Invalid orientation: "+nt;var gt={width:mt,height:Nt,unit:Oe,k:it};return gt},De.default=Te.jsPDF},"./src/plugin/pagebreaks.js":function(ve,De,ce){"use strict";ce.r(De);var Ne=ce("./node_modules/core-js/modules/es.array.concat.js"),Ee=ce.n(Ne),Ce=ce("./node_modules/core-js/modules/es.array.slice.js"),oe=ce.n(Ce),y=ce("./node_modules/core-js/modules/es.array.join.js"),a=ce.n(y),E=ce("./node_modules/core-js/modules/web.dom-collections.for-each.js"),b=ce.n(E),x=ce("./node_modules/core-js/modules/es.object.keys.js"),z=ce.n(x),ne=ce("./src/worker.js"),me=ce("./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 kt=Ve.querySelectorAll(".html2pdf__page-break");kt=Array.prototype.slice.call(kt);var ut=Ve.querySelectorAll("*");Array.prototype.forEach.call(ut,function(Nt){var mt={before:!1,after:Oe.legacy&&kt.indexOf(Nt)!==-1,avoid:Oe.avoidAll};if(Oe.css){var Pt=window.getComputedStyle(Nt),gt=["always","page","left","right"],et=["avoid","avoid-page"];mt={before:mt.before||gt.indexOf(Pt.breakBefore||Pt.pageBreakBefore)!==-1,after:mt.after||gt.indexOf(Pt.breakAfter||Pt.pageBreakAfter)!==-1,avoid:mt.avoid||et.indexOf(Pt.breakInside||Pt.pageBreakInside)!==-1}}Object.keys(mt).forEach(function(zn){mt[zn]=mt[zn]||Ft[zn].indexOf(Nt)!==-1});var Xt=Nt.getBoundingClientRect();if(mt.avoid&&!mt.before){var An=Math.floor(Xt.top/Ye),bt=Math.floor(Xt.bottom/Ye),qt=Math.abs(Xt.bottom-Xt.top)/Ye;bt!==An&&qt<=1&&(mt.before=!0)}if(mt.before){var wn=(0,me.createElement)("div",{style:{display:"block",height:Ye-Xt.top%Ye+"px"}});Nt.parentNode.insertBefore(wn,Nt)}if(mt.after){var wn=(0,me.createElement)("div",{style:{display:"block",height:Ye-Xt.bottom%Ye+"px"}});Nt.parentNode.insertBefore(wn,Nt.nextSibling)}})})}},"./src/utils.js":function(ve,De,ce){"use strict";ce.r(De),ce.d(De,{objType:function(){return nt},createElement:function(){return Oe},cloneNode:function(){return Ft},unitConvert:function(){return Qe},toPx:function(){return kt}});var Ne=ce("./node_modules/core-js/modules/es.number.constructor.js"),Ee=ce.n(Ne),Ce=ce("./node_modules/core-js/modules/es.symbol.js"),oe=ce.n(Ce),y=ce("./node_modules/core-js/modules/es.symbol.description.js"),a=ce.n(y),E=ce("./node_modules/core-js/modules/es.object.to-string.js"),b=ce.n(E),x=ce("./node_modules/core-js/modules/es.symbol.iterator.js"),z=ce.n(x),ne=ce("./node_modules/core-js/modules/es.array.iterator.js"),me=ce.n(ne),Ue=ce("./node_modules/core-js/modules/es.string.iterator.js"),Pe=ce.n(Ue),Te=ce("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ve=ce.n(Te);function Ye(ut){"@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(ut)}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 mt=document.createElement(it);if(Nt.className&&(mt.className=Nt.className),Nt.innerHTML){mt.innerHTML=Nt.innerHTML;for(var Pt=mt.getElementsByTagName("script"),gt=Pt.length;gt-- >0;null)Pt[gt].parentNode.removeChild(Pt[gt])}for(var et in Nt.style)mt.style[et]=Nt.style[et];return mt},Ft=function ut(it,Nt){for(var mt=it.nodeType===3?document.createTextNode(it.nodeValue):it.cloneNode(!1),Pt=it.firstChild;Pt;Pt=Pt.nextSibling)(Nt===!0||Pt.nodeType!==1||Pt.nodeName!=="SCRIPT")&&mt.appendChild(ut(Pt,Nt));return it.nodeType===1&&(it.nodeName==="CANVAS"?(mt.width=it.width,mt.height=it.height,mt.getContext("2d").drawImage(it,0,0)):(it.nodeName==="TEXTAREA"||it.nodeName==="SELECT")&&(mt.value=it.value),mt.addEventListener("load",function(){mt.scrollTop=it.scrollTop,mt.scrollLeft=it.scrollLeft},!0)),mt},Qe=function(it,Nt){if(nt(it)==="number")return it*72/96/Nt;var mt={};for(var Pt in it)mt[Pt]=it[Pt]*72/96/Nt;return mt},kt=function(it,Nt){return Math.floor(it*Nt/72*96)}},"./src/worker.js":function(ve,De,ce){"use strict";ce.r(De);var Ne=ce("./node_modules/core-js/modules/es.object.assign.js"),Ee=ce.n(Ne),Ce=ce("./node_modules/core-js/modules/es.array.map.js"),oe=ce.n(Ce),y=ce("./node_modules/core-js/modules/es.object.keys.js"),a=ce.n(y),E=ce("./node_modules/core-js/modules/es.array.concat.js"),b=ce.n(E),x=ce("./node_modules/core-js/modules/es.object.to-string.js"),z=ce.n(x),ne=ce("./node_modules/core-js/modules/es.regexp.to-string.js"),me=ce.n(ne),Ue=ce("./node_modules/core-js/modules/es.function.name.js"),Pe=ce.n(Ue),Te=ce("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ve=ce.n(Te),Ye=ce("jspdf"),nt=ce.n(Ye),Oe=ce("html2canvas"),Ft=ce.n(Oe),Qe=ce("./src/utils.js"),kt=ce("./node_modules/es6-promise/dist/es6-promise.js"),ut=ce.n(kt),it=ut().Promise,Nt=function mt(Pt){var gt=Object.assign(mt.convert(it.resolve()),JSON.parse(JSON.stringify(mt.template))),et=mt.convert(it.resolve(),gt);return et=et.setProgress(1,mt,1,[mt]),et=et.set(Pt),et};Nt.prototype=Object.create(it.prototype),Nt.prototype.constructor=Nt,Nt.convert=function(Pt,gt){return Pt.__proto__=gt||Nt.prototype,Pt},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(Pt,gt){function et(Xt){switch((0,Qe.objType)(Xt)){case"string":return"string";case"element":return Xt.nodeName.toLowerCase&&Xt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(gt=gt||et(Pt),gt){case"string":return this.set({src:(0,Qe.createElement)("div",{innerHTML:Pt})});case"element":return this.set({src:Pt});case"canvas":return this.set({canvas:Pt});case"img":return this.set({img:Pt});default:return this.error("Unknown source type.")}})},Nt.prototype.to=function(Pt){switch(Pt){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 Pt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Pt).then(function(){var et={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Xt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};et.opacity=0;var An=(0,Qe.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Qe.createElement)("div",{className:"html2pdf__overlay",style:et}),this.prop.container=(0,Qe.createElement)("div",{className:"html2pdf__container",style:Xt}),this.prop.container.appendChild(An),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Nt.prototype.toCanvas=function(){var Pt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Pt).then(function(){var et=Object.assign({},this.opt.html2canvas);return delete et.onrendered,Oe(this.prop.container,et)}).then(function(et){var Xt=this.opt.html2canvas.onrendered||function(){};Xt(et),this.prop.canvas=et,document.body.removeChild(this.prop.overlay)})},Nt.prototype.toImg=function(){var Pt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Pt).then(function(){var et=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=et})},Nt.prototype.toPdf=function(){var Pt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Pt).then(function(){var et=this.prop.canvas,Xt=this.opt,An=et.height,bt=Math.floor(et.width*this.prop.pageSize.inner.ratio),qt=Math.ceil(An/bt),wn=this.prop.pageSize.inner.height,zn=document.createElement("canvas"),fn=zn.getContext("2d");zn.width=et.width,zn.height=bt,this.prop.pdf=this.prop.pdf||new Ye.jsPDF(Xt.jsPDF);for(var qn=0;qn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ce("./node_modules/core-js/internals/to-length.js"),Ce=ce("./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=Ce(b,z),me;if(y&&E!=E){for(;z>ne;)if(me=x[ne++],me!=me)return!0}else for(;z>ne;ne++)if((y||ne in x)&&x[ne]===E)return y||ne||0;return!y&&-1}};ve.exports={includes:oe(!0),indexOf:oe(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/function-bind-context.js"),Ee=ce("./node_modules/core-js/internals/indexed-object.js"),Ce=ce("./node_modules/core-js/internals/to-object.js"),oe=ce("./node_modules/core-js/internals/to-length.js"),y=ce("./node_modules/core-js/internals/array-species-create.js"),a=[].push,E=function(b){var x=b==1,z=b==2,ne=b==3,me=b==4,Ue=b==6,Pe=b==7,Te=b==5||Ue;return function(Ve,Ye,nt,Oe){for(var Ft=Ce(Ve),Qe=Ee(Ft),kt=Ne(Ye,nt,3),ut=oe(Qe.length),it=0,Nt=Oe||y,mt=x?Nt(Ve,ut):z||Pe?Nt(Ve,0):void 0,Pt,gt;ut>it;it++)if((Te||it in Qe)&&(Pt=Qe[it],gt=kt(Pt,it,Ft),b))if(x)mt[it]=gt;else if(gt)switch(b){case 3:return!0;case 5:return Pt;case 6:return it;case 2:a.call(mt,Pt)}else switch(b){case 4:return!1;case 7:a.call(mt,Pt)}return Ue?-1:ne||me?me:mt}};ve.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/fails.js"),Ee=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ce=ce("./node_modules/core-js/internals/engine-v8-version.js"),oe=Ee("species");ve.exports=function(y){return Ce>=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(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/fails.js");ve.exports=function(Ee,Ce){var oe=[][Ee];return!!oe&&Ne(function(){oe.call(null,Ce||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/is-object.js"),Ee=ce("./node_modules/core-js/internals/is-array.js"),Ce=ce("./node_modules/core-js/internals/well-known-symbol.js"),oe=Ce("species");ve.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/array-species-constructor.js");ve.exports=function(Ee,Ce){return new(Ne(Ee))(Ce===0?0:Ce)}},"./node_modules/core-js/internals/classof-raw.js":function(ve){var De={}.toString;ve.exports=function(ce){return De.call(ce).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Ee=ce("./node_modules/core-js/internals/classof-raw.js"),Ce=ce("./node_modules/core-js/internals/well-known-symbol.js"),oe=Ce("toStringTag"),y=Ee(function(){return arguments}())=="Arguments",a=function(E,b){try{return E[b]}catch(x){}};ve.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/has.js"),Ee=ce("./node_modules/core-js/internals/own-keys.js"),Ce=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),oe=ce("./node_modules/core-js/internals/object-define-property.js");ve.exports=function(y,a){for(var E=Ee(a),b=oe.f,x=Ce.f,z=0;z"+b+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Ee=ce("./node_modules/core-js/internals/object-create.js"),Ce=ce("./node_modules/core-js/internals/create-property-descriptor.js"),oe=ce("./node_modules/core-js/internals/set-to-string-tag.js"),y=ce("./node_modules/core-js/internals/iterators.js"),a=function(){return this};ve.exports=function(E,b,x){var z=b+" Iterator";return E.prototype=Ee(Ne,{next:Ce(1,x)}),oe(E,z,!1,!0),y[z]=a,E}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/descriptors.js"),Ee=ce("./node_modules/core-js/internals/object-define-property.js"),Ce=ce("./node_modules/core-js/internals/create-property-descriptor.js");ve.exports=Ne?function(oe,y,a){return Ee.f(oe,y,Ce(1,a))}:function(oe,y,a){return oe[y]=a,oe}},"./node_modules/core-js/internals/create-property-descriptor.js":function(ve){ve.exports=function(De,ce){return{enumerable:!(De&1),configurable:!(De&2),writable:!(De&4),value:ce}}},"./node_modules/core-js/internals/create-property.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/to-property-key.js"),Ee=ce("./node_modules/core-js/internals/object-define-property.js"),Ce=ce("./node_modules/core-js/internals/create-property-descriptor.js");ve.exports=function(oe,y,a){var E=Ne(y);E in oe?Ee.f(oe,E,Ce(0,a)):oe[E]=a}},"./node_modules/core-js/internals/define-iterator.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/create-iterator-constructor.js"),Ce=ce("./node_modules/core-js/internals/object-get-prototype-of.js"),oe=ce("./node_modules/core-js/internals/object-set-prototype-of.js"),y=ce("./node_modules/core-js/internals/set-to-string-tag.js"),a=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),E=ce("./node_modules/core-js/internals/redefine.js"),b=ce("./node_modules/core-js/internals/well-known-symbol.js"),x=ce("./node_modules/core-js/internals/is-pure.js"),z=ce("./node_modules/core-js/internals/iterators.js"),ne=ce("./node_modules/core-js/internals/iterators-core.js"),me=ne.IteratorPrototype,Ue=ne.BUGGY_SAFARI_ITERATORS,Pe=b("iterator"),Te="keys",Ve="values",Ye="entries",nt=function(){return this};ve.exports=function(Oe,Ft,Qe,kt,ut,it,Nt){Ee(Qe,Ft,kt);var mt=function(fn){if(fn===ut&&An)return An;if(!Ue&&fn in et)return et[fn];switch(fn){case Te:return function(){return new Qe(this,fn)};case Ve:return function(){return new Qe(this,fn)};case Ye:return function(){return new Qe(this,fn)}}return function(){return new Qe(this)}},Pt=Ft+" Iterator",gt=!1,et=Oe.prototype,Xt=et[Pe]||et["@@iterator"]||ut&&et[ut],An=!Ue&&Xt||mt(ut),bt=Ft=="Array"&&et.entries||Xt,qt,wn,zn;if(bt&&(qt=Ce(bt.call(new Oe)),me!==Object.prototype&&qt.next&&(!x&&Ce(qt)!==me&&(oe?oe(qt,me):typeof qt[Pe]!="function"&&a(qt,Pe,nt)),y(qt,Pt,!0,!0),x&&(z[Pt]=nt))),ut==Ve&&Xt&&Xt.name!==Ve&&(gt=!0,An=function(){return Xt.call(this)}),(!x||Nt)&&et[Pe]!==An&&a(et,Pe,An),z[Ft]=An,ut)if(wn={values:mt(Ve),keys:it?An:mt(Te),entries:mt(Ye)},Nt)for(zn in wn)(Ue||gt||!(zn in et))&&E(et,zn,wn[zn]);else Ne({target:Ft,proto:!0,forced:Ue||gt},wn);return wn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/path.js"),Ee=ce("./node_modules/core-js/internals/has.js"),Ce=ce("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),oe=ce("./node_modules/core-js/internals/object-define-property.js").f;ve.exports=function(y){var a=Ne.Symbol||(Ne.Symbol={});Ee(a,y)||oe(a,y,{value:Ce.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/fails.js");ve.exports=!Ne(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/is-object.js"),Ce=Ne.document,oe=Ee(Ce)&&Ee(Ce.createElement);ve.exports=function(y){return oe?Ce.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(ve){ve.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/get-built-in.js");ve.exports=Ne("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/engine-user-agent.js"),Ce=Ne.process,oe=Ne.Deno,y=Ce&&Ce.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]))),ve.exports=b&&+b},"./node_modules/core-js/internals/enum-bug-keys.js":function(ve){ve.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ce=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=ce("./node_modules/core-js/internals/redefine.js"),y=ce("./node_modules/core-js/internals/set-global.js"),a=ce("./node_modules/core-js/internals/copy-constructor-properties.js"),E=ce("./node_modules/core-js/internals/is-forced.js");ve.exports=function(b,x){var z=b.target,ne=b.global,me=b.stat,Ue,Pe,Te,Ve,Ye,nt;if(ne?Pe=Ne:me?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+(me?".":"#")+Te,b.forced),!Ue&&Ve!==void 0){if(typeof Ye==typeof Ve)continue;a(Ye,Ve)}(b.sham||Ve&&Ve.sham)&&Ce(Ye,"sham",!0),oe(Pe,Te,Ye,b)}}},"./node_modules/core-js/internals/fails.js":function(ve){ve.exports=function(De){try{return!!De()}catch(ce){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/a-function.js");ve.exports=function(Ee,Ce,oe){if(Ne(Ee),Ce===void 0)return Ee;switch(oe){case 0:return function(){return Ee.call(Ce)};case 1:return function(y){return Ee.call(Ce,y)};case 2:return function(y,a){return Ee.call(Ce,y,a)};case 3:return function(y,a,E){return Ee.call(Ce,y,a,E)}}return function(){return Ee.apply(Ce,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=function(Ce){return typeof Ce=="function"?Ce:void 0};ve.exports=function(Ce,oe){return arguments.length<2?Ee(Ne[Ce]):Ne[Ce]&&Ne[Ce][oe]}},"./node_modules/core-js/internals/global.js":function(ve){var De=function(ce){return ce&&ce.Math==Math&&ce};ve.exports=De(typeof globalThis=="object"&&globalThis)||De(typeof window=="object"&&window)||De(typeof self=="object"&&self)||De(typeof Be.g=="object"&&Be.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-object.js"),Ee={}.hasOwnProperty;ve.exports=Object.hasOwn||function(oe,y){return Ee.call(Ne(oe),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(ve){ve.exports={}},"./node_modules/core-js/internals/html.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/get-built-in.js");ve.exports=Ne("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/descriptors.js"),Ee=ce("./node_modules/core-js/internals/fails.js"),Ce=ce("./node_modules/core-js/internals/document-create-element.js");ve.exports=!Ne&&!Ee(function(){return Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/fails.js"),Ee=ce("./node_modules/core-js/internals/classof-raw.js"),Ce="".split;ve.exports=Ne(function(){return!Object("z").propertyIsEnumerable(0)})?function(oe){return Ee(oe)=="String"?Ce.call(oe,""):Object(oe)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/is-object.js"),Ee=ce("./node_modules/core-js/internals/object-set-prototype-of.js");ve.exports=function(Ce,oe,y){var a,E;return Ee&&typeof(a=oe.constructor)=="function"&&a!==y&&Ne(E=a.prototype)&&E!==y.prototype&&Ee(Ce,E),Ce}},"./node_modules/core-js/internals/inspect-source.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/shared-store.js"),Ee=Function.toString;typeof Ne.inspectSource!="function"&&(Ne.inspectSource=function(Ce){return Ee.call(Ce)}),ve.exports=Ne.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/native-weak-map.js"),Ee=ce("./node_modules/core-js/internals/global.js"),Ce=ce("./node_modules/core-js/internals/is-object.js"),oe=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ce("./node_modules/core-js/internals/has.js"),a=ce("./node_modules/core-js/internals/shared-store.js"),E=ce("./node_modules/core-js/internals/shared-key.js"),b=ce("./node_modules/core-js/internals/hidden-keys.js"),x="Object already initialized",z=Ee.WeakMap,ne,me,Ue,Pe=function(Qe){return Ue(Qe)?me(Qe):ne(Qe,{})},Te=function(Qe){return function(kt){var ut;if(!Ce(kt)||(ut=me(kt)).type!==Qe)throw TypeError("Incompatible receiver, "+Qe+" required");return ut}};if(Ne||a.state){var Ve=a.state||(a.state=new z),Ye=Ve.get,nt=Ve.has,Oe=Ve.set;ne=function(Qe,kt){if(nt.call(Ve,Qe))throw new TypeError(x);return kt.facade=Qe,Oe.call(Ve,Qe,kt),kt},me=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,kt){if(y(Qe,Ft))throw new TypeError(x);return kt.facade=Qe,oe(Qe,Ft,kt),kt},me=function(Qe){return y(Qe,Ft)?Qe[Ft]:{}},Ue=function(Qe){return y(Qe,Ft)}}ve.exports={set:ne,get:me,has:Ue,enforce:Pe,getterFor:Te}},"./node_modules/core-js/internals/is-array.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/classof-raw.js");ve.exports=Array.isArray||function(Ce){return Ne(Ce)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/fails.js"),Ee=/#|\.prototype\./,Ce=function(b,x){var z=y[oe(b)];return z==E?!0:z==a?!1:typeof x=="function"?Ne(x):!!x},oe=Ce.normalize=function(b){return String(b).replace(Ee,".").toLowerCase()},y=Ce.data={},a=Ce.NATIVE="N",E=Ce.POLYFILL="P";ve.exports=Ce},"./node_modules/core-js/internals/is-object.js":function(ve){ve.exports=function(De){return typeof De=="object"?De!==null:typeof De=="function"}},"./node_modules/core-js/internals/is-pure.js":function(ve){ve.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/get-built-in.js"),Ee=ce("./node_modules/core-js/internals/use-symbol-as-uid.js");ve.exports=Ee?function(Ce){return typeof Ce=="symbol"}:function(Ce){var oe=Ne("Symbol");return typeof oe=="function"&&Object(Ce)instanceof oe}},"./node_modules/core-js/internals/iterators-core.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/fails.js"),Ee=ce("./node_modules/core-js/internals/object-get-prototype-of.js"),Ce=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=ce("./node_modules/core-js/internals/has.js"),y=ce("./node_modules/core-js/internals/well-known-symbol.js"),a=ce("./node_modules/core-js/internals/is-pure.js"),E=y("iterator"),b=!1,x=function(){return this},z,ne,me;[].keys&&(me=[].keys(),"next"in me?(ne=Ee(Ee(me)),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)&&Ce(z,E,x),ve.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:b}},"./node_modules/core-js/internals/iterators.js":function(ve){ve.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/engine-v8-version.js"),Ee=ce("./node_modules/core-js/internals/fails.js");ve.exports=!!Object.getOwnPropertySymbols&&!Ee(function(){var Ce=Symbol();return!String(Ce)||!(Object(Ce)instanceof Symbol)||!Symbol.sham&&Ne&&Ne<41})},"./node_modules/core-js/internals/native-weak-map.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/inspect-source.js"),Ce=Ne.WeakMap;ve.exports=typeof Ce=="function"&&/native code/.test(Ee(Ce))},"./node_modules/core-js/internals/object-assign.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/descriptors.js"),Ee=ce("./node_modules/core-js/internals/fails.js"),Ce=ce("./node_modules/core-js/internals/object-keys.js"),oe=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=ce("./node_modules/core-js/internals/to-object.js"),E=ce("./node_modules/core-js/internals/indexed-object.js"),b=Object.assign,x=Object.defineProperty;ve.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={},me=Symbol(),Ue="abcdefghijklmnopqrst";return z[me]=7,Ue.split("").forEach(function(Pe){ne[Pe]=Pe}),b({},z)[me]!=7||Ce(b({},ne)).join("")!=Ue})?function(ne,me){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?Ce(nt).concat(Ve(nt)):Ce(nt),Ft=Oe.length,Qe=0,kt;Ft>Qe;)kt=Oe[Qe++],(!Ne||Ye.call(nt,kt))&&(Ue[kt]=nt[kt]);return Ue}:b},"./node_modules/core-js/internals/object-create.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/an-object.js"),Ee=ce("./node_modules/core-js/internals/object-define-properties.js"),Ce=ce("./node_modules/core-js/internals/enum-bug-keys.js"),oe=ce("./node_modules/core-js/internals/hidden-keys.js"),y=ce("./node_modules/core-js/internals/html.js"),a=ce("./node_modules/core-js/internals/document-create-element.js"),E=ce("./node_modules/core-js/internals/shared-key.js"),b=">",x="<",z="prototype",ne="script",me=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=Ce.length;Oe--;)delete nt[z][Ce[Oe]];return nt()};oe[me]=!0,ve.exports=Object.create||function(Ft,Qe){var kt;return Ft!==null?(Ue[z]=Ne(Ft),kt=new Ue,Ue[z]=null,kt[me]=Ft):kt=nt(),Qe===void 0?kt:Ee(kt,Qe)}},"./node_modules/core-js/internals/object-define-properties.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/descriptors.js"),Ee=ce("./node_modules/core-js/internals/object-define-property.js"),Ce=ce("./node_modules/core-js/internals/an-object.js"),oe=ce("./node_modules/core-js/internals/object-keys.js");ve.exports=Ne?Object.defineProperties:function(a,E){Ce(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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/descriptors.js"),Ee=ce("./node_modules/core-js/internals/ie8-dom-define.js"),Ce=ce("./node_modules/core-js/internals/an-object.js"),oe=ce("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;De.f=Ne?y:function(E,b,x){if(Ce(E),b=oe(b),Ce(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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/descriptors.js"),Ee=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ce=ce("./node_modules/core-js/internals/create-property-descriptor.js"),oe=ce("./node_modules/core-js/internals/to-indexed-object.js"),y=ce("./node_modules/core-js/internals/to-property-key.js"),a=ce("./node_modules/core-js/internals/has.js"),E=ce("./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(me){}if(a(z,ne))return Ce(!Ee.f.call(z,ne),z[ne])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ce("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ce={}.toString,oe=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Ee(a)}catch(E){return oe.slice()}};ve.exports.f=function(E){return oe&&Ce.call(E)=="[object Window]"?y(E):Ee(Ne(E))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/object-keys-internal.js"),Ee=ce("./node_modules/core-js/internals/enum-bug-keys.js"),Ce=Ee.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(y){return Ne(y,Ce)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(ve,De){De.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/has.js"),Ee=ce("./node_modules/core-js/internals/to-object.js"),Ce=ce("./node_modules/core-js/internals/shared-key.js"),oe=ce("./node_modules/core-js/internals/correct-prototype-getter.js"),y=Ce("IE_PROTO"),a=Object.prototype;ve.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/has.js"),Ee=ce("./node_modules/core-js/internals/to-indexed-object.js"),Ce=ce("./node_modules/core-js/internals/array-includes.js").indexOf,oe=ce("./node_modules/core-js/internals/hidden-keys.js");ve.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++])&&(~Ce(x,z)||x.push(z));return x}},"./node_modules/core-js/internals/object-keys.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/object-keys-internal.js"),Ee=ce("./node_modules/core-js/internals/enum-bug-keys.js");ve.exports=Object.keys||function(oe){return Ne(oe,Ee)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(ve,De){"use strict";var ce={}.propertyIsEnumerable,Ne=Object.getOwnPropertyDescriptor,Ee=Ne&&!ce.call({1:2},1);De.f=Ee?function(oe){var y=Ne(this,oe);return!!y&&y.enumerable}:ce},"./node_modules/core-js/internals/object-set-prototype-of.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/an-object.js"),Ee=ce("./node_modules/core-js/internals/a-possible-prototype.js");ve.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ce=!1,oe={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(oe,[]),Ce=oe instanceof Array}catch(a){}return function(E,b){return Ne(E),Ee(b),Ce?y.call(E,b):E.__proto__=b,E}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Ee=ce("./node_modules/core-js/internals/classof.js");ve.exports=Ne?{}.toString:function(){return"[object "+Ee(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/is-object.js");ve.exports=function(Ee,Ce){var oe,y;if(Ce==="string"&&typeof(oe=Ee.toString)=="function"&&!Ne(y=oe.call(Ee))||typeof(oe=Ee.valueOf)=="function"&&!Ne(y=oe.call(Ee))||Ce!=="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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/get-built-in.js"),Ee=ce("./node_modules/core-js/internals/object-get-own-property-names.js"),Ce=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),oe=ce("./node_modules/core-js/internals/an-object.js");ve.exports=Ne("Reflect","ownKeys")||function(a){var E=Ee.f(oe(a)),b=Ce.f;return b?E.concat(b(a)):E}},"./node_modules/core-js/internals/path.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js");ve.exports=Ne},"./node_modules/core-js/internals/redefine.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ce=ce("./node_modules/core-js/internals/has.js"),oe=ce("./node_modules/core-js/internals/set-global.js"),y=ce("./node_modules/core-js/internals/inspect-source.js"),a=ce("./node_modules/core-js/internals/internal-state.js"),E=a.get,b=a.enforce,x=String(String).split("String");(ve.exports=function(z,ne,me,Ue){var Pe=Ue?!!Ue.unsafe:!1,Te=Ue?!!Ue.enumerable:!1,Ve=Ue?!!Ue.noTargetGet:!1,Ye;if(typeof me=="function"&&(typeof ne=="string"&&!Ce(me,"name")&&Ee(me,"name",ne),Ye=b(me),Ye.source||(Ye.source=x.join(typeof ne=="string"?ne:""))),z===Ne){Te?z[ne]=me:oe(ne,me);return}else Pe?!Ve&&z[ne]&&(Te=!0):delete z[ne];Te?z[ne]=me:Ee(z,ne,me)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/an-object.js");ve.exports=function(){var Ee=Ne(this),Ce="";return Ee.global&&(Ce+="g"),Ee.ignoreCase&&(Ce+="i"),Ee.multiline&&(Ce+="m"),Ee.dotAll&&(Ce+="s"),Ee.unicode&&(Ce+="u"),Ee.sticky&&(Ce+="y"),Ce}},"./node_modules/core-js/internals/require-object-coercible.js":function(ve){ve.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js");ve.exports=function(Ee,Ce){try{Object.defineProperty(Ne,Ee,{value:Ce,configurable:!0,writable:!0})}catch(oe){Ne[Ee]=Ce}return Ce}},"./node_modules/core-js/internals/set-to-string-tag.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/object-define-property.js").f,Ee=ce("./node_modules/core-js/internals/has.js"),Ce=ce("./node_modules/core-js/internals/well-known-symbol.js"),oe=Ce("toStringTag");ve.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/shared.js"),Ee=ce("./node_modules/core-js/internals/uid.js"),Ce=Ne("keys");ve.exports=function(oe){return Ce[oe]||(Ce[oe]=Ee(oe))}},"./node_modules/core-js/internals/shared-store.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/set-global.js"),Ce="__core-js_shared__",oe=Ne[Ce]||Ee(Ce,{});ve.exports=oe},"./node_modules/core-js/internals/shared.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/is-pure.js"),Ee=ce("./node_modules/core-js/internals/shared-store.js");(ve.exports=function(Ce,oe){return Ee[Ce]||(Ee[Ce]=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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/fails.js");ve.exports=function(Ee){return Ne(function(){var Ce=""[Ee]('"');return Ce!==Ce.toLowerCase()||Ce.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-integer.js"),Ee=ce("./node_modules/core-js/internals/to-string.js"),Ce=ce("./node_modules/core-js/internals/require-object-coercible.js"),oe=function(y){return function(a,E){var b=Ee(Ce(a)),x=Ne(E),z=b.length,ne,me;return x<0||x>=z?y?"":void 0:(ne=b.charCodeAt(x),ne<55296||ne>56319||x+1===z||(me=b.charCodeAt(x+1))<56320||me>57343?y?b.charAt(x):ne:y?b.slice(x,x+2):(ne-55296<<10)+(me-56320)+65536)}};ve.exports={codeAt:oe(!1),charAt:oe(!0)}},"./node_modules/core-js/internals/string-trim.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/require-object-coercible.js"),Ee=ce("./node_modules/core-js/internals/to-string.js"),Ce=ce("./node_modules/core-js/internals/whitespaces.js"),oe="["+Ce+"]",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}};ve.exports={start:E(1),end:E(2),trim:E(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-integer.js"),Ee=Math.max,Ce=Math.min;ve.exports=function(oe,y){var a=Ne(oe);return a<0?Ee(a+y,0):Ce(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/indexed-object.js"),Ee=ce("./node_modules/core-js/internals/require-object-coercible.js");ve.exports=function(Ce){return Ne(Ee(Ce))}},"./node_modules/core-js/internals/to-integer.js":function(ve){var De=Math.ceil,ce=Math.floor;ve.exports=function(Ne){return isNaN(Ne=+Ne)?0:(Ne>0?ce:De)(Ne)}},"./node_modules/core-js/internals/to-length.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-integer.js"),Ee=Math.min;ve.exports=function(Ce){return Ce>0?Ee(Ne(Ce),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/require-object-coercible.js");ve.exports=function(Ee){return Object(Ne(Ee))}},"./node_modules/core-js/internals/to-primitive.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/is-object.js"),Ee=ce("./node_modules/core-js/internals/is-symbol.js"),Ce=ce("./node_modules/core-js/internals/ordinary-to-primitive.js"),oe=ce("./node_modules/core-js/internals/well-known-symbol.js"),y=oe("toPrimitive");ve.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"),Ce(a,E)}},"./node_modules/core-js/internals/to-property-key.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-primitive.js"),Ee=ce("./node_modules/core-js/internals/is-symbol.js");ve.exports=function(Ce){var oe=Ne(Ce,"string");return Ee(oe)?oe:String(oe)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/well-known-symbol.js"),Ee=Ne("toStringTag"),Ce={};Ce[Ee]="z",ve.exports=String(Ce)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/is-symbol.js");ve.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(ve){var De=0,ce=Math.random();ve.exports=function(Ne){return"Symbol("+String(Ne===void 0?"":Ne)+")_"+(++De+ce).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/native-symbol.js");ve.exports=Ne&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/well-known-symbol.js");De.f=Ne},"./node_modules/core-js/internals/well-known-symbol.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/shared.js"),Ce=ce("./node_modules/core-js/internals/has.js"),oe=ce("./node_modules/core-js/internals/uid.js"),y=ce("./node_modules/core-js/internals/native-symbol.js"),a=ce("./node_modules/core-js/internals/use-symbol-as-uid.js"),E=Ee("wks"),b=Ne.Symbol,x=a?b:b&&b.withoutSetter||oe;ve.exports=function(z){return(!Ce(E,z)||!(y||typeof E[z]=="string"))&&(y&&Ce(b,z)?E[z]=b[z]:E[z]=x("Symbol."+z)),E[z]}},"./node_modules/core-js/internals/whitespaces.js":function(ve){ve.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(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/fails.js"),Ce=ce("./node_modules/core-js/internals/is-array.js"),oe=ce("./node_modules/core-js/internals/is-object.js"),y=ce("./node_modules/core-js/internals/to-object.js"),a=ce("./node_modules/core-js/internals/to-length.js"),E=ce("./node_modules/core-js/internals/create-property.js"),b=ce("./node_modules/core-js/internals/array-species-create.js"),x=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),z=ce("./node_modules/core-js/internals/well-known-symbol.js"),ne=ce("./node_modules/core-js/internals/engine-v8-version.js"),me=z("isConcatSpreadable"),Ue=9007199254740991,Pe="Maximum allowed index exceeded",Te=ne>=51||!Ee(function(){var Oe=[];return Oe[me]=!1,Oe.concat()[0]!==Oe}),Ve=x("concat"),Ye=function(Oe){if(!oe(Oe))return!1;var Ft=Oe[me];return Ft!==void 0?!!Ft:Ce(Oe)},nt=!Te||!Ve;Ne({target:"Array",proto:!0,forced:nt},{concat:function(Ft){var Qe=y(this),kt=b(Qe,0),ut=0,it,Nt,mt,Pt,gt;for(it=-1,mt=arguments.length;itUe)throw TypeError(Pe);for(Nt=0;Nt=Ue)throw TypeError(Pe);E(kt,ut++,gt)}return kt.length=ut,kt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ce("./node_modules/core-js/internals/add-to-unscopables.js"),Ce=ce("./node_modules/core-js/internals/iterators.js"),oe=ce("./node_modules/core-js/internals/internal-state.js"),y=ce("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",E=oe.set,b=oe.getterFor(a);ve.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,me=x.index++;return!z||me>=z.length?(x.target=void 0,{value:void 0,done:!0}):ne=="keys"?{value:me,done:!1}:ne=="values"?{value:z[me],done:!1}:{value:[me,z[me]],done:!1}},"values"),Ce.Arguments=Ce.Array,Ee("keys"),Ee("values"),Ee("entries")},"./node_modules/core-js/modules/es.array.join.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/indexed-object.js"),Ce=ce("./node_modules/core-js/internals/to-indexed-object.js"),oe=ce("./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(Ce(this),x===void 0?",":x)}})},"./node_modules/core-js/modules/es.array.map.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/array-iteration.js").map,Ce=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=Ce("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(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/is-object.js"),Ce=ce("./node_modules/core-js/internals/is-array.js"),oe=ce("./node_modules/core-js/internals/to-absolute-index.js"),y=ce("./node_modules/core-js/internals/to-length.js"),a=ce("./node_modules/core-js/internals/to-indexed-object.js"),E=ce("./node_modules/core-js/internals/create-property.js"),b=ce("./node_modules/core-js/internals/well-known-symbol.js"),x=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),z=x("slice"),ne=b("species"),me=[].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,kt,ut;if(Ce(Ye)&&(Qe=Ye.constructor,typeof Qe=="function"&&(Qe===Array||Ce(Qe.prototype))?Qe=void 0:Ee(Qe)&&(Qe=Qe[ne],Qe===null&&(Qe=void 0)),Qe===Array||Qe===void 0))return me.call(Ye,Oe,Ft);for(kt=new(Qe===void 0?Array:Qe)(Ue(Ft-Oe,0)),ut=0;Oe2){if(mt=Te(mt),Pt=mt.charCodeAt(0),Pt===43||Pt===45){if(gt=mt.charCodeAt(2),gt===88||gt===120)return NaN}else if(Pt===48){switch(mt.charCodeAt(1)){case 66:case 98:et=2,Xt=49;break;case 79:case 111:et=8,Xt=55;break;default:return+mt}for(An=mt.slice(2),bt=An.length,qt=0;qtXt)return NaN;return parseInt(An,et)}}return+mt};if(Ce(Ve,!Ye(" 0o1")||!Ye("0b1")||Ye("+0x1"))){for(var Qe=function(mt){var Pt=arguments.length<1?0:mt,gt=this;return gt instanceof Qe&&(Oe?z(function(){nt.valueOf.call(gt)}):a(gt)!=Ve)?E(new Ye(Ft(Pt)),gt,Qe):Ft(Pt)},kt=Ne?me(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(","),ut=0,it;kt.length>ut;ut++)y(Ye,it=kt[ut])&&!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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/to-object.js"),Ce=ce("./node_modules/core-js/internals/object-keys.js"),oe=ce("./node_modules/core-js/internals/fails.js"),y=oe(function(){Ce(1)});Ne({target:"Object",stat:!0,forced:y},{keys:function(E){return Ce(Ee(E))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Ee=ce("./node_modules/core-js/internals/redefine.js"),Ce=ce("./node_modules/core-js/internals/object-to-string.js");Ne||Ee(Object.prototype,"toString",Ce,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/redefine.js"),Ee=ce("./node_modules/core-js/internals/an-object.js"),Ce=ce("./node_modules/core-js/internals/to-string.js"),oe=ce("./node_modules/core-js/internals/fails.js"),y=ce("./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 me=Ee(this),Ue=Ce(me.source),Pe=me.flags,Te=Ce(Pe===void 0&&me instanceof RegExp&&!("flags"in E)?y.call(me):Pe);return"/"+Ue+"/"+Te},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/string-multibyte.js").charAt,Ee=ce("./node_modules/core-js/internals/to-string.js"),Ce=ce("./node_modules/core-js/internals/internal-state.js"),oe=ce("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=Ce.set,E=Ce.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,me;return ne>=z.length?{value:void 0,done:!0}:(me=Ne(z,ne),x.index+=me.length,{value:me,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/create-html.js"),Ce=ce("./node_modules/core-js/internals/string-html-forced.js");Ne({target:"String",proto:!0,forced:Ce("link")},{link:function(y){return Ee(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/descriptors.js"),Ce=ce("./node_modules/core-js/internals/global.js"),oe=ce("./node_modules/core-js/internals/has.js"),y=ce("./node_modules/core-js/internals/is-object.js"),a=ce("./node_modules/core-js/internals/object-define-property.js").f,E=ce("./node_modules/core-js/internals/copy-constructor-properties.js"),b=Ce.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 me=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=me.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(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/define-well-known-symbol.js");Ne("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(ve,De,ce){"use strict";var Ne=ce("./node_modules/core-js/internals/export.js"),Ee=ce("./node_modules/core-js/internals/global.js"),Ce=ce("./node_modules/core-js/internals/get-built-in.js"),oe=ce("./node_modules/core-js/internals/is-pure.js"),y=ce("./node_modules/core-js/internals/descriptors.js"),a=ce("./node_modules/core-js/internals/native-symbol.js"),E=ce("./node_modules/core-js/internals/fails.js"),b=ce("./node_modules/core-js/internals/has.js"),x=ce("./node_modules/core-js/internals/is-array.js"),z=ce("./node_modules/core-js/internals/is-object.js"),ne=ce("./node_modules/core-js/internals/is-symbol.js"),me=ce("./node_modules/core-js/internals/an-object.js"),Ue=ce("./node_modules/core-js/internals/to-object.js"),Pe=ce("./node_modules/core-js/internals/to-indexed-object.js"),Te=ce("./node_modules/core-js/internals/to-property-key.js"),Ve=ce("./node_modules/core-js/internals/to-string.js"),Ye=ce("./node_modules/core-js/internals/create-property-descriptor.js"),nt=ce("./node_modules/core-js/internals/object-create.js"),Oe=ce("./node_modules/core-js/internals/object-keys.js"),Ft=ce("./node_modules/core-js/internals/object-get-own-property-names.js"),Qe=ce("./node_modules/core-js/internals/object-get-own-property-names-external.js"),kt=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ut=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),it=ce("./node_modules/core-js/internals/object-define-property.js"),Nt=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),mt=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),Pt=ce("./node_modules/core-js/internals/redefine.js"),gt=ce("./node_modules/core-js/internals/shared.js"),et=ce("./node_modules/core-js/internals/shared-key.js"),Xt=ce("./node_modules/core-js/internals/hidden-keys.js"),An=ce("./node_modules/core-js/internals/uid.js"),bt=ce("./node_modules/core-js/internals/well-known-symbol.js"),qt=ce("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),wn=ce("./node_modules/core-js/internals/define-well-known-symbol.js"),zn=ce("./node_modules/core-js/internals/set-to-string-tag.js"),fn=ce("./node_modules/core-js/internals/internal-state.js"),qn=ce("./node_modules/core-js/internals/array-iteration.js").forEach,It=et("hidden"),On="Symbol",rr="prototype",ke=bt("toPrimitive"),_t=fn.set,He=fn.getterFor(On),pe=Object[rr],se=Ee.Symbol,ye=Ce("JSON","stringify"),qe=ut.f,pt=it.f,Me=Qe.f,Xe=Nt.f,Ot=gt("symbols"),yt=gt("op-symbols"),lt=gt("string-to-symbol-registry"),Wt=gt("symbol-to-string-registry"),kn=gt("wks"),Qt=Ee.QObject,dn=!Qt||!Qt[rr]||!Qt[rr].findChild,Rt=y&&E(function(){return nt(pt({},"a",{get:function(){return pt(this,"a",{value:7}).a}})).a!=7})?function(ea,xr,_r){var qr=qe(pe,xr);qr&&delete pe[xr],pt(ea,xr,_r),qr&&ea!==pe&&pt(pe,xr,qr)}:pt,bn=function(ea,xr){var _r=Ot[ea]=nt(se[rr]);return _t(_r,{type:On,tag:ea,description:xr}),y||(_r.description=xr),_r},tn=function(xr,_r,qr){xr===pe&&tn(yt,_r,qr),me(xr);var Pa=Te(_r);return me(qr),b(Ot,Pa)?(qr.enumerable?(b(xr,It)&&xr[It][Pa]&&(xr[It][Pa]=!1),qr=nt(qr,{enumerable:Ye(0,!1)})):(b(xr,It)||pt(xr,It,Ye(1,{})),xr[It][Pa]=!0),Rt(xr,Pa,qr)):pt(xr,Pa,qr)},Ar=function(xr,_r){me(xr);var qr=Pe(_r),Pa=Oe(qr).concat(ma(qr));return qn(Pa,function(ga){(!y||gr.call(qr,ga))&&tn(xr,ga,qr[ga])}),xr},Sr=function(xr,_r){return _r===void 0?nt(xr):Ar(nt(xr),_r)},gr=function(xr){var _r=Te(xr),qr=Xe.call(this,_r);return this===pe&&b(Ot,_r)&&!b(yt,_r)?!1:qr||!b(this,_r)||!b(Ot,_r)||b(this,It)&&this[It][_r]?qr:!0},zr=function(xr,_r){var qr=Pe(xr),Pa=Te(_r);if(!(qr===pe&&b(Ot,Pa)&&!b(yt,Pa))){var ga=qe(qr,Pa);return ga&&b(Ot,Pa)&&!(b(qr,It)&&qr[It][Pa])&&(ga.enumerable=!0),ga}},Nr=function(xr){var _r=Me(Pe(xr)),qr=[];return qn(_r,function(Pa){!b(Ot,Pa)&&!b(Xt,Pa)&&qr.push(Pa)}),qr},ma=function(xr){var _r=xr===pe,qr=Me(_r?yt:Pe(xr)),Pa=[];return qn(qr,function(ga){b(Ot,ga)&&(!_r||b(pe,ga))&&Pa.push(Ot[ga])}),Pa};if(a||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var xr=!arguments.length||arguments[0]===void 0?void 0:Ve(arguments[0]),_r=An(xr),qr=function(Pa){this===pe&&qr.call(yt,Pa),b(this,It)&&b(this[It],_r)&&(this[It][_r]=!1),Rt(this,_r,Ye(1,Pa))};return y&&dn&&Rt(pe,_r,{configurable:!0,set:qr}),bn(_r,xr)},Pt(se[rr],"toString",function(){return He(this).tag}),Pt(se,"withoutSetter",function(ea){return bn(An(ea),ea)}),Nt.f=gr,it.f=tn,ut.f=zr,Ft.f=Qe.f=Nr,kt.f=ma,qt.f=function(ea){return bn(bt(ea),ea)},y&&(pt(se[rr],"description",{configurable:!0,get:function(){return He(this).description}}),oe||Pt(pe,"propertyIsEnumerable",gr,{unsafe:!0}))),Ne({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:se}),qn(Oe(kn),function(ea){wn(ea)}),Ne({target:On,stat:!0,forced:!a},{for:function(ea){var xr=Ve(ea);if(b(lt,xr))return lt[xr];var _r=se(xr);return lt[xr]=_r,Wt[_r]=xr,_r},keyFor:function(xr){if(!ne(xr))throw TypeError(xr+" is not a symbol");if(b(Wt,xr))return Wt[xr]},useSetter:function(){dn=!0},useSimple:function(){dn=!1}}),Ne({target:"Object",stat:!0,forced:!a,sham:!y},{create:Sr,defineProperty:tn,defineProperties:Ar,getOwnPropertyDescriptor:zr}),Ne({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Nr,getOwnPropertySymbols:ma}),Ne({target:"Object",stat:!0,forced:E(function(){kt.f(1)})},{getOwnPropertySymbols:function(xr){return kt.f(Ue(xr))}}),ye){var Qr=!a||E(function(){var ea=se();return ye([ea])!="[null]"||ye({a:ea})!="{}"||ye(Object(ea))!="{}"});Ne({target:"JSON",stat:!0,forced:Qr},{stringify:function(xr,_r,qr){for(var Pa=[xr],ga=1,aa;arguments.length>ga;)Pa.push(arguments[ga++]);if(aa=_r,!(!z(_r)&&xr===void 0||ne(xr)))return x(_r)||(_r=function(Fo,za){if(typeof aa=="function"&&(za=aa.call(this,Fo,za)),!ne(za))return za}),Pa[1]=_r,ye.apply(null,Pa)}})}se[rr][ke]||mt(se[rr],ke,se[rr].valueOf),zn(se,On),Xt[It]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/dom-iterables.js"),Ce=ce("./node_modules/core-js/internals/array-for-each.js"),oe=ce("./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!==Ce)try{oe(E,"forEach",Ce)}catch(b){E.forEach=Ce}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(ve,De,ce){var Ne=ce("./node_modules/core-js/internals/global.js"),Ee=ce("./node_modules/core-js/internals/dom-iterables.js"),Ce=ce("./node_modules/core-js/modules/es.array.iterator.js"),oe=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ce("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),E=y("toStringTag"),b=Ce.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 me in Ce)if(ne[me]!==Ce[me])try{oe(ne,me,Ce[me])}catch(Ue){ne[me]=Ce[me]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(ve){(function(De,ce){ve.exports=ce()})(this,function(){"use strict";function De(Qt){var dn=typeof Qt;return Qt!==null&&(dn==="object"||dn==="function")}function ce(Qt){return typeof Qt=="function"}var Ne=void 0;Array.isArray?Ne=Array.isArray:Ne=function(Qt){return Object.prototype.toString.call(Qt)==="[object Array]"};var Ee=Ne,Ce=0,oe=void 0,y=void 0,a=function(dn,Rt){Oe[Ce]=dn,Oe[Ce+1]=Rt,Ce+=2,Ce===2&&(y?y(Ft):kt())};function E(Qt){y=Qt}function b(Qt){a=Qt}var x=typeof window!="undefined"?window:void 0,z=x||{},ne=z.MutationObserver||z.WebKitMutationObserver,me=typeof self=="undefined"&&typeof ue!="undefined"&&{}.toString.call(ue)==="[object process]",Ue=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return ue.nextTick(Ft)}}function Te(){return typeof oe!="undefined"?function(){oe(Ft)}:nt()}function Ve(){var Qt=0,dn=new ne(Ft),Rt=document.createTextNode("");return dn.observe(Rt,{characterData:!0}),function(){Rt.data=Qt=++Qt%2}}function Ye(){var Qt=new MessageChannel;return Qt.port1.onmessage=Ft,function(){return Qt.port2.postMessage(0)}}function nt(){var Qt=setTimeout;return function(){return Qt(Ft,1)}}var Oe=new Array(1e3);function Ft(){for(var Qt=0;Qt>1,ce=-7,Ne=we?At-1:0,Ee=we?-1:1,Ce=Be[ue+Ne];for(Ne+=Ee,Ze=Ce&(1<<-ce)-1,Ce>>=-ce,ce+=he;ce>0;Ze=Ze*256+Be[ue+Ne],Ne+=Ee,ce-=8);for(Re=Ze&(1<<-ce)-1,Ze>>=-ce,ce+=ze;ce>0;Re=Re*256+Be[ue+Ne],Ne+=Ee,ce-=8);if(Ze===0)Ze=1-De;else{if(Ze===ve)return Re?NaN:(Ce?-1:1)*(1/0);Re=Re+Math.pow(2,ze),Ze=Ze-De}return(Ce?-1:1)*Re*Math.pow(2,Ze-ze)},Mt.write=function(Be,ue,we,ze,At,Ze){var Re,he,ve,De=Ze*8-At-1,ce=(1<>1,Ee=At===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ce=ze?0:Ze-1,oe=ze?1:-1,y=ue<0||ue===0&&1/ue<0?1:0;for(ue=Math.abs(ue),isNaN(ue)||ue===1/0?(he=isNaN(ue)?1:0,Re=ce):(Re=Math.floor(Math.log(ue)/Math.LN2),ue*(ve=Math.pow(2,-Re))<1&&(Re--,ve*=2),Re+Ne>=1?ue+=Ee/ve:ue+=Ee*Math.pow(2,1-Ne),ue*ve>=2&&(Re++,ve/=2),Re+Ne>=ce?(he=0,Re=ce):Re+Ne>=1?(he=(ue*ve-1)*Math.pow(2,At),Re=Re+Ne):(he=ue*Math.pow(2,Ne-1)*Math.pow(2,At),Re=0));At>=8;Be[we+Ce]=he&255,Ce+=oe,he/=256,At-=8);for(Re=Re<0;Be[we+Ce]=Re&255,Ce+=oe,Re/=256,De-=8);Be[we+Ce-oe]|=y*128}},7348:function(rn,Mt,Be){"use strict";Be.r(Mt),Be.d(Mt,{AcroForm:function(){return ji},AcroFormAppearance:function(){return oa},AcroFormButton:function(){return oi},AcroFormCheckBox:function(){return Oi},AcroFormChoiceField:function(){return $a},AcroFormComboBox:function(){return co},AcroFormEditBox:function(){return ka},AcroFormListBox:function(){return Io},AcroFormPasswordField:function(){return Ti},AcroFormPushButton:function(){return Xi},AcroFormRadioButton:function(){return Ri},AcroFormTextField:function(){return WA},GState:function(){return Ln},ShadingPattern:function(){return hn},TilingPattern:function(){return Hn},default:function(){return Wn},jsPDF:function(){return Wn}});var ue=Be(93664),we={},ze=function(ae,te,re,fe,be){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 je=Ie.data,_e=je.$e$;if(_e){var rt=new Error(_e[0]);rt.code=_e[1],rt.stack=_e[2],be(rt,null)}else be(null,je)},Se.postMessage(re,fe),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]),ve=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]),ce=function(ae,te){for(var re=new Ze(31),fe=0;fe<31;++fe)re[fe]=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 fe=ae.length,be=0,Se=new Ze(te);be>_e]=rt}else for(je=new Ze(fe),be=0;be>15-ae[be]);return je},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 me=new At(32),b=0;b<32;++b)me[b]=5;var Ue=z(ne,9,0),Pe=z(ne,9,1),Te=z(me,5,0),Ve=z(me,5,1),Ye=function(ae){for(var te=ae[0],re=1;rete&&(te=ae[re]);return te},nt=function(ae,te,re){var fe=te/8|0;return(ae[fe]|ae[fe+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))},kt={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},ut=["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 fe=new Error(te||ut[ae]);if(fe.code=ae,Error.captureStackTrace&&Error.captureStackTrace(fe,it),!re)throw fe;return fe},Nt=function(ae,te,re,fe){var be=ae.length,Se=fe?fe.length:0;if(!be||te.f&&!te.l)return re||new At(0);var Ie=!re,je=Ie||te.i!=2,_e=te.i;Ie&&(re=new At(be*3));var rt=function(_n){var Vn=re.length;if(_n>Vn){var tr=new At(Math.max(Vn*2,_n));tr.set(re),re=tr}},ht=te.f||0,vt=te.p||0,Ut=te.b||0,$e=te.l,on=te.d,Zt=te.m,sn=te.n,Tt=be*8;do{if(!$e){ht=nt(ae,vt,1);var ln=nt(ae,vt+1,3);if(vt+=3,ln)if(ln==1)$e=Pe,on=Ve,Zt=9,sn=5;else if(ln==2){var Ur=nt(ae,vt,31)+257,nr=nt(ae,vt+10,15)+4,yn=Ur+nt(ae,vt+5,31)+1;vt+=14;for(var ir=new At(yn),wr=new At(19),Kt=0;Kt>4;if(jn<16)ir[Kt++]=jn;else{var tt=0,st=0;for(jn==16?(st=3+nt(ae,vt,3),vt+=2,tt=ir[Kt-1]):jn==17?(st=3+nt(ae,vt,7),vt+=3):jn==18&&(st=11+nt(ae,vt,127),vt+=7);st--;)ir[Kt++]=tt}}var dt=ir.subarray(0,Ur),Ct=ir.subarray(Ur);Zt=Ye(dt),sn=Ye(Ct),$e=z(dt,Zt,1),on=z(Ct,sn,1)}else it(1);else{var jn=Ft(vt)+4,$n=ae[jn-4]|ae[jn-3]<<8,hr=jn+$n;if(hr>be){_e&&it(0);break}je&&rt(Ut+$n),re.set(ae.subarray(jn,hr),Ut),te.b=Ut+=$n,te.p=vt=hr*8,te.f=ht;continue}if(vt>Tt){_e&&it(0);break}}je&&rt(Ut+131072);for(var jt=(1<>4;if(vt+=tt&15,vt>Tt){_e&&it(0);break}if(tt||it(2),ct<256)re[Ut++]=ct;else if(ct==256){Je=vt,$e=null;break}else{var Et=ct-254;if(ct>264){var Kt=ct-257,xt=he[Kt];Et=nt(ae,vt,(1<>4;Gt||it(3),vt+=Gt&15;var Ct=y[$t];if($t>3){var xt=ve[$t];Ct+=Oe(ae,vt)&(1<Tt){_e&&it(0);break}je&&rt(Ut+131072);var an=Ut+Et;if(Ut>8},Pt=function(ae,te,re){re<<=te&7;var fe=te/8|0;ae[fe]|=re,ae[fe+1]|=re>>8,ae[fe+2]|=re>>16},gt=function(ae,te){for(var re=[],fe=0;feUt&&(Ut=Se[fe].s);var $e=new Ze(Ut+1),on=et(re[ht-1],$e,0);if(on>te){var fe=0,Zt=0,sn=on-te,Tt=1<te)Zt+=Tt-(1<>=sn;Zt>0;){var jn=Se[fe].s;$e[jn]=0&&Zt;--fe){var $n=Se[fe].s;$e[$n]==te&&(--$e[$n],++Zt)}on=te}return{t:new At($e),l:on}},et=function(ae,te,re){return ae.s==-1?Math.max(et(ae.l,te,re+1),et(ae.r,te,re+1)):te[ae.s]=re},Xt=function(ae){for(var te=ae.length;te&&!ae[--te];);for(var re=new Ze(++te),fe=0,be=ae[0],Se=1,Ie=function(_e){re[fe++]=_e},je=1;je<=te;++je)if(ae[je]==be&&je!=te)++Se;else{if(!be&&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(be),--Se;Se>6;Se-=6)Ie(8304);Se>2&&(Ie(Se-3<<5|8208),Se=0)}for(;Se--;)Ie(be);Se=1,be=ae[je]}return{c:re.subarray(0,fe),n:te}},An=function(ae,te){for(var re=0,fe=0;fe>8,ae[be+2]=ae[be]^255,ae[be+3]=ae[be+1]^255;for(var Se=0;Se4&&!wr[De[Jt-1]];--Jt);var Tn=rt+5<<3,Le=An(be,ne)+An(Se,me)+Ie,Ke=An(be,Ut)+An(Se,Zt)+Ie+14+3*Jt+An(nr,wr)+2*nr[16]+3*nr[17]+7*nr[18];if(_e>=0&&Tn<=Le&&Tn<=Ke)return bt(te,ht,ae.subarray(_e,_e+rt));var tt,st,dt,Ct;if(mt(te,ht,1+(Ke15&&(mt(te,ht,ct[yn]>>5&127),ht+=ct[yn]>>12)}}else tt=Ue,st=ne,dt=Te,Ct=me;for(var yn=0;yn255){var Et=xt>>18&31;Pt(te,ht,tt[Et+257]),ht+=st[Et+257],Et>7&&(mt(te,ht,xt>>23&31),ht+=he[Et]);var Gt=xt&31;Pt(te,ht,dt[Gt]),ht+=Ct[Gt],Gt>3&&(Pt(te,ht,xt>>5&8191),ht+=ve[Gt])}else Pt(te,ht,tt[xt]),ht+=st[xt]}return Pt(te,ht,tt[256]),ht+st[256]},wn=new Re([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),zn=new At(0),fn=function(ae,te,re,fe,be,Se){var Ie=Se.z||ae.length,je=new At(fe+Ie+5*(1+Math.ceil(Ie/7e3))+be),_e=je.subarray(fe,je.length-be),rt=Se.l,ht=(Se.r||0)&7;if(te){ht&&(_e[0]=Se.r>>3);for(var vt=wn[te-1],Ut=vt>>13,$e=vt&8191,on=(1<7e3||wr>24576)&&(tt>423||!rt)){ht=qt(ae,_e,0,$n,hr,Ur,yn,wr,Jt,ir-Jt,ht),wr=nr=yn=0,Jt=ir;for(var st=0;st<286;++st)hr[st]=0;for(var st=0;st<30;++st)Ur[st]=0}var dt=2,Ct=0,jt=$e,en=Le-Ke&32767;if(tt>2&&Tn==jn(ir-en))for(var Je=Math.min(Ut,tt)-1,ct=Math.min(32767,ir),Et=Math.min(258,tt);en<=ct&&--jt&&Le!=Ke;){if(ae[ir+dt]==ae[ir+dt-en]){for(var xt=0;xtdt){if(dt=xt,Ct=en,xt>Je)break;for(var Gt=Math.min(en,xt-2),$t=0,st=0;st$t&&($t=Mn,Ke=an)}}}Le=Ke,Ke=Zt[Le],en+=Le-Ke&32767}if(Ct){$n[wr++]=268435456|Ce[dt]<<18|a[Ct];var _n=Ce[dt]&31,Vn=a[Ct]&31;yn+=he[_n]+ve[Vn],++hr[257+_n],++Ur[Vn],Kt=ir+dt,++nr}else $n[wr++]=ae[ir],++hr[ae[ir]]}}for(ir=Math.max(ir,Kt);ir=Ie&&(_e[ht/8|0]=rt,tr=Ie),ht=bt(_e,ht+1,ae.subarray(ir,tr))}Se.i=Ie}return Qe(je,0,fe+Ft(ht)+be)},qn=null,It=function(){var ae=-1;return{p:function(te){for(var re=ae,fe=0;fe>>8;ae=re},d:function(){return~ae}}},On=function(){var ae=1,te=0;return{p:function(re){for(var fe=ae,be=te,Se=re.length|0,Ie=0;Ie!=Se;){for(var je=Math.min(Ie+2655,Se);Ie>16),be=(be&65535)+15*(be>>16)}ae=fe,te=be},d:function(){return ae%=65521,te%=65521,(ae&255)<<24|(ae&65280)<<8|(te&255)<<8|te>>8}}},rr=function(ae,te,re,fe,be){if(!be&&(be={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,be.w=Se.length}return fn(ae,te.level==null?6:te.level,te.mem==null?be.l?Math.ceil(Math.max(8,Math.min(13,Math.log(ae.length)))*1.5):20:12+te.mem,re,fe,be)},ke=function(ae,te){var re={};for(var fe in ae)re[fe]=ae[fe];for(var fe in te)re[fe]=te[fe];return re},_t=function(ae,te,re){for(var fe=ae(),be=ae.toString(),Se=be.slice(be.indexOf("[")+1,be.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ie=0;Ie>>0},bn=function(ae,te){return Rt(ae,te)+Rt(ae,te+4)*4294967296},tn=function(ae,te,re){for(;re;++te)ae[te]=re,re>>>=8},Ar=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&&tn(ae,4,Math.floor(new Date(te.mtime||Date.now())/1e3)),re){ae[3]=8;for(var fe=0;fe<=re.length;++fe)ae[fe+10]=re.charCodeAt(fe)}},Sr=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 fe=(te>>3&1)+(te>>4&1);fe>0;fe-=!ae[re++]);return re+(te&2)},gr=function(ae){var te=ae.length;return(ae[te-4]|ae[te-3]<<8|ae[te-2]<<16|ae[te-1]<<24)>>>0},zr=function(ae){return 10+(ae.filename?ae.filename.length+1:0)},Nr=function(ae,te){var re=te.level,fe=re==0?0:re<6?1:re==9?3:2;if(ae[0]=120,ae[1]=fe<<6|(te.dictionary&&32),ae[1]|=31-(ae[0]<<8|ae[1])%31,te.dictionary){var be=On();be.p(te.dictionary),tn(ae,2,be.d())}},ma=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 Qr(ae,te){return typeof ae=="function"&&(te=ae,ae={}),this.ondata=te,ae}var ea=null,xr=null;function _r(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Wt(ae,te,[qe],function(fe){return yt(qr(fe.data[0],fe.data[1]))},0,re)}function qr(ae,te){return rr(ae,te||{},0,0)}var Pa=null,ga=null;function aa(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Wt(ae,te,[ye],function(fe){return yt(Fo(fe.data[0],lt(fe.data[1])))},1,re)}function Fo(ae,te){return Nt(ae,{i:2},te&&te.out,te&&te.dictionary)}var za=null,da=null;function Bn(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Wt(ae,te,[qe,pt,function(){return[wi]}],function(fe){return yt(wi(fe.data[0],fe.data[1]))},2,re)}function wi(ae,te){te||(te={});var re=It(),fe=ae.length;re.p(ae);var be=rr(ae,te,zr(te),8),Se=be.length;return Ar(be,te),tn(be,Se-8,re.d()),tn(be,Se-4,fe),be}var ro=null,pi=null;function Ni(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Wt(ae,te,[ye,Me,function(){return[xo]}],function(fe){return yt(xo(fe.data[0],fe.data[1]))},3,re)}function xo(ae,te){var re=Sr(ae);return re+8>ae.length&&it(6,"invalid gzip data"),Nt(ae.subarray(re,-8),{i:2},te&&te.out||new At(gr(ae)),te&&te.dictionary)}var bi=null,Jo=null;function ei(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Wt(ae,te,[qe,Xe,function(){return[Dn]}],function(fe){return yt(Dn(fe.data[0],fe.data[1]))},4,re)}function Dn(ae,te){te||(te={});var re=On();re.p(ae);var fe=rr(ae,te,te.dictionary?6:2,4);return Nr(fe,te),tn(fe,fe.length-4,re.d()),fe}var Gn=null,Cn=null;function Wr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),Wt(ae,te,[ye,Ot,function(){return[ua]}],function(fe){return yt(ua(fe.data[0],lt(fe.data[1])))},5,re)}function ua(ae,te){return Nt(ae.subarray(ma(ae,te&&te.dictionary),-4),{i:2},te&&te.out,te&&te.dictionary)}var Kr=null,Fa=null;function ja(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&it(7),ae[0]==31&&ae[1]==139&&ae[2]==8?Ni(ae,te,re):(ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31?aa(ae,te,re):Wr(ae,te,re)}function Na(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?Fo(ae,te):ua(ae,te)}var Wa=function(ae,te,re,fe){for(var be in ae){var Se=ae[be],Ie=te+be,je=fe;Array.isArray(Se)&&(je=ke(fe,Se[1]),Se=Se[0]),Se instanceof At?re[Ie]=[Se,je]:(re[Ie+="/"]=[new At(0),je],Wa(Se,Ie,re,fe))}},ti=typeof TextEncoder!="undefined"&&new TextEncoder,Lr=typeof TextDecoder!="undefined"&&new TextDecoder,Ra=0;try{Lr.decode(zn,{stream:!0}),Ra=1}catch(ae){}var Xo=function(ae){for(var te="",re=0;;){var fe=ae[re++],be=(fe>127)+(fe>223)+(fe>239);if(re+be>ae.length)return{s:te,r:Qe(ae,re-1)};be?be==3?(fe=((fe&15)<<18|(ae[re++]&63)<<12|(ae[re++]&63)<<6|ae[re++]&63)-65536,te+=String.fromCharCode(55296|fe>>10,56320|fe&1023)):be&1?te+=String.fromCharCode((fe&31)<<6|ae[re++]&63):te+=String.fromCharCode((fe&15)<<12|(ae[re++]&63)<<6|ae[re++]&63):te+=String.fromCharCode(fe)}},Lo=null,No=null;function so(ae,te){if(te){for(var re=new At(ae.length),fe=0;fe>1)),Ie=0,je=function(ht){Se[Ie++]=ht},fe=0;feSe.length){var _e=new At(Ie+8+(be-fe<<1));_e.set(Se),Se=_e}var rt=ae.charCodeAt(fe);rt<128||te?je(rt):rt<2048?(je(192|rt>>6),je(128|rt&63)):rt>55295&&rt<57344?(rt=65536+(rt&1047552)|ae.charCodeAt(++fe)&1023,je(240|rt>>18),je(128|rt>>12&63),je(128|rt>>6&63),je(128|rt&63)):(je(224|rt>>12),je(128|rt>>6&63),je(128|rt&63))}return Qe(Se,0,Ie)}function Ai(ae,te){if(te){for(var re="",fe=0;fe65535&&it(9),te+=fe+4}return te},Yi=function(ae,te,re,fe,be,Se,Ie,je){var _e=fe.length,rt=re.extra,ht=je&&je.length,vt=Do(rt);tn(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++]=be&&8,ae[te++]=re.compression&255,ae[te++]=re.compression>>8;var Ut=new Date(re.mtime==null?Date.now():re.mtime),$e=Ut.getFullYear()-1980;if(($e<0||$e>119)&&it(10),tn(ae,te,$e<<25|Ut.getMonth()+1<<21|Ut.getDate()<<16|Ut.getHours()<<11|Ut.getMinutes()<<5|Ut.getSeconds()>>1),te+=4,Se!=-1&&(tn(ae,te,re.crc),tn(ae,te+4,Se<0?-Se-2:Se),tn(ae,te+8,re.size)),tn(ae,te+12,_e),tn(ae,te+14,vt),te+=16,Ie!=null&&(tn(ae,te,ht),tn(ae,te+6,re.attrs),tn(ae,te+10,Ie),te+=14),ae.set(fe,te),te+=_e,vt)for(var on in rt){var Zt=rt[on],sn=Zt.length;tn(ae,te,+on),tn(ae,te+2,sn),ae.set(Zt,te+4),te+=4+sn}return ht&&(ae.set(je,te),te+=ht),te},_A=function(ae,te,re,fe,be){tn(ae,te,101010256),tn(ae,te+8,re),tn(ae,te+10,re),tn(ae,te+12,fe),tn(ae,te+16,be)},Ui=null,Dr=null,Cl=null,$A=null;function Zs(ae,te,re){re||(re=te,te={}),typeof re!="function"&&it(7);var fe={};Wa(ae,"",fe,te);var be=Object.keys(fe),Se=be.length,Ie=0,je=0,_e=Se,rt=new Array(Se),ht=[],vt=function(){for(var sn=0;sn65535&&Le(it(11,0,1),null),!Tn)Le(null,jn);else if(Ur<16e4)try{Le(null,qr(jn,$n))}catch(Ke){Le(Ke,null)}else ht.push(_r(jn,$n,Le))},Zt=0;Zt<_e;++Zt)on(Zt);return vt}function TA(ae,te){te||(te={});var re={},fe=[];Wa(ae,"",re,te);var be=0,Se=0;for(var Ie in re){var je=re[Ie],_e=je[0],rt=je[1],ht=rt.level==0?0:8,vt=so(Ie),Ut=vt.length,$e=rt.comment,on=$e&&so($e),Zt=on&&on.length,sn=Do(rt.extra);Ut>65535&&it(11);var Tt=ht?qr(_e,rt):_e,ln=Tt.length,jn=It();jn.p(_e),fe.push(ke(rt,{size:_e.length,crc:jn.d(),c:Tt,f:vt,m:on,u:Ut!=Ie.length||on&&$e.length!=Zt,o:be,compression:ht})),be+=30+Ut+sn+ln,Se+=76+2*(Ut+sn)+(Zt||0)+ln}for(var $n=new At(Se+22),hr=be,Ur=Se-be,nr=0;nr65558)return Ie(it(13,0,1),null),be;var _e=dn(ae,je+8);if(_e){var rt=_e,ht=Rt(ae,je+16),vt=ht==4294967295||rt==65535;if(vt){var Ut=Rt(ae,je-12);vt=Rt(ae,Ut)==101075792,vt&&(rt=_e=Rt(ae,Ut+32),ht=Rt(ae,Ut+48))}for(var $e=te&&te.filter,on=function(sn){var Tt=rA(ae,ht,vt),ln=Tt[0],jn=Tt[1],$n=Tt[2],hr=Tt[3],Ur=Tt[4],nr=Tt[5],yn=vi(ae,nr);ht=Ur;var ir=function(Kt,Jt){Kt?(be(),Ie(Kt,null)):(Jt&&(Se[hr]=Jt),--_e||Ie(null,Se))};if(!$e||$e({name:hr,size:jn,originalSize:$n,compression:ln}))if(!ln)ir(null,Qe(ae,yn,yn+jn));else if(ln==8){var wr=ae.subarray(yn,yn+jn);if($n<524288||jn>.8*$n)try{ir(null,Fo(wr,{out:new At($n)}))}catch(Kt){ir(Kt,null)}else fe.push(aa(wr,{size:$n},ir))}else ir(it(14,"unknown compression type "+ln,1),null);else ir(null,null)},Zt=0;Zt65558)&&it(13);var be=dn(ae,fe+8);if(!be)return{};var Se=Rt(ae,fe+16),Ie=Se==4294967295||be==65535;if(Ie){var je=Rt(ae,fe-12);Ie=Rt(ae,je)==101075792,Ie&&(be=Rt(ae,je+32),Se=Rt(ae,je+48))}for(var _e=te&&te.filter,rt=0;rt=200&&te.status<=299}function vs(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 aA,jA,kA=Oa.saveAs||((typeof window=="undefined"?"undefined":(0,ue.Z)(window))!=="object"||window!==Oa?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(ae,te,re){var fe=Oa.URL||Oa.webkitURL,be=document.createElement("a");te=te||ae.name||"download",be.download=te,be.rel="noopener",typeof ae=="string"?(be.href=ae,be.origin!==location.origin?Vs(be.href)?Ji(ae,te,re):vs(be,be.target="_blank"):vs(be)):(be.href=fe.createObjectURL(ae),setTimeout(function(){fe.revokeObjectURL(be.href)},4e4),setTimeout(function(){vs(be)},0))}:"msSaveOrOpenBlob"in navigator?function(ae,te,re){if(te=te||ae.name||"download",typeof ae=="string")if(Vs(ae))Ji(ae,te,re);else{var fe=document.createElement("a");fe.href=ae,fe.target="_blank",setTimeout(function(){vs(fe)})}else navigator.msSaveOrOpenBlob(function(be,Se){return Se===void 0?Se={autoBom:!1}:(0,ue.Z)(Se)!=="object"&&(Uo.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(be.type)?new Blob(["\uFEFF",be],{type:be.type}):be}(ae,re),te)}:function(ae,te,re,fe){if((fe=fe||open("","_blank"))&&(fe.document.title=fe.document.body.innerText="downloading..."),typeof ae=="string")return Ji(ae,te,re);var be=ae.type==="application/octet-stream",Se=/constructor/i.test(Oa.HTMLElement)||Oa.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ie||be&&Se)&&(typeof FileReader=="undefined"?"undefined":(0,ue.Z)(FileReader))==="object"){var je=new FileReader;je.onloadend=function(){var ht=je.result;ht=Ie?ht:ht.replace(/^data:[^;]*;/,"data:attachment/file;"),fe?fe.location.href=ht:location=ht,fe=null},je.readAsDataURL(ae)}else{var _e=Oa.URL||Oa.webkitURL,rt=_e.createObjectURL(ae);fe?fe.location=rt:location.href=rt,fe=null,setTimeout(function(){_e.revokeObjectURL(rt)},4e4)}});function Bs(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(je){return[parseInt(je[1]),parseInt(je[2]),parseInt(je[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(je){return[parseInt(je[1],16),parseInt(je[2],16),parseInt(je[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(je){return[parseInt(je[1]+je[1],16),parseInt(je[2]+je[2],16),parseInt(je[3]+je[3],16)]}}],fe=0;fe255?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 je=this.r.toString(16),_e=this.g.toString(16),rt=this.b.toString(16);return je.length==1&&(je="0"+je),_e.length==1&&(_e="0"+_e),rt.length==1&&(rt="0"+rt),"#"+je+_e+rt}}function Ss(ae,te){var re=ae[0],fe=ae[1],be=ae[2],Se=ae[3];re=Bi(re,fe,be,Se,te[0],7,-680876936),Se=Bi(Se,re,fe,be,te[1],12,-389564586),be=Bi(be,Se,re,fe,te[2],17,606105819),fe=Bi(fe,be,Se,re,te[3],22,-1044525330),re=Bi(re,fe,be,Se,te[4],7,-176418897),Se=Bi(Se,re,fe,be,te[5],12,1200080426),be=Bi(be,Se,re,fe,te[6],17,-1473231341),fe=Bi(fe,be,Se,re,te[7],22,-45705983),re=Bi(re,fe,be,Se,te[8],7,1770035416),Se=Bi(Se,re,fe,be,te[9],12,-1958414417),be=Bi(be,Se,re,fe,te[10],17,-42063),fe=Bi(fe,be,Se,re,te[11],22,-1990404162),re=Bi(re,fe,be,Se,te[12],7,1804603682),Se=Bi(Se,re,fe,be,te[13],12,-40341101),be=Bi(be,Se,re,fe,te[14],17,-1502002290),re=cn(re,fe=Bi(fe,be,Se,re,te[15],22,1236535329),be,Se,te[1],5,-165796510),Se=cn(Se,re,fe,be,te[6],9,-1069501632),be=cn(be,Se,re,fe,te[11],14,643717713),fe=cn(fe,be,Se,re,te[0],20,-373897302),re=cn(re,fe,be,Se,te[5],5,-701558691),Se=cn(Se,re,fe,be,te[10],9,38016083),be=cn(be,Se,re,fe,te[15],14,-660478335),fe=cn(fe,be,Se,re,te[4],20,-405537848),re=cn(re,fe,be,Se,te[9],5,568446438),Se=cn(Se,re,fe,be,te[14],9,-1019803690),be=cn(be,Se,re,fe,te[3],14,-187363961),fe=cn(fe,be,Se,re,te[8],20,1163531501),re=cn(re,fe,be,Se,te[13],5,-1444681467),Se=cn(Se,re,fe,be,te[2],9,-51403784),be=cn(be,Se,re,fe,te[7],14,1735328473),re=Go(re,fe=cn(fe,be,Se,re,te[12],20,-1926607734),be,Se,te[5],4,-378558),Se=Go(Se,re,fe,be,te[8],11,-2022574463),be=Go(be,Se,re,fe,te[11],16,1839030562),fe=Go(fe,be,Se,re,te[14],23,-35309556),re=Go(re,fe,be,Se,te[1],4,-1530992060),Se=Go(Se,re,fe,be,te[4],11,1272893353),be=Go(be,Se,re,fe,te[7],16,-155497632),fe=Go(fe,be,Se,re,te[10],23,-1094730640),re=Go(re,fe,be,Se,te[13],4,681279174),Se=Go(Se,re,fe,be,te[0],11,-358537222),be=Go(be,Se,re,fe,te[3],16,-722521979),fe=Go(fe,be,Se,re,te[6],23,76029189),re=Go(re,fe,be,Se,te[9],4,-640364487),Se=Go(Se,re,fe,be,te[12],11,-421815835),be=Go(be,Se,re,fe,te[15],16,530742520),re=xi(re,fe=Go(fe,be,Se,re,te[2],23,-995338651),be,Se,te[0],6,-198630844),Se=xi(Se,re,fe,be,te[7],10,1126891415),be=xi(be,Se,re,fe,te[14],15,-1416354905),fe=xi(fe,be,Se,re,te[5],21,-57434055),re=xi(re,fe,be,Se,te[12],6,1700485571),Se=xi(Se,re,fe,be,te[3],10,-1894986606),be=xi(be,Se,re,fe,te[10],15,-1051523),fe=xi(fe,be,Se,re,te[1],21,-2054922799),re=xi(re,fe,be,Se,te[8],6,1873313359),Se=xi(Se,re,fe,be,te[15],10,-30611744),be=xi(be,Se,re,fe,te[6],15,-1560198380),fe=xi(fe,be,Se,re,te[13],21,1309151649),re=xi(re,fe,be,Se,te[4],6,-145523070),Se=xi(Se,re,fe,be,te[11],10,-1120210379),be=xi(be,Se,re,fe,te[2],15,718787259),fe=xi(fe,be,Se,re,te[9],21,-343485551),ae[0]=PA(re,ae[0]),ae[1]=PA(fe,ae[1]),ae[2]=PA(be,ae[2]),ae[3]=PA(Se,ae[3])}function HA(ae,te,re,fe,be,Se){return te=PA(PA(te,ae),PA(fe,Se)),PA(te<>>32-be,re)}function Bi(ae,te,re,fe,be,Se,Ie){return HA(te&re|~te&fe,ae,te,be,Se,Ie)}function cn(ae,te,re,fe,be,Se,Ie){return HA(te&fe|re&~fe,ae,te,be,Se,Ie)}function Go(ae,te,re,fe,be,Se,Ie){return HA(te^re^fe,ae,te,be,Se,Ie)}function xi(ae,te,re,fe,be,Se,Ie){return HA(re^(te|~fe),ae,te,be,Se,Ie)}function As(ae){var te,re=ae.length,fe=[1732584193,-271733879,-1732584194,271733878];for(te=64;te<=ae.length;te+=64)Ss(fe,Ys(ae.substring(te-64,te)));ae=ae.substring(te-64);var be=[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(be[te>>2]|=128<<(te%4<<3),te>55)for(Ss(fe,be),te=0;te<16;te++)be[te]=0;return be[14]=8*re,Ss(fe,be),fe}function Ys(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}aA=Oa.atob.bind(Oa),jA=Oa.btoa.bind(Oa);var Js="0123456789abcdef".split("");function EA(ae){for(var te="",re=0;re<4;re++)te+=Js[ae>>8*re+4&15]+Js[ae>>8*re&15];return te}function Xs(ae){return String.fromCharCode((255&ae)>>0,(65280&ae)>>8,(16711680&ae)>>16,(4278190080&ae)>>24)}function qo(ae){return As(ae).map(Xs).join("")}var cl=function(ae){for(var te=0;te>16)+(te>>16)+(re>>16)<<16|65535&re}return ae+te&4294967295}function si(ae,te){var re,fe,be,Se;if(ae!==re){for(var Ie=(be=ae,Se=1+(256/ae.length>>0),new Array(Se+1).join(be)),je=[],_e=0;_e<256;_e++)je[_e]=_e;var rt=0;for(_e=0;_e<256;_e++){var ht=je[_e];rt=(rt+ht+Ie.charCodeAt(_e))%256,je[_e]=je[rt],je[rt]=ht}re=ae,fe=je}else je=fe;var vt=te.length,Ut=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^be)),this.encryptionKey=qo(Se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(fe)).substr(0,5),this.U=si(this.encryptionKey,this.padding)}function ys(ae){if(/[^\u0000-\u00ff]/.test(ae))throw new Error("Invalid PDF Name Object: "+ae+", Only accept ASCII characters.");for(var te="",re=ae.length,fe=0;fe126?te+="#"+("0"+be.toString(16)).slice(-2):te+=ae[fe]}return te}function ss(ae){if((0,ue.Z)(ae)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var te={};this.subscribe=function(re,fe,be){if(be=be||!1,typeof re!="string"||typeof fe!="function"||typeof be!="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]=[fe,!!be],Se},this.unsubscribe=function(re){for(var fe in te)if(te[fe][re])return delete te[fe][re],Object.keys(te[fe]).length===0&&delete te[fe],!0;return!1},this.publish=function(re){if(te.hasOwnProperty(re)){var fe=Array.prototype.slice.call(arguments,1),be=[];for(var Se in te[re]){var Ie=te[re][Se];try{Ie[0].apply(ae,fe)}catch(je){Oa.console&&Uo.error("jsPDF PubSub Error",je.message,je)}Ie[1]&&be.push(Se)}be.length&&be.forEach(this.unsubscribe)}},this.getTopics=function(){return te}}function Ln(ae){if(!(this instanceof Ln))return new Ln(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 gn(ae,te){this.gState=ae,this.matrix=te,this.id="",this.objectNumber=-1}function hn(ae,te,re,fe,be){if(!(this instanceof hn))return new hn(ae,te,re,fe,be);this.type=ae==="axial"?2:3,this.coords=te,this.colors=re,gn.call(this,fe,be)}function Hn(ae,te,re,fe,be){if(!(this instanceof Hn))return new Hn(ae,te,re,fe,be);this.boundingBox=ae,this.xStep=te,this.yStep=re,this.stream="",this.cloneIndex=0,gn.call(this,fe,be)}function Wn(ae){var te,re=typeof arguments[0]=="string"?arguments[0]:"p",fe=arguments[1],be=arguments[2],Se=arguments[3],Ie=[],je=1,_e=16,rt="S",ht=null;(0,ue.Z)(ae=ae||{})==="object"&&(re=ae.orientation,fe=ae.unit||fe,be=ae.format||be,Se=ae.compress||ae.compressPdf||Se,(ht=ae.encryption||null)!==null&&(ht.userPassword=ht.userPassword||"",ht.ownerPassword=ht.ownerPassword||"",ht.userPermissions=ht.userPermissions||[]),je=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),fe=fe||"mm",re=(""+(re||"P")).toLowerCase();var vt=ae.putOnlyUsedFonts||!1,Ut={},$e={internal:{},__private__:{}};$e.__private__.PubSub=ss;var on="1.3",Zt=$e.__private__.getPdfVersion=function(){return on};$e.__private__.setPdfVersion=function(Fe){on=Fe};var sn={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 sn};var Tt=$e.__private__.getPageFormat=function(Fe){return sn[Fe]};be=be||"a4";var ln={COMPAT:"compat",ADVANCED:"advanced"},jn=ln.COMPAT;function $n(){this.saveGraphicsState(),zt(new Qa(kr,0,0,-kr,0,al()*kr).toString()+" cm"),this.setFontSize(this.getFontSize()/kr),rt="n",jn=ln.ADVANCED}function hr(){this.restoreGraphicsState(),rt="S",jn=ln.COMPAT}var Ur=$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=jn===ln.COMPAT;return St&&$n.call(this),typeof Fe!="function"||(Fe(this),St&&hr.call(this)),this},$e.compatAPI=function(Fe){var St=jn===ln.ADVANCED;return St&&hr.call(this),typeof Fe!="function"||(Fe(this),St&&$n.call(this)),this},$e.isAdvancedAPI=function(){return jn===ln.ADVANCED};var nr,yn=function(Fe){if(jn!==ln.ADVANCED)throw new Error(Fe+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ir=$e.roundToPrecision=$e.__private__.roundToPrecision=function(Fe,St){var un=te||St;if(isNaN(Fe)||isNaN(un))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Fe.toFixed(un).replace(/0+$/,"")};nr=$e.hpf=$e.__private__.hpf=typeof _e=="number"?function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.hpf");return ir(Fe,_e)}:_e==="smart"?function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.hpf");return ir(Fe,Fe>-1&&Fe<1?16:5)}:function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.hpf");return ir(Fe,16)};var wr=$e.f2=$e.__private__.f2=function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.f2");return ir(Fe,2)},Kt=$e.__private__.f3=function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.f3");return ir(Fe,3)},Jt=$e.scale=$e.__private__.scale=function(Fe){if(isNaN(Fe))throw new Error("Invalid argument passed to jsPDF.scale");return jn===ln.COMPAT?Fe*kr:jn===ln.ADVANCED?Fe:void 0},Tn=function(Fe){return jn===ln.COMPAT?al()-Fe:jn===ln.ADVANCED?Fe:void 0},Le=function(Fe){return Jt(Tn(Fe))};$e.__private__.setPrecision=$e.setPrecision=function(Fe){typeof parseInt(Fe,10)=="number"&&(te=parseInt(Fe,10))};var Ke,tt="00000000000000000000000000000000",st=$e.__private__.getFileId=function(){return tt},dt=$e.__private__.setFileId=function(Fe){return tt=Fe!==void 0&&/^[a-fA-F0-9]{32}$/.test(Fe)?Fe.toUpperCase():tt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),ht!==null&&(mA=new li(ht.userPermissions,ht.userPassword,ht.ownerPassword,tt)),tt};$e.setFileId=function(Fe){return dt(Fe),this},$e.getFileId=function(){return st()};var Ct=$e.__private__.convertDateToPDFDate=function(Fe){var St=Fe.getTimezoneOffset(),un=St<0?"+":"-",Nn=Math.floor(Math.abs(St/60)),Xn=Math.abs(St%60),yr=[un,Et(Nn),"'",Et(Xn),"'"].join("");return["D:",Fe.getFullYear(),Et(Fe.getMonth()+1),Et(Fe.getDate()),Et(Fe.getHours()),Et(Fe.getMinutes()),Et(Fe.getSeconds()),yr].join("")},jt=$e.__private__.convertPDFDateToDate=function(Fe){var St=parseInt(Fe.substr(2,4),10),un=parseInt(Fe.substr(6,2),10)-1,Nn=parseInt(Fe.substr(8,2),10),Xn=parseInt(Fe.substr(10,2),10),yr=parseInt(Fe.substr(12,2),10),Zr=parseInt(Fe.substr(14,2),10);return new Date(St,un,Nn,Xn,yr,Zr,0)},en=$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},Je=$e.__private__.getCreationDate=function(Fe){var St=Ke;return Fe==="jsDate"&&(St=jt(Ke)),St};$e.setCreationDate=function(Fe){return en(Fe),this},$e.getCreationDate=function(Fe){return Je(Fe)};var ct,Et=$e.__private__.padd2=function(Fe){return("0"+parseInt(Fe)).slice(-2)},xt=$e.__private__.padd2Hex=function(Fe){return("00"+(Fe=Fe.toString())).substr(Fe.length)},Gt=0,$t=[],an=[],pn=0,Mn=[],_n=[],Vn=!1,tr=an,Ir=function(){Gt=0,pn=0,an=[],$t=[],Mn=[],no=Mo(),Oo=Mo()};$e.__private__.setCustomOutputDestination=function(Fe){Vn=!0,tr=Fe};var Rn=function(Fe){Vn||(tr=Fe)};$e.__private__.resetCustomOutputDestination=function(){Vn=!1,tr=an};var zt=$e.__private__.out=function(Fe){return Fe=Fe.toString(),pn+=Fe.length+1,tr.push(Fe),tr},Jr=$e.__private__.write=function(Fe){return zt(arguments.length===1?Fe.toString():Array.prototype.join.call(arguments," "))},jr=$e.__private__.getArrayBuffer=function(Fe){for(var St=Fe.length,un=new ArrayBuffer(St),Nn=new Uint8Array(un);St--;)Nn[St]=Fe.charCodeAt(St);return un},Jn=[["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 Jn};var sr=ae.fontSize||16;$e.__private__.setFontSize=$e.setFontSize=function(Fe){return sr=jn===ln.ADVANCED?Fe/kr:Fe,this};var lr,er=$e.__private__.getFontSize=$e.getFontSize=function(){return jn===ln.COMPAT?sr:sr*kr},vr=ae.R2L||!1;$e.__private__.setR2L=$e.setR2L=function(Fe){return vr=Fe,this},$e.__private__.getR2L=$e.getR2L=function(){return vr};var Gr,ca=$e.__private__.setZoomMode=function(Fe){var St=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Fe))lr=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.');lr=Fe}else lr=parseInt(Fe,10)};$e.__private__.getZoomMode=function(){return lr};var Aa,$r=$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.');Gr=Fe};$e.__private__.getPageMode=function(){return Gr};var Sa=$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.');Aa=Fe};$e.__private__.getLayoutMode=function(){return Aa},$e.__private__.setDisplayMode=$e.setDisplayMode=function(Fe,St,un){return ca(Fe),Sa(St),$r(un),this};var sa={title:"",subject:"",author:"",keywords:"",creator:""};$e.__private__.getDocumentProperty=function(Fe){if(Object.keys(sa).indexOf(Fe)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return sa[Fe]},$e.__private__.getDocumentProperties=function(){return sa},$e.__private__.setDocumentProperties=$e.setProperties=$e.setDocumentProperties=function(Fe){for(var St in sa)sa.hasOwnProperty(St)&&Fe[St]&&(sa[St]=Fe[St]);return this},$e.__private__.setDocumentProperty=function(Fe,St){if(Object.keys(sa).indexOf(Fe)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return sa[Fe]=St};var Ua,kr,wo,Za,Ha,Ao={},Ma={},Qo=[],_a={},zi={},Vr={},wa={},Ea=null,ia=0,ha=[],Xr=new ss($e),Ka=ae.hotfixes||[],Va={},ao={},gi=[],Qa=function Fe(St,un,Nn,Xn,yr,Zr){if(!(this instanceof Fe))return new Fe(St,un,Nn,Xn,yr,Zr);isNaN(St)&&(St=1),isNaN(un)&&(un=0),isNaN(Nn)&&(Nn=0),isNaN(Xn)&&(Xn=1),isNaN(yr)&&(yr=0),isNaN(Zr)&&(Zr=0),this._matrix=[St,un,Nn,Xn,yr,Zr]};Object.defineProperty(Qa.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Fe){this._matrix[0]=Fe}}),Object.defineProperty(Qa.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Fe){this._matrix[1]=Fe}}),Object.defineProperty(Qa.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Fe){this._matrix[2]=Fe}}),Object.defineProperty(Qa.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Fe){this._matrix[3]=Fe}}),Object.defineProperty(Qa.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Fe){this._matrix[4]=Fe}}),Object.defineProperty(Qa.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Fe){this._matrix[5]=Fe}}),Object.defineProperty(Qa.prototype,"a",{get:function(){return this._matrix[0]},set:function(Fe){this._matrix[0]=Fe}}),Object.defineProperty(Qa.prototype,"b",{get:function(){return this._matrix[1]},set:function(Fe){this._matrix[1]=Fe}}),Object.defineProperty(Qa.prototype,"c",{get:function(){return this._matrix[2]},set:function(Fe){this._matrix[2]=Fe}}),Object.defineProperty(Qa.prototype,"d",{get:function(){return this._matrix[3]},set:function(Fe){this._matrix[3]=Fe}}),Object.defineProperty(Qa.prototype,"e",{get:function(){return this._matrix[4]},set:function(Fe){this._matrix[4]=Fe}}),Object.defineProperty(Qa.prototype,"f",{get:function(){return this._matrix[5]},set:function(Fe){this._matrix[5]=Fe}}),Object.defineProperty(Qa.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Qa.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Qa.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Qa.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Qa.prototype.join=function(Fe){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(nr).join(Fe)},Qa.prototype.multiply=function(Fe){var St=Fe.sx*this.sx+Fe.shy*this.shx,un=Fe.sx*this.shy+Fe.shy*this.sy,Nn=Fe.shx*this.sx+Fe.sy*this.shx,Xn=Fe.shx*this.shy+Fe.sy*this.sy,yr=Fe.tx*this.sx+Fe.ty*this.shx+this.tx,Zr=Fe.tx*this.shy+Fe.ty*this.sy+this.ty;return new Qa(St,un,Nn,Xn,yr,Zr)},Qa.prototype.decompose=function(){var Fe=this.sx,St=this.shy,un=this.shx,Nn=this.sy,Xn=this.tx,yr=this.ty,Zr=Math.sqrt(Fe*Fe+St*St),Ia=(Fe/=Zr)*un+(St/=Zr)*Nn;un-=Fe*Ia,Nn-=St*Ia;var eo=Math.sqrt(un*un+Nn*Nn);return Ia/=eo,Fe*(Nn/=eo)>16&255,Nn=eo>>8&255,Xn=255&eo}if(Nn===void 0||yr===void 0&&un===Nn&&Nn===Xn)if(typeof un=="string")St=un+" "+Zr[0];else switch(Fe.precision){case 2:St=wr(un/255)+" "+Zr[0];break;case 3:default:St=Kt(un/255)+" "+Zr[0]}else if(yr===void 0||(0,ue.Z)(yr)==="object"){if(yr&&!isNaN(yr.a)&&yr.a===0)return St=["1.","1.","1.",Zr[1]].join(" ");if(typeof un=="string")St=[un,Nn,Xn,Zr[1]].join(" ");else switch(Fe.precision){case 2:St=[wr(un/255),wr(Nn/255),wr(Xn/255),Zr[1]].join(" ");break;default:case 3:St=[Kt(un/255),Kt(Nn/255),Kt(Xn/255),Zr[1]].join(" ")}}else if(typeof un=="string")St=[un,Nn,Xn,yr,Zr[2]].join(" ");else switch(Fe.precision){case 2:St=[wr(un),wr(Nn),wr(Xn),wr(yr),Zr[2]].join(" ");break;case 3:default:St=[Kt(un),Kt(Nn),Kt(Xn),Kt(yr),Zr[2]].join(" ")}return St},Ya=$e.__private__.getFilters=function(){return Ie},ui=$e.__private__.putStream=function(Fe){var St=(Fe=Fe||{}).data||"",un=Fe.filters||Ya(),Nn=Fe.alreadyAppliedFilters||[],Xn=Fe.addLength1||!1,yr=St.length,Zr=Fe.objectId,Ia=function(QA){return QA};if(ht!==null&&Zr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");ht!==null&&(Ia=mA.encryptor(Zr,0));var eo={};un===!0&&(un=["FlateEncode"]);var bo=Fe.additionalKeyValues||[],So=(eo=Wn.API.processDataByFilters!==void 0?Wn.API.processDataByFilters(St,un):{data:St,reverseChain:[]}).reverseChain+(Array.isArray(Nn)?Nn.join(" "):Nn.toString());if(eo.data.length!==0&&(bo.push({key:"Length",value:eo.data.length}),Xn===!0&&bo.push({key:"Length1",value:yr})),So.length!=0)if(So.split("/").length-1==1)bo.push({key:"Filter",value:So});else{bo.push({key:"Filter",value:"["+So+"]"});for(var Wo=0;Wo>"),eo.data.length!==0&&(zt("stream"),zt(Ia(eo.data)),zt("endstream"))},mi=$e.__private__.putPage=function(Fe){var St=Fe.number,un=Fe.data,Nn=Fe.objId,Xn=Fe.contentsObjId;oA(Nn,!0),zt("<>"),zt("endobj");var yr=un.join(` `);return jn===ln.ADVANCED&&(yr+=` Q`),oA(Xn,!0),ui({data:yr,filters:Ya(),objectId:Xn}),zt("endobj"),Nn},eA=$e.__private__.putPages=function(){var Fe,St,un=[];for(Fe=1;Fe<=ia;Fe++)ha[Fe].objId=Mo(),ha[Fe].contentsObjId=Mo();for(Fe=1;Fe<=ia;Fe++)un.push(mi({number:Fe,data:_n[Fe],objId:ha[Fe].objId,contentsObjId:ha[Fe].contentsObjId,mediaBox:ha[Fe].mediaBox,cropBox:ha[Fe].cropBox,bleedBox:ha[Fe].bleedBox,trimBox:ha[Fe].trimBox,artBox:ha[Fe].artBox,userUnit:ha[Fe].userUnit,rootDictionaryObjId:no,resourceDictionaryObjId:Oo}));oA(no,!0),zt("<>"),zt("endobj"),Xr.publish("postPutPages")},_i=function(Fe){Xr.publish("putFont",{font:Fe,out:zt,newObject:Mr,putStream:ui}),Fe.isAlreadyPutted!==!0&&(Fe.objectNumber=Mr(),zt("<<"),zt("/Type /Font"),zt("/BaseFont /"+ys(Fe.postScriptName)),zt("/Subtype /Type1"),typeof Fe.encoding=="string"&&zt("/Encoding /"+Fe.encoding),zt("/FirstChar 32"),zt("/LastChar 255"),zt(">>"),zt("endobj"))},fA=function(){for(var Fe in Ao)Ao.hasOwnProperty(Fe)&&(vt===!1||vt===!0&&Ut.hasOwnProperty(Fe))&&_i(Ao[Fe])},gs=function(Fe){Fe.objectNumber=Mr();var St=[];St.push({key:"Type",value:"/XObject"}),St.push({key:"Subtype",value:"/Form"}),St.push({key:"BBox",value:"["+[nr(Fe.x),nr(Fe.y),nr(Fe.x+Fe.width),nr(Fe.y+Fe.height)].join(" ")+"]"}),St.push({key:"Matrix",value:"["+Fe.matrix.toString()+"]"});var un=Fe.pages[1].join(` `);ui({data:un,additionalKeyValues:St,objectId:Fe.objectNumber}),zt("endobj")},ZA=function(){for(var Fe in Va)Va.hasOwnProperty(Fe)&&gs(Va[Fe])},NA=function(Fe,St){var un,Nn=[],Xn=1/(St-1);for(un=0;un<1;un+=Xn)Nn.push(un);if(Nn.push(1),Fe[0].offset!=0){var yr={offset:0,color:Fe[0].color};Fe.unshift(yr)}if(Fe[Fe.length-1].offset!=1){var Zr={offset:1,color:Fe[Fe.length-1].color};Fe.push(Zr)}for(var Ia="",eo=0,bo=0;boFe[eo+1].offset;)eo++;var So=Fe[eo].offset,Wo=(un-So)/(Fe[eo+1].offset-So),Ii=Fe[eo].color,Vi=Fe[eo+1].color;Ia+=xt(Math.round((1-Wo)*Ii[0]+Wo*Vi[0]).toString(16))+xt(Math.round((1-Wo)*Ii[1]+Wo*Vi[1]).toString(16))+xt(Math.round((1-Wo)*Ii[2]+Wo*Vi[2]).toString(16))}return Ia.trim()},yA=function(Fe,St){St||(St=21);var un=Mr(),Nn=NA(Fe.colors,St),Xn=[];Xn.push({key:"FunctionType",value:"0"}),Xn.push({key:"Domain",value:"[0.0 1.0]"}),Xn.push({key:"Size",value:"["+St+"]"}),Xn.push({key:"BitsPerSample",value:"8"}),Xn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Xn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ui({data:Nn,additionalKeyValues:Xn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:un}),zt("endobj"),Fe.objectNumber=Mr(),zt("<< /ShadingType "+Fe.type),zt("/ColorSpace /DeviceRGB");var yr="/Coords ["+nr(parseFloat(Fe.coords[0]))+" "+nr(parseFloat(Fe.coords[1]))+" ";Fe.type===2?yr+=nr(parseFloat(Fe.coords[2]))+" "+nr(parseFloat(Fe.coords[3])):yr+=nr(parseFloat(Fe.coords[2]))+" "+nr(parseFloat(Fe.coords[3]))+" "+nr(parseFloat(Fe.coords[4]))+" "+nr(parseFloat(Fe.coords[5])),zt(yr+="]"),Fe.matrix&&zt("/Matrix ["+Fe.matrix.toString()+"]"),zt("/Function "+un+" 0 R"),zt("/Extend [true true]"),zt(">>"),zt("endobj")},tA=function(Fe,St){var un=Mo(),Nn=Mr();St.push({resourcesOid:un,objectOid:Nn}),Fe.objectNumber=Nn;var Xn=[];Xn.push({key:"Type",value:"/Pattern"}),Xn.push({key:"PatternType",value:"1"}),Xn.push({key:"PaintType",value:"1"}),Xn.push({key:"TilingType",value:"1"}),Xn.push({key:"BBox",value:"["+Fe.boundingBox.map(nr).join(" ")+"]"}),Xn.push({key:"XStep",value:nr(Fe.xStep)}),Xn.push({key:"YStep",value:nr(Fe.yStep)}),Xn.push({key:"Resources",value:un+" 0 R"}),Fe.matrix&&Xn.push({key:"Matrix",value:"["+Fe.matrix.toString()+"]"}),ui({data:Fe.stream,additionalKeyValues:Xn,objectId:Fe.objectNumber}),zt("endobj")},ci=function(Fe){var St;for(St in _a)_a.hasOwnProperty(St)&&(_a[St]instanceof hn?yA(_a[St]):_a[St]instanceof Hn&&tA(_a[St],Fe))},ni=function(Fe){for(var St in Fe.objectNumber=Mr(),zt("<<"),Fe)switch(St){case"opacity":zt("/ca "+wr(Fe[St]));break;case"stroke-opacity":zt("/CA "+wr(Fe[St]))}zt(">>"),zt("endobj")},fs=function(){var Fe;for(Fe in Vr)Vr.hasOwnProperty(Fe)&&ni(Vr[Fe])},Cs=function(){for(var Fe in zt("/XObject <<"),Va)Va.hasOwnProperty(Fe)&&Va[Fe].objectNumber>=0&&zt("/"+Fe+" "+Va[Fe].objectNumber+" 0 R");Xr.publish("putXobjectDict"),zt(">>")},Os=function(){mA.oid=Mr(),zt("<<"),zt("/Filter /Standard"),zt("/V "+mA.v),zt("/R "+mA.r),zt("/U <"+mA.toHexString(mA.U)+">"),zt("/O <"+mA.toHexString(mA.O)+">"),zt("/P "+mA.P),zt(">>"),zt("endobj")},ns=function(){for(var Fe in zt("/Font <<"),Ao)Ao.hasOwnProperty(Fe)&&(vt===!1||vt===!0&&Ut.hasOwnProperty(Fe))&&zt("/"+Fe+" "+Ao[Fe].objectNumber+" 0 R");zt(">>")},_l=function(){if(Object.keys(_a).length>0){for(var Fe in zt("/Shading <<"),_a)_a.hasOwnProperty(Fe)&&_a[Fe]instanceof hn&&_a[Fe].objectNumber>=0&&zt("/"+Fe+" "+_a[Fe].objectNumber+" 0 R");Xr.publish("putShadingPatternDict"),zt(">>")}},vl=function(Fe){if(Object.keys(_a).length>0){for(var St in zt("/Pattern <<"),_a)_a.hasOwnProperty(St)&&_a[St]instanceof $e.TilingPattern&&_a[St].objectNumber>=0&&_a[St].objectNumber>")}},vo=function(){if(Object.keys(Vr).length>0){var Fe;for(Fe in zt("/ExtGState <<"),Vr)Vr.hasOwnProperty(Fe)&&Vr[Fe].objectNumber>=0&&zt("/"+Fe+" "+Vr[Fe].objectNumber+" 0 R");Xr.publish("putGStateDict"),zt(">>")}},oo=function(Fe){oA(Fe.resourcesOid,!0),zt("<<"),zt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ns(),_l(),vl(Fe.objectOid),vo(),Cs(),zt(">>"),zt("endobj")},Wi=function(){var Fe=[];fA(),fs(),ZA(),ci(Fe),Xr.publish("putResources"),Fe.forEach(oo),oo({resourcesOid:Oo,objectOid:Number.MAX_SAFE_INTEGER}),Xr.publish("postPutResources")},ri=function(){Xr.publish("putAdditionalObjects");for(var Fe=0;Fe>8&&(eo=!0);Fe=Ia.join("")}for(un=Fe.length;eo===void 0&&un!==0;)Fe.charCodeAt(un-1)>>8&&(eo=!0),un--;if(!eo)return Fe;for(Ia=St.noBOM?[]:[254,255],un=0,Nn=Fe.length;un>8)>>8)throw new Error("Character at position "+un+" of string '"+Fe+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ia.push(So),Ia.push(bo-(So<<8))}return String.fromCharCode.apply(void 0,Ia)},DA=$e.__private__.pdfEscape=$e.pdfEscape=function(Fe,St){return nl(Fe,St).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Fl=$e.__private__.beginPage=function(Fe){_n[++ia]=[],ha[ia]={objId:0,contentsObjId:0,userUnit:Number(je),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Fe[0]),topRightY:Number(Fe[1])}},Bl(ia),Rn(_n[ct])},ou=function(Fe,St){var un,Nn,Xn;switch(re=St||re,typeof Fe=="string"&&(un=Tt(Fe.toLowerCase()),Array.isArray(un)&&(Nn=un[0],Xn=un[1])),Array.isArray(Fe)&&(Nn=Fe[0]*kr,Xn=Fe[1]*kr),isNaN(Nn)&&(Nn=be[0],Xn=be[1]),(Nn>14400||Xn>14400)&&(Uo.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Nn=Math.min(14400,Nn),Xn=Math.min(14400,Xn)),be=[Nn,Xn],re.substr(0,1)){case"l":Xn>Nn&&(be=[Xn,Nn]);break;case"p":Nn>Xn&&(be=[Xn,Nn])}Fl(be),Es(Ko),zt(ks),ec!==0&&zt(ec+" J"),tc!==0&&zt(tc+" j"),Xr.publish("addPage",{pageNumber:ia})},Eu=function(Fe){Fe>0&&Fe<=ia&&(_n.splice(Fe,1),ha.splice(Fe,1),ia--,ct>ia&&(ct=ia),this.setPage(ct))},Bl=function(Fe){Fe>0&&Fe<=ia&&(ct=Fe)},Ts=$e.__private__.getNumberOfPages=$e.getNumberOfPages=function(){return _n.length-1},xl=function(Fe,St,un){var Nn,Xn=void 0;return un=un||{},Fe=Fe!==void 0?Fe:Ao[Ua].fontName,St=St!==void 0?St:Ao[Ua].fontStyle,Nn=Fe.toLowerCase(),Ma[Nn]!==void 0&&Ma[Nn][St]!==void 0?Xn=Ma[Nn][St]:Ma[Fe]!==void 0&&Ma[Fe][St]!==void 0?Xn=Ma[Fe][St]:un.disableWarning===!1&&Uo.warn("Unable to look up font label for font '"+Fe+"', '"+St+"'. Refer to getFontList() for available fonts."),Xn||un.noFallback||(Xn=Ma.times[St])==null&&(Xn=Ma.times.normal),Xn},Pu=$e.__private__.putInfo=function(){var Fe=Mr(),St=function(Nn){return Nn};for(var un in ht!==null&&(St=mA.encryptor(Fe,0)),zt("<<"),zt("/Producer ("+DA(St("jsPDF "+Wn.version))+")"),sa)sa.hasOwnProperty(un)&&sa[un]&&zt("/"+un.substr(0,1).toUpperCase()+un.substr(1)+" ("+DA(St(sa[un]))+")");zt("/CreationDate ("+DA(St(Ke))+")"),zt(">>"),zt("endobj")},Ll=$e.__private__.putCatalog=function(Fe){var St=(Fe=Fe||{}).rootDictionaryObjId||no;switch(Mr(),zt("<<"),zt("/Type /Catalog"),zt("/Pages "+St+" 0 R"),lr||(lr="fullwidth"),lr){case"fullwidth":zt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":zt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":zt("/OpenAction [3 0 R /Fit]");break;case"original":zt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var un=""+lr;un.substr(un.length-1)==="%"&&(lr=parseInt(lr)/100),typeof lr=="number"&&zt("/OpenAction [3 0 R /XYZ null null "+wr(lr)+"]")}switch(Aa||(Aa="continuous"),Aa){case"continuous":zt("/PageLayout /OneColumn");break;case"single":zt("/PageLayout /SinglePage");break;case"two":case"twoleft":zt("/PageLayout /TwoColumnLeft");break;case"tworight":zt("/PageLayout /TwoColumnRight")}Gr&&zt("/PageMode /"+Gr),Xr.publish("putCatalog"),zt(">>"),zt("endobj")},Fu=$e.__private__.putTrailer=function(){zt("trailer"),zt("<<"),zt("/Size "+(Gt+1)),zt("/Root "+Gt+" 0 R"),zt("/Info "+(Gt-1)+" 0 R"),ht!==null&&zt("/Encrypt "+mA.oid+" 0 R"),zt("/ID [ <"+tt+"> <"+tt+"> ]"),zt(">>")},iu=$e.__private__.putHeader=function(){zt("%PDF-"+on),zt("%\xBA\xDF\xAC\xE0")},Sl=$e.__private__.putXRef=function(){var Fe="0000000000";zt("xref"),zt("0 "+(Gt+1)),zt("0000000000 65535 f ");for(var St=1;St<=Gt;St++)typeof $t[St]=="function"?zt((Fe+$t[St]()).slice(-10)+" 00000 n "):$t[St]!==void 0?zt((Fe+$t[St]).slice(-10)+" 00000 n "):zt("0000000000 00000 n ")},js=$e.__private__.buildDocument=function(){Ir(),Rn(an),Xr.publish("buildDocument"),iu(),eA(),ri(),Wi(),ht!==null&&Os(),Pu(),Ll();var Fe=pn;return Sl(),Fu(),zt("startxref"),zt(""+Fe),zt("%%EOF"),Rn(_n[ct]),an.join(` `)},Wl=$e.__private__.getBlob=function(Fe){return new Blob([jr(Fe)],{type:"application/pdf"})},Il=$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 js();case"save":$e.save(St.filename);break;case"arraybuffer":return jr(js());case"blob":return Wl(js());case"bloburi":case"bloburl":if(Oa.URL!==void 0&&typeof Oa.URL.createObjectURL=="function")return Oa.URL&&Oa.URL.createObjectURL(Wl(js()))||void 0;Uo.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var un="",Nn=js();try{un=jA(Nn)}catch(Vi){un=jA(unescape(encodeURIComponent(Nn)))}return"data:application/pdf;filename="+St.filename+";base64,"+un;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Oa)==="[object Window]"){var Xn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",yr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';St.pdfObjectUrl&&(Xn=St.pdfObjectUrl,yr="");var Zr='