!(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=(an,Kt,Be)=>Kt in an?ag(an,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Be}):an[Kt]=Be,bu=(an,Kt)=>{for(var Be in Kt||(Kt={}))Gd.call(Kt,Be)&&zd(an,Be,Kt[Be]);if(sd)for(var Be of sd(Kt))_d.call(Kt,Be)&&zd(an,Be,Kt[Be]);return an},Fd=(an,Kt)=>og(an,ig(Kt));var Wd=(an,Kt)=>{var Be={};for(var pe in an)Gd.call(an,pe)&&Kt.indexOf(pe)<0&&(Be[pe]=an[pe]);if(an!=null&&sd)for(var pe of sd(an))Kt.indexOf(pe)<0&&_d.call(an,pe)&&(Be[pe]=an[pe]);return Be};(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},89489:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},59477:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},26227:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},49198:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},87169:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},52671:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},8657:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},56082:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},33853:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},15075:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},43531:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},38819:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},95869:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ve}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(se,Ue){return we.createElement(Ze.Z,(0,pe.Z)({},se,{ref:Ue,icon:nt}))},he=we.forwardRef(je),ve=he},99587:function(an,Kt){"use strict";Kt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},63720:function(){"use strict";function an(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(an.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(an.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(an.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(an.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 an))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var E=go.Shape._FigureParameters[oe];E||(E=[],go.Shape._FigureParameters[oe]=E),E[y]=a};var Kt=[];function Be(oe,y){var a=Kt.pop();return a===void 0?new go.Point(oe,y):(a.x=oe,a.y=y,a)}function pe(){var oe=Kt.pop();return oe===void 0?new go.Point:oe}function we(oe){Kt.push(oe)}function Ke(oe,y,a,E,b,x,z,ne,ce){ce||(ce=new go.Point);var Fe=oe-a,Ee=b-z,Qe=NaN,We=NaN;if(Fe===0)if(Ee===0)oe===a&&(Qe=oe,We=y);else{var Ye=(x-ne)/Ee,rt=x-Ye*b;Qe=oe,We=Ye*Qe+rt}else if(Ee===0){var Te=(y-E)/Fe,Pt=y-Te*oe;Qe=b,We=Te*Qe+Pt}else{var Te=(y-E)/Fe,Ye=(x-ne)/Ee,Pt=y-Te*oe,rt=x-Ye*b;Qe=(rt-Pt)/(Te-Ye),We=Te*Qe+Pt}return ce.x=Qe,ce.y=We,ce}function nt(oe,y,a,E,b,x,z,ne,ce,Fe,Ee,Qe,We,Ye){var rt=1-ce,Te=ce,Pt=oe*rt+a*Te,Oe=y*rt+E*Te,Tt=a*rt+b*Te,st=E*rt+x*Te,At=b*rt+z*Te,It=x*rt+ne*Te,gt=Pt*rt+Tt*Te,Ft=Oe*rt+st*Te,ht=Tt*rt+At*Te,tt=st*rt+It*Te,en=gt*rt+ht*Te,gn=Ft*rt+tt*Te;Fe.x=Pt,Fe.y=Oe,Ee.x=gt,Ee.y=Ft,Qe.x=en,Qe.y=gn,We.x=ht,We.y=tt,Ye.x=At,Ye.y=It}var Ze=new go.Spot(.156,.156),je=new go.Spot(.844,.844),he=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new an("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=je,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 an("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=je,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 an("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new an("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 an("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 an("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 an("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),ce=E-Math.min(Math.cos(ne)*E/2,x),Fe=E-Math.min(Math.sin(ne)*E/2,z),b=new go.Geometry,Ee=new go.PathFigure(ce,0,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,y-ce,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,y,Fe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,y,a-Fe)),Ee.add(new go.PathSegment(go.PathSegment.Line,y-ce,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,ce,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a-Fe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,Fe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new an("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 an("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 an("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,ce=x*he;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ce+ne)*a,(.5-ce+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+ce+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ce+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-ce+ne)*a,(.5+ce+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ce+z)*y,(.5-x+ne)*a,(.5-x+z+.05)*y,(.5-ce+ne-.02)*a)),x=.2,z=0,ne=-.3,ce=x*he,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+ce+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ce+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-ce+ne)*a,(.5+ce+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-ce+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-ce+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ce+ne)*a,(.5-ce+z)*y,(.5+x+ne)*a)),x=.2,z=-.3,ne=0,ce=x*he,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z-.05)*y,(.5-ce+ne-.02)*a,(.5+ce+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-ce+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-ce+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ce+ne)*a,(.5-ce+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ce+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ce+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,ce=new go.PathFigure(z*y,(ne-x)*a);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),ce.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 Fe=pe(),Ee=pe(),Qe=pe(),We=pe();nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.42,Fe,Ee,Qe,We,We);var Ye=pe(),rt=pe(),Te=pe();nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.58,We,We,Te,Ye,rt);var Pt=pe(),Oe=pe(),Tt=pe();nt(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.42,Pt,Oe,Tt,We,We);var st=pe(),At=pe(),It=pe();return nt(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.58,We,We,It,st,At),ce.add(new go.PathSegment(go.PathSegment.Move,It.x*y,It.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,st.x*y,st.y*a,At.x*y,At.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Qe.x*y,Qe.y*a,Fe.x*y,Fe.y*a,Ee.x*y,Ee.y*a)),ce.add(new go.PathSegment(go.PathSegment.Line,It.x*y,It.y*a).close()),ce.add(new go.PathSegment(go.PathSegment.Move,Tt.x*y,Tt.y*a)),ce.add(new go.PathSegment(go.PathSegment.Line,Te.x*y,Te.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ye.x*y,Ye.y*a,rt.x*y,rt.y*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Tt.x*y,Tt.y*a,Pt.x*y,Pt.y*a,Oe.x*y,Oe.y*a).close()),we(Fe),we(Ee),we(Qe),we(We),we(Ye),we(rt),we(Te),we(Pt),we(Oe),we(Tt),we(st),we(At),we(It),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 an("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,ce=pe(),Fe=pe(),Ee=pe(),Qe=pe(),We=new go.PathFigure((z-x)*y,ne*a,!1);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.44,Ee,Qe,Fe,ce,ce),We.add(new go.PathSegment(go.PathSegment.Bezier,Fe.x*y,Fe.y*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.y*a));var Ye=Be(Fe.x,Fe.y);nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.56,ce,ce,Fe,Ee,Qe);var rt=Be(Fe.x,Fe.y);We.add(new go.PathSegment(go.PathSegment.Line,(Ye.x*.1+.95*.9)*y,Ye.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ye.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),We.add(new go.PathSegment(go.PathSegment.Line,y,0)),We.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(rt.x*.1+.9)*y,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(rt.x*.1+.9)*y,(rt.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,rt.x*y,rt.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),We.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 Te=new go.PathFigure(z*y,(ne-x)*a,!1);E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Te.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 Pt=new go.PathFigure((z-x)*y,ne*a,!1);return E.add(Pt),we(ce),we(Fe),we(Ee),we(Qe),we(Ye),we(rt),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,ce=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);E.add(ce),ce.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)),ce.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)),ce.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)),ce.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)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,z=-.125,ne=b*he;var ce=new go.PathFigure((1-.5+b+x)*y,(.5+z)*a,!1);E.add(ce),ce.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)),ce.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)),ce.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)),ce.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 ce=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);return E.add(ce),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 an("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new an("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,ce=new go.Geometry,Fe=new go.PathFigure(0,z,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,x,z)),Fe.add(new go.PathSegment(go.PathSegment.Line,x,0)),Fe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,x,a)),Fe.add(new go.PathSegment(go.PathSegment.Line,x,ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=new go.Spot(0,z/a);var Ee=Ke(0,ne/a,1,ne/a,x/y,1,1,.5,pe());return ce.spot2=new go.Spot(Ee.x,Ee.y),we(Ee),ce}),go.Shape.setFigureParameter("Arrow2",0,new an("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new an("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,ce=new go.Geometry,Fe=new go.PathFigure(0,z,!0);ce.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,x,z)),Fe.add(new go.PathSegment(go.PathSegment.Line,x,0)),Fe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,x,a)),Fe.add(new go.PathSegment(go.PathSegment.Line,x,ne)),Fe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=new go.Spot(0,z/a);var Ee=Ke(0,ne/a,1,ne/a,x/y,1,1,.5,pe());return ce.spot2=new go.Spot(Ee.x,Ee.y),we(Ee),ce}),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 an("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 ce=Ke(0,.5,.3,0,0,b/a,.1,b/a,pe());return z.spot1=new go.Spot(ce.x,ce.y),ce=Ke(.7,1,1,.5,0,x/a,1,x/a,ce),z.spot2=new go.Spot(ce.x,ce.y),we(ce),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new an("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new an("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,ce=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,ce=a):(x=0,z=a,ne=0,ce=a));var Fe=new go.Geometry,Ee=new go.PathFigure(y,.5*a,!0);Fe.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,ce)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,ce)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close());var Qe=Ke(0,.5,.3,ne/a,0,x/a,1,x/a,pe());return Fe.spot1=new go.Spot(Qe.x,Qe.y),Qe=Ke(.7,ce/a,1,.5,0,z/a,1,z/a,Qe),Fe.spot2=new go.Spot(Qe.x,Qe.y),we(Qe),Fe}),go.Shape.setFigureParameter("IBeamArrow",0,new an("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 ce=Ke(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(ce.x,ce.y),we(ce),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new an("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new an("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,ce=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,ce=a):(x=0,z=a,ne=0,ce=a));var Fe=new go.Geometry,Ee=new go.PathFigure(y,.5*a,!0);Fe.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,ce)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,ce)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ce)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close()),Fe.spot1=new go.Spot(0,x/a);var Qe=Ke(.7,ce/a,1,.5,0,z/a,1,z/a,pe());return Fe.spot2=new go.Spot(Qe.x,Qe.y),we(Qe),Fe}),go.Shape.setFigureParameter("Pointer",0,new an("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=Ke(.2,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new an("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=Ke(0,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new an("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 ce=Ke(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(ce.x,ce.y),we(ce),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new an("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 ce=Ke(.7,1,1,.5,0,x/a,1,x/a,pe());return z.spot2=new go.Spot(ce.x,ce.y),we(ce),z}),go.Shape.setFigureParameter("SquareArrow",0,new an("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,ce=.5,Fe=.1,Ee=new go.PathFigure(ce*y,(Fe+x)*a,!0);E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce-b)*y,Fe*a,(ce-z)*y,(Fe+x)*a,(ce-b)*y,(Fe+ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-x)*a,(ce-b)*y,(Fe-ne)*a,(ce-z)*y,(Fe-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*y,Fe*a,(ce+z)*y,(Fe-x)*a,(ce+b)*y,(Fe-ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe+x)*a,(ce+b)*y,(Fe+ne)*a,(ce+z)*y,(Fe+x)*a));var Qe=.05,We=he*Qe;ce=.05,Fe=.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)),ce=.95,Fe=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Qe)*y,Fe*a,(ce+We)*y,(Fe-Qe)*a,(ce+Qe)*y,(Fe-We)*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)),Qe=.025,We=he*Qe,ce=.825,Fe=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-Qe)*a,(ce+Qe)*y,(Fe-We)*a,(ce+We)*y,(Fe-Qe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Qe)*y,Fe*a,(ce-We)*y,(Fe-Qe)*a,(ce-Qe)*y,(Fe-We)*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)),Qe=.05,We=he*Qe,ce=.5,Fe=.7,Ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-Qe)*a,(ce+Qe)*y,(Fe-We)*a,(ce+We)*y,(Fe-Qe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Qe)*y,Fe*a,(ce-We)*y,(Fe-Qe)*a,(ce-Qe)*y,(Fe-We)*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)),Qe=.025,We=he*Qe,ce=.175,Fe=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-Qe)*a,(ce+Qe)*y,(Fe-We)*a,(ce+We)*y,(Fe-Qe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Qe)*y,Fe*a,(ce-We)*y,(Fe-Qe)*a,(ce-Qe)*y,(Fe-We)*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)),Qe=.05,We=he*Qe,ce=.05,Fe=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-Qe)*a,(ce-Qe)*y,(Fe-We)*a,(ce-We)*y,(Fe-Qe)*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 an("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,ce=new go.PathFigure(y,ne*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,y,(ne+z)*a,(ne+z)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-z)*y,a,0,(ne+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,0,0,(ne-z)*a,(ne-z)*y,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,y,ne*a,(ne+z)*y,0,y,(ne-z)*a));var Fe=new go.PathFigure((x+b)*y,(x+b)*a,!1);return E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),Fe.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+b)*a)),Fe.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 ce=new go.PathFigure(.8*y,.75*a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ce.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,ce=new go.PathFigure(.8*y,.5*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,a)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var Fe=new go.PathFigure((z+x)*y,ne*a,!0);return E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne-x)*a,(z+x)*y,(ne-b)*a)),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,ce=.9,Fe=.5,Ee=new go.PathFigure(.8*y,.5*a,!0);E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+b)*y,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-x)*a));var Qe=new go.PathFigure((ce+ne)*y,Fe*a,!0);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe+ne)*a,(ce+ne)*y,(Fe+z)*a,(ce+z)*y,(Fe+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*y,Fe*a,(ce-z)*y,(Fe+ne)*a,(ce-ne)*y,(Fe+z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-ne)*a,(ce-ne)*y,(Fe-z)*a,(ce-z)*y,(Fe-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*y,Fe*a,(ce+z)*y,(Fe-ne)*a,(ce+ne)*y,(Fe-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,ce=new go.PathFigure(.8*y,.5*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ce.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 Fe=new go.PathFigure((z-b)*y,ne*a,!0);return E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),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,ce=new go.PathFigure(0,0,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ne-b)*a,.8*y,(ne-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ne+x)*a,(z+x+x)*y,(ne+b)*a)),ce.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,ce=new go.PathFigure(.1*y,0,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Fe=new go.PathFigure(.8*y,.5*a,!0);E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ne-b)*a,.7*y,(ne-x)*a)),b=.1,x=he*.1,z=.9,ne=.5;var Ee=new go.PathFigure((z-b)*y,ne*a,!0);return E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Ee.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,ce=new go.PathFigure(.1*y,0,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Fe=new go.PathFigure(.2*y,0,!0);return E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ne-b)*a,.9*y,(ne-x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Fe.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,ce=new go.PathFigure((z-b*.5)*y,a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.9,ce.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,ce=new go.PathFigure((z-x)*y,ne*a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne-x)*a,(z+x)*y,(ne-b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ne*a)),ce.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,ce=0,Fe=.5,Ee=(b-y)/2,Qe=(x-a)/2,We=new go.PathFigure(ce*y+Ee,(Fe+ne)*a+Qe,!0);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*y+Ee,Fe*a+Qe,(ce-z)*y+Ee,(Fe+ne)*a+Qe,(ce-ne)*y+Ee,(Fe+z)*a+Qe)),We.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe-ne)*a+Qe,(ce-ne)*y+Ee,(Fe-z)*a+Qe,(ce-z)*y+Ee,(Fe-ne)*a+Qe)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne+z*.5)*y+Ee,Fe*a+Qe,ce*y+Ee,(Fe-ne)*a+Qe,(ce-ne+z*.5)*y+Ee,(Fe-z)*a+Qe)),We.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe+ne)*a+Qe,(ce-ne+z*.5)*y+Ee,(Fe+z)*a+Qe,ce*y+Ee,(Fe+ne)*a+Qe).close()),z=he*.4,ne=.4,ce=.2,Fe=.5;var Ye=new go.PathFigure(ce*y+Ee,(Fe+ne)*a+Qe,!0);E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*y+Ee,Fe*a+Qe,(ce-z)*y+Ee,(Fe+ne)*a+Qe,(ce-ne)*y+Ee,(Fe+z)*a+Qe)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe-ne)*a+Qe,(ce-ne)*y+Ee,(Fe-z)*a+Qe,(ce-z)*y+Ee,(Fe-ne)*a+Qe)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne+z*.5)*y+Ee,Fe*a+Qe,ce*y+Ee,(Fe-ne)*a+Qe,(ce-ne+z*.5)*y+Ee,(Fe-z)*a+Qe)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe+ne)*a+Qe,(ce-ne+z*.5)*y+Ee,(Fe+z)*a+Qe,ce*y+Ee,(Fe+ne)*a+Qe).close()),z=he*.2,ne=.2,ce=.5,Fe=.5;var rt=new go.PathFigure((ce-ne)*y+Ee,Fe*a+Qe,!0);E.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe-ne)*a+Qe,(ce-ne)*y+Ee,(Fe-z)*a+Qe,(ce-z)*y+Ee,(Fe-ne)*a+Qe)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*y+Ee,Fe*a+Qe,(ce+z)*y+Ee,(Fe-ne)*a+Qe,(ce+ne)*y+Ee,(Fe-z)*a+Qe)),rt.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe+ne)*a+Qe,(ce+ne)*y+Ee,(Fe+z)*a+Qe,(ce+z)*y+Ee,(Fe+ne)*a+Qe)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ne)*y+Ee,Fe*a+Qe,(ce-z)*y+Ee,(Fe+ne)*a+Qe,(ce-ne)*y+Ee,(Fe+z)*a+Qe)),z=he*.4,ne=.4,ce=.8,Fe=.5;var Te=new go.PathFigure(ce*y+Ee,(Fe-ne)*a+Qe,!0);E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*y+Ee,Fe*a+Qe,(ce+z)*y+Ee,(Fe-ne)*a+Qe,(ce+ne)*y+Ee,(Fe-z)*a+Qe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe+ne)*a+Qe,(ce+ne)*y+Ee,(Fe+z)*a+Qe,(ce+z)*y+Ee,(Fe+ne)*a+Qe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne-z*.5)*y+Ee,Fe*a+Qe,ce*y+Ee,(Fe+ne)*a+Qe,(ce+ne-z*.5)*y+Ee,(Fe+z)*a+Qe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe-ne)*a+Qe,(ce+ne-z*.5)*y+Ee,(Fe-z)*a+Qe,ce*y+Ee,(Fe-ne)*a+Qe).close()),z=he*.8,ne=.8,ce=1,Fe=.5;var Pt=new go.PathFigure(ce*y+Ee,(Fe-ne)*a+Qe,!0);return E.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne)*y+Ee,Fe*a+Qe,(ce+z)*y+Ee,(Fe-ne)*a+Qe,(ce+ne)*y+Ee,(Fe-z)*a+Qe)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe+ne)*a+Qe,(ce+ne)*y+Ee,(Fe+z)*a+Qe,(ce+z)*y+Ee,(Fe+ne)*a+Qe)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ne-z*.5)*y+Ee,Fe*a+Qe,ce*y+Ee,(Fe+ne)*a+Qe,(ce+ne-z*.5)*y+Ee,(Fe+z)*a+Qe)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,ce*y+Ee,(Fe-ne)*a+Qe,(ce+ne-z*.5)*y+Ee,(Fe-z)*a+Qe,ce*y+Ee,(Fe-ne)*a+Qe).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,ce=pe(),Fe=pe(),Ee=pe(),Qe=pe();nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.5,ce,ce,Fe,Ee,Qe);var We=Be(Fe.x,Fe.y),Ye=new go.PathFigure(Fe.x*y,Fe.y*a,!0);E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.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)),nt(z-x,ne,z-x,ne-b,z-b,ne-x,z,ne-x,.5,Ee,Qe,Fe,ce,ce),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Fe.x*y,Fe.y*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.y*a)),b=he*.3,x=.3,nt(z-x,ne,z-x,ne-b,z-b,ne-x,z,ne-x,.5,Ee,Qe,Fe,ce,ce),Ye.add(new go.PathSegment(go.PathSegment.Line,Fe.x*y,Fe.y*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,Qe.x*y,Qe.y*a,Ee.x*y,Ee.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)),nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.5,ce,ce,Fe,Ee,Qe),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Fe.x*y,Fe.y*a,Qe.x*y,Qe.y*a,Ee.x*y,Ee.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(ce),we(Fe),we(Ee),we(Qe),we(We),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,ce){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*y,(.8+ce)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*y,(.5+ce)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*y,(.5+ce)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*y,(.8+ce)*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,ce=.4*Math.SQRT2/2+.5,Fe=.5-.5*Math.SQRT2/2,Ee=1,Qe=.5,We=.5,Ye=0,rt=new go.PathFigure(ce*y,(1-Fe)*a,!1);return E.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,Qe*a,Ee*y,.7*a,Ee*y,Qe*a)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(We+x)*y,(Ye+x)*a,(.5+b+x)*y,(.5-ne+x)*a,(.5+ne+x)*y,(.5-b+x)*a)),rt.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)),rt.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)),rt.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),rt.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),rt.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,ce=z,Fe=Math.PI/4,Ee=4*(1-Math.cos(Fe))/(3*Math.sin(Fe)),Qe=Ee*.5,We=z,Ye=z,rt=Ee*We,Te=Ee*Ye;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-We)*y,ce*a,(ne-(rt+We)/2)*y,(ce+(Ye+Te)/2)*a,(ne-We)*y,(ce+Te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ce-Ye)*a,(ne-We)*y,(ce-Te)*a,(ne-rt)*y,(ce-Ye)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+We)*y,ce*a,(ne+rt)*y,(ce-Ye)*a,(ne+We)*y,(ce-Te)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+We)*y,(ce+Te)*a,(ne+(rt+We)/2)*y,(ce+(Ye+Te)/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 Pt=new go.PathFigure(.2*y,a,!1);E.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Oe=new go.PathFigure(.8*y,a,!1);return E.add(Oe),Oe.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,ce=.2,Fe=.9,Ee=new go.PathFigure((ce-z)*y,Fe*a,!0);E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-z)*a,(ce-z)*y,(Fe-ne)*a,(ce-ne)*y,(Fe-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce+z)*y,Fe*a,(ce+ne)*y,(Fe-z)*a,(ce+z)*y,(Fe-ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe+z)*a,(ce+z)*y,(Fe+ne)*a,(ce+ne)*y,(Fe+z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce-z)*y,Fe*a,(ce-ne)*y,(Fe+z)*a,(ce-z)*y,(Fe+ne)*a).close()),z=.1,ne=he*.1,ce=.8,Fe=.9;var Qe=new go.PathFigure((ce-z)*y,Fe*a,!0);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe-z)*a,(ce-z)*y,(Fe-ne)*a,(ce-ne)*y,(Fe-z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+z)*y,Fe*a,(ce+ne)*y,(Fe-z)*a,(ce+z)*y,(Fe-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(Fe+z)*a,(ce+z)*y,(Fe+ne)*a,(ce+ne)*y,(Fe+z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-z)*y,Fe*a,(ce-ne)*y,(Fe+z)*a,(ce-z)*y,(Fe+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 ce=.1,Fe=he*.1,Ee=.1,Qe=.9,We=new go.PathFigure((Ee-ce)*y,Qe*a,!0);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe-ce)*a,(Ee-ce)*y,(Qe-Fe)*a,(Ee-Fe)*y,(Qe-ce)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ce)*y,Qe*a,(Ee+Fe)*y,(Qe-ce)*a,(Ee+ce)*y,(Qe-Fe)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe+ce)*a,(Ee+ce)*y,(Qe+Fe)*a,(Ee+Fe)*y,(Qe+ce)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ce)*y,Qe*a,(Ee-Fe)*y,(Qe+ce)*a,(Ee-ce)*y,(Qe+Fe)*a)),ce=.1,Fe=he*.1,Ee=.4,Qe=.9;var Ye=new go.PathFigure((Ee-ce)*y,Qe*a,!0);return E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe-ce)*a,(Ee-ce)*y,(Qe-Fe)*a,(Ee-Fe)*y,(Qe-ce)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+ce)*y,Qe*a,(Ee+Fe)*y,(Qe-ce)*a,(Ee+ce)*y,(Qe-Fe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe+ce)*a,(Ee+ce)*y,(Qe+Fe)*a,(Ee+Fe)*y,(Qe+ce)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-ce)*y,Qe*a,(Ee-Fe)*y,(Qe+ce)*a,(Ee-ce)*y,(Qe+Fe)*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 Ee=.05,Qe=he*.05,We=.175,Ye=.95,ne=new go.PathFigure((We-Ee)*y,Ye*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye-Ee)*a,(We-Ee)*y,(Ye-Qe)*a,(We-Qe)*y,(Ye-Ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ye*a,(We+Qe)*y,(Ye-Ee)*a,(We+Ee)*y,(Ye-Qe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye+Ee)*a,(We+Ee)*y,(Ye+Qe)*a,(We+Qe)*y,(Ye+Ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ye*a,(We-Qe)*y,(Ye+Ee)*a,(We-Ee)*y,(Ye+Qe)*a));var Ee=.05,Qe=he*.05,We=.375,Ye=.95,ce=new go.PathFigure((We-Ee)*y,Ye*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye-Ee)*a,(We-Ee)*y,(Ye-Qe)*a,(We-Qe)*y,(Ye-Ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ye*a,(We+Qe)*y,(Ye-Ee)*a,(We+Ee)*y,(Ye-Qe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye+Ee)*a,(We+Ee)*y,(Ye+Qe)*a,(We+Qe)*y,(Ye+Ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ye*a,(We-Qe)*y,(Ye+Ee)*a,(We-Ee)*y,(Ye+Qe)*a));var Ee=.05,Qe=he*.05,We=.625,Ye=.95,Fe=new go.PathFigure((We-Ee)*y,Ye*a,!0);E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye-Ee)*a,(We-Ee)*y,(Ye-Qe)*a,(We-Qe)*y,(Ye-Ee)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ye*a,(We+Qe)*y,(Ye-Ee)*a,(We+Ee)*y,(Ye-Qe)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye+Ee)*a,(We+Ee)*y,(Ye+Qe)*a,(We+Qe)*y,(Ye+Ee)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ye*a,(We-Qe)*y,(Ye+Ee)*a,(We-Ee)*y,(Ye+Qe)*a));var Ee=.05,Qe=he*.05,We=.825,Ye=.95,rt=new go.PathFigure((We-Ee)*y,Ye*a,!0);E.add(rt),rt.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye-Ee)*a,(We-Ee)*y,(Ye-Qe)*a,(We-Qe)*y,(Ye-Ee)*a)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ye*a,(We+Qe)*y,(Ye-Ee)*a,(We+Ee)*y,(Ye-Qe)*a)),rt.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ye+Ee)*a,(We+Ee)*y,(Ye+Qe)*a,(We+Qe)*y,(Ye+Ee)*a)),rt.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ye*a,(We-Qe)*y,(Ye+Ee)*a,(We-Ee)*y,(Ye+Qe)*a).close());var Te=new go.PathFigure(0,a,!1);return E.add(Te),Te.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,ce=he*.05,Fe=.35,Ee=.775,Qe=new go.PathFigure((Fe-ne)*y,Ee*a,!0);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*y,(Ee-ne)*a,(Fe-ne)*y,(Ee-ce)*a,(Fe-ce)*y,(Ee-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe+ne)*y,Ee*a,(Fe+ce)*y,(Ee-ne)*a,(Fe+ne)*y,(Ee-ce)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Fe*y,(Ee+ne)*a,(Fe+ne)*y,(Ee+ce)*a,(Fe+ce)*y,(Ee+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Fe-ne)*y,Ee*a,(Fe-ce)*y,(Ee+ne)*a,(Fe-ne)*y,(Ee+ce)*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,ce=new go.PathFigure((z-b)*y,ne*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),ce.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 Fe=new go.PathFigure(0,.7*a,!1);return E.add(Fe),Fe.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,ce=new go.PathFigure((z-b)*y,ne*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),ce.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 Fe=new go.PathFigure(.15*y,.5*a,!1);return E.add(Fe),Fe.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,ce=new go.PathFigure((z-b)*y,ne*a,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),ce.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 Fe=new go.PathFigure((z-b)*y,ne*a,!1);return E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a).close()),Fe.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),Fe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),Fe.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 ce=new go.PathFigure(.5*y,.1*a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ce.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 ce=new go.PathFigure(y*.816,a,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ce.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 ce=new go.PathFigure(y*1,0,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ce.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 ce=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ce.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 ce=new go.PathFigure(y*.83,a*1,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var Fe=new go.PathFigure(y*.78,a*.05,!1);return E.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),Fe.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),Fe.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 an={},Kt="5.0",Be={},pe=null,we=!1,Ke=!1,nt=null,Ze=!1,je=null,he=null,ve=0;ve4?parseFloat(Et):5};an.setHTML5Codebase=function(Et,Zt){he=Et,tt(Et,Zt)},an.setJavaCodebase=an.setJavaCodebaseVersion=an.isCompiledInstalled=an.setPreCompiledScriptPath=an.setPreCompiledResourcePath=function(){},an.setHTML5CodebaseVersion=function(Et,Zt){var Cn=parseFloat(Et);if(Cn!==NaN&&Cn<5){console.log("The GeoGebra HTML5 codebase version "+Cn+" is deprecated. Using version latest instead.");return}je=Et,ht(Et,Zt)},an.getHTML5CodebaseVersion=function(){return oe},an.getParameters=function(){return Be},an.setFontsCSSURL=function(Et){z=Et},an.setGiacJSURL=function(Et){},an.setJNLPFile=function(Et){se=Et},an.setJNLPBaseDir=function(Et){},an.inject=function(){function Et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Zt="auto",Cn=Be.id,jn,hn=!1,Kn=0;Kn=5)return!0;var Et=an.getAppletObject();return Et&&typeof Et.recalculateEnvironments=="function"?(Et.recalculateEnvironments(),!0):!1},an.startAnimation=function(){var Et=an.getAppletObject();return Et&&typeof Et.startAnimation=="function"?(Et.startAnimation(),!0):!1},an.stopAnimation=function(){var Et=an.getAppletObject();return Et&&typeof Et.stopAnimation=="function"?(Et.stopAnimation(),!0):!1},an.getAppletObject=function(){var Et=Be.id!==void 0?Be.id:"ggbApplet";return window[Et]},an.resize=function(){};var rt=function(Et,Zt,Cn){var jn=document.createElement("param");jn.setAttribute("name",Zt),jn.setAttribute("value",Cn),Et.appendChild(jn)},Te=function(Et){return Et&&Et!=="false"},Pt=function(Et,Zt,Cn){ce(oe)<=4.2&&(Cn=!0);var jn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(jn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var hn=document.createElement("div");hn.classList.add("appletParameters","notranslate");var Kn=Zt.width,Nt=Zt.height;if(Zt.disableAutoScale=Zt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Zt.disableAutoScale,Zt.width!==void 0)if(ce(oe)<=4.4)Te(Zt.showToolBar)&&(Zt.height-=7),Te(Zt.showAlgebraInput)&&(Zt.height-=37),Zt.width<605&&Te(Zt.showToolBar)&&(Zt.width=605,Kn=605);else{var zn=100;(Te(Zt.showToolBar)||Te(Zt.showMenuBar))&&(Zt.hasOwnProperty("customToolBar")&&(Zt.customToolbar=Zt.customToolBar),zn=Te(Zt.showMenuBar)?245:155),Kn=5?(Zt.appletOnLoad=function(lt){var Vt=Et.querySelector(".ggb_preview");Vt&&Vt.parentNode.removeChild(Vt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner($t),window.GGBT_wsf_view&&$(window).trigger("resize"),He(lt)},Re||$t.appendChild(me)):hn.appendChild(me),$t.appendChild(hn),Re||Et.appendChild($t),setTimeout(function(){an.resize()},1)}else{var le=document.createElement("div");le.className="applet_scaler",le.style.position="relative",le.style.display="block",le.appendChild(hn),Et.appendChild(le),Zt.appletOnLoad=function(lt){an.resize(),He(lt)}}function ye(lt,Vt){Vt&&typeof Vt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(lt,Vt.appletOnLoad):renderGGBElement(lt),en("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Vt)}function qe(lt,Vt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:lt,params:Vt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Bn){ye(Bn.article,Bn.params)}),html5AppletsToProcess=null)},ce(oe)<5&&(lt.className+=" geogebraweb")):ye(lt,Vt)}if(jn){scriptLoadStarted=!0;for(var pt=0;pt0?($n.remove(),$t.attr("id","fullscreencontent").show(),jQuery(He).append($t),window.dispatchEvent(new Event("resize"))):Pt($n,Zt,!1),window.GGBT_wsf_view.launchFullScreen(He)}else be=jn,Pt(Et,Zt,!1);if(!window.GGBT_wsf_view)for(Nt=0;NtEt/4*3&&($n=Et/4*3),He=$n/5.8,zn.setAttribute("src",b),zn.setAttribute("width",$n),zn.setAttribute("height",He);var $t=(Et-$n)/2,Re=(Zt-He)/2;zn.style.left=$t+"px",zn.style.top=Re+"px",hn.appendChild(zn)}}return hn.appendChild(Nt),hn},gt=function(Et){return Et=Et.toLowerCase(),Et==="html5"||Et==="screenshot"?Et:"html5"},Ft=["web","webSimple","web3d","tablet","tablet3d","phone"],ht=function(Et,Zt){if(oe=Et,Zt){tt(oe,!0);return}var Cn=!we;if(Cn){var jn=ce(oe);!isNaN(jn)&&jn<4.4&&(Cn=!1)}var hn,Kn;window.location.protocol.substr(0,4)==="http"?hn=window.location.protocol:hn="http:";var Nt=oe.indexOf("//");Nt>0?Kn=oe:Nt===0?Kn=hn+oe:Kn="https://www.geogebra.org/apps/5.2.814.0/";for(var zn in Ft)if(oe.slice(Ft[zn].length*-1)===Ft[zn]||oe.slice((Ft[zn].length+1)*-1)===Ft[zn]+"/"){tt(Kn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Cn&&!pe.is3D&&!pe.AV&&!pe.SV&&!pe.CV&&!pe.EV2&&!pe.CP&&!pe.PC&&!pe.DA&&!pe.FI&&!pe.PV&&!Te(Be.showToolBar)&&!Te(Be.showMenuBar)&&!Te(Be.showAlgebraInput)&&!Te(Be.enableRightClick)&&(!Be.appName||Be.appName=="classic")?Kn+="webSimple/":Kn+="web3d/",tt(Kn,!1)},tt=function(Et,Zt){if(Et.requirejs){Ue=Et;return}Et.slice(-1)!=="/"&&(Et+="/"),Ue=Et,Zt===null&&(Zt=Et.indexOf("http")===-1),Pe=Zt,y="web.nocache.js",a=!1;var Cn=Ue.split("/");Cn.length>1&&(!Zt&&Cn[Cn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Ft.indexOf(Cn[Cn.length-2])>=0&&(y=Cn[Cn.length-2]+".nocache.js")),Cn=Et.split("/"),oe=Cn[Cn.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var jn=parseFloat(oe);jn!==NaN&&jn<5&&Et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+jn+" is deprecated. Using version latest instead."),ht("5.0",Zt))},en=function(Et,Zt){window.console&&window.console.log&&(!Zt||typeof Zt.showLogging=="undefined"||Zt.showLogging&&Zt.showLogging!=="false")&&console.log(Et)};Be.material_id!==void 0?Qe(gn):gn();function gn(){var Et=Kt;je!==null?Et=je:parseFloat(Et)<5&&(Et="5.0"),ht(Et,!1),he!==null&&tt(he,Pe),Ze=!0}return an},GGBAppletUtils=function(){"use strict";function an(){return window.GGBT_wsf_edit!==void 0}function Kt(Ze,je){je!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+je+","+je+")",Ze.style.webkitTransform="scale("+je+","+je+")",Ze.style.maxWidth="initial",Ze.querySelector(".ggb_preview")!==null&&(Ze.querySelector(".ggb_preview").style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ze.style.transform="none",Ze.style.webkitTransform="none")}function Be(Ze,je,he,ve,Ie,se){var Ue=null;if(se!=null&&se!="")for(var Pe=Ze.parentNode;Pe!=null;)if((" "+Pe.className+" ").indexOf(" "+se+" ")>-1){Ue=Pe;break}else Pe=Pe.parentNode;var be=0,oe=0,y=0,a=0,E=0,b=0,x=0;if(Ue)be=Ue.offsetWidth,oe=Math.max(ve?Ue.offsetWidth:0,Ue.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(be=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),y=be):(be=window.innerWidth,oe=window.innerHeight,y=window.innerWidth),Ze){var z=Ze.getBoundingClientRect();z.left>0&&z.left<=be&&(Ie===void 0||!Ie)&&(document.dir==="rtl"?(E=be-z.width-z.left,b=y<=480?10:30):(b=z.left,E=y<=480?10:30),a=b+E)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Ze&&((he===void 0||!he)&&je>0&&je+a1&&(se=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))Ie=pe(Ze,je,se,he,Ze.scaleContainerClass);else return ve;return se&&(!Ze.hasOwnProperty("scale")||ve===1)?Ie:Math.min(ve,Ie)}function Ke(Ze){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),he=Math.min(window.innerHeight,document.documentElement.clientHeight),ve=Ze.getBoundingClientRect(),Ie=(je-ve.width)/2,se=(he-ve.height)/2;se<0&&(se=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ie<40?Ze.style.left="40px":Ze.style.left=Ie+"px",Ze.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?Ze.style.top="40px":Ze.style.top=se+"px",Ze.style.left=Ie+"px")}function nt(Ze,je){var he=Ze.querySelector(".appletParameters");if(he){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.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(je,Ze);an()&&he.setAttribute("data-param-scale",ve);for(var Ie=null,se=0;se=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(an){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(an){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(an){var Kt=c[an];return Kt==null?null:Kt},r=d,webModule.__errFn=e}function B(){function an(Ze){var je=Ze.lastIndexOf(rb);je==-1&&(je=Ze.length);var he=Ze.indexOf(sb);he==-1&&(he=Ze.length);var ve=Ze.lastIndexOf(tb,Math.min(he,je));return ve>=O?Ze.substring(O,ve+P):W}function Kt(Ze){if(!Ze.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=Ze+vb,Ze=an(je.src)}return Ze}function Be(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function pe(){for(var Ze=o.getElementsByTagName(_),je=O;jeO?Ze[Ze.length-P].href:W}function Ke(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var nt=Be();return nt==W&&(nt=pe()),nt==W&&(nt=we()),nt==W&&Ke()&&(nt=an(o.location.href)),nt=Kt(nt),nt}function C(an){return an.match(/^\//)||an.match(/^[a-zA-Z]+:\/\//)?an:webModule.__moduleBase+an}function D(){var an=[],Kt=O,Be=[],pe=[];function we(Ze){var je=pe[Ze](),he=Be[Ze];if(je in he)return je;var ve=[];for(var Ie in he)ve[he[Ie]]=Ie;throw r&&r(Ze,ve,je),null}if(__gwt_isKnownPropertyValue=function(Ze,je){return je in Be[Ze]},webModule.__getPropMap=function(){var Ze={};for(var je in Be)Be.hasOwnProperty(je)&&(Ze[je]=we(je));return Ze},webModule.__computePropValue=we,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ke;try{Ke=Cb;var nt=Ke.indexOf(Db);nt!=-1&&(Kt=parseInt(Ke.substring(nt+P),$),Ke=Ke.substring(O,nt))}catch(Ze){}return webModule.__softPermutationId=Kt,C(Ke+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(an,Kt,Be){"use strict";Be.d(Kt,{Ax:function(){return nt},Ds:function(){return Ze},KI:function(){return he},SI:function(){return Ke},f1:function(){return we}});var pe=Be(346);function we(ve){let Ie=!0;if(ve.length>0){for(let se=0;seFe in ce?Ue(ce,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ce[Fe]=Ee,a=(ce,Fe)=>{for(var Ee in Fe||(Fe={}))be.call(Fe,Ee)&&y(ce,Ee,Fe[Ee]);if(Pe)for(var Ee of Pe(Fe))oe.call(Fe,Ee)&&y(ce,Ee,Fe[Ee]);return ce};const E=(ce={})=>{var Fe,Ee,Qe,We;let Ye=(Fe=ce==null?void 0:ce.emotion)==null?void 0:Fe.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe)),rt=(Ee=ce==null?void 0:ce.focus)==null?void 0:Ee.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe)),Te=(Qe=ce==null?void 0:ce.action)==null?void 0:Qe.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe)),Pt=(We=ce==null?void 0:ce.intention)==null?void 0:We.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe));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:rt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Te||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Pt||[]}]},b=({className:ce,dataSource:Fe=[],col:Ee=4,right:Qe,bottom:We=23,precision:Ye=0,wrapWidth:rt=1200})=>{const Te=(Oe="",Tt,st="--")=>Oe?(Oe==null?void 0:Oe.length)>Tt?(Oe==null?void 0:Oe.slice(0,Tt-1))+"...":Oe:st,Pt=Math.floor((rt-(Ee-1)*Qe)/Ee);return pe.createElement("div",{className:nt()(we.list,ce)},!!(Fe!=null&&Fe.length)&&(Fe==null?void 0:Fe.map((Oe,Tt)=>{const{cover_pic:st,created_at:At,emotion:It,action:gt,intention:Ft,focus:ht}=Oe;return pe.createElement("div",{key:Tt,className:we.wrap,style:{width:Pt,marginRight:(1+Tt)%Ee===0?0:Qe+Ye,marginBottom:We}},pe.createElement("div",{className:we.img},pe.createElement("img",{src:`${se.Z.API_SERVER}${st}`}),pe.createElement("div",{className:we.tips},pe.createElement("div",null,pe.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),pe.createElement("span",null,At))),pe.createElement("div",{className:we.footer},pe.createElement("ul",null,pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-biaoqing"}),pe.createElement("span",null,"\u8868\u60C5\uFF1A",pe.createElement(je.Z,{title:It},pe.createElement("span",{className:"c-grey-333"},Te(It,4))))),pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-hangwei"}),pe.createElement("span",null,"\u884C\u4E3A\uFF1A",pe.createElement(je.Z,{title:gt},pe.createElement("span",{className:"c-grey-333"},Te(gt,4)))))),pe.createElement("ul",null,pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-yitu"}),pe.createElement("span",null,"\u610F\u56FE\uFF1A",pe.createElement(je.Z,{title:Ft},pe.createElement("span",{className:"c-grey-333"},Te(Ft,4))))),pe.createElement("li",null,pe.createElement("i",{className:"iconfont icon-zhuangtai"}),pe.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",pe.createElement(je.Z,{title:ht},pe.createElement("span",{className:"c-grey-333"},Te(ht,3))))))))})))},x=({className:ce,style:Fe,title:Ee,hideBar:Qe=!1,children:We,customText:Ye="",noDataText:rt="",emptyData:Te=[],loading:Pt,actionAnalysis:Oe})=>{var Tt,st;const At=((Tt=Te==null?void 0:Te[0])==null?void 0:Tt.every(gt=>{var Ft;return!((Ft=gt==null?void 0:gt.data)!=null&&Ft.length)}))&&!((st=Te==null?void 0:Te[1])!=null&&st.length)||!Oe,It=Oe?rt:Ye;return pe.createElement(he.Z,{loading:Pt,active:!0},At&&pe.createElement("div",{className:nt()(we.noData,ce),style:Fe},!!Ee&&pe.createElement("div",{className:we.title},!Qe&&pe.createElement("b",null),pe.createElement("span",null,Ee)),pe.createElement("div",{className:we.itemWrap},pe.createElement(Ie.Z,{customText:It}))),!At&&We)};var ne=({className:ce,style:Fe,data:Ee=[],title:Qe,hideBar:We=!1,loading:Ye=!1})=>pe.createElement("div",{className:nt()(we.analysis,ce),style:Fe},!!Qe&&pe.createElement("div",{className:we.title},!We&&pe.createElement("b",null),pe.createElement("span",null,Qe)),pe.createElement(ve.Z,{spinning:Ye},pe.createElement("div",{className:we.itemWrap},Ee==null?void 0:Ee.map((rt,Te)=>pe.createElement("div",{className:we.item,key:Te},pe.createElement(Ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:rt==null?void 0:rt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Pt){for(let Oe in rt==null?void 0:rt.data)if(Pt==(rt==null?void 0:rt.data[Oe].name))return Pt+" "+(rt==null?void 0:rt.data[Oe].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:rt==null?void 0:rt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:rt==null?void 0:rt.data}]},style:{height:145}}))))))},85788:function(an,Kt,Be){"use strict";var pe=Be(86204),we=Be.n(pe),Ke=Object.defineProperty,nt=(ve,Ie,se)=>Ie in ve?Ke(ve,Ie,{enumerable:!0,configurable:!0,writable:!0,value:se}):ve[Ie]=se,Ze=(ve,Ie,se)=>nt(ve,typeof Ie!="symbol"?Ie+"":Ie,se),je=(ve,Ie,se)=>new Promise((Ue,Pe)=>{var be=a=>{try{y(se.next(a))}catch(E){Pe(E)}},oe=a=>{try{y(se.throw(a))}catch(E){Pe(E)}},y=a=>a.done?Ue(a.value):Promise.resolve(a.value).then(be,oe);y((se=se.apply(ve,Ie)).next())});class he extends pe.EventEmitter{constructor(Ie,se){super(),Ze(this,"url"),Ze(this,"body"),Ze(this,"fullContent",""),Ze(this,"controller",null),Ze(this,"buffer",""),this.url=Ie,this.body=se}startStream(){return je(this,null,function*(){this.controller=new AbortController;const{signal:Ie}=this.controller;try{const se=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ie});if(!se.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${se.status}`);const Ue=se.headers.get("content-type");if(!Ue)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ue.includes("application/json")){const oe=yield se.json();this.emit("error",oe);return}if(!Ue.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Pe=se.body.getReader(),be=new TextDecoder("utf-8");for(;;){const{done:oe,value:y}=yield Pe.read();if(oe)break;const a=be.decode(y,{stream:!0});this.buffer+=a;const E=this.buffer.split(` `);this.buffer=E.pop()||"";for(const b of E)if(b.startsWith("data:")){const x=b.slice(5).trim();if(x==="[DONE]")break;try{const z=JSON.parse(x);z.data&&this.handleData(z.data)}catch(z){this.buffer=b+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(se){se.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",se.message)}})}handleData(Ie){Ie.content&&(this.fullContent+=Ie.content,this.emit("data",{chunk:Ie,full:this.fullContent}))}cancelRequest(){var Ie;(Ie=this.controller)==null||Ie.abort()}}Kt.Z=he},9507:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return Ue}});var pe=Be(59301),we={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ke=Be(92310),nt=Be.n(Ke),Ze=Be(71418),je=Be(2859),he=Be(38986),ve=Be(51257),Ie=(Pe,be,oe)=>new Promise((y,a)=>{var E=z=>{try{x(oe.next(z))}catch(ne){a(ne)}},b=z=>{try{x(oe.throw(z))}catch(ne){a(ne)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(E,b);x((oe=oe.apply(Pe,be)).next())}),Ue=({data:Pe,className:be,fullWidth:oe,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const z=(0,pe.useRef)(null),ne=(0,pe.useRef)(null),ce=(0,pe.useRef)(null),Fe=(0,pe.useRef)(null),[Ee,Qe]=(0,pe.useState)(!1),[We,Ye]=(0,pe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,pe.useEffect)(()=>{ce.current||(ce.current=document.createElement("style"),document.head.appendChild(ce.current)),Pe!=null&&Pe.visible?(document.body.setAttribute("data-custom","y-hidden"),ce.current.innerHTML=" html { overflow-y: hidden; }",Pe!=null&&Pe.src&&rt()):(document.body.removeAttribute("data-custom"),ce.current&&(document.head.removeChild(ce.current),ce.current=null))},[Pe==null?void 0:Pe.visible]);const rt=()=>Ie(void 0,null,function*(){Qe(!0),Ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const st=yield(0,ve.ZJ)(Pe==null?void 0:Pe.src);z.current.src="",z.current.src=st,z.current.onload=function(){Tt()},Qe(!1),Ye("")}),Te=()=>{document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",a()},Pt=st=>Ie(void 0,null,function*(){Qe(!0),Ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const At=yield(0,he.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Pe.title,file:st.dataUrl}});At!=null&&At.id&&!x?(yield(0,he.ZP)(`/api/attachments/${Pe.id}/add_subitem.json`,{method:"post",body:{subitem_id:At==null?void 0:At.id,settings:JSON.stringify(st.state)}})).status===0&&E():At!=null&&At.id&&E(At),document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",Qe(!1),Ye("")}),Oe=()=>{const st=document.querySelector('a[href="https://markerjs.com/"]');st&&st.parentNode&&(st.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(It=>{const gt=document.querySelector(It.name);gt&>.setAttribute("title",It.title)})},Tt=()=>{ne.current=new je.hP(z.current),ne.current.targetRoot=Fe.current,ne.current.addEventListener("render",Pt),ne.current.addEventListener("beforeclose",Te),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(),Pe!=null&&Pe.snapshotData&&ne.current.restoreState(Pe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Oe()},300)};return pe.createElement(pe.Fragment,null,(Pe==null?void 0:Pe.visible)&&pe.createElement(Ze.Z,{spinning:Ee,tip:We,style:{position:"absolute"}},pe.createElement("div",{ref:Fe,className:nt()(we.imageDimensions,be,oe?we.fullWidth:""),style:y},pe.createElement("img",{className:we.img,ref:z}))))}},76562:function(an,Kt,Be){"use strict";var pe=Be(59301),we=Be(95237),Ke=Be(43604),nt=Be(99313),Ze=Be(3113),je=Be(91842),he=Be(99587),ve=Be(48136),Ie=Be(59301);const se=(0,pe.forwardRef)(({callback:Ue,showSaveButton:Pe,value:be=""},oe)=>{const y=(0,pe.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],E=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=ne=>{y.current.setValue(y.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ie.createElement(we.Z,{className:he.Z.lists,gutter:[10,10]},a.map((ne,ce)=>Ie.createElement(Ke.Z,{flex:"110px",className:he.Z.item},Ie.createElement("div",null,Ie.createElement(je.Z,{value:`$$${ne.value}$$`}),ne.name),Ie.createElement("div",{className:he.Z.children},ne.children.map((Fe,Ee)=>Ie.createElement("div",{key:Ee},Ie.createElement("h1",null,Fe.name),Ie.createElement(we.Z,{gutter:[10,10]},Fe.data.map((Qe,We)=>Ie.createElement(Ke.Z,{key:We,onClick:()=>b(Qe),className:he.Z.diamond},Ie.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ie.createElement(we.Z,{className:he.Z.lists,gutter:[10,10]},E.map((ne,ce)=>Ie.createElement(Ke.Z,{flex:"110px",className:he.Z.item},Ie.createElement("div",null,Ie.createElement(je.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),Ie.createElement("div",{className:he.Z.children},ne.children.map((Fe,Ee)=>Ie.createElement("div",{key:Ee},Fe.name&&Ie.createElement("h1",null,Fe.name),Ie.createElement(we.Z,{gutter:[10,10]},Fe.data.map((Qe,We)=>Ie.createElement(Ke.Z,{key:We,onClick:()=>b(Qe),className:he.Z.diamond},Ie.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))}],z=()=>{var ne=document.createElement("div");ne.innerHTML=y.current.getValue();var ce=ne.innerText;return Ue&&Ue(ce),ce};return(0,pe.useImperativeHandle)(oe,()=>({getData:z})),Ie.createElement("div",{className:he.Z.mathWrap},Ie.createElement(nt.default,{defaultActiveKey:"1",items:x}),Ie.createElement("math-field",{locale:"zh_cn",className:he.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},be||""),Pe&&Ie.createElement("div",{className:he.Z.button},Ie.createElement(Ze.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Kt.Z=se},6701:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return Pt}});var pe=Be(59301),we=Be(25690),Ke=Be(43418),nt=Be(78241),Ze=Be(8591),je=Be(71418),he=Be(17574),ve=Be(95237),Ie=Be(43604),se=Be(6848),Ue=Be(92832),Pe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},be=Be(45937),oe=Be(86245),y=Be(28426),a=Be(12588),E=Object.defineProperty,b=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,Fe=(Oe,Tt,st)=>Tt in Oe?E(Oe,Tt,{enumerable:!0,configurable:!0,writable:!0,value:st}):Oe[Tt]=st,Ee=(Oe,Tt)=>{for(var st in Tt||(Tt={}))ne.call(Tt,st)&&Fe(Oe,st,Tt[st]);if(z)for(var st of z(Tt))ce.call(Tt,st)&&Fe(Oe,st,Tt[st]);return Oe},Qe=(Oe,Tt)=>b(Oe,x(Tt)),We=(Oe,Tt)=>{var st={};for(var At in Oe)ne.call(Oe,At)&&Tt.indexOf(At)<0&&(st[At]=Oe[At]);if(Oe!=null&&z)for(var At of z(Oe))Tt.indexOf(At)<0&&ce.call(Oe,At)&&(st[At]=Oe[At]);return st},Ye=(Oe,Tt,st)=>new Promise((At,It)=>{var gt=tt=>{try{ht(st.next(tt))}catch(en){It(en)}},Ft=tt=>{try{ht(st.throw(tt))}catch(en){It(en)}},ht=tt=>tt.done?At(tt.value):Promise.resolve(tt.value).then(gt,Ft);ht((st=st.apply(Oe,Tt)).next())});const rt=(Oe=[])=>Oe==null?void 0:Oe.map(Tt=>Qe(Ee({},Tt),{title:(Tt==null?void 0:Tt.value)||"",key:Tt==null?void 0:Tt.id,isLeaf:!0})),Te=Oe=>{var Tt=Oe,{user:st,children:At,isShowComponent:It=!0,ModalProps:gt={},onDataSelect:Ft}=Tt,ht=We(Tt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[tt,en]=Ke.default.useModal(),[gn]=nt.default.useForm(),[Et,Zt]=(0,pe.useState)([]),[Cn,jn]=(0,pe.useState)(!1),[hn,Kn]=(0,pe.useState)(!1),[,Nt,zn,$n]=(0,be.U)(oe.qE,{page:1,limit:9999}),[,,He]=(0,be.U)(oe.V8,{}),[,,$t]=(0,be.U)(oe.B$,{}),[,,Re]=(0,be.U)(oe.DH,{}),[,,me]=(0,be.U)(oe.bJ,{}),le=()=>{jn(!1),gn.resetFields(),Kn(!1)},ye=pt=>Ye(void 0,null,function*(){const{node:Me,dragNode:Je,event:jt}=pt,wt=pt.node.pos.split("-"),lt=pt.dropPosition-Number(wt[wt.length-1]);if(lt==0){Ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(lt==1&&(Je==null?void 0:Je.item_index)==(Me==null?void 0:Me.item_index)+1){Ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Vt=yield me({id:Je==null?void 0:Je.key,position:lt==-1?1:(Je==null?void 0:Je.item_index)>(Me==null?void 0:Me.item_index)?(Me==null?void 0:Me.item_index)+1:Me==null?void 0:Me.item_index});(Vt==null?void 0:Vt.status)===0&&(Ze.ZP.success("\u79FB\u52A8\u6210\u529F"),zn({},!0))}),qe=pt=>Ye(void 0,null,function*(){let Me={};hn?Me=yield $t(Ee({},pt)):Me=yield Re(Ee({},pt)),(Me==null?void 0:Me.status)==0&&(Ze.ZP.success((Me==null?void 0:Me.message)||(hn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),zn({},!0),le())});return(0,pe.useEffect)(()=>{gt!=null&>.open&&zn({},!0)},[gt==null?void 0:gt.open]),(0,pe.useEffect)(()=>{var pt;Zt(rt((pt=$n==null?void 0:$n.data)==null?void 0:pt.list))},[$n]),It?pe.createElement(pe.Fragment,null,en,At,pe.createElement(Ke.default,Ee({},Ee({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},gt)),pe.createElement(je.Z,{spinning:Nt},(Et==null?void 0:Et.length)>0?pe.createElement(pe.Fragment,null,pe.createElement(he.default.DirectoryTree,{height:500,className:Pe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:Ft,treeData:Et,onDrop:ye,titleRender:pt=>pe.createElement(pe.Fragment,null,pe.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},pt==null?void 0:pt.title),pe.createElement("div",{className:`${Pe.EditDom}`},pe.createElement(ve.Z,{wrap:!1,align:"middle",gutter:16},pe.createElement(Ie.Z,null,pe.createElement(se.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},pe.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Pe.currentPrimary}`}))),pe.createElement(Ie.Z,null,pe.createElement(se.Z,{title:"\u7F16\u8F91"},pe.createElement("i",{className:`iconfont icon-bianji11 font12 ${Pe.currentPrimary}`,onClick:Me=>{Me.stopPropagation(),gn.setFieldsValue(Ee({},pt)),jn(!0)}}))),pe.createElement(Ie.Z,null,pe.createElement(se.Z,{title:"\u5220\u9664"},pe.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Pe.currentDelete}`,onClick:Me=>{Me.stopPropagation(),tt.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>Ye(void 0,null,function*(){const Je=yield He({id:pt==null?void 0:pt.key});(Je==null?void 0:Je.status)==0&&(Ze.ZP.success((Je==null?void 0:Je.message)||"\u5220\u9664\u6210\u529F"),zn({},!0))})})}}))))))}),pe.createElement(a.op,{className:"ml20 mt20",icon:pe.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Kn(!0),jn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):pe.createElement(y.Z,{styles:{margin:"30px auto"},customText:pe.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",pe.createElement("a",{onClick:()=>{Kn(!0),jn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),pe.createElement(Ke.default,{title:hn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Cn,okText:hn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{le()},onOk:()=>{gn.submit()}},pe.createElement(nt.default,{form:gn,onFinish:qe},hn&&pe.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),pe.createElement(nt.default.Item,{hidden:!0,name:"id"}),pe.createElement(nt.default.Item,{className:"mt10",name:"value"},pe.createElement(Ue.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 Pt=(0,we.connect)(({loading:Oe,user:Tt})=>({user:Tt,loading:Oe.effects}))(Te)},69720:function(an,Kt,Be){"use strict";Be.d(Kt,{h:function(){return ne}});var pe=Be(59301),we=Be(57809),Ke=Be(78241),nt=Be(3113),Ze=Be(89780),je=Be.n(Ze),he=Be(8336),ve=Be(12469),Ie=Object.defineProperty,se=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(ce,Fe,Ee)=>Fe in ce?Ie(ce,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ce[Fe]=Ee,a=(ce,Fe)=>{for(var Ee in Fe||(Fe={}))be.call(Fe,Ee)&&y(ce,Ee,Fe[Ee]);if(Pe)for(var Ee of Pe(Fe))oe.call(Fe,Ee)&&y(ce,Ee,Fe[Ee]);return ce},E=(ce,Fe)=>se(ce,Ue(Fe));const b=we.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Kt.Z=({callback:ce,onCancel:Fe})=>{const[Ee,Qe]=(0,pe.useState)("python");function We(rt){Qe(z[rt][1])}function Ye(rt){ce(rt)}return pe.createElement(Ke.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),pe.createElement(Ke.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},pe.createElement(we.default,{getPopupContainer:rt=>rt.parentNode,onChange:We},Object.keys(z).map(rt=>pe.createElement(b,{key:rt,value:rt},z[rt][0])))),pe.createElement(Ke.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},pe.createElement(ne,{mode:Ee})),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(nt.ZP,{type:"ghost",onClick:Fe},"\u53D6\u6D88")))};function ne({value:ce,onChange:Fe,mode:Ee,options:Qe={}}){const We=(0,pe.useRef)(),[Ye,rt]=(0,pe.useState)();return(0,pe.useEffect)(()=>{if(Ye){let Te=function(Pt){const Oe=Pt.getValue();Fe&&Fe(Oe)};return Ye.on("change",Te),()=>{Ye.off("change",Te)}}},[Ye,Fe]),(0,pe.useEffect)(()=>{Ye&&Ye.setOption("mode",Ee)},[Ye,Ee]),(0,pe.useEffect)(()=>{Ye&&(ce!==Ye.getValue()||ce==="")&&setTimeout(()=>{Ye.setValue(ce||"")},300)},[Ye,ce]),(0,pe.useEffect)(()=>{if(We.current&&!Ye){const Te=je().fromTextArea(We.current,a({mode:Ee,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Qe));rt(Te)}},[We.current,Ye]),pe.createElement("div",{className:"my-codemirror-container"},pe.createElement("textarea",{ref:We}))}},39793:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ai}});var pe=Be(59301),we=Be(89780),Ke=Be.n(we),nt=Be(76374),Ze=Be(8336),je=Be(6313),he=Be(25717),ve=Be(99498),Ie=Be(25419),se=Be(67549),Ue=Be(91842),Pe=({value:In="",className:Mn,showTextOnly:wn,showLines:Or,style:sa={}})=>{const Ir=(0,pe.useMemo)(()=>"",[In]);return pe.createElement(pe.Fragment,null,pe.createElement("div",{dangerouslySetInnerHTML:{__html:Ir}}))},be=Be(59301),oe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(In,Mn,wn)=>Mn in In?oe(In,Mn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):In[Mn]=wn,ne=(In,Mn)=>{for(var wn in Mn||(Mn={}))b.call(Mn,wn)&&z(In,wn,Mn[wn]);if(E)for(var wn of E(Mn))x.call(Mn,wn)&&z(In,wn,Mn[wn]);return In},ce=(In,Mn)=>y(In,a(Mn));let Fe=[{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 Ee({onActionCallback:In,title:Mn,icon:wn,actionName:Or,className:sa="",children:Ir}){function ga(){In(Or)}return be.createElement("a",{title:Mn,className:sa,onClick:ga},be.createElement("i",{className:`${wn}`}),Ir)}var Qe=({watch:In,showNullButton:Mn,showNullProgramButton:wn,onActionCallback:Or,fullScreen:sa,insertTemp:Ir,hidetoolBar:ga,extraUse:Ia})=>{const Ca=[...Fe,{title:`${In?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${In?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return be.createElement("ul",{className:"markdown-toolbar-container"},!ga&&Ca.map((to,ci)=>be.createElement("li",{key:ci},to.actionName?be.createElement(Ee,ce(ne({},to),{onActionCallback:Or})):be.createElement("span",{className:"v-line"}))),Mn?be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Or},be.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,wn?be.createElement(be.Fragment,null,be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Or},be.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Or},be.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ir&&be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ir}`,onActionCallback:Or},be.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ia&&be.createElement("li",null,Ia),be.createElement("li",{className:"btn-full-screen"},be.createElement(Ee,{icon:`${sa?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:sa?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Or})))},We=Be(91558),Ye=Be(78241),rt=Be(92832),Te=Be(3113),Pt=Object.defineProperty,Oe=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,gt=(In,Mn,wn)=>Mn in In?Pt(In,Mn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):In[Mn]=wn,Ft=(In,Mn)=>{for(var wn in Mn||(Mn={}))At.call(Mn,wn)&>(In,wn,Mn[wn]);if(st)for(var wn of st(Mn))It.call(Mn,wn)&>(In,wn,Mn[wn]);return In},ht=(In,Mn)=>Oe(In,Tt(Mn));const tt={labelCol:{span:4},wrapperCol:{span:20}};var en=({callback:In,onCancel:Mn})=>{function wn(Or){In(Or)}return pe.createElement(Ye.default,ht(Ft({},tt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:wn,style:{width:500}}),pe.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},pe.createElement(rt.default,null)),pe.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},pe.createElement(rt.default,null)),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Te.ZP,{type:"ghost",onClick:Mn},"\u53D6\u6D88")))},gn=Be(69720),Et=Be(17077),Zt=Be(43418),Cn=Be(95237),jn=Be(9507),hn=Be(59301),Kn=({callback:In,onCancel:Mn})=>{const wn=document.createElement("canvas"),Or=wn.getContext("2d");wn.width=1e3,wn.height=800,Or.fillStyle="#ffffff",Or.fillRect(0,0,wn.width,wn.height);const sa=wn.toDataURL("image/png");return hn.createElement(Zt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},hn.createElement(Cn.Z,{style:{height:"100vh"}},hn.createElement(jn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:sa,visible:!0,title:String(Date.now())},onOk:Ir=>{In({src:Ir.url})},onClose:Mn})))},Nt=Be(12378);function zn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(zn,go.CommandHandler),zn.prototype.canAlignSelection=function(){var In=this.diagram;return!(In===null||In.isReadOnly||In.isModelReadOnly||In.selection.count<2)},zn.prototype.alignLeft=function(){var In=this.diagram;In.startTransaction("aligning left");var Mn=1/0;In.selection.each(function(wn){wn instanceof go.Link||(Mn=Math.min(wn.position.x,Mn))}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(Mn,wn.position.y))}),In.commitTransaction("aligning left")},zn.prototype.alignRight=function(){var In=this.diagram;In.startTransaction("aligning right");var Mn=-1/0;In.selection.each(function(wn){if(!(wn instanceof go.Link)){var Or=wn.actualBounds.x+wn.actualBounds.width;Mn=Math.max(Or,Mn)}}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(Mn-wn.actualBounds.width,wn.position.y))}),In.commitTransaction("aligning right")},zn.prototype.alignTop=function(){var In=this.diagram;In.startTransaction("alignTop");var Mn=1/0;In.selection.each(function(wn){wn instanceof go.Link||(Mn=Math.min(wn.position.y,Mn))}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(wn.position.x,Mn))}),In.commitTransaction("alignTop")},zn.prototype.alignBottom=function(){var In=this.diagram;In.startTransaction("aligning bottom");var Mn=-1/0;In.selection.each(function(wn){if(!(wn instanceof go.Link)){var Or=wn.actualBounds.y+wn.actualBounds.height;Mn=Math.max(Or,Mn)}}),In.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(wn.actualBounds.x,Mn-wn.actualBounds.height))}),In.commitTransaction("aligning bottom")},zn.prototype.alignCenterX=function(){var In=this.diagram,Mn=In.selection.first();if(Mn){In.startTransaction("aligning Center X");var wn=Mn.actualBounds.x+Mn.actualBounds.width/2;In.selection.each(function(Or){Or instanceof go.Link||Or.move(new go.Point(wn-Or.actualBounds.width/2,Or.actualBounds.y))}),In.commitTransaction("aligning Center X")}},zn.prototype.alignCenterY=function(){var In=this.diagram,Mn=In.selection.first();if(Mn){In.startTransaction("aligning Center Y");var wn=Mn.actualBounds.y+Mn.actualBounds.height/2;In.selection.each(function(Or){Or instanceof go.Link||Or.move(new go.Point(Or.actualBounds.x,wn-Or.actualBounds.height/2))}),In.commitTransaction("aligning Center Y")}},zn.prototype.alignColumn=function(In){var Mn=this.diagram;Mn.startTransaction("align Column"),In===void 0&&(In=0),In=parseFloat(In);var wn=new Array;Mn.selection.each(function(Ia){Ia instanceof go.Link||wn.push(Ia)});for(var Or=0;Or0){for(var Ia=Ir.elt(ga-1);Ia!==null&&Ia.isTreeExpanded&&!Ia.isTreeLeaf;){var Ca=this._sortTreeChildrenByY(Ia);Ia=Ca.last()}Ia!==null&&In.select(Ia)}else In.select(sa)}}else if(wn.key==="Down")if(Mn.isTreeExpanded&&!Mn.isTreeLeaf){var Or=this._sortTreeChildrenByY(Mn).first();Or!==null&&In.select(Or)}else for(;Mn!==null;){var sa=Mn.findTreeParentNode();if(sa===null)break;var Ir=this._sortTreeChildrenByY(sa),ga=Ir.indexOf(Mn);if(gaIr.y?1:sa.xIr.x?1:0}),Mn},zn.prototype.copyToClipboard=function(In){go.CommandHandler.prototype.copyToClipboard.call(this,In),this._lastPasteOffset.set(this.pasteOffset)},zn.prototype.pasteFromClipboard=function(){var In=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(In,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),In},Object.defineProperty(zn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(In){if(In!=="move"&&In!=="select"&&In!=="scroll"&&In!=="tree"&&In!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+In);this._arrowKeyBehavior=In}}),Object.defineProperty(zn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(In){if(!(In instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+In);this._pasteOffset.set(In)}});var $n=zn,He=Be(63720),$t=Be(43604),Re=Be(38986),me={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},le=Be(59301),ye=(In,Mn,wn)=>new Promise((Or,sa)=>{var Ir=Ca=>{try{Ia(wn.next(Ca))}catch(to){sa(to)}},ga=Ca=>{try{Ia(wn.throw(Ca))}catch(to){sa(to)}},Ia=Ca=>Ca.done?Or(Ca.value):Promise.resolve(Ca.value).then(Ir,ga);Ia((wn=wn.apply(In,Mn)).next())});function qe({onCancel:In,callback:Mn}){let wn=(0,pe.useRef)(),Or=(0,pe.useRef)(),sa=(0,pe.useRef)(),Ir=(0,pe.useRef)(!1);const ga=(0,pe.useRef)(!1),[Ia,Ca]=(0,pe.useState)(0);function to(){const wr=Nt.bx.make,Ua={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};wn.current=new Nt.S0(Or.current,{padding:20,grid:wr(Nt.s_,"Grid",wr(Nt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),wr(Nt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Kr=>{var Pa=Kr.diagram.commandHandler.addTopLevelParts(Kr.diagram.selection,!0);Pa||Kr.diagram.currentTool.doCancel()},commandHandler:wr($n),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Kr=>{var Pa=Kr.subject;Pa.location=Pa.location.copy().snapToGridPoint(Kr.diagram.grid.gridOrigin,Kr.diagram.grid.gridCellSize),setTimeout(()=>{Kr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Kr=>{var Pa=Kr.subject;setTimeout(()=>{Kr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Kr=>{var Pa=Kr.parameter.part;Pa.invalidateConnectedLinks();var lo=Kr.subject;Kr.diagram.toolManager.linkingTool.isForwards?lo.toNode.invalidateConnectedLinks():lo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),wn.current.nodeTemplate=wr(Nt.NB,"Auto",{locationSpot:Nt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Nt.$u(120,60),minSize:new Nt.$u(40,40),resizable:!0,resizeCellSize:new Nt.$u(10,10),rotatable:!0},new Nt.KX("location","loc",Nt.E9.parse).makeTwoWay(Nt.E9.stringify),new Nt.KX("desiredSize","size",Nt.$u.parse).makeTwoWay(Nt.$u.stringify),wr(Nt.bn,{name:"SHAPE",fill:Ua.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Nt.z6.AllSides,toSpot:Nt.z6.AllSides},new Nt.KX("figure"),new Nt.KX("fill"),new Nt.KX("stroke","borderColor"),new Nt.KX("strokeWidth","thickness"),new Nt.KX("strokeDashArray","dash")),wr(Nt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),wr(Nt.al,{margin:1,textAlign:"center",overflow:Nt.al.OverflowEllipsis,editable:!0},new Nt.KX("text").makeTwoWay(),new Nt.KX("stroke","color"))),wn.current.nodeTemplate.toolTip=wr("ToolTip",wr(Nt.s_,"Vertical",{maxSize:new Nt.$u(200,NaN)},wr(Nt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Nt.KX("text")),wr(Nt.al,{font:"10pt sans-serif",textAlign:"center"},new Nt.KX("text","details"))));function oi(Kr,Pa){var lo=(va,Uo)=>{va.handled=!0,va.diagram.model.commit(Yo=>{var wi=Uo.part.adornedPart,Fa=new Nt.E9().setRectSpot(wi.actualBounds,Kr);Fa.subtract(wi.location),Fa.scale(2,2),Fa.x+=Math.sign(Fa.x)*130,Fa.y+=Math.sign(Fa.y)*130,Fa.add(wi.location),Fa.snapToGridPoint(va.diagram.grid.gridOrigin,va.diagram.grid.gridCellSize);var Ji=Yo.copyNodeData(wi.data);Yo.setGroupKeyForNodeData(Ji,Yo.getGroupKeyForNodeData(wi.data)),Yo.addNodeData(Ji);var Na={from:wi.key,to:Yo.getKeyForNodeData(Ji)};Yo.addLinkData(Na);var Ba=va.diagram.findNodeForData(Ji);Ba.location=Fa,va.diagram.select(Ba),setTimeout(()=>{va.diagram.commandHandler.editTextBlock()},20)})};return wr(Nt.bn,{figure:Pa,alignment:Kr,alignmentFocus:Kr.opposite(),width:Kr.equals(Nt.z6.Top)||Kr.equals(Nt.z6.Bottom)?25:18,height:Kr.equals(Nt.z6.Top)||Kr.equals(Nt.z6.Bottom)?18:25,fill:"orange",stroke:Ua.white,strokeWidth:4,mouseEnter:(va,Uo)=>Uo.fill="dodgerblue",mouseLeave:(va,Uo)=>Uo.fill="orange",isActionable:!0,click:lo,contextClick:lo})}function Do(Kr){return wr(Nt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Pa,lo)=>lo.fill="dodgerblue",mouseLeave:(Pa,lo)=>lo.fill="orange",click:(Pa,lo)=>{Pa.diagram.commandHandler.showContextMenu(lo.part.adornedPart)}},Kr||{})}wn.current.nodeTemplate.selectionAdornmentTemplate=wr(Nt.uz,"Spot",wr(Nt.Vm,{padding:10}),oi(Nt.z6.Top,"TriangleUp"),oi(Nt.z6.Left,"TriangleLeft"),oi(Nt.z6.Right,"TriangleRight"),oi(Nt.z6.Bottom,"TriangleDown"),Do({alignment:new Nt.z6(.75,0)}));function Go(Kr,Pa){return(lo,va)=>{lo.handled=!0,lo.diagram.model.commit(Uo=>{Uo.set(va.part.adornedPart.data,Kr,Pa)})}}function co(Kr,Pa){return Pa||(Pa="color"),wr(Nt.bn,{width:16,height:16,stroke:"lightgray",fill:Kr,margin:1,background:"transparent",mouseEnter:(lo,va)=>va.stroke="dodgerblue",mouseLeave:(lo,va)=>va.stroke="lightgray",click:Go(Pa,Kr),contextClick:Go(Pa,Kr)})}function yi(){return[wr("ContextMenuButton",wr(Nt.s_,"Horizontal",co(Ua.white,"fill"),co(Ua.beige,"fill"),co(Ua.extralightblue,"fill"),co(Ua.extralightred,"fill"))),wr("ContextMenuButton",wr(Nt.s_,"Horizontal",co(Ua.lightgray,"fill"),co(Ua.lightgreen,"fill"),co(Ua.lightblue,"fill"),co(Ua.lightred,"fill")))]}function zi(){return[wr("ContextMenuButton",wr(Nt.s_,"Horizontal",co(Ua.black),co(Ua.green),co(Ua.blue),co(Ua.red))),wr("ContextMenuButton",wr(Nt.s_,"Horizontal",co(Ua.white),co(Ua.magenta),co(Ua.purple),co(Ua.orange)))]}function Li(Kr,Pa){return Pa||(Pa="thickness"),wr(Nt.bn,"LineH",{width:16,height:16,strokeWidth:Kr,margin:1,background:"transparent",mouseEnter:(lo,va)=>va.background="dodgerblue",mouseLeave:(lo,va)=>va.background="transparent",click:Go(Pa,Kr),contextClick:Go(Pa,Kr)})}function dA(Kr,Pa){return Pa||(Pa="dash"),wr(Nt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Kr,margin:1,background:"transparent",mouseEnter:(lo,va)=>va.background="dodgerblue",mouseLeave:(lo,va)=>va.background="transparent",click:Go(Pa,Kr),contextClick:Go(Pa,Kr)})}function Qi(){return[wr("ContextMenuButton",wr(Nt.s_,"Horizontal",Li(1),Li(2),Li(3),Li(4))),wr("ContextMenuButton",wr(Nt.s_,"Horizontal",dA(null),dA([2,4]),dA([4,4])))]}function To(Kr,Pa){return Pa||(Pa="figure"),wr(Nt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Kr,margin:1,background:"transparent",mouseEnter:(lo,va)=>va.fill="dodgerblue",mouseLeave:(lo,va)=>va.fill="lightgray",click:Go(Pa,Kr),contextClick:Go(Pa,Kr)})}wn.current.nodeTemplate.contextMenu=wr("ContextMenu",wr("ContextMenuButton",wr(Nt.s_,"Horizontal",To("Rectangle"),To("RoundedRectangle"),To("Ellipse"),To("Diamond"))),wr("ContextMenuButton",wr(Nt.s_,"Horizontal",To("Parallelogram2"),To("ManualOperation"),To("Procedure"),To("Cylinder1"))),wr("ContextMenuButton",wr(Nt.s_,"Horizontal",To("Terminator"),To("CreateRequest"),To("Document"),To("TriangleDown"))),yi(),zi(),Qi()),wn.current.groupTemplate=wr(Nt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Nt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Kr,Pa)=>{var lo=Pa.addMembers(Pa.diagram.selection,!0);lo||Pa.diagram.currentTool.doCancel()},avoidable:!1},new Nt.KX("location","loc",Nt.E9.parse).makeTwoWay(Nt.E9.stringify),wr(Nt.s_,"Auto",{name:"BODY"},wr(Nt.bn,{parameter1:10,fill:Ua.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Nt.z6.AllSides,toSpot:Nt.z6.AllSides},new Nt.KX("fill"),new Nt.KX("stroke","color"),new Nt.KX("strokeWidth","thickness"),new Nt.KX("strokeDashArray","dash")),wr(Nt.Vm,{background:"transparent",margin:20})),wr(Nt.al,{alignment:Nt.z6.Top,alignmentFocus:Nt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Nt.KX("text"),new Nt.KX("stroke","color"))),wn.current.groupTemplate.selectionAdornmentTemplate=wr(Nt.uz,"Spot",wr(Nt.s_,"Auto",wr(Nt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),wr(Nt.Vm,{margin:1.5})),Do({alignment:Nt.z6.TopRight,alignmentFocus:Nt.z6.BottomRight})),wn.current.groupTemplate.contextMenu=wr("ContextMenu",yi(),zi(),Qi()),wn.current.linkTemplate=wr(Nt.rU,{layerName:"Foreground",routing:Nt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Nt.KX("fromSpot","fromSpot",Nt.z6.parse),new Nt.KX("toSpot","toSpot",Nt.z6.parse),new Nt.KX("fromShortLength","dir",Kr=>Kr>=1?10:0),new Nt.KX("toShortLength","dir",Kr=>Kr>=1?10:0),new Nt.KX("points").makeTwoWay(),wr(Nt.bn,{strokeWidth:2},new Nt.KX("stroke","color"),new Nt.KX("strokeWidth","thickness"),new Nt.KX("strokeDashArray","dash")),wr(Nt.bn,{segmentIndex:0,segmentOffset:new Nt.E9(15,0),segmentOrientation:Nt.rU.OrientAlong,alignmentFocus:Nt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Nt.KX("fill","color"),new Nt.KX("visible","dir",Kr=>Kr===1)),wr(Nt.bn,{segmentIndex:-1,segmentOffset:new Nt.E9(-10,6),segmentOrientation:Nt.rU.OrientPlus90,alignmentFocus:Nt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Nt.KX("fill","color"),new Nt.KX("visible","dir",Kr=>Kr>=1),new Nt.KX("width","thickness",Kr=>7+3*Kr),new Nt.KX("height","thickness",Kr=>7+3*Kr),new Nt.KX("segmentOffset","thickness",Kr=>new Nt.E9(-15,4+1.5*Kr))),wr(Nt.bn,{segmentIndex:0,segmentOffset:new Nt.E9(15,-6),segmentOrientation:Nt.rU.OrientMinus90,alignmentFocus:Nt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Nt.KX("fill","color"),new Nt.KX("visible","dir",Kr=>Kr===2),new Nt.KX("width","thickness",Kr=>7+3*Kr),new Nt.KX("height","thickness",Kr=>7+3*Kr),new Nt.KX("segmentOffset","thickness",Kr=>new Nt.E9(-15,4+1.5*Kr))),wr(Nt.al,{alignmentFocus:new Nt.z6(0,1,-4,0),editable:!0},new Nt.KX("text").makeTwoWay(),new Nt.KX("stroke","color"))),wn.current.linkTemplate.selectionAdornmentTemplate=wr(Nt.uz,wr(Nt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:AA(2)},new Nt.KX("pathPattern","thickness",AA)),Do({alignmentFocus:new Nt.z6(0,0,-6,-4)}));function AA(Kr){return wr(Nt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Kr+4).toString()+" H3"})}function XA(Kr){var Pa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Kr===0?Pa="M0 0 M16 16 M0 8 L16 8":Kr===2&&(Pa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),wr(Nt.bn,{geometryString:Pa,margin:2,background:"transparent",mouseEnter:(lo,va)=>va.background="dodgerblue",mouseLeave:(lo,va)=>va.background="transparent",click:Go("dir",Kr),contextClick:Go("dir",Kr)})}function Gi(Kr){var Pa=(lo,va)=>{lo.handled=!0,lo.diagram.model.commit(Uo=>{var Yo=va.part.adornedPart;Uo.set(Yo.data,Kr?"toSpot":"fromSpot",Nt.z6.stringify(Nt.z6.AllSides)),(Kr?Yo.toNode:Yo.fromNode).invalidateConnectedLinks()})};return wr(Nt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(lo,va)=>va.background="dodgerblue",mouseLeave:(lo,va)=>va.background="transparent",click:Pa,contextClick:Pa})}function br(Kr,Pa){var lo=0,va=Nt.z6.RightSide;Kr.equals(Nt.z6.Top)?(lo=270,va=Nt.z6.TopSide):Kr.equals(Nt.z6.Left)?(lo=180,va=Nt.z6.LeftSide):Kr.equals(Nt.z6.Bottom)&&(lo=90,va=Nt.z6.BottomSide),Pa||(lo-=180);var Uo=(Yo,wi)=>{Yo.handled=!0,Yo.diagram.model.commit(Fa=>{var Ji=wi.part.adornedPart;Fa.set(Ji.data,Pa?"toSpot":"fromSpot",Nt.z6.stringify(va)),(Pa?Ji.toNode:Ji.fromNode).invalidateConnectedLinks()})};return wr(Nt.bn,{alignment:Kr,alignmentFocus:Kr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:lo,background:"transparent",mouseEnter:(Yo,wi)=>wi.background="dodgerblue",mouseLeave:(Yo,wi)=>wi.background="transparent",click:Uo,contextClick:Uo})}wn.current.linkTemplate.contextMenu=wr("ContextMenu",zi(),Qi(),wr("ContextMenuButton",wr(Nt.s_,"Horizontal",XA(0),XA(1),XA(2))),wr("ContextMenuButton",wr(Nt.s_,"Horizontal",wr(Nt.s_,"Spot",Gi(!1),br(Nt.z6.Top,!1),br(Nt.z6.Left,!1),br(Nt.z6.Right,!1),br(Nt.z6.Bottom,!1)),wr(Nt.s_,"Spot",{margin:new Nt.Zt(0,0,0,2)},Gi(!0),br(Nt.z6.Top,!0),br(Nt.z6.Left,!0),br(Nt.z6.Right,!0),br(Nt.z6.Bottom,!0)))));const Gl=`{ "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 Fs=["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 xs(Kr){return console.log("shapeName:",Kr),Fs.indexOf(Kr)>=0}var JA=new Nt.YI(sa.current,{maxSelectionCount:1,linkTemplate:wr(Nt.rU,{locationSpot:Nt.z6.Center,selectionAdornmentTemplate:wr(Nt.uz,"Link",{locationSpot:Nt.z6.Center},wr(Nt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),wr(Nt.bn,{toArrow:"Standard",stroke:null}))},{routing:Nt.rU.AvoidsNodes,curve:Nt.rU.JumpOver,corner:5,toShortLength:4},new Nt.KX("points"),wr(Nt.bn,{isPanelMain:!0,strokeWidth:2}),wr(Nt.bn,{toArrow:"Standard",stroke:null})),model:new Nt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Nt.bn.getFigureGenerators().toArray().map(Kr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Kr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return wn.current.addDiagramListener("TextEdited",function(Kr){var Pa;const lo=Kr.subject.part;var va=(Pa=document.activeElement)==null?void 0:Pa.value;typeof va=="string"&&va.trim()===""&&wn.current.model.commit(function(Uo){Uo.set(lo.data,"text","\u672A\u547D\u540D"),wn.current.commandHandler.stopCommand()},"increment")}),JA.nodeTemplate=wr(Nt.NB,"Auto",{locationSpot:Nt.z6.Center},new Nt.KX("location","location",Nt.E9.parse).makeTwoWay(Nt.E9.stringify),wr(Nt.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 Nt.KX("stroke").makeTwoWay(),new Nt.KX("fill").makeTwoWay(),new Nt.KX("figure")),wr(Nt.al,{margin:new Nt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Nt.$u(16,16),maxSize:new Nt.$u(10,NaN),textAlign:"center",editable:!0},new Nt.KX("key").makeTwoWay())),setTimeout(()=>{wn.current.grid=wr(Nt.s_,"Grid",wr(Nt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),wr(Nt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),wn.current.grid.visible=!0,wn.current.grid.gridCellStroke="darkgray",wn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=wn.current,wn.current}const ci=()=>ye(this,null,function*(){var wr=wn.current.makeImage();const Ua=yield(0,Re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:wr.src}});Mn({src:Ua.url})});return(0,pe.useEffect)(()=>(setTimeout(()=>{to()},500),Ca(Ia+1),()=>{wn.current=null}),[]),le.createElement("div",{ref:ga,className:Ir.current?`${me.maxH60} body-overflow-initial`:"body-overflow-initial"},le.createElement(Zt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ia,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:le.createElement(Cn.Z,null,le.createElement($t.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),le.createElement($t.Z,{onClick:()=>{var wr,Ua,oi=wn.current.selection.first();if(Ir.current=!Ir.current,document.activeElement&&oi){let Do=(Ua=(wr=document.activeElement)==null?void 0:wr.value)==null?void 0:Ua.trim();typeof Do=="string"&&wn.current.model.commit(function(Go){Go.set(oi.data,"text",Do||"\u672A\u547D\u540D"),wn.current.commandHandler.stopCommand()},"increment")}Ca(Ia+1)}},le.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:In},le.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:me.flowChartWrp},le.createElement("div",{style:{display:"flex",height:"100%"}},le.createElement("div",{style:{width:"300px",height:"100%"}},le.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),le.createElement("div",{style:{height:"calc(100% - 50px)"},className:me.myPaletteDiv,ref:sa})),le.createElement("div",{style:{flex:1,position:"relative"}},le.createElement("div",{ref:Or,style:{height:"80vh"}}))),le.createElement("div",{className:"tr"},le.createElement(Te.ZP,{size:"large",onClick:ci,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var pt=qe,Me=Be(5112),Je=Be(5871);const jt=Me.ZP.Group,wt={margin:"0 8px"};var lt=({callback:In,onCancel:Mn})=>{function wn(Or){In(Or)}return pe.createElement(Ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:wn},pe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},pe.createElement("span",{style:wt},"\u5355\u5143\u683C\u6570\uFF1A"),pe.createElement("span",{style:wt},"\u884C\u6570"),pe.createElement(Ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},pe.createElement(Je.Z,null)),pe.createElement("span",{style:wt},"\u5217\u6570"),pe.createElement(Ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},pe.createElement(Je.Z,null))),pe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},pe.createElement("span",{style:wt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),pe.createElement(Ye.default.Item,{name:"align"},pe.createElement(jt,null,pe.createElement(Me.ZP,{value:"default"},pe.createElement("i",{className:"fa fa-align-justify"})),pe.createElement(Me.ZP,{value:"left"},pe.createElement("i",{className:"fa fa-align-left"})),pe.createElement(Me.ZP,{value:"center"},pe.createElement("i",{className:"fa fa-align-center"})),pe.createElement(Me.ZP,{value:"right"},pe.createElement("i",{className:"fa fa-align-right"}))))),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Te.ZP,{type:"ghost",onClick:Mn},"\u53D6\u6D88")))},Vt=Be(78673),Bn=Be(43001),kt=Be.n(Bn),Qt=(0,pe.forwardRef)(({use3d:In,width:Mn,height:wn,callback:Or,showSaveButton:sa},Ir)=>{const ga=(0,pe.useRef)(),Ia=(0,pe.useRef)(),[Ca,to]=(0,pe.useState)(!1),ci=(0,pe.useRef)({id:ga,appName:"graphing",width:Mn||1e3,height:wn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,pe.useEffect)(()=>{Ia.current=new(kt())(ci.current,!0),window.onload=function(){Ia.current.inject("applet_container")}},[]);const wr=()=>{var Ua=window.ggbApplet.getPNGBase64(1,!0,72);return Or&&Or(Ua),Ua};return(0,pe.useEffect)(()=>{ci.current.appName=Ca?"3D":"graphing",Ia.current.inject("applet_container")},[Ca]),(0,pe.useEffect)(()=>{to(In)},[In]),(0,pe.useImperativeHandle)(Ir,()=>({getImgData:wr})),pe.createElement(pe.Fragment,null,pe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ga}),pe.createElement(Cn.Z,{align:"middle"},pe.createElement($t.Z,{flex:1},pe.createElement(Vt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ca,onChange:Ua=>to(Ua)})),pe.createElement($t.Z,null,pe.createElement(Te.ZP,{size:"large",onClick:wr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Pn=Be(76562),An=Be(1012),nr=Be(8591);const cr="link",Ar="upload-image",Nr="add-flowchart",Dr="draw-image",oa="add-flowchart",Aa="code-block",zr="add-table",Sr="------------",Qr={default:Sr,left:`:${Sr}`,center:`:${Sr}:`,right:`${Sr}:`};var Gr=Be(37808),ma=(In,Mn,wn)=>new Promise((Or,sa)=>{var Ir=Ca=>{try{Ia(wn.next(Ca))}catch(to){sa(to)}},ga=Ca=>{try{Ia(wn.throw(Ca))}catch(to){sa(to)}},Ia=Ca=>Ca.done?Or(Ca.value):Promise.resolve(Ca.value).then(Ir,ga);Ia((wn=wn.apply(In,Mn)).next())});function Ja(){}let Yr=0;const No=1e4,Mo="\u2581",na="@\u2581\u2581@",mn="@\u2581@",xi=` **\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`,gi=["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 ui(In){return/^\d+$/.test(In)?`${In}px`:In}const Io=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Xi={[Io+"-B"]:"bold",[Io+"-I"]:"italic"},pi={[cr]:"\u6DFB\u52A0\u94FE\u63A5",[Aa]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ar]:"\u6DFB\u52A0\u56FE\u7247",[Dr]:"\u6DFB\u52A0\u753B\u56FE",[Nr]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[zr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ai=({defaultValue:In="",onChange:Mn,width:wn="100%",height:Or=400,miniToolbar:sa=!1,isFocus:Ir=!1,watch:ga,insertTemp:Ia,mode:Ca="markdown",id:to="markdown-editor-id",showResizeBar:ci=!1,noStorage:wr=!1,showNullButton:Ua=!1,showNullProgramButton:oi=!1,hidetoolBar:Do=!1,fullScreen:Go=!1,onBlur:co,onCMBeforeChange:yi,onFullScreen:zi,className:Li="",disablePaste:dA=!1,disabled:Qi=!1,disabledFill:To=!1,placeholder:AA="",values:XA="",extraUse:Gi})=>{const[br,Gl]=(0,pe.useState)(null),[Fs,xs]=(0,pe.useState)(In),[JA,Kr]=(0,pe.useState)(ga),[Pa,lo]=(0,pe.useState)(Go),[va,Uo]=(0,pe.useState)(""),[Yo,wi]=(0,pe.useState)(0),[Fa,Ji]=(0,pe.useState)(Or),[Na,Ba]=(0,pe.useState)(!1),ml=(0,pe.useRef)((0,An.Z)()),ms=(0,pe.useRef)(!1),ps=(0,pe.useRef)(),[qA,jA]=(0,pe.useState)(0),[vs,$A]=(0,pe.useState)(0),_A=(0,pe.useRef)(),Ii=(0,pe.useRef)(),Xn=(0,pe.useRef)(),Gn=(0,pe.useRef)(),ir=()=>ma(void 0,null,function*(){var jr;const xr=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ml.current}});(jr=xr==null?void 0:xr.attachments)!=null&&jr.length&&(console.log("cm:",br,_A),xr.attachments.map(Mt=>{Mt.content_type.indexOf("image")>-1?br.replaceSelection(`![,](/api/attachments/${Mt.id}?type=${Mt.content_type})`):Mt.content_type.indexOf("video")>-1?br.replaceSelection(``):Mt.content_type.indexOf("pdf")>-1?br.replaceSelection(`${Mt.name}`):br.replaceSelection(`[${Mt.name}](${ENV.API_SERVER}/api/attachments/${Mt.id}?type=${Mt.content_type})`)}))});(0,pe.useEffect)(()=>{const jr=window.scrollY||window.pageYOffset;xs(XA),br==null||br.setValue(XA),window.scrollTo(0,jr)},[XA]),(0,pe.useEffect)(()=>{zi==null||zi(Pa)},[Pa]),(0,pe.useEffect)(()=>{if(_A.current){let jr=function(Mt,Ot){var Fn;if(dA){Ot.preventDefault();return}const lr=Ot.clipboardData;if(lr){const Vr=lr.types.toString(),Br=lr.items;if(Vr==="Files"||lr.types.indexOf("Files")>-1){if(Ot.preventDefault(),Ca=="stex")return;try{let Zr=Br[1];((Fn=Br[0])==null?void 0:Fn.kind)==="file"&&(Zr=Br[0]);const mr=Zr.getAsFile(),ea=mr.name.split(".").pop();(0,Et.I)(mr,da=>{var ao,Oo,ya;da.id?((ao=mr==null?void 0:mr.type)==null?void 0:ao.indexOf("image"))>-1?xr.replaceSelection(``):((Oo=mr==null?void 0:mr.type)==null?void 0:Oo.indexOf("video"))>-1?xr.replaceSelection(``):((ya=mr==null?void 0:mr.type)==null?void 0:ya.indexOf("pdf"))>-1?xr.replaceSelection(`${mr.name}`):gi.includes(ea)?xr.replaceSelection(`${mr.name}`):xr.replaceSelection(`[${mr.name}](/api/attachments/${da.id}?type=${da.content_type})`):(da==null?void 0:da.status)===401&&(nr.ZP.warning((da==null?void 0:da.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Zr){nr.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const xr=Ke().fromTextArea(_A.current,{mode:Ca,lineNumbers:!sa,lineWrapping:!0,value:In,autoCloseTags:!oi,autoCloseBrackets:!0});return xr.on("keyup",function(Mt,Ot){Ot.keyCode===8&&(Mt.getValue()==""?xr.setOption("placeholder",AA):xr.setOption("placeholder",null))}),xr.on("keydown",function(Mt,Ot){if(Ot.keyCode===8){var Fn=tn(Mt);Fn&&Ot.preventDefault()}}),Ir&&xr.focus(),xr.on("paste",jr),xr.on("dragleave",function(Mt,Ot){Ii.current.classList.remove("mouse-hover-md")}),Qi&&xr.on("beforeChange",function(Mt,Ot){(Ot.origin==="paste"||Ot.origin==="+input")&&Ot.cancel()}),Gl(xr),()=>{xr.off("paste",jr)}}},[]);const _r=(0,pe.useCallback)(()=>{if(Ii.current)try{}catch(jr){console.log(jr,"---- to set md editor body height")}},[Fa,Ii,Pa]);(0,pe.useEffect)(()=>{function jr(){let xr=new nt.Z(Mt=>{for(let Ot of Mt)(Ot.target.offsetHeight>0||Ot.target.offsetWidth>0)&&(_r(),br.setSize("100%","100%"),br.refresh())});return xr.observe(_A.current.parentElement),xr}if(br){const xr=jr();return()=>{var Mt,Ot;(Mt=_A.current)!=null&&Mt.parentElement&&xr.unobserve((Ot=_A.current)==null?void 0:Ot.parentElement)}}},[br,_r]),(0,pe.useEffect)(()=>{if(br){let jr=[];for(const[xr,Mt]of Object.entries(Xi)){let Ot={[xr]:()=>{io(Mt)}};jr.push(Ot),br.addKeyMap(Ot)}return ps.current=setInterval(()=>{ms.current&&ir()},4e3),()=>{clearInterval(ps.current);for(let xr of jr)br.removeKeyMap(xr)}}},[br]),(0,pe.useEffect)(()=>{Go!==Pa&&lo(Go)},[Go]),(0,Gr.Z)(()=>{if(!wr&&Yo>0){let jr=new Date().getTime(),xr=window.sessionStorage.getItem(to);jr>=Yo+No&&(!xr||xr!==Fs)&&(window.sessionStorage.setItem(to,Fs),Ba(!0))}},No),(0,pe.useEffect)(()=>{Kr(ga)},[br,ga]),(0,pe.useEffect)(()=>{br&&Ir&&br.focus()},[br,Ir]),(0,pe.useEffect)(()=>{if(JA&&br){let jr=function(Mt){let Ot=Mt.target;if(Gn.current){let Fn=Ot.scrollTop/Ot.scrollHeight;Gn.current.scrollTop=Gn.current.scrollHeight*Fn}};const xr=br.getScrollerElement();return xr.addEventListener("scroll",jr),()=>{xr.removeEventListener("scroll",jr)}}},[br,JA]),(0,pe.useEffect)(()=>{if(br&&yi){let jr=function(xr,Mt){yi(xr,Mt)};return br.on("beforeChange",jr),()=>{br.off("beforeChange",jr)}}},[br,yi]),(0,pe.useEffect)(()=>{if(br&&co){let jr=function(){co(br.getValue())};return br.on("blur",jr),()=>{br.off("blur",jr)}}},[br,co]);function tn(jr,xr){var Mt=jr.getDoc(),Ot=Mt.getCursor(),Fn=Mt.getLine(Ot.line),lr=Fn.charAt(Ot.ch-1),Vr=Fn.lastIndexOf("@\u2581@",Ot.ch),Br=Fn.lastIndexOf("@\u2581\u2581@",Ot.ch),Zr=Vr>Br?Vr:Br,mr=Vr>Br?3:4;if(na.indexOf(lr)===-1)return null;if(console.log("change1:",xr,jr,Fn,Ot,Zr,Vr,Br,lr),Zr>=0&&Ot.ch-Zr<5){var ea=Zr+mr;return Mt.replaceRange("",{line:Ot.line,ch:Zr},{line:Ot.line,ch:ea}),{line:Ot.line,ch:ea}}return null}(0,pe.useEffect)(()=>{if(br){let jr=function(xr,Mt){const Ot=xr.getValue();xs(Ot),wi(new Date().getTime()),xr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mn&&(oi?Mn(Ot,ro(Ot)):Mn(Ot))};return br.on("change",jr),()=>{br.off("change",jr)}}},[br,Mn]),(0,pe.useEffect)(()=>{if(br)if(In==null)br.setValue(""),xs("");else{const jr=window.scrollY||window.pageYOffset;In!==br.getValue()&&(br.setValue(In),xs(In),br.setCursor(Qi?1:br.lineCount(),0),window.scrollTo(0,jr))}},[br,In]);const io=(0,pe.useCallback)(jr=>{const xr=br.getCursor(),Mt=br.getSelection();let Ot=Mt.split(` `);switch(jr){case"bold":return br.replaceSelection("**"+Mt+"**"),Mt===""&&br.setCursor(xr.line,xr.ch+2),br.focus();case"italic":return br.replaceSelection("*"+Mt+"*"),Mt===""&&br.setCursor(xr.line,xr.ch+1),br.focus();case"code":return br.replaceSelection("`"+Mt+"`"),Mt===""&&br.setCursor(xr.line,xr.ch+1),br.focus();case"inline-latex":return Uo("inline-latex"),br.focus();case"latex":return br.replaceSelection("```latex\n"+Mt+"\n```"),br.setCursor(xr.line+1,Mt.length+1),br.focus();case"line-break":return br.replaceSelection(`
`),br.focus();case"list-ul":return Mt===""?br.replaceSelection("- "+Mt):br.replaceSelection(Ot.map(Fn=>Fn===""?"":`- ${Fn}`).join(` `)),br.focus();case"list-ol":return Mt===""?br.replaceSelection("1. "+Mt):br.replaceSelection(Ot.map((Fn,lr)=>Fn===""?"":`${lr+1}. ${Fn}`).join(` `)),br.focus();case"add-null-ch":return Mt===""&&br.setCursor(xr.line,xr.ch),br.replaceSelection(Mo),br.focus();case"add-signal":return Mt===""&&br.setCursor(xr.line,xr.ch),br.replaceSelection(mn),br.focus();case"add-multiple":return Mt===""&&br.setCursor(xr.line,xr.ch),br.replaceSelection(na),br.focus();case"inster-template-1":return Mt===""&&br.setCursor(xr.line,xr.ch),br.replaceSelection(xi),br.focus();case"eraser":return br.setValue(""),br.focus();case"trigger-watch":return Kr(!JA),br.focus();case"trigger-full-screen":return lo(!Pa),br.focus();case cr:Uo(cr);return;case Aa:Uo(Aa);return;case Ar:Uo(Ar);return;case Dr:Uo(Dr);return;case"maths-latex":Uo("maths-latex");return;case Nr:Uo(Nr);return;case zr:Uo(zr);return;default:throw new Error}},[br,JA,Pa]),kr=(0,pe.useCallback)((jr,xr)=>{var Mt,Ot,Fn,lr,Vr,Br;switch(Uo(""),va){case cr:const{title:ao,link:Oo}=jr;return br.replaceSelection(`[${ao}](${Oo})`),br.focus();case Aa:const{language:ya,content:uo}=jr;return br.replaceSelection(["```"+ya,uo,"```"].join(` `)),br.focus();case"maths-latex":for(var Zr=atob(jr),mr=new Uint8Array(Zr.length),ea=0;ea{Ni.id?br.replaceSelection(`![,](/api/attachments/${Ni.id}?type=${Ni.content_type})`):(Ni==null?void 0:Ni.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":br.replaceSelection("`$$"+jr+"$$`");break;case Ar:case Dr:case oa:const{src:Ta,alt:_a}=jr,ta=xr,ka=(Fn=(Ot=(Mt=ta==null?void 0:ta.name)==null?void 0:Mt.split("."))==null?void 0:Ot.pop)==null?void 0:Fn.call(Ot);return((lr=ta==null?void 0:ta.type)==null?void 0:lr.indexOf("image"))>-1||!(ta!=null&&ta.type)?ta.align||ta.width?br.replaceSelection(`

${_a||

`):br.replaceSelection(`${_a||`):((Vr=ta==null?void 0:ta.type)==null?void 0:Vr.indexOf("video"))>-1?br.replaceSelection(``):((Br=ta==null?void 0:ta.type)==null?void 0:Br.indexOf("pdf"))>-1?br.replaceSelection(`${ta.name}`):gi.includes(ka)?br.replaceSelection(`${ta.name}`):br.replaceSelection(`[${ta.name}](${Ta})`),br.focus();case zr:const{row:za,col:vo,align:_o}=jr;let Jo=` `;for(let Ni=0;Ni{switch(va){case cr:return pe.createElement(en,{callback:kr,onCancel:Da});case Aa:return pe.createElement(gn.Z,{callback:kr,onCancel:Da});case Ar:return pe.createElement(Et.Z,{callback:kr,onCancel:Da});case Nr:return pe.createElement(pt,{callback:kr,onCancel:Da});case zr:return pe.createElement(lt,{callback:kr,onCancel:Da});case"maths-latex":return pe.createElement(Qt,{showSaveButton:!0,callback:kr});case"inline-latex":return pe.createElement(Pn.Z,{showSaveButton:!0,callback:kr});default:return null}},[va]);function Da(){Uo("")}(0,pe.useEffect)(()=>{if(Xn.current){let jr=function(Vr){Fn=!0,lr=Vr.pageY},xr=function(){Fn=!1},Mt=function(Vr){if(Fn){let Br=Vr.pageY-lr;Br<0&&(Br=0),Br>300&&(Br=300);let Zr=Or+Br+"px";Ji(Zr)}},Ot=Xn.current,Fn=!1,lr=0;return Ot.addEventListener("mousedown",jr),document.addEventListener("mousemove",Mt),document.addEventListener("mouseup",xr),()=>{Ot.removeEventListener("mousedown",jr),document.removeEventListener("mousemove",Mt),document.removeEventListener("mouseup",xr)}}},[br,Xn]),(0,pe.useEffect)(()=>{Ji(Or)},[Or]);const Qo=ui(wn),Qa=ui(Fa),Sa={width:Qo,height:Qa},fo=(0,pe.useMemo)(()=>{if(Yo){let jr=new Date(Yo),xr=jr.getHours(),Mt=jr.getMinutes(),Ot=jr.getSeconds();return xr=xr<10?"0"+xr:xr,Mt=Mt<10?"0"+Mt:Mt,Ot=Ot<10?"0"+Ot:Ot,`${xr}:${Mt}:${Ot}`}return 0},[Yo]),ro=jr=>{const xr=[];if(oi){let Mt=-1;jr=jr.replace(/(@▁▁@|@▁@)/g,function(Ot,Fn,lr){xr.push({multiLine:Ot!==mn})})}return xr};function fi(){window.sessionStorage.removeItem(to),Ba(!1),wi(0)}function Ma(){Ba(!1),wi(0),br.setValue(window.sessionStorage.getItem(to))}(0,pe.useEffect)(()=>{pi[va]&&va!==Dr&&va!==Nr&&setTimeout(()=>{const jr=document.getElementsByClassName("markdown-popup-form")[0],xr=window.innerWidth/2-jr.offsetWidth/2,Mt=window.innerHeight/2-jr.offsetHeight/2;jA(xr),$A(Mt)},0)},[va]);const Xo=jr=>{jr.preventDefault();const xr=jr.clientX-qA,Mt=jr.clientY-vs;document.body.onmousemove=Ot=>{let Fn=Ot.clientX-xr,lr=Ot.clientY-Mt;const Vr=document.getElementsByClassName("markdown-popup-form")[0],Br=window.innerWidth-Vr.offsetWidth,Zr=window.innerHeight-Vr.offsetHeight;Fn=Math.max(0,Math.min(Fn,Br)),lr=Math.max(0,Math.min(lr,Zr)),Ci(Ot.clientX,Ot.clientY,xr,Mt)&&(jA(Fn),$A(lr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ci=(jr,xr,Mt,Ot)=>{const Fn=document.body.clientHeight,lr=document.body.clientWidth;return jr<20&&Mt>jr||jr>lr-20&&Mtxr||xr>Fn-20&&Otrt in Ye?Pe(Ye,rt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ye[rt]=Te,x=(Ye,rt)=>{for(var Te in rt||(rt={}))a.call(rt,Te)&&b(Ye,Te,rt[Te]);if(y)for(var Te of y(rt))E.call(rt,Te)&&b(Ye,Te,rt[Te]);return Ye},z=(Ye,rt)=>be(Ye,oe(rt));const{useForm:ne}=pe.default,ce={width:280,marginRight:10},Fe={labelCol:{span:5},wrapperCol:{span:19}};var Ee=({callback:Ye,onCancel:rt})=>{const[Te]=ne();let Pt=(0,Ie.useRef)();function Oe(At){Pt.current.width=Te.getFieldValue("width"),Pt.current.align=Te.getFieldValue("align"),Ye(At,Pt.current)}function Tt(At,It){if(At.status===-1){we.ZP.error(At.message);return}Te.setFieldsValue({src:`/api/attachments/${At.id}`,type:It.type})}function st(At){let It=At.target.files[0];Pt.current=It,We(It,Tt)}return Ue.createElement(pe.default,z(x({form:Te},Fe),{className:"upload-image-panel",onFinish:Oe,style:{width:470,overflow:"hidden"}}),Ue.createElement(pe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ue.createElement("div",{className:"flex-container"},Ue.createElement(pe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ue.createElement(Ke.default,{style:ce})),Ue.createElement(Qe,{onFileChange:st}))),Ue.createElement(pe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ue.createElement(Ke.default,{style:{width:264}})),Ue.createElement(pe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ue.createElement(nt.Z,null,Ue.createElement(pe.default.Item,{name:"width",style:{margin:0}},Ue.createElement(Ze.Z,{style:{width:264}})),Ue.createElement("span",{className:"ml8"},"%"))),Ue.createElement(pe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ue.createElement(je.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"}]})),Ue.createElement("aside",null,Ue.createElement(pe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ue.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ue.createElement(he.ZP,{type:"default",onClick:rt},"\u53D6\u6D88"))))};function Qe({onFileChange:Ye}){return Ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ue.createElement("input",{type:"file",onChange:Ye}))}function We(Ye,rt){if(!Ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,se.bg)())throw we.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Te=new FormData;Te.append("editormd-image-file",Ye),Te.append("file_param_name","editormd-image-file"),Te.append("byxhr","true");var Pt=new window.XMLHttpRequest;Pt.withCredentials=!0,Pt.addEventListener("load",function(Oe){rt(JSON.parse(Oe.target.responseText),Ye)},!1),Pt.addEventListener("error",function(Oe){console.error(Oe)},!1),Pt.open("POST",`${ve.KI}/api/attachments.json`),Pt.send(Te)}},91558:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return Ke}});var pe=Be(59301),we=Be(4676);class Ke extends pe.Component{constructor(Ze){super(Ze);const je=window.document;this.node=je.createElement("div"),je.body.appendChild(this.node)}render(){const{children:Ze}=this.props;return(0,we.createPortal)(Ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},10661:function(an,Kt,Be){"use strict";Be.d(Kt,{i:function(){return ce},Z:function(){return Ee}});var pe={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},we=Be(71418),Ke=Be(6848),nt=Be(92310),Ze=Be.n(nt),je=Be(51257),he=Be(28426),ve=Be(48790),Ie=Be(79005),se=Be(20345),Ue=Be(77882),Pe=Be(31081),be=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 ce=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ie,swimg:se},{name:"101\u8BA1\u5212",ptimg:Ue,swimg:Pe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:be,swimg:oe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:z}];var Ee=({className:Qe,dataSource:We=[],col:Ye=4,right:rt,bottom:Te=23,precision:Pt=0,wrapWidth:Oe=1200,trackEventItems:Tt,loading:st,onRemove:At=()=>{},isCurrent:It=!0,showAlias:gt=!1})=>{const Ft=Math.floor((Oe-(Ye-1)*rt)/Ye),ht=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(tt=>(window.ENV==="build"&&(tt.ptimg=`/react/build${tt.ptimg}`,tt.swimg=`/react/build${tt.swimg}`),tt));return ne.createElement(we.Z,{spinning:st},ne.createElement("div",{className:Ze()(pe.list,Qe)},!!(We!=null&&We.length)&&(We==null?void 0:We.map((tt,en)=>{var gn;const{name:Et,id:Zt,identifier:Cn,featured:jn,school_name:hn,image_url:Kn,excellent:Nt,is_plan:zn}=tt;return ne.createElement("div",{key:Zt,className:pe.wrap,style:{width:Ft,marginRight:(1+en)%Ye===0?0:rt+Pt,marginBottom:Te}},ne.createElement("a",{className:pe.li,onClick:$n=>{$n.preventDefault(),$n.stopPropagation(),Tt&&(0,je.L9)([Tt]),(0,je.xg)(`/paths/${Cn}`)}},ne.createElement("div",{className:pe.img},ne.createElement("img",{className:pe.cover,src:`${Kn}`}),It&&(0,ve.bg)()&&(tt==null?void 0:tt.studying)&&ne.createElement("div",{className:`${pe.movebq} user-path-items`,onClick:$n=>{$n.stopPropagation(),At(tt)}},ne.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ne.createElement("span",{className:"c-red"},"\u79FB\u9664")),(gn=tt==null?void 0:tt.subject_tags)==null?void 0:gn.map(($n,He)=>{var $t,Re;if(He===0){const le=($t=ht.find(ye=>ye.name==$n))==null?void 0:$t.swimg;return ne.createElement("img",{className:pe.sign,src:le,style:{left:"-4px"}})}const me=(Re=ht.find(le=>le.name==$n))==null?void 0:Re.ptimg;return ne.createElement("img",{className:pe.sign,src:me,style:{left:`${48+52*(He-1)+2*He}px`}})}),ne.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(tt==null?void 0:tt.excellent)&&ne.createElement("div",{className:pe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:pe.name},ne.createElement(Ke.Z,{title:gt&&(tt!=null&&tt.excellent_alias_name)?ne.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Et}`,ne.createElement("br",null),ne.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${tt==null?void 0:tt.excellent_alias_name}`)):Et},ne.createElement("span",{className:pe.e},gt&&(tt==null?void 0:tt.excellent_alias_name)||Et))),ne.createElement("div",{className:pe.tags},ne.createElement("div",null,ne.createElement(Ke.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ne.createElement("span",null,tt.stages_count))),ne.createElement(Ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ne.createElement("span",null,tt.members_count)))))))})),!We.length&&ne.createElement(he.Z,null)))}},12588:function(an,Kt,Be){"use strict";Be.d(Kt,{jL:function(){return Ze},w9:function(){return dn},dN:function(){return nr},QD:function(){return Ca},cQ:function(){return hn.Z},Oz:function(){return wt},op:function(){return wn},O5:function(){return Fs},_b:function(){return Do},t7:function(){return Ye},Gi:function(){return Qr},YG:function(){return Dr},kT:function(){return zr},qp:function(){return E},K3:function(){return z},vr:function(){return wr},qE:function(){return Ir},Je:function(){return Pt},wb:function(){return Et},lB:function(){return jn},cq:function(){return Mo},tp:function(){return Fe},Si:function(){return Kr},k8:function(){return Ii},Du:function(){return Ji}});var pe=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"},Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ze=({dataSource:Xn=[],img:Gn,imgWidth:ir=346,title:_r,sunTitle:tn,bannerExtraContent:io})=>pe.createElement("div",{className:we.banner},pe.createElement("div",{className:we.content},pe.createElement("aside",null,pe.createElement("p",null,pe.createElement("b",null,_r),pe.createElement("span",null,tn)),Xn.length>0&&pe.createElement("div",{className:we.btns},Xn.map((kr,no)=>pe.createElement("div",{key:no,onClick:kr.click},kr.name,kr.sign?pe.createElement("img",{src:Ke,width:39}):null))),io),Gn&&pe.createElement("img",{style:{marginTop:33,marginRight:38},src:Gn,width:ir}))),je={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},he=Be(92310),ve=Be.n(he),Ie=Be(89392),se=Object.defineProperty,Ue=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,oe=(Xn,Gn,ir)=>Gn in Xn?se(Xn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Xn[Gn]=ir,y=(Xn,Gn)=>{for(var ir in Gn||(Gn={}))Pe.call(Gn,ir)&&oe(Xn,ir,Gn[ir]);if(Ue)for(var ir of Ue(Gn))be.call(Gn,ir)&&oe(Xn,ir,Gn[ir]);return Xn},E=({dataSource:Xn=[],value:Gn,onChange:ir,onTitleChange:_r,className:tn,title:io,titleWidth:kr=41,style:no={},fontColor:Da="#6A7283",showCount:Qo,classNameActive:Qa,styleItem:Sa={}})=>{const[fo,ro]=(0,pe.useState)(0),[fi,Ma]=(0,pe.useState)(!1),Xo=(0,pe.useRef)(null),Ci=(0,pe.useRef)(null);return(0,pe.useEffect)(()=>{var jr;Xn.length!==0&&(((jr=Xo==null?void 0:Xo.current)==null?void 0:jr.clientHeight)>97?ro(1):ro(0)),Xn.length===0&&ro(0),Ma(!1)},[Xn]),pe.createElement("div",{className:ve()(je.row,tn),style:no},pe.createElement("div",{onClick:(0,Ie.throttle)(()=>_r==null?void 0:_r(),2e3),style:{width:kr,marginTop:fi?12:4},className:`${je.title} ${_r?"current":""}`},io),pe.createElement("div",{className:fi?`${je.tagsWrap} ${je.tagsBorderWrap}`:je.tagsWrap},pe.createElement("div",{className:je.bar,ref:Ci,style:fo>0?{height:fo===1?97:"auto",overflow:fo===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},pe.createElement("div",{className:je.tag,ref:Xo},Xn==null?void 0:Xn.map(jr=>pe.createElement("span",{onClick:()=>ir(jr.id),key:jr.id,style:y(y({color:Da},Sa),(jr==null?void 0:jr.style)||{}),className:Gn===jr.id?ve()(Qa||je.active,jr.classNameActive):""},pe.createElement("span",{title:jr.name,className:je.name},jr.name),!!Qo&&pe.createElement("span",{className:je.num},jr.count))))),!!fo&&pe.createElement(pe.Fragment,null,fo===1?pe.createElement("div",{onClick:()=>{var jr;ro(2),((jr=Xo==null?void 0:Xo.current)==null?void 0:jr.clientHeight)>245?Ma(!0):Ma(!1)},className:je.action},"\u5C55\u5F00",pe.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):pe.createElement("div",{onClick:()=>{Ci.current.scrollTop=0,ro(1),Ma(!1)},className:je.action},"\u6536\u8D77",pe.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},z=({dataSource:Xn=[],value:Gn,onChange:ir,onTitleChange:_r,className:tn,title:io,titleWidth:kr=41,style:no={},fontColor:Da="#6A7283",showCount:Qo,expand:Qa=!0})=>{const[Sa,fo]=(0,pe.useState)(0),[ro,fi]=(0,pe.useState)(!1),Ma=(0,pe.useRef)(null),Xo=(0,pe.useRef)(null),[Ci,jr]=(0,pe.useState)(Qa);return pe.createElement("div",{className:ve()(b.row,tn),style:no},pe.createElement("div",{className:"flex item-center justify-between"},pe.createElement("div",{onClick:(0,Ie.throttle)(()=>_r==null?void 0:_r(),2e3),style:{width:kr,marginTop:ro?12:4},className:`${b.title} ${_r?"current":""}`},io),pe.createElement("i",{className:`iconfont ${Ci?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Ci?8:10},onClick:()=>jr(!Ci)})),Ci&&pe.createElement("div",{className:ro?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},pe.createElement("div",{className:b.fenge}),pe.createElement("div",{className:b.bar,ref:Xo},pe.createElement("div",{className:b.tag,ref:Ma},Xn==null?void 0:Xn.map(xr=>pe.createElement("span",{onClick:()=>ir(xr.id),key:xr.id,style:{color:Da},className:Gn===xr.id?b.active:""},pe.createElement("span",{title:xr.name,className:b.name},xr.name),!!Qo&&pe.createElement("span",{className:b.num},xr.count)))))))},ne={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Fe=({dataSource:Xn=[],value:Gn,onChange:ir,className:_r,style:tn={}})=>pe.createElement("div",{style:tn,className:ve()(ne.tabs,_r)},Xn.map(io=>pe.createElement("span",{onClick:()=>ir(io.id),className:Gn===io.id?ne.active:"",key:io.id},io.name))),Ee={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"},Qe=Be(92832),Ye=({dataSource:Xn=[],value:Gn="",onChange:ir,onInputChange:_r=()=>{},className:tn,style:io={},placeholder:kr,allowClear:no=!1})=>{var Da;const[Qo,Qa]=(0,pe.useState)(""),[Sa,fo]=(0,pe.useState)("");(0,pe.useEffect)(()=>{var Ma;let Xo=Gn;(Ma=JSON.stringify(Gn))!=null&&Ma.includes("{")&&(Qa(Gn.id),Xo=Gn.value||"");try{fo(decodeURIComponent(Xo||""))}catch(Ci){fo(decodeURIComponent(Xo||""))}},[Gn]);const ro=()=>{ir(encodeURIComponent(Sa),Qo||null)},fi=Ma=>{Ma!==Qo&&(Qa(Ma),ir(encodeURIComponent(Sa),Ma))};return pe.createElement("div",{className:ve()(Ee.input,tn),style:io},!!Xn.length&&pe.createElement("div",{className:Ee.dropdown},pe.createElement("div",{className:Ee.text},(Da=Xn.find(Ma=>Ma.id===Qo))==null?void 0:Da.name,pe.createElement("i",{className:"iconfont icon-zhankai4"}),pe.createElement("b",{className:Ee.b1}),pe.createElement("b",{className:Ee.b2})),pe.createElement("div",{className:Ee.menu},Xn.map((Ma,Xo)=>pe.createElement("div",{key:Xo,onClick:()=>fi(Ma.id)},Ma.name)))),pe.createElement(Qe.default,{onPressEnter:ro,value:Sa,onChange:Ma=>{fo(Ma.target.value),_r(encodeURIComponent(Ma.target.value),Qo||null)},bordered:!1,placeholder:kr}),pe.createElement("i",{onClick:ro,className:"iconfont icon-sousuo9 font14 pl10 current"}))},rt={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"},Pt=({value:Xn,onChange:Gn,className:ir,total:_r,pageSize:tn,style:io={}})=>{const kr=Xn<2,no=Xn>=Math.ceil(_r/tn);return _r<=tn?pe.createElement(pe.Fragment,null):pe.createElement("div",{className:ve()(rt.quickPager,ir),style:io},pe.createElement("div",{onClick:()=>{kr||Gn(Xn-1,"prev")},className:kr?rt.disabled:""},"\u4E0A\u4E00\u9875"),pe.createElement("div",{onClick:()=>{no||Gn(Xn+1,"next")},className:no?rt.disabled:""},"\u4E0B\u4E00\u9875"))},Oe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Tt=Be(71418),st=Be(6848),At=Be(13570),It=Be(346),gt=Be(51257),Ft=Be(96908),ht=Be(57177),tt=Be(81378),en=Be(28426),Et=({className:Xn,dataSource:Gn=[],col:ir=4,right:_r,bottom:tn=23,precision:io=0,wrapWidth:kr=1200,trackEventItems:no,loading:Da})=>{const Qo=Math.floor((kr-(ir-1)*_r)/ir);return pe.createElement(Tt.Z,{spinning:Da},pe.createElement("div",{className:ve()(Oe.list,Xn)},!!Gn.length&&Gn.map((Qa,Sa)=>{const{name:fo,id:ro,identifier:fi,power:Ma,cover_image_id:Xo,pic:Ci}=Qa;return pe.createElement("div",{className:Oe.wrap,key:ro,style:{width:Qo,marginRight:(1+Sa)%ir===0?0:_r+io,marginBottom:tn}},pe.createElement("a",{target:"_blank",href:`/shixuns/${fi}/challenges`,className:Oe.li,onClick:jr=>{jr.preventDefault(),no&&(0,gt.L9)([no]),Ma&&(0,gt.xg)(`/shixuns/${fi}/challenges`)}},pe.createElement("div",{className:Oe.img},pe.createElement("img",{className:Oe.cover,src:`${Ci}`}),Qa.is_jupyter&&pe.createElement("img",{className:Oe.sign,src:Ft}),Qa.is_jupyter_lab&&pe.createElement("img",{className:Oe.sign,src:ht}),Qa.is_unity_3d&&pe.createElement("img",{className:Oe.sign,src:tt})),pe.createElement("div",{className:Oe.name},pe.createElement(st.Z,{title:fo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},pe.createElement("span",{className:Oe.e},fo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),pe.createElement("div",{className:Oe.tags},pe.createElement(st.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),pe.createElement("span",null,Qa.challenges_count))),!!Qa.myshixuns_count&&pe.createElement(st.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),pe.createElement("span",null,Qa.myshixuns_count))),pe.createElement(st.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},pe.createElement("span",null,pe.createElement("span",null,Qa.level))),pe.createElement("div",{className:Oe.rate},pe.createElement(At.Z,{allowHalf:!0,disabled:!0,defaultValue:Qa.score_info}),pe.createElement("span",null,"\xA0",Qa.score_info?`${Qa.score_info}\u5206`:"5\u5206")))),!Ma&&pe.createElement("div",{className:Oe.lockWrap},pe.createElement("img",{src:`${It.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Gn.length&&pe.createElement(en.Z,null)))},Zt={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"},jn=({className:Xn,dataSource:Gn=[],col:ir=4,right:_r,bottom:tn=23,precision:io=0,wrapWidth:kr=1200,wrapClassName:no,trackEventItems:Da,loading:Qo})=>{const Qa=Math.floor((kr-(ir-1)*_r)/ir);return pe.createElement(Tt.Z,{spinning:Qo},pe.createElement("div",{className:ve()(Zt.list,Xn)},!!Gn.length&&Gn.map((Sa,fo)=>{const{name:ro,id:fi,identifier:Ma,power:Xo,cover_image_id:Ci,pic:jr}=Sa;return pe.createElement("div",{className:ve()(Zt.wrap,no),key:fi,style:{width:Qa,marginRight:(1+fo)%ir===0?0:_r+io,marginBottom:tn}},pe.createElement("a",{target:"_blank",href:`/shixuns/${Ma}/challenges`,className:Zt.li,onClick:xr=>{xr.preventDefault(),Da&&(0,gt.L9)([Da]),Xo&&(0,gt.xg)(`/shixuns/${Ma}/challenges`)}},pe.createElement("img",{src:Be(47621),className:Zt.titleBg}),pe.createElement("div",{className:Zt.name},pe.createElement(st.Z,{title:ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},pe.createElement("span",{className:Zt.e},ro||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),pe.createElement("div",{style:{padding:"14px",paddingBottom:0}},pe.createElement("div",{className:Zt.img},pe.createElement("img",{className:Zt.cover,src:Ci?`${It.Z.API_SERVER}/api/attachments/${Ci}`:`${It.Z.IMG_SERVER+jr}`}),Sa.is_jupyter&&pe.createElement("div",{className:Zt.bq},"Jupyter"),Sa.is_jupyter_lab&&pe.createElement("div",{className:Zt.bq},"JupyterLab"),Sa.is_unity_3d&&pe.createElement("div",{className:Zt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),pe.createElement("div",{className:"mt20 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Zt.text},"\u5B66\u4E60\u4EBA\u6570"),pe.createElement("span",{className:Zt.value},Sa.myshixuns_count)),pe.createElement("div",null,pe.createElement("span",{className:Zt.text},"\u56F0\u96BE\u7B49\u7EA7"),pe.createElement("span",{className:Zt.value},Sa.level))),pe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Zt.text},"\u5173\u5361\u6570"),pe.createElement("span",{className:Zt.value},Sa.challenges_count)),pe.createElement("div",{className:Zt.rate},pe.createElement(At.Z,{allowHalf:!0,disabled:!0,defaultValue:Sa.score_info}),pe.createElement("span",{className:Zt.value,style:{color:"#FF9C00"}},"\xA0",Sa.score_info?`${Sa.score_info}\u5206`:"5\u5206"))))),!Xo&&pe.createElement("div",{className:Zt.lockWrap},pe.createElement("img",{src:`${It.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Gn.length&&pe.createElement(en.Z,null)))},hn=Be(10661),Kn={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"},Nt=Be(79005),zn=Be(20345),$n=Be(77882),He=Be(31081),$t=Be(75309),Re=Be(71979),me=Be(47558),le=Be(42922),ye=Be(66832),qe=Be(96593),pt=Be(19664),Me=Be(91833);const Je=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Nt,swimg:zn},{name:"101\u8BA1\u5212",ptimg:$n,swimg:He},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:$t,swimg:Re},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:me,swimg:le},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ye,swimg:qe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:Me}];var wt=({className:Xn,dataSource:Gn=[],col:ir=4,right:_r,bottom:tn=23,precision:io=0,wrapWidth:kr=1200,trackEventItems:no,loading:Da,wrapClassName:Qo,imgClassName:Qa,isArrow:Sa=!1})=>{const fo=Math.floor((kr-(ir-1)*_r)/ir),[ro,fi]=(0,pe.useState)(),[Ma,Xo]=(0,pe.useState)(),Ci=xr=>fi(xr),jr=()=>fi(-1);return pe.createElement(Tt.Z,{spinning:Da},pe.createElement("div",{className:ve()(Kn.list,Xn)},!!(Gn!=null&&Gn.length)&&(Gn==null?void 0:Gn.map((xr,Mt)=>{var Ot;const{name:Fn,id:lr,identifier:Vr,featured:Br,school_name:Zr,image_url:mr,excellent:ea,is_plan:da}=xr;return pe.createElement("div",{key:lr,className:ve()(Kn.wrap,Qo),style:{width:fo,marginRight:(1+Mt)%ir===0?0:_r+io,marginBottom:tn}},pe.createElement("a",{target:"_blank",href:`/paths/${Vr}`,className:Kn.li,onClick:ao=>{ao.preventDefault(),no&&(0,gt.L9)([no]),(0,gt.xg)(`/paths/${Vr}`)}},pe.createElement("img",{src:Be(39057),className:Kn.titleBg}),pe.createElement("div",{className:Kn.name},pe.createElement(st.Z,{title:Fn},pe.createElement("span",{className:Kn.e,style:{color:Sa&&ro===Mt?"#145DFF":"#000000"},onMouseEnter:()=>{Ci(Mt)},onMouseLeave:jr},Fn))),pe.createElement("div",{style:{padding:"14px",paddingBottom:0}},pe.createElement("div",{className:ve()(Kn.img,Qa)},pe.createElement("img",{className:Kn.cover,src:`${It.Z.IMG_SERVER+mr}`}),(Ot=xr==null?void 0:xr.subject_tags)==null?void 0:Ot.map((ao,Oo)=>{var ya,uo;if(Oo===0){const _a=(ya=Je.find(ta=>ta.name==ao))==null?void 0:ya.swimg;return pe.createElement("img",{className:Kn.sign,src:_a,style:{left:"-4px"}})}const Ta=(uo=Je.find(_a=>_a.name==ao))==null?void 0:uo.ptimg;return pe.createElement("img",{className:Kn.sign,src:Ta,style:{left:`${48+52*(Oo-1)+2*Oo}px`}})}),pe.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(xr==null?void 0:xr.excellent)&&pe.createElement("div",{className:Kn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),pe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Kn.text},"\u7AE0\u8282\u6570"),pe.createElement("span",{className:Kn.value},xr.stages_count)),pe.createElement("div",null,pe.createElement("span",{className:Kn.text},"\u5B66\u4E60\u4EBA\u6570"),pe.createElement("span",{className:Kn.value},xr.members_count))))))})),!Gn.length&&pe.createElement(en.Z,null)))},lt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Bn=Be(59301),dn=({className:Xn,dataSource:Gn=[],col:ir=4,right:_r,bottom:tn=23,precision:io=0,wrapWidth:kr=1200,trackEventItems:no,loading:Da})=>{const Qo=Math.floor((kr-(ir-1)*_r)/ir);return Bn.createElement(Tt.Z,{spinning:Da},Bn.createElement("div",{className:ve()(lt.list,Xn)},!!Gn.length&&Gn.map((Qa,Sa)=>{const{subject_identifier:fo,id:ro,identifier:fi,power:Ma}=Qa,Xo=Qa.is_public!=0&&Qa.is_public;return Bn.createElement("div",{className:lt.wrap,key:ro,style:{width:Qo,marginRight:(1+Sa)%ir===0?0:_r+io,marginBottom:tn}},Bn.createElement("a",{className:lt.li,onClick:Ci=>{Ci.preventDefault(),no&&(0,gt.L9)([no]),(0,gt.xg)(Qa.first_category_url)}},Bn.createElement("div",{className:lt.top},Bn.createElement(st.Z,{title:Qa.name},Bn.createElement("div",{className:lt.name},Qa.name)),Bn.createElement("img",{className:lt.img,src:It.Z.IMG_SERVER+"/images/"+Qa.avatar_url}),Bn.createElement("div",{className:lt.text,title:Qa.creator},Qa.creator),fo&&Bn.createElement("div",{className:lt.btns},Bn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Bn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Xo&&Bn.createElement("div",{className:lt.sign},"\u516C\u5F00")),Bn.createElement("div",{className:lt.bottom},Qa.visits>0&&Bn.createElement(st.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Bn.createElement("span",null,Bn.createElement("i",{className:"iconfont icon-liulanyan"}),Bn.createElement("span",null,Qa.visits))),Qa.course_members_count>0&&Bn.createElement(st.Z,{title:"\u6210\u5458",placement:"bottom"},Bn.createElement("span",null,Bn.createElement("i",{className:"iconfont icon-chengyuan"}),Qa.course_members_count)),Qa.tasks_count>0&&Bn.createElement(st.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Bn.createElement("span",null,Bn.createElement("i",{className:"iconfont icon-zuoye"}),Qa.tasks_count)),Qa.is_end?Bn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Bn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Qa.is_accessible&&Bn.createElement("div",{className:lt.lockWrap},Bn.createElement("img",{src:`${It.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Bn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Gn.length&&Bn.createElement(en.Z,null)))},Qt={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"},Pn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",nr=({className:Xn,dataSource:Gn=[],col:ir=4,right:_r,bottom:tn=23,precision:io=0,wrapWidth:kr=1200,wrapClassName:no,trackEventItems:Da,loading:Qo})=>{const Qa=Math.floor((kr-(ir-1)*_r)/ir);return pe.createElement(Tt.Z,{spinning:Qo},pe.createElement("div",{className:ve()(Qt.list,Xn)},!!Gn.length&&Gn.map((Sa,fo)=>{const{subject_identifier:ro,id:fi,identifier:Ma,power:Xo}=Sa,Ci=Sa.is_public!=0&&Sa.is_public;return pe.createElement("div",{className:ve()(`${Qt.wrap} ${Sa.is_accessible?"":Qt.warpStyle}`,no),key:fi,style:{width:Qa,marginRight:(1+fo)%ir===0?0:_r+io,marginBottom:tn}},pe.createElement("a",{className:Qt.li,onClick:jr=>{jr.preventDefault(),Da&&(0,gt.L9)([Da]),(0,gt.xg)(Sa.first_category_url)}},pe.createElement("div",{className:Qt.creator},pe.createElement("img",{className:Qt.img,src:It.Z.IMG_SERVER+"/images/"+Sa.avatar_url}),pe.createElement("div",{className:Qt.text,title:Sa.creator},Sa.creator)),pe.createElement("div",{className:Qt.top},pe.createElement(st.Z,{title:Sa.name},pe.createElement("div",{className:Qt.name},Sa.name)),Ci&&pe.createElement("div",{className:Qt.sign},"\u516C\u5F00")),pe.createElement("div",{className:Qt.middle},pe.createElement("div",{className:Qt.row,style:{marginBottom:6}},pe.createElement("div",null,pe.createElement("span",{className:Qt.text},"\u8BBF\u95EE\u91CF"),pe.createElement("span",{className:Qt.value},(Sa==null?void 0:Sa.visits)||0)),pe.createElement("div",null,pe.createElement("span",{className:Qt.text},"\u6210\u5458"),pe.createElement("span",{className:Qt.value},(Sa==null?void 0:Sa.course_members_count)||0))),pe.createElement("div",{className:Qt.row},pe.createElement("div",null,pe.createElement("span",{className:Qt.text,style:{width:42}},"\u4F5C",pe.createElement("span",{style:{marginLeft:14}},"\u4E1A")),pe.createElement("span",{className:Qt.value},(Sa==null?void 0:Sa.tasks_count)||0)),pe.createElement("div",null,pe.createElement("span",{className:Qt.text},"\u72B6\u6001"),Sa.is_end?pe.createElement("span",{className:Qt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):pe.createElement("span",{className:Qt.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ro&&pe.createElement("div",{className:Qt.btns},pe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),pe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Sa.is_accessible&&pe.createElement("div",{className:Qt.lockWrap},pe.createElement("img",{src:`${It.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Gn.length&&pe.createElement(en.Z,null)))},cr={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"},Ar=Be(25690),Dr=({dataSource:Xn=[],value:Gn,onChange:ir,className:_r,style:tn={},tabBarExtraContent:io})=>pe.createElement("div",{className:ve()(cr.tabs,_r),style:tn},pe.createElement("div",{className:cr.tabsWrap},Xn.map((kr,no)=>pe.createElement("aside",{className:cr.tab,onClick:()=>{ir(kr.id),kr.link&&Ar.history.push(kr.link)},key:no},pe.createElement("div",{className:Gn===kr.id?cr.active:""},kr.name),(kr==null?void 0:kr.resetCount)==null&&(kr==null?void 0:kr.total)!==void 0&&pe.createElement("span",null,"\uFF08",kr==null?void 0:kr.total,"\uFF09"),(kr==null?void 0:kr.resetCount)!==void 0&&(kr==null?void 0:kr.total)!==void 0&&pe.createElement(st.Z,{title:(kr==null?void 0:kr.tip)!=null?kr==null?void 0:kr.tip:""},pe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",pe.createElement("span",{style:{color:"#000"}},kr==null?void 0:kr.resetCount),"/",pe.createElement("span",null,kr==null?void 0:kr.total),"\uFF09"))))),pe.createElement("div",{className:cr.tabBar},io)),oa={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"},zr=({dataSource:Xn=[],value:Gn,onChange:ir,className:_r,style:tn={},tabBarExtraContent:io})=>pe.createElement("div",{className:ve()(oa.tabs,_r),style:tn},pe.createElement("div",{className:oa.tabsWrap},Xn.map((kr,no)=>pe.createElement("aside",{className:oa.tab,onClick:()=>{ir(kr.id),kr.link&&Ar.history.push(kr.link)},key:no},pe.createElement("div",{className:Gn===kr.id?oa.active:""},kr.name),(kr==null?void 0:kr.resetCount)==null&&(kr==null?void 0:kr.total)!==void 0&&pe.createElement("span",null,"\uFF08",kr==null?void 0:kr.total,"\uFF09"),(kr==null?void 0:kr.resetCount)!==void 0&&(kr==null?void 0:kr.total)!==void 0&&pe.createElement(st.Z,{title:(kr==null?void 0:kr.tip)!=null?kr==null?void 0:kr.tip:""},pe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",pe.createElement("span",{style:{color:"#000"}},kr==null?void 0:kr.resetCount),"/",pe.createElement("span",null,kr==null?void 0:kr.total),"\uFF09"))))),pe.createElement("div",{className:oa.tabBar},io)),Qr=({className:Xn,style:Gn={},children:ir})=>pe.createElement("div",{className:ve()(Xn),style:Gn},ir),Gr={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"},ma=Be(38854),Ja=Be(20834);const Yr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Mo=({sortValue:Xn,dropValue:Gn,className:ir,onSort:_r,onDrop:tn,dataSource:io=Yr})=>{var kr;return pe.createElement("div",{className:ve()(Gr.orderWrap,ir)},pe.createElement(ma.Z,{dropdownRender:()=>pe.createElement(Ja.default,null,io.map((no,Da)=>pe.createElement(Ja.default.Item,{key:Da,onClick:()=>tn(no.id)},no.name)))},pe.createElement("span",{className:Gr.orderTextWrap},(kr=io.find(no=>Gn===no.id))==null?void 0:kr.name)),pe.createElement("span",{className:Gr.orderIconWrap},pe.createElement("span",{className:Gr.orderAsc},pe.createElement("i",{className:Xn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Gr.cursorPointer} ${Gr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Gr.cursorPointer}`,onClick:()=>_r(Xn==="asc"?"desc":"asc")})),pe.createElement("span",{className:Gr.orderDesc},pe.createElement("i",{className:Xn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Gr.cursorPointer} ${Gr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Gr.cursorPointer}`,onClick:()=>_r(Xn==="asc"?"desc":"asc")}))))},na={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},mn=Be(3113),xi=Be(32162),gi=Object.defineProperty,ui=Object.getOwnPropertySymbols,Ui=Object.prototype.hasOwnProperty,Io=Object.prototype.propertyIsEnumerable,Xi=(Xn,Gn,ir)=>Gn in Xn?gi(Xn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Xn[Gn]=ir,pi=(Xn,Gn)=>{for(var ir in Gn||(Gn={}))Ui.call(Gn,ir)&&Xi(Xn,ir,Gn[ir]);if(ui)for(var ir of ui(Gn))Io.call(Gn,ir)&&Xi(Xn,ir,Gn[ir]);return Xn},ai=(Xn,Gn)=>{var ir={};for(var _r in Xn)Ui.call(Xn,_r)&&Gn.indexOf(_r)<0&&(ir[_r]=Xn[_r]);if(Xn!=null&&ui)for(var _r of ui(Xn))Gn.indexOf(_r)<0&&Io.call(Xn,_r)&&(ir[_r]=Xn[_r]);return ir},In=(Xn,Gn,ir)=>new Promise((_r,tn)=>{var io=Da=>{try{no(ir.next(Da))}catch(Qo){tn(Qo)}},kr=Da=>{try{no(ir.throw(Da))}catch(Qo){tn(Qo)}},no=Da=>Da.done?_r(Da.value):Promise.resolve(Da.value).then(io,kr);no((ir=ir.apply(Xn,Gn)).next())}),wn=Xn=>{var Gn=Xn,{className:ir,style:_r,children:tn,loading:io=!1,openLoading:kr,onClick:no=()=>{},size:Da="middle",shape:Qo="round",theme:Qa}=Gn,Sa=ai(Gn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[fo,ro]=(0,pe.useState)(!1),fi=(0,pe.useMemo)(()=>{switch(Qa){case xi.Fy.THEMEONE:return na.ThemeOne;case xi.Fy.DEFAULT:default:return na.btn}},[Qa]);return pe.createElement(mn.ZP,pi({onClick:(0,Ie.throttle)(Ma=>In(void 0,null,function*(){kr&&ro(!0);try{yield no(Ma)}catch(Xo){console.log("error",Xo)}kr&&ro(!1)}),2e3,{leading:!0,trailing:!1}),className:ve()(fi,na[`${Da}-${Qo}`],ir),style:_r,size:Da,shape:Qo,loading:fo||io},Sa),tn)},Or={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"},Ir=({className:Xn,style:Gn,children:ir=null,onClick:_r,title:tn})=>pe.createElement("div",{className:ve()(Or.head,Xn),style:Gn},pe.createElement("span",{className:"primary-hover",onClick:_r},pe.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),pe.createElement("b",{title:tn},tn),pe.createElement("div",{className:Or.node},ir)),ga={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"},Ca=({confirmShow:Xn=!0,confirmTitle:Gn,confirmClick:ir,cancelShow:_r=!0,cancelTitle:tn,cancelClick:io,className:kr,style:no,confirmLoading:Da=!1})=>pe.createElement("div",{className:ve()(ga.btns,kr),style:no},Xn&&pe.createElement(mn.ZP,{loading:Da,onClick:ir,type:"primary",className:ga.confirm},Gn),_r&&pe.createElement(mn.ZP,{onClick:io,className:ga.cancel},tn)),to={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"},wr=({className:Xn,style:Gn={},LeftContent:ir,children:_r,RightContent:tn})=>pe.createElement("div",{className:ve()(to.fixedBottom,Xn),style:Gn},pe.createElement("div",{className:to.wrap},pe.createElement("div",{className:to.left},ir),pe.createElement("div",{className:to.center},_r),pe.createElement("div",{className:to.right},tn))),Ua={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"},Do=({className:Xn,style:Gn={},dataSource:ir=[]})=>pe.createElement("div",{className:ve()(Ua.crumbs,Xn),style:Gn},ir.map((_r,tn)=>tnAr.history.push(_r.path)},_r.name):pe.createElement("span",null,_r.name),pe.createElement("span",null,"\xA0",">","\xA0")):pe.createElement("span",{key:tn,style:{color:"#5F6368"}},_r.name))),Go=Be(31797),co=Object.defineProperty,yi=Object.defineProperties,zi=Object.getOwnPropertyDescriptors,Li=Object.getOwnPropertySymbols,dA=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,To=(Xn,Gn,ir)=>Gn in Xn?co(Xn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Xn[Gn]=ir,AA=(Xn,Gn)=>{for(var ir in Gn||(Gn={}))dA.call(Gn,ir)&&To(Xn,ir,Gn[ir]);if(Li)for(var ir of Li(Gn))Qi.call(Gn,ir)&&To(Xn,ir,Gn[ir]);return Xn},XA=(Xn,Gn)=>yi(Xn,zi(Gn)),Gi=(Xn,Gn)=>{var ir={};for(var _r in Xn)dA.call(Xn,_r)&&Gn.indexOf(_r)<0&&(ir[_r]=Xn[_r]);if(Xn!=null&&Li)for(var _r of Li(Xn))Gn.indexOf(_r)<0&&Qi.call(Xn,_r)&&(ir[_r]=Xn[_r]);return ir};const{Countdown:br}=Go.default;var Fs=Xn=>{var Gn=Xn,{onChange:ir}=Gn,_r=Gi(Gn,["onChange"]);const[tn,io]=(0,pe.useState)(null);(0,pe.useEffect)(()=>{typeof tn=="number"&&tn>=0&&ir(tn)},[tn]);const kr=no=>{const Da=Math.floor(no/1e3);io(Da)};return pe.createElement(br,XA(AA({},_r),{onChange:kr}))},xs={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Kr=({DataProps:Xn,className:Gn,style:ir={}})=>{var _r;return pe.createElement("div",{className:ve()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",xs.ClassRoomItem,Gn),style:ir,onClick:()=>{(0,gt.xg)(Xn==null?void 0:Xn.first_category_url)}},pe.createElement("div",{className:"flex flex-col item-center"},pe.createElement("img",{src:`${(_r=It.Z)==null?void 0:_r.IMG_SERVER}/images/${Xn==null?void 0:Xn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Xn==null?void 0:Xn.subject_identifier)&&pe.createElement("div",{className:"mt-40px"},pe.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),pe.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),pe.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},pe.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Xn!=null&&Xn.is_public)&&pe.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),pe.createElement("span",{className:ve()("text-16px font-medium",xs.TitleDom)},Xn==null?void 0:Xn.name)),pe.createElement("div",{className:"c-grey-333 font-medium"},Xn==null?void 0:Xn.creator),pe.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Xn==null?void 0:Xn.course_members_count),pe.createElement("div",{className:"c-grey-333 flex item-center justify-between"},pe.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Xn==null?void 0:Xn.tasks_count),Xn!=null&&Xn.is_end?pe.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):pe.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Pa=Object.defineProperty,lo=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable,Yo=(Xn,Gn,ir)=>Gn in Xn?Pa(Xn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Xn[Gn]=ir,wi=(Xn,Gn)=>{for(var ir in Gn||(Gn={}))va.call(Gn,ir)&&Yo(Xn,ir,Gn[ir]);if(lo)for(var ir of lo(Gn))Uo.call(Gn,ir)&&Yo(Xn,ir,Gn[ir]);return Xn},Ji=({DataProps:Xn=[],selectValue:Gn,onChange:ir,className:_r,style:tn={},extra:io,classNameItem:kr,styleItem:no={},barHidden:Da})=>{const[Qo,Qa]=(0,pe.useState)();return(0,pe.useEffect)(()=>{Qa(Array.isArray(Gn)?Gn:[Gn])},[Gn]),pe.createElement("div",{className:ve()("flex px-20px py-10px gap-40px",_r),style:wi({borderBottom:"1px solid #D3F0FF"},tn)},Xn==null?void 0:Xn.map(Sa=>pe.createElement("div",{key:Sa==null?void 0:Sa.id,className:ve()("flex item-center justify-center current c-grey-333 text-16 relative",kr,Sa==null?void 0:Sa.className),style:wi(wi({color:Qo!=null&&Qo.includes(Sa==null?void 0:Sa.id)?"#1890FF":"",minWidth:88},no),(Sa==null?void 0:Sa.style)||{}),onClick:fo=>{ir==null||ir({domEvent:fo,item:Sa}),Sa!=null&&Sa.link&&Ar.history.push(Sa==null?void 0:Sa.link)}},Sa==null?void 0:Sa.name,!Da&&(Qo==null?void 0:Qo.includes(Sa==null?void 0:Sa.id))&&pe.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),pe.createElement("div",{className:"ml-auto"},io))},Na=Object.defineProperty,Ba=Object.defineProperties,ml=Object.getOwnPropertyDescriptors,ms=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,qA=Object.prototype.propertyIsEnumerable,jA=(Xn,Gn,ir)=>Gn in Xn?Na(Xn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:ir}):Xn[Gn]=ir,vs=(Xn,Gn)=>{for(var ir in Gn||(Gn={}))ps.call(Gn,ir)&&jA(Xn,ir,Gn[ir]);if(ms)for(var ir of ms(Gn))qA.call(Gn,ir)&&jA(Xn,ir,Gn[ir]);return Xn},$A=(Xn,Gn)=>Ba(Xn,ml(Gn)),Ii=({value:Xn,onChange:Gn,onInputChange:ir,className:_r,style:tn={},InputProps:io})=>{const[kr,no]=(0,pe.useState)(Xn);return pe.createElement("div",{className:ve()("flex item-center rounded-full px-10px py-2px",_r),style:vs({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},tn)},pe.createElement(Qe.default,$A(vs({bordered:!1},io),{onChange:Da=>{no(Da.target.value),ir==null||ir(encodeURIComponent(Da.target.value))},onPressEnter:Da=>{Gn==null||Gn({domEvent:Da,item:{value:kr}})}})),pe.createElement("img",{className:"h-22px current",src:Be(25365),height:22,onClick:Da=>{Gn==null||Gn({domEvent:Da,item:{value:kr}})}}))}},37808:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return we}});var pe=Be(59301);function we(Ke,nt){const Ze=(0,pe.useRef)();(0,pe.useEffect)(()=>{Ze.current=Ke}),(0,pe.useEffect)(()=>{function je(){Ze.current()}if(nt!==null){let he=setInterval(je,nt);return()=>clearInterval(he)}},[nt])}},97610:function(an,Kt,Be){"use strict";var pe=Be(43418),we=Be(8591),Ke=Be(38986),nt=Be(25690),Ze=Be(48790),je=Be(59301),he=(Ie,se,Ue)=>new Promise((Pe,be)=>{var oe=E=>{try{a(Ue.next(E))}catch(b){be(b)}},y=E=>{try{a(Ue.throw(E))}catch(b){be(b)}},a=E=>E.done?Pe(E.value):Promise.resolve(E.value).then(oe,y);a((Ue=Ue.apply(Ie,se)).next())});const ve=({shixunHomeworks:Ie,classroomList:se,dispatch:Ue})=>{const Pe=(0,nt.useParams)();return je.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:Ie.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>he(void 0,null,function*(){var be,oe,y,a;if((0,Ze.Rm)()&&!((be=se.AssistantObject.practice)!=null&&be.can_redo)){we.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const E=yield(0,Ke.ZP)(`/api/myshixuns/${Ie.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Pe.coursesId,homework_common_id:Ie.actionTabs.homework_common_id}});if(E.shixun_identifier){we.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ue({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}`===Pe.categoryId))==null?void 0:y.id;if((0,Ze.Rm)()&&!((a=se.AssistantObject.practice)!=null&&a.can_view))return;nt.history.replace(`/classrooms/${Pe.coursesId}/shixun_homework/${Pe.categoryId}/${b}/comment`)}}),onCancel:()=>{Ue({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Kt.Z=(0,nt.connect)(({shixunHomeworks:Ie,classroomList:se})=>({shixunHomeworks:Ie,classroomList:se}))(ve)},28063:function(an,Kt,Be){"use strict";Be.r(Kt),Be.d(Kt,{default:function(){return xr}});var pe=Be(32162),we=Be(59301),Ke=Be(25690),nt=Be(61186),Ze=Be.n(nt),je=Be(86129),he=Be.n(je),ve=Be(38986),Ie=Be(43418),se=Be(8591),Ue=Be(61621),Pe=Be(66104),be=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),ce=Be(95869),Fe=Be(87169),Ee=Be(26227),Qe=Be(346),We=Be(48790),Ye=Be(51257),rt=Be(42441),Te={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_"},Pt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Oe=({shixunHomeworks:Mt,data:Ot,globalSetting:Fn,loading:lr,dispatch:Vr})=>{var Br;const{shixunWorkReport:Zr}=Mt;let mr=((Br=Ot==null?void 0:Ot.efficiency_list)==null?void 0:Br.length)-parseInt(Ot==null?void 0:Ot.myself_eff[0]);const ea=()=>({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(ao){return ao.name===Zr.username?"\u59D3\u540D\uFF1A"+Zr.username+"
\u5B66\u53F7\uFF1A "+Zr.user_id+"
\u6548\u7387\uFF1A"+(Ot==null?void 0:Ot.myself_eff[1]):ao.name+":"+ao.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:Ot==null?void 0:Ot.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:Zr.username,xAxis:mr,yAxis:Ot==null?void 0:Ot.myself_eff[1],value:Ot==null?void 0:Ot.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(ao){var Oo=ao.value;if(ao.name===Zr.username)return"\u59D3\u540D\uFF1A"+Zr.username+"
\u5B66\u53F7\uFF1A "+Zr.user_id+"
\u5F97\u5206\uFF1A"+(Ot==null?void 0:Ot.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:Pt,data:Ot==null?void 0:Ot.consume_list,symbolSize:function(ao){return Math.round(ao[2])},markPoint:{data:[{name:Zr.username,xAxis:Ot==null?void 0:Ot.myself_object[0],yAxis:Ot==null?void 0:Ot.myself_object[1],value:Ot==null?void 0:Ot.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(rt.Z,{style:{width:750,height:580},option:ea()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:Te.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Zr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Zr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.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(rt.Z,{style:{width:750,height:580},option:da()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:Te.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Zr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Zr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_object[1]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",we.createElement("br",null)))))))};var Tt=(0,Ke.connect)(({shixunHomeworks:Mt,loading:Ot,globalSetting:Fn})=>({shixunHomeworks:Mt,globalSetting:Fn,loading:Ot.effects}))(Oe),st=Be(75975),At=Be(5871),It=({defaultValue:Mt,onBlur:Ot,max:Fn,className:lr="game-score"})=>{const[Vr,Br]=(0,we.useState)(Mt);(0,we.useEffect)(()=>{Br(Mt)},[Mt]);function Zr(ea){Br(ea)}function mr(){Vr!==Mt&&Ot(Vr>Fn?Fn:Vr)}return we.createElement(At.Z,{max:Fn,min:0,className:lr,value:Vr,onChange:Zr,onBlur:mr})},gt=Be(39793),Ft={md:"md___GIQyK"},ht=Be(59301),tt=Object.defineProperty,en=Object.defineProperties,gn=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,jn=(Mt,Ot,Fn)=>Ot in Mt?tt(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,hn=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))Zt.call(Ot,Fn)&&jn(Mt,Fn,Ot[Fn]);if(Et)for(var Fn of Et(Ot))Cn.call(Ot,Fn)&&jn(Mt,Fn,Ot[Fn]);return Mt},Kn=(Mt,Ot)=>en(Mt,gn(Ot));const Nt=z.default.Option,zn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var $n=(Mt=>(Mt[Mt.SET_PATH=0]="SET_PATH",Mt[Mt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Mt))($n||{});function He(Mt,Ot){switch(Ot.type){case 0:return Kn(hn({},Mt),{selectedPath:Ot.payload});case 1:return Kn(hn({},Mt),{passedContent:Ot.payload});default:throw new Error}}var $t=({path:Mt,game_id:Ot,onPathChange:Fn,autoHeight:lr,diff_code_count:Vr,data:Br,game_codes_cn:Zr})=>{var mr,ea,da,ao;const Oo=Mt.split("\uFF1B").filter(za=>!!za),[ya,uo]=(0,we.useReducer)(He,{selectedPath:Oo[0],passedContent:{language:"python",content:""}}),{selectedPath:Ta,passedContent:_a}=ya;function ta(za){uo({type:0,payload:za})}const ka={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return ht.createElement(ht.Fragment,null,ht.createElement("h2",null," ",ht.createElement("span",null,Zr,ht.createElement(oe.Z,{title:ht.createElement("div",null,ht.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ht.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ht.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),ht.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ht.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Vr&&ht.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Vr),ht.createElement("span",null,ht.createElement(z.default,{style:{width:200},value:Ta,onChange:ta}," ",Oo.map(za=>ht.createElement(Nt,{key:za,value:za},za))," "))," "),(Ta==null?void 0:Ta.split(".")[1])==="md"&&ht.createElement(gt.Z,{height:300,autoHeight:lr,defaultValue:((ea=(mr=Br==null?void 0:Br.filter(za=>za.path===Ta))==null?void 0:mr[0])==null?void 0:ea.content)||"",className:Ft.md}),(Ta==null?void 0:Ta.split(".")[1])!=="md"&&ht.createElement(st.ZP,{height:300,language:_a.language,value:((ao=(da=Br==null?void 0:Br.filter(za=>za.path===Ta))==null?void 0:da[0])==null?void 0:ao.content)||"",autoHeight:lr,theme:"default",isCopy:!0,options:zn}))},Re=Be(82264),me=Be(96249),le=Be.n(me),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Je=(Mt,Ot,Fn)=>Ot in Mt?ye(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,jt=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))pt.call(Ot,Fn)&&Je(Mt,Fn,Ot[Fn]);if(qe)for(var Fn of qe(Ot))Me.call(Ot,Fn)&&Je(Mt,Fn,Ot[Fn]);return Mt},wt=(Mt,Ot,Fn)=>new Promise((lr,Vr)=>{var Br=ea=>{try{mr(Fn.next(ea))}catch(da){Vr(da)}},Zr=ea=>{try{mr(Fn.throw(ea))}catch(da){Vr(da)}},mr=ea=>ea.done?lr(ea.value):Promise.resolve(ea.value).then(Br,Zr);mr((Fn=Fn.apply(Mt,Ot)).next())});const lt=({shixunHomeworks:Mt,autoHeight:Ot,classroomList:Fn,dispatch:lr})=>{var Vr,Br,Zr,mr,ea,da,ao;const{shixunWorkReport:Oo}=Mt,{stage_list:ya,work_id:uo}=Oo,[Ta,_a]=(0,we.useState)(!1),[ta,ka]=(0,we.useState)(!0),[za,vo]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),_o=(0,we.useRef)(null),[Jo,Ni]=(0,we.useState)(!1),hi=(ja,xa)=>{var Bo;const{clientWidth:Oi,clientHeight:ii}=window.document.documentElement,mi=(Bo=_o.current)==null?void 0:Bo.getBoundingClientRect();mi&&vo({left:-mi.left+xa.x,right:Oi-(mi.right-xa.x),top:-mi.top+xa.y,bottom:ii-(mi.bottom-xa.y)})},qi=(0,Ke.useParams)(),WA=(0,We.GJ)(),gA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log(qi)},[]);const es=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(ja,xa,Bo)=>we.createElement("div",null,ja,xa.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:ja=>Ze()(ja).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(ja,xa)=>we.createElement("span",{className:"c-blue current",onClick:()=>wt(void 0,null,function*(){var Bo,Oi;const ii=yield(0,Re.Lk)(xa.game_identifier,{path:(Oi=(Bo=xa.path)==null?void 0:Bo.replace(/\;/g,";"))==null?void 0:Oi.split(";")[0],query_index:xa.query_index,homework_common_id:qi.categoryId});(ii==null?void 0:ii.status)===0&&(Ni(ii),_a(!0))})},xa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Ls=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(ja,xa)=>{var Bo;return we.createElement("span",null,we.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((Bo=xa==null?void 0:xa.user)==null?void 0:Bo.image_url)}),ja)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:ja=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",ja,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:ja=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",ja,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:ja=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",ja?Ze()(ja).format("YYYY-MM-DD HH:mm"):"--")}];function yn(ja,xa){return wt(this,null,function*(){const{challenge_id:Bo}=ya[ja],Oi=yield lr({type:"shixunHomeworks/changeScore",payload:{categoryId:qi.homeworkId,type:"report",score:xa,challenge_id:Bo}});yield lr({type:"shixunHomeworks/getShixunWorkReport",payload:jt({},qi)}),Oi.status===0&&se.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function xn(ja,xa){return(0,ve.U2)(`student_works/${uo}/rep_passed_content.json`,{path:xa,game_id:ja})}const sA=Oo.shixun_detail;return we.createElement(we.Fragment,null,sA==null?void 0:sA.map(function(ja,xa){var Bo,Oi;return we.createElement("div",{key:xa},we.createElement("aside",{className:"pl30 pr30",key:xa},we.createElement("div",{className:`${Te.shixunTitle} mt10`},we.createElement("div",null,we.createElement("span",{className:"fa fa-code "}),we.createElement("strong",{className:"c-black"},"\u7B2C",xa+1,"\u5173 ",we.createElement(Ke.Link,{className:"c-black",target:"_blank",to:`/tasks/${qi.coursesId}/${qi.categoryId}/${ja.game_identifier}`},ja.subject))),WA?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement(It,{className:"game-score",max:ya[xa].game_score_full,defaultValue:ya[xa].game_score,onBlur:ii=>{var mi;if((0,We.Rm)()&&!((mi=Fn.AssistantObject.practice)!=null&&mi.can_appraise)){se.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}yn(xa,ii)}})):null),we.createElement("div",{className:"font16 mt10"},ja.st===0&&(ja.path?typeof(ja==null?void 0:ja.game_codes_cn)=="string"?we.createElement("aside",{className:Te.shixunWrp},we.createElement($t,{game_codes_cn:ja==null?void 0:ja.game_codes_cn,autoHeight:Ot,path:ja.path,game_id:ja.id,data:ja.game_codes,diff_code_count:ja.diff_code_count,onPathChange:xn})):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"),ja.st===1&&(ja.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"},(Bo=ja.outputs)!=null&&Bo.length?we.createElement(x.default,{columns:es,pagination:{hideOnSinglePage:!0},dataSource:ja.outputs.map(ii=>jt(jt({},ja),ii))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((Oi=ja==null?void 0:ja.adjust_review_score_list)==null?void 0:Oi.length)>0&&(0,We.GJ)()&&we.createElement("div",null,we.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),we.createElement(x.default,{columns:Ls,pagination:{hideOnSinglePage:!0},dataSource:ja.adjust_review_score_list,showHeader:!1})))))}),we.createElement(Ie.default,{open:Ta,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Ni({}),_a(!1)},onCancel:()=>{Ni({}),_a(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ta&&ka(!1)},onMouseOut:()=>{ka(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:ja=>we.createElement(le(),{disabled:ta,bounds:za,nodeRef:_o,onStart:(xa,Bo)=>hi(xa,Bo)},we.createElement("div",{ref:_o},ja))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},((Vr=Jo==null?void 0:Jo.data)==null?void 0:Vr.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:((Br=Jo==null?void 0:Jo.data)==null?void 0:Br.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Zr=Jo==null?void 0:Jo.data)==null?void 0:Zr.output_detail)),we.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ze()((mr=Jo==null?void 0:Jo.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(ea=Jo==null?void 0:Jo.data)==null?void 0:ea.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(da=Jo==null?void 0:Jo.data)==null?void 0:da.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"}},((ao=Jo==null?void 0:Jo.data)==null?void 0:ao.test_set_passed_rate)*100,"%")))),we.createElement(st.ZP,{height:500,autoHeight:Ot,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Jo==null?void 0:Jo.content)||""))),options:gA})))};var Vt=(0,Ke.connect)(({shixunHomeworks:Mt,loading:Ot,globalSetting:Fn,classroomList:lr})=>({shixunHomeworks:Mt,globalSetting:Fn,loading:Ot.effects,classroomList:lr}))(lt),Bn=Be(78241),kt={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},dn=Be(6701),Qt=Be(59301),Pn=Object.defineProperty,An=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,Ar=(Mt,Ot,Fn)=>Ot in Mt?Pn(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,Nr=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))nr.call(Ot,Fn)&&Ar(Mt,Fn,Ot[Fn]);if(An)for(var Fn of An(Ot))cr.call(Ot,Fn)&&Ar(Mt,Fn,Ot[Fn]);return Mt},Dr=(Mt,Ot,Fn)=>new Promise((lr,Vr)=>{var Br=ea=>{try{mr(Fn.next(ea))}catch(da){Vr(da)}},Zr=ea=>{try{mr(Fn.throw(ea))}catch(da){Vr(da)}},mr=ea=>ea.done?lr(ea.value):Promise.resolve(ea.value).then(Br,Zr);mr((Fn=Fn.apply(Mt,Ot)).next())});const oa=({shixunHomeworks:Mt,dispatch:Ot,classroomList:Fn})=>{const{shixunWorkReport:lr}=Mt,Vr=(0,Ke.useParams)(),[Br,Zr]=(0,we.useState)(!1),[mr]=Bn.default.useForm(),[ea,da]=Ie.default.useModal(),[ao,Oo]=(0,we.useState)(!1),[ya,uo]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var ta,ka,za,vo;Mt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(ka=(ta=Mt.actionTabs.selectArrs)==null?void 0:ta.data)==null?void 0:ka.work_comment,hidden_comment:(vo=(za=Mt.actionTabs.selectArrs)==null?void 0:za.data)==null?void 0:vo.work_comment_hidden})},[Mt.actionTabs.key]);const Ta=()=>Dr(void 0,null,function*(){const ta=mr.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${Vr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ta.hidden_comment,comment:ta.comment}})).status===0&&(se.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Ot({type:"shixunHomeworks/setActionTabs",payload:{}}),Ot({type:"shixunHomeworks/getShixunWorkReport",payload:Nr({},Vr)}))}),_a=[{title:"\u5173\u5361",dataIndex:"name",render:(ta,ka,za)=>za+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ta,ka,za)=>Qt.createElement("div",null,ta,ka.complete_status===4&&Qt.createElement(Ye.vA,{status:ka.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:ta=>ta?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ta,ka)=>Qt.createElement("div",null,Qt.createElement("span",{style:{color:parseFloat(ka.game_score_full)!==parseFloat(ta)?"#E30000":"#53C41B"}},ta),"/",ka.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ta,ka)=>(0,We.GJ)()?Qt.createElement(It,{max:ka.game_score_full,defaultValue:parseFloat(ta),onBlur:za=>Dr(void 0,null,function*(){var vo,_o;if((0,We.Rm)()&&!((vo=Fn.AssistantObject.practice)!=null&&vo.can_appraise)){se.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 Jo=yield Ot({type:"shixunHomeworks/changeScore",payload:{categoryId:Vr.homeworkId,type:"report",score:za,challenge_id:ka.challenge_id}});(_o=Mt==null?void 0:Mt.actionTabs)==null||_o.fn(),yield Ot({type:"shixunHomeworks/getShixunWorkReport",payload:Nr({},Vr)}),Jo.status===0&&se.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ta}];return Qt.createElement(Qt.Fragment,null,da,Qt.createElement(Ie.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Mt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Dr(void 0,null,function*(){var ta;if((0,We.Rm)()&&!((ta=Fn.AssistantObject.practice)!=null&&ta.can_appraise)){se.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 ka=mr.getFieldsValue();JSON.stringify(ka)==="{}"||ka.hidden_comment===""&&ka.comment===""?Zr(!0):Ta()}),onCancel:()=>{Ot({type:"shixunHomeworks/setActionTabs",payload:{}})}},Qt.createElement(E.Z,{justify:"space-between",className:kt.info},Qt.createElement(b.Z,null,Qt.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u59D3\u540D"),Qt.createElement("span",{className:kt.blackContent},lr==null?void 0:lr.username)),Qt.createElement(b.Z,null,Qt.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u5B66\u53F7"),Qt.createElement("span",{className:kt.blackContent},(lr==null?void 0:lr.student_id)||"--")),Qt.createElement(b.Z,null,Qt.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u73ED\u7EA7"),Qt.createElement("span",{className:kt.blackContent},(lr==null?void 0:lr.group_name)||"--")),Qt.createElement(b.Z,null,Qt.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u5173\u5361\u5F97\u5206"),Qt.createElement("span",{className:kt.orangeContent},(lr==null?void 0:lr.challenge_score)||"--")),Qt.createElement(b.Z,null,Qt.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u6548\u7387\u5206"),Qt.createElement("span",{className:kt.orangeContent},(lr==null?void 0:lr.eff_score)||"--")),Qt.createElement(b.Z,null,Qt.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u8865\u4EA4\u6263\u5206"),Qt.createElement("span",{className:kt.orangeContent},(lr==null?void 0:lr.late_penalty)||"--")),Qt.createElement(b.Z,null,Qt.createElement("span",{className:`${kt.label} ${kt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Qt.createElement("span",{className:kt.orangeContent},(lr==null?void 0:lr.work_score)||"--"))),Qt.createElement(Bn.default,{form:mr,onChange:()=>{Br&&Zr(!1)}},Qt.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Qt.createElement(b.Z,null,Qt.createElement("div",{className:`${kt.inputLabel} ${kt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qt.createElement(b.Z,null,Qt.createElement(dn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:ao,onCancel:()=>{Oo(!1)}},onDataSelect:(ta,ka)=>Dr(void 0,[ta,ka],function*(za,{node:vo}){const _o=()=>{mr.setFieldsValue({comment:vo==null?void 0:vo.value}),Oo(!1)};if(mr.getFieldValue("comment")){ea.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:_o});return}_o()})},Qt.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Qt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ta=>{Oo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qt.createElement(Bn.default.Item,{name:"comment"},Qt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Qt.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Qt.createElement(b.Z,null,Qt.createElement("div",{className:`${kt.inputLabel} ${kt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qt.createElement(b.Z,null,Qt.createElement(dn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:ya,onCancel:()=>{uo(!1)}},onDataSelect:(ta,ka)=>Dr(void 0,[ta,ka],function*(za,{node:vo}){const _o=()=>{mr.setFieldsValue({hidden_comment:vo==null?void 0:vo.value}),uo(!1)};if(mr.getFieldValue("hidden_comment")){ea.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:_o});return}_o()})},Qt.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Qt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ta=>{uo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qt.createElement(Bn.default.Item,{name:"hidden_comment"},Qt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Br&&Qt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Qt.createElement("div",{className:kt.tableTitle},"\u5173\u5361\u6210\u7EE9"),Qt.createElement(x.default,{className:kt.scoreTable,dataSource:lr.stage_list,rowKey:"challenge_id",pagination:!1,columns:_a,scroll:{x:"max-content"}})))};var Aa=(0,Ke.connect)(({shixunHomeworks:Mt,classroomList:Ot})=>({shixunHomeworks:Mt,classroomList:Ot}))(oa),zr=Be(79902),Sr=Be(91842),Qr=Be(1247),Gr=Be(44164),ma=Be.n(Gr),Ja={wrap:"wrap___rFTBy",line:"line___kZzhh"},Yr=Be(1546),Mo=({detailData:Mt})=>{var Ot;return we.createElement("div",{className:Ja.wrap},we.createElement(Yr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Yr.Uf)(Mt),(Mt==null?void 0:Mt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(Yr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Yr.Uf)(Mt)}),!!((Ot=Mt==null?void 0:Mt.photos)!=null&&Ot.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:Ja.line}),we.createElement(Yr._s,{dataSource:Mt==null?void 0:Mt.photos,right:21,col:4,wrapWidth:1140}))))},na=Be(40133),mn=Be(59301),xi=Object.defineProperty,gi=Object.defineProperties,ui=Object.getOwnPropertyDescriptors,Ui=Object.getOwnPropertySymbols,Io=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,pi=(Mt,Ot,Fn)=>Ot in Mt?xi(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,ai=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))Io.call(Ot,Fn)&&pi(Mt,Fn,Ot[Fn]);if(Ui)for(var Fn of Ui(Ot))Xi.call(Ot,Fn)&&pi(Mt,Fn,Ot[Fn]);return Mt},In=(Mt,Ot)=>gi(Mt,ui(Ot)),Mn=(Mt,Ot)=>{var Fn={};for(var lr in Mt)Io.call(Mt,lr)&&Ot.indexOf(lr)<0&&(Fn[lr]=Mt[lr]);if(Mt!=null&&Ui)for(var lr of Ui(Mt))Ot.indexOf(lr)<0&&Xi.call(Mt,lr)&&(Fn[lr]=Mt[lr]);return Fn},wn=(Mt,Ot,Fn)=>new Promise((lr,Vr)=>{var Br=ea=>{try{mr(Fn.next(ea))}catch(da){Vr(da)}},Zr=ea=>{try{mr(Fn.throw(ea))}catch(da){Vr(da)}},mr=ea=>ea.done?lr(ea.value):Promise.resolve(ea.value).then(Br,Zr);mr((Fn=Fn.apply(Mt,Ot)).next())});const Or=Mt=>{var Ot=Mt,{shixunHomeworks:Fn,classroomList:lr,globalSetting:Vr,loading:Br,user:Zr,dispatch:mr}=Ot,ea=Mn(Ot,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),da,ao,Oo;const[ya,uo]=(0,we.useState)(ai({},(0,Ke.useParams)())),Ta=(0,Ke.useParams)(),[_a,ta]=(0,we.useState)({page:1,page_size:10}),ka=(0,Ke.useLocation)(),[]=(0,we.useState)([]),[za,vo]=(0,we.useState)(),_o=(0,we.useRef)(),[Jo,Ni]=(0,we.useState)(!1),[hi,qi]=(0,we.useState)(!0),[WA,gA]=(0,we.useState)(!1),[es,Ls]=(0,we.useState)(!1),{shixunWorkReport:yn}=Fn,[xn,sA]=(0,we.useState)(),[ja,xa]=(0,we.useState)([]),[Bo,Oi]=(0,we.useState)(),[ii,mi]=(0,we.useState)("all"),_i=(0,We.GJ)(),[ZA,$i]=(0,we.useState)(new(he())),[ra,Ka]=(0,we.useState)(0),[$a,di]=(0,we.useState)(!1),[vi,ji]=(0,we.useState)(!1),[So,ts]=(0,we.useState)(!1),[ns,NA]=(0,we.useState)(""),[rs,Is]=(0,we.useState)(!1),[Cl,bl]=(0,we.useState)(!0),[Hi,VA]=(0,we.useState)(0),fA=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),ni=(0,we.useRef)(),hA=()=>wn(void 0,null,function*(){(Zr.userInfo.is_teacher||Zr.userInfo.admin)&&(Is(!0),bl(!1))});(0,we.useEffect)(()=>{var Cr;(0,We.Rm)()&&lr.AssistantObject.practice&&!((Cr=lr.AssistantObject.practice)!=null&&Cr.can_view)&&Ke.history.replace("/403")},[(da=lr.AssistantObject.practice)==null?void 0:da.can_view]),(0,we.useEffect)(()=>{hA(),console.log("\u6253\u5370\u7684------",yn),ni.current=yn==null?void 0:yn.next_student_work_id,NA(yn.repeat_minus_score)},[yn,Zr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",yn.work_score),VA(yn.work_score)},[yn.work_score,ns]),(0,we.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var Cr;if(yn){let Za=[];(Cr=yn==null?void 0:yn.target_test_sets)==null||Cr.map((dr,La)=>{var po;(po=dr==null?void 0:dr.targets)==null||po.map((Ri,Wi)=>{var Mi;Ri.name=dr==null?void 0:dr.name,Ri.total_target_score=dr==null?void 0:dr.total_target_score,Ri.actual_target_score=dr==null?void 0:dr.actual_target_score,Ri.rowSpan=Wi===0?(Mi=dr==null?void 0:dr.targets)==null?void 0:Mi.length:0,Ri.order=La+1,Za.push(Ri)})}),sA(Za),(0,We.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:ya.coursesId}})}},[yn]),(0,we.useEffect)(()=>{Fn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(yn==null?void 0:yn.students_count)>0&&!hi&&setTimeout(()=>{bA("all")},800)},[yn==null?void 0:yn.homework_common_id,hi]),(0,we.useEffect)(()=>{uo(ai({},Ta))},[ka.pathname]);const al=()=>{document.body.scrollIntoView()},El=Cr=>{_a.page=Cr,ta(ai({},_a)),as(_a,ii)},as=(Cr,Za)=>wn(void 0,null,function*(){gA(!0);const dr=yield(0,ve.ZP)(`/api/student_works/${ya==null?void 0:ya.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:In(ai({},Cr),{challenge_id:Za=="all"?null:Za})});(dr==null?void 0:dr.status)===0&&(xa(dr==null?void 0:dr.list),Oi(dr==null?void 0:dr.count)),gA(!1)});function HA(){return wn(this,null,function*(){fA.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const ol=()=>{document.querySelectorAll("canvas").forEach(Cr=>{(!Cr.clientWidth||!Cr.clientHeight)&&Cr.remove()})},Bs=Cr=>wn(void 0,null,function*(){const Za=yield(0,Qr.t1)({homeworkId:Cr||ya.homeworkId});vo(Za==null?void 0:Za.data)}),bA=Cr=>wn(void 0,null,function*(){var Za,dr,La,po;let Ri=0,Wi;Wi=Ie.default.info({width:460,title:mn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",mn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",mn.createElement("span",{className:"c-blue"},Ri+1),"/",Cr!=="all"?1:yn==null?void 0:yn.students_count,mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Te.modal,onOk:()=>{}});const Mi={margin:[0,0],filename:`${yn!=null&&yn.student_id&&(yn==null?void 0:yn.student_id)!="--"?yn==null?void 0:yn.student_id:""}${yn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Ss=ZA.folder(yn==null?void 0:yn.shixun_name);function Ns(Ds){return wn(this,null,function*(){yield Bs(Ds||ni.current);const ko=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ai({homeworkId:Ds||ni.current},fA.current||{})});ni.current=ko==null?void 0:ko.next_student_work_id,al(),Ri++,setTimeout(()=>wn(this,null,function*(){var Us,Co,PA,Zi;ol();const eA=Ss.folder(`${ko==null?void 0:ko.group_name}`).folder(`${ko!=null&&ko.student_id&&(ko==null?void 0:ko.student_id)!="--"?ko.student_id+"+":""}${ko==null?void 0:ko.username}`),ys=document.querySelector("#export-all").children;let Qs=ma()();for(let ae=0;aewn(this,null,function*(){ae0&&((PA=(Co=ko==null?void 0:ko.shixun_detail)==null?void 0:Co.filter(ae=>{var te;return((te=ae==null?void 0:ae.game_codes)==null?void 0:te.length)>0}))==null?void 0:PA.length)>0){const ae=eA.folder("\u4EE3\u7801\u6587\u4EF6");(Zi=ko==null?void 0:ko.shixun_detail)==null||Zi.map((te,re)=>{var ge,Ce;if(((ge=te==null?void 0:te.game_codes)==null?void 0:ge.length)>0){const Se=ae.folder(`\u7B2C${re+1}\u5173-${te.subject}-${te.id}`);(Ce=te==null?void 0:te.game_codes)==null||Ce.map(Ne=>{Se.file(`${Ne.filename}.txt`,Ne==null?void 0:Ne.content)})}})}Wi.update({content:mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",mn.createElement("span",{className:"c-blue"},Ri),"/",ko==null?void 0:ko.students_count,mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Ri==(ko==null?void 0:ko.students_count)?(Wi.destroy(),zs()):Ns()}),2200)})}if(Cr!=="all"||(yn==null?void 0:yn.students_count)<2){ol(),al();const Ds=_o.current.children;let ko=ma()();const Co=Ss.folder(`${yn==null?void 0:yn.group_name}`).folder(`${yn!=null&&yn.student_id&&(yn==null?void 0:yn.student_id)!="--"?(yn==null?void 0:yn.student_id)+"+":""}${yn==null?void 0:yn.username}`);for(let PA=0;PAwn(void 0,null,function*(){PA0&&((La=(dr=yn==null?void 0:yn.shixun_detail)==null?void 0:dr.filter(PA=>{var Zi;return((Zi=PA==null?void 0:PA.game_codes)==null?void 0:Zi.length)>0}))==null?void 0:La.length)>0){const PA=Co.folder("\u4EE3\u7801\u6587\u4EF6");(po=yn==null?void 0:yn.shixun_detail)==null||po.map((Zi,mA)=>{var eA,ys;if(((eA=Zi==null?void 0:Zi.game_codes)==null?void 0:eA.length)>0){const Qs=PA.folder(`\u7B2C${mA+1}\u5173-${Zi.subject}-${Zi.id}`);(ys=Zi==null?void 0:Zi.game_codes)==null||ys.map(ae=>{Qs.file(`${ae.filename}.txt`,ae==null?void 0:ae.content)})}})}Wi.destroy(),zs();return}else Ns(yn==null?void 0:yn.first_student_work_id)}),zs=()=>{ZA.generateAsync({type:"blob"}).then(function(Cr){console.log(yn,"shixunWorkReport");const Za=document.createElement("a");Za.href=window.URL.createObjectURL(Cr),Za.download=(yn==null?void 0:yn.shixun_name)+".zip",document.body.appendChild(Za);const dr=document.createEvent("MouseEvents");dr.initEvent("click",!1,!1),Za.dispatchEvent(dr),document.body.removeChild(Za),$i(new(he()))}),Ls(!1)};(0,we.useEffect)(()=>{Gs()},[ya.homeworkId]);const Gs=()=>wn(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},ya),fA.current||{})}),Bs(),(0,We.GJ)()&&HA(),qi(!1)}),_s=[{title:"\u5173\u5361",dataIndex:"name",render:(Cr,Za,dr)=>dr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Cr,Za,dr)=>mn.createElement("div",null,Cr,Za.complete_status===4&&mn.createElement(Ye.vA,{status:Za.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Cr,Za,dr)=>Cr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Cr=>Cr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Cr,Za)=>mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Za.myself_experience)!==parseFloat(Cr)?"red":"green"}},Za.myself_experience),"/",Cr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Cr,Za)=>mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Za.game_score_full)!==parseFloat(Cr)?"red":"green"}},Cr),"/",Za.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Cr,Za)=>_i?mn.createElement(It,{max:Za.game_score_full,defaultValue:parseFloat(Cr),onBlur:dr=>wn(void 0,null,function*(){var La;if((0,We.Rm)()&&!((La=lr.AssistantObject.practice)!=null&&La.can_appraise)){se.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 po=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:ya.homeworkId,type:"report",score:dr,challenge_id:Za.challenge_id}});as({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},ya),fA.current||{})}),po.status===0&&se.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Cr}];let Pl=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Cr,Za,dr)=>({children:Cr,props:{rowSpan:Za.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Cr,Za,dr)=>({children:Cr,props:{rowSpan:Za.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Cr,Za,dr)=>mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Za.actual_test_score)!==parseFloat(Cr)?"red":"green"}},Za.actual_test_score),"/",Cr)},{title:"\u6307\u6807\u603B\u5206",render:(Cr,Za,dr)=>({children:mn.createElement("div",null,mn.createElement("span",{style:{color:parseFloat(Za.actual_target_score)!==parseFloat(Cr)?"red":"green"}},Za.actual_target_score),"/",Cr),props:{rowSpan:Za.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const il=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Cr=>mn.createElement("span",null,Cr?Ze()(Cr).format("YYYY-MM-DD HH:mm"):"--")}],DA=Cr=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Cr==="next"?Ke.history.push(`/classrooms/${ya.coursesId}/shixun_homework/${ya.categoryId}/${yn==null?void 0:yn.next_student_work_id}/comment`):Ke.history.push(`/classrooms/${ya.coursesId}/shixun_homework/${ya.categoryId}/${yn==null?void 0:yn.pre_student_work_id}/comment`)},200)},UA=Cr=>{NA(""),Cr.target.value&&(console.log("\u8FDB\u6765",yn),Cr.target.value=Cr.target.value>yn.repeat_setting_score?yn.repeat_setting_score:Cr.target.value,NA(Cr.target.value))},EA=()=>wn(void 0,null,function*(){const Cr=yield(0,ve.ZP)(`/api/student_works/${yn==null?void 0:yn.work_id}/update_repeat_score`,{method:"put",body:{score:ns}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},ya),fA.current||{})}),Cr.status===0&&se.ZP.info("\u64CD\u4F5C\u6210\u529F")});return mn.createElement("section",{style:{minHeight:"100vh",background:`url(${Be(26528)}) center / cover no-repeat`}},mn.createElement("div",{className:"edu-container pb-60px"},mn.createElement(Ue.Z,{loading:Br["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},yn.course_id&&mn.createElement("section",{className:"animated fadeIn pt-10px"},yn.category&&mn.createElement(Pe.Z,{separator:">",items:[{title:mn.createElement(Ke.Link,{to:`/classrooms/${yn.course_id}/shixun_homework`}," ",yn.course_name)},{title:mn.createElement(Ke.Link,{to:`/classrooms/${yn.course_id}/shixun_homework/${yn.category.main?"":yn.category.category_id}`}," ",yn.category.category_name)},{title:mn.createElement(Ke.Link,{to:`/classrooms/${yn.course_id}/shixun_homework/${yn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:yn.username}]}),mn.createElement("div",{className:"mt20 flex item-center gap-10px"},mn.createElement("strong",{className:"font20"}," ",yn==null?void 0:yn.homework_name," "),mn.createElement(Ye.VV,{temporary:!0,status:yn.homework_status}),mn.createElement("div",{className:"ml-auto flex item-center gap-10px"},yn.view_tpi&&mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Cr,Za;(0,Ye.xg)(`/tasks/${yn==null?void 0:yn.course_id}/${yn==null?void 0:yn.homework_common_id}/${(Za=(Cr=yn==null?void 0:yn.shixun_detail)==null?void 0:Cr[0])==null?void 0:Za.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,We.GJ)()&&yn.homework_end===!1&&!!yn.myshixun_id&&mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>wn(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:yn.myshixun_identifier},homework_common_id:Ta.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Cr;if((0,We.Rm)()&&!((Cr=lr.AssistantObject.practice)!=null&&Cr.can_download)){se.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}bA("")},loading:Jo},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,We.GJ)()&&(yn==null?void 0:yn.students_count)>1&&mn.createElement(be.ZP,{icon:mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Cr;if((0,We.Rm)()&&!((Cr=lr.AssistantObject.practice)!=null&&Cr.can_download)){se.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}Ie.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:mn.createElement(oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:mn.createElement(oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{bA("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,na.jj)({categoryId:ya.categoryId,coursesId:ya.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),mn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},mn.createElement("div",{id:"export-all",ref:_o},mn.createElement("div",{id:"export-all-1"},mn.createElement("div",{className:"flex item-center"},mn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,We.GJ)()&&mn.createElement(be.ZP,{className:`ml-auto rounded-4px ${Te.NewButtonStyle}`,type:"primary",icon:mn.createElement(ce.Z,{rev:void 0}),onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:yn.user_id,data:ai({},yn)},fn:()=>as({page:1,page_size:10},"all")}})}}," ",yn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),mn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},mn.createElement("div",{className:"flex flex-col justify-center item-center"},mn.createElement("div",{className:"flex flex-col item-center"},mn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Qe.Z.IMG_SERVER}/images/${yn.image_url}`,alt:yn.username}),mn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},mn.createElement(Ye.vA,{status:yn.compelete_status}))),mn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},yn.username),mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",mn.createElement("span",{className:"ml10 c-grey-333"},yn.student_id||"--")),mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",mn.createElement("span",{className:"ml10 c-grey-333"},yn.group_name||"--"))),mn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},mn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-red"},yn.complete_count||"--"),"/",mn.createElement("span",{className:"c-red"},yn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-red"},yn.current_complete_count||"--"),"/",mn.createElement("span",{className:"c-red"},yn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:yn&&yn.efficiency===null?"--":yn&&yn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:yn&&yn.max_efficiency===null?"--":yn&&yn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-orange"},yn.challenge_score),"/",mn.createElement("span",{className:"c-light-black"},yn.challenge_score_full)),hidden:!(yn!=null&&yn.eff_score_full)},{title:"\u6548\u7387\u5206",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-orange"},yn.eff_score),"/",mn.createElement("span",{className:"c-light-black"},yn.eff_score_full)),hidden:!(yn!=null&&yn.eff_score_full)}].map((Cr,Za)=>!(Cr!=null&&Cr.hidden)&&mn.createElement("div",{key:Za,className:"flex flex-col item-center gap-10px"},mn.createElement("div",{className:"text-16px"},Cr==null?void 0:Cr.children),mn.createElement("div",{style:{color:"#8E8E8E"}},Cr==null?void 0:Cr.title)))),mn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:yn&&yn.passed_time===null||yn&&yn.passed_time==="--"?"--":Ze()(yn&&yn.passed_time).format("YYYY-MM-DD HH:mm")},{title:mn.createElement(mn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Cr=>{di(!0)}})),children:yn==null?void 0:yn.human_training_time_rules},{title:mn.createElement(mn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Cr=>{ji(!0)}})),children:yn==null?void 0:yn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:yn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:yn&&yn.passed_time===null||yn&&yn.passed_time==="--"?"--":Ze()(yn&&yn.passed_time).format("YYYY-MM-DD HH:mm")},{title:mn.createElement(mn.Fragment,null," \u67E5\u91CD\u6263\u5206",yn!=null&&yn.review_rate?mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{yn!=null&&yn.review_id&&rs&&(localStorage.setItem("studentDetial",window.location.pathname),Ke.history.push(`/classrooms/:coursesId/shixun_homework/${ya.categoryId}/review_detail/${yn==null?void 0:yn.review_id}`))}}," ",yn.review_rate.toFixed(1),"% "):mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:mn.createElement(mn.Fragment,null,(yn==null?void 0:yn.repeat_minus_score)!==0?"- -":mn.createElement(mn.Fragment,null,rs?mn.createElement(mn.Fragment,null,mn.createElement(y.default,{style:{width:"45px",height:"22px"},value:ns,onChange:Cr=>{UA(Cr)},onBlur:EA,disabled:Cl})," / ",yn==null?void 0:yn.repeat_setting_score):mn.createElement(mn.Fragment,null," ",yn==null?void 0:yn.repeat_minus_score," / ",yn==null?void 0:yn.repeat_setting_score," "))),hidden:!(yn!=null&&yn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:yn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:mn.createElement(mn.Fragment,null,mn.createElement("span",{className:"c-orange"},Hi),"/",mn.createElement("span",{className:"c-light-black"},yn.all_work_score))}].map((Cr,Za)=>!(Cr!=null&&Cr.hidden)&&mn.createElement("div",{key:Za,className:"flex flex-col item-center gap-10px"},mn.createElement("div",{className:"text-16px"},Cr==null?void 0:Cr.children),mn.createElement("div",{style:{color:"#8E8E8E"}},Cr==null?void 0:Cr.title))))),mn.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`}},yn.overall_appraisal)),mn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(yn.work_comment_hidden||yn.work_comment)&&mn.createElement("div",null,mn.createElement(E.Z,{align:"middle"},mn.createElement(b.Z,{flex:1},mn.createElement("h1",{className:Te.title},"\u70B9\u8BC4\u5185\u5BB9")),mn.createElement(b.Z,{className:"pr30"},(0,We.GJ)()&&mn.createElement(be.ZP,{onClick:()=>wn(void 0,null,function*(){Ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:mn.createElement(Fe.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return wn(this,null,function*(){(yield(0,Qr.gZ)({comment_id:yn.comment_id,homeworkId:ya.homeworkId})).status===0&&(se.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},ya),fA.current||{})}))})}})})},mn.createElement(Ee.Z,null),"\u5220\u9664"))),mn.createElement(a.Z,{style:{margin:0}}),yn.work_comment&&mn.createElement("aside",{className:"pl30 pr30 mt20"},mn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),mn.createElement("br",null),mn.createElement(Sr.Z,{value:yn.work_comment})),yn.work_comment_hidden&&mn.createElement("aside",{className:"pl30 pr30 mt20"},mn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),mn.createElement("br",null),mn.createElement(Sr.Z,{value:yn.work_comment_hidden}))),(yn==null?void 0:yn.action_analysis)&&mn.createElement(Mo,{detailData:yn}),mn.createElement("div",{className:Te.score},mn.createElement("h1",{className:Te.title},"\u9636\u6BB5\u6210\u7EE9"),(yn==null?void 0:yn.adjust_review_score_count)>0&&(0,We.GJ)()&&mn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ts(!0),as({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",yn==null?void 0:yn.adjust_review_score_count,"\u6B21\uFF09")),mn.createElement(x.default,{className:Te.TableStyle,dataSource:yn.stage_list,rowKey:Cr=>Cr==null?void 0:Cr.challenge_id,pagination:!1,columns:_s}),((ao=yn==null?void 0:yn.target_test_sets)==null?void 0:ao.length)>0&&mn.createElement("div",null,mn.createElement("h1",{className:Te.title},"\u6307\u6807\u6210\u7EE9"),mn.createElement(x.default,{className:Te.TableStyle,dataSource:xn,rowKey:Cr=>Cr==null?void 0:Cr.challenge_id,pagination:!1,bordered:!0,columns:Pl})),(yn==null?void 0:yn.work_description)&&mn.createElement(mn.Fragment,null,mn.createElement("h1",{className:Te.title},"\u4E2A\u4EBA\u603B\u7ED3"),mn.createElement(Sr.Z,{value:yn==null?void 0:yn.work_description})),mn.createElement("h1",{className:Te.title},"\u56FE\u5F62\u7EDF\u8BA1"),mn.createElement(Tt,{data:za}),mn.createElement("h1",{className:Te.title},"\u5B9E\u8BAD\u8BE6\u60C5")),mn.createElement(Vt,{autoHeight:es}))))),(0,We.GJ)()&&mn.createElement("aside",{className:`sticky ${Te.footerBar}`},mn.createElement("aside",{className:"edu-container flex item-center"},mn.createElement(Ke.Link,{className:Te.exitComment,to:`/classrooms/${ya.coursesId}/shixun_homework/${ya.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),mn.createElement("div",{className:"ml-auto flex item-center gap-20px"},mn.createElement(be.ZP,{disabled:!(yn!=null&&yn.pre_student_work_id),onClick:()=>DA()},"\u4E0A\u4E00\u4E2A"),mn.createElement(be.ZP,{disabled:!(yn!=null&&yn.next_student_work_id),onClick:()=>DA("next")},"\u4E0B\u4E00\u4E2A"),(0,We.GJ)()&&mn.createElement(be.ZP,{className:Te.NewButtonStyle,type:"primary",onClick:()=>wn(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:yn.user_id,data:ai({},yn)},fn:()=>as({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),mn.createElement(Aa,null),mn.createElement(zr.Z,null),mn.createElement(Ie.default,{open:$a,width:860,centered:!0,onCancel:()=>{di(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},mn.createElement("div",{style:{color:"#333333",fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),mn.createElement("br",null),mn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),mn.createElement("br",null),mn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),mn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),mn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),mn.createElement("br",null),mn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),mn.createElement("br",null),mn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),mn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),mn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),mn.createElement("br",null),mn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),mn.createElement("br",null),mn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},mn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),mn.createElement("br",null),mn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),mn.createElement(Ie.default,{open:vi,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ji(!1)},width:600},mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},mn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",mn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),mn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",mn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),mn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",mn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),mn.createElement(Ie.default,{open:So,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{mi("all"),ts(!1)},destroyOnClose:!0,width:900},mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},mn.createElement("div",null,mn.createElement("span",null,"\u5173\u5361\uFF1A"),mn.createElement(z.default,{style:{width:300},value:ii,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Cr=>wn(void 0,null,function*(){mi(Cr),as({page:1,page_size:10},Cr)})},mn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(Oo=yn==null?void 0:yn.stage_list)==null?void 0:Oo.map((Cr,Za)=>mn.createElement(z.default.Option,{key:Za,value:Cr==null?void 0:Cr.challenge_id},"\u7B2C",(0,Ye.EM)(Za+1),"\u5173")))),mn.createElement("div",{className:"mt20"},mn.createElement(x.default,{dataSource:ja,rowKey:Cr=>Cr==null?void 0:Cr.id,pagination:!1,columns:il,loading:WA})),mn.createElement("div",{className:Te.footer},mn.createElement("div",null,mn.createElement("span",{style:{color:"#656F87"}},"\u5171",mn.createElement("span",{className:"c-light-primary"},Bo),"\u6761\u6570\u636E")),mn.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(_a==null?void 0:_a.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Bo,onChange:El})))))};var sa=(0,Ke.connect)(({shixunHomeworks:Mt,classroomList:Ot,loading:Fn,globalSetting:lr,user:Vr})=>({shixunHomeworks:Mt,classroomList:Ot,globalSetting:lr,loading:Fn.effects,user:Vr}))(Or),Ir=Be(27812),ga={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy"},Ia={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Ca=({shixunHomeworks:Mt,data:Ot,globalSetting:Fn,loading:lr,dispatch:Vr})=>{var Br;const{shixunWorkReport:Zr}=Mt;let mr=((Br=Ot==null?void 0:Ot.efficiency_list)==null?void 0:Br.length)-parseInt(Ot==null?void 0:Ot.myself_eff[0]);const ea=()=>({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(ao){return ao.name===Zr.username?"\u59D3\u540D\uFF1A"+Zr.username+"
\u5B66\u53F7\uFF1A "+Zr.user_id+"
\u6548\u7387\uFF1A"+(Ot==null?void 0:Ot.myself_eff[1]):ao.name+":"+ao.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:Ot==null?void 0:Ot.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:Zr.username,xAxis:mr,yAxis:Ot==null?void 0:Ot.myself_eff[1],value:Ot==null?void 0:Ot.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(ao){var Oo=ao.value;if(ao.name===Zr.username)return"\u59D3\u540D\uFF1A"+Zr.username+"
\u5B66\u53F7\uFF1A "+Zr.user_id+"
\u5F97\u5206\uFF1A"+(Ot==null?void 0:Ot.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:Ia,data:Ot==null?void 0:Ot.consume_list,symbolSize:function(ao){return Math.round(ao[2])},markPoint:{data:[{name:Zr.username,xAxis:Ot==null?void 0:Ot.myself_object[0],yAxis:Ot==null?void 0:Ot.myself_object[1],value:Ot==null?void 0:Ot.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(rt.Z,{style:{width:750,height:580},option:ea()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:ga.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Zr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Zr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.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(rt.Z,{style:{width:750,height:580},option:da()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:ga.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Zr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Zr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.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 to=(0,Ke.connect)(({shixunHomeworks:Mt,loading:Ot,globalSetting:Fn})=>({shixunHomeworks:Mt,globalSetting:Fn,loading:Ot.effects}))(Ca),ci=({defaultValue:Mt,onBlur:Ot,max:Fn,className:lr="game-score"})=>{const[Vr,Br]=(0,we.useState)(Mt);(0,we.useEffect)(()=>{Br(Mt)},[Mt]);function Zr(ea){Br(ea)}function mr(){Vr!==Mt&&Ot(Vr>Fn?Fn:Vr)}return we.createElement(At.Z,{max:Fn,min:0,className:lr,value:Vr,onChange:Zr,onBlur:mr})},wr={md:"md___TEmcT"},Ua=Be(59301),oi=Object.defineProperty,Do=Object.defineProperties,Go=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,yi=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable,Li=(Mt,Ot,Fn)=>Ot in Mt?oi(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,dA=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))yi.call(Ot,Fn)&&Li(Mt,Fn,Ot[Fn]);if(co)for(var Fn of co(Ot))zi.call(Ot,Fn)&&Li(Mt,Fn,Ot[Fn]);return Mt},Qi=(Mt,Ot)=>Do(Mt,Go(Ot));const To=z.default.Option,AA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var XA=(Mt=>(Mt[Mt.SET_PATH=0]="SET_PATH",Mt[Mt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Mt))(XA||{});function Gi(Mt,Ot){switch(Ot.type){case 0:return Qi(dA({},Mt),{selectedPath:Ot.payload});case 1:return Qi(dA({},Mt),{passedContent:Ot.payload});default:throw new Error}}var br=({path:Mt,game_id:Ot,onPathChange:Fn,autoHeight:lr,diff_code_count:Vr,data:Br,game_codes_cn:Zr})=>{var mr,ea,da,ao;const Oo=Mt.split("\uFF1B").filter(za=>!!za),[ya,uo]=(0,we.useReducer)(Gi,{selectedPath:Oo[0],passedContent:{language:"python",content:""}}),{selectedPath:Ta,passedContent:_a}=ya;function ta(za){uo({type:0,payload:za})}const ka={\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 Ua.createElement(Ua.Fragment,null,Ua.createElement("h2",null," ",Ua.createElement("span",null,Zr,Ua.createElement(oe.Z,{title:Ua.createElement("div",null,Ua.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ua.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ua.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"),Ua.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ua.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Vr&&Ua.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Vr),Ua.createElement("span",null,Ua.createElement(z.default,{style:{width:200},value:Ta,onChange:ta}," ",Oo.map(za=>Ua.createElement(To,{key:za,value:za},za))," "))," "),(Ta==null?void 0:Ta.split(".")[1])==="md"&&Ua.createElement(gt.Z,{height:300,autoHeight:lr,defaultValue:((ea=(mr=Br==null?void 0:Br.filter(za=>za.path===Ta))==null?void 0:mr[0])==null?void 0:ea.content)||"",className:wr.md}),(Ta==null?void 0:Ta.split(".")[1])!=="md"&&Ua.createElement(st.ZP,{height:300,language:_a.language,value:((ao=(da=Br==null?void 0:Br.filter(za=>za.path===Ta))==null?void 0:da[0])==null?void 0:ao.content)||"",autoHeight:lr,theme:"default",isCopy:!0,options:AA}))},Gl=Be(85788),Fs=Object.defineProperty,xs=Object.defineProperties,JA=Object.getOwnPropertyDescriptors,Kr=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,va=(Mt,Ot,Fn)=>Ot in Mt?Fs(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,Uo=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))Pa.call(Ot,Fn)&&va(Mt,Fn,Ot[Fn]);if(Kr)for(var Fn of Kr(Ot))lo.call(Ot,Fn)&&va(Mt,Fn,Ot[Fn]);return Mt},Yo=(Mt,Ot)=>xs(Mt,JA(Ot)),wi=(Mt,Ot,Fn)=>new Promise((lr,Vr)=>{var Br=ea=>{try{mr(Fn.next(ea))}catch(da){Vr(da)}},Zr=ea=>{try{mr(Fn.throw(ea))}catch(da){Vr(da)}},mr=ea=>ea.done?lr(ea.value):Promise.resolve(ea.value).then(Br,Zr);mr((Fn=Fn.apply(Mt,Ot)).next())});const Fa=({shixunHomeworks:Mt,autoHeight:Ot,classroomList:Fn,dispatch:lr})=>{var Vr,Br,Zr,mr,ea,da,ao,Oo;const{shixunWorkReport:ya}=Mt,{stage_list:uo,work_id:Ta,ai_code_evaluation_promote:_a}=ya,[ta,ka]=(0,we.useState)(!1),[za,vo]=(0,we.useState)(!0),[_o,Jo]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),Ni=(0,we.useRef)(null),[hi,qi]=(0,we.useState)(!1),[WA,gA]=(0,we.useState)(""),es=(0,we.useRef)(null),Ls=(Ka,$a)=>{var di;const{clientWidth:vi,clientHeight:ji}=window.document.documentElement,So=(di=Ni.current)==null?void 0:di.getBoundingClientRect();So&&Jo({left:-So.left+$a.x,right:vi-(So.right-$a.x),top:-So.top+$a.y,bottom:ji-(So.bottom-$a.y)})},yn=(0,Ke.useParams)(),xn=(0,We.GJ)(),sA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log(yn)},[]);const ja=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Ka,$a,di)=>we.createElement("div",null,Ka,$a.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:Ka=>Ze()(Ka).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Ka,$a)=>we.createElement("span",{className:"c-blue current",onClick:()=>wi(void 0,null,function*(){var di,vi;const ji=yield(0,Re.Lk)($a.game_identifier,{path:(vi=(di=$a.path)==null?void 0:di.replace(/\;/g,";"))==null?void 0:vi.split(";")[0],query_index:$a.query_index,homework_common_id:yn.categoryId});(ji==null?void 0:ji.status)===0&&(qi(ji),ka(!0))})},$a.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],xa=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Ka,$a)=>{var di;return we.createElement("span",null,we.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((di=$a==null?void 0:$a.user)==null?void 0:di.image_url)}),Ka)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Ka=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Ka,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Ka=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Ka,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Ka=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Ka?Ze()(Ka).format("YYYY-MM-DD HH:mm"):"--")}];function Bo(Ka,$a){return wi(this,null,function*(){const{challenge_id:di}=uo[Ka],vi=yield lr({type:"shixunHomeworks/changeScore",payload:{categoryId:yn.homeworkId,type:"report",score:$a,challenge_id:di}});yield lr({type:"shixunHomeworks/getShixunWorkReport",payload:Uo({},yn)}),vi.status===0&&se.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Oi(Ka,$a){return(0,ve.U2)(`student_works/${Ta}/rep_passed_content.json`,{path:$a,game_id:Ka})}const[ii,mi]=(0,we.useState)((Vr=ya==null?void 0:ya.shixun_detail)==null?void 0:Vr.map(Ka=>Yo(Uo({},Ka),{commentEdit:!1}))),_i=Ka=>Ka.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[ZA,$i]=(0,we.useState)(!1),ra=(Ka,$a)=>wi(void 0,null,function*(){var di,vi;$i(!0),es.current=new Gl.Z(Qe.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-max",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:_a,shixun_id:ya==null?void 0:ya.myshixun_identifier,game_id:Ka==null?void 0:Ka.id,source:"shixun",is_chat:!1,type:9,description:Ka==null?void 0:Ka.challenge_description,query:(vi=(di=Ka==null?void 0:Ka.game_codes)==null?void 0:di[0])==null?void 0:vi.content,homework_common_id:yn.categoryId}),yield new Promise((ji,So)=>{es.current.on("data",ts=>{const ns=[...ii];ns[$a].comment=_i(ts==null?void 0:ts.full),mi(ns)}),es.current.on("done",()=>wi(void 0,null,function*(){var ts;$i(!1);const ns=[...ii],NA=yield(0,ve.ZP)(`/api/student_works/${yn==null?void 0:yn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Ka==null?void 0:Ka.challenge_id,comment:ns[$a].comment}});if((NA==null?void 0:NA.status)==0){se.ZP.success("\u8BC4\u4EF7\u6210\u529F");const rs=[...ii];rs[$a].comment_updated_at=(ts=NA==null?void 0:NA.data)==null?void 0:ts.comment_updated_at,mi(rs)}})),es.current.startStream()})});return we.createElement(we.Fragment,null,ii==null?void 0:ii.map(function(Ka,$a){var di,vi;return we.createElement("div",{key:$a},we.createElement("aside",{className:"pl30 pr30",key:$a},we.createElement("div",{className:`${ga.shixunTitle} mt10`},we.createElement("div",null,we.createElement("span",{className:"fa fa-code "}),we.createElement("strong",{className:"c-black"},"\u7B2C",$a+1,"\u5173 ",we.createElement(Ke.Link,{className:"c-black",target:"_blank",to:`/tasks/${yn.coursesId}/${yn.categoryId}/${Ka.game_identifier}`},Ka.subject))),xn?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement(ci,{className:"game-score",max:uo[$a].game_score_full,defaultValue:uo[$a].game_score,onBlur:ji=>{var So;if((0,We.Rm)()&&!((So=Fn.AssistantObject.practice)!=null&&So.can_appraise)){se.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}Bo($a,ji)}})):null),we.createElement("div",{className:"font16 mt10"},Ka.st===0&&(Ka.path?typeof(Ka==null?void 0:Ka.game_codes_cn)=="string"?we.createElement("aside",{className:ga.shixunWrp},we.createElement(br,{game_codes_cn:Ka==null?void 0:Ka.game_codes_cn,autoHeight:Ot,path:Ka.path,game_id:Ka.id,data:Ka.game_codes,diff_code_count:Ka.diff_code_count,onPathChange:Oi})):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\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Ka.st===1&&(Ka.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\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),we.createElement("aside",{className:"mt10 font16"},(di=Ka.outputs)!=null&&di.length?we.createElement(x.default,{columns:ja,pagination:{hideOnSinglePage:!0},dataSource:Ka.outputs.map(ji=>Uo(Uo({},Ka),ji))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((vi=Ka==null?void 0:Ka.adjust_review_score_list)==null?void 0:vi.length)>0&&(0,We.GJ)()&&we.createElement("div",null,we.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),we.createElement(x.default,{columns:xa,pagination:{hideOnSinglePage:!0},dataSource:Ka.adjust_review_score_list,showHeader:!1})))))}),we.createElement(Ie.default,{open:ta,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{qi({}),ka(!1)},onCancel:()=>{qi({}),ka(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{za&&vo(!1)},onMouseOut:()=>{vo(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Ka=>we.createElement(le(),{disabled:za,bounds:_o,nodeRef:Ni,onStart:($a,di)=>Ls($a,di)},we.createElement("div",{ref:Ni},Ka))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},((Br=hi==null?void 0:hi.data)==null?void 0:Br.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:((Zr=hi==null?void 0:hi.data)==null?void 0:Zr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(mr=hi==null?void 0:hi.data)==null?void 0:mr.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()((ea=hi==null?void 0:hi.data)==null?void 0:ea.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"}},(da=hi==null?void 0:hi.data)==null?void 0:da.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(ao=hi==null?void 0:hi.data)==null?void 0:ao.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"}},((Oo=hi==null?void 0:hi.data)==null?void 0:Oo.test_set_passed_rate)*100,"%")))),we.createElement(st.ZP,{height:500,autoHeight:Ot,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((hi==null?void 0:hi.content)||""))),options:sA})))};var Ji=(0,Ke.connect)(({shixunHomeworks:Mt,loading:Ot,globalSetting:Fn,classroomList:lr})=>({shixunHomeworks:Mt,globalSetting:Fn,loading:Ot.effects,classroomList:lr}))(Fa),Na={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Ba=Be(59301),ml=Object.defineProperty,ms=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,qA=Object.prototype.propertyIsEnumerable,jA=(Mt,Ot,Fn)=>Ot in Mt?ml(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,vs=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))ps.call(Ot,Fn)&&jA(Mt,Fn,Ot[Fn]);if(ms)for(var Fn of ms(Ot))qA.call(Ot,Fn)&&jA(Mt,Fn,Ot[Fn]);return Mt},$A=(Mt,Ot,Fn)=>new Promise((lr,Vr)=>{var Br=ea=>{try{mr(Fn.next(ea))}catch(da){Vr(da)}},Zr=ea=>{try{mr(Fn.throw(ea))}catch(da){Vr(da)}},mr=ea=>ea.done?lr(ea.value):Promise.resolve(ea.value).then(Br,Zr);mr((Fn=Fn.apply(Mt,Ot)).next())});const _A=({shixunHomeworks:Mt,dispatch:Ot,classroomList:Fn})=>{const{shixunWorkReport:lr}=Mt,Vr=(0,Ke.useParams)(),[Br,Zr]=(0,we.useState)(!1),[mr]=Bn.default.useForm(),[ea,da]=Ie.default.useModal(),[ao,Oo]=(0,we.useState)(!1),[ya,uo]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var ta,ka,za,vo;Mt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(ka=(ta=Mt.actionTabs.selectArrs)==null?void 0:ta.data)==null?void 0:ka.work_comment,hidden_comment:(vo=(za=Mt.actionTabs.selectArrs)==null?void 0:za.data)==null?void 0:vo.work_comment_hidden})},[Mt.actionTabs.key]);const Ta=()=>$A(void 0,null,function*(){const ta=mr.getFieldsValue();(yield(0,ve.ZP)(`/api/student_works/${Vr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ta.hidden_comment,comment:ta.comment}})).status===0&&(se.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Ot({type:"shixunHomeworks/setActionTabs",payload:{}}),Ot({type:"shixunHomeworks/getShixunWorkReport",payload:vs({},Vr)}))}),_a=[{title:"\u5173\u5361",dataIndex:"name",render:(ta,ka,za)=>za+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ta,ka,za)=>Ba.createElement("div",null,ta,ka.complete_status===4&&Ba.createElement(Ye.vA,{status:ka.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:ta=>ta?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ta,ka)=>Ba.createElement("div",null,Ba.createElement("span",{style:{color:parseFloat(ka.game_score_full)!==parseFloat(ta)?"#E30000":"#53C41B"}},ta),"/",ka.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ta,ka)=>(0,We.GJ)()?Ba.createElement(ci,{max:ka.game_score_full,defaultValue:parseFloat(ta),onBlur:za=>$A(void 0,null,function*(){var vo,_o;if((0,We.Rm)()&&!((vo=Fn.AssistantObject.practice)!=null&&vo.can_appraise)){se.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 Jo=yield Ot({type:"shixunHomeworks/changeScore",payload:{categoryId:Vr.homeworkId,type:"report",score:za,challenge_id:ka.challenge_id}});(_o=Mt==null?void 0:Mt.actionTabs)==null||_o.fn(),yield Ot({type:"shixunHomeworks/getShixunWorkReport",payload:vs({},Vr)}),Jo.status===0&&se.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ta}];return Ba.createElement(Ba.Fragment,null,da,Ba.createElement(Ie.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Mt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$A(void 0,null,function*(){var ta;if((0,We.Rm)()&&!((ta=Fn.AssistantObject.practice)!=null&&ta.can_appraise)){se.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 ka=mr.getFieldsValue();JSON.stringify(ka)==="{}"||ka.hidden_comment===""&&ka.comment===""?Zr(!0):Ta()}),onCancel:()=>{Ot({type:"shixunHomeworks/setActionTabs",payload:{}})}},Ba.createElement(E.Z,{justify:"space-between",className:Na.info},Ba.createElement(b.Z,null,Ba.createElement("span",{className:`${Na.label} ${Na.greyText}`},"\u59D3\u540D"),Ba.createElement("span",{className:Na.blackContent},lr==null?void 0:lr.username)),Ba.createElement(b.Z,null,Ba.createElement("span",{className:`${Na.label} ${Na.greyText}`},"\u5B66\u53F7"),Ba.createElement("span",{className:Na.blackContent},(lr==null?void 0:lr.student_id)||"--")),Ba.createElement(b.Z,null,Ba.createElement("span",{className:`${Na.label} ${Na.greyText}`},"\u73ED\u7EA7"),Ba.createElement("span",{className:Na.blackContent},(lr==null?void 0:lr.group_name)||"--")),Ba.createElement(b.Z,null,Ba.createElement("span",{className:`${Na.label} ${Na.greyText}`},"\u5173\u5361\u5F97\u5206"),Ba.createElement("span",{className:Na.orangeContent},(lr==null?void 0:lr.challenge_score)||"--")),Ba.createElement(b.Z,null,Ba.createElement("span",{className:`${Na.label} ${Na.greyText}`},"\u6548\u7387\u5206"),Ba.createElement("span",{className:Na.orangeContent},(lr==null?void 0:lr.eff_score)||"--")),Ba.createElement(b.Z,null,Ba.createElement("span",{className:`${Na.label} ${Na.greyText}`},"\u8865\u4EA4\u6263\u5206"),Ba.createElement("span",{className:Na.orangeContent},(lr==null?void 0:lr.late_penalty)||"--")),Ba.createElement(b.Z,null,Ba.createElement("span",{className:`${Na.label} ${Na.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Ba.createElement("span",{className:Na.orangeContent},(lr==null?void 0:lr.work_score)||"--"))),Ba.createElement(Bn.default,{form:mr,onChange:()=>{Br&&Zr(!1)}},Ba.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ba.createElement(b.Z,null,Ba.createElement("div",{className:`${Na.inputLabel} ${Na.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ba.createElement(b.Z,null,Ba.createElement(dn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:ao,onCancel:()=>{Oo(!1)}},onDataSelect:(ta,ka)=>$A(void 0,[ta,ka],function*(za,{node:vo}){const _o=()=>{mr.setFieldsValue({comment:vo==null?void 0:vo.value}),Oo(!1)};if(mr.getFieldValue("comment")){ea.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:_o});return}_o()})},Ba.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Ba.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ta=>{Oo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ba.createElement(Bn.default.Item,{name:"comment"},Ba.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Ba.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Ba.createElement(b.Z,null,Ba.createElement("div",{className:`${Na.inputLabel} ${Na.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ba.createElement(b.Z,null,Ba.createElement(dn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:ya,onCancel:()=>{uo(!1)}},onDataSelect:(ta,ka)=>$A(void 0,[ta,ka],function*(za,{node:vo}){const _o=()=>{mr.setFieldsValue({hidden_comment:vo==null?void 0:vo.value}),uo(!1)};if(mr.getFieldValue("hidden_comment")){ea.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:_o});return}_o()})},Ba.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Ba.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ta=>{uo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ba.createElement(Bn.default.Item,{name:"hidden_comment"},Ba.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Br&&Ba.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Ba.createElement("div",{className:Na.tableTitle},"\u5173\u5361\u6210\u7EE9"),Ba.createElement(x.default,{className:Na.scoreTable,dataSource:lr.stage_list,rowKey:"challenge_id",pagination:!1,columns:_a,scroll:{x:"max-content"}})))};var Ii=(0,Ke.connect)(({shixunHomeworks:Mt,classroomList:Ot})=>({shixunHomeworks:Mt,classroomList:Ot}))(_A),Xn=Be(97610),Gn={wrap:"wrap___LZOi9",line:"line___oju0L"},_r=({detailData:Mt})=>{var Ot;return we.createElement("div",{className:Gn.wrap},we.createElement(Yr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Yr.Uf)(Mt),(Mt==null?void 0:Mt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(Yr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Yr.Uf)(Mt)}),!!((Ot=Mt==null?void 0:Mt.photos)!=null&&Ot.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:Gn.line}),we.createElement(Yr._s,{dataSource:Mt==null?void 0:Mt.photos,right:21,col:4,wrapWidth:1140}))))},tn=Be(59301),io=Object.defineProperty,kr=Object.defineProperties,no=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,Qo=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,Sa=(Mt,Ot,Fn)=>Ot in Mt?io(Mt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):Mt[Ot]=Fn,fo=(Mt,Ot)=>{for(var Fn in Ot||(Ot={}))Qo.call(Ot,Fn)&&Sa(Mt,Fn,Ot[Fn]);if(Da)for(var Fn of Da(Ot))Qa.call(Ot,Fn)&&Sa(Mt,Fn,Ot[Fn]);return Mt},ro=(Mt,Ot)=>kr(Mt,no(Ot)),fi=(Mt,Ot)=>{var Fn={};for(var lr in Mt)Qo.call(Mt,lr)&&Ot.indexOf(lr)<0&&(Fn[lr]=Mt[lr]);if(Mt!=null&&Da)for(var lr of Da(Mt))Ot.indexOf(lr)<0&&Qa.call(Mt,lr)&&(Fn[lr]=Mt[lr]);return Fn},Ma=(Mt,Ot,Fn)=>new Promise((lr,Vr)=>{var Br=ea=>{try{mr(Fn.next(ea))}catch(da){Vr(da)}},Zr=ea=>{try{mr(Fn.throw(ea))}catch(da){Vr(da)}},mr=ea=>ea.done?lr(ea.value):Promise.resolve(ea.value).then(Br,Zr);mr((Fn=Fn.apply(Mt,Ot)).next())});const Xo=Mt=>{var Ot=Mt,{shixunHomeworks:Fn,classroomList:lr,globalSetting:Vr,loading:Br,user:Zr,dispatch:mr}=Ot,ea=fi(Ot,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),da,ao,Oo;const[ya,uo]=(0,we.useState)(fo({},(0,Ke.useParams)())),Ta=(0,Ke.useParams)(),[_a,ta]=(0,we.useState)({page:1,page_size:10}),ka=(0,Ke.useLocation)(),[]=(0,we.useState)([]),[za,vo]=(0,we.useState)(),_o=(0,we.useRef)(),Jo=(0,we.useRef)(),[Ni,hi]=(0,we.useState)(!1),[qi,WA]=(0,we.useState)(!0),[gA,es]=(0,we.useState)(!1),[Ls,yn]=(0,we.useState)(!1),{shixunWorkReport:xn}=Fn,[sA,ja]=(0,we.useState)(),[xa,Bo]=(0,we.useState)([]),[Oi,ii]=(0,we.useState)(),[mi,_i]=(0,we.useState)("all"),ZA=(0,We.GJ)(),[$i,ra]=(0,we.useState)(new(he())),[Ka,$a]=(0,we.useState)(0),[di,vi]=(0,we.useState)(!1),[ji,So]=(0,we.useState)(!1),[ts,ns]=(0,we.useState)(!1),[NA,rs]=(0,we.useState)(""),[Is,Cl]=(0,we.useState)(!1),[bl,Hi]=(0,we.useState)(!0),[VA,fA]=(0,we.useState)(0),ni=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),hA=(0,we.useRef)(),al=()=>Ma(void 0,null,function*(){(Zr.userInfo.is_teacher||Zr.userInfo.admin)&&(Cl(!0),Hi(!1))});(0,we.useEffect)(()=>{var dr;(0,We.Rm)()&&lr.AssistantObject.practice&&!((dr=lr.AssistantObject.practice)!=null&&dr.can_view)&&Ke.history.replace("/403")},[(da=lr.AssistantObject.practice)==null?void 0:da.can_view]),(0,we.useEffect)(()=>{al(),console.log("\u6253\u5370\u7684------",xn),hA.current=xn==null?void 0:xn.next_student_work_id,rs(xn.repeat_minus_score)},[xn,Zr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",xn.work_score),fA(xn.work_score)},[xn.work_score,NA]),(0,we.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var dr;if(xn){let La=[];(dr=xn==null?void 0:xn.target_test_sets)==null||dr.map((po,Ri)=>{var Wi;(Wi=po==null?void 0:po.targets)==null||Wi.map((Mi,Ss)=>{var Ns;Mi.name=po==null?void 0:po.name,Mi.total_target_score=po==null?void 0:po.total_target_score,Mi.actual_target_score=po==null?void 0:po.actual_target_score,Mi.rowSpan=Ss===0?(Ns=po==null?void 0:po.targets)==null?void 0:Ns.length:0,Mi.order=Ri+1,La.push(Mi)})}),ja(La),(0,We.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:ya.coursesId}})}},[xn]),(0,we.useEffect)(()=>{Fn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(xn==null?void 0:xn.students_count)>0&&!qi&&setTimeout(()=>{Gs("all")},800)},[xn==null?void 0:xn.homework_common_id,qi]),(0,we.useEffect)(()=>{uo(fo({},Ta))},[ka.pathname]);const El=()=>{document.body.scrollIntoView()},as=dr=>{_a.page=dr,ta(fo({},_a)),HA(_a,mi)},HA=(dr,La)=>Ma(void 0,null,function*(){es(!0);const po=yield(0,ve.ZP)(`/api/student_works/${ya==null?void 0:ya.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:ro(fo({},dr),{challenge_id:La=="all"?null:La})});(po==null?void 0:po.status)===0&&(Bo(po==null?void 0:po.list),ii(po==null?void 0:po.count)),es(!1)});function ol(){return Ma(this,null,function*(){ni.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Bs=()=>{document.querySelectorAll("canvas").forEach(dr=>{(!dr.clientWidth||!dr.clientHeight)&&dr.remove()})},bA=()=>{_o.current.offsetHeight>62e3?yn(!1):yn(!0)},zs=dr=>Ma(void 0,null,function*(){const La=yield(0,Qr.t1)({homeworkId:dr||ya.homeworkId});vo(La==null?void 0:La.data)}),Gs=dr=>Ma(void 0,null,function*(){var La,po,Ri,Wi;let Mi=0,Ss;Ss=Ie.default.info({width:460,title:tn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",tn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:tn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tn.createElement("span",{className:"c-blue"},Mi+1),"/",dr!=="all"?1:xn==null?void 0:xn.students_count,tn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ga.modal,onOk:()=>{}});const Ns={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"}},Ds=$i.folder(xn==null?void 0:xn.shixun_name);function ko(Us){return Ma(this,null,function*(){yield zs(Us||hA.current);const Co=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:fo({homeworkId:Us||hA.current},ni.current||{})});hA.current=Co==null?void 0:Co.next_student_work_id,El(),Mi++,setTimeout(()=>Ma(this,null,function*(){var PA,Zi,mA,eA;Bs();const Qs=Ds.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}`),ae=document.querySelector("#export-all").children;let te=ma()();for(let re=0;reMa(this,null,function*(){re0&&((mA=(Zi=Co==null?void 0:Co.shixun_detail)==null?void 0:Zi.filter(re=>{var ge;return((ge=re==null?void 0:re.game_codes)==null?void 0:ge.length)>0}))==null?void 0:mA.length)>0){const re=Qs.folder("\u4EE3\u7801\u6587\u4EF6");(eA=Co==null?void 0:Co.shixun_detail)==null||eA.map((ge,Ce)=>{var Se,Ne;if(((Se=ge==null?void 0:ge.game_codes)==null?void 0:Se.length)>0){const ke=re.folder(`\u7B2C${Ce+1}\u5173-${ge.subject}-${ge.id}`);(Ne=ge==null?void 0:ge.game_codes)==null||Ne.map(_e=>{ke.file(`${_e.filename}.txt`,_e==null?void 0:_e.content)})}})}Ss.update({content:tn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tn.createElement("span",{className:"c-blue"},Mi),"/",Co==null?void 0:Co.students_count,tn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Mi==(Co==null?void 0:Co.students_count)?(Ss.destroy(),_s()):ko()}),2200)})}if(dr!=="all"||(xn==null?void 0:xn.students_count)<2){Bs(),El();const Us=Jo.current.children;let Co=ma()();const Zi=Ds.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 mA=0;mAMa(void 0,null,function*(){mA0&&((Ri=(po=xn==null?void 0:xn.shixun_detail)==null?void 0:po.filter(mA=>{var eA;return((eA=mA==null?void 0:mA.game_codes)==null?void 0:eA.length)>0}))==null?void 0:Ri.length)>0){const mA=Zi.folder("\u4EE3\u7801\u6587\u4EF6");(Wi=xn==null?void 0:xn.shixun_detail)==null||Wi.map((eA,ys)=>{var Qs,ae;if(((Qs=eA==null?void 0:eA.game_codes)==null?void 0:Qs.length)>0){const te=mA.folder(`\u7B2C${ys+1}\u5173-${eA.subject}-${eA.id}`);(ae=eA==null?void 0:eA.game_codes)==null||ae.map(re=>{te.file(`${re.filename}.txt`,re==null?void 0:re.content)})}})}Ss.destroy(),_s();return}else ko(xn==null?void 0:xn.first_student_work_id)}),_s=()=>{$i.generateAsync({type:"blob"}).then(function(dr){console.log(xn,"shixunWorkReport");const La=document.createElement("a");La.href=window.URL.createObjectURL(dr),La.download=(xn==null?void 0:xn.shixun_name)+".zip",document.body.appendChild(La);const po=document.createEvent("MouseEvents");po.initEvent("click",!1,!1),La.dispatchEvent(po),document.body.removeChild(La),ra(new(he()))}),yn(!1)};(0,we.useEffect)(()=>{Pl()},[ya.homeworkId]);const Pl=()=>Ma(void 0,null,function*(){WA(!0),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:fo(fo({},ya),ni.current||{})}),zs(),(0,We.GJ)()&&ol(),WA(!1)}),il=[{title:"\u5173\u5361",dataIndex:"name",render:(dr,La,po)=>po+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(dr,La,po)=>tn.createElement("div",null,dr,La.complete_status===4&&tn.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:(dr,La,po)=>dr||"- -"},{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:dr=>dr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(dr,La)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(La.myself_experience)!==parseFloat(dr)?"red":"green"}},La.myself_experience),"/",dr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(dr,La)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(La.game_score_full)!==parseFloat(dr)?"red":"green"}},dr),"/",La.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(dr,La)=>ZA?tn.createElement(ci,{max:La.game_score_full,defaultValue:parseFloat(dr),onBlur:po=>Ma(void 0,null,function*(){var Ri;if((0,We.Rm)()&&!((Ri=lr.AssistantObject.practice)!=null&&Ri.can_appraise)){se.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 Wi=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:ya.homeworkId,type:"report",score:po,challenge_id:La.challenge_id}});HA({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:fo(fo({},ya),ni.current||{})}),Wi.status===0&&se.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):dr}];let DA=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(dr,La,po)=>({children:dr,props:{rowSpan:La.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(dr,La,po)=>({children:dr,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:(dr,La,po)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(La.actual_test_score)!==parseFloat(dr)?"red":"green"}},La.actual_test_score),"/",dr)},{title:"\u6307\u6807\u603B\u5206",render:(dr,La,po)=>({children:tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(La.actual_target_score)!==parseFloat(dr)?"red":"green"}},La.actual_target_score),"/",dr),props:{rowSpan:La.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const UA=[{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:dr=>tn.createElement("span",null,dr?Ze()(dr).format("YYYY-MM-DD HH:mm"):"--")}],EA=dr=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{dr==="next"?Ke.history.push(`/classrooms/${ya.coursesId}/shixun_homework/${ya.categoryId}/${xn==null?void 0:xn.next_student_work_id}/comment`):Ke.history.push(`/classrooms/${ya.coursesId}/shixun_homework/${ya.categoryId}/${xn==null?void 0:xn.pre_student_work_id}/comment`)},200)},Cr=dr=>{rs(""),dr.target.value&&(console.log("\u8FDB\u6765",xn),dr.target.value=dr.target.value>xn.repeat_setting_score?xn.repeat_setting_score:dr.target.value,rs(dr.target.value))},Za=()=>Ma(void 0,null,function*(){const dr=yield(0,ve.ZP)(`/api/student_works/${xn==null?void 0:xn.work_id}/update_repeat_score`,{method:"put",body:{score:NA}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:fo(fo({},ya),ni.current||{})}),dr.status===0&&se.ZP.info("\u64CD\u4F5C\u6210\u529F")});return tn.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},tn.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},tn.createElement(Ue.Z,{loading:Br["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},tn.createElement("div",{className:"edu-container"},xn.course_id&&tn.createElement("section",{className:"animated fadeIn"},tn.createElement("aside",{className:""},xn.category&&tn.createElement(Pe.Z,{separator:">"},tn.createElement(Pe.Z.Item,null,tn.createElement(Ke.Link,{to:`/classrooms/${xn.course_id}/shixun_homework`},xn.course_name)),tn.createElement(Pe.Z.Item,null,tn.createElement(Ke.Link,{to:`/classrooms/${xn.course_id}/shixun_homework/${xn.category.main?"":xn.category.category_id}`},xn.category.category_name)),tn.createElement(Pe.Z.Item,null,tn.createElement(Ke.Link,{to:`/classrooms/${xn.course_id}/shixun_homework/${xn.homework_common_id}/detail${(0,We.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),tn.createElement(Pe.Z.Item,null,xn.username))),tn.createElement("aside",{className:[ga.title1,"mt20"].join(" ")},tn.createElement(E.Z,{align:"middle"},tn.createElement(b.Z,{flex:1},tn.createElement(Ke.Link,{to:`/classrooms/${xn.course_id}/shixun_homework/${xn.homework_common_id}/detail`},tn.createElement(Ir.Z,{className:"font16 c-black"})),tn.createElement("strong",{className:"font20 ml5"},xn==null?void 0:xn.homework_name),tn.createElement(Ye.VV,{temporary:!0,status:xn.homework_status})),tn.createElement(b.Z,{className:ga.title1_right},xn.view_tpi&&tn.createElement(be.ZP,{onClick:()=>{var dr,La;(0,Ye.xg)(`/tasks/${xn==null?void 0:xn.course_id}/${xn==null?void 0:xn.homework_common_id}/${(La=(dr=xn==null?void 0:xn.shixun_detail)==null?void 0:dr[0])==null?void 0:La.game_identifier}`)}},tn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,We.GJ)()&&xn.homework_end===!1&&!!xn.myshixun_id&&tn.createElement(be.ZP,{className:"ml10",onClick:()=>Ma(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:xn.myshixun_identifier},homework_common_id:Ta.categoryId}})})},tn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),tn.createElement(be.ZP,{className:"ml10",onClick:()=>{var dr;if((0,We.Rm)()&&!((dr=lr.AssistantObject.practice)!=null&&dr.can_download)){se.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}Gs("")},loading:Ni},tn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,We.GJ)()&&(xn==null?void 0:xn.students_count)>1&&tn.createElement(be.ZP,{className:"ml10",onClick:()=>{var dr;if((0,We.Rm)()&&!((dr=lr.AssistantObject.practice)!=null&&dr.can_download)){se.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}Ie.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:tn.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:tn.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:()=>{Gs("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,na.jj)({categoryId:ya.categoryId,coursesId:ya.coursesId},"shixun_report")}}})}},tn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),tn.createElement("aside",{className:"mt30 relative"})),tn.createElement("aside",{className:"edu-container bg-white",ref:_o},tn.createElement("div",{id:"export-all",ref:Jo},tn.createElement("div",{id:"export-all-1"},tn.createElement("div",{className:ga.title},tn.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),tn.createElement("div",null,(0,We.GJ)()&&tn.createElement(be.ZP,{className:"mr20",type:"primary",onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:xn.user_id,data:fo({},xn)},fn:()=>HA({page:1,page_size:10},"all")}})}},tn.createElement(ce.Z,null),xn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),tn.createElement(a.Z,{style:{marginTop:0}}),tn.createElement(E.Z,{className:"pl30 pr30"},tn.createElement(b.Z,null,tn.createElement("img",{className:ga.userPic,src:`${Qe.Z.IMG_SERVER}/images/${xn.image_url}`,alt:xn.username})),tn.createElement(b.Z,null,tn.createElement("span",{className:"font16 ml40"},xn.username),tn.createElement(Ye.vA,{status:xn.compelete_status}),tn.createElement("ul",{className:ga.userInfo},tn.createElement("li",null,"\u5B66\u53F7\uFF1A",xn.student_id||"--"),tn.createElement("li",null,"\u5206\u73ED\uFF1A",xn.group_name||"--"),tn.createElement("br",null),tn.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",tn.createElement("span",{className:"c-red"},xn.complete_count),"/",tn.createElement("span",{className:"c-red"},xn.challenges_count)),tn.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",tn.createElement("span",{className:"c-red"},xn.current_complete_count||"-"),"/",tn.createElement("span",{className:"c-red"},xn.challenges_count)),tn.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",xn&&xn.efficiency===null?"--":xn&&xn.efficiency),tn.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",xn&&xn.max_efficiency===null?"--":xn&&xn.max_efficiency))),tn.createElement("ul",{className:[ga.listItem,"mt10"].join(" ")},tn.createElement("li",null,tn.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),tn.createElement("div",{className:"c-light-black mt20"},xn&&xn.passed_time===null||xn&&xn.passed_time==="--"?"--":Ze()(xn&&xn.passed_time).format("YYYY-MM-DD HH:mm"))),tn.createElement("li",null,tn.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",tn.createElement("i",{onClick:dr=>{dr.stopPropagation(),dr.preventDefault(),vi(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tn.createElement("div",{className:"c-light-black mt20"},xn==null?void 0:xn.human_training_time_rules)),tn.createElement("li",null,tn.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",tn.createElement("i",{onClick:dr=>{dr.stopPropagation(),dr.preventDefault(),So(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tn.createElement("div",{className:"c-light-black mt20"},xn.time_consuming)),tn.createElement("li",null,tn.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),tn.createElement("div",{className:"mt20"},xn.evaluate_count)),(xn==null?void 0:xn.eff_score_full)&&tn.createElement(tn.Fragment,null,tn.createElement("li",null,tn.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},xn.challenge_score),"/",tn.createElement("span",{className:"c-light-black"},xn.challenge_score_full))),tn.createElement("li",null,tn.createElement("strong",null,"\u6548\u7387\u5206"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},xn.eff_score),"/",tn.createElement("span",{className:"c-light-black"},xn.eff_score_full)))),(xn==null?void 0:xn.have_repeat)&&(xn==null?void 0:xn.repeat_minus_score)!==0&&tn.createElement("li",{style:{position:"relative"}},tn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},tn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},xn!=null&&xn.review_rate?tn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(xn!=null&&xn.review_id&&Is)localStorage.setItem("studentDetial",window.location.pathname),Ke.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${ya.categoryId}/review_detail/${xn==null?void 0:xn.review_id}`});else return}},xn.review_rate.toFixed(1),"%"):tn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),Is?tn.createElement("div",{className:"mt20"},tn.createElement(y.default,{style:{width:"45px",height:"22px"},value:NA,onChange:dr=>{Cr(dr)},onBlur:Za,disabled:bl})," / ",xn==null?void 0:xn.repeat_setting_score):tn.createElement("div",{className:"mt20"},xn==null?void 0:xn.repeat_minus_score," / ",xn==null?void 0:xn.repeat_setting_score)),console.log("sssssssssssssssssssssss",xn==null?void 0:xn.have_repeat,xn==null?void 0:xn.repeat_minus_score),(xn==null?void 0:xn.have_repeat)&&(xn==null?void 0:xn.repeat_minus_score)===0&&tn.createElement("li",null,tn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tn.createElement("div",{className:"mt20"}," - -")),!(xn!=null&&xn.have_repeat)&&tn.createElement("li",null,tn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tn.createElement("div",{className:"mt20"}," - -")),tn.createElement("li",null,tn.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),tn.createElement("div",{className:"mt20"},tn.createElement("span",null,xn.late_penalty||"- -"))),tn.createElement("li",null,tn.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},VA),"/",tn.createElement("span",{className:"c-light-black"},xn.all_work_score))),tn.createElement("li",null,tn.createElement("strong",null,"\u603B\u8BC4"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},xn.overall_appraisal))))),tn.createElement(a.Z,{style:{margin:0}}),(xn.work_comment_hidden||xn.work_comment)&&tn.createElement("div",null,tn.createElement(E.Z,{align:"middle"},tn.createElement(b.Z,{flex:1},tn.createElement("h1",{className:ga.title},"\u70B9\u8BC4\u5185\u5BB9")),tn.createElement(b.Z,{className:"pr30"},(0,We.GJ)()&&tn.createElement(be.ZP,{onClick:()=>Ma(void 0,null,function*(){Ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:tn.createElement(Fe.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Ma(this,null,function*(){(yield(0,Qr.gZ)({comment_id:xn.comment_id,homeworkId:ya.homeworkId})).status===0&&(se.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:fo(fo({},ya),ni.current||{})}))})}})})},tn.createElement(Ee.Z,null),"\u5220\u9664"))),tn.createElement(a.Z,{style:{margin:0}}),xn.work_comment&&tn.createElement("aside",{className:"pl30 pr30 mt20"},tn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tn.createElement("br",null),tn.createElement(Sr.Z,{value:xn.work_comment})),xn.work_comment_hidden&&tn.createElement("aside",{className:"pl30 pr30 mt20"},tn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tn.createElement("br",null),tn.createElement(Sr.Z,{value:xn.work_comment_hidden}))),(xn==null?void 0:xn.action_analysis)&&tn.createElement(_r,{detailData:xn}),tn.createElement("div",{className:ga.score},tn.createElement("h1",{className:ga.title},"\u9636\u6BB5\u6210\u7EE9"),(xn==null?void 0:xn.adjust_review_score_count)>0&&(0,We.GJ)()&&tn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ns(!0),HA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",xn==null?void 0:xn.adjust_review_score_count,"\u6B21\uFF09")),tn.createElement("aside",{className:"pl30 pr30"},tn.createElement(x.default,{dataSource:xn.stage_list,rowKey:dr=>dr==null?void 0:dr.challenge_id,pagination:!1,columns:il})),((ao=xn==null?void 0:xn.target_test_sets)==null?void 0:ao.length)>0&&tn.createElement("div",null,tn.createElement("h1",{className:ga.title},"\u6307\u6807\u6210\u7EE9"),tn.createElement("aside",{className:"pl30 pr30"},tn.createElement(x.default,{dataSource:sA,rowKey:dr=>dr==null?void 0:dr.challenge_id,pagination:!1,bordered:!0,columns:DA}))),(xn==null?void 0:xn.work_description)&&tn.createElement(tn.Fragment,null,tn.createElement("h1",{className:ga.title},"\u4E2A\u4EBA\u603B\u7ED3"),tn.createElement("aside",{className:"pl30 pr30"},tn.createElement(Sr.Z,{value:xn==null?void 0:xn.work_description}))),tn.createElement("h1",{className:ga.title},"\u56FE\u5F62\u7EDF\u8BA1"),tn.createElement(to,{data:za}),tn.createElement("h1",{className:ga.title},"\u5B9E\u8BAD\u8BE6\u60C5")),tn.createElement(Ji,{autoHeight:Ls}))),(0,We.GJ)()&&tn.createElement("aside",{className:`${ga.footerBar} ${Ni?ga.footerBarStatic:""}`},tn.createElement("aside",{className:"edu-container"},tn.createElement(E.Z,{align:"middle"},tn.createElement(b.Z,{flex:"1"},tn.createElement(Ke.Link,{className:ga.exitComment,to:`/classrooms/${ya.coursesId}/shixun_homework/${ya.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),tn.createElement(b.Z,{flex:"1",className:"tr"},tn.createElement(be.ZP,{type:"default",disabled:!(xn!=null&&xn.pre_student_work_id),onClick:()=>EA()},"\u4E0A\u4E00\u4E2A"),tn.createElement(be.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(xn!=null&&xn.next_student_work_id),onClick:()=>EA("next")},"\u4E0B\u4E00\u4E2A"),(0,We.GJ)()&&tn.createElement(be.ZP,{type:"primary",onClick:()=>Ma(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:xn.user_id,data:fo({},xn)},fn:()=>HA({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),tn.createElement(Ii,null),tn.createElement(Xn.Z,null),tn.createElement(Ie.default,{open:di,width:860,centered:!0,onCancel:()=>{vi(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},tn.createElement("div",{style:{color:"#333333",fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),tn.createElement("br",null),tn.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"),tn.createElement("br",null),tn.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"),tn.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 "),tn.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")),tn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),tn.createElement("br",null),tn.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 "),tn.createElement("br",null),tn.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"),tn.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 "),tn.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"),tn.createElement("br",null),tn.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")),tn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),tn.createElement("br",null),tn.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")),tn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),tn.createElement("br",null),tn.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"))),tn.createElement(Ie.default,{open:ji,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{So(!1)},width:600},tn.createElement("div",{style:{fontWeight:400,color:"#333333"}},tn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tn.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"),tn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tn.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"),tn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tn.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"))),tn.createElement(Ie.default,{open:ts,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{_i("all"),ns(!1)},destroyOnClose:!0,width:900},tn.createElement("div",{style:{fontWeight:400,color:"#333333"}},tn.createElement("div",null,tn.createElement("span",null,"\u5173\u5361\uFF1A"),tn.createElement(z.default,{style:{width:300},value:mi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:dr=>Ma(void 0,null,function*(){_i(dr),HA({page:1,page_size:10},dr)})},tn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(Oo=xn==null?void 0:xn.stage_list)==null?void 0:Oo.map((dr,La)=>tn.createElement(z.default.Option,{key:La,value:dr==null?void 0:dr.challenge_id},"\u7B2C",(0,Ye.EM)(La+1),"\u5173")))),tn.createElement("div",{className:"mt20"},tn.createElement(x.default,{dataSource:xa,rowKey:dr=>dr==null?void 0:dr.id,pagination:!1,columns:UA,loading:gA})),tn.createElement("div",{className:ga.footer},tn.createElement("div",null,tn.createElement("span",{style:{color:"#656F87"}},"\u5171",tn.createElement("span",{className:"c-light-primary"},Oi),"\u6761\u6570\u636E")),tn.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(_a==null?void 0:_a.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Oi,onChange:as})))))};var Ci=(0,Ke.connect)(({shixunHomeworks:Mt,classroomList:Ot,loading:Fn,globalSetting:lr,user:Vr})=>({shixunHomeworks:Mt,classroomList:Ot,globalSetting:lr,loading:Fn.effects,user:Vr}))(Xo);const jr=({globalSetting:Mt})=>{var Ot;switch(Number((Ot=Mt==null?void 0:Mt.setting)==null?void 0:Ot.theme)){case pe.Fy.THEMEONE:return we.createElement(sa,null);case pe.Fy.DEFAULT:default:return we.createElement(Ci,null)}};var xr=(0,Ke.connect)(({globalSetting:Mt})=>({globalSetting:Mt}))(jr)},79902:function(an,Kt,Be){"use strict";var pe=Be(43418),we=Be(8591),Ke=Be(38986),nt=Be(25690),Ze=Be(48790),je=Be(59301),he=(Ie,se,Ue)=>new Promise((Pe,be)=>{var oe=E=>{try{a(Ue.next(E))}catch(b){be(b)}},y=E=>{try{a(Ue.throw(E))}catch(b){be(b)}},a=E=>E.done?Pe(E.value):Promise.resolve(E.value).then(oe,y);a((Ue=Ue.apply(Ie,se)).next())});const ve=({shixunHomeworks:Ie,classroomList:se,dispatch:Ue})=>{const Pe=(0,nt.useParams)();return je.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:Ie.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>he(void 0,null,function*(){var be,oe,y,a;if((0,Ze.Rm)()&&!((be=se.AssistantObject.practice)!=null&&be.can_redo)){we.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const E=yield(0,Ke.ZP)(`/api/myshixuns/${Ie.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Pe.coursesId,homework_common_id:Ie.actionTabs.homework_common_id}});if(E.shixun_identifier){we.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ue({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}`===Pe.categoryId))==null?void 0:y.id;if((0,Ze.Rm)()&&!((a=se.AssistantObject.practice)!=null&&a.can_view))return;nt.history.replace(`/classrooms/${Pe.coursesId}/shixun_homework/${Pe.categoryId}/${b}/comment`)}}),onCancel:()=>{Ue({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Kt.Z=(0,nt.connect)(({shixunHomeworks:Ie,classroomList:se})=>({shixunHomeworks:Ie,classroomList:se}))(ve)},40133:function(an,Kt,Be){"use strict";Be.d(Kt,{AD:function(){return Tt},D9:function(){return ht},Hp:function(){return Fe},IM:function(){return en},Iy:function(){return Ee},KM:function(){return $n},MJ:function(){return Qe},Ne:function(){return tt},ON:function(){return jn},Uj:function(){return Nt},VY:function(){return Zt},YO:function(){return Kn},YX:function(){return hn},Zn:function(){return y},_g:function(){return z},_k:function(){return gt},c6:function(){return Pt},cr:function(){return a},eV:function(){return Oe},fi:function(){return E},gh:function(){return rt},hS:function(){return gn},iA:function(){return b},j6:function(){return ne},je:function(){return It},jj:function(){return ce},kS:function(){return Cn},o6:function(){return Te},pO:function(){return zn},rQ:function(){return st},sA:function(){return Ye},xm:function(){return Ft},xo:function(){return Et},y8:function(){return At},yd:function(){return x}});var pe=Be(82264),we=Be(25690),Ke=Be(51257),nt=Be(8591),Ze=Be(346),je=Object.defineProperty,he=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,se=(He,$t,Re)=>$t in He?je(He,$t,{enumerable:!0,configurable:!0,writable:!0,value:Re}):He[$t]=Re,Ue=(He,$t)=>{for(var Re in $t||($t={}))ve.call($t,Re)&&se(He,Re,$t[Re]);if(he)for(var Re of he($t))Ie.call($t,Re)&&se(He,Re,$t[Re]);return He},Pe=(He,$t,Re)=>new Promise((me,le)=>{var ye=Me=>{try{pt(Re.next(Me))}catch(Je){le(Je)}},qe=Me=>{try{pt(Re.throw(Me))}catch(Je){le(Je)}},pt=Me=>Me.done?me(Me.value):Promise.resolve(Me.value).then(ye,qe);pt((Re=Re.apply(He,$t)).next())});const be=()=>{(0,we.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},oe=()=>{(0,we.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=He=>Pe(void 0,null,function*(){be(),(yield(0,pe.YR)(Ue({},He))).status===0&&(yield(0,Ke.QH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/courses/${He.coursesId}/export_couser_info.json`,query:He}))),oe()}),a=He=>Pe(void 0,null,function*(){const $t=yield(0,pe.yS)(Ue({},He));if($t.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.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/${He.coursesId}/exportlist/course_member_act_score`))}}),E=He=>Pe(void 0,null,function*(){const $t=yield(0,pe.W0)(Ue({},He));if($t.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.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/${He.coursesId}/exportlist/course_total_score`))}}),b=He=>Pe(void 0,null,function*(){const $t=yield(0,pe.Nl)(Ue({},He));if($t.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.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/${He.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=He=>Pe(void 0,null,function*(){const $t=yield(0,pe.IU)(Ue({},He));if($t.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.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/${He.coursesId}/exportlist/export_star_user`))}}),z=He=>Pe(void 0,null,function*(){const $t=yield(0,pe.td)(Ue({},He));if($t.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.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/${He.coursesId}/exportlist/course_total_exercise_and_other`);else if($t.status===-4)return $t}}),ne=He=>Pe(void 0,null,function*(){const $t=yield(0,pe.QX)(Ue({},He));if($t.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.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/${He.coursesId}/exportlist/course_total_homework`))}}),ce=(He,$t)=>Pe(void 0,null,function*(){const Re=yield(0,pe.o_)(Ue({},He));Re.status===0?(nt.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/${He.coursesId}/exportlist/${$t}`)):Re.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${He.coursesId}/exportlist/${$t}`))}),Fe=(He,$t)=>Pe(void 0,null,function*(){const Re=yield(0,pe.ZL)(Ue({},He));Re.status===0?(nt.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/${He.coursesId}/exportlist/${$t}`)):Re.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${He.coursesId}/exportlist/${$t}`))}),Ee=(He,$t)=>Pe(void 0,null,function*(){const Re=yield(0,pe.aP)(Ue({},He));Re.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.coursesId}/exportlist/${$t}`)):Re.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${He.coursesId}/exportlist/${$t}`))}),Qe=(He,$t)=>Pe(void 0,null,function*(){const Re=yield(0,pe.vV)(Ue({},He));Re.status===0?(nt.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/${He.coursesId}/exportlist/${$t}`)):Re.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${He.coursesId}/exportlist/${$t}`))}),We=He=>Pe(void 0,null,function*(){be(),(yield exportCourseWorkListAppendix(Ue({},He))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${He.categoryId}/works_list.zip`,query:He}))),oe()}),Ye=He=>Pe(void 0,null,function*(){be(),yield(0,Ke.QH)("",Ze.Z.API_SERVER+`/api/polls/${He.categoryId}/commit_result.xlsx`),oe()}),rt=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/courses/${He.coursesId}/attendances/export_xlsx_data.xlsx`,query:He}))}),Te=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/courses/${He.coursesId}/video_study_statics.xlsx`,query:He}))}),Pt=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/courses/${He.coursesId}/export_video_study.xlsx`,query:He}))}),Oe=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/courses/${He.coursesId}/export_course_students_info.xlsx`,query:He}))}),Tt=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:He}))}),st=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:He}))}),At=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:He}))}),It=He=>Pe(void 0,null,function*(){const $t=yield(0,pe.Uy)(Ue({},He));$t.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${He.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/${He.coursesId}/exportlist/exercise_score,export_exercise_users`))}),gt=He=>Pe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/export_records/${He.id}.xlsx`,query:He}))}),Ft=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:He}))}),ht=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/courses/${He==null?void 0:He.coursesId}/${He.menuKey}_statistic.xlsx?${He.checkedList.map($t=>`course_group_id[]=${$t}`).join("&")}`,query:He}))}),tt=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${He==null?void 0:He.ec_year_id}/ec_training_objectives.xlsx`,query:He}))}),en=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)(He==null?void 0:He.name,(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:He}))}),gn=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${He==null?void 0:He.ec_year_id}/ec_courses.xlsx`,query:He}))}),Et=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/ec_years/${He==null?void 0:He.ec_year_id}/ec_graduation_requirements.xlsx`,query:He}))}),Zt=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:He}))}),Cn=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:He}))}),jn=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/examination_banks/${He.id}.json`,query:He}))}),hn=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/exercises/${He.categoryId}.json`,query:He}))}),Kn=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/polls/${He==null?void 0:He.id}/commit_result.json`,query:He}))}),Nt=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:He}))}),zn=(He,$t)=>Pe(void 0,null,function*(){yield(0,Ke.FH)($t||"",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/exercises/${He==null?void 0:He.exercise_id}/consult_exercise.json`,query:He}))}),$n=He=>Pe(void 0,null,function*(){yield(0,Ke.FH)("",(0,Ke.NY)({url:Ze.Z.API_SERVER+`/api/competitions/${He==null?void 0:He.identifier}/competition_commit_records/member_works.xlsx`,query:He}))})},45937:function(an,Kt,Be){"use strict";Be.d(Kt,{U:function(){return Ie}});var pe=Be(59301),we=Object.defineProperty,Ke=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,je=(se,Ue,Pe)=>Ue in se?we(se,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):se[Ue]=Pe,he=(se,Ue)=>{for(var Pe in Ue||(Ue={}))nt.call(Ue,Pe)&&je(se,Pe,Ue[Pe]);if(Ke)for(var Pe of Ke(Ue))Ze.call(Ue,Pe)&&je(se,Pe,Ue[Pe]);return se},ve=(se,Ue,Pe)=>new Promise((be,oe)=>{var y=b=>{try{E(Pe.next(b))}catch(x){oe(x)}},a=b=>{try{E(Pe.throw(b))}catch(x){oe(x)}},E=b=>b.done?be(b.value):Promise.resolve(b.value).then(y,a);E((Pe=Pe.apply(se,Ue)).next())});function Ie(se,Ue){const[Pe,be]=(0,pe.useState)(Ue),[oe,y]=(0,pe.useState)(!1),[a,E]=(0,pe.useState)();return[Pe,oe,(x,z=!1)=>ve(this,null,function*(){const ne=z?Ue:he(he({},Pe),x);y(!0),be(ne);const ce=yield se(ne);return y(!1),E(ce),ce}),a]}},50371:function(an,Kt){"use strict";function Be(){const pe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let we=1;we{const Ze=Ke[nt];Ze!==void 0&&(pe[nt]=Ze)})}return pe}Kt.Z=Be},13845:function(an,Kt,Be){"use strict";Be.d(Kt,{F:function(){return pe},Z:function(){return we}});function pe(Ke){return Ke!=null&&Ke===Ke.window}function we(Ke,nt){var Ze,je;if(typeof window=="undefined")return 0;const he=nt?"scrollTop":"scrollLeft";let ve=0;return pe(Ke)?ve=Ke[nt?"pageYOffset":"pageXOffset"]:Ke instanceof Document?ve=Ke.documentElement[he]:(Ke instanceof HTMLElement||Ke)&&(ve=Ke[he]),Ke&&!pe(Ke)&&typeof ve!="number"&&(ve=(je=((Ze=Ke.ownerDocument)!==null&&Ze!==void 0?Ze:Ke).documentElement)===null||je===void 0?void 0:je[he]),ve}},56762:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return we}});var pe=Be(59301);function we(){const[,Ke]=pe.useReducer(nt=>nt+1,0);return Ke}},68031:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return nt}});var pe=Be(16089);function we(Ze,je,he,ve){const Ie=he-je;return Ze/=ve/2,Ze<1?Ie/2*Ze*Ze*Ze+je:Ie/2*((Ze-=2)*Ze*Ze+2)+je}var Ke=Be(13845);function nt(Ze){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:he=()=>window,callback:ve,duration:Ie=450}=je,se=he(),Ue=(0,Ke.Z)(se,!0),Pe=Date.now(),be=()=>{const y=Date.now()-Pe,a=we(y>Ie?Ie:y,Ue,Ze,Ie);(0,Ke.F)(se)?se.scrollTo(window.pageXOffset,a):se instanceof Document||se.constructor.name==="HTMLDocument"?se.documentElement.scrollTop=a:se.scrollTop=a,y{let{children:At}=st;const{getPrefixCls:It}=Ze.useContext(he.E_),gt=It("breadcrumb");return Ze.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},At===""?At:At||"/")};se.__ANT_BREADCRUMB_SEPARATOR=!0;var Ue=se,Pe=function(st,At){var It={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(It[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,gt=Object.getOwnPropertySymbols(st);FtAt[Ft]||gt)}function oe(st,At,It,gt){if(It==null)return null;const{className:Ft,onClick:ht}=At,tt=Pe(At,["className","onClick"]),en=Object.assign(Object.assign({},(0,nt.Z)(tt,{data:!0,aria:!0})),{onClick:ht});return gt!==void 0?Ze.createElement("a",Object.assign({},en,{className:we()(`${st}-link`,Ft),href:gt}),It):Ze.createElement("span",Object.assign({},en,{className:we()(`${st}-link`,Ft)}),It)}function y(st,At){return(gt,Ft,ht,tt,en)=>{if(At)return At(gt,Ft,ht,tt);const gn=be(gt,Ft);return oe(st,gt,gn,en)}}var a=function(st,At){var It={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(It[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,gt=Object.getOwnPropertySymbols(st);Ft{const{prefixCls:At,separator:It="/",children:gt,menu:Ft,overlay:ht,dropdownProps:tt,href:en}=st,Et=(Zt=>{if(Ft||ht){const Cn=Object.assign({},tt);if(Ft){const jn=Ft||{},{items:hn}=jn,Kn=a(jn,["items"]);Cn.menu=Object.assign(Object.assign({},Kn),{items:hn==null?void 0:hn.map((Nt,zn)=>{var{key:$n,title:He,label:$t,path:Re}=Nt,me=a(Nt,["key","title","label","path"]);let le=$t!=null?$t:He;return Re&&(le=Ze.createElement("a",{href:`${en}${Re}`},le)),Object.assign(Object.assign({},me),{key:$n!=null?$n:zn,label:le})})})}else ht&&(Cn.overlay=ht);return Ze.createElement(Ie.Z,Object.assign({placement:"bottom"},Cn),Ze.createElement("span",{className:`${At}-overlay-link`},Zt,Ze.createElement(ve.Z,null)))}return Zt})(gt);return Et!=null?Ze.createElement(Ze.Fragment,null,Ze.createElement("li",null,Et),It&&Ze.createElement(Ue,null,It)):null},b=st=>{const{prefixCls:At,children:It,href:gt}=st,Ft=a(st,["prefixCls","children","href"]),{getPrefixCls:ht}=Ze.useContext(he.E_),tt=ht("breadcrumb",At);return Ze.createElement(E,Object.assign({},Ft,{prefixCls:tt}),oe(tt,Ft,It,gt))};b.__ANT_BREADCRUMB_ITEM=!0;var x=b,z=Be(17313),ne=Be(83116),ce=Be(37613);const Fe=st=>{const{componentCls:At,iconCls:It}=st;return{[At]:Object.assign(Object.assign({},(0,z.Wf)(st)),{color:st.itemColor,fontSize:st.fontSize,[It]:{fontSize:st.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:st.linkColor,transition:`color ${st.motionDurationMid}`,padding:`0 ${st.paddingXXS}px`,borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",marginInline:-st.marginXXS,"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover}},(0,z.Qy)(st)),"li:last-child":{color:st.lastItemColor},[`${At}-separator`]:{marginInline:st.separatorMargin,color:st.separatorColor},[`${At}-link`]:{[` > ${It} + span, > ${It} + a `]:{marginInlineStart:st.marginXXS}},[`${At}-overlay-link`]:{borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",padding:`0 ${st.paddingXXS}px`,marginInline:-st.marginXXS,[`> ${It}`]:{marginInlineStart:st.marginXXS,fontSize:st.fontSizeIcon},"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover,a:{color:st.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${st.componentCls}-rtl`]:{direction:"rtl"}})}};var Ee=(0,ne.Z)("Breadcrumb",st=>{const At=(0,ce.TS)(st,{});return[Fe(At)]},st=>({itemColor:st.colorTextDescription,lastItemColor:st.colorText,iconFontSize:st.fontSize,linkColor:st.colorTextDescription,linkHoverColor:st.colorText,separatorColor:st.colorTextDescription,separatorMargin:st.marginXS})),Qe=function(st,At){var It={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(It[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,gt=Object.getOwnPropertySymbols(st);Ft{var{breadcrumbName:tt}=ht,en=Qe(ht,["breadcrumbName"]);return Object.assign(Object.assign({},en),{title:tt})})}),Ft}function Ye(st,At){return(0,Ze.useMemo)(()=>st||(At?At.map(We):null),[st,At])}var rt=function(st,At){var It={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(It[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,gt=Object.getOwnPropertySymbols(st);Ft{if(At===void 0)return At;let It=(At||"").replace(/^\//,"");return Object.keys(st).forEach(gt=>{It=It.replace(`:${gt}`,st[gt])}),It},Pt=st=>{const{prefixCls:At,separator:It="/",style:gt,className:Ft,rootClassName:ht,routes:tt,items:en,children:gn,itemRender:Et,params:Zt={}}=st,Cn=rt(st,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:jn,direction:hn,breadcrumb:Kn}=Ze.useContext(he.E_);let Nt;const zn=jn("breadcrumb",At),[$n,He]=Ee(zn),$t=Ye(en,tt),Re=y(zn,Et);if($t&&$t.length>0){const ye=[],qe=en||tt;Nt=$t.map((pt,Me)=>{const{path:Je,key:jt,type:wt,menu:lt,overlay:Vt,onClick:Bn,className:kt,separator:dn,dropdownProps:Qt}=pt,Pn=Te(Zt,Je);Pn!==void 0&&ye.push(Pn);const An=jt!=null?jt:Me;if(wt==="separator")return Ze.createElement(Ue,{key:An},dn);const nr={},cr=Me===$t.length-1;lt?nr.menu=lt:Vt&&(nr.overlay=Vt);let{href:Ar}=pt;return ye.length&&Pn!==void 0&&(Ar=`#/${ye.join("/")}`),Ze.createElement(E,Object.assign({key:An},nr,(0,nt.Z)(pt,{data:!0,aria:!0}),{className:kt,dropdownProps:Qt,href:Ar,separator:cr?"":It,onClick:Bn,prefixCls:zn}),Re(pt,Zt,qe,ye,Ar))})}else if(gn){const ye=(0,Ke.Z)(gn).length;Nt=(0,Ke.Z)(gn).map((qe,pt)=>{if(!qe)return qe;const Me=pt===ye-1;return(0,je.Tm)(qe,{separator:Me?"":It,key:pt})})}const me=we()(zn,Kn==null?void 0:Kn.className,{[`${zn}-rtl`]:hn==="rtl"},Ft,ht,He),le=Object.assign(Object.assign({},Kn==null?void 0:Kn.style),gt);return $n(Ze.createElement("nav",Object.assign({className:me,style:le},Cn),Ze.createElement("ol",null,Nt)))};Pt.Item=x,Pt.Separator=Ue;var Oe=Pt,Tt=Oe},24905:function(an,Kt,Be){"use strict";Be.d(Kt,{default:function(){return Ee}});var pe=Be(92310),we=Be.n(pe),Ke=Be(5630),nt=Be(59301),Ze=Be(36355),je=Be(1684),he=Be(32441),Ie=nt.createContext(null),se=Be(98447),Ue=Be(14088),Pe=Be(4572),be=function(Qe,We){var Ye={};for(var rt in Qe)Object.prototype.hasOwnProperty.call(Qe,rt)&&We.indexOf(rt)<0&&(Ye[rt]=Qe[rt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,rt=Object.getOwnPropertySymbols(Qe);Te{var Ye;const{prefixCls:rt,className:Te,rootClassName:Pt,children:Oe,indeterminate:Tt=!1,style:st,onMouseEnter:At,onMouseLeave:It,skipGroup:gt=!1,disabled:Ft}=Qe,ht=be(Qe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:tt,direction:en,checkbox:gn}=nt.useContext(Ze.E_),Et=nt.useContext(Ie),{isFormItemInput:Zt}=nt.useContext(he.aM),Cn=nt.useContext(je.Z),jn=(Ye=(Et==null?void 0:Et.disabled)||Ft)!==null&&Ye!==void 0?Ye:Cn,hn=nt.useRef(ht.value);nt.useEffect(()=>{Et==null||Et.registerValue(ht.value)},[]),nt.useEffect(()=>{if(!gt)return ht.value!==hn.current&&(Et==null||Et.cancelValue(hn.current),Et==null||Et.registerValue(ht.value),hn.current=ht.value),()=>Et==null?void 0:Et.cancelValue(ht.value)},[ht.value]);const Kn=tt("checkbox",rt),[Nt,zn]=(0,se.ZP)(Kn),$n=Object.assign({},ht);Et&&!gt&&($n.onChange=function(){ht.onChange&&ht.onChange.apply(ht,arguments),Et.toggleOption&&Et.toggleOption({label:Oe,value:ht.value})},$n.name=Et.name,$n.checked=Et.value.includes(ht.value));const He=we()(`${Kn}-wrapper`,{[`${Kn}-rtl`]:en==="rtl",[`${Kn}-wrapper-checked`]:$n.checked,[`${Kn}-wrapper-disabled`]:jn,[`${Kn}-wrapper-in-form-item`]:Zt},gn==null?void 0:gn.className,Te,Pt,zn),$t=we()({[`${Kn}-indeterminate`]:Tt},Pe.A,zn),Re=Tt?"mixed":void 0;return Nt(nt.createElement(Ue.Z,{component:"Checkbox",disabled:jn},nt.createElement("label",{className:He,style:Object.assign(Object.assign({},gn==null?void 0:gn.style),st),onMouseEnter:At,onMouseLeave:It},nt.createElement(Ke.Z,Object.assign({"aria-checked":Re},$n,{prefixCls:Kn,className:$t,disabled:jn,ref:We})),Oe!==void 0&&nt.createElement("span",null,Oe))))};var a=nt.forwardRef(oe),E=Be(95190),b=Be(2738),x=function(Qe,We){var Ye={};for(var rt in Qe)Object.prototype.hasOwnProperty.call(Qe,rt)&&We.indexOf(rt)<0&&(Ye[rt]=Qe[rt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,rt=Object.getOwnPropertySymbols(Qe);Te{const{defaultValue:Ye,children:rt,options:Te=[],prefixCls:Pt,className:Oe,rootClassName:Tt,style:st,onChange:At}=Qe,It=x(Qe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:Ft}=nt.useContext(Ze.E_),[ht,tt]=nt.useState(It.value||Ye||[]),[en,gn]=nt.useState([]);nt.useEffect(()=>{"value"in It&&tt(It.value||[])},[It.value]);const Et=nt.useMemo(()=>Te.map(me=>typeof me=="string"||typeof me=="number"?{label:me,value:me}:me),[Te]),Zt=me=>{gn(le=>le.filter(ye=>ye!==me))},Cn=me=>{gn(le=>[].concat((0,E.Z)(le),[me]))},jn=me=>{const le=ht.indexOf(me.value),ye=(0,E.Z)(ht);le===-1?ye.push(me.value):ye.splice(le,1),"value"in It||tt(ye),At==null||At(ye.filter(qe=>en.includes(qe)).sort((qe,pt)=>{const Me=Et.findIndex(jt=>jt.value===qe),Je=Et.findIndex(jt=>jt.value===pt);return Me-Je}))},hn=gt("checkbox",Pt),Kn=`${hn}-group`,[Nt,zn]=(0,se.ZP)(hn),$n=(0,b.Z)(It,["value","disabled"]),He=Te.length?Et.map(me=>nt.createElement(a,{prefixCls:hn,key:me.value.toString(),disabled:"disabled"in me?me.disabled:It.disabled,value:me.value,checked:ht.includes(me.value),onChange:me.onChange,className:`${Kn}-item`,style:me.style,title:me.title},me.label)):rt,$t={toggleOption:jn,value:ht,disabled:It.disabled,name:It.name,registerValue:Cn,cancelValue:Zt},Re=we()(Kn,{[`${Kn}-rtl`]:Ft==="rtl"},Oe,Tt,zn);return Nt(nt.createElement("div",Object.assign({className:Re,style:st},$n,{ref:We}),nt.createElement(Ie.Provider,{value:$t},He)))},ne=nt.forwardRef(z);var ce=nt.memo(ne);const Fe=a;Fe.Group=ce,Fe.__ANT_CHECKBOX=!0;var Ee=Fe},98447:function(an,Kt,Be){"use strict";Be.d(Kt,{C2:function(){return Ze}});var pe=Be(17313),we=Be(37613),Ke=Be(83116);const nt=je=>{const{checkboxCls:he}=je,ve=`${he}-wrapper`;return[{[`${he}-group`]:Object.assign(Object.assign({},(0,pe.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[ve]:Object.assign(Object.assign({},(0,pe.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ve}`]:{marginInlineStart:0},[`&${ve}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[he]:Object.assign(Object.assign({},(0,pe.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.borderRadiusSM,alignSelf:"center",[`${he}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${he}-inner`]:Object.assign({},(0,pe.oN)(je))},[`${he}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:je.checkboxSize,height:je.checkboxSize,direction:"ltr",backgroundColor:je.colorBgContainer,border:`${je.lineWidth}px ${je.lineType} ${je.colorBorder}`,borderRadius:je.borderRadiusSM,borderCollapse:"separate",transition:`all ${je.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:je.checkboxSize/14*5,height:je.checkboxSize/14*8,border:`${je.lineWidthBold}px solid ${je.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${je.motionDurationFast} ${je.motionEaseInBack}, opacity ${je.motionDurationFast}`}},"& + span":{paddingInlineStart:je.paddingXS,paddingInlineEnd:je.paddingXS}})},{[` ${ve}:not(${ve}-disabled), ${he}:not(${he}-disabled) `]:{[`&:hover ${he}-inner`]:{borderColor:je.colorPrimary}},[`${ve}:not(${ve}-disabled)`]:{[`&:hover ${he}-checked:not(${he}-disabled) ${he}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${he}-checked:not(${he}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${he}-checked`]:{[`${he}-inner`]:{backgroundColor:je.colorPrimary,borderColor:je.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${je.motionDurationMid} ${je.motionEaseOutBack} ${je.motionDurationFast}`}}},[` ${ve}-checked:not(${ve}-disabled), ${he}-checked:not(${he}-disabled) `]:{[`&:hover ${he}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[he]:{"&-indeterminate":{[`${he}-inner`]:{backgroundColor:je.colorBgContainer,borderColor:je.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:je.fontSizeLG/2,height:je.fontSizeLG/2,backgroundColor:je.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ve}-disabled`]:{cursor:"not-allowed"},[`${he}-disabled`]:{[`&, ${he}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${he}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${he}-indeterminate ${he}-inner::after`]:{background:je.colorTextDisabled}}}]};function Ze(je,he){const ve=(0,we.TS)(he,{checkboxCls:`.${je}`,checkboxSize:he.controlInteractiveSize});return[nt(ve)]}Kt.ZP=(0,Ke.Z)("Checkbox",(je,he)=>{let{prefixCls:ve}=he;return[Ze(ve,je)]})},28103:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return Pe}});var pe=Be(92310),we=Be.n(pe),Ke=Be(59301),nt=Be(36355),Ze=Be(17313),je=Be(83116),he=Be(37613);const ve=be=>{const{componentCls:oe,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:E,textPaddingInline:b,orientationMargin:x,verticalMarginInline:z}=be;return{[oe]:Object.assign(Object.assign({},(0,Ze.Wf)(be)),{borderBlockStart:`${E}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${E}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${be.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${be.dividerHorizontalWithTextGutterMargin}px 0`,color:be.colorTextHeading,fontWeight:500,fontSize:be.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${E}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${oe}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${E}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:be.colorText,fontWeight:"normal",fontSize:be.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:y}}})}};var Ie=(0,je.Z)("Divider",be=>{const oe=(0,he.TS)(be,{dividerHorizontalWithTextGutterMargin:be.margin,dividerHorizontalGutterMargin:be.marginLG,sizePaddingEdgeHorizontal:0});return[ve(oe)]},be=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:be.marginXS})),se=function(be,oe){var y={};for(var a in be)Object.prototype.hasOwnProperty.call(be,a)&&oe.indexOf(a)<0&&(y[a]=be[a]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(be);E{const{getPrefixCls:oe,direction:y,divider:a}=Ke.useContext(nt.E_),{prefixCls:E,type:b="horizontal",orientation:x="center",orientationMargin:z,className:ne,rootClassName:ce,children:Fe,dashed:Ee,plain:Qe,style:We}=be,Ye=se(be,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),rt=oe("divider",E),[Te,Pt]=Ie(rt),Oe=x.length>0?`-${x}`:x,Tt=!!Fe,st=x==="left"&&z!=null,At=x==="right"&&z!=null,It=we()(rt,a==null?void 0:a.className,Pt,`${rt}-${b}`,{[`${rt}-with-text`]:Tt,[`${rt}-with-text${Oe}`]:Tt,[`${rt}-dashed`]:!!Ee,[`${rt}-plain`]:!!Qe,[`${rt}-rtl`]:y==="rtl",[`${rt}-no-default-orientation-margin-left`]:st,[`${rt}-no-default-orientation-margin-right`]:At},ne,ce),gt=Ke.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Ft=Object.assign(Object.assign({},st&&{marginLeft:gt}),At&&{marginRight:gt});return Te(Ke.createElement("div",Object.assign({className:It,style:Object.assign(Object.assign({},a==null?void 0:a.style),We)},Ye,{role:"separator"}),Fe&&b!=="vertical"&&Ke.createElement("span",{className:`${rt}-inner-text`,style:Ft},Fe)))}},91857:function(an,Kt,Be){"use strict";var pe=Be(59301),we=Be(38819),Ke=Be(92310),nt=Be.n(Ke),Ze=Be(31561),je=Be(70425),he=Be(18929),ve=Be(2738),Ie=Be(79676),se=Be(53487),Ue=Be(92343),Pe=Be(36355),be=Be(20834),oe=Be(40875),y=Be(88088),a=Be(47211);const E=null,b=ce=>{const{menu:Fe,arrow:Ee,prefixCls:Qe,children:We,trigger:Ye,disabled:rt,dropdownRender:Te,getPopupContainer:Pt,overlayClassName:Oe,rootClassName:Tt,open:st,onOpenChange:At,visible:It,onVisibleChange:gt,mouseEnterDelay:Ft=.15,mouseLeaveDelay:ht=.1,autoAdjustOverflow:tt=!0,placement:en="",overlay:gn,transitionName:Et}=ce,{getPopupContainer:Zt,getPrefixCls:Cn,direction:jn}=pe.useContext(Pe.E_),hn=pe.useMemo(()=>{const lt=Cn();return Et!==void 0?Et:en.includes("top")?`${lt}-slide-down`:`${lt}-slide-up`},[Cn,en,Et]),Kn=pe.useMemo(()=>en?en.includes("Center")?en.slice(0,en.indexOf("Center")):en:jn==="rtl"?"bottomRight":"bottomLeft",[en,jn]),Nt=Cn("dropdown",Qe),[zn,$n]=(0,a.Z)(Nt),[,He]=(0,y.Z)(),$t=pe.Children.only(We),Re=(0,Ue.Tm)($t,{className:nt()(`${Nt}-trigger`,{[`${Nt}-rtl`]:jn==="rtl"},$t.props.className),disabled:rt}),me=rt?[]:Ye;let le;me&&me.includes("contextMenu")&&(le=!0);const[ye,qe]=(0,he.Z)(!1,{value:st!=null?st:It}),pt=(0,je.useEvent)(lt=>{At==null||At(lt),gt==null||gt(lt),qe(lt)}),Me=nt()(Oe,Tt,$n,{[`${Nt}-rtl`]:jn==="rtl"}),Je=(0,Ie.Z)({arrowPointAtCenter:typeof Ee=="object"&&Ee.pointAtCenter,autoAdjustOverflow:tt,offset:He.marginXXS,arrowWidth:Ee?He.sizePopupArrow:0,borderRadius:He.borderRadius}),jt=pe.useCallback(()=>{qe(!1)},[]),wt=()=>{let lt;return Fe!=null&&Fe.items?lt=pe.createElement(be.default,Object.assign({},Fe)):typeof gn=="function"?lt=gn():lt=gn,Te&&(lt=Te(lt)),lt=pe.Children.only(typeof lt=="string"?pe.createElement("span",null,lt):lt),pe.createElement(oe.J,{prefixCls:`${Nt}-menu`,expandIcon:pe.createElement("span",{className:`${Nt}-menu-submenu-arrow`},pe.createElement(we.Z,{className:`${Nt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:jt,validator:Vt=>{let{mode:Bn}=Vt}},lt)};return zn(pe.createElement(Ze.Z,Object.assign({alignPoint:le},(0,ve.Z)(ce,["rootClassName"]),{mouseEnterDelay:Ft,mouseLeaveDelay:ht,visible:ye,builtinPlacements:Je,arrow:!!Ee,overlayClassName:Me,prefixCls:Nt,getPopupContainer:Pt||Zt,transitionName:hn,trigger:me,overlay:wt,placement:Kn,onVisibleChange:pt}),Re))};function x(ce){return Object.assign(Object.assign({},ce),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,se.Z)(b,"dropdown",ce=>ce,x),ne=ce=>pe.createElement(z,Object.assign({},ce),pe.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ne,Kt.Z=b},38854:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return y}});var pe=Be(91857),we=Be(92310),Ke=Be.n(we),nt=Be(59301),Ze=Be(18785),je=Be(3113),he=Be(36355),ve=Be(81327),Ie=Be(33234),se=Be(47211),Ue=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}=nt.useContext(he.E_),{prefixCls:z,type:ne="default",danger:ce,disabled:Fe,loading:Ee,onClick:Qe,htmlType:We,children:Ye,className:rt,menu:Te,arrow:Pt,autoFocus:Oe,overlay:Tt,trigger:st,align:At,open:It,onOpenChange:gt,placement:Ft,getPopupContainer:ht,href:tt,icon:en=nt.createElement(Ze.Z,null),title:gn,buttonsRender:Et=wt=>wt,mouseEnterDelay:Zt,mouseLeaveDelay:Cn,overlayClassName:jn,overlayStyle:hn,destroyPopupOnHide:Kn,dropdownRender:Nt}=a,zn=Ue(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"]),$n=b("dropdown",z),He=`${$n}-button`,[$t,Re]=(0,se.Z)($n),me={menu:Te,arrow:Pt,autoFocus:Oe,align:At,disabled:Fe,trigger:Fe?[]:st,onOpenChange:gt,getPopupContainer:ht||E,mouseEnterDelay:Zt,mouseLeaveDelay:Cn,overlayClassName:jn,overlayStyle:hn,destroyPopupOnHide:Kn,dropdownRender:Nt},{compactSize:le,compactItemClassnames:ye}=(0,Ie.ri)($n,x),qe=Ke()(He,ye,rt,Re);"overlay"in a&&(me.overlay=Tt),"open"in a&&(me.open=It),"placement"in a?me.placement=Ft:me.placement=x==="rtl"?"bottomLeft":"bottomRight";const pt=nt.createElement(je.ZP,{type:ne,danger:ce,disabled:Fe,loading:Ee,onClick:Qe,htmlType:We,href:tt,title:gn},Ye),Me=nt.createElement(je.ZP,{type:ne,danger:ce,icon:en}),[Je,jt]=Et([pt,Me]);return $t(nt.createElement(ve.Z.Compact,Object.assign({className:qe,size:le,block:!0},zn),Je,nt.createElement(pe.Z,Object.assign({},me),jt)))};Pe.__ANT_BUTTON=!0;var be=Pe;const oe=pe.Z;oe.Button=be;var y=oe},47211:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return Ue}});var pe=Be(17313),we=Be(13826),Ke=Be(92899),nt=Be(29878),Ze=Be(19447),je=Be(83116),he=Be(37613),Ie=Pe=>{const{componentCls:be,menuCls:oe,colorError:y,colorTextLightSolid:a}=Pe,E=`${oe}-item`;return{[`${be}, ${be}-menu-submenu`]:{[`${oe} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const se=Pe=>{const{componentCls:be,menuCls:oe,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:E,antCls:b,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ne,fontSize:ce,dropdownEdgeChildPadding:Fe,colorTextDisabled:Ee,fontSizeIcon:Qe,controlPaddingHorizontal:We,colorBgElevated:Ye}=Pe;return[{[be]:Object.assign(Object.assign({},(0,pe.Wf)(Pe)),{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:Qe}},[`${be}-wrap`]:{position:"relative",[`${b}-btn > ${x}-down`]:{fontSize:Qe},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${be}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottomRight`]:{animationName:we.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-topRight`]:{animationName:we.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottomRight`]:{animationName:we.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-topRight`]:{animationName:we.ly}})},(0,Ze.ZP)(Pe,{colorBg:Ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${be} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${be}, ${be}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:Fe,listStyleType:"none",backgroundColor:Ye,backgroundClip:"padding-box",borderRadius:Pe.borderRadiusLG,outline:"none",boxShadow:Pe.boxShadowSecondary},(0,pe.Qy)(Pe)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${We}px`,color:Pe.colorTextDescription,transition:`all ${z}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:ce,marginInlineEnd:Pe.marginXS,fontSize:Pe.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 ${We}px`,color:Pe.colorText,fontWeight:"normal",fontSize:ce,lineHeight:Pe.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Pe.controlItemBgHover}},(0,pe.Qy)(Pe)),{"&-selected":{color:Pe.colorPrimary,backgroundColor:Pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Pe.controlItemBgActiveHover}},"&-disabled":{color:Ee,cursor:"not-allowed","&:hover":{color:Ee,backgroundColor:Ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Pe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Pe.colorSplit},[`${be}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Pe.paddingXS,[`${be}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Pe.colorTextDescription,fontSize:Qe,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${Pe.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:We+Pe.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${be}-menu-submenu-title`]:{[`&, ${be}-menu-submenu-arrow-icon`]:{color:Ee,backgroundColor:Ye,cursor:"not-allowed"}},[`${oe}-submenu-selected ${be}-menu-submenu-title`]:{color:Pe.colorPrimary}})}},[(0,we.oN)(Pe,"slide-up"),(0,we.oN)(Pe,"slide-down"),(0,Ke.Fm)(Pe,"move-up"),(0,Ke.Fm)(Pe,"move-down"),(0,nt._y)(Pe,"zoom-big")]]};var Ue=(0,je.Z)("Dropdown",(Pe,be)=>{let{rootPrefixCls:oe}=be;const{marginXXS:y,sizePopupArrow:a,controlHeight:E,fontSize:b,lineHeight:x,paddingXXS:z,componentCls:ne,borderRadiusLG:ce}=Pe,Fe=(E-b*x)/2,{dropdownArrowOffset:Ee}=(0,Ze.fS)({contentRadius:ce}),Qe=(0,he.TS)(Pe,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Ee,dropdownPaddingVertical:Fe,dropdownEdgeChildPadding:z});return[se(Qe),Ie(Qe)]},Pe=>({zIndexPopup:Pe.zIndexPopupBase+50}))},8628:function(an,Kt,Be){"use strict";var pe=Be(59301),we=Be(34280),Ke=Be(56762),nt=Be(69507);function Ze(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const he=(0,pe.useRef)({}),ve=(0,Ke.Z)(),Ie=(0,nt.ZP)();return(0,we.Z)(()=>{const se=Ie.subscribe(Ue=>{he.current=Ue,je&&ve()});return()=>Ie.unsubscribe(se)},[]),he.current}Kt.Z=Ze},45818:function(an,Kt,Be){"use strict";Be.d(Kt,{D:function(){return z},Z:function(){return Fe}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(Qe,We){return we.createElement(Ze.Z,(0,pe.Z)({},Qe,{ref:We,icon:nt}))},he=we.forwardRef(je),ve=he,Ie=Be(33853),se=Be(38819),Ue=Be(92310),Pe=Be.n(Ue),be=Be(2738),y=Ee=>!isNaN(parseFloat(Ee))&&isFinite(Ee),a=Be(36355),E=Be(84966),b=function(Ee,Qe){var We={};for(var Ye in Ee)Object.prototype.hasOwnProperty.call(Ee,Ye)&&Qe.indexOf(Ye)<0&&(We[Ye]=Ee[Ye]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ye=Object.getOwnPropertySymbols(Ee);rt{let Ee=0;return function(){let Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ee+=1,`${Qe}${Ee}`}})();var Fe=we.forwardRef((Ee,Qe)=>{const{prefixCls:We,className:Ye,trigger:rt,children:Te,defaultCollapsed:Pt=!1,theme:Oe="dark",style:Tt={},collapsible:st=!1,reverseArrow:At=!1,width:It=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:Ft,breakpoint:ht,onCollapse:tt,onBreakpoint:en}=Ee,gn=b(Ee,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Et}=(0,we.useContext)(E.Gs),[Zt,Cn]=(0,we.useState)("collapsed"in Ee?Ee.collapsed:Pt),[jn,hn]=(0,we.useState)(!1);(0,we.useEffect)(()=>{"collapsed"in Ee&&Cn(Ee.collapsed)},[Ee.collapsed]);const Kn=(Re,me)=>{"collapsed"in Ee||Cn(Re),tt==null||tt(Re,me)},Nt=(0,we.useRef)();Nt.current=Re=>{hn(Re.matches),en==null||en(Re.matches),Zt!==Re.matches&&Kn(Re.matches,"responsive")},(0,we.useEffect)(()=>{function Re(le){return Nt.current(le)}let me;if(typeof window!="undefined"){const{matchMedia:le}=window;if(le&&ht&&ht in x){me=le(`(max-width: ${x[ht]})`);try{me.addEventListener("change",Re)}catch(ye){me.addListener(Re)}Re(me)}}return()=>{try{me==null||me.removeEventListener("change",Re)}catch(le){me==null||me.removeListener(Re)}}},[ht]),(0,we.useEffect)(()=>{const Re=ne("ant-sider-");return Et.addSider(Re),()=>Et.removeSider(Re)},[]);const zn=()=>{Kn(!Zt,"clickTrigger")},{getPrefixCls:$n}=(0,we.useContext)(a.E_),He=()=>{const Re=$n("layout-sider",We),me=(0,be.Z)(gn,["collapsed"]),le=Zt?gt:It,ye=y(le)?`${le}px`:String(le),qe=parseFloat(String(gt||0))===0?we.createElement("span",{onClick:zn,className:Pe()(`${Re}-zero-width-trigger`,`${Re}-zero-width-trigger-${At?"right":"left"}`),style:Ft},rt||we.createElement(ve,null)):null,Je={expanded:At?we.createElement(se.Z,null):we.createElement(Ie.Z,null),collapsed:At?we.createElement(Ie.Z,null):we.createElement(se.Z,null)}[Zt?"collapsed":"expanded"],jt=rt!==null?qe||we.createElement("div",{className:`${Re}-trigger`,onClick:zn,style:{width:ye}},rt||Je):null,wt=Object.assign(Object.assign({},Tt),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),lt=Pe()(Re,`${Re}-${Oe}`,{[`${Re}-collapsed`]:!!Zt,[`${Re}-has-trigger`]:st&&rt!==null&&!qe,[`${Re}-below`]:!!jn,[`${Re}-zero-width`]:parseFloat(ye)===0},Ye);return we.createElement("aside",Object.assign({className:lt},me,{style:wt,ref:Qe}),we.createElement("div",{className:`${Re}-children`},Te),st||jn&&qe?jt:null)},$t=we.useMemo(()=>({siderCollapsed:Zt}),[Zt]);return we.createElement(z.Provider,{value:$t},He())})},84966:function(an,Kt,Be){"use strict";Be.d(Kt,{VY:function(){return z},$_:function(){return x},h4:function(){return b},Gs:function(){return be},ZP:function(){return ne}});var pe=Be(95190),we=Be(92310),Ke=Be.n(we),nt=Be(2738),Ze=Be(59301),je=Be(36355),he=Be(83116),Ie=ce=>{const{componentCls:Fe,bodyBg:Ee,lightSiderBg:Qe,lightTriggerBg:We,lightTriggerColor:Ye}=ce;return{[`${Fe}-sider-light`]:{background:Qe,[`${Fe}-sider-trigger`]:{color:Ye,background:We},[`${Fe}-sider-zero-width-trigger`]:{color:Ye,background:We,border:`1px solid ${Ee}`,borderInlineStart:0}}}};const se=ce=>{const{antCls:Fe,componentCls:Ee,colorText:Qe,triggerColor:We,footerBg:Ye,triggerBg:rt,headerHeight:Te,headerPadding:Pt,headerColor:Oe,footerPadding:Tt,triggerHeight:st,zeroTriggerHeight:At,zeroTriggerWidth:It,motionDurationMid:gt,motionDurationSlow:Ft,fontSize:ht,borderRadius:tt,bodyBg:en,headerBg:gn,siderBg:Et}=ce;return{[Ee]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:en,"&, *":{boxSizing:"border-box"},[`&${Ee}-has-sider`]:{flexDirection:"row",[`> ${Ee}, > ${Ee}-content`]:{width:0}},[`${Ee}-header, &${Ee}-footer`]:{flex:"0 0 auto"},[`${Ee}-sider`]:{position:"relative",minWidth:0,background:Et,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Fe}-menu${Fe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:st},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:st,color:We,lineHeight:`${st}px`,textAlign:"center",background:rt,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Te,insetInlineEnd:-It,zIndex:1,width:It,height:At,color:We,fontSize:ce.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Et,borderStartStartRadius:0,borderStartEndRadius:tt,borderEndEndRadius:tt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ft} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ft}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-It,borderStartStartRadius:tt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:tt}}}}},Ie(ce)),{"&-rtl":{direction:"rtl"}}),[`${Ee}-header`]:{height:Te,padding:Pt,color:Oe,lineHeight:`${Te}px`,background:gn,[`${Fe}-menu`]:{lineHeight:"inherit"}},[`${Ee}-footer`]:{padding:Tt,color:Qe,fontSize:ht,background:Ye},[`${Ee}-content`]:{flex:"auto",minHeight:0}}};var Ue=(0,he.Z)("Layout",ce=>[se(ce)],ce=>{const{colorBgLayout:Fe,controlHeight:Ee,controlHeightLG:Qe,colorText:We,controlHeightSM:Ye,marginXXS:rt,colorTextLightSolid:Te,colorBgContainer:Pt}=ce,Oe=Qe*1.25;return{colorBgHeader:"#001529",colorBgBody:Fe,colorBgTrigger:"#002140",bodyBg:Fe,headerBg:"#001529",headerHeight:Ee*2,headerPadding:`0 ${Oe}px`,headerColor:We,footerPadding:`${Ye}px ${Oe}px`,footerBg:Fe,siderBg:"#001529",triggerHeight:Qe+rt*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:Qe,zeroTriggerHeight:Qe,lightSiderBg:Pt,lightTriggerBg:Pt,lightTriggerColor:We}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Pe=function(ce,Fe){var Ee={};for(var Qe in ce)Object.prototype.hasOwnProperty.call(ce,Qe)&&Fe.indexOf(Qe)<0&&(Ee[Qe]=ce[Qe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Qe=Object.getOwnPropertySymbols(ce);Wenull,removeSider:()=>null}});function oe(ce){let{suffixCls:Fe,tagName:Ee,displayName:Qe}=ce;return We=>Ze.forwardRef((rt,Te)=>Ze.createElement(We,Object.assign({ref:Te,suffixCls:Fe,tagName:Ee},rt)))}const y=Ze.forwardRef((ce,Fe)=>{const{prefixCls:Ee,suffixCls:Qe,className:We,tagName:Ye}=ce,rt=Pe(ce,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Te}=Ze.useContext(je.E_),Pt=Te("layout",Ee),[Oe,Tt]=Ue(Pt),st=Qe?`${Pt}-${Qe}`:Pt;return Oe(Ze.createElement(Ye,Object.assign({className:Ke()(Ee||st,We,Tt),ref:Fe},rt)))}),a=Ze.forwardRef((ce,Fe)=>{const{direction:Ee}=Ze.useContext(je.E_),[Qe,We]=Ze.useState([]),{prefixCls:Ye,className:rt,rootClassName:Te,children:Pt,hasSider:Oe,tagName:Tt,style:st}=ce,At=Pe(ce,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),It=(0,nt.Z)(At,["suffixCls"]),{getPrefixCls:gt,layout:Ft}=Ze.useContext(je.E_),ht=gt("layout",Ye),[tt,en]=Ue(ht),gn=Ke()(ht,{[`${ht}-has-sider`]:typeof Oe=="boolean"?Oe:Qe.length>0,[`${ht}-rtl`]:Ee==="rtl"},Ft==null?void 0:Ft.className,rt,Te,en),Et=Ze.useMemo(()=>({siderHook:{addSider:Zt=>{We(Cn=>[].concat((0,pe.Z)(Cn),[Zt]))},removeSider:Zt=>{We(Cn=>Cn.filter(jn=>jn!==Zt))}}}),[]);return tt(Ze.createElement(be.Provider,{value:Et},Ze.createElement(Tt,Object.assign({ref:Fe,className:gn,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),st)},It),Pt)))}),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(an,Kt,Be){"use strict";Be.d(Kt,{J:function(){return je}});var pe=Be(59301),we=Be(33234),Ke=Be(70425),nt=function(he,ve){var Ie={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&ve.indexOf(se)<0&&(Ie[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,se=Object.getOwnPropertySymbols(he);Ue{const{children:Ie}=he,se=nt(he,["children"]),Ue=pe.useContext(Ze),Pe=pe.useMemo(()=>Object.assign(Object.assign({},Ue),se),[Ue,se.prefixCls,se.mode,se.selectable]);return pe.createElement(Ze.Provider,{value:Pe},pe.createElement(we.BR,null,(0,Ke.supportNodeRef)(Ie)?pe.cloneElement(Ie,{ref:ve}):Ie))});Kt.Z=Ze},20834:function(an,Kt,Be){"use strict";Be.d(Kt,{default:function(){return $t}});var pe=Be(15285),we=Be(59301),Ke=Be(45818),nt=Be(92310),Ze=Be.n(nt),je=Be(36355),he=function(Re,me){var le={};for(var ye in Re)Object.prototype.hasOwnProperty.call(Re,ye)&&me.indexOf(ye)<0&&(le[ye]=Re[ye]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Re);qe{const{prefixCls:me,className:le,dashed:ye}=Re,qe=he(Re,["prefixCls","className","dashed"]),{getPrefixCls:pt}=we.useContext(je.E_),Me=pt("menu",me),Je=Ze()({[`${Me}-item-divider-dashed`]:!!ye},le);return we.createElement(pe.iz,Object.assign({className:Je},qe))},se=Be(11592),Ue=Be(2738),Pe=Be(6848),be=Be(92343),y=(0,we.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=Re=>{var me;const{className:le,children:ye,icon:qe,title:pt,danger:Me}=Re,{prefixCls:Je,firstLevel:jt,direction:wt,disableMenuItemTitleTooltip:lt,inlineCollapsed:Vt}=we.useContext(y),Bn=nr=>{const cr=we.createElement("span",{className:`${Je}-title-content`},ye);return(!qe||(0,be.l$)(ye)&&ye.type==="span")&&ye&&nr&&jt&&typeof ye=="string"?we.createElement("div",{className:`${Je}-inline-collapsed-noicon`},ye.charAt(0)):cr},{siderCollapsed:kt}=we.useContext(Ke.D);let dn=pt;typeof pt=="undefined"?dn=jt?ye:"":pt===!1&&(dn="");const Qt={title:dn};!kt&&!Vt&&(Qt.title=null,Qt.open=!1);const Pn=(0,se.Z)(ye).length;let An=we.createElement(pe.ck,Object.assign({},(0,Ue.Z)(Re,["title","icon","danger"]),{className:Ze()({[`${Je}-item-danger`]:Me,[`${Je}-item-only-child`]:(qe?Pn+1:Pn)===1},le),title:typeof pt=="string"?pt:void 0}),(0,be.Tm)(qe,{className:Ze()((0,be.l$)(qe)?(me=qe.props)===null||me===void 0?void 0:me.className:"",`${Je}-item-icon`)}),Bn(Vt));return lt||(An=we.createElement(Pe.Z,Object.assign({},Qt,{placement:wt==="rtl"?"left":"right",overlayClassName:`${Je}-inline-collapsed-tooltip`}),An)),An},x=Re=>{var me;const{popupClassName:le,icon:ye,title:qe,theme:pt}=Re,Me=we.useContext(y),{prefixCls:Je,inlineCollapsed:jt,theme:wt}=Me,lt=(0,pe.Xl)();let Vt;if(!ye)Vt=jt&&!lt.length&&qe&&typeof qe=="string"?we.createElement("div",{className:`${Je}-inline-collapsed-noicon`},qe.charAt(0)):we.createElement("span",{className:`${Je}-title-content`},qe);else{const kt=(0,be.l$)(qe)&&qe.type==="span";Vt=we.createElement(we.Fragment,null,(0,be.Tm)(ye,{className:Ze()((0,be.l$)(ye)?(me=ye.props)===null||me===void 0?void 0:me.className:"",`${Je}-item-icon`)}),kt?qe:we.createElement("span",{className:`${Je}-title-content`},qe))}const Bn=we.useMemo(()=>Object.assign(Object.assign({},Me),{firstLevel:!1}),[Me]);return we.createElement(y.Provider,{value:Bn},we.createElement(pe.Wd,Object.assign({},(0,Ue.Z)(Re,["icon"]),{title:Vt,popupClassName:Ze()(Je,le,`${Je}-${pt||wt}`)})))},z=Be(18785),ne=Be(70425),ce=Be(62892),Fe=Be(40875),Ee=function(Re,me){var le={};for(var ye in Re)Object.prototype.hasOwnProperty.call(Re,ye)&&me.indexOf(ye)<0&&(le[ye]=Re[ye]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Re);qe{if(me&&typeof me=="object"){const ye=me,{label:qe,children:pt,key:Me,type:Je}=ye,jt=Ee(ye,["label","children","key","type"]),wt=Me!=null?Me:`tmp-${le}`;return pt||Je==="group"?Je==="group"?we.createElement(pe.BW,Object.assign({key:wt},jt,{title:qe}),Qe(pt)):we.createElement(x,Object.assign({key:wt},jt,{title:qe}),Qe(pt)):Je==="divider"?we.createElement(Ie,Object.assign({key:wt},jt)):we.createElement(E,Object.assign({key:wt},jt),qe)}return null}).filter(me=>me)}function We(Re){return we.useMemo(()=>Re&&Qe(Re),[Re])}var Ye=Be(64993),rt=Be(17313),Te=Be(8378),Pt=Be(13826),Oe=Be(29878),Tt=Be(83116),st=Be(37613),It=Re=>{const{componentCls:me,motionDurationSlow:le,horizontalLineHeight:ye,colorSplit:qe,lineWidth:pt,lineType:Me,itemPaddingInline:Je}=Re;return{[`${me}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${pt}px ${Me} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${me}-item, ${me}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Je},[`> ${me}-item:hover, > ${me}-item-active, > ${me}-submenu ${me}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${me}-item, ${me}-submenu-title`]:{transition:[`border-color ${le}`,`background ${le}`].join(",")},[`${me}-submenu-arrow`]:{display:"none"}}}},Ft=Re=>{let{componentCls:me,menuArrowOffset:le}=Re;return{[`${me}-rtl`]:{direction:"rtl"},[`${me}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${me}-rtl${me}-vertical, ${me}-submenu-rtl ${me}-vertical`]:{[`${me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${le})`},"&::after":{transform:`rotate(45deg) translateY(${le})`}}}}};const ht=Re=>Object.assign({},(0,rt.oN)(Re));var en=(Re,me)=>{const{componentCls:le,itemColor:ye,itemSelectedColor:qe,groupTitleColor:pt,itemBg:Me,subMenuItemBg:Je,itemSelectedBg:jt,activeBarHeight:wt,activeBarWidth:lt,activeBarBorderWidth:Vt,motionDurationSlow:Bn,motionEaseInOut:kt,motionEaseOut:dn,itemPaddingInline:Qt,motionDurationMid:Pn,itemHoverColor:An,lineType:nr,colorSplit:cr,itemDisabledColor:Ar,dangerItemColor:Nr,dangerItemHoverColor:Dr,dangerItemSelectedColor:oa,dangerItemActiveBg:Aa,dangerItemSelectedBg:zr,itemHoverBg:Sr,itemActiveBg:Qr,menuSubMenuBg:Gr,horizontalItemSelectedColor:ma,horizontalItemSelectedBg:Ja,horizontalItemBorderRadius:Yr,horizontalItemHoverBg:No,popupBg:Mo}=Re;return{[`${le}-${me}, ${le}-${me} > ${le}`]:{color:ye,background:Me,[`&${le}-root:focus-visible`]:Object.assign({},ht(Re)),[`${le}-item-group-title`]:{color:pt},[`${le}-submenu-selected`]:{[`> ${le}-submenu-title`]:{color:qe}},[`${le}-item-disabled, ${le}-submenu-disabled`]:{color:`${Ar} !important`},[`${le}-item:not(${le}-item-selected):not(${le}-submenu-selected)`]:{[`&:hover, > ${le}-submenu-title:hover`]:{color:An}},[`&:not(${le}-horizontal)`]:{[`${le}-item:not(${le}-item-selected)`]:{"&:hover":{backgroundColor:Sr},"&:active":{backgroundColor:Qr}},[`${le}-submenu-title`]:{"&:hover":{backgroundColor:Sr},"&:active":{backgroundColor:Qr}}},[`${le}-item-danger`]:{color:Nr,[`&${le}-item:hover`]:{[`&:not(${le}-item-selected):not(${le}-submenu-selected)`]:{color:Dr}},[`&${le}-item:active`]:{background:Aa}},[`${le}-item a`]:{"&, &:hover":{color:"inherit"}},[`${le}-item-selected`]:{color:qe,[`&${le}-item-danger`]:{color:oa},"a, a:hover":{color:"inherit"}},[`& ${le}-item-selected`]:{backgroundColor:jt,[`&${le}-item-danger`]:{backgroundColor:zr}},[`${le}-item, ${le}-submenu-title`]:{[`&:not(${le}-item-disabled):focus-visible`]:Object.assign({},ht(Re))},[`&${le}-submenu > ${le}`]:{backgroundColor:Gr},[`&${le}-popup > ${le}`]:{backgroundColor:Mo},[`&${le}-horizontal`]:Object.assign(Object.assign({},me==="dark"?{borderBottom:0}:{}),{[`> ${le}-item, > ${le}-submenu`]:{top:Vt,marginTop:-Vt,marginBottom:0,borderRadius:Yr,"&::after":{position:"absolute",insetInline:Qt,bottom:0,borderBottom:`${wt}px solid transparent`,transition:`border-color ${Bn} ${kt}`,content:'""'},"&:hover, &-active, &-open":{background:No,"&::after":{borderBottomWidth:wt,borderBottomColor:ma}},"&-selected":{color:ma,backgroundColor:Ja,"&:hover":{backgroundColor:Ja},"&::after":{borderBottomWidth:wt,borderBottomColor:ma}}}}),[`&${le}-root`]:{[`&${le}-inline, &${le}-vertical`]:{borderInlineEnd:`${Vt}px ${nr} ${cr}`}},[`&${le}-inline`]:{[`${le}-sub${le}-inline`]:{background:Je},[`${le}-item, ${le}-submenu-title`]:Vt&<?{width:`calc(100% + ${Vt}px)`}:{},[`${le}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${lt}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Pn} ${dn}`,`opacity ${Pn} ${dn}`].join(","),content:'""'},[`&${le}-item-danger`]:{"&::after":{borderInlineEndColor:oa}}},[`${le}-selected, ${le}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Pn} ${kt}`,`opacity ${Pn} ${kt}`].join(",")}}}}}};const gn=Re=>{const{componentCls:me,itemHeight:le,itemMarginInline:ye,padding:qe,menuArrowSize:pt,marginXS:Me,itemMarginBlock:Je}=Re,jt=qe+pt+Me;return{[`${me}-item`]:{position:"relative",overflow:"hidden"},[`${me}-item, ${me}-submenu-title`]:{height:le,lineHeight:`${le}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Je,width:`calc(100% - ${ye*2}px)`},[`> ${me}-item, > ${me}-submenu > ${me}-submenu-title`]:{height:le,lineHeight:`${le}px`},[`${me}-item-group-list ${me}-submenu-title, ${me}-submenu-title`]:{paddingInlineEnd:jt}}};var Zt=Re=>{const{componentCls:me,iconCls:le,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:pt,controlHeightLG:Me,motionDurationMid:Je,motionEaseOut:jt,paddingXL:wt,itemMarginInline:lt,fontSizeLG:Vt,motionDurationSlow:Bn,paddingXS:kt,boxShadowSecondary:dn,collapsedWidth:Qt,collapsedIconSize:Pn}=Re,An={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[me]:{"&-inline, &-vertical":Object.assign({[`&${me}-root`]:{boxShadow:"none"}},gn(Re))},[`${me}-submenu-popup`]:{[`${me}-vertical`]:Object.assign(Object.assign({},gn(Re)),{boxShadow:dn})}},{[`${me}-submenu-popup ${me}-vertical${me}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${Me*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${me}-inline`]:{width:"100%",[`&${me}-root`]:{[`${me}-item, ${me}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Bn}`,`background ${Bn}`,`padding ${Je} ${jt}`].join(","),[`> ${me}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${me}-sub${me}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${me}-submenu > ${me}-submenu-title`]:An,[`& ${me}-item-group-title`]:{paddingInlineStart:wt}},[`${me}-item`]:An}},{[`${me}-inline-collapsed`]:{width:Qt,[`&${me}-root`]:{[`${me}-item, ${me}-submenu ${me}-submenu-title`]:{[`> ${me}-inline-collapsed-noicon`]:{fontSize:Vt,textAlign:"center"}}},[`> ${me}-item, > ${me}-item-group > ${me}-item-group-list > ${me}-item, > ${me}-item-group > ${me}-item-group-list > ${me}-submenu > ${me}-submenu-title, > ${me}-submenu > ${me}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Vt/2}px - ${lt}px)`,textOverflow:"clip",[` ${me}-submenu-arrow, ${me}-submenu-expand-icon `]:{opacity:0},[`${me}-item-icon, ${le}`]:{margin:0,fontSize:Pn,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${me}-item-icon, ${le}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${me}-item-icon, ${le}`]:{display:"none"},"a, a:hover":{color:qe}},[`${me}-item-group-title`]:Object.assign(Object.assign({},rt.vS),{paddingInline:kt})}}]};const Cn=Re=>{const{componentCls:me,motionDurationSlow:le,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:pt,iconCls:Me,iconSize:Je,iconMarginInlineEnd:jt}=Re;return{[`${me}-item, ${me}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${le}`,`background ${le}`,`padding ${le} ${qe}`].join(","),[`${me}-item-icon, ${Me}`]:{minWidth:Je,fontSize:Je,transition:[`font-size ${ye} ${pt}`,`margin ${le} ${qe}`,`color ${le}`].join(","),"+ span":{marginInlineStart:jt,opacity:1,transition:[`opacity ${le} ${qe}`,`margin ${le}`,`color ${le}`].join(",")}},[`${me}-item-icon`]:Object.assign({},(0,rt.Ro)()),[`&${me}-item-only-child`]:{[`> ${Me}, > ${me}-item-icon`]:{marginInlineEnd:0}}},[`${me}-item-disabled, ${me}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${me}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},jn=Re=>{const{componentCls:me,motionDurationSlow:le,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:pt,menuArrowOffset:Me}=Re;return{[`${me}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Re.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${le} ${ye}, opacity ${le}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:pt*.6,height:pt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${le} ${ye}`,`transform ${le} ${ye}`,`top ${le} ${ye}`,`color ${le} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Me})`},"&::after":{transform:`rotate(-45deg) translateY(${Me})`}}}}},hn=Re=>{const{antCls:me,componentCls:le,fontSize:ye,motionDurationSlow:qe,motionDurationMid:pt,motionEaseInOut:Me,paddingXS:Je,padding:jt,colorSplit:wt,lineWidth:lt,zIndexPopup:Vt,borderRadiusLG:Bn,subMenuItemBorderRadius:kt,menuArrowSize:dn,menuArrowOffset:Qt,lineType:Pn,menuPanelMaskInset:An,groupTitleLineHeight:nr,groupTitleFontSize:cr}=Re;return[{"":{[`${le}`]:Object.assign(Object.assign({},(0,rt.dF)()),{"&-hidden":{display:"none"}})},[`${le}-submenu-hidden`]:{display:"none"}},{[le]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,rt.Wf)(Re)),(0,rt.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",[`${le}-item`]:{flex:"none"}},[`${le}-item, ${le}-submenu, ${le}-submenu-title`]:{borderRadius:Re.itemBorderRadius},[`${le}-item-group-title`]:{padding:`${Je}px ${jt}px`,fontSize:cr,lineHeight:nr,transition:`all ${qe}`},[`&-horizontal ${le}-submenu`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`].join(",")},[`${le}-submenu, ${le}-submenu-inline`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`,`padding ${pt} ${Me}`].join(",")},[`${le}-submenu ${le}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Me}`,`padding ${qe} ${Me}`].join(",")},[`${le}-title-content`]:{transition:`color ${qe}`},[`${le}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${le}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:wt,borderStyle:Pn,borderWidth:0,borderTopWidth:lt,marginBlock:lt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Cn(Re)),{[`${le}-item-group`]:{[`${le}-item-group-list`]:{margin:0,padding:0,[`${le}-item, ${le}-submenu-title`]:{paddingInline:`${ye*2}px ${jt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Vt,borderRadius:Bn,boxShadow:"none",transformOrigin:"0 0",[`&${le}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${An}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:An},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Re.paddingXS},[`> ${le}`]:Object.assign(Object.assign(Object.assign({borderRadius:Bn},Cn(Re)),jn(Re)),{[`${le}-item, ${le}-submenu > ${le}-submenu-title`]:{borderRadius:kt},[`${le}-submenu-title::after`]:{transition:`transform ${qe} ${Me}`}})}}),jn(Re)),{[`&-inline-collapsed ${le}-submenu-arrow, &-inline ${le}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Qt})`},"&::after":{transform:`rotate(45deg) translateX(-${Qt})`}},[`${le}-submenu-open${le}-submenu-inline > ${le}-submenu-title > ${le}-submenu-arrow`]:{transform:`translateY(-${dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Qt})`},"&::before":{transform:`rotate(45deg) translateX(${Qt})`}}})},{[`${me}-layout-header`]:{[le]:{lineHeight:"inherit"}}}]};var Kn=(Re,me)=>(0,Tt.Z)("Menu",ye=>{if(me===!1)return[];const{colorBgElevated:qe,colorPrimary:pt,colorTextLightSolid:Me,controlHeightLG:Je,fontSize:jt,darkItemColor:wt,darkDangerItemColor:lt,darkItemBg:Vt,darkSubMenuItemBg:Bn,darkItemSelectedColor:kt,darkItemSelectedBg:dn,darkDangerItemSelectedBg:Qt,darkItemHoverBg:Pn,darkGroupTitleColor:An,darkItemHoverColor:nr,darkItemDisabledColor:cr,darkDangerItemHoverColor:Ar,darkDangerItemSelectedColor:Nr,darkDangerItemActiveBg:Dr}=ye,oa=jt/7*5,Aa=(0,st.TS)(ye,{menuArrowSize:oa,menuHorizontalHeight:Je*1.15,menuArrowOffset:`${oa*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),zr=(0,st.TS)(Aa,{itemColor:wt,itemHoverColor:nr,groupTitleColor:An,itemSelectedColor:kt,itemBg:Vt,popupBg:Vt,subMenuItemBg:Bn,itemActiveBg:"transparent",itemSelectedBg:dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Pn,itemDisabledColor:cr,dangerItemColor:lt,dangerItemHoverColor:Ar,dangerItemSelectedColor:Nr,dangerItemActiveBg:Dr,dangerItemSelectedBg:Qt,menuSubMenuBg:Bn,horizontalItemSelectedColor:Me,horizontalItemSelectedBg:pt});return[hn(Aa),It(Aa),Zt(Aa),en(Aa,"light"),en(zr,"dark"),Ft(Aa),(0,Te.Z)(Aa),(0,Pt.oN)(Aa,"slide-up"),(0,Pt.oN)(Aa,"slide-down"),(0,Oe._y)(Aa,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:pt,colorTextDisabled:Me,colorErrorBg:Je,colorText:jt,colorTextDescription:wt,colorBgContainer:lt,colorFillAlter:Vt,colorFillContent:Bn,lineWidth:kt,lineWidthBold:dn,controlItemBgActive:Qt,colorBgTextHover:Pn,controlHeightLG:An,lineHeight:nr,colorBgElevated:cr,marginXXS:Ar,padding:Nr,fontSize:Dr,controlHeightSM:oa,fontSizeLG:Aa,colorTextLightSolid:zr,colorErrorHover:Sr}=ye,Qr=new Ye.C(zr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:jt,itemColor:jt,colorItemTextHover:jt,itemHoverColor:jt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:wt,groupTitleColor:wt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:lt,itemBg:lt,colorItemBgHover:Pn,itemHoverBg:Pn,colorItemBgActive:Bn,itemActiveBg:Qt,colorSubItemBg:Vt,subMenuItemBg:Vt,colorItemBgSelected:Qt,itemSelectedBg:Qt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:dn,activeBarHeight:dn,colorActiveBarBorderSize:kt,activeBarBorderWidth:kt,colorItemTextDisabled:Me,itemDisabledColor:Me,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:Je,dangerItemActiveBg:Je,colorDangerItemBgSelected:Je,dangerItemSelectedBg:Je,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:An,groupTitleLineHeight:nr,collapsedWidth:An*2,popupBg:cr,itemMarginBlock:Ar,itemPaddingInline:Nr,horizontalLineHeight:`${An*1.15}px`,iconSize:Dr,iconMarginInlineEnd:oa-Dr,collapsedIconSize:Aa,groupTitleFontSize:Dr,darkItemDisabledColor:new Ye.C(zr).setAlpha(.25).toRgbString(),darkItemColor:Qr,darkDangerItemColor:pt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:zr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:Qr,darkItemHoverColor:zr,darkDangerItemHoverColor:Sr,darkDangerItemSelectedColor:zr,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"]]})(Re),Nt=function(Re,me){var le={};for(var ye in Re)Object.prototype.hasOwnProperty.call(Re,ye)&&me.indexOf(ye)<0&&(le[ye]=Re[ye]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Re);qe{var le,ye;const qe=we.useContext(Fe.Z),pt=qe||{},{getPrefixCls:Me,getPopupContainer:Je,direction:jt,menu:wt}=we.useContext(je.E_),lt=Me(),{prefixCls:Vt,className:Bn,style:kt,theme:dn="light",expandIcon:Qt,_internalDisableMenuItemTitleTooltip:Pn,inlineCollapsed:An,siderCollapsed:nr,items:cr,children:Ar,rootClassName:Nr,mode:Dr,selectable:oa,onClick:Aa,overflowedIndicatorPopupClassName:zr}=Re,Sr=Nt(Re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Qr=(0,Ue.Z)(Sr,["collapsedWidth"]),Gr=We(cr)||Ar;(le=pt.validator)===null||le===void 0||le.call(pt,{mode:Dr});const ma=(0,ne.useEvent)(function(){var Io;Aa==null||Aa.apply(void 0,arguments),(Io=pt.onClick)===null||Io===void 0||Io.call(pt)}),Ja=pt.mode||Dr,Yr=oa!=null?oa:pt.selectable,No=we.useMemo(()=>nr!==void 0?nr:An,[An,nr]),Mo={horizontal:{motionName:`${lt}-slide-up`},inline:(0,ce.Z)(lt),other:{motionName:`${lt}-zoom-big`}},na=Me("menu",Vt||pt.prefixCls),[mn,xi]=Kn(na,!qe),gi=Ze()(`${na}-${dn}`,wt==null?void 0:wt.className,Bn);let ui;if(typeof Qt=="function")ui=Qt;else if(Qt===null||Qt===!1)ui=null;else if(pt.expandIcon===null||pt.expandIcon===!1)ui=null;else{const Io=Qt!=null?Qt:pt.expandIcon;ui=(0,be.Tm)(Io,{className:Ze()(`${na}-submenu-expand-icon`,(0,be.l$)(Io)?(ye=Io.props)===null||ye===void 0?void 0:ye.className:"")})}const Ui=we.useMemo(()=>({prefixCls:na,inlineCollapsed:No||!1,direction:jt,firstLevel:!0,theme:dn,mode:Ja,disableMenuItemTitleTooltip:Pn}),[na,No,jt,Pn,dn]);return mn(we.createElement(Fe.Z.Provider,{value:null},we.createElement(y.Provider,{value:Ui},we.createElement(pe.ZP,Object.assign({getPopupContainer:Je,overflowedIndicator:we.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ze()(na,`${na}-${dn}`,zr),mode:Ja,selectable:Yr,onClick:ma},Qr,{inlineCollapsed:No,style:Object.assign(Object.assign({},wt==null?void 0:wt.style),kt),className:gi,prefixCls:na,direction:jt,defaultMotions:Mo,expandIcon:ui,ref:me,rootClassName:Ze()(Nr,xi)}),Gr))))});const He=(0,we.forwardRef)((Re,me)=>{const le=(0,we.useRef)(null),ye=we.useContext(Ke.D);return(0,we.useImperativeHandle)(me,()=>({menu:le.current,focus:qe=>{var pt;(pt=le.current)===null||pt===void 0||pt.focus(qe)}})),we.createElement($n,Object.assign({ref:le},Re,ye))});He.Item=E,He.SubMenu=x,He.Divider=Ie,He.ItemGroup=pe.BW;var $t=He},58421:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return pt}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},nt=Ke,Ze=Be(7657),je=function(Je,jt){return we.createElement(Ze.Z,(0,pe.Z)({},Je,{ref:jt,icon:nt}))},he=we.forwardRef(je),ve=he,Ie=Be(49198),se=Be(33853),Ue=Be(38819),Pe=Be(92310),be=Be.n(Pe),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},ce=ne,Fe=Be(91735),Ee=function(Me){(0,b.Z)(jt,Me);var Je=(0,x.Z)(jt);function jt(){var wt;(0,a.Z)(this,jt);for(var lt=arguments.length,Vt=new Array(lt),Bn=0;Bn=0||kt.relatedTarget.className.indexOf("".concat(An,"-item"))>=0))&&Pn(wt.getValidValue()))},wt.go=function(kt){var dn=wt.state.goInputText;dn!==""&&(kt.keyCode===ce.ENTER||kt.type==="click")&&(wt.setState({goInputText:""}),wt.props.quickGo(wt.getValidValue()))},wt}return(0,E.Z)(jt,[{key:"getPageSizeOptions",value:function(){var lt=this.props,Vt=lt.pageSize,Bn=lt.pageSizeOptions;return Bn.some(function(kt){return kt.toString()===Vt.toString()})?Bn:Bn.concat([Vt.toString()]).sort(function(kt,dn){var Qt=Number.isNaN(Number(kt))?0:Number(kt),Pn=Number.isNaN(Number(dn))?0:Number(dn);return Qt-Pn})}},{key:"render",value:function(){var lt=this,Vt=this.props,Bn=Vt.pageSize,kt=Vt.locale,dn=Vt.rootPrefixCls,Qt=Vt.changeSize,Pn=Vt.quickGo,An=Vt.goButton,nr=Vt.selectComponentClass,cr=Vt.buildOptionText,Ar=Vt.selectPrefixCls,Nr=Vt.disabled,Dr=this.state.goInputText,oa="".concat(dn,"-options"),Aa=nr,zr=null,Sr=null,Qr=null;if(!Qt&&!Pn)return null;var Gr=this.getPageSizeOptions();if(Qt&&Aa){var ma=Gr.map(function(Ja,Yr){return we.createElement(Aa.Option,{key:Yr,value:Ja.toString()},(cr||lt.buildOptionText)(Ja))});zr=we.createElement(Aa,{disabled:Nr,prefixCls:Ar,showSearch:!1,className:"".concat(oa,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Bn||Gr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Yr){return Yr.parentNode},"aria-label":kt.page_size,defaultOpen:!1},ma)}return Pn&&(An&&(Qr=typeof An=="boolean"?we.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nr,className:"".concat(oa,"-quick-jumper-button")},kt.jump_to_confirm):we.createElement("span",{onClick:this.go,onKeyUp:this.go},An)),Sr=we.createElement("div",{className:"".concat(oa,"-quick-jumper")},kt.jump_to,we.createElement("input",{disabled:Nr,type:"text",value:Dr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":kt.page}),kt.page,Qr)),we.createElement("li",{className:"".concat(oa)},zr,Sr)}}]),jt}(we.Component);Ee.defaultProps={pageSizeOptions:["10","20","50","100"]};var Qe=Ee,We=function(Je){var jt,wt=Je.rootPrefixCls,lt=Je.page,Vt=Je.active,Bn=Je.className,kt=Je.showTitle,dn=Je.onClick,Qt=Je.onKeyPress,Pn=Je.itemRender,An="".concat(wt,"-item"),nr=be()(An,"".concat(An,"-").concat(lt),(jt={},(0,oe.Z)(jt,"".concat(An,"-active"),Vt),(0,oe.Z)(jt,"".concat(An,"-disabled"),!lt),(0,oe.Z)(jt,Je.className,Bn),jt)),cr=function(){dn(lt)},Ar=function(oa){Qt(oa,dn,lt)},Nr=Pn(lt,"page",we.createElement("a",{rel:"nofollow"},lt));return Nr?we.createElement("li",{title:kt?lt.toString():null,className:nr,onClick:cr,onKeyPress:Ar,tabIndex:0},Nr):null},Ye=We;function rt(){}function Te(Me){var Je=Number(Me);return typeof Je=="number"&&!Number.isNaN(Je)&&isFinite(Je)&&Math.floor(Je)===Je}var Pt=function(Je,jt,wt){return wt};function Oe(Me,Je,jt){var wt=typeof Me=="undefined"?Je.pageSize:Me;return Math.floor((jt.total-1)/wt)+1}var Tt=function(Me){(0,b.Z)(jt,Me);var Je=(0,x.Z)(jt);function jt(wt){var lt;(0,a.Z)(this,jt),lt=Je.call(this,wt),lt.paginationNode=we.createRef(),lt.getJumpPrevPage=function(){return Math.max(1,lt.state.current-(lt.props.showLessItems?3:5))},lt.getJumpNextPage=function(){return Math.min(Oe(void 0,lt.state,lt.props),lt.state.current+(lt.props.showLessItems?3:5))},lt.getItemIcon=function(Qt,Pn){var An=lt.props.prefixCls,nr=Qt||we.createElement("button",{type:"button","aria-label":Pn,className:"".concat(An,"-item-link")});return typeof Qt=="function"&&(nr=we.createElement(Qt,(0,y.Z)({},lt.props))),nr},lt.isValid=function(Qt){var Pn=lt.props.total;return Te(Qt)&&Qt!==lt.state.current&&Te(Pn)&&Pn>0},lt.shouldDisplayQuickJumper=function(){var Qt=lt.props,Pn=Qt.showQuickJumper,An=Qt.total,nr=lt.state.pageSize;return An<=nr?!1:Pn},lt.handleKeyDown=function(Qt){(Qt.keyCode===ce.ARROW_UP||Qt.keyCode===ce.ARROW_DOWN)&&Qt.preventDefault()},lt.handleKeyUp=function(Qt){var Pn=lt.getValidValue(Qt),An=lt.state.currentInputValue;Pn!==An&<.setState({currentInputValue:Pn}),Qt.keyCode===ce.ENTER?lt.handleChange(Pn):Qt.keyCode===ce.ARROW_UP?lt.handleChange(Pn-1):Qt.keyCode===ce.ARROW_DOWN&<.handleChange(Pn+1)},lt.handleBlur=function(Qt){var Pn=lt.getValidValue(Qt);lt.handleChange(Pn)},lt.changePageSize=function(Qt){var Pn=lt.state.current,An=Oe(Qt,lt.state,lt.props);Pn=Pn>An?An:Pn,An===0&&(Pn=lt.state.current),typeof Qt=="number"&&("pageSize"in lt.props||lt.setState({pageSize:Qt}),"current"in lt.props||lt.setState({current:Pn,currentInputValue:Pn})),lt.props.onShowSizeChange(Pn,Qt),"onChange"in lt.props&<.props.onChange&<.props.onChange(Pn,Qt)},lt.handleChange=function(Qt){var Pn=lt.props,An=Pn.disabled,nr=Pn.onChange,cr=lt.state,Ar=cr.pageSize,Nr=cr.current,Dr=cr.currentInputValue;if(lt.isValid(Qt)&&!An){var oa=Oe(void 0,lt.state,lt.props),Aa=Qt;return Qt>oa?Aa=oa:Qt<1&&(Aa=1),"current"in lt.props||lt.setState({current:Aa}),Aa!==Dr&<.setState({currentInputValue:Aa}),nr(Aa,Ar),Aa}return Nr},lt.prev=function(){lt.hasPrev()&<.handleChange(lt.state.current-1)},lt.next=function(){lt.hasNext()&<.handleChange(lt.state.current+1)},lt.jumpPrev=function(){lt.handleChange(lt.getJumpPrevPage())},lt.jumpNext=function(){lt.handleChange(lt.getJumpNextPage())},lt.hasPrev=function(){return lt.state.current>1},lt.hasNext=function(){return lt.state.current2?An-2:0),cr=2;cr=Bn?dn=Bn:dn=Number(Vt),dn}},{key:"getShowSizeChanger",value:function(){var lt=this.props,Vt=lt.showSizeChanger,Bn=lt.total,kt=lt.totalBoundaryShowSizeChanger;return typeof Vt!="undefined"?Vt:Bn>kt}},{key:"render",value:function(){var lt=this.props,Vt=lt.prefixCls,Bn=lt.className,kt=lt.style,dn=lt.disabled,Qt=lt.hideOnSinglePage,Pn=lt.total,An=lt.locale,nr=lt.showQuickJumper,cr=lt.showLessItems,Ar=lt.showTitle,Nr=lt.showTotal,Dr=lt.simple,oa=lt.itemRender,Aa=lt.showPrevNextJumpers,zr=lt.jumpPrevIcon,Sr=lt.jumpNextIcon,Qr=lt.selectComponentClass,Gr=lt.selectPrefixCls,ma=lt.pageSizeOptions,Ja=this.state,Yr=Ja.current,No=Ja.pageSize,Mo=Ja.currentInputValue;if(Qt===!0&&Pn<=No)return null;var na=Oe(void 0,this.state,this.props),mn=[],xi=null,gi=null,ui=null,Ui=null,Io=null,Xi=nr&&nr.goButton,pi=cr?1:2,ai=Yr-1>0?Yr-1:0,In=Yr+1Pn?Pn:Yr*No]));if(Dr){Xi&&(typeof Xi=="boolean"?Io=we.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},An.jump_to_confirm):Io=we.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Xi),Io=we.createElement("li",{title:Ar?"".concat(An.jump_to).concat(Yr,"/").concat(na):null,className:"".concat(Vt,"-simple-pager")},Io));var Or=this.renderPrev(ai);return we.createElement("ul",(0,pe.Z)({className:be()(Vt,"".concat(Vt,"-simple"),(0,oe.Z)({},"".concat(Vt,"-disabled"),dn),Bn),style:kt,ref:this.paginationNode},Mn),wn,Or?we.createElement("li",{title:Ar?An.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:be()("".concat(Vt,"-prev"),(0,oe.Z)({},"".concat(Vt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Or):null,we.createElement("li",{title:Ar?"".concat(Yr,"/").concat(na):null,className:"".concat(Vt,"-simple-pager")},we.createElement("input",{type:"text",value:Mo,disabled:dn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),we.createElement("span",{className:"".concat(Vt,"-slash")},"/"),na),we.createElement("li",{title:Ar?An.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:be()("".concat(Vt,"-next"),(0,oe.Z)({},"".concat(Vt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(In)),Io)}if(na<=3+pi*2){var sa={locale:An,rootPrefixCls:Vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ar,itemRender:oa};na||mn.push(we.createElement(Ye,(0,pe.Z)({},sa,{key:"noPager",page:1,className:"".concat(Vt,"-item-disabled")})));for(var Ir=1;Ir<=na;Ir+=1){var ga=Yr===Ir;mn.push(we.createElement(Ye,(0,pe.Z)({},sa,{key:Ir,page:Ir,active:ga})))}}else{var Ia=cr?An.prev_3:An.prev_5,Ca=cr?An.next_3:An.next_5,to=oa(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(zr,"prev page")),ci=oa(this.getJumpNextPage(),"jump-next",this.getItemIcon(Sr,"next page"));Aa&&(xi=to?we.createElement("li",{title:Ar?Ia:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:be()("".concat(Vt,"-jump-prev"),(0,oe.Z)({},"".concat(Vt,"-jump-prev-custom-icon"),!!zr))},to):null,gi=ci?we.createElement("li",{title:Ar?Ca:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:be()("".concat(Vt,"-jump-next"),(0,oe.Z)({},"".concat(Vt,"-jump-next-custom-icon"),!!Sr))},ci):null),Ui=we.createElement(Ye,{locale:An,last:!0,rootPrefixCls:Vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:na,page:na,active:!1,showTitle:Ar,itemRender:oa}),ui=we.createElement(Ye,{locale:An,rootPrefixCls:Vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ar,itemRender:oa});var wr=Math.max(1,Yr-pi),Ua=Math.min(Yr+pi,na);Yr-1<=pi&&(Ua=1+pi*2),na-Yr<=pi&&(wr=na-pi*2);for(var oi=wr;oi<=Ua;oi+=1){var Do=Yr===oi;mn.push(we.createElement(Ye,{locale:An,rootPrefixCls:Vt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:oi,page:oi,active:Do,showTitle:Ar,itemRender:oa}))}Yr-1>=pi*2&&Yr!==3&&(mn[0]=(0,we.cloneElement)(mn[0],{className:"".concat(Vt,"-item-after-jump-prev")}),mn.unshift(xi)),na-Yr>=pi*2&&Yr!==na-2&&(mn[mn.length-1]=(0,we.cloneElement)(mn[mn.length-1],{className:"".concat(Vt,"-item-before-jump-next")}),mn.push(gi)),wr!==1&&mn.unshift(ui),Ua!==na&&mn.push(Ui)}var Go=!this.hasPrev()||!na,co=!this.hasNext()||!na,yi=this.renderPrev(ai),zi=this.renderNext(In);return we.createElement("ul",(0,pe.Z)({className:be()(Vt,Bn,(0,oe.Z)({},"".concat(Vt,"-disabled"),dn)),style:kt,ref:this.paginationNode},Mn),wn,yi?we.createElement("li",{title:Ar?An.prev_page:null,onClick:this.prev,tabIndex:Go?null:0,onKeyPress:this.runIfEnterPrev,className:be()("".concat(Vt,"-prev"),(0,oe.Z)({},"".concat(Vt,"-disabled"),Go)),"aria-disabled":Go},yi):null,mn,zi?we.createElement("li",{title:Ar?An.next_page:null,onClick:this.next,tabIndex:co?null:0,onKeyPress:this.runIfEnterNext,className:be()("".concat(Vt,"-next"),(0,oe.Z)({},"".concat(Vt,"-disabled"),co)),"aria-disabled":co},zi):null,we.createElement(Qe,{disabled:dn,locale:An,rootPrefixCls:Vt,selectComponentClass:Qr,selectPrefixCls:Gr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Yr,pageSize:No,pageSizeOptions:ma,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Xi}))}}],[{key:"getDerivedStateFromProps",value:function(lt,Vt){var Bn={};if("current"in lt&&(Bn.current=lt.current,lt.current!==Vt.current&&(Bn.currentInputValue=Bn.current)),"pageSize"in lt&<.pageSize!==Vt.pageSize){var kt=Vt.current,dn=Oe(lt.pageSize,Vt,lt);kt=kt>dn?dn:kt,"current"in lt||(Bn.current=kt,Bn.currentInputValue=kt),Bn.pageSize=lt.pageSize}return Bn}}]),jt}(we.Component);Tt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:rt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:rt,locale:Fe.Z,style:{},itemRender:Pt,totalBoundaryShowSizeChanger:50};var st=Tt,At=Be(22075),It=Be(36355),gt=Be(19716),Ft=Be(8628),ht=Be(9763),tt=Be(57809);const en=Me=>we.createElement(tt.default,Object.assign({},Me,{showSearch:!0,size:"small"})),gn=Me=>we.createElement(tt.default,Object.assign({},Me,{showSearch:!0,size:"middle"}));en.Option=tt.default.Option,gn.Option=tt.default.Option;var Et=Be(9937),Zt=Be(17313),Cn=Be(83116),jn=Be(37613);const hn=Me=>{const{componentCls:Je}=Me;return{[`${Je}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Je}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Je}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}}},[`&${Je}-disabled`]:{cursor:"not-allowed",[`${Je}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Me.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Me.colorBorder,backgroundColor:Me.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Me.itemActiveBgDisabled},a:{color:Me.itemActiveColorDisabled}}},[`${Je}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Je}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Je}-simple-pager`]:{color:Me.colorTextDisabled},[`${Je}-jump-prev, ${Je}-jump-next`]:{[`${Je}-item-link-icon`]:{opacity:0},[`${Je}-item-ellipsis`]:{opacity:1}}},[`&${Je}-simple`]:{[`${Je}-prev, ${Je}-next`]:{[`&${Je}-disabled ${Je}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Kn=Me=>{const{componentCls:Je}=Me;return{[`&${Je}-mini ${Je}-total-text, &${Je}-mini ${Je}-simple-pager`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`},[`&${Je}-mini ${Je}-item`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM-2}px`},[`&${Je}-mini:not(${Je}-disabled) ${Je}-item:not(${Je}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},[`&${Je}-mini ${Je}-prev, &${Je}-mini ${Je}-next`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Je}-mini:not(${Je}-disabled)`]:{[`${Je}-prev, ${Je}-next`]:{[`&:hover ${Je}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Je}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Je}-disabled:hover ${Je}-item-link`]:{backgroundColor:"transparent"}}},[` &${Je}-mini ${Je}-prev ${Je}-item-link, &${Je}-mini ${Je}-next ${Je}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}},[`&${Je}-mini ${Je}-jump-prev, &${Je}-mini ${Je}-jump-next`]:{height:Me.itemSizeSM,marginInlineEnd:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Je}-mini ${Je}-options`]:{marginInlineStart:Me.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Me.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Et.x0)(Me)),{width:Me.paginationMiniQuickJumperInputWidth,height:Me.controlHeightSM})}}}},Nt=Me=>{const{componentCls:Je}=Me;return{[` &${Je}-simple ${Je}-prev, &${Je}-simple ${Je}-next `]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,verticalAlign:"top",[`${Je}-item-link`]:{height:Me.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive},"&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}}},[`&${Je}-simple ${Je}-simple-pager`]:{display:"inline-block",height:Me.itemSizeSM,marginInlineEnd:Me.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Me.marginXS,padding:`0 ${Me.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Me.itemInputBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,borderRadius:Me.borderRadius,outline:"none",transition:`border-color ${Me.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Me.colorPrimary},"&:focus":{borderColor:Me.colorPrimaryHover,boxShadow:`${Me.inputOutlineOffset}px 0 ${Me.controlOutlineWidth}px ${Me.controlOutline}`},"&[disabled]":{color:Me.colorTextDisabled,backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,cursor:"not-allowed"}}}}},zn=Me=>{const{componentCls:Je}=Me;return{[`${Je}-jump-prev, ${Je}-jump-next`]:{outline:0,[`${Je}-item-container`]:{position:"relative",[`${Je}-item-link-icon`]:{color:Me.colorPrimary,fontSize:Me.fontSizeSM,opacity:0,transition:`all ${Me.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Je}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Me.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Me.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Me.paginationEllipsisTextIndent,opacity:1,transition:`all ${Me.motionDurationMid}`}},"&:hover":{[`${Je}-item-link-icon`]:{opacity:1},[`${Je}-item-ellipsis`]:{opacity:0}}},[` ${Je}-prev, ${Je}-jump-prev, ${Je}-jump-next `]:{marginInlineEnd:Me.marginXS},[` ${Je}-prev, ${Je}-next, ${Je}-jump-prev, ${Je}-jump-next `]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,color:Me.colorText,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Me.borderRadius,cursor:"pointer",transition:`all ${Me.motionDurationMid}`},[`${Je}-prev, ${Je}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Me.colorText,cursor:"pointer",userSelect:"none"},[`${Je}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Me.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:"none",transition:`all ${Me.motionDurationMid}`},[`&:hover ${Je}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Je}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Je}-disabled:hover`]:{[`${Je}-item-link`]:{backgroundColor:"transparent"}}},[`${Je}-slash`]:{marginInlineEnd:Me.paginationSlashMarginInlineEnd,marginInlineStart:Me.paginationSlashMarginInlineStart},[`${Je}-options`]:{display:"inline-block",marginInlineStart:Me.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Me.controlHeight,marginInlineStart:Me.marginXS,lineHeight:`${Me.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Et.ik)(Me)),{width:Me.controlHeightLG*1.25,height:Me.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Me.marginXS,marginInlineEnd:Me.marginXS})}}}},$n=Me=>{const{componentCls:Je}=Me;return{[`${Je}-item`]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,marginInlineEnd:Me.marginXS,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Me.paginationItemPaddingInline}px`,color:Me.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Je}-item-active)`]:{"&:hover":{transition:`all ${Me.motionDurationMid}`,backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},"&-active":{fontWeight:Me.fontWeightStrong,backgroundColor:Me.itemActiveBg,borderColor:Me.colorPrimary,a:{color:Me.colorPrimary},"&:hover":{borderColor:Me.colorPrimaryHover},"&:hover a":{color:Me.colorPrimaryHover}}}}},He=Me=>{const{componentCls:Je}=Me;return{[Je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Zt.Wf)(Me)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Je}-total-text`]:{display:"inline-block",height:Me.itemSize,marginInlineEnd:Me.marginXS,lineHeight:`${Me.itemSize-2}px`,verticalAlign:"middle"}}),$n(Me)),zn(Me)),Nt(Me)),Kn(Me)),hn(Me)),{[`@media only screen and (max-width: ${Me.screenLG}px)`]:{[`${Je}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Me.screenSM}px)`]:{[`${Je}-options`]:{display:"none"}}}),[`&${Me.componentCls}-rtl`]:{direction:"rtl"}}},$t=Me=>{const{componentCls:Je}=Me;return{[`${Je}${Je}-disabled:not(${Je}-mini)`]:{"&, &:hover":{[`${Je}-item-link`]:{borderColor:Me.colorBorder}},"&:focus-visible":{[`${Je}-item-link`]:{borderColor:Me.colorBorder}},[`${Je}-item, ${Je}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,[`&:hover:not(${Je}-item-active)`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,a:{color:Me.colorTextDisabled}},[`&${Je}-item-active`]:{backgroundColor:Me.itemActiveBgDisabled}},[`${Je}-prev, ${Je}-next`]:{"&:hover button":{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,color:Me.colorTextDisabled},[`${Je}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder}}},[`${Je}:not(${Je}-mini)`]:{[`${Je}-prev, ${Je}-next`]:{"&:hover button":{borderColor:Me.colorPrimaryHover,backgroundColor:Me.itemBg},[`${Je}-item-link`]:{backgroundColor:Me.itemLinkBg,borderColor:Me.colorBorder},[`&:hover ${Je}-item-link`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,color:Me.colorPrimary},[`&${Je}-disabled`]:{[`${Je}-item-link`]:{borderColor:Me.colorBorder,color:Me.colorTextDisabled}}},[`${Je}-item`]:{backgroundColor:Me.itemBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,[`&:hover:not(${Je}-item-active)`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,a:{color:Me.colorPrimary}},"&-active":{borderColor:Me.colorPrimary}}}}},Re=Me=>{const{componentCls:Je}=Me;return{[`${Je}:not(${Je}-disabled)`]:{[`${Je}-item`]:Object.assign({},(0,Zt.Qy)(Me)),[`${Je}-jump-prev, ${Je}-jump-next`]:{"&:focus-visible":Object.assign({[`${Je}-item-link-icon`]:{opacity:1},[`${Je}-item-ellipsis`]:{opacity:0}},(0,Zt.oN)(Me))},[`${Je}-prev, ${Je}-next`]:{[`&:focus-visible ${Je}-item-link`]:Object.assign({},(0,Zt.oN)(Me))}}}};var me=(0,Cn.Z)("Pagination",Me=>{const Je=(0,jn.TS)(Me,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Me.marginXXS/2,paginationMiniQuickJumperInputWidth:Me.controlHeightLG*1.1,paginationItemPaddingInline:Me.marginXXS*1.5,paginationEllipsisLetterSpacing:Me.marginXXS/2,paginationSlashMarginInlineStart:Me.marginXXS,paginationSlashMarginInlineEnd:Me.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Et.e5)(Me),(0,Et.TM)(Me));return[He(Je),Re(Je),Me.wireframe&&$t(Je)]},Me=>({itemBg:Me.colorBgContainer,itemSize:Me.controlHeight,itemSizeSM:Me.controlHeightSM,itemActiveBg:Me.colorBgContainer,itemLinkBg:Me.colorBgContainer,itemActiveColorDisabled:Me.colorTextDisabled,itemActiveBgDisabled:Me.controlItemBgActiveDisabled,itemInputBg:Me.colorBgContainer,miniOptionsSizeChangerTop:0})),le=function(Me,Je){var jt={};for(var wt in Me)Object.prototype.hasOwnProperty.call(Me,wt)&&Je.indexOf(wt)<0&&(jt[wt]=Me[wt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,wt=Object.getOwnPropertySymbols(Me);lt{const{prefixCls:Je,selectPrefixCls:jt,className:wt,rootClassName:lt,style:Vt,size:Bn,locale:kt,selectComponentClass:dn,responsive:Qt,showSizeChanger:Pn}=Me,An=le(Me,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:nr}=(0,Ft.Z)(Qt),{getPrefixCls:cr,direction:Ar,pagination:Nr={}}=we.useContext(It.E_),Dr=cr("pagination",Je),[oa,Aa]=me(Dr),zr=Pn!=null?Pn:Nr.showSizeChanger,Sr=we.useMemo(()=>{const na=we.createElement("span",{className:`${Dr}-item-ellipsis`},"\u2022\u2022\u2022"),mn=we.createElement("button",{className:`${Dr}-item-link`,type:"button",tabIndex:-1},Ar==="rtl"?we.createElement(Ue.Z,null):we.createElement(se.Z,null)),xi=we.createElement("button",{className:`${Dr}-item-link`,type:"button",tabIndex:-1},Ar==="rtl"?we.createElement(se.Z,null):we.createElement(Ue.Z,null)),gi=we.createElement("a",{className:`${Dr}-item-link`},we.createElement("div",{className:`${Dr}-item-container`},Ar==="rtl"?we.createElement(Ie.Z,{className:`${Dr}-item-link-icon`}):we.createElement(ve,{className:`${Dr}-item-link-icon`}),na)),ui=we.createElement("a",{className:`${Dr}-item-link`},we.createElement("div",{className:`${Dr}-item-container`},Ar==="rtl"?we.createElement(ve,{className:`${Dr}-item-link-icon`}):we.createElement(Ie.Z,{className:`${Dr}-item-link-icon`}),na));return{prevIcon:mn,nextIcon:xi,jumpPrevIcon:gi,jumpNextIcon:ui}},[Ar,Dr]),[Qr]=(0,ht.Z)("Pagination",At.Z),Gr=Object.assign(Object.assign({},Qr),kt),ma=(0,gt.Z)(Bn),Ja=ma==="small"||!!(nr&&!ma&&Qt),Yr=cr("select",jt),No=be()({[`${Dr}-mini`]:Ja,[`${Dr}-rtl`]:Ar==="rtl"},Nr==null?void 0:Nr.className,wt,lt,Aa),Mo=Object.assign(Object.assign({},Nr==null?void 0:Nr.style),Vt);return oa(we.createElement(st,Object.assign({},Sr,An,{style:Mo,prefixCls:Dr,selectPrefixCls:Yr,className:No,selectComponentClass:dn||(Ja?en:gn),locale:Gr,showSizeChanger:zr})))},pt=qe},13570:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return ht}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},nt=Ke,Ze=Be(7657),je=function(en,gn){return we.createElement(Ze.Z,(0,pe.Z)({},en,{ref:gn,icon:nt}))},he=we.forwardRef(je),ve=he,Ie=Be(92310),se=Be.n(Ie),Ue=Be(4635),Pe=Be(50298),be=Be(62646),oe=Be(18929),y=Be(10228),a=Be(26112);function E(tt,en){var gn=tt.disabled,Et=tt.prefixCls,Zt=tt.character,Cn=tt.characterRender,jn=tt.index,hn=tt.count,Kn=tt.value,Nt=tt.allowHalf,zn=tt.focused,$n=tt.onHover,He=tt.onClick,$t=function(Je){$n(Je,jn)},Re=function(Je){He(Je,jn)},me=function(Je){Je.keyCode===y.Z.ENTER&&He(Je,jn)},le=jn+1,ye=new Set([Et]);Kn===0&&jn===0&&zn?ye.add("".concat(Et,"-focused")):Nt&&Kn+.5>=le&&Knjn?"true":"false","aria-posinset":jn+1,"aria-setsize":hn,tabIndex:gn?-1:0},we.createElement("div",{className:"".concat(Et,"-first")},qe),we.createElement("div",{className:"".concat(Et,"-second")},qe)));return Cn&&(pt=Cn(pt,tt)),pt}var b=we.forwardRef(E);function x(){var tt=we.useRef({});function en(Et){return tt.current[Et]}function gn(Et){return function(Zt){tt.current[Et]=Zt}}return[en,gn]}function z(tt){var en=tt.pageXOffset,gn="scrollLeft";if(typeof en!="number"){var Et=tt.document;en=Et.documentElement[gn],typeof en!="number"&&(en=Et.body[gn])}return en}function ne(tt){var en,gn,Et=tt.ownerDocument,Zt=Et.body,Cn=Et&&Et.documentElement,jn=tt.getBoundingClientRect();return en=jn.left,gn=jn.top,en-=Cn.clientLeft||Zt.clientLeft||0,gn-=Cn.clientTop||Zt.clientTop||0,{left:en,top:gn}}function ce(tt){var en=ne(tt),gn=tt.ownerDocument,Et=gn.defaultView||gn.parentWindow;return en.left+=z(Et),en.left}var Fe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ee(tt,en){var gn,Et=tt.prefixCls,Zt=Et===void 0?"rc-rate":Et,Cn=tt.className,jn=tt.defaultValue,hn=tt.value,Kn=tt.count,Nt=Kn===void 0?5:Kn,zn=tt.allowHalf,$n=zn===void 0?!1:zn,He=tt.allowClear,$t=He===void 0?!0:He,Re=tt.character,me=Re===void 0?"\u2605":Re,le=tt.characterRender,ye=tt.disabled,qe=tt.direction,pt=qe===void 0?"ltr":qe,Me=tt.tabIndex,Je=Me===void 0?0:Me,jt=tt.autoFocus,wt=tt.onHoverChange,lt=tt.onChange,Vt=tt.onFocus,Bn=tt.onBlur,kt=tt.onKeyDown,dn=tt.onMouseLeave,Qt=(0,be.Z)(tt,Fe),Pn=x(),An=(0,Pe.Z)(Pn,2),nr=An[0],cr=An[1],Ar=we.useRef(null),Nr=function(){if(!ye){var Ir;(Ir=Ar.current)===null||Ir===void 0||Ir.focus()}};we.useImperativeHandle(en,function(){return{focus:Nr,blur:function(){if(!ye){var Ir;(Ir=Ar.current)===null||Ir===void 0||Ir.blur()}}}});var Dr=(0,oe.Z)(jn||0,{value:hn}),oa=(0,Pe.Z)(Dr,2),Aa=oa[0],zr=oa[1],Sr=(0,oe.Z)(null),Qr=(0,Pe.Z)(Sr,2),Gr=Qr[0],ma=Qr[1],Ja=function(Ir,ga){var Ia=pt==="rtl",Ca=Ir+1;if($n){var to=nr(Ir),ci=ce(to),wr=to.clientWidth;(Ia&&ga-ci>wr/2||!Ia&&ga-ci0&&!Ia||ga===y.Z.RIGHT&&Ca>0&&Ia?($n?Ca-=.5:Ca-=1,Yr(Ca),Ir.preventDefault()):ga===y.Z.LEFT&&Ca{const{componentCls:en}=tt;return{[`${en}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:tt.marginXS},"> div":{transition:`all ${tt.motionDurationMid}, outline 0s`,"&:hover":{transform:tt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${tt.lineWidth}px dashed ${tt.starColor}`,transform:tt.starHoverScale}},"&-first, &-second":{color:tt.starBg,transition:`all ${tt.motionDurationMid}`,userSelect:"none",[tt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${en}-star-first, &-half ${en}-star-second`]:{opacity:1},[`&-half ${en}-star-first, &-full ${en}-star-second`]:{color:"inherit"}}}},st=tt=>({[`&-rtl${tt.componentCls}`]:{direction:"rtl"}}),At=tt=>{const{componentCls:en}=tt;return{[en]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Te.Wf)(tt)),{display:"inline-block",margin:0,padding:0,color:tt.starColor,fontSize:tt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${en} ${en}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Tt(tt)),{[`+ ${en}-text`]:{display:"inline-block",marginInlineStart:tt.marginXS,fontSize:tt.fontSize}}),st(tt))}};var It=(0,Pt.Z)("Rate",tt=>{const en=(0,Oe.TS)(tt,{});return[At(en)]},tt=>({starColor:tt.yellow6,starSize:tt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:tt.colorFillContent})),gt=function(tt,en){var gn={};for(var Et in tt)Object.prototype.hasOwnProperty.call(tt,Et)&&en.indexOf(Et)<0&&(gn[Et]=tt[Et]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Et=Object.getOwnPropertySymbols(tt);Zt{const{prefixCls:gn,className:Et,rootClassName:Zt,style:Cn,tooltips:jn,character:hn=we.createElement(ve,null)}=tt,Kn=gt(tt,["prefixCls","className","rootClassName","style","tooltips","character"]),Nt=(ye,qe)=>{let{index:pt}=qe;return jn?we.createElement(rt.Z,{title:jn[pt]},ye):ye},{getPrefixCls:zn,direction:$n,rate:He}=we.useContext(Ye.E_),$t=zn("rate",gn),[Re,me]=It($t),le=Object.assign(Object.assign({},He==null?void 0:He.style),Cn);return Re(we.createElement(We,Object.assign({ref:en,character:hn,characterRender:Nt},Kn,{className:se()(Et,Zt,me,He==null?void 0:He.className),style:le,prefixCls:$t,direction:$n})))})},61621:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return me}});var pe=Be(92310),we=Be.n(pe),Ke=Be(59301),nt=Be(36355),Ze=Be(2738),he=le=>{const{prefixCls:ye,className:qe,style:pt,size:Me,shape:Je}=le,jt=we()({[`${ye}-lg`]:Me==="large",[`${ye}-sm`]:Me==="small"}),wt=we()({[`${ye}-circle`]:Je==="circle",[`${ye}-square`]:Je==="square",[`${ye}-round`]:Je==="round"}),lt=Ke.useMemo(()=>typeof Me=="number"?{width:Me,height:Me,lineHeight:`${Me}px`}:{},[Me]);return Ke.createElement("span",{className:we()(ye,jt,wt,qe),style:Object.assign(Object.assign({},lt),pt)})},ve=Be(36237),Ie=Be(83116),se=Be(37613);const Ue=new ve.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Pe=le=>({height:le,lineHeight:`${le}px`}),be=le=>Object.assign({width:le},Pe(le)),oe=le=>({background:le.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ue,animationDuration:le.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=le=>Object.assign({width:le*5,minWidth:le*5},Pe(le)),a=le=>{const{skeletonAvatarCls:ye,gradientFromColor:qe,controlHeight:pt,controlHeightLG:Me,controlHeightSM:Je}=le;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},be(pt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},be(Me)),[`${ye}${ye}-sm`]:Object.assign({},be(Je))}},E=le=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:pt,controlHeightLG:Me,controlHeightSM:Je,gradientFromColor:jt}=le;return{[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:jt,borderRadius:qe},y(ye)),[`${pt}-lg`]:Object.assign({},y(Me)),[`${pt}-sm`]:Object.assign({},y(Je))}},b=le=>Object.assign({width:le},Pe(le)),x=le=>{const{skeletonImageCls:ye,imageSizeBase:qe,gradientFromColor:pt,borderRadiusSM:Me}=le;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=(le,ye,qe)=>{const{skeletonButtonCls:pt}=le;return{[`${qe}${pt}-circle`]:{width:ye,minWidth:ye,borderRadius:"50%"},[`${qe}${pt}-round`]:{borderRadius:ye}}},ne=le=>Object.assign({width:le*2,minWidth:le*2},Pe(le)),ce=le=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:pt,controlHeightLG:Me,controlHeightSM:Je,gradientFromColor:jt}=le;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:jt,borderRadius:ye,width:pt*2,minWidth:pt*2},ne(pt))},z(le,pt,qe)),{[`${qe}-lg`]:Object.assign({},ne(Me))}),z(le,Me,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ne(Je))}),z(le,Je,`${qe}-sm`))},Fe=le=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:pt,skeletonParagraphCls:Me,skeletonButtonCls:Je,skeletonInputCls:jt,skeletonImageCls:wt,controlHeight:lt,controlHeightLG:Vt,controlHeightSM:Bn,gradientFromColor:kt,padding:dn,marginSM:Qt,borderRadius:Pn,titleHeight:An,blockRadius:nr,paragraphLiHeight:cr,controlHeightXS:Ar,paragraphMarginTop:Nr}=le;return{[`${ye}`]:{display:"table",width:"100%",[`${ye}-header`]:{display:"table-cell",paddingInlineEnd:dn,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kt},be(lt)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},be(Vt)),[`${qe}-sm`]:Object.assign({},be(Bn))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${pt}`]:{width:"100%",height:An,background:kt,borderRadius:nr,[`+ ${Me}`]:{marginBlockStart:Bn}},[`${Me}`]:{padding:0,"> li":{width:"100%",height:cr,listStyle:"none",background:kt,borderRadius:nr,"+ li":{marginBlockStart:Ar}}},[`${Me}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${pt}, ${Me} > li`]:{borderRadius:Pn}}},[`${ye}-with-avatar ${ye}-content`]:{[`${pt}`]:{marginBlockStart:Qt,[`+ ${Me}`]:{marginBlockStart:Nr}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ce(le)),a(le)),E(le)),x(le)),[`${ye}${ye}-block`]:{width:"100%",[`${Je}`]:{width:"100%"},[`${jt}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[` ${pt}, ${Me} > li, ${qe}, ${Je}, ${jt}, ${wt} `]:Object.assign({},oe(le))}}};var Ee=(0,Ie.Z)("Skeleton",le=>{const{componentCls:ye}=le,qe=(0,se.TS)(le,{skeletonAvatarCls:`${ye}-avatar`,skeletonTitleCls:`${ye}-title`,skeletonParagraphCls:`${ye}-paragraph`,skeletonButtonCls:`${ye}-button`,skeletonInputCls:`${ye}-input`,skeletonImageCls:`${ye}-image`,imageSizeBase:le.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${le.gradientFromColor} 25%, ${le.gradientToColor} 37%, ${le.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Fe(qe)]},le=>{const{colorFillContent:ye,colorFill:qe}=le,pt=ye,Me=qe;return{color:pt,colorGradientEnd:Me,gradientFromColor:pt,gradientToColor:Me,titleHeight:le.controlHeight/2,blockRadius:le.borderRadiusSM,paragraphMarginTop:le.marginLG+le.marginXXS,paragraphLiHeight:le.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),We=le=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,shape:Je="circle",size:jt="default"}=le,{getPrefixCls:wt}=Ke.useContext(nt.E_),lt=wt("skeleton",ye),[Vt,Bn]=Ee(lt),kt=(0,Ze.Z)(le,["prefixCls","className"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me},qe,pt,Bn);return Vt(Ke.createElement("div",{className:dn},Ke.createElement(he,Object.assign({prefixCls:`${lt}-avatar`,shape:Je,size:jt},kt))))},rt=le=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,block:Je=!1,size:jt="default"}=le,{getPrefixCls:wt}=Ke.useContext(nt.E_),lt=wt("skeleton",ye),[Vt,Bn]=Ee(lt),kt=(0,Ze.Z)(le,["prefixCls"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me,[`${lt}-block`]:Je},qe,pt,Bn);return Vt(Ke.createElement("div",{className:dn},Ke.createElement(he,Object.assign({prefixCls:`${lt}-button`,size:jt},kt))))};const Te="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 Oe=le=>{const{prefixCls:ye,className:qe,rootClassName:pt,style:Me,active:Je}=le,{getPrefixCls:jt}=Ke.useContext(nt.E_),wt=jt("skeleton",ye),[lt,Vt]=Ee(wt),Bn=we()(wt,`${wt}-element`,{[`${wt}-active`]:Je},qe,pt,Vt);return lt(Ke.createElement("div",{className:Bn},Ke.createElement("div",{className:we()(`${wt}-image`,qe),style:Me},Ke.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${wt}-image-svg`},Ke.createElement("path",{d:Te,className:`${wt}-image-path`})))))},st=le=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Me,block:Je,size:jt="default"}=le,{getPrefixCls:wt}=Ke.useContext(nt.E_),lt=wt("skeleton",ye),[Vt,Bn]=Ee(lt),kt=(0,Ze.Z)(le,["prefixCls"]),dn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Me,[`${lt}-block`]:Je},qe,pt,Bn);return Vt(Ke.createElement("div",{className:dn},Ke.createElement(he,Object.assign({prefixCls:`${lt}-input`,size:jt},kt))))},At=Be(14809),It={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},gt=It,Ft=Be(7657),ht=function(ye,qe){return Ke.createElement(Ft.Z,(0,At.Z)({},ye,{ref:qe,icon:gt}))},tt=Ke.forwardRef(ht),en=tt,Et=le=>{const{prefixCls:ye,className:qe,rootClassName:pt,style:Me,active:Je,children:jt}=le,{getPrefixCls:wt}=Ke.useContext(nt.E_),lt=wt("skeleton",ye),[Vt,Bn]=Ee(lt),kt=we()(lt,`${lt}-element`,{[`${lt}-active`]:Je},Bn,qe,pt),dn=jt!=null?jt:Ke.createElement(en,null);return Vt(Ke.createElement("div",{className:kt},Ke.createElement("div",{className:we()(`${lt}-image`,qe),style:Me},dn)))},Zt=Be(95190),jn=le=>{const ye=wt=>{const{width:lt,rows:Vt=2}=le;if(Array.isArray(lt))return lt[wt];if(Vt-1===wt)return lt},{prefixCls:qe,className:pt,style:Me,rows:Je}=le,jt=(0,Zt.Z)(Array(Je)).map((wt,lt)=>Ke.createElement("li",{key:lt,style:{width:ye(lt)}}));return Ke.createElement("ul",{className:we()(qe,pt),style:Me},jt)},Kn=le=>{let{prefixCls:ye,className:qe,width:pt,style:Me}=le;return Ke.createElement("h3",{className:we()(ye,qe),style:Object.assign({width:pt},Me)})};function Nt(le){return le&&typeof le=="object"?le:{}}function zn(le,ye){return le&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function $n(le,ye){return!le&&ye?{width:"38%"}:le&&ye?{width:"50%"}:{}}function He(le,ye){const qe={};return(!le||!ye)&&(qe.width="61%"),!le&&ye?qe.rows=3:qe.rows=2,qe}const $t=le=>{const{prefixCls:ye,loading:qe,className:pt,rootClassName:Me,style:Je,children:jt,avatar:wt=!1,title:lt=!0,paragraph:Vt=!0,active:Bn,round:kt}=le,{getPrefixCls:dn,direction:Qt,skeleton:Pn}=Ke.useContext(nt.E_),An=dn("skeleton",ye),[nr,cr]=Ee(An);if(qe||!("loading"in le)){const Ar=!!wt,Nr=!!lt,Dr=!!Vt;let oa;if(Ar){const Sr=Object.assign(Object.assign({prefixCls:`${An}-avatar`},zn(Nr,Dr)),Nt(wt));oa=Ke.createElement("div",{className:`${An}-header`},Ke.createElement(he,Object.assign({},Sr)))}let Aa;if(Nr||Dr){let Sr;if(Nr){const Gr=Object.assign(Object.assign({prefixCls:`${An}-title`},$n(Ar,Dr)),Nt(lt));Sr=Ke.createElement(Kn,Object.assign({},Gr))}let Qr;if(Dr){const Gr=Object.assign(Object.assign({prefixCls:`${An}-paragraph`},He(Ar,Nr)),Nt(Vt));Qr=Ke.createElement(jn,Object.assign({},Gr))}Aa=Ke.createElement("div",{className:`${An}-content`},Sr,Qr)}const zr=we()(An,{[`${An}-with-avatar`]:Ar,[`${An}-active`]:Bn,[`${An}-rtl`]:Qt==="rtl",[`${An}-round`]:kt},Pn==null?void 0:Pn.className,pt,Me,cr);return nr(Ke.createElement("div",{className:zr,style:Object.assign(Object.assign({},Pn==null?void 0:Pn.style),Je)},oa,Aa))}return typeof jt!="undefined"?jt:null};$t.Button=rt,$t.Avatar=We,$t.Input=st,$t.Image=Oe,$t.Node=Et;var Re=$t,me=Re},31797:function(an,Kt,Be){"use strict";Be.d(Kt,{default:function(){return Ee}});var pe=Be(59301),we=Be(56762),Ke=Be(92343),nt=Be(92310),Ze=Be.n(nt),je=Be(36355),he=Be(61621),Ie=Qe=>{const{value:We,formatter:Ye,precision:rt,decimalSeparator:Te,groupSeparator:Pt="",prefixCls:Oe}=Qe;let Tt;if(typeof Ye=="function")Tt=Ye(We);else{const st=String(We),At=st.match(/^(-?)(\d*)(\.(\d+))?$/);if(!At||st==="-")Tt=st;else{const It=At[1];let gt=At[2]||"0",Ft=At[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,Pt),typeof rt=="number"&&(Ft=Ft.padEnd(rt,"0").slice(0,rt>0?rt:0)),Ft&&(Ft=`${Te}${Ft}`),Tt=[pe.createElement("span",{key:"int",className:`${Oe}-content-value-int`},It,gt),Ft&&pe.createElement("span",{key:"decimal",className:`${Oe}-content-value-decimal`},Ft)]}}return pe.createElement("span",{className:`${Oe}-content-value`},Tt)},se=Be(17313),Ue=Be(83116),Pe=Be(37613);const be=Qe=>{const{componentCls:We,marginXXS:Ye,padding:rt,colorTextDescription:Te,titleFontSize:Pt,colorTextHeading:Oe,contentFontSize:Tt,fontFamily:st}=Qe;return{[`${We}`]:Object.assign(Object.assign({},(0,se.Wf)(Qe)),{[`${We}-title`]:{marginBottom:Ye,color:Te,fontSize:Pt},[`${We}-skeleton`]:{paddingTop:rt},[`${We}-content`]:{color:Oe,fontSize:Tt,fontFamily:st,[`${We}-content-value`]:{display:"inline-block",direction:"ltr"},[`${We}-content-prefix, ${We}-content-suffix`]:{display:"inline-block"},[`${We}-content-prefix`]:{marginInlineEnd:Ye},[`${We}-content-suffix`]:{marginInlineStart:Ye}}})}};var oe=(0,Ue.Z)("Statistic",Qe=>{const We=(0,Pe.TS)(Qe,{});return[be(We)]},Qe=>{const{fontSizeHeading3:We,fontSize:Ye}=Qe;return{titleFontSize:Ye,contentFontSize:We}}),a=Qe=>{const{prefixCls:We,className:Ye,rootClassName:rt,style:Te,valueStyle:Pt,value:Oe=0,title:Tt,valueRender:st,prefix:At,suffix:It,loading:gt=!1,onMouseEnter:Ft,onMouseLeave:ht,decimalSeparator:tt=".",groupSeparator:en=","}=Qe,{getPrefixCls:gn,direction:Et,statistic:Zt}=pe.useContext(je.E_),Cn=gn("statistic",We),[jn,hn]=oe(Cn),Kn=pe.createElement(Ie,Object.assign({decimalSeparator:tt,groupSeparator:en,prefixCls:Cn},Qe,{value:Oe})),Nt=Ze()(Cn,{[`${Cn}-rtl`]:Et==="rtl"},Zt==null?void 0:Zt.className,Ye,rt,hn);return jn(pe.createElement("div",{className:Nt,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),Te),onMouseEnter:Ft,onMouseLeave:ht},Tt&&pe.createElement("div",{className:`${Cn}-title`},Tt),pe.createElement(he.Z,{paragraph:!1,loading:gt,className:`${Cn}-skeleton`},pe.createElement("div",{style:Pt,className:`${Cn}-content`},At&&pe.createElement("span",{className:`${Cn}-content-prefix`},At),st?st(Kn):Kn,It&&pe.createElement("span",{className:`${Cn}-content-suffix`},It)))))};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(Qe,We){let Ye=Qe;const rt=/\[[^\]]*]/g,Te=(We.match(rt)||[]).map(st=>st.slice(1,-1)),Pt=We.replace(rt,"[]"),Oe=E.reduce((st,At)=>{let[It,gt]=At;if(st.includes(It)){const Ft=Math.floor(Ye/gt);return Ye-=Ft*gt,st.replace(new RegExp(`${It}+`,"g"),ht=>{const tt=ht.length;return Ft.toString().padStart(tt,"0")})}return st},Pt);let Tt=0;return Oe.replace(rt,()=>{const st=Te[Tt];return Tt+=1,st})}function x(Qe,We){const{format:Ye=""}=We,rt=new Date(Qe).getTime(),Te=Date.now(),Pt=Math.max(rt-Te,0);return b(Pt,Ye)}const z=1e3/30;function ne(Qe){return new Date(Qe).getTime()}const ce=Qe=>{const{value:We,format:Ye="HH:mm:ss",onChange:rt,onFinish:Te}=Qe,Pt=(0,we.Z)(),Oe=pe.useRef(null),Tt=()=>{Te==null||Te(),Oe.current&&(clearInterval(Oe.current),Oe.current=null)},st=()=>{const gt=ne(We);gt>=Date.now()&&(Oe.current=setInterval(()=>{Pt(),rt==null||rt(gt-Date.now()),gt(st(),()=>{Oe.current&&(clearInterval(Oe.current),Oe.current=null)}),[We]);const At=(gt,Ft)=>x(gt,Object.assign(Object.assign({},Ft),{format:Ye})),It=gt=>(0,Ke.Tm)(gt,{title:void 0});return pe.createElement(a,Object.assign({},Qe,{valueRender:It,formatter:At}))};var Fe=pe.memo(ce);a.Countdown=Fe;var Ee=a},15969:function(an,Kt,Be){"use strict";Be.d(Kt,{N:function(){return pe}});const pe=we=>({color:we.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${we.motionDurationSlow}`,"&:focus, &:hover":{color:we.colorLinkHover},"&:active":{color:we.colorLinkActive}})},1710:function(an,Kt,Be){"use strict";Be.d(Kt,{default:function(){return Un}});var pe={},we="rc-table-internal-hook",Ke=Be(50298),nt=Be(6089),Ze=Be(34280),je=Be(13697),he=Be(59301),ve=Be(4676);function Ie(De){var ze=he.createContext(void 0),et=function(dt){var Ct=dt.value,Rt=dt.children,rn=he.useRef(Ct);rn.current=Ct;var Xe=he.useState(function(){return{getValue:function(){return rn.current},listeners:new Set}}),ct=(0,Ke.Z)(Xe,1),bt=ct[0];return(0,Ze.Z)(function(){(0,ve.unstable_batchedUpdates)(function(){bt.listeners.forEach(function(xt){xt(Ct)})})},[Ct]),he.createElement(ze.Provider,{value:bt},Rt)};return{Context:ze,Provider:et,defaultValue:De}}function se(De,ze){var et=(0,nt.Z)(typeof ze=="function"?ze:function(xt){if(ze===void 0)return xt;if(!Array.isArray(ze))return xt[ze];var Wt={};return ze.forEach(function(nn){Wt[nn]=xt[nn]}),Wt}),ut=he.useContext(De==null?void 0:De.Context),dt=ut||{},Ct=dt.listeners,Rt=dt.getValue,rn=he.useRef();rn.current=et(ut?Rt():De==null?void 0:De.defaultValue);var Xe=he.useState({}),ct=(0,Ke.Z)(Xe,2),bt=ct[1];return(0,Ze.Z)(function(){if(!ut)return;function xt(Wt){var nn=et(Wt);(0,je.Z)(rn.current,nn,!0)||bt({})}return Ct.add(xt),function(){Ct.delete(xt)}},[ut]),rn.current}var Ue=Be(14809),Pe=Be(8654);function be(){var De=he.createContext(null);function ze(){return he.useContext(De)}function et(dt,Ct){var Rt=(0,Pe.Yr)(dt),rn=function(ct,bt){var xt=Rt?{ref:bt}:{},Wt=he.useRef(0),nn=he.useRef(ct),on=ze();return on!==null?he.createElement(dt,(0,Ue.Z)({},ct,xt)):((!Ct||Ct(nn.current,ct))&&(Wt.current+=1),nn.current=ct,he.createElement(De.Provider,{value:Wt.current},he.createElement(dt,(0,Ue.Z)({},ct,xt))))};return Rt?he.forwardRef(rn):rn}function ut(dt,Ct){var Rt=(0,Pe.Yr)(dt),rn=function(ct,bt){var xt=Rt?{ref:bt}:{};return ze(),he.createElement(dt,(0,Ue.Z)({},ct,xt))};return Rt?he.memo(he.forwardRef(rn),Ct):he.memo(rn,Ct)}return{makeImmutable:et,responseImmutable:ut,useImmutableMark:ze}}var oe=be(),y=oe.makeImmutable,a=oe.responseImmutable,E=oe.useImmutableMark,b=be(),x=b.makeImmutable,z=b.responseImmutable,ne=b.useImmutableMark,ce=Ie(),Fe=ce;function Ee(De,ze){var et=he.useRef(0);et.current+=1;var ut=he.useRef(De),dt=[];Object.keys(De||{}).map(function(Rt){var rn;(De==null?void 0:De[Rt])!==((rn=ut.current)===null||rn===void 0?void 0:rn[Rt])&&dt.push(Rt)}),ut.current=De;var Ct=he.useRef([]);return dt.length&&(Ct.current=dt),he.useDebugValue(et.current),he.useDebugValue(Ct.current.join(", ")),ze&&console.log("".concat(ze,":"),et.current,Ct.current),et.current}var Qe=null,We=he.memo(function(){var De=Ee();return he.createElement("h1",null,"Render Times: ",De)});We.displayName="RenderBlock";var Ye=Be(93664),rt=Be(20439),Te=Be(4635),Pt=Be(92310),Oe=Be.n(Pt),Tt=Be(80547),st=Be(97938),At=Be(48736),It=he.createContext({renderWithProps:!1}),gt=It,Ft="RC_TABLE_KEY";function ht(De){return De==null?[]:Array.isArray(De)?De:[De]}function tt(De){var ze=[],et={};return De.forEach(function(ut){for(var dt=ut||{},Ct=dt.key,Rt=dt.dataIndex,rn=Ct||ht(Rt).join("-")||Ft;et[rn];)rn="".concat(rn,"_next");et[rn]=!0,ze.push(rn)}),ze}function en(De){return De!=null}function gn(De){return De&&(0,Ye.Z)(De)==="object"&&!Array.isArray(De)&&!he.isValidElement(De)}function Et(De,ze,et,ut,dt,Ct){var Rt=he.useContext(gt),rn=ne(),Xe=(0,Tt.Z)(function(){if(en(ut))return[ut];var ct=ze==null||ze===""?[]:Array.isArray(ze)?ze:[ze],bt=(0,st.Z)(De,ct),xt=bt,Wt=void 0;if(dt){var nn=dt(bt,De,et);gn(nn)?(xt=nn.children,Wt=nn.props,Rt.renderWithProps=!0):xt=nn}return[xt,Wt]},[rn,De,ut,ze,dt,et],function(ct,bt){if(Ct){var xt=(0,Ke.Z)(ct,2),Wt=xt[1],nn=(0,Ke.Z)(bt,2),on=nn[1];return Ct(on,Wt)}return Rt.renderWithProps?!0:!(0,je.Z)(ct,bt,!0)});return Xe}function Zt(De,ze,et,ut){var dt=De+ze-1;return De<=ut&&dt>=et}function Cn(De,ze){return se(Fe,function(et){var ut=Zt(De,ze||1,et.hoverStartRow,et.hoverEndRow);return[ut,et.onHover]})}var jn=function(ze){var et=ze.ellipsis,ut=ze.rowType,dt=ze.children,Ct,Rt=et===!0?{showTitle:!0}:et;return Rt&&(Rt.showTitle||ut==="header")&&(typeof dt=="string"||typeof dt=="number"?Ct=dt.toString():he.isValidElement(dt)&&typeof dt.props.children=="string"&&(Ct=dt.props.children)),Ct};function hn(De){var ze,et,ut,dt,Ct,Rt,rn,Xe,ct=De.component,bt=De.children,xt=De.ellipsis,Wt=De.scope,nn=De.prefixCls,on=De.className,pn=De.align,Tn=De.record,Hn=De.render,_n=De.dataIndex,Jn=De.renderIndex,yr=De.shouldCellUpdate,On=De.index,_t=De.rowType,Rr=De.colSpan,Pr=De.rowSpan,Wn=De.fixLeft,rr=De.fixRight,ar=De.firstFixLeft,Yn=De.lastFixLeft,gr=De.firstFixRight,Ur=De.lastFixRight,aa=De.appendNode,Jr=De.additionalProps,Wr=Jr===void 0?{}:Jr,ca=De.isSticky,qr="".concat(nn,"-cell"),ba=se(Fe,["supportSticky","allColumnsFixedLeft"]),Fr=ba.supportSticky,Fo=ba.allColumnsFixedLeft,Wa=Et(Tn,_n,Jn,bt,Hn,yr),Oa=(0,Ke.Z)(Wa,2),so=Oa[0],Ha=Oa[1],jo={},Ga=typeof Wn=="number"&&Fr,tA=typeof rr=="number"&&Fr;Ga&&(jo.position="sticky",jo.left=Wn),tA&&(jo.position="sticky",jo.right=rr);var Hr=(ze=(et=(ut=Ha==null?void 0:Ha.colSpan)!==null&&ut!==void 0?ut:Wr.colSpan)!==null&&et!==void 0?et:Rr)!==null&&ze!==void 0?ze:1,fa=(dt=(Ct=(Rt=Ha==null?void 0:Ha.rowSpan)!==null&&Rt!==void 0?Rt:Wr.rowSpan)!==null&&Ct!==void 0?Ct:Pr)!==null&&dt!==void 0?dt:1,pa=Cn(On,fa),Xr=(0,Ke.Z)(pa,2),la=Xr[0],Mr=Xr[1],Ra=function(Lr){var Wo;Tn&&Mr(On,On+fa-1),Wr==null||(Wo=Wr.onMouseEnter)===null||Wo===void 0||Wo.call(Wr,Lr)},Va=function(Lr){var Wo;Tn&&Mr(-1,-1),Wr==null||(Wo=Wr.onMouseLeave)===null||Wo===void 0||Wo.call(Wr,Lr)};if(Hr===0||fa===0)return null;var oo=(rn=Wr.title)!==null&&rn!==void 0?rn:jn({rowType:_t,ellipsis:xt,children:so}),bi=Oe()(qr,on,(Xe={},(0,Te.Z)(Xe,"".concat(qr,"-fix-left"),Ga&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-fix-left-first"),ar&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-fix-left-last"),Yn&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-fix-left-all"),Yn&&Fo&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-fix-right"),tA&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-fix-right-first"),gr&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-fix-right-last"),Ur&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-ellipsis"),xt),(0,Te.Z)(Xe,"".concat(qr,"-with-append"),aa),(0,Te.Z)(Xe,"".concat(qr,"-fix-sticky"),(Ga||tA)&&ca&&Fr),(0,Te.Z)(Xe,"".concat(qr,"-row-hover"),!Ha&&la),Xe),Wr.className,Ha==null?void 0:Ha.className),Ea={};pn&&(Ea.textAlign=pn);var nA=(0,rt.Z)((0,rt.Z)((0,rt.Z)((0,rt.Z)({},jo),Wr.style),Ea),Ha==null?void 0:Ha.style),ri=so;return(0,Ye.Z)(ri)==="object"&&!Array.isArray(ri)&&!he.isValidElement(ri)&&(ri=null),xt&&(Yn||gr)&&(ri=he.createElement("span",{className:"".concat(qr,"-content")},ri)),he.createElement(ct,(0,Ue.Z)({},Ha,Wr,{className:bi,style:nA,title:oo,scope:Wt,onMouseEnter:Ra,onMouseLeave:Va,colSpan:Hr!==1?Hr:null,rowSpan:fa!==1?fa:null}),aa,ri)}var Kn=he.memo(hn);function Nt(De,ze,et,ut,dt,Ct){var Rt=et[De]||{},rn=et[ze]||{},Xe,ct;Rt.fixed==="left"?Xe=ut.left[dt==="rtl"?ze:De]:rn.fixed==="right"&&(ct=ut.right[dt==="rtl"?De:ze]);var bt=!1,xt=!1,Wt=!1,nn=!1,on=et[ze+1],pn=et[De-1],Tn=!(Ct!=null&&Ct.children);if(dt==="rtl"){if(Xe!==void 0){var Hn=pn&&pn.fixed==="left";nn=!Hn&&Tn}else if(ct!==void 0){var _n=on&&on.fixed==="right";Wt=!_n&&Tn}}else if(Xe!==void 0){var Jn=on&&on.fixed==="left";bt=!Jn&&Tn}else if(ct!==void 0){var yr=pn&&pn.fixed==="right";xt=!yr&&Tn}return{fixLeft:Xe,fixRight:ct,lastFixLeft:bt,firstFixRight:xt,lastFixRight:Wt,firstFixLeft:nn,isSticky:ut.isSticky}}var zn=he.createContext({}),$n=zn;function He(De){var ze=De.className,et=De.index,ut=De.children,dt=De.colSpan,Ct=dt===void 0?1:dt,Rt=De.rowSpan,rn=De.align,Xe=se(Fe,["prefixCls","direction"]),ct=Xe.prefixCls,bt=Xe.direction,xt=he.useContext($n),Wt=xt.scrollColumnIndex,nn=xt.stickyOffsets,on=xt.flattenColumns,pn=xt.columns,Tn=et+Ct-1,Hn=Tn+1===Wt?Ct+1:Ct,_n=Nt(et,et+Hn-1,on,nn,bt,pn==null?void 0:pn[et]);return he.createElement(Kn,(0,Ue.Z)({className:ze,index:et,component:"td",prefixCls:ct,record:null,dataIndex:null,align:rn,colSpan:Hn,rowSpan:Rt,render:function(){return ut}},_n))}var $t=Be(62646),Re=["children"];function me(De){var ze=De.children,et=(0,$t.Z)(De,Re);return he.createElement("tr",et,ze)}function le(De){var ze=De.children;return ze}le.Row=me,le.Cell=He;var ye=le;function qe(De){var ze=De.children,et=De.stickyOffsets,ut=De.flattenColumns,dt=De.columns,Ct=se(Fe,"prefixCls"),Rt=ut.length-1,rn=ut[Rt],Xe=he.useMemo(function(){return{stickyOffsets:et,flattenColumns:ut,scrollColumnIndex:rn!=null&&rn.scrollbar?Rt:null,columns:dt}},[rn,ut,Rt,et,dt]);return he.createElement($n.Provider,{value:Xe},he.createElement("tfoot",{className:"".concat(Ct,"-summary")},ze))}var pt=z(qe),Me=ye,Je=Be(70425),jt=Be(29301),wt=Be(29194),lt=Be(24514),Vt=Be(75152),Bn=Be(26112);function kt(De,ze,et,ut,dt,Ct,Rt){De.push({record:ze,indent:et,index:Rt});var rn=Ct(ze),Xe=dt==null?void 0:dt.has(rn);if(ze&&Array.isArray(ze[ut])&&Xe)for(var ct=0;ct1?ar-1:0),gr=1;gr=0;rn-=1){var Xe=ze[rn],ct=et&&et[rn],bt=ct&&ct[Sr];if(Xe||bt||Rt){var xt=bt||{},Wt=xt.columnType,nn=(0,$t.Z)(xt,Gr);dt.unshift(he.createElement("col",(0,Ue.Z)({key:rn,style:{width:Xe}},nn))),Rt=!0}}return he.createElement("colgroup",null,dt)}var Ja=ma,Yr=Be(95190),No=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Mo(De,ze){return(0,he.useMemo)(function(){for(var et=[],ut=0;ut1?"colgroup":"col":null,ellipsis:Tn.ellipsis,align:Tn.align,component:Tn.title?Ct:Rt,prefixCls:bt,key:nn[pn]},Hn,{additionalProps:_n,rowType:"header"}))}))}xi.displayName="HeaderRow";var gi=xi;function ui(De){var ze=[];function et(Rt,rn){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ze[Xe]=ze[Xe]||[];var ct=rn,bt=Rt.filter(Boolean).map(function(xt){var Wt={key:xt.key,className:xt.className||"",children:xt.title,column:xt,colStart:ct},nn=1,on=xt.children;return on&&on.length>0&&(nn=et(on,ct,Xe+1).reduce(function(pn,Tn){return pn+Tn},0),Wt.hasSubColumns=!0),"colSpan"in xt&&(nn=xt.colSpan),"rowSpan"in xt&&(Wt.rowSpan=xt.rowSpan),Wt.colSpan=nn,Wt.colEnd=Wt.colStart+nn-1,ze[Xe].push(Wt),ct+=nn,nn});return bt}et(De,0);for(var ut=ze.length,dt=function(rn){ze[rn].forEach(function(Xe){!("rowSpan"in Xe)&&!Xe.hasSubColumns&&(Xe.rowSpan=ut-rn)})},Ct=0;Ct1&&arguments[1]!==void 0?arguments[1]:"";return typeof ze=="number"?ze:ze.endsWith("%")?De*parseFloat(ze)/100:null}function ai(De,ze){return he.useMemo(function(){if(ze&&ze>0){var et=0,ut=0;De.forEach(function(ct){var bt=pi(ze,ct.width);bt?et+=bt:ut+=1});var dt=ze-et,Ct=ut,Rt=dt/ut,rn=0,Xe=De.map(function(ct){var bt=(0,rt.Z)({},ct),xt=pi(ze,bt.width);if(xt)bt.width=xt;else{var Wt=Math.floor(Rt);bt.width=Ct===1?dt:Wt,dt-=Wt,Ct-=1}return rn+=bt.width,bt});return[Xe,rn]}return[De,ze]},[De,ze])}var In=["children"],Mn=["fixed"];function wn(De){return(0,Xi.Z)(De).filter(function(ze){return he.isValidElement(ze)}).map(function(ze){var et=ze.key,ut=ze.props,dt=ut.children,Ct=(0,$t.Z)(ut,In),Rt=(0,rt.Z)({key:et},Ct);return dt&&(Rt.children=wn(dt)),Rt})}function Or(De){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return De.filter(function(et){return et&&(0,Ye.Z)(et)==="object"}).reduce(function(et,ut,dt){var Ct=ut.fixed,Rt=Ct===!0?"left":Ct,rn="".concat(ze,"-").concat(dt),Xe=ut.children;return Xe&&Xe.length>0?[].concat((0,Yr.Z)(et),(0,Yr.Z)(Or(Xe,rn).map(function(ct){return(0,rt.Z)({fixed:Rt},ct)}))):[].concat((0,Yr.Z)(et),[(0,rt.Z)((0,rt.Z)({key:rn},ut),{},{fixed:Rt})])},[])}function sa(De){for(var ze=!0,et=0;et=0;Ct-=1){var Rt=De[Ct];if(dt&&Rt.fixed!=="right")dt=!1;else if(!dt&&Rt.fixed==="right"){warning(!1,"Index ".concat(Ct+1," of `columns` missing `fixed='right'` prop."));break}}}function Ir(De){return De.map(function(ze){var et=ze.fixed,ut=(0,$t.Z)(ze,Mn),dt=et;return et==="left"?dt="right":et==="right"&&(dt="left"),(0,rt.Z)({fixed:dt},ut)})}function ga(De,ze){var et=De.prefixCls,ut=De.columns,dt=De.children,Ct=De.expandable,Rt=De.expandedKeys,rn=De.columnTitle,Xe=De.getRowKey,ct=De.onTriggerExpand,bt=De.expandIcon,xt=De.rowExpandable,Wt=De.expandIconColumnIndex,nn=De.direction,on=De.expandRowByClick,pn=De.columnWidth,Tn=De.fixed,Hn=De.scrollWidth,_n=he.useMemo(function(){return ut||wn(dt)},[ut,dt]),Jn=he.useMemo(function(){if(Ct){var rr,ar=_n.slice();if(!ar.includes(pe)){var Yn=Wt||0;Yn>=0&&ar.splice(Yn,0,pe)}var gr=ar.indexOf(pe);ar=ar.filter(function(Wr,ca){return Wr!==pe||ca===gr});var Ur=_n[gr],aa;(Tn==="left"||Tn)&&!Wt?aa="left":(Tn==="right"||Tn)&&Wt===_n.length?aa="right":aa=Ur?Ur.fixed:null;var Jr=(rr={},(0,Te.Z)(rr,Sr,{className:"".concat(et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Te.Z)(rr,"title",rn),(0,Te.Z)(rr,"fixed",aa),(0,Te.Z)(rr,"className","".concat(et,"-row-expand-icon-cell")),(0,Te.Z)(rr,"width",pn),(0,Te.Z)(rr,"render",function(ca,qr,ba){var Fr=Xe(qr,ba),Fo=Rt.has(Fr),Wa=xt?xt(qr):!0,Oa=bt({prefixCls:et,expanded:Fo,expandable:Wa,record:qr,onExpand:ct});return on?he.createElement("span",{onClick:function(Ha){return Ha.stopPropagation()}},Oa):Oa}),rr);return ar.map(function(Wr){return Wr===pe?Jr:Wr})}return _n.filter(function(Wr){return Wr!==pe})},[Ct,_n,Xe,Rt,bt,nn]),yr=he.useMemo(function(){var rr=Jn;return ze&&(rr=ze(rr)),rr.length||(rr=[{render:function(){return null}}]),rr},[ze,Jn,nn]),On=he.useMemo(function(){return nn==="rtl"?Ir(Or(yr)):Or(yr)},[yr,nn,Hn]),_t=ai(On,Hn),Rr=(0,Ke.Z)(_t,2),Pr=Rr[0],Wn=Rr[1];return[yr,Pr,Wn]}var Ia=ga;function Ca(De){var ze,et=De.prefixCls,ut=De.record,dt=De.onExpand,Ct=De.expanded,Rt=De.expandable,rn="".concat(et,"-row-expand-icon");if(!Rt)return he.createElement("span",{className:Oe()(rn,"".concat(et,"-row-spaced"))});var Xe=function(bt){dt(ut,bt),bt.stopPropagation()};return he.createElement("span",{className:Oe()(rn,(ze={},(0,Te.Z)(ze,"".concat(et,"-row-expanded"),Ct),(0,Te.Z)(ze,"".concat(et,"-row-collapsed"),!Ct),ze)),onClick:Xe})}function to(De,ze,et){var ut=[];function dt(Ct){(Ct||[]).forEach(function(Rt,rn){ut.push(ze(Rt,rn)),dt(Rt[et])})}return dt(De),ut}function ci(De,ze,et){var ut=Qr(De),dt=ut.expandIcon,Ct=ut.expandedRowKeys,Rt=ut.defaultExpandedRowKeys,rn=ut.defaultExpandAllRows,Xe=ut.expandedRowRender,ct=ut.onExpand,bt=ut.onExpandedRowsChange,xt=ut.childrenColumnName,Wt=dt||Ca,nn=xt||"children",on=he.useMemo(function(){return Xe?"row":De.expandable&&De.internalHooks===we&&De.expandable.__PARENT_RENDER_ICON__||ze.some(function(On){return On&&(0,Ye.Z)(On)==="object"&&On[nn]})?"nest":!1},[!!Xe,ze]),pn=he.useState(function(){return Rt||(rn?to(ze,et,nn):[])}),Tn=(0,Ke.Z)(pn,2),Hn=Tn[0],_n=Tn[1],Jn=he.useMemo(function(){return new Set(Ct||Hn||[])},[Ct,Hn]),yr=he.useCallback(function(On){var _t=et(On,ze.indexOf(On)),Rr,Pr=Jn.has(_t);Pr?(Jn.delete(_t),Rr=(0,Yr.Z)(Jn)):Rr=[].concat((0,Yr.Z)(Jn),[_t]),_n(Rr),ct&&ct(!Pr,On),bt&&bt(Rr)},[et,Jn,ze,ct,bt]);return[ut,on,Jn,Wt,nn,yr]}function wr(De,ze,et,ut){var dt=De.map(function(Ct,Rt){return Nt(Rt,Rt,De,ze,et,ut==null?void 0:ut[Rt])});return(0,Tt.Z)(function(){return dt},[dt],function(Ct,Rt){return!(0,je.Z)(Ct,Rt)})}function Ua(De){var ze=(0,he.useRef)(De),et=(0,he.useState)({}),ut=(0,Ke.Z)(et,2),dt=ut[1],Ct=(0,he.useRef)(null),Rt=(0,he.useRef)([]);function rn(Xe){Rt.current.push(Xe);var ct=Promise.resolve();Ct.current=ct,ct.then(function(){if(Ct.current===ct){var bt=Rt.current,xt=ze.current;Rt.current=[],bt.forEach(function(Wt){ze.current=Wt(ze.current)}),Ct.current=null,xt!==ze.current&&dt({})}})}return(0,he.useEffect)(function(){return function(){Ct.current=null}},[]),[ze.current,rn]}function oi(De){var ze=(0,he.useRef)(De||null),et=(0,he.useRef)();function ut(){window.clearTimeout(et.current)}function dt(Rt){ze.current=Rt,ut(),et.current=window.setTimeout(function(){ze.current=null,et.current=void 0},100)}function Ct(){return ze.current}return(0,he.useEffect)(function(){return ut},[]),[dt,Ct]}function Do(){var De=he.useState(-1),ze=(0,Ke.Z)(De,2),et=ze[0],ut=ze[1],dt=he.useState(-1),Ct=(0,Ke.Z)(dt,2),Rt=Ct[0],rn=Ct[1],Xe=he.useCallback(function(ct,bt){ut(ct),rn(bt)},[]);return[et,Rt,Xe]}var Go=Be(47273),co=(0,Go.Z)()?window:null;function yi(De,ze){var et=(0,Ye.Z)(De)==="object"?De:{},ut=et.offsetHeader,dt=ut===void 0?0:ut,Ct=et.offsetSummary,Rt=Ct===void 0?0:Ct,rn=et.offsetScroll,Xe=rn===void 0?0:rn,ct=et.getContainer,bt=ct===void 0?function(){return co}:ct,xt=bt()||co;return he.useMemo(function(){var Wt=!!De;return{isSticky:Wt,stickyClassName:Wt?"".concat(ze,"-sticky-holder"):"",offsetHeader:dt,offsetSummary:Rt,offsetScroll:Xe,container:xt}},[Xe,dt,Rt,ze,xt])}function zi(De,ze,et){var ut=(0,he.useMemo)(function(){for(var dt=[],Ct=[],Rt=0,rn=0,Xe=0;Xe=xt&&(Wr=xt-Wt),Rt({scrollLeft:Wr/xt*(bt+2)}),_n.current.x=gr.pageX},rr=function(){if(Ct.current){var gr=(0,AA.os)(Ct.current).top,Ur=gr+Ct.current.offsetHeight,aa=Xe===window?document.documentElement.scrollTop+window.innerHeight:(0,AA.os)(Xe).top+Xe.clientHeight;Ur-(0,Vt.Z)()<=aa||gr>=aa-rn?Hn(function(Jr){return(0,rt.Z)((0,rt.Z)({},Jr),{},{isHiddenScrollBar:!0})}):Hn(function(Jr){return(0,rt.Z)((0,rt.Z)({},Jr),{},{isHiddenScrollBar:!1})})}},ar=function(gr){Hn(function(Ur){return(0,rt.Z)((0,rt.Z)({},Ur),{},{scrollLeft:gr/bt*xt||0})})};return he.useImperativeHandle(et,function(){return{setScrollLeft:ar}}),he.useEffect(function(){var Yn=(0,To.Z)(document.body,"mouseup",Rr,!1),gr=(0,To.Z)(document.body,"mousemove",Wn,!1);return rr(),function(){Yn.remove(),gr.remove()}},[Wt,On]),he.useEffect(function(){var Yn=(0,To.Z)(Xe,"scroll",rr,!1),gr=(0,To.Z)(window,"resize",rr,!1);return function(){Yn.remove(),gr.remove()}},[Xe]),he.useEffect(function(){Tn.isHiddenScrollBar||Hn(function(Yn){var gr=Ct.current;return gr?(0,rt.Z)((0,rt.Z)({},Yn),{},{scrollLeft:gr.scrollLeft/gr.scrollWidth*gr.clientWidth}):Yn})},[Tn.isHiddenScrollBar]),bt<=xt||!Wt||Tn.isHiddenScrollBar?null:he.createElement("div",{style:{height:(0,Vt.Z)(),width:xt,bottom:rn},className:"".concat(ct,"-sticky-scroll")},he.createElement("div",{onMouseDown:Pr,ref:nn,className:Oe()("".concat(ct,"-sticky-scroll-bar"),(0,Te.Z)({},"".concat(ct,"-sticky-scroll-bar-active"),On)),style:{width:"".concat(Wt,"px"),transform:"translate3d(".concat(Tn.scrollLeft,"px, 0, 0)")}}))},Gi=he.forwardRef(XA);function br(De){return null}var Gl=br;function Fs(De){return null}var xs=Fs,JA="rc-table",Kr=[],Pa={};function lo(){return"No Data"}function va(De){var ze,et=(0,rt.Z)({rowKey:"key",prefixCls:JA,emptyText:lo},De),ut=et.prefixCls,dt=et.className,Ct=et.rowClassName,Rt=et.style,rn=et.data,Xe=et.rowKey,ct=et.scroll,bt=et.tableLayout,xt=et.direction,Wt=et.title,nn=et.footer,on=et.summary,pn=et.caption,Tn=et.id,Hn=et.showHeader,_n=et.components,Jn=et.emptyText,yr=et.onRow,On=et.onHeaderRow,_t=et.internalHooks,Rr=et.transformColumns,Pr=et.internalRefs,Wn=et.tailor,rr=et.sticky,ar=rn||Kr,Yn=!!ar.length,gr=_t===we,Ur=he.useCallback(function(bo,Zo){return(0,st.Z)(_n,bo)||Zo},[_n]),aa=he.useMemo(function(){return typeof Xe=="function"?Xe:function(bo){var Zo=bo&&bo[Xe];return Zo}},[Xe]),Jr=Ur(["body"]),Wr=Do(),ca=(0,Ke.Z)(Wr,3),qr=ca[0],ba=ca[1],Fr=ca[2],Fo=ci(et,ar,aa),Wa=(0,Ke.Z)(Fo,6),Oa=Wa[0],so=Wa[1],Ha=Wa[2],jo=Wa[3],Ga=Wa[4],tA=Wa[5],Hr=ct==null?void 0:ct.x,fa=he.useState(0),pa=(0,Ke.Z)(fa,2),Xr=pa[0],la=pa[1],Mr=Ia((0,rt.Z)((0,rt.Z)((0,rt.Z)({},et),Oa),{},{expandable:!!Oa.expandedRowRender,columnTitle:Oa.columnTitle,expandedKeys:Ha,getRowKey:aa,onTriggerExpand:tA,expandIcon:jo,expandIconColumnIndex:Oa.expandIconColumnIndex,direction:xt,scrollWidth:gr&&Wn&&typeof Hr=="number"?Hr:null}),gr?Rr:null),Ra=(0,Ke.Z)(Mr,3),Va=Ra[0],oo=Ra[1],bi=Ra[2],Ea=bi!=null?bi:Hr,nA=he.useMemo(function(){return{columns:Va,flattenColumns:oo}},[Va,oo]),ri=he.useRef(),Ei=he.useRef(),Lr=he.useRef(),Wo=he.useRef(),pA=he.useRef(),yo=he.useState(!1),eo=(0,Ke.Z)(yo,2),Ho=eo[0],qo=eo[1],Ko=he.useState(!1),Ya=(0,Ke.Z)(Ko,2),Bi=Ya[0],Pi=Ya[1],lA=Ua(new Map),rA=(0,Ke.Z)(lA,2),FA=rA[0],ws=rA[1],os=tt(oo),RA=os.map(function(bo){return FA.get(bo)}),QA=he.useMemo(function(){return RA},[RA.join("_")]),uA=Li(QA,oo.length,xt),Si=ct&&en(ct.y),si=ct&&en(Ea)||!!Oa.fixed,Cs=si&&oo.some(function(bo){var Zo=bo.fixed;return Zo}),Os=he.useRef(),Ws=yi(rr,ut),cs=Ws.isSticky,_l=Ws.offsetHeader,pl=Ws.offsetSummary,wo=Ws.offsetScroll,Ao=Ws.stickyClassName,aA=Ws.container,li=he.useMemo(function(){return on==null?void 0:on(ar)},[on,ar]),oA=(Si||cs)&&he.isValidElement(li)&&li.type===ye&&li.props.fixed,vA,cA,BA;Si&&(cA={overflowY:"scroll",maxHeight:ct.y}),si&&(vA={overflowX:"auto"},Si||(cA={overflowY:"hidden"}),BA={width:Ea===!0?"auto":Ea,minWidth:"100%"});var Al=he.useCallback(function(bo,Zo){(0,wt.Z)(ri.current)&&ws(function(OA){if(OA.get(bo)!==Zo){var Ts=new Map(OA);return Ts.set(bo,Zo),Ts}return OA})},[]),MA=oi(null),Fl=(0,Ke.Z)(MA,2),ou=Fl[0],Eu=Fl[1];function vl(bo,Zo){Zo&&(typeof Zo=="function"?Zo(bo):Zo.scrollLeft!==bo&&(Zo.scrollLeft=bo,Zo.scrollLeft!==bo&&setTimeout(function(){Zo.scrollLeft=bo},0)))}var Zs=(0,nt.Z)(function(bo){var Zo=bo.currentTarget,OA=bo.scrollLeft,Ts=xt==="rtl",ks=typeof OA=="number"?OA:Zo.scrollLeft,uu=Zo||Pa;if(!Eu()||Eu()===uu){var Xl;ou(uu),vl(ks,Ei.current),vl(ks,Lr.current),vl(ks,pA.current),vl(ks,(Xl=Os.current)===null||Xl===void 0?void 0:Xl.setScrollLeft)}var Es=Zo||Ei.current;if(Es){var js=Es.scrollWidth,cu=Es.clientWidth;if(js===cu){qo(!1),Pi(!1);return}Ts?(qo(-ks0)):(qo(ks>0),Pi(ks1?pn-gr:0,aa=(0,rt.Z)((0,rt.Z)((0,rt.Z)({},Rr),Xe),{},{flex:"0 0 ".concat(gr,"px"),width:"".concat(gr,"px"),marginRight:Ur,pointerEvents:"auto"}),Jr=he.useMemo(function(){return bt?ar<=1:Wn===0||ar===0||ar>1},[ar,Wn,bt]);Jr?aa.visibility="hidden":bt&&(aa.height=xt==null?void 0:xt(ar));var Wr=Jr?function(){return null}:Wt,ca={};return(ar===0||Wn===0)&&(ca.rowSpan=1,ca.colSpan=1),he.createElement(Kn,(0,Ue.Z)({className:Oe()(on,ct),ellipsis:et.ellipsis,align:et.align,scope:et.rowScope,component:"div",prefixCls:ze.prefixCls,key:Jn,record:rn,index:Ct,renderIndex:Rt,dataIndex:nn,render:Wr,shouldCellUpdate:et.shouldCellUpdate},yr,{appendNode:On,additionalProps:(0,rt.Z)((0,rt.Z)({},_t),{},{style:aa},ca)}))}var ms=ml,ps=["data","index","className","rowKey","style","extra","getHeight"],qA=he.forwardRef(function(De,ze){var et=De.data,ut=De.index,dt=De.className,Ct=De.rowKey,Rt=De.style,rn=De.extra,Xe=De.getHeight,ct=(0,$t.Z)(De,ps),bt=et.record,xt=et.indent,Wt=et.index,nn=se(Fe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),on=nn.scrollX,pn=nn.flattenColumns,Tn=nn.prefixCls,Hn=nn.fixColumn,_n=nn.componentWidth,Jn=An(bt,Ct,ut,xt),yr=Jn.rowSupportExpand,On=Jn.expanded,_t=Jn.rowProps,Rr=Jn.expandedRowRender,Pr=Jn.expandedRowClassName,Wn;if(yr&&On){var rr=Rr(bt,ut,xt+1,On),ar=Pr==null?void 0:Pr(bt,ut,xt),Yn={};Hn&&(Yn={style:(0,Te.Z)({},"--virtual-width","".concat(_n,"px"))});var gr="".concat(Tn,"-expanded-row-cell");Wn=he.createElement("div",{className:Oe()("".concat(Tn,"-expanded-row"),"".concat(Tn,"-expanded-row-level-").concat(xt+1),ar)},he.createElement(Kn,{component:"div",prefixCls:Tn,className:Oe()(gr,(0,Te.Z)({},"".concat(gr,"-fixed"),Hn)),additionalProps:Yn},rr))}var Ur=(0,rt.Z)((0,rt.Z)({},Rt),{},{width:on});rn&&(Ur.position="absolute",Ur.pointerEvents="none");var aa=he.createElement("div",(0,Ue.Z)({},_t,ct,{ref:yr?null:ze,className:Oe()(dt,"".concat(Tn,"-row"),_t==null?void 0:_t.className,(0,Te.Z)({},"".concat(Tn,"-row-extra"),rn)),style:(0,rt.Z)((0,rt.Z)({},Ur),_t==null?void 0:_t.style)}),pn.map(function(Jr,Wr){return he.createElement(ms,{key:Wr,rowInfo:Jn,column:Jr,colIndex:Wr,indent:xt,index:ut,renderIndex:Wt,record:bt,inverse:rn,getHeight:Xe})}));return yr?he.createElement("div",{ref:ze},aa,Wn):aa}),jA=z(qA),vs=jA,$A=he.forwardRef(function(De,ze){var et=De.data,ut=De.onScroll,dt=se(Fe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ct=dt.flattenColumns,Rt=dt.onColumnResize,rn=dt.getRowKey,Xe=dt.expandedKeys,ct=dt.prefixCls,bt=dt.childrenColumnName,xt=dt.emptyNode,Wt=dt.scrollX,nn=se(Ji),on=nn.scrollY,pn=nn.listItemHeight,Tn=he.useRef(),Hn=dn(et,bt,Xe,rn),_n=he.useMemo(function(){var Wn=0;return Ct.map(function(rr){var ar=rr.width,Yn=rr.key;return Wn+=ar,[Yn,ar,Wn]})},[Ct]),Jn=he.useMemo(function(){return _n.map(function(Wn){return Wn[2]})},[_n]);he.useEffect(function(){_n.forEach(function(Wn){var rr=(0,Ke.Z)(Wn,2),ar=rr[0],Yn=rr[1];Rt(ar,Yn)})},[_n]),he.useImperativeHandle(ze,function(){var Wn={};return Object.defineProperty(Wn,"scrollLeft",{get:function(){var ar;return((ar=Tn.current)===null||ar===void 0?void 0:ar.getScrollInfo().x)||0},set:function(ar){var Yn;(Yn=Tn.current)===null||Yn===void 0||Yn.scrollTo({left:ar})}}),Wn});var yr=function(rr,ar){var Yn,gr=(Yn=Hn[ar])===null||Yn===void 0?void 0:Yn.record,Ur=rr.onCell;if(Ur){var aa,Jr=Ur(gr,ar);return(aa=Jr==null?void 0:Jr.rowSpan)!==null&&aa!==void 0?aa:1}return 1},On=function(rr){var ar=rr.start,Yn=rr.end,gr=rr.getSize,Ur=rr.offsetY;if(Yn<0)return null;for(var aa=Ct.filter(function(Hr){return yr(Hr,ar)===0}),Jr=ar,Wr=function(fa){if(aa=aa.filter(function(pa){return yr(pa,fa)===0}),!aa.length)return Jr=fa,"break"},ca=ar;ca>=0;ca-=1){var qr=Wr(ca);if(qr==="break")break}for(var ba=Ct.filter(function(Hr){return yr(Hr,Yn)!==1}),Fr=Yn,Fo=function(fa){if(ba=ba.filter(function(pa){return yr(pa,fa)!==1}),!ba.length)return Fr=Math.max(fa-1,Yn),"break"},Wa=Yn;Wa1})&&so.push(fa)},jo=Jr;jo<=Fr;jo+=1)var Ga=Ha(jo);var tA=so.map(function(Hr){var fa=Hn[Hr],pa=rn(fa.record,Hr),Xr=function(Ra){var Va=Hr+Ra-1,oo=rn(Hn[Va].record,Va),bi=gr(pa,oo);return bi.bottom-bi.top},la=gr(pa);return he.createElement(vs,{key:Hr,data:fa,rowKey:pa,index:Hr,style:{top:-Ur+la.top},extra:!0,getHeight:Xr})});return tA},_t=he.useMemo(function(){return{columnsOffset:Jn}},[Jn]),Rr="".concat(ct,"-tbody"),Pr;return Hn.length?Pr=he.createElement(Fa.Z,{fullHeight:!1,ref:Tn,className:Oe()(Rr,"".concat(Rr,"-virtual")),height:on,itemHeight:pn||24,data:Hn,itemKey:function(rr){return rn(rr.record)},scrollWidth:Wt,onVirtualScroll:function(rr){var ar=rr.x;ut({scrollLeft:ar})},extraRender:On},function(Wn,rr,ar){var Yn=rn(Wn.record,rr);return he.createElement(vs,(0,Ue.Z)({data:Wn,rowKey:Yn,index:rr},ar))}):Pr=he.createElement("div",{className:Oe()("".concat(ct,"-placeholder"))},he.createElement(Kn,{component:"div",prefixCls:ct},xt)),he.createElement(Na.Provider,{value:_t},Pr)}),_A=z($A),Ii=_A,Xn=function(ze,et){var ut=et.ref,dt=et.onScroll;return he.createElement(Ii,{ref:ut,data:ze,onScroll:dt})},Gn=100;function ir(De){var ze=De.columns,et=De.scroll,ut=De.prefixCls,dt=ut===void 0?JA:ut,Ct=De.className,Rt=De.listItemHeight,rn=et||{},Xe=rn.x,ct=rn.y;typeof Xe!="number"&&(Xe=((ze||[]).length+1)*Gn),typeof ct!="number"&&(ct=500);var bt=he.useMemo(function(){return{scrollY:ct,listItemHeight:Rt}},[ct,Rt]);return he.createElement(Ji.Provider,{value:bt},he.createElement(wi,(0,Ue.Z)({},De,{className:Oe()(Ct,"".concat(dt,"-virtual")),scroll:(0,rt.Z)((0,rt.Z)({},et),{},{x:Xe}),components:{body:Xn},columns:ze,internalHooks:we,tailor:!0})))}function _r(De){return x(ir,De)}var tn=_r(),io=null;function kr(De){return null}var no=kr;function Da(De){return null}var Qo=Da,Qa=Be(2738),Sa=Be(68031),fo=Be(36355),ro=Be(93891),fi=Be(19716),Ma=Be(8628),Xo=Be(31724),Ci=Be(58421),jr=Be(71418),xr=Be(88088);function Mt(De){return function(et){let{prefixCls:ut,onExpand:dt,record:Ct,expanded:Rt,expandable:rn}=et;const Xe=`${ut}-row-expand-icon`;return he.createElement("button",{type:"button",onClick:ct=>{dt(Ct,ct),ct.stopPropagation()},className:Oe()(Xe,{[`${Xe}-spaced`]:!rn,[`${Xe}-expanded`]:rn&&Rt,[`${Xe}-collapsed`]:rn&&!Rt}),"aria-label":Rt?De.collapse:De.expand,"aria-expanded":Rt})}}var Ot=Mt;function Fn(De,ze){return"key"in De&&De.key!==void 0&&De.key!==null?De.key:De.dataIndex?Array.isArray(De.dataIndex)?De.dataIndex.join("."):De.dataIndex:ze}function lr(De,ze){return ze?`${ze}-${De}`:`${De}`}function Vr(De,ze){return typeof De=="function"?De(ze):De}function Br(De,ze){const et=Vr(De,ze);return Object.prototype.toString.call(et)==="[object Object]"?"":et}var Zr={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"},mr=Zr,ea=Be(7657),da=function(ze,et){return he.createElement(ea.Z,(0,Ue.Z)({},ze,{ref:et,icon:mr}))},ao=he.forwardRef(da),Oo=ao,ya=Be(56762);function uo(De){const ze=he.useRef(De),et=(0,ya.Z)();return[()=>ze.current,ut=>{ze.current=ut,et()}]}var Ta=Be(3113),_a=Be(24905),ta=Be(38854),ka=Be(64165),za=Be(20834),vo=Be(40875),_o=Be(5112),Jo=Be(17574),Ni=Be(47472),hi=Be(92832);function qi(De){let{value:ze,onChange:et,filterSearch:ut,tablePrefixCls:dt,locale:Ct}=De;return ut?he.createElement("div",{className:`${dt}-filter-dropdown-search`},he.createElement(hi.default,{prefix:he.createElement(Ni.Z,null),placeholder:Ct.filterSearchPlaceholder,onChange:et,value:ze,htmlSize:1,className:`${dt}-filter-dropdown-search-input`})):null}var WA=qi,gA=Be(10228);const es=De=>{const{keyCode:ze}=De;ze===gA.Z.ENTER&&De.stopPropagation()};var yn=he.forwardRef((De,ze)=>he.createElement("div",{className:De.className,onClick:et=>et.stopPropagation(),onKeyDown:es,ref:ze},De.children));function xn(De){let ze=[];return(De||[]).forEach(et=>{let{value:ut,children:dt}=et;ze.push(ut),dt&&(ze=[].concat((0,Yr.Z)(ze),(0,Yr.Z)(xn(dt))))}),ze}function sA(De){return De.some(ze=>{let{children:et}=ze;return et})}function ja(De,ze){return typeof ze=="string"||typeof ze=="number"?ze==null?void 0:ze.toString().toLowerCase().includes(De.trim().toLowerCase()):!1}function xa(De){let{filters:ze,prefixCls:et,filteredKeys:ut,filterMultiple:dt,searchValue:Ct,filterSearch:Rt}=De;return ze.map((rn,Xe)=>{const ct=String(rn.value);if(rn.children)return{key:ct||Xe,label:rn.text,popupClassName:`${et}-dropdown-submenu`,children:xa({filters:rn.children,prefixCls:et,filteredKeys:ut,filterMultiple:dt,searchValue:Ct,filterSearch:Rt})};const bt=dt?_a.default:_o.ZP,xt={key:rn.value!==void 0?ct:Xe,label:he.createElement(he.Fragment,null,he.createElement(bt,{checked:ut.includes(ct)}),he.createElement("span",null,rn.text))};return Ct.trim()?typeof Rt=="function"?Rt(Ct,rn)?xt:null:ja(Ct,rn.text)?xt:null:xt})}function Bo(De){var ze,et;const{tablePrefixCls:ut,prefixCls:dt,column:Ct,dropdownPrefixCls:Rt,columnKey:rn,filterMultiple:Xe,filterMode:ct="menu",filterSearch:bt=!1,filterState:xt,triggerFilter:Wt,locale:nn,children:on,getPopupContainer:pn}=De,{filterDropdownOpen:Tn,onFilterDropdownOpenChange:Hn,filterResetToDefaultFilteredValue:_n,defaultFilteredValue:Jn,filterDropdownVisible:yr,onFilterDropdownVisibleChange:On}=Ct,[_t,Rr]=he.useState(!1),Pr=!!(xt&&(!((ze=xt.filteredKeys)===null||ze===void 0)&&ze.length||xt.forceFiltered)),Wn=Mr=>{Rr(Mr),Hn==null||Hn(Mr),On==null||On(Mr)},rr=(et=Tn!=null?Tn:yr)!==null&&et!==void 0?et:_t,ar=xt==null?void 0:xt.filteredKeys,[Yn,gr]=uo(ar||[]),Ur=Mr=>{let{selectedKeys:Ra}=Mr;gr(Ra)},aa=(Mr,Ra)=>{let{node:Va,checked:oo}=Ra;Ur(Xe?{selectedKeys:Mr}:{selectedKeys:oo&&Va.key?[Va.key]:[]})};he.useEffect(()=>{_t&&Ur({selectedKeys:ar||[]})},[ar]);const[Jr,Wr]=he.useState([]),ca=Mr=>{Wr(Mr)},[qr,ba]=he.useState(""),Fr=Mr=>{const{value:Ra}=Mr.target;ba(Ra)};he.useEffect(()=>{_t||ba("")},[_t]);const Fo=Mr=>{const Ra=Mr&&Mr.length?Mr:null;if(Ra===null&&(!xt||!xt.filteredKeys)||(0,je.Z)(Ra,xt==null?void 0:xt.filteredKeys,!0))return null;Wt({column:Ct,key:rn,filteredKeys:Ra})},Wa=()=>{Wn(!1),Fo(Yn())},Oa=function(){let{confirm:Mr,closeDropdown:Ra}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Mr&&Fo([]),Ra&&Wn(!1),ba(""),gr(_n?(Jn||[]).map(Va=>String(Va)):[])},so=function(){let{closeDropdown:Mr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Mr&&Wn(!1),Fo(Yn())},Ha=Mr=>{Mr&&ar!==void 0&&gr(ar||[]),Wn(Mr),!Mr&&!Ct.filterDropdown&&Wa()},jo=Oe()({[`${Rt}-menu-without-submenu`]:!sA(Ct.filters||[])}),Ga=Mr=>{if(Mr.target.checked){const Ra=xn(Ct==null?void 0:Ct.filters).map(Va=>String(Va));gr(Ra)}else gr([])},tA=Mr=>{let{filters:Ra}=Mr;return(Ra||[]).map((Va,oo)=>{const bi=String(Va.value),Ea={title:Va.text,key:Va.value!==void 0?bi:oo};return Va.children&&(Ea.children=tA({filters:Va.children})),Ea})},Hr=Mr=>{var Ra;return Object.assign(Object.assign({},Mr),{text:Mr.title,value:Mr.key,children:((Ra=Mr.children)===null||Ra===void 0?void 0:Ra.map(Va=>Hr(Va)))||[]})};let fa;if(typeof Ct.filterDropdown=="function")fa=Ct.filterDropdown({prefixCls:`${Rt}-custom`,setSelectedKeys:Mr=>Ur({selectedKeys:Mr}),selectedKeys:Yn(),confirm:so,clearFilters:Oa,filters:Ct.filters,visible:rr,close:()=>{Wn(!1)}});else if(Ct.filterDropdown)fa=Ct.filterDropdown;else{const Mr=Yn()||[],Ra=()=>(Ct.filters||[]).length===0?he.createElement(ka.Z,{image:ka.Z.PRESENTED_IMAGE_SIMPLE,description:nn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ct==="tree"?he.createElement(he.Fragment,null,he.createElement(WA,{filterSearch:bt,value:qr,onChange:Fr,tablePrefixCls:ut,locale:nn}),he.createElement("div",{className:`${ut}-filter-dropdown-tree`},Xe?he.createElement(_a.default,{checked:Mr.length===xn(Ct.filters).length,indeterminate:Mr.length>0&&Mr.lengthtypeof bt=="function"?bt(qr,Hr(oo)):ja(qr,oo.title):void 0}))):he.createElement(he.Fragment,null,he.createElement(WA,{filterSearch:bt,value:qr,onChange:Fr,tablePrefixCls:ut,locale:nn}),he.createElement(za.default,{selectable:!0,multiple:Xe,prefixCls:`${Rt}-menu`,className:jo,onSelect:Ur,onDeselect:Ur,selectedKeys:Mr,getPopupContainer:pn,openKeys:Jr,onOpenChange:ca,items:xa({filters:Ct.filters||[],filterSearch:bt,prefixCls:dt,filteredKeys:Yn(),filterMultiple:Xe,searchValue:qr})})),Va=()=>_n?(0,je.Z)((Jn||[]).map(oo=>String(oo)),Mr,!0):Mr.length===0;fa=he.createElement(he.Fragment,null,Ra(),he.createElement("div",{className:`${dt}-dropdown-btns`},he.createElement(Ta.ZP,{type:"link",size:"small",disabled:Va(),onClick:()=>Oa()},nn.filterReset),he.createElement(Ta.ZP,{type:"primary",size:"small",onClick:Wa},nn.filterConfirm)))}Ct.filterDropdown&&(fa=he.createElement(vo.J,{selectable:void 0},fa));const pa=()=>he.createElement(yn,{className:`${dt}-dropdown`},fa);let Xr;typeof Ct.filterIcon=="function"?Xr=Ct.filterIcon(Pr):Ct.filterIcon?Xr=Ct.filterIcon:Xr=he.createElement(Oo,null);const{direction:la}=he.useContext(fo.E_);return he.createElement("div",{className:`${dt}-column`},he.createElement("span",{className:`${ut}-column-title`},on),he.createElement(ta.Z,{dropdownRender:pa,trigger:["click"],open:rr,onOpenChange:Ha,getPopupContainer:pn,placement:la==="rtl"?"bottomLeft":"bottomRight"},he.createElement("span",{role:"button",tabIndex:-1,className:Oe()(`${dt}-trigger`,{active:Pr}),onClick:Mr=>{Mr.stopPropagation()}},Xr)))}var Oi=Bo;function ii(De,ze,et){let ut=[];return(De||[]).forEach((dt,Ct)=>{var Rt;const rn=lr(Ct,et);if(dt.filters||"filterDropdown"in dt||"onFilter"in dt)if("filteredValue"in dt){let Xe=dt.filteredValue;"filterDropdown"in dt||(Xe=(Rt=Xe==null?void 0:Xe.map(String))!==null&&Rt!==void 0?Rt:Xe),ut.push({column:dt,key:Fn(dt,rn),filteredKeys:Xe,forceFiltered:dt.filtered})}else ut.push({column:dt,key:Fn(dt,rn),filteredKeys:ze&&dt.defaultFilteredValue?dt.defaultFilteredValue:void 0,forceFiltered:dt.filtered});"children"in dt&&(ut=[].concat((0,Yr.Z)(ut),(0,Yr.Z)(ii(dt.children,ze,rn))))}),ut}function mi(De,ze,et,ut,dt,Ct,Rt,rn){return et.map((Xe,ct)=>{const bt=lr(ct,rn),{filterMultiple:xt=!0,filterMode:Wt,filterSearch:nn}=Xe;let on=Xe;if(on.filters||on.filterDropdown){const pn=Fn(on,bt),Tn=ut.find(Hn=>{let{key:_n}=Hn;return pn===_n});on=Object.assign(Object.assign({},on),{title:Hn=>he.createElement(Oi,{tablePrefixCls:De,prefixCls:`${De}-filter`,dropdownPrefixCls:ze,column:on,columnKey:pn,filterState:Tn,filterMultiple:xt,filterMode:Wt,filterSearch:nn,triggerFilter:Ct,locale:dt,getPopupContainer:Rt},Vr(Xe.title,Hn))})}return"children"in on&&(on=Object.assign(Object.assign({},on),{children:mi(De,ze,on.children,ut,dt,Ct,Rt,bt)})),on})}function _i(De){const ze={};return De.forEach(et=>{let{key:ut,filteredKeys:dt,column:Ct}=et;const{filters:Rt,filterDropdown:rn}=Ct;if(rn)ze[ut]=dt||null;else if(Array.isArray(dt)){const Xe=xn(Rt);ze[ut]=Xe.filter(ct=>dt.includes(String(ct)))}else ze[ut]=null}),ze}function ZA(De,ze){return ze.reduce((et,ut)=>{const{column:{onFilter:dt,filters:Ct},filteredKeys:Rt}=ut;return dt&&Rt&&Rt.length?et.filter(rn=>Rt.some(Xe=>{const ct=xn(Ct),bt=ct.findIndex(Wt=>String(Wt)===String(Xe)),xt=bt!==-1?ct[bt]:Xe;return dt(xt,rn)})):et},De)}const $i=De=>De.flatMap(ze=>"children"in ze?[ze].concat((0,Yr.Z)($i(ze.children||[]))):[ze]);function ra(De){let{prefixCls:ze,dropdownPrefixCls:et,mergedColumns:ut,onFilterChange:dt,getPopupContainer:Ct,locale:Rt}=De;const rn=he.useMemo(()=>$i(ut||[]),[ut]),[Xe,ct]=he.useState(()=>ii(rn,!0)),bt=he.useMemo(()=>{const on=ii(rn,!1);if(on.length===0)return on;let pn=!0,Tn=!0;if(on.forEach(Hn=>{let{filteredKeys:_n}=Hn;_n!==void 0?pn=!1:Tn=!1}),pn){const Hn=(rn||[]).map((_n,Jn)=>Fn(_n,lr(Jn)));return Xe.filter(_n=>{let{key:Jn}=_n;return Hn.includes(Jn)}).map(_n=>{const Jn=rn[Hn.findIndex(yr=>yr===_n.key)];return Object.assign(Object.assign({},_n),{column:Object.assign(Object.assign({},_n.column),Jn),forceFiltered:Jn.filtered})})}return on},[rn,Xe]),xt=he.useMemo(()=>_i(bt),[bt]),Wt=on=>{const pn=bt.filter(Tn=>{let{key:Hn}=Tn;return Hn!==on.key});pn.push(on),ct(pn),dt(_i(pn),pn)};return[on=>mi(ze,et,on,bt,Rt,Wt,Ct),bt,xt]}var Ka=ra;function $a(De,ze,et){const ut=he.useRef({});function dt(Ct){if(!ut.current||ut.current.data!==De||ut.current.childrenColumnName!==ze||ut.current.getRowKey!==et){let rn=function(Xe){Xe.forEach((ct,bt)=>{const xt=et(ct,bt);Rt.set(xt,ct),ct&&typeof ct=="object"&&ze in ct&&rn(ct[ze]||[])})};const Rt=new Map;rn(De),ut.current={data:De,childrenColumnName:ze,kvMap:Rt,getRowKey:et}}return ut.current.kvMap.get(Ct)}return[dt]}var di=Be(50371),vi=function(De,ze){var et={};for(var ut in De)Object.prototype.hasOwnProperty.call(De,ut)&&ze.indexOf(ut)<0&&(et[ut]=De[ut]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,ut=Object.getOwnPropertySymbols(De);dt{const Ct=De[dt];typeof Ct!="function"&&(et[dt]=Ct)}),et}function ts(De,ze,et){const ut=et&&typeof et=="object"?et:{},{total:dt=0}=ut,Ct=vi(ut,["total"]),[Rt,rn]=(0,he.useState)(()=>({current:"defaultCurrent"in Ct?Ct.defaultCurrent:1,pageSize:"defaultPageSize"in Ct?Ct.defaultPageSize:ji})),Xe=(0,di.Z)(Rt,Ct,{total:dt>0?dt:De}),ct=Math.ceil((dt||De)/Xe.pageSize);Xe.current>ct&&(Xe.current=ct||1);const bt=(Wt,nn)=>{rn({current:Wt!=null?Wt:1,pageSize:nn||Xe.pageSize})},xt=(Wt,nn)=>{var on;et&&((on=et.onChange)===null||on===void 0||on.call(et,Wt,nn)),bt(Wt,nn),ze(Wt,nn||(Xe==null?void 0:Xe.pageSize))};return et===!1?[{},()=>{}]:[Object.assign(Object.assign({},Xe),{onChange:xt}),bt]}var ns=ts,NA=Be(84105),rs=Be(35654),Is=Be(90782),Cl=Be(71430),bl=Be(18929);const Hi={},VA="SELECT_ALL",fA="SELECT_INVERT",ni="SELECT_NONE",hA=[],al=(De,ze)=>{let et=[];return(ze||[]).forEach(ut=>{et.push(ut),ut&&typeof ut=="object"&&De in ut&&(et=[].concat((0,Yr.Z)(et),(0,Yr.Z)(al(De,ut[De]))))}),et};var as=(De,ze)=>{const{preserveSelectedRowKeys:et,selectedRowKeys:ut,defaultSelectedRowKeys:dt,getCheckboxProps:Ct,onChange:Rt,onSelect:rn,onSelectAll:Xe,onSelectInvert:ct,onSelectNone:bt,onSelectMultiple:xt,columnWidth:Wt,type:nn,selections:on,fixed:pn,renderCell:Tn,hideSelectAll:Hn,checkStrictly:_n=!0}=ze||{},{prefixCls:Jn,data:yr,pageData:On,getRecordByKey:_t,getRowKey:Rr,expandType:Pr,childrenColumnName:Wn,locale:rr,getPopupContainer:ar}=De,[Yn,gr]=(0,bl.Z)(ut||dt||hA,{value:ut}),Ur=he.useRef(new Map),aa=(0,he.useCallback)(Hr=>{if(et){const fa=new Map;Hr.forEach(pa=>{let Xr=_t(pa);!Xr&&Ur.current.has(pa)&&(Xr=Ur.current.get(pa)),fa.set(pa,Xr)}),Ur.current=fa}},[_t,et]);he.useEffect(()=>{aa(Yn)},[Yn]);const{keyEntities:Jr}=(0,he.useMemo)(()=>{if(_n)return{keyEntities:null};let Hr=yr;if(et){const fa=new Set(yr.map((Xr,la)=>Rr(Xr,la))),pa=Array.from(Ur.current).reduce((Xr,la)=>{let[Mr,Ra]=la;return fa.has(Mr)?Xr:Xr.concat(Ra)},[]);Hr=[].concat((0,Yr.Z)(Hr),(0,Yr.Z)(pa))}return(0,Cl.I8)(Hr,{externalGetKey:Rr,childrenPropName:Wn})},[yr,Rr,_n,Wn,et]),Wr=(0,he.useMemo)(()=>al(Wn,On),[Wn,On]),ca=(0,he.useMemo)(()=>{const Hr=new Map;return Wr.forEach((fa,pa)=>{const Xr=Rr(fa,pa),la=(Ct?Ct(fa):null)||{};Hr.set(Xr,la)}),Hr},[Wr,Rr,Ct]),qr=(0,he.useCallback)(Hr=>{var fa;return!!(!((fa=ca.get(Rr(Hr)))===null||fa===void 0)&&fa.disabled)},[ca,Rr]),[ba,Fr]=(0,he.useMemo)(()=>{if(_n)return[Yn||[],[]];const{checkedKeys:Hr,halfCheckedKeys:fa}=(0,Is.S)(Yn,!0,Jr,qr);return[Hr||[],fa]},[Yn,_n,Jr,qr]),Fo=(0,he.useMemo)(()=>{const Hr=nn==="radio"?ba.slice(0,1):ba;return new Set(Hr)},[ba,nn]),Wa=(0,he.useMemo)(()=>nn==="radio"?new Set:new Set(Fr),[Fr,nn]),[Oa,so]=(0,he.useState)(null);he.useEffect(()=>{ze||gr(hA)},[!!ze]);const Ha=(0,he.useCallback)((Hr,fa)=>{let pa,Xr;aa(Hr),et?(pa=Hr,Xr=Hr.map(la=>Ur.current.get(la))):(pa=[],Xr=[],Hr.forEach(la=>{const Mr=_t(la);Mr!==void 0&&(pa.push(la),Xr.push(Mr))})),gr(pa),Rt==null||Rt(pa,Xr,{type:fa})},[gr,_t,Rt,et]),jo=(0,he.useCallback)((Hr,fa,pa,Xr)=>{if(rn){const la=pa.map(Mr=>_t(Mr));rn(_t(Hr),fa,la,Xr)}Ha(pa,"single")},[rn,_t,Ha]),Ga=(0,he.useMemo)(()=>!on||Hn?null:(on===!0?[VA,fA,ni]:on).map(fa=>fa===VA?{key:"all",text:rr.selectionAll,onSelect(){Ha(yr.map((pa,Xr)=>Rr(pa,Xr)).filter(pa=>{const Xr=ca.get(pa);return!(Xr!=null&&Xr.disabled)||Fo.has(pa)}),"all")}}:fa===fA?{key:"invert",text:rr.selectInvert,onSelect(){const pa=new Set(Fo);On.forEach((la,Mr)=>{const Ra=Rr(la,Mr),Va=ca.get(Ra);Va!=null&&Va.disabled||(pa.has(Ra)?pa.delete(Ra):pa.add(Ra))});const Xr=Array.from(pa);ct&&ct(Xr),Ha(Xr,"invert")}}:fa===ni?{key:"none",text:rr.selectNone,onSelect(){bt==null||bt(),Ha(Array.from(Fo).filter(pa=>{const Xr=ca.get(pa);return Xr==null?void 0:Xr.disabled}),"none")}}:fa).map(fa=>Object.assign(Object.assign({},fa),{onSelect:function(){for(var pa,Xr,la=arguments.length,Mr=new Array(la),Ra=0;Ra{var fa;if(!ze)return Hr.filter(yo=>yo!==Hi);let pa=(0,Yr.Z)(Hr);const Xr=new Set(Fo),la=Wr.map(Rr).filter(yo=>!ca.get(yo).disabled),Mr=la.every(yo=>Xr.has(yo)),Ra=la.some(yo=>Xr.has(yo)),Va=()=>{const yo=[];Mr?la.forEach(Ho=>{Xr.delete(Ho),yo.push(Ho)}):la.forEach(Ho=>{Xr.has(Ho)||(Xr.add(Ho),yo.push(Ho))});const eo=Array.from(Xr);Xe==null||Xe(!Mr,eo.map(Ho=>_t(Ho)),yo.map(Ho=>_t(Ho))),Ha(eo,"all"),so(null)};let oo;if(nn!=="radio"){let yo;if(Ga){const Ya={getPopupContainer:ar,items:Ga.map((Bi,Pi)=>{const{key:lA,text:rA,onSelect:FA}=Bi;return{key:lA!=null?lA:Pi,onClick:()=>{FA==null||FA(la)},label:rA}})};yo=he.createElement("div",{className:`${Jn}-selection-extra`},he.createElement(ta.Z,{menu:Ya,getPopupContainer:ar},he.createElement("span",null,he.createElement(NA.Z,null))))}const eo=Wr.map((Ya,Bi)=>{const Pi=Rr(Ya,Bi),lA=ca.get(Pi)||{};return Object.assign({checked:Xr.has(Pi)},lA)}).filter(Ya=>{let{disabled:Bi}=Ya;return Bi}),Ho=!!eo.length&&eo.length===Wr.length,qo=Ho&&eo.every(Ya=>{let{checked:Bi}=Ya;return Bi}),Ko=Ho&&eo.some(Ya=>{let{checked:Bi}=Ya;return Bi});oo=!Hn&&he.createElement("div",{className:`${Jn}-selection`},he.createElement(_a.default,{checked:Ho?qo:!!Wr.length&&Mr,indeterminate:Ho?!qo&&Ko:!Mr&&Ra,onChange:Va,disabled:Wr.length===0||Ho,"aria-label":yo?"Custom selection":"Select all",skipGroup:!0}),yo)}let bi;nn==="radio"?bi=(yo,eo,Ho)=>{const qo=Rr(eo,Ho),Ko=Xr.has(qo);return{node:he.createElement(_o.ZP,Object.assign({},ca.get(qo),{checked:Ko,onClick:Ya=>Ya.stopPropagation(),onChange:Ya=>{Xr.has(qo)||jo(qo,!0,[qo],Ya.nativeEvent)}})),checked:Ko}}:bi=(yo,eo,Ho)=>{var qo;const Ko=Rr(eo,Ho),Ya=Xr.has(Ko),Bi=Wa.has(Ko),Pi=ca.get(Ko);let lA;return Pr==="nest"?lA=Bi:lA=(qo=Pi==null?void 0:Pi.indeterminate)!==null&&qo!==void 0?qo:Bi,{node:he.createElement(_a.default,Object.assign({},Pi,{indeterminate:lA,checked:Ya,skipGroup:!0,onClick:rA=>rA.stopPropagation(),onChange:rA=>{let{nativeEvent:FA}=rA;const{shiftKey:ws}=FA;let os=-1,RA=-1;if(ws&&_n){const QA=new Set([Oa,Ko]);la.some((uA,Si)=>{if(QA.has(uA))if(os===-1)os=Si;else return RA=Si,!0;return!1})}if(RA!==-1&&os!==RA&&_n){const QA=la.slice(os,RA+1),uA=[];Ya?QA.forEach(si=>{Xr.has(si)&&(uA.push(si),Xr.delete(si))}):QA.forEach(si=>{Xr.has(si)||(uA.push(si),Xr.add(si))});const Si=Array.from(Xr);xt==null||xt(!Ya,Si.map(si=>_t(si)),uA.map(si=>_t(si))),Ha(Si,"multiple")}else{const QA=ba;if(_n){const uA=Ya?(0,rs._5)(QA,Ko):(0,rs.L0)(QA,Ko);jo(Ko,!Ya,uA,FA)}else{const uA=(0,Is.S)([].concat((0,Yr.Z)(QA),[Ko]),!0,Jr,qr),{checkedKeys:Si,halfCheckedKeys:si}=uA;let Cs=Si;if(Ya){const Os=new Set(Si);Os.delete(Ko),Cs=(0,Is.S)(Array.from(Os),{checked:!1,halfCheckedKeys:si},Jr,qr).checkedKeys}jo(Ko,!Ya,Cs,FA)}}so(Ya?null:Ko)}})),checked:Ya}};const Ea=(yo,eo,Ho)=>{const{node:qo,checked:Ko}=bi(yo,eo,Ho);return Tn?Tn(Ko,eo,Ho,qo):qo};if(!pa.includes(Hi))if(pa.findIndex(yo=>{var eo;return((eo=yo[Sr])===null||eo===void 0?void 0:eo.columnType)==="EXPAND_COLUMN"})===0){const[yo,...eo]=pa;pa=[yo,Hi].concat((0,Yr.Z)(eo))}else pa=[Hi].concat((0,Yr.Z)(pa));const nA=pa.indexOf(Hi);pa=pa.filter((yo,eo)=>yo!==Hi||eo===nA);const ri=pa[nA-1],Ei=pa[nA+1];let Lr=pn;Lr===void 0&&((Ei==null?void 0:Ei.fixed)!==void 0?Lr=Ei.fixed:(ri==null?void 0:ri.fixed)!==void 0&&(Lr=ri.fixed)),Lr&&ri&&((fa=ri[Sr])===null||fa===void 0?void 0:fa.columnType)==="EXPAND_COLUMN"&&ri.fixed===void 0&&(ri.fixed=Lr);const Wo=Oe()(`${Jn}-selection-col`,{[`${Jn}-selection-col-with-dropdown`]:on&&nn==="checkbox"}),pA={fixed:Lr,width:Wt,className:`${Jn}-selection-column`,title:ze.columnTitle||oo,render:Ea,onCell:ze.onCell,[Sr]:{className:Wo}};return pa.map(yo=>yo===Hi?pA:yo)},[Rr,Wr,ze,ba,Fo,Wa,Wt,Ga,Pr,Oa,ca,xt,jo,qr]),Fo]},HA=Be(89489),ol=Be(59477),Bs=Be(6848);const bA="ascend",zs="descend";function Gs(De){return typeof De.sorter=="object"&&typeof De.sorter.multiple=="number"?De.sorter.multiple:!1}function _s(De){return typeof De=="function"?De:De&&typeof De=="object"&&De.compare?De.compare:!1}function Pl(De,ze){return ze?De[De.indexOf(ze)+1]:De[0]}function il(De,ze,et){let ut=[];function dt(Ct,Rt){ut.push({column:Ct,key:Fn(Ct,Rt),multiplePriority:Gs(Ct),sortOrder:Ct.sortOrder})}return(De||[]).forEach((Ct,Rt)=>{const rn=lr(Rt,et);Ct.children?("sortOrder"in Ct&&dt(Ct,rn),ut=[].concat((0,Yr.Z)(ut),(0,Yr.Z)(il(Ct.children,ze,rn)))):Ct.sorter&&("sortOrder"in Ct?dt(Ct,rn):ze&&Ct.defaultSortOrder&&ut.push({column:Ct,key:Fn(Ct,rn),multiplePriority:Gs(Ct),sortOrder:Ct.defaultSortOrder}))}),ut}function DA(De,ze,et,ut,dt,Ct,Rt,rn){return(ze||[]).map((Xe,ct)=>{const bt=lr(ct,rn);let xt=Xe;if(xt.sorter){const Wt=xt.sortDirections||dt,nn=xt.showSorterTooltip===void 0?Rt:xt.showSorterTooltip,on=Fn(xt,bt),pn=et.find(Pr=>{let{key:Wn}=Pr;return Wn===on}),Tn=pn?pn.sortOrder:null,Hn=Pl(Wt,Tn);let _n;if(Xe.sortIcon)_n=Xe.sortIcon({sortOrder:Tn});else{const Pr=Wt.includes(bA)&&he.createElement(ol.Z,{className:Oe()(`${De}-column-sorter-up`,{active:Tn===bA})}),Wn=Wt.includes(zs)&&he.createElement(HA.Z,{className:Oe()(`${De}-column-sorter-down`,{active:Tn===zs})});_n=he.createElement("span",{className:Oe()(`${De}-column-sorter`,{[`${De}-column-sorter-full`]:!!(Pr&&Wn)})},he.createElement("span",{className:`${De}-column-sorter-inner`,"aria-hidden":"true"},Pr,Wn))}const{cancelSort:Jn,triggerAsc:yr,triggerDesc:On}=Ct||{};let _t=Jn;Hn===zs?_t=On:Hn===bA&&(_t=yr);const Rr=typeof nn=="object"?nn:{title:_t};xt=Object.assign(Object.assign({},xt),{className:Oe()(xt.className,{[`${De}-column-sort`]:Tn}),title:Pr=>{const Wn=he.createElement("div",{className:`${De}-column-sorters`},he.createElement("span",{className:`${De}-column-title`},Vr(Xe.title,Pr)),_n);return nn?he.createElement(Bs.Z,Object.assign({},Rr),Wn):Wn},onHeaderCell:Pr=>{const Wn=Xe.onHeaderCell&&Xe.onHeaderCell(Pr)||{},rr=Wn.onClick,ar=Wn.onKeyDown;Wn.onClick=Ur=>{ut({column:Xe,key:on,sortOrder:Hn,multiplePriority:Gs(Xe)}),rr==null||rr(Ur)},Wn.onKeyDown=Ur=>{Ur.keyCode===gA.Z.ENTER&&(ut({column:Xe,key:on,sortOrder:Hn,multiplePriority:Gs(Xe)}),ar==null||ar(Ur))};const Yn=Br(Xe.title,{}),gr=Yn==null?void 0:Yn.toString();return Tn?Wn["aria-sort"]=Tn==="ascend"?"ascending":"descending":Wn["aria-label"]=gr||"",Wn.className=Oe()(Wn.className,`${De}-column-has-sorters`),Wn.tabIndex=0,Xe.ellipsis&&(Wn.title=(Yn!=null?Yn:"").toString()),Wn}})}return"children"in xt&&(xt=Object.assign(Object.assign({},xt),{children:DA(De,xt.children,et,ut,dt,Ct,Rt,bt)})),xt})}function UA(De){const{column:ze,sortOrder:et}=De;return{column:ze,order:et,field:ze.dataIndex,columnKey:ze.key}}function EA(De){const ze=De.filter(et=>{let{sortOrder:ut}=et;return ut}).map(UA);return ze.length===0&&De.length?Object.assign(Object.assign({},UA(De[De.length-1])),{column:void 0}):ze.length<=1?ze[0]||{}:ze}function Cr(De,ze,et){const ut=ze.slice().sort((Rt,rn)=>rn.multiplePriority-Rt.multiplePriority),dt=De.slice(),Ct=ut.filter(Rt=>{let{column:{sorter:rn},sortOrder:Xe}=Rt;return _s(rn)&&Xe});return Ct.length?dt.sort((Rt,rn)=>{for(let Xe=0;Xe{const rn=Rt[et];return rn?Object.assign(Object.assign({},Rt),{[et]:Cr(rn,ze,et)}):Rt}):dt}function Za(De){let{prefixCls:ze,mergedColumns:et,onSorterChange:ut,sortDirections:dt,tableLocale:Ct,showSorterTooltip:Rt}=De;const[rn,Xe]=he.useState(il(et,!0)),ct=he.useMemo(()=>{let on=!0;const pn=il(et,!1);if(!pn.length)return rn;const Tn=[];function Hn(Jn){on?Tn.push(Jn):Tn.push(Object.assign(Object.assign({},Jn),{sortOrder:null}))}let _n=null;return pn.forEach(Jn=>{_n===null?(Hn(Jn),Jn.sortOrder&&(Jn.multiplePriority===!1?on=!1:_n=!0)):(_n&&Jn.multiplePriority!==!1||(on=!1),Hn(Jn))}),Tn},[et,rn]),bt=he.useMemo(()=>{const on=ct.map(pn=>{let{column:Tn,sortOrder:Hn}=pn;return{column:Tn,order:Hn}});return{sortColumns:on,sortColumn:on[0]&&on[0].column,sortOrder:on[0]&&on[0].order}},[ct]);function xt(on){let pn;on.multiplePriority===!1||!ct.length||ct[0].multiplePriority===!1?pn=[on]:pn=[].concat((0,Yr.Z)(ct.filter(Tn=>{let{key:Hn}=Tn;return Hn!==on.key})),[on]),Xe(pn),ut(EA(pn),pn)}return[on=>DA(ze,on,ct,xt,dt,Ct,Rt),ct,bt,()=>EA(ct)]}function dr(De,ze){return De.map(et=>{const ut=Object.assign({},et);return ut.title=Vr(et.title,ze),"children"in ut&&(ut.children=dr(ut.children,ze)),ut})}function La(De){return[he.useCallback(et=>dr(et,De),[De])]}var po=Uo((De,ze)=>{const{_renderTimes:et}=De,{_renderTimes:ut}=ze;return et!==ut}),Ri=_r((De,ze)=>{const{_renderTimes:et}=De,{_renderTimes:ut}=ze;return et!==ut}),Wi=Be(64993),Mi=Be(17313),Ss=Be(83116),Ns=Be(37613),ko=De=>{const{componentCls:ze}=De,et=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`,ut=(dt,Ct,Rt)=>({[`&${ze}-${dt}`]:{[`> ${ze}-container`]:{[`> ${ze}-content, > ${ze}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ze}-expanded-row-fixed`]:{margin:`-${Ct}px -${Rt+De.lineWidth}px`}}}}}});return{[`${ze}-wrapper`]:{[`${ze}${ze}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ze}-title`]:{border:et,borderBottom:0},[`> ${ze}-container`]:{borderInlineStart:et,borderTop:et,[` > ${ze}-content, > ${ze}-header, > ${ze}-body, > ${ze}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ze}-cell-fix-right-first::after`]:{borderInlineEnd:et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ze}-expanded-row-fixed`]:{margin:`-${De.tablePaddingVertical}px -${De.tablePaddingHorizontal+De.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:De.lineWidth,bottom:0,borderInlineEnd:et,content:'""'}}}}}},[`&${ze}-scroll-horizontal`]:{[`> ${ze}-container > ${ze}-body`]:{"> table > tbody":{[` > tr${ze}-expanded-row, > tr${ze}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},ut("middle",De.tablePaddingVerticalMiddle,De.tablePaddingHorizontalMiddle)),ut("small",De.tablePaddingVerticalSmall,De.tablePaddingHorizontalSmall)),{[`> ${ze}-footer`]:{border:et,borderTop:0}}),[`${ze}-cell`]:{[`${ze}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${De.lineWidth}px 0 ${De.lineWidth}px ${De.tableHeaderBg}`}},[`${ze}-bordered ${ze}-cell-scrollbar`]:{borderInlineEnd:et}}}},Co=De=>{const{componentCls:ze}=De;return{[`${ze}-wrapper`]:{[`${ze}-cell-ellipsis`]:Object.assign(Object.assign({},Mi.vS),{wordBreak:"keep-all",[` &${ze}-cell-fix-left-last, &${ze}-cell-fix-right-first `]:{overflow:"visible",[`${ze}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ze}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zi=De=>{const{componentCls:ze}=De;return{[`${ze}-wrapper`]:{[`${ze}-tbody > tr${ze}-placeholder`]:{textAlign:"center",color:De.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:De.colorBgContainer}}}}},mA=Be(15969),ys=De=>{const{componentCls:ze,antCls:et,controlInteractiveSize:ut,motionDurationSlow:dt,lineWidth:Ct,paddingXS:Rt,lineType:rn,tableBorderColor:Xe,tableExpandIconBg:ct,tableExpandColumnWidth:bt,borderRadius:xt,fontSize:Wt,fontSizeSM:nn,lineHeight:on,tablePaddingVertical:pn,tablePaddingHorizontal:Tn,tableExpandedRowBg:Hn,paddingXXS:_n}=De,Jn=ut/2-Ct,yr=Jn*2+Ct*3,On=`${Ct}px ${rn} ${Xe}`,_t=_n-Ct;return{[`${ze}-wrapper`]:{[`${ze}-expand-icon-col`]:{width:bt},[`${ze}-row-expand-icon-cell`]:{textAlign:"center",[`${ze}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ze}-row-indent`]:{height:1,float:"left"},[`${ze}-row-expand-icon`]:Object.assign(Object.assign({},(0,mA.N)(De)),{position:"relative",float:"left",boxSizing:"border-box",width:yr,height:yr,padding:0,color:"inherit",lineHeight:`${yr}px`,background:ct,border:On,borderRadius:xt,transform:`scale(${ut/yr})`,transition:`all ${dt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${dt} ease-out`,content:'""'},"&::before":{top:Jn,insetInlineEnd:_t,insetInlineStart:_t,height:Ct},"&::after":{top:_t,bottom:_t,insetInlineStart:Jn,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"}}),[`${ze}-row-indent + ${ze}-row-expand-icon`]:{marginTop:(Wt*on-Ct*3)/2-Math.ceil((nn*1.4-Ct*3)/2),marginInlineEnd:Rt},[`tr${ze}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Hn}},[`${et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ze}-expanded-row-fixed`]:{position:"relative",margin:`-${pn}px -${Tn}px`,padding:`${pn}px ${Tn}px`}}}},ae=De=>{const{componentCls:ze,antCls:et,iconCls:ut,tableFilterDropdownWidth:dt,tableFilterDropdownSearchWidth:Ct,paddingXXS:Rt,paddingXS:rn,colorText:Xe,lineWidth:ct,lineType:bt,tableBorderColor:xt,tableHeaderIconColor:Wt,fontSizeSM:nn,tablePaddingHorizontal:on,borderRadius:pn,motionDurationSlow:Tn,colorTextDescription:Hn,colorPrimary:_n,tableHeaderFilterActiveBg:Jn,colorTextDisabled:yr,tableFilterDropdownBg:On,tableFilterDropdownHeight:_t,controlItemBgHover:Rr,controlItemBgActive:Pr,boxShadowSecondary:Wn,filterDropdownMenuBg:rr}=De,ar=`${et}-dropdown`,Yn=`${ze}-filter-dropdown`,gr=`${et}-tree`,Ur=`${ct}px ${bt} ${xt}`;return[{[`${ze}-wrapper`]:{[`${ze}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ze}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Rt,marginInline:`${Rt}px ${-on/2}px`,padding:`0 ${Rt}px`,color:Wt,fontSize:nn,borderRadius:pn,cursor:"pointer",transition:`all ${Tn}`,"&:hover":{color:Hn,background:Jn},"&.active":{color:_n}}}},{[`${et}-dropdown`]:{[Yn]:Object.assign(Object.assign({},(0,Mi.Wf)(De)),{minWidth:dt,backgroundColor:On,borderRadius:pn,boxShadow:Wn,overflow:"hidden",[`${ar}-menu`]:{maxHeight:_t,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:rr,"&:empty::after":{display:"block",padding:`${rn}px 0`,color:yr,fontSize:nn,textAlign:"center",content:'"Not Found"'}},[`${Yn}-tree`]:{paddingBlock:`${rn}px 0`,paddingInline:rn,[gr]:{padding:0},[`${gr}-treenode ${gr}-node-content-wrapper:hover`]:{backgroundColor:Rr},[`${gr}-treenode-checkbox-checked ${gr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Pr}}},[`${Yn}-search`]:{padding:rn,borderBottom:Ur,"&-input":{input:{minWidth:Ct},[ut]:{color:yr}}},[`${Yn}-checkall`]:{width:"100%",marginBottom:Rt,marginInlineStart:Rt},[`${Yn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${rn-ct}px ${rn}px`,overflow:"hidden",borderTop:Ur}})}},{[`${et}-dropdown ${Yn}, ${Yn}-submenu`]:{[`${et}-checkbox-wrapper + span`]:{paddingInlineStart:rn,color:Xe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},re=De=>{const{componentCls:ze,lineWidth:et,colorSplit:ut,motionDurationSlow:dt,zIndexTableFixed:Ct,tableBg:Rt,zIndexTableSticky:rn}=De,Xe=ut;return{[`${ze}-wrapper`]:{[` ${ze}-cell-fix-left, ${ze}-cell-fix-right `]:{position:"sticky !important",zIndex:Ct,background:Rt},[` ${ze}-cell-fix-left-first::after, ${ze}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-et,width:30,transform:"translateX(100%)",transition:`box-shadow ${dt}`,content:'""',pointerEvents:"none"},[`${ze}-cell-fix-left-all::after`]:{display:"none"},[` ${ze}-cell-fix-right-first::after, ${ze}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${dt}`,content:'""',pointerEvents:"none"},[`${ze}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:rn+1,width:30,transition:`box-shadow ${dt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ze}-ping-left`]:{[`&:not(${ze}-has-fix-left) ${ze}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Xe}`}},[` ${ze}-cell-fix-left-first::after, ${ze}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Xe}`},[`${ze}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ze}-ping-right`]:{[`&:not(${ze}-has-fix-right) ${ze}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Xe}`}},[` ${ze}-cell-fix-right-first::after, ${ze}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Xe}`}}}}},Ce=De=>{const{componentCls:ze,antCls:et}=De;return{[`${ze}-wrapper`]:{[`${ze}-pagination${et}-pagination`]:{margin:`${De.margin}px 0`},[`${ze}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:De.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Ne=De=>{const{componentCls:ze,tableRadius:et}=De;return{[`${ze}-wrapper`]:{[ze]:{[`${ze}-title, ${ze}-header`]:{borderRadius:`${et}px ${et}px 0 0`},[`${ze}-title + ${ze}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ze}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:et,borderStartEndRadius:et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:et},"> *:last-child":{borderStartEndRadius:et}}},"&-footer":{borderRadius:`0 0 ${et}px ${et}px`}}}}},_e=De=>{const{componentCls:ze}=De;return{[`${ze}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ze}-pagination-left`]:{justifyContent:"flex-end"},[`${ze}-pagination-right`]:{justifyContent:"flex-start"},[`${ze}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ze}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ze}-row-indent`]:{float:"right"}}}}},mt=De=>{const{componentCls:ze,antCls:et,iconCls:ut,fontSizeIcon:dt,padding:Ct,paddingXS:Rt,tableHeaderIconColor:rn,tableHeaderIconColorHover:Xe,tableSelectionColumnWidth:ct}=De;return{[`${ze}-wrapper`]:{[`${ze}-selection-col`]:{width:ct,[`&${ze}-selection-col-with-dropdown`]:{width:ct+dt+Ct/4}},[`${ze}-bordered ${ze}-selection-col`]:{width:ct+Rt*2,[`&${ze}-selection-col-with-dropdown`]:{width:ct+dt+Ct/4+Rt*2}},[` table tr th${ze}-selection-column, table tr td${ze}-selection-column `]:{paddingInlineEnd:De.paddingXS,paddingInlineStart:De.paddingXS,textAlign:"center",[`${et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ze}-selection-column${ze}-cell-fix-left`]:{zIndex:De.zIndexTableFixed+1},[`table tr th${ze}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ze}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ze}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${De.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${De.tablePaddingHorizontal/4}px`,[ut]:{color:rn,fontSize:dt,verticalAlign:"baseline","&:hover":{color:Xe}}}}}},Ut=De=>{const{componentCls:ze}=De,et=(ut,dt,Ct,Rt)=>({[`${ze}${ze}-${ut}`]:{fontSize:Rt,[` ${ze}-title, ${ze}-footer, ${ze}-cell, ${ze}-thead > tr > th, ${ze}-tbody > tr > th, ${ze}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${dt}px ${Ct}px`},[`${ze}-filter-trigger`]:{marginInlineEnd:`-${Ct/2}px`},[`${ze}-expanded-row-fixed`]:{margin:`-${dt}px -${Ct}px`},[`${ze}-tbody`]:{[`${ze}-wrapper:only-child ${ze}`]:{marginBlock:`-${dt}px`,marginInline:`${De.tableExpandColumnWidth-Ct}px -${Ct}px`}},[`${ze}-selection-column`]:{paddingInlineStart:`${Ct/4}px`}}});return{[`${ze}-wrapper`]:Object.assign(Object.assign({},et("middle",De.tablePaddingVerticalMiddle,De.tablePaddingHorizontalMiddle,De.tableFontSizeMiddle)),et("small",De.tablePaddingVerticalSmall,De.tablePaddingHorizontalSmall,De.tableFontSizeSmall))}},sn=De=>{const{componentCls:ze,marginXXS:et,fontSizeIcon:ut,tableHeaderIconColor:dt,tableHeaderIconColorHover:Ct}=De;return{[`${ze}-wrapper`]:{[`${ze}-thead th${ze}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${De.motionDurationSlow}`,"&:hover":{background:De.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:De.colorPrimary},[` &${ze}-cell-fix-left:hover, &${ze}-cell-fix-right:hover `]:{background:De.tableFixedHeaderSortActiveBg}},[`${ze}-thead th${ze}-column-sort`]:{background:De.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ze}-column-sort`]:{background:De.tableBodySortBg},[`${ze}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ze}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ze}-column-sorter`]:{marginInlineStart:et,color:dt,fontSize:0,transition:`color ${De.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ut,"&.active":{color:De.colorPrimary}},[`${ze}-column-sorter-up + ${ze}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ze}-column-sorters:hover ${ze}-column-sorter`]:{color:Ct}}}},ln=De=>{const{componentCls:ze,opacityLoading:et,tableScrollThumbBg:ut,tableScrollThumbBgHover:dt,tableScrollThumbSize:Ct,tableScrollBg:Rt,zIndexTableSticky:rn,stickyScrollBarBorderRadius:Xe}=De,ct=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`;return{[`${ze}-wrapper`]:{[`${ze}-sticky`]:{"&-holder":{position:"sticky",zIndex:rn,background:De.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ct}px !important`,zIndex:rn,display:"flex",alignItems:"center",background:Rt,borderTop:ct,opacity:et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ct,backgroundColor:ut,borderRadius:Xe,transition:`all ${De.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:dt}}}}}}},un=De=>{const{componentCls:ze,lineWidth:et,tableBorderColor:ut}=De,dt=`${et}px ${De.lineType} ${ut}`;return{[`${ze}-wrapper`]:{[`${ze}-summary`]:{position:"relative",zIndex:De.zIndexTableFixed,background:De.tableBg,"> tr":{"> th, > td":{borderBottom:dt}}},[`div${ze}-summary`]:{boxShadow:`0 -${et}px 0 ${ut}`}}}},Vn=De=>{const{componentCls:ze}=De,et=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`,ut=`${ze}-expanded-row-cell`;return{[`${ze}-wrapper`]:{[`${ze}-tbody-virtual`]:{[`${ze}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ze}-cell`]:{borderBottom:et},[`${ze}-expanded-row`]:{[`${ut}${ut}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${De.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ze}-bordered`]:{[`${ze}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:et,position:"absolute"},[`${ze}-cell`]:{borderInlineEnd:et,[`&${ze}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-De.lineWidth,borderInlineStart:et}}}}}}};const ur=De=>{const{componentCls:ze,fontWeightStrong:et,tablePaddingVertical:ut,tablePaddingHorizontal:dt,lineWidth:Ct,lineType:Rt,tableBorderColor:rn,tableFontSize:Xe,tableBg:ct,tableRadius:bt,tableHeaderTextColor:xt,motionDurationMid:Wt,tableHeaderBg:nn,tableHeaderCellSplitColor:on,tableRowHoverBg:pn,tableSelectedRowBg:Tn,tableSelectedRowHoverBg:Hn,tableFooterTextColor:_n,tableFooterBg:Jn,paddingContentVerticalLG:yr}=De,On=`${Ct}px ${Rt} ${rn}`;return{[`${ze}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Mi.dF)()),{[ze]:Object.assign(Object.assign({},(0,Mi.Wf)(De)),{fontSize:Xe,background:ct,borderRadius:`${bt}px ${bt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${bt}px ${bt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${ze}-cell, ${ze}-thead > tr > th, ${ze}-tbody > tr > th, ${ze}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${yr}px ${dt}px`,overflowWrap:"break-word"},[`${ze}-title`]:{padding:`${ut}px ${dt}px`},[`${ze}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:xt,fontWeight:et,textAlign:"start",background:nn,borderBottom:On,transition:`background ${Wt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ze}-selection-column):not(${ze}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:on,transform:"translateY(-50%)",transition:`background-color ${Wt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ze}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Wt}, border-color ${Wt}`,borderBottom:On,[` > ${ze}-wrapper:only-child, > ${ze}-expanded-row-fixed > ${ze}-wrapper:only-child `]:{[ze]:{marginBlock:`-${ut}px`,marginInline:`${De.tableExpandColumnWidth-dt}px -${dt}px`,[`${ze}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:xt,fontWeight:et,textAlign:"start",background:nn,borderBottom:On,transition:`background ${Wt} ease`},[` &${ze}-row:hover > th, &${ze}-row:hover > td, > th${ze}-cell-row-hover, > td${ze}-cell-row-hover `]:{background:pn},[`&${ze}-row-selected`]:{"> th, > td":{background:Tn},"&:hover > th, &:hover > td":{background:Hn}}}},[`${ze}-footer`]:{padding:`${ut}px ${dt}px`,color:_n,background:Jn}})}};var Er=(0,Ss.Z)("Table",De=>{const{colorTextHeading:ze,colorSplit:et,colorIcon:ut,colorIconHover:dt,opacityLoading:Ct,colorBgContainer:Rt,controlInteractiveSize:rn,headerBg:Xe,headerColor:ct,headerSortActiveBg:bt,headerSortHoverBg:xt,bodySortBg:Wt,rowHoverBg:nn,rowSelectedBg:on,rowSelectedHoverBg:pn,rowExpandedBg:Tn,cellPaddingBlock:Hn,cellPaddingInline:_n,cellPaddingBlockMD:Jn,cellPaddingInlineMD:yr,cellPaddingBlockSM:On,cellPaddingInlineSM:_t,borderColor:Rr,footerBg:Pr,footerColor:Wn,headerBorderRadius:rr,cellFontSize:ar,cellFontSizeMD:Yn,cellFontSizeSM:gr,headerSplitColor:Ur,fixedHeaderSortActiveBg:aa,headerFilterHoverBg:Jr,filterDropdownBg:Wr,expandIconBg:ca,selectionColumnWidth:qr,stickyScrollBarBg:ba}=De,Fr=new Wi.C(ut),Fo=new Wi.C(dt),Wa=2,Oa=(0,Ns.TS)(De,{tableFontSize:ar,tableBg:Rt,tableRadius:rr,tablePaddingVertical:Hn,tablePaddingHorizontal:_n,tablePaddingVerticalMiddle:Jn,tablePaddingHorizontalMiddle:yr,tablePaddingVerticalSmall:On,tablePaddingHorizontalSmall:_t,tableBorderColor:Rr,tableHeaderTextColor:ct,tableHeaderBg:Xe,tableFooterTextColor:Wn,tableFooterBg:Pr,tableHeaderCellSplitColor:Ur,tableHeaderSortBg:bt,tableHeaderSortHoverBg:xt,tableHeaderIconColor:Fr.clone().setAlpha(Fr.getAlpha()*Ct).toRgbString(),tableHeaderIconColorHover:Fo.clone().setAlpha(Fo.getAlpha()*Ct).toRgbString(),tableBodySortBg:Wt,tableFixedHeaderSortActiveBg:aa,tableHeaderFilterActiveBg:Jr,tableFilterDropdownBg:Wr,tableRowHoverBg:nn,tableSelectedRowBg:on,tableSelectedRowHoverBg:pn,zIndexTableFixed:Wa,zIndexTableSticky:Wa+1,tableFontSizeMiddle:Yn,tableFontSizeSmall:gr,tableSelectionColumnWidth:qr,tableExpandIconBg:ca,tableExpandColumnWidth:rn+2*De.padding,tableExpandedRowBg:Tn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ba,tableScrollThumbBgHover:ze,tableScrollBg:et});return[ur(Oa),Ce(Oa),un(Oa),sn(Oa),ae(Oa),ko(Oa),Ne(Oa),ys(Oa),un(Oa),Zi(Oa),mt(Oa),re(Oa),ln(Oa),Co(Oa),Ut(Oa),_e(Oa),Vn(Oa)]},De=>{const{colorFillAlter:ze,colorBgContainer:et,colorTextHeading:ut,colorFillSecondary:dt,colorFillContent:Ct,controlItemBgActive:Rt,controlItemBgActiveHover:rn,padding:Xe,paddingSM:ct,paddingXS:bt,colorBorderSecondary:xt,borderRadiusLG:Wt,fontSize:nn,controlHeight:on,colorTextPlaceholder:pn}=De,Tn=new Wi.C(dt).onBackground(et).toHexShortString(),Hn=new Wi.C(Ct).onBackground(et).toHexShortString(),_n=new Wi.C(ze).onBackground(et).toHexShortString();return{headerBg:_n,headerColor:ut,headerSortActiveBg:Tn,headerSortHoverBg:Hn,bodySortBg:_n,rowHoverBg:_n,rowSelectedBg:Rt,rowSelectedHoverBg:rn,rowExpandedBg:ze,cellPaddingBlock:Xe,cellPaddingInline:Xe,cellPaddingBlockMD:ct,cellPaddingInlineMD:bt,cellPaddingBlockSM:bt,cellPaddingInlineSM:bt,borderColor:xt,headerBorderRadius:Wt,footerBg:_n,footerColor:ut,cellFontSize:nn,cellFontSizeMD:nn,cellFontSizeSM:nn,headerSplitColor:xt,fixedHeaderSortActiveBg:Tn,headerFilterHoverBg:Ct,filterDropdownMenuBg:et,filterDropdownBg:et,expandIconBg:et,selectionColumnWidth:on,stickyScrollBarBg:pn,stickyScrollBarBorderRadius:100}});const qn=[],Sn=(De,ze)=>{const{prefixCls:et,className:ut,rootClassName:dt,style:Ct,size:Rt,bordered:rn,dropdownPrefixCls:Xe,dataSource:ct,pagination:bt,rowSelection:xt,rowKey:Wt="key",rowClassName:nn,columns:on,children:pn,childrenColumnName:Tn,onChange:Hn,getPopupContainer:_n,loading:Jn,expandIcon:yr,expandable:On,expandedRowRender:_t,expandIconColumnIndex:Rr,indentSize:Pr,scroll:Wn,sortDirections:rr,locale:ar,showSorterTooltip:Yn=!0,virtual:gr}=De,Ur=he.useMemo(()=>on||wn(pn),[on,pn]),aa=he.useMemo(()=>Ur.some(wo=>wo.responsive),[Ur]),Jr=(0,Ma.Z)(aa),Wr=he.useMemo(()=>{const wo=new Set(Object.keys(Jr).filter(Ao=>Jr[Ao]));return Ur.filter(Ao=>!Ao.responsive||Ao.responsive.some(aA=>wo.has(aA)))},[Ur,Jr]),ca=(0,Qa.Z)(De,["className","style","columns"]),{locale:qr=Xo.Z,direction:ba,table:Fr,renderEmpty:Fo,getPrefixCls:Wa,getPopupContainer:Oa}=he.useContext(fo.E_),so=(0,fi.Z)(Rt),Ha=Object.assign(Object.assign({},qr.Table),ar),jo=ct||qn,Ga=Wa("table",et),tA=Wa("dropdown",Xe),Hr=Object.assign({childrenColumnName:Tn,expandIconColumnIndex:Rr},On),{childrenColumnName:fa="children"}=Hr,pa=he.useMemo(()=>jo.some(wo=>wo==null?void 0:wo[fa])?"nest":_t||On&&On.expandedRowRender?"row":null,[jo]),Xr={body:he.useRef()},la=he.useMemo(()=>typeof Wt=="function"?Wt:wo=>wo==null?void 0:wo[Wt],[Wt]),[Mr]=$a(jo,fa,la),Ra={},Va=function(wo,Ao){let aA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var li,oA,vA;const cA=Object.assign(Object.assign({},Ra),wo);aA&&((li=Ra.resetPagination)===null||li===void 0||li.call(Ra),!((oA=cA.pagination)===null||oA===void 0)&&oA.current&&(cA.pagination.current=1),bt&&bt.onChange&&bt.onChange(1,(vA=cA.pagination)===null||vA===void 0?void 0:vA.pageSize)),Wn&&Wn.scrollToFirstRowOnChange!==!1&&Xr.body.current&&(0,Sa.Z)(0,{getContainer:()=>Xr.body.current}),Hn==null||Hn(cA.pagination,cA.filters,cA.sorter,{currentDataSource:ZA(Cr(jo,cA.sorterStates,fa),cA.filterStates),action:Ao})},oo=(wo,Ao)=>{Va({sorter:wo,sorterStates:Ao},"sort",!1)},[bi,Ea,nA,ri]=Za({prefixCls:Ga,mergedColumns:Wr,onSorterChange:oo,sortDirections:rr||["ascend","descend"],tableLocale:Ha,showSorterTooltip:Yn}),Ei=he.useMemo(()=>Cr(jo,Ea,fa),[jo,Ea]);Ra.sorter=ri(),Ra.sorterStates=Ea;const Lr=(wo,Ao)=>{Va({filters:wo,filterStates:Ao},"filter",!0)},[Wo,pA,yo]=Ka({prefixCls:Ga,locale:Ha,dropdownPrefixCls:tA,mergedColumns:Wr,onFilterChange:Lr,getPopupContainer:_n||Oa}),eo=ZA(Ei,pA);Ra.filters=yo,Ra.filterStates=pA;const Ho=he.useMemo(()=>{const wo={};return Object.keys(yo).forEach(Ao=>{yo[Ao]!==null&&(wo[Ao]=yo[Ao])}),Object.assign(Object.assign({},nA),{filters:wo})},[nA,yo]),[qo]=La(Ho),Ko=(wo,Ao)=>{Va({pagination:Object.assign(Object.assign({},Ra.pagination),{current:wo,pageSize:Ao})},"paginate")},[Ya,Bi]=ns(eo.length,Ko,bt);Ra.pagination=bt===!1?{}:So(Ya,bt),Ra.resetPagination=Bi;const Pi=he.useMemo(()=>{if(bt===!1||!Ya.pageSize)return eo;const{current:wo=1,total:Ao,pageSize:aA=ji}=Ya;return eo.lengthaA?eo.slice((wo-1)*aA,wo*aA):eo:eo.slice((wo-1)*aA,wo*aA)},[!!bt,eo,Ya&&Ya.current,Ya&&Ya.pageSize,Ya&&Ya.total]),[lA,rA]=as({prefixCls:Ga,data:eo,pageData:Pi,getRowKey:la,getRecordByKey:Mr,expandType:pa,childrenColumnName:fa,locale:Ha,getPopupContainer:_n||Oa},xt),FA=(wo,Ao,aA)=>{let li;return typeof nn=="function"?li=Oe()(nn(wo,Ao,aA)):li=Oe()(nn),Oe()({[`${Ga}-row-selected`]:rA.has(la(wo,Ao))},li)};Hr.__PARENT_RENDER_ICON__=Hr.expandIcon,Hr.expandIcon=Hr.expandIcon||yr||Ot(Ha),pa==="nest"&&Hr.expandIconColumnIndex===void 0?Hr.expandIconColumnIndex=xt?1:0:Hr.expandIconColumnIndex>0&&xt&&(Hr.expandIconColumnIndex-=1),typeof Hr.indentSize!="number"&&(Hr.indentSize=typeof Pr=="number"?Pr:15);const ws=he.useCallback(wo=>qo(lA(Wo(bi(wo)))),[bi,Wo,lA]);let os,RA;if(bt!==!1&&(Ya!=null&&Ya.total)){let wo;Ya.size?wo=Ya.size:wo=so==="small"||so==="middle"?"small":void 0;const Ao=oA=>he.createElement(Ci.Z,Object.assign({},Ya,{className:Oe()(`${Ga}-pagination ${Ga}-pagination-${oA}`,Ya.className),size:wo})),aA=ba==="rtl"?"left":"right",{position:li}=Ya;if(li!==null&&Array.isArray(li)){const oA=li.find(BA=>BA.includes("top")),vA=li.find(BA=>BA.includes("bottom")),cA=li.every(BA=>`${BA}`=="none");!oA&&!vA&&!cA&&(RA=Ao(aA)),oA&&(os=Ao(oA.toLowerCase().replace("top",""))),vA&&(RA=Ao(vA.toLowerCase().replace("bottom","")))}else RA=Ao(aA)}let QA;typeof Jn=="boolean"?QA={spinning:Jn}:typeof Jn=="object"&&(QA=Object.assign({spinning:!0},Jn));const[uA,Si]=Er(Ga),[,si]=(0,xr.Z)(),Cs=Oe()(`${Ga}-wrapper`,Fr==null?void 0:Fr.className,{[`${Ga}-wrapper-rtl`]:ba==="rtl"},ut,dt,Si),Os=Object.assign(Object.assign({},Fr==null?void 0:Fr.style),Ct),Ws=ar&&ar.emptyText||(Fo==null?void 0:Fo("Table"))||he.createElement(ro.Z,{componentName:"Table"}),cs=gr?Ri:po,_l={},pl=he.useMemo(()=>{const{fontSize:wo,lineHeight:Ao,padding:aA,paddingXS:li,paddingSM:oA}=si,vA=Math.floor(wo*Ao);switch(so){case"large":return aA*2+vA;case"small":return li*2+vA;default:return oA*2+vA}},[si,so]);return gr&&(_l.listItemHeight=pl),uA(he.createElement("div",{ref:ze,className:Cs,style:Os},he.createElement(jr.Z,Object.assign({spinning:!1},QA),os,he.createElement(cs,Object.assign({},_l,ca,{columns:Wr,direction:ba,expandable:Hr,prefixCls:Ga,className:Oe()({[`${Ga}-middle`]:so==="middle",[`${Ga}-small`]:so==="small",[`${Ga}-bordered`]:rn,[`${Ga}-empty`]:jo.length===0}),data:Pi,rowKey:la,rowClassName:FA,emptyText:Ws,internalHooks:we,internalRefs:Xr,transformColumns:ws})),RA)))};var tr=he.forwardRef(Sn);const hr=(De,ze)=>{const et=he.useRef(0);return et.current+=1,he.createElement(tr,Object.assign({},De,{ref:ze,_renderTimes:et.current}))},Gt=he.forwardRef(hr);Gt.SELECTION_COLUMN=Hi,Gt.EXPAND_COLUMN=pe,Gt.SELECTION_ALL=VA,Gt.SELECTION_INVERT=fA,Gt.SELECTION_NONE=ni,Gt.Column=no,Gt.ColumnGroup=Qo,Gt.Summary=Me;var qt=Gt,Un=qt},17574:function(an,Kt,Be){"use strict";Be.d(Kt,{default:function(){return Ft}});var pe=Be(79556),we=Be(95190),Ke=Be(52671),nt=Be(8657),Ze=Be(14809),je=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,Ie=Be(7657),se=function(tt,en){return je.createElement(Ie.Z,(0,Ze.Z)({},tt,{ref:en,icon:ve}))},Ue=je.forwardRef(se),Pe=Ue,be=Be(92310),oe=Be.n(be),y=Be(35654),a=Be(71430),E=Be(36355),b=Be(56082),x=Be(62892),z=Be(20648);const ne=4;function ce(ht){const{dropPosition:tt,dropLevelOffset:en,prefixCls:gn,indent:Et,direction:Zt="ltr"}=ht,Cn=Zt==="ltr"?"left":"right",jn=Zt==="ltr"?"right":"left",hn={[Cn]:-en*Et+ne,[jn]:0};switch(tt){case-1:hn.top=-3;break;case 1:hn.bottom=-3;break;default:hn.bottom=-3,hn[Cn]=Et+ne;break}return je.createElement("div",{style:hn,className:`${gn}-drop-indicator`})}var Fe=Be(71997),Qe=je.forwardRef((ht,tt)=>{const{getPrefixCls:en,direction:gn,virtual:Et,tree:Zt}=je.useContext(E.E_),{prefixCls:Cn,className:jn,showIcon:hn=!1,showLine:Kn,switcherIcon:Nt,blockNode:zn=!1,children:$n,checkable:He=!1,selectable:$t=!0,draggable:Re,motion:me,style:le}=ht,ye=en("tree",Cn),qe=en(),pt=me!=null?me:Object.assign(Object.assign({},(0,x.Z)(qe)),{motionAppear:!1}),Me=Object.assign(Object.assign({},ht),{checkable:He,selectable:$t,showIcon:hn,motion:pt,blockNode:zn,showLine:!!Kn,dropIndicatorRender:ce}),[Je,jt]=(0,z.ZP)(ye),wt=je.useMemo(()=>{if(!Re)return!1;let Vt={};switch(typeof Re){case"function":Vt.nodeDraggable=Re;break;case"object":Vt=Object.assign({},Re);break;default:break}return Vt.icon!==!1&&(Vt.icon=Vt.icon||je.createElement(b.Z,null)),Vt},[Re]),lt=Vt=>je.createElement(Fe.Z,{prefixCls:ye,switcherIcon:Nt,treeNodeProps:Vt,showLine:Kn});return Je(je.createElement(pe.Z,Object.assign({itemHeight:20,ref:tt,virtual:Et},Me,{style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),le),prefixCls:ye,className:oe()({[`${ye}-icon-hide`]:!hn,[`${ye}-block-node`]:zn,[`${ye}-unselectable`]:!$t,[`${ye}-rtl`]:gn==="rtl"},Zt==null?void 0:Zt.className,jn,jt),direction:gn,checkable:He&&je.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:$t,switcherIcon:lt,draggable:wt}),$n))}),We;(function(ht){ht[ht.None=0]="None",ht[ht.Start=1]="Start",ht[ht.End=2]="End"})(We||(We={}));function Ye(ht,tt){function en(gn){const{key:Et,children:Zt}=gn;tt(Et,gn)!==!1&&Ye(Zt||[],tt)}ht.forEach(en)}function rt(ht){let{treeData:tt,expandedKeys:en,startKey:gn,endKey:Et}=ht;const Zt=[];let Cn=We.None;if(gn&&gn===Et)return[gn];if(!gn||!Et)return[];function jn(hn){return hn===gn||hn===Et}return Ye(tt,hn=>{if(Cn===We.End)return!1;if(jn(hn)){if(Zt.push(hn),Cn===We.None)Cn=We.Start;else if(Cn===We.Start)return Cn=We.End,!1}else Cn===We.Start&&Zt.push(hn);return en.includes(hn)}),Zt}function Te(ht,tt){const en=(0,we.Z)(tt),gn=[];return Ye(ht,(Et,Zt)=>{const Cn=en.indexOf(Et);return Cn!==-1&&(gn.push(Zt),en.splice(Cn,1)),!!en.length}),gn}var Pt=function(ht,tt){var en={};for(var gn in ht)Object.prototype.hasOwnProperty.call(ht,gn)&&tt.indexOf(gn)<0&&(en[gn]=ht[gn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,gn=Object.getOwnPropertySymbols(ht);Et{var{defaultExpandAll:en,defaultExpandParent:gn,defaultExpandedKeys:Et}=ht,Zt=Pt(ht,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Cn=je.useRef(),jn=je.useRef(),hn=()=>{const{keyEntities:wt}=(0,a.I8)(Tt(Zt));let lt;return en?lt=Object.keys(wt):gn?lt=(0,y.r7)(Zt.expandedKeys||Et||[],wt):lt=Zt.expandedKeys||Et,lt},[Kn,Nt]=je.useState(Zt.selectedKeys||Zt.defaultSelectedKeys||[]),[zn,$n]=je.useState(()=>hn());je.useEffect(()=>{"selectedKeys"in Zt&&Nt(Zt.selectedKeys)},[Zt.selectedKeys]),je.useEffect(()=>{"expandedKeys"in Zt&&$n(Zt.expandedKeys)},[Zt.expandedKeys]);const He=(wt,lt)=>{var Vt;return"expandedKeys"in Zt||$n(wt),(Vt=Zt.onExpand)===null||Vt===void 0?void 0:Vt.call(Zt,wt,lt)},$t=(wt,lt)=>{var Vt;const{multiple:Bn}=Zt,{node:kt,nativeEvent:dn}=lt,{key:Qt=""}=kt,Pn=Tt(Zt),An=Object.assign(Object.assign({},lt),{selected:!0}),nr=(dn==null?void 0:dn.ctrlKey)||(dn==null?void 0:dn.metaKey),cr=dn==null?void 0:dn.shiftKey;let Ar;Bn&&nr?(Ar=wt,Cn.current=Qt,jn.current=Ar,An.selectedNodes=Te(Pn,Ar)):Bn&&cr?(Ar=Array.from(new Set([].concat((0,we.Z)(jn.current||[]),(0,we.Z)(rt({treeData:Pn,expandedKeys:zn,startKey:Qt,endKey:Cn.current}))))),An.selectedNodes=Te(Pn,Ar)):(Ar=[Qt],Cn.current=Qt,jn.current=Ar,An.selectedNodes=Te(Pn,Ar)),(Vt=Zt.onSelect)===null||Vt===void 0||Vt.call(Zt,Ar,An),"selectedKeys"in Zt||Nt(Ar)},{getPrefixCls:Re,direction:me}=je.useContext(E.E_),{prefixCls:le,className:ye,showIcon:qe=!0,expandAction:pt="click"}=Zt,Me=Pt(Zt,["prefixCls","className","showIcon","expandAction"]),Je=Re("tree",le),jt=oe()(`${Je}-directory`,{[`${Je}-directory-rtl`]:me==="rtl"},ye);return je.createElement(Qe,Object.assign({icon:Oe,ref:tt,blockNode:!0},Me,{showIcon:qe,expandAction:pt,prefixCls:Je,className:jt,expandedKeys:zn,selectedKeys:Kn,onSelect:$t,onExpand:He}))};var It=je.forwardRef(st);const gt=Qe;gt.DirectoryTree=It,gt.TreeNode=pe.O;var Ft=gt},20648:function(an,Kt,Be){"use strict";Be.d(Kt,{TM:function(){return be},Yk:function(){return Pe}});var pe=Be(36237),we=Be(98447),Ke=Be(17313),nt=Be(8378),Ze=Be(37613),je=Be(83116);const he=new pe.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}`}}}),Ie=(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:'""'}}}),se=(oe,y)=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,titleHeight:x,nodeSelectedBg:z,nodeHoverBg:ne}=y,ce=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ke.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,Ke.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,Ke.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:ce},[`${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"},Ie(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`}}}}})}},Ue=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"}}}}}},Pe=(oe,y)=>{const a=`.${oe}`,E=`${a}-treenode`,b=y.paddingXS/2,x=(0,Ze.TS)(y,{treeCls:a,treeNodeCls:E,treeNodePadding:b});return[se(oe,x),Ue(x)]},be=oe=>{const{controlHeightSM:y}=oe;return{titleHeight:y,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};Kt.ZP=(0,je.Z)("Tree",(oe,y)=>{let{prefixCls:a}=y;return[{[oe.componentCls]:(0,we.C2)(`${a}-checkbox`,oe)},Pe(a,oe),(0,nt.Z)(oe)]},oe=>{const{colorTextLightSolid:y,colorPrimary:a}=oe;return Object.assign(Object.assign({},be(oe)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(an,Kt,Be){"use strict";Be.d(Kt,{Z:function(){return E}});var pe=Be(14809),we=Be(59301),Ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},nt=Ke,Ze=Be(7657),je=function(x,z){return we.createElement(Ze.Z,(0,pe.Z)({},x,{ref:z,icon:nt}))},he=we.forwardRef(je),ve=he,Ie=Be(52671),se=Be(58617),Ue=Be(15075),Pe=Be(43531),be=Be(92310),oe=Be.n(be),y=Be(92343),E=b=>{const{prefixCls:x,switcherIcon:z,treeNodeProps:ne,showLine:ce}=b,{isLeaf:Fe,expanded:Ee,loading:Qe}=ne;if(Qe)return we.createElement(se.Z,{className:`${x}-switcher-loading-icon`});let We;if(ce&&typeof ce=="object"&&(We=ce.showLeafIcon),Fe){if(!ce)return null;if(typeof We!="boolean"&&We){const Te=typeof We=="function"?We(ne):We,Pt=`${x}-switcher-line-custom-icon`;return(0,y.l$)(Te)?(0,y.Tm)(Te,{className:oe()(Te.props.className||"",Pt)}):Te}return We?we.createElement(Ie.Z,{className:`${x}-switcher-line-icon`}):we.createElement("span",{className:`${x}-switcher-leaf-line`})}const Ye=`${x}-switcher-icon`,rt=typeof z=="function"?z(ne):z;return(0,y.l$)(rt)?(0,y.Tm)(rt,{className:oe()(rt.props.className||"",Ye)}):rt!==void 0?rt:ce?Ee?we.createElement(Ue.Z,{className:`${x}-switcher-line-icon`}):we.createElement(Pe.Z,{className:`${x}-switcher-line-icon`}):we.createElement(ve,{className:Ye})}},86251:function(an,Kt){"use strict";Kt.byteLength=he,Kt.toByteArray=Ie,Kt.fromByteArray=Pe;for(var Be=[],pe=[],we=typeof Uint8Array!="undefined"?Uint8Array:Array,Ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nt=0,Ze=Ke.length;nt0)throw new Error("Invalid string. Length must be a multiple of 4");var y=be.indexOf("=");y===-1&&(y=oe);var a=y===oe?0:4-y%4;return[y,a]}function he(be){var oe=je(be),y=oe[0],a=oe[1];return(y+a)*3/4-a}function ve(be,oe,y){return(oe+y)*3/4-y}function Ie(be){var oe,y=je(be),a=y[0],E=y[1],b=new we(ve(be,a,E)),x=0,z=E>0?a-4:a,ne;for(ne=0;ne>16&255,b[x++]=oe>>8&255,b[x++]=oe&255;return E===2&&(oe=pe[be.charCodeAt(ne)]<<2|pe[be.charCodeAt(ne+1)]>>4,b[x++]=oe&255),E===1&&(oe=pe[be.charCodeAt(ne)]<<10|pe[be.charCodeAt(ne+1)]<<4|pe[be.charCodeAt(ne+2)]>>2,b[x++]=oe>>8&255,b[x++]=oe&255),b}function se(be){return Be[be>>18&63]+Be[be>>12&63]+Be[be>>6&63]+Be[be&63]}function Ue(be,oe,y){for(var a,E=[],b=oe;bz?z:x+b));return a===1?(oe=be[y-1],E.push(Be[oe>>2]+Be[oe<<4&63]+"==")):a===2&&(oe=(be[y-2]<<8)+be[y-1],E.push(Be[oe>>10]+Be[oe>>4&63]+Be[oe<<2&63]+"=")),E.join("")}},19208:function(an,Kt,Be){"use strict";var pe;var we=Be(86251),Ke=Be(67467),nt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Kt.lW=ve,pe=x,Kt.h2=50;var Ze=2147483647;pe=Ze,ve.TYPED_ARRAY_SUPPORT=je(),!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 je(){try{var Re=new Uint8Array(1),me={foo:function(){return 42}};return Object.setPrototypeOf(me,Uint8Array.prototype),Object.setPrototypeOf(Re,me),Re.foo()===42}catch(le){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(Re){if(Re>Ze)throw new RangeError('The value "'+Re+'" is invalid for option "size"');var me=new Uint8Array(Re);return Object.setPrototypeOf(me,ve.prototype),me}function ve(Re,me,le){if(typeof Re=="number"){if(typeof me=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Pe(Re)}return Ie(Re,me,le)}ve.poolSize=8192;function Ie(Re,me,le){if(typeof Re=="string")return be(Re,me);if(ArrayBuffer.isView(Re))return y(Re);if(Re==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Re);if($n(Re,ArrayBuffer)||Re&&$n(Re.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($n(Re,SharedArrayBuffer)||Re&&$n(Re.buffer,SharedArrayBuffer)))return a(Re,me,le);if(typeof Re=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=Re.valueOf&&Re.valueOf();if(ye!=null&&ye!==Re)return ve.from(ye,me,le);var qe=E(Re);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Re[Symbol.toPrimitive]=="function")return ve.from(Re[Symbol.toPrimitive]("string"),me,le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Re)}ve.from=function(Re,me,le){return Ie(Re,me,le)},Object.setPrototypeOf(ve.prototype,Uint8Array.prototype),Object.setPrototypeOf(ve,Uint8Array);function se(Re){if(typeof Re!="number")throw new TypeError('"size" argument must be of type number');if(Re<0)throw new RangeError('The value "'+Re+'" is invalid for option "size"')}function Ue(Re,me,le){return se(Re),Re<=0?he(Re):me!==void 0?typeof le=="string"?he(Re).fill(me,le):he(Re).fill(me):he(Re)}ve.alloc=function(Re,me,le){return Ue(Re,me,le)};function Pe(Re){return se(Re),he(Re<0?0:b(Re)|0)}ve.allocUnsafe=function(Re){return Pe(Re)},ve.allocUnsafeSlow=function(Re){return Pe(Re)};function be(Re,me){if((typeof me!="string"||me==="")&&(me="utf8"),!ve.isEncoding(me))throw new TypeError("Unknown encoding: "+me);var le=z(Re,me)|0,ye=he(le),qe=ye.write(Re,me);return qe!==le&&(ye=ye.slice(0,qe)),ye}function oe(Re){for(var me=Re.length<0?0:b(Re.length)|0,le=he(me),ye=0;ye=Ze)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ze.toString(16)+" bytes");return Re|0}function x(Re){return+Re!=Re&&(Re=0),ve.alloc(+Re)}ve.isBuffer=function(me){return me!=null&&me._isBuffer===!0&&me!==ve.prototype},ve.compare=function(me,le){if($n(me,Uint8Array)&&(me=ve.from(me,me.offset,me.byteLength)),$n(le,Uint8Array)&&(le=ve.from(le,le.offset,le.byteLength)),!ve.isBuffer(me)||!ve.isBuffer(le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(me===le)return 0;for(var ye=me.length,qe=le.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(Re,me){if(ve.isBuffer(Re))return Re.length;if(ArrayBuffer.isView(Re)||$n(Re,ArrayBuffer))return Re.byteLength;if(typeof Re!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Re);var le=Re.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&le===0)return 0;for(var qe=!1;;)switch(me){case"ascii":case"latin1":case"binary":return le;case"utf8":case"utf-8":return jn(Re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le*2;case"hex":return le>>>1;case"base64":return Nt(Re).length;default:if(qe)return ye?-1:jn(Re).length;me=(""+me).toLowerCase(),qe=!0}}ve.byteLength=z;function ne(Re,me,le){var ye=!1;if((me===void 0||me<0)&&(me=0),me>this.length||((le===void 0||le>this.length)&&(le=this.length),le<=0)||(le>>>=0,me>>>=0,le<=me))return"";for(Re||(Re="utf8");;)switch(Re){case"hex":return gt(this,me,le);case"utf8":case"utf-8":return Oe(this,me,le);case"ascii":return At(this,me,le);case"latin1":case"binary":return It(this,me,le);case"base64":return Pt(this,me,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ft(this,me,le);default:if(ye)throw new TypeError("Unknown encoding: "+Re);Re=(Re+"").toLowerCase(),ye=!0}}ve.prototype._isBuffer=!0;function ce(Re,me,le){var ye=Re[me];Re[me]=Re[le],Re[le]=ye}ve.prototype.swap16=function(){var me=this.length;if(me%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var le=0;lele&&(me+=" ... "),""},nt&&(ve.prototype[nt]=ve.prototype.inspect),ve.prototype.compare=function(me,le,ye,qe,pt){if($n(me,Uint8Array)&&(me=ve.from(me,me.offset,me.byteLength)),!ve.isBuffer(me))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof me);if(le===void 0&&(le=0),ye===void 0&&(ye=me?me.length:0),qe===void 0&&(qe=0),pt===void 0&&(pt=this.length),le<0||ye>me.length||qe<0||pt>this.length)throw new RangeError("out of range index");if(qe>=pt&&le>=ye)return 0;if(qe>=pt)return-1;if(le>=ye)return 1;if(le>>>=0,ye>>>=0,qe>>>=0,pt>>>=0,this===me)return 0;for(var Me=pt-qe,Je=ye-le,jt=Math.min(Me,Je),wt=this.slice(qe,pt),lt=me.slice(le,ye),Vt=0;Vt2147483647?le=2147483647:le<-2147483648&&(le=-2147483648),le=+le,He(le)&&(le=qe?0:Re.length-1),le<0&&(le=Re.length+le),le>=Re.length){if(qe)return-1;le=Re.length-1}else if(le<0)if(qe)le=0;else return-1;if(typeof me=="string"&&(me=ve.from(me,ye)),ve.isBuffer(me))return me.length===0?-1:Ee(Re,me,le,ye,qe);if(typeof me=="number")return me=me&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Re,me,le):Uint8Array.prototype.lastIndexOf.call(Re,me,le):Ee(Re,[me],le,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Ee(Re,me,le,ye,qe){var pt=1,Me=Re.length,Je=me.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(Re.length<2||me.length<2)return-1;pt=2,Me/=2,Je/=2,le/=2}function jt(kt,dn){return pt===1?kt[dn]:kt.readUInt16BE(dn*pt)}var wt;if(qe){var lt=-1;for(wt=le;wtMe&&(le=Me-Je),wt=le;wt>=0;wt--){for(var Vt=!0,Bn=0;Bnqe&&(ye=qe)):ye=qe;var pt=me.length;ye>pt/2&&(ye=pt/2);for(var Me=0;Me>>0,isFinite(ye)?(ye=ye>>>0,qe===void 0&&(qe="utf8")):(qe=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var pt=this.length-le;if((ye===void 0||ye>pt)&&(ye=pt),me.length>0&&(ye<0||le<0)||le>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Me=!1;;)switch(qe){case"hex":return Qe(this,me,le,ye);case"utf8":case"utf-8":return We(this,me,le,ye);case"ascii":case"latin1":case"binary":return Ye(this,me,le,ye);case"base64":return rt(this,me,le,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te(this,me,le,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 Pt(Re,me,le){return me===0&&le===Re.length?we.fromByteArray(Re):we.fromByteArray(Re.slice(me,le))}function Oe(Re,me,le){le=Math.min(Re.length,le);for(var ye=[],qe=me;qe239?4:pt>223?3:pt>191?2:1;if(qe+Je<=le){var jt,wt,lt,Vt;switch(Je){case 1:pt<128&&(Me=pt);break;case 2:jt=Re[qe+1],(jt&192)===128&&(Vt=(pt&31)<<6|jt&63,Vt>127&&(Me=Vt));break;case 3:jt=Re[qe+1],wt=Re[qe+2],(jt&192)===128&&(wt&192)===128&&(Vt=(pt&15)<<12|(jt&63)<<6|wt&63,Vt>2047&&(Vt<55296||Vt>57343)&&(Me=Vt));break;case 4:jt=Re[qe+1],wt=Re[qe+2],lt=Re[qe+3],(jt&192)===128&&(wt&192)===128&&(lt&192)===128&&(Vt=(pt&15)<<18|(jt&63)<<12|(wt&63)<<6|lt&63,Vt>65535&&Vt<1114112&&(Me=Vt))}}Me===null?(Me=65533,Je=1):Me>65535&&(Me-=65536,ye.push(Me>>>10&1023|55296),Me=56320|Me&1023),ye.push(Me),qe+=Je}return st(ye)}var Tt=4096;function st(Re){var me=Re.length;if(me<=Tt)return String.fromCharCode.apply(String,Re);for(var le="",ye=0;yeye)&&(le=ye);for(var qe="",pt=me;ptye&&(me=ye),le<0?(le+=ye,le<0&&(le=0)):le>ye&&(le=ye),lele)throw new RangeError("Trying to access beyond buffer length")}ve.prototype.readUintLE=ve.prototype.readUIntLE=function(me,le,ye){me=me>>>0,le=le>>>0,ye||ht(me,le,this.length);for(var qe=this[me],pt=1,Me=0;++Me>>0,le=le>>>0,ye||ht(me,le,this.length);for(var qe=this[me+--le],pt=1;le>0&&(pt*=256);)qe+=this[me+--le]*pt;return qe},ve.prototype.readUint8=ve.prototype.readUInt8=function(me,le){return me=me>>>0,le||ht(me,1,this.length),this[me]},ve.prototype.readUint16LE=ve.prototype.readUInt16LE=function(me,le){return me=me>>>0,le||ht(me,2,this.length),this[me]|this[me+1]<<8},ve.prototype.readUint16BE=ve.prototype.readUInt16BE=function(me,le){return me=me>>>0,le||ht(me,2,this.length),this[me]<<8|this[me+1]},ve.prototype.readUint32LE=ve.prototype.readUInt32LE=function(me,le){return me=me>>>0,le||ht(me,4,this.length),(this[me]|this[me+1]<<8|this[me+2]<<16)+this[me+3]*16777216},ve.prototype.readUint32BE=ve.prototype.readUInt32BE=function(me,le){return me=me>>>0,le||ht(me,4,this.length),this[me]*16777216+(this[me+1]<<16|this[me+2]<<8|this[me+3])},ve.prototype.readIntLE=function(me,le,ye){me=me>>>0,le=le>>>0,ye||ht(me,le,this.length);for(var qe=this[me],pt=1,Me=0;++Me=pt&&(qe-=Math.pow(2,8*le)),qe},ve.prototype.readIntBE=function(me,le,ye){me=me>>>0,le=le>>>0,ye||ht(me,le,this.length);for(var qe=le,pt=1,Me=this[me+--qe];qe>0&&(pt*=256);)Me+=this[me+--qe]*pt;return pt*=128,Me>=pt&&(Me-=Math.pow(2,8*le)),Me},ve.prototype.readInt8=function(me,le){return me=me>>>0,le||ht(me,1,this.length),this[me]&128?(255-this[me]+1)*-1:this[me]},ve.prototype.readInt16LE=function(me,le){me=me>>>0,le||ht(me,2,this.length);var ye=this[me]|this[me+1]<<8;return ye&32768?ye|4294901760:ye},ve.prototype.readInt16BE=function(me,le){me=me>>>0,le||ht(me,2,this.length);var ye=this[me+1]|this[me]<<8;return ye&32768?ye|4294901760:ye},ve.prototype.readInt32LE=function(me,le){return me=me>>>0,le||ht(me,4,this.length),this[me]|this[me+1]<<8|this[me+2]<<16|this[me+3]<<24},ve.prototype.readInt32BE=function(me,le){return me=me>>>0,le||ht(me,4,this.length),this[me]<<24|this[me+1]<<16|this[me+2]<<8|this[me+3]},ve.prototype.readFloatLE=function(me,le){return me=me>>>0,le||ht(me,4,this.length),Ke.read(this,me,!0,23,4)},ve.prototype.readFloatBE=function(me,le){return me=me>>>0,le||ht(me,4,this.length),Ke.read(this,me,!1,23,4)},ve.prototype.readDoubleLE=function(me,le){return me=me>>>0,le||ht(me,8,this.length),Ke.read(this,me,!0,52,8)},ve.prototype.readDoubleBE=function(me,le){return me=me>>>0,le||ht(me,8,this.length),Ke.read(this,me,!1,52,8)};function tt(Re,me,le,ye,qe,pt){if(!ve.isBuffer(Re))throw new TypeError('"buffer" argument must be a Buffer instance');if(me>qe||meRe.length)throw new RangeError("Index out of range")}ve.prototype.writeUintLE=ve.prototype.writeUIntLE=function(me,le,ye,qe){if(me=+me,le=le>>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;tt(this,me,le,ye,pt,0)}var Me=1,Je=0;for(this[le]=me&255;++Je>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;tt(this,me,le,ye,pt,0)}var Me=ye-1,Je=1;for(this[le+Me]=me&255;--Me>=0&&(Je*=256);)this[le+Me]=me/Je&255;return le+ye},ve.prototype.writeUint8=ve.prototype.writeUInt8=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,1,255,0),this[le]=me&255,le+1},ve.prototype.writeUint16LE=ve.prototype.writeUInt16LE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,2,65535,0),this[le]=me&255,this[le+1]=me>>>8,le+2},ve.prototype.writeUint16BE=ve.prototype.writeUInt16BE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,2,65535,0),this[le]=me>>>8,this[le+1]=me&255,le+2},ve.prototype.writeUint32LE=ve.prototype.writeUInt32LE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,4,4294967295,0),this[le+3]=me>>>24,this[le+2]=me>>>16,this[le+1]=me>>>8,this[le]=me&255,le+4},ve.prototype.writeUint32BE=ve.prototype.writeUInt32BE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,4,4294967295,0),this[le]=me>>>24,this[le+1]=me>>>16,this[le+2]=me>>>8,this[le+3]=me&255,le+4},ve.prototype.writeIntLE=function(me,le,ye,qe){if(me=+me,le=le>>>0,!qe){var pt=Math.pow(2,8*ye-1);tt(this,me,le,ye,pt-1,-pt)}var Me=0,Je=1,jt=0;for(this[le]=me&255;++Me>0)-jt&255;return le+ye},ve.prototype.writeIntBE=function(me,le,ye,qe){if(me=+me,le=le>>>0,!qe){var pt=Math.pow(2,8*ye-1);tt(this,me,le,ye,pt-1,-pt)}var Me=ye-1,Je=1,jt=0;for(this[le+Me]=me&255;--Me>=0&&(Je*=256);)me<0&&jt===0&&this[le+Me+1]!==0&&(jt=1),this[le+Me]=(me/Je>>0)-jt&255;return le+ye},ve.prototype.writeInt8=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,1,127,-128),me<0&&(me=255+me+1),this[le]=me&255,le+1},ve.prototype.writeInt16LE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,2,32767,-32768),this[le]=me&255,this[le+1]=me>>>8,le+2},ve.prototype.writeInt16BE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,2,32767,-32768),this[le]=me>>>8,this[le+1]=me&255,le+2},ve.prototype.writeInt32LE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,4,2147483647,-2147483648),this[le]=me&255,this[le+1]=me>>>8,this[le+2]=me>>>16,this[le+3]=me>>>24,le+4},ve.prototype.writeInt32BE=function(me,le,ye){return me=+me,le=le>>>0,ye||tt(this,me,le,4,2147483647,-2147483648),me<0&&(me=4294967295+me+1),this[le]=me>>>24,this[le+1]=me>>>16,this[le+2]=me>>>8,this[le+3]=me&255,le+4};function en(Re,me,le,ye,qe,pt){if(le+ye>Re.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("Index out of range")}function gn(Re,me,le,ye,qe){return me=+me,le=le>>>0,qe||en(Re,me,le,4,34028234663852886e22,-34028234663852886e22),Ke.write(Re,me,le,ye,23,4),le+4}ve.prototype.writeFloatLE=function(me,le,ye){return gn(this,me,le,!0,ye)},ve.prototype.writeFloatBE=function(me,le,ye){return gn(this,me,le,!1,ye)};function Et(Re,me,le,ye,qe){return me=+me,le=le>>>0,qe||en(Re,me,le,8,17976931348623157e292,-17976931348623157e292),Ke.write(Re,me,le,ye,52,8),le+8}ve.prototype.writeDoubleLE=function(me,le,ye){return Et(this,me,le,!0,ye)},ve.prototype.writeDoubleBE=function(me,le,ye){return Et(this,me,le,!1,ye)},ve.prototype.copy=function(me,le,ye,qe){if(!ve.isBuffer(me))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),le>=me.length&&(le=me.length),le||(le=0),qe>0&&qe=this.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("sourceEnd out of bounds");qe>this.length&&(qe=this.length),me.length-le>>0,ye=ye===void 0?this.length:ye>>>0,me||(me=0);var Me;if(typeof me=="number")for(Me=le;Me55295&&le<57344){if(!qe){if(le>56319){(me-=3)>-1&&pt.push(239,191,189);continue}else if(Me+1===ye){(me-=3)>-1&&pt.push(239,191,189);continue}qe=le;continue}if(le<56320){(me-=3)>-1&&pt.push(239,191,189),qe=le;continue}le=(qe-55296<<10|le-56320)+65536}else qe&&(me-=3)>-1&&pt.push(239,191,189);if(qe=null,le<128){if((me-=1)<0)break;pt.push(le)}else if(le<2048){if((me-=2)<0)break;pt.push(le>>6|192,le&63|128)}else if(le<65536){if((me-=3)<0)break;pt.push(le>>12|224,le>>6&63|128,le&63|128)}else if(le<1114112){if((me-=4)<0)break;pt.push(le>>18|240,le>>12&63|128,le>>6&63|128,le&63|128)}else throw new Error("Invalid code point")}return pt}function hn(Re){for(var me=[],le=0;le>8,qe=le%256,pt.push(qe),pt.push(ye);return pt}function Nt(Re){return we.toByteArray(Cn(Re))}function zn(Re,me,le,ye){for(var qe=0;qe=me.length||qe>=Re.length);++qe)me[qe+le]=Re[qe];return qe}function $n(Re,me){return Re instanceof me||Re!=null&&Re.constructor!=null&&Re.constructor.name!=null&&Re.constructor.name===me.name}function He(Re){return Re!==Re}var $t=function(){for(var Re="0123456789abcdef",me=new Array(256),le=0;le<16;++le)for(var ye=le*16,qe=0;qe<16;++qe)me[ye+qe]=Re[le]+Re[qe];return me}()},14625:function(an){function Kt(pe){var we,Ke,nt="";if(typeof pe=="string"||typeof pe=="number")nt+=pe;else if(typeof pe=="object")if(Array.isArray(pe)){var Ze=pe.length;for(we=0;we0&&(Qe=ne[0]),Qe instanceof Error)throw Qe;var We=new Error("Unhandled error."+(Qe?" ("+Qe.message+")":""));throw We.context=Qe,We}var Ye=Ee[z];if(Ye===void 0)return!1;if(typeof Ye=="function")Be(Ye,this,ne);else for(var rt=Ye.length,Te=be(Ye,rt),ce=0;ce0&&Qe.length>Fe&&!Qe.warned){Qe.warned=!0;var We=new Error("Possible EventEmitter memory leak detected. "+Qe.length+" "+String(z)+" listeners added. Use emitter.setMaxListeners() to increase limit");We.name="MaxListenersExceededWarning",We.emitter=x,We.type=z,We.count=Qe.length,we(We)}return x}nt.prototype.addListener=function(z,ne){return ve(this,z,ne,!1)},nt.prototype.on=nt.prototype.addListener,nt.prototype.prependListener=function(z,ne){return ve(this,z,ne,!0)};function Ie(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function se(x,z,ne){var ce={fired:!1,wrapFn:void 0,target:x,type:z,listener:ne},Fe=Ie.bind(ce);return Fe.listener=ne,ce.wrapFn=Fe,Fe}nt.prototype.once=function(z,ne){return je(ne),this.on(z,se(this,z,ne)),this},nt.prototype.prependOnceListener=function(z,ne){return je(ne),this.prependListener(z,se(this,z,ne)),this},nt.prototype.removeListener=function(z,ne){var ce,Fe,Ee,Qe,We;if(je(ne),Fe=this._events,Fe===void 0)return this;if(ce=Fe[z],ce===void 0)return this;if(ce===ne||ce.listener===ne)--this._eventsCount===0?this._events=Object.create(null):(delete Fe[z],Fe.removeListener&&this.emit("removeListener",z,ce.listener||ne));else if(typeof ce!="function"){for(Ee=-1,Qe=ce.length-1;Qe>=0;Qe--)if(ce[Qe]===ne||ce[Qe].listener===ne){We=ce[Qe].listener,Ee=Qe;break}if(Ee<0)return this;Ee===0?ce.shift():oe(ce,Ee),ce.length===1&&(Fe[z]=ce[0]),Fe.removeListener!==void 0&&this.emit("removeListener",z,We||ne)}return this},nt.prototype.off=nt.prototype.removeListener,nt.prototype.removeAllListeners=function(z){var ne,ce,Fe;if(ce=this._events,ce===void 0)return this;if(ce.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):ce[z]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete ce[z]),this;if(arguments.length===0){var Ee=Object.keys(ce),Qe;for(Fe=0;Fe=0;Fe--)this.removeListener(z,ne[Fe]);return this};function Ue(x,z,ne){var ce=x._events;if(ce===void 0)return[];var Fe=ce[z];return Fe===void 0?[]:typeof Fe=="function"?ne?[Fe.listener||Fe]:[Fe]:ne?y(Fe):be(Fe,Fe.length)}nt.prototype.listeners=function(z){return Ue(this,z,!0)},nt.prototype.rawListeners=function(z){return Ue(this,z,!1)},nt.listenerCount=function(x,z){return typeof x.listenerCount=="function"?x.listenerCount(z):Pe.call(x,z)},nt.prototype.listenerCount=Pe;function Pe(x){var z=this._events;if(z!==void 0){var ne=z[x];if(typeof ne=="function")return 1;if(ne!==void 0)return ne.length}return 0}nt.prototype.eventNames=function(){return this._eventsCount>0?pe(this._events):[]};function be(x,z){for(var ne=new Array(z),ce=0;ce0&&ot[ot.length-1])&&(Nn[0]===6||Nn[0]===2)){fe=0;continue}if(Nn[0]===3&&(!ot||Nn[1]>ot[0]&&Nn[1]=55296&&Ge<=56319&&fe>10)+55296,Lt%1024+56320)),(Ge+1===fe||de.length>16384)&&(ot+=String.fromCharCode.apply(String,de),de.length=0)}return ot},se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ue=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Pe=0;Pe>4,Rn[Ge++]=(Lt&15)<<4|Xt>>2,Rn[Ge++]=(Xt&3)<<6|Jt&63;return Nn},E=function(Ae){for(var ie=Ae.length,fe=[],de=0;de>x,Ee=1<>x,Ye=Fe+We,rt=Ye,Te=32,Pt=rt+Te,Oe=65536>>z,Tt=1<=0){if(ie<55296||ie>56319&&ie<=65535)return fe=this.index[ie>>x],fe=(fe<>x)],fe=(fe<>z),fe=this.index[fe],fe+=ie>>x&st,fe=this.index[fe],fe=(fe<Et?(Ge.push(!0),Xt-=Et):Ge.push(!1),["normal","auto","loose"].indexOf(ie)!==-1&&[8208,8211,12316,12448].indexOf(ot)!==-1)return de.push(Lt),fe.push(qe);if(Xt===hn||Xt===$t){if(Lt===0)return de.push(Lt),fe.push(nr);var Jt=fe[Lt-1];return Xi.indexOf(Jt)===-1?(de.push(de[Lt-1]),fe.push(Jt)):(de.push(Lt),fe.push(nr))}if(de.push(Lt),Xt===cr)return fe.push(ie==="strict"?wt:zr);if(Xt===Ja||Xt===An)return fe.push(nr);if(Xt===Yr)return ot>=131072&&ot<=196605||ot>=196608&&ot<=262141?fe.push(zr):fe.push(nr);fe.push(Xt)}),[de,fe,Ge]},Mn=function(Ae,ie,fe,de){var Ge=de[fe];if(Array.isArray(Ae)?Ae.indexOf(Ge)!==-1:Ae===Ge)for(var ot=fe;ot<=de.length;){ot++;var Lt=de[ot];if(Lt===ie)return!0;if(Lt!==He)break}if(Ge===He)for(var ot=fe;ot>0;){ot--;var Xt=de[ot];if(Array.isArray(Ae)?Ae.indexOf(Xt)!==-1:Ae===Xt)for(var Jt=fe;Jt<=de.length;){Jt++;var Lt=de[Jt];if(Lt===ie)return!0;if(Lt!==He)break}if(Xt!==He)break}return!1},wn=function(Ae,ie){for(var fe=Ae;fe>=0;){var de=ie[fe];if(de===He)fe--;else return de}return 0},Or=function(Ae,ie,fe,de,Ge){if(fe[de]===0)return na;var ot=de-1;if(Array.isArray(Ge)&&Ge[ot]===!0)return na;var Lt=ot-1,Xt=ot+1,Jt=ie[ot],Nn=Lt>=0?ie[Lt]:0,Rn=ie[Xt];if(Jt===Cn&&Rn===jn)return na;if(ui.indexOf(Jt)!==-1)return Mo;if(ui.indexOf(Rn)!==-1||Ui.indexOf(Rn)!==-1)return na;if(wn(ot,ie)===zn)return mn;if(xi.get(Ae[ot])===$t||(Jt===Ar||Jt===Nr)&&xi.get(Ae[Xt])===$t||Jt===Nt||Rn===Nt||Jt===$n||[He,me,ye].indexOf(Jt)===-1&&Rn===$n||[pt,Me,Je,Bn,Pn].indexOf(Rn)!==-1||wn(ot,ie)===lt||Mn(Vt,lt,ot,ie)||Mn([pt,Me],wt,ot,ie)||Mn(Re,Re,ot,ie))return na;if(Jt===He)return mn;if(Jt===Vt||Rn===Vt)return na;if(Rn===qe||Jt===qe)return mn;if([me,ye,wt].indexOf(Rn)!==-1||Jt===le||Nn===Aa&&ai.indexOf(Jt)!==-1||Jt===Pn&&Rn===Aa||Rn===jt||gi.indexOf(Rn)!==-1&&Jt===kt||gi.indexOf(Jt)!==-1&&Rn===kt||Jt===Qt&&[zr,Ar,Nr].indexOf(Rn)!==-1||[zr,Ar,Nr].indexOf(Jt)!==-1&&Rn===dn||gi.indexOf(Jt)!==-1&&Io.indexOf(Rn)!==-1||Io.indexOf(Jt)!==-1&&gi.indexOf(Rn)!==-1||[Qt,dn].indexOf(Jt)!==-1&&(Rn===kt||[lt,ye].indexOf(Rn)!==-1&&ie[Xt+1]===kt)||[lt,ye].indexOf(Jt)!==-1&&Rn===kt||Jt===kt&&[kt,Pn,Bn].indexOf(Rn)!==-1)return na;if([kt,Pn,Bn,pt,Me].indexOf(Rn)!==-1)for(var ee=ot;ee>=0;){var ue=ie[ee];if(ue===kt)return na;if([Pn,Bn].indexOf(ue)!==-1)ee--;else break}if([Qt,dn].indexOf(Rn)!==-1)for(var ee=[pt,Me].indexOf(Jt)!==-1?Lt:ot;ee>=0;){var ue=ie[ee];if(ue===kt)return na;if([Pn,Bn].indexOf(ue)!==-1)ee--;else break}if(Sr===Jt&&[Sr,Qr,Dr,oa].indexOf(Rn)!==-1||[Qr,Dr].indexOf(Jt)!==-1&&[Qr,Gr].indexOf(Rn)!==-1||[Gr,oa].indexOf(Jt)!==-1&&Rn===Gr||pi.indexOf(Jt)!==-1&&[jt,dn].indexOf(Rn)!==-1||pi.indexOf(Rn)!==-1&&Jt===Qt||gi.indexOf(Jt)!==-1&&gi.indexOf(Rn)!==-1||Jt===Bn&&gi.indexOf(Rn)!==-1||gi.concat(kt).indexOf(Jt)!==-1&&Rn===lt&&No.indexOf(Ae[Xt])===-1||gi.concat(kt).indexOf(Rn)!==-1&&Jt===Me)return na;if(Jt===ma&&Rn===ma){for(var Le=fe[ot],Ve=1;Le>0&&(Le--,ie[Le]===ma);)Ve++;if(Ve%2!==0)return na}return Jt===Ar&&Rn===Nr?na:mn},sa=function(Ae,ie){ie||(ie={lineBreak:"normal",wordBreak:"normal"});var fe=In(Ae,ie.lineBreak),de=fe[0],Ge=fe[1],ot=fe[2];(ie.wordBreak==="break-all"||ie.wordBreak==="break-word")&&(Ge=Ge.map(function(Xt){return[kt,nr,Ja].indexOf(Xt)!==-1?zr:Xt}));var Lt=ie.wordBreak==="keep-all"?ot.map(function(Xt,Jt){return Xt&&Ae[Jt]>=19968&&Ae[Jt]<=40959}):void 0;return[de,Ge,Lt]},Ir=function(){function Ae(ie,fe,de,Ge){this.codePoints=ie,this.required=fe===Mo,this.start=de,this.end=Ge}return Ae.prototype.slice=function(){return Ie.apply(void 0,this.codePoints.slice(this.start,this.end))},Ae}(),ga=function(Ae,ie){var fe=ve(Ae),de=sa(fe,ie),Ge=de[0],ot=de[1],Lt=de[2],Xt=fe.length,Jt=0,Nn=0;return{next:function(){if(Nn>=Xt)return{done:!0,value:null};for(var Rn=na;Nn=ir&&Ae<=57},fi=function(Ae){return Ae>=55296&&Ae<=57343},Ma=function(Ae){return ro(Ae)||Ae>=Da&&Ae<=Qa||Ae>=_r&&Ae<=io},Xo=function(Ae){return Ae>=_r&&Ae<=no},Ci=function(Ae){return Ae>=Da&&Ae<=fo},jr=function(Ae){return Xo(Ae)||Ci(Ae)},xr=function(Ae){return Ae>=Fa},Mt=function(Ae){return Ae===wr||Ae===Do||Ae===Go},Ot=function(Ae){return jr(Ae)||xr(Ae)||Ae===XA},Fn=function(Ae){return Ot(Ae)||ro(Ae)||Ae===Gi},lr=function(Ae){return Ae>=jA&&Ae<=vs||Ae===$A||Ae>=_A&&Ae<=Ii||Ae===Xn},Vr=function(Ae,ie){return Ae!==oi?!1:ie!==wr},Br=function(Ae,ie,fe){return Ae===Gi?Ot(ie)||Vr(ie,fe):Ot(Ae)?!0:!!(Ae===oi&&Vr(Ae,ie))},Zr=function(Ae,ie,fe){return Ae===Ba||Ae===Gi?ro(ie)?!0:ie===qA&&ro(fe):ro(Ae===qA?ie:Ae)},mr=function(Ae){var ie=0,fe=1;(Ae[ie]===Ba||Ae[ie]===Gi)&&(Ae[ie]===Gi&&(fe=-1),ie++);for(var de=[];ro(Ae[ie]);)de.push(Ae[ie++]);var Ge=de.length?parseInt(Ie.apply(void 0,de),10):0;Ae[ie]===qA&&ie++;for(var ot=[];ro(Ae[ie]);)ot.push(Ae[ie++]);var Lt=ot.length,Xt=Lt?parseInt(Ie.apply(void 0,ot),10):0;(Ae[ie]===Qo||Ae[ie]===tn)&&ie++;var Jt=1;(Ae[ie]===Ba||Ae[ie]===Gi)&&(Ae[ie]===Gi&&(Jt=-1),ie++);for(var Nn=[];ro(Ae[ie]);)Nn.push(Ae[ie++]);var Rn=Nn.length?parseInt(Ie.apply(void 0,Nn),10):0;return fe*(Ge+Xt*Math.pow(10,-Lt))*Math.pow(10,Jt*Rn)},ea={type:2},da={type:3},ao={type:4},Oo={type:13},ya={type:8},uo={type:21},Ta={type:9},_a={type:10},ta={type:11},ka={type:12},za={type:14},vo={type:23},_o={type:1},Jo={type:25},Ni={type:24},hi={type:26},qi={type:27},WA={type:28},gA={type:29},es={type:31},Ls={type:32},yn=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=[],fe=this.consumeToken();fe!==Ls;)ie.push(fe),fe=this.consumeToken();return ie},Ae.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case co:return this.consumeStringToken(co);case zi:var fe=this.peekCodePoint(0),de=this.peekCodePoint(1),Ge=this.peekCodePoint(2);if(Fn(fe)||Vr(de,Ge)){var ot=Br(fe,de,Ge)?Ca:Ia,Lt=this.consumeName();return{type:5,value:Lt,flags:ot}}break;case Li:if(this.peekCodePoint(0)===yi)return this.consumeCodePoint(),Oo;break;case Qi:return this.consumeStringToken(Qi);case To:return ea;case AA:return da;case Na:if(this.peekCodePoint(0)===yi)return this.consumeCodePoint(),za;break;case Ba:if(Zr(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case ml:return ao;case Gi:var Xt=ie,Jt=this.peekCodePoint(0),Nn=this.peekCodePoint(1);if(Zr(Xt,Jt,Nn))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(Br(Xt,Jt,Nn))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(Jt===Gi&&Nn===Fs)return this.consumeCodePoint(),this.consumeCodePoint(),Ni;break;case qA:if(Zr(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Ua:if(this.peekCodePoint(0)===Na)for(this.consumeCodePoint();;){var Rn=this.consumeCodePoint();if(Rn===Na&&(Rn=this.consumeCodePoint(),Rn===Ua))return this.consumeToken();if(Rn===Gn)return this.consumeToken()}break;case ms:return hi;case ps:return qi;case Gl:if(this.peekCodePoint(0)===br&&this.peekCodePoint(1)===Gi&&this.peekCodePoint(2)===Gi)return this.consumeCodePoint(),this.consumeCodePoint(),Jo;break;case xs:var ee=this.peekCodePoint(0),ue=this.peekCodePoint(1),Le=this.peekCodePoint(2);if(Br(ee,ue,Le)){var Lt=this.consumeName();return{type:7,value:Lt}}break;case JA:return WA;case oi:if(Vr(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case Kr:return gA;case Pa:if(this.peekCodePoint(0)===yi)return this.consumeCodePoint(),ya;break;case lo:return ta;case Uo:return ka;case kr:case Sa:var Ve=this.peekCodePoint(0),it=this.peekCodePoint(1);return Ve===Ba&&(Ma(it)||it===va)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case Yo:if(this.peekCodePoint(0)===yi)return this.consumeCodePoint(),Ta;if(this.peekCodePoint(0)===Yo)return this.consumeCodePoint(),uo;break;case wi:if(this.peekCodePoint(0)===yi)return this.consumeCodePoint(),_a;break;case Gn:return Ls}return Mt(ie)?(this.consumeWhiteSpace(),es):ro(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):Ot(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:6,value:Ie(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=[],fe=this.consumeCodePoint();Ma(fe)&&ie.length<6;)ie.push(fe),fe=this.consumeCodePoint();for(var de=!1;fe===va&&ie.length<6;)ie.push(fe),fe=this.consumeCodePoint(),de=!0;if(de){var Ge=parseInt(Ie.apply(void 0,ie.map(function(Jt){return Jt===va?ir:Jt})),16),ot=parseInt(Ie.apply(void 0,ie.map(function(Jt){return Jt===va?Qa:Jt})),16);return{type:30,start:Ge,end:ot}}var Lt=parseInt(Ie.apply(void 0,ie),16);if(this.peekCodePoint(0)===Gi&&Ma(this.peekCodePoint(1))){this.consumeCodePoint(),fe=this.consumeCodePoint();for(var Xt=[];Ma(fe)&&Xt.length<6;)Xt.push(fe),fe=this.consumeCodePoint();var ot=parseInt(Ie.apply(void 0,Xt),16);return{type:30,start:Lt,end:ot}}else return{type:30,start:Lt,end:Lt}},Ae.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===To?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===To?(this.consumeCodePoint(),{type:19,value:ie}):{type:20,value:ie}},Ae.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Gn)return{type:22,value:""};var fe=this.peekCodePoint(0);if(fe===Qi||fe===co){var de=this.consumeStringToken(this.consumeCodePoint());return de.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Gn||this.peekCodePoint(0)===AA)?(this.consumeCodePoint(),{type:22,value:de.value}):(this.consumeBadUrlRemnants(),vo)}for(;;){var Ge=this.consumeCodePoint();if(Ge===Gn||Ge===AA)return{type:22,value:Ie.apply(void 0,ie)};if(Mt(Ge))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Gn||this.peekCodePoint(0)===AA?(this.consumeCodePoint(),{type:22,value:Ie.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),vo);if(Ge===co||Ge===Qi||Ge===To||lr(Ge))return this.consumeBadUrlRemnants(),vo;if(Ge===oi)if(Vr(Ge,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),vo;else ie.push(Ge)}},Ae.prototype.consumeWhiteSpace=function(){for(;Mt(this.peekCodePoint(0));)this.consumeCodePoint()},Ae.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===AA||ie===Gn)return;Vr(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ae.prototype.consumeStringSlice=function(ie){for(var fe=5e4,de="";ie>0;){var Ge=Math.min(fe,ie);de+=Ie.apply(void 0,this._value.splice(0,Ge)),ie-=Ge}return this._value.shift(),de},Ae.prototype.consumeStringToken=function(ie){var fe="",de=0;do{var Ge=this._value[de];if(Ge===Gn||Ge===void 0||Ge===ie)return fe+=this.consumeStringSlice(de),{type:0,value:fe};if(Ge===wr)return this._value.splice(0,de),_o;if(Ge===oi){var ot=this._value[de+1];ot!==Gn&&ot!==void 0&&(ot===wr?(fe+=this.consumeStringSlice(de),de=-1,this._value.shift()):Vr(Ge,ot)&&(fe+=this.consumeStringSlice(de),fe+=Ie(this.consumeEscapedCodePoint()),de=-1))}de++}while(!0)},Ae.prototype.consumeNumber=function(){var ie=[],fe=to,de=this.peekCodePoint(0);for((de===Ba||de===Gi)&&ie.push(this.consumeCodePoint());ro(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());de=this.peekCodePoint(0);var Ge=this.peekCodePoint(1);if(de===qA&&ro(Ge))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=ci;ro(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());de=this.peekCodePoint(0),Ge=this.peekCodePoint(1);var ot=this.peekCodePoint(2);if((de===Qo||de===tn)&&((Ge===Ba||Ge===Gi)&&ro(ot)||ro(Ge)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=ci;ro(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[mr(ie),fe]},Ae.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),fe=ie[0],de=ie[1],Ge=this.peekCodePoint(0),ot=this.peekCodePoint(1),Lt=this.peekCodePoint(2);if(Br(Ge,ot,Lt)){var Xt=this.consumeName();return{type:15,number:fe,flags:de,unit:Xt}}return Ge===dA?(this.consumeCodePoint(),{type:16,number:fe,flags:de}):{type:17,number:fe,flags:de}},Ae.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(Ma(ie)){for(var fe=Ie(ie);Ma(this.peekCodePoint(0))&&fe.length<6;)fe+=Ie(this.consumeCodePoint());Mt(this.peekCodePoint(0))&&this.consumeCodePoint();var de=parseInt(fe,16);return de===0||fi(de)||de>1114111?Ji:de}return ie===Gn?Ji:ie},Ae.prototype.consumeName=function(){for(var ie="";;){var fe=this.consumeCodePoint();if(Fn(fe))ie+=Ie(fe);else if(Vr(fe,this.peekCodePoint(0)))ie+=Ie(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(fe),ie}},Ae}(),xn=function(){function Ae(ie){this._tokens=ie}return Ae.create=function(ie){var fe=new yn;return fe.write(ie),new Ae(fe.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 fe=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===31);if(ie.type===32)return fe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ae.prototype.parseComponentValues=function(){for(var ie=[];;){var fe=this.consumeComponentValue();if(fe.type===32)return ie;ie.push(fe),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 fe={type:ie,values:[]},de=this.consumeToken();;){if(de.type===32||ZA(de,ie))return fe;this.reconsumeToken(de),fe.values.push(this.consumeComponentValue()),de=this.consumeToken()}},Ae.prototype.consumeFunction=function(ie){for(var fe={name:ie.value,values:[],type:18};;){var de=this.consumeToken();if(de.type===32||de.type===3)return fe;this.reconsumeToken(de),fe.values.push(this.consumeComponentValue())}},Ae.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?Ls:ie},Ae.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},Ae}(),sA=function(Ae){return Ae.type===15},ja=function(Ae){return Ae.type===17},xa=function(Ae){return Ae.type===20},Bo=function(Ae){return Ae.type===0},Oi=function(Ae,ie){return xa(Ae)&&Ae.value===ie},ii=function(Ae){return Ae.type!==31},mi=function(Ae){return Ae.type!==31&&Ae.type!==4},_i=function(Ae){var ie=[],fe=[];return Ae.forEach(function(de){if(de.type===4){if(fe.length===0)throw new Error("Error parsing function args, zero tokens for arg");ie.push(fe),fe=[];return}de.type!==31&&fe.push(de)}),fe.length&&ie.push(fe),ie},ZA=function(Ae,ie){return ie===11&&Ae.type===12||ie===28&&Ae.type===29?!0:ie===2&&Ae.type===3},$i=function(Ae){return Ae.type===17||Ae.type===15},ra=function(Ae){return Ae.type===16||$i(Ae)},Ka=function(Ae){return Ae.length>1?[Ae[0],Ae[1]]:[Ae[0]]},$a={type:17,number:0,flags:to},di={type:16,number:50,flags:to},vi={type:16,number:100,flags:to},ji=function(Ae,ie,fe){var de=Ae[0],Ge=Ae[1];return[So(de,ie),So(typeof Ge!="undefined"?Ge:de,fe)]},So=function(Ae,ie){if(Ae.type===16)return Ae.number/100*ie;if(sA(Ae))switch(Ae.unit){case"rem":case"em":return 16*Ae.number;case"px":default:return Ae.number}return Ae.number},ts="deg",ns="grad",NA="rad",rs="turn",Is={name:"angle",parse:function(Ae,ie){if(ie.type===15)switch(ie.unit){case ts:return Math.PI*ie.number/180;case ns:return Math.PI/200*ie.number;case NA:return ie.number;case rs:return Math.PI*2*ie.number}throw new Error("Unsupported angle type")}},Cl=function(Ae){return Ae.type===15&&(Ae.unit===ts||Ae.unit===ns||Ae.unit===NA||Ae.unit===rs)},bl=function(Ae){var ie=Ae.filter(xa).map(function(fe){return fe.value}).join(" ");switch(ie){case"to bottom right":case"to right bottom":case"left top":case"top left":return[$a,$a];case"to top":case"bottom":return Hi(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[$a,vi];case"to right":case"left":return Hi(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[vi,vi];case"to bottom":case"top":return Hi(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[vi,$a];case"to left":case"right":return Hi(270)}return 0},Hi=function(Ae){return Math.PI*Ae/180},VA={name:"color",parse:function(Ae,ie){if(ie.type===18){var fe=ol[ie.name];if(typeof fe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ie.name+'"');return fe(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),ot=ie.value.substring(2,3);return hA(parseInt(de+de,16),parseInt(Ge+Ge,16),parseInt(ot+ot,16),1)}if(ie.value.length===4){var de=ie.value.substring(0,1),Ge=ie.value.substring(1,2),ot=ie.value.substring(2,3),Lt=ie.value.substring(3,4);return hA(parseInt(de+de,16),parseInt(Ge+Ge,16),parseInt(ot+ot,16),parseInt(Lt+Lt,16)/255)}if(ie.value.length===6){var de=ie.value.substring(0,2),Ge=ie.value.substring(2,4),ot=ie.value.substring(4,6);return hA(parseInt(de,16),parseInt(Ge,16),parseInt(ot,16),1)}if(ie.value.length===8){var de=ie.value.substring(0,2),Ge=ie.value.substring(2,4),ot=ie.value.substring(4,6),Lt=ie.value.substring(6,8);return hA(parseInt(de,16),parseInt(Ge,16),parseInt(ot,16),parseInt(Lt,16)/255)}}if(ie.type===20){var Xt=bA[ie.value.toUpperCase()];if(typeof Xt!="undefined")return Xt}return bA.TRANSPARENT}},fA=function(Ae){return(255&Ae)===0},ni=function(Ae){var ie=255&Ae,fe=255&Ae>>8,de=255&Ae>>16,Ge=255&Ae>>24;return ie<255?"rgba("+Ge+","+de+","+fe+","+ie/255+")":"rgb("+Ge+","+de+","+fe+")"},hA=function(Ae,ie,fe,de){return(Ae<<24|ie<<16|fe<<8|Math.round(de*255)<<0)>>>0},al=function(Ae,ie){if(Ae.type===17)return Ae.number;if(Ae.type===16){var fe=ie===3?1:255;return ie===3?Ae.number/100*fe:Math.round(Ae.number/100*fe)}return 0},El=function(Ae,ie){var fe=ie.filter(mi);if(fe.length===3){var de=fe.map(al),Ge=de[0],ot=de[1],Lt=de[2];return hA(Ge,ot,Lt,1)}if(fe.length===4){var Xt=fe.map(al),Ge=Xt[0],ot=Xt[1],Lt=Xt[2],Jt=Xt[3];return hA(Ge,ot,Lt,Jt)}return 0};function as(Ae,ie,fe){return fe<0&&(fe+=1),fe>=1&&(fe-=1),fe<1/6?(ie-Ae)*fe*6+Ae:fe<1/2?ie:fe<2/3?(ie-Ae)*6*(2/3-fe)+Ae:Ae}var HA=function(Ae,ie){var fe=ie.filter(mi),de=fe[0],Ge=fe[1],ot=fe[2],Lt=fe[3],Xt=(de.type===17?Hi(de.number):Is.parse(Ae,de))/(Math.PI*2),Jt=ra(Ge)?Ge.number/100:0,Nn=ra(ot)?ot.number/100:0,Rn=typeof Lt!="undefined"&&ra(Lt)?So(Lt,1):1;if(Jt===0)return hA(Nn*255,Nn*255,Nn*255,1);var ee=Nn<=.5?Nn*(Jt+1):Nn+Jt-Nn*Jt,ue=Nn*2-ee,Le=as(ue,ee,Xt+1/3),Ve=as(ue,ee,Xt),it=as(ue,ee,Xt-1/3);return hA(Le*255,Ve*255,it*255,Rn)},ol={hsl:HA,hsla:HA,rgb:El,rgba:El},Bs=function(Ae,ie){return VA.parse(Ae,xn.create(ie).parseComponentValue())},bA={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},zs={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(fe){if(xa(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Gs={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_s=function(Ae,ie){var fe=VA.parse(Ae,ie[0]),de=ie[1];return de&&ra(de)?{color:fe,stop:de}:{color:fe,stop:null}},Pl=function(Ae,ie){var fe=Ae[0],de=Ae[Ae.length-1];fe.stop===null&&(fe.stop=$a),de.stop===null&&(de.stop=vi);for(var Ge=[],ot=0,Lt=0;Ltot?Ge.push(Jt):Ge.push(ot),ot=Jt}else Ge.push(null)}for(var Nn=null,Lt=0;LtLt.optimumDistance)?{optimumCorner:Xt,optimumDistance:Rn}:Lt},{optimumDistance:Ge?1/0:-1/0,optimumCorner:null}).optimumCorner},Cr=function(Ae,ie,fe,de,Ge){var ot=0,Lt=0;switch(Ae.size){case 0:Ae.shape===0?ot=Lt=Math.min(Math.abs(ie),Math.abs(ie-de),Math.abs(fe),Math.abs(fe-Ge)):Ae.shape===1&&(ot=Math.min(Math.abs(ie),Math.abs(ie-de)),Lt=Math.min(Math.abs(fe),Math.abs(fe-Ge)));break;case 2:if(Ae.shape===0)ot=Lt=Math.min(UA(ie,fe),UA(ie,fe-Ge),UA(ie-de,fe),UA(ie-de,fe-Ge));else if(Ae.shape===1){var Xt=Math.min(Math.abs(fe),Math.abs(fe-Ge))/Math.min(Math.abs(ie),Math.abs(ie-de)),Jt=EA(de,Ge,ie,fe,!0),Nn=Jt[0],Rn=Jt[1];ot=UA(Nn-ie,(Rn-fe)/Xt),Lt=Xt*ot}break;case 1:Ae.shape===0?ot=Lt=Math.max(Math.abs(ie),Math.abs(ie-de),Math.abs(fe),Math.abs(fe-Ge)):Ae.shape===1&&(ot=Math.max(Math.abs(ie),Math.abs(ie-de)),Lt=Math.max(Math.abs(fe),Math.abs(fe-Ge)));break;case 3:if(Ae.shape===0)ot=Lt=Math.max(UA(ie,fe),UA(ie,fe-Ge),UA(ie-de,fe),UA(ie-de,fe-Ge));else if(Ae.shape===1){var Xt=Math.max(Math.abs(fe),Math.abs(fe-Ge))/Math.max(Math.abs(ie),Math.abs(ie-de)),ee=EA(de,Ge,ie,fe,!1),Nn=ee[0],Rn=ee[1];ot=UA(Nn-ie,(Rn-fe)/Xt),Lt=Xt*ot}break}return Array.isArray(Ae.size)&&(ot=So(Ae.size[0],de),Lt=Ae.size.length===2?So(Ae.size[1],Ge):ot),[ot,Lt]},Za=function(Ae,ie){var fe=Hi(180),de=[];return _i(ie).forEach(function(Ge,ot){if(ot===0){var Lt=Ge[0];if(Lt.type===20&&Lt.value==="to"){fe=bl(Ge);return}else if(Cl(Lt)){fe=Is.parse(Ae,Lt);return}}var Xt=_s(Ae,Ge);de.push(Xt)}),{angle:fe,stops:de,type:1}},dr=function(Ae,ie){var fe=Hi(180),de=[];return _i(ie).forEach(function(Ge,ot){if(ot===0){var Lt=Ge[0];if(Lt.type===20&&["top","left","right","bottom"].indexOf(Lt.value)!==-1){fe=bl(Ge);return}else if(Cl(Lt)){fe=(Is.parse(Ae,Lt)+Hi(270))%Hi(360);return}}var Xt=_s(Ae,Ge);de.push(Xt)}),{angle:fe,stops:de,type:1}},La=function(Ae,ie){var fe=Hi(180),de=[],Ge=1,ot=0,Lt=3,Xt=[];return _i(ie).forEach(function(Jt,Nn){var Rn=Jt[0];if(Nn===0){if(xa(Rn)&&Rn.value==="linear"){Ge=1;return}else if(xa(Rn)&&Rn.value==="radial"){Ge=2;return}}if(Rn.type===18){if(Rn.name==="from"){var ee=VA.parse(Ae,Rn.values[0]);de.push({stop:$a,color:ee})}else if(Rn.name==="to"){var ee=VA.parse(Ae,Rn.values[0]);de.push({stop:vi,color:ee})}else if(Rn.name==="color-stop"){var ue=Rn.values.filter(mi);if(ue.length===2){var ee=VA.parse(Ae,ue[1]),Le=ue[0];ja(Le)&&de.push({stop:{type:16,number:Le.number*100,flags:Le.flags},color:ee})}}}}),Ge===1?{angle:(fe+Hi(180))%Hi(360),stops:de,type:Ge}:{size:Lt,shape:ot,stops:de,position:Xt,type:Ge}},po="closest-side",Ri="farthest-side",Wi="closest-corner",Mi="farthest-corner",Ss="circle",Ns="ellipse",Ds="cover",ko="contain",Us=function(Ae,ie){var fe=0,de=3,Ge=[],ot=[];return _i(ie).forEach(function(Lt,Xt){var Jt=!0;if(Xt===0){var Nn=!1;Jt=Lt.reduce(function(ee,ue){if(Nn)if(xa(ue))switch(ue.value){case"center":return ot.push(di),ee;case"top":case"left":return ot.push($a),ee;case"right":case"bottom":return ot.push(vi),ee}else(ra(ue)||$i(ue))&&ot.push(ue);else if(xa(ue))switch(ue.value){case Ss:return fe=0,!1;case Ns:return fe=1,!1;case"at":return Nn=!0,!1;case po:return de=0,!1;case Ds:case Ri:return de=1,!1;case ko:case Wi:return de=2,!1;case Mi:return de=3,!1}else if($i(ue)||ra(ue))return Array.isArray(de)||(de=[]),de.push(ue),!1;return ee},Jt)}if(Jt){var Rn=_s(Ae,Lt);Ge.push(Rn)}}),{size:de,shape:fe,stops:Ge,position:ot,type:2}},Co=function(Ae,ie){var fe=0,de=3,Ge=[],ot=[];return _i(ie).forEach(function(Lt,Xt){var Jt=!0;if(Xt===0?Jt=Lt.reduce(function(Rn,ee){if(xa(ee))switch(ee.value){case"center":return ot.push(di),!1;case"top":case"left":return ot.push($a),!1;case"right":case"bottom":return ot.push(vi),!1}else if(ra(ee)||$i(ee))return ot.push(ee),!1;return Rn},Jt):Xt===1&&(Jt=Lt.reduce(function(Rn,ee){if(xa(ee))switch(ee.value){case Ss:return fe=0,!1;case Ns:return fe=1,!1;case ko:case po:return de=0,!1;case Ri:return de=1,!1;case Wi:return de=2,!1;case Ds:case Mi:return de=3,!1}else if($i(ee)||ra(ee))return Array.isArray(de)||(de=[]),de.push(ee),!1;return Rn},Jt)),Jt){var Nn=_s(Ae,Lt);Ge.push(Nn)}}),{size:de,shape:fe,stops:Ge,position:ot,type:2}},PA=function(Ae){return Ae.type===1},Zi=function(Ae){return Ae.type===2},mA={name:"image",parse:function(Ae,ie){if(ie.type===22){var fe={url:ie.value,type:0};return Ae.cache.addImage(ie.value),fe}if(ie.type===18){var de=ys[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 eA(Ae){return!(Ae.type===20&&Ae.value==="none")&&(Ae.type!==18||!!ys[Ae.name])}var ys={"linear-gradient":Za,"-moz-linear-gradient":dr,"-ms-linear-gradient":dr,"-o-linear-gradient":dr,"-webkit-linear-gradient":dr,"radial-gradient":Us,"-moz-radial-gradient":Co,"-ms-radial-gradient":Co,"-o-radial-gradient":Co,"-webkit-radial-gradient":Co,"-webkit-gradient":La},Qs={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){if(ie.length===0)return[];var fe=ie[0];return fe.type===20&&fe.value==="none"?[]:ie.filter(function(de){return mi(de)&&eA(de)}).map(function(de){return mA.parse(Ae,de)})}},ae={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ae,ie){return ie.map(function(fe){if(xa(fe))switch(fe.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 _i(ie).map(function(fe){return fe.filter(ra)}).map(Ka)}},re={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ae,ie){return _i(ie).map(function(fe){return fe.filter(xa).map(function(de){return de.value}).join(" ")}).map(ge)}},ge=function(Ae){switch(Ae){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ce;(function(Ae){Ae.AUTO="auto",Ae.CONTAIN="contain",Ae.COVER="cover"})(Ce||(Ce={}));var Se={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ae,ie){return _i(ie).map(function(fe){return fe.filter(Ne)})}},Ne=function(Ae){return xa(Ae)||ra(Ae)},ke=function(Ae){return{name:"border-"+Ae+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},_e=ke("top"),at=ke("right"),mt=ke("bottom"),vt=ke("left"),Ut=function(Ae){return{name:"border-radius-"+Ae,initialValue:"0 0",prefix:!1,type:1,parse:function(ie,fe){return Ka(fe.filter(ra))}}},$e=Ut("top-left"),sn=Ut("top-right"),Yt=Ut("bottom-right"),ln=Ut("bottom-left"),Ht=function(Ae){return{name:"border-"+Ae+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ie,fe){switch(fe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},un=Ht("top"),Qn=Ht("right"),Vn=Ht("bottom"),ur=Ht("left"),Er=function(Ae){return{name:"border-"+Ae+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ie,fe){return sA(fe)?fe.number:0}}},qn=Er("top"),Sn=Er("right"),tr=Er("bottom"),hr=Er("left"),Gt={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},qt={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"rtl":return 1;case"ltr":default:return 0}}},Un={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(xa).reduce(function(fe,de){return fe|De(de.value)},0)}},De=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},ze={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},et={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Ae,ie){return ie.type===20&&ie.value==="normal"?0:ie.type===17||ie.type===15?ie.number:0}},ut;(function(Ae){Ae.NORMAL="normal",Ae.STRICT="strict"})(ut||(ut={}));var dt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"strict":return ut.STRICT;case"normal":default:return ut.NORMAL}}},Ct={name:"line-height",initialValue:"normal",prefix:!1,type:4},Rt=function(Ae,ie){return xa(Ae)&&Ae.value==="normal"?1.2*ie:Ae.type===17?ie*Ae.number:ra(Ae)?So(Ae,ie):ie},rn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ae,ie){return ie.type===20&&ie.value==="none"?null:mA.parse(Ae,ie)}},Xe={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"inside":return 0;case"outside":default:return 1}}},ct={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Ae,ie){switch(ie){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},bt=function(Ae){return{name:"margin-"+Ae,initialValue:"0",prefix:!1,type:4}},xt=bt("top"),Wt=bt("right"),nn=bt("bottom"),on=bt("left"),pn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ae,ie){return ie.filter(xa).map(function(fe){switch(fe.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Tn={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"}}},Hn=function(Ae){return{name:"padding-"+Ae,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},_n=Hn("top"),Jn=Hn("right"),yr=Hn("bottom"),On=Hn("left"),_t={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}}},Rr={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}},Pr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ae,ie){return ie.length===1&&Oi(ie[0],"none")?[]:_i(ie).map(function(fe){for(var de={color:bA.TRANSPARENT,offsetX:$a,offsetY:$a,blur:$a},Ge=0,ot=0;ot1?1:0],this.overflowWrap=Lr(ie,Tn,fe.overflowWrap),this.paddingTop=Lr(ie,_n,fe.paddingTop),this.paddingRight=Lr(ie,Jn,fe.paddingRight),this.paddingBottom=Lr(ie,yr,fe.paddingBottom),this.paddingLeft=Lr(ie,On,fe.paddingLeft),this.paintOrder=Lr(ie,oo,fe.paintOrder),this.position=Lr(ie,Rr,fe.position),this.textAlign=Lr(ie,_t,fe.textAlign),this.textDecorationColor=Lr(ie,Wa,(de=fe.textDecorationColor)!==null&&de!==void 0?de:fe.color),this.textDecorationLine=Lr(ie,Oa,(Ge=fe.textDecorationLine)!==null&&Ge!==void 0?Ge:fe.textDecoration),this.textShadow=Lr(ie,Pr,fe.textShadow),this.textTransform=Lr(ie,Wn,fe.textTransform),this.transform=Lr(ie,rr,fe.transform),this.transformOrigin=Lr(ie,Jr,fe.transformOrigin),this.visibility=Lr(ie,Wr,fe.visibility),this.webkitTextStrokeColor=Lr(ie,bi,fe.webkitTextStrokeColor),this.webkitTextStrokeWidth=Lr(ie,Ea,fe.webkitTextStrokeWidth),this.wordBreak=Lr(ie,qr,fe.wordBreak),this.zIndex=Lr(ie,ba,fe.zIndex)}return Ae.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ae.prototype.isTransparent=function(){return fA(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 Hr(this.display,4)||Hr(this.display,33554432)||Hr(this.display,268435456)||Hr(this.display,536870912)||Hr(this.display,67108864)||Hr(this.display,134217728)},Ae}(),ri=function(){function Ae(ie,fe){this.content=Lr(ie,fa,fe.content),this.quotes=Lr(ie,Mr,fe.quotes)}return Ae}(),Ei=function(){function Ae(ie,fe){this.counterIncrement=Lr(ie,pa,fe.counterIncrement),this.counterReset=Lr(ie,Xr,fe.counterReset)}return Ae}(),Lr=function(Ae,ie,fe){var de=new yn,Ge=fe!==null&&typeof fe!="undefined"?fe.toString():ie.initialValue;de.write(Ge);var ot=new xn(de.read());switch(ie.type){case 2:var Lt=ot.parseComponentValue();return ie.parse(Ae,xa(Lt)?Lt.value:ie.initialValue);case 0:return ie.parse(Ae,ot.parseComponentValue());case 1:return ie.parse(Ae,ot.parseComponentValues());case 4:return ot.parseComponentValue();case 3:switch(ie.format){case"angle":return Is.parse(Ae,ot.parseComponentValue());case"color":return VA.parse(Ae,ot.parseComponentValue());case"image":return mA.parse(Ae,ot.parseComponentValue());case"length":var Xt=ot.parseComponentValue();return $i(Xt)?Xt:$a;case"length-percentage":var Jt=ot.parseComponentValue();return ra(Jt)?Jt:$a;case"time":return Fr.parse(Ae,ot.parseComponentValue())}break}},Wo="data-html2canvas-debug",pA=function(Ae){var ie=Ae.getAttribute(Wo);switch(ie){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},yo=function(Ae,ie){var fe=pA(Ae);return fe===1||ie===fe},eo=function(){function Ae(ie,fe){if(this.context=ie,this.textNodes=[],this.elements=[],this.flags=0,yo(fe,3))debugger;this.styles=new nA(ie,window.getComputedStyle(fe,null)),fr(fe)&&(this.styles.animationDuration.some(function(de){return de>0})&&(fe.style.animationDuration="0s"),this.styles.transform!==null&&(fe.style.transform="none")),this.bounds=je(this.context,fe),yo(fe,4)&&(this.flags|=16)}return Ae}(),Ho="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",qo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ko=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ya=0;Ya>4,Rn[Ge++]=(Lt&15)<<4|Xt>>2,Rn[Ge++]=(Xt&3)<<6|Jt&63;return Nn},Pi=function(Ae){for(var ie=Ae.length,fe=[],de=0;de>rA,QA=1<>rA,si=RA+Si,Cs=si,Os=32,Ws=Cs+Os,cs=65536>>FA,_l=1<=0){if(ie<55296||ie>56319&&ie<=65535)return fe=this.index[ie>>rA],fe=(fe<>rA)],fe=(fe<>FA),fe=this.index[fe],fe+=ie>>rA&pl,fe=this.index[fe],fe=(fe<=55296&&Ge<=56319&&fe>10)+55296,Lt%1024+56320)),(Ge+1===fe||de.length>16384)&&(ot+=String.fromCharCode.apply(String,de),de.length=0)}return ot},Il=aA(Ho),KA="\xD7",xA="\xF7",Xu=function(Ae){return Il.get(Ae)},xu=function(Ae,ie,fe){var de=fe-2,Ge=ie[de],ot=ie[fe-1],Lt=ie[fe];if(ot===Al&&Lt===MA)return KA;if(ot===Al||ot===MA||ot===Fl||Lt===Al||Lt===MA||Lt===Fl)return xA;if(ot===vl&&[vl,Zs,Pu,Ll].indexOf(Lt)!==-1||(ot===Pu||ot===Zs)&&(Lt===Zs||Lt===xl)||(ot===Ll||ot===xl)&&Lt===xl||Lt===Fu||Lt===ou||Lt===Eu||ot===BA)return KA;if(ot===Fu&&Lt===iu){for(;Ge===ou;)Ge=ie[--de];if(Ge===iu)return KA}if(ot===Bl&&Lt===Bl){for(var Xt=0;Ge===Bl;)Xt++,Ge=ie[--de];if(Xt%2===0)return KA}return xA},ho=function(Ae){var ie=Vs(Ae),fe=ie.length,de=0,Ge=0,ot=ie.map(Xu);return{next:function(){if(de>=fe)return{done:!0,value:null};for(var Lt=KA;deLt.x||Rn.y>Lt.y;return Lt=Rn,Nn===0?!0:ee});return Ae.body.removeChild(ie),Xt},su=function(){return typeof new Image().crossOrigin!="undefined"},lu=function(){return typeof new XMLHttpRequest().responseType=="string"},Nl=function(Ae){var ie=new Image,fe=Ae.createElement("canvas"),de=fe.getContext("2d");if(!de)return!1;ie.src="data:image/svg+xml,";try{de.drawImage(ie,0,0),fe.toDataURL()}catch(Ge){return!1}return!0},Dl=function(Ae){return Ae[0]===0&&Ae[1]===255&&Ae[2]===0&&Ae[3]===255},Ju=function(Ae){var ie=Ae.createElement("canvas"),fe=100;ie.width=fe,ie.height=fe;var de=ie.getContext("2d");if(!de)return Promise.reject(!1);de.fillStyle="rgb(0, 255, 0)",de.fillRect(0,0,fe,fe);var Ge=new Image,ot=ie.toDataURL();Ge.src=ot;var Lt=Vl(fe,fe,0,0,Ge);return de.fillStyle="red",de.fillRect(0,0,fe,fe),Yl(Lt).then(function(Xt){de.drawImage(Xt,0,0);var Jt=de.getImageData(0,0,fe,fe).data;de.fillStyle="red",de.fillRect(0,0,fe,fe);var Nn=Ae.createElement("div");return Nn.style.backgroundImage="url("+ot+")",Nn.style.height=fe+"px",Dl(Jt)?Yl(Vl(fe,fe,0,0,Nn)):Promise.reject(!1)}).then(function(Xt){return de.drawImage(Xt,0,0),Dl(de.getImageData(0,0,fe,fe).data)}).catch(function(){return!1})},Vl=function(Ae,ie,fe,de,Ge){var ot="http://www.w3.org/2000/svg",Lt=document.createElementNS(ot,"svg"),Xt=document.createElementNS(ot,"foreignObject");return Lt.setAttributeNS(null,"width",Ae.toString()),Lt.setAttributeNS(null,"height",ie.toString()),Xt.setAttributeNS(null,"width","100%"),Xt.setAttributeNS(null,"height","100%"),Xt.setAttributeNS(null,"x",fe.toString()),Xt.setAttributeNS(null,"y",de.toString()),Xt.setAttributeNS(null,"externalResourcesRequired","true"),Lt.appendChild(Xt),Xt.appendChild(Ge),Lt},Yl=function(Ae){return new Promise(function(ie,fe){var de=new Image;de.onload=function(){return ie(de)},de.onerror=fe,de.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ae))})},Vi={get SUPPORT_RANGE_BOUNDS(){var Ae=Au(document);return Object.defineProperty(Vi,"SUPPORT_RANGE_BOUNDS",{value:Ae}),Ae},get SUPPORT_WORD_BREAKING(){var Ae=Vi.SUPPORT_RANGE_BOUNDS&&bs(document);return Object.defineProperty(Vi,"SUPPORT_WORD_BREAKING",{value:Ae}),Ae},get SUPPORT_SVG_DRAWING(){var Ae=Nl(document);return Object.defineProperty(Vi,"SUPPORT_SVG_DRAWING",{value:Ae}),Ae},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ae=typeof Array.from=="function"&&typeof window.fetch=="function"?Ju(document):Promise.resolve(!1);return Object.defineProperty(Vi,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ae}),Ae},get SUPPORT_CORS_IMAGES(){var Ae=su();return Object.defineProperty(Vi,"SUPPORT_CORS_IMAGES",{value:Ae}),Ae},get SUPPORT_RESPONSE_TYPE(){var Ae=lu();return Object.defineProperty(Vi,"SUPPORT_RESPONSE_TYPE",{value:Ae}),Ae},get SUPPORT_CORS_XHR(){var Ae="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Vi,"SUPPORT_CORS_XHR",{value:Ae}),Ae},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ae=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Vi,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ae}),Ae}},ds=function(){function Ae(ie,fe){this.text=ie,this.bounds=fe}return Ae}(),sl=function(Ae,ie,fe,de){var Ge=Ts(ie,fe),ot=[],Lt=0;return Ge.forEach(function(Xt){if(fe.textDecorationLine.length||Xt.trim().length>0)if(Vi.SUPPORT_RANGE_BOUNDS){var Jt=bo(de,Lt,Xt.length).getClientRects();if(Jt.length>1){var Nn=Zo(Xt),Rn=0;Nn.forEach(function(ue){ot.push(new ds(ue,Ze.fromDOMRectList(Ae,bo(de,Rn+Lt,ue.length).getClientRects()))),Rn+=ue.length})}else ot.push(new ds(Xt,Ze.fromDOMRectList(Ae,Jt)))}else{var ee=de.splitText(Xt.length);ot.push(new ds(Xt,qu(Ae,de))),de=ee}else Vi.SUPPORT_RANGE_BOUNDS||(de=de.splitText(Xt.length));Lt+=Xt.length}),ot},qu=function(Ae,ie){var fe=ie.ownerDocument;if(fe){var de=fe.createElement("html2canvaswrapper");de.appendChild(ie.cloneNode(!0));var Ge=ie.parentNode;if(Ge){Ge.replaceChild(de,ie);var ot=je(Ae,de);return de.firstChild&&Ge.replaceChild(de.firstChild,de),ot}}return Ze.EMPTY},bo=function(Ae,ie,fe){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+fe),Ge},Zo=function(Ae){if(Vi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ie=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ie.segment(Ae)).map(function(fe){return fe.segment})}return Zl(Ae)},OA=function(Ae,ie){if(Vi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var fe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(fe.segment(Ae)).map(function(de){return de.segment})}return uu(Ae,ie)},Ts=function(Ae,ie){return ie.letterSpacing!==0?Zo(Ae):OA(Ae,ie)},ks=[32,160,4961,65792,65793,4153,4241],uu=function(Ae,ie){for(var fe=ga(Ae,{lineBreak:ie.lineBreak,wordBreak:ie.overflowWrap==="break-word"?"break-word":ie.wordBreak}),de=[],Ge,ot=function(){if(Ge.value){var Lt=Ge.value.slice(),Xt=ve(Lt),Jt="";Xt.forEach(function(Nn){ks.indexOf(Nn)===-1?Jt+=Ie(Nn):(Jt.length&&de.push(Jt),de.push(Ie(Nn)),Jt="")}),Jt.length&&de.push(Jt)}};!(Ge=fe.next()).done;)ot();return de},Xl=function(){function Ae(ie,fe,de){this.text=Es(fe.data,de.textTransform),this.textBounds=sl(ie,this.text,de,fe)}return Ae}(),Es=function(Ae,ie){switch(ie){case 1:return Ae.toLowerCase();case 3:return Ae.replace(js,cu);case 2:return Ae.toUpperCase();default:return Ae}},js=/(^|\s|:|-|\(|\))([a-z])/g,cu=function(Ae,ie,fe){return Ae.length>0?ie+fe.toUpperCase():Ae},Ul=function(Ae){Be(ie,Ae);function ie(fe,de){var Ge=Ae.call(this,fe,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}(eo),Ys=function(Ae){Be(ie,Ae);function ie(fe,de){var Ge=Ae.call(this,fe,de)||this;return Ge.canvas=de,Ge.intrinsicWidth=de.width,Ge.intrinsicHeight=de.height,Ge}return ie}(eo),Lu=function(Ae){Be(ie,Ae);function ie(fe,de){var Ge=Ae.call(this,fe,de)||this,ot=new XMLSerializer,Lt=je(fe,de);return de.setAttribute("width",Lt.width+"px"),de.setAttribute("height",Lt.height+"px"),Ge.svg="data:image/svg+xml,"+encodeURIComponent(ot.serializeToString(de)),Ge.intrinsicWidth=de.width.baseVal.value,Ge.intrinsicHeight=de.height.baseVal.value,Ge.context.cache.addImage(Ge.svg),Ge}return ie}(eo),Jl=function(Ae){Be(ie,Ae);function ie(fe,de){var Ge=Ae.call(this,fe,de)||this;return Ge.value=de.value,Ge}return ie}(eo),$u=function(Ae){Be(ie,Ae);function ie(fe,de){var Ge=Ae.call(this,fe,de)||this;return Ge.start=de.start,Ge.reversed=typeof de.reversed=="boolean"&&de.reversed===!0,Ge}return ie}(eo),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)fe.textNodes.push(new Xl(Ae,Ge,fe.styles));else if(Zn(Ge))if(Qu(Ge)&&Ge.assignedNodes)Ge.assignedNodes().forEach(function(Xt){return ll(Ae,Xt,fe,de)});else{var Lt=Uu(Ae,Ge);Lt.styles.isVisible()&&(St(Ge,Lt,de)?Lt.flags|=4:cn(Lt.styles)&&(Lt.flags|=2),rc.indexOf(Ge.tagName)!==-1&&(Lt.flags|=8),fe.elements.push(Lt),Ge.slot,Ge.shadowRoot?ll(Ae,Ge.shadowRoot,Lt,de):!Rs(Ge)&&!$o(Ge)&&!fu(Ge)&&ll(Ae,Ge,Lt,de))}},Uu=function(Ae,ie){return zA(ie)?new Ul(Ae,ie):iA(ie)?new Ys(Ae,ie):$o(ie)?new Lu(Ae,ie):wa(ie)?new Jl(Ae,ie):qa(ie)?new $u(Ae,ie):xo(ie)?new Du(Ae,ie):fu(ie)?new dc(Ae,ie):Rs(ie)?new gu(Ae,ie):TA(ie)?new ql(Ae,ie):new eo(Ae,ie)},xe=function(Ae,ie){var fe=Uu(Ae,ie);return fe.flags|=4,ll(Ae,ie,fe,fe),fe},St=function(Ae,ie,fe){return ie.styles.isPositionedWithZIndex()||ie.styles.opacity<1||ie.styles.isTransformed()||Ki(Ae)&&fe.styles.isTransparent()},cn=function(Ae){return Ae.isPositioned()||Ae.isFloating()},Ln=function(Ae){return Ae.nodeType===Node.TEXT_NODE},Zn=function(Ae){return Ae.nodeType===Node.ELEMENT_NODE},fr=function(Ae){return Zn(Ae)&&typeof Ae.style!="undefined"&&!Tr(Ae)},Tr=function(Ae){return typeof Ae.className=="object"},wa=function(Ae){return Ae.tagName==="LI"},qa=function(Ae){return Ae.tagName==="OL"},xo=function(Ae){return Ae.tagName==="INPUT"},Eo=function(Ae){return Ae.tagName==="HTML"},$o=function(Ae){return Ae.tagName==="svg"},Ki=function(Ae){return Ae.tagName==="BODY"},iA=function(Ae){return Ae.tagName==="CANVAS"},SA=function(Ae){return Ae.tagName==="VIDEO"},zA=function(Ae){return Ae.tagName==="IMG"},TA=function(Ae){return Ae.tagName==="IFRAME"},Xs=function(Ae){return Ae.tagName==="STYLE"},Hs=function(Ae){return Ae.tagName==="SCRIPT"},Rs=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 fe=this.counters[ie];return fe&&fe.length?fe[fe.length-1]:1},Ae.prototype.getCounterValues=function(ie){var fe=this.counters[ie];return fe||[]},Ae.prototype.pop=function(ie){var fe=this;ie.forEach(function(de){return fe.counters[de].pop()})},Ae.prototype.parse=function(ie){var fe=this,de=ie.counterIncrement,Ge=ie.counterReset,ot=!0;de!==null&&de.forEach(function(Xt){var Jt=fe.counters[Xt.counter];Jt&&Xt.increment!==0&&(ot=!1,Jt.length||Jt.push(1),Jt[Math.max(0,Jt.length-1)]+=Xt.increment)});var Lt=[];return ot&&Ge.forEach(function(Xt){var Jt=fe.counters[Xt.counter];Lt.push(Xt.counter),Jt||(Jt=fe.counters[Xt.counter]=[]),Jt.push(Xt.reset)}),Lt},Ae}(),ku={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ju={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Hu={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},YA={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"]},ul=function(Ae,ie,fe,de,Ge,ot){return Aefe?dl(Ae,Ge,ot.length>0):de.integers.reduce(function(Lt,Xt,Jt){for(;Ae>=Xt;)Ae-=Xt,Lt+=de.values[Jt];return Lt},"")+ot},hu=function(Ae,ie,fe,de){var Ge="";do fe||Ae--,Ge=de(Ae)+Ge,Ae/=ie;while(Ae*ie>=ie);return Ge},Ti=function(Ae,ie,fe,de,Ge){var ot=fe-ie+1;return(Ae<0?"-":"")+(hu(Math.abs(Ae),ot,de,function(Lt){return Ie(Math.floor(Lt%ot)+ie)})+Ge)},cl=function(Ae,ie,fe){fe===void 0&&(fe=". ");var de=ie.length;return hu(Math.abs(Ae),de,!1,function(Ge){return ie[Math.floor(Ge%de)]})+fe},kA=1,Sl=2,Js=4,$l=8,LA=function(Ae,ie,fe,de,Ge,ot){if(Ae<-9999||Ae>9999)return dl(Ae,4,Ge.length>0);var Lt=Math.abs(Ae),Xt=Ge;if(Lt===0)return ie[0]+Xt;for(var Jt=0;Lt>0&&Jt<=4;Jt++){var Nn=Lt%10;Nn===0&&Hr(ot,kA)&&Xt!==""?Xt=ie[Nn]+Xt:Nn>1||Nn===1&&Jt===0||Nn===1&&Jt===1&&Hr(ot,Sl)||Nn===1&&Jt===1&&Hr(ot,Js)&&Ae>100||Nn===1&&Jt>1&&Hr(ot,$l)?Xt=ie[Nn]+(Jt>0?fe[Jt-1]:"")+Xt:Nn===1&&Jt>0&&(Xt=fe[Jt-1]+Xt),Lt=Math.floor(Lt/10)}return(Ae<0?de:"")+Xt},mu="\u5341\u767E\u5343\u842C",ac="\u62FE\u4F70\u4EDF\u842C",oc="\u30DE\u30A4\u30CA\u30B9",yl="\uB9C8\uC774\uB108\uC2A4",dl=function(Ae,ie,fe){var de=fe?". ":"",Ge=fe?"\u3001":"",ot=fe?", ":"",Lt=fe?" ":"";switch(ie){case 0:return"\u2022"+Lt;case 1:return"\u25E6"+Lt;case 2:return"\u25FE"+Lt;case 5:var Xt=Ti(Ae,48,57,!0,de);return Xt.length<4?"0"+Xt:Xt;case 4:return cl(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ge);case 6:return ul(Ae,1,3999,ku,3,de).toLowerCase();case 7:return ul(Ae,1,3999,ku,3,de);case 8:return Ti(Ae,945,969,!1,de);case 9:return Ti(Ae,97,122,!1,de);case 10:return Ti(Ae,65,90,!1,de);case 11:return Ti(Ae,1632,1641,!0,de);case 12:case 49:return ul(Ae,1,9999,ju,3,de);case 35:return ul(Ae,1,9999,ju,3,de).toLowerCase();case 13:return Ti(Ae,2534,2543,!0,de);case 14:case 30:return Ti(Ae,6112,6121,!0,de);case 15:return cl(Ae,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ge);case 16:return cl(Ae,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ge);case 17:case 48:return LA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",mu,"\u8CA0",Ge,Sl|Js|$l);case 47:return LA(Ae,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ac,"\u8CA0",Ge,kA|Sl|Js|$l);case 42:return LA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",mu,"\u8D1F",Ge,Sl|Js|$l);case 41:return LA(Ae,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ac,"\u8D1F",Ge,kA|Sl|Js|$l);case 26:return LA(Ae,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",oc,Ge,0);case 25:return LA(Ae,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",oc,Ge,kA|Sl|Js);case 31:return LA(Ae,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",yl,ot,kA|Sl|Js);case 33:return LA(Ae,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",yl,ot,0);case 32:return LA(Ae,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",yl,ot,kA|Sl|Js);case 18:return Ti(Ae,2406,2415,!0,de);case 20:return ul(Ae,1,19999,YA,3,de);case 21:return Ti(Ae,2790,2799,!0,de);case 22:return Ti(Ae,2662,2671,!0,de);case 22:return ul(Ae,1,10999,Hu,3,de);case 23:return cl(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 cl(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 Ti(Ae,3302,3311,!0,de);case 28:return cl(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 cl(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 Ti(Ae,3792,3801,!0,de);case 37:return Ti(Ae,6160,6169,!0,de);case 38:return Ti(Ae,4160,4169,!0,de);case 39:return Ti(Ae,2918,2927,!0,de);case 40:return Ti(Ae,1776,1785,!0,de);case 43:return Ti(Ae,3046,3055,!0,de);case 44:return Ti(Ae,3174,3183,!0,de);case 45:return Ti(Ae,3664,3673,!0,de);case 46:return Ti(Ae,3872,3881,!0,de);case 3:default:return Ti(Ae,48,57,!0,de)}},gs="data-html2canvas-ignore",is=function(){function Ae(ie,fe,de){if(this.context=ie,this.options=de,this.scrolledElements=[],this.referenceElement=fe,this.counters=new Tu,this.quoteDepth=0,!fe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(fe.ownerDocument.documentElement,!1)}return Ae.prototype.toIFrame=function(ie,fe){var de=this,Ge=Ol(ie,fe);if(!Ge.contentWindow)return Promise.reject("Unable to find iframe window");var ot=ie.defaultView.pageXOffset,Lt=ie.defaultView.pageYOffset,Xt=Ge.contentWindow,Jt=Xt.document,Nn=kl(Ge).then(function(){return we(de,void 0,void 0,function(){var Rn,ee;return Ke(this,function(ue){switch(ue.label){case 0:return this.scrolledElements.forEach(Mu),Xt&&(Xt.scrollTo(fe.left,fe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Xt.scrollY!==fe.top||Xt.scrollX!==fe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Xt.scrollX-fe.left,Xt.scrollY-fe.top,0,0))),Rn=this.options.onclone,ee=this.clonedReferenceElement,typeof ee=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Jt.fonts&&Jt.fonts.ready?[4,Jt.fonts.ready]:[3,2];case 1:ue.sent(),ue.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ru(Jt)]:[3,4];case 3:ue.sent(),ue.label=4;case 4:return typeof Rn=="function"?[2,Promise.resolve().then(function(){return Rn(Jt,ee)}).then(function(){return Ge})]:[2,Ge]}})})});return Jt.open(),Jt.write(fs(document.doctype)+""),$s(this.referenceElement.ownerDocument,ot,Lt),Jt.replaceChild(Jt.adoptNode(this.documentElement),Jt.documentElement),Jt.close(),Nn},Ae.prototype.createElementClone=function(ie){if(yo(ie,2))debugger;if(iA(ie))return this.createCanvasClone(ie);if(SA(ie))return this.createVideoClone(ie);if(Xs(ie))return this.createStyleClone(ie);var fe=ie.cloneNode(!1);return zA(fe)&&(zA(ie)&&ie.currentSrc&&ie.currentSrc!==ie.src&&(fe.src=ie.currentSrc,fe.srcset=""),fe.loading==="lazy"&&(fe.loading="eager")),Ou(fe)?this.createCustomElementClone(fe):fe},Ae.prototype.createCustomElementClone=function(ie){var fe=document.createElement("html2canvascustomelement");return pu(ie.style,fe),fe},Ae.prototype.createStyleClone=function(ie){try{var fe=ie.sheet;if(fe&&fe.cssRules){var de=[].slice.call(fe.cssRules,0).reduce(function(ot,Lt){return Lt&&typeof Lt.cssText=="string"?ot+Lt.cssText:ot},""),Ge=ie.cloneNode(!1);return Ge.textContent=de,Ge}}catch(ot){if(this.context.logger.error("Unable to access cssRules property",ot),ot.name!=="SecurityError")throw ot}return ie.cloneNode(!1)},Ae.prototype.createCanvasClone=function(ie){var fe;if(this.options.inlineImages&&ie.ownerDocument){var de=ie.ownerDocument.createElement("img");try{return de.src=ie.toDataURL(),de}catch(Nn){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 ot=ie.getContext("2d"),Lt=Ge.getContext("2d");if(Lt)if(!this.options.allowTaint&&ot)Lt.putImageData(ot.getImageData(0,0,ie.width,ie.height),0,0);else{var Xt=(fe=ie.getContext("webgl2"))!==null&&fe!==void 0?fe:ie.getContext("webgl");if(Xt){var Jt=Xt.getContextAttributes();(Jt==null?void 0:Jt.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(Nn){this.context.logger.info("Unable to clone canvas as it is tainted",ie)}return Ge},Ae.prototype.createVideoClone=function(ie){var fe=ie.ownerDocument.createElement("canvas");fe.width=ie.offsetWidth,fe.height=ie.offsetHeight;var de=fe.getContext("2d");try{return de&&(de.drawImage(ie,0,0,fe.width,fe.height),this.options.allowTaint||de.getImageData(0,0,fe.width,fe.height)),fe}catch(ot){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,fe,de){(!Zn(fe)||!Hs(fe)&&!fe.hasAttribute(gs)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(fe)))&&(!this.options.copyStyles||!Zn(fe)||!Xs(fe))&&ie.appendChild(this.cloneNode(fe,de))},Ae.prototype.cloneChildNodes=function(ie,fe,de){for(var Ge=this,ot=ie.shadowRoot?ie.shadowRoot.firstChild:ie.firstChild;ot;ot=ot.nextSibling)if(Zn(ot)&&Qu(ot)&&typeof ot.assignedNodes=="function"){var Lt=ot.assignedNodes();Lt.length&&Lt.forEach(function(Xt){return Ge.appendChildNode(fe,Xt,de)})}else this.appendChildNode(fe,ot,de)},Ae.prototype.cloneNode=function(ie,fe){if(Ln(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var de=ie.ownerDocument.defaultView;if(de&&Zn(ie)&&(fr(ie)||Tr(ie))){var Ge=this.createElementClone(ie);Ge.style.transitionProperty="none";var ot=de.getComputedStyle(ie),Lt=de.getComputedStyle(ie,":before"),Xt=de.getComputedStyle(ie,":after");this.referenceElement===ie&&fr(Ge)&&(this.clonedReferenceElement=Ge),Ki(Ge)&&vu(Ge);var Jt=this.counters.parse(new Ei(this.context,ot)),Nn=this.resolvePseudoContent(ie,Ge,Lt,qs.BEFORE);Ou(ie)&&(fe=!0),SA(ie)||this.cloneChildNodes(ie,Ge,fe),Nn&&Ge.insertBefore(Nn,Ge.firstChild);var Rn=this.resolvePseudoContent(ie,Ge,Xt,qs.AFTER);return Rn&&Ge.appendChild(Rn),this.counters.pop(Jt),(ot&&(this.options.copyStyles||Tr(ie))&&!TA(ie)||fe)&&pu(ot,Ge),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([Ge,ie.scrollLeft,ie.scrollTop]),(Rs(ie)||fu(ie))&&(Rs(Ge)||fu(Ge))&&(Ge.value=ie.value),Ge}return ie.cloneNode(!1)},Ae.prototype.resolvePseudoContent=function(ie,fe,de,Ge){var ot=this;if(de){var Lt=de.content,Xt=fe.ownerDocument;if(!(!Xt||!Lt||Lt==="none"||Lt==="-moz-alt-content"||de.display==="none")){this.counters.parse(new Ei(this.context,de));var Jt=new ri(this.context,de),Nn=Xt.createElement("html2canvaspseudoelement");pu(de,Nn),Jt.content.forEach(function(ee){if(ee.type===0)Nn.appendChild(Xt.createTextNode(ee.value));else if(ee.type===22){var ue=Xt.createElement("img");ue.src=ee.value,ue.style.opacity="1",Nn.appendChild(ue)}else if(ee.type===18){if(ee.name==="attr"){var Le=ee.values.filter(xa);Le.length&&Nn.appendChild(Xt.createTextNode(ie.getAttribute(Le[0].value)||""))}else if(ee.name==="counter"){var Ve=ee.values.filter(mi),it=Ve[0],Bt=Ve[1];if(it&&xa(it)){var ft=ot.counters.getCounterValue(it.value),yt=Bt&&xa(Bt)?ct.parse(ot.context,Bt.value):3;Nn.appendChild(Xt.createTextNode(dl(ft,yt,!1)))}}else if(ee.name==="counters"){var Dt=ee.values.filter(mi),it=Dt[0],zt=Dt[1],Bt=Dt[2];if(it&&xa(it)){var fn=ot.counters.getCounterValues(it.value),vn=Bt&&xa(Bt)?ct.parse(ot.context,Bt.value):3,kn=zt&&zt.type===0?zt.value:"",bn=fn.map(function(En){return dl(En,vn,!1)}).join(kn);Nn.appendChild(Xt.createTextNode(bn))}}}else if(ee.type===20)switch(ee.value){case"open-quote":Nn.appendChild(Xt.createTextNode(Ra(Jt.quotes,ot.quoteDepth++,!0)));break;case"close-quote":Nn.appendChild(Xt.createTextNode(Ra(Jt.quotes,--ot.quoteDepth,!1)));break;default:Nn.appendChild(Xt.createTextNode(ee.value))}}),Nn.className=jl+" "+Hl;var Rn=Ge===qs.BEFORE?" "+jl:" "+Hl;return Tr(fe)?fe.className.baseValue+=Rn:fe.className+=Rn,Nn}}},Ae.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},Ae}(),qs;(function(Ae){Ae[Ae.BEFORE=0]="BEFORE",Ae[Ae.AFTER=1]="AFTER"})(qs||(qs={}));var Ol=function(Ae,ie){var fe=Ae.createElement("iframe");return fe.className="html2canvas-container",fe.style.visibility="hidden",fe.style.position="fixed",fe.style.left="-10000px",fe.style.top="0px",fe.style.border="0",fe.width=ie.width.toString(),fe.height=ie.height.toString(),fe.scrolling="no",fe.setAttribute(gs,"true"),Ae.body.appendChild(fe),fe},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))},kl=function(Ae){return new Promise(function(ie,fe){var de=Ae.contentWindow;if(!de)return fe("No window assigned for iframe");var Ge=de.document;de.onload=Ae.onload=function(){de.onload=Ae.onload=null;var ot=setInterval(function(){Ge.body.childNodes.length>0&&Ge.readyState==="complete"&&(clearInterval(ot),ie(Ae))},50)}})},yA=["all","d","content"],pu=function(Ae,ie){for(var fe=Ae.length-1;fe>=0;fe--){var de=Ae.item(fe);yA.indexOf(de)===-1&&ie.style.setProperty(de,Ae.getPropertyValue(de))}return ie},fs=function(Ae){var ie="";return Ae&&(ie+=""),ie},$s=function(Ae,ie,fe){Ae&&Ae.defaultView&&(ie!==Ae.defaultView.pageXOffset||fe!==Ae.defaultView.pageYOffset)&&Ae.defaultView.scrollTo(ie,fe)},Mu=function(Ae){var ie=Ae[0],fe=Ae[1],de=Ae[2];ie.scrollLeft=fe,ie.scrollTop=de},gc=":before",ic=":after",jl="___html2canvas___pseudoelement_before",Hl="___html2canvas___pseudoelement_after",Rl=`{ content: "" !important; display: none !important; }`,vu=function(Ae){Ku(Ae,"."+jl+gc+Rl+` .`+Hl+ic+Rl)},Ku=function(Ae,ie){var fe=Ae.ownerDocument;if(fe){var de=fe.createElement("style");de.textContent=ie,Ae.appendChild(de)}},eu=function(){function Ae(){}return Ae.getOrigin=function(ie){var fe=Ae._link;return fe?(fe.href=ie,fe.href=fe.href,fe.protocol+fe.hostname+fe.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,fe){this.context=ie,this._options=fe,this._cache={}}return Ae.prototype.addImage=function(ie){var fe=Promise.resolve();return this.has(ie)||(CA(ie)||ki(ie))&&(this._cache[ie]=this.loadImage(ie)).catch(function(){}),fe},Ae.prototype.match=function(ie){return this._cache[ie]},Ae.prototype.loadImage=function(ie){return we(this,void 0,void 0,function(){var fe,de,Ge,ot,Lt=this;return Ke(this,function(Xt){switch(Xt.label){case 0:return fe=eu.isSameOrigin(ie),de=!Fi(ie)&&this._options.useCORS===!0&&Vi.SUPPORT_CORS_IMAGES&&!fe,Ge=!Fi(ie)&&!fe&&!CA(ie)&&typeof this._options.proxy=="string"&&Vi.SUPPORT_CORS_XHR&&!de,!fe&&this._options.allowTaint===!1&&!Fi(ie)&&!CA(ie)&&!Ge&&!de?[2]:(ot=ie,Ge?[4,this.proxy(ot)]:[3,2]);case 1:ot=Xt.sent(),Xt.label=2;case 2:return this.context.logger.debug("Added image "+ie.substring(0,256)),[4,new Promise(function(Jt,Nn){var Rn=new Image;Rn.onload=function(){return Jt(Rn)},Rn.onerror=Nn,(wA(ot)||de)&&(Rn.crossOrigin="anonymous"),Rn.src=ot,Rn.complete===!0&&setTimeout(function(){return Jt(Rn)},500),Lt._options.imageTimeout>0&&setTimeout(function(){return Nn("Timed out ("+Lt._options.imageTimeout+"ms) loading image")},Lt._options.imageTimeout)})];case 3:return[2,Xt.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 fe=this,de=this._options.proxy;if(!de)throw new Error("No proxy defined");var Ge=ie.substring(0,256);return new Promise(function(ot,Lt){var Xt=Vi.SUPPORT_RESPONSE_TYPE?"blob":"text",Jt=new XMLHttpRequest;Jt.onload=function(){if(Jt.status===200)if(Xt==="text")ot(Jt.response);else{var ee=new FileReader;ee.addEventListener("load",function(){return ot(ee.result)},!1),ee.addEventListener("error",function(ue){return Lt(ue)},!1),ee.readAsDataURL(Jt.response)}else Lt("Failed to proxy resource "+Ge+" with status code "+Jt.status)},Jt.onerror=Lt;var Nn=de.indexOf("?")>-1?"&":"?";if(Jt.open("GET",""+de+Nn+"url="+encodeURIComponent(ie)+"&responseType="+Xt),Xt!=="text"&&Jt instanceof XMLHttpRequest&&(Jt.responseType=Xt),fe._options.imageTimeout){var Rn=fe._options.imageTimeout;Jt.timeout=Rn,Jt.ontimeout=function(){return Lt("Timed out ("+Rn+"ms) proxying "+Ge)}}Jt.send()})},Ae}(),Ac=/^data:image\/svg\+xml/i,el=/^data:image\/.*;base64,/i,tl=/^data:image\/.*/i,ki=function(Ae){return Vi.SUPPORT_SVG_DRAWING||!Ml(Ae)},Fi=function(Ae){return tl.test(Ae)},wA=function(Ae){return el.test(Ae)},CA=function(Ae){return Ae.substr(0,4)==="blob"},Ml=function(Ae){return Ae.substr(-3).toLowerCase()==="svg"||Ac.test(Ae)},ha=function(){function Ae(ie,fe){this.type=0,this.x=ie,this.y=fe}return Ae.prototype.add=function(ie,fe){return new Ae(this.x+ie,this.y+fe)},Ae}(),gl=function(Ae,ie,fe){return new ha(Ae.x+(ie.x-Ae.x)*fe,Ae.y+(ie.y-Ae.y)*fe)},Bu=function(){function Ae(ie,fe,de,Ge){this.type=1,this.start=ie,this.startControl=fe,this.endControl=de,this.end=Ge}return Ae.prototype.subdivide=function(ie,fe){var de=gl(this.start,this.startControl,ie),Ge=gl(this.startControl,this.endControl,ie),ot=gl(this.endControl,this.end,ie),Lt=gl(de,Ge,ie),Xt=gl(Ge,ot,ie),Jt=gl(Lt,Xt,ie);return fe?new Ae(this.start,de,Lt,Jt):new Ae(Jt,Xt,ot,this.end)},Ae.prototype.add=function(ie,fe){return new Ae(this.start.add(ie,fe),this.startControl.add(ie,fe),this.endControl.add(ie,fe),this.end.add(ie,fe))},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 fe=ie.styles,de=ie.bounds,Ge=ji(fe.borderTopLeftRadius,de.width,de.height),ot=Ge[0],Lt=Ge[1],Xt=ji(fe.borderTopRightRadius,de.width,de.height),Jt=Xt[0],Nn=Xt[1],Rn=ji(fe.borderBottomRightRadius,de.width,de.height),ee=Rn[0],ue=Rn[1],Le=ji(fe.borderBottomLeftRadius,de.width,de.height),Ve=Le[0],it=Le[1],Bt=[];Bt.push((ot+Jt)/de.width),Bt.push((Ve+ee)/de.width),Bt.push((Lt+it)/de.height),Bt.push((Nn+ue)/de.height);var ft=Math.max.apply(Math,Bt);ft>1&&(ot/=ft,Lt/=ft,Jt/=ft,Nn/=ft,ee/=ft,ue/=ft,Ve/=ft,it/=ft);var yt=de.width-Jt,Dt=de.height-ue,zt=de.width-ee,fn=de.height-it,vn=fe.borderTopWidth,kn=fe.borderRightWidth,bn=fe.borderBottomWidth,er=fe.borderLeftWidth,or=So(fe.paddingTop,ie.bounds.width),En=So(fe.paddingRight,ie.bounds.width),Dn=So(fe.paddingBottom,ie.bounds.width),sr=So(fe.paddingLeft,ie.bounds.width);this.topLeftBorderDoubleOuterBox=ot>0||Lt>0?ei(de.left+er/3,de.top+vn/3,ot-er/3,Lt-vn/3,Lo.TOP_LEFT):new ha(de.left+er/3,de.top+vn/3),this.topRightBorderDoubleOuterBox=ot>0||Lt>0?ei(de.left+yt,de.top+vn/3,Jt-kn/3,Nn-vn/3,Lo.TOP_RIGHT):new ha(de.left+de.width-kn/3,de.top+vn/3),this.bottomRightBorderDoubleOuterBox=ee>0||ue>0?ei(de.left+zt,de.top+Dt,ee-kn/3,ue-bn/3,Lo.BOTTOM_RIGHT):new ha(de.left+de.width-kn/3,de.top+de.height-bn/3),this.bottomLeftBorderDoubleOuterBox=Ve>0||it>0?ei(de.left+er/3,de.top+fn,Ve-er/3,it-bn/3,Lo.BOTTOM_LEFT):new ha(de.left+er/3,de.top+de.height-bn/3),this.topLeftBorderDoubleInnerBox=ot>0||Lt>0?ei(de.left+er*2/3,de.top+vn*2/3,ot-er*2/3,Lt-vn*2/3,Lo.TOP_LEFT):new ha(de.left+er*2/3,de.top+vn*2/3),this.topRightBorderDoubleInnerBox=ot>0||Lt>0?ei(de.left+yt,de.top+vn*2/3,Jt-kn*2/3,Nn-vn*2/3,Lo.TOP_RIGHT):new ha(de.left+de.width-kn*2/3,de.top+vn*2/3),this.bottomRightBorderDoubleInnerBox=ee>0||ue>0?ei(de.left+zt,de.top+Dt,ee-kn*2/3,ue-bn*2/3,Lo.BOTTOM_RIGHT):new ha(de.left+de.width-kn*2/3,de.top+de.height-bn*2/3),this.bottomLeftBorderDoubleInnerBox=Ve>0||it>0?ei(de.left+er*2/3,de.top+fn,Ve-er*2/3,it-bn*2/3,Lo.BOTTOM_LEFT):new ha(de.left+er*2/3,de.top+de.height-bn*2/3),this.topLeftBorderStroke=ot>0||Lt>0?ei(de.left+er/2,de.top+vn/2,ot-er/2,Lt-vn/2,Lo.TOP_LEFT):new ha(de.left+er/2,de.top+vn/2),this.topRightBorderStroke=ot>0||Lt>0?ei(de.left+yt,de.top+vn/2,Jt-kn/2,Nn-vn/2,Lo.TOP_RIGHT):new ha(de.left+de.width-kn/2,de.top+vn/2),this.bottomRightBorderStroke=ee>0||ue>0?ei(de.left+zt,de.top+Dt,ee-kn/2,ue-bn/2,Lo.BOTTOM_RIGHT):new ha(de.left+de.width-kn/2,de.top+de.height-bn/2),this.bottomLeftBorderStroke=Ve>0||it>0?ei(de.left+er/2,de.top+fn,Ve-er/2,it-bn/2,Lo.BOTTOM_LEFT):new ha(de.left+er/2,de.top+de.height-bn/2),this.topLeftBorderBox=ot>0||Lt>0?ei(de.left,de.top,ot,Lt,Lo.TOP_LEFT):new ha(de.left,de.top),this.topRightBorderBox=Jt>0||Nn>0?ei(de.left+yt,de.top,Jt,Nn,Lo.TOP_RIGHT):new ha(de.left+de.width,de.top),this.bottomRightBorderBox=ee>0||ue>0?ei(de.left+zt,de.top+Dt,ee,ue,Lo.BOTTOM_RIGHT):new ha(de.left+de.width,de.top+de.height),this.bottomLeftBorderBox=Ve>0||it>0?ei(de.left,de.top+fn,Ve,it,Lo.BOTTOM_LEFT):new ha(de.left,de.top+de.height),this.topLeftPaddingBox=ot>0||Lt>0?ei(de.left+er,de.top+vn,Math.max(0,ot-er),Math.max(0,Lt-vn),Lo.TOP_LEFT):new ha(de.left+er,de.top+vn),this.topRightPaddingBox=Jt>0||Nn>0?ei(de.left+Math.min(yt,de.width-kn),de.top+vn,yt>de.width+kn?0:Math.max(0,Jt-kn),Math.max(0,Nn-vn),Lo.TOP_RIGHT):new ha(de.left+de.width-kn,de.top+vn),this.bottomRightPaddingBox=ee>0||ue>0?ei(de.left+Math.min(zt,de.width-er),de.top+Math.min(Dt,de.height-bn),Math.max(0,ee-kn),Math.max(0,ue-bn),Lo.BOTTOM_RIGHT):new ha(de.left+de.width-kn,de.top+de.height-bn),this.bottomLeftPaddingBox=Ve>0||it>0?ei(de.left+er,de.top+Math.min(fn,de.height-bn),Math.max(0,Ve-er),Math.max(0,it-bn),Lo.BOTTOM_LEFT):new ha(de.left+er,de.top+de.height-bn),this.topLeftContentBox=ot>0||Lt>0?ei(de.left+er+sr,de.top+vn+or,Math.max(0,ot-(er+sr)),Math.max(0,Lt-(vn+or)),Lo.TOP_LEFT):new ha(de.left+er+sr,de.top+vn+or),this.topRightContentBox=Jt>0||Nn>0?ei(de.left+Math.min(yt,de.width+er+sr),de.top+vn+or,yt>de.width+er+sr?0:Jt-er+sr,Nn-(vn+or),Lo.TOP_RIGHT):new ha(de.left+de.width-(kn+En),de.top+vn+or),this.bottomRightContentBox=ee>0||ue>0?ei(de.left+Math.min(zt,de.width-(er+sr)),de.top+Math.min(Dt,de.height+vn+or),Math.max(0,ee-(kn+En)),ue-(bn+Dn),Lo.BOTTOM_RIGHT):new ha(de.left+de.width-(kn+En),de.top+de.height-(bn+Dn)),this.bottomLeftContentBox=Ve>0||it>0?ei(de.left+er+sr,de.top+fn,Math.max(0,Ve-(er+sr)),it-(bn+Dn),Lo.BOTTOM_LEFT):new ha(de.left+er+sr,de.top+de.height-(bn+Dn))}return Ae}(),Lo;(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"})(Lo||(Lo={}));var ei=function(Ae,ie,fe,de,Ge){var ot=4*((Math.sqrt(2)-1)/3),Lt=fe*ot,Xt=de*ot,Jt=Ae+fe,Nn=ie+de;switch(Ge){case Lo.TOP_LEFT:return new Bu(new ha(Ae,Nn),new ha(Ae,Nn-Xt),new ha(Jt-Lt,ie),new ha(Jt,ie));case Lo.TOP_RIGHT:return new Bu(new ha(Ae,ie),new ha(Ae+Lt,ie),new ha(Jt,Nn-Xt),new ha(Jt,Nn));case Lo.BOTTOM_RIGHT:return new Bu(new ha(Jt,ie),new ha(Jt,ie+Xt),new ha(Ae+Lt,Nn),new ha(Ae,Nn));case Lo.BOTTOM_LEFT:default:return new Bu(new ha(Jt,Nn),new ha(Jt-Lt,Nn),new ha(Ae,ie+Xt),new ha(Ae,ie))}},Su=function(Ae){return[Ae.topLeftBorderBox,Ae.topRightBorderBox,Ae.bottomRightBorderBox,Ae.bottomLeftBorderBox]},hc=function(Ae){return[Ae.topLeftContentBox,Ae.topRightContentBox,Ae.bottomRightContentBox,Ae.bottomLeftContentBox]},sc=function(Ae){return[Ae.topLeftPaddingBox,Ae.topRightPaddingBox,Ae.bottomRightPaddingBox,Ae.bottomLeftPaddingBox]},mc=function(){function Ae(ie,fe,de){this.offsetX=ie,this.offsetY=fe,this.matrix=de,this.type=0,this.target=6}return Ae}(),yu=function(){function Ae(ie,fe){this.path=ie,this.target=fe,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(fe,de){return fe===ie[de]}):!1},Ic=function(Ae,ie,fe,de,Ge){return Ae.map(function(ot,Lt){switch(Lt){case 0:return ot.add(ie,fe);case 1:return ot.add(ie+de,fe);case 2:return ot.add(ie+de,fe+Ge);case 3:return ot.add(ie,fe+Ge)}return ot})},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,fe){if(this.container=ie,this.parent=fe,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,ot=this.container.styles.transform;this.effects.push(new mc(de,Ge,ot))}if(this.container.styles.overflowX!==0){var Lt=Su(this.curves),Xt=sc(this.curves);lc(Lt,Xt)?this.effects.push(new yu(Lt,6)):(this.effects.push(new yu(Lt,2)),this.effects.push(new yu(Xt,4)))}}return Ae.prototype.getEffects=function(ie){for(var fe=[2,3].indexOf(this.container.styles.position)===-1,de=this.parent,Ge=this.effects.slice(0);de;){var ot=de.effects.filter(function(Jt){return!pc(Jt)});if(fe||de.container.styles.position!==0||!de.parent){if(Ge.unshift.apply(Ge,ot),fe=[2,3].indexOf(de.container.styles.position)===-1,de.container.styles.overflowX!==0){var Lt=Su(de.curves),Xt=sc(de.curves);lc(Lt,Xt)||Ge.unshift(new yu(Xt,6))}}else Ge.unshift.apply(Ge,ot);de=de.parent}return Ge.filter(function(Jt){return Hr(Jt.target,ie)})},Ae}(),vc=function(Ae,ie,fe,de){Ae.container.elements.forEach(function(Ge){var ot=Hr(Ge.flags,4),Lt=Hr(Ge.flags,2),Xt=new Mc(Ge,Ae);Hr(Ge.styles.display,2048)&&de.push(Xt);var Jt=Hr(Ge.flags,8)?[]:de;if(ot||Lt){var Nn=ot||Ge.styles.isPositioned()?fe:ie,Rn=new Rc(Xt);if(Ge.styles.isPositioned()||Ge.styles.opacity<1||Ge.styles.isTransformed()){var ee=Ge.styles.zIndex.order;if(ee<0){var ue=0;Nn.negativeZIndex.some(function(Ve,it){return ee>Ve.element.container.styles.zIndex.order?(ue=it,!1):ue>0}),Nn.negativeZIndex.splice(ue,0,Rn)}else if(ee>0){var Le=0;Nn.positiveZIndex.some(function(Ve,it){return ee>=Ve.element.container.styles.zIndex.order?(Le=it+1,!1):Le>0}),Nn.positiveZIndex.splice(Le,0,Rn)}else Nn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Rn)}else Ge.styles.isFloating()?Nn.nonPositionedFloats.push(Rn):Nn.nonPositionedInlineLevel.push(Rn);vc(Xt,Rn,ot?Rn:fe,Jt)}else Ge.styles.isInlineLevel()?ie.inlineLevel.push(Xt):ie.nonInlineLevel.push(Xt),vc(Xt,ie,fe,Jt);Hr(Ge.flags,8)&&Kc(Ge,Jt)})},Kc=function(Ae,ie){for(var fe=Ae instanceof $u?Ae.start:1,de=Ae instanceof $u?Ae.reversed:!1,Ge=0;Ge0&&fe.intrinsicHeight>0){var ot=Bc(fe),Lt=sc(de);this.path(Lt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ge,0,0,fe.intrinsicWidth,fe.intrinsicHeight,ot.left,ot.top,ot.width,ot.height),this.ctx.restore()}},ie.prototype.renderNodeContent=function(fe){return we(this,void 0,void 0,function(){var de,Ge,ot,Lt,Xt,Jt,yt,yt,Nn,Rn,ee,ue,zt,Le,Ve,fn,it,Bt,ft,yt,Dt,zt,fn;return Ke(this,function(vn){switch(vn.label){case 0:this.applyEffects(fe.getEffects(4)),de=fe.container,Ge=fe.curves,ot=de.styles,Lt=0,Xt=de.textNodes,vn.label=1;case 1:return Lt0&&pr>0&&(bn=ot.ctx.createPattern(fn,"repeat"),ot.renderRepeat(or,bn,ua,$r))):Zi(Rn)&&(er=Dc(fe,de,[null,null,null]),or=er[0],En=er[1],Dn=er[2],sr=er[3],pr=er[4],vr=Rn.position.length===0?[di]:Rn.position,ua=So(vr[0],sr),$r=So(vr[vr.length-1],pr),Xa=Cr(Rn,ua,$r,sr,pr),ia=Xa[0],zo=Xa[1],ia>0&&zo>0&&(ti=ot.ctx.createRadialGradient(En+ua,Dn+$r,0,En+ua,Dn+$r,ia),Pl(Rn.stops,ia*2).forEach(function(Yi){return ti.addColorStop(Yi.stop,ni(Yi.color))}),ot.path(or),ot.ctx.fillStyle=ti,ia!==zo?(Ro=fe.bounds.left+.5*fe.bounds.width,Po=fe.bounds.top+.5*fe.bounds.height,Ai=zo/ia,Vo=1/Ai,ot.ctx.save(),ot.ctx.translate(Ro,Po),ot.ctx.transform(1,0,0,Ai,0,0),ot.ctx.translate(-Ro,-Po),ot.ctx.fillRect(En,Vo*(Dn-Po)+Po,sr,pr*Vo),ot.ctx.restore()):ot.ctx.fill())),mo.label=6;case 6:return de--,[2]}})},ot=this,Lt=0,Xt=fe.styles.backgroundImage.slice(0).reverse(),Nn.label=1;case 1:return Lt0?Rn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Rn.color,Rn.width,Xt,fe.curves,2)]:[3,11]):[3,13];case 4:return ue.sent(),[3,11];case 5:return Rn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Rn.color,Rn.width,Xt,fe.curves,3)];case 6:return ue.sent(),[3,11];case 7:return Rn.style!==4?[3,9]:[4,this.renderDoubleBorder(Rn.color,Rn.width,Xt,fe.curves)];case 8:return ue.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Rn.color,Xt,fe.curves)];case 10:ue.sent(),ue.label=11;case 11:Xt++,ue.label=12;case 12:return Jt++,[3,3];case 13:return[2]}})})},ie.prototype.renderDashedDottedBorder=function(fe,de,Ge,ot,Lt){return we(this,void 0,void 0,function(){var Xt,Jt,Nn,Rn,ee,ue,Le,Ve,it,Bt,ft,yt,Dt,zt,fn,vn,fn,vn;return Ke(this,function(kn){return this.ctx.save(),Xt=Nc(ot,Ge),Jt=zc(ot,Ge),Lt===2&&(this.path(Jt),this.ctx.clip()),Ps(Jt[0])?(Nn=Jt[0].start.x,Rn=Jt[0].start.y):(Nn=Jt[0].x,Rn=Jt[0].y),Ps(Jt[1])?(ee=Jt[1].end.x,ue=Jt[1].end.y):(ee=Jt[1].x,ue=Jt[1].y),Ge===0||Ge===2?Le=Math.abs(Nn-ee):Le=Math.abs(Rn-ue),this.ctx.beginPath(),Lt===3?this.formatPath(Xt):this.formatPath(Jt.slice(0,2)),Ve=de<3?de*3:de*2,it=de<3?de*2:de,Lt===3&&(Ve=de,it=de),Bt=!0,Le<=Ve*2?Bt=!1:Le<=Ve*2+it?(ft=Le/(2*Ve+it),Ve*=ft,it*=ft):(yt=Math.floor((Le+it)/(Ve+it)),Dt=(Le-yt*Ve)/(yt-1),zt=(Le-(yt+1)*Ve)/yt,it=zt<=0||Math.abs(it-Dt)It){var Ft=gt;gt=It,It=Ft}}else if(rt==="l"||rt==="landscape"){if(rt="l",It>gt){var Ft=gt;gt=It,It=Ft}}else throw"Invalid orientation: "+rt;var ht={width:gt,height:It,unit:Te,k:At};return ht},Ie.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(ve,Ie,se){"use strict";se.r(Ie);var Ue=se("./node_modules/core-js/modules/es.array.concat.js"),Pe=se.n(Ue),be=se("./node_modules/core-js/modules/es.array.slice.js"),oe=se.n(be),y=se("./node_modules/core-js/modules/es.array.join.js"),a=se.n(y),E=se("./node_modules/core-js/modules/web.dom-collections.for-each.js"),b=se.n(E),x=se("./node_modules/core-js/modules/es.object.keys.js"),z=se.n(x),ne=se("./src/worker.js"),ce=se("./src/utils.js"),Fe={toContainer:ne.default.prototype.toContainer};ne.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ne.default.prototype.toContainer=function(){return Fe.toContainer.call(this).then(function(){var We=this.prop.container,Ye=this.prop.pageSize.inner.px.height,rt=[].concat(this.opt.pagebreak.mode),Te={avoidAll:rt.indexOf("avoid-all")!==-1,css:rt.indexOf("css")!==-1,legacy:rt.indexOf("legacy")!==-1},Pt={},Oe=this;["before","after","avoid"].forEach(function(At){var It=Te.avoidAll&&At==="avoid";Pt[At]=It?[]:[].concat(Oe.opt.pagebreak[At]||[]),Pt[At].length>0&&(Pt[At]=Array.prototype.slice.call(We.querySelectorAll(Pt[At].join(", "))))});var Tt=We.querySelectorAll(".html2pdf__page-break");Tt=Array.prototype.slice.call(Tt);var st=We.querySelectorAll("*");Array.prototype.forEach.call(st,function(It){var gt={before:!1,after:Te.legacy&&Tt.indexOf(It)!==-1,avoid:Te.avoidAll};if(Te.css){var Ft=window.getComputedStyle(It),ht=["always","page","left","right"],tt=["avoid","avoid-page"];gt={before:gt.before||ht.indexOf(Ft.breakBefore||Ft.pageBreakBefore)!==-1,after:gt.after||ht.indexOf(Ft.breakAfter||Ft.pageBreakAfter)!==-1,avoid:gt.avoid||tt.indexOf(Ft.breakInside||Ft.pageBreakInside)!==-1}}Object.keys(gt).forEach(function(jn){gt[jn]=gt[jn]||Pt[jn].indexOf(It)!==-1});var en=It.getBoundingClientRect();if(gt.avoid&&!gt.before){var gn=Math.floor(en.top/Ye),Et=Math.floor(en.bottom/Ye),Zt=Math.abs(en.bottom-en.top)/Ye;Et!==gn&&Zt<=1&&(gt.before=!0)}if(gt.before){var Cn=(0,ce.createElement)("div",{style:{display:"block",height:Ye-en.top%Ye+"px"}});It.parentNode.insertBefore(Cn,It)}if(gt.after){var Cn=(0,ce.createElement)("div",{style:{display:"block",height:Ye-en.bottom%Ye+"px"}});It.parentNode.insertBefore(Cn,It.nextSibling)}})})}},"./src/utils.js":function(ve,Ie,se){"use strict";se.r(Ie),se.d(Ie,{objType:function(){return rt},createElement:function(){return Te},cloneNode:function(){return Pt},unitConvert:function(){return Oe},toPx:function(){return Tt}});var Ue=se("./node_modules/core-js/modules/es.number.constructor.js"),Pe=se.n(Ue),be=se("./node_modules/core-js/modules/es.symbol.js"),oe=se.n(be),y=se("./node_modules/core-js/modules/es.symbol.description.js"),a=se.n(y),E=se("./node_modules/core-js/modules/es.object.to-string.js"),b=se.n(E),x=se("./node_modules/core-js/modules/es.symbol.iterator.js"),z=se.n(x),ne=se("./node_modules/core-js/modules/es.array.iterator.js"),ce=se.n(ne),Fe=se("./node_modules/core-js/modules/es.string.iterator.js"),Ee=se.n(Fe),Qe=se("./node_modules/core-js/modules/web.dom-collections.iterator.js"),We=se.n(Qe);function Ye(st){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ye=function(It){return typeof It}:Ye=function(It){return It&&typeof Symbol=="function"&&It.constructor===Symbol&&It!==Symbol.prototype?"symbol":typeof It},Ye(st)}var rt=function(At){var It=Ye(At);return It==="undefined"?"undefined":It==="string"||At instanceof String?"string":It==="number"||At instanceof Number?"number":It==="function"||At instanceof Function?"function":At&&At.constructor===Array?"array":At&&At.nodeType===1?"element":It==="object"?"object":"unknown"},Te=function(At,It){var gt=document.createElement(At);if(It.className&&(gt.className=It.className),It.innerHTML){gt.innerHTML=It.innerHTML;for(var Ft=gt.getElementsByTagName("script"),ht=Ft.length;ht-- >0;null)Ft[ht].parentNode.removeChild(Ft[ht])}for(var tt in It.style)gt.style[tt]=It.style[tt];return gt},Pt=function st(At,It){for(var gt=At.nodeType===3?document.createTextNode(At.nodeValue):At.cloneNode(!1),Ft=At.firstChild;Ft;Ft=Ft.nextSibling)(It===!0||Ft.nodeType!==1||Ft.nodeName!=="SCRIPT")&>.appendChild(st(Ft,It));return At.nodeType===1&&(At.nodeName==="CANVAS"?(gt.width=At.width,gt.height=At.height,gt.getContext("2d").drawImage(At,0,0)):(At.nodeName==="TEXTAREA"||At.nodeName==="SELECT")&&(gt.value=At.value),gt.addEventListener("load",function(){gt.scrollTop=At.scrollTop,gt.scrollLeft=At.scrollLeft},!0)),gt},Oe=function(At,It){if(rt(At)==="number")return At*72/96/It;var gt={};for(var Ft in At)gt[Ft]=At[Ft]*72/96/It;return gt},Tt=function(At,It){return Math.floor(At*It/72*96)}},"./src/worker.js":function(ve,Ie,se){"use strict";se.r(Ie);var Ue=se("./node_modules/core-js/modules/es.object.assign.js"),Pe=se.n(Ue),be=se("./node_modules/core-js/modules/es.array.map.js"),oe=se.n(be),y=se("./node_modules/core-js/modules/es.object.keys.js"),a=se.n(y),E=se("./node_modules/core-js/modules/es.array.concat.js"),b=se.n(E),x=se("./node_modules/core-js/modules/es.object.to-string.js"),z=se.n(x),ne=se("./node_modules/core-js/modules/es.regexp.to-string.js"),ce=se.n(ne),Fe=se("./node_modules/core-js/modules/es.function.name.js"),Ee=se.n(Fe),Qe=se("./node_modules/core-js/modules/web.dom-collections.for-each.js"),We=se.n(Qe),Ye=se("jspdf"),rt=se.n(Ye),Te=se("html2canvas"),Pt=se.n(Te),Oe=se("./src/utils.js"),Tt=se("./node_modules/es6-promise/dist/es6-promise.js"),st=se.n(Tt),At=st().Promise,It=function gt(Ft){var ht=Object.assign(gt.convert(At.resolve()),JSON.parse(JSON.stringify(gt.template))),tt=gt.convert(At.resolve(),ht);return tt=tt.setProgress(1,gt,1,[gt]),tt=tt.set(Ft),tt};It.prototype=Object.create(At.prototype),It.prototype.constructor=It,It.convert=function(Ft,ht){return Ft.__proto__=ht||It.prototype,Ft},It.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:{}}},It.prototype.from=function(Ft,ht){function tt(en){switch((0,Oe.objType)(en)){case"string":return"string";case"element":return en.nodeName.toLowerCase&&en.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ht=ht||tt(Ft),ht){case"string":return this.set({src:(0,Oe.createElement)("div",{innerHTML:Ft})});case"element":return this.set({src:Ft});case"canvas":return this.set({canvas:Ft});case"img":return this.set({img:Ft});default:return this.error("Unknown source type.")}})},It.prototype.to=function(Ft){switch(Ft){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.")}},It.prototype.toContainer=function(){var Ft=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ft).then(function(){var tt={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},en={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};tt.opacity=0;var gn=(0,Oe.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Oe.createElement)("div",{className:"html2pdf__overlay",style:tt}),this.prop.container=(0,Oe.createElement)("div",{className:"html2pdf__container",style:en}),this.prop.container.appendChild(gn),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},It.prototype.toCanvas=function(){var Ft=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ft).then(function(){var tt=Object.assign({},this.opt.html2canvas);return delete tt.onrendered,Te(this.prop.container,tt)}).then(function(tt){var en=this.opt.html2canvas.onrendered||function(){};en(tt),this.prop.canvas=tt,document.body.removeChild(this.prop.overlay)})},It.prototype.toImg=function(){var Ft=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Ft).then(function(){var tt=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=tt})},It.prototype.toPdf=function(){var Ft=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ft).then(function(){var tt=this.prop.canvas,en=this.opt,gn=tt.height,Et=Math.floor(tt.width*this.prop.pageSize.inner.ratio),Zt=Math.ceil(gn/Et),Cn=this.prop.pageSize.inner.height,jn=document.createElement("canvas"),hn=jn.getContext("2d");jn.width=tt.width,jn.height=Et,this.prop.pdf=this.prop.pdf||new Ye.jsPDF(en.jsPDF);for(var Kn=0;Kn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-indexed-object.js"),Pe=se("./node_modules/core-js/internals/to-length.js"),be=se("./node_modules/core-js/internals/to-absolute-index.js"),oe=function(y){return function(a,E,b){var x=Ue(a),z=Pe(x.length),ne=be(b,z),ce;if(y&&E!=E){for(;z>ne;)if(ce=x[ne++],ce!=ce)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,Ie,se){var Ue=se("./node_modules/core-js/internals/function-bind-context.js"),Pe=se("./node_modules/core-js/internals/indexed-object.js"),be=se("./node_modules/core-js/internals/to-object.js"),oe=se("./node_modules/core-js/internals/to-length.js"),y=se("./node_modules/core-js/internals/array-species-create.js"),a=[].push,E=function(b){var x=b==1,z=b==2,ne=b==3,ce=b==4,Fe=b==6,Ee=b==7,Qe=b==5||Fe;return function(We,Ye,rt,Te){for(var Pt=be(We),Oe=Pe(Pt),Tt=Ue(Ye,rt,3),st=oe(Oe.length),At=0,It=Te||y,gt=x?It(We,st):z||Ee?It(We,0):void 0,Ft,ht;st>At;At++)if((Qe||At in Oe)&&(Ft=Oe[At],ht=Tt(Ft,At,Pt),b))if(x)gt[At]=ht;else if(ht)switch(b){case 3:return!0;case 5:return Ft;case 6:return At;case 2:a.call(gt,Ft)}else switch(b){case 4:return!1;case 7:a.call(gt,Ft)}return Fe?-1:ne||ce?ce:gt}};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,Ie,se){var Ue=se("./node_modules/core-js/internals/fails.js"),Pe=se("./node_modules/core-js/internals/well-known-symbol.js"),be=se("./node_modules/core-js/internals/engine-v8-version.js"),oe=Pe("species");ve.exports=function(y){return be>=51||!Ue(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,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/fails.js");ve.exports=function(Pe,be){var oe=[][Pe];return!!oe&&Ue(function(){oe.call(null,be||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/is-object.js"),Pe=se("./node_modules/core-js/internals/is-array.js"),be=se("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("species");ve.exports=function(y){var a;return Pe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||Pe(a.prototype))?a=void 0:Ue(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,Ie,se){var Ue=se("./node_modules/core-js/internals/array-species-constructor.js");ve.exports=function(Pe,be){return new(Ue(Pe))(be===0?0:be)}},"./node_modules/core-js/internals/classof-raw.js":function(ve){var Ie={}.toString;ve.exports=function(se){return Ie.call(se).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-string-tag-support.js"),Pe=se("./node_modules/core-js/internals/classof-raw.js"),be=se("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("toStringTag"),y=Pe(function(){return arguments}())=="Arguments",a=function(E,b){try{return E[b]}catch(x){}};ve.exports=Ue?Pe:function(E){var b,x,z;return E===void 0?"Undefined":E===null?"Null":typeof(x=a(b=Object(E),oe))=="string"?x:y?Pe(b):(z=Pe(b))=="Object"&&typeof b.callee=="function"?"Arguments":z}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/has.js"),Pe=se("./node_modules/core-js/internals/own-keys.js"),be=se("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),oe=se("./node_modules/core-js/internals/object-define-property.js");ve.exports=function(y,a){for(var E=Pe(a),b=oe.f,x=be.f,z=0;z"+b+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Pe=se("./node_modules/core-js/internals/object-create.js"),be=se("./node_modules/core-js/internals/create-property-descriptor.js"),oe=se("./node_modules/core-js/internals/set-to-string-tag.js"),y=se("./node_modules/core-js/internals/iterators.js"),a=function(){return this};ve.exports=function(E,b,x){var z=b+" Iterator";return E.prototype=Pe(Ue,{next:be(1,x)}),oe(E,z,!1,!0),y[z]=a,E}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/descriptors.js"),Pe=se("./node_modules/core-js/internals/object-define-property.js"),be=se("./node_modules/core-js/internals/create-property-descriptor.js");ve.exports=Ue?function(oe,y,a){return Pe.f(oe,y,be(1,a))}:function(oe,y,a){return oe[y]=a,oe}},"./node_modules/core-js/internals/create-property-descriptor.js":function(ve){ve.exports=function(Ie,se){return{enumerable:!(Ie&1),configurable:!(Ie&2),writable:!(Ie&4),value:se}}},"./node_modules/core-js/internals/create-property.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/to-property-key.js"),Pe=se("./node_modules/core-js/internals/object-define-property.js"),be=se("./node_modules/core-js/internals/create-property-descriptor.js");ve.exports=function(oe,y,a){var E=Ue(y);E in oe?Pe.f(oe,E,be(0,a)):oe[E]=a}},"./node_modules/core-js/internals/define-iterator.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/create-iterator-constructor.js"),be=se("./node_modules/core-js/internals/object-get-prototype-of.js"),oe=se("./node_modules/core-js/internals/object-set-prototype-of.js"),y=se("./node_modules/core-js/internals/set-to-string-tag.js"),a=se("./node_modules/core-js/internals/create-non-enumerable-property.js"),E=se("./node_modules/core-js/internals/redefine.js"),b=se("./node_modules/core-js/internals/well-known-symbol.js"),x=se("./node_modules/core-js/internals/is-pure.js"),z=se("./node_modules/core-js/internals/iterators.js"),ne=se("./node_modules/core-js/internals/iterators-core.js"),ce=ne.IteratorPrototype,Fe=ne.BUGGY_SAFARI_ITERATORS,Ee=b("iterator"),Qe="keys",We="values",Ye="entries",rt=function(){return this};ve.exports=function(Te,Pt,Oe,Tt,st,At,It){Pe(Oe,Pt,Tt);var gt=function(hn){if(hn===st&&gn)return gn;if(!Fe&&hn in tt)return tt[hn];switch(hn){case Qe:return function(){return new Oe(this,hn)};case We:return function(){return new Oe(this,hn)};case Ye:return function(){return new Oe(this,hn)}}return function(){return new Oe(this)}},Ft=Pt+" Iterator",ht=!1,tt=Te.prototype,en=tt[Ee]||tt["@@iterator"]||st&&tt[st],gn=!Fe&&en||gt(st),Et=Pt=="Array"&&tt.entries||en,Zt,Cn,jn;if(Et&&(Zt=be(Et.call(new Te)),ce!==Object.prototype&&Zt.next&&(!x&&be(Zt)!==ce&&(oe?oe(Zt,ce):typeof Zt[Ee]!="function"&&a(Zt,Ee,rt)),y(Zt,Ft,!0,!0),x&&(z[Ft]=rt))),st==We&&en&&en.name!==We&&(ht=!0,gn=function(){return en.call(this)}),(!x||It)&&tt[Ee]!==gn&&a(tt,Ee,gn),z[Pt]=gn,st)if(Cn={values:gt(We),keys:At?gn:gt(Qe),entries:gt(Ye)},It)for(jn in Cn)(Fe||ht||!(jn in tt))&&E(tt,jn,Cn[jn]);else Ue({target:Pt,proto:!0,forced:Fe||ht},Cn);return Cn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/path.js"),Pe=se("./node_modules/core-js/internals/has.js"),be=se("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),oe=se("./node_modules/core-js/internals/object-define-property.js").f;ve.exports=function(y){var a=Ue.Symbol||(Ue.Symbol={});Pe(a,y)||oe(a,y,{value:be.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/fails.js");ve.exports=!Ue(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/is-object.js"),be=Ue.document,oe=Pe(be)&&Pe(be.createElement);ve.exports=function(y){return oe?be.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,Ie,se){var Ue=se("./node_modules/core-js/internals/get-built-in.js");ve.exports=Ue("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/engine-user-agent.js"),be=Ue.process,oe=Ue.Deno,y=be&&be.versions||oe&&oe.version,a=y&&y.v8,E,b;a?(E=a.split("."),b=E[0]<4?1:E[0]+E[1]):Pe&&(E=Pe.match(/Edge\/(\d+)/),(!E||E[1]>=74)&&(E=Pe.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,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,be=se("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=se("./node_modules/core-js/internals/redefine.js"),y=se("./node_modules/core-js/internals/set-global.js"),a=se("./node_modules/core-js/internals/copy-constructor-properties.js"),E=se("./node_modules/core-js/internals/is-forced.js");ve.exports=function(b,x){var z=b.target,ne=b.global,ce=b.stat,Fe,Ee,Qe,We,Ye,rt;if(ne?Ee=Ue:ce?Ee=Ue[z]||y(z,{}):Ee=(Ue[z]||{}).prototype,Ee)for(Qe in x){if(Ye=x[Qe],b.noTargetGet?(rt=Pe(Ee,Qe),We=rt&&rt.value):We=Ee[Qe],Fe=E(ne?Qe:z+(ce?".":"#")+Qe,b.forced),!Fe&&We!==void 0){if(typeof Ye==typeof We)continue;a(Ye,We)}(b.sham||We&&We.sham)&&be(Ye,"sham",!0),oe(Ee,Qe,Ye,b)}}},"./node_modules/core-js/internals/fails.js":function(ve){ve.exports=function(Ie){try{return!!Ie()}catch(se){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/a-function.js");ve.exports=function(Pe,be,oe){if(Ue(Pe),be===void 0)return Pe;switch(oe){case 0:return function(){return Pe.call(be)};case 1:return function(y){return Pe.call(be,y)};case 2:return function(y,a){return Pe.call(be,y,a)};case 3:return function(y,a,E){return Pe.call(be,y,a,E)}}return function(){return Pe.apply(be,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=function(be){return typeof be=="function"?be:void 0};ve.exports=function(be,oe){return arguments.length<2?Pe(Ue[be]):Ue[be]&&Ue[be][oe]}},"./node_modules/core-js/internals/global.js":function(ve){var Ie=function(se){return se&&se.Math==Math&&se};ve.exports=Ie(typeof globalThis=="object"&&globalThis)||Ie(typeof window=="object"&&window)||Ie(typeof self=="object"&&self)||Ie(typeof Be.g=="object"&&Be.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-object.js"),Pe={}.hasOwnProperty;ve.exports=Object.hasOwn||function(oe,y){return Pe.call(Ue(oe),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(ve){ve.exports={}},"./node_modules/core-js/internals/html.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/get-built-in.js");ve.exports=Ue("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/descriptors.js"),Pe=se("./node_modules/core-js/internals/fails.js"),be=se("./node_modules/core-js/internals/document-create-element.js");ve.exports=!Ue&&!Pe(function(){return Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/fails.js"),Pe=se("./node_modules/core-js/internals/classof-raw.js"),be="".split;ve.exports=Ue(function(){return!Object("z").propertyIsEnumerable(0)})?function(oe){return Pe(oe)=="String"?be.call(oe,""):Object(oe)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/is-object.js"),Pe=se("./node_modules/core-js/internals/object-set-prototype-of.js");ve.exports=function(be,oe,y){var a,E;return Pe&&typeof(a=oe.constructor)=="function"&&a!==y&&Ue(E=a.prototype)&&E!==y.prototype&&Pe(be,E),be}},"./node_modules/core-js/internals/inspect-source.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/shared-store.js"),Pe=Function.toString;typeof Ue.inspectSource!="function"&&(Ue.inspectSource=function(be){return Pe.call(be)}),ve.exports=Ue.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/native-weak-map.js"),Pe=se("./node_modules/core-js/internals/global.js"),be=se("./node_modules/core-js/internals/is-object.js"),oe=se("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=se("./node_modules/core-js/internals/has.js"),a=se("./node_modules/core-js/internals/shared-store.js"),E=se("./node_modules/core-js/internals/shared-key.js"),b=se("./node_modules/core-js/internals/hidden-keys.js"),x="Object already initialized",z=Pe.WeakMap,ne,ce,Fe,Ee=function(Oe){return Fe(Oe)?ce(Oe):ne(Oe,{})},Qe=function(Oe){return function(Tt){var st;if(!be(Tt)||(st=ce(Tt)).type!==Oe)throw TypeError("Incompatible receiver, "+Oe+" required");return st}};if(Ue||a.state){var We=a.state||(a.state=new z),Ye=We.get,rt=We.has,Te=We.set;ne=function(Oe,Tt){if(rt.call(We,Oe))throw new TypeError(x);return Tt.facade=Oe,Te.call(We,Oe,Tt),Tt},ce=function(Oe){return Ye.call(We,Oe)||{}},Fe=function(Oe){return rt.call(We,Oe)}}else{var Pt=E("state");b[Pt]=!0,ne=function(Oe,Tt){if(y(Oe,Pt))throw new TypeError(x);return Tt.facade=Oe,oe(Oe,Pt,Tt),Tt},ce=function(Oe){return y(Oe,Pt)?Oe[Pt]:{}},Fe=function(Oe){return y(Oe,Pt)}}ve.exports={set:ne,get:ce,has:Fe,enforce:Ee,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/classof-raw.js");ve.exports=Array.isArray||function(be){return Ue(be)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/fails.js"),Pe=/#|\.prototype\./,be=function(b,x){var z=y[oe(b)];return z==E?!0:z==a?!1:typeof x=="function"?Ue(x):!!x},oe=be.normalize=function(b){return String(b).replace(Pe,".").toLowerCase()},y=be.data={},a=be.NATIVE="N",E=be.POLYFILL="P";ve.exports=be},"./node_modules/core-js/internals/is-object.js":function(ve){ve.exports=function(Ie){return typeof Ie=="object"?Ie!==null:typeof Ie=="function"}},"./node_modules/core-js/internals/is-pure.js":function(ve){ve.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/get-built-in.js"),Pe=se("./node_modules/core-js/internals/use-symbol-as-uid.js");ve.exports=Pe?function(be){return typeof be=="symbol"}:function(be){var oe=Ue("Symbol");return typeof oe=="function"&&Object(be)instanceof oe}},"./node_modules/core-js/internals/iterators-core.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/fails.js"),Pe=se("./node_modules/core-js/internals/object-get-prototype-of.js"),be=se("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=se("./node_modules/core-js/internals/has.js"),y=se("./node_modules/core-js/internals/well-known-symbol.js"),a=se("./node_modules/core-js/internals/is-pure.js"),E=y("iterator"),b=!1,x=function(){return this},z,ne,ce;[].keys&&(ce=[].keys(),"next"in ce?(ne=Pe(Pe(ce)),ne!==Object.prototype&&(z=ne)):b=!0);var Fe=z==null||Ue(function(){var Ee={};return z[E].call(Ee)!==Ee});Fe&&(z={}),(!a||Fe)&&!oe(z,E)&&be(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,Ie,se){var Ue=se("./node_modules/core-js/internals/engine-v8-version.js"),Pe=se("./node_modules/core-js/internals/fails.js");ve.exports=!!Object.getOwnPropertySymbols&&!Pe(function(){var be=Symbol();return!String(be)||!(Object(be)instanceof Symbol)||!Symbol.sham&&Ue&&Ue<41})},"./node_modules/core-js/internals/native-weak-map.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/inspect-source.js"),be=Ue.WeakMap;ve.exports=typeof be=="function"&&/native code/.test(Pe(be))},"./node_modules/core-js/internals/object-assign.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/descriptors.js"),Pe=se("./node_modules/core-js/internals/fails.js"),be=se("./node_modules/core-js/internals/object-keys.js"),oe=se("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=se("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=se("./node_modules/core-js/internals/to-object.js"),E=se("./node_modules/core-js/internals/indexed-object.js"),b=Object.assign,x=Object.defineProperty;ve.exports=!b||Pe(function(){if(Ue&&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={},ce=Symbol(),Fe="abcdefghijklmnopqrst";return z[ce]=7,Fe.split("").forEach(function(Ee){ne[Ee]=Ee}),b({},z)[ce]!=7||be(b({},ne)).join("")!=Fe})?function(ne,ce){for(var Fe=a(ne),Ee=arguments.length,Qe=1,We=oe.f,Ye=y.f;Ee>Qe;)for(var rt=E(arguments[Qe++]),Te=We?be(rt).concat(We(rt)):be(rt),Pt=Te.length,Oe=0,Tt;Pt>Oe;)Tt=Te[Oe++],(!Ue||Ye.call(rt,Tt))&&(Fe[Tt]=rt[Tt]);return Fe}:b},"./node_modules/core-js/internals/object-create.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/an-object.js"),Pe=se("./node_modules/core-js/internals/object-define-properties.js"),be=se("./node_modules/core-js/internals/enum-bug-keys.js"),oe=se("./node_modules/core-js/internals/hidden-keys.js"),y=se("./node_modules/core-js/internals/html.js"),a=se("./node_modules/core-js/internals/document-create-element.js"),E=se("./node_modules/core-js/internals/shared-key.js"),b=">",x="<",z="prototype",ne="script",ce=E("IE_PROTO"),Fe=function(){},Ee=function(Te){return x+ne+b+Te+x+"/"+ne+b},Qe=function(Te){Te.write(Ee("")),Te.close();var Pt=Te.parentWindow.Object;return Te=null,Pt},We=function(){var Te=a("iframe"),Pt="java"+ne+":",Oe;if(Te.style)return Te.style.display="none",y.appendChild(Te),Te.src=String(Pt),Oe=Te.contentWindow.document,Oe.open(),Oe.write(Ee("document.F=Object")),Oe.close(),Oe.F},Ye,rt=function(){try{Ye=new ActiveXObject("htmlfile")}catch(Pt){}rt=document.domain&&Ye?Qe(Ye):We()||Qe(Ye);for(var Te=be.length;Te--;)delete rt[z][be[Te]];return rt()};oe[ce]=!0,ve.exports=Object.create||function(Pt,Oe){var Tt;return Pt!==null?(Fe[z]=Ue(Pt),Tt=new Fe,Fe[z]=null,Tt[ce]=Pt):Tt=rt(),Oe===void 0?Tt:Pe(Tt,Oe)}},"./node_modules/core-js/internals/object-define-properties.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/descriptors.js"),Pe=se("./node_modules/core-js/internals/object-define-property.js"),be=se("./node_modules/core-js/internals/an-object.js"),oe=se("./node_modules/core-js/internals/object-keys.js");ve.exports=Ue?Object.defineProperties:function(a,E){be(a);for(var b=oe(E),x=b.length,z=0,ne;x>z;)Pe.f(a,ne=b[z++],E[ne]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/descriptors.js"),Pe=se("./node_modules/core-js/internals/ie8-dom-define.js"),be=se("./node_modules/core-js/internals/an-object.js"),oe=se("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;Ie.f=Ue?y:function(E,b,x){if(be(E),b=oe(b),be(x),Pe)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,Ie,se){var Ue=se("./node_modules/core-js/internals/descriptors.js"),Pe=se("./node_modules/core-js/internals/object-property-is-enumerable.js"),be=se("./node_modules/core-js/internals/create-property-descriptor.js"),oe=se("./node_modules/core-js/internals/to-indexed-object.js"),y=se("./node_modules/core-js/internals/to-property-key.js"),a=se("./node_modules/core-js/internals/has.js"),E=se("./node_modules/core-js/internals/ie8-dom-define.js"),b=Object.getOwnPropertyDescriptor;Ie.f=Ue?b:function(z,ne){if(z=oe(z),ne=y(ne),E)try{return b(z,ne)}catch(ce){}if(a(z,ne))return be(!Pe.f.call(z,ne),z[ne])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-indexed-object.js"),Pe=se("./node_modules/core-js/internals/object-get-own-property-names.js").f,be={}.toString,oe=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Pe(a)}catch(E){return oe.slice()}};ve.exports.f=function(E){return oe&&be.call(E)=="[object Window]"?y(E):Pe(Ue(E))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/object-keys-internal.js"),Pe=se("./node_modules/core-js/internals/enum-bug-keys.js"),be=Pe.concat("length","prototype");Ie.f=Object.getOwnPropertyNames||function(y){return Ue(y,be)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(ve,Ie){Ie.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/has.js"),Pe=se("./node_modules/core-js/internals/to-object.js"),be=se("./node_modules/core-js/internals/shared-key.js"),oe=se("./node_modules/core-js/internals/correct-prototype-getter.js"),y=be("IE_PROTO"),a=Object.prototype;ve.exports=oe?Object.getPrototypeOf:function(E){return E=Pe(E),Ue(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,Ie,se){var Ue=se("./node_modules/core-js/internals/has.js"),Pe=se("./node_modules/core-js/internals/to-indexed-object.js"),be=se("./node_modules/core-js/internals/array-includes.js").indexOf,oe=se("./node_modules/core-js/internals/hidden-keys.js");ve.exports=function(y,a){var E=Pe(y),b=0,x=[],z;for(z in E)!Ue(oe,z)&&Ue(E,z)&&x.push(z);for(;a.length>b;)Ue(E,z=a[b++])&&(~be(x,z)||x.push(z));return x}},"./node_modules/core-js/internals/object-keys.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/object-keys-internal.js"),Pe=se("./node_modules/core-js/internals/enum-bug-keys.js");ve.exports=Object.keys||function(oe){return Ue(oe,Pe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(ve,Ie){"use strict";var se={}.propertyIsEnumerable,Ue=Object.getOwnPropertyDescriptor,Pe=Ue&&!se.call({1:2},1);Ie.f=Pe?function(oe){var y=Ue(this,oe);return!!y&&y.enumerable}:se},"./node_modules/core-js/internals/object-set-prototype-of.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/an-object.js"),Pe=se("./node_modules/core-js/internals/a-possible-prototype.js");ve.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var be=!1,oe={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(oe,[]),be=oe instanceof Array}catch(a){}return function(E,b){return Ue(E),Pe(b),be?y.call(E,b):E.__proto__=b,E}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/to-string-tag-support.js"),Pe=se("./node_modules/core-js/internals/classof.js");ve.exports=Ue?{}.toString:function(){return"[object "+Pe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/is-object.js");ve.exports=function(Pe,be){var oe,y;if(be==="string"&&typeof(oe=Pe.toString)=="function"&&!Ue(y=oe.call(Pe))||typeof(oe=Pe.valueOf)=="function"&&!Ue(y=oe.call(Pe))||be!=="string"&&typeof(oe=Pe.toString)=="function"&&!Ue(y=oe.call(Pe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/get-built-in.js"),Pe=se("./node_modules/core-js/internals/object-get-own-property-names.js"),be=se("./node_modules/core-js/internals/object-get-own-property-symbols.js"),oe=se("./node_modules/core-js/internals/an-object.js");ve.exports=Ue("Reflect","ownKeys")||function(a){var E=Pe.f(oe(a)),b=be.f;return b?E.concat(b(a)):E}},"./node_modules/core-js/internals/path.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js");ve.exports=Ue},"./node_modules/core-js/internals/redefine.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/create-non-enumerable-property.js"),be=se("./node_modules/core-js/internals/has.js"),oe=se("./node_modules/core-js/internals/set-global.js"),y=se("./node_modules/core-js/internals/inspect-source.js"),a=se("./node_modules/core-js/internals/internal-state.js"),E=a.get,b=a.enforce,x=String(String).split("String");(ve.exports=function(z,ne,ce,Fe){var Ee=Fe?!!Fe.unsafe:!1,Qe=Fe?!!Fe.enumerable:!1,We=Fe?!!Fe.noTargetGet:!1,Ye;if(typeof ce=="function"&&(typeof ne=="string"&&!be(ce,"name")&&Pe(ce,"name",ne),Ye=b(ce),Ye.source||(Ye.source=x.join(typeof ne=="string"?ne:""))),z===Ue){Qe?z[ne]=ce:oe(ne,ce);return}else Ee?!We&&z[ne]&&(Qe=!0):delete z[ne];Qe?z[ne]=ce:Pe(z,ne,ce)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/an-object.js");ve.exports=function(){var Pe=Ue(this),be="";return Pe.global&&(be+="g"),Pe.ignoreCase&&(be+="i"),Pe.multiline&&(be+="m"),Pe.dotAll&&(be+="s"),Pe.unicode&&(be+="u"),Pe.sticky&&(be+="y"),be}},"./node_modules/core-js/internals/require-object-coercible.js":function(ve){ve.exports=function(Ie){if(Ie==null)throw TypeError("Can't call method on "+Ie);return Ie}},"./node_modules/core-js/internals/set-global.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js");ve.exports=function(Pe,be){try{Object.defineProperty(Ue,Pe,{value:be,configurable:!0,writable:!0})}catch(oe){Ue[Pe]=be}return be}},"./node_modules/core-js/internals/set-to-string-tag.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/object-define-property.js").f,Pe=se("./node_modules/core-js/internals/has.js"),be=se("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("toStringTag");ve.exports=function(y,a,E){y&&!Pe(y=E?y:y.prototype,oe)&&Ue(y,oe,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/shared.js"),Pe=se("./node_modules/core-js/internals/uid.js"),be=Ue("keys");ve.exports=function(oe){return be[oe]||(be[oe]=Pe(oe))}},"./node_modules/core-js/internals/shared-store.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/set-global.js"),be="__core-js_shared__",oe=Ue[be]||Pe(be,{});ve.exports=oe},"./node_modules/core-js/internals/shared.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/is-pure.js"),Pe=se("./node_modules/core-js/internals/shared-store.js");(ve.exports=function(be,oe){return Pe[be]||(Pe[be]=oe!==void 0?oe:{})})("versions",[]).push({version:"3.16.0",mode:Ue?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/fails.js");ve.exports=function(Pe){return Ue(function(){var be=""[Pe]('"');return be!==be.toLowerCase()||be.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-integer.js"),Pe=se("./node_modules/core-js/internals/to-string.js"),be=se("./node_modules/core-js/internals/require-object-coercible.js"),oe=function(y){return function(a,E){var b=Pe(be(a)),x=Ue(E),z=b.length,ne,ce;return x<0||x>=z?y?"":void 0:(ne=b.charCodeAt(x),ne<55296||ne>56319||x+1===z||(ce=b.charCodeAt(x+1))<56320||ce>57343?y?b.charAt(x):ne:y?b.slice(x,x+2):(ne-55296<<10)+(ce-56320)+65536)}};ve.exports={codeAt:oe(!1),charAt:oe(!0)}},"./node_modules/core-js/internals/string-trim.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/require-object-coercible.js"),Pe=se("./node_modules/core-js/internals/to-string.js"),be=se("./node_modules/core-js/internals/whitespaces.js"),oe="["+be+"]",y=RegExp("^"+oe+oe+"*"),a=RegExp(oe+oe+"*$"),E=function(b){return function(x){var z=Pe(Ue(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,Ie,se){var Ue=se("./node_modules/core-js/internals/to-integer.js"),Pe=Math.max,be=Math.min;ve.exports=function(oe,y){var a=Ue(oe);return a<0?Pe(a+y,0):be(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/indexed-object.js"),Pe=se("./node_modules/core-js/internals/require-object-coercible.js");ve.exports=function(be){return Ue(Pe(be))}},"./node_modules/core-js/internals/to-integer.js":function(ve){var Ie=Math.ceil,se=Math.floor;ve.exports=function(Ue){return isNaN(Ue=+Ue)?0:(Ue>0?se:Ie)(Ue)}},"./node_modules/core-js/internals/to-length.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-integer.js"),Pe=Math.min;ve.exports=function(be){return be>0?Pe(Ue(be),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/require-object-coercible.js");ve.exports=function(Pe){return Object(Ue(Pe))}},"./node_modules/core-js/internals/to-primitive.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/is-object.js"),Pe=se("./node_modules/core-js/internals/is-symbol.js"),be=se("./node_modules/core-js/internals/ordinary-to-primitive.js"),oe=se("./node_modules/core-js/internals/well-known-symbol.js"),y=oe("toPrimitive");ve.exports=function(a,E){if(!Ue(a)||Pe(a))return a;var b=a[y],x;if(b!==void 0){if(E===void 0&&(E="default"),x=b.call(a,E),!Ue(x)||Pe(x))return x;throw TypeError("Can't convert object to primitive value")}return E===void 0&&(E="number"),be(a,E)}},"./node_modules/core-js/internals/to-property-key.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-primitive.js"),Pe=se("./node_modules/core-js/internals/is-symbol.js");ve.exports=function(be){var oe=Ue(be,"string");return Pe(oe)?oe:String(oe)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/well-known-symbol.js"),Pe=Ue("toStringTag"),be={};be[Pe]="z",ve.exports=String(be)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/is-symbol.js");ve.exports=function(Pe){if(Ue(Pe))throw TypeError("Cannot convert a Symbol value to a string");return String(Pe)}},"./node_modules/core-js/internals/uid.js":function(ve){var Ie=0,se=Math.random();ve.exports=function(Ue){return"Symbol("+String(Ue===void 0?"":Ue)+")_"+(++Ie+se).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/native-symbol.js");ve.exports=Ue&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/well-known-symbol.js");Ie.f=Ue},"./node_modules/core-js/internals/well-known-symbol.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/shared.js"),be=se("./node_modules/core-js/internals/has.js"),oe=se("./node_modules/core-js/internals/uid.js"),y=se("./node_modules/core-js/internals/native-symbol.js"),a=se("./node_modules/core-js/internals/use-symbol-as-uid.js"),E=Pe("wks"),b=Ue.Symbol,x=a?b:b&&b.withoutSetter||oe;ve.exports=function(z){return(!be(E,z)||!(y||typeof E[z]=="string"))&&(y&&be(b,z)?E[z]=b[z]:E[z]=x("Symbol."+z)),E[z]}},"./node_modules/core-js/internals/whitespaces.js":function(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,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/fails.js"),be=se("./node_modules/core-js/internals/is-array.js"),oe=se("./node_modules/core-js/internals/is-object.js"),y=se("./node_modules/core-js/internals/to-object.js"),a=se("./node_modules/core-js/internals/to-length.js"),E=se("./node_modules/core-js/internals/create-property.js"),b=se("./node_modules/core-js/internals/array-species-create.js"),x=se("./node_modules/core-js/internals/array-method-has-species-support.js"),z=se("./node_modules/core-js/internals/well-known-symbol.js"),ne=se("./node_modules/core-js/internals/engine-v8-version.js"),ce=z("isConcatSpreadable"),Fe=9007199254740991,Ee="Maximum allowed index exceeded",Qe=ne>=51||!Pe(function(){var Te=[];return Te[ce]=!1,Te.concat()[0]!==Te}),We=x("concat"),Ye=function(Te){if(!oe(Te))return!1;var Pt=Te[ce];return Pt!==void 0?!!Pt:be(Te)},rt=!Qe||!We;Ue({target:"Array",proto:!0,forced:rt},{concat:function(Pt){var Oe=y(this),Tt=b(Oe,0),st=0,At,It,gt,Ft,ht;for(At=-1,gt=arguments.length;AtFe)throw TypeError(Ee);for(It=0;It=Fe)throw TypeError(Ee);E(Tt,st++,ht)}return Tt.length=st,Tt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/to-indexed-object.js"),Pe=se("./node_modules/core-js/internals/add-to-unscopables.js"),be=se("./node_modules/core-js/internals/iterators.js"),oe=se("./node_modules/core-js/internals/internal-state.js"),y=se("./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:Ue(x),index:0,kind:z})},function(){var x=b(this),z=x.target,ne=x.kind,ce=x.index++;return!z||ce>=z.length?(x.target=void 0,{value:void 0,done:!0}):ne=="keys"?{value:ce,done:!1}:ne=="values"?{value:z[ce],done:!1}:{value:[ce,z[ce]],done:!1}},"values"),be.Arguments=be.Array,Pe("keys"),Pe("values"),Pe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/indexed-object.js"),be=se("./node_modules/core-js/internals/to-indexed-object.js"),oe=se("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=Pe!=Object,E=oe("join",",");Ue({target:"Array",proto:!0,forced:a||!E},{join:function(x){return y.call(be(this),x===void 0?",":x)}})},"./node_modules/core-js/modules/es.array.map.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/array-iteration.js").map,be=se("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=be("map");Ue({target:"Array",proto:!0,forced:!oe},{map:function(a){return Pe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/is-object.js"),be=se("./node_modules/core-js/internals/is-array.js"),oe=se("./node_modules/core-js/internals/to-absolute-index.js"),y=se("./node_modules/core-js/internals/to-length.js"),a=se("./node_modules/core-js/internals/to-indexed-object.js"),E=se("./node_modules/core-js/internals/create-property.js"),b=se("./node_modules/core-js/internals/well-known-symbol.js"),x=se("./node_modules/core-js/internals/array-method-has-species-support.js"),z=x("slice"),ne=b("species"),ce=[].slice,Fe=Math.max;Ue({target:"Array",proto:!0,forced:!z},{slice:function(Qe,We){var Ye=a(this),rt=y(Ye.length),Te=oe(Qe,rt),Pt=oe(We===void 0?rt:We,rt),Oe,Tt,st;if(be(Ye)&&(Oe=Ye.constructor,typeof Oe=="function"&&(Oe===Array||be(Oe.prototype))?Oe=void 0:Pe(Oe)&&(Oe=Oe[ne],Oe===null&&(Oe=void 0)),Oe===Array||Oe===void 0))return ce.call(Ye,Te,Pt);for(Tt=new(Oe===void 0?Array:Oe)(Fe(Pt-Te,0)),st=0;Te2){if(gt=Qe(gt),Ft=gt.charCodeAt(0),Ft===43||Ft===45){if(ht=gt.charCodeAt(2),ht===88||ht===120)return NaN}else if(Ft===48){switch(gt.charCodeAt(1)){case 66:case 98:tt=2,en=49;break;case 79:case 111:tt=8,en=55;break;default:return+gt}for(gn=gt.slice(2),Et=gn.length,Zt=0;Zten)return NaN;return parseInt(gn,tt)}}return+gt};if(be(We,!Ye(" 0o1")||!Ye("0b1")||Ye("+0x1"))){for(var Oe=function(gt){var Ft=arguments.length<1?0:gt,ht=this;return ht instanceof Oe&&(Te?z(function(){rt.valueOf.call(ht)}):a(ht)!=We)?E(new Ye(Pt(Ft)),ht,Oe):Pt(Ft)},Tt=Ue?ce(Ye):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),st=0,At;Tt.length>st;st++)y(Ye,At=Tt[st])&&!y(Oe,At)&&Ee(Oe,At,Fe(Ye,At));Oe.prototype=rt,rt.constructor=Oe,oe(Pe,We,Oe)}},"./node_modules/core-js/modules/es.object.assign.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/object-assign.js");Ue({target:"Object",stat:!0,forced:Object.assign!==Pe},{assign:Pe})},"./node_modules/core-js/modules/es.object.keys.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/to-object.js"),be=se("./node_modules/core-js/internals/object-keys.js"),oe=se("./node_modules/core-js/internals/fails.js"),y=oe(function(){be(1)});Ue({target:"Object",stat:!0,forced:y},{keys:function(E){return be(Pe(E))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/to-string-tag-support.js"),Pe=se("./node_modules/core-js/internals/redefine.js"),be=se("./node_modules/core-js/internals/object-to-string.js");Ue||Pe(Object.prototype,"toString",be,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/redefine.js"),Pe=se("./node_modules/core-js/internals/an-object.js"),be=se("./node_modules/core-js/internals/to-string.js"),oe=se("./node_modules/core-js/internals/fails.js"),y=se("./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)&&Ue(RegExp.prototype,a,function(){var ce=Pe(this),Fe=be(ce.source),Ee=ce.flags,Qe=be(Ee===void 0&&ce instanceof RegExp&&!("flags"in E)?y.call(ce):Ee);return"/"+Fe+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/string-multibyte.js").charAt,Pe=se("./node_modules/core-js/internals/to-string.js"),be=se("./node_modules/core-js/internals/internal-state.js"),oe=se("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=be.set,E=be.getterFor(y);oe(String,"String",function(b){a(this,{type:y,string:Pe(b),index:0})},function(){var x=E(this),z=x.string,ne=x.index,ce;return ne>=z.length?{value:void 0,done:!0}:(ce=Ue(z,ne),x.index+=ce.length,{value:ce,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/create-html.js"),be=se("./node_modules/core-js/internals/string-html-forced.js");Ue({target:"String",proto:!0,forced:be("link")},{link:function(y){return Pe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/descriptors.js"),be=se("./node_modules/core-js/internals/global.js"),oe=se("./node_modules/core-js/internals/has.js"),y=se("./node_modules/core-js/internals/is-object.js"),a=se("./node_modules/core-js/internals/object-define-property.js").f,E=se("./node_modules/core-js/internals/copy-constructor-properties.js"),b=be.Symbol;if(Pe&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var x={},z=function(){var We=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ye=this instanceof z?new b(We):We===void 0?b():b(We);return We===""&&(x[Ye]=!0),Ye};E(z,b);var ne=z.prototype=b.prototype;ne.constructor=z;var ce=ne.toString,Fe=String(b("test"))=="Symbol(test)",Ee=/^Symbol\((.*)\)[^)]+$/;a(ne,"description",{configurable:!0,get:function(){var We=y(this)?this.valueOf():this,Ye=ce.call(We);if(oe(x,We))return"";var rt=Fe?Ye.slice(7,-1):Ye.replace(Ee,"$1");return rt===""?void 0:rt}}),Ue({global:!0,forced:!0},{Symbol:z})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/define-well-known-symbol.js");Ue("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(ve,Ie,se){"use strict";var Ue=se("./node_modules/core-js/internals/export.js"),Pe=se("./node_modules/core-js/internals/global.js"),be=se("./node_modules/core-js/internals/get-built-in.js"),oe=se("./node_modules/core-js/internals/is-pure.js"),y=se("./node_modules/core-js/internals/descriptors.js"),a=se("./node_modules/core-js/internals/native-symbol.js"),E=se("./node_modules/core-js/internals/fails.js"),b=se("./node_modules/core-js/internals/has.js"),x=se("./node_modules/core-js/internals/is-array.js"),z=se("./node_modules/core-js/internals/is-object.js"),ne=se("./node_modules/core-js/internals/is-symbol.js"),ce=se("./node_modules/core-js/internals/an-object.js"),Fe=se("./node_modules/core-js/internals/to-object.js"),Ee=se("./node_modules/core-js/internals/to-indexed-object.js"),Qe=se("./node_modules/core-js/internals/to-property-key.js"),We=se("./node_modules/core-js/internals/to-string.js"),Ye=se("./node_modules/core-js/internals/create-property-descriptor.js"),rt=se("./node_modules/core-js/internals/object-create.js"),Te=se("./node_modules/core-js/internals/object-keys.js"),Pt=se("./node_modules/core-js/internals/object-get-own-property-names.js"),Oe=se("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Tt=se("./node_modules/core-js/internals/object-get-own-property-symbols.js"),st=se("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),At=se("./node_modules/core-js/internals/object-define-property.js"),It=se("./node_modules/core-js/internals/object-property-is-enumerable.js"),gt=se("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ft=se("./node_modules/core-js/internals/redefine.js"),ht=se("./node_modules/core-js/internals/shared.js"),tt=se("./node_modules/core-js/internals/shared-key.js"),en=se("./node_modules/core-js/internals/hidden-keys.js"),gn=se("./node_modules/core-js/internals/uid.js"),Et=se("./node_modules/core-js/internals/well-known-symbol.js"),Zt=se("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Cn=se("./node_modules/core-js/internals/define-well-known-symbol.js"),jn=se("./node_modules/core-js/internals/set-to-string-tag.js"),hn=se("./node_modules/core-js/internals/internal-state.js"),Kn=se("./node_modules/core-js/internals/array-iteration.js").forEach,Nt=tt("hidden"),zn="Symbol",$n="prototype",He=Et("toPrimitive"),$t=hn.set,Re=hn.getterFor(zn),me=Object[$n],le=Pe.Symbol,ye=be("JSON","stringify"),qe=st.f,pt=At.f,Me=Oe.f,Je=It.f,jt=ht("symbols"),wt=ht("op-symbols"),lt=ht("string-to-symbol-registry"),Vt=ht("symbol-to-string-registry"),Bn=ht("wks"),kt=Pe.QObject,dn=!kt||!kt[$n]||!kt[$n].findChild,Qt=y&&E(function(){return rt(pt({},"a",{get:function(){return pt(this,"a",{value:7}).a}})).a!=7})?function(zr,Sr,Qr){var Gr=qe(me,Sr);Gr&&delete me[Sr],pt(zr,Sr,Qr),Gr&&zr!==me&&pt(me,Sr,Gr)}:pt,Pn=function(zr,Sr){var Qr=jt[zr]=rt(le[$n]);return $t(Qr,{type:zn,tag:zr,description:Sr}),y||(Qr.description=Sr),Qr},An=function(Sr,Qr,Gr){Sr===me&&An(wt,Qr,Gr),ce(Sr);var ma=Qe(Qr);return ce(Gr),b(jt,ma)?(Gr.enumerable?(b(Sr,Nt)&&Sr[Nt][ma]&&(Sr[Nt][ma]=!1),Gr=rt(Gr,{enumerable:Ye(0,!1)})):(b(Sr,Nt)||pt(Sr,Nt,Ye(1,{})),Sr[Nt][ma]=!0),Qt(Sr,ma,Gr)):pt(Sr,ma,Gr)},nr=function(Sr,Qr){ce(Sr);var Gr=Ee(Qr),ma=Te(Gr).concat(oa(Gr));return Kn(ma,function(Ja){(!y||Ar.call(Gr,Ja))&&An(Sr,Ja,Gr[Ja])}),Sr},cr=function(Sr,Qr){return Qr===void 0?rt(Sr):nr(rt(Sr),Qr)},Ar=function(Sr){var Qr=Qe(Sr),Gr=Je.call(this,Qr);return this===me&&b(jt,Qr)&&!b(wt,Qr)?!1:Gr||!b(this,Qr)||!b(jt,Qr)||b(this,Nt)&&this[Nt][Qr]?Gr:!0},Nr=function(Sr,Qr){var Gr=Ee(Sr),ma=Qe(Qr);if(!(Gr===me&&b(jt,ma)&&!b(wt,ma))){var Ja=qe(Gr,ma);return Ja&&b(jt,ma)&&!(b(Gr,Nt)&&Gr[Nt][ma])&&(Ja.enumerable=!0),Ja}},Dr=function(Sr){var Qr=Me(Ee(Sr)),Gr=[];return Kn(Qr,function(ma){!b(jt,ma)&&!b(en,ma)&&Gr.push(ma)}),Gr},oa=function(Sr){var Qr=Sr===me,Gr=Me(Qr?wt:Ee(Sr)),ma=[];return Kn(Gr,function(Ja){b(jt,Ja)&&(!Qr||b(me,Ja))&&ma.push(jt[Ja])}),ma};if(a||(le=function(){if(this instanceof le)throw TypeError("Symbol is not a constructor");var Sr=!arguments.length||arguments[0]===void 0?void 0:We(arguments[0]),Qr=gn(Sr),Gr=function(ma){this===me&&Gr.call(wt,ma),b(this,Nt)&&b(this[Nt],Qr)&&(this[Nt][Qr]=!1),Qt(this,Qr,Ye(1,ma))};return y&&dn&&Qt(me,Qr,{configurable:!0,set:Gr}),Pn(Qr,Sr)},Ft(le[$n],"toString",function(){return Re(this).tag}),Ft(le,"withoutSetter",function(zr){return Pn(gn(zr),zr)}),It.f=Ar,At.f=An,st.f=Nr,Pt.f=Oe.f=Dr,Tt.f=oa,Zt.f=function(zr){return Pn(Et(zr),zr)},y&&(pt(le[$n],"description",{configurable:!0,get:function(){return Re(this).description}}),oe||Ft(me,"propertyIsEnumerable",Ar,{unsafe:!0}))),Ue({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:le}),Kn(Te(Bn),function(zr){Cn(zr)}),Ue({target:zn,stat:!0,forced:!a},{for:function(zr){var Sr=We(zr);if(b(lt,Sr))return lt[Sr];var Qr=le(Sr);return lt[Sr]=Qr,Vt[Qr]=Sr,Qr},keyFor:function(Sr){if(!ne(Sr))throw TypeError(Sr+" is not a symbol");if(b(Vt,Sr))return Vt[Sr]},useSetter:function(){dn=!0},useSimple:function(){dn=!1}}),Ue({target:"Object",stat:!0,forced:!a,sham:!y},{create:cr,defineProperty:An,defineProperties:nr,getOwnPropertyDescriptor:Nr}),Ue({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Dr,getOwnPropertySymbols:oa}),Ue({target:"Object",stat:!0,forced:E(function(){Tt.f(1)})},{getOwnPropertySymbols:function(Sr){return Tt.f(Fe(Sr))}}),ye){var Aa=!a||E(function(){var zr=le();return ye([zr])!="[null]"||ye({a:zr})!="{}"||ye(Object(zr))!="{}"});Ue({target:"JSON",stat:!0,forced:Aa},{stringify:function(Sr,Qr,Gr){for(var ma=[Sr],Ja=1,Yr;arguments.length>Ja;)ma.push(arguments[Ja++]);if(Yr=Qr,!(!z(Qr)&&Sr===void 0||ne(Sr)))return x(Qr)||(Qr=function(No,Mo){if(typeof Yr=="function"&&(Mo=Yr.call(this,No,Mo)),!ne(Mo))return Mo}),ma[1]=Qr,ye.apply(null,ma)}})}le[$n][He]||gt(le[$n],He,le[$n].valueOf),jn(le,zn),en[Nt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/dom-iterables.js"),be=se("./node_modules/core-js/internals/array-for-each.js"),oe=se("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in Pe){var a=Ue[y],E=a&&a.prototype;if(E&&E.forEach!==be)try{oe(E,"forEach",be)}catch(b){E.forEach=be}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(ve,Ie,se){var Ue=se("./node_modules/core-js/internals/global.js"),Pe=se("./node_modules/core-js/internals/dom-iterables.js"),be=se("./node_modules/core-js/modules/es.array.iterator.js"),oe=se("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=se("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),E=y("toStringTag"),b=be.values;for(var x in Pe){var z=Ue[x],ne=z&&z.prototype;if(ne){if(ne[a]!==b)try{oe(ne,a,b)}catch(Fe){ne[a]=b}if(ne[E]||oe(ne,E,x),Pe[x]){for(var ce in be)if(ne[ce]!==be[ce])try{oe(ne,ce,be[ce])}catch(Fe){ne[ce]=be[ce]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(ve){(function(Ie,se){ve.exports=se()})(this,function(){"use strict";function Ie(kt){var dn=typeof kt;return kt!==null&&(dn==="object"||dn==="function")}function se(kt){return typeof kt=="function"}var Ue=void 0;Array.isArray?Ue=Array.isArray:Ue=function(kt){return Object.prototype.toString.call(kt)==="[object Array]"};var Pe=Ue,be=0,oe=void 0,y=void 0,a=function(dn,Qt){Te[be]=dn,Te[be+1]=Qt,be+=2,be===2&&(y?y(Pt):Tt())};function E(kt){y=kt}function b(kt){a=kt}var x=typeof window!="undefined"?window:void 0,z=x||{},ne=z.MutationObserver||z.WebKitMutationObserver,ce=typeof self=="undefined"&&typeof pe!="undefined"&&{}.toString.call(pe)==="[object process]",Fe=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ee(){return function(){return pe.nextTick(Pt)}}function Qe(){return typeof oe!="undefined"?function(){oe(Pt)}:rt()}function We(){var kt=0,dn=new ne(Pt),Qt=document.createTextNode("");return dn.observe(Qt,{characterData:!0}),function(){Qt.data=kt=++kt%2}}function Ye(){var kt=new MessageChannel;return kt.port1.onmessage=Pt,function(){return kt.port2.postMessage(0)}}function rt(){var kt=setTimeout;return function(){return kt(Pt,1)}}var Te=new Array(1e3);function Pt(){for(var kt=0;kt>1,se=-7,Ue=we?nt-1:0,Pe=we?-1:1,be=Be[pe+Ue];for(Ue+=Pe,Ze=be&(1<<-se)-1,be>>=-se,se+=he;se>0;Ze=Ze*256+Be[pe+Ue],Ue+=Pe,se-=8);for(je=Ze&(1<<-se)-1,Ze>>=-se,se+=Ke;se>0;je=je*256+Be[pe+Ue],Ue+=Pe,se-=8);if(Ze===0)Ze=1-Ie;else{if(Ze===ve)return je?NaN:(be?-1:1)*(1/0);je=je+Math.pow(2,Ke),Ze=Ze-Ie}return(be?-1:1)*je*Math.pow(2,Ze-Ke)},Kt.write=function(Be,pe,we,Ke,nt,Ze){var je,he,ve,Ie=Ze*8-nt-1,se=(1<>1,Pe=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,be=Ke?0:Ze-1,oe=Ke?1:-1,y=pe<0||pe===0&&1/pe<0?1:0;for(pe=Math.abs(pe),isNaN(pe)||pe===1/0?(he=isNaN(pe)?1:0,je=se):(je=Math.floor(Math.log(pe)/Math.LN2),pe*(ve=Math.pow(2,-je))<1&&(je--,ve*=2),je+Ue>=1?pe+=Pe/ve:pe+=Pe*Math.pow(2,1-Ue),pe*ve>=2&&(je++,ve/=2),je+Ue>=se?(he=0,je=se):je+Ue>=1?(he=(pe*ve-1)*Math.pow(2,nt),je=je+Ue):(he=pe*Math.pow(2,Ue-1)*Math.pow(2,nt),je=0));nt>=8;Be[we+be]=he&255,be+=oe,he/=256,nt-=8);for(je=je<0;Be[we+be]=je&255,be+=oe,je/=256,Ie-=8);Be[we+be-oe]|=y*128}},7348:function(an,Kt,Be){"use strict";Be.r(Kt),Be.d(Kt,{AcroForm:function(){return $a},AcroFormAppearance:function(){return ra},AcroFormButton:function(){return Bo},AcroFormCheckBox:function(){return _i},AcroFormChoiceField:function(){return xn},AcroFormComboBox:function(){return ja},AcroFormEditBox:function(){return xa},AcroFormListBox:function(){return sA},AcroFormPasswordField:function(){return $i},AcroFormPushButton:function(){return Oi},AcroFormRadioButton:function(){return ii},AcroFormTextField:function(){return ZA},GState:function(){return Xo},ShadingPattern:function(){return jr},TilingPattern:function(){return xr},default:function(){return Mt},jsPDF:function(){return Mt}});var pe=Be(93664),we={},Ke=function(ae,te,re,ge,Ce){var Se=new Worker(we[te]||(we[te]=URL.createObjectURL(new Blob([ae+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Se.onmessage=function(Ne){var ke=Ne.data,_e=ke.$e$;if(_e){var at=new Error(_e[0]);at.code=_e[1],at.stack=_e[2],Ce(at,null)}else Ce(null,ke)},Se.postMessage(re,ge),Se},nt=Uint8Array,Ze=Uint16Array,je=Int32Array,he=new nt([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 nt([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]),Ie=new nt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),se=function(ae,te){for(var re=new Ze(31),ge=0;ge<31;++ge)re[ge]=te+=1<>1|(b&21845)<<1;x=(x&52428)>>2|(x&13107)<<2,x=(x&61680)>>4|(x&3855)<<4,E[b]=((x&65280)>>8|(x&255)<<8)>>1}for(var z=function(ae,te,re){for(var ge=ae.length,Ce=0,Se=new Ze(te);Ce>_e]=at}else for(ke=new Ze(ge),Ce=0;Ce>15-ae[Ce]);return ke},ne=new nt(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 ce=new nt(32),b=0;b<32;++b)ce[b]=5;var Fe=z(ne,9,0),Ee=z(ne,9,1),Qe=z(ce,5,0),We=z(ce,5,1),Ye=function(ae){for(var te=ae[0],re=1;rete&&(te=ae[re]);return te},rt=function(ae,te,re){var ge=te/8|0;return(ae[ge]|ae[ge+1]<<8)>>(te&7)&re},Te=function(ae,te){var re=te/8|0;return(ae[re]|ae[re+1]<<8|ae[re+2]<<16)>>(te&7)},Pt=function(ae){return(ae+7)/8|0},Oe=function(ae,te,re){return(te==null||te<0)&&(te=0),(re==null||re>ae.length)&&(re=ae.length),new nt(ae.subarray(te,re))},Tt={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},st=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],At=function(ae,te,re){var ge=new Error(te||st[ae]);if(ge.code=ae,Error.captureStackTrace&&Error.captureStackTrace(ge,At),!re)throw ge;return ge},It=function(ae,te,re,ge){var Ce=ae.length,Se=ge?ge.length:0;if(!Ce||te.f&&!te.l)return re||new nt(0);var Ne=!re,ke=Ne||te.i!=2,_e=te.i;Ne&&(re=new nt(Ce*3));var at=function(Hn){var _n=re.length;if(Hn>_n){var Jn=new nt(Math.max(_n*2,Hn));Jn.set(re),re=Jn}},mt=te.f||0,vt=te.p||0,Ut=te.b||0,$e=te.l,sn=te.d,Yt=te.m,ln=te.n,Ht=Ce*8;do{if(!$e){mt=rt(ae,vt,1);var un=rt(ae,vt+1,3);if(vt+=3,un)if(un==1)$e=Ee,sn=We,Yt=9,ln=5;else if(un==2){var Er=rt(ae,vt,31)+257,qn=rt(ae,vt+10,15)+4,Sn=Er+rt(ae,vt+5,31)+1;vt+=14;for(var tr=new nt(Sn),hr=new nt(19),Gt=0;Gt>4;if(Qn<16)tr[Gt++]=Qn;else{var et=0,ut=0;for(Qn==16?(ut=3+rt(ae,vt,3),vt+=2,et=tr[Gt-1]):Qn==17?(ut=3+rt(ae,vt,7),vt+=3):Qn==18&&(ut=11+rt(ae,vt,127),vt+=7);ut--;)tr[Gt++]=et}}var dt=tr.subarray(0,Er),Ct=tr.subarray(Er);Yt=Ye(dt),ln=Ye(Ct),$e=z(dt,Yt,1),sn=z(Ct,ln,1)}else At(1);else{var Qn=Pt(vt)+4,Vn=ae[Qn-4]|ae[Qn-3]<<8,ur=Qn+Vn;if(ur>Ce){_e&&At(0);break}ke&&at(Ut+Vn),re.set(ae.subarray(Qn,ur),Ut),te.b=Ut+=Vn,te.p=vt=ur*8,te.f=mt;continue}if(vt>Ht){_e&&At(0);break}}ke&&at(Ut+131072);for(var Rt=(1<>4;if(vt+=et&15,vt>Ht){_e&&At(0);break}if(et||At(2),ct<256)re[Ut++]=ct;else if(ct==256){Xe=vt,$e=null;break}else{var bt=ct-254;if(ct>264){var Gt=ct-257,xt=he[Gt];bt=rt(ae,vt,(1<>4;Wt||At(3),vt+=Wt&15;var Ct=y[nn];if(nn>3){var xt=ve[nn];Ct+=Te(ae,vt)&(1<Ht){_e&&At(0);break}ke&&at(Ut+131072);var on=Ut+bt;if(Ut>8},Ft=function(ae,te,re){re<<=te&7;var ge=te/8|0;ae[ge]|=re,ae[ge+1]|=re>>8,ae[ge+2]|=re>>16},ht=function(ae,te){for(var re=[],ge=0;geUt&&(Ut=Se[ge].s);var $e=new Ze(Ut+1),sn=tt(re[mt-1],$e,0);if(sn>te){var ge=0,Yt=0,ln=sn-te,Ht=1<te)Yt+=Ht-(1<>=ln;Yt>0;){var Qn=Se[ge].s;$e[Qn]=0&&Yt;--ge){var Vn=Se[ge].s;$e[Vn]==te&&(--$e[Vn],++Yt)}sn=te}return{t:new nt($e),l:sn}},tt=function(ae,te,re){return ae.s==-1?Math.max(tt(ae.l,te,re+1),tt(ae.r,te,re+1)):te[ae.s]=re},en=function(ae){for(var te=ae.length;te&&!ae[--te];);for(var re=new Ze(++te),ge=0,Ce=ae[0],Se=1,Ne=function(_e){re[ge++]=_e},ke=1;ke<=te;++ke)if(ae[ke]==Ce&&ke!=te)++Se;else{if(!Ce&&Se>2){for(;Se>138;Se-=138)Ne(32754);Se>2&&(Ne(Se>10?Se-11<<5|28690:Se-3<<5|12305),Se=0)}else if(Se>3){for(Ne(Ce),--Se;Se>6;Se-=6)Ne(8304);Se>2&&(Ne(Se-3<<5|8208),Se=0)}for(;Se--;)Ne(Ce);Se=1,Ce=ae[ke]}return{c:re.subarray(0,ge),n:te}},gn=function(ae,te){for(var re=0,ge=0;ge>8,ae[Ce+2]=ae[Ce]^255,ae[Ce+3]=ae[Ce+1]^255;for(var Se=0;Se4&&!hr[Ie[qt-1]];--qt);var Un=at+5<<3,De=gn(Ce,ne)+gn(Se,ce)+Ne,ze=gn(Ce,Ut)+gn(Se,Yt)+Ne+14+3*qt+gn(qn,hr)+2*qn[16]+3*qn[17]+7*qn[18];if(_e>=0&&Un<=De&&Un<=ze)return Et(te,mt,ae.subarray(_e,_e+at));var et,ut,dt,Ct;if(gt(te,mt,1+(ze15&&(gt(te,mt,ct[Sn]>>5&127),mt+=ct[Sn]>>12)}}else et=Fe,ut=ne,dt=Qe,Ct=ce;for(var Sn=0;Sn255){var bt=xt>>18&31;Ft(te,mt,et[bt+257]),mt+=ut[bt+257],bt>7&&(gt(te,mt,xt>>23&31),mt+=he[bt]);var Wt=xt&31;Ft(te,mt,dt[Wt]),mt+=Ct[Wt],Wt>3&&(Ft(te,mt,xt>>5&8191),mt+=ve[Wt])}else Ft(te,mt,et[xt]),mt+=ut[xt]}return Ft(te,mt,et[256]),mt+ut[256]},Cn=new je([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),jn=new nt(0),hn=function(ae,te,re,ge,Ce,Se){var Ne=Se.z||ae.length,ke=new nt(ge+Ne+5*(1+Math.ceil(Ne/7e3))+Ce),_e=ke.subarray(ge,ke.length-Ce),at=Se.l,mt=(Se.r||0)&7;if(te){mt&&(_e[0]=Se.r>>3);for(var vt=Cn[te-1],Ut=vt>>13,$e=vt&8191,sn=(1<7e3||hr>24576)&&(et>423||!at)){mt=Zt(ae,_e,0,Vn,ur,Er,Sn,hr,qt,tr-qt,mt),hr=qn=Sn=0,qt=tr;for(var ut=0;ut<286;++ut)ur[ut]=0;for(var ut=0;ut<30;++ut)Er[ut]=0}var dt=2,Ct=0,Rt=$e,rn=De-ze&32767;if(et>2&&Un==Qn(tr-rn))for(var Xe=Math.min(Ut,et)-1,ct=Math.min(32767,tr),bt=Math.min(258,et);rn<=ct&&--Rt&&De!=ze;){if(ae[tr+dt]==ae[tr+dt-rn]){for(var xt=0;xtdt){if(dt=xt,Ct=rn,xt>Xe)break;for(var Wt=Math.min(rn,xt-2),nn=0,ut=0;utnn&&(nn=Tn,ze=on)}}}De=ze,ze=Yt[De],rn+=De-ze&32767}if(Ct){Vn[hr++]=268435456|be[dt]<<18|a[Ct];var Hn=be[dt]&31,_n=a[Ct]&31;Sn+=he[Hn]+ve[_n],++ur[257+Hn],++Er[_n],Gt=tr+dt,++qn}else Vn[hr++]=ae[tr],++ur[ae[tr]]}}for(tr=Math.max(tr,Gt);tr=Ne&&(_e[mt/8|0]=at,Jn=Ne),mt=Et(_e,mt+1,ae.subarray(tr,Jn))}Se.i=Ne}return Oe(ke,0,ge+Pt(mt)+Ce)},Kn=null,Nt=function(){var ae=-1;return{p:function(te){for(var re=ae,ge=0;ge>>8;ae=re},d:function(){return~ae}}},zn=function(){var ae=1,te=0;return{p:function(re){for(var ge=ae,Ce=te,Se=re.length|0,Ne=0;Ne!=Se;){for(var ke=Math.min(Ne+2655,Se);Ne>16),Ce=(Ce&65535)+15*(Ce>>16)}ae=ge,te=Ce},d:function(){return ae%=65521,te%=65521,(ae&255)<<24|(ae&65280)<<8|(te&255)<<8|te>>8}}},$n=function(ae,te,re,ge,Ce){if(!Ce&&(Ce={l:1},te.dictionary)){var Se=te.dictionary.subarray(-32768),Ne=new nt(Se.length+ae.length);Ne.set(Se),Ne.set(ae,Se.length),ae=Ne,Ce.w=Se.length}return hn(ae,te.level==null?6:te.level,te.mem==null?Ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(ae.length)))*1.5):20:12+te.mem,re,ge,Ce)},He=function(ae,te){var re={};for(var ge in ae)re[ge]=ae[ge];for(var ge in te)re[ge]=te[ge];return re},$t=function(ae,te,re){for(var ge=ae(),Ce=ae.toString(),Se=Ce.slice(Ce.indexOf("[")+1,Ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ne=0;Ne>>0},Pn=function(ae,te){return Qt(ae,te)+Qt(ae,te+4)*4294967296},An=function(ae,te,re){for(;re;++te)ae[te]=re,re>>>=8},nr=function(ae,te){var re=te.filename;if(ae[0]=31,ae[1]=139,ae[2]=8,ae[8]=te.level<2?4:te.level==9?2:0,ae[9]=3,te.mtime!=0&&An(ae,4,Math.floor(new Date(te.mtime||Date.now())/1e3)),re){ae[3]=8;for(var ge=0;ge<=re.length;++ge)ae[ge+10]=re.charCodeAt(ge)}},cr=function(ae){(ae[0]!=31||ae[1]!=139||ae[2]!=8)&&At(6,"invalid gzip data");var te=ae[3],re=10;te&4&&(re+=(ae[10]|ae[11]<<8)+2);for(var ge=(te>>3&1)+(te>>4&1);ge>0;ge-=!ae[re++]);return re+(te&2)},Ar=function(ae){var te=ae.length;return(ae[te-4]|ae[te-3]<<8|ae[te-2]<<16|ae[te-1]<<24)>>>0},Nr=function(ae){return 10+(ae.filename?ae.filename.length+1:0)},Dr=function(ae,te){var re=te.level,ge=re==0?0:re<6?1:re==9?3:2;if(ae[0]=120,ae[1]=ge<<6|(te.dictionary&&32),ae[1]|=31-(ae[0]<<8|ae[1])%31,te.dictionary){var Ce=zn();Ce.p(te.dictionary),An(ae,2,Ce.d())}},oa=function(ae,te){return((ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31)&&At(6,"invalid zlib data"),(ae[1]>>5&1)==+!te&&At(6,"invalid zlib data: "+(ae[1]&32?"need":"unexpected")+" dictionary"),(ae[1]>>3&4)+2};function Aa(ae,te){return typeof ae=="function"&&(te=ae,ae={}),this.ondata=te,ae}var zr=null,Sr=null;function Qr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Vt(ae,te,[qe],function(ge){return wt(Gr(ge.data[0],ge.data[1]))},0,re)}function Gr(ae,te){return $n(ae,te||{},0,0)}var ma=null,Ja=null;function Yr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Vt(ae,te,[ye],function(ge){return wt(No(ge.data[0],lt(ge.data[1])))},1,re)}function No(ae,te){return It(ae,{i:2},te&&te.out,te&&te.dictionary)}var Mo=null,na=null;function mn(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Vt(ae,te,[qe,pt,function(){return[xi]}],function(ge){return wt(xi(ge.data[0],ge.data[1]))},2,re)}function xi(ae,te){te||(te={});var re=Nt(),ge=ae.length;re.p(ae);var Ce=$n(ae,te,Nr(te),8),Se=Ce.length;return nr(Ce,te),An(Ce,Se-8,re.d()),An(Ce,Se-4,ge),Ce}var gi=null,ui=null;function Ui(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Vt(ae,te,[ye,Me,function(){return[Io]}],function(ge){return wt(Io(ge.data[0],ge.data[1]))},3,re)}function Io(ae,te){var re=cr(ae);return re+8>ae.length&&At(6,"invalid gzip data"),It(ae.subarray(re,-8),{i:2},te&&te.out||new nt(Ar(ae)),te&&te.dictionary)}var Xi=null,pi=null;function ai(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Vt(ae,te,[qe,Je,function(){return[In]}],function(ge){return wt(In(ge.data[0],ge.data[1]))},4,re)}function In(ae,te){te||(te={});var re=zn();re.p(ae);var ge=$n(ae,te,te.dictionary?6:2,4);return Dr(ge,te),An(ge,ge.length-4,re.d()),ge}var Mn=null,wn=null;function Or(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Vt(ae,te,[ye,jt,function(){return[sa]}],function(ge){return wt(sa(ge.data[0],lt(ge.data[1])))},5,re)}function sa(ae,te){return It(ae.subarray(oa(ae,te&&te.dictionary),-4),{i:2},te&&te.out,te&&te.dictionary)}var Ir=null,ga=null;function Ia(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),ae[0]==31&&ae[1]==139&&ae[2]==8?Ui(ae,te,re):(ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31?Yr(ae,te,re):Or(ae,te,re)}function Ca(ae,te){return ae[0]==31&&ae[1]==139&&ae[2]==8?Io(ae,te):(ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31?No(ae,te):sa(ae,te)}var to=function(ae,te,re,ge){for(var Ce in ae){var Se=ae[Ce],Ne=te+Ce,ke=ge;Array.isArray(Se)&&(ke=He(ge,Se[1]),Se=Se[0]),Se instanceof nt?re[Ne]=[Se,ke]:(re[Ne+="/"]=[new nt(0),ke],to(Se,Ne,re,ge))}},ci=typeof TextEncoder!="undefined"&&new TextEncoder,wr=typeof TextDecoder!="undefined"&&new TextDecoder,Ua=0;try{wr.decode(jn,{stream:!0}),Ua=1}catch(ae){}var oi=function(ae){for(var te="",re=0;;){var ge=ae[re++],Ce=(ge>127)+(ge>223)+(ge>239);if(re+Ce>ae.length)return{s:te,r:Oe(ae,re-1)};Ce?Ce==3?(ge=((ge&15)<<18|(ae[re++]&63)<<12|(ae[re++]&63)<<6|ae[re++]&63)-65536,te+=String.fromCharCode(55296|ge>>10,56320|ge&1023)):Ce&1?te+=String.fromCharCode((ge&31)<<6|ae[re++]&63):te+=String.fromCharCode((ge&15)<<12|(ae[re++]&63)<<6|ae[re++]&63):te+=String.fromCharCode(ge)}},Do=null,Go=null;function co(ae,te){if(te){for(var re=new nt(ae.length),ge=0;ge>1)),Ne=0,ke=function(mt){Se[Ne++]=mt},ge=0;geSe.length){var _e=new nt(Ne+8+(Ce-ge<<1));_e.set(Se),Se=_e}var at=ae.charCodeAt(ge);at<128||te?ke(at):at<2048?(ke(192|at>>6),ke(128|at&63)):at>55295&&at<57344?(at=65536+(at&1047552)|ae.charCodeAt(++ge)&1023,ke(240|at>>18),ke(128|at>>12&63),ke(128|at>>6&63),ke(128|at&63)):(ke(224|at>>12),ke(128|at>>6&63),ke(128|at&63))}return Oe(Se,0,Ne)}function yi(ae,te){if(te){for(var re="",ge=0;ge65535&&At(9),te+=ge+4}return te},AA=function(ae,te,re,ge,Ce,Se,Ne,ke){var _e=ge.length,at=re.extra,mt=ke&&ke.length,vt=To(at);An(ae,te,Ne!=null?33639248:67324752),te+=4,Ne!=null&&(ae[te++]=20,ae[te++]=re.os),ae[te]=20,te+=2,ae[te++]=re.flag<<1|(Se<0&&8),ae[te++]=Ce&&8,ae[te++]=re.compression&255,ae[te++]=re.compression>>8;var Ut=new Date(re.mtime==null?Date.now():re.mtime),$e=Ut.getFullYear()-1980;if(($e<0||$e>119)&&At(10),An(ae,te,$e<<25|Ut.getMonth()+1<<21|Ut.getDate()<<16|Ut.getHours()<<11|Ut.getMinutes()<<5|Ut.getSeconds()>>1),te+=4,Se!=-1&&(An(ae,te,re.crc),An(ae,te+4,Se<0?-Se-2:Se),An(ae,te+8,re.size)),An(ae,te+12,_e),An(ae,te+14,vt),te+=16,Ne!=null&&(An(ae,te,mt),An(ae,te+6,re.attrs),An(ae,te+10,Ne),te+=14),ae.set(ge,te),te+=_e,vt)for(var sn in at){var Yt=at[sn],ln=Yt.length;An(ae,te,+sn),An(ae,te+2,ln),ae.set(Yt,te+4),te+=4+ln}return mt&&(ae.set(ke,te),te+=mt),te},XA=function(ae,te,re,ge,Ce){An(ae,te,101010256),An(ae,te+8,re),An(ae,te+10,re),An(ae,te+12,ge),An(ae,te+16,Ce)},Gi=null,br=null,Gl=null,Fs=null;function xs(ae,te,re){re||(re=te,te={}),typeof re!="function"&&At(7);var ge={};to(ae,"",ge,te);var Ce=Object.keys(ge),Se=Ce.length,Ne=0,ke=0,_e=Se,at=new Array(Se),mt=[],vt=function(){for(var ln=0;ln65535&&De(At(11,0,1),null),!Un)De(null,Qn);else if(Er<16e4)try{De(null,Gr(Qn,Vn))}catch(ze){De(ze,null)}else mt.push(Qr(Qn,Vn,De))},Yt=0;Yt<_e;++Yt)sn(Yt);return vt}function JA(ae,te){te||(te={});var re={},ge=[];to(ae,"",re,te);var Ce=0,Se=0;for(var Ne in re){var ke=re[Ne],_e=ke[0],at=ke[1],mt=at.level==0?0:8,vt=co(Ne),Ut=vt.length,$e=at.comment,sn=$e&&co($e),Yt=sn&&sn.length,ln=To(at.extra);Ut>65535&&At(11);var Ht=mt?Gr(_e,at):_e,un=Ht.length,Qn=Nt();Qn.p(_e),ge.push(He(at,{size:_e.length,crc:Qn.d(),c:Ht,f:vt,m:sn,u:Ut!=Ne.length||sn&&$e.length!=Yt,o:Ce,compression:mt})),Ce+=30+Ut+ln+un,Se+=76+2*(Ut+ln)+(Yt||0)+un}for(var Vn=new nt(Se+22),ur=Ce,Er=Se-Ce,qn=0;qn65558)return Ne(At(13,0,1),null),Ce;var _e=dn(ae,ke+8);if(_e){var at=_e,mt=Qt(ae,ke+16),vt=mt==4294967295||at==65535;if(vt){var Ut=Qt(ae,ke-12);vt=Qt(ae,Ut)==101075792,vt&&(at=_e=Qt(ae,Ut+32),mt=Qt(ae,Ut+48))}for(var $e=te&&te.filter,sn=function(ln){var Ht=dA(ae,mt,vt),un=Ht[0],Qn=Ht[1],Vn=Ht[2],ur=Ht[3],Er=Ht[4],qn=Ht[5],Sn=Li(ae,qn);mt=Er;var tr=function(Gt,qt){Gt?(Ce(),Ne(Gt,null)):(qt&&(Se[ur]=qt),--_e||Ne(null,Se))};if(!$e||$e({name:ur,size:Qn,originalSize:Vn,compression:un}))if(!un)tr(null,Oe(ae,Sn,Sn+Qn));else if(un==8){var hr=ae.subarray(Sn,Sn+Qn);if(Vn<524288||Qn>.8*Vn)try{tr(null,No(hr,{out:new nt(Vn)}))}catch(Gt){tr(Gt,null)}else ge.push(Yr(hr,{size:Vn},tr))}else tr(At(14,"unknown compression type "+un,1),null);else tr(null,null)},Yt=0;Yt65558)&&At(13);var Ce=dn(ae,ge+8);if(!Ce)return{};var Se=Qt(ae,ge+16),Ne=Se==4294967295||Ce==65535;if(Ne){var ke=Qt(ae,ge-12);Ne=Qt(ae,ke)==101075792,Ne&&(Ce=Qt(ae,ke+32),Se=Qt(ae,ke+48))}for(var _e=te&&te.filter,at=0;at=200&&te.status<=299}function ms(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 ps,qA,jA=Fa.saveAs||((typeof window=="undefined"?"undefined":(0,pe.Z)(window))!=="object"||window!==Fa?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(ae,te,re){var ge=Fa.URL||Fa.webkitURL,Ce=document.createElement("a");te=te||ae.name||"download",Ce.download=te,Ce.rel="noopener",typeof ae=="string"?(Ce.href=ae,Ce.origin!==location.origin?ml(Ce.href)?Ba(ae,te,re):ms(Ce,Ce.target="_blank"):ms(Ce)):(Ce.href=ge.createObjectURL(ae),setTimeout(function(){ge.revokeObjectURL(Ce.href)},4e4),setTimeout(function(){ms(Ce)},0))}:"msSaveOrOpenBlob"in navigator?function(ae,te,re){if(te=te||ae.name||"download",typeof ae=="string")if(ml(ae))Ba(ae,te,re);else{var ge=document.createElement("a");ge.href=ae,ge.target="_blank",setTimeout(function(){ms(ge)})}else navigator.msSaveOrOpenBlob(function(Ce,Se){return Se===void 0?Se={autoBom:!1}:(0,pe.Z)(Se)!=="object"&&(Na.warn("Deprecated: Expected third argument to be a object"),Se={autoBom:!Se}),Se.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ce.type)?new Blob(["\uFEFF",Ce],{type:Ce.type}):Ce}(ae,re),te)}:function(ae,te,re,ge){if((ge=ge||open("","_blank"))&&(ge.document.title=ge.document.body.innerText="downloading..."),typeof ae=="string")return Ba(ae,te,re);var Ce=ae.type==="application/octet-stream",Se=/constructor/i.test(Fa.HTMLElement)||Fa.safari,Ne=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ne||Ce&&Se)&&(typeof FileReader=="undefined"?"undefined":(0,pe.Z)(FileReader))==="object"){var ke=new FileReader;ke.onloadend=function(){var mt=ke.result;mt=Ne?mt:mt.replace(/^data:[^;]*;/,"data:attachment/file;"),ge?ge.location.href=mt:location=mt,ge=null},ke.readAsDataURL(ae)}else{var _e=Fa.URL||Fa.webkitURL,at=_e.createObjectURL(ae);ge?ge.location=at:location.href=at,ge=null,setTimeout(function(){_e.revokeObjectURL(at)},4e4)}});function vs(ae){var te;ae=ae||"",this.ok=!1,ae.charAt(0)=="#"&&(ae=ae.substr(1,6)),ae={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[ae=(ae=ae.replace(/ /g,"")).toLowerCase()]||ae;for(var re=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ke){return[parseInt(ke[1]),parseInt(ke[2]),parseInt(ke[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ke){return[parseInt(ke[1],16),parseInt(ke[2],16),parseInt(ke[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ke){return[parseInt(ke[1]+ke[1],16),parseInt(ke[2]+ke[2],16),parseInt(ke[3]+ke[3],16)]}}],ge=0;ge255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ke=this.r.toString(16),_e=this.g.toString(16),at=this.b.toString(16);return ke.length==1&&(ke="0"+ke),_e.length==1&&(_e="0"+_e),at.length==1&&(at="0"+at),"#"+ke+_e+at}}function $A(ae,te){var re=ae[0],ge=ae[1],Ce=ae[2],Se=ae[3];re=Ii(re,ge,Ce,Se,te[0],7,-680876936),Se=Ii(Se,re,ge,Ce,te[1],12,-389564586),Ce=Ii(Ce,Se,re,ge,te[2],17,606105819),ge=Ii(ge,Ce,Se,re,te[3],22,-1044525330),re=Ii(re,ge,Ce,Se,te[4],7,-176418897),Se=Ii(Se,re,ge,Ce,te[5],12,1200080426),Ce=Ii(Ce,Se,re,ge,te[6],17,-1473231341),ge=Ii(ge,Ce,Se,re,te[7],22,-45705983),re=Ii(re,ge,Ce,Se,te[8],7,1770035416),Se=Ii(Se,re,ge,Ce,te[9],12,-1958414417),Ce=Ii(Ce,Se,re,ge,te[10],17,-42063),ge=Ii(ge,Ce,Se,re,te[11],22,-1990404162),re=Ii(re,ge,Ce,Se,te[12],7,1804603682),Se=Ii(Se,re,ge,Ce,te[13],12,-40341101),Ce=Ii(Ce,Se,re,ge,te[14],17,-1502002290),re=Xn(re,ge=Ii(ge,Ce,Se,re,te[15],22,1236535329),Ce,Se,te[1],5,-165796510),Se=Xn(Se,re,ge,Ce,te[6],9,-1069501632),Ce=Xn(Ce,Se,re,ge,te[11],14,643717713),ge=Xn(ge,Ce,Se,re,te[0],20,-373897302),re=Xn(re,ge,Ce,Se,te[5],5,-701558691),Se=Xn(Se,re,ge,Ce,te[10],9,38016083),Ce=Xn(Ce,Se,re,ge,te[15],14,-660478335),ge=Xn(ge,Ce,Se,re,te[4],20,-405537848),re=Xn(re,ge,Ce,Se,te[9],5,568446438),Se=Xn(Se,re,ge,Ce,te[14],9,-1019803690),Ce=Xn(Ce,Se,re,ge,te[3],14,-187363961),ge=Xn(ge,Ce,Se,re,te[8],20,1163531501),re=Xn(re,ge,Ce,Se,te[13],5,-1444681467),Se=Xn(Se,re,ge,Ce,te[2],9,-51403784),Ce=Xn(Ce,Se,re,ge,te[7],14,1735328473),re=Gn(re,ge=Xn(ge,Ce,Se,re,te[12],20,-1926607734),Ce,Se,te[5],4,-378558),Se=Gn(Se,re,ge,Ce,te[8],11,-2022574463),Ce=Gn(Ce,Se,re,ge,te[11],16,1839030562),ge=Gn(ge,Ce,Se,re,te[14],23,-35309556),re=Gn(re,ge,Ce,Se,te[1],4,-1530992060),Se=Gn(Se,re,ge,Ce,te[4],11,1272893353),Ce=Gn(Ce,Se,re,ge,te[7],16,-155497632),ge=Gn(ge,Ce,Se,re,te[10],23,-1094730640),re=Gn(re,ge,Ce,Se,te[13],4,681279174),Se=Gn(Se,re,ge,Ce,te[0],11,-358537222),Ce=Gn(Ce,Se,re,ge,te[3],16,-722521979),ge=Gn(ge,Ce,Se,re,te[6],23,76029189),re=Gn(re,ge,Ce,Se,te[9],4,-640364487),Se=Gn(Se,re,ge,Ce,te[12],11,-421815835),Ce=Gn(Ce,Se,re,ge,te[15],16,530742520),re=ir(re,ge=Gn(ge,Ce,Se,re,te[2],23,-995338651),Ce,Se,te[0],6,-198630844),Se=ir(Se,re,ge,Ce,te[7],10,1126891415),Ce=ir(Ce,Se,re,ge,te[14],15,-1416354905),ge=ir(ge,Ce,Se,re,te[5],21,-57434055),re=ir(re,ge,Ce,Se,te[12],6,1700485571),Se=ir(Se,re,ge,Ce,te[3],10,-1894986606),Ce=ir(Ce,Se,re,ge,te[10],15,-1051523),ge=ir(ge,Ce,Se,re,te[1],21,-2054922799),re=ir(re,ge,Ce,Se,te[8],6,1873313359),Se=ir(Se,re,ge,Ce,te[15],10,-30611744),Ce=ir(Ce,Se,re,ge,te[6],15,-1560198380),ge=ir(ge,Ce,Se,re,te[13],21,1309151649),re=ir(re,ge,Ce,Se,te[4],6,-145523070),Se=ir(Se,re,ge,Ce,te[11],10,-1120210379),Ce=ir(Ce,Se,re,ge,te[2],15,718787259),ge=ir(ge,Ce,Se,re,te[9],21,-343485551),ae[0]=Qa(re,ae[0]),ae[1]=Qa(ge,ae[1]),ae[2]=Qa(Ce,ae[2]),ae[3]=Qa(Se,ae[3])}function _A(ae,te,re,ge,Ce,Se){return te=Qa(Qa(te,ae),Qa(ge,Se)),Qa(te<>>32-Ce,re)}function Ii(ae,te,re,ge,Ce,Se,Ne){return _A(te&re|~te&ge,ae,te,Ce,Se,Ne)}function Xn(ae,te,re,ge,Ce,Se,Ne){return _A(te&ge|re&~ge,ae,te,Ce,Se,Ne)}function Gn(ae,te,re,ge,Ce,Se,Ne){return _A(te^re^ge,ae,te,Ce,Se,Ne)}function ir(ae,te,re,ge,Ce,Se,Ne){return _A(re^(te|~ge),ae,te,Ce,Se,Ne)}function _r(ae){var te,re=ae.length,ge=[1732584193,-271733879,-1732584194,271733878];for(te=64;te<=ae.length;te+=64)$A(ge,tn(ae.substring(te-64,te)));ae=ae.substring(te-64);var Ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(te=0;te>2]|=ae.charCodeAt(te)<<(te%4<<3);if(Ce[te>>2]|=128<<(te%4<<3),te>55)for($A(ge,Ce),te=0;te<16;te++)Ce[te]=0;return Ce[14]=8*re,$A(ge,Ce),ge}function tn(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}ps=Fa.atob.bind(Fa),qA=Fa.btoa.bind(Fa);var io="0123456789abcdef".split("");function kr(ae){for(var te="",re=0;re<4;re++)te+=io[ae>>8*re+4&15]+io[ae>>8*re&15];return te}function no(ae){return String.fromCharCode((255&ae)>>0,(65280&ae)>>8,(16711680&ae)>>16,(4278190080&ae)>>24)}function Da(ae){return _r(ae).map(no).join("")}var Qo=function(ae){for(var te=0;te>16)+(te>>16)+(re>>16)<<16|65535&re}return ae+te&4294967295}function Sa(ae,te){var re,ge,Ce,Se;if(ae!==re){for(var Ne=(Ce=ae,Se=1+(256/ae.length>>0),new Array(Se+1).join(Ce)),ke=[],_e=0;_e<256;_e++)ke[_e]=_e;var at=0;for(_e=0;_e<256;_e++){var mt=ke[_e];at=(at+mt+Ne.charCodeAt(_e))%256,ke[_e]=ke[at],ke[at]=mt}re=ae,ge=ke}else ke=ge;var vt=te.length,Ut=0,$e=0,sn="";for(_e=0;_e\x80/\f\xA9\xFEdSiz";var Se=(te+this.padding).substr(0,32),Ne=(re+this.padding).substr(0,32);this.O=this.processOwnerPassword(Se,Ne),this.P=-(1+(255^Ce)),this.encryptionKey=Da(Se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(ge)).substr(0,5),this.U=Sa(this.encryptionKey,this.padding)}function fi(ae){if(/[^\u0000-\u00ff]/.test(ae))throw new Error("Invalid PDF Name Object: "+ae+", Only accept ASCII characters.");for(var te="",re=ae.length,ge=0;ge126?te+="#"+("0"+Ce.toString(16)).slice(-2):te+=ae[ge]}return te}function Ma(ae){if((0,pe.Z)(ae)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var te={};this.subscribe=function(re,ge,Ce){if(Ce=Ce||!1,typeof re!="string"||typeof ge!="function"||typeof Ce!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");te.hasOwnProperty(re)||(te[re]={});var Se=Math.random().toString(35);return te[re][Se]=[ge,!!Ce],Se},this.unsubscribe=function(re){for(var ge in te)if(te[ge][re])return delete te[ge][re],Object.keys(te[ge]).length===0&&delete te[ge],!0;return!1},this.publish=function(re){if(te.hasOwnProperty(re)){var ge=Array.prototype.slice.call(arguments,1),Ce=[];for(var Se in te[re]){var Ne=te[re][Se];try{Ne[0].apply(ae,ge)}catch(ke){Fa.console&&Na.error("jsPDF PubSub Error",ke.message,ke)}Ne[1]&&Ce.push(Se)}Ce.length&&Ce.forEach(this.unsubscribe)}},this.getTopics=function(){return te}}function Xo(ae){if(!(this instanceof Xo))return new Xo(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 Ci(ae,te){this.gState=ae,this.matrix=te,this.id="",this.objectNumber=-1}function jr(ae,te,re,ge,Ce){if(!(this instanceof jr))return new jr(ae,te,re,ge,Ce);this.type=ae==="axial"?2:3,this.coords=te,this.colors=re,Ci.call(this,ge,Ce)}function xr(ae,te,re,ge,Ce){if(!(this instanceof xr))return new xr(ae,te,re,ge,Ce);this.boundingBox=ae,this.xStep=te,this.yStep=re,this.stream="",this.cloneIndex=0,Ci.call(this,ge,Ce)}function Mt(ae){var te,re=typeof arguments[0]=="string"?arguments[0]:"p",ge=arguments[1],Ce=arguments[2],Se=arguments[3],Ne=[],ke=1,_e=16,at="S",mt=null;(0,pe.Z)(ae=ae||{})==="object"&&(re=ae.orientation,ge=ae.unit||ge,Ce=ae.format||Ce,Se=ae.compress||ae.compressPdf||Se,(mt=ae.encryption||null)!==null&&(mt.userPassword=mt.userPassword||"",mt.ownerPassword=mt.ownerPassword||"",mt.userPermissions=mt.userPermissions||[]),ke=typeof ae.userUnit=="number"?Math.abs(ae.userUnit):1,ae.precision!==void 0&&(te=ae.precision),ae.floatPrecision!==void 0&&(_e=ae.floatPrecision),at=ae.defaultPathOperation||"S"),Ne=ae.filters||(Se===!0?["FlateEncode"]:Ne),ge=ge||"mm",re=(""+(re||"P")).toLowerCase();var vt=ae.putOnlyUsedFonts||!1,Ut={},$e={internal:{},__private__:{}};$e.__private__.PubSub=Ma;var sn="1.3",Yt=$e.__private__.getPdfVersion=function(){return sn};$e.__private__.setPdfVersion=function(xe){sn=xe};var ln={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};$e.__private__.getPageFormats=function(){return ln};var Ht=$e.__private__.getPageFormat=function(xe){return ln[xe]};Ce=Ce||"a4";var un={COMPAT:"compat",ADVANCED:"advanced"},Qn=un.COMPAT;function Vn(){this.saveGraphicsState(),_t(new Ea(Fr,0,0,-Fr,0,ll()*Fr).toString()+" cm"),this.setFontSize(this.getFontSize()/Fr),at="n",Qn=un.ADVANCED}function ur(){this.restoreGraphicsState(),at="S",Qn=un.COMPAT}var Er=$e.__private__.combineFontStyleAndFontWeight=function(xe,St){if(xe=="bold"&&St=="normal"||xe=="bold"&&St==400||xe=="normal"&&St=="italic"||xe=="bold"&&St=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return St&&(xe=St==400||St==="normal"?xe==="italic"?"italic":"normal":St!=700&&St!=="bold"||xe!=="normal"?(St==700?"bold":St)+""+xe:"bold"),xe};$e.advancedAPI=function(xe){var St=Qn===un.COMPAT;return St&&Vn.call(this),typeof xe!="function"||(xe(this),St&&ur.call(this)),this},$e.compatAPI=function(xe){var St=Qn===un.ADVANCED;return St&&ur.call(this),typeof xe!="function"||(xe(this),St&&Vn.call(this)),this},$e.isAdvancedAPI=function(){return Qn===un.ADVANCED};var qn,Sn=function(xe){if(Qn!==un.ADVANCED)throw new Error(xe+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},tr=$e.roundToPrecision=$e.__private__.roundToPrecision=function(xe,St){var cn=te||St;if(isNaN(xe)||isNaN(cn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return xe.toFixed(cn).replace(/0+$/,"")};qn=$e.hpf=$e.__private__.hpf=typeof _e=="number"?function(xe){if(isNaN(xe))throw new Error("Invalid argument passed to jsPDF.hpf");return tr(xe,_e)}:_e==="smart"?function(xe){if(isNaN(xe))throw new Error("Invalid argument passed to jsPDF.hpf");return tr(xe,xe>-1&&xe<1?16:5)}:function(xe){if(isNaN(xe))throw new Error("Invalid argument passed to jsPDF.hpf");return tr(xe,16)};var hr=$e.f2=$e.__private__.f2=function(xe){if(isNaN(xe))throw new Error("Invalid argument passed to jsPDF.f2");return tr(xe,2)},Gt=$e.__private__.f3=function(xe){if(isNaN(xe))throw new Error("Invalid argument passed to jsPDF.f3");return tr(xe,3)},qt=$e.scale=$e.__private__.scale=function(xe){if(isNaN(xe))throw new Error("Invalid argument passed to jsPDF.scale");return Qn===un.COMPAT?xe*Fr:Qn===un.ADVANCED?xe:void 0},Un=function(xe){return Qn===un.COMPAT?ll()-xe:Qn===un.ADVANCED?xe:void 0},De=function(xe){return qt(Un(xe))};$e.__private__.setPrecision=$e.setPrecision=function(xe){typeof parseInt(xe,10)=="number"&&(te=parseInt(xe,10))};var ze,et="00000000000000000000000000000000",ut=$e.__private__.getFileId=function(){return et},dt=$e.__private__.setFileId=function(xe){return et=xe!==void 0&&/^[a-fA-F0-9]{32}$/.test(xe)?xe.toUpperCase():et.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),mt!==null&&(xA=new ro(mt.userPermissions,mt.userPassword,mt.ownerPassword,et)),et};$e.setFileId=function(xe){return dt(xe),this},$e.getFileId=function(){return ut()};var Ct=$e.__private__.convertDateToPDFDate=function(xe){var St=xe.getTimezoneOffset(),cn=St<0?"+":"-",Ln=Math.floor(Math.abs(St/60)),Zn=Math.abs(St%60),fr=[cn,bt(Ln),"'",bt(Zn),"'"].join("");return["D:",xe.getFullYear(),bt(xe.getMonth()+1),bt(xe.getDate()),bt(xe.getHours()),bt(xe.getMinutes()),bt(xe.getSeconds()),fr].join("")},Rt=$e.__private__.convertPDFDateToDate=function(xe){var St=parseInt(xe.substr(2,4),10),cn=parseInt(xe.substr(6,2),10)-1,Ln=parseInt(xe.substr(8,2),10),Zn=parseInt(xe.substr(10,2),10),fr=parseInt(xe.substr(12,2),10),Tr=parseInt(xe.substr(14,2),10);return new Date(St,cn,Ln,Zn,fr,Tr,0)},rn=$e.__private__.setCreationDate=function(xe){var St;if(xe===void 0&&(xe=new Date),xe instanceof Date)St=Ct(xe);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(xe))throw new Error("Invalid argument passed to jsPDF.setCreationDate");St=xe}return ze=St},Xe=$e.__private__.getCreationDate=function(xe){var St=ze;return xe==="jsDate"&&(St=Rt(ze)),St};$e.setCreationDate=function(xe){return rn(xe),this},$e.getCreationDate=function(xe){return Xe(xe)};var ct,bt=$e.__private__.padd2=function(xe){return("0"+parseInt(xe)).slice(-2)},xt=$e.__private__.padd2Hex=function(xe){return("00"+(xe=xe.toString())).substr(xe.length)},Wt=0,nn=[],on=[],pn=0,Tn=[],Hn=[],_n=!1,Jn=on,yr=function(){Wt=0,pn=0,on=[],nn=[],Tn=[],eo=Wo(),Ho=Wo()};$e.__private__.setCustomOutputDestination=function(xe){_n=!0,Jn=xe};var On=function(xe){_n||(Jn=xe)};$e.__private__.resetCustomOutputDestination=function(){_n=!1,Jn=on};var _t=$e.__private__.out=function(xe){return xe=xe.toString(),pn+=xe.length+1,Jn.push(xe),Jn},Rr=$e.__private__.write=function(xe){return _t(arguments.length===1?xe.toString():Array.prototype.join.call(arguments," "))},Pr=$e.__private__.getArrayBuffer=function(xe){for(var St=xe.length,cn=new ArrayBuffer(St),Ln=new Uint8Array(cn);St--;)Ln[St]=xe.charCodeAt(St);return cn},Wn=[["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 Wn};var rr=ae.fontSize||16;$e.__private__.setFontSize=$e.setFontSize=function(xe){return rr=Qn===un.ADVANCED?xe/Fr:xe,this};var ar,Yn=$e.__private__.getFontSize=$e.getFontSize=function(){return Qn===un.COMPAT?rr:rr*Fr},gr=ae.R2L||!1;$e.__private__.setR2L=$e.setR2L=function(xe){return gr=xe,this},$e.__private__.getR2L=$e.getR2L=function(){return gr};var Ur,aa=$e.__private__.setZoomMode=function(xe){var St=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(xe))ar=xe;else if(isNaN(xe)){if(St.indexOf(xe)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+xe+'" is not recognized.');ar=xe}else ar=parseInt(xe,10)};$e.__private__.getZoomMode=function(){return ar};var Jr,Wr=$e.__private__.setPageMode=function(xe){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(xe)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+xe+'" is not recognized.');Ur=xe};$e.__private__.getPageMode=function(){return Ur};var ca=$e.__private__.setLayoutMode=function(xe){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(xe)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+xe+'" is not recognized.');Jr=xe};$e.__private__.getLayoutMode=function(){return Jr},$e.__private__.setDisplayMode=$e.setDisplayMode=function(xe,St,cn){return aa(xe),ca(St),Wr(cn),this};var qr={title:"",subject:"",author:"",keywords:"",creator:""};$e.__private__.getDocumentProperty=function(xe){if(Object.keys(qr).indexOf(xe)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return qr[xe]},$e.__private__.getDocumentProperties=function(){return qr},$e.__private__.setDocumentProperties=$e.setProperties=$e.setDocumentProperties=function(xe){for(var St in qr)qr.hasOwnProperty(St)&&xe[St]&&(qr[St]=xe[St]);return this},$e.__private__.setDocumentProperty=function(xe,St){if(Object.keys(qr).indexOf(xe)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return qr[xe]=St};var ba,Fr,Fo,Wa,Oa,so={},Ha={},jo=[],Ga={},tA={},Hr={},fa={},pa=null,Xr=0,la=[],Mr=new Ma($e),Ra=ae.hotfixes||[],Va={},oo={},bi=[],Ea=function xe(St,cn,Ln,Zn,fr,Tr){if(!(this instanceof xe))return new xe(St,cn,Ln,Zn,fr,Tr);isNaN(St)&&(St=1),isNaN(cn)&&(cn=0),isNaN(Ln)&&(Ln=0),isNaN(Zn)&&(Zn=1),isNaN(fr)&&(fr=0),isNaN(Tr)&&(Tr=0),this._matrix=[St,cn,Ln,Zn,fr,Tr]};Object.defineProperty(Ea.prototype,"sx",{get:function(){return this._matrix[0]},set:function(xe){this._matrix[0]=xe}}),Object.defineProperty(Ea.prototype,"shy",{get:function(){return this._matrix[1]},set:function(xe){this._matrix[1]=xe}}),Object.defineProperty(Ea.prototype,"shx",{get:function(){return this._matrix[2]},set:function(xe){this._matrix[2]=xe}}),Object.defineProperty(Ea.prototype,"sy",{get:function(){return this._matrix[3]},set:function(xe){this._matrix[3]=xe}}),Object.defineProperty(Ea.prototype,"tx",{get:function(){return this._matrix[4]},set:function(xe){this._matrix[4]=xe}}),Object.defineProperty(Ea.prototype,"ty",{get:function(){return this._matrix[5]},set:function(xe){this._matrix[5]=xe}}),Object.defineProperty(Ea.prototype,"a",{get:function(){return this._matrix[0]},set:function(xe){this._matrix[0]=xe}}),Object.defineProperty(Ea.prototype,"b",{get:function(){return this._matrix[1]},set:function(xe){this._matrix[1]=xe}}),Object.defineProperty(Ea.prototype,"c",{get:function(){return this._matrix[2]},set:function(xe){this._matrix[2]=xe}}),Object.defineProperty(Ea.prototype,"d",{get:function(){return this._matrix[3]},set:function(xe){this._matrix[3]=xe}}),Object.defineProperty(Ea.prototype,"e",{get:function(){return this._matrix[4]},set:function(xe){this._matrix[4]=xe}}),Object.defineProperty(Ea.prototype,"f",{get:function(){return this._matrix[5]},set:function(xe){this._matrix[5]=xe}}),Object.defineProperty(Ea.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ea.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ea.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ea.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Ea.prototype.join=function(xe){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(qn).join(xe)},Ea.prototype.multiply=function(xe){var St=xe.sx*this.sx+xe.shy*this.shx,cn=xe.sx*this.shy+xe.shy*this.sy,Ln=xe.shx*this.sx+xe.sy*this.shx,Zn=xe.shx*this.shy+xe.sy*this.sy,fr=xe.tx*this.sx+xe.ty*this.shx+this.tx,Tr=xe.tx*this.shy+xe.ty*this.sy+this.ty;return new Ea(St,cn,Ln,Zn,fr,Tr)},Ea.prototype.decompose=function(){var xe=this.sx,St=this.shy,cn=this.shx,Ln=this.sy,Zn=this.tx,fr=this.ty,Tr=Math.sqrt(xe*xe+St*St),wa=(xe/=Tr)*cn+(St/=Tr)*Ln;cn-=xe*wa,Ln-=St*wa;var qa=Math.sqrt(cn*cn+Ln*Ln);return wa/=qa,xe*(Ln/=qa)>16&255,Ln=qa>>8&255,Zn=255&qa}if(Ln===void 0||fr===void 0&&cn===Ln&&Ln===Zn)if(typeof cn=="string")St=cn+" "+Tr[0];else switch(xe.precision){case 2:St=hr(cn/255)+" "+Tr[0];break;case 3:default:St=Gt(cn/255)+" "+Tr[0]}else if(fr===void 0||(0,pe.Z)(fr)==="object"){if(fr&&!isNaN(fr.a)&&fr.a===0)return St=["1.","1.","1.",Tr[1]].join(" ");if(typeof cn=="string")St=[cn,Ln,Zn,Tr[1]].join(" ");else switch(xe.precision){case 2:St=[hr(cn/255),hr(Ln/255),hr(Zn/255),Tr[1]].join(" ");break;default:case 3:St=[Gt(cn/255),Gt(Ln/255),Gt(Zn/255),Tr[1]].join(" ")}}else if(typeof cn=="string")St=[cn,Ln,Zn,fr,Tr[2]].join(" ");else switch(xe.precision){case 2:St=[hr(cn),hr(Ln),hr(Zn),hr(fr),Tr[2]].join(" ");break;case 3:default:St=[Gt(cn),Gt(Ln),Gt(Zn),Gt(fr),Tr[2]].join(" ")}return St},Ya=$e.__private__.getFilters=function(){return Ne},Bi=$e.__private__.putStream=function(xe){var St=(xe=xe||{}).data||"",cn=xe.filters||Ya(),Ln=xe.alreadyAppliedFilters||[],Zn=xe.addLength1||!1,fr=St.length,Tr=xe.objectId,wa=function(zA){return zA};if(mt!==null&&Tr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");mt!==null&&(wa=xA.encryptor(Tr,0));var qa={};cn===!0&&(cn=["FlateEncode"]);var xo=xe.additionalKeyValues||[],Eo=(qa=Mt.API.processDataByFilters!==void 0?Mt.API.processDataByFilters(St,cn):{data:St,reverseChain:[]}).reverseChain+(Array.isArray(Ln)?Ln.join(" "):Ln.toString());if(qa.data.length!==0&&(xo.push({key:"Length",value:qa.data.length}),Zn===!0&&xo.push({key:"Length1",value:fr})),Eo.length!=0)if(Eo.split("/").length-1==1)xo.push({key:"Filter",value:Eo});else{xo.push({key:"Filter",value:"["+Eo+"]"});for(var $o=0;$o>"),qa.data.length!==0&&(_t("stream"),_t(wa(qa.data)),_t("endstream"))},Pi=$e.__private__.putPage=function(xe){var St=xe.number,cn=xe.data,Ln=xe.objId,Zn=xe.contentsObjId;pA(Ln,!0),_t("<>"),_t("endobj");var fr=cn.join(` `);return Qn===un.ADVANCED&&(fr+=` Q`),pA(Zn,!0),Bi({data:fr,filters:Ya(),objectId:Zn}),_t("endobj"),Ln},lA=$e.__private__.putPages=function(){var xe,St,cn=[];for(xe=1;xe<=Xr;xe++)la[xe].objId=Wo(),la[xe].contentsObjId=Wo();for(xe=1;xe<=Xr;xe++)cn.push(Pi({number:xe,data:Hn[xe],objId:la[xe].objId,contentsObjId:la[xe].contentsObjId,mediaBox:la[xe].mediaBox,cropBox:la[xe].cropBox,bleedBox:la[xe].bleedBox,trimBox:la[xe].trimBox,artBox:la[xe].artBox,userUnit:la[xe].userUnit,rootDictionaryObjId:eo,resourceDictionaryObjId:Ho}));pA(eo,!0),_t("<>"),_t("endobj"),Mr.publish("postPutPages")},rA=function(xe){Mr.publish("putFont",{font:xe,out:_t,newObject:Lr,putStream:Bi}),xe.isAlreadyPutted!==!0&&(xe.objectNumber=Lr(),_t("<<"),_t("/Type /Font"),_t("/BaseFont /"+fi(xe.postScriptName)),_t("/Subtype /Type1"),typeof xe.encoding=="string"&&_t("/Encoding /"+xe.encoding),_t("/FirstChar 32"),_t("/LastChar 255"),_t(">>"),_t("endobj"))},FA=function(){for(var xe in so)so.hasOwnProperty(xe)&&(vt===!1||vt===!0&&Ut.hasOwnProperty(xe))&&rA(so[xe])},ws=function(xe){xe.objectNumber=Lr();var St=[];St.push({key:"Type",value:"/XObject"}),St.push({key:"Subtype",value:"/Form"}),St.push({key:"BBox",value:"["+[qn(xe.x),qn(xe.y),qn(xe.x+xe.width),qn(xe.y+xe.height)].join(" ")+"]"}),St.push({key:"Matrix",value:"["+xe.matrix.toString()+"]"});var cn=xe.pages[1].join(` `);Bi({data:cn,additionalKeyValues:St,objectId:xe.objectNumber}),_t("endobj")},os=function(){for(var xe in Va)Va.hasOwnProperty(xe)&&ws(Va[xe])},RA=function(xe,St){var cn,Ln=[],Zn=1/(St-1);for(cn=0;cn<1;cn+=Zn)Ln.push(cn);if(Ln.push(1),xe[0].offset!=0){var fr={offset:0,color:xe[0].color};xe.unshift(fr)}if(xe[xe.length-1].offset!=1){var Tr={offset:1,color:xe[xe.length-1].color};xe.push(Tr)}for(var wa="",qa=0,xo=0;xoxe[qa+1].offset;)qa++;var Eo=xe[qa].offset,$o=(cn-Eo)/(xe[qa+1].offset-Eo),Ki=xe[qa].color,iA=xe[qa+1].color;wa+=xt(Math.round((1-$o)*Ki[0]+$o*iA[0]).toString(16))+xt(Math.round((1-$o)*Ki[1]+$o*iA[1]).toString(16))+xt(Math.round((1-$o)*Ki[2]+$o*iA[2]).toString(16))}return wa.trim()},QA=function(xe,St){St||(St=21);var cn=Lr(),Ln=RA(xe.colors,St),Zn=[];Zn.push({key:"FunctionType",value:"0"}),Zn.push({key:"Domain",value:"[0.0 1.0]"}),Zn.push({key:"Size",value:"["+St+"]"}),Zn.push({key:"BitsPerSample",value:"8"}),Zn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Zn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Bi({data:Ln,additionalKeyValues:Zn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:cn}),_t("endobj"),xe.objectNumber=Lr(),_t("<< /ShadingType "+xe.type),_t("/ColorSpace /DeviceRGB");var fr="/Coords ["+qn(parseFloat(xe.coords[0]))+" "+qn(parseFloat(xe.coords[1]))+" ";xe.type===2?fr+=qn(parseFloat(xe.coords[2]))+" "+qn(parseFloat(xe.coords[3])):fr+=qn(parseFloat(xe.coords[2]))+" "+qn(parseFloat(xe.coords[3]))+" "+qn(parseFloat(xe.coords[4]))+" "+qn(parseFloat(xe.coords[5])),_t(fr+="]"),xe.matrix&&_t("/Matrix ["+xe.matrix.toString()+"]"),_t("/Function "+cn+" 0 R"),_t("/Extend [true true]"),_t(">>"),_t("endobj")},uA=function(xe,St){var cn=Wo(),Ln=Lr();St.push({resourcesOid:cn,objectOid:Ln}),xe.objectNumber=Ln;var Zn=[];Zn.push({key:"Type",value:"/Pattern"}),Zn.push({key:"PatternType",value:"1"}),Zn.push({key:"PaintType",value:"1"}),Zn.push({key:"TilingType",value:"1"}),Zn.push({key:"BBox",value:"["+xe.boundingBox.map(qn).join(" ")+"]"}),Zn.push({key:"XStep",value:qn(xe.xStep)}),Zn.push({key:"YStep",value:qn(xe.yStep)}),Zn.push({key:"Resources",value:cn+" 0 R"}),xe.matrix&&Zn.push({key:"Matrix",value:"["+xe.matrix.toString()+"]"}),Bi({data:xe.stream,additionalKeyValues:Zn,objectId:xe.objectNumber}),_t("endobj")},Si=function(xe){var St;for(St in Ga)Ga.hasOwnProperty(St)&&(Ga[St]instanceof jr?QA(Ga[St]):Ga[St]instanceof xr&&uA(Ga[St],xe))},si=function(xe){for(var St in xe.objectNumber=Lr(),_t("<<"),xe)switch(St){case"opacity":_t("/ca "+hr(xe[St]));break;case"stroke-opacity":_t("/CA "+hr(xe[St]))}_t(">>"),_t("endobj")},Cs=function(){var xe;for(xe in Hr)Hr.hasOwnProperty(xe)&&si(Hr[xe])},Os=function(){for(var xe in _t("/XObject <<"),Va)Va.hasOwnProperty(xe)&&Va[xe].objectNumber>=0&&_t("/"+xe+" "+Va[xe].objectNumber+" 0 R");Mr.publish("putXobjectDict"),_t(">>")},Ws=function(){xA.oid=Lr(),_t("<<"),_t("/Filter /Standard"),_t("/V "+xA.v),_t("/R "+xA.r),_t("/U <"+xA.toHexString(xA.U)+">"),_t("/O <"+xA.toHexString(xA.O)+">"),_t("/P "+xA.P),_t(">>"),_t("endobj")},cs=function(){for(var xe in _t("/Font <<"),so)so.hasOwnProperty(xe)&&(vt===!1||vt===!0&&Ut.hasOwnProperty(xe))&&_t("/"+xe+" "+so[xe].objectNumber+" 0 R");_t(">>")},_l=function(){if(Object.keys(Ga).length>0){for(var xe in _t("/Shading <<"),Ga)Ga.hasOwnProperty(xe)&&Ga[xe]instanceof jr&&Ga[xe].objectNumber>=0&&_t("/"+xe+" "+Ga[xe].objectNumber+" 0 R");Mr.publish("putShadingPatternDict"),_t(">>")}},pl=function(xe){if(Object.keys(Ga).length>0){for(var St in _t("/Pattern <<"),Ga)Ga.hasOwnProperty(St)&&Ga[St]instanceof $e.TilingPattern&&Ga[St].objectNumber>=0&&Ga[St].objectNumber>")}},wo=function(){if(Object.keys(Hr).length>0){var xe;for(xe in _t("/ExtGState <<"),Hr)Hr.hasOwnProperty(xe)&&Hr[xe].objectNumber>=0&&_t("/"+xe+" "+Hr[xe].objectNumber+" 0 R");Mr.publish("putGStateDict"),_t(">>")}},Ao=function(xe){pA(xe.resourcesOid,!0),_t("<<"),_t("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),cs(),_l(),pl(xe.objectOid),wo(),Os(),_t(">>"),_t("endobj")},aA=function(){var xe=[];FA(),Cs(),os(),Si(xe),Mr.publish("putResources"),xe.forEach(Ao),Ao({resourcesOid:Ho,objectOid:Number.MAX_SAFE_INTEGER}),Mr.publish("postPutResources")},li=function(){Mr.publish("putAdditionalObjects");for(var xe=0;xe>8&&(qa=!0);xe=wa.join("")}for(cn=xe.length;qa===void 0&&cn!==0;)xe.charCodeAt(cn-1)>>8&&(qa=!0),cn--;if(!qa)return xe;for(wa=St.noBOM?[]:[254,255],cn=0,Ln=xe.length;cn>8)>>8)throw new Error("Character at position "+cn+" of string '"+xe+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");wa.push(Eo),wa.push(xo-(Eo<<8))}return String.fromCharCode.apply(void 0,wa)},MA=$e.__private__.pdfEscape=$e.pdfEscape=function(xe,St){return Al(xe,St).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Fl=$e.__private__.beginPage=function(xe){Hn[++Xr]=[],la[Xr]={objId:0,contentsObjId:0,userUnit:Number(ke),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(xe[0]),topRightY:Number(xe[1])}},vl(Xr),On(Hn[ct])},ou=function(xe,St){var cn,Ln,Zn;switch(re=St||re,typeof xe=="string"&&(cn=Ht(xe.toLowerCase()),Array.isArray(cn)&&(Ln=cn[0],Zn=cn[1])),Array.isArray(xe)&&(Ln=xe[0]*Fr,Zn=xe[1]*Fr),isNaN(Ln)&&(Ln=Ce[0],Zn=Ce[1]),(Ln>14400||Zn>14400)&&(Na.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Ln=Math.min(14400,Ln),Zn=Math.min(14400,Zn)),Ce=[Ln,Zn],re.substr(0,1)){case"l":Zn>Ln&&(Ce=[Zn,Ln]);break;case"p":Ln>Zn&&(Ce=[Zn,Ln])}Fl(Ce),Ts(Zo),_t(Ys),ec!==0&&_t(ec+" J"),tc!==0&&_t(tc+" j"),Mr.publish("addPage",{pageNumber:Xr})},Eu=function(xe){xe>0&&xe<=Xr&&(Hn.splice(xe,1),la.splice(xe,1),Xr--,ct>Xr&&(ct=Xr),this.setPage(ct))},vl=function(xe){xe>0&&xe<=Xr&&(ct=xe)},Zs=$e.__private__.getNumberOfPages=$e.getNumberOfPages=function(){return Hn.length-1},xl=function(xe,St,cn){var Ln,Zn=void 0;return cn=cn||{},xe=xe!==void 0?xe:so[ba].fontName,St=St!==void 0?St:so[ba].fontStyle,Ln=xe.toLowerCase(),Ha[Ln]!==void 0&&Ha[Ln][St]!==void 0?Zn=Ha[Ln][St]:Ha[xe]!==void 0&&Ha[xe][St]!==void 0?Zn=Ha[xe][St]:cn.disableWarning===!1&&Na.warn("Unable to look up font label for font '"+xe+"', '"+St+"'. Refer to getFontList() for available fonts."),Zn||cn.noFallback||(Zn=Ha.times[St])==null&&(Zn=Ha.times.normal),Zn},Pu=$e.__private__.putInfo=function(){var xe=Lr(),St=function(Ln){return Ln};for(var cn in mt!==null&&(St=xA.encryptor(xe,0)),_t("<<"),_t("/Producer ("+MA(St("jsPDF "+Mt.version))+")"),qr)qr.hasOwnProperty(cn)&&qr[cn]&&_t("/"+cn.substr(0,1).toUpperCase()+cn.substr(1)+" ("+MA(St(qr[cn]))+")");_t("/CreationDate ("+MA(St(ze))+")"),_t(">>"),_t("endobj")},Ll=$e.__private__.putCatalog=function(xe){var St=(xe=xe||{}).rootDictionaryObjId||eo;switch(Lr(),_t("<<"),_t("/Type /Catalog"),_t("/Pages "+St+" 0 R"),ar||(ar="fullwidth"),ar){case"fullwidth":_t("/OpenAction [3 0 R /FitH null]");break;case"fullheight":_t("/OpenAction [3 0 R /FitV null]");break;case"fullpage":_t("/OpenAction [3 0 R /Fit]");break;case"original":_t("/OpenAction [3 0 R /XYZ null null 1]");break;default:var cn=""+ar;cn.substr(cn.length-1)==="%"&&(ar=parseInt(ar)/100),typeof ar=="number"&&_t("/OpenAction [3 0 R /XYZ null null "+hr(ar)+"]")}switch(Jr||(Jr="continuous"),Jr){case"continuous":_t("/PageLayout /OneColumn");break;case"single":_t("/PageLayout /SinglePage");break;case"two":case"twoleft":_t("/PageLayout /TwoColumnLeft");break;case"tworight":_t("/PageLayout /TwoColumnRight")}Ur&&_t("/PageMode /"+Ur),Mr.publish("putCatalog"),_t(">>"),_t("endobj")},Fu=$e.__private__.putTrailer=function(){_t("trailer"),_t("<<"),_t("/Size "+(Wt+1)),_t("/Root "+Wt+" 0 R"),_t("/Info "+(Wt-1)+" 0 R"),mt!==null&&_t("/Encrypt "+xA.oid+" 0 R"),_t("/ID [ <"+et+"> <"+et+"> ]"),_t(">>")},iu=$e.__private__.putHeader=function(){_t("%PDF-"+sn),_t("%\xBA\xDF\xAC\xE0")},Bl=$e.__private__.putXRef=function(){var xe="0000000000";_t("xref"),_t("0 "+(Wt+1)),_t("0000000000 65535 f ");for(var St=1;St<=Wt;St++)typeof nn[St]=="function"?_t((xe+nn[St]()).slice(-10)+" 00000 n "):nn[St]!==void 0?_t((xe+nn[St]).slice(-10)+" 00000 n "):_t("0000000000 00000 n ")},Vs=$e.__private__.buildDocument=function(){yr(),On(on),Mr.publish("buildDocument"),iu(),lA(),li(),aA(),mt!==null&&Ws(),Pu(),Ll();var xe=pn;return Bl(),Fu(),_t("startxref"),_t(""+xe),_t("%%EOF"),On(Hn[ct]),on.join(` `)},Wl=$e.__private__.getBlob=function(xe){return new Blob([Pr(xe)],{type:"application/pdf"})},Il=$e.output=$e.__private__.output=BA(function(xe,St){switch(typeof(St=St||{})=="string"?St={filename:St}:St.filename=St.filename||"generated.pdf",xe){case void 0:return Vs();case"save":$e.save(St.filename);break;case"arraybuffer":return Pr(Vs());case"blob":return Wl(Vs());case"bloburi":case"bloburl":if(Fa.URL!==void 0&&typeof Fa.URL.createObjectURL=="function")return Fa.URL&&Fa.URL.createObjectURL(Wl(Vs()))||void 0;Na.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var cn="",Ln=Vs();try{cn=qA(Ln)}catch(iA){cn=qA(unescape(encodeURIComponent(Ln)))}return"data:application/pdf;filename="+St.filename+";base64,"+cn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Fa)==="[object Window]"){var Zn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",fr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';St.pdfObjectUrl&&(Zn=St.pdfObjectUrl,fr="");var Tr='