!(function(){var Q1=Object.defineProperty,k1=Object.defineProperties;var T1=Object.getOwnPropertyDescriptors;var vm=Object.getOwnPropertySymbols;var Iv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable;var bp=(Yt,Dt,Be)=>Dt in Yt?Q1(Yt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Yt[Dt]=Be,Mc=(Yt,Dt)=>{for(var Be in Dt||(Dt={}))Iv.call(Dt,Be)&&bp(Yt,Be,Dt[Be]);if(vm)for(var Be of vm(Dt))Nv.call(Dt,Be)&&bp(Yt,Be,Dt[Be]);return Yt},Cp=(Yt,Dt)=>k1(Yt,T1(Dt));var Dv=(Yt,Dt)=>{var Be={};for(var me in Yt)Iv.call(Yt,me)&&Dt.indexOf(me)<0&&(Be[me]=Yt[me]);if(Yt!=null&&vm)for(var me of vm(Yt))Dt.indexOf(me)<0&&Nv.call(Yt,me)&&(Be[me]=Yt[me]);return Be};var Bs=(Yt,Dt,Be)=>bp(Yt,typeof Dt!="symbol"?Dt+"":Dt,Be);(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},89489:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},59477:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},26227:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},49198:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},87169:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},52671:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},8657:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},56082:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},33853:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},15075:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},43531:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},38819:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},95869:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(ge,De){return Ce.createElement(ze.Z,(0,me.Z)({},ge,{ref:De,icon:rt}))},ve=Ce.forwardRef(je),we=ve},74501:function(Yt,Dt){"use strict";Dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},42287:function(){"use strict";function Yt(ie,y,a,ee){a===void 0&&(a=0),ee===void 0&&(ee=1/0),this._name=ie,this._defaultValue=y,this._minimum=a,this._maximum=ee}Object.defineProperty(Yt.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(Yt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(Yt.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(Yt.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,y){var a=go.Shape._FigureParameters[ie];return a?a[y]:null},go.Shape.setFigureParameter=function(ie,y,a){if(!(a instanceof Yt))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 ee=go.Shape._FigureParameters[ie];ee||(ee=[],go.Shape._FigureParameters[ie]=ee),ee[y]=a};var Dt=[];function Be(ie,y){var a=Dt.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function me(){var ie=Dt.pop();return ie===void 0?new go.Point:ie}function Ce(ie){Dt.push(ie)}function Me(ie,y,a,ee,E,te,ne,ae,de){de||(de=new go.Point);var Le=ie-a,Pe=E-ne,Ue=NaN,Ge=NaN;if(Le===0)if(Pe===0)ie===a&&(Ue=ie,Ge=y);else{var Ze=(te-ae)/Pe,tt=te-Ze*E;Ue=ie,Ge=Ze*Ue+tt}else if(Pe===0){var Te=(y-ee)/Le,pt=y-Te*ie;Ue=E,Ge=Te*Ue+pt}else{var Te=(y-ee)/Le,Ze=(te-ae)/Pe,pt=y-Te*ie,tt=te-Ze*E;Ue=(tt-pt)/(Te-Ze),Ge=Te*Ue+pt}return de.x=Ue,de.y=Ge,de}function rt(ie,y,a,ee,E,te,ne,ae,de,Le,Pe,Ue,Ge,Ze){var tt=1-de,Te=de,pt=ie*tt+a*Te,Qe=y*tt+ee*Te,Lt=a*tt+E*Te,it=ee*tt+te*Te,ot=E*tt+ne*Te,St=te*tt+ae*Te,lt=pt*tt+Lt*Te,vt=Qe*tt+it*Te,ut=Lt*tt+ot*Te,at=it*tt+St*Te,Kt=lt*tt+ut*Te,Vt=vt*tt+at*Te;Le.x=pt,Le.y=Qe,Pe.x=lt,Pe.y=vt,Ue.x=Kt,Ue.y=Vt,Ge.x=ut,Ge.y=at,Ze.x=ot,Ze.y=St}var ze=new go.Spot(.156,.156),je=new go.Spot(.844,.844),ve=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Yt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=5),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*ve,te=new go.Geometry().add(new go.PathFigure(ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-ee)).add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,ee,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()));return E>1&&(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,1,-E,-E)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=a/2,ee.endX=y,ee.endY=a/2,ee}),go.Shape.defineFigureGenerator("LineV",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y/2,ee.startY=0,ee.endX=y/2,ee.endY=a,ee}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,y,a){var ee=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ee*y,(1-ee)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,y,a){var ee=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ee,ee,ee,ee).close()));return E.spot1=ze,E.spot2=je,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Line2",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y,ee.startY=0,ee.endX=0,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Curve1",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,ve*y,0,y,(1-ve)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,ve*a,(1-ve)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,ve*a,ve*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-ve)*y,0,0,(1-ve)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Yt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=.1:ee<-1?ee=-1:ee>1&&(ee=1);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E.5&&(ee=.5);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E0&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ae,ae).close())),te.spot1=ze,te.spot2=je,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,y,a){var ee=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ee*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close())).setSpots(ee/2,ee/2,1-ee/2,1-ee/2)}),go.Shape.setFigureParameter("Pie",0,new Yt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Yt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var ee=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=0),isNaN(E)&&(E=315);var te=ee%360;te<0&&(te+=360);var ne=E%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,te,ne,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,y,a){var ee=ve/Math.SQRT2*.5,E=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,te*a,y,(1-ee)*a,(E+ee)*y,(te+ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Yt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;if((isNaN(ee)||ee<0)&&(ee=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var te=y/2,ne=a/2,ae=Math.atan2(a,y),de=ee-Math.min(Math.cos(ae)*ee/2,te),Le=ee-Math.min(Math.sin(ae)*ee/2,ne),E=new go.Geometry,Pe=new go.PathFigure(de,0,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-de,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,Le)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,a-Le)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-de,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,de,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a-Le)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,Le).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Yt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=new go.Geometry,te=new go.PathFigure(.1*y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Yt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Yt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.5);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-ee)*y,.25*a,Math.abs(1-ee)*y,.75*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,ve*y,0,y,(.5-ve/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+ve/2)*a,ve*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var te=.2,ne=.3,ae=0,de=te*ve;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+de+ae)*a,(.5-de+ne)*y,(.5+te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+de+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-de+ae)*a,(.5+de+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-de+ne)*y,(.5-te+ae)*a,(.5-te+ne+.05)*y,(.5-de+ae-.02)*a)),te=.2,ne=0,ae=-.3,de=te*ve,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+de+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-de+ae)*a,(.5+de+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-de+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+de+ae)*a,(.5-de+ne)*y,(.5+te+ae)*a)),te=.2,ne=-.3,ae=0,de=te*ve,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne-.05)*y,(.5-de+ae-.02)*a,(.5+de+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-de+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-de+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+de+ae)*a,(.5-de+ne)*y,(.5+te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+de+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+de+ae)*a).close()),ee.setSpots(.06,.33,.93,.68),ee}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var te=.1,ne=.5,ae=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ne+te)*y,ae*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*ae,te*y,te*y).close()),E=new go.PathFigure(y*.5,0,!1),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,E=new go.PathFigure((ne+te)*y,ae*a,!0),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*ae,te*y,te*y).close()),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Peace",function(ie,y,a){var ee=.8535533905932737,E=.5*y,te=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,te,E,te)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,ee*y,ee*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=.5,ne=.5,ae=.5,de=new go.PathFigure(ne*y,(ae-te)*a);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),te=.4,E=ve*.4;var Le=me(),Pe=me(),Ue=me(),Ge=me();rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.42,Le,Pe,Ue,Ge,Ge);var Ze=me(),tt=me(),Te=me();rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.58,Ge,Ge,Te,Ze,tt);var pt=me(),Qe=me(),Lt=me();rt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.42,pt,Qe,Lt,Ge,Ge);var it=me(),ot=me(),St=me();return rt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.58,Ge,Ge,St,it,ot),de.add(new go.PathSegment(go.PathSegment.Move,St.x*y,St.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,it.x*y,it.y*a,ot.x*y,ot.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*y,Ue.y*a,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a)),de.add(new go.PathSegment(go.PathSegment.Line,St.x*y,St.y*a).close()),de.add(new go.PathSegment(go.PathSegment.Move,Lt.x*y,Lt.y*a)),de.add(new go.PathSegment(go.PathSegment.Line,Te.x*y,Te.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Ze.x*y,Ze.y*a,tt.x*y,tt.y*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Lt.x*y,Lt.y*a,pt.x*y,pt.y*a,Qe.x*y,Qe.y*a).close()),Ce(Le),Ce(Pe),Ce(Ue),Ce(Ge),Ce(Ze),Ce(tt),Ce(Te),Ce(pt),Ce(Qe),Ce(Lt),Ce(it),Ce(ot),Ce(St),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Fragile",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Yt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30),ee>y&&(ee=y);var E=(y-ee)/2,te=E+ee;return new go.Geometry().add(new go.PathFigure(te,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,y,a){var ee=new go.Geometry,E=ve*.4,te=.4,ne=.5,ae=.5,de=me(),Le=me(),Pe=me(),Ue=me(),Ge=new go.PathFigure((ne-te)*y,ae*a,!1);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.44,Pe,Ue,Le,de,de),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a));var Ze=Be(Le.x,Le.y);rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.56,de,de,Le,Pe,Ue);var tt=Be(Le.x,Le.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Ze.x*.1+.95*.9)*y,Ze.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ze.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(tt.x*.1+.9)*y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(tt.x*.1+.9)*y,(tt.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,tt.x*y,tt.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),te=.35,E=ve*.35;var Te=new go.PathFigure(ne*y,(ae-te)*a,!1);ee.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a));var pt=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(pt),Ce(de),Ce(Le),Ce(Pe),Ce(Ue),Ce(Ze),Ce(tt),ee.spot1=new go.Spot(.202,.257),ee.spot2=new go.Spot(.792,.739),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,y,a){var ee=new go.Geometry,E=.375,te=0,ne=-.125,ae=E*ve,de=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+ae+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+ae+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-ae+ne)*a,(.5+ae+te)*y,(.5-E+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-ae+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+ae+ne)*a,(.5-ae+te)*y,(.5+E+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),de.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,te=0,ne=-.125,ae=E*ve;var de=new go.PathFigure((1-.5+E+te)*y,(.5+ne)*a,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+ae+ne)*a,(.5+ae+te)*y,(.5+E+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+ae+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-ae+ne)*a,(.5-ae+te)*y,(.5-E+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+ae+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-ae+ne)*a));var de=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);return ee.add(de),ee.spot1=new go.Spot(.232,.136),ee.spot2=new go.Spot(.682,.611),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*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,ee*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,y,a){var ee=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 ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Yt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Yt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=.3);var te=(1-ee)*y,ne=(.5-E/2)*a,ae=(.5+E/2)*a,de=new go.Geometry,Le=new go.PathFigure(0,ne,!0);de.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),Le.add(new go.PathSegment(go.PathSegment.Line,te,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,ae)),Le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),de.spot1=new go.Spot(0,ne/a);var Pe=Me(0,ae/a,1,ae/a,te/y,1,1,.5,me());return de.spot2=new go.Spot(Pe.x,Pe.y),Ce(Pe),de}),go.Shape.setFigureParameter("Arrow2",0,new Yt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Yt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=30),ee>y&&(ee=y);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var te=y-ee,ne=(a-E)/2,ae=ne+E,de=new go.Geometry,Le=new go.PathFigure(0,ne,!0);de.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),Le.add(new go.PathSegment(go.PathSegment.Line,te,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,ae)),Le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),de.spot1=new go.Spot(0,ne/a);var Pe=Me(0,ae/a,1,ae/a,te/y,1,1,.5,me());return de.spot2=new go.Spot(Pe.x,Pe.y),Ce(Pe),de}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),ee}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Yt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var de=Me(0,.5,.3,0,0,E/a,.1,E/a,me());return ne.spot1=new go.Spot(de.x,de.y),de=Me(.7,1,1,.5,0,te/a,1,te/a,de),ne.spot2=new go.Spot(de.x,de.y),Ce(de),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Yt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Yt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,ae=(a-E)/2,de=ae+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,ae=0,de=a):(te=0,ne=a,ae=0,de=a));var Le=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);Le.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,de)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,de)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var Ue=Me(0,.5,.3,ae/a,0,te/a,1,te/a,me());return Le.spot1=new go.Spot(Ue.x,Ue.y),Ue=Me(.7,de/a,1,.5,0,ne/a,1,ne/a,Ue),Le.spot2=new go.Spot(Ue.x,Ue.y),Ce(Ue),Le}),go.Shape.setFigureParameter("IBeamArrow",0,new Yt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,E/a);var de=Me(.7,1,1,.5,0,te/a,1,te/a,me());return ne.spot2=new go.Spot(de.x,de.y),Ce(de),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Yt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Yt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,ae=(a-E)/2,de=ae+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,ae=0,de=a):(te=0,ne=a,ae=0,de=a));var Le=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);Le.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,de)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,de)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,de)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,ae)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),Le.spot1=new go.Spot(0,te/a);var Ue=Me(.7,de/a,1,.5,0,ne/a,1,ne/a,me());return Le.spot2=new go.Spot(Ue.x,Ue.y),Ce(Ue),Le}),go.Shape.setFigureParameter("Pointer",0,new Yt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.1);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(ee,.35);var ne=Me(.2,.65,1,.65,0,1,1,.5,me());return E.spot2=new go.Spot(ne.x,ne.y),Ce(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Yt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E.spot1=new go.Spot(ee,.35);var ne=Me(0,.65,1,.65,0,1,1,.5,me());return E.spot2=new go.Spot(ne.x,ne.y),Ce(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Yt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.4);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var de=Me(.7,1,1,.5,0,te/a,1,te/a,me());return ne.spot2=new go.Spot(de.x,de.y),Ce(de),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Yt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=50);var E=(a-ee)/2,te=E+ee;ee>a&&(E=0,te=a);var ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,E/a);var de=Me(.7,1,1,.5,0,te/a,1,te/a,me());return ne.spot2=new go.Spot(de.x,de.y),Ce(de),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Yt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.7);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(ee,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=ve*.1,ne=new go.PathFigure(0,.9*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a).close()),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.97),ee}),go.Shape.defineFigureGenerator("Cone2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var te=new go.PathFigure(0,.9*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.82),ee}),go.Shape.defineFigureGenerator("Cube1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.5,.85),ee}),go.Shape.defineFigureGenerator("Cube2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var te=new go.PathFigure(0,.3*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.7,1),ee}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(0,ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ve*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,ee,(.5+te)*y,0,1*y,ve*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-ve*ee,(.5+te)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,1*a,0,a-ve*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee));var ae=new go.PathFigure(y,ee,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*ee,1*y,2*ee-ve*ee,(.5+te)*y,2*ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(.5-te)*y,2*ee,0,2*ee-ve*ee)),E.spot1=new go.Spot(0,0,0,2*ee),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(0,a-ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ve*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,(.5+te)*y,0,y,ve*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-ve*ee,(.5+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,a,0,a-ve*ee));var ae=new go.PathFigure(0,a-ee,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*ee,0,a-ee-ve*ee,(.5-te)*y,a-2*ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-ee,(.5+te)*y,a-2*ee,y,a-ee-ve*ee)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*ee),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-ve*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-ve*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ve*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,ve*ee,0));var ae=new go.PathFigure(ee,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*ee,.5*a,ee+ve*ee,0,2*ee,(.5-te)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee,a,2*ee,(.5+te)*a,ee+ve*ee,a)),E.spot1=new go.Spot(0,0,2*ee,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(y-ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-ve*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-ve*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ve*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,ve*ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0));var ae=new go.PathFigure(y-ee,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*ee,.5*a,y-ee-ve*ee,0,y-2*ee,(.5-te)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y-2*ee,(.5+te)*a,y-ee-ve*ee,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*ee,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.25*y,.25*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.408,.172),ee.spot2=new go.Spot(.833,.662),ee}),go.Shape.defineFigureGenerator("Prism2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Actor",function(ie,y,a){var ee=new go.Geometry,E=.2,te=.1,ne=ve*E,ae=ve*te,de=.5,Le=.1,Pe=new go.PathFigure(de*y,(Le+te)*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-E)*y,Le*a,(de-ne)*y,(Le+te)*a,(de-E)*y,(Le+ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-te)*a,(de-E)*y,(Le-ae)*a,(de-ne)*y,(Le-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+E)*y,Le*a,(de+ne)*y,(Le-te)*a,(de+E)*y,(Le-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+te)*a,(de+E)*y,(Le+ae)*a,(de+ne)*y,(Le+te)*a));var Ue=.05,Ge=ve*Ue;de=.05,Le=.25;var Ze=new go.PathFigure(.5*y,.2*a,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),de=.95,Le=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de+Ue)*y,Le*a,(de+Ge)*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Ue=.025,Ge=ve*Ue,de=.825,Le=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a,(de+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ue)*y,Le*a,(de-Ge)*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Ue=.05,Ge=ve*Ue,de=.5,Le=.7,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a,(de+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ue)*y,Le*a,(de-Ge)*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Ue=.025,Ge=ve*Ue,de=.175,Le=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de+Ue)*y,(Le-Ge)*a,(de+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ue)*y,Le*a,(de-Ge)*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ue=.05,Ge=ve*Ue,de=.05,Le=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-Ue)*a,(de-Ue)*y,(Le-Ge)*a,(de-Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),ee.spot1=new go.Spot(.2,.2),ee.spot2=new go.Spot(.8,.65),ee}),go.Shape.setFigureParameter("Card",0,new Yt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=new go.Spot(0,ee),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var te=new go.PathFigure(.5*y,.5*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,.25),ee}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=ve*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var ae=new go.PathFigure(y,.1*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+te)*a,(.5+E)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+te)*a)),ee.spot1=new go.Spot(0,.4),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("DataStorage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),ee.spot1=new go.Spot(.226,0),ee.spot2=new go.Spot(.81,1),ee}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=ve*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var ae=new go.PathFigure(y,.1*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("Display",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var te=ve*.2,ne=new go.PathFigure(0,.2*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-te)*a,(.2-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+te)*y,0,y,(.2-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+te)*a,(.8+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-te)*y,a,0,(.8+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,E*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(.1*y,.4*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("File",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.75*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Interrupt",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var te=new go.PathFigure(y,.5*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.1);var ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(E*y,0,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,te*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,te*a)),ee}),go.Shape.defineFigureGenerator("Junction",function(ie,y,a){var ee=new go.Geometry,E=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ne=ve*.5,ae=.5,de=new go.PathFigure(y,ae*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+ne)*a,(ae+ne)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-ne)*y,a,0,(ae+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-ne)*a,(ae-ne)*y,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+ne)*y,0,y,(ae-ne)*a));var Le=new go.PathFigure((te+E)*y,(te+E)*a,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,te*y,te*a)),Le.add(new go.PathSegment(go.PathSegment.Move,te*y,(te+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(te+E)*y,te*a)),ee}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var te=new go.PathFigure(.1*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),ee.spot1=new go.Spot(.1,0),ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=.5,ne=new go.PathFigure(.5*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*y,.9*a,y,(te+E)*a,(te+E)*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.15,.15),ee.spot2=new go.Spot(.85,.8),ee}),go.Shape.defineFigureGenerator("ManualInput",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.7);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var te=new go.PathFigure(.1*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.8,.77),ee}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var te=new go.PathFigure(.2*y,.1*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),ee.spot1=new go.Spot(0,.2),ee.spot2=new go.Spot(.8,1),ee}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=1-E,ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*E*y,E*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),ee}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("Or",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var ae=new go.PathFigure(y,.5*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee}),go.Shape.defineFigureGenerator("PaperTape",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=new go.Spot(0,.49),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Procedure",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-E)*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(0,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.5),ee}),go.Shape.defineFigureGenerator("Start",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(E*y,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ee.spot1=new go.Spot(E,0),ee.spot2=new go.Spot(1-E,1),ee}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),ee.spot1=new go.Spot(.23,0),ee.spot2=new go.Spot(.77,1),ee}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.55,1),ee}),go.Shape.defineFigureGenerator("Buffer",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Clock",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var ae=new go.PathFigure(y,te*a,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,te*a));var de=new go.PathFigure(.8*y,.75*a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),ee}),go.Shape.defineFigureGenerator("Ground",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),ee}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var ee=new go.Geometry,E=ve*.1,te=.1,ne=.9,ae=.5,de=new go.PathFigure(.8*y,.5*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var Le=new go.PathFigure((ne+te)*y,ae*a,!0);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae-te)*a,(ne+te)*y,(ae-E)*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.4,.75),ee}),go.Shape.defineFigureGenerator("NandGate",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=ve*.4,ne=ve*.1,ae=.1,de=.9,Le=.5,Pe=new go.PathFigure(.8*y,.5*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+te)*a,(.4+E)*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-te)*a));var Ue=new go.PathFigure((de+ae)*y,Le*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+ae)*a,(de+ae)*y,(Le+ne)*a,(de+ne)*y,(Le+ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y,Le*a,(de-ne)*y,(Le+ae)*a,(de-ae)*y,(Le+ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-ae)*a,(de-ae)*y,(Le-ne)*a,(de-ne)*y,(Le-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y,Le*a,(de+ne)*y,(Le-ae)*a,(de+ae)*y,(Le-ne)*a)),ee.spot1=new go.Spot(0,.05),ee.spot2=new go.Spot(.55,.95),ee}),go.Shape.defineFigureGenerator("NorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=ve*E,ne=0,ae=.5,de=new go.PathFigure(.8*y,.5*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(ae-E)*a,.7*y,(ae-te)*a)),E=.1,te=ve*.1,ne=.9,ae=.5;var Le=new go.PathFigure((ne-E)*y,ae*a,!0);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.6,.75),ee}),go.Shape.defineFigureGenerator("OrGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=ve*E,ne=0,ae=.5,de=new go.PathFigure(0,0,!0);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te+te)*y,(ae-E)*a,.8*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+te)*a,(ne+te+te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("XnorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=ve*E,ne=.2,ae=.5,de=new go.PathFigure(.1*y,0,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Le=new go.PathFigure(.8*y,.5*a,!0);ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(ae-E)*a,.7*y,(ae-te)*a)),E=.1,te=ve*.1,ne=.9,ae=.5;var Pe=new go.PathFigure((ne-E)*y,ae*a,!0);return ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.65,.75),ee}),go.Shape.defineFigureGenerator("XorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=ve*E,ne=.2,ae=.5,de=new go.PathFigure(.1*y,0,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Le=new go.PathFigure(.2*y,0,!0);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te)*y,(ae-E)*a,.9*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.8,.75),ee}),go.Shape.defineFigureGenerator("Capacitor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Inductor",function(ie,y,a){var ee=new go.Geometry,E=ve*.1,te=.1,ne=.1,ae=.5,de=new go.PathFigure((ne-E*.5)*y,a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E*.5)*y,a,(ne+te)*y,0,(ne+E)*y,a)),ee}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=.5,ne=.5,ae=.5,de=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae-te)*a,(ne+te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Move,(ne-te+.1)*y,ae*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-.1)*y,ae*a,ne*y,(ae-te)*a,ne*y,(ae+te)*a)),ee}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Wifi",function(ie,y,a){var ee=new go.Geometry,E=y,te=a;y=y*.38,a=a*.6;var ne=ve*.8,ae=.8,de=0,Le=.5,Pe=(E-y)/2,Ue=(te-a)/2,Ge=new go.PathFigure(de*y+Pe,(Le+ae)*a+Ue,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+Pe,Le*a+Ue,(de-ne)*y+Pe,(Le+ae)*a+Ue,(de-ae)*y+Pe,(Le+ne)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de-ae)*y+Pe,(Le-ne)*a+Ue,(de-ne)*y+Pe,(Le-ae)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae+ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le-ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le-ne)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le+ne)*a+Ue,de*y+Pe,(Le+ae)*a+Ue).close()),ne=ve*.4,ae=.4,de=.2,Le=.5;var Ze=new go.PathFigure(de*y+Pe,(Le+ae)*a+Ue,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+Pe,Le*a+Ue,(de-ne)*y+Pe,(Le+ae)*a+Ue,(de-ae)*y+Pe,(Le+ne)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de-ae)*y+Pe,(Le-ne)*a+Ue,(de-ne)*y+Pe,(Le-ae)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae+ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le-ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le-ne)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de-ae+ne*.5)*y+Pe,(Le+ne)*a+Ue,de*y+Pe,(Le+ae)*a+Ue).close()),ne=ve*.2,ae=.2,de=.5,Le=.5;var tt=new go.PathFigure((de-ae)*y+Pe,Le*a+Ue,!0);ee.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de-ae)*y+Pe,(Le-ne)*a+Ue,(de-ne)*y+Pe,(Le-ae)*a+Ue)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+Pe,Le*a+Ue,(de+ne)*y+Pe,(Le-ae)*a+Ue,(de+ae)*y+Pe,(Le-ne)*a+Ue)),tt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de+ae)*y+Pe,(Le+ne)*a+Ue,(de+ne)*y+Pe,(Le+ae)*a+Ue)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y+Pe,Le*a+Ue,(de-ne)*y+Pe,(Le+ae)*a+Ue,(de-ae)*y+Pe,(Le+ne)*a+Ue)),ne=ve*.4,ae=.4,de=.8,Le=.5;var Te=new go.PathFigure(de*y+Pe,(Le-ae)*a+Ue,!0);ee.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+Pe,Le*a+Ue,(de+ne)*y+Pe,(Le-ae)*a+Ue,(de+ae)*y+Pe,(Le-ne)*a+Ue)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de+ae)*y+Pe,(Le+ne)*a+Ue,(de+ne)*y+Pe,(Le+ae)*a+Ue)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae-ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le+ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le+ne)*a+Ue)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le-ne)*a+Ue,de*y+Pe,(Le-ae)*a+Ue).close()),ne=ve*.8,ae=.8,de=1,Le=.5;var pt=new go.PathFigure(de*y+Pe,(Le-ae)*a+Ue,!0);return ee.add(pt),pt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y+Pe,Le*a+Ue,(de+ne)*y+Pe,(Le-ae)*a+Ue,(de+ae)*y+Pe,(Le-ne)*a+Ue)),pt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le+ae)*a+Ue,(de+ae)*y+Pe,(Le+ne)*a+Ue,(de+ne)*y+Pe,(Le+ae)*a+Ue)),pt.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae-ne*.5)*y+Pe,Le*a+Ue,de*y+Pe,(Le+ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le+ne)*a+Ue)),pt.add(new go.PathSegment(go.PathSegment.Bezier,de*y+Pe,(Le-ae)*a+Ue,(de+ae-ne*.5)*y+Pe,(Le-ne)*a+Ue,de*y+Pe,(Le-ae)*a+Ue).close()),ee}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Ethernet",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var te=new go.PathFigure(.1*y,a,!0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ne=new go.PathFigure(.6*y,a,!0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Power",function(ie,y,a){var ee=new go.Geometry,E=ve*.4,te=.4,ne=.5,ae=.5,de=me(),Le=me(),Pe=me(),Ue=me();rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.5,de,de,Le,Pe,Ue);var Ge=Be(Le.x,Le.y),Ze=new go.PathFigure(Le.x*y,Le.y*a,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),rt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,de,de),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),E=ve*.3,te=.3,rt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,de,de),Ze.add(new go.PathSegment(go.PathSegment.Line,Le.x*y,Le.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.5,de,de,Le,Pe,Ue),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a).close());var Ze=new go.PathFigure(.45*y,0,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),Ce(de),Ce(Le),Ce(Pe),Ce(Ue),Ce(Ge),ee.spot1=new go.Spot(.25,.45),ee.spot2=new go.Spot(.75,.8),ee}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a/2,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function te(ne,ae,de){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+de)*a).close())}return te(E,0,0),te(E,.4,0),te(E,.2,-.3),ee}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),ee.spot1=new go.Spot(.3,.3),ee.spot2=new go.Spot(.7,.7),ee}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),ee}),go.Shape.defineFigureGenerator("FireHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),ee.spot1=new go.Spot(.07,.445),ee.spot2=new go.Spot(.884,.958),ee}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,y,a){var ee=new go.Geometry,E=.5,te=0,ne=0,ae=E*ve,de=.4*Math.SQRT2/2+.5,Le=.5-.5*Math.SQRT2/2,Pe=1,Ue=.5,Ge=.5,Ze=0,tt=new go.PathFigure(de*y,(1-Le)*a,!1);return ee.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Ue*a,Pe*y,.7*a,Pe*y,Ue*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+te)*y,(Ze+te)*a,(.5+E+te)*y,(.5-ae+te)*a,(.5+ae+te)*y,(.5-E+te)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-ae+ne)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*y,.9*a,(.5-E+te)*y,(.5+ae+ne)*a,(.5-ae+te)*y,.9*a)),tt.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*y,.8*a)),tt.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*y,.9*a)),tt.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*y,.95*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),ee}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var te=new go.PathFigure(.45*y,.73*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),te.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),te.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(.335*y,(1-.555)*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),te.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ne=.5-.285,ae=.5,de=ne,Le=Math.PI/4,Pe=4*(1-Math.cos(Le))/(3*Math.sin(Le)),Ue=Pe*.5,Ge=ne,Ze=ne,tt=Pe*Ge,Te=Pe*Ze;te.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ge)*y,de*a,(ae-(tt+Ge)/2)*y,(de+(Ze+Te)/2)*a,(ae-Ge)*y,(de+Te)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(de-Ze)*a,(ae-Ge)*y,(de-Te)*a,(ae-tt)*y,(de-Ze)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ge)*y,de*a,(ae+tt)*y,(de-Ze)*a,(ae+Ge)*y,(de-Te)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ge)*y,(de+Te)*a,(ae+(tt+Ge)/2)*y,(de+(Ze+Te)/2)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var pt=new go.PathFigure(.2*y,a,!1);ee.add(pt),pt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Qe=new go.PathFigure(.8*y,a,!1);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.2*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(.1*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Caution",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var te=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,te*y,te*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),ee}),go.Shape.defineFigureGenerator("Recycle",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var te=new go.PathFigure(.475*y,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),te.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ne=new go.PathFigure(.675*y,.575*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,y,a){var ee=new go.Geometry,E=.5,te=ve*.5,ne=new go.PathFigure(y,E*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+te)*a,(E+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-te)*y,a,0,(E+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-te)*a,(E-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+te)*y,0,y,(E-te)*a));var ae=new go.PathFigure(E*y,0,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Package",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,.15*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),ee.spot1=new go.Spot(0,.1),ee.spot2=new go.Spot(1,1),ee}),go.Shape.defineFigureGenerator("Class",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Component",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var te=new go.PathFigure(0,.2*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),ee}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var te=new go.PathFigure(.15*y,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(y,.8*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ne=.1,ae=ve*.1,de=.2,Le=.9,Pe=new go.PathFigure((de-ne)*y,Le*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-ne)*a,(de-ne)*y,(Le-ae)*a,(de-ae)*y,(Le-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ne)*y,Le*a,(de+ae)*y,(Le-ne)*a,(de+ne)*y,(Le-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+ne)*a,(de+ne)*y,(Le+ae)*a,(de+ae)*y,(Le+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ne)*y,Le*a,(de-ae)*y,(Le+ne)*a,(de-ne)*y,(Le+ae)*a).close()),ne=.1,ae=ve*.1,de=.8,Le=.9;var Ue=new go.PathFigure((de-ne)*y,Le*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le-ne)*a,(de-ne)*y,(Le-ae)*a,(de-ae)*y,(Le-ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de+ne)*y,Le*a,(de+ae)*y,(Le-ne)*a,(de+ne)*y,(Le-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(Le+ne)*a,(de+ne)*y,(Le+ae)*a,(de+ae)*y,(Le+ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(de-ne)*y,Le*a,(de-ae)*y,(Le+ne)*a,(de-ne)*y,(Le+ae)*a).close()),ee}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),ee}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*y,.8*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var de=.1,Le=ve*.1,Pe=.1,Ue=.9,Ge=new go.PathFigure((Pe-de)*y,Ue*a,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue-de)*a,(Pe-de)*y,(Ue-Le)*a,(Pe-Le)*y,(Ue-de)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+de)*y,Ue*a,(Pe+Le)*y,(Ue-de)*a,(Pe+de)*y,(Ue-Le)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue+de)*a,(Pe+de)*y,(Ue+Le)*a,(Pe+Le)*y,(Ue+de)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-de)*y,Ue*a,(Pe-Le)*y,(Ue+de)*a,(Pe-de)*y,(Ue+Le)*a)),de=.1,Le=ve*.1,Pe=.4,Ue=.9;var Ze=new go.PathFigure((Pe-de)*y,Ue*a,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue-de)*a,(Pe-de)*y,(Ue-Le)*a,(Pe-Le)*y,(Ue-de)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+de)*y,Ue*a,(Pe+Le)*y,(Ue-de)*a,(Pe+de)*y,(Ue-Le)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue+de)*a,(Pe+de)*y,(Ue+Le)*a,(Pe+Le)*y,(Ue+de)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-de)*y,Ue*a,(Pe-Le)*y,(Ue+de)*a,(Pe-de)*y,(Ue+Le)*a)),ee}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var te=new go.PathFigure(.45*y,.7*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var Pe=.05,Ue=ve*.05,Ge=.175,Ze=.95,ae=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.375,Ze=.95,de=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.625,Ze=.95,Le=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.825,Ze=.95,tt=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a).close());var Te=new go.PathFigure(0,a,!1);return ee.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Warehouse",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,de=ve*.05,Le=.35,Pe=.775,Ue=new go.PathFigure((Le-ae)*y,Pe*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Pe-ae)*a,(Le-ae)*y,(Pe-de)*a,(Le-de)*y,(Pe-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ae)*y,Pe*a,(Le+de)*y,(Pe-ae)*a,(Le+ae)*y,(Pe-de)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Pe+ae)*a,(Le+ae)*y,(Pe+de)*a,(Le+de)*y,(Pe+ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ae)*y,Pe*a,(Le-de)*y,(Pe+ae)*a,(Le-ae)*y,(Pe+de)*a).close()),ee}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),ee}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Globe",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),ee}),go.Shape.defineFigureGenerator("Wave",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Operator",function(ie,y,a){var ee=new go.Geometry,E=.3,te=ve*.3,ne=.5,ae=.7,de=new go.PathFigure((ne-E)*y,ae*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a));var Le=new go.PathFigure(0,.7*a,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),ee}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),ee}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var te=new go.PathFigure(0,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),ee}),go.Shape.defineFigureGenerator("Delete",function(ie,y,a){var ee=new go.Geometry,E=.5,te=ve*.5,ne=.5,ae=.5,de=new go.PathFigure((ne-E)*y,ae*a,!0);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a));var Le=new go.PathFigure(.15*y,.5*a,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Flag",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),ee}),go.Shape.defineFigureGenerator("Help",function(ie,y,a){var ee=new go.Geometry,E=.5,te=ve*.5,ne=.5,ae=.5,de=new go.PathFigure((ne-E)*y,ae*a,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a).close()),E=.05,te=ve*.05,ne=.5,ae=.8;var Le=new go.PathFigure((ne-E)*y,ae*a,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a).close()),Le.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),ee}),go.Shape.defineFigureGenerator("Location",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),ee}),go.Shape.defineFigureGenerator("Unlocked",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),ee}),go.Shape.defineFigureGenerator("Gear",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),ee}),go.Shape.defineFigureGenerator("Map",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),ee}),go.Shape.defineFigureGenerator("Eject",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var te=new go.PathFigure(0,a*.6,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),ee}),go.Shape.defineFigureGenerator("Pencil",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var te=new go.PathFigure(.126*y,.85*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ne=new go.PathFigure(.402*y,.85*a,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var de=new go.PathFigure(.5*y,.1*a,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),ee}),go.Shape.defineFigureGenerator("Staircase",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),ee}),go.Shape.defineFigureGenerator("5Bars",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var te=new go.PathFigure(y*.204,a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ne=new go.PathFigure(y*.408,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var de=new go.PathFigure(y*.816,a,!0);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),ee}),go.Shape.defineFigureGenerator("PC",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var te=new go.PathFigure(y*.055,.07*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ne=new go.PathFigure(y*.055,.13*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var de=new go.PathFigure(y*1,0,!0);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),de.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),ee}),go.Shape.defineFigureGenerator("Plane",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),ee}),go.Shape.defineFigureGenerator("Key",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),ee}),go.Shape.defineFigureGenerator("FilmTape",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(0,0,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ne=new go.PathFigure(y*.11,a*.1,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var de=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),ee}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,y,a){var ee=new go.Geometry,E=8,te=E*ve,ne=new go.PathFigure(E,0,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,te,te,0).close());var ae=new go.PathFigure(y*.83,0,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var de=new go.PathFigure(y*.83,a*1,!1);ee.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),de.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),de.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var Le=new go.PathFigure(y*.78,a*.05,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),Le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),Le.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),ee}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=15),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*ve,te=a*.8,ne=new go.Geometry,ae=new go.PathFigure(ee,0,!0);return ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y,te-ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,te,y,te-E,y-E,te)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,te)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,te)),ae.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,te-ee,E,te,0,te-E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()),E>1?(ne.spot1=new go.Spot(0,0,E,E),ne.spot2=new go.Spot(1,.8,-E,-E)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var te=new go.PathFigure(y*1,a*.55,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),ee}),go.Shape.defineFigureGenerator("Windows",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var te=new go.PathFigure(y*.1,a*.2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ne=new go.PathFigure(y*.28,a*.37,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),ee}),go.Shape.defineFigureGenerator("Beaker",function(ie,y,a){var ee=new go.Geometry,E=15,te=E*ve,ne=new go.PathFigure(y*.62,a*.475,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),te>1?(ee.spot1=new go.Spot(0,0,te,te),ee.spot2=new go.Spot(1,1,-te,-te)):(ee.spot1=go.Spot.TopLeft,ee.spot2=go.Spot.BottomRight),ee}),go.Shape.defineFigureGenerator("Download",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.4,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),ee}),go.Shape.defineFigureGenerator("Bin",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close()),ee}),go.Shape.defineFigureGenerator("Upload",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.5,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),ee}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),ee}),go.Shape.defineFigureGenerator("Drink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var te=new go.PathFigure(y*.235,a*.28,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),te.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),te.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),ee}),go.Shape.defineFigureGenerator("4Arrows",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),ee}),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")},84915: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 Yt={},Dt="5.0",Be={},me=null,Ce=!1,Me=!1,rt=null,ze=!1,je=null,ve=null,we=0;we4?parseFloat(mt):5};Yt.setHTML5Codebase=function(mt,Tt){ve=mt,at(mt,Tt)},Yt.setJavaCodebase=Yt.setJavaCodebaseVersion=Yt.isCompiledInstalled=Yt.setPreCompiledScriptPath=Yt.setPreCompiledResourcePath=function(){},Yt.setHTML5CodebaseVersion=function(mt,Tt){var wn=parseFloat(mt);if(wn!==NaN&&wn<5){console.log("The GeoGebra HTML5 codebase version "+wn+" is deprecated. Using version latest instead.");return}je=mt,ut(mt,Tt)},Yt.getHTML5CodebaseVersion=function(){return ie},Yt.getParameters=function(){return Be},Yt.setFontsCSSURL=function(mt){ne=mt},Yt.setGiacJSURL=function(mt){},Yt.setJNLPFile=function(mt){ge=mt},Yt.setJNLPBaseDir=function(mt){},Yt.inject=function(){function mt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Tt="auto",wn=Be.id,Qn,un=!1,Tn=0;Tn=5)return!0;var mt=Yt.getAppletObject();return mt&&typeof mt.recalculateEnvironments=="function"?(mt.recalculateEnvironments(),!0):!1},Yt.startAnimation=function(){var mt=Yt.getAppletObject();return mt&&typeof mt.startAnimation=="function"?(mt.startAnimation(),!0):!1},Yt.stopAnimation=function(){var mt=Yt.getAppletObject();return mt&&typeof mt.stopAnimation=="function"?(mt.stopAnimation(),!0):!1},Yt.getAppletObject=function(){var mt=Be.id!==void 0?Be.id:"ggbApplet";return window[mt]},Yt.resize=function(){};var tt=function(mt,Tt,wn){var Qn=document.createElement("param");Qn.setAttribute("name",Tt),Qn.setAttribute("value",wn),mt.appendChild(Qn)},Te=function(mt){return mt&&mt!=="false"},pt=function(mt,Tt,wn){de(ie)<=4.2&&(wn=!0);var Qn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Qn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var un=document.createElement("div");un.classList.add("appletParameters","notranslate");var Tn=Tt.width,Bt=Tt.height;if(Tt.disableAutoScale=Tt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Tt.disableAutoScale,Tt.width!==void 0)if(de(ie)<=4.4)Te(Tt.showToolBar)&&(Tt.height-=7),Te(Tt.showAlgebraInput)&&(Tt.height-=37),Tt.width<605&&Te(Tt.showToolBar)&&(Tt.width=605,Tn=605);else{var Rn=100;(Te(Tt.showToolBar)||Te(Tt.showMenuBar))&&(Tt.hasOwnProperty("customToolBar")&&(Tt.customToolbar=Tt.customToolBar),Rn=Te(Tt.showMenuBar)?245:155),Tn=5?(Tt.appletOnLoad=function(st){var Rt=mt.querySelector(".ggb_preview");Rt&&Rt.parentNode.removeChild(Rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(fn),window.GGBT_wsf_view&&$(window).trigger("resize"),Xe(st)},Fe||fn.appendChild(fe)):un.appendChild(fe),fn.appendChild(un),Fe||mt.appendChild(fn),setTimeout(function(){Yt.resize()},1)}else{var ce=document.createElement("div");ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.appendChild(un),mt.appendChild(ce),Tt.appletOnLoad=function(st){Yt.resize(),Xe(st)}}function Se(st,Rt){Rt&&typeof Rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(st,Rt.appletOnLoad):renderGGBElement(st),Kt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Rt)}function qe(st,Rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:st,params:Rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(hn){Se(hn.article,hn.params)}),html5AppletsToProcess=null)},de(ie)<5&&(st.className+=" geogebraweb")):Se(st,Rt)}if(Qn){scriptLoadStarted=!0;for(var dt=0;dt0?($n.remove(),fn.attr("id","fullscreencontent").show(),jQuery(Xe).append(fn),window.dispatchEvent(new Event("resize"))):pt($n,Tt,!1),window.GGBT_wsf_view.launchFullScreen(Xe)}else Ee=Qn,pt(mt,Tt,!1);if(!window.GGBT_wsf_view)for(Bt=0;Btmt/4*3&&($n=mt/4*3),Xe=$n/5.8,Rn.setAttribute("src",E),Rn.setAttribute("width",$n),Rn.setAttribute("height",Xe);var fn=(mt-$n)/2,Fe=(Tt-Xe)/2;Rn.style.left=fn+"px",Rn.style.top=Fe+"px",un.appendChild(Rn)}}return un.appendChild(Bt),un},lt=function(mt){return mt=mt.toLowerCase(),mt==="html5"||mt==="screenshot"?mt:"html5"},vt=["web","webSimple","web3d","tablet","tablet3d","phone"],ut=function(mt,Tt){if(ie=mt,Tt){at(ie,!0);return}var wn=!Ce;if(wn){var Qn=de(ie);!isNaN(Qn)&&Qn<4.4&&(wn=!1)}var un,Tn;window.location.protocol.substr(0,4)==="http"?un=window.location.protocol:un="http:";var Bt=ie.indexOf("//");Bt>0?Tn=ie:Bt===0?Tn=un+ie:Tn="https://www.geogebra.org/apps/5.2.814.0/";for(var Rn in vt)if(ie.slice(vt[Rn].length*-1)===vt[Rn]||ie.slice((vt[Rn].length+1)*-1)===vt[Rn]+"/"){at(Tn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&wn&&!me.is3D&&!me.AV&&!me.SV&&!me.CV&&!me.EV2&&!me.CP&&!me.PC&&!me.DA&&!me.FI&&!me.PV&&!Te(Be.showToolBar)&&!Te(Be.showMenuBar)&&!Te(Be.showAlgebraInput)&&!Te(Be.enableRightClick)&&(!Be.appName||Be.appName=="classic")?Tn+="webSimple/":Tn+="web3d/",at(Tn,!1)},at=function(mt,Tt){if(mt.requirejs){De=mt;return}mt.slice(-1)!=="/"&&(mt+="/"),De=mt,Tt===null&&(Tt=mt.indexOf("http")===-1),xe=Tt,y="web.nocache.js",a=!1;var wn=De.split("/");wn.length>1&&(!Tt&&wn[wn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):vt.indexOf(wn[wn.length-2])>=0&&(y=wn[wn.length-2]+".nocache.js")),wn=mt.split("/"),ie=wn[wn.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var Qn=parseFloat(ie);Qn!==NaN&&Qn<5&&mt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qn+" is deprecated. Using version latest instead."),ut("5.0",Tt))},Kt=function(mt,Tt){window.console&&window.console.log&&(!Tt||typeof Tt.showLogging=="undefined"||Tt.showLogging&&Tt.showLogging!=="false")&&console.log(mt)};Be.material_id!==void 0?Ue(Vt):Vt();function Vt(){var mt=Dt;je!==null?mt=je:parseFloat(mt)<5&&(mt="5.0"),ut(mt,!1),ve!==null&&at(ve,xe),ze=!0}return Yt},GGBAppletUtils=function(){"use strict";function Yt(){return window.GGBT_wsf_edit!==void 0}function Dt(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,ve,we,Ne,ge){var De=null;if(ge!=null&&ge!="")for(var xe=ze.parentNode;xe!=null;)if((" "+xe.className+" ").indexOf(" "+ge+" ")>-1){De=xe;break}else xe=xe.parentNode;var Ee=0,ie=0,y=0,a=0,ee=0,E=0,te=0;if(De)Ee=De.offsetWidth,ie=Math.max(we?De.offsetWidth:0,De.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ee):(Ee=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),ze){var ne=ze.getBoundingClientRect();ne.left>0&&ne.left<=Ee&&(Ne===void 0||!Ne)&&(document.dir==="rtl"?(ee=Ee-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,ee=y<=480?10:30),a=E+ee)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,te=40)}}return ze&&((ve===void 0||!ve)&&je>0&&je+a1&&(ge=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ge=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))Ne=me(ze,je,ge,ve,ze.scaleContainerClass);else return we;return ge&&(!ze.hasOwnProperty("scale")||we===1)?Ne:Math.min(we,Ne)}function Me(ze){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),we=ze.getBoundingClientRect(),Ne=(je-we.width)/2,ge=(ve-we.height)/2;ge<0&&(ge=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne<40?ze.style.left="40px":ze.style.left=Ne+"px",ze.style.top=ge+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ge<40?ze.style.top="40px":ze.style.top=ge+"px",ze.style.left=Ne+"px")}function rt(ze,je){var ve=ze.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var we=Ce(je,ze);Yt()&&ve.setAttribute("data-param-scale",we);for(var Ne=null,ge=0;ge=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(Yt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Yt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Yt){var Dt=c[Yt];return Dt==null?null:Dt},r=d,webModule.__errFn=e}function B(){function Yt(ze){var je=ze.lastIndexOf(rb);je==-1&&(je=ze.length);var ve=ze.indexOf(sb);ve==-1&&(ve=ze.length);var we=ze.lastIndexOf(tb,Math.min(ve,je));return we>=O?ze.substring(O,we+P):W}function Dt(ze){if(!ze.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=ze+vb,ze=Yt(je.src)}return ze}function Be(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function me(){for(var ze=o.getElementsByTagName(_),je=O;jeO?ze[ze.length-P].href:W}function Me(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var rt=Be();return rt==W&&(rt=me()),rt==W&&(rt=Ce()),rt==W&&Me()&&(rt=Yt(o.location.href)),rt=Dt(rt),rt}function C(Yt){return Yt.match(/^\//)||Yt.match(/^[a-zA-Z]+:\/\//)?Yt:webModule.__moduleBase+Yt}function D(){var Yt=[],Dt=O,Be=[],me=[];function Ce(ze){var je=me[ze](),ve=Be[ze];if(je in ve)return je;var we=[];for(var Ne in ve)we[ve[Ne]]=Ne;throw r&&r(ze,we,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]=Ce(je));return ze},webModule.__computePropValue=Ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Me;try{Me=Cb;var rt=Me.indexOf(Db);rt!=-1&&(Dt=parseInt(Me.substring(rt+P),$),Me=Me.substring(O,rt))}catch(ze){}return webModule.__softPermutationId=Dt,C(Me+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})()},23216:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Ax:function(){return rt},Ds:function(){return ze},KI:function(){return ve},SI:function(){return Me},f1:function(){return Ce}});var me=Be(14185);function Ce(we){let Ne=!0;if(we.length>0){for(let ge=0;geLe in de?De(de,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):de[Le]=Pe,a=(de,Le)=>{for(var Pe in Le||(Le={}))Ee.call(Le,Pe)&&y(de,Pe,Le[Pe]);if(xe)for(var Pe of xe(Le))ie.call(Le,Pe)&&y(de,Pe,Le[Pe]);return de};const ee=(de={})=>{var Le,Pe,Ue,Ge;let Ze=(Le=de==null?void 0:de.emotion)==null?void 0:Le.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),tt=(Pe=de==null?void 0:de.focus)==null?void 0:Pe.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Te=(Ue=de==null?void 0:de.action)==null?void 0:Ue.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),pt=(Ge=de==null?void 0:de.intention)==null?void 0:Ge.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ze||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:tt||[]},{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||[]}]},E=({className:de,dataSource:Le=[],col:Pe=4,right:Ue,bottom:Ge=23,precision:Ze=0,wrapWidth:tt=1200})=>{const Te=(Qe="",Lt,it="--")=>Qe?(Qe==null?void 0:Qe.length)>Lt?(Qe==null?void 0:Qe.slice(0,Lt-1))+"...":Qe:it,pt=Math.floor((tt-(Pe-1)*Ue)/Pe);return me.createElement("div",{className:rt()(Ce.list,de)},!!(Le!=null&&Le.length)&&(Le==null?void 0:Le.map((Qe,Lt)=>{const{cover_pic:it,created_at:ot,emotion:St,action:lt,intention:vt,focus:ut}=Qe;return me.createElement("div",{key:Lt,className:Ce.wrap,style:{width:pt,marginRight:(1+Lt)%Pe===0?0:Ue+Ze,marginBottom:Ge}},me.createElement("div",{className:Ce.img},me.createElement("img",{src:`${ge.Z.API_SERVER}${it}`}),me.createElement("div",{className:Ce.tips},me.createElement("div",null,me.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),me.createElement("span",null,ot))),me.createElement("div",{className:Ce.footer},me.createElement("ul",null,me.createElement("li",null,me.createElement("i",{className:"iconfont icon-biaoqing"}),me.createElement("span",null,"\u8868\u60C5\uFF1A",me.createElement(je.Z,{title:St},me.createElement("span",{className:"c-grey-333"},Te(St,4))))),me.createElement("li",null,me.createElement("i",{className:"iconfont icon-hangwei"}),me.createElement("span",null,"\u884C\u4E3A\uFF1A",me.createElement(je.Z,{title:lt},me.createElement("span",{className:"c-grey-333"},Te(lt,4)))))),me.createElement("ul",null,me.createElement("li",null,me.createElement("i",{className:"iconfont icon-yitu"}),me.createElement("span",null,"\u610F\u56FE\uFF1A",me.createElement(je.Z,{title:vt},me.createElement("span",{className:"c-grey-333"},Te(vt,4))))),me.createElement("li",null,me.createElement("i",{className:"iconfont icon-zhuangtai"}),me.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",me.createElement(je.Z,{title:ut},me.createElement("span",{className:"c-grey-333"},Te(ut,3))))))))})))},te=({className:de,style:Le,title:Pe,hideBar:Ue=!1,children:Ge,customText:Ze="",noDataText:tt="",emptyData:Te=[],loading:pt,actionAnalysis:Qe})=>{var Lt,it;const ot=((Lt=Te==null?void 0:Te[0])==null?void 0:Lt.every(lt=>{var vt;return!((vt=lt==null?void 0:lt.data)!=null&&vt.length)}))&&!((it=Te==null?void 0:Te[1])!=null&&it.length)||!Qe,St=Qe?tt:Ze;return me.createElement(ve.Z,{loading:pt,active:!0},ot&&me.createElement("div",{className:rt()(Ce.noData,de),style:Le},!!Pe&&me.createElement("div",{className:Ce.title},!Ue&&me.createElement("b",null),me.createElement("span",null,Pe)),me.createElement("div",{className:Ce.itemWrap},me.createElement(Ne.Z,{customText:St}))),!ot&&Ge)};var ae=({className:de,style:Le,data:Pe=[],title:Ue,hideBar:Ge=!1,loading:Ze=!1})=>me.createElement("div",{className:rt()(Ce.analysis,de),style:Le},!!Ue&&me.createElement("div",{className:Ce.title},!Ge&&me.createElement("b",null),me.createElement("span",null,Ue)),me.createElement(we.Z,{spinning:Ze},me.createElement("div",{className:Ce.itemWrap},Pe==null?void 0:Pe.map((tt,Te)=>me.createElement("div",{className:Ce.item,key:Te},me.createElement(ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:tt==null?void 0:tt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(pt){for(let Qe in tt==null?void 0:tt.data)if(pt==(tt==null?void 0:tt.data[Qe].name))return pt+" "+(tt==null?void 0:tt.data[Qe].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:tt==null?void 0:tt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:tt==null?void 0:tt.data}]},style:{height:145}}))))))},74410:function(Yt,Dt,Be){"use strict";var me=Be(86204),Ce=Be.n(me),Me=Object.defineProperty,rt=(we,Ne,ge)=>Ne in we?Me(we,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ge}):we[Ne]=ge,ze=(we,Ne,ge)=>rt(we,typeof Ne!="symbol"?Ne+"":Ne,ge),je=(we,Ne,ge)=>new Promise((De,xe)=>{var Ee=a=>{try{y(ge.next(a))}catch(ee){xe(ee)}},ie=a=>{try{y(ge.throw(a))}catch(ee){xe(ee)}},y=a=>a.done?De(a.value):Promise.resolve(a.value).then(Ee,ie);y((ge=ge.apply(we,Ne)).next())});class ve extends me.EventEmitter{constructor(Ne,ge){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=Ne,this.body=ge}startStream(){return je(this,null,function*(){this.controller=new AbortController;const{signal:Ne}=this.controller;try{const ge=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ne});if(!ge.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ge.status}`);const De=ge.headers.get("content-type");if(!De)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(De.includes("application/json")){const ie=yield ge.json();this.emit("error",ie);return}if(!De.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const xe=ge.body.getReader(),Ee=new TextDecoder("utf-8");for(;;){const{done:ie,value:y}=yield xe.read();if(ie)break;const a=Ee.decode(y,{stream:!0});this.buffer+=a;const ee=this.buffer.split(` `);this.buffer=ee.pop()||"";for(const E of ee)if(E.startsWith("data:")){const te=E.slice(5).trim();if(te==="[DONE]")break;try{const ne=JSON.parse(te);ne.data&&this.handleData(ne.data)}catch(ne){this.buffer=E+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ne)}}}this.emit("done",this.fullContent)}catch(ge){ge.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ge.message)}})}handleData(Ne){Ne.content&&(this.fullContent+=Ne.content,this.emit("data",{chunk:Ne,full:this.fullContent}))}cancelRequest(){var Ne;(Ne=this.controller)==null||Ne.abort()}}Dt.Z=ve},40254:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return De}});var me=Be(59301),Ce={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Me=Be(92310),rt=Be.n(Me),ze=Be(71418),je=Be(2859),ve=Be(49317),we=Be(76406),Ne=(xe,Ee,ie)=>new Promise((y,a)=>{var ee=ne=>{try{te(ie.next(ne))}catch(ae){a(ae)}},E=ne=>{try{te(ie.throw(ne))}catch(ae){a(ae)}},te=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(ee,E);te((ie=ie.apply(xe,Ee)).next())}),De=({data:xe,className:Ee,fullWidth:ie,style:y={},onClose:a,onOk:ee,showFullTools:E,noAssociationId:te})=>{const ne=(0,me.useRef)(null),ae=(0,me.useRef)(null),de=(0,me.useRef)(null),Le=(0,me.useRef)(null),[Pe,Ue]=(0,me.useState)(!1),[Ge,Ze]=(0,me.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,me.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),xe!=null&&xe.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",xe!=null&&xe.src&&tt()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[xe==null?void 0:xe.visible]);const tt=()=>Ne(void 0,null,function*(){Ue(!0),Ze("\u6B63\u5728\u52A0\u8F7D\u4E2D");const it=yield(0,we.ZJ)(xe==null?void 0:xe.src);ne.current.src="",ne.current.src=it,ne.current.onload=function(){Lt()},Ue(!1),Ze("")}),Te=()=>{document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",a()},pt=it=>Ne(void 0,null,function*(){Ue(!0),Ze("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ot=yield(0,ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:xe.title,file:it.dataUrl}});ot!=null&&ot.id&&!te?(yield(0,ve.ZP)(`/api/attachments/${xe.id}/add_subitem.json`,{method:"post",body:{subitem_id:ot==null?void 0:ot.id,settings:JSON.stringify(it.state)}})).status===0&&ee():ot!=null&&ot.id&&ee(ot),document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",Ue(!1),Ze("")}),Qe=()=>{const it=document.querySelector('a[href="https://markerjs.com/"]');it&&it.parentNode&&(it.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(St=>{const lt=document.querySelector(St.name);lt&<.setAttribute("title",St.title)})},Lt=()=>{ae.current=new je.hP(ne.current),ae.current.targetRoot=Le.current,ae.current.addEventListener("render",pt),ae.current.addEventListener("beforeclose",Te),E&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),xe!=null&&xe.snapshotData&&ae.current.restoreState(xe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return me.createElement(me.Fragment,null,(xe==null?void 0:xe.visible)&&me.createElement(ze.Z,{spinning:Pe,tip:Ge,style:{position:"absolute"}},me.createElement("div",{ref:Le,className:rt()(Ce.imageDimensions,Ee,ie?Ce.fullWidth:""),style:y},me.createElement("img",{className:Ce.img,ref:ne}))))}},9057:function(Yt,Dt,Be){"use strict";var me=Be(59301),Ce=Be(95237),Me=Be(43604),rt=Be(99313),ze=Be(3113),je=Be(67153),ve=Be(74501),we=Be(48136),Ne=Be(59301);const ge=(0,me.forwardRef)(({callback:De,showSaveButton:xe,value:Ee=""},ie)=>{const y=(0,me.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 "}]}]}],ee=[{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}`}]}]}],E=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},te=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ne.createElement(Ce.Z,{className:ve.Z.lists,gutter:[10,10]},a.map((ae,de)=>Ne.createElement(Me.Z,{flex:"110px",className:ve.Z.item},Ne.createElement("div",null,Ne.createElement(je.Z,{value:`$$${ae.value}$$`}),ae.name),Ne.createElement("div",{className:ve.Z.children},ae.children.map((Le,Pe)=>Ne.createElement("div",{key:Pe},Ne.createElement("h1",null,Le.name),Ne.createElement(Ce.Z,{gutter:[10,10]},Le.data.map((Ue,Ge)=>Ne.createElement(Me.Z,{key:Ge,onClick:()=>E(Ue),className:ve.Z.diamond},Ne.createElement(je.Z,{value:"`$$"+Ue.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ne.createElement(Ce.Z,{className:ve.Z.lists,gutter:[10,10]},ee.map((ae,de)=>Ne.createElement(Me.Z,{flex:"110px",className:ve.Z.item},Ne.createElement("div",null,Ne.createElement(je.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Ne.createElement("div",{className:ve.Z.children},ae.children.map((Le,Pe)=>Ne.createElement("div",{key:Pe},Le.name&&Ne.createElement("h1",null,Le.name),Ne.createElement(Ce.Z,{gutter:[10,10]},Le.data.map((Ue,Ge)=>Ne.createElement(Me.Z,{key:Ge,onClick:()=>E(Ue),className:ve.Z.diamond},Ne.createElement(je.Z,{value:"`$$"+Ue.value+"$$`"}))))))))))}],ne=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var de=ae.innerText;return De&&De(de),de};return(0,me.useImperativeHandle)(ie,()=>({getData:ne})),Ne.createElement("div",{className:ve.Z.mathWrap},Ne.createElement(rt.default,{defaultActiveKey:"1",items:te}),Ne.createElement("math-field",{locale:"zh_cn",className:ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ee||""),xe&&Ne.createElement("div",{className:ve.Z.button},Ne.createElement(ze.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Dt.Z=ge},28303:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return pt}});var me=Be(59301),Ce=Be(44283),Me=Be(43418),rt=Be(78241),ze=Be(8591),je=Be(71418),ve=Be(17574),we=Be(95237),Ne=Be(43604),ge=Be(6848),De=Be(92832),xe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Ee=Be(63392),ie=Be(32352),y=Be(90736),a=Be(28788),ee=Object.defineProperty,E=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,Le=(Qe,Lt,it)=>Lt in Qe?ee(Qe,Lt,{enumerable:!0,configurable:!0,writable:!0,value:it}):Qe[Lt]=it,Pe=(Qe,Lt)=>{for(var it in Lt||(Lt={}))ae.call(Lt,it)&&Le(Qe,it,Lt[it]);if(ne)for(var it of ne(Lt))de.call(Lt,it)&&Le(Qe,it,Lt[it]);return Qe},Ue=(Qe,Lt)=>E(Qe,te(Lt)),Ge=(Qe,Lt)=>{var it={};for(var ot in Qe)ae.call(Qe,ot)&&Lt.indexOf(ot)<0&&(it[ot]=Qe[ot]);if(Qe!=null&&ne)for(var ot of ne(Qe))Lt.indexOf(ot)<0&&de.call(Qe,ot)&&(it[ot]=Qe[ot]);return it},Ze=(Qe,Lt,it)=>new Promise((ot,St)=>{var lt=at=>{try{ut(it.next(at))}catch(Kt){St(Kt)}},vt=at=>{try{ut(it.throw(at))}catch(Kt){St(Kt)}},ut=at=>at.done?ot(at.value):Promise.resolve(at.value).then(lt,vt);ut((it=it.apply(Qe,Lt)).next())});const tt=(Qe=[])=>Qe==null?void 0:Qe.map(Lt=>Ue(Pe({},Lt),{title:(Lt==null?void 0:Lt.value)||"",key:Lt==null?void 0:Lt.id,isLeaf:!0})),Te=Qe=>{var Lt=Qe,{user:it,children:ot,isShowComponent:St=!0,ModalProps:lt={},onDataSelect:vt}=Lt,ut=Ge(Lt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[at,Kt]=Me.default.useModal(),[Vt]=rt.default.useForm(),[mt,Tt]=(0,me.useState)([]),[wn,Qn]=(0,me.useState)(!1),[un,Tn]=(0,me.useState)(!1),[,Bt,Rn,$n]=(0,Ee.U)(ie.qE,{page:1,limit:9999}),[,,Xe]=(0,Ee.U)(ie.V8,{}),[,,fn]=(0,Ee.U)(ie.B$,{}),[,,Fe]=(0,Ee.U)(ie.DH,{}),[,,fe]=(0,Ee.U)(ie.bJ,{}),ce=()=>{Qn(!1),Vt.resetFields(),Tn(!1)},Se=dt=>Ze(void 0,null,function*(){const{node:He,dragNode:Ye,event:Pt}=dt,gt=dt.node.pos.split("-"),st=dt.dropPosition-Number(gt[gt.length-1]);if(st==0){ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(st==1&&(Ye==null?void 0:Ye.item_index)==(He==null?void 0:He.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Rt=yield fe({id:Ye==null?void 0:Ye.key,position:st==-1?1:(Ye==null?void 0:Ye.item_index)>(He==null?void 0:He.item_index)?(He==null?void 0:He.item_index)+1:He==null?void 0:He.item_index});(Rt==null?void 0:Rt.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Rn({},!0))}),qe=dt=>Ze(void 0,null,function*(){let He={};un?He=yield fn(Pe({},dt)):He=yield Fe(Pe({},dt)),(He==null?void 0:He.status)==0&&(ze.ZP.success((He==null?void 0:He.message)||(un?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Rn({},!0),ce())});return(0,me.useEffect)(()=>{lt!=null&<.open&&Rn({},!0)},[lt==null?void 0:lt.open]),(0,me.useEffect)(()=>{var dt;Tt(tt((dt=$n==null?void 0:$n.data)==null?void 0:dt.list))},[$n]),St?me.createElement(me.Fragment,null,Kt,ot,me.createElement(Me.default,Pe({},Pe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},lt)),me.createElement(je.Z,{spinning:Bt},(mt==null?void 0:mt.length)>0?me.createElement(me.Fragment,null,me.createElement(ve.default.DirectoryTree,{height:500,className:xe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:vt,treeData:mt,onDrop:Se,titleRender:dt=>me.createElement(me.Fragment,null,me.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},dt==null?void 0:dt.title),me.createElement("div",{className:`${xe.EditDom}`},me.createElement(we.Z,{wrap:!1,align:"middle",gutter:16},me.createElement(Ne.Z,null,me.createElement(ge.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},me.createElement("i",{className:`iconfont icon-tuodong1 font12 ${xe.currentPrimary}`}))),me.createElement(Ne.Z,null,me.createElement(ge.Z,{title:"\u7F16\u8F91"},me.createElement("i",{className:`iconfont icon-bianji11 font12 ${xe.currentPrimary}`,onClick:He=>{He.stopPropagation(),Vt.setFieldsValue(Pe({},dt)),Qn(!0)}}))),me.createElement(Ne.Z,null,me.createElement(ge.Z,{title:"\u5220\u9664"},me.createElement("i",{className:`iconfont icon-shanchu14 font12 ${xe.currentDelete}`,onClick:He=>{He.stopPropagation(),at.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>Ze(void 0,null,function*(){const Ye=yield Xe({id:dt==null?void 0:dt.key});(Ye==null?void 0:Ye.status)==0&&(ze.ZP.success((Ye==null?void 0:Ye.message)||"\u5220\u9664\u6210\u529F"),Rn({},!0))})})}}))))))}),me.createElement(a.op,{className:"ml20 mt20",icon:me.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Tn(!0),Qn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):me.createElement(y.Z,{styles:{margin:"30px auto"},customText:me.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",me.createElement("a",{onClick:()=>{Tn(!0),Qn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),me.createElement(Me.default,{title:un?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:wn,okText:un?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{ce()},onOk:()=>{Vt.submit()}},me.createElement(rt.default,{form:Vt,onFinish:qe},un&&me.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"),me.createElement(rt.default.Item,{hidden:!0,name:"id"}),me.createElement(rt.default.Item,{className:"mt10",name:"value"},me.createElement(De.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var pt=(0,Ce.connect)(({loading:Qe,user:Lt})=>({user:Lt,loading:Qe.effects}))(Te)},28267:function(Yt,Dt,Be){"use strict";Be.d(Dt,{h:function(){return ae}});var me=Be(59301),Ce=Be(57809),Me=Be(78241),rt=Be(3113),ze=Be(89780),je=Be.n(ze),ve=Be(88319),we=Be(94896),Ne=Object.defineProperty,ge=Object.defineProperties,De=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(de,Le,Pe)=>Le in de?Ne(de,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):de[Le]=Pe,a=(de,Le)=>{for(var Pe in Le||(Le={}))Ee.call(Le,Pe)&&y(de,Pe,Le[Pe]);if(xe)for(var Pe of xe(Le))ie.call(Le,Pe)&&y(de,Pe,Le[Pe]);return de},ee=(de,Le)=>ge(de,De(Le));const E=Ce.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},ne={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"]};Dt.Z=({callback:de,onCancel:Le})=>{const[Pe,Ue]=(0,me.useState)("python");function Ge(tt){Ue(ne[tt][1])}function Ze(tt){de(tt)}return me.createElement(Me.default,ee(a({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ze,style:{width:500}}),me.createElement(Me.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},me.createElement(Ce.default,{getPopupContainer:tt=>tt.parentNode,onChange:Ge},Object.keys(ne).map(tt=>me.createElement(E,{key:tt,value:tt},ne[tt][0])))),me.createElement(Me.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},me.createElement(ae,{mode:Pe})),me.createElement("div",{className:"flex-container flex-end"},me.createElement(rt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),me.createElement(rt.ZP,{type:"ghost",onClick:Le},"\u53D6\u6D88")))};function ae({value:de,onChange:Le,mode:Pe,options:Ue={}}){const Ge=(0,me.useRef)(),[Ze,tt]=(0,me.useState)();return(0,me.useEffect)(()=>{if(Ze){let Te=function(pt){const Qe=pt.getValue();Le&&Le(Qe)};return Ze.on("change",Te),()=>{Ze.off("change",Te)}}},[Ze,Le]),(0,me.useEffect)(()=>{Ze&&Ze.setOption("mode",Pe)},[Ze,Pe]),(0,me.useEffect)(()=>{Ze&&(de!==Ze.getValue()||de==="")&&setTimeout(()=>{Ze.setValue(de||"")},300)},[Ze,de]),(0,me.useEffect)(()=>{if(Ge.current&&!Ze){const Te=je().fromTextArea(Ge.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ue));tt(Te)}},[Ge.current,Ze]),me.createElement("div",{className:"my-codemirror-container"},me.createElement("textarea",{ref:Ge}))}},18857:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return ai}});var me=Be(59301),Ce=Be(89780),Me=Be.n(Ce),rt=Be(76374),ze=Be(88319),je=Be(6313),ve=Be(25717),we=Be(99498),Ne=Be(25419),ge=Be(67549),De=Be(67153),xe=({value:Pn="",className:On,showTextOnly:dn,showLines:Qr,style:la={}})=>{const Dr=(0,me.useMemo)(()=>"",[Pn]);return me.createElement(me.Fragment,null,me.createElement("div",{dangerouslySetInnerHTML:{__html:Dr}}))},Ee=Be(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(Pn,On,dn)=>On in Pn?ie(Pn,On,{enumerable:!0,configurable:!0,writable:!0,value:dn}):Pn[On]=dn,ae=(Pn,On)=>{for(var dn in On||(On={}))E.call(On,dn)&&ne(Pn,dn,On[dn]);if(ee)for(var dn of ee(On))te.call(On,dn)&&ne(Pn,dn,On[dn]);return Pn},de=(Pn,On)=>y(Pn,a(On));let Le=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Pe({onActionCallback:Pn,title:On,icon:dn,actionName:Qr,className:la="",children:Dr}){function va(){Pn(Qr)}return Ee.createElement("a",{title:On,className:la,onClick:va},Ee.createElement("i",{className:`${dn}`}),Dr)}var Ue=({watch:Pn,showNullButton:On,showNullProgramButton:dn,onActionCallback:Qr,fullScreen:la,insertTemp:Dr,hidetoolBar:va,extraUse:Ha})=>{const xa=[...Le,{title:`${Pn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Pn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ee.createElement("ul",{className:"markdown-toolbar-container"},!va&&xa.map((So,Wi)=>Ee.createElement("li",{key:Wi},So.actionName?Ee.createElement(Pe,de(ae({},So),{onActionCallback:Qr})):Ee.createElement("span",{className:"v-line"}))),On?Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Qr},Ee.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dn?Ee.createElement(Ee.Fragment,null,Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Qr},Ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Qr},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Dr&&Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Dr}`,onActionCallback:Qr},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ha&&Ee.createElement("li",null,Ha),Ee.createElement("li",{className:"btn-full-screen"},Ee.createElement(Pe,{icon:`${la?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:la?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Qr})))},Ge=Be(88487),Ze=Be(78241),tt=Be(92832),Te=Be(3113),pt=Object.defineProperty,Qe=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,lt=(Pn,On,dn)=>On in Pn?pt(Pn,On,{enumerable:!0,configurable:!0,writable:!0,value:dn}):Pn[On]=dn,vt=(Pn,On)=>{for(var dn in On||(On={}))ot.call(On,dn)&<(Pn,dn,On[dn]);if(it)for(var dn of it(On))St.call(On,dn)&<(Pn,dn,On[dn]);return Pn},ut=(Pn,On)=>Qe(Pn,Lt(On));const at={labelCol:{span:4},wrapperCol:{span:20}};var Kt=({callback:Pn,onCancel:On})=>{function dn(Qr){Pn(Qr)}return me.createElement(Ze.default,ut(vt({},at),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dn,style:{width:500}}),me.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},me.createElement(tt.default,null)),me.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},me.createElement(tt.default,null)),me.createElement("div",{className:"flex-container flex-end"},me.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),me.createElement(Te.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},Vt=Be(28267),mt=Be(53332),Tt=Be(43418),wn=Be(95237),Qn=Be(40254),un=Be(59301),Tn=({callback:Pn,onCancel:On})=>{const dn=document.createElement("canvas"),Qr=dn.getContext("2d");dn.width=1e3,dn.height=800,Qr.fillStyle="#ffffff",Qr.fillRect(0,0,dn.width,dn.height);const la=dn.toDataURL("image/png");return un.createElement(Tt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},un.createElement(wn.Z,{style:{height:"100vh"}},un.createElement(Qn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:la,visible:!0,title:String(Date.now())},onOk:Dr=>{Pn({src:Dr.url})},onClose:On})))},Bt=Be(12378);function Rn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Rn,go.CommandHandler),Rn.prototype.canAlignSelection=function(){var Pn=this.diagram;return!(Pn===null||Pn.isReadOnly||Pn.isModelReadOnly||Pn.selection.count<2)},Rn.prototype.alignLeft=function(){var Pn=this.diagram;Pn.startTransaction("aligning left");var On=1/0;Pn.selection.each(function(dn){dn instanceof go.Link||(On=Math.min(dn.position.x,On))}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(On,dn.position.y))}),Pn.commitTransaction("aligning left")},Rn.prototype.alignRight=function(){var Pn=this.diagram;Pn.startTransaction("aligning right");var On=-1/0;Pn.selection.each(function(dn){if(!(dn instanceof go.Link)){var Qr=dn.actualBounds.x+dn.actualBounds.width;On=Math.max(Qr,On)}}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(On-dn.actualBounds.width,dn.position.y))}),Pn.commitTransaction("aligning right")},Rn.prototype.alignTop=function(){var Pn=this.diagram;Pn.startTransaction("alignTop");var On=1/0;Pn.selection.each(function(dn){dn instanceof go.Link||(On=Math.min(dn.position.y,On))}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(dn.position.x,On))}),Pn.commitTransaction("alignTop")},Rn.prototype.alignBottom=function(){var Pn=this.diagram;Pn.startTransaction("aligning bottom");var On=-1/0;Pn.selection.each(function(dn){if(!(dn instanceof go.Link)){var Qr=dn.actualBounds.y+dn.actualBounds.height;On=Math.max(Qr,On)}}),Pn.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(dn.actualBounds.x,On-dn.actualBounds.height))}),Pn.commitTransaction("aligning bottom")},Rn.prototype.alignCenterX=function(){var Pn=this.diagram,On=Pn.selection.first();if(On){Pn.startTransaction("aligning Center X");var dn=On.actualBounds.x+On.actualBounds.width/2;Pn.selection.each(function(Qr){Qr instanceof go.Link||Qr.move(new go.Point(dn-Qr.actualBounds.width/2,Qr.actualBounds.y))}),Pn.commitTransaction("aligning Center X")}},Rn.prototype.alignCenterY=function(){var Pn=this.diagram,On=Pn.selection.first();if(On){Pn.startTransaction("aligning Center Y");var dn=On.actualBounds.y+On.actualBounds.height/2;Pn.selection.each(function(Qr){Qr instanceof go.Link||Qr.move(new go.Point(Qr.actualBounds.x,dn-Qr.actualBounds.height/2))}),Pn.commitTransaction("aligning Center Y")}},Rn.prototype.alignColumn=function(Pn){var On=this.diagram;On.startTransaction("align Column"),Pn===void 0&&(Pn=0),Pn=parseFloat(Pn);var dn=new Array;On.selection.each(function(Ha){Ha instanceof go.Link||dn.push(Ha)});for(var Qr=0;Qr0){for(var Ha=Dr.elt(va-1);Ha!==null&&Ha.isTreeExpanded&&!Ha.isTreeLeaf;){var xa=this._sortTreeChildrenByY(Ha);Ha=xa.last()}Ha!==null&&Pn.select(Ha)}else Pn.select(la)}}else if(dn.key==="Down")if(On.isTreeExpanded&&!On.isTreeLeaf){var Qr=this._sortTreeChildrenByY(On).first();Qr!==null&&Pn.select(Qr)}else for(;On!==null;){var la=On.findTreeParentNode();if(la===null)break;var Dr=this._sortTreeChildrenByY(la),va=Dr.indexOf(On);if(vaDr.y?1:la.xDr.x?1:0}),On},Rn.prototype.copyToClipboard=function(Pn){go.CommandHandler.prototype.copyToClipboard.call(this,Pn),this._lastPasteOffset.set(this.pasteOffset)},Rn.prototype.pasteFromClipboard=function(){var Pn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Pn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Pn},Object.defineProperty(Rn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Pn){if(Pn!=="move"&&Pn!=="select"&&Pn!=="scroll"&&Pn!=="tree"&&Pn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Pn);this._arrowKeyBehavior=Pn}}),Object.defineProperty(Rn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Pn){if(!(Pn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Pn);this._pasteOffset.set(Pn)}});var $n=Rn,Xe=Be(42287),fn=Be(43604),Fe=Be(49317),fe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=Be(59301),Se=(Pn,On,dn)=>new Promise((Qr,la)=>{var Dr=xa=>{try{Ha(dn.next(xa))}catch(So){la(So)}},va=xa=>{try{Ha(dn.throw(xa))}catch(So){la(So)}},Ha=xa=>xa.done?Qr(xa.value):Promise.resolve(xa.value).then(Dr,va);Ha((dn=dn.apply(Pn,On)).next())});function qe({onCancel:Pn,callback:On}){let dn=(0,me.useRef)(),Qr=(0,me.useRef)(),la=(0,me.useRef)(),Dr=(0,me.useRef)(!1);const va=(0,me.useRef)(!1),[Ha,xa]=(0,me.useState)(0);function So(){const xr=Bt.bx.make,ja={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"};dn.current=new Bt.S0(Qr.current,{padding:20,grid:xr(Bt.s_,"Grid",xr(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),xr(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Vr=>{var Ma=Vr.diagram.commandHandler.addTopLevelParts(Vr.diagram.selection,!0);Ma||Vr.diagram.currentTool.doCancel()},commandHandler:xr($n),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Vr=>{var Ma=Vr.subject;Ma.location=Ma.location.copy().snapToGridPoint(Vr.diagram.grid.gridOrigin,Vr.diagram.grid.gridCellSize),setTimeout(()=>{Vr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Vr=>{var Ma=Vr.subject;setTimeout(()=>{Vr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Vr=>{var Ma=Vr.parameter.part;Ma.invalidateConnectedLinks();var To=Vr.subject;Vr.diagram.toolManager.linkingTool.isForwards?To.toNode.invalidateConnectedLinks():To.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dn.current.nodeTemplate=xr(Bt.NB,"Auto",{locationSpot:Bt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Bt.$u(120,60),minSize:new Bt.$u(40,40),resizable:!0,resizeCellSize:new Bt.$u(10,10),rotatable:!0},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),new Bt.KX("desiredSize","size",Bt.$u.parse).makeTwoWay(Bt.$u.stringify),xr(Bt.bn,{name:"SHAPE",fill:ja.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("figure"),new Bt.KX("fill"),new Bt.KX("stroke","borderColor"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),xr(Bt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),xr(Bt.al,{margin:1,textAlign:"center",overflow:Bt.al.OverflowEllipsis,editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),dn.current.nodeTemplate.toolTip=xr("ToolTip",xr(Bt.s_,"Vertical",{maxSize:new Bt.$u(200,NaN)},xr(Bt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Bt.KX("text")),xr(Bt.al,{font:"10pt sans-serif",textAlign:"center"},new Bt.KX("text","details"))));function Ei(Vr,Ma){var To=(Ea,Pi)=>{Ea.handled=!0,Ea.diagram.model.commit(Xi=>{var xs=Pi.part.adornedPart,EA=new Bt.E9().setRectSpot(xs.actualBounds,Vr);EA.subtract(xs.location),EA.scale(2,2),EA.x+=Math.sign(EA.x)*130,EA.y+=Math.sign(EA.y)*130,EA.add(xs.location),EA.snapToGridPoint(Ea.diagram.grid.gridOrigin,Ea.diagram.grid.gridCellSize);var PA=Xi.copyNodeData(xs.data);Xi.setGroupKeyForNodeData(PA,Xi.getGroupKeyForNodeData(xs.data)),Xi.addNodeData(PA);var xi={from:xs.key,to:Xi.getKeyForNodeData(PA)};Xi.addLinkData(xi);var Oa=Ea.diagram.findNodeForData(PA);Oa.location=EA,Ea.diagram.select(Oa),setTimeout(()=>{Ea.diagram.commandHandler.editTextBlock()},20)})};return xr(Bt.bn,{figure:Ma,alignment:Vr,alignmentFocus:Vr.opposite(),width:Vr.equals(Bt.z6.Top)||Vr.equals(Bt.z6.Bottom)?25:18,height:Vr.equals(Bt.z6.Top)||Vr.equals(Bt.z6.Bottom)?18:25,fill:"orange",stroke:ja.white,strokeWidth:4,mouseEnter:(Ea,Pi)=>Pi.fill="dodgerblue",mouseLeave:(Ea,Pi)=>Pi.fill="orange",isActionable:!0,click:To,contextClick:To})}function ii(Vr){return xr(Bt.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:(Ma,To)=>To.fill="dodgerblue",mouseLeave:(Ma,To)=>To.fill="orange",click:(Ma,To)=>{Ma.diagram.commandHandler.showContextMenu(To.part.adornedPart)}},Vr||{})}dn.current.nodeTemplate.selectionAdornmentTemplate=xr(Bt.uz,"Spot",xr(Bt.Vm,{padding:10}),Ei(Bt.z6.Top,"TriangleUp"),Ei(Bt.z6.Left,"TriangleLeft"),Ei(Bt.z6.Right,"TriangleRight"),Ei(Bt.z6.Bottom,"TriangleDown"),ii({alignment:new Bt.z6(.75,0)}));function fi(Vr,Ma){return(To,Ea)=>{To.handled=!0,To.diagram.model.commit(Pi=>{Pi.set(Ea.part.adornedPart.data,Vr,Ma)})}}function Lo(Vr,Ma){return Ma||(Ma="color"),xr(Bt.bn,{width:16,height:16,stroke:"lightgray",fill:Vr,margin:1,background:"transparent",mouseEnter:(To,Ea)=>Ea.stroke="dodgerblue",mouseLeave:(To,Ea)=>Ea.stroke="lightgray",click:fi(Ma,Vr),contextClick:fi(Ma,Vr)})}function ss(){return[xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Lo(ja.white,"fill"),Lo(ja.beige,"fill"),Lo(ja.extralightblue,"fill"),Lo(ja.extralightred,"fill"))),xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Lo(ja.lightgray,"fill"),Lo(ja.lightgreen,"fill"),Lo(ja.lightblue,"fill"),Lo(ja.lightred,"fill")))]}function Ms(){return[xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Lo(ja.black),Lo(ja.green),Lo(ja.blue),Lo(ja.red))),xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Lo(ja.white),Lo(ja.magenta),Lo(ja.purple),Lo(ja.orange)))]}function Ps(Vr,Ma){return Ma||(Ma="thickness"),xr(Bt.bn,"LineH",{width:16,height:16,strokeWidth:Vr,margin:1,background:"transparent",mouseEnter:(To,Ea)=>Ea.background="dodgerblue",mouseLeave:(To,Ea)=>Ea.background="transparent",click:fi(Ma,Vr),contextClick:fi(Ma,Vr)})}function BA(Vr,Ma){return Ma||(Ma="dash"),xr(Bt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Vr,margin:1,background:"transparent",mouseEnter:(To,Ea)=>Ea.background="dodgerblue",mouseLeave:(To,Ea)=>Ea.background="transparent",click:fi(Ma,Vr),contextClick:fi(Ma,Vr)})}function Js(){return[xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Ps(1),Ps(2),Ps(3),Ps(4))),xr("ContextMenuButton",xr(Bt.s_,"Horizontal",BA(null),BA([2,4]),BA([4,4])))]}function Ui(Vr,Ma){return Ma||(Ma="figure"),xr(Bt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Vr,margin:1,background:"transparent",mouseEnter:(To,Ea)=>Ea.fill="dodgerblue",mouseLeave:(To,Ea)=>Ea.fill="lightgray",click:fi(Ma,Vr),contextClick:fi(Ma,Vr)})}dn.current.nodeTemplate.contextMenu=xr("ContextMenu",xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Ui("Rectangle"),Ui("RoundedRectangle"),Ui("Ellipse"),Ui("Diamond"))),xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Ui("Parallelogram2"),Ui("ManualOperation"),Ui("Procedure"),Ui("Cylinder1"))),xr("ContextMenuButton",xr(Bt.s_,"Horizontal",Ui("Terminator"),Ui("CreateRequest"),Ui("Document"),Ui("TriangleDown"))),ss(),Ms(),Js()),dn.current.groupTemplate=xr(Bt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Bt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Vr,Ma)=>{var To=Ma.addMembers(Ma.diagram.selection,!0);To||Ma.diagram.currentTool.doCancel()},avoidable:!1},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),xr(Bt.s_,"Auto",{name:"BODY"},xr(Bt.bn,{parameter1:10,fill:ja.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("fill"),new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),xr(Bt.Vm,{background:"transparent",margin:20})),xr(Bt.al,{alignment:Bt.z6.Top,alignmentFocus:Bt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Bt.KX("text"),new Bt.KX("stroke","color"))),dn.current.groupTemplate.selectionAdornmentTemplate=xr(Bt.uz,"Spot",xr(Bt.s_,"Auto",xr(Bt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),xr(Bt.Vm,{margin:1.5})),ii({alignment:Bt.z6.TopRight,alignmentFocus:Bt.z6.BottomRight})),dn.current.groupTemplate.contextMenu=xr("ContextMenu",ss(),Ms(),Js()),dn.current.linkTemplate=xr(Bt.rU,{layerName:"Foreground",routing:Bt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Bt.KX("fromSpot","fromSpot",Bt.z6.parse),new Bt.KX("toSpot","toSpot",Bt.z6.parse),new Bt.KX("fromShortLength","dir",Vr=>Vr>=1?10:0),new Bt.KX("toShortLength","dir",Vr=>Vr>=1?10:0),new Bt.KX("points").makeTwoWay(),xr(Bt.bn,{strokeWidth:2},new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),xr(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,0),segmentOrientation:Bt.rU.OrientAlong,alignmentFocus:Bt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Vr=>Vr===1)),xr(Bt.bn,{segmentIndex:-1,segmentOffset:new Bt.E9(-10,6),segmentOrientation:Bt.rU.OrientPlus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Vr=>Vr>=1),new Bt.KX("width","thickness",Vr=>7+3*Vr),new Bt.KX("height","thickness",Vr=>7+3*Vr),new Bt.KX("segmentOffset","thickness",Vr=>new Bt.E9(-15,4+1.5*Vr))),xr(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,-6),segmentOrientation:Bt.rU.OrientMinus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Vr=>Vr===2),new Bt.KX("width","thickness",Vr=>7+3*Vr),new Bt.KX("height","thickness",Vr=>7+3*Vr),new Bt.KX("segmentOffset","thickness",Vr=>new Bt.E9(-15,4+1.5*Vr))),xr(Bt.al,{alignmentFocus:new Bt.z6(0,1,-4,0),editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),dn.current.linkTemplate.selectionAdornmentTemplate=xr(Bt.uz,xr(Bt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:CA(2)},new Bt.KX("pathPattern","thickness",CA)),ii({alignmentFocus:new Bt.z6(0,0,-6,-4)}));function CA(Vr){return xr(Bt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Vr+4).toString()+" H3"})}function yl(Vr){var Ma="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Vr===0?Ma="M0 0 M16 16 M0 8 L16 8":Vr===2&&(Ma="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),xr(Bt.bn,{geometryString:Ma,margin:2,background:"transparent",mouseEnter:(To,Ea)=>Ea.background="dodgerblue",mouseLeave:(To,Ea)=>Ea.background="transparent",click:fi("dir",Vr),contextClick:fi("dir",Vr)})}function dA(Vr){var Ma=(To,Ea)=>{To.handled=!0,To.diagram.model.commit(Pi=>{var Xi=Ea.part.adornedPart;Pi.set(Xi.data,Vr?"toSpot":"fromSpot",Bt.z6.stringify(Bt.z6.AllSides)),(Vr?Xi.toNode:Xi.fromNode).invalidateConnectedLinks()})};return xr(Bt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(To,Ea)=>Ea.background="dodgerblue",mouseLeave:(To,Ea)=>Ea.background="transparent",click:Ma,contextClick:Ma})}function Ur(Vr,Ma){var To=0,Ea=Bt.z6.RightSide;Vr.equals(Bt.z6.Top)?(To=270,Ea=Bt.z6.TopSide):Vr.equals(Bt.z6.Left)?(To=180,Ea=Bt.z6.LeftSide):Vr.equals(Bt.z6.Bottom)&&(To=90,Ea=Bt.z6.BottomSide),Ma||(To-=180);var Pi=(Xi,xs)=>{Xi.handled=!0,Xi.diagram.model.commit(EA=>{var PA=xs.part.adornedPart;EA.set(PA.data,Ma?"toSpot":"fromSpot",Bt.z6.stringify(Ea)),(Ma?PA.toNode:PA.fromNode).invalidateConnectedLinks()})};return xr(Bt.bn,{alignment:Vr,alignmentFocus:Vr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:To,background:"transparent",mouseEnter:(Xi,xs)=>xs.background="dodgerblue",mouseLeave:(Xi,xs)=>xs.background="transparent",click:Pi,contextClick:Pi})}dn.current.linkTemplate.contextMenu=xr("ContextMenu",Ms(),Js(),xr("ContextMenuButton",xr(Bt.s_,"Horizontal",yl(0),yl(1),yl(2))),xr("ContextMenuButton",xr(Bt.s_,"Horizontal",xr(Bt.s_,"Spot",dA(!1),Ur(Bt.z6.Top,!1),Ur(Bt.z6.Left,!1),Ur(Bt.z6.Right,!1),Ur(Bt.z6.Bottom,!1)),xr(Bt.s_,"Spot",{margin:new Bt.Zt(0,0,0,2)},dA(!0),Ur(Bt.z6.Top,!0),Ur(Bt.z6.Left,!0),Ur(Bt.z6.Right,!0),Ur(Bt.z6.Bottom,!0)))));const _c=`{ "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 gu=["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 fu(Vr){return console.log("shapeName:",Vr),gu.indexOf(Vr)>=0}var Sl=new Bt.YI(la.current,{maxSelectionCount:1,linkTemplate:xr(Bt.rU,{locationSpot:Bt.z6.Center,selectionAdornmentTemplate:xr(Bt.uz,"Link",{locationSpot:Bt.z6.Center},xr(Bt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),xr(Bt.bn,{toArrow:"Standard",stroke:null}))},{routing:Bt.rU.AvoidsNodes,curve:Bt.rU.JumpOver,corner:5,toShortLength:4},new Bt.KX("points"),xr(Bt.bn,{isPanelMain:!0,strokeWidth:2}),xr(Bt.bn,{toArrow:"Standard",stroke:null})),model:new Bt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Bt.bn.getFigureGenerators().toArray().map(Vr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Vr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dn.current.addDiagramListener("TextEdited",function(Vr){var Ma;const To=Vr.subject.part;var Ea=(Ma=document.activeElement)==null?void 0:Ma.value;typeof Ea=="string"&&Ea.trim()===""&&dn.current.model.commit(function(Pi){Pi.set(To.data,"text","\u672A\u547D\u540D"),dn.current.commandHandler.stopCommand()},"increment")}),Sl.nodeTemplate=xr(Bt.NB,"Auto",{locationSpot:Bt.z6.Center},new Bt.KX("location","location",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),xr(Bt.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 Bt.KX("stroke").makeTwoWay(),new Bt.KX("fill").makeTwoWay(),new Bt.KX("figure")),xr(Bt.al,{margin:new Bt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Bt.$u(16,16),maxSize:new Bt.$u(10,NaN),textAlign:"center",editable:!0},new Bt.KX("key").makeTwoWay())),setTimeout(()=>{dn.current.grid=xr(Bt.s_,"Grid",xr(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),xr(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dn.current.grid.visible=!0,dn.current.grid.gridCellStroke="darkgray",dn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dn.current,dn.current}const Wi=()=>Se(this,null,function*(){var xr=dn.current.makeImage();const ja=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:xr.src}});On({src:ja.url})});return(0,me.useEffect)(()=>(setTimeout(()=>{So()},500),xa(Ha+1),()=>{dn.current=null}),[]),ce.createElement("div",{ref:va,className:Dr.current?`${fe.maxH60} body-overflow-initial`:"body-overflow-initial"},ce.createElement(Tt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ha,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ce.createElement(wn.Z,null,ce.createElement(fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(fn.Z,{onClick:()=>{var xr,ja,Ei=dn.current.selection.first();if(Dr.current=!Dr.current,document.activeElement&&Ei){let ii=(ja=(xr=document.activeElement)==null?void 0:xr.value)==null?void 0:ja.trim();typeof ii=="string"&&dn.current.model.commit(function(fi){fi.set(Ei.data,"text",ii||"\u672A\u547D\u540D"),dn.current.commandHandler.stopCommand()},"increment")}xa(Ha+1)}},ce.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Pn},ce.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:fe.flowChartWrp},ce.createElement("div",{style:{display:"flex",height:"100%"}},ce.createElement("div",{style:{width:"300px",height:"100%"}},ce.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ce.createElement("div",{style:{height:"calc(100% - 50px)"},className:fe.myPaletteDiv,ref:la})),ce.createElement("div",{style:{flex:1,position:"relative"}},ce.createElement("div",{ref:Qr,style:{height:"80vh"}}))),ce.createElement("div",{className:"tr"},ce.createElement(Te.ZP,{size:"large",onClick:Wi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=qe,He=Be(5112),Ye=Be(5871);const Pt=He.ZP.Group,gt={margin:"0 8px"};var st=({callback:Pn,onCancel:On})=>{function dn(Qr){Pn(Qr)}return me.createElement(Ze.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dn},me.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},me.createElement("span",{style:gt},"\u5355\u5143\u683C\u6570\uFF1A"),me.createElement("span",{style:gt},"\u884C\u6570"),me.createElement(Ze.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},me.createElement(Ye.Z,null)),me.createElement("span",{style:gt},"\u5217\u6570"),me.createElement(Ze.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},me.createElement(Ye.Z,null))),me.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},me.createElement("span",{style:gt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),me.createElement(Ze.default.Item,{name:"align"},me.createElement(Pt,null,me.createElement(He.ZP,{value:"default"},me.createElement("i",{className:"fa fa-align-justify"})),me.createElement(He.ZP,{value:"left"},me.createElement("i",{className:"fa fa-align-left"})),me.createElement(He.ZP,{value:"center"},me.createElement("i",{className:"fa fa-align-center"})),me.createElement(He.ZP,{value:"right"},me.createElement("i",{className:"fa fa-align-right"}))))),me.createElement("div",{className:"flex-container flex-end"},me.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),me.createElement(Te.ZP,{type:"ghost",onClick:On},"\u53D6\u6D88")))},Rt=Be(78673),hn=Be(84915),It=Be.n(hn),Ft=(0,me.forwardRef)(({use3d:Pn,width:On,height:dn,callback:Qr,showSaveButton:la},Dr)=>{const va=(0,me.useRef)(),Ha=(0,me.useRef)(),[xa,So]=(0,me.useState)(!1),Wi=(0,me.useRef)({id:va,appName:"graphing",width:On||1e3,height:dn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,me.useEffect)(()=>{Ha.current=new(It())(Wi.current,!0),window.onload=function(){Ha.current.inject("applet_container")}},[]);const xr=()=>{var ja=window.ggbApplet.getPNGBase64(1,!0,72);return Qr&&Qr(ja),ja};return(0,me.useEffect)(()=>{Wi.current.appName=xa?"3D":"graphing",Ha.current.inject("applet_container")},[xa]),(0,me.useEffect)(()=>{So(Pn)},[Pn]),(0,me.useImperativeHandle)(Dr,()=>({getImgData:xr})),me.createElement(me.Fragment,null,me.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:va}),me.createElement(wn.Z,{align:"middle"},me.createElement(fn.Z,{flex:1},me.createElement(Rt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:xa,onChange:ja=>So(ja)})),me.createElement(fn.Z,null,me.createElement(Te.ZP,{size:"large",onClick:xr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=Be(9057),At=Be(1012),qt=Be(8591);const gn="link",pn="upload-image",Yn="add-flowchart",ir="draw-image",yr="add-flowchart",br="code-block",lr="add-table",ar="------------",Ar={default:ar,left:`:${ar}`,center:`:${ar}:`,right:`${ar}:`};var Cr=Be(79006),ea=(Pn,On,dn)=>new Promise((Qr,la)=>{var Dr=xa=>{try{Ha(dn.next(xa))}catch(So){la(So)}},va=xa=>{try{Ha(dn.throw(xa))}catch(So){la(So)}},Ha=xa=>xa.done?Qr(xa.value):Promise.resolve(xa.value).then(Dr,va);Ha((dn=dn.apply(Pn,On)).next())});function wa(){}let kr=0;const Ja=1e4,Wa="\u2581",Mr="@\u2581\u2581@",an="@\u2581@",ri=` **\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`,Bo=["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 gi(Pn){return/^\d+$/.test(Pn)?`${Pn}px`:Pn}const Fo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Mi={[Fo+"-B"]:"bold",[Fo+"-I"]:"italic"},Gi={[gn]:"\u6DFB\u52A0\u94FE\u63A5",[br]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[pn]:"\u6DFB\u52A0\u56FE\u7247",[ir]:"\u6DFB\u52A0\u753B\u56FE",[Yn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[lr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ai=({defaultValue:Pn="",onChange:On,width:dn="100%",height:Qr=400,miniToolbar:la=!1,isFocus:Dr=!1,watch:va,insertTemp:Ha,mode:xa="markdown",id:So="markdown-editor-id",showResizeBar:Wi=!1,noStorage:xr=!1,showNullButton:ja=!1,showNullProgramButton:Ei=!1,hidetoolBar:ii=!1,fullScreen:fi=!1,onBlur:Lo,onCMBeforeChange:ss,onFullScreen:Ms,className:Ps="",disablePaste:BA=!1,disabled:Js=!1,disabledFill:Ui=!1,placeholder:CA="",values:yl="",extraUse:dA})=>{const[Ur,_c]=(0,me.useState)(null),[gu,fu]=(0,me.useState)(Pn),[Sl,Vr]=(0,me.useState)(va),[Ma,To]=(0,me.useState)(fi),[Ea,Pi]=(0,me.useState)(""),[Xi,xs]=(0,me.useState)(0),[EA,PA]=(0,me.useState)(Qr),[xi,Oa]=(0,me.useState)(!1),vc=(0,me.useRef)((0,At.Z)()),ju=(0,me.useRef)(!1),Fu=(0,me.useRef)(),[bl,Lu]=(0,me.useState)(0),[Jl,Rl]=(0,me.useState)(0),ql=(0,me.useRef)(),cl=(0,me.useRef)(),rr=(0,me.useRef)(),Zn=(0,me.useRef)(),ur=()=>ea(void 0,null,function*(){var Xr;const Rr=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:vc.current}});(Xr=Rr==null?void 0:Rr.attachments)!=null&&Xr.length&&(console.log("cm:",Ur,ql),Rr.attachments.map(Wt=>{Wt.content_type.indexOf("image")>-1?Ur.replaceSelection(`![,](/api/attachments/${Wt.id}?type=${Wt.content_type})`):Wt.content_type.indexOf("video")>-1?Ur.replaceSelection(``):Wt.content_type.indexOf("pdf")>-1?Ur.replaceSelection(`${Wt.name}`):Ur.replaceSelection(`[${Wt.name}](${ENV.API_SERVER}/api/attachments/${Wt.id}?type=${Wt.content_type})`)}))});(0,me.useEffect)(()=>{const Xr=window.scrollY||window.pageYOffset;fu(yl),Ur==null||Ur.setValue(yl),window.scrollTo(0,Xr)},[yl]),(0,me.useEffect)(()=>{Ms==null||Ms(Ma)},[Ma]),(0,me.useEffect)(()=>{if(ql.current){let Xr=function(Wt,Qt){var xn;if(BA){Qt.preventDefault();return}const sr=Qt.clipboardData;if(sr){const ta=sr.types.toString(),ha=sr.items;if(ta==="Files"||sr.types.indexOf("Files")>-1){if(Qt.preventDefault(),xa=="stex")return;try{let aa=ha[1];((xn=ha[0])==null?void 0:xn.kind)==="file"&&(aa=ha[0]);const Nr=aa.getAsFile(),ia=Nr.name.split(".").pop();(0,mt.I)(Nr,Qa=>{var Eo,wi,Fa;Qa.id?((Eo=Nr==null?void 0:Nr.type)==null?void 0:Eo.indexOf("image"))>-1?Rr.replaceSelection(``):((wi=Nr==null?void 0:Nr.type)==null?void 0:wi.indexOf("video"))>-1?Rr.replaceSelection(``):((Fa=Nr==null?void 0:Nr.type)==null?void 0:Fa.indexOf("pdf"))>-1?Rr.replaceSelection(`${Nr.name}`):Bo.includes(ia)?Rr.replaceSelection(`${Nr.name}`):Rr.replaceSelection(`[${Nr.name}](/api/attachments/${Qa.id}?type=${Qa.content_type})`):(Qa==null?void 0:Qa.status)===401&&(qt.ZP.warning((Qa==null?void 0:Qa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(aa){qt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Rr=Me().fromTextArea(ql.current,{mode:xa,lineNumbers:!la,lineWrapping:!0,value:Pn,autoCloseTags:!Ei,autoCloseBrackets:!0});return Rr.on("keyup",function(Wt,Qt){Qt.keyCode===8&&(Wt.getValue()==""?Rr.setOption("placeholder",CA):Rr.setOption("placeholder",null))}),Rr.on("keydown",function(Wt,Qt){if(Qt.keyCode===8){var xn=zt(Wt);xn&&Qt.preventDefault()}}),Dr&&Rr.focus(),Rr.on("paste",Xr),Rr.on("dragleave",function(Wt,Qt){cl.current.classList.remove("mouse-hover-md")}),Js&&Rr.on("beforeChange",function(Wt,Qt){(Qt.origin==="paste"||Qt.origin==="+input")&&Qt.cancel()}),_c(Rr),()=>{Rr.off("paste",Xr)}}},[]);const Yr=(0,me.useCallback)(()=>{if(cl.current)try{}catch(Xr){console.log(Xr,"---- to set md editor body height")}},[EA,cl,Ma]);(0,me.useEffect)(()=>{function Xr(){let Rr=new rt.Z(Wt=>{for(let Qt of Wt)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&(Yr(),Ur.setSize("100%","100%"),Ur.refresh())});return Rr.observe(ql.current.parentElement),Rr}if(Ur){const Rr=Xr();return()=>{var Wt,Qt;(Wt=ql.current)!=null&&Wt.parentElement&&Rr.unobserve((Qt=ql.current)==null?void 0:Qt.parentElement)}}},[Ur,Yr]),(0,me.useEffect)(()=>{if(Ur){let Xr=[];for(const[Rr,Wt]of Object.entries(Mi)){let Qt={[Rr]:()=>{Io(Wt)}};Xr.push(Qt),Ur.addKeyMap(Qt)}return Fu.current=setInterval(()=>{ju.current&&ur()},4e3),()=>{clearInterval(Fu.current);for(let Rr of Xr)Ur.removeKeyMap(Rr)}}},[Ur]),(0,me.useEffect)(()=>{fi!==Ma&&To(fi)},[fi]),(0,Cr.Z)(()=>{if(!xr&&Xi>0){let Xr=new Date().getTime(),Rr=window.sessionStorage.getItem(So);Xr>=Xi+Ja&&(!Rr||Rr!==gu)&&(window.sessionStorage.setItem(So,gu),Oa(!0))}},Ja),(0,me.useEffect)(()=>{Vr(va)},[Ur,va]),(0,me.useEffect)(()=>{Ur&&Dr&&Ur.focus()},[Ur,Dr]),(0,me.useEffect)(()=>{if(Sl&&Ur){let Xr=function(Wt){let Qt=Wt.target;if(Zn.current){let xn=Qt.scrollTop/Qt.scrollHeight;Zn.current.scrollTop=Zn.current.scrollHeight*xn}};const Rr=Ur.getScrollerElement();return Rr.addEventListener("scroll",Xr),()=>{Rr.removeEventListener("scroll",Xr)}}},[Ur,Sl]),(0,me.useEffect)(()=>{if(Ur&&ss){let Xr=function(Rr,Wt){ss(Rr,Wt)};return Ur.on("beforeChange",Xr),()=>{Ur.off("beforeChange",Xr)}}},[Ur,ss]),(0,me.useEffect)(()=>{if(Ur&&Lo){let Xr=function(){Lo(Ur.getValue())};return Ur.on("blur",Xr),()=>{Ur.off("blur",Xr)}}},[Ur,Lo]);function zt(Xr,Rr){var Wt=Xr.getDoc(),Qt=Wt.getCursor(),xn=Wt.getLine(Qt.line),sr=xn.charAt(Qt.ch-1),ta=xn.lastIndexOf("@\u2581@",Qt.ch),ha=xn.lastIndexOf("@\u2581\u2581@",Qt.ch),aa=ta>ha?ta:ha,Nr=ta>ha?3:4;if(Mr.indexOf(sr)===-1)return null;if(console.log("change1:",Rr,Xr,xn,Qt,aa,ta,ha,sr),aa>=0&&Qt.ch-aa<5){var ia=aa+Nr;return Wt.replaceRange("",{line:Qt.line,ch:aa},{line:Qt.line,ch:ia}),{line:Qt.line,ch:ia}}return null}(0,me.useEffect)(()=>{if(Ur){let Xr=function(Rr,Wt){const Qt=Rr.getValue();fu(Qt),xs(new Date().getTime()),Rr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),On&&(Ei?On(Qt,Wo(Qt)):On(Qt))};return Ur.on("change",Xr),()=>{Ur.off("change",Xr)}}},[Ur,On]),(0,me.useEffect)(()=>{if(Ur)if(Pn==null)Ur.setValue(""),fu("");else{const Xr=window.scrollY||window.pageYOffset;Pn!==Ur.getValue()&&(Ur.setValue(Pn),fu(Pn),Ur.setCursor(Js?1:Ur.lineCount(),0),window.scrollTo(0,Xr))}},[Ur,Pn]);const Io=(0,me.useCallback)(Xr=>{const Rr=Ur.getCursor(),Wt=Ur.getSelection();let Qt=Wt.split(` `);switch(Xr){case"bold":return Ur.replaceSelection("**"+Wt+"**"),Wt===""&&Ur.setCursor(Rr.line,Rr.ch+2),Ur.focus();case"italic":return Ur.replaceSelection("*"+Wt+"*"),Wt===""&&Ur.setCursor(Rr.line,Rr.ch+1),Ur.focus();case"code":return Ur.replaceSelection("`"+Wt+"`"),Wt===""&&Ur.setCursor(Rr.line,Rr.ch+1),Ur.focus();case"inline-latex":return Pi("inline-latex"),Ur.focus();case"latex":return Ur.replaceSelection("```latex\n"+Wt+"\n```"),Ur.setCursor(Rr.line+1,Wt.length+1),Ur.focus();case"line-break":return Ur.replaceSelection(`
`),Ur.focus();case"list-ul":return Wt===""?Ur.replaceSelection("- "+Wt):Ur.replaceSelection(Qt.map(xn=>xn===""?"":`- ${xn}`).join(` `)),Ur.focus();case"list-ol":return Wt===""?Ur.replaceSelection("1. "+Wt):Ur.replaceSelection(Qt.map((xn,sr)=>xn===""?"":`${sr+1}. ${xn}`).join(` `)),Ur.focus();case"add-null-ch":return Wt===""&&Ur.setCursor(Rr.line,Rr.ch),Ur.replaceSelection(Wa),Ur.focus();case"add-signal":return Wt===""&&Ur.setCursor(Rr.line,Rr.ch),Ur.replaceSelection(an),Ur.focus();case"add-multiple":return Wt===""&&Ur.setCursor(Rr.line,Rr.ch),Ur.replaceSelection(Mr),Ur.focus();case"inster-template-1":return Wt===""&&Ur.setCursor(Rr.line,Rr.ch),Ur.replaceSelection(ri),Ur.focus();case"eraser":return Ur.setValue(""),Ur.focus();case"trigger-watch":return Vr(!Sl),Ur.focus();case"trigger-full-screen":return To(!Ma),Ur.focus();case gn:Pi(gn);return;case br:Pi(br);return;case pn:Pi(pn);return;case ir:Pi(ir);return;case"maths-latex":Pi("maths-latex");return;case Yn:Pi(Yn);return;case lr:Pi(lr);return;default:throw new Error}},[Ur,Sl,Ma]),jr=(0,me.useCallback)((Xr,Rr)=>{var Wt,Qt,xn,sr,ta,ha;switch(Pi(""),Ea){case gn:const{title:Eo,link:wi}=Xr;return Ur.replaceSelection(`[${Eo}](${wi})`),Ur.focus();case br:const{language:Fa,content:ls}=Xr;return Ur.replaceSelection(["```"+Fa,ls,"```"].join(` `)),Ur.focus();case"maths-latex":for(var aa=atob(Xr),Nr=new Uint8Array(aa.length),ia=0;ia{Ks.id?Ur.replaceSelection(`![,](/api/attachments/${Ks.id}?type=${Ks.content_type})`):(Ks==null?void 0:Ks.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ur.replaceSelection("`$$"+Xr+"$$`");break;case pn:case ir:case yr:const{src:si,alt:hi}=Xr,zr=Rr,La=(xn=(Qt=(Wt=zr==null?void 0:zr.name)==null?void 0:Wt.split("."))==null?void 0:Qt.pop)==null?void 0:xn.call(Qt);return((sr=zr==null?void 0:zr.type)==null?void 0:sr.indexOf("image"))>-1||!(zr!=null&&zr.type)?zr.align||zr.width?Ur.replaceSelection(`

${hi||

`):Ur.replaceSelection(`${hi||`):((ta=zr==null?void 0:zr.type)==null?void 0:ta.indexOf("video"))>-1?Ur.replaceSelection(``):((ha=zr==null?void 0:zr.type)==null?void 0:ha.indexOf("pdf"))>-1?Ur.replaceSelection(`${zr.name}`):Bo.includes(La)?Ur.replaceSelection(`${zr.name}`):Ur.replaceSelection(`[${zr.name}](${si})`),Ur.focus();case lr:const{row:so,col:vi,align:Zi}=Xr;let Vi=` `;for(let Ks=0;Ks{switch(Ea){case gn:return me.createElement(Kt,{callback:jr,onCancel:Ka});case br:return me.createElement(Vt.Z,{callback:jr,onCancel:Ka});case pn:return me.createElement(mt.Z,{callback:jr,onCancel:Ka});case Yn:return me.createElement(dt,{callback:jr,onCancel:Ka});case lr:return me.createElement(st,{callback:jr,onCancel:Ka});case"maths-latex":return me.createElement(Ft,{showSaveButton:!0,callback:jr});case"inline-latex":return me.createElement(yn.Z,{showSaveButton:!0,callback:jr});default:return null}},[Ea]);function Ka(){Pi("")}(0,me.useEffect)(()=>{if(rr.current){let Xr=function(ta){xn=!0,sr=ta.pageY},Rr=function(){xn=!1},Wt=function(ta){if(xn){let ha=ta.pageY-sr;ha<0&&(ha=0),ha>300&&(ha=300);let aa=Qr+ha+"px";PA(aa)}},Qt=rr.current,xn=!1,sr=0;return Qt.addEventListener("mousedown",Xr),document.addEventListener("mousemove",Wt),document.addEventListener("mouseup",Rr),()=>{Qt.removeEventListener("mousedown",Xr),document.removeEventListener("mousemove",Wt),document.removeEventListener("mouseup",Rr)}}},[Ur,rr]),(0,me.useEffect)(()=>{PA(Qr)},[Qr]);const pi=gi(dn),co=gi(EA),ya={width:pi,height:co},Mo=(0,me.useMemo)(()=>{if(Xi){let Xr=new Date(Xi),Rr=Xr.getHours(),Wt=Xr.getMinutes(),Qt=Xr.getSeconds();return Rr=Rr<10?"0"+Rr:Rr,Wt=Wt<10?"0"+Wt:Wt,Qt=Qt<10?"0"+Qt:Qt,`${Rr}:${Wt}:${Qt}`}return 0},[Xi]),Wo=Xr=>{const Rr=[];if(Ei){let Wt=-1;Xr=Xr.replace(/(@▁▁@|@▁@)/g,function(Qt,xn,sr){Rr.push({multiLine:Qt!==an})})}return Rr};function _s(){window.sessionStorage.removeItem(So),Oa(!1),xs(0)}function no(){Oa(!1),xs(0),Ur.setValue(window.sessionStorage.getItem(So))}(0,me.useEffect)(()=>{Gi[Ea]&&Ea!==ir&&Ea!==Yn&&setTimeout(()=>{const Xr=document.getElementsByClassName("markdown-popup-form")[0],Rr=window.innerWidth/2-Xr.offsetWidth/2,Wt=window.innerHeight/2-Xr.offsetHeight/2;Lu(Rr),Rl(Wt)},0)},[Ea]);const As=Xr=>{Xr.preventDefault();const Rr=Xr.clientX-bl,Wt=Xr.clientY-Jl;document.body.onmousemove=Qt=>{let xn=Qt.clientX-Rr,sr=Qt.clientY-Wt;const ta=document.getElementsByClassName("markdown-popup-form")[0],ha=window.innerWidth-ta.offsetWidth,aa=window.innerHeight-ta.offsetHeight;xn=Math.max(0,Math.min(xn,ha)),sr=Math.max(0,Math.min(sr,aa)),Fs(Qt.clientX,Qt.clientY,Rr,Wt)&&(Lu(xn),Rl(sr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Fs=(Xr,Rr,Wt,Qt)=>{const xn=document.body.clientHeight,sr=document.body.clientWidth;return Xr<20&&Wt>Xr||Xr>sr-20&&WtRr||Rr>xn-20&&Qttt in Ze?xe(Ze,tt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[tt]=Te,te=(Ze,tt)=>{for(var Te in tt||(tt={}))a.call(tt,Te)&&E(Ze,Te,tt[Te]);if(y)for(var Te of y(tt))ee.call(tt,Te)&&E(Ze,Te,tt[Te]);return Ze},ne=(Ze,tt)=>Ee(Ze,ie(tt));const{useForm:ae}=me.default,de={width:280,marginRight:10},Le={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ze,onCancel:tt})=>{const[Te]=ae();let pt=(0,Ne.useRef)();function Qe(ot){pt.current.width=Te.getFieldValue("width"),pt.current.align=Te.getFieldValue("align"),Ze(ot,pt.current)}function Lt(ot,St){if(ot.status===-1){Ce.ZP.error(ot.message);return}Te.setFieldsValue({src:`/api/attachments/${ot.id}`,type:St.type})}function it(ot){let St=ot.target.files[0];pt.current=St,Ge(St,Lt)}return De.createElement(me.default,ne(te({form:Te},Le),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),De.createElement(me.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},De.createElement("div",{className:"flex-container"},De.createElement(me.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},De.createElement(Me.default,{style:de})),De.createElement(Ue,{onFileChange:it}))),De.createElement(me.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},De.createElement(Me.default,{style:{width:264}})),De.createElement(me.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},De.createElement(rt.Z,null,De.createElement(me.default.Item,{name:"width",style:{margin:0}},De.createElement(ze.Z,{style:{width:264}})),De.createElement("span",{className:"ml8"},"%"))),De.createElement(me.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},De.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"}]})),De.createElement("aside",null,De.createElement(me.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},De.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),De.createElement(ve.ZP,{type:"default",onClick:tt},"\u53D6\u6D88"))))};function Ue({onFileChange:Ze}){return De.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",De.createElement("input",{type:"file",onChange:Ze}))}function Ge(Ze,tt){if(!Ze)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ge.bg)())throw Ce.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",Ze),Te.append("file_param_name","editormd-image-file"),Te.append("byxhr","true");var pt=new window.XMLHttpRequest;pt.withCredentials=!0,pt.addEventListener("load",function(Qe){tt(JSON.parse(Qe.target.responseText),Ze)},!1),pt.addEventListener("error",function(Qe){console.error(Qe)},!1),pt.open("POST",`${we.KI}/api/attachments.json`),pt.send(Te)}},88487:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Me}});var me=Be(59301),Ce=Be(4676);class Me extends me.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,Ce.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},54077:function(Yt,Dt,Be){"use strict";Be.d(Dt,{i:function(){return Le},Z:function(){return Ue}});var me={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},Ce=Be(71418),Me=Be(6848),rt=Be(93948),ze=Be(92310),je=Be.n(ze),ve=Be(76406),we=Be(90736),Ne=Be(15267),ge=Be(79005),De=Be(20345),xe=Be(77882),Ee=Be(31081),ie=Be(75309),y=Be(71979),a=Be(47558),ee=Be(42922),E=Be(66832),te=Be(96593),ne=Be(19664),ae=Be(91833),de=Be(59301);const Le=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ge,swimg:De},{name:"101\u8BA1\u5212",ptimg:xe,swimg:Ee},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ie,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:te},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ne,swimg:ae}];var Ue=({className:Ge,dataSource:Ze=[],col:tt=4,right:Te,bottom:pt=23,precision:Qe=0,wrapWidth:Lt=1200,trackEventItems:it,loading:ot,onRemove:St=()=>{},isCurrent:lt=!0,showAlias:vt=!1,showProgress:ut=!1})=>{const at=Math.floor((Lt-(tt-1)*Te)/tt),Kt=[{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(Vt=>(window.ENV==="build"&&(Vt.ptimg=`/react/build${Vt.ptimg}`,Vt.swimg=`/react/build${Vt.swimg}`),Vt));return de.createElement(Ce.Z,{spinning:ot},de.createElement("div",{className:je()(me.list,Ge)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((Vt,mt)=>{var Tt,wn,Qn,un,Tn,Bt;const{name:Rn,id:$n,identifier:Xe,featured:fn,school_name:Fe,image_url:fe,excellent:ce,is_plan:Se}=Vt;return de.createElement("div",{key:$n,className:lt&&ut?me.wrapisCurrent:me.wrap,style:{width:at,marginRight:(1+mt)%tt===0?0:Te+Qe,marginBottom:pt}},de.createElement("a",{className:me.li,onClick:qe=>{qe.preventDefault(),qe.stopPropagation(),it&&(0,ve.L9)([it]),(0,ve.xg)(`/paths/${Xe}`)}},de.createElement("div",{className:me.img},de.createElement("img",{className:me.cover,src:`${fe}`}),lt&&(0,Ne.bg)()&&(Vt==null?void 0:Vt.studying)&&de.createElement("div",{className:`${me.movebq} user-path-items`,onClick:qe=>{qe.stopPropagation(),St(Vt)}},de.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),de.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Tt=Vt==null?void 0:Vt.subject_tags)==null?void 0:Tt.map((qe,dt)=>{var He,Ye;if(dt===0){const gt=(He=Kt.find(st=>st.name==qe))==null?void 0:He.swimg;return de.createElement("img",{className:me.sign,src:gt,style:{left:"-4px"}})}const Pt=(Ye=Kt.find(gt=>gt.name==qe))==null?void 0:Ye.ptimg;return de.createElement("img",{className:me.sign,src:Pt,style:{left:`${48+52*(dt-1)+2*dt}px`}})}),de.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Vt==null?void 0:Vt.excellent)&&de.createElement("div",{className:me.bq},"\u5F00\u653E\u8BFE\u7A0B"))),de.createElement("div",{className:me.name},de.createElement(Me.Z,{title:vt&&(Vt!=null&&Vt.excellent_alias_name)?de.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Rn}`,de.createElement("br",null),de.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Vt==null?void 0:Vt.excellent_alias_name}`)):Rn},de.createElement("span",{className:me.e},vt&&(Vt==null?void 0:Vt.excellent_alias_name)||Rn))),lt&&ut&&((wn=Vt==null?void 0:Vt.progress)==null?void 0:wn.all_score)!=0&&de.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},de.createElement(rt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Qn=Vt==null?void 0:Vt.progress)==null?void 0:Qn.my_score)/((un=Vt==null?void 0:Vt.progress)==null?void 0:un.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Tn=Vt==null?void 0:Vt.progress)==null?void 0:Tn.my_score,"/",(Bt=Vt==null?void 0:Vt.progress)==null?void 0:Bt.all_score),(!lt||!ut)&&de.createElement("div",{className:me.tags},de.createElement("div",null,de.createElement(Me.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},de.createElement("span",null,de.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),de.createElement("span",null,Vt.stages_count))),de.createElement(Me.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},de.createElement("span",null,de.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),de.createElement("span",null,Vt.members_count)))))))})),!Ze.length&&de.createElement(we.Z,null)))}},28788:function(Yt,Dt,Be){"use strict";Be.d(Dt,{jL:function(){return ze},w9:function(){return sn},dN:function(){return qt},QD:function(){return xa},cQ:function(){return un.Z},Oz:function(){return gt},op:function(){return dn},O5:function(){return gu},_b:function(){return ii},t7:function(){return Ze},Gi:function(){return Ar},YG:function(){return ir},kT:function(){return lr},qp:function(){return ee},K3:function(){return ne},vr:function(){return xr},qE:function(){return Dr},Je:function(){return pt},wb:function(){return mt},lB:function(){return Qn},cq:function(){return Wa},tp:function(){return Le},Si:function(){return Vr},k8:function(){return cl},Du:function(){return PA}});var me=Be(59301),Ce={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"},Me="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:rr=[],img:Zn,imgWidth:ur=346,title:Yr,sunTitle:zt,bannerExtraContent:Io})=>me.createElement("div",{className:Ce.banner},me.createElement("div",{className:Ce.content},me.createElement("aside",null,me.createElement("p",null,me.createElement("b",null,Yr),me.createElement("span",null,zt)),rr.length>0&&me.createElement("div",{className:Ce.btns},rr.map((jr,fo)=>me.createElement("div",{key:fo,onClick:jr.click},jr.name,jr.sign?me.createElement("img",{src:Me,width:39}):null))),Io),Zn&&me.createElement("img",{style:{marginTop:33,marginRight:38},src:Zn,width:ur}))),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"},ve=Be(92310),we=Be.n(ve),Ne=Be(78267),ge=Object.defineProperty,De=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,ie=(rr,Zn,ur)=>Zn in rr?ge(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:ur}):rr[Zn]=ur,y=(rr,Zn)=>{for(var ur in Zn||(Zn={}))xe.call(Zn,ur)&&ie(rr,ur,Zn[ur]);if(De)for(var ur of De(Zn))Ee.call(Zn,ur)&&ie(rr,ur,Zn[ur]);return rr},ee=({dataSource:rr=[],value:Zn,onChange:ur,onTitleChange:Yr,className:zt,title:Io,titleWidth:jr=41,style:fo={},fontColor:Ka="#6A7283",showCount:pi,classNameActive:co,styleItem:ya={}})=>{const[Mo,Wo]=(0,me.useState)(0),[_s,no]=(0,me.useState)(!1),As=(0,me.useRef)(null),Fs=(0,me.useRef)(null);return(0,me.useEffect)(()=>{var Xr;rr.length!==0&&(((Xr=As==null?void 0:As.current)==null?void 0:Xr.clientHeight)>97?Wo(1):Wo(0)),rr.length===0&&Wo(0),no(!1)},[rr]),me.createElement("div",{className:we()(je.row,zt),style:fo},me.createElement("div",{onClick:(0,Ne.throttle)(()=>Yr==null?void 0:Yr(),2e3),style:{width:jr,marginTop:_s?12:4},className:`${je.title} ${Yr?"current":""}`},Io),me.createElement("div",{className:_s?`${je.tagsWrap} ${je.tagsBorderWrap}`:je.tagsWrap},me.createElement("div",{className:je.bar,ref:Fs,style:Mo>0?{height:Mo===1?97:"auto",overflow:Mo===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},me.createElement("div",{className:je.tag,ref:As},rr==null?void 0:rr.map(Xr=>me.createElement("span",{onClick:()=>ur(Xr.id),key:Xr.id,style:y(y({color:Ka},ya),(Xr==null?void 0:Xr.style)||{}),className:Zn===Xr.id?we()(co||je.active,Xr.classNameActive):""},me.createElement("span",{title:Xr.name,className:je.name},Xr.name),!!pi&&me.createElement("span",{className:je.num},Xr.count))))),!!Mo&&me.createElement(me.Fragment,null,Mo===1?me.createElement("div",{onClick:()=>{var Xr;Wo(2),((Xr=As==null?void 0:As.current)==null?void 0:Xr.clientHeight)>245?no(!0):no(!1)},className:je.action},"\u5C55\u5F00",me.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):me.createElement("div",{onClick:()=>{Fs.current.scrollTop=0,Wo(1),no(!1)},className:je.action},"\u6536\u8D77",me.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},E={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"},ne=({dataSource:rr=[],value:Zn,onChange:ur,onTitleChange:Yr,className:zt,title:Io,titleWidth:jr=41,style:fo={},fontColor:Ka="#6A7283",showCount:pi,expand:co=!0})=>{const[ya,Mo]=(0,me.useState)(0),[Wo,_s]=(0,me.useState)(!1),no=(0,me.useRef)(null),As=(0,me.useRef)(null),[Fs,Xr]=(0,me.useState)(co);return me.createElement("div",{className:we()(E.row,zt),style:fo},me.createElement("div",{className:"flex item-center justify-between"},me.createElement("div",{onClick:(0,Ne.throttle)(()=>Yr==null?void 0:Yr(),2e3),style:{width:jr,marginTop:Wo?12:4},className:`${E.title} ${Yr?"current":""}`},Io),me.createElement("i",{className:`iconfont ${Fs?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Fs?8:10},onClick:()=>Xr(!Fs)})),Fs&&me.createElement("div",{className:Wo?`${E.tagsWrap} ${E.tagsBorderWrap}`:E.tagsWrap},me.createElement("div",{className:E.fenge}),me.createElement("div",{className:E.bar,ref:As},me.createElement("div",{className:E.tag,ref:no},rr==null?void 0:rr.map(Rr=>me.createElement("span",{onClick:()=>ur(Rr.id),key:Rr.id,style:{color:Ka},className:Zn===Rr.id?E.active:""},me.createElement("span",{title:Rr.name,className:E.name},Rr.name),!!pi&&me.createElement("span",{className:E.num},Rr.count)))))))},ae={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"},Le=({dataSource:rr=[],value:Zn,onChange:ur,className:Yr,style:zt={}})=>me.createElement("div",{style:zt,className:we()(ae.tabs,Yr)},rr.map(Io=>me.createElement("span",{onClick:()=>ur(Io.id),className:Zn===Io.id?ae.active:"",key:Io.id},Io.name))),Pe={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ue=Be(92832),Ze=({dataSource:rr=[],value:Zn="",onChange:ur,onInputChange:Yr=()=>{},className:zt,style:Io={},placeholder:jr,allowClear:fo=!1})=>{var Ka;const[pi,co]=(0,me.useState)(""),[ya,Mo]=(0,me.useState)("");(0,me.useEffect)(()=>{var no;let As=Zn;(no=JSON.stringify(Zn))!=null&&no.includes("{")&&(co(Zn.id),As=Zn.value||"");try{Mo(decodeURIComponent(As||""))}catch(Fs){Mo(decodeURIComponent(As||""))}},[Zn]);const Wo=()=>{ur(encodeURIComponent(ya),pi||null)},_s=no=>{no!==pi&&(co(no),ur(encodeURIComponent(ya),no))};return me.createElement("div",{className:we()(Pe.input,zt),style:Io},!!rr.length&&me.createElement("div",{className:Pe.dropdown},me.createElement("div",{className:Pe.text},(Ka=rr.find(no=>no.id===pi))==null?void 0:Ka.name,me.createElement("i",{className:"iconfont icon-zhankai4"}),me.createElement("b",{className:Pe.b1}),me.createElement("b",{className:Pe.b2})),me.createElement("div",{className:Pe.menu},rr.map((no,As)=>me.createElement("div",{key:As,onClick:()=>_s(no.id)},no.name)))),me.createElement(Ue.default,{onPressEnter:Wo,value:ya,onChange:no=>{Mo(no.target.value),Yr(encodeURIComponent(no.target.value),pi||null)},bordered:!1,placeholder:jr}),me.createElement("i",{onClick:Wo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},tt={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:rr,onChange:Zn,className:ur,total:Yr,pageSize:zt,style:Io={}})=>{const jr=rr<2,fo=rr>=Math.ceil(Yr/zt);return Yr<=zt?me.createElement(me.Fragment,null):me.createElement("div",{className:we()(tt.quickPager,ur),style:Io},me.createElement("div",{onClick:()=>{jr||Zn(rr-1,"prev")},className:jr?tt.disabled:""},"\u4E0A\u4E00\u9875"),me.createElement("div",{onClick:()=>{fo||Zn(rr+1,"next")},className:fo?tt.disabled:""},"\u4E0B\u4E00\u9875"))},Qe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Lt=Be(71418),it=Be(6848),ot=Be(13570),St=Be(14185),lt=Be(76406),vt=Be(96908),ut=Be(57177),at=Be(81378),Kt=Be(90736),mt=({className:rr,dataSource:Zn=[],col:ur=4,right:Yr,bottom:zt=23,precision:Io=0,wrapWidth:jr=1200,trackEventItems:fo,loading:Ka})=>{const pi=Math.floor((jr-(ur-1)*Yr)/ur);return me.createElement(Lt.Z,{spinning:Ka},me.createElement("div",{className:we()(Qe.list,rr)},!!Zn.length&&Zn.map((co,ya)=>{const{name:Mo,id:Wo,identifier:_s,power:no,cover_image_id:As,pic:Fs}=co;return me.createElement("div",{className:Qe.wrap,key:Wo,style:{width:pi,marginRight:(1+ya)%ur===0?0:Yr+Io,marginBottom:zt}},me.createElement("a",{target:"_blank",href:`/shixuns/${_s}/challenges`,className:Qe.li,onClick:Xr=>{Xr.preventDefault(),fo&&(0,lt.L9)([fo]),no&&(0,lt.xg)(`/shixuns/${_s}/challenges`)}},me.createElement("div",{className:Qe.img},me.createElement("img",{className:Qe.cover,src:`${Fs}`}),co.is_jupyter&&me.createElement("img",{className:Qe.sign,src:vt}),co.is_jupyter_lab&&me.createElement("img",{className:Qe.sign,src:ut}),co.is_unity_3d&&me.createElement("img",{className:Qe.sign,src:at})),me.createElement("div",{className:Qe.name},me.createElement(it.Z,{title:Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},me.createElement("span",{className:Qe.e},Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),me.createElement("div",{className:Qe.tags},me.createElement(it.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),me.createElement("span",null,co.challenges_count))),!!co.myshixuns_count&&me.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),me.createElement("span",null,co.myshixuns_count))),me.createElement(it.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},me.createElement("span",null,me.createElement("span",null,co.level))),me.createElement("div",{className:Qe.rate},me.createElement(ot.Z,{allowHalf:!0,disabled:!0,defaultValue:co.score_info}),me.createElement("span",null,"\xA0",co.score_info?`${co.score_info}\u5206`:"5\u5206")))),!no&&me.createElement("div",{className:Qe.lockWrap},me.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),me.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&me.createElement(Kt.Z,null)))},Tt={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"},Qn=({className:rr,dataSource:Zn=[],col:ur=4,right:Yr,bottom:zt=23,precision:Io=0,wrapWidth:jr=1200,wrapClassName:fo,trackEventItems:Ka,loading:pi})=>{const co=Math.floor((jr-(ur-1)*Yr)/ur);return me.createElement(Lt.Z,{spinning:pi},me.createElement("div",{className:we()(Tt.list,rr)},!!Zn.length&&Zn.map((ya,Mo)=>{const{name:Wo,id:_s,identifier:no,power:As,cover_image_id:Fs,pic:Xr}=ya;return me.createElement("div",{className:we()(Tt.wrap,fo),key:_s,style:{width:co,marginRight:(1+Mo)%ur===0?0:Yr+Io,marginBottom:zt}},me.createElement("a",{target:"_blank",href:`/shixuns/${no}/challenges`,className:Tt.li,onClick:Rr=>{Rr.preventDefault(),Ka&&(0,lt.L9)([Ka]),As&&(0,lt.xg)(`/shixuns/${no}/challenges`)}},me.createElement("img",{src:Be(47621),className:Tt.titleBg}),me.createElement("div",{className:Tt.name},me.createElement(it.Z,{title:Wo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},me.createElement("span",{className:Tt.e},Wo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),me.createElement("div",{style:{padding:"14px",paddingBottom:0}},me.createElement("div",{className:Tt.img},me.createElement("img",{className:Tt.cover,src:Fs?`${St.Z.API_SERVER}/api/attachments/${Fs}`:`${St.Z.IMG_SERVER+Xr}`}),ya.is_jupyter&&me.createElement("div",{className:Tt.bq},"Jupyter"),ya.is_jupyter_lab&&me.createElement("div",{className:Tt.bq},"JupyterLab"),ya.is_unity_3d&&me.createElement("div",{className:Tt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),me.createElement("div",{className:"mt20 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:Tt.text},"\u5B66\u4E60\u4EBA\u6570"),me.createElement("span",{className:Tt.value},ya.myshixuns_count)),me.createElement("div",null,me.createElement("span",{className:Tt.text},"\u56F0\u96BE\u7B49\u7EA7"),me.createElement("span",{className:Tt.value},ya.level))),me.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:Tt.text},"\u5173\u5361\u6570"),me.createElement("span",{className:Tt.value},ya.challenges_count)),me.createElement("div",{className:Tt.rate},me.createElement(ot.Z,{allowHalf:!0,disabled:!0,defaultValue:ya.score_info}),me.createElement("span",{className:Tt.value,style:{color:"#FF9C00"}},"\xA0",ya.score_info?`${ya.score_info}\u5206`:"5\u5206"))))),!As&&me.createElement("div",{className:Tt.lockWrap},me.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),me.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&me.createElement(Kt.Z,null)))},un=Be(54077),Tn={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"},Bt=Be(79005),Rn=Be(20345),$n=Be(77882),Xe=Be(31081),fn=Be(75309),Fe=Be(71979),fe=Be(47558),ce=Be(42922),Se=Be(66832),qe=Be(96593),dt=Be(19664),He=Be(91833);const Ye=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Bt,swimg:Rn},{name:"101\u8BA1\u5212",ptimg:$n,swimg:Xe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:fn,swimg:Fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:fe,swimg:ce},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Se,swimg:qe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:dt,swimg:He}];var gt=({className:rr,dataSource:Zn=[],col:ur=4,right:Yr,bottom:zt=23,precision:Io=0,wrapWidth:jr=1200,trackEventItems:fo,loading:Ka,wrapClassName:pi,imgClassName:co,isArrow:ya=!1})=>{const Mo=Math.floor((jr-(ur-1)*Yr)/ur),[Wo,_s]=(0,me.useState)(),[no,As]=(0,me.useState)(),Fs=Rr=>_s(Rr),Xr=()=>_s(-1);return me.createElement(Lt.Z,{spinning:Ka},me.createElement("div",{className:we()(Tn.list,rr)},!!(Zn!=null&&Zn.length)&&(Zn==null?void 0:Zn.map((Rr,Wt)=>{var Qt;const{name:xn,id:sr,identifier:ta,featured:ha,school_name:aa,image_url:Nr,excellent:ia,is_plan:Qa}=Rr;return me.createElement("div",{key:sr,className:we()(Tn.wrap,pi),style:{width:Mo,marginRight:(1+Wt)%ur===0?0:Yr+Io,marginBottom:zt}},me.createElement("a",{target:"_blank",href:`/paths/${ta}`,className:Tn.li,onClick:Eo=>{Eo.preventDefault(),fo&&(0,lt.L9)([fo]),(0,lt.xg)(`/paths/${ta}`)}},me.createElement("img",{src:Be(39057),className:Tn.titleBg}),me.createElement("div",{className:Tn.name},me.createElement(it.Z,{title:xn},me.createElement("span",{className:Tn.e,style:{color:ya&&Wo===Wt?"#145DFF":"#000000"},onMouseEnter:()=>{Fs(Wt)},onMouseLeave:Xr},xn))),me.createElement("div",{style:{padding:"14px",paddingBottom:0}},me.createElement("div",{className:we()(Tn.img,co)},me.createElement("img",{className:Tn.cover,src:`${St.Z.IMG_SERVER+Nr}`}),(Qt=Rr==null?void 0:Rr.subject_tags)==null?void 0:Qt.map((Eo,wi)=>{var Fa,ls;if(wi===0){const hi=(Fa=Ye.find(zr=>zr.name==Eo))==null?void 0:Fa.swimg;return me.createElement("img",{className:Tn.sign,src:hi,style:{left:"-4px"}})}const si=(ls=Ye.find(hi=>hi.name==Eo))==null?void 0:ls.ptimg;return me.createElement("img",{className:Tn.sign,src:si,style:{left:`${48+52*(wi-1)+2*wi}px`}})}),me.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Rr==null?void 0:Rr.excellent)&&me.createElement("div",{className:Tn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),me.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:Tn.text},"\u7AE0\u8282\u6570"),me.createElement("span",{className:Tn.value},Rr.stages_count)),me.createElement("div",null,me.createElement("span",{className:Tn.text},"\u5B66\u4E60\u4EBA\u6570"),me.createElement("span",{className:Tn.value},Rr.members_count))))))})),!Zn.length&&me.createElement(Kt.Z,null)))},st={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"},Rt="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",hn=Be(59301),sn=({className:rr,dataSource:Zn=[],col:ur=4,right:Yr,bottom:zt=23,precision:Io=0,wrapWidth:jr=1200,trackEventItems:fo,loading:Ka})=>{const pi=Math.floor((jr-(ur-1)*Yr)/ur);return hn.createElement(Lt.Z,{spinning:Ka},hn.createElement("div",{className:we()(st.list,rr)},!!Zn.length&&Zn.map((co,ya)=>{const{subject_identifier:Mo,id:Wo,identifier:_s,power:no}=co,As=co.is_public!=0&&co.is_public;return hn.createElement("div",{className:st.wrap,key:Wo,style:{width:pi,marginRight:(1+ya)%ur===0?0:Yr+Io,marginBottom:zt}},hn.createElement("a",{className:st.li,onClick:Fs=>{Fs.preventDefault(),fo&&(0,lt.L9)([fo]),(0,lt.xg)(co.first_category_url)}},hn.createElement("div",{className:st.top},hn.createElement(it.Z,{title:co.name},hn.createElement("div",{className:st.name},co.name)),hn.createElement("img",{className:st.img,src:St.Z.IMG_SERVER+"/images/"+co.avatar_url}),hn.createElement("div",{className:st.text,title:co.creator},co.creator),Mo&&hn.createElement("div",{className:st.btns},hn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),hn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),As&&hn.createElement("div",{className:st.sign},"\u516C\u5F00")),hn.createElement("div",{className:st.bottom},co.visits>0&&hn.createElement(it.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},hn.createElement("span",null,hn.createElement("i",{className:"iconfont icon-liulanyan"}),hn.createElement("span",null,co.visits))),co.course_members_count>0&&hn.createElement(it.Z,{title:"\u6210\u5458",placement:"bottom"},hn.createElement("span",null,hn.createElement("i",{className:"iconfont icon-chengyuan"}),co.course_members_count)),co.tasks_count>0&&hn.createElement(it.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},hn.createElement("span",null,hn.createElement("i",{className:"iconfont icon-zuoye"}),co.tasks_count)),co.is_end?hn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):hn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!co.is_accessible&&hn.createElement("div",{className:st.lockWrap},hn.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),hn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&hn.createElement(Kt.Z,null)))},Ft={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"},yn="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",qt=({className:rr,dataSource:Zn=[],col:ur=4,right:Yr,bottom:zt=23,precision:Io=0,wrapWidth:jr=1200,wrapClassName:fo,trackEventItems:Ka,loading:pi})=>{const co=Math.floor((jr-(ur-1)*Yr)/ur);return me.createElement(Lt.Z,{spinning:pi},me.createElement("div",{className:we()(Ft.list,rr)},!!Zn.length&&Zn.map((ya,Mo)=>{const{subject_identifier:Wo,id:_s,identifier:no,power:As}=ya,Fs=ya.is_public!=0&&ya.is_public;return me.createElement("div",{className:we()(`${Ft.wrap} ${ya.is_accessible?"":Ft.warpStyle}`,fo),key:_s,style:{width:co,marginRight:(1+Mo)%ur===0?0:Yr+Io,marginBottom:zt}},me.createElement("a",{className:Ft.li,onClick:Xr=>{Xr.preventDefault(),Ka&&(0,lt.L9)([Ka]),(0,lt.xg)(ya.first_category_url)}},me.createElement("div",{className:Ft.creator},me.createElement("img",{className:Ft.img,src:St.Z.IMG_SERVER+"/images/"+ya.avatar_url}),me.createElement("div",{className:Ft.text,title:ya.creator},ya.creator)),me.createElement("div",{className:Ft.top},me.createElement(it.Z,{title:ya.name},me.createElement("div",{className:Ft.name},ya.name)),Fs&&me.createElement("div",{className:Ft.sign},"\u516C\u5F00")),me.createElement("div",{className:Ft.middle},me.createElement("div",{className:Ft.row,style:{marginBottom:6}},me.createElement("div",null,me.createElement("span",{className:Ft.text},"\u8BBF\u95EE\u91CF"),me.createElement("span",{className:Ft.value},(ya==null?void 0:ya.visits)||0)),me.createElement("div",null,me.createElement("span",{className:Ft.text},"\u6210\u5458"),me.createElement("span",{className:Ft.value},(ya==null?void 0:ya.course_members_count)||0))),me.createElement("div",{className:Ft.row},me.createElement("div",null,me.createElement("span",{className:Ft.text,style:{width:42}},"\u4F5C",me.createElement("span",{style:{marginLeft:14}},"\u4E1A")),me.createElement("span",{className:Ft.value},(ya==null?void 0:ya.tasks_count)||0)),me.createElement("div",null,me.createElement("span",{className:Ft.text},"\u72B6\u6001"),ya.is_end?me.createElement("span",{className:Ft.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):me.createElement("span",{className:Ft.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Wo&&me.createElement("div",{className:Ft.btns},me.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),me.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!ya.is_accessible&&me.createElement("div",{className:Ft.lockWrap},me.createElement("img",{src:`${St.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),me.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&me.createElement(Kt.Z,null)))},gn={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"},pn=Be(44283),ir=({dataSource:rr=[],value:Zn,onChange:ur,className:Yr,style:zt={},tabBarExtraContent:Io})=>me.createElement("div",{className:we()(gn.tabs,Yr),style:zt},me.createElement("div",{className:gn.tabsWrap},rr.map((jr,fo)=>me.createElement("aside",{className:gn.tab,onClick:()=>{ur(jr.id),jr.link&&pn.history.push(jr.link)},key:fo},me.createElement("div",{className:Zn===jr.id?gn.active:""},jr.name),(jr==null?void 0:jr.resetCount)==null&&(jr==null?void 0:jr.total)!==void 0&&me.createElement("span",null,"\uFF08",jr==null?void 0:jr.total,"\uFF09"),(jr==null?void 0:jr.resetCount)!==void 0&&(jr==null?void 0:jr.total)!==void 0&&me.createElement(it.Z,{title:(jr==null?void 0:jr.tip)!=null?jr==null?void 0:jr.tip:""},me.createElement("span",{style:{color:"#9096A3"}},"\uFF08",me.createElement("span",{style:{color:"#000"}},jr==null?void 0:jr.resetCount),"/",me.createElement("span",null,jr==null?void 0:jr.total),"\uFF09"))))),me.createElement("div",{className:gn.tabBar},Io)),yr={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"},lr=({dataSource:rr=[],value:Zn,onChange:ur,className:Yr,style:zt={},tabBarExtraContent:Io})=>me.createElement("div",{className:we()(yr.tabs,Yr),style:zt},me.createElement("div",{className:yr.tabsWrap},rr.map((jr,fo)=>me.createElement("aside",{className:yr.tab,onClick:()=>{ur(jr.id),jr.link&&pn.history.push(jr.link)},key:fo},me.createElement("div",{className:Zn===jr.id?yr.active:""},jr.name),(jr==null?void 0:jr.resetCount)==null&&(jr==null?void 0:jr.total)!==void 0&&me.createElement("span",null,"\uFF08",jr==null?void 0:jr.total,"\uFF09"),(jr==null?void 0:jr.resetCount)!==void 0&&(jr==null?void 0:jr.total)!==void 0&&me.createElement(it.Z,{title:(jr==null?void 0:jr.tip)!=null?jr==null?void 0:jr.tip:""},me.createElement("span",{style:{color:"#9096A3"}},"\uFF08",me.createElement("span",{style:{color:"#000"}},jr==null?void 0:jr.resetCount),"/",me.createElement("span",null,jr==null?void 0:jr.total),"\uFF09"))))),me.createElement("div",{className:yr.tabBar},Io)),Ar=({className:rr,style:Zn={},children:ur})=>me.createElement("div",{className:we()(rr),style:Zn},ur),Cr={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"},ea=Be(38854),wa=Be(20834);const kr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Wa=({sortValue:rr,dropValue:Zn,className:ur,onSort:Yr,onDrop:zt,dataSource:Io=kr})=>{var jr;return me.createElement("div",{className:we()(Cr.orderWrap,ur)},me.createElement(ea.Z,{dropdownRender:()=>me.createElement(wa.default,null,Io.map((fo,Ka)=>me.createElement(wa.default.Item,{key:Ka,onClick:()=>zt(fo.id)},fo.name)))},me.createElement("span",{className:Cr.orderTextWrap},(jr=Io.find(fo=>Zn===fo.id))==null?void 0:jr.name)),me.createElement("span",{className:Cr.orderIconWrap},me.createElement("span",{className:Cr.orderAsc},me.createElement("i",{className:rr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Cr.cursorPointer} ${Cr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Cr.cursorPointer}`,onClick:()=>Yr(rr==="asc"?"desc":"asc")})),me.createElement("span",{className:Cr.orderDesc},me.createElement("i",{className:rr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Cr.cursorPointer} ${Cr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Cr.cursorPointer}`,onClick:()=>Yr(rr==="asc"?"desc":"asc")}))))},Mr={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"},an=Be(3113),ri=Be(8633),Bo=Object.defineProperty,gi=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Mi=(rr,Zn,ur)=>Zn in rr?Bo(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:ur}):rr[Zn]=ur,Gi=(rr,Zn)=>{for(var ur in Zn||(Zn={}))zi.call(Zn,ur)&&Mi(rr,ur,Zn[ur]);if(gi)for(var ur of gi(Zn))Fo.call(Zn,ur)&&Mi(rr,ur,Zn[ur]);return rr},ai=(rr,Zn)=>{var ur={};for(var Yr in rr)zi.call(rr,Yr)&&Zn.indexOf(Yr)<0&&(ur[Yr]=rr[Yr]);if(rr!=null&&gi)for(var Yr of gi(rr))Zn.indexOf(Yr)<0&&Fo.call(rr,Yr)&&(ur[Yr]=rr[Yr]);return ur},Pn=(rr,Zn,ur)=>new Promise((Yr,zt)=>{var Io=Ka=>{try{fo(ur.next(Ka))}catch(pi){zt(pi)}},jr=Ka=>{try{fo(ur.throw(Ka))}catch(pi){zt(pi)}},fo=Ka=>Ka.done?Yr(Ka.value):Promise.resolve(Ka.value).then(Io,jr);fo((ur=ur.apply(rr,Zn)).next())}),dn=rr=>{var Zn=rr,{className:ur,style:Yr,children:zt,loading:Io=!1,openLoading:jr,onClick:fo=()=>{},size:Ka="middle",shape:pi="round",theme:co}=Zn,ya=ai(Zn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Mo,Wo]=(0,me.useState)(!1),_s=(0,me.useMemo)(()=>{switch(co){case ri.Fy.THEMEONE:return Mr.ThemeOne;case ri.Fy.DEFAULT:default:return Mr.btn}},[co]);return me.createElement(an.ZP,Gi({onClick:(0,Ne.throttle)(no=>Pn(void 0,null,function*(){jr&&Wo(!0);try{yield fo(no)}catch(As){console.log("error",As)}jr&&Wo(!1)}),2e3,{leading:!0,trailing:!1}),className:we()(_s,Mr[`${Ka}-${pi}`],ur),style:Yr,size:Ka,shape:pi,loading:Mo||Io},ya),zt)},Qr={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Dr=({className:rr,style:Zn,children:ur=null,onClick:Yr,title:zt})=>me.createElement("div",{className:we()(Qr.head,rr),style:Zn},me.createElement("span",{className:"primary-hover",onClick:Yr},me.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),me.createElement("b",{title:zt},zt),me.createElement("div",{className:Qr.node},ur)),va={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},xa=({confirmShow:rr=!0,confirmTitle:Zn,confirmClick:ur,cancelShow:Yr=!0,cancelTitle:zt,cancelClick:Io,className:jr,style:fo,confirmLoading:Ka=!1})=>me.createElement("div",{className:we()(va.btns,jr),style:fo},rr&&me.createElement(an.ZP,{loading:Ka,onClick:ur,type:"primary",className:va.confirm},Zn),Yr&&me.createElement(an.ZP,{onClick:Io,className:va.cancel},zt)),So={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"},xr=({className:rr,style:Zn={},LeftContent:ur,children:Yr,RightContent:zt})=>me.createElement("div",{className:we()(So.fixedBottom,rr),style:Zn},me.createElement("div",{className:So.wrap},me.createElement("div",{className:So.left},ur),me.createElement("div",{className:So.center},Yr),me.createElement("div",{className:So.right},zt))),ja={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"},ii=({className:rr,style:Zn={},dataSource:ur=[]})=>me.createElement("div",{className:we()(ja.crumbs,rr),style:Zn},ur.map((Yr,zt)=>ztpn.history.push(Yr.path)},Yr.name):me.createElement("span",null,Yr.name),me.createElement("span",null,"\xA0",">","\xA0")):me.createElement("span",{key:zt,style:{color:"#5F6368"}},Yr.name))),fi=Be(31797),Lo=Object.defineProperty,ss=Object.defineProperties,Ms=Object.getOwnPropertyDescriptors,Ps=Object.getOwnPropertySymbols,BA=Object.prototype.hasOwnProperty,Js=Object.prototype.propertyIsEnumerable,Ui=(rr,Zn,ur)=>Zn in rr?Lo(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:ur}):rr[Zn]=ur,CA=(rr,Zn)=>{for(var ur in Zn||(Zn={}))BA.call(Zn,ur)&&Ui(rr,ur,Zn[ur]);if(Ps)for(var ur of Ps(Zn))Js.call(Zn,ur)&&Ui(rr,ur,Zn[ur]);return rr},yl=(rr,Zn)=>ss(rr,Ms(Zn)),dA=(rr,Zn)=>{var ur={};for(var Yr in rr)BA.call(rr,Yr)&&Zn.indexOf(Yr)<0&&(ur[Yr]=rr[Yr]);if(rr!=null&&Ps)for(var Yr of Ps(rr))Zn.indexOf(Yr)<0&&Js.call(rr,Yr)&&(ur[Yr]=rr[Yr]);return ur};const{Countdown:Ur}=fi.default;var gu=rr=>{var Zn=rr,{onChange:ur}=Zn,Yr=dA(Zn,["onChange"]);const[zt,Io]=(0,me.useState)(null);(0,me.useEffect)(()=>{typeof zt=="number"&&zt>=0&&ur(zt)},[zt]);const jr=fo=>{const Ka=Math.floor(fo/1e3);Io(Ka)};return me.createElement(Ur,yl(CA({},Yr),{onChange:jr}))},fu={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Vr=({DataProps:rr,className:Zn,style:ur={}})=>{var Yr;return me.createElement("div",{className:we()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",fu.ClassRoomItem,Zn),style:ur,onClick:()=>{(0,lt.xg)(rr==null?void 0:rr.first_category_url)}},me.createElement("div",{className:"flex flex-col item-center"},me.createElement("img",{src:`${(Yr=St.Z)==null?void 0:Yr.IMG_SERVER}/images/${rr==null?void 0:rr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(rr==null?void 0:rr.subject_identifier)&&me.createElement("div",{className:"mt-40px"},me.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),me.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),me.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},me.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(rr!=null&&rr.is_public)&&me.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"),me.createElement("span",{className:we()("text-16px font-medium",fu.TitleDom)},rr==null?void 0:rr.name)),me.createElement("div",{className:"c-grey-333 font-medium"},rr==null?void 0:rr.creator),me.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",rr==null?void 0:rr.course_members_count),me.createElement("div",{className:"c-grey-333 flex item-center justify-between"},me.createElement("div",null,"\u4F5C\u4E1A\uFF1A",rr==null?void 0:rr.tasks_count),rr!=null&&rr.is_end?me.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):me.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ma=Object.defineProperty,To=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,Xi=(rr,Zn,ur)=>Zn in rr?Ma(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:ur}):rr[Zn]=ur,xs=(rr,Zn)=>{for(var ur in Zn||(Zn={}))Ea.call(Zn,ur)&&Xi(rr,ur,Zn[ur]);if(To)for(var ur of To(Zn))Pi.call(Zn,ur)&&Xi(rr,ur,Zn[ur]);return rr},PA=({DataProps:rr=[],selectValue:Zn,onChange:ur,className:Yr,style:zt={},extra:Io,classNameItem:jr,styleItem:fo={},barHidden:Ka})=>{const[pi,co]=(0,me.useState)();return(0,me.useEffect)(()=>{co(Array.isArray(Zn)?Zn:[Zn])},[Zn]),me.createElement("div",{className:we()("flex px-20px py-10px gap-40px",Yr),style:xs({borderBottom:"1px solid #D3F0FF"},zt)},rr==null?void 0:rr.map(ya=>me.createElement("div",{key:ya==null?void 0:ya.id,className:we()("flex item-center justify-center current c-grey-333 text-16 relative",jr,ya==null?void 0:ya.className),style:xs(xs({color:pi!=null&&pi.includes(ya==null?void 0:ya.id)?"#1890FF":"",minWidth:88},fo),(ya==null?void 0:ya.style)||{}),onClick:Mo=>{ur==null||ur({domEvent:Mo,item:ya}),ya!=null&&ya.link&&pn.history.push(ya==null?void 0:ya.link)}},ya==null?void 0:ya.name,!Ka&&(pi==null?void 0:pi.includes(ya==null?void 0:ya.id))&&me.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),me.createElement("div",{className:"ml-auto"},Io))},xi=Object.defineProperty,Oa=Object.defineProperties,vc=Object.getOwnPropertyDescriptors,ju=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,Lu=(rr,Zn,ur)=>Zn in rr?xi(rr,Zn,{enumerable:!0,configurable:!0,writable:!0,value:ur}):rr[Zn]=ur,Jl=(rr,Zn)=>{for(var ur in Zn||(Zn={}))Fu.call(Zn,ur)&&Lu(rr,ur,Zn[ur]);if(ju)for(var ur of ju(Zn))bl.call(Zn,ur)&&Lu(rr,ur,Zn[ur]);return rr},Rl=(rr,Zn)=>Oa(rr,vc(Zn)),cl=({value:rr,onChange:Zn,onInputChange:ur,className:Yr,style:zt={},InputProps:Io})=>{const[jr,fo]=(0,me.useState)(rr);return me.createElement("div",{className:we()("flex item-center rounded-full px-10px py-2px",Yr),style:Jl({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},zt)},me.createElement(Ue.default,Rl(Jl({bordered:!1},Io),{onChange:Ka=>{fo(Ka.target.value),ur==null||ur(encodeURIComponent(Ka.target.value))},onPressEnter:Ka=>{Zn==null||Zn({domEvent:Ka,item:{value:jr}})}})),me.createElement("img",{className:"h-22px current",src:Be(25365),height:22,onClick:Ka=>{Zn==null||Zn({domEvent:Ka,item:{value:jr}})}}))}},79006:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Ce}});var me=Be(59301);function Ce(Me,rt){const ze=(0,me.useRef)();(0,me.useEffect)(()=>{ze.current=Me}),(0,me.useEffect)(()=>{function je(){ze.current()}if(rt!==null){let ve=setInterval(je,rt);return()=>clearInterval(ve)}},[rt])}},19423:function(Yt,Dt,Be){"use strict";var me=Be(43418),Ce=Be(8591),Me=Be(49317),rt=Be(44283),ze=Be(15267),je=Be(59301),ve=(Ne,ge,De)=>new Promise((xe,Ee)=>{var ie=ee=>{try{a(De.next(ee))}catch(E){Ee(E)}},y=ee=>{try{a(De.throw(ee))}catch(E){Ee(E)}},a=ee=>ee.done?xe(ee.value):Promise.resolve(ee.value).then(ie,y);a((De=De.apply(Ne,ge)).next())});const we=({shixunHomeworks:Ne,classroomList:ge,dispatch:De})=>{const xe=(0,rt.useParams)();return je.createElement(me.default,{centered:!0,title:"\u63D0\u793A",open:Ne.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var Ee,ie,y,a;if((0,ze.Rm)()&&!((Ee=ge.AssistantObject.practice)!=null&&Ee.can_redo)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,Me.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:xe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(ee.shixun_identifier){Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===xe.categoryId))==null?void 0:y.id;if((0,ze.Rm)()&&!((a=ge.AssistantObject.practice)!=null&&a.can_view))return;rt.history.replace(`/classrooms/${xe.coursesId}/shixun_homework/${xe.categoryId}/${E}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Dt.Z=(0,rt.connect)(({shixunHomeworks:Ne,classroomList:ge})=>({shixunHomeworks:Ne,classroomList:ge}))(we)},38649:function(Yt,Dt,Be){"use strict";Be.r(Dt),Be.d(Dt,{default:function(){return Rr}});var me=Be(8633),Ce=Be(59301),Me=Be(44283),rt=Be(66649),ze=Be.n(rt),je=Be(86129),ve=Be.n(je),we=Be(49317),Ne=Be(43418),ge=Be(8591),De=Be(61621),xe=Be(66104),Ee=Be(3113),ie=Be(6848),y=Be(92832),a=Be(28103),ee=Be(95237),E=Be(43604),te=Be(1710),ne=Be(57809),ae=Be(58421),de=Be(95869),Le=Be(87169),Pe=Be(26227),Ue=Be(14185),Ge=Be(15267),Ze=Be(76406),tt=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 Qe=({shixunHomeworks:Wt,data:Qt,globalSetting:xn,loading:sr,dispatch:ta})=>{var ha;const{shixunWorkReport:aa}=Wt;let Nr=((ha=Qt==null?void 0:Qt.efficiency_list)==null?void 0:ha.length)-parseInt(Qt==null?void 0:Qt.myself_eff[0]);const ia=()=>({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(Eo){return Eo.name===aa.username?"\u59D3\u540D\uFF1A"+aa.username+"
\u5B66\u53F7\uFF1A "+aa.user_id+"
\u6548\u7387\uFF1A"+(Qt==null?void 0:Qt.myself_eff[1]):Eo.name+":"+Eo.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:Qt==null?void 0:Qt.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:aa.username,xAxis:Nr,yAxis:Qt==null?void 0:Qt.myself_eff[1],value:Qt==null?void 0:Qt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Qa=()=>({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(Eo){var wi=Eo.value;if(Eo.name===aa.username)return"\u59D3\u540D\uFF1A"+aa.username+"
\u5B66\u53F7\uFF1A "+aa.user_id+"
\u5F97\u5206\uFF1A"+(Qt==null?void 0:Qt.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:Qt==null?void 0:Qt.consume_list,symbolSize:function(Eo){return Math.round(Eo[2])},markPoint:{data:[{name:aa.username,xAxis:Qt==null?void 0:Qt.myself_object[0],yAxis:Qt==null?void 0:Qt.myself_object[1],value:Qt==null?void 0:Qt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ce.createElement(Ce.Fragment,null,Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(tt.Z,{style:{width:750,height:580},option:ia()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Te.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},aa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},aa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_eff[0]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ce.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"))))),Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(tt.Z,{style:{width:750,height:580},option:Qa()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Te.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},aa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},aa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_object[1]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Ce.createElement("br",null)))))))};var Lt=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects}))(Qe),it=Be(34728),ot=Be(5871),St=({defaultValue:Wt,onBlur:Qt,max:xn,className:sr="game-score"})=>{const[ta,ha]=(0,Ce.useState)(Wt);(0,Ce.useEffect)(()=>{ha(Wt)},[Wt]);function aa(ia){ha(ia)}function Nr(){ta!==Wt&&Qt(ta>xn?xn:ta)}return Ce.createElement(ot.Z,{max:xn,min:0,className:sr,value:ta,onChange:aa,onBlur:Nr})},lt=Be(18857),vt={md:"md___GIQyK"},ut=Be(59301),at=Object.defineProperty,Kt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,Qn=(Wt,Qt,xn)=>Qt in Wt?at(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,un=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Tt.call(Qt,xn)&&Qn(Wt,xn,Qt[xn]);if(mt)for(var xn of mt(Qt))wn.call(Qt,xn)&&Qn(Wt,xn,Qt[xn]);return Wt},Tn=(Wt,Qt)=>Kt(Wt,Vt(Qt));const Bt=ne.default.Option,Rn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var $n=(Wt=>(Wt[Wt.SET_PATH=0]="SET_PATH",Wt[Wt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Wt))($n||{});function Xe(Wt,Qt){switch(Qt.type){case 0:return Tn(un({},Wt),{selectedPath:Qt.payload});case 1:return Tn(un({},Wt),{passedContent:Qt.payload});default:throw new Error}}var fn=({path:Wt,game_id:Qt,onPathChange:xn,autoHeight:sr,diff_code_count:ta,data:ha,game_codes_cn:aa})=>{var Nr,ia,Qa,Eo;const wi=Wt.split("\uFF1B").filter(so=>!!so),[Fa,ls]=(0,Ce.useReducer)(Xe,{selectedPath:wi[0],passedContent:{language:"python",content:""}}),{selectedPath:si,passedContent:hi}=Fa;function zr(so){ls({type:0,payload:so})}const La={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return ut.createElement(ut.Fragment,null,ut.createElement("h2",null," ",ut.createElement("span",null,aa,ut.createElement(ie.Z,{title:ut.createElement("div",null,ut.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ut.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ut.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"),ut.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ut.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ta&&ut.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ta),ut.createElement("span",null,ut.createElement(ne.default,{style:{width:200},value:si,onChange:zr}," ",wi.map(so=>ut.createElement(Bt,{key:so,value:so},so))," "))," "),(si==null?void 0:si.split(".")[1])==="md"&&ut.createElement(lt.Z,{height:300,autoHeight:sr,defaultValue:((ia=(Nr=ha==null?void 0:ha.filter(so=>so.path===si))==null?void 0:Nr[0])==null?void 0:ia.content)||"",className:vt.md}),(si==null?void 0:si.split(".")[1])!=="md"&&ut.createElement(it.ZP,{height:300,language:hi.language,value:((Eo=(Qa=ha==null?void 0:ha.filter(so=>so.path===si))==null?void 0:Qa[0])==null?void 0:Eo.content)||"",autoHeight:sr,theme:"default",isCopy:!0,options:Rn}))},Fe=Be(77996),fe=Be(96249),ce=Be.n(fe),Se=Object.defineProperty,qe=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ye=(Wt,Qt,xn)=>Qt in Wt?Se(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Pt=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))dt.call(Qt,xn)&&Ye(Wt,xn,Qt[xn]);if(qe)for(var xn of qe(Qt))He.call(Qt,xn)&&Ye(Wt,xn,Qt[xn]);return Wt},gt=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ha=ia=>{try{Nr(xn.next(ia))}catch(Qa){ta(Qa)}},aa=ia=>{try{Nr(xn.throw(ia))}catch(Qa){ta(Qa)}},Nr=ia=>ia.done?sr(ia.value):Promise.resolve(ia.value).then(ha,aa);Nr((xn=xn.apply(Wt,Qt)).next())});const st=({shixunHomeworks:Wt,autoHeight:Qt,classroomList:xn,dispatch:sr})=>{var ta,ha,aa,Nr,ia,Qa,Eo;const{shixunWorkReport:wi}=Wt,{stage_list:Fa,work_id:ls}=wi,[si,hi]=(0,Ce.useState)(!1),[zr,La]=(0,Ce.useState)(!0),[so,vi]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),Zi=(0,Ce.useRef)(null),[Vi,Ks]=(0,Ce.useState)(!1),fs=(ho,qa)=>{var Ls;const{clientWidth:xA,clientHeight:Is}=window.document.documentElement,zs=(Ls=Zi.current)==null?void 0:Ls.getBoundingClientRect();zs&&vi({left:-zs.left+qa.x,right:xA-(zs.right-qa.x),top:-zs.top+qa.y,bottom:Is-(zs.bottom-qa.y)})},wA=(0,Me.useParams)(),Cl=(0,Ge.GJ)(),$l={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(wA)},[]);const El=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(ho,qa,Ls)=>Ce.createElement("div",null,ho,qa.is_work_end_evaluate&&Ce.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:ho=>ze()(ho).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(ho,qa)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>gt(void 0,null,function*(){var Ls,xA;const Is=yield(0,Fe.Lk)(qa.game_identifier,{path:(xA=(Ls=qa.path)==null?void 0:Ls.replace(/\;/g,";"))==null?void 0:xA.split(";")[0],query_index:qa.query_index,homework_common_id:wA.categoryId});(Is==null?void 0:Is.status)===0&&(Ks(Is),hi(!0))})},qa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],eu=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(ho,qa)=>{var Ls;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((Ls=qa==null?void 0:qa.user)==null?void 0:Ls.image_url)}),ho)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:ho=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",ho,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:ho=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",ho,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:ho=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",ho?ze()(ho).format("YYYY-MM-DD HH:mm"):"--")}];function Ln(ho,qa){return gt(this,null,function*(){const{challenge_id:Ls}=Fa[ho],xA=yield sr({type:"shixunHomeworks/changeScore",payload:{categoryId:wA.homeworkId,type:"report",score:qa,challenge_id:Ls}});yield sr({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},wA)}),xA.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(ho,qa){return(0,we.U2)(`student_works/${ls}/rep_passed_content.json`,{path:qa,game_id:ho})}const Pl=wi.shixun_detail;return Ce.createElement(Ce.Fragment,null,Pl==null?void 0:Pl.map(function(ho,qa){var Ls,xA;return Ce.createElement("div",{key:qa},Ce.createElement("aside",{className:"pl30 pr30",key:qa},Ce.createElement("div",{className:`${Te.shixunTitle} mt10`},Ce.createElement("div",null,Ce.createElement("span",{className:"fa fa-code "}),Ce.createElement("strong",{className:"c-black"},"\u7B2C",qa+1,"\u5173 ",Ce.createElement(Me.Link,{className:"c-black",target:"_blank",to:`/tasks/${wA.coursesId}/${wA.categoryId}/${ho.game_identifier}`},ho.subject))),Cl?Ce.createElement("span",null,"\u8C03\u5206\uFF1A",Ce.createElement(St,{className:"game-score",max:Fa[qa].game_score_full,defaultValue:Fa[qa].game_score,onBlur:Is=>{var zs;if((0,Ge.Rm)()&&!((zs=xn.AssistantObject.practice)!=null&&zs.can_appraise)){ge.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}Ln(qa,Is)}})):null),Ce.createElement("div",{className:"font16 mt10"},ho.st===0&&(ho.path?typeof(ho==null?void 0:ho.game_codes_cn)=="string"?Ce.createElement("aside",{className:Te.shixunWrp},Ce.createElement(fn,{game_codes_cn:ho==null?void 0:ho.game_codes_cn,autoHeight:Qt,path:ho.path,game_id:ho.id,data:ho.game_codes,diff_code_count:ho.diff_code_count,onPathChange:In})):Ce.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"),ho.st===1&&(ho.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")),Ce.createElement("aside",{className:"mt10 font16"},(Ls=ho.outputs)!=null&&Ls.length?Ce.createElement(te.default,{columns:El,pagination:{hideOnSinglePage:!0},dataSource:ho.outputs.map(Is=>Pt(Pt({},ho),Is))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ce.createElement("aside",{className:"mt10 font16"},((xA=ho==null?void 0:ho.adjust_review_score_list)==null?void 0:xA.length)>0&&(0,Ge.GJ)()&&Ce.createElement("div",null,Ce.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ce.createElement(te.default,{columns:eu,pagination:{hideOnSinglePage:!0},dataSource:ho.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(Ne.default,{open:si,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Ks({}),hi(!1)},onCancel:()=>{Ks({}),hi(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{zr&&La(!1)},onMouseOut:()=>{La(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:ho=>Ce.createElement(ce(),{disabled:zr,bounds:so,nodeRef:Zi,onStart:(qa,Ls)=>fs(qa,Ls)},Ce.createElement("div",{ref:Zi},ho))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((ta=Vi==null?void 0:Vi.data)==null?void 0:ta.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ce.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ce.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ce.createElement("div",{style:{color:((ha=Vi==null?void 0:Vi.data)==null?void 0:ha.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(aa=Vi==null?void 0:Vi.data)==null?void 0:aa.output_detail)),Ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((Nr=Vi==null?void 0:Vi.data)==null?void 0:Nr.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(ia=Vi==null?void 0:Vi.data)==null?void 0:ia.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Qa=Vi==null?void 0:Vi.data)==null?void 0:Qa.ts_mem,"mb")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Eo=Vi==null?void 0:Vi.data)==null?void 0:Eo.test_set_passed_rate)*100,"%")))),Ce.createElement(it.ZP,{height:500,autoHeight:Qt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Vi==null?void 0:Vi.content)||""))),options:$l})))};var Rt=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn,classroomList:sr})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects,classroomList:sr}))(st),hn=Be(78241),It={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},sn=Be(28303),Ft=Be(59301),yn=Object.defineProperty,At=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,pn=(Wt,Qt,xn)=>Qt in Wt?yn(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Yn=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))qt.call(Qt,xn)&&pn(Wt,xn,Qt[xn]);if(At)for(var xn of At(Qt))gn.call(Qt,xn)&&pn(Wt,xn,Qt[xn]);return Wt},ir=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ha=ia=>{try{Nr(xn.next(ia))}catch(Qa){ta(Qa)}},aa=ia=>{try{Nr(xn.throw(ia))}catch(Qa){ta(Qa)}},Nr=ia=>ia.done?sr(ia.value):Promise.resolve(ia.value).then(ha,aa);Nr((xn=xn.apply(Wt,Qt)).next())});const yr=({shixunHomeworks:Wt,dispatch:Qt,classroomList:xn})=>{const{shixunWorkReport:sr}=Wt,ta=(0,Me.useParams)(),[ha,aa]=(0,Ce.useState)(!1),[Nr]=hn.default.useForm(),[ia,Qa]=Ne.default.useModal(),[Eo,wi]=(0,Ce.useState)(!1),[Fa,ls]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var zr,La,so,vi;Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Nr.setFieldsValue({comment:(La=(zr=Wt.actionTabs.selectArrs)==null?void 0:zr.data)==null?void 0:La.work_comment,hidden_comment:(vi=(so=Wt.actionTabs.selectArrs)==null?void 0:so.data)==null?void 0:vi.work_comment_hidden})},[Wt.actionTabs.key]);const si=()=>ir(void 0,null,function*(){const zr=Nr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${ta.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:zr.hidden_comment,comment:zr.comment}})).status===0&&(ge.ZP.success("\u8BC4\u9605\u6210\u529F"),Nr.resetFields(),Qt({type:"shixunHomeworks/setActionTabs",payload:{}}),Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Yn({},ta)}))}),hi=[{title:"\u5173\u5361",dataIndex:"name",render:(zr,La,so)=>so+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(zr,La,so)=>Ft.createElement("div",null,zr,La.complete_status===4&&Ft.createElement(Ze.vA,{status:La.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:zr=>zr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(zr,La)=>Ft.createElement("div",null,Ft.createElement("span",{style:{color:parseFloat(La.game_score_full)!==parseFloat(zr)?"#E30000":"#53C41B"}},zr),"/",La.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(zr,La)=>(0,Ge.GJ)()?Ft.createElement(St,{max:La.game_score_full,defaultValue:parseFloat(zr),onBlur:so=>ir(void 0,null,function*(){var vi,Zi;if((0,Ge.Rm)()&&!((vi=xn.AssistantObject.practice)!=null&&vi.can_appraise)){ge.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 Vi=yield Qt({type:"shixunHomeworks/changeScore",payload:{categoryId:ta.homeworkId,type:"report",score:so,challenge_id:La.challenge_id}});(Zi=Wt==null?void 0:Wt.actionTabs)==null||Zi.fn(),yield Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Yn({},ta)}),Vi.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):zr}];return Ft.createElement(Ft.Fragment,null,Qa,Ft.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ir(void 0,null,function*(){var zr;if((0,Ge.Rm)()&&!((zr=xn.AssistantObject.practice)!=null&&zr.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const La=Nr.getFieldsValue();JSON.stringify(La)==="{}"||La.hidden_comment===""&&La.comment===""?aa(!0):si()}),onCancel:()=>{Qt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Ft.createElement(ee.Z,{justify:"space-between",className:It.info},Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u59D3\u540D"),Ft.createElement("span",{className:It.blackContent},sr==null?void 0:sr.username)),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u5B66\u53F7"),Ft.createElement("span",{className:It.blackContent},(sr==null?void 0:sr.student_id)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u73ED\u7EA7"),Ft.createElement("span",{className:It.blackContent},(sr==null?void 0:sr.group_name)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u5173\u5361\u5F97\u5206"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.challenge_score)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u6548\u7387\u5206"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.eff_score)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u8865\u4EA4\u6263\u5206"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.late_penalty)||"--")),Ft.createElement(E.Z,null,Ft.createElement("span",{className:`${It.label} ${It.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Ft.createElement("span",{className:It.orangeContent},(sr==null?void 0:sr.work_score)||"--"))),Ft.createElement(hn.default,{form:Nr,onChange:()=>{ha&&aa(!1)}},Ft.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Ft.createElement(E.Z,null,Ft.createElement("div",{className:`${It.inputLabel} ${It.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ft.createElement(E.Z,null,Ft.createElement(sn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Eo,onCancel:()=>{wi(!1)}},onDataSelect:(zr,La)=>ir(void 0,[zr,La],function*(so,{node:vi}){const Zi=()=>{Nr.setFieldsValue({comment:vi==null?void 0:vi.value}),wi(!1)};if(Nr.getFieldValue("comment")){ia.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:Zi});return}Zi()})},Ft.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Ft.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:zr=>{wi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ft.createElement(hn.default.Item,{name:"comment"},Ft.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Ft.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Ft.createElement(E.Z,null,Ft.createElement("div",{className:`${It.inputLabel} ${It.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ft.createElement(E.Z,null,Ft.createElement(sn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Fa,onCancel:()=>{ls(!1)}},onDataSelect:(zr,La)=>ir(void 0,[zr,La],function*(so,{node:vi}){const Zi=()=>{Nr.setFieldsValue({hidden_comment:vi==null?void 0:vi.value}),ls(!1)};if(Nr.getFieldValue("hidden_comment")){ia.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:Zi});return}Zi()})},Ft.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Ft.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:zr=>{ls(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ft.createElement(hn.default.Item,{name:"hidden_comment"},Ft.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),ha&&Ft.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Ft.createElement("div",{className:It.tableTitle},"\u5173\u5361\u6210\u7EE9"),Ft.createElement(te.default,{className:It.scoreTable,dataSource:sr.stage_list,rowKey:"challenge_id",pagination:!1,columns:hi,scroll:{x:"max-content"}})))};var br=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt})=>({shixunHomeworks:Wt,classroomList:Qt}))(yr),lr=Be(4712),ar=Be(67153),Ar=Be(9657),Cr=Be(44164),ea=Be.n(Cr),wa={wrap:"wrap___rFTBy",line:"line___kZzhh"},kr=Be(94258),Wa=({detailData:Wt})=>{var Qt;return Ce.createElement("div",{className:wa.wrap},Ce.createElement(kr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,kr.Uf)(Wt),(Wt==null?void 0:Wt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ce.createElement(kr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,kr.Uf)(Wt)}),!!((Qt=Wt==null?void 0:Wt.photos)!=null&&Qt.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:wa.line}),Ce.createElement(kr._s,{dataSource:Wt==null?void 0:Wt.photos,right:21,col:4,wrapWidth:1140}))))},Mr=Be(6252),an=Be(59301),ri=Object.defineProperty,Bo=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,zi=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,Gi=(Wt,Qt,xn)=>Qt in Wt?ri(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,ai=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Fo.call(Qt,xn)&&Gi(Wt,xn,Qt[xn]);if(zi)for(var xn of zi(Qt))Mi.call(Qt,xn)&&Gi(Wt,xn,Qt[xn]);return Wt},Pn=(Wt,Qt)=>Bo(Wt,gi(Qt)),On=(Wt,Qt)=>{var xn={};for(var sr in Wt)Fo.call(Wt,sr)&&Qt.indexOf(sr)<0&&(xn[sr]=Wt[sr]);if(Wt!=null&&zi)for(var sr of zi(Wt))Qt.indexOf(sr)<0&&Mi.call(Wt,sr)&&(xn[sr]=Wt[sr]);return xn},dn=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ha=ia=>{try{Nr(xn.next(ia))}catch(Qa){ta(Qa)}},aa=ia=>{try{Nr(xn.throw(ia))}catch(Qa){ta(Qa)}},Nr=ia=>ia.done?sr(ia.value):Promise.resolve(ia.value).then(ha,aa);Nr((xn=xn.apply(Wt,Qt)).next())});const Qr=Wt=>{var Qt=Wt,{shixunHomeworks:xn,classroomList:sr,globalSetting:ta,loading:ha,user:aa,dispatch:Nr}=Qt,ia=On(Qt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Qa,Eo,wi;const[Fa,ls]=(0,Ce.useState)(ai({},(0,Me.useParams)())),si=(0,Me.useParams)(),[hi,zr]=(0,Ce.useState)({page:1,page_size:10}),La=(0,Me.useLocation)(),[]=(0,Ce.useState)([]),[so,vi]=(0,Ce.useState)(),Zi=(0,Ce.useRef)(),[Vi,Ks]=(0,Ce.useState)(!1),[fs,wA]=(0,Ce.useState)(!0),[Cl,$l]=(0,Ce.useState)(!1),[El,eu]=(0,Ce.useState)(!1),{shixunWorkReport:Ln}=xn,[In,Pl]=(0,Ce.useState)(),[ho,qa]=(0,Ce.useState)([]),[Ls,xA]=(0,Ce.useState)(),[Is,zs]=(0,Ce.useState)("all"),MA=(0,Ge.GJ)(),[$u,VA]=(0,Ce.useState)(new(ve())),[qs,ro]=(0,Ce.useState)(0),[Po,ws]=(0,Ce.useState)(!1),[Ns,yA]=(0,Ce.useState)(!1),[Yo,jl]=(0,Ce.useState)(!1),[xl,Fl]=(0,Ce.useState)(""),[us,YA]=(0,Ce.useState)(!1),[tu,Kc]=(0,Ce.useState)(!0),[Gs,Ll]=(0,Ce.useState)(0),Ds=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),qi=(0,Ce.useRef)(),rA=()=>dn(void 0,null,function*(){(aa.userInfo.is_teacher||aa.userInfo.admin)&&(YA(!0),Kc(!1))});(0,Ce.useEffect)(()=>{var Tr;(0,Ge.Rm)()&&sr.AssistantObject.practice&&!((Tr=sr.AssistantObject.practice)!=null&&Tr.can_view)&&Me.history.replace("/403")},[(Qa=sr.AssistantObject.practice)==null?void 0:Qa.can_view]),(0,Ce.useEffect)(()=>{rA(),console.log("\u6253\u5370\u7684------",Ln),qi.current=Ln==null?void 0:Ln.next_student_work_id,Fl(Ln.repeat_minus_score)},[Ln,aa]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Ln.work_score),Ll(Ln.work_score)},[Ln.work_score,xl]),(0,Ce.useEffect)(()=>(Nr({type:"globalSetting/footerToggle",payload:!1}),()=>{Nr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var Tr;if(Ln){let ao=[];(Tr=Ln==null?void 0:Ln.target_test_sets)==null||Tr.map((fr,io)=>{var ei;(ei=fr==null?void 0:fr.targets)==null||ei.map((SA,FA)=>{var Ws;SA.name=fr==null?void 0:fr.name,SA.total_target_score=fr==null?void 0:fr.total_target_score,SA.actual_target_score=fr==null?void 0:fr.actual_target_score,SA.rowSpan=FA===0?(Ws=fr==null?void 0:fr.targets)==null?void 0:Ws.length:0,SA.order=io+1,ao.push(SA)})}),Pl(ao),(0,Ge.Rm)()&&Nr({type:"classroomList/getAssistantPermissions",payload:{course_id:Fa.coursesId}})}},[Ln]),(0,Ce.useEffect)(()=>{xn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Ln==null?void 0:Ln.students_count)>0&&!fs&&setTimeout(()=>{Us("all")},800)},[Ln==null?void 0:Ln.homework_common_id,fs]),(0,Ce.useEffect)(()=>{ls(ai({},si))},[La.pathname]);const ec=()=>{document.body.scrollIntoView()},zc=Tr=>{hi.page=Tr,zr(ai({},hi)),aA(hi,Is)},aA=(Tr,ao)=>dn(void 0,null,function*(){$l(!0);const fr=yield(0,we.ZP)(`/api/student_works/${Fa==null?void 0:Fa.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Pn(ai({},Tr),{challenge_id:ao=="all"?null:ao})});(fr==null?void 0:fr.status)===0&&(qa(fr==null?void 0:fr.list),xA(fr==null?void 0:fr.count)),$l(!1)});function nu(){return dn(this,null,function*(){Ds.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const gA=()=>{document.querySelectorAll("canvas").forEach(Tr=>{(!Tr.clientWidth||!Tr.clientHeight)&&Tr.remove()})},ru=Tr=>dn(void 0,null,function*(){const ao=yield(0,Ar.t1)({homeworkId:Tr||Fa.homeworkId});vi(ao==null?void 0:ao.data)}),Us=Tr=>dn(void 0,null,function*(){var ao,fr,io,ei;let SA=0,FA;FA=Ne.default.info({width:460,title:an.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",an.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:an.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",an.createElement("span",{className:"c-blue"},SA+1),"/",Tr!=="all"?1:Ln==null?void 0:Ln.students_count,an.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Te.modal,onOk:()=>{}});const Ws={margin:[0,0],filename:`${Ln!=null&&Ln.student_id&&(Ln==null?void 0:Ln.student_id)!="--"?Ln==null?void 0:Ln.student_id:""}${Ln.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},ou=$u.folder(Ln==null?void 0:Ln.shixun_name);function hu(mu){return dn(this,null,function*(){yield ru(mu||qi.current);const Oi=yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ai({homeworkId:mu||qi.current},Ds.current||{})});qi.current=Oi==null?void 0:Oi.next_student_work_id,ec(),SA++,setTimeout(()=>dn(this,null,function*(){var Xo,Qo,Os,fA;gA();const oA=ou.folder(`${Oi==null?void 0:Oi.group_name}`).folder(`${Oi!=null&&Oi.student_id&&(Oi==null?void 0:Oi.student_id)!="--"?Oi.student_id+"+":""}${Oi==null?void 0:Oi.username}`),Il=document.querySelector("#export-all").children;let Hl=ea()();for(let eA=0;eAdn(this,null,function*(){eA0&&((Os=(Qo=Oi==null?void 0:Oi.shixun_detail)==null?void 0:Qo.filter(eA=>{var UA;return((UA=eA==null?void 0:eA.game_codes)==null?void 0:UA.length)>0}))==null?void 0:Os.length)>0){const eA=oA.folder("\u4EE3\u7801\u6587\u4EF6");(fA=Oi==null?void 0:Oi.shixun_detail)==null||fA.map((UA,iA)=>{var OA,Zs;if(((OA=UA==null?void 0:UA.game_codes)==null?void 0:OA.length)>0){const Du=eA.folder(`\u7B2C${iA+1}\u5173-${UA.subject}-${UA.id}`);(Zs=UA==null?void 0:UA.game_codes)==null||Zs.map(Nl=>{Du.file(`${Nl.filename}.txt`,Nl==null?void 0:Nl.content)})}})}FA.update({content:an.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",an.createElement("span",{className:"c-blue"},SA),"/",Oi==null?void 0:Oi.students_count,an.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),SA==(Oi==null?void 0:Oi.students_count)?(FA.destroy(),Hu()):hu()}),2200)})}if(Tr!=="all"||(Ln==null?void 0:Ln.students_count)<2){gA(),ec();const mu=Zi.current.children;let Oi=ea()();const Qo=ou.folder(`${Ln==null?void 0:Ln.group_name}`).folder(`${Ln!=null&&Ln.student_id&&(Ln==null?void 0:Ln.student_id)!="--"?(Ln==null?void 0:Ln.student_id)+"+":""}${Ln==null?void 0:Ln.username}`);for(let Os=0;Osdn(void 0,null,function*(){Os0&&((io=(fr=Ln==null?void 0:Ln.shixun_detail)==null?void 0:fr.filter(Os=>{var fA;return((fA=Os==null?void 0:Os.game_codes)==null?void 0:fA.length)>0}))==null?void 0:io.length)>0){const Os=Qo.folder("\u4EE3\u7801\u6587\u4EF6");(ei=Ln==null?void 0:Ln.shixun_detail)==null||ei.map((fA,$s)=>{var oA,Il;if(((oA=fA==null?void 0:fA.game_codes)==null?void 0:oA.length)>0){const Hl=Os.folder(`\u7B2C${$s+1}\u5173-${fA.subject}-${fA.id}`);(Il=fA==null?void 0:fA.game_codes)==null||Il.map(eA=>{Hl.file(`${eA.filename}.txt`,eA==null?void 0:eA.content)})}})}FA.destroy(),Hu();return}else hu(Ln==null?void 0:Ln.first_student_work_id)}),Hu=()=>{$u.generateAsync({type:"blob"}).then(function(Tr){console.log(Ln,"shixunWorkReport");const ao=document.createElement("a");ao.href=window.URL.createObjectURL(Tr),ao.download=(Ln==null?void 0:Ln.shixun_name)+".zip",document.body.appendChild(ao);const fr=document.createEvent("MouseEvents");fr.initEvent("click",!1,!1),ao.dispatchEvent(fr),document.body.removeChild(ao),VA(new(ve()))}),eu(!1)};(0,Ce.useEffect)(()=>{au()},[Fa.homeworkId]);const au=()=>dn(void 0,null,function*(){yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},Fa),Ds.current||{})}),ru(),(0,Ge.GJ)()&&nu(),wA(!1)}),Iu=[{title:"\u5173\u5361",dataIndex:"name",render:(Tr,ao,fr)=>fr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Tr,ao,fr)=>an.createElement("div",null,Tr,ao.complete_status===4&&an.createElement(Ze.vA,{status:ao.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Tr,ao,fr)=>Tr||"- -"},{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:Tr=>Tr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Tr,ao)=>an.createElement("div",null,an.createElement("span",{style:{color:parseFloat(ao.myself_experience)!==parseFloat(Tr)?"red":"green"}},ao.myself_experience),"/",Tr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Tr,ao)=>an.createElement("div",null,an.createElement("span",{style:{color:parseFloat(ao.game_score_full)!==parseFloat(Tr)?"red":"green"}},Tr),"/",ao.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Tr,ao)=>MA?an.createElement(St,{max:ao.game_score_full,defaultValue:parseFloat(Tr),onBlur:fr=>dn(void 0,null,function*(){var io;if((0,Ge.Rm)()&&!((io=sr.AssistantObject.practice)!=null&&io.can_appraise)){ge.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 ei=yield Nr({type:"shixunHomeworks/changeScore",payload:{categoryId:Fa.homeworkId,type:"report",score:fr,challenge_id:ao.challenge_id}});aA({page:1,page_size:10},"all"),yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},Fa),Ds.current||{})}),ei.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Tr}];let Gc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Tr,ao,fr)=>({children:Tr,props:{rowSpan:ao.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Tr,ao,fr)=>({children:Tr,props:{rowSpan:ao.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:(Tr,ao,fr)=>an.createElement("div",null,an.createElement("span",{style:{color:parseFloat(ao.actual_test_score)!==parseFloat(Tr)?"red":"green"}},ao.actual_test_score),"/",Tr)},{title:"\u6307\u6807\u603B\u5206",render:(Tr,ao,fr)=>({children:an.createElement("div",null,an.createElement("span",{style:{color:parseFloat(ao.actual_target_score)!==parseFloat(Tr)?"red":"green"}},ao.actual_target_score),"/",Tr),props:{rowSpan:ao.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Nu=[{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:Tr=>an.createElement("span",null,Tr?ze()(Tr).format("YYYY-MM-DD HH:mm"):"--")}],Bc=Tr=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Tr==="next"?Me.history.push(`/classrooms/${Fa.coursesId}/shixun_homework/${Fa.categoryId}/${Ln==null?void 0:Ln.next_student_work_id}/comment`):Me.history.push(`/classrooms/${Fa.coursesId}/shixun_homework/${Fa.categoryId}/${Ln==null?void 0:Ln.pre_student_work_id}/comment`)},200)},rl=Tr=>{Fl(""),Tr.target.value&&(console.log("\u8FDB\u6765",Ln),Tr.target.value=Tr.target.value>Ln.repeat_setting_score?Ln.repeat_setting_score:Tr.target.value,Fl(Tr.target.value))},tc=()=>dn(void 0,null,function*(){const Tr=yield(0,we.ZP)(`/api/student_works/${Ln==null?void 0:Ln.work_id}/update_repeat_score`,{method:"put",body:{score:xl}});yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},Fa),Ds.current||{})}),Tr.status===0&&ge.ZP.info("\u64CD\u4F5C\u6210\u529F")});return an.createElement("section",{style:{minHeight:"100vh",background:`url(${Be(26528)}) center / cover no-repeat`}},an.createElement("div",{className:"edu-container pb-60px"},an.createElement(De.Z,{loading:ha["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Ln.course_id&&an.createElement("section",{className:"animated fadeIn pt-10px"},Ln.category&&an.createElement(xe.Z,{separator:">",items:[{title:an.createElement(Me.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework`}," ",Ln.course_name)},{title:an.createElement(Me.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework/${Ln.category.main?"":Ln.category.category_id}`}," ",Ln.category.category_name)},{title:an.createElement(Me.Link,{to:`/classrooms/${Ln.course_id}/shixun_homework/${Ln.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Ln.username}]}),an.createElement("div",{className:"mt20 flex item-center gap-10px"},an.createElement("strong",{className:"font20"}," ",Ln==null?void 0:Ln.homework_name," "),an.createElement(Ze.VV,{temporary:!0,status:Ln.homework_status}),an.createElement("div",{className:"ml-auto flex item-center gap-10px"},Ln.view_tpi&&an.createElement(Ee.ZP,{icon:an.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Tr,ao;(0,Ze.xg)(`/tasks/${Ln==null?void 0:Ln.course_id}/${Ln==null?void 0:Ln.homework_common_id}/${(ao=(Tr=Ln==null?void 0:Ln.shixun_detail)==null?void 0:Tr[0])==null?void 0:ao.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ge.GJ)()&&Ln.homework_end===!1&&!!Ln.myshixun_id&&an.createElement(Ee.ZP,{icon:an.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>dn(void 0,null,function*(){yield Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Ln.myshixun_identifier},homework_common_id:si.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),an.createElement(Ee.ZP,{icon:an.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Tr;if((0,Ge.Rm)()&&!((Tr=sr.AssistantObject.practice)!=null&&Tr.can_download)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Us("")},loading:Vi},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(Ln==null?void 0:Ln.students_count)>1&&an.createElement(Ee.ZP,{icon:an.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Tr;if((0,Ge.Rm)()&&!((Tr=sr.AssistantObject.practice)!=null&&Tr.can_download)){ge.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}Ne.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:an.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:an.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Us("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Mr.jj)({categoryId:Fa.categoryId,coursesId:Fa.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),an.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},an.createElement("div",{id:"export-all",ref:Zi},an.createElement("div",{id:"export-all-1"},an.createElement("div",{className:"flex item-center"},an.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ge.GJ)()&&an.createElement(Ee.ZP,{className:`ml-auto rounded-4px ${Te.NewButtonStyle}`,type:"primary",icon:an.createElement(de.Z,{rev:void 0}),onClick:()=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Ln.user_id,data:ai({},Ln)},fn:()=>aA({page:1,page_size:10},"all")}})}}," ",Ln.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),an.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},an.createElement("div",{className:"flex flex-col justify-center item-center"},an.createElement("div",{className:"flex flex-col item-center"},an.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Ue.Z.IMG_SERVER}/images/${Ln.image_url}`,alt:Ln.username}),an.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},an.createElement(Ze.vA,{status:Ln.compelete_status}))),an.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Ln.username),an.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",an.createElement("span",{className:"ml10 c-grey-333"},Ln.student_id||"--")),an.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",an.createElement("span",{className:"ml10 c-grey-333"},Ln.group_name||"--"))),an.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},an.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:an.createElement(an.Fragment,null,an.createElement("span",{className:"c-red"},Ln.complete_count||"--"),"/",an.createElement("span",{className:"c-red"},Ln.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:an.createElement(an.Fragment,null,an.createElement("span",{className:"c-red"},Ln.current_complete_count||"--"),"/",an.createElement("span",{className:"c-red"},Ln.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Ln&&Ln.efficiency===null?"--":Ln&&Ln.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Ln&&Ln.max_efficiency===null?"--":Ln&&Ln.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:an.createElement(an.Fragment,null,an.createElement("span",{className:"c-orange"},Ln.challenge_score),"/",an.createElement("span",{className:"c-light-black"},Ln.challenge_score_full)),hidden:!(Ln!=null&&Ln.eff_score_full)},{title:"\u6548\u7387\u5206",children:an.createElement(an.Fragment,null,an.createElement("span",{className:"c-orange"},Ln.eff_score),"/",an.createElement("span",{className:"c-light-black"},Ln.eff_score_full)),hidden:!(Ln!=null&&Ln.eff_score_full)}].map((Tr,ao)=>!(Tr!=null&&Tr.hidden)&&an.createElement("div",{key:ao,className:"flex flex-col item-center gap-10px"},an.createElement("div",{className:"text-16px"},Tr==null?void 0:Tr.children),an.createElement("div",{style:{color:"#8E8E8E"}},Tr==null?void 0:Tr.title)))),an.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Ln&&Ln.passed_time===null||Ln&&Ln.passed_time==="--"?"--":ze()(Ln&&Ln.passed_time).format("YYYY-MM-DD HH:mm")},{title:an.createElement(an.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",an.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Tr=>{ws(!0)}})),children:Ln==null?void 0:Ln.human_training_time_rules},{title:an.createElement(an.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",an.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Tr=>{yA(!0)}})),children:Ln==null?void 0:Ln.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Ln.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Ln&&Ln.passed_time===null||Ln&&Ln.passed_time==="--"?"--":ze()(Ln&&Ln.passed_time).format("YYYY-MM-DD HH:mm")},{title:an.createElement(an.Fragment,null," \u67E5\u91CD\u6263\u5206",Ln!=null&&Ln.review_rate?an.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Ln!=null&&Ln.review_id&&us&&(localStorage.setItem("studentDetial",window.location.pathname),Me.history.push(`/classrooms/:coursesId/shixun_homework/${Fa.categoryId}/review_detail/${Ln==null?void 0:Ln.review_id}`))}}," ",Ln.review_rate.toFixed(1),"% "):an.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:an.createElement(an.Fragment,null,(Ln==null?void 0:Ln.repeat_minus_score)!==0?"- -":an.createElement(an.Fragment,null,us?an.createElement(an.Fragment,null,an.createElement(y.default,{style:{width:"45px",height:"22px"},value:xl,onChange:Tr=>{rl(Tr)},onBlur:tc,disabled:tu})," / ",Ln==null?void 0:Ln.repeat_setting_score):an.createElement(an.Fragment,null," ",Ln==null?void 0:Ln.repeat_minus_score," / ",Ln==null?void 0:Ln.repeat_setting_score," "))),hidden:!(Ln!=null&&Ln.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Ln.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:an.createElement(an.Fragment,null,an.createElement("span",{className:"c-orange"},Gs),"/",an.createElement("span",{className:"c-light-black"},Ln.all_work_score))}].map((Tr,ao)=>!(Tr!=null&&Tr.hidden)&&an.createElement("div",{key:ao,className:"flex flex-col item-center gap-10px"},an.createElement("div",{className:"text-16px"},Tr==null?void 0:Tr.children),an.createElement("div",{style:{color:"#8E8E8E"}},Tr==null?void 0:Tr.title))))),an.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`}},Ln.overall_appraisal)),an.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Ln.work_comment_hidden||Ln.work_comment)&&an.createElement("div",null,an.createElement(ee.Z,{align:"middle"},an.createElement(E.Z,{flex:1},an.createElement("h1",{className:Te.title},"\u70B9\u8BC4\u5185\u5BB9")),an.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&an.createElement(Ee.ZP,{onClick:()=>dn(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:an.createElement(Le.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return dn(this,null,function*(){(yield(0,Ar.gZ)({comment_id:Ln.comment_id,homeworkId:Fa.homeworkId})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ai(ai({},Fa),Ds.current||{})}))})}})})},an.createElement(Pe.Z,null),"\u5220\u9664"))),an.createElement(a.Z,{style:{margin:0}}),Ln.work_comment&&an.createElement("aside",{className:"pl30 pr30 mt20"},an.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),an.createElement("br",null),an.createElement(ar.Z,{value:Ln.work_comment})),Ln.work_comment_hidden&&an.createElement("aside",{className:"pl30 pr30 mt20"},an.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),an.createElement("br",null),an.createElement(ar.Z,{value:Ln.work_comment_hidden}))),(Ln==null?void 0:Ln.action_analysis)&&an.createElement(Wa,{detailData:Ln}),an.createElement("div",{className:Te.score},an.createElement("h1",{className:Te.title},"\u9636\u6BB5\u6210\u7EE9"),(Ln==null?void 0:Ln.adjust_review_score_count)>0&&(0,Ge.GJ)()&&an.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{jl(!0),aA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Ln==null?void 0:Ln.adjust_review_score_count,"\u6B21\uFF09")),an.createElement(te.default,{className:Te.TableStyle,dataSource:Ln.stage_list,rowKey:Tr=>Tr==null?void 0:Tr.challenge_id,pagination:!1,columns:Iu}),((Eo=Ln==null?void 0:Ln.target_test_sets)==null?void 0:Eo.length)>0&&an.createElement("div",null,an.createElement("h1",{className:Te.title},"\u6307\u6807\u6210\u7EE9"),an.createElement(te.default,{className:Te.TableStyle,dataSource:In,rowKey:Tr=>Tr==null?void 0:Tr.challenge_id,pagination:!1,bordered:!0,columns:Gc})),(Ln==null?void 0:Ln.work_description)&&an.createElement(an.Fragment,null,an.createElement("h1",{className:Te.title},"\u4E2A\u4EBA\u603B\u7ED3"),an.createElement(ar.Z,{value:Ln==null?void 0:Ln.work_description})),an.createElement("h1",{className:Te.title},"\u56FE\u5F62\u7EDF\u8BA1"),an.createElement(Lt,{data:so}),an.createElement("h1",{className:Te.title},"\u5B9E\u8BAD\u8BE6\u60C5")),an.createElement(Rt,{autoHeight:El}))))),(0,Ge.GJ)()&&an.createElement("aside",{className:`sticky ${Te.footerBar}`},an.createElement("aside",{className:"edu-container flex item-center"},an.createElement(Me.Link,{className:Te.exitComment,to:`/classrooms/${Fa.coursesId}/shixun_homework/${Fa.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),an.createElement("div",{className:"ml-auto flex item-center gap-20px"},an.createElement(Ee.ZP,{disabled:!(Ln!=null&&Ln.pre_student_work_id),onClick:()=>Bc()},"\u4E0A\u4E00\u4E2A"),an.createElement(Ee.ZP,{disabled:!(Ln!=null&&Ln.next_student_work_id),onClick:()=>Bc("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&an.createElement(Ee.ZP,{className:Te.NewButtonStyle,type:"primary",onClick:()=>dn(void 0,null,function*(){Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Ln.user_id,data:ai({},Ln)},fn:()=>aA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),an.createElement(br,null),an.createElement(lr.Z,null),an.createElement(Ne.default,{open:Po,width:860,centered:!0,onCancel:()=>{ws(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},an.createElement("div",{style:{color:"#333333",fontWeight:400}},an.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),an.createElement("br",null),an.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"),an.createElement("br",null),an.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"),an.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 "),an.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")),an.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},an.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),an.createElement("br",null),an.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 "),an.createElement("br",null),an.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"),an.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 "),an.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"),an.createElement("br",null),an.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")),an.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},an.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),an.createElement("br",null),an.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")),an.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},an.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),an.createElement("br",null),an.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"))),an.createElement(Ne.default,{open:Ns,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{yA(!1)},width:600},an.createElement("div",{style:{fontWeight:400,color:"#333333"}},an.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",an.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"),an.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",an.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"),an.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",an.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"))),an.createElement(Ne.default,{open:Yo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{zs("all"),jl(!1)},destroyOnClose:!0,width:900},an.createElement("div",{style:{fontWeight:400,color:"#333333"}},an.createElement("div",null,an.createElement("span",null,"\u5173\u5361\uFF1A"),an.createElement(ne.default,{style:{width:300},value:Is,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Tr=>dn(void 0,null,function*(){zs(Tr),aA({page:1,page_size:10},Tr)})},an.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(wi=Ln==null?void 0:Ln.stage_list)==null?void 0:wi.map((Tr,ao)=>an.createElement(ne.default.Option,{key:ao,value:Tr==null?void 0:Tr.challenge_id},"\u7B2C",(0,Ze.EM)(ao+1),"\u5173")))),an.createElement("div",{className:"mt20"},an.createElement(te.default,{dataSource:ho,rowKey:Tr=>Tr==null?void 0:Tr.id,pagination:!1,columns:Nu,loading:Cl})),an.createElement("div",{className:Te.footer},an.createElement("div",null,an.createElement("span",{style:{color:"#656F87"}},"\u5171",an.createElement("span",{className:"c-light-primary"},Ls),"\u6761\u6570\u636E")),an.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(hi==null?void 0:hi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Ls,onChange:zc})))))};var la=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt,loading:xn,globalSetting:sr,user:ta})=>({shixunHomeworks:Wt,classroomList:Qt,globalSetting:sr,loading:xn.effects,user:ta}))(Qr),Dr=Be(27812),va={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"},Ha={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const xa=({shixunHomeworks:Wt,data:Qt,globalSetting:xn,loading:sr,dispatch:ta})=>{var ha;const{shixunWorkReport:aa}=Wt;let Nr=((ha=Qt==null?void 0:Qt.efficiency_list)==null?void 0:ha.length)-parseInt(Qt==null?void 0:Qt.myself_eff[0]);const ia=()=>({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(Eo){return Eo.name===aa.username?"\u59D3\u540D\uFF1A"+aa.username+"
\u5B66\u53F7\uFF1A "+aa.user_id+"
\u6548\u7387\uFF1A"+(Qt==null?void 0:Qt.myself_eff[1]):Eo.name+":"+Eo.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:Qt==null?void 0:Qt.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:aa.username,xAxis:Nr,yAxis:Qt==null?void 0:Qt.myself_eff[1],value:Qt==null?void 0:Qt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Qa=()=>({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(Eo){var wi=Eo.value;if(Eo.name===aa.username)return"\u59D3\u540D\uFF1A"+aa.username+"
\u5B66\u53F7\uFF1A "+aa.user_id+"
\u5F97\u5206\uFF1A"+(Qt==null?void 0:Qt.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:Ha,data:Qt==null?void 0:Qt.consume_list,symbolSize:function(Eo){return Math.round(Eo[2])},markPoint:{data:[{name:aa.username,xAxis:Qt==null?void 0:Qt.myself_object[0],yAxis:Qt==null?void 0:Qt.myself_object[1],value:Qt==null?void 0:Qt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ce.createElement(Ce.Fragment,null,Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(tt.Z,{style:{width:750,height:580},option:ia()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:va.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},aa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},aa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_eff[0]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ce.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"))))),Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(tt.Z,{style:{width:750,height:580},option:Qa()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:va.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},aa.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},aa.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},Qt==null?void 0:Qt.myself_object[1]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Ce.createElement("br",null)))))))};var So=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects}))(xa),Wi=({defaultValue:Wt,onBlur:Qt,max:xn,className:sr="game-score"})=>{const[ta,ha]=(0,Ce.useState)(Wt);(0,Ce.useEffect)(()=>{ha(Wt)},[Wt]);function aa(ia){ha(ia)}function Nr(){ta!==Wt&&Qt(ta>xn?xn:ta)}return Ce.createElement(ot.Z,{max:xn,min:0,className:sr,value:ta,onChange:aa,onBlur:Nr})},xr={md:"md___TEmcT"},ja=Be(59301),Ei=Object.defineProperty,ii=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,Lo=Object.getOwnPropertySymbols,ss=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,Ps=(Wt,Qt,xn)=>Qt in Wt?Ei(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,BA=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))ss.call(Qt,xn)&&Ps(Wt,xn,Qt[xn]);if(Lo)for(var xn of Lo(Qt))Ms.call(Qt,xn)&&Ps(Wt,xn,Qt[xn]);return Wt},Js=(Wt,Qt)=>ii(Wt,fi(Qt));const Ui=ne.default.Option,CA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var yl=(Wt=>(Wt[Wt.SET_PATH=0]="SET_PATH",Wt[Wt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Wt))(yl||{});function dA(Wt,Qt){switch(Qt.type){case 0:return Js(BA({},Wt),{selectedPath:Qt.payload});case 1:return Js(BA({},Wt),{passedContent:Qt.payload});default:throw new Error}}var Ur=({path:Wt,game_id:Qt,onPathChange:xn,autoHeight:sr,diff_code_count:ta,data:ha,game_codes_cn:aa})=>{var Nr,ia,Qa,Eo;const wi=Wt.split("\uFF1B").filter(so=>!!so),[Fa,ls]=(0,Ce.useReducer)(dA,{selectedPath:wi[0],passedContent:{language:"python",content:""}}),{selectedPath:si,passedContent:hi}=Fa;function zr(so){ls({type:0,payload:so})}const La={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return ja.createElement(ja.Fragment,null,ja.createElement("h2",null," ",ja.createElement("span",null,aa,ja.createElement(ie.Z,{title:ja.createElement("div",null,ja.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ja.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ja.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"),ja.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ja.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ta&&ja.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ta),ja.createElement("span",null,ja.createElement(ne.default,{style:{width:200},value:si,onChange:zr}," ",wi.map(so=>ja.createElement(Ui,{key:so,value:so},so))," "))," "),(si==null?void 0:si.split(".")[1])==="md"&&ja.createElement(lt.Z,{height:300,autoHeight:sr,defaultValue:((ia=(Nr=ha==null?void 0:ha.filter(so=>so.path===si))==null?void 0:Nr[0])==null?void 0:ia.content)||"",className:xr.md}),(si==null?void 0:si.split(".")[1])!=="md"&&ja.createElement(it.ZP,{height:300,language:hi.language,value:((Eo=(Qa=ha==null?void 0:ha.filter(so=>so.path===si))==null?void 0:Qa[0])==null?void 0:Eo.content)||"",autoHeight:sr,theme:"default",isCopy:!0,options:CA}))},_c=Be(74410),gu=Object.defineProperty,fu=Object.defineProperties,Sl=Object.getOwnPropertyDescriptors,Vr=Object.getOwnPropertySymbols,Ma=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Ea=(Wt,Qt,xn)=>Qt in Wt?gu(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Pi=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Ma.call(Qt,xn)&&Ea(Wt,xn,Qt[xn]);if(Vr)for(var xn of Vr(Qt))To.call(Qt,xn)&&Ea(Wt,xn,Qt[xn]);return Wt},Xi=(Wt,Qt)=>fu(Wt,Sl(Qt)),xs=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ha=ia=>{try{Nr(xn.next(ia))}catch(Qa){ta(Qa)}},aa=ia=>{try{Nr(xn.throw(ia))}catch(Qa){ta(Qa)}},Nr=ia=>ia.done?sr(ia.value):Promise.resolve(ia.value).then(ha,aa);Nr((xn=xn.apply(Wt,Qt)).next())});const EA=({shixunHomeworks:Wt,autoHeight:Qt,classroomList:xn,dispatch:sr})=>{var ta,ha,aa,Nr,ia,Qa,Eo,wi;const{shixunWorkReport:Fa}=Wt,{stage_list:ls,work_id:si,ai_code_evaluation_promote:hi}=Fa,[zr,La]=(0,Ce.useState)(!1),[so,vi]=(0,Ce.useState)(!0),[Zi,Vi]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),Ks=(0,Ce.useRef)(null),[fs,wA]=(0,Ce.useState)(!1),[Cl,$l]=(0,Ce.useState)(""),El=(0,Ce.useRef)(null),eu=(ro,Po)=>{var ws;const{clientWidth:Ns,clientHeight:yA}=window.document.documentElement,Yo=(ws=Ks.current)==null?void 0:ws.getBoundingClientRect();Yo&&Vi({left:-Yo.left+Po.x,right:Ns-(Yo.right-Po.x),top:-Yo.top+Po.y,bottom:yA-(Yo.bottom-Po.y)})},Ln=(0,Me.useParams)(),In=(0,Ge.GJ)(),Pl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(Ln)},[]);const ho=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(ro,Po,ws)=>Ce.createElement("div",null,ro,Po.is_work_end_evaluate&&Ce.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:ro=>ze()(ro).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(ro,Po)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>xs(void 0,null,function*(){var ws,Ns;const yA=yield(0,Fe.Lk)(Po.game_identifier,{path:(Ns=(ws=Po.path)==null?void 0:ws.replace(/\;/g,";"))==null?void 0:Ns.split(";")[0],query_index:Po.query_index,homework_common_id:Ln.categoryId});(yA==null?void 0:yA.status)===0&&(wA(yA),La(!0))})},Po.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],qa=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(ro,Po)=>{var ws;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((ws=Po==null?void 0:Po.user)==null?void 0:ws.image_url)}),ro)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:ro=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",ro,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:ro=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",ro,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:ro=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",ro?ze()(ro).format("YYYY-MM-DD HH:mm"):"--")}];function Ls(ro,Po){return xs(this,null,function*(){const{challenge_id:ws}=ls[ro],Ns=yield sr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ln.homeworkId,type:"report",score:Po,challenge_id:ws}});yield sr({type:"shixunHomeworks/getShixunWorkReport",payload:Pi({},Ln)}),Ns.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function xA(ro,Po){return(0,we.U2)(`student_works/${si}/rep_passed_content.json`,{path:Po,game_id:ro})}const[Is,zs]=(0,Ce.useState)((ta=Fa==null?void 0:Fa.shixun_detail)==null?void 0:ta.map(ro=>Xi(Pi({},ro),{commentEdit:!1}))),MA=ro=>ro.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[$u,VA]=(0,Ce.useState)(!1),qs=(ro,Po)=>xs(void 0,null,function*(){var ws,Ns;VA(!0),El.current=new _c.Z(Ue.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:hi,shixun_id:Fa==null?void 0:Fa.myshixun_identifier,game_id:ro==null?void 0:ro.id,source:"shixun",is_chat:!1,type:9,description:ro==null?void 0:ro.challenge_description,query:(Ns=(ws=ro==null?void 0:ro.game_codes)==null?void 0:ws[0])==null?void 0:Ns.content,homework_common_id:Ln.categoryId}),yield new Promise((yA,Yo)=>{El.current.on("data",jl=>{const xl=[...Is];xl[Po].comment=MA(jl==null?void 0:jl.full),zs(xl)}),El.current.on("done",()=>xs(void 0,null,function*(){var jl;VA(!1);const xl=[...Is],Fl=yield(0,we.ZP)(`/api/student_works/${Ln==null?void 0:Ln.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:ro==null?void 0:ro.challenge_id,comment:xl[Po].comment}});if((Fl==null?void 0:Fl.status)==0){ge.ZP.success("\u8BC4\u4EF7\u6210\u529F");const us=[...Is];us[Po].comment_updated_at=(jl=Fl==null?void 0:Fl.data)==null?void 0:jl.comment_updated_at,zs(us)}})),El.current.startStream()})});return Ce.createElement(Ce.Fragment,null,Is==null?void 0:Is.map(function(ro,Po){var ws,Ns;return Ce.createElement("div",{key:Po},Ce.createElement("aside",{className:"pl30 pr30",key:Po},Ce.createElement("div",{className:`${va.shixunTitle} mt10`},Ce.createElement("div",null,Ce.createElement("span",{className:"fa fa-code "}),Ce.createElement("strong",{className:"c-black"},"\u7B2C",Po+1,"\u5173 ",Ce.createElement(Me.Link,{className:"c-black",target:"_blank",to:`/tasks/${Ln.coursesId}/${Ln.categoryId}/${ro.game_identifier}`},ro.subject))),In?Ce.createElement("span",null,"\u8C03\u5206\uFF1A",Ce.createElement(Wi,{className:"game-score",max:ls[Po].game_score_full,defaultValue:ls[Po].game_score,onBlur:yA=>{var Yo;if((0,Ge.Rm)()&&!((Yo=xn.AssistantObject.practice)!=null&&Yo.can_appraise)){ge.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}Ls(Po,yA)}})):null),Ce.createElement("div",{className:"font16 mt10"},ro.st===0&&(ro.path?typeof(ro==null?void 0:ro.game_codes_cn)=="string"?Ce.createElement("aside",{className:va.shixunWrp},Ce.createElement(Ur,{game_codes_cn:ro==null?void 0:ro.game_codes_cn,autoHeight:Qt,path:ro.path,game_id:ro.id,data:ro.game_codes,diff_code_count:ro.diff_code_count,onPathChange:xA})):Ce.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"),ro.st===1&&(ro.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")),Ce.createElement("aside",{className:"mt10 font16"},(ws=ro.outputs)!=null&&ws.length?Ce.createElement(te.default,{columns:ho,pagination:{hideOnSinglePage:!0},dataSource:ro.outputs.map(yA=>Pi(Pi({},ro),yA))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ce.createElement("aside",{className:"mt10 font16"},((Ns=ro==null?void 0:ro.adjust_review_score_list)==null?void 0:Ns.length)>0&&(0,Ge.GJ)()&&Ce.createElement("div",null,Ce.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ce.createElement(te.default,{columns:qa,pagination:{hideOnSinglePage:!0},dataSource:ro.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(Ne.default,{open:zr,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{wA({}),La(!1)},onCancel:()=>{wA({}),La(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{so&&vi(!1)},onMouseOut:()=>{vi(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:ro=>Ce.createElement(ce(),{disabled:so,bounds:Zi,nodeRef:Ks,onStart:(Po,ws)=>eu(Po,ws)},Ce.createElement("div",{ref:Ks},ro))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((ha=fs==null?void 0:fs.data)==null?void 0:ha.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ce.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ce.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ce.createElement("div",{style:{color:((aa=fs==null?void 0:fs.data)==null?void 0:aa.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Nr=fs==null?void 0:fs.data)==null?void 0:Nr.output_detail)),Ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((ia=fs==null?void 0:fs.data)==null?void 0:ia.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Qa=fs==null?void 0:fs.data)==null?void 0:Qa.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Eo=fs==null?void 0:fs.data)==null?void 0:Eo.ts_mem,"mb")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((wi=fs==null?void 0:fs.data)==null?void 0:wi.test_set_passed_rate)*100,"%")))),Ce.createElement(it.ZP,{height:500,autoHeight:Qt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((fs==null?void 0:fs.content)||""))),options:Pl})))};var PA=(0,Me.connect)(({shixunHomeworks:Wt,loading:Qt,globalSetting:xn,classroomList:sr})=>({shixunHomeworks:Wt,globalSetting:xn,loading:Qt.effects,classroomList:sr}))(EA),xi={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Oa=Be(59301),vc=Object.defineProperty,ju=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,Lu=(Wt,Qt,xn)=>Qt in Wt?vc(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Jl=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))Fu.call(Qt,xn)&&Lu(Wt,xn,Qt[xn]);if(ju)for(var xn of ju(Qt))bl.call(Qt,xn)&&Lu(Wt,xn,Qt[xn]);return Wt},Rl=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ha=ia=>{try{Nr(xn.next(ia))}catch(Qa){ta(Qa)}},aa=ia=>{try{Nr(xn.throw(ia))}catch(Qa){ta(Qa)}},Nr=ia=>ia.done?sr(ia.value):Promise.resolve(ia.value).then(ha,aa);Nr((xn=xn.apply(Wt,Qt)).next())});const ql=({shixunHomeworks:Wt,dispatch:Qt,classroomList:xn})=>{const{shixunWorkReport:sr}=Wt,ta=(0,Me.useParams)(),[ha,aa]=(0,Ce.useState)(!1),[Nr]=hn.default.useForm(),[ia,Qa]=Ne.default.useModal(),[Eo,wi]=(0,Ce.useState)(!1),[Fa,ls]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var zr,La,so,vi;Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Nr.setFieldsValue({comment:(La=(zr=Wt.actionTabs.selectArrs)==null?void 0:zr.data)==null?void 0:La.work_comment,hidden_comment:(vi=(so=Wt.actionTabs.selectArrs)==null?void 0:so.data)==null?void 0:vi.work_comment_hidden})},[Wt.actionTabs.key]);const si=()=>Rl(void 0,null,function*(){const zr=Nr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${ta.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:zr.hidden_comment,comment:zr.comment}})).status===0&&(ge.ZP.success("\u8BC4\u9605\u6210\u529F"),Nr.resetFields(),Qt({type:"shixunHomeworks/setActionTabs",payload:{}}),Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Jl({},ta)}))}),hi=[{title:"\u5173\u5361",dataIndex:"name",render:(zr,La,so)=>so+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(zr,La,so)=>Oa.createElement("div",null,zr,La.complete_status===4&&Oa.createElement(Ze.vA,{status:La.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:zr=>zr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(zr,La)=>Oa.createElement("div",null,Oa.createElement("span",{style:{color:parseFloat(La.game_score_full)!==parseFloat(zr)?"#E30000":"#53C41B"}},zr),"/",La.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(zr,La)=>(0,Ge.GJ)()?Oa.createElement(Wi,{max:La.game_score_full,defaultValue:parseFloat(zr),onBlur:so=>Rl(void 0,null,function*(){var vi,Zi;if((0,Ge.Rm)()&&!((vi=xn.AssistantObject.practice)!=null&&vi.can_appraise)){ge.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 Vi=yield Qt({type:"shixunHomeworks/changeScore",payload:{categoryId:ta.homeworkId,type:"report",score:so,challenge_id:La.challenge_id}});(Zi=Wt==null?void 0:Wt.actionTabs)==null||Zi.fn(),yield Qt({type:"shixunHomeworks/getShixunWorkReport",payload:Jl({},ta)}),Vi.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):zr}];return Oa.createElement(Oa.Fragment,null,Qa,Oa.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Wt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Rl(void 0,null,function*(){var zr;if((0,Ge.Rm)()&&!((zr=xn.AssistantObject.practice)!=null&&zr.can_appraise)){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const La=Nr.getFieldsValue();JSON.stringify(La)==="{}"||La.hidden_comment===""&&La.comment===""?aa(!0):si()}),onCancel:()=>{Qt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Oa.createElement(ee.Z,{justify:"space-between",className:xi.info},Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u59D3\u540D"),Oa.createElement("span",{className:xi.blackContent},sr==null?void 0:sr.username)),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u5B66\u53F7"),Oa.createElement("span",{className:xi.blackContent},(sr==null?void 0:sr.student_id)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u73ED\u7EA7"),Oa.createElement("span",{className:xi.blackContent},(sr==null?void 0:sr.group_name)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u5173\u5361\u5F97\u5206"),Oa.createElement("span",{className:xi.orangeContent},(sr==null?void 0:sr.challenge_score)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u6548\u7387\u5206"),Oa.createElement("span",{className:xi.orangeContent},(sr==null?void 0:sr.eff_score)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u8865\u4EA4\u6263\u5206"),Oa.createElement("span",{className:xi.orangeContent},(sr==null?void 0:sr.late_penalty)||"--")),Oa.createElement(E.Z,null,Oa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Oa.createElement("span",{className:xi.orangeContent},(sr==null?void 0:sr.work_score)||"--"))),Oa.createElement(hn.default,{form:Nr,onChange:()=>{ha&&aa(!1)}},Oa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Oa.createElement(E.Z,null,Oa.createElement("div",{className:`${xi.inputLabel} ${xi.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oa.createElement(E.Z,null,Oa.createElement(sn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Eo,onCancel:()=>{wi(!1)}},onDataSelect:(zr,La)=>Rl(void 0,[zr,La],function*(so,{node:vi}){const Zi=()=>{Nr.setFieldsValue({comment:vi==null?void 0:vi.value}),wi(!1)};if(Nr.getFieldValue("comment")){ia.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:Zi});return}Zi()})},Oa.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Oa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:zr=>{wi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oa.createElement(hn.default.Item,{name:"comment"},Oa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Oa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Oa.createElement(E.Z,null,Oa.createElement("div",{className:`${xi.inputLabel} ${xi.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oa.createElement(E.Z,null,Oa.createElement(sn.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Fa,onCancel:()=>{ls(!1)}},onDataSelect:(zr,La)=>Rl(void 0,[zr,La],function*(so,{node:vi}){const Zi=()=>{Nr.setFieldsValue({hidden_comment:vi==null?void 0:vi.value}),ls(!1)};if(Nr.getFieldValue("hidden_comment")){ia.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:Zi});return}Zi()})},Oa.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Oa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:zr=>{ls(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oa.createElement(hn.default.Item,{name:"hidden_comment"},Oa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),ha&&Oa.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Oa.createElement("div",{className:xi.tableTitle},"\u5173\u5361\u6210\u7EE9"),Oa.createElement(te.default,{className:xi.scoreTable,dataSource:sr.stage_list,rowKey:"challenge_id",pagination:!1,columns:hi,scroll:{x:"max-content"}})))};var cl=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt})=>({shixunHomeworks:Wt,classroomList:Qt}))(ql),rr=Be(19423),Zn={wrap:"wrap___LZOi9",line:"line___oju0L"},Yr=({detailData:Wt})=>{var Qt;return Ce.createElement("div",{className:Zn.wrap},Ce.createElement(kr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,kr.Uf)(Wt),(Wt==null?void 0:Wt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ce.createElement(kr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,kr.Uf)(Wt)}),!!((Qt=Wt==null?void 0:Wt.photos)!=null&&Qt.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:Zn.line}),Ce.createElement(kr._s,{dataSource:Wt==null?void 0:Wt.photos,right:21,col:4,wrapWidth:1140}))))},zt=Be(59301),Io=Object.defineProperty,jr=Object.defineProperties,fo=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,pi=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,ya=(Wt,Qt,xn)=>Qt in Wt?Io(Wt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Wt[Qt]=xn,Mo=(Wt,Qt)=>{for(var xn in Qt||(Qt={}))pi.call(Qt,xn)&&ya(Wt,xn,Qt[xn]);if(Ka)for(var xn of Ka(Qt))co.call(Qt,xn)&&ya(Wt,xn,Qt[xn]);return Wt},Wo=(Wt,Qt)=>jr(Wt,fo(Qt)),_s=(Wt,Qt)=>{var xn={};for(var sr in Wt)pi.call(Wt,sr)&&Qt.indexOf(sr)<0&&(xn[sr]=Wt[sr]);if(Wt!=null&&Ka)for(var sr of Ka(Wt))Qt.indexOf(sr)<0&&co.call(Wt,sr)&&(xn[sr]=Wt[sr]);return xn},no=(Wt,Qt,xn)=>new Promise((sr,ta)=>{var ha=ia=>{try{Nr(xn.next(ia))}catch(Qa){ta(Qa)}},aa=ia=>{try{Nr(xn.throw(ia))}catch(Qa){ta(Qa)}},Nr=ia=>ia.done?sr(ia.value):Promise.resolve(ia.value).then(ha,aa);Nr((xn=xn.apply(Wt,Qt)).next())});const As=Wt=>{var Qt=Wt,{shixunHomeworks:xn,classroomList:sr,globalSetting:ta,loading:ha,user:aa,dispatch:Nr}=Qt,ia=_s(Qt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Qa,Eo,wi;const[Fa,ls]=(0,Ce.useState)(Mo({},(0,Me.useParams)())),si=(0,Me.useParams)(),[hi,zr]=(0,Ce.useState)({page:1,page_size:10}),La=(0,Me.useLocation)(),[]=(0,Ce.useState)([]),[so,vi]=(0,Ce.useState)(),Zi=(0,Ce.useRef)(),Vi=(0,Ce.useRef)(),[Ks,fs]=(0,Ce.useState)(!1),[wA,Cl]=(0,Ce.useState)(!0),[$l,El]=(0,Ce.useState)(!1),[eu,Ln]=(0,Ce.useState)(!1),{shixunWorkReport:In}=xn,[Pl,ho]=(0,Ce.useState)(),[qa,Ls]=(0,Ce.useState)([]),[xA,Is]=(0,Ce.useState)(),[zs,MA]=(0,Ce.useState)("all"),$u=(0,Ge.GJ)(),[VA,qs]=(0,Ce.useState)(new(ve())),[ro,Po]=(0,Ce.useState)(0),[ws,Ns]=(0,Ce.useState)(!1),[yA,Yo]=(0,Ce.useState)(!1),[jl,xl]=(0,Ce.useState)(!1),[Fl,us]=(0,Ce.useState)(""),[YA,tu]=(0,Ce.useState)(!1),[Kc,Gs]=(0,Ce.useState)(!0),[Ll,Ds]=(0,Ce.useState)(0),qi=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),rA=(0,Ce.useRef)(),ec=()=>no(void 0,null,function*(){(aa.userInfo.is_teacher||aa.userInfo.admin)&&(tu(!0),Gs(!1))});(0,Ce.useEffect)(()=>{var fr;(0,Ge.Rm)()&&sr.AssistantObject.practice&&!((fr=sr.AssistantObject.practice)!=null&&fr.can_view)&&Me.history.replace("/403")},[(Qa=sr.AssistantObject.practice)==null?void 0:Qa.can_view]),(0,Ce.useEffect)(()=>{ec(),console.log("\u6253\u5370\u7684------",In),rA.current=In==null?void 0:In.next_student_work_id,us(In.repeat_minus_score)},[In,aa]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",In.work_score),Ds(In.work_score)},[In.work_score,Fl]),(0,Ce.useEffect)(()=>(Nr({type:"globalSetting/footerToggle",payload:!1}),()=>{Nr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var fr;if(In){let io=[];(fr=In==null?void 0:In.target_test_sets)==null||fr.map((ei,SA)=>{var FA;(FA=ei==null?void 0:ei.targets)==null||FA.map((Ws,ou)=>{var hu;Ws.name=ei==null?void 0:ei.name,Ws.total_target_score=ei==null?void 0:ei.total_target_score,Ws.actual_target_score=ei==null?void 0:ei.actual_target_score,Ws.rowSpan=ou===0?(hu=ei==null?void 0:ei.targets)==null?void 0:hu.length:0,Ws.order=SA+1,io.push(Ws)})}),ho(io),(0,Ge.Rm)()&&Nr({type:"classroomList/getAssistantPermissions",payload:{course_id:Fa.coursesId}})}},[In]),(0,Ce.useEffect)(()=>{xn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(In==null?void 0:In.students_count)>0&&!wA&&setTimeout(()=>{au("all")},800)},[In==null?void 0:In.homework_common_id,wA]),(0,Ce.useEffect)(()=>{ls(Mo({},si))},[La.pathname]);const zc=()=>{document.body.scrollIntoView()},aA=fr=>{hi.page=fr,zr(Mo({},hi)),nu(hi,zs)},nu=(fr,io)=>no(void 0,null,function*(){El(!0);const ei=yield(0,we.ZP)(`/api/student_works/${Fa==null?void 0:Fa.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Wo(Mo({},fr),{challenge_id:io=="all"?null:io})});(ei==null?void 0:ei.status)===0&&(Ls(ei==null?void 0:ei.list),Is(ei==null?void 0:ei.count)),El(!1)});function gA(){return no(this,null,function*(){qi.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const ru=()=>{document.querySelectorAll("canvas").forEach(fr=>{(!fr.clientWidth||!fr.clientHeight)&&fr.remove()})},Us=()=>{Zi.current.offsetHeight>62e3?Ln(!1):Ln(!0)},Hu=fr=>no(void 0,null,function*(){const io=yield(0,Ar.t1)({homeworkId:fr||Fa.homeworkId});vi(io==null?void 0:io.data)}),au=fr=>no(void 0,null,function*(){var io,ei,SA,FA;let Ws=0,ou;ou=Ne.default.info({width:460,title:zt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",zt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:zt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",zt.createElement("span",{className:"c-blue"},Ws+1),"/",fr!=="all"?1:In==null?void 0:In.students_count,zt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:va.modal,onOk:()=>{}});const hu={margin:[0,0],filename:`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?In==null?void 0:In.student_id:""}${In.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},mu=VA.folder(In==null?void 0:In.shixun_name);function Oi(Xo){return no(this,null,function*(){yield Hu(Xo||rA.current);const Qo=yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo({homeworkId:Xo||rA.current},qi.current||{})});rA.current=Qo==null?void 0:Qo.next_student_work_id,zc(),Ws++,setTimeout(()=>no(this,null,function*(){var Os,fA,$s,oA;ru();const Hl=mu.folder(`${Qo==null?void 0:Qo.group_name}`).folder(`${Qo!=null&&Qo.student_id&&(Qo==null?void 0:Qo.student_id)!="--"?Qo.student_id+"+":""}${Qo==null?void 0:Qo.username}`),eA=document.querySelector("#export-all").children;let UA=ea()();for(let iA=0;iAno(this,null,function*(){iA0&&(($s=(fA=Qo==null?void 0:Qo.shixun_detail)==null?void 0:fA.filter(iA=>{var OA;return((OA=iA==null?void 0:iA.game_codes)==null?void 0:OA.length)>0}))==null?void 0:$s.length)>0){const iA=Hl.folder("\u4EE3\u7801\u6587\u4EF6");(oA=Qo==null?void 0:Qo.shixun_detail)==null||oA.map((OA,Zs)=>{var Du,Nl;if(((Du=OA==null?void 0:OA.game_codes)==null?void 0:Du.length)>0){const Uu=iA.folder(`\u7B2C${Zs+1}\u5173-${OA.subject}-${OA.id}`);(Nl=OA==null?void 0:OA.game_codes)==null||Nl.map(md=>{Uu.file(`${md.filename}.txt`,md==null?void 0:md.content)})}})}ou.update({content:zt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",zt.createElement("span",{className:"c-blue"},Ws),"/",Qo==null?void 0:Qo.students_count,zt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Ws==(Qo==null?void 0:Qo.students_count)?(ou.destroy(),Iu()):Oi()}),2200)})}if(fr!=="all"||(In==null?void 0:In.students_count)<2){ru(),zc();const Xo=Vi.current.children;let Qo=ea()();const fA=mu.folder(`${In==null?void 0:In.group_name}`).folder(`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?(In==null?void 0:In.student_id)+"+":""}${In==null?void 0:In.username}`);for(let $s=0;$sno(void 0,null,function*(){$s0&&((SA=(ei=In==null?void 0:In.shixun_detail)==null?void 0:ei.filter($s=>{var oA;return((oA=$s==null?void 0:$s.game_codes)==null?void 0:oA.length)>0}))==null?void 0:SA.length)>0){const $s=fA.folder("\u4EE3\u7801\u6587\u4EF6");(FA=In==null?void 0:In.shixun_detail)==null||FA.map((oA,Il)=>{var Hl,eA;if(((Hl=oA==null?void 0:oA.game_codes)==null?void 0:Hl.length)>0){const UA=$s.folder(`\u7B2C${Il+1}\u5173-${oA.subject}-${oA.id}`);(eA=oA==null?void 0:oA.game_codes)==null||eA.map(iA=>{UA.file(`${iA.filename}.txt`,iA==null?void 0:iA.content)})}})}ou.destroy(),Iu();return}else Oi(In==null?void 0:In.first_student_work_id)}),Iu=()=>{VA.generateAsync({type:"blob"}).then(function(fr){console.log(In,"shixunWorkReport");const io=document.createElement("a");io.href=window.URL.createObjectURL(fr),io.download=(In==null?void 0:In.shixun_name)+".zip",document.body.appendChild(io);const ei=document.createEvent("MouseEvents");ei.initEvent("click",!1,!1),io.dispatchEvent(ei),document.body.removeChild(io),qs(new(ve()))}),Ln(!1)};(0,Ce.useEffect)(()=>{Gc()},[Fa.homeworkId]);const Gc=()=>no(void 0,null,function*(){Cl(!0),yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},Fa),qi.current||{})}),Hu(),(0,Ge.GJ)()&&gA(),Cl(!1)}),Nu=[{title:"\u5173\u5361",dataIndex:"name",render:(fr,io,ei)=>ei+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(fr,io,ei)=>zt.createElement("div",null,fr,io.complete_status===4&&zt.createElement(Ze.vA,{status:io.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(fr,io,ei)=>fr||"- -"},{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:fr=>fr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(fr,io)=>zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.myself_experience)!==parseFloat(fr)?"red":"green"}},io.myself_experience),"/",fr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(fr,io)=>zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.game_score_full)!==parseFloat(fr)?"red":"green"}},fr),"/",io.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(fr,io)=>$u?zt.createElement(Wi,{max:io.game_score_full,defaultValue:parseFloat(fr),onBlur:ei=>no(void 0,null,function*(){var SA;if((0,Ge.Rm)()&&!((SA=sr.AssistantObject.practice)!=null&&SA.can_appraise)){ge.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 FA=yield Nr({type:"shixunHomeworks/changeScore",payload:{categoryId:Fa.homeworkId,type:"report",score:ei,challenge_id:io.challenge_id}});nu({page:1,page_size:10},"all"),yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},Fa),qi.current||{})}),FA.status===0&&ge.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):fr}];let Bc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(fr,io,ei)=>({children:fr,props:{rowSpan:io.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(fr,io,ei)=>({children:fr,props:{rowSpan:io.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:(fr,io,ei)=>zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.actual_test_score)!==parseFloat(fr)?"red":"green"}},io.actual_test_score),"/",fr)},{title:"\u6307\u6807\u603B\u5206",render:(fr,io,ei)=>({children:zt.createElement("div",null,zt.createElement("span",{style:{color:parseFloat(io.actual_target_score)!==parseFloat(fr)?"red":"green"}},io.actual_target_score),"/",fr),props:{rowSpan:io.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const rl=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:fr=>zt.createElement("span",null,fr?ze()(fr).format("YYYY-MM-DD HH:mm"):"--")}],tc=fr=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{fr==="next"?Me.history.push(`/classrooms/${Fa.coursesId}/shixun_homework/${Fa.categoryId}/${In==null?void 0:In.next_student_work_id}/comment`):Me.history.push(`/classrooms/${Fa.coursesId}/shixun_homework/${Fa.categoryId}/${In==null?void 0:In.pre_student_work_id}/comment`)},200)},Tr=fr=>{us(""),fr.target.value&&(console.log("\u8FDB\u6765",In),fr.target.value=fr.target.value>In.repeat_setting_score?In.repeat_setting_score:fr.target.value,us(fr.target.value))},ao=()=>no(void 0,null,function*(){const fr=yield(0,we.ZP)(`/api/student_works/${In==null?void 0:In.work_id}/update_repeat_score`,{method:"put",body:{score:Fl}});yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},Fa),qi.current||{})}),fr.status===0&&ge.ZP.info("\u64CD\u4F5C\u6210\u529F")});return zt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},zt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},zt.createElement(De.Z,{loading:ha["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},zt.createElement("div",{className:"edu-container"},In.course_id&&zt.createElement("section",{className:"animated fadeIn"},zt.createElement("aside",{className:""},In.category&&zt.createElement(xe.Z,{separator:">"},zt.createElement(xe.Z.Item,null,zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework`},In.course_name)),zt.createElement(xe.Z.Item,null,zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework/${In.category.main?"":In.category.category_id}`},In.category.category_name)),zt.createElement(xe.Z.Item,null,zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework/${In.homework_common_id}/detail${(0,Ge.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),zt.createElement(xe.Z.Item,null,In.username))),zt.createElement("aside",{className:[va.title1,"mt20"].join(" ")},zt.createElement(ee.Z,{align:"middle"},zt.createElement(E.Z,{flex:1},zt.createElement(Me.Link,{to:`/classrooms/${In.course_id}/shixun_homework/${In.homework_common_id}/detail`},zt.createElement(Dr.Z,{className:"font16 c-black"})),zt.createElement("strong",{className:"font20 ml5"},In==null?void 0:In.homework_name),zt.createElement(Ze.VV,{temporary:!0,status:In.homework_status})),zt.createElement(E.Z,{className:va.title1_right},In.view_tpi&&zt.createElement(Ee.ZP,{onClick:()=>{var fr,io;(0,Ze.xg)(`/tasks/${In==null?void 0:In.course_id}/${In==null?void 0:In.homework_common_id}/${(io=(fr=In==null?void 0:In.shixun_detail)==null?void 0:fr[0])==null?void 0:io.game_identifier}`)}},zt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ge.GJ)()&&In.homework_end===!1&&!!In.myshixun_id&&zt.createElement(Ee.ZP,{className:"ml10",onClick:()=>no(void 0,null,function*(){yield Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:In.myshixun_identifier},homework_common_id:si.categoryId}})})},zt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),zt.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var fr;if((0,Ge.Rm)()&&!((fr=sr.AssistantObject.practice)!=null&&fr.can_download)){ge.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}au("")},loading:Ks},zt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(In==null?void 0:In.students_count)>1&&zt.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var fr;if((0,Ge.Rm)()&&!((fr=sr.AssistantObject.practice)!=null&&fr.can_download)){ge.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}Ne.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:zt.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:zt.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{au("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Mr.jj)({categoryId:Fa.categoryId,coursesId:Fa.coursesId},"shixun_report")}}})}},zt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),zt.createElement("aside",{className:"mt30 relative"})),zt.createElement("aside",{className:"edu-container bg-white",ref:Zi},zt.createElement("div",{id:"export-all",ref:Vi},zt.createElement("div",{id:"export-all-1"},zt.createElement("div",{className:va.title},zt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),zt.createElement("div",null,(0,Ge.GJ)()&&zt.createElement(Ee.ZP,{className:"mr20",type:"primary",onClick:()=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:Mo({},In)},fn:()=>nu({page:1,page_size:10},"all")}})}},zt.createElement(de.Z,null),In.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),zt.createElement(a.Z,{style:{marginTop:0}}),zt.createElement(ee.Z,{className:"pl30 pr30"},zt.createElement(E.Z,null,zt.createElement("img",{className:va.userPic,src:`${Ue.Z.IMG_SERVER}/images/${In.image_url}`,alt:In.username})),zt.createElement(E.Z,null,zt.createElement("span",{className:"font16 ml40"},In.username),zt.createElement(Ze.vA,{status:In.compelete_status}),zt.createElement("ul",{className:va.userInfo},zt.createElement("li",null,"\u5B66\u53F7\uFF1A",In.student_id||"--"),zt.createElement("li",null,"\u5206\u73ED\uFF1A",In.group_name||"--"),zt.createElement("br",null),zt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",zt.createElement("span",{className:"c-red"},In.complete_count),"/",zt.createElement("span",{className:"c-red"},In.challenges_count)),zt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",zt.createElement("span",{className:"c-red"},In.current_complete_count||"-"),"/",zt.createElement("span",{className:"c-red"},In.challenges_count)),zt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.efficiency===null?"--":In&&In.efficiency),zt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.max_efficiency===null?"--":In&&In.max_efficiency))),zt.createElement("ul",{className:[va.listItem,"mt10"].join(" ")},zt.createElement("li",null,zt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),zt.createElement("div",{className:"c-light-black mt20"},In&&In.passed_time===null||In&&In.passed_time==="--"?"--":ze()(In&&In.passed_time).format("YYYY-MM-DD HH:mm"))),zt.createElement("li",null,zt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",zt.createElement("i",{onClick:fr=>{fr.stopPropagation(),fr.preventDefault(),Ns(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),zt.createElement("div",{className:"c-light-black mt20"},In==null?void 0:In.human_training_time_rules)),zt.createElement("li",null,zt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",zt.createElement("i",{onClick:fr=>{fr.stopPropagation(),fr.preventDefault(),Yo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),zt.createElement("div",{className:"c-light-black mt20"},In.time_consuming)),zt.createElement("li",null,zt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),zt.createElement("div",{className:"mt20"},In.evaluate_count)),(In==null?void 0:In.eff_score_full)&&zt.createElement(zt.Fragment,null,zt.createElement("li",null,zt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},In.challenge_score),"/",zt.createElement("span",{className:"c-light-black"},In.challenge_score_full))),zt.createElement("li",null,zt.createElement("strong",null,"\u6548\u7387\u5206"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},In.eff_score),"/",zt.createElement("span",{className:"c-light-black"},In.eff_score_full)))),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)!==0&&zt.createElement("li",{style:{position:"relative"}},zt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},zt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),zt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},In!=null&&In.review_rate?zt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(In!=null&&In.review_id&&YA)localStorage.setItem("studentDetial",window.location.pathname),Me.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Fa.categoryId}/review_detail/${In==null?void 0:In.review_id}`});else return}},In.review_rate.toFixed(1),"%"):zt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),YA?zt.createElement("div",{className:"mt20"},zt.createElement(y.default,{style:{width:"45px",height:"22px"},value:Fl,onChange:fr=>{Tr(fr)},onBlur:ao,disabled:Kc})," / ",In==null?void 0:In.repeat_setting_score):zt.createElement("div",{className:"mt20"},In==null?void 0:In.repeat_minus_score," / ",In==null?void 0:In.repeat_setting_score)),console.log("sssssssssssssssssssssss",In==null?void 0:In.have_repeat,In==null?void 0:In.repeat_minus_score),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)===0&&zt.createElement("li",null,zt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),zt.createElement("div",{className:"mt20"}," - -")),!(In!=null&&In.have_repeat)&&zt.createElement("li",null,zt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),zt.createElement("div",{className:"mt20"}," - -")),zt.createElement("li",null,zt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),zt.createElement("div",{className:"mt20"},zt.createElement("span",null,In.late_penalty||"- -"))),zt.createElement("li",null,zt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},Ll),"/",zt.createElement("span",{className:"c-light-black"},In.all_work_score))),zt.createElement("li",null,zt.createElement("strong",null,"\u603B\u8BC4"),zt.createElement("div",{className:"mt20"},zt.createElement("span",{className:"c-orange"},In.overall_appraisal))))),zt.createElement(a.Z,{style:{margin:0}}),(In.work_comment_hidden||In.work_comment)&&zt.createElement("div",null,zt.createElement(ee.Z,{align:"middle"},zt.createElement(E.Z,{flex:1},zt.createElement("h1",{className:va.title},"\u70B9\u8BC4\u5185\u5BB9")),zt.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&zt.createElement(Ee.ZP,{onClick:()=>no(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:zt.createElement(Le.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return no(this,null,function*(){(yield(0,Ar.gZ)({comment_id:In.comment_id,homeworkId:Fa.homeworkId})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),Nr({type:"shixunHomeworks/getShixunWorkReport",payload:Mo(Mo({},Fa),qi.current||{})}))})}})})},zt.createElement(Pe.Z,null),"\u5220\u9664"))),zt.createElement(a.Z,{style:{margin:0}}),In.work_comment&&zt.createElement("aside",{className:"pl30 pr30 mt20"},zt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),zt.createElement("br",null),zt.createElement(ar.Z,{value:In.work_comment})),In.work_comment_hidden&&zt.createElement("aside",{className:"pl30 pr30 mt20"},zt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),zt.createElement("br",null),zt.createElement(ar.Z,{value:In.work_comment_hidden}))),(In==null?void 0:In.action_analysis)&&zt.createElement(Yr,{detailData:In}),zt.createElement("div",{className:va.score},zt.createElement("h1",{className:va.title},"\u9636\u6BB5\u6210\u7EE9"),(In==null?void 0:In.adjust_review_score_count)>0&&(0,Ge.GJ)()&&zt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{xl(!0),nu({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",In==null?void 0:In.adjust_review_score_count,"\u6B21\uFF09")),zt.createElement("aside",{className:"pl30 pr30"},zt.createElement(te.default,{dataSource:In.stage_list,rowKey:fr=>fr==null?void 0:fr.challenge_id,pagination:!1,columns:Nu})),((Eo=In==null?void 0:In.target_test_sets)==null?void 0:Eo.length)>0&&zt.createElement("div",null,zt.createElement("h1",{className:va.title},"\u6307\u6807\u6210\u7EE9"),zt.createElement("aside",{className:"pl30 pr30"},zt.createElement(te.default,{dataSource:Pl,rowKey:fr=>fr==null?void 0:fr.challenge_id,pagination:!1,bordered:!0,columns:Bc}))),(In==null?void 0:In.work_description)&&zt.createElement(zt.Fragment,null,zt.createElement("h1",{className:va.title},"\u4E2A\u4EBA\u603B\u7ED3"),zt.createElement("aside",{className:"pl30 pr30"},zt.createElement(ar.Z,{value:In==null?void 0:In.work_description}))),zt.createElement("h1",{className:va.title},"\u56FE\u5F62\u7EDF\u8BA1"),zt.createElement(So,{data:so}),zt.createElement("h1",{className:va.title},"\u5B9E\u8BAD\u8BE6\u60C5")),zt.createElement(PA,{autoHeight:eu}))),(0,Ge.GJ)()&&zt.createElement("aside",{className:`${va.footerBar} ${Ks?va.footerBarStatic:""}`},zt.createElement("aside",{className:"edu-container"},zt.createElement(ee.Z,{align:"middle"},zt.createElement(E.Z,{flex:"1"},zt.createElement(Me.Link,{className:va.exitComment,to:`/classrooms/${Fa.coursesId}/shixun_homework/${Fa.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),zt.createElement(E.Z,{flex:"1",className:"tr"},zt.createElement(Ee.ZP,{type:"default",disabled:!(In!=null&&In.pre_student_work_id),onClick:()=>tc()},"\u4E0A\u4E00\u4E2A"),zt.createElement(Ee.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(In!=null&&In.next_student_work_id),onClick:()=>tc("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&zt.createElement(Ee.ZP,{type:"primary",onClick:()=>no(void 0,null,function*(){Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:Mo({},In)},fn:()=>nu({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),zt.createElement(cl,null),zt.createElement(rr.Z,null),zt.createElement(Ne.default,{open:ws,width:860,centered:!0,onCancel:()=>{Ns(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},zt.createElement("div",{style:{color:"#333333",fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),zt.createElement("br",null),zt.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"),zt.createElement("br",null),zt.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"),zt.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 "),zt.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")),zt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),zt.createElement("br",null),zt.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 "),zt.createElement("br",null),zt.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"),zt.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 "),zt.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"),zt.createElement("br",null),zt.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")),zt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),zt.createElement("br",null),zt.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")),zt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},zt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),zt.createElement("br",null),zt.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"))),zt.createElement(Ne.default,{open:yA,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Yo(!1)},width:600},zt.createElement("div",{style:{fontWeight:400,color:"#333333"}},zt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",zt.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"),zt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",zt.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"),zt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",zt.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"))),zt.createElement(Ne.default,{open:jl,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{MA("all"),xl(!1)},destroyOnClose:!0,width:900},zt.createElement("div",{style:{fontWeight:400,color:"#333333"}},zt.createElement("div",null,zt.createElement("span",null,"\u5173\u5361\uFF1A"),zt.createElement(ne.default,{style:{width:300},value:zs,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:fr=>no(void 0,null,function*(){MA(fr),nu({page:1,page_size:10},fr)})},zt.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(wi=In==null?void 0:In.stage_list)==null?void 0:wi.map((fr,io)=>zt.createElement(ne.default.Option,{key:io,value:fr==null?void 0:fr.challenge_id},"\u7B2C",(0,Ze.EM)(io+1),"\u5173")))),zt.createElement("div",{className:"mt20"},zt.createElement(te.default,{dataSource:qa,rowKey:fr=>fr==null?void 0:fr.id,pagination:!1,columns:rl,loading:$l})),zt.createElement("div",{className:va.footer},zt.createElement("div",null,zt.createElement("span",{style:{color:"#656F87"}},"\u5171",zt.createElement("span",{className:"c-light-primary"},xA),"\u6761\u6570\u636E")),zt.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(hi==null?void 0:hi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:xA,onChange:aA})))))};var Fs=(0,Me.connect)(({shixunHomeworks:Wt,classroomList:Qt,loading:xn,globalSetting:sr,user:ta})=>({shixunHomeworks:Wt,classroomList:Qt,globalSetting:sr,loading:xn.effects,user:ta}))(As);const Xr=({globalSetting:Wt})=>{var Qt;switch(Number((Qt=Wt==null?void 0:Wt.setting)==null?void 0:Qt.theme)){case me.Fy.THEMEONE:return Ce.createElement(la,null);case me.Fy.DEFAULT:default:return Ce.createElement(Fs,null)}};var Rr=(0,Me.connect)(({globalSetting:Wt})=>({globalSetting:Wt}))(Xr)},4712:function(Yt,Dt,Be){"use strict";var me=Be(43418),Ce=Be(8591),Me=Be(49317),rt=Be(44283),ze=Be(15267),je=Be(59301),ve=(Ne,ge,De)=>new Promise((xe,Ee)=>{var ie=ee=>{try{a(De.next(ee))}catch(E){Ee(E)}},y=ee=>{try{a(De.throw(ee))}catch(E){Ee(E)}},a=ee=>ee.done?xe(ee.value):Promise.resolve(ee.value).then(ie,y);a((De=De.apply(Ne,ge)).next())});const we=({shixunHomeworks:Ne,classroomList:ge,dispatch:De})=>{const xe=(0,rt.useParams)();return je.createElement(me.default,{centered:!0,title:"\u63D0\u793A",open:Ne.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var Ee,ie,y,a;if((0,ze.Rm)()&&!((Ee=ge.AssistantObject.practice)!=null&&Ee.can_redo)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,Me.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:xe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(ee.shixun_identifier){Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===xe.categoryId))==null?void 0:y.id;if((0,ze.Rm)()&&!((a=ge.AssistantObject.practice)!=null&&a.can_view))return;rt.history.replace(`/classrooms/${xe.coursesId}/shixun_homework/${xe.categoryId}/${E}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Dt.Z=(0,rt.connect)(({shixunHomeworks:Ne,classroomList:ge})=>({shixunHomeworks:Ne,classroomList:ge}))(we)},6252:function(Yt,Dt,Be){"use strict";Be.d(Dt,{AD:function(){return Lt},BA:function(){return fn},D9:function(){return ut},Hp:function(){return Le},IM:function(){return Kt},Iy:function(){return Pe},KM:function(){return Xe},KU:function(){return wn},MJ:function(){return Ue},Ne:function(){return at},ON:function(){return un},Uj:function(){return Rn},VY:function(){return Tt},YO:function(){return Bt},YX:function(){return Tn},Zn:function(){return y},_g:function(){return ne},_k:function(){return lt},c6:function(){return pt},cr:function(){return a},eV:function(){return Qe},fi:function(){return ee},gh:function(){return tt},hS:function(){return Vt},iA:function(){return E},j6:function(){return ae},jj:function(){return de},kS:function(){return Qn},o6:function(){return Te},pO:function(){return $n},rQ:function(){return it},sA:function(){return Ze},xm:function(){return vt},xo:function(){return mt},y8:function(){return ot},yd:function(){return te}});var me=Be(77996),Ce=Be(44283),Me=Be(76406),rt=Be(8591),ze=Be(14185),je=Object.defineProperty,ve=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ge=(Fe,fe,ce)=>fe in Fe?je(Fe,fe,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Fe[fe]=ce,De=(Fe,fe)=>{for(var ce in fe||(fe={}))we.call(fe,ce)&&ge(Fe,ce,fe[ce]);if(ve)for(var ce of ve(fe))Ne.call(fe,ce)&&ge(Fe,ce,fe[ce]);return Fe},xe=(Fe,fe,ce)=>new Promise((Se,qe)=>{var dt=Pt=>{try{Ye(ce.next(Pt))}catch(gt){qe(gt)}},He=Pt=>{try{Ye(ce.throw(Pt))}catch(gt){qe(gt)}},Ye=Pt=>Pt.done?Se(Pt.value):Promise.resolve(Pt.value).then(dt,He);Ye((ce=ce.apply(Fe,fe)).next())});const Ee=()=>{(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Fe=>xe(void 0,null,function*(){Ee(),(yield(0,me.YR)(De({},Fe))).status===0&&(yield(0,Me.QH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_couser_info.json`,query:Fe}))),ie()}),a=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.yS)(De({},Fe));if(fe.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`);else{if(fe.status===-2)return fe;fe.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`))}}),ee=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.W0)(De({},Fe));if(fe.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`))}}),E=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.Nl)(De({},Fe));if(fe.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.IU)(De({},Fe));if(fe.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`))}}),ne=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.td)(De({},Fe));if(fe.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(fe.status===-2)return fe;if(fe.status===-3)(0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else if(fe.status===-4)return fe}}),ae=Fe=>xe(void 0,null,function*(){const fe=yield(0,me.QX)(De({},Fe));if(fe.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`);else{if(fe.status===-4)return fe;fe.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`))}}),de=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.o_)(De({},Fe));ce.status===0?(rt.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"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),Le=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.ZL)(De({},Fe));ce.status===0?(rt.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"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),Pe=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.aP)(De({},Fe));ce.status===0?(rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),Ue=(Fe,fe)=>xe(void 0,null,function*(){const ce=yield(0,me.vV)(De({},Fe));ce.status===0?(rt.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"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`)):ce.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${fe}`))}),Ge=Fe=>xe(void 0,null,function*(){Ee(),(yield exportCourseWorkListAppendix(De({},Fe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Fe.categoryId}/works_list.zip`,query:Fe}))),ie()}),Ze=Fe=>xe(void 0,null,function*(){Ee(),yield(0,Me.QH)("",ze.Z.API_SERVER+`/api/polls/${Fe.categoryId}/commit_result.xlsx`),ie()}),tt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Fe}))}),Te=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/video_study_statics.xlsx`,query:Fe}))}),pt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_video_study.xlsx`,query:Fe}))}),Qe=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_course_students_info.xlsx`,query:Fe}))}),Lt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Fe}))}),it=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Fe}))}),ot=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Fe}))}),St=Fe=>xe(void 0,null,function*(){const fe=yield exportExerciseStudentScores(De({},Fe));fe.status===0?(message.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`)):fe.status===-3&&(getDvaApp()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),lt=Fe=>xe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/export_records/${Fe.id}.xlsx`,query:Fe}))}),vt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Fe}))}),ut=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/${Fe.menuKey}_statistic.xlsx?${Fe.checkedList.map(fe=>`course_group_id[]=${fe}`).join("&")}`,query:Fe}))}),at=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_training_objectives.xlsx`,query:Fe}))}),Kt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)(Fe==null?void 0:Fe.name,(0,Me.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Fe}))}),Vt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_courses.xlsx`,query:Fe}))}),mt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Fe}))}),Tt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Fe}))}),wn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe.categoryId}/rank_list.xlsx`,query:Fe}))}),Qn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Fe}))}),un=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${Fe.id}.json`,query:Fe}))}),Tn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe.categoryId}.json`,query:Fe}))}),Bt=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/polls/${Fe==null?void 0:Fe.id}/commit_result.json`,query:Fe}))}),Rn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Fe}))}),$n=(Fe,fe)=>xe(void 0,null,function*(){yield(0,Me.FH)(fe||"",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/consult_exercise.json`,query:Fe}))}),Xe=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/competitions/${Fe==null?void 0:Fe.identifier}/competition_commit_records/member_works.xlsx`,query:Fe}))}),fn=Fe=>xe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/group_homeworks/import_group_template.xlsx`,query:Fe}))})},63392:function(Yt,Dt,Be){"use strict";Be.d(Dt,{U:function(){return Ne}});var me=Be(59301),Ce=Object.defineProperty,Me=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(ge,De,xe)=>De in ge?Ce(ge,De,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ge[De]=xe,ve=(ge,De)=>{for(var xe in De||(De={}))rt.call(De,xe)&&je(ge,xe,De[xe]);if(Me)for(var xe of Me(De))ze.call(De,xe)&&je(ge,xe,De[xe]);return ge},we=(ge,De,xe)=>new Promise((Ee,ie)=>{var y=E=>{try{ee(xe.next(E))}catch(te){ie(te)}},a=E=>{try{ee(xe.throw(E))}catch(te){ie(te)}},ee=E=>E.done?Ee(E.value):Promise.resolve(E.value).then(y,a);ee((xe=xe.apply(ge,De)).next())});function Ne(ge,De){const[xe,Ee]=(0,me.useState)(De),[ie,y]=(0,me.useState)(!1),[a,ee]=(0,me.useState)();return[xe,ie,(te,ne=!1)=>we(this,null,function*(){const ae=ne?De:ve(ve({},xe),te);y(!0),Ee(ae);const de=yield ge(ae);return y(!1),ee(de),de}),a]}},50371:function(Yt,Dt){"use strict";function Be(){const me=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ce=1;Ce{const ze=Me[rt];ze!==void 0&&(me[rt]=ze)})}return me}Dt.Z=Be},13845:function(Yt,Dt,Be){"use strict";Be.d(Dt,{F:function(){return me},Z:function(){return Ce}});function me(Me){return Me!=null&&Me===Me.window}function Ce(Me,rt){var ze,je;if(typeof window=="undefined")return 0;const ve=rt?"scrollTop":"scrollLeft";let we=0;return me(Me)?we=Me[rt?"pageYOffset":"pageXOffset"]:Me instanceof Document?we=Me.documentElement[ve]:(Me instanceof HTMLElement||Me)&&(we=Me[ve]),Me&&!me(Me)&&typeof we!="number"&&(we=(je=((ze=Me.ownerDocument)!==null&&ze!==void 0?ze:Me).documentElement)===null||je===void 0?void 0:je[ve]),we}},56762:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Ce}});var me=Be(59301);function Ce(){const[,Me]=me.useReducer(rt=>rt+1,0);return Me}},68031:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return rt}});var me=Be(16089);function Ce(ze,je,ve,we){const Ne=ve-je;return ze/=we/2,ze<1?Ne/2*ze*ze*ze+je:Ne/2*((ze-=2)*ze*ze+2)+je}var Me=Be(13845);function rt(ze){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:we,duration:Ne=450}=je,ge=ve(),De=(0,Me.Z)(ge,!0),xe=Date.now(),Ee=()=>{const y=Date.now()-xe,a=Ce(y>Ne?Ne:y,De,ze,Ne);(0,Me.F)(ge)?ge.scrollTo(window.pageXOffset,a):ge instanceof Document||ge.constructor.name==="HTMLDocument"?ge.documentElement.scrollTop=a:ge.scrollTop=a,y{let{children:ot}=it;const{getPrefixCls:St}=ze.useContext(ve.E_),lt=St("breadcrumb");return ze.createElement("li",{className:`${lt}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};ge.__ANT_BREADCRUMB_SEPARATOR=!0;var De=ge,xe=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vtot[vt]||lt)}function ie(it,ot,St,lt){if(St==null)return null;const{className:vt,onClick:ut}=ot,at=xe(ot,["className","onClick"]),Kt=Object.assign(Object.assign({},(0,rt.Z)(at,{data:!0,aria:!0})),{onClick:ut});return lt!==void 0?ze.createElement("a",Object.assign({},Kt,{className:Ce()(`${it}-link`,vt),href:lt}),St):ze.createElement("span",Object.assign({},Kt,{className:Ce()(`${it}-link`,vt)}),St)}function y(it,ot){return(lt,vt,ut,at,Kt)=>{if(ot)return ot(lt,vt,ut,at);const Vt=Ee(lt,vt);return ie(it,lt,Vt,Kt)}}var a=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vt{const{prefixCls:ot,separator:St="/",children:lt,menu:vt,overlay:ut,dropdownProps:at,href:Kt}=it,mt=(Tt=>{if(vt||ut){const wn=Object.assign({},at);if(vt){const Qn=vt||{},{items:un}=Qn,Tn=a(Qn,["items"]);wn.menu=Object.assign(Object.assign({},Tn),{items:un==null?void 0:un.map((Bt,Rn)=>{var{key:$n,title:Xe,label:fn,path:Fe}=Bt,fe=a(Bt,["key","title","label","path"]);let ce=fn!=null?fn:Xe;return Fe&&(ce=ze.createElement("a",{href:`${Kt}${Fe}`},ce)),Object.assign(Object.assign({},fe),{key:$n!=null?$n:Rn,label:ce})})})}else ut&&(wn.overlay=ut);return ze.createElement(Ne.Z,Object.assign({placement:"bottom"},wn),ze.createElement("span",{className:`${ot}-overlay-link`},Tt,ze.createElement(we.Z,null)))}return Tt})(lt);return mt!=null?ze.createElement(ze.Fragment,null,ze.createElement("li",null,mt),St&&ze.createElement(De,null,St)):null},E=it=>{const{prefixCls:ot,children:St,href:lt}=it,vt=a(it,["prefixCls","children","href"]),{getPrefixCls:ut}=ze.useContext(ve.E_),at=ut("breadcrumb",ot);return ze.createElement(ee,Object.assign({},vt,{prefixCls:at}),ie(at,vt,St,lt))};E.__ANT_BREADCRUMB_ITEM=!0;var te=E,ne=Be(17313),ae=Be(83116),de=Be(37613);const Le=it=>{const{componentCls:ot,iconCls:St}=it;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(it)),{color:it.itemColor,fontSize:it.fontSize,[St]:{fontSize:it.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:it.linkColor,transition:`color ${it.motionDurationMid}`,padding:`0 ${it.paddingXXS}px`,borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",marginInline:-it.marginXXS,"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover}},(0,ne.Qy)(it)),"li:last-child":{color:it.lastItemColor},[`${ot}-separator`]:{marginInline:it.separatorMargin,color:it.separatorColor},[`${ot}-link`]:{[` > ${St} + span, > ${St} + a `]:{marginInlineStart:it.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",padding:`0 ${it.paddingXXS}px`,marginInline:-it.marginXXS,[`> ${St}`]:{marginInlineStart:it.marginXXS,fontSize:it.fontSizeIcon},"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover,a:{color:it.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${it.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,ae.Z)("Breadcrumb",it=>{const ot=(0,de.TS)(it,{});return[Le(ot)]},it=>({itemColor:it.colorTextDescription,lastItemColor:it.colorText,iconFontSize:it.fontSize,linkColor:it.colorTextDescription,linkHoverColor:it.colorText,separatorColor:it.colorTextDescription,separatorMargin:it.marginXS})),Ue=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vt{var{breadcrumbName:at}=ut,Kt=Ue(ut,["breadcrumbName"]);return Object.assign(Object.assign({},Kt),{title:at})})}),vt}function Ze(it,ot){return(0,ze.useMemo)(()=>it||(ot?ot.map(Ge):null),[it,ot])}var tt=function(it,ot){var St={};for(var lt in it)Object.prototype.hasOwnProperty.call(it,lt)&&ot.indexOf(lt)<0&&(St[lt]=it[lt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,lt=Object.getOwnPropertySymbols(it);vt{if(ot===void 0)return ot;let St=(ot||"").replace(/^\//,"");return Object.keys(it).forEach(lt=>{St=St.replace(`:${lt}`,it[lt])}),St},pt=it=>{const{prefixCls:ot,separator:St="/",style:lt,className:vt,rootClassName:ut,routes:at,items:Kt,children:Vt,itemRender:mt,params:Tt={}}=it,wn=tt(it,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Qn,direction:un,breadcrumb:Tn}=ze.useContext(ve.E_);let Bt;const Rn=Qn("breadcrumb",ot),[$n,Xe]=Pe(Rn),fn=Ze(Kt,at),Fe=y(Rn,mt);if(fn&&fn.length>0){const Se=[],qe=Kt||at;Bt=fn.map((dt,He)=>{const{path:Ye,key:Pt,type:gt,menu:st,overlay:Rt,onClick:hn,className:It,separator:sn,dropdownProps:Ft}=dt,yn=Te(Tt,Ye);yn!==void 0&&Se.push(yn);const At=Pt!=null?Pt:He;if(gt==="separator")return ze.createElement(De,{key:At},sn);const qt={},gn=He===fn.length-1;st?qt.menu=st:Rt&&(qt.overlay=Rt);let{href:pn}=dt;return Se.length&&yn!==void 0&&(pn=`#/${Se.join("/")}`),ze.createElement(ee,Object.assign({key:At},qt,(0,rt.Z)(dt,{data:!0,aria:!0}),{className:It,dropdownProps:Ft,href:pn,separator:gn?"":St,onClick:hn,prefixCls:Rn}),Fe(dt,Tt,qe,Se,pn))})}else if(Vt){const Se=(0,Me.Z)(Vt).length;Bt=(0,Me.Z)(Vt).map((qe,dt)=>{if(!qe)return qe;const He=dt===Se-1;return(0,je.Tm)(qe,{separator:He?"":St,key:dt})})}const fe=Ce()(Rn,Tn==null?void 0:Tn.className,{[`${Rn}-rtl`]:un==="rtl"},vt,ut,Xe),ce=Object.assign(Object.assign({},Tn==null?void 0:Tn.style),lt);return $n(ze.createElement("nav",Object.assign({className:fe,style:ce},wn),ze.createElement("ol",null,Bt)))};pt.Item=te,pt.Separator=De;var Qe=pt,Lt=Qe},24905:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return Pe}});var me=Be(92310),Ce=Be.n(me),Me=Be(5630),rt=Be(59301),ze=Be(36355),je=Be(1684),ve=Be(32441),Ne=rt.createContext(null),ge=Be(98447),De=Be(14088),xe=Be(4572),Ee=function(Ue,Ge){var Ze={};for(var tt in Ue)Object.prototype.hasOwnProperty.call(Ue,tt)&&Ge.indexOf(tt)<0&&(Ze[tt]=Ue[tt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,tt=Object.getOwnPropertySymbols(Ue);Te{var Ze;const{prefixCls:tt,className:Te,rootClassName:pt,children:Qe,indeterminate:Lt=!1,style:it,onMouseEnter:ot,onMouseLeave:St,skipGroup:lt=!1,disabled:vt}=Ue,ut=Ee(Ue,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Kt,checkbox:Vt}=rt.useContext(ze.E_),mt=rt.useContext(Ne),{isFormItemInput:Tt}=rt.useContext(ve.aM),wn=rt.useContext(je.Z),Qn=(Ze=(mt==null?void 0:mt.disabled)||vt)!==null&&Ze!==void 0?Ze:wn,un=rt.useRef(ut.value);rt.useEffect(()=>{mt==null||mt.registerValue(ut.value)},[]),rt.useEffect(()=>{if(!lt)return ut.value!==un.current&&(mt==null||mt.cancelValue(un.current),mt==null||mt.registerValue(ut.value),un.current=ut.value),()=>mt==null?void 0:mt.cancelValue(ut.value)},[ut.value]);const Tn=at("checkbox",tt),[Bt,Rn]=(0,ge.ZP)(Tn),$n=Object.assign({},ut);mt&&!lt&&($n.onChange=function(){ut.onChange&&ut.onChange.apply(ut,arguments),mt.toggleOption&&mt.toggleOption({label:Qe,value:ut.value})},$n.name=mt.name,$n.checked=mt.value.includes(ut.value));const Xe=Ce()(`${Tn}-wrapper`,{[`${Tn}-rtl`]:Kt==="rtl",[`${Tn}-wrapper-checked`]:$n.checked,[`${Tn}-wrapper-disabled`]:Qn,[`${Tn}-wrapper-in-form-item`]:Tt},Vt==null?void 0:Vt.className,Te,pt,Rn),fn=Ce()({[`${Tn}-indeterminate`]:Lt},xe.A,Rn),Fe=Lt?"mixed":void 0;return Bt(rt.createElement(De.Z,{component:"Checkbox",disabled:Qn},rt.createElement("label",{className:Xe,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),it),onMouseEnter:ot,onMouseLeave:St},rt.createElement(Me.Z,Object.assign({"aria-checked":Fe},$n,{prefixCls:Tn,className:fn,disabled:Qn,ref:Ge})),Qe!==void 0&&rt.createElement("span",null,Qe))))};var a=rt.forwardRef(ie),ee=Be(77654),E=Be(2738),te=function(Ue,Ge){var Ze={};for(var tt in Ue)Object.prototype.hasOwnProperty.call(Ue,tt)&&Ge.indexOf(tt)<0&&(Ze[tt]=Ue[tt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,tt=Object.getOwnPropertySymbols(Ue);Te{const{defaultValue:Ze,children:tt,options:Te=[],prefixCls:pt,className:Qe,rootClassName:Lt,style:it,onChange:ot}=Ue,St=te(Ue,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:lt,direction:vt}=rt.useContext(ze.E_),[ut,at]=rt.useState(St.value||Ze||[]),[Kt,Vt]=rt.useState([]);rt.useEffect(()=>{"value"in St&&at(St.value||[])},[St.value]);const mt=rt.useMemo(()=>Te.map(fe=>typeof fe=="string"||typeof fe=="number"?{label:fe,value:fe}:fe),[Te]),Tt=fe=>{Vt(ce=>ce.filter(Se=>Se!==fe))},wn=fe=>{Vt(ce=>[].concat((0,ee.Z)(ce),[fe]))},Qn=fe=>{const ce=ut.indexOf(fe.value),Se=(0,ee.Z)(ut);ce===-1?Se.push(fe.value):Se.splice(ce,1),"value"in St||at(Se),ot==null||ot(Se.filter(qe=>Kt.includes(qe)).sort((qe,dt)=>{const He=mt.findIndex(Pt=>Pt.value===qe),Ye=mt.findIndex(Pt=>Pt.value===dt);return He-Ye}))},un=lt("checkbox",pt),Tn=`${un}-group`,[Bt,Rn]=(0,ge.ZP)(un),$n=(0,E.Z)(St,["value","disabled"]),Xe=Te.length?mt.map(fe=>rt.createElement(a,{prefixCls:un,key:fe.value.toString(),disabled:"disabled"in fe?fe.disabled:St.disabled,value:fe.value,checked:ut.includes(fe.value),onChange:fe.onChange,className:`${Tn}-item`,style:fe.style,title:fe.title},fe.label)):tt,fn={toggleOption:Qn,value:ut,disabled:St.disabled,name:St.name,registerValue:wn,cancelValue:Tt},Fe=Ce()(Tn,{[`${Tn}-rtl`]:vt==="rtl"},Qe,Lt,Rn);return Bt(rt.createElement("div",Object.assign({className:Fe,style:it},$n,{ref:Ge}),rt.createElement(Ne.Provider,{value:fn},Xe)))},ae=rt.forwardRef(ne);var de=rt.memo(ae);const Le=a;Le.Group=de,Le.__ANT_CHECKBOX=!0;var Pe=Le},98447:function(Yt,Dt,Be){"use strict";Be.d(Dt,{C2:function(){return ze}});var me=Be(17313),Ce=Be(37613),Me=Be(83116);const rt=je=>{const{checkboxCls:ve}=je,we=`${ve}-wrapper`;return[{[`${ve}-group`]:Object.assign(Object.assign({},(0,me.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[we]:Object.assign(Object.assign({},(0,me.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${we}`]:{marginInlineStart:0},[`&${we}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ve]:Object.assign(Object.assign({},(0,me.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.borderRadiusSM,alignSelf:"center",[`${ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ve}-inner`]:Object.assign({},(0,me.oN)(je))},[`${ve}-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}})},{[` ${we}:not(${we}-disabled), ${ve}:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{borderColor:je.colorPrimary}},[`${we}:not(${we}-disabled)`]:{[`&:hover ${ve}-checked:not(${ve}-disabled) ${ve}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ve}-checked:not(${ve}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${ve}-checked`]:{[`${ve}-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}`}}},[` ${we}-checked:not(${we}-disabled), ${ve}-checked:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[ve]:{"&-indeterminate":{[`${ve}-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:'""'}}}}},{[`${we}-disabled`]:{cursor:"not-allowed"},[`${ve}-disabled`]:{[`&, ${ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ve}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${ve}-indeterminate ${ve}-inner::after`]:{background:je.colorTextDisabled}}}]};function ze(je,ve){const we=(0,Ce.TS)(ve,{checkboxCls:`.${je}`,checkboxSize:ve.controlInteractiveSize});return[rt(we)]}Dt.ZP=(0,Me.Z)("Checkbox",(je,ve)=>{let{prefixCls:we}=ve;return[ze(we,je)]})},28103:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return xe}});var me=Be(92310),Ce=Be.n(me),Me=Be(59301),rt=Be(36355),ze=Be(17313),je=Be(83116),ve=Be(37613);const we=Ee=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:ee,textPaddingInline:E,orientationMargin:te,verticalMarginInline:ne}=Ee;return{[ie]:Object.assign(Object.assign({},(0,ze.Wf)(Ee)),{borderBlockStart:`${ee}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ee}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ee.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ee.dividerHorizontalWithTextGutterMargin}px 0`,color:Ee.colorTextHeading,fontWeight:500,fontSize:Ee.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ee}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ie}-with-text-left`]:{"&::before":{width:`${te*100}%`},"&::after":{width:`${100-te*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-te*100}%`},"&::after":{width:`${te*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${ee}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:ee,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:Ee.colorText,fontWeight:"normal",fontSize:Ee.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:y}}})}};var Ne=(0,je.Z)("Divider",Ee=>{const ie=(0,ve.TS)(Ee,{dividerHorizontalWithTextGutterMargin:Ee.margin,dividerHorizontalGutterMargin:Ee.marginLG,sizePaddingEdgeHorizontal:0});return[we(ie)]},Ee=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ee.marginXS})),ge=function(Ee,ie){var y={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&ie.indexOf(a)<0&&(y[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,a=Object.getOwnPropertySymbols(Ee);ee{const{getPrefixCls:ie,direction:y,divider:a}=Me.useContext(rt.E_),{prefixCls:ee,type:E="horizontal",orientation:te="center",orientationMargin:ne,className:ae,rootClassName:de,children:Le,dashed:Pe,plain:Ue,style:Ge}=Ee,Ze=ge(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),tt=ie("divider",ee),[Te,pt]=Ne(tt),Qe=te.length>0?`-${te}`:te,Lt=!!Le,it=te==="left"&&ne!=null,ot=te==="right"&&ne!=null,St=Ce()(tt,a==null?void 0:a.className,pt,`${tt}-${E}`,{[`${tt}-with-text`]:Lt,[`${tt}-with-text${Qe}`]:Lt,[`${tt}-dashed`]:!!Pe,[`${tt}-plain`]:!!Ue,[`${tt}-rtl`]:y==="rtl",[`${tt}-no-default-orientation-margin-left`]:it,[`${tt}-no-default-orientation-margin-right`]:ot},ae,de),lt=Me.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),vt=Object.assign(Object.assign({},it&&{marginLeft:lt}),ot&&{marginRight:lt});return Te(Me.createElement("div",Object.assign({className:St,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ge)},Ze,{role:"separator"}),Le&&E!=="vertical"&&Me.createElement("span",{className:`${tt}-inner-text`,style:vt},Le)))}},91857:function(Yt,Dt,Be){"use strict";var me=Be(59301),Ce=Be(38819),Me=Be(92310),rt=Be.n(Me),ze=Be(31561),je=Be(70425),ve=Be(18929),we=Be(2738),Ne=Be(79676),ge=Be(53487),De=Be(92343),xe=Be(36355),Ee=Be(20834),ie=Be(40875),y=Be(88088),a=Be(47211);const ee=null,E=de=>{const{menu:Le,arrow:Pe,prefixCls:Ue,children:Ge,trigger:Ze,disabled:tt,dropdownRender:Te,getPopupContainer:pt,overlayClassName:Qe,rootClassName:Lt,open:it,onOpenChange:ot,visible:St,onVisibleChange:lt,mouseEnterDelay:vt=.15,mouseLeaveDelay:ut=.1,autoAdjustOverflow:at=!0,placement:Kt="",overlay:Vt,transitionName:mt}=de,{getPopupContainer:Tt,getPrefixCls:wn,direction:Qn}=me.useContext(xe.E_),un=me.useMemo(()=>{const st=wn();return mt!==void 0?mt:Kt.includes("top")?`${st}-slide-down`:`${st}-slide-up`},[wn,Kt,mt]),Tn=me.useMemo(()=>Kt?Kt.includes("Center")?Kt.slice(0,Kt.indexOf("Center")):Kt:Qn==="rtl"?"bottomRight":"bottomLeft",[Kt,Qn]),Bt=wn("dropdown",Ue),[Rn,$n]=(0,a.Z)(Bt),[,Xe]=(0,y.Z)(),fn=me.Children.only(Ge),Fe=(0,De.Tm)(fn,{className:rt()(`${Bt}-trigger`,{[`${Bt}-rtl`]:Qn==="rtl"},fn.props.className),disabled:tt}),fe=tt?[]:Ze;let ce;fe&&fe.includes("contextMenu")&&(ce=!0);const[Se,qe]=(0,ve.Z)(!1,{value:it!=null?it:St}),dt=(0,je.useEvent)(st=>{ot==null||ot(st),lt==null||lt(st),qe(st)}),He=rt()(Qe,Lt,$n,{[`${Bt}-rtl`]:Qn==="rtl"}),Ye=(0,Ne.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:at,offset:Xe.marginXXS,arrowWidth:Pe?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius}),Pt=me.useCallback(()=>{qe(!1)},[]),gt=()=>{let st;return Le!=null&&Le.items?st=me.createElement(Ee.default,Object.assign({},Le)):typeof Vt=="function"?st=Vt():st=Vt,Te&&(st=Te(st)),st=me.Children.only(typeof st=="string"?me.createElement("span",null,st):st),me.createElement(ie.J,{prefixCls:`${Bt}-menu`,expandIcon:me.createElement("span",{className:`${Bt}-menu-submenu-arrow`},me.createElement(Ce.Z,{className:`${Bt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:Rt=>{let{mode:hn}=Rt}},st)};return Rn(me.createElement(ze.Z,Object.assign({alignPoint:ce},(0,we.Z)(de,["rootClassName"]),{mouseEnterDelay:vt,mouseLeaveDelay:ut,visible:Se,builtinPlacements:Ye,arrow:!!Pe,overlayClassName:He,prefixCls:Bt,getPopupContainer:pt||Tt,transitionName:un,trigger:fe,overlay:gt,placement:Tn,onVisibleChange:dt}),Fe))};function te(de){return Object.assign(Object.assign({},de),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,ge.Z)(E,"dropdown",de=>de,te),ae=de=>me.createElement(ne,Object.assign({},de),me.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ae,Dt.Z=E},38854:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return y}});var me=Be(91857),Ce=Be(92310),Me=Be.n(Ce),rt=Be(59301),ze=Be(18785),je=Be(3113),ve=Be(36355),we=Be(81327),Ne=Be(33234),ge=Be(47211),De=function(a,ee){var E={};for(var te in a)Object.prototype.hasOwnProperty.call(a,te)&&ee.indexOf(te)<0&&(E[te]=a[te]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(a);ne{const{getPopupContainer:ee,getPrefixCls:E,direction:te}=rt.useContext(ve.E_),{prefixCls:ne,type:ae="default",danger:de,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,children:Ze,className:tt,menu:Te,arrow:pt,autoFocus:Qe,overlay:Lt,trigger:it,align:ot,open:St,onOpenChange:lt,placement:vt,getPopupContainer:ut,href:at,icon:Kt=rt.createElement(ze.Z,null),title:Vt,buttonsRender:mt=gt=>gt,mouseEnterDelay:Tt,mouseLeaveDelay:wn,overlayClassName:Qn,overlayStyle:un,destroyPopupOnHide:Tn,dropdownRender:Bt}=a,Rn=De(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),$n=E("dropdown",ne),Xe=`${$n}-button`,[fn,Fe]=(0,ge.Z)($n),fe={menu:Te,arrow:pt,autoFocus:Qe,align:ot,disabled:Le,trigger:Le?[]:it,onOpenChange:lt,getPopupContainer:ut||ee,mouseEnterDelay:Tt,mouseLeaveDelay:wn,overlayClassName:Qn,overlayStyle:un,destroyPopupOnHide:Tn,dropdownRender:Bt},{compactSize:ce,compactItemClassnames:Se}=(0,Ne.ri)($n,te),qe=Me()(Xe,Se,tt,Fe);"overlay"in a&&(fe.overlay=Lt),"open"in a&&(fe.open=St),"placement"in a?fe.placement=vt:fe.placement=te==="rtl"?"bottomLeft":"bottomRight";const dt=rt.createElement(je.ZP,{type:ae,danger:de,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,href:at,title:Vt},Ze),He=rt.createElement(je.ZP,{type:ae,danger:de,icon:Kt}),[Ye,Pt]=mt([dt,He]);return fn(rt.createElement(we.Z.Compact,Object.assign({className:qe,size:ce,block:!0},Rn),Ye,rt.createElement(me.Z,Object.assign({},fe),Pt)))};xe.__ANT_BUTTON=!0;var Ee=xe;const ie=me.Z;ie.Button=Ee;var y=ie},47211:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return De}});var me=Be(17313),Ce=Be(13826),Me=Be(92899),rt=Be(29878),ze=Be(19447),je=Be(83116),ve=Be(37613),Ne=xe=>{const{componentCls:Ee,menuCls:ie,colorError:y,colorTextLightSolid:a}=xe,ee=`${ie}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${ie} ${ee}`]:{[`&${ee}-danger:not(${ee}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ge=xe=>{const{componentCls:Ee,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:ee,antCls:E,iconCls:te,motionDurationMid:ne,dropdownPaddingVertical:ae,fontSize:de,dropdownEdgeChildPadding:Le,colorTextDisabled:Pe,fontSizeIcon:Ue,controlPaddingHorizontal:Ge,colorBgElevated:Ze}=xe;return[{[Ee]:Object.assign(Object.assign({},(0,me.Wf)(xe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+ee/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${te}-down, & > ${E}-btn-icon > ${te}-down`]:{fontSize:Ue}},[`${Ee}-wrap`]:{position:"relative",[`${E}-btn > ${te}-down`]:{fontSize:Ue},[`${te}-down::before`]:{transition:`transform ${ne}`}},[`${Ee}-wrap-open`]:{[`${te}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomRight`]:{animationName:Ce.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topRight`]:{animationName:Ce.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:Ce.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:Ce.ly}})},(0,ze.ZP)(xe,{colorBg:Ze,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:Le,listStyleType:"none",backgroundColor:Ze,backgroundClip:"padding-box",borderRadius:xe.borderRadiusLG,outline:"none",boxShadow:xe.boxShadowSecondary},(0,me.Qy)(xe)),{[`${ie}-item-group-title`]:{padding:`${ae}px ${Ge}px`,color:xe.colorTextDescription,transition:`all ${ne}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:de,marginInlineEnd:xe.marginXS,fontSize:xe.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Ge}px`,color:xe.colorText,fontWeight:"normal",fontSize:de,lineHeight:xe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:xe.borderRadiusSM,"&:hover, &-active":{backgroundColor:xe.controlItemBgHover}},(0,me.Qy)(xe)),{"&-selected":{color:xe.colorPrimary,backgroundColor:xe.controlItemBgActive,"&:hover, &-active":{backgroundColor:xe.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ze,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${xe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:xe.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:xe.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:xe.colorTextDescription,fontSize:Ue,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${xe.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:Ge+xe.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ze,cursor:"not-allowed"}},[`${ie}-submenu-selected ${Ee}-menu-submenu-title`]:{color:xe.colorPrimary}})}},[(0,Ce.oN)(xe,"slide-up"),(0,Ce.oN)(xe,"slide-down"),(0,Me.Fm)(xe,"move-up"),(0,Me.Fm)(xe,"move-down"),(0,rt._y)(xe,"zoom-big")]]};var De=(0,je.Z)("Dropdown",(xe,Ee)=>{let{rootPrefixCls:ie}=Ee;const{marginXXS:y,sizePopupArrow:a,controlHeight:ee,fontSize:E,lineHeight:te,paddingXXS:ne,componentCls:ae,borderRadiusLG:de}=xe,Le=(ee-E*te)/2,{dropdownArrowOffset:Pe}=(0,ze.fS)({contentRadius:de}),Ue=(0,ve.TS)(xe,{menuCls:`${ae}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:Le,dropdownEdgeChildPadding:ne});return[ge(Ue),Ne(Ue)]},xe=>({zIndexPopup:xe.zIndexPopupBase+50}))},8628:function(Yt,Dt,Be){"use strict";var me=Be(59301),Ce=Be(34280),Me=Be(56762),rt=Be(69507);function ze(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,me.useRef)({}),we=(0,Me.Z)(),Ne=(0,rt.ZP)();return(0,Ce.Z)(()=>{const ge=Ne.subscribe(De=>{ve.current=De,je&&we()});return()=>Ne.unsubscribe(ge)},[]),ve.current}Dt.Z=ze},45818:function(Yt,Dt,Be){"use strict";Be.d(Dt,{D:function(){return ne},Z:function(){return Le}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(Ue,Ge){return Ce.createElement(ze.Z,(0,me.Z)({},Ue,{ref:Ge,icon:rt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(33853),ge=Be(38819),De=Be(92310),xe=Be.n(De),Ee=Be(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=Be(36355),ee=Be(84966),E=function(Pe,Ue){var Ge={};for(var Ze in Pe)Object.prototype.hasOwnProperty.call(Pe,Ze)&&Ue.indexOf(Ze)<0&&(Ge[Ze]=Pe[Ze]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Ze=Object.getOwnPropertySymbols(Pe);tt{let Pe=0;return function(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pe+=1,`${Ue}${Pe}`}})();var Le=Ce.forwardRef((Pe,Ue)=>{const{prefixCls:Ge,className:Ze,trigger:tt,children:Te,defaultCollapsed:pt=!1,theme:Qe="dark",style:Lt={},collapsible:it=!1,reverseArrow:ot=!1,width:St=200,collapsedWidth:lt=80,zeroWidthTriggerStyle:vt,breakpoint:ut,onCollapse:at,onBreakpoint:Kt}=Pe,Vt=E(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:mt}=(0,Ce.useContext)(ee.Gs),[Tt,wn]=(0,Ce.useState)("collapsed"in Pe?Pe.collapsed:pt),[Qn,un]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{"collapsed"in Pe&&wn(Pe.collapsed)},[Pe.collapsed]);const Tn=(Fe,fe)=>{"collapsed"in Pe||wn(Fe),at==null||at(Fe,fe)},Bt=(0,Ce.useRef)();Bt.current=Fe=>{un(Fe.matches),Kt==null||Kt(Fe.matches),Tt!==Fe.matches&&Tn(Fe.matches,"responsive")},(0,Ce.useEffect)(()=>{function Fe(ce){return Bt.current(ce)}let fe;if(typeof window!="undefined"){const{matchMedia:ce}=window;if(ce&&ut&&ut in te){fe=ce(`(max-width: ${te[ut]})`);try{fe.addEventListener("change",Fe)}catch(Se){fe.addListener(Fe)}Fe(fe)}}return()=>{try{fe==null||fe.removeEventListener("change",Fe)}catch(ce){fe==null||fe.removeListener(Fe)}}},[ut]),(0,Ce.useEffect)(()=>{const Fe=ae("ant-sider-");return mt.addSider(Fe),()=>mt.removeSider(Fe)},[]);const Rn=()=>{Tn(!Tt,"clickTrigger")},{getPrefixCls:$n}=(0,Ce.useContext)(a.E_),Xe=()=>{const Fe=$n("layout-sider",Ge),fe=(0,Ee.Z)(Vt,["collapsed"]),ce=Tt?lt:St,Se=y(ce)?`${ce}px`:String(ce),qe=parseFloat(String(lt||0))===0?Ce.createElement("span",{onClick:Rn,className:xe()(`${Fe}-zero-width-trigger`,`${Fe}-zero-width-trigger-${ot?"right":"left"}`),style:vt},tt||Ce.createElement(we,null)):null,Ye={expanded:ot?Ce.createElement(ge.Z,null):Ce.createElement(Ne.Z,null),collapsed:ot?Ce.createElement(Ne.Z,null):Ce.createElement(ge.Z,null)}[Tt?"collapsed":"expanded"],Pt=tt!==null?qe||Ce.createElement("div",{className:`${Fe}-trigger`,onClick:Rn,style:{width:Se}},tt||Ye):null,gt=Object.assign(Object.assign({},Lt),{flex:`0 0 ${Se}`,maxWidth:Se,minWidth:Se,width:Se}),st=xe()(Fe,`${Fe}-${Qe}`,{[`${Fe}-collapsed`]:!!Tt,[`${Fe}-has-trigger`]:it&&tt!==null&&!qe,[`${Fe}-below`]:!!Qn,[`${Fe}-zero-width`]:parseFloat(Se)===0},Ze);return Ce.createElement("aside",Object.assign({className:st},fe,{style:gt,ref:Ue}),Ce.createElement("div",{className:`${Fe}-children`},Te),it||Qn&&qe?Pt:null)},fn=Ce.useMemo(()=>({siderCollapsed:Tt}),[Tt]);return Ce.createElement(ne.Provider,{value:fn},Xe())})},84966:function(Yt,Dt,Be){"use strict";Be.d(Dt,{VY:function(){return ne},$_:function(){return te},h4:function(){return E},Gs:function(){return Ee},ZP:function(){return ae}});var me=Be(77654),Ce=Be(92310),Me=Be.n(Ce),rt=Be(2738),ze=Be(59301),je=Be(36355),ve=Be(83116),Ne=de=>{const{componentCls:Le,bodyBg:Pe,lightSiderBg:Ue,lightTriggerBg:Ge,lightTriggerColor:Ze}=de;return{[`${Le}-sider-light`]:{background:Ue,[`${Le}-sider-trigger`]:{color:Ze,background:Ge},[`${Le}-sider-zero-width-trigger`]:{color:Ze,background:Ge,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const ge=de=>{const{antCls:Le,componentCls:Pe,colorText:Ue,triggerColor:Ge,footerBg:Ze,triggerBg:tt,headerHeight:Te,headerPadding:pt,headerColor:Qe,footerPadding:Lt,triggerHeight:it,zeroTriggerHeight:ot,zeroTriggerWidth:St,motionDurationMid:lt,motionDurationSlow:vt,fontSize:ut,borderRadius:at,bodyBg:Kt,headerBg:Vt,siderBg:mt}=de;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Kt,"&, *":{boxSizing:"border-box"},[`&${Pe}-has-sider`]:{flexDirection:"row",[`> ${Pe}, > ${Pe}-content`]:{width:0}},[`${Pe}-header, &${Pe}-footer`]:{flex:"0 0 auto"},[`${Pe}-sider`]:{position:"relative",minWidth:0,background:mt,transition:`all ${lt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Le}-menu${Le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:it},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:it,color:Ge,lineHeight:`${it}px`,textAlign:"center",background:tt,cursor:"pointer",transition:`all ${lt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Te,insetInlineEnd:-St,zIndex:1,width:St,height:ot,color:Ge,fontSize:de.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:mt,borderStartStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at,borderEndStartRadius:0,cursor:"pointer",transition:`background ${vt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${vt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-St,borderStartStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:at}}}}},Ne(de)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:Te,padding:pt,color:Qe,lineHeight:`${Te}px`,background:Vt,[`${Le}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Lt,color:Ue,fontSize:ut,background:Ze},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var De=(0,ve.Z)("Layout",de=>[ge(de)],de=>{const{colorBgLayout:Le,controlHeight:Pe,controlHeightLG:Ue,colorText:Ge,controlHeightSM:Ze,marginXXS:tt,colorTextLightSolid:Te,colorBgContainer:pt}=de,Qe=Ue*1.25;return{colorBgHeader:"#001529",colorBgBody:Le,colorBgTrigger:"#002140",bodyBg:Le,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${Qe}px`,headerColor:Ge,footerPadding:`${Ze}px ${Qe}px`,footerBg:Le,siderBg:"#001529",triggerHeight:Ue+tt*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:Ue,zeroTriggerHeight:Ue,lightSiderBg:pt,lightTriggerBg:pt,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),xe=function(de,Le){var Pe={};for(var Ue in de)Object.prototype.hasOwnProperty.call(de,Ue)&&Le.indexOf(Ue)<0&&(Pe[Ue]=de[Ue]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ue=Object.getOwnPropertySymbols(de);Genull,removeSider:()=>null}});function ie(de){let{suffixCls:Le,tagName:Pe,displayName:Ue}=de;return Ge=>ze.forwardRef((tt,Te)=>ze.createElement(Ge,Object.assign({ref:Te,suffixCls:Le,tagName:Pe},tt)))}const y=ze.forwardRef((de,Le)=>{const{prefixCls:Pe,suffixCls:Ue,className:Ge,tagName:Ze}=de,tt=xe(de,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Te}=ze.useContext(je.E_),pt=Te("layout",Pe),[Qe,Lt]=De(pt),it=Ue?`${pt}-${Ue}`:pt;return Qe(ze.createElement(Ze,Object.assign({className:Me()(Pe||it,Ge,Lt),ref:Le},tt)))}),a=ze.forwardRef((de,Le)=>{const{direction:Pe}=ze.useContext(je.E_),[Ue,Ge]=ze.useState([]),{prefixCls:Ze,className:tt,rootClassName:Te,children:pt,hasSider:Qe,tagName:Lt,style:it}=de,ot=xe(de,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),St=(0,rt.Z)(ot,["suffixCls"]),{getPrefixCls:lt,layout:vt}=ze.useContext(je.E_),ut=lt("layout",Ze),[at,Kt]=De(ut),Vt=Me()(ut,{[`${ut}-has-sider`]:typeof Qe=="boolean"?Qe:Ue.length>0,[`${ut}-rtl`]:Pe==="rtl"},vt==null?void 0:vt.className,tt,Te,Kt),mt=ze.useMemo(()=>({siderHook:{addSider:Tt=>{Ge(wn=>[].concat((0,me.Z)(wn),[Tt]))},removeSider:Tt=>{Ge(wn=>wn.filter(Qn=>Qn!==Tt))}}}),[]);return at(ze.createElement(Ee.Provider,{value:mt},ze.createElement(Lt,Object.assign({ref:Le,className:Vt,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),it)},St),pt)))}),ee=ie({tagName:"div",displayName:"Layout"})(a),E=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(y),te=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ne=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=ee},40875:function(Yt,Dt,Be){"use strict";Be.d(Dt,{J:function(){return je}});var me=Be(59301),Ce=Be(33234),Me=Be(70425),rt=function(ve,we){var Ne={};for(var ge in ve)Object.prototype.hasOwnProperty.call(ve,ge)&&we.indexOf(ge)<0&&(Ne[ge]=ve[ge]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ge=Object.getOwnPropertySymbols(ve);De{const{children:Ne}=ve,ge=rt(ve,["children"]),De=me.useContext(ze),xe=me.useMemo(()=>Object.assign(Object.assign({},De),ge),[De,ge.prefixCls,ge.mode,ge.selectable]);return me.createElement(ze.Provider,{value:xe},me.createElement(Ce.BR,null,(0,Me.supportNodeRef)(Ne)?me.cloneElement(Ne,{ref:we}):Ne))});Dt.Z=ze},20834:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return fn}});var me=Be(15285),Ce=Be(59301),Me=Be(45818),rt=Be(92310),ze=Be.n(rt),je=Be(36355),ve=function(Fe,fe){var ce={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&fe.indexOf(Se)<0&&(ce[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{const{prefixCls:fe,className:ce,dashed:Se}=Fe,qe=ve(Fe,["prefixCls","className","dashed"]),{getPrefixCls:dt}=Ce.useContext(je.E_),He=dt("menu",fe),Ye=ze()({[`${He}-item-divider-dashed`]:!!Se},ce);return Ce.createElement(me.iz,Object.assign({className:Ye},qe))},ge=Be(11592),De=Be(2738),xe=Be(6848),Ee=Be(92343),y=(0,Ce.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Fe=>{var fe;const{className:ce,children:Se,icon:qe,title:dt,danger:He}=Fe,{prefixCls:Ye,firstLevel:Pt,direction:gt,disableMenuItemTitleTooltip:st,inlineCollapsed:Rt}=Ce.useContext(y),hn=qt=>{const gn=Ce.createElement("span",{className:`${Ye}-title-content`},Se);return(!qe||(0,Ee.l$)(Se)&&Se.type==="span")&&Se&&qt&&Pt&&typeof Se=="string"?Ce.createElement("div",{className:`${Ye}-inline-collapsed-noicon`},Se.charAt(0)):gn},{siderCollapsed:It}=Ce.useContext(Me.D);let sn=dt;typeof dt=="undefined"?sn=Pt?Se:"":dt===!1&&(sn="");const Ft={title:sn};!It&&!Rt&&(Ft.title=null,Ft.open=!1);const yn=(0,ge.Z)(Se).length;let At=Ce.createElement(me.ck,Object.assign({},(0,De.Z)(Fe,["title","icon","danger"]),{className:ze()({[`${Ye}-item-danger`]:He,[`${Ye}-item-only-child`]:(qe?yn+1:yn)===1},ce),title:typeof dt=="string"?dt:void 0}),(0,Ee.Tm)(qe,{className:ze()((0,Ee.l$)(qe)?(fe=qe.props)===null||fe===void 0?void 0:fe.className:"",`${Ye}-item-icon`)}),hn(Rt));return st||(At=Ce.createElement(xe.Z,Object.assign({},Ft,{placement:gt==="rtl"?"left":"right",overlayClassName:`${Ye}-inline-collapsed-tooltip`}),At)),At},te=Fe=>{var fe;const{popupClassName:ce,icon:Se,title:qe,theme:dt}=Fe,He=Ce.useContext(y),{prefixCls:Ye,inlineCollapsed:Pt,theme:gt}=He,st=(0,me.Xl)();let Rt;if(!Se)Rt=Pt&&!st.length&&qe&&typeof qe=="string"?Ce.createElement("div",{className:`${Ye}-inline-collapsed-noicon`},qe.charAt(0)):Ce.createElement("span",{className:`${Ye}-title-content`},qe);else{const It=(0,Ee.l$)(qe)&&qe.type==="span";Rt=Ce.createElement(Ce.Fragment,null,(0,Ee.Tm)(Se,{className:ze()((0,Ee.l$)(Se)?(fe=Se.props)===null||fe===void 0?void 0:fe.className:"",`${Ye}-item-icon`)}),It?qe:Ce.createElement("span",{className:`${Ye}-title-content`},qe))}const hn=Ce.useMemo(()=>Object.assign(Object.assign({},He),{firstLevel:!1}),[He]);return Ce.createElement(y.Provider,{value:hn},Ce.createElement(me.Wd,Object.assign({},(0,De.Z)(Fe,["icon"]),{title:Rt,popupClassName:ze()(Ye,ce,`${Ye}-${dt||gt}`)})))},ne=Be(18785),ae=Be(70425),de=Be(62892),Le=Be(40875),Pe=function(Fe,fe){var ce={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&fe.indexOf(Se)<0&&(ce[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{if(fe&&typeof fe=="object"){const Se=fe,{label:qe,children:dt,key:He,type:Ye}=Se,Pt=Pe(Se,["label","children","key","type"]),gt=He!=null?He:`tmp-${ce}`;return dt||Ye==="group"?Ye==="group"?Ce.createElement(me.BW,Object.assign({key:gt},Pt,{title:qe}),Ue(dt)):Ce.createElement(te,Object.assign({key:gt},Pt,{title:qe}),Ue(dt)):Ye==="divider"?Ce.createElement(Ne,Object.assign({key:gt},Pt)):Ce.createElement(ee,Object.assign({key:gt},Pt),qe)}return null}).filter(fe=>fe)}function Ge(Fe){return Ce.useMemo(()=>Fe&&Ue(Fe),[Fe])}var Ze=Be(64993),tt=Be(17313),Te=Be(8378),pt=Be(13826),Qe=Be(29878),Lt=Be(83116),it=Be(37613),St=Fe=>{const{componentCls:fe,motionDurationSlow:ce,horizontalLineHeight:Se,colorSplit:qe,lineWidth:dt,lineType:He,itemPaddingInline:Ye}=Fe;return{[`${fe}-horizontal`]:{lineHeight:Se,border:0,borderBottom:`${dt}px ${He} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${fe}-item, ${fe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ye},[`> ${fe}-item:hover, > ${fe}-item-active, > ${fe}-submenu ${fe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${fe}-item, ${fe}-submenu-title`]:{transition:[`border-color ${ce}`,`background ${ce}`].join(",")},[`${fe}-submenu-arrow`]:{display:"none"}}}},vt=Fe=>{let{componentCls:fe,menuArrowOffset:ce}=Fe;return{[`${fe}-rtl`]:{direction:"rtl"},[`${fe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${fe}-rtl${fe}-vertical, ${fe}-submenu-rtl ${fe}-vertical`]:{[`${fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ce})`},"&::after":{transform:`rotate(45deg) translateY(${ce})`}}}}};const ut=Fe=>Object.assign({},(0,tt.oN)(Fe));var Kt=(Fe,fe)=>{const{componentCls:ce,itemColor:Se,itemSelectedColor:qe,groupTitleColor:dt,itemBg:He,subMenuItemBg:Ye,itemSelectedBg:Pt,activeBarHeight:gt,activeBarWidth:st,activeBarBorderWidth:Rt,motionDurationSlow:hn,motionEaseInOut:It,motionEaseOut:sn,itemPaddingInline:Ft,motionDurationMid:yn,itemHoverColor:At,lineType:qt,colorSplit:gn,itemDisabledColor:pn,dangerItemColor:Yn,dangerItemHoverColor:ir,dangerItemSelectedColor:yr,dangerItemActiveBg:br,dangerItemSelectedBg:lr,itemHoverBg:ar,itemActiveBg:Ar,menuSubMenuBg:Cr,horizontalItemSelectedColor:ea,horizontalItemSelectedBg:wa,horizontalItemBorderRadius:kr,horizontalItemHoverBg:Ja,popupBg:Wa}=Fe;return{[`${ce}-${fe}, ${ce}-${fe} > ${ce}`]:{color:Se,background:He,[`&${ce}-root:focus-visible`]:Object.assign({},ut(Fe)),[`${ce}-item-group-title`]:{color:dt},[`${ce}-submenu-selected`]:{[`> ${ce}-submenu-title`]:{color:qe}},[`${ce}-item-disabled, ${ce}-submenu-disabled`]:{color:`${pn} !important`},[`${ce}-item:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{[`&:hover, > ${ce}-submenu-title:hover`]:{color:At}},[`&:not(${ce}-horizontal)`]:{[`${ce}-item:not(${ce}-item-selected)`]:{"&:hover":{backgroundColor:ar},"&:active":{backgroundColor:Ar}},[`${ce}-submenu-title`]:{"&:hover":{backgroundColor:ar},"&:active":{backgroundColor:Ar}}},[`${ce}-item-danger`]:{color:Yn,[`&${ce}-item:hover`]:{[`&:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{color:ir}},[`&${ce}-item:active`]:{background:br}},[`${ce}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ce}-item-selected`]:{color:qe,[`&${ce}-item-danger`]:{color:yr},"a, a:hover":{color:"inherit"}},[`& ${ce}-item-selected`]:{backgroundColor:Pt,[`&${ce}-item-danger`]:{backgroundColor:lr}},[`${ce}-item, ${ce}-submenu-title`]:{[`&:not(${ce}-item-disabled):focus-visible`]:Object.assign({},ut(Fe))},[`&${ce}-submenu > ${ce}`]:{backgroundColor:Cr},[`&${ce}-popup > ${ce}`]:{backgroundColor:Wa},[`&${ce}-horizontal`]:Object.assign(Object.assign({},fe==="dark"?{borderBottom:0}:{}),{[`> ${ce}-item, > ${ce}-submenu`]:{top:Rt,marginTop:-Rt,marginBottom:0,borderRadius:kr,"&::after":{position:"absolute",insetInline:Ft,bottom:0,borderBottom:`${gt}px solid transparent`,transition:`border-color ${hn} ${It}`,content:'""'},"&:hover, &-active, &-open":{background:Ja,"&::after":{borderBottomWidth:gt,borderBottomColor:ea}},"&-selected":{color:ea,backgroundColor:wa,"&:hover":{backgroundColor:wa},"&::after":{borderBottomWidth:gt,borderBottomColor:ea}}}}),[`&${ce}-root`]:{[`&${ce}-inline, &${ce}-vertical`]:{borderInlineEnd:`${Rt}px ${qt} ${gn}`}},[`&${ce}-inline`]:{[`${ce}-sub${ce}-inline`]:{background:Ye},[`${ce}-item, ${ce}-submenu-title`]:Rt&&st?{width:`calc(100% + ${Rt}px)`}:{},[`${ce}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${st}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${sn}`,`opacity ${yn} ${sn}`].join(","),content:'""'},[`&${ce}-item-danger`]:{"&::after":{borderInlineEndColor:yr}}},[`${ce}-selected, ${ce}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${It}`,`opacity ${yn} ${It}`].join(",")}}}}}};const Vt=Fe=>{const{componentCls:fe,itemHeight:ce,itemMarginInline:Se,padding:qe,menuArrowSize:dt,marginXS:He,itemMarginBlock:Ye}=Fe,Pt=qe+dt+He;return{[`${fe}-item`]:{position:"relative",overflow:"hidden"},[`${fe}-item, ${fe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Se,marginBlock:Ye,width:`calc(100% - ${Se*2}px)`},[`> ${fe}-item, > ${fe}-submenu > ${fe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`},[`${fe}-item-group-list ${fe}-submenu-title, ${fe}-submenu-title`]:{paddingInlineEnd:Pt}}};var Tt=Fe=>{const{componentCls:fe,iconCls:ce,itemHeight:Se,colorTextLightSolid:qe,dropdownWidth:dt,controlHeightLG:He,motionDurationMid:Ye,motionEaseOut:Pt,paddingXL:gt,itemMarginInline:st,fontSizeLG:Rt,motionDurationSlow:hn,paddingXS:It,boxShadowSecondary:sn,collapsedWidth:Ft,collapsedIconSize:yn}=Fe,At={height:Se,lineHeight:`${Se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[fe]:{"&-inline, &-vertical":Object.assign({[`&${fe}-root`]:{boxShadow:"none"}},Vt(Fe))},[`${fe}-submenu-popup`]:{[`${fe}-vertical`]:Object.assign(Object.assign({},Vt(Fe)),{boxShadow:sn})}},{[`${fe}-submenu-popup ${fe}-vertical${fe}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${He*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${fe}-inline`]:{width:"100%",[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${hn}`,`background ${hn}`,`padding ${Ye} ${Pt}`].join(","),[`> ${fe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${fe}-sub${fe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${fe}-submenu > ${fe}-submenu-title`]:At,[`& ${fe}-item-group-title`]:{paddingInlineStart:gt}},[`${fe}-item`]:At}},{[`${fe}-inline-collapsed`]:{width:Ft,[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu ${fe}-submenu-title`]:{[`> ${fe}-inline-collapsed-noicon`]:{fontSize:Rt,textAlign:"center"}}},[`> ${fe}-item, > ${fe}-item-group > ${fe}-item-group-list > ${fe}-item, > ${fe}-item-group > ${fe}-item-group-list > ${fe}-submenu > ${fe}-submenu-title, > ${fe}-submenu > ${fe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Rt/2}px - ${st}px)`,textOverflow:"clip",[` ${fe}-submenu-arrow, ${fe}-submenu-expand-icon `]:{opacity:0},[`${fe}-item-icon, ${ce}`]:{margin:0,fontSize:yn,lineHeight:`${Se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${fe}-item-icon, ${ce}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${fe}-item-icon, ${ce}`]:{display:"none"},"a, a:hover":{color:qe}},[`${fe}-item-group-title`]:Object.assign(Object.assign({},tt.vS),{paddingInline:It})}}]};const wn=Fe=>{const{componentCls:fe,motionDurationSlow:ce,motionDurationMid:Se,motionEaseInOut:qe,motionEaseOut:dt,iconCls:He,iconSize:Ye,iconMarginInlineEnd:Pt}=Fe;return{[`${fe}-item, ${fe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ce}`,`background ${ce}`,`padding ${ce} ${qe}`].join(","),[`${fe}-item-icon, ${He}`]:{minWidth:Ye,fontSize:Ye,transition:[`font-size ${Se} ${dt}`,`margin ${ce} ${qe}`,`color ${ce}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${ce} ${qe}`,`margin ${ce}`,`color ${ce}`].join(",")}},[`${fe}-item-icon`]:Object.assign({},(0,tt.Ro)()),[`&${fe}-item-only-child`]:{[`> ${He}, > ${fe}-item-icon`]:{marginInlineEnd:0}}},[`${fe}-item-disabled, ${fe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${fe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Qn=Fe=>{const{componentCls:fe,motionDurationSlow:ce,motionEaseInOut:Se,borderRadius:qe,menuArrowSize:dt,menuArrowOffset:He}=Fe;return{[`${fe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Fe.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ce} ${Se}, opacity ${ce}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${ce} ${Se}`,`transform ${ce} ${Se}`,`top ${ce} ${Se}`,`color ${ce} ${Se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${He})`},"&::after":{transform:`rotate(-45deg) translateY(${He})`}}}}},un=Fe=>{const{antCls:fe,componentCls:ce,fontSize:Se,motionDurationSlow:qe,motionDurationMid:dt,motionEaseInOut:He,paddingXS:Ye,padding:Pt,colorSplit:gt,lineWidth:st,zIndexPopup:Rt,borderRadiusLG:hn,subMenuItemBorderRadius:It,menuArrowSize:sn,menuArrowOffset:Ft,lineType:yn,menuPanelMaskInset:At,groupTitleLineHeight:qt,groupTitleFontSize:gn}=Fe;return[{"":{[`${ce}`]:Object.assign(Object.assign({},(0,tt.dF)()),{"&-hidden":{display:"none"}})},[`${ce}-submenu-hidden`]:{display:"none"}},{[ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)(Fe)),(0,tt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Se,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",[`${ce}-item`]:{flex:"none"}},[`${ce}-item, ${ce}-submenu, ${ce}-submenu-title`]:{borderRadius:Fe.itemBorderRadius},[`${ce}-item-group-title`]:{padding:`${Ye}px ${Pt}px`,fontSize:gn,lineHeight:qt,transition:`all ${qe}`},[`&-horizontal ${ce}-submenu`]:{transition:[`border-color ${qe} ${He}`,`background ${qe} ${He}`].join(",")},[`${ce}-submenu, ${ce}-submenu-inline`]:{transition:[`border-color ${qe} ${He}`,`background ${qe} ${He}`,`padding ${dt} ${He}`].join(",")},[`${ce}-submenu ${ce}-sub`]:{cursor:"initial",transition:[`background ${qe} ${He}`,`padding ${qe} ${He}`].join(",")},[`${ce}-title-content`]:{transition:`color ${qe}`},[`${ce}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ce}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:gt,borderStyle:yn,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),wn(Fe)),{[`${ce}-item-group`]:{[`${ce}-item-group-list`]:{margin:0,padding:0,[`${ce}-item, ${ce}-submenu-title`]:{paddingInline:`${Se*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Rt,borderRadius:hn,boxShadow:"none",transformOrigin:"0 0",[`&${ce}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${At}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:At},"\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:Fe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Fe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Fe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Fe.paddingXS},[`> ${ce}`]:Object.assign(Object.assign(Object.assign({borderRadius:hn},wn(Fe)),Qn(Fe)),{[`${ce}-item, ${ce}-submenu > ${ce}-submenu-title`]:{borderRadius:It},[`${ce}-submenu-title::after`]:{transition:`transform ${qe} ${He}`}})}}),Qn(Fe)),{[`&-inline-collapsed ${ce}-submenu-arrow, &-inline ${ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ft})`},"&::after":{transform:`rotate(45deg) translateX(-${Ft})`}},[`${ce}-submenu-open${ce}-submenu-inline > ${ce}-submenu-title > ${ce}-submenu-arrow`]:{transform:`translateY(-${sn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ft})`},"&::before":{transform:`rotate(45deg) translateX(${Ft})`}}})},{[`${fe}-layout-header`]:{[ce]:{lineHeight:"inherit"}}}]};var Tn=(Fe,fe)=>(0,Lt.Z)("Menu",Se=>{if(fe===!1)return[];const{colorBgElevated:qe,colorPrimary:dt,colorTextLightSolid:He,controlHeightLG:Ye,fontSize:Pt,darkItemColor:gt,darkDangerItemColor:st,darkItemBg:Rt,darkSubMenuItemBg:hn,darkItemSelectedColor:It,darkItemSelectedBg:sn,darkDangerItemSelectedBg:Ft,darkItemHoverBg:yn,darkGroupTitleColor:At,darkItemHoverColor:qt,darkItemDisabledColor:gn,darkDangerItemHoverColor:pn,darkDangerItemSelectedColor:Yn,darkDangerItemActiveBg:ir}=Se,yr=Pt/7*5,br=(0,it.TS)(Se,{menuArrowSize:yr,menuHorizontalHeight:Ye*1.15,menuArrowOffset:`${yr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),lr=(0,it.TS)(br,{itemColor:gt,itemHoverColor:qt,groupTitleColor:At,itemSelectedColor:It,itemBg:Rt,popupBg:Rt,subMenuItemBg:hn,itemActiveBg:"transparent",itemSelectedBg:sn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:gn,dangerItemColor:st,dangerItemHoverColor:pn,dangerItemSelectedColor:Yn,dangerItemActiveBg:ir,dangerItemSelectedBg:Ft,menuSubMenuBg:hn,horizontalItemSelectedColor:He,horizontalItemSelectedBg:dt});return[un(br),St(br),Tt(br),Kt(br,"light"),Kt(lr,"dark"),vt(br),(0,Te.Z)(br),(0,pt.oN)(br,"slide-up"),(0,pt.oN)(br,"slide-down"),(0,Qe._y)(br,"zoom-big")]},Se=>{const{colorPrimary:qe,colorError:dt,colorTextDisabled:He,colorErrorBg:Ye,colorText:Pt,colorTextDescription:gt,colorBgContainer:st,colorFillAlter:Rt,colorFillContent:hn,lineWidth:It,lineWidthBold:sn,controlItemBgActive:Ft,colorBgTextHover:yn,controlHeightLG:At,lineHeight:qt,colorBgElevated:gn,marginXXS:pn,padding:Yn,fontSize:ir,controlHeightSM:yr,fontSizeLG:br,colorTextLightSolid:lr,colorErrorHover:ar}=Se,Ar=new Ze.C(lr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Se.zIndexPopupBase+50,radiusItem:Se.borderRadiusLG,itemBorderRadius:Se.borderRadiusLG,radiusSubMenuItem:Se.borderRadiusSM,subMenuItemBorderRadius:Se.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:gt,groupTitleColor:gt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:st,itemBg:st,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:hn,itemActiveBg:Ft,colorSubItemBg:Rt,subMenuItemBg:Rt,colorItemBgSelected:Ft,itemSelectedBg:Ft,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:sn,activeBarHeight:sn,colorActiveBarBorderSize:It,activeBarBorderWidth:It,colorItemTextDisabled:He,itemDisabledColor:He,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:Ye,dangerItemActiveBg:Ye,colorDangerItemBgSelected:Ye,dangerItemSelectedBg:Ye,itemMarginInline:Se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:At,groupTitleLineHeight:qt,collapsedWidth:At*2,popupBg:gn,itemMarginBlock:pn,itemPaddingInline:Yn,horizontalLineHeight:`${At*1.15}px`,iconSize:ir,iconMarginInlineEnd:yr-ir,collapsedIconSize:br,groupTitleFontSize:ir,darkItemDisabledColor:new Ze.C(lr).setAlpha(.25).toRgbString(),darkItemColor:Ar,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:lr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ar,darkItemHoverColor:lr,darkDangerItemHoverColor:ar,darkDangerItemSelectedColor:lr,darkDangerItemActiveBg:dt}},{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"]]})(Fe),Bt=function(Fe,fe){var ce={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&fe.indexOf(Se)<0&&(ce[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{var ce,Se;const qe=Ce.useContext(Le.Z),dt=qe||{},{getPrefixCls:He,getPopupContainer:Ye,direction:Pt,menu:gt}=Ce.useContext(je.E_),st=He(),{prefixCls:Rt,className:hn,style:It,theme:sn="light",expandIcon:Ft,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:At,siderCollapsed:qt,items:gn,children:pn,rootClassName:Yn,mode:ir,selectable:yr,onClick:br,overflowedIndicatorPopupClassName:lr}=Fe,ar=Bt(Fe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ar=(0,De.Z)(ar,["collapsedWidth"]),Cr=Ge(gn)||pn;(ce=dt.validator)===null||ce===void 0||ce.call(dt,{mode:ir});const ea=(0,ae.useEvent)(function(){var Fo;br==null||br.apply(void 0,arguments),(Fo=dt.onClick)===null||Fo===void 0||Fo.call(dt)}),wa=dt.mode||ir,kr=yr!=null?yr:dt.selectable,Ja=Ce.useMemo(()=>qt!==void 0?qt:At,[At,qt]),Wa={horizontal:{motionName:`${st}-slide-up`},inline:(0,de.Z)(st),other:{motionName:`${st}-zoom-big`}},Mr=He("menu",Rt||dt.prefixCls),[an,ri]=Tn(Mr,!qe),Bo=ze()(`${Mr}-${sn}`,gt==null?void 0:gt.className,hn);let gi;if(typeof Ft=="function")gi=Ft;else if(Ft===null||Ft===!1)gi=null;else if(dt.expandIcon===null||dt.expandIcon===!1)gi=null;else{const Fo=Ft!=null?Ft:dt.expandIcon;gi=(0,Ee.Tm)(Fo,{className:ze()(`${Mr}-submenu-expand-icon`,(0,Ee.l$)(Fo)?(Se=Fo.props)===null||Se===void 0?void 0:Se.className:"")})}const zi=Ce.useMemo(()=>({prefixCls:Mr,inlineCollapsed:Ja||!1,direction:Pt,firstLevel:!0,theme:sn,mode:wa,disableMenuItemTitleTooltip:yn}),[Mr,Ja,Pt,yn,sn]);return an(Ce.createElement(Le.Z.Provider,{value:null},Ce.createElement(y.Provider,{value:zi},Ce.createElement(me.ZP,Object.assign({getPopupContainer:Ye,overflowedIndicator:Ce.createElement(ne.Z,null),overflowedIndicatorPopupClassName:ze()(Mr,`${Mr}-${sn}`,lr),mode:wa,selectable:kr,onClick:ea},Ar,{inlineCollapsed:Ja,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),It),className:Bo,prefixCls:Mr,direction:Pt,defaultMotions:Wa,expandIcon:gi,ref:fe,rootClassName:ze()(Yn,ri)}),Cr))))});const Xe=(0,Ce.forwardRef)((Fe,fe)=>{const ce=(0,Ce.useRef)(null),Se=Ce.useContext(Me.D);return(0,Ce.useImperativeHandle)(fe,()=>({menu:ce.current,focus:qe=>{var dt;(dt=ce.current)===null||dt===void 0||dt.focus(qe)}})),Ce.createElement($n,Object.assign({ref:ce},Fe,Se))});Xe.Item=ee,Xe.SubMenu=te,Xe.Divider=Ne,Xe.ItemGroup=me.BW;var fn=Xe},58421:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return dt}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(Ye,Pt){return Ce.createElement(ze.Z,(0,me.Z)({},Ye,{ref:Pt,icon:rt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(49198),ge=Be(33853),De=Be(38819),xe=Be(92310),Ee=Be.n(xe),ie=Be(18642),y=Be(85899),a=Be(38705),ee=Be(17212),E=Be(39153),te=Be(55401),ne=Be(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},de=ae,Le=Be(91735),Pe=function(He){(0,E.Z)(Pt,He);var Ye=(0,te.Z)(Pt);function Pt(){var gt;(0,a.Z)(this,Pt);for(var st=arguments.length,Rt=new Array(st),hn=0;hn=0||It.relatedTarget.className.indexOf("".concat(At,"-item"))>=0))&&yn(gt.getValidValue()))},gt.go=function(It){var sn=gt.state.goInputText;sn!==""&&(It.keyCode===de.ENTER||It.type==="click")&&(gt.setState({goInputText:""}),gt.props.quickGo(gt.getValidValue()))},gt}return(0,ee.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var st=this.props,Rt=st.pageSize,hn=st.pageSizeOptions;return hn.some(function(It){return It.toString()===Rt.toString()})?hn:hn.concat([Rt.toString()]).sort(function(It,sn){var Ft=Number.isNaN(Number(It))?0:Number(It),yn=Number.isNaN(Number(sn))?0:Number(sn);return Ft-yn})}},{key:"render",value:function(){var st=this,Rt=this.props,hn=Rt.pageSize,It=Rt.locale,sn=Rt.rootPrefixCls,Ft=Rt.changeSize,yn=Rt.quickGo,At=Rt.goButton,qt=Rt.selectComponentClass,gn=Rt.buildOptionText,pn=Rt.selectPrefixCls,Yn=Rt.disabled,ir=this.state.goInputText,yr="".concat(sn,"-options"),br=qt,lr=null,ar=null,Ar=null;if(!Ft&&!yn)return null;var Cr=this.getPageSizeOptions();if(Ft&&br){var ea=Cr.map(function(wa,kr){return Ce.createElement(br.Option,{key:kr,value:wa.toString()},(gn||st.buildOptionText)(wa))});lr=Ce.createElement(br,{disabled:Yn,prefixCls:pn,showSearch:!1,className:"".concat(yr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(hn||Cr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(kr){return kr.parentNode},"aria-label":It.page_size,defaultOpen:!1},ea)}return yn&&(At&&(Ar=typeof At=="boolean"?Ce.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Yn,className:"".concat(yr,"-quick-jumper-button")},It.jump_to_confirm):Ce.createElement("span",{onClick:this.go,onKeyUp:this.go},At)),ar=Ce.createElement("div",{className:"".concat(yr,"-quick-jumper")},It.jump_to,Ce.createElement("input",{disabled:Yn,type:"text",value:ir,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":It.page}),It.page,Ar)),Ce.createElement("li",{className:"".concat(yr)},lr,ar)}}]),Pt}(Ce.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ue=Pe,Ge=function(Ye){var Pt,gt=Ye.rootPrefixCls,st=Ye.page,Rt=Ye.active,hn=Ye.className,It=Ye.showTitle,sn=Ye.onClick,Ft=Ye.onKeyPress,yn=Ye.itemRender,At="".concat(gt,"-item"),qt=Ee()(At,"".concat(At,"-").concat(st),(Pt={},(0,ie.Z)(Pt,"".concat(At,"-active"),Rt),(0,ie.Z)(Pt,"".concat(At,"-disabled"),!st),(0,ie.Z)(Pt,Ye.className,hn),Pt)),gn=function(){sn(st)},pn=function(yr){Ft(yr,sn,st)},Yn=yn(st,"page",Ce.createElement("a",{rel:"nofollow"},st));return Yn?Ce.createElement("li",{title:It?st.toString():null,className:qt,onClick:gn,onKeyPress:pn,tabIndex:0},Yn):null},Ze=Ge;function tt(){}function Te(He){var Ye=Number(He);return typeof Ye=="number"&&!Number.isNaN(Ye)&&isFinite(Ye)&&Math.floor(Ye)===Ye}var pt=function(Ye,Pt,gt){return gt};function Qe(He,Ye,Pt){var gt=typeof He=="undefined"?Ye.pageSize:He;return Math.floor((Pt.total-1)/gt)+1}var Lt=function(He){(0,E.Z)(Pt,He);var Ye=(0,te.Z)(Pt);function Pt(gt){var st;(0,a.Z)(this,Pt),st=Ye.call(this,gt),st.paginationNode=Ce.createRef(),st.getJumpPrevPage=function(){return Math.max(1,st.state.current-(st.props.showLessItems?3:5))},st.getJumpNextPage=function(){return Math.min(Qe(void 0,st.state,st.props),st.state.current+(st.props.showLessItems?3:5))},st.getItemIcon=function(Ft,yn){var At=st.props.prefixCls,qt=Ft||Ce.createElement("button",{type:"button","aria-label":yn,className:"".concat(At,"-item-link")});return typeof Ft=="function"&&(qt=Ce.createElement(Ft,(0,y.Z)({},st.props))),qt},st.isValid=function(Ft){var yn=st.props.total;return Te(Ft)&&Ft!==st.state.current&&Te(yn)&&yn>0},st.shouldDisplayQuickJumper=function(){var Ft=st.props,yn=Ft.showQuickJumper,At=Ft.total,qt=st.state.pageSize;return At<=qt?!1:yn},st.handleKeyDown=function(Ft){(Ft.keyCode===de.ARROW_UP||Ft.keyCode===de.ARROW_DOWN)&&Ft.preventDefault()},st.handleKeyUp=function(Ft){var yn=st.getValidValue(Ft),At=st.state.currentInputValue;yn!==At&&st.setState({currentInputValue:yn}),Ft.keyCode===de.ENTER?st.handleChange(yn):Ft.keyCode===de.ARROW_UP?st.handleChange(yn-1):Ft.keyCode===de.ARROW_DOWN&&st.handleChange(yn+1)},st.handleBlur=function(Ft){var yn=st.getValidValue(Ft);st.handleChange(yn)},st.changePageSize=function(Ft){var yn=st.state.current,At=Qe(Ft,st.state,st.props);yn=yn>At?At:yn,At===0&&(yn=st.state.current),typeof Ft=="number"&&("pageSize"in st.props||st.setState({pageSize:Ft}),"current"in st.props||st.setState({current:yn,currentInputValue:yn})),st.props.onShowSizeChange(yn,Ft),"onChange"in st.props&&st.props.onChange&&st.props.onChange(yn,Ft)},st.handleChange=function(Ft){var yn=st.props,At=yn.disabled,qt=yn.onChange,gn=st.state,pn=gn.pageSize,Yn=gn.current,ir=gn.currentInputValue;if(st.isValid(Ft)&&!At){var yr=Qe(void 0,st.state,st.props),br=Ft;return Ft>yr?br=yr:Ft<1&&(br=1),"current"in st.props||st.setState({current:br}),br!==ir&&st.setState({currentInputValue:br}),qt(br,pn),br}return Yn},st.prev=function(){st.hasPrev()&&st.handleChange(st.state.current-1)},st.next=function(){st.hasNext()&&st.handleChange(st.state.current+1)},st.jumpPrev=function(){st.handleChange(st.getJumpPrevPage())},st.jumpNext=function(){st.handleChange(st.getJumpNextPage())},st.hasPrev=function(){return st.state.current>1},st.hasNext=function(){return st.state.current2?At-2:0),gn=2;gn=hn?sn=hn:sn=Number(Rt),sn}},{key:"getShowSizeChanger",value:function(){var st=this.props,Rt=st.showSizeChanger,hn=st.total,It=st.totalBoundaryShowSizeChanger;return typeof Rt!="undefined"?Rt:hn>It}},{key:"render",value:function(){var st=this.props,Rt=st.prefixCls,hn=st.className,It=st.style,sn=st.disabled,Ft=st.hideOnSinglePage,yn=st.total,At=st.locale,qt=st.showQuickJumper,gn=st.showLessItems,pn=st.showTitle,Yn=st.showTotal,ir=st.simple,yr=st.itemRender,br=st.showPrevNextJumpers,lr=st.jumpPrevIcon,ar=st.jumpNextIcon,Ar=st.selectComponentClass,Cr=st.selectPrefixCls,ea=st.pageSizeOptions,wa=this.state,kr=wa.current,Ja=wa.pageSize,Wa=wa.currentInputValue;if(Ft===!0&&yn<=Ja)return null;var Mr=Qe(void 0,this.state,this.props),an=[],ri=null,Bo=null,gi=null,zi=null,Fo=null,Mi=qt&&qt.goButton,Gi=gn?1:2,ai=kr-1>0?kr-1:0,Pn=kr+1yn?yn:kr*Ja]));if(ir){Mi&&(typeof Mi=="boolean"?Fo=Ce.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},At.jump_to_confirm):Fo=Ce.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Mi),Fo=Ce.createElement("li",{title:pn?"".concat(At.jump_to).concat(kr,"/").concat(Mr):null,className:"".concat(Rt,"-simple-pager")},Fo));var Qr=this.renderPrev(ai);return Ce.createElement("ul",(0,me.Z)({className:Ee()(Rt,"".concat(Rt,"-simple"),(0,ie.Z)({},"".concat(Rt,"-disabled"),sn),hn),style:It,ref:this.paginationNode},On),dn,Qr?Ce.createElement("li",{title:pn?At.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Rt,"-prev"),(0,ie.Z)({},"".concat(Rt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Qr):null,Ce.createElement("li",{title:pn?"".concat(kr,"/").concat(Mr):null,className:"".concat(Rt,"-simple-pager")},Ce.createElement("input",{type:"text",value:Wa,disabled:sn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ce.createElement("span",{className:"".concat(Rt,"-slash")},"/"),Mr),Ce.createElement("li",{title:pn?At.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Rt,"-next"),(0,ie.Z)({},"".concat(Rt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Pn)),Fo)}if(Mr<=3+Gi*2){var la={locale:At,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:pn,itemRender:yr};Mr||an.push(Ce.createElement(Ze,(0,me.Z)({},la,{key:"noPager",page:1,className:"".concat(Rt,"-item-disabled")})));for(var Dr=1;Dr<=Mr;Dr+=1){var va=kr===Dr;an.push(Ce.createElement(Ze,(0,me.Z)({},la,{key:Dr,page:Dr,active:va})))}}else{var Ha=gn?At.prev_3:At.prev_5,xa=gn?At.next_3:At.next_5,So=yr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(lr,"prev page")),Wi=yr(this.getJumpNextPage(),"jump-next",this.getItemIcon(ar,"next page"));br&&(ri=So?Ce.createElement("li",{title:pn?Ha:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(Rt,"-jump-prev"),(0,ie.Z)({},"".concat(Rt,"-jump-prev-custom-icon"),!!lr))},So):null,Bo=Wi?Ce.createElement("li",{title:pn?xa:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(Rt,"-jump-next"),(0,ie.Z)({},"".concat(Rt,"-jump-next-custom-icon"),!!ar))},Wi):null),zi=Ce.createElement(Ze,{locale:At,last:!0,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Mr,page:Mr,active:!1,showTitle:pn,itemRender:yr}),gi=Ce.createElement(Ze,{locale:At,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:pn,itemRender:yr});var xr=Math.max(1,kr-Gi),ja=Math.min(kr+Gi,Mr);kr-1<=Gi&&(ja=1+Gi*2),Mr-kr<=Gi&&(xr=Mr-Gi*2);for(var Ei=xr;Ei<=ja;Ei+=1){var ii=kr===Ei;an.push(Ce.createElement(Ze,{locale:At,rootPrefixCls:Rt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ei,page:Ei,active:ii,showTitle:pn,itemRender:yr}))}kr-1>=Gi*2&&kr!==3&&(an[0]=(0,Ce.cloneElement)(an[0],{className:"".concat(Rt,"-item-after-jump-prev")}),an.unshift(ri)),Mr-kr>=Gi*2&&kr!==Mr-2&&(an[an.length-1]=(0,Ce.cloneElement)(an[an.length-1],{className:"".concat(Rt,"-item-before-jump-next")}),an.push(Bo)),xr!==1&&an.unshift(gi),ja!==Mr&&an.push(zi)}var fi=!this.hasPrev()||!Mr,Lo=!this.hasNext()||!Mr,ss=this.renderPrev(ai),Ms=this.renderNext(Pn);return Ce.createElement("ul",(0,me.Z)({className:Ee()(Rt,hn,(0,ie.Z)({},"".concat(Rt,"-disabled"),sn)),style:It,ref:this.paginationNode},On),dn,ss?Ce.createElement("li",{title:pn?At.prev_page:null,onClick:this.prev,tabIndex:fi?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(Rt,"-prev"),(0,ie.Z)({},"".concat(Rt,"-disabled"),fi)),"aria-disabled":fi},ss):null,an,Ms?Ce.createElement("li",{title:pn?At.next_page:null,onClick:this.next,tabIndex:Lo?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(Rt,"-next"),(0,ie.Z)({},"".concat(Rt,"-disabled"),Lo)),"aria-disabled":Lo},Ms):null,Ce.createElement(Ue,{disabled:sn,locale:At,rootPrefixCls:Rt,selectComponentClass:Ar,selectPrefixCls:Cr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:kr,pageSize:Ja,pageSizeOptions:ea,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Mi}))}}],[{key:"getDerivedStateFromProps",value:function(st,Rt){var hn={};if("current"in st&&(hn.current=st.current,st.current!==Rt.current&&(hn.currentInputValue=hn.current)),"pageSize"in st&&st.pageSize!==Rt.pageSize){var It=Rt.current,sn=Qe(st.pageSize,Rt,st);It=It>sn?sn:It,"current"in st||(hn.current=It,hn.currentInputValue=It),hn.pageSize=st.pageSize}return hn}}]),Pt}(Ce.Component);Lt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:tt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:tt,locale:Le.Z,style:{},itemRender:pt,totalBoundaryShowSizeChanger:50};var it=Lt,ot=Be(22075),St=Be(36355),lt=Be(19716),vt=Be(8628),ut=Be(9763),at=Be(57809);const Kt=He=>Ce.createElement(at.default,Object.assign({},He,{showSearch:!0,size:"small"})),Vt=He=>Ce.createElement(at.default,Object.assign({},He,{showSearch:!0,size:"middle"}));Kt.Option=at.default.Option,Vt.Option=at.default.Option;var mt=Be(9937),Tt=Be(17313),wn=Be(83116),Qn=Be(37613);const un=He=>{const{componentCls:Ye}=He;return{[`${Ye}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ye}-disabled`]:{cursor:"not-allowed",[`${Ye}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:He.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:He.colorBorder,backgroundColor:He.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:He.itemActiveBgDisabled},a:{color:He.itemActiveColorDisabled}}},[`${Ye}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ye}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ye}-simple-pager`]:{color:He.colorTextDisabled},[`${Ye}-jump-prev, ${Ye}-jump-next`]:{[`${Ye}-item-link-icon`]:{opacity:0},[`${Ye}-item-ellipsis`]:{opacity:1}}},[`&${Ye}-simple`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&${Ye}-disabled ${Ye}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Tn=He=>{const{componentCls:Ye}=He;return{[`&${Ye}-mini ${Ye}-total-text, &${Ye}-mini ${Ye}-simple-pager`]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-item`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM-2}px`},[`&${Ye}-mini:not(${Ye}-disabled) ${Ye}-item:not(${Ye}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},[`&${Ye}-mini ${Ye}-prev, &${Ye}-mini ${Ye}-next`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM}px`},[`&${Ye}-mini:not(${Ye}-disabled)`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&:hover ${Ye}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${Ye}-disabled:hover ${Ye}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ye}-mini ${Ye}-prev ${Ye}-item-link, &${Ye}-mini ${Ye}-next ${Ye}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}},[`&${Ye}-mini ${Ye}-jump-prev, &${Ye}-mini ${Ye}-jump-next`]:{height:He.itemSizeSM,marginInlineEnd:0,lineHeight:`${He.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-options`]:{marginInlineStart:He.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:He.miniOptionsSizeChangerTop},"&-quick-jumper":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,mt.x0)(He)),{width:He.paginationMiniQuickJumperInputWidth,height:He.controlHeightSM})}}}},Bt=He=>{const{componentCls:Ye}=He;return{[` &${Ye}-simple ${Ye}-prev, &${Ye}-simple ${Ye}-next `]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,verticalAlign:"top",[`${Ye}-item-link`]:{height:He.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive},"&::after":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}}},[`&${Ye}-simple ${Ye}-simple-pager`]:{display:"inline-block",height:He.itemSizeSM,marginInlineEnd:He.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:He.marginXS,padding:`0 ${He.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:He.itemInputBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadius,outline:"none",transition:`border-color ${He.motionDurationMid}`,color:"inherit","&:hover":{borderColor:He.colorPrimary},"&:focus":{borderColor:He.colorPrimaryHover,boxShadow:`${He.inputOutlineOffset}px 0 ${He.controlOutlineWidth}px ${He.controlOutline}`},"&[disabled]":{color:He.colorTextDisabled,backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,cursor:"not-allowed"}}}}},Rn=He=>{const{componentCls:Ye}=He;return{[`${Ye}-jump-prev, ${Ye}-jump-next`]:{outline:0,[`${Ye}-item-container`]:{position:"relative",[`${Ye}-item-link-icon`]:{color:He.colorPrimary,fontSize:He.fontSizeSM,opacity:0,transition:`all ${He.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ye}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:He.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:He.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:He.paginationEllipsisTextIndent,opacity:1,transition:`all ${He.motionDurationMid}`}},"&:hover":{[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}}},[` ${Ye}-prev, ${Ye}-jump-prev, ${Ye}-jump-next `]:{marginInlineEnd:He.marginXS},[` ${Ye}-prev, ${Ye}-next, ${Ye}-jump-prev, ${Ye}-jump-next `]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,color:He.colorText,fontFamily:He.fontFamily,lineHeight:`${He.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:He.borderRadius,cursor:"pointer",transition:`all ${He.motionDurationMid}`},[`${Ye}-prev, ${Ye}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:He.colorText,cursor:"pointer",userSelect:"none"},[`${Ye}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:He.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:"none",transition:`all ${He.motionDurationMid}`},[`&:hover ${Ye}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${Ye}-disabled:hover`]:{[`${Ye}-item-link`]:{backgroundColor:"transparent"}}},[`${Ye}-slash`]:{marginInlineEnd:He.paginationSlashMarginInlineEnd,marginInlineStart:He.paginationSlashMarginInlineStart},[`${Ye}-options`]:{display:"inline-block",marginInlineStart:He.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:He.controlHeight,marginInlineStart:He.marginXS,lineHeight:`${He.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,mt.ik)(He)),{width:He.controlHeightLG*1.25,height:He.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:He.marginXS,marginInlineEnd:He.marginXS})}}}},$n=He=>{const{componentCls:Ye}=He;return{[`${Ye}-item`]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,marginInlineEnd:He.marginXS,fontFamily:He.fontFamily,lineHeight:`${He.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${He.paginationItemPaddingInline}px`,color:He.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ye}-item-active)`]:{"&:hover":{transition:`all ${He.motionDurationMid}`,backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},"&-active":{fontWeight:He.fontWeightStrong,backgroundColor:He.itemActiveBg,borderColor:He.colorPrimary,a:{color:He.colorPrimary},"&:hover":{borderColor:He.colorPrimaryHover},"&:hover a":{color:He.colorPrimaryHover}}}}},Xe=He=>{const{componentCls:Ye}=He;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.Wf)(He)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ye}-total-text`]:{display:"inline-block",height:He.itemSize,marginInlineEnd:He.marginXS,lineHeight:`${He.itemSize-2}px`,verticalAlign:"middle"}}),$n(He)),Rn(He)),Bt(He)),Tn(He)),un(He)),{[`@media only screen and (max-width: ${He.screenLG}px)`]:{[`${Ye}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${He.screenSM}px)`]:{[`${Ye}-options`]:{display:"none"}}}),[`&${He.componentCls}-rtl`]:{direction:"rtl"}}},fn=He=>{const{componentCls:Ye}=He;return{[`${Ye}${Ye}-disabled:not(${Ye}-mini)`]:{"&, &:hover":{[`${Ye}-item-link`]:{borderColor:He.colorBorder}},"&:focus-visible":{[`${Ye}-item-link`]:{borderColor:He.colorBorder}},[`${Ye}-item, ${Ye}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,[`&:hover:not(${Ye}-item-active)`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,a:{color:He.colorTextDisabled}},[`&${Ye}-item-active`]:{backgroundColor:He.itemActiveBgDisabled}},[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,color:He.colorTextDisabled},[`${Ye}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder}}},[`${Ye}:not(${Ye}-mini)`]:{[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{borderColor:He.colorPrimaryHover,backgroundColor:He.itemBg},[`${Ye}-item-link`]:{backgroundColor:He.itemLinkBg,borderColor:He.colorBorder},[`&:hover ${Ye}-item-link`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,color:He.colorPrimary},[`&${Ye}-disabled`]:{[`${Ye}-item-link`]:{borderColor:He.colorBorder,color:He.colorTextDisabled}}},[`${Ye}-item`]:{backgroundColor:He.itemBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,[`&:hover:not(${Ye}-item-active)`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,a:{color:He.colorPrimary}},"&-active":{borderColor:He.colorPrimary}}}}},Fe=He=>{const{componentCls:Ye}=He;return{[`${Ye}:not(${Ye}-disabled)`]:{[`${Ye}-item`]:Object.assign({},(0,Tt.Qy)(He)),[`${Ye}-jump-prev, ${Ye}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}},(0,Tt.oN)(He))},[`${Ye}-prev, ${Ye}-next`]:{[`&:focus-visible ${Ye}-item-link`]:Object.assign({},(0,Tt.oN)(He))}}}};var fe=(0,wn.Z)("Pagination",He=>{const Ye=(0,Qn.TS)(He,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:He.marginXXS/2,paginationMiniQuickJumperInputWidth:He.controlHeightLG*1.1,paginationItemPaddingInline:He.marginXXS*1.5,paginationEllipsisLetterSpacing:He.marginXXS/2,paginationSlashMarginInlineStart:He.marginXXS,paginationSlashMarginInlineEnd:He.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,mt.e5)(He),(0,mt.TM)(He));return[Xe(Ye),Fe(Ye),He.wireframe&&fn(Ye)]},He=>({itemBg:He.colorBgContainer,itemSize:He.controlHeight,itemSizeSM:He.controlHeightSM,itemActiveBg:He.colorBgContainer,itemLinkBg:He.colorBgContainer,itemActiveColorDisabled:He.colorTextDisabled,itemActiveBgDisabled:He.controlItemBgActiveDisabled,itemInputBg:He.colorBgContainer,miniOptionsSizeChangerTop:0})),ce=function(He,Ye){var Pt={};for(var gt in He)Object.prototype.hasOwnProperty.call(He,gt)&&Ye.indexOf(gt)<0&&(Pt[gt]=He[gt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,gt=Object.getOwnPropertySymbols(He);st{const{prefixCls:Ye,selectPrefixCls:Pt,className:gt,rootClassName:st,style:Rt,size:hn,locale:It,selectComponentClass:sn,responsive:Ft,showSizeChanger:yn}=He,At=ce(He,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:qt}=(0,vt.Z)(Ft),{getPrefixCls:gn,direction:pn,pagination:Yn={}}=Ce.useContext(St.E_),ir=gn("pagination",Ye),[yr,br]=fe(ir),lr=yn!=null?yn:Yn.showSizeChanger,ar=Ce.useMemo(()=>{const Mr=Ce.createElement("span",{className:`${ir}-item-ellipsis`},"\u2022\u2022\u2022"),an=Ce.createElement("button",{className:`${ir}-item-link`,type:"button",tabIndex:-1},pn==="rtl"?Ce.createElement(De.Z,null):Ce.createElement(ge.Z,null)),ri=Ce.createElement("button",{className:`${ir}-item-link`,type:"button",tabIndex:-1},pn==="rtl"?Ce.createElement(ge.Z,null):Ce.createElement(De.Z,null)),Bo=Ce.createElement("a",{className:`${ir}-item-link`},Ce.createElement("div",{className:`${ir}-item-container`},pn==="rtl"?Ce.createElement(Ne.Z,{className:`${ir}-item-link-icon`}):Ce.createElement(we,{className:`${ir}-item-link-icon`}),Mr)),gi=Ce.createElement("a",{className:`${ir}-item-link`},Ce.createElement("div",{className:`${ir}-item-container`},pn==="rtl"?Ce.createElement(we,{className:`${ir}-item-link-icon`}):Ce.createElement(Ne.Z,{className:`${ir}-item-link-icon`}),Mr));return{prevIcon:an,nextIcon:ri,jumpPrevIcon:Bo,jumpNextIcon:gi}},[pn,ir]),[Ar]=(0,ut.Z)("Pagination",ot.Z),Cr=Object.assign(Object.assign({},Ar),It),ea=(0,lt.Z)(hn),wa=ea==="small"||!!(qt&&!ea&&Ft),kr=gn("select",Pt),Ja=Ee()({[`${ir}-mini`]:wa,[`${ir}-rtl`]:pn==="rtl"},Yn==null?void 0:Yn.className,gt,st,br),Wa=Object.assign(Object.assign({},Yn==null?void 0:Yn.style),Rt);return yr(Ce.createElement(it,Object.assign({},ar,At,{style:Wa,prefixCls:ir,selectPrefixCls:kr,className:Ja,selectComponentClass:sn||(wa?Kt:Vt),locale:Cr,showSizeChanger:lr})))},dt=qe},93948:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return yn}});var me=Be(59301),Ce=Be(29679),Me=Be(40001),rt=Be(19248),ze=Be(99267),je=Be(92310),ve=Be.n(je),we=Be(2738),Ne=Be(36355),ge=Be(60499),De=Be(85899),xe=Be(42244),Ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ie=function(){var qt=(0,me.useRef)([]),gn=(0,me.useRef)(null);return(0,me.useEffect)(function(){var pn=Date.now(),Yn=!1;qt.current.forEach(function(ir){if(ir){Yn=!0;var yr=ir.style;yr.transitionDuration=".3s, .3s, .3s, .06s",gn.current&&pn-gn.current<100&&(yr.transitionDuration="0s, 0s")}}),Yn&&(gn.current=Date.now())}),qt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(qt){var gn=(0,De.Z)((0,De.Z)({},Ee),qt),pn=gn.className,Yn=gn.percent,ir=gn.prefixCls,yr=gn.strokeColor,br=gn.strokeLinecap,lr=gn.strokeWidth,ar=gn.style,Ar=gn.trailColor,Cr=gn.trailWidth,ea=gn.transition,wa=(0,xe.Z)(gn,y);delete wa.gapPosition;var kr=Array.isArray(Yn)?Yn:[Yn],Ja=Array.isArray(yr)?yr:[yr],Wa=ie(),Mr=lr/2,an=100-lr/2,ri="M ".concat(br==="round"?Mr:0,",").concat(Mr,` L `).concat(br==="round"?an:100,",").concat(Mr),Bo="0 0 100 ".concat(lr),gi=0;return me.createElement("svg",(0,ge.Z)({className:ve()("".concat(ir,"-line"),pn),viewBox:Bo,preserveAspectRatio:"none",style:ar},wa),me.createElement("path",{className:"".concat(ir,"-line-trail"),d:ri,strokeLinecap:br,stroke:Ar,strokeWidth:Cr||lr,fillOpacity:"0"}),kr.map(function(zi,Fo){var Mi=1;switch(br){case"round":Mi=1-lr/100;break;case"square":Mi=1-lr/2/100;break;default:Mi=1;break}var Gi={strokeDasharray:"".concat(zi*Mi,"px, 100px"),strokeDashoffset:"-".concat(gi,"px"),transition:ea||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ai=Ja[Fo]||Ja[Ja.length-1];return gi+=zi,me.createElement("path",{key:Fo,className:"".concat(ir,"-line-path"),d:ri,strokeLinecap:br,stroke:ai,strokeWidth:lr,fillOpacity:"0",ref:function(On){Wa[Fo]=On},style:Gi})}))},ee=a,E=Be(43749),te=Be(72190),ne=Be(47273),ae=0,de=(0,ne.Z)();function Le(){var At;return de?(At=ae,ae+=1):At="TEST_OR_SSR",At}var Pe=function(At){var qt=me.useState(),gn=(0,te.Z)(qt,2),pn=gn[0],Yn=gn[1];return me.useEffect(function(){Yn("rc_progress_".concat(Le()))},[]),At||pn},Ue=function(qt){var gn=qt.bg,pn=qt.children;return me.createElement("div",{style:{width:"100%",height:"100%",background:gn}},pn)};function Ge(At,qt){return Object.keys(At).map(function(gn){var pn=parseFloat(gn),Yn="".concat(Math.floor(pn*qt),"%");return"".concat(At[gn]," ").concat(Yn)})}var Ze=me.forwardRef(function(At,qt){var gn=At.prefixCls,pn=At.color,Yn=At.gradientId,ir=At.radius,yr=At.style,br=At.ptg,lr=At.strokeLinecap,ar=At.strokeWidth,Ar=At.size,Cr=At.gapDegree,ea=pn&&(0,E.Z)(pn)==="object",wa=ea?"#FFF":void 0,kr=Ar/2,Ja=me.createElement("circle",{className:"".concat(gn,"-circle-path"),r:ir,cx:kr,cy:kr,stroke:wa,strokeLinecap:lr,strokeWidth:ar,opacity:br===0?0:1,style:yr,ref:qt});if(!ea)return Ja;var Wa="".concat(Yn,"-conic"),Mr=Cr?"".concat(180+Cr/2,"deg"):"0deg",an=Ge(pn,(360-Cr)/360),ri=Ge(pn,1),Bo="conic-gradient(from ".concat(Mr,", ").concat(an.join(", "),")"),gi="linear-gradient(to ".concat(Cr?"bottom":"top",", ").concat(ri.join(", "),")");return me.createElement(me.Fragment,null,me.createElement("mask",{id:Wa},Ja),me.createElement("foreignObject",{x:0,y:0,width:Ar,height:Ar,mask:"url(#".concat(Wa,")")},me.createElement(Ue,{bg:gi},me.createElement(Ue,{bg:Bo}))))}),tt=Ze,Te=100,pt=function(qt,gn,pn,Yn,ir,yr,br,lr,ar,Ar){var Cr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ea=pn/100*360*((360-yr)/360),wa=yr===0?0:{bottom:0,top:180,left:90,right:-90}[br],kr=(100-Yn)/100*gn;ar==="round"&&Yn!==100&&(kr+=Ar/2,kr>=gn&&(kr=gn-.01));var Ja=Te/2;return{stroke:typeof lr=="string"?lr:void 0,strokeDasharray:"".concat(gn,"px ").concat(qt),strokeDashoffset:kr+Cr,transform:"rotate(".concat(ir+ea+wa,"deg)"),transformOrigin:"".concat(Ja,"px ").concat(Ja,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Lt(At){var qt=At!=null?At:[];return Array.isArray(qt)?qt:[qt]}var it=function(qt){var gn=(0,De.Z)((0,De.Z)({},Ee),qt),pn=gn.id,Yn=gn.prefixCls,ir=gn.steps,yr=gn.strokeWidth,br=gn.trailWidth,lr=gn.gapDegree,ar=lr===void 0?0:lr,Ar=gn.gapPosition,Cr=gn.trailColor,ea=gn.strokeLinecap,wa=gn.style,kr=gn.className,Ja=gn.strokeColor,Wa=gn.percent,Mr=(0,xe.Z)(gn,Qe),an=Te/2,ri=Pe(pn),Bo="".concat(ri,"-gradient"),gi=an-yr/2,zi=Math.PI*2*gi,Fo=ar>0?90+ar/2:-90,Mi=zi*((360-ar)/360),Gi=(0,E.Z)(ir)==="object"?ir:{count:ir,space:2},ai=Gi.count,Pn=Gi.space,On=Lt(Wa),dn=Lt(Ja),Qr=dn.find(function(Wi){return Wi&&(0,E.Z)(Wi)==="object"}),la=Qr&&(0,E.Z)(Qr)==="object",Dr=la?"butt":ea,va=pt(zi,Mi,0,100,Fo,ar,Ar,Cr,Dr,yr),Ha=ie(),xa=function(){var xr=0;return On.map(function(ja,Ei){var ii=dn[Ei]||dn[dn.length-1],fi=pt(zi,Mi,xr,ja,Fo,ar,Ar,ii,Dr,yr);return xr+=ja,me.createElement(tt,{key:Ei,color:ii,ptg:ja,radius:gi,prefixCls:Yn,gradientId:Bo,style:fi,strokeLinecap:Dr,strokeWidth:yr,gapDegree:ar,ref:function(ss){Ha[Ei]=ss},size:Te})}).reverse()},So=function(){var xr=Math.round(ai*(On[0]/100)),ja=100/ai,Ei=0;return new Array(ai).fill(null).map(function(ii,fi){var Lo=fi<=xr-1?dn[0]:Cr,ss=Lo&&(0,E.Z)(Lo)==="object"?"url(#".concat(Bo,")"):void 0,Ms=pt(zi,Mi,Ei,ja,Fo,ar,Ar,Lo,"butt",yr,Pn);return Ei+=(Mi-Ms.strokeDashoffset+Pn)*100/Mi,me.createElement("circle",{key:fi,className:"".concat(Yn,"-circle-path"),r:gi,cx:an,cy:an,stroke:ss,strokeWidth:yr,opacity:1,style:Ms,ref:function(BA){Ha[fi]=BA}})})};return me.createElement("svg",(0,ge.Z)({className:ve()("".concat(Yn,"-circle"),kr),viewBox:"0 0 ".concat(Te," ").concat(Te),style:wa,id:pn,role:"presentation"},Mr),!ai&&me.createElement("circle",{className:"".concat(Yn,"-circle-trail"),r:gi,cx:an,cy:an,stroke:Cr,strokeLinecap:Dr,strokeWidth:br||yr,style:va}),ai?So():xa())},ot=it,St={Line:ee,Circle:ot},lt=Be(6848),vt=Be(30071);function ut(At){return!At||At<0?0:At>100?100:At}function at(At){let{success:qt,successPercent:gn}=At,pn=gn;return qt&&"progress"in qt&&(pn=qt.progress),qt&&"percent"in qt&&(pn=qt.percent),pn}const Kt=At=>{let{percent:qt,success:gn,successPercent:pn}=At;const Yn=ut(at({success:gn,successPercent:pn}));return[Yn,ut(ut(qt)-Yn)]},Vt=At=>{let{success:qt={},strokeColor:gn}=At;const{strokeColor:pn}=qt;return[pn||vt.presetPrimaryColors.green,gn||null]},mt=(At,qt,gn)=>{var pn,Yn,ir,yr;let br=-1,lr=-1;if(qt==="step"){const ar=gn.steps,Ar=gn.strokeWidth;typeof At=="string"||typeof At=="undefined"?(br=At==="small"?2:14,lr=Ar!=null?Ar:8):typeof At=="number"?[br,lr]=[At,At]:[br=14,lr=8]=At,br*=ar}else if(qt==="line"){const ar=gn==null?void 0:gn.strokeWidth;typeof At=="string"||typeof At=="undefined"?lr=ar||(At==="small"?6:8):typeof At=="number"?[br,lr]=[At,At]:[br=-1,lr=8]=At}else(qt==="circle"||qt==="dashboard")&&(typeof At=="string"||typeof At=="undefined"?[br,lr]=At==="small"?[60,60]:[120,120]:typeof At=="number"?[br,lr]=[At,At]:(br=(Yn=(pn=At[0])!==null&&pn!==void 0?pn:At[1])!==null&&Yn!==void 0?Yn:120,lr=(yr=(ir=At[0])!==null&&ir!==void 0?ir:At[1])!==null&&yr!==void 0?yr:120));return[br,lr]},Tt=3,wn=At=>Tt/At*100;var un=At=>{const{prefixCls:qt,trailColor:gn=null,strokeLinecap:pn="round",gapPosition:Yn,gapDegree:ir,width:yr=120,type:br,children:lr,success:ar,size:Ar=yr}=At,[Cr,ea]=mt(Ar,"circle");let{strokeWidth:wa}=At;wa===void 0&&(wa=Math.max(wn(Cr),6));const kr={width:Cr,height:ea,fontSize:Cr*.15+6},Ja=me.useMemo(()=>{if(ir||ir===0)return ir;if(br==="dashboard")return 75},[ir,br]),Wa=Yn||br==="dashboard"&&"bottom"||void 0,Mr=Object.prototype.toString.call(At.strokeColor)==="[object Object]",an=Vt({success:ar,strokeColor:At.strokeColor}),ri=ve()(`${qt}-inner`,{[`${qt}-circle-gradient`]:Mr}),Bo=me.createElement(ot,{percent:Kt(At),strokeWidth:wa,trailWidth:wa,strokeColor:an,strokeLinecap:pn,trailColor:gn,prefixCls:qt,gapDegree:Ja,gapPosition:Wa});return me.createElement("div",{className:ri,style:kr},Cr<=20?me.createElement(lt.Z,{title:lr},me.createElement("span",null,Bo)):me.createElement(me.Fragment,null,Bo,lr))},Tn=function(At,qt){var gn={};for(var pn in At)Object.prototype.hasOwnProperty.call(At,pn)&&qt.indexOf(pn)<0&&(gn[pn]=At[pn]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yn=0,pn=Object.getOwnPropertySymbols(At);Yn{let qt=[];return Object.keys(At).forEach(gn=>{const pn=parseFloat(gn.replace(/%/g,""));isNaN(pn)||qt.push({key:pn,value:At[gn]})}),qt=qt.sort((gn,pn)=>gn.key-pn.key),qt.map(gn=>{let{key:pn,value:Yn}=gn;return`${Yn} ${pn}%`}).join(", ")},Rn=(At,qt)=>{const{from:gn=vt.presetPrimaryColors.blue,to:pn=vt.presetPrimaryColors.blue,direction:Yn=qt==="rtl"?"to left":"to right"}=At,ir=Tn(At,["from","to","direction"]);if(Object.keys(ir).length!==0){const yr=Bt(ir);return{backgroundImage:`linear-gradient(${Yn}, ${yr})`}}return{backgroundImage:`linear-gradient(${Yn}, ${gn}, ${pn})`}};var Xe=At=>{const{prefixCls:qt,direction:gn,percent:pn,size:Yn,strokeWidth:ir,strokeColor:yr,strokeLinecap:br="round",children:lr,trailColor:ar=null,success:Ar}=At,Cr=yr&&typeof yr!="string"?Rn(yr,gn):{backgroundColor:yr},ea=br==="square"||br==="butt"?0:void 0,wa={backgroundColor:ar||void 0,borderRadius:ea},kr=Yn!=null?Yn:[-1,ir||(Yn==="small"?6:8)],[Ja,Wa]=mt(kr,"line",{strokeWidth:ir}),Mr=Object.assign({width:`${ut(pn)}%`,height:Wa,borderRadius:ea},Cr),an=at(At),ri={width:`${ut(an)}%`,height:Wa,borderRadius:ea,backgroundColor:Ar==null?void 0:Ar.strokeColor},Bo={width:Ja<0?"100%":Ja,height:Wa};return me.createElement(me.Fragment,null,me.createElement("div",{className:`${qt}-outer`,style:Bo},me.createElement("div",{className:`${qt}-inner`,style:wa},me.createElement("div",{className:`${qt}-bg`,style:Mr}),an!==void 0?me.createElement("div",{className:`${qt}-success-bg`,style:ri}):null)),lr)},Fe=At=>{const{size:qt,steps:gn,percent:pn=0,strokeWidth:Yn=8,strokeColor:ir,trailColor:yr=null,prefixCls:br,children:lr}=At,ar=Math.round(gn*(pn/100)),Ar=qt==="small"?2:14,Cr=qt!=null?qt:[Ar,Yn],[ea,wa]=mt(Cr,"step",{steps:gn,strokeWidth:Yn}),kr=ea/gn,Ja=new Array(gn);for(let Wa=0;Wa{const qt=At?"100%":"-100%";return new fe.Keyframes(`antProgress${At?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${qt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${qt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},He=At=>{const{componentCls:qt,iconCls:gn}=At;return{[qt]:Object.assign(Object.assign({},(0,ce.Wf)(At)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:At.fontSize,marginInlineEnd:At.marginXS,marginBottom:At.marginXS},[`${qt}-outer`]:{display:"inline-block",width:"100%"},[`&${qt}-show-info`]:{[`${qt}-outer`]:{marginInlineEnd:`calc(-2em - ${At.marginXS}px)`,paddingInlineEnd:`calc(2em + ${At.paddingXS}px)`}},[`${qt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:At.remainingColor,borderRadius:At.lineBorderRadius},[`${qt}-inner:not(${qt}-circle-gradient)`]:{[`${qt}-circle-path`]:{stroke:At.defaultColor}},[`${qt}-success-bg, ${qt}-bg`]:{position:"relative",backgroundColor:At.defaultColor,borderRadius:At.lineBorderRadius,transition:`all ${At.motionDurationSlow} ${At.motionEaseInOutCirc}`},[`${qt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:At.colorSuccess},[`${qt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:At.marginXS,color:At.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[gn]:{fontSize:At.fontSize}},[`&${qt}-status-active`]:{[`${qt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:At.colorBgContainer,borderRadius:At.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:At.progressActiveMotionDuration,animationTimingFunction:At.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${qt}-rtl${qt}-status-active`]:{[`${qt}-bg::before`]:{animationName:dt(!0)}},[`&${qt}-status-exception`]:{[`${qt}-bg`]:{backgroundColor:At.colorError},[`${qt}-text`]:{color:At.colorError}},[`&${qt}-status-exception ${qt}-inner:not(${qt}-circle-gradient)`]:{[`${qt}-circle-path`]:{stroke:At.colorError}},[`&${qt}-status-success`]:{[`${qt}-bg`]:{backgroundColor:At.colorSuccess},[`${qt}-text`]:{color:At.colorSuccess}},[`&${qt}-status-success ${qt}-inner:not(${qt}-circle-gradient)`]:{[`${qt}-circle-path`]:{stroke:At.colorSuccess}}})}},Ye=At=>{const{componentCls:qt,iconCls:gn}=At;return{[qt]:{[`${qt}-circle-trail`]:{stroke:At.remainingColor},[`&${qt}-circle ${qt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${qt}-circle ${qt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:At.circleTextColor,fontSize:At.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[gn]:{fontSize:`${At.fontSize/At.fontSizeSM}em`}},[`${qt}-circle&-status-exception`]:{[`${qt}-text`]:{color:At.colorError}},[`${qt}-circle&-status-success`]:{[`${qt}-text`]:{color:At.colorSuccess}}},[`${qt}-inline-circle`]:{lineHeight:1,[`${qt}-inner`]:{verticalAlign:"bottom"}}}},Pt=At=>{const{componentCls:qt}=At;return{[qt]:{[`${qt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:At.progressStepMinWidth,marginInlineEnd:At.progressStepMarginInlineEnd,backgroundColor:At.remainingColor,transition:`all ${At.motionDurationSlow}`,"&-active":{backgroundColor:At.defaultColor}}}}}},gt=At=>{const{componentCls:qt,iconCls:gn}=At;return{[qt]:{[`${qt}-small&-line, ${qt}-small&-line ${qt}-text ${gn}`]:{fontSize:At.fontSizeSM}}}};var st=(0,Se.Z)("Progress",At=>{const qt=At.marginXXS/2,gn=(0,qe.TS)(At,{progressStepMarginInlineEnd:qt,progressStepMinWidth:qt,progressActiveMotionDuration:"2.4s"});return[He(gn),Ye(gn),Pt(gn),gt(gn)]},At=>({circleTextColor:At.colorText,defaultColor:At.colorInfo,remainingColor:At.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Rt=function(At,qt){var gn={};for(var pn in At)Object.prototype.hasOwnProperty.call(At,pn)&&qt.indexOf(pn)<0&&(gn[pn]=At[pn]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yn=0,pn=Object.getOwnPropertySymbols(At);Yn{const{prefixCls:gn,className:pn,rootClassName:Yn,steps:ir,strokeColor:yr,percent:br=0,size:lr="default",showInfo:ar=!0,type:Ar="line",status:Cr,format:ea,style:wa}=At,kr=Rt(At,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ja=me.useMemo(()=>{var On,dn;const Qr=at(At);return parseInt(Qr!==void 0?(On=Qr!=null?Qr:0)===null||On===void 0?void 0:On.toString():(dn=br!=null?br:0)===null||dn===void 0?void 0:dn.toString(),10)},[br,At.success,At.successPercent]),Wa=me.useMemo(()=>!It.includes(Cr)&&Ja>=100?"success":Cr||"normal",[Cr,Ja]),{getPrefixCls:Mr,direction:an,progress:ri}=me.useContext(Ne.E_),Bo=Mr("progress",gn),[gi,zi]=st(Bo),Fo=me.useMemo(()=>{if(!ar)return null;const On=at(At);let dn;const Qr=ea||(Dr=>`${Dr}%`),la=Ar==="line";return ea||Wa!=="exception"&&Wa!=="success"?dn=Qr(ut(br),ut(On)):Wa==="exception"?dn=la?me.createElement(rt.Z,null):me.createElement(ze.Z,null):Wa==="success"&&(dn=la?me.createElement(Ce.Z,null):me.createElement(Me.Z,null)),me.createElement("span",{className:`${Bo}-text`,title:typeof dn=="string"?dn:void 0},dn)},[ar,br,Ja,Wa,Ar,Bo,ea]),Mi=Array.isArray(yr)?yr[0]:yr,Gi=typeof yr=="string"||Array.isArray(yr)?yr:void 0;let ai;Ar==="line"?ai=ir?me.createElement(Fe,Object.assign({},At,{strokeColor:Gi,prefixCls:Bo,steps:ir}),Fo):me.createElement(Xe,Object.assign({},At,{strokeColor:Mi,prefixCls:Bo,direction:an}),Fo):(Ar==="circle"||Ar==="dashboard")&&(ai=me.createElement(un,Object.assign({},At,{strokeColor:Mi,prefixCls:Bo,progressStatus:Wa}),Fo));const Pn=ve()(Bo,`${Bo}-status-${Wa}`,`${Bo}-${Ar==="dashboard"&&"circle"||ir&&"steps"||Ar}`,{[`${Bo}-inline-circle`]:Ar==="circle"&&mt(lr,"circle")[0]<=20,[`${Bo}-show-info`]:ar,[`${Bo}-${lr}`]:typeof lr=="string",[`${Bo}-rtl`]:an==="rtl"},ri==null?void 0:ri.className,pn,Yn,zi);return gi(me.createElement("div",Object.assign({ref:qt,style:Object.assign(Object.assign({},ri==null?void 0:ri.style),wa),className:Pn,role:"progressbar","aria-valuenow":Ja},(0,we.Z)(kr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ai))}),yn=Ft},13570:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return ut}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(Kt,Vt){return Ce.createElement(ze.Z,(0,me.Z)({},Kt,{ref:Vt,icon:rt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(92310),ge=Be.n(Ne),De=Be(18642),xe=Be(72190),Ee=Be(42244),ie=Be(18929),y=Be(10228),a=Be(26112);function ee(at,Kt){var Vt=at.disabled,mt=at.prefixCls,Tt=at.character,wn=at.characterRender,Qn=at.index,un=at.count,Tn=at.value,Bt=at.allowHalf,Rn=at.focused,$n=at.onHover,Xe=at.onClick,fn=function(Ye){$n(Ye,Qn)},Fe=function(Ye){Xe(Ye,Qn)},fe=function(Ye){Ye.keyCode===y.Z.ENTER&&Xe(Ye,Qn)},ce=Qn+1,Se=new Set([mt]);Tn===0&&Qn===0&&Rn?Se.add("".concat(mt,"-focused")):Bt&&Tn+.5>=ce&&TnQn?"true":"false","aria-posinset":Qn+1,"aria-setsize":un,tabIndex:Vt?-1:0},Ce.createElement("div",{className:"".concat(mt,"-first")},qe),Ce.createElement("div",{className:"".concat(mt,"-second")},qe)));return wn&&(dt=wn(dt,at)),dt}var E=Ce.forwardRef(ee);function te(){var at=Ce.useRef({});function Kt(mt){return at.current[mt]}function Vt(mt){return function(Tt){at.current[mt]=Tt}}return[Kt,Vt]}function ne(at){var Kt=at.pageXOffset,Vt="scrollLeft";if(typeof Kt!="number"){var mt=at.document;Kt=mt.documentElement[Vt],typeof Kt!="number"&&(Kt=mt.body[Vt])}return Kt}function ae(at){var Kt,Vt,mt=at.ownerDocument,Tt=mt.body,wn=mt&&mt.documentElement,Qn=at.getBoundingClientRect();return Kt=Qn.left,Vt=Qn.top,Kt-=wn.clientLeft||Tt.clientLeft||0,Vt-=wn.clientTop||Tt.clientTop||0,{left:Kt,top:Vt}}function de(at){var Kt=ae(at),Vt=at.ownerDocument,mt=Vt.defaultView||Vt.parentWindow;return Kt.left+=ne(mt),Kt.left}var Le=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Pe(at,Kt){var Vt,mt=at.prefixCls,Tt=mt===void 0?"rc-rate":mt,wn=at.className,Qn=at.defaultValue,un=at.value,Tn=at.count,Bt=Tn===void 0?5:Tn,Rn=at.allowHalf,$n=Rn===void 0?!1:Rn,Xe=at.allowClear,fn=Xe===void 0?!0:Xe,Fe=at.character,fe=Fe===void 0?"\u2605":Fe,ce=at.characterRender,Se=at.disabled,qe=at.direction,dt=qe===void 0?"ltr":qe,He=at.tabIndex,Ye=He===void 0?0:He,Pt=at.autoFocus,gt=at.onHoverChange,st=at.onChange,Rt=at.onFocus,hn=at.onBlur,It=at.onKeyDown,sn=at.onMouseLeave,Ft=(0,Ee.Z)(at,Le),yn=te(),At=(0,xe.Z)(yn,2),qt=At[0],gn=At[1],pn=Ce.useRef(null),Yn=function(){if(!Se){var Dr;(Dr=pn.current)===null||Dr===void 0||Dr.focus()}};Ce.useImperativeHandle(Kt,function(){return{focus:Yn,blur:function(){if(!Se){var Dr;(Dr=pn.current)===null||Dr===void 0||Dr.blur()}}}});var ir=(0,ie.Z)(Qn||0,{value:un}),yr=(0,xe.Z)(ir,2),br=yr[0],lr=yr[1],ar=(0,ie.Z)(null),Ar=(0,xe.Z)(ar,2),Cr=Ar[0],ea=Ar[1],wa=function(Dr,va){var Ha=dt==="rtl",xa=Dr+1;if($n){var So=qt(Dr),Wi=de(So),xr=So.clientWidth;(Ha&&va-Wi>xr/2||!Ha&&va-Wi0&&!Ha||va===y.Z.RIGHT&&xa>0&&Ha?($n?xa-=.5:xa-=1,kr(xa),Dr.preventDefault()):va===y.Z.LEFT&&xa{const{componentCls:Kt}=at;return{[`${Kt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:at.marginXS},"> div":{transition:`all ${at.motionDurationMid}, outline 0s`,"&:hover":{transform:at.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${at.lineWidth}px dashed ${at.starColor}`,transform:at.starHoverScale}},"&-first, &-second":{color:at.starBg,transition:`all ${at.motionDurationMid}`,userSelect:"none",[at.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Kt}-star-first, &-half ${Kt}-star-second`]:{opacity:1},[`&-half ${Kt}-star-first, &-full ${Kt}-star-second`]:{color:"inherit"}}}},it=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),ot=at=>{const{componentCls:Kt}=at;return{[Kt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Te.Wf)(at)),{display:"inline-block",margin:0,padding:0,color:at.starColor,fontSize:at.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Kt} ${Kt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Lt(at)),{[`+ ${Kt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),it(at))}};var St=(0,pt.Z)("Rate",at=>{const Kt=(0,Qe.TS)(at,{});return[ot(Kt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),lt=function(at,Kt){var Vt={};for(var mt in at)Object.prototype.hasOwnProperty.call(at,mt)&&Kt.indexOf(mt)<0&&(Vt[mt]=at[mt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,mt=Object.getOwnPropertySymbols(at);Tt{const{prefixCls:Vt,className:mt,rootClassName:Tt,style:wn,tooltips:Qn,character:un=Ce.createElement(we,null)}=at,Tn=lt(at,["prefixCls","className","rootClassName","style","tooltips","character"]),Bt=(Se,qe)=>{let{index:dt}=qe;return Qn?Ce.createElement(tt.Z,{title:Qn[dt]},Se):Se},{getPrefixCls:Rn,direction:$n,rate:Xe}=Ce.useContext(Ze.E_),fn=Rn("rate",Vt),[Fe,fe]=St(fn),ce=Object.assign(Object.assign({},Xe==null?void 0:Xe.style),wn);return Fe(Ce.createElement(Ge,Object.assign({ref:Kt,character:un,characterRender:Bt},Tn,{className:ge()(mt,Tt,fe,Xe==null?void 0:Xe.className),style:ce,prefixCls:fn,direction:$n})))})},61621:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return fe}});var me=Be(92310),Ce=Be.n(me),Me=Be(59301),rt=Be(36355),ze=Be(2738),ve=ce=>{const{prefixCls:Se,className:qe,style:dt,size:He,shape:Ye}=ce,Pt=Ce()({[`${Se}-lg`]:He==="large",[`${Se}-sm`]:He==="small"}),gt=Ce()({[`${Se}-circle`]:Ye==="circle",[`${Se}-square`]:Ye==="square",[`${Se}-round`]:Ye==="round"}),st=Me.useMemo(()=>typeof He=="number"?{width:He,height:He,lineHeight:`${He}px`}:{},[He]);return Me.createElement("span",{className:Ce()(Se,Pt,gt,qe),style:Object.assign(Object.assign({},st),dt)})},we=Be(36237),Ne=Be(83116),ge=Be(37613);const De=new we.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),xe=ce=>({height:ce,lineHeight:`${ce}px`}),Ee=ce=>Object.assign({width:ce},xe(ce)),ie=ce=>({background:ce.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:De,animationDuration:ce.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ce=>Object.assign({width:ce*5,minWidth:ce*5},xe(ce)),a=ce=>{const{skeletonAvatarCls:Se,gradientFromColor:qe,controlHeight:dt,controlHeightLG:He,controlHeightSM:Ye}=ce;return{[`${Se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ee(dt)),[`${Se}${Se}-circle`]:{borderRadius:"50%"},[`${Se}${Se}-lg`]:Object.assign({},Ee(He)),[`${Se}${Se}-sm`]:Object.assign({},Ee(Ye))}},ee=ce=>{const{controlHeight:Se,borderRadiusSM:qe,skeletonInputCls:dt,controlHeightLG:He,controlHeightSM:Ye,gradientFromColor:Pt}=ce;return{[`${dt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:qe},y(Se)),[`${dt}-lg`]:Object.assign({},y(He)),[`${dt}-sm`]:Object.assign({},y(Ye))}},E=ce=>Object.assign({width:ce},xe(ce)),te=ce=>{const{skeletonImageCls:Se,imageSizeBase:qe,gradientFromColor:dt,borderRadiusSM:He}=ce;return{[`${Se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:dt,borderRadius:He},E(qe*2)),{[`${Se}-path`]:{fill:"#bfbfbf"},[`${Se}-svg`]:Object.assign(Object.assign({},E(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${Se}-svg${Se}-svg-circle`]:{borderRadius:"50%"}}),[`${Se}${Se}-circle`]:{borderRadius:"50%"}}},ne=(ce,Se,qe)=>{const{skeletonButtonCls:dt}=ce;return{[`${qe}${dt}-circle`]:{width:Se,minWidth:Se,borderRadius:"50%"},[`${qe}${dt}-round`]:{borderRadius:Se}}},ae=ce=>Object.assign({width:ce*2,minWidth:ce*2},xe(ce)),de=ce=>{const{borderRadiusSM:Se,skeletonButtonCls:qe,controlHeight:dt,controlHeightLG:He,controlHeightSM:Ye,gradientFromColor:Pt}=ce;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:Se,width:dt*2,minWidth:dt*2},ae(dt))},ne(ce,dt,qe)),{[`${qe}-lg`]:Object.assign({},ae(He))}),ne(ce,He,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ae(Ye))}),ne(ce,Ye,`${qe}-sm`))},Le=ce=>{const{componentCls:Se,skeletonAvatarCls:qe,skeletonTitleCls:dt,skeletonParagraphCls:He,skeletonButtonCls:Ye,skeletonInputCls:Pt,skeletonImageCls:gt,controlHeight:st,controlHeightLG:Rt,controlHeightSM:hn,gradientFromColor:It,padding:sn,marginSM:Ft,borderRadius:yn,titleHeight:At,blockRadius:qt,paragraphLiHeight:gn,controlHeightXS:pn,paragraphMarginTop:Yn}=ce;return{[`${Se}`]:{display:"table",width:"100%",[`${Se}-header`]:{display:"table-cell",paddingInlineEnd:sn,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:It},Ee(st)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ee(Rt)),[`${qe}-sm`]:Object.assign({},Ee(hn))},[`${Se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${dt}`]:{width:"100%",height:At,background:It,borderRadius:qt,[`+ ${He}`]:{marginBlockStart:hn}},[`${He}`]:{padding:0,"> li":{width:"100%",height:gn,listStyle:"none",background:It,borderRadius:qt,"+ li":{marginBlockStart:pn}}},[`${He}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Se}-content`]:{[`${dt}, ${He} > li`]:{borderRadius:yn}}},[`${Se}-with-avatar ${Se}-content`]:{[`${dt}`]:{marginBlockStart:Ft,[`+ ${He}`]:{marginBlockStart:Yn}}},[`${Se}${Se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},de(ce)),a(ce)),ee(ce)),te(ce)),[`${Se}${Se}-block`]:{width:"100%",[`${Ye}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${Se}${Se}-active`]:{[` ${dt}, ${He} > li, ${qe}, ${Ye}, ${Pt}, ${gt} `]:Object.assign({},ie(ce))}}};var Pe=(0,Ne.Z)("Skeleton",ce=>{const{componentCls:Se}=ce,qe=(0,ge.TS)(ce,{skeletonAvatarCls:`${Se}-avatar`,skeletonTitleCls:`${Se}-title`,skeletonParagraphCls:`${Se}-paragraph`,skeletonButtonCls:`${Se}-button`,skeletonInputCls:`${Se}-input`,skeletonImageCls:`${Se}-image`,imageSizeBase:ce.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ce.gradientFromColor} 25%, ${ce.gradientToColor} 37%, ${ce.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Le(qe)]},ce=>{const{colorFillContent:Se,colorFill:qe}=ce,dt=Se,He=qe;return{color:dt,colorGradientEnd:He,gradientFromColor:dt,gradientToColor:He,titleHeight:ce.controlHeight/2,blockRadius:ce.borderRadiusSM,paragraphMarginTop:ce.marginLG+ce.marginXXS,paragraphLiHeight:ce.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,active:He,shape:Ye="circle",size:Pt="default"}=ce,{getPrefixCls:gt}=Me.useContext(rt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=(0,ze.Z)(ce,["prefixCls","className"]),sn=Ce()(st,`${st}-element`,{[`${st}-active`]:He},qe,dt,hn);return Rt(Me.createElement("div",{className:sn},Me.createElement(ve,Object.assign({prefixCls:`${st}-avatar`,shape:Ye,size:Pt},It))))},tt=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,active:He,block:Ye=!1,size:Pt="default"}=ce,{getPrefixCls:gt}=Me.useContext(rt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=(0,ze.Z)(ce,["prefixCls"]),sn=Ce()(st,`${st}-element`,{[`${st}-active`]:He,[`${st}-block`]:Ye},qe,dt,hn);return Rt(Me.createElement("div",{className:sn},Me.createElement(ve,Object.assign({prefixCls:`${st}-button`,size:Pt},It))))};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 Qe=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,style:He,active:Ye}=ce,{getPrefixCls:Pt}=Me.useContext(rt.E_),gt=Pt("skeleton",Se),[st,Rt]=Pe(gt),hn=Ce()(gt,`${gt}-element`,{[`${gt}-active`]:Ye},qe,dt,Rt);return st(Me.createElement("div",{className:hn},Me.createElement("div",{className:Ce()(`${gt}-image`,qe),style:He},Me.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${gt}-image-svg`},Me.createElement("path",{d:Te,className:`${gt}-image-path`})))))},it=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,active:He,block:Ye,size:Pt="default"}=ce,{getPrefixCls:gt}=Me.useContext(rt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=(0,ze.Z)(ce,["prefixCls"]),sn=Ce()(st,`${st}-element`,{[`${st}-active`]:He,[`${st}-block`]:Ye},qe,dt,hn);return Rt(Me.createElement("div",{className:sn},Me.createElement(ve,Object.assign({prefixCls:`${st}-input`,size:Pt},It))))},ot=Be(60499),St={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"},lt=St,vt=Be(7657),ut=function(Se,qe){return Me.createElement(vt.Z,(0,ot.Z)({},Se,{ref:qe,icon:lt}))},at=Me.forwardRef(ut),Kt=at,mt=ce=>{const{prefixCls:Se,className:qe,rootClassName:dt,style:He,active:Ye,children:Pt}=ce,{getPrefixCls:gt}=Me.useContext(rt.E_),st=gt("skeleton",Se),[Rt,hn]=Pe(st),It=Ce()(st,`${st}-element`,{[`${st}-active`]:Ye},hn,qe,dt),sn=Pt!=null?Pt:Me.createElement(Kt,null);return Rt(Me.createElement("div",{className:It},Me.createElement("div",{className:Ce()(`${st}-image`,qe),style:He},sn)))},Tt=Be(77654),Qn=ce=>{const Se=gt=>{const{width:st,rows:Rt=2}=ce;if(Array.isArray(st))return st[gt];if(Rt-1===gt)return st},{prefixCls:qe,className:dt,style:He,rows:Ye}=ce,Pt=(0,Tt.Z)(Array(Ye)).map((gt,st)=>Me.createElement("li",{key:st,style:{width:Se(st)}}));return Me.createElement("ul",{className:Ce()(qe,dt),style:He},Pt)},Tn=ce=>{let{prefixCls:Se,className:qe,width:dt,style:He}=ce;return Me.createElement("h3",{className:Ce()(Se,qe),style:Object.assign({width:dt},He)})};function Bt(ce){return ce&&typeof ce=="object"?ce:{}}function Rn(ce,Se){return ce&&!Se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function $n(ce,Se){return!ce&&Se?{width:"38%"}:ce&&Se?{width:"50%"}:{}}function Xe(ce,Se){const qe={};return(!ce||!Se)&&(qe.width="61%"),!ce&&Se?qe.rows=3:qe.rows=2,qe}const fn=ce=>{const{prefixCls:Se,loading:qe,className:dt,rootClassName:He,style:Ye,children:Pt,avatar:gt=!1,title:st=!0,paragraph:Rt=!0,active:hn,round:It}=ce,{getPrefixCls:sn,direction:Ft,skeleton:yn}=Me.useContext(rt.E_),At=sn("skeleton",Se),[qt,gn]=Pe(At);if(qe||!("loading"in ce)){const pn=!!gt,Yn=!!st,ir=!!Rt;let yr;if(pn){const ar=Object.assign(Object.assign({prefixCls:`${At}-avatar`},Rn(Yn,ir)),Bt(gt));yr=Me.createElement("div",{className:`${At}-header`},Me.createElement(ve,Object.assign({},ar)))}let br;if(Yn||ir){let ar;if(Yn){const Cr=Object.assign(Object.assign({prefixCls:`${At}-title`},$n(pn,ir)),Bt(st));ar=Me.createElement(Tn,Object.assign({},Cr))}let Ar;if(ir){const Cr=Object.assign(Object.assign({prefixCls:`${At}-paragraph`},Xe(pn,Yn)),Bt(Rt));Ar=Me.createElement(Qn,Object.assign({},Cr))}br=Me.createElement("div",{className:`${At}-content`},ar,Ar)}const lr=Ce()(At,{[`${At}-with-avatar`]:pn,[`${At}-active`]:hn,[`${At}-rtl`]:Ft==="rtl",[`${At}-round`]:It},yn==null?void 0:yn.className,dt,He,gn);return qt(Me.createElement("div",{className:lr,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Ye)},yr,br))}return typeof Pt!="undefined"?Pt:null};fn.Button=tt,fn.Avatar=Ge,fn.Input=it,fn.Image=Qe,fn.Node=mt;var Fe=fn,fe=Fe},31797:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return Pe}});var me=Be(59301),Ce=Be(56762),Me=Be(92343),rt=Be(92310),ze=Be.n(rt),je=Be(36355),ve=Be(61621),Ne=Ue=>{const{value:Ge,formatter:Ze,precision:tt,decimalSeparator:Te,groupSeparator:pt="",prefixCls:Qe}=Ue;let Lt;if(typeof Ze=="function")Lt=Ze(Ge);else{const it=String(Ge),ot=it.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||it==="-")Lt=it;else{const St=ot[1];let lt=ot[2]||"0",vt=ot[4]||"";lt=lt.replace(/\B(?=(\d{3})+(?!\d))/g,pt),typeof tt=="number"&&(vt=vt.padEnd(tt,"0").slice(0,tt>0?tt:0)),vt&&(vt=`${Te}${vt}`),Lt=[me.createElement("span",{key:"int",className:`${Qe}-content-value-int`},St,lt),vt&&me.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},vt)]}}return me.createElement("span",{className:`${Qe}-content-value`},Lt)},ge=Be(17313),De=Be(83116),xe=Be(37613);const Ee=Ue=>{const{componentCls:Ge,marginXXS:Ze,padding:tt,colorTextDescription:Te,titleFontSize:pt,colorTextHeading:Qe,contentFontSize:Lt,fontFamily:it}=Ue;return{[`${Ge}`]:Object.assign(Object.assign({},(0,ge.Wf)(Ue)),{[`${Ge}-title`]:{marginBottom:Ze,color:Te,fontSize:pt},[`${Ge}-skeleton`]:{paddingTop:tt},[`${Ge}-content`]:{color:Qe,fontSize:Lt,fontFamily:it,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:Ze},[`${Ge}-content-suffix`]:{marginInlineStart:Ze}}})}};var ie=(0,De.Z)("Statistic",Ue=>{const Ge=(0,xe.TS)(Ue,{});return[Ee(Ge)]},Ue=>{const{fontSizeHeading3:Ge,fontSize:Ze}=Ue;return{titleFontSize:Ze,contentFontSize:Ge}}),a=Ue=>{const{prefixCls:Ge,className:Ze,rootClassName:tt,style:Te,valueStyle:pt,value:Qe=0,title:Lt,valueRender:it,prefix:ot,suffix:St,loading:lt=!1,onMouseEnter:vt,onMouseLeave:ut,decimalSeparator:at=".",groupSeparator:Kt=","}=Ue,{getPrefixCls:Vt,direction:mt,statistic:Tt}=me.useContext(je.E_),wn=Vt("statistic",Ge),[Qn,un]=ie(wn),Tn=me.createElement(Ne,Object.assign({decimalSeparator:at,groupSeparator:Kt,prefixCls:wn},Ue,{value:Qe})),Bt=ze()(wn,{[`${wn}-rtl`]:mt==="rtl"},Tt==null?void 0:Tt.className,Ze,tt,un);return Qn(me.createElement("div",{className:Bt,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Te),onMouseEnter:vt,onMouseLeave:ut},Lt&&me.createElement("div",{className:`${wn}-title`},Lt),me.createElement(ve.Z,{paragraph:!1,loading:lt,className:`${wn}-skeleton`},me.createElement("div",{style:pt,className:`${wn}-content`},ot&&me.createElement("span",{className:`${wn}-content-prefix`},ot),it?it(Tn):Tn,St&&me.createElement("span",{className:`${wn}-content-suffix`},St)))))};const ee=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(Ue,Ge){let Ze=Ue;const tt=/\[[^\]]*]/g,Te=(Ge.match(tt)||[]).map(it=>it.slice(1,-1)),pt=Ge.replace(tt,"[]"),Qe=ee.reduce((it,ot)=>{let[St,lt]=ot;if(it.includes(St)){const vt=Math.floor(Ze/lt);return Ze-=vt*lt,it.replace(new RegExp(`${St}+`,"g"),ut=>{const at=ut.length;return vt.toString().padStart(at,"0")})}return it},pt);let Lt=0;return Qe.replace(tt,()=>{const it=Te[Lt];return Lt+=1,it})}function te(Ue,Ge){const{format:Ze=""}=Ge,tt=new Date(Ue).getTime(),Te=Date.now(),pt=Math.max(tt-Te,0);return E(pt,Ze)}const ne=1e3/30;function ae(Ue){return new Date(Ue).getTime()}const de=Ue=>{const{value:Ge,format:Ze="HH:mm:ss",onChange:tt,onFinish:Te}=Ue,pt=(0,Ce.Z)(),Qe=me.useRef(null),Lt=()=>{Te==null||Te(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},it=()=>{const lt=ae(Ge);lt>=Date.now()&&(Qe.current=setInterval(()=>{pt(),tt==null||tt(lt-Date.now()),lt(it(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ge]);const ot=(lt,vt)=>te(lt,Object.assign(Object.assign({},vt),{format:Ze})),St=lt=>(0,Me.Tm)(lt,{title:void 0});return me.createElement(a,Object.assign({},Ue,{valueRender:St,formatter:ot}))};var Le=me.memo(de);a.Countdown=Le;var Pe=a},15969:function(Yt,Dt,Be){"use strict";Be.d(Dt,{N:function(){return me}});const me=Ce=>({color:Ce.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ce.motionDurationSlow}`,"&:focus, &:hover":{color:Ce.colorLinkHover},"&:active":{color:Ce.colorLinkActive}})},1710:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return r0}});var me={},Ce="rc-table-internal-hook",Me=Be(72190),rt=Be(6089),ze=Be(34280),je=Be(13697),ve=Be(59301),we=Be(4676);function Ne(Je){var et=ve.createContext(void 0),Ct=function($t){var en=$t.value,bn=$t.children,En=ve.useRef(en);En.current=en;var vn=ve.useState(function(){return{getValue:function(){return En.current},listeners:new Set}}),_n=(0,Me.Z)(vn,1),Xn=_n[0];return(0,ze.Z)(function(){(0,we.unstable_batchedUpdates)(function(){Xn.listeners.forEach(function(Kn){Kn(en)})})},[en]),ve.createElement(et.Provider,{value:Xn},bn)};return{Context:et,Provider:Ct,defaultValue:Je}}function ge(Je,et){var Ct=(0,rt.Z)(typeof et=="function"?et:function(Kn){if(et===void 0)return Kn;if(!Array.isArray(et))return Kn[et];var Sr={};return et.forEach(function(hr){Sr[hr]=Kn[hr]}),Sr}),kt=ve.useContext(Je==null?void 0:Je.Context),$t=kt||{},en=$t.listeners,bn=$t.getValue,En=ve.useRef();En.current=Ct(kt?bn():Je==null?void 0:Je.defaultValue);var vn=ve.useState({}),_n=(0,Me.Z)(vn,2),Xn=_n[1];return(0,ze.Z)(function(){if(!kt)return;function Kn(Sr){var hr=Ct(Sr);(0,je.Z)(En.current,hr,!0)||Xn({})}return en.add(Kn),function(){en.delete(Kn)}},[kt]),En.current}var De=Be(60499),xe=Be(8654);function Ee(){var Je=ve.createContext(null);function et(){return ve.useContext(Je)}function Ct($t,en){var bn=(0,xe.Yr)($t),En=function(_n,Xn){var Kn=bn?{ref:Xn}:{},Sr=ve.useRef(0),hr=ve.useRef(_n),vr=et();return vr!==null?ve.createElement($t,(0,De.Z)({},_n,Kn)):((!en||en(hr.current,_n))&&(Sr.current+=1),hr.current=_n,ve.createElement(Je.Provider,{value:Sr.current},ve.createElement($t,(0,De.Z)({},_n,Kn))))};return bn?ve.forwardRef(En):En}function kt($t,en){var bn=(0,xe.Yr)($t),En=function(_n,Xn){var Kn=bn?{ref:Xn}:{};return et(),ve.createElement($t,(0,De.Z)({},_n,Kn))};return bn?ve.memo(ve.forwardRef(En),en):ve.memo(En,en)}return{makeImmutable:Ct,responseImmutable:kt,useImmutableMark:et}}var ie=Ee(),y=ie.makeImmutable,a=ie.responseImmutable,ee=ie.useImmutableMark,E=Ee(),te=E.makeImmutable,ne=E.responseImmutable,ae=E.useImmutableMark,de=Ne(),Le=de;function Pe(Je,et){var Ct=ve.useRef(0);Ct.current+=1;var kt=ve.useRef(Je),$t=[];Object.keys(Je||{}).map(function(bn){var En;(Je==null?void 0:Je[bn])!==((En=kt.current)===null||En===void 0?void 0:En[bn])&&$t.push(bn)}),kt.current=Je;var en=ve.useRef([]);return $t.length&&(en.current=$t),ve.useDebugValue(Ct.current),ve.useDebugValue(en.current.join(", ")),et&&console.log("".concat(et,":"),Ct.current,en.current),Ct.current}var Ue=null,Ge=ve.memo(function(){var Je=Pe();return ve.createElement("h1",null,"Render Times: ",Je)});Ge.displayName="RenderBlock";var Ze=Be(43749),tt=Be(85899),Te=Be(18642),pt=Be(92310),Qe=Be.n(pt),Lt=Be(80547),it=Be(97938),ot=Be(48736),St=ve.createContext({renderWithProps:!1}),lt=St,vt="RC_TABLE_KEY";function ut(Je){return Je==null?[]:Array.isArray(Je)?Je:[Je]}function at(Je){var et=[],Ct={};return Je.forEach(function(kt){for(var $t=kt||{},en=$t.key,bn=$t.dataIndex,En=en||ut(bn).join("-")||vt;Ct[En];)En="".concat(En,"_next");Ct[En]=!0,et.push(En)}),et}function Kt(Je){return Je!=null}function Vt(Je){return Je&&(0,Ze.Z)(Je)==="object"&&!Array.isArray(Je)&&!ve.isValidElement(Je)}function mt(Je,et,Ct,kt,$t,en){var bn=ve.useContext(lt),En=ae(),vn=(0,Lt.Z)(function(){if(Kt(kt))return[kt];var _n=et==null||et===""?[]:Array.isArray(et)?et:[et],Xn=(0,it.Z)(Je,_n),Kn=Xn,Sr=void 0;if($t){var hr=$t(Xn,Je,Ct);Vt(hr)?(Kn=hr.children,Sr=hr.props,bn.renderWithProps=!0):Kn=hr}return[Kn,Sr]},[En,Je,kt,et,$t,Ct],function(_n,Xn){if(en){var Kn=(0,Me.Z)(_n,2),Sr=Kn[1],hr=(0,Me.Z)(Xn,2),vr=hr[1];return en(vr,Sr)}return bn.renderWithProps?!0:!(0,je.Z)(_n,Xn,!0)});return vn}function Tt(Je,et,Ct,kt){var $t=Je+et-1;return Je<=kt&&$t>=Ct}function wn(Je,et){return ge(Le,function(Ct){var kt=Tt(Je,et||1,Ct.hoverStartRow,Ct.hoverEndRow);return[kt,Ct.onHover]})}var Qn=function(et){var Ct=et.ellipsis,kt=et.rowType,$t=et.children,en,bn=Ct===!0?{showTitle:!0}:Ct;return bn&&(bn.showTitle||kt==="header")&&(typeof $t=="string"||typeof $t=="number"?en=$t.toString():ve.isValidElement($t)&&typeof $t.props.children=="string"&&(en=$t.props.children)),en};function un(Je){var et,Ct,kt,$t,en,bn,En,vn,_n=Je.component,Xn=Je.children,Kn=Je.ellipsis,Sr=Je.scope,hr=Je.prefixCls,vr=Je.className,Jr=Je.align,Hr=Je.record,Zr=Je.render,_r=Je.dataIndex,sa=Je.renderIndex,ka=Je.shouldCellUpdate,_a=Je.index,Ba=Je.rowType,$a=Je.colSpan,bo=Je.rowSpan,ua=Je.fixLeft,Sa=Je.fixRight,da=Je.firstFixLeft,oa=Je.lastFixLeft,pa=Je.firstFixRight,Za=Je.lastFixRight,_o=Je.appendNode,wo=Je.additionalProps,za=wo===void 0?{}:wo,Uo=Je.isSticky,ti="".concat(hr,"-cell"),$i=ge(Le,["supportSticky","allColumnsFixedLeft"]),Bi=$i.supportSticky,hs=$i.allColumnsFixedLeft,Qs=mt(Hr,_r,sa,Xn,Zr,ka),xo=(0,Me.Z)(Qs,2),sA=xo[0],Fi=xo[1],es={},rs=typeof ua=="number"&&Bi,dl=typeof Sa=="number"&&Bi;rs&&(es.position="sticky",es.left=ua),dl&&(es.position="sticky",es.right=Sa);var fa=(et=(Ct=(kt=Fi==null?void 0:Fi.colSpan)!==null&&kt!==void 0?kt:za.colSpan)!==null&&Ct!==void 0?Ct:$a)!==null&&et!==void 0?et:1,Xa=($t=(en=(bn=Fi==null?void 0:Fi.rowSpan)!==null&&bn!==void 0?bn:za.rowSpan)!==null&&en!==void 0?en:bo)!==null&&$t!==void 0?$t:1,Va=wn(_a,Xa),Ia=(0,Me.Z)(Va,2),Li=Ia[0],Na=Ia[1],mo=function(na){var al;Hr&&Na(_a,_a+Xa-1),za==null||(al=za.onMouseEnter)===null||al===void 0||al.call(za,na)},oi=function(na){var al;Hr&&Na(-1,-1),za==null||(al=za.onMouseLeave)===null||al===void 0||al.call(za,na)};if(fa===0||Xa===0)return null;var Ai=(En=za.title)!==null&&En!==void 0?En:Qn({rowType:Ba,ellipsis:Kn,children:sA}),XA=Qe()(ti,vr,(vn={},(0,Te.Z)(vn,"".concat(ti,"-fix-left"),rs&&Bi),(0,Te.Z)(vn,"".concat(ti,"-fix-left-first"),da&&Bi),(0,Te.Z)(vn,"".concat(ti,"-fix-left-last"),oa&&Bi),(0,Te.Z)(vn,"".concat(ti,"-fix-left-all"),oa&&hs&&Bi),(0,Te.Z)(vn,"".concat(ti,"-fix-right"),dl&&Bi),(0,Te.Z)(vn,"".concat(ti,"-fix-right-first"),pa&&Bi),(0,Te.Z)(vn,"".concat(ti,"-fix-right-last"),Za&&Bi),(0,Te.Z)(vn,"".concat(ti,"-ellipsis"),Kn),(0,Te.Z)(vn,"".concat(ti,"-with-append"),_o),(0,Te.Z)(vn,"".concat(ti,"-fix-sticky"),(rs||dl)&&Uo&&Bi),(0,Te.Z)(vn,"".concat(ti,"-row-hover"),!Fi&&Li),vn),za.className,Fi==null?void 0:Fi.className),tA={};Jr&&(tA.textAlign=Jr);var su=(0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)({},es),za.style),tA),Fi==null?void 0:Fi.style),nA=sA;return(0,Ze.Z)(nA)==="object"&&!Array.isArray(nA)&&!ve.isValidElement(nA)&&(nA=null),Kn&&(oa||pa)&&(nA=ve.createElement("span",{className:"".concat(ti,"-content")},nA)),ve.createElement(_n,(0,De.Z)({},Fi,za,{className:XA,style:su,title:Ai,scope:Sr,onMouseEnter:mo,onMouseLeave:oi,colSpan:fa!==1?fa:null,rowSpan:Xa!==1?Xa:null}),_o,nA)}var Tn=ve.memo(un);function Bt(Je,et,Ct,kt,$t,en){var bn=Ct[Je]||{},En=Ct[et]||{},vn,_n;bn.fixed==="left"?vn=kt.left[$t==="rtl"?et:Je]:En.fixed==="right"&&(_n=kt.right[$t==="rtl"?Je:et]);var Xn=!1,Kn=!1,Sr=!1,hr=!1,vr=Ct[et+1],Jr=Ct[Je-1],Hr=!(en!=null&&en.children);if($t==="rtl"){if(vn!==void 0){var Zr=Jr&&Jr.fixed==="left";hr=!Zr&&Hr}else if(_n!==void 0){var _r=vr&&vr.fixed==="right";Sr=!_r&&Hr}}else if(vn!==void 0){var sa=vr&&vr.fixed==="left";Xn=!sa&&Hr}else if(_n!==void 0){var ka=Jr&&Jr.fixed==="right";Kn=!ka&&Hr}return{fixLeft:vn,fixRight:_n,lastFixLeft:Xn,firstFixRight:Kn,lastFixRight:Sr,firstFixLeft:hr,isSticky:kt.isSticky}}var Rn=ve.createContext({}),$n=Rn;function Xe(Je){var et=Je.className,Ct=Je.index,kt=Je.children,$t=Je.colSpan,en=$t===void 0?1:$t,bn=Je.rowSpan,En=Je.align,vn=ge(Le,["prefixCls","direction"]),_n=vn.prefixCls,Xn=vn.direction,Kn=ve.useContext($n),Sr=Kn.scrollColumnIndex,hr=Kn.stickyOffsets,vr=Kn.flattenColumns,Jr=Kn.columns,Hr=Ct+en-1,Zr=Hr+1===Sr?en+1:en,_r=Bt(Ct,Ct+Zr-1,vr,hr,Xn,Jr==null?void 0:Jr[Ct]);return ve.createElement(Tn,(0,De.Z)({className:et,index:Ct,component:"td",prefixCls:_n,record:null,dataIndex:null,align:En,colSpan:Zr,rowSpan:bn,render:function(){return kt}},_r))}var fn=Be(42244),Fe=["children"];function fe(Je){var et=Je.children,Ct=(0,fn.Z)(Je,Fe);return ve.createElement("tr",Ct,et)}function ce(Je){var et=Je.children;return et}ce.Row=fe,ce.Cell=Xe;var Se=ce;function qe(Je){var et=Je.children,Ct=Je.stickyOffsets,kt=Je.flattenColumns,$t=Je.columns,en=ge(Le,"prefixCls"),bn=kt.length-1,En=kt[bn],vn=ve.useMemo(function(){return{stickyOffsets:Ct,flattenColumns:kt,scrollColumnIndex:En!=null&&En.scrollbar?bn:null,columns:$t}},[En,kt,bn,Ct,$t]);return ve.createElement($n.Provider,{value:vn},ve.createElement("tfoot",{className:"".concat(en,"-summary")},et))}var dt=ne(qe),He=Se,Ye=Be(70425),Pt=Be(29301),gt=Be(29194),st=Be(24514),Rt=Be(75152),hn=Be(26112);function It(Je,et,Ct,kt,$t,en,bn){Je.push({record:et,indent:Ct,index:bn});var En=en(et),vn=$t==null?void 0:$t.has(En);if(et&&Array.isArray(et[kt])&&vn)for(var _n=0;_n1?da-1:0),pa=1;pa=0;En-=1){var vn=et[En],_n=Ct&&Ct[En],Xn=_n&&_n[ar];if(vn||Xn||bn){var Kn=Xn||{},Sr=Kn.columnType,hr=(0,fn.Z)(Kn,Cr);$t.unshift(ve.createElement("col",(0,De.Z)({key:En,style:{width:vn}},hr))),bn=!0}}return ve.createElement("colgroup",null,$t)}var wa=ea,kr=Be(77654),Ja=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Wa(Je,et){return(0,ve.useMemo)(function(){for(var Ct=[],kt=0;kt1?"colgroup":"col":null,ellipsis:Hr.ellipsis,align:Hr.align,component:Hr.title?en:bn,prefixCls:Xn,key:hr[Jr]},Zr,{additionalProps:_r,rowType:"header"}))}))}ri.displayName="HeaderRow";var Bo=ri;function gi(Je){var et=[];function Ct(bn,En){var vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[vn]=et[vn]||[];var _n=En,Xn=bn.filter(Boolean).map(function(Kn){var Sr={key:Kn.key,className:Kn.className||"",children:Kn.title,column:Kn,colStart:_n},hr=1,vr=Kn.children;return vr&&vr.length>0&&(hr=Ct(vr,_n,vn+1).reduce(function(Jr,Hr){return Jr+Hr},0),Sr.hasSubColumns=!0),"colSpan"in Kn&&(hr=Kn.colSpan),"rowSpan"in Kn&&(Sr.rowSpan=Kn.rowSpan),Sr.colSpan=hr,Sr.colEnd=Sr.colStart+hr-1,et[vn].push(Sr),_n+=hr,hr});return Xn}Ct(Je,0);for(var kt=et.length,$t=function(En){et[En].forEach(function(vn){!("rowSpan"in vn)&&!vn.hasSubColumns&&(vn.rowSpan=kt-En)})},en=0;en1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Je*parseFloat(et)/100:null}function ai(Je,et){return ve.useMemo(function(){if(et&&et>0){var Ct=0,kt=0;Je.forEach(function(_n){var Xn=Gi(et,_n.width);Xn?Ct+=Xn:kt+=1});var $t=et-Ct,en=kt,bn=$t/kt,En=0,vn=Je.map(function(_n){var Xn=(0,tt.Z)({},_n),Kn=Gi(et,Xn.width);if(Kn)Xn.width=Kn;else{var Sr=Math.floor(bn);Xn.width=en===1?$t:Sr,$t-=Sr,en-=1}return En+=Xn.width,Xn});return[vn,En]}return[Je,et]},[Je,et])}var Pn=["children"],On=["fixed"];function dn(Je){return(0,Mi.Z)(Je).filter(function(et){return ve.isValidElement(et)}).map(function(et){var Ct=et.key,kt=et.props,$t=kt.children,en=(0,fn.Z)(kt,Pn),bn=(0,tt.Z)({key:Ct},en);return $t&&(bn.children=dn($t)),bn})}function Qr(Je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Je.filter(function(Ct){return Ct&&(0,Ze.Z)(Ct)==="object"}).reduce(function(Ct,kt,$t){var en=kt.fixed,bn=en===!0?"left":en,En="".concat(et,"-").concat($t),vn=kt.children;return vn&&vn.length>0?[].concat((0,kr.Z)(Ct),(0,kr.Z)(Qr(vn,En).map(function(_n){return(0,tt.Z)({fixed:bn},_n)}))):[].concat((0,kr.Z)(Ct),[(0,tt.Z)((0,tt.Z)({key:En},kt),{},{fixed:bn})])},[])}function la(Je){for(var et=!0,Ct=0;Ct=0;en-=1){var bn=Je[en];if($t&&bn.fixed!=="right")$t=!1;else if(!$t&&bn.fixed==="right"){warning(!1,"Index ".concat(en+1," of `columns` missing `fixed='right'` prop."));break}}}function Dr(Je){return Je.map(function(et){var Ct=et.fixed,kt=(0,fn.Z)(et,On),$t=Ct;return Ct==="left"?$t="right":Ct==="right"&&($t="left"),(0,tt.Z)({fixed:$t},kt)})}function va(Je,et){var Ct=Je.prefixCls,kt=Je.columns,$t=Je.children,en=Je.expandable,bn=Je.expandedKeys,En=Je.columnTitle,vn=Je.getRowKey,_n=Je.onTriggerExpand,Xn=Je.expandIcon,Kn=Je.rowExpandable,Sr=Je.expandIconColumnIndex,hr=Je.direction,vr=Je.expandRowByClick,Jr=Je.columnWidth,Hr=Je.fixed,Zr=Je.scrollWidth,_r=ve.useMemo(function(){return kt||dn($t)},[kt,$t]),sa=ve.useMemo(function(){if(en){var Sa,da=_r.slice();if(!da.includes(me)){var oa=Sr||0;oa>=0&&da.splice(oa,0,me)}var pa=da.indexOf(me);da=da.filter(function(za,Uo){return za!==me||Uo===pa});var Za=_r[pa],_o;(Hr==="left"||Hr)&&!Sr?_o="left":(Hr==="right"||Hr)&&Sr===_r.length?_o="right":_o=Za?Za.fixed:null;var wo=(Sa={},(0,Te.Z)(Sa,ar,{className:"".concat(Ct,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Te.Z)(Sa,"title",En),(0,Te.Z)(Sa,"fixed",_o),(0,Te.Z)(Sa,"className","".concat(Ct,"-row-expand-icon-cell")),(0,Te.Z)(Sa,"width",Jr),(0,Te.Z)(Sa,"render",function(Uo,ti,$i){var Bi=vn(ti,$i),hs=bn.has(Bi),Qs=Kn?Kn(ti):!0,xo=Xn({prefixCls:Ct,expanded:hs,expandable:Qs,record:ti,onExpand:_n});return vr?ve.createElement("span",{onClick:function(Fi){return Fi.stopPropagation()}},xo):xo}),Sa);return da.map(function(za){return za===me?wo:za})}return _r.filter(function(za){return za!==me})},[en,_r,vn,bn,Xn,hr]),ka=ve.useMemo(function(){var Sa=sa;return et&&(Sa=et(Sa)),Sa.length||(Sa=[{render:function(){return null}}]),Sa},[et,sa,hr]),_a=ve.useMemo(function(){return hr==="rtl"?Dr(Qr(ka)):Qr(ka)},[ka,hr,Zr]),Ba=ai(_a,Zr),$a=(0,Me.Z)(Ba,2),bo=$a[0],ua=$a[1];return[ka,bo,ua]}var Ha=va;function xa(Je){var et,Ct=Je.prefixCls,kt=Je.record,$t=Je.onExpand,en=Je.expanded,bn=Je.expandable,En="".concat(Ct,"-row-expand-icon");if(!bn)return ve.createElement("span",{className:Qe()(En,"".concat(Ct,"-row-spaced"))});var vn=function(Xn){$t(kt,Xn),Xn.stopPropagation()};return ve.createElement("span",{className:Qe()(En,(et={},(0,Te.Z)(et,"".concat(Ct,"-row-expanded"),en),(0,Te.Z)(et,"".concat(Ct,"-row-collapsed"),!en),et)),onClick:vn})}function So(Je,et,Ct){var kt=[];function $t(en){(en||[]).forEach(function(bn,En){kt.push(et(bn,En)),$t(bn[Ct])})}return $t(Je),kt}function Wi(Je,et,Ct){var kt=Ar(Je),$t=kt.expandIcon,en=kt.expandedRowKeys,bn=kt.defaultExpandedRowKeys,En=kt.defaultExpandAllRows,vn=kt.expandedRowRender,_n=kt.onExpand,Xn=kt.onExpandedRowsChange,Kn=kt.childrenColumnName,Sr=$t||xa,hr=Kn||"children",vr=ve.useMemo(function(){return vn?"row":Je.expandable&&Je.internalHooks===Ce&&Je.expandable.__PARENT_RENDER_ICON__||et.some(function(_a){return _a&&(0,Ze.Z)(_a)==="object"&&_a[hr]})?"nest":!1},[!!vn,et]),Jr=ve.useState(function(){return bn||(En?So(et,Ct,hr):[])}),Hr=(0,Me.Z)(Jr,2),Zr=Hr[0],_r=Hr[1],sa=ve.useMemo(function(){return new Set(en||Zr||[])},[en,Zr]),ka=ve.useCallback(function(_a){var Ba=Ct(_a,et.indexOf(_a)),$a,bo=sa.has(Ba);bo?(sa.delete(Ba),$a=(0,kr.Z)(sa)):$a=[].concat((0,kr.Z)(sa),[Ba]),_r($a),_n&&_n(!bo,_a),Xn&&Xn($a)},[Ct,sa,et,_n,Xn]);return[kt,vr,sa,Sr,hr,ka]}function xr(Je,et,Ct,kt){var $t=Je.map(function(en,bn){return Bt(bn,bn,Je,et,Ct,kt==null?void 0:kt[bn])});return(0,Lt.Z)(function(){return $t},[$t],function(en,bn){return!(0,je.Z)(en,bn)})}function ja(Je){var et=(0,ve.useRef)(Je),Ct=(0,ve.useState)({}),kt=(0,Me.Z)(Ct,2),$t=kt[1],en=(0,ve.useRef)(null),bn=(0,ve.useRef)([]);function En(vn){bn.current.push(vn);var _n=Promise.resolve();en.current=_n,_n.then(function(){if(en.current===_n){var Xn=bn.current,Kn=et.current;bn.current=[],Xn.forEach(function(Sr){et.current=Sr(et.current)}),en.current=null,Kn!==et.current&&$t({})}})}return(0,ve.useEffect)(function(){return function(){en.current=null}},[]),[et.current,En]}function Ei(Je){var et=(0,ve.useRef)(Je||null),Ct=(0,ve.useRef)();function kt(){window.clearTimeout(Ct.current)}function $t(bn){et.current=bn,kt(),Ct.current=window.setTimeout(function(){et.current=null,Ct.current=void 0},100)}function en(){return et.current}return(0,ve.useEffect)(function(){return kt},[]),[$t,en]}function ii(){var Je=ve.useState(-1),et=(0,Me.Z)(Je,2),Ct=et[0],kt=et[1],$t=ve.useState(-1),en=(0,Me.Z)($t,2),bn=en[0],En=en[1],vn=ve.useCallback(function(_n,Xn){kt(_n),En(Xn)},[]);return[Ct,bn,vn]}var fi=Be(47273),Lo=(0,fi.Z)()?window:null;function ss(Je,et){var Ct=(0,Ze.Z)(Je)==="object"?Je:{},kt=Ct.offsetHeader,$t=kt===void 0?0:kt,en=Ct.offsetSummary,bn=en===void 0?0:en,En=Ct.offsetScroll,vn=En===void 0?0:En,_n=Ct.getContainer,Xn=_n===void 0?function(){return Lo}:_n,Kn=Xn()||Lo;return ve.useMemo(function(){var Sr=!!Je;return{isSticky:Sr,stickyClassName:Sr?"".concat(et,"-sticky-holder"):"",offsetHeader:$t,offsetSummary:bn,offsetScroll:vn,container:Kn}},[vn,$t,bn,et,Kn])}function Ms(Je,et,Ct){var kt=(0,ve.useMemo)(function(){for(var $t=[],en=[],bn=0,En=0,vn=0;vn=Kn&&(za=Kn-Sr),bn({scrollLeft:za/Kn*(Xn+2)}),_r.current.x=pa.pageX},Sa=function(){if(en.current){var pa=(0,CA.os)(en.current).top,Za=pa+en.current.offsetHeight,_o=vn===window?document.documentElement.scrollTop+window.innerHeight:(0,CA.os)(vn).top+vn.clientHeight;Za-(0,Rt.Z)()<=_o||pa>=_o-En?Zr(function(wo){return(0,tt.Z)((0,tt.Z)({},wo),{},{isHiddenScrollBar:!0})}):Zr(function(wo){return(0,tt.Z)((0,tt.Z)({},wo),{},{isHiddenScrollBar:!1})})}},da=function(pa){Zr(function(Za){return(0,tt.Z)((0,tt.Z)({},Za),{},{scrollLeft:pa/Xn*Kn||0})})};return ve.useImperativeHandle(Ct,function(){return{setScrollLeft:da}}),ve.useEffect(function(){var oa=(0,Ui.Z)(document.body,"mouseup",$a,!1),pa=(0,Ui.Z)(document.body,"mousemove",ua,!1);return Sa(),function(){oa.remove(),pa.remove()}},[Sr,_a]),ve.useEffect(function(){var oa=(0,Ui.Z)(vn,"scroll",Sa,!1),pa=(0,Ui.Z)(window,"resize",Sa,!1);return function(){oa.remove(),pa.remove()}},[vn]),ve.useEffect(function(){Hr.isHiddenScrollBar||Zr(function(oa){var pa=en.current;return pa?(0,tt.Z)((0,tt.Z)({},oa),{},{scrollLeft:pa.scrollLeft/pa.scrollWidth*pa.clientWidth}):oa})},[Hr.isHiddenScrollBar]),Xn<=Kn||!Sr||Hr.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,Rt.Z)(),width:Kn,bottom:En},className:"".concat(_n,"-sticky-scroll")},ve.createElement("div",{onMouseDown:bo,ref:hr,className:Qe()("".concat(_n,"-sticky-scroll-bar"),(0,Te.Z)({},"".concat(_n,"-sticky-scroll-bar-active"),_a)),style:{width:"".concat(Sr,"px"),transform:"translate3d(".concat(Hr.scrollLeft,"px, 0, 0)")}}))},dA=ve.forwardRef(yl);function Ur(Je){return null}var _c=Ur;function gu(Je){return null}var fu=gu,Sl="rc-table",Vr=[],Ma={};function To(){return"No Data"}function Ea(Je){var et,Ct=(0,tt.Z)({rowKey:"key",prefixCls:Sl,emptyText:To},Je),kt=Ct.prefixCls,$t=Ct.className,en=Ct.rowClassName,bn=Ct.style,En=Ct.data,vn=Ct.rowKey,_n=Ct.scroll,Xn=Ct.tableLayout,Kn=Ct.direction,Sr=Ct.title,hr=Ct.footer,vr=Ct.summary,Jr=Ct.caption,Hr=Ct.id,Zr=Ct.showHeader,_r=Ct.components,sa=Ct.emptyText,ka=Ct.onRow,_a=Ct.onHeaderRow,Ba=Ct.internalHooks,$a=Ct.transformColumns,bo=Ct.internalRefs,ua=Ct.tailor,Sa=Ct.sticky,da=En||Vr,oa=!!da.length,pa=Ba===Ce,Za=ve.useCallback(function(Qi,ds){return(0,it.Z)(_r,Qi)||ds},[_r]),_o=ve.useMemo(function(){return typeof vn=="function"?vn:function(Qi){var ds=Qi&&Qi[vn];return ds}},[vn]),wo=Za(["body"]),za=ii(),Uo=(0,Me.Z)(za,3),ti=Uo[0],$i=Uo[1],Bi=Uo[2],hs=Wi(Ct,da,_o),Qs=(0,Me.Z)(hs,6),xo=Qs[0],sA=Qs[1],Fi=Qs[2],es=Qs[3],rs=Qs[4],dl=Qs[5],fa=_n==null?void 0:_n.x,Xa=ve.useState(0),Va=(0,Me.Z)(Xa,2),Ia=Va[0],Li=Va[1],Na=Ha((0,tt.Z)((0,tt.Z)((0,tt.Z)({},Ct),xo),{},{expandable:!!xo.expandedRowRender,columnTitle:xo.columnTitle,expandedKeys:Fi,getRowKey:_o,onTriggerExpand:dl,expandIcon:es,expandIconColumnIndex:xo.expandIconColumnIndex,direction:Kn,scrollWidth:pa&&ua&&typeof fa=="number"?fa:null}),pa?$a:null),mo=(0,Me.Z)(Na,3),oi=mo[0],Ai=mo[1],XA=mo[2],tA=XA!=null?XA:fa,su=ve.useMemo(function(){return{columns:oi,flattenColumns:Ai}},[oi,Ai]),nA=ve.useRef(),Dl=ve.useRef(),na=ve.useRef(),al=ve.useRef(),yc=ve.useRef(),Ii=ve.useState(!1),ni=(0,Me.Z)(Ii,2),bs=ni[0],hA=ni[1],cs=ve.useState(!1),Ko=(0,Me.Z)(cs,2),JA=Ko[0],KA=Ko[1],gl=ja(new Map),ol=(0,Me.Z)(gl,2),il=ol[0],_l=ol[1],Mu=at(Ai),Kl=Mu.map(function(Qi){return il.get(Qi)}),ks=ve.useMemo(function(){return Kl},[Kl.join("_")]),QA=Ps(ks,Ai.length,Kn),AA=_n&&Kt(_n.y),Cs=_n&&Kt(tA)||!!xo.fixed,pu=Cs&&Ai.some(function(Qi){var ds=Qi.fixed;return ds}),Ou=ve.useRef(),_u=ss(Sa,kt),vu=_u.isSticky,Bd=_u.offsetHeader,Vd=_u.offsetSummary,li=_u.offsetScroll,as=_u.stickyClassName,kA=_u.container,ys=ve.useMemo(function(){return vr==null?void 0:vr(da)},[vr,da]),TA=(AA||vu)&&ve.isValidElement(ys)&&ys.type===Se&&ys.props.fixed,zA,Ts,Bu;AA&&(Ts={overflowY:"scroll",maxHeight:_n.y}),Cs&&(zA={overflowX:"auto"},AA||(Ts={overflowY:"hidden"}),Bu={width:tA===!0?"auto":tA,minWidth:"100%"});var wd=ve.useCallback(function(Qi,ds){(0,gt.Z)(nA.current)&&_l(function(Au){if(Au.get(Qi)!==ds){var ac=new Map(Au);return ac.set(Qi,ds),ac}return Au})},[]),yd=Ei(null),Yd=(0,Me.Z)(yd,2),Fg=Yd[0],Lg=Yd[1];function Xc(Qi,ds){ds&&(typeof ds=="function"?ds(Qi):ds.scrollLeft!==Qi&&(ds.scrollLeft=Qi,ds.scrollLeft!==Qi&&setTimeout(function(){ds.scrollLeft=Qi},0)))}var wu=(0,rt.Z)(function(Qi){var ds=Qi.currentTarget,Au=Qi.scrollLeft,ac=Kn==="rtl",oc=typeof Au=="number"?Au:ds.scrollLeft,xf=ds||Ma;if(!Lg()||Lg()===xf){var kg;Fg(xf),Xc(oc,Dl.current),Xc(oc,na.current),Xc(oc,yc.current),Xc(oc,(kg=Ou.current)===null||kg===void 0?void 0:kg.setScrollLeft)}var Tg=ds||Dl.current;if(Tg){var Rg=Tg.scrollWidth,jg=Tg.clientWidth;if(Rg===jg){hA(!1),KA(!1);return}ac?(hA(-oc0)):(hA(oc>0),KA(oc1?Jr-pa:0,_o=(0,tt.Z)((0,tt.Z)((0,tt.Z)({},$a),vn),{},{flex:"0 0 ".concat(pa,"px"),width:"".concat(pa,"px"),marginRight:Za,pointerEvents:"auto"}),wo=ve.useMemo(function(){return Xn?da<=1:ua===0||da===0||da>1},[da,ua,Xn]);wo?_o.visibility="hidden":Xn&&(_o.height=Kn==null?void 0:Kn(da));var za=wo?function(){return null}:Sr,Uo={};return(da===0||ua===0)&&(Uo.rowSpan=1,Uo.colSpan=1),ve.createElement(Tn,(0,De.Z)({className:Qe()(vr,_n),ellipsis:Ct.ellipsis,align:Ct.align,scope:Ct.rowScope,component:"div",prefixCls:et.prefixCls,key:sa,record:En,index:en,renderIndex:bn,dataIndex:hr,render:za,shouldCellUpdate:Ct.shouldCellUpdate},ka,{appendNode:_a,additionalProps:(0,tt.Z)((0,tt.Z)({},Ba),{},{style:_o},Uo)}))}var ju=vc,Fu=["data","index","className","rowKey","style","extra","getHeight"],bl=ve.forwardRef(function(Je,et){var Ct=Je.data,kt=Je.index,$t=Je.className,en=Je.rowKey,bn=Je.style,En=Je.extra,vn=Je.getHeight,_n=(0,fn.Z)(Je,Fu),Xn=Ct.record,Kn=Ct.indent,Sr=Ct.index,hr=ge(Le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),vr=hr.scrollX,Jr=hr.flattenColumns,Hr=hr.prefixCls,Zr=hr.fixColumn,_r=hr.componentWidth,sa=At(Xn,en,kt,Kn),ka=sa.rowSupportExpand,_a=sa.expanded,Ba=sa.rowProps,$a=sa.expandedRowRender,bo=sa.expandedRowClassName,ua;if(ka&&_a){var Sa=$a(Xn,kt,Kn+1,_a),da=bo==null?void 0:bo(Xn,kt,Kn),oa={};Zr&&(oa={style:(0,Te.Z)({},"--virtual-width","".concat(_r,"px"))});var pa="".concat(Hr,"-expanded-row-cell");ua=ve.createElement("div",{className:Qe()("".concat(Hr,"-expanded-row"),"".concat(Hr,"-expanded-row-level-").concat(Kn+1),da)},ve.createElement(Tn,{component:"div",prefixCls:Hr,className:Qe()(pa,(0,Te.Z)({},"".concat(pa,"-fixed"),Zr)),additionalProps:oa},Sa))}var Za=(0,tt.Z)((0,tt.Z)({},bn),{},{width:vr});En&&(Za.position="absolute",Za.pointerEvents="none");var _o=ve.createElement("div",(0,De.Z)({},Ba,_n,{ref:ka?null:et,className:Qe()($t,"".concat(Hr,"-row"),Ba==null?void 0:Ba.className,(0,Te.Z)({},"".concat(Hr,"-row-extra"),En)),style:(0,tt.Z)((0,tt.Z)({},Za),Ba==null?void 0:Ba.style)}),Jr.map(function(wo,za){return ve.createElement(ju,{key:za,rowInfo:sa,column:wo,colIndex:za,indent:Kn,index:kt,renderIndex:Sr,record:Xn,inverse:En,getHeight:vn})}));return ka?ve.createElement("div",{ref:et},_o,ua):_o}),Lu=ne(bl),Jl=Lu,Rl=ve.forwardRef(function(Je,et){var Ct=Je.data,kt=Je.onScroll,$t=ge(Le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),en=$t.flattenColumns,bn=$t.onColumnResize,En=$t.getRowKey,vn=$t.expandedKeys,_n=$t.prefixCls,Xn=$t.childrenColumnName,Kn=$t.emptyNode,Sr=$t.scrollX,hr=ge(PA),vr=hr.scrollY,Jr=hr.listItemHeight,Hr=ve.useRef(),Zr=sn(Ct,Xn,vn,En),_r=ve.useMemo(function(){var ua=0;return en.map(function(Sa){var da=Sa.width,oa=Sa.key;return ua+=da,[oa,da,ua]})},[en]),sa=ve.useMemo(function(){return _r.map(function(ua){return ua[2]})},[_r]);ve.useEffect(function(){_r.forEach(function(ua){var Sa=(0,Me.Z)(ua,2),da=Sa[0],oa=Sa[1];bn(da,oa)})},[_r]),ve.useImperativeHandle(et,function(){var ua={};return Object.defineProperty(ua,"scrollLeft",{get:function(){var da;return((da=Hr.current)===null||da===void 0?void 0:da.getScrollInfo().x)||0},set:function(da){var oa;(oa=Hr.current)===null||oa===void 0||oa.scrollTo({left:da})}}),ua});var ka=function(Sa,da){var oa,pa=(oa=Zr[da])===null||oa===void 0?void 0:oa.record,Za=Sa.onCell;if(Za){var _o,wo=Za(pa,da);return(_o=wo==null?void 0:wo.rowSpan)!==null&&_o!==void 0?_o:1}return 1},_a=function(Sa){var da=Sa.start,oa=Sa.end,pa=Sa.getSize,Za=Sa.offsetY;if(oa<0)return null;for(var _o=en.filter(function(fa){return ka(fa,da)===0}),wo=da,za=function(Xa){if(_o=_o.filter(function(Va){return ka(Va,Xa)===0}),!_o.length)return wo=Xa,"break"},Uo=da;Uo>=0;Uo-=1){var ti=za(Uo);if(ti==="break")break}for(var $i=en.filter(function(fa){return ka(fa,oa)!==1}),Bi=oa,hs=function(Xa){if($i=$i.filter(function(Va){return ka(Va,Xa)!==1}),!$i.length)return Bi=Math.max(Xa-1,oa),"break"},Qs=oa;Qs1})&&sA.push(Xa)},es=wo;es<=Bi;es+=1)var rs=Fi(es);var dl=sA.map(function(fa){var Xa=Zr[fa],Va=En(Xa.record,fa),Ia=function(mo){var oi=fa+mo-1,Ai=En(Zr[oi].record,oi),XA=pa(Va,Ai);return XA.bottom-XA.top},Li=pa(Va);return ve.createElement(Jl,{key:fa,data:Xa,rowKey:Va,index:fa,style:{top:-Za+Li.top},extra:!0,getHeight:Ia})});return dl},Ba=ve.useMemo(function(){return{columnsOffset:sa}},[sa]),$a="".concat(_n,"-tbody"),bo;return Zr.length?bo=ve.createElement(EA.Z,{fullHeight:!1,ref:Hr,className:Qe()($a,"".concat($a,"-virtual")),height:vr,itemHeight:Jr||24,data:Zr,itemKey:function(Sa){return En(Sa.record)},scrollWidth:Sr,onVirtualScroll:function(Sa){var da=Sa.x;kt({scrollLeft:da})},extraRender:_a},function(ua,Sa,da){var oa=En(ua.record,Sa);return ve.createElement(Jl,(0,De.Z)({data:ua,rowKey:oa,index:Sa},da))}):bo=ve.createElement("div",{className:Qe()("".concat(_n,"-placeholder"))},ve.createElement(Tn,{component:"div",prefixCls:_n},Kn)),ve.createElement(xi.Provider,{value:Ba},bo)}),ql=ne(Rl),cl=ql,rr=function(et,Ct){var kt=Ct.ref,$t=Ct.onScroll;return ve.createElement(cl,{ref:kt,data:et,onScroll:$t})},Zn=100;function ur(Je){var et=Je.columns,Ct=Je.scroll,kt=Je.prefixCls,$t=kt===void 0?Sl:kt,en=Je.className,bn=Je.listItemHeight,En=Ct||{},vn=En.x,_n=En.y;typeof vn!="number"&&(vn=((et||[]).length+1)*Zn),typeof _n!="number"&&(_n=500);var Xn=ve.useMemo(function(){return{scrollY:_n,listItemHeight:bn}},[_n,bn]);return ve.createElement(PA.Provider,{value:Xn},ve.createElement(xs,(0,De.Z)({},Je,{className:Qe()(en,"".concat($t,"-virtual")),scroll:(0,tt.Z)((0,tt.Z)({},Ct),{},{x:vn}),components:{body:rr},columns:et,internalHooks:Ce,tailor:!0})))}function Yr(Je){return te(ur,Je)}var zt=Yr(),Io=null;function jr(Je){return null}var fo=jr;function Ka(Je){return null}var pi=Ka,co=Be(2738),ya=Be(68031),Mo=Be(36355),Wo=Be(93891),_s=Be(19716),no=Be(8628),As=Be(31724),Fs=Be(58421),Xr=Be(71418),Rr=Be(88088);function Wt(Je){return function(Ct){let{prefixCls:kt,onExpand:$t,record:en,expanded:bn,expandable:En}=Ct;const vn=`${kt}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:_n=>{$t(en,_n),_n.stopPropagation()},className:Qe()(vn,{[`${vn}-spaced`]:!En,[`${vn}-expanded`]:En&&bn,[`${vn}-collapsed`]:En&&!bn}),"aria-label":bn?Je.collapse:Je.expand,"aria-expanded":bn})}}var Qt=Wt;function xn(Je,et){return"key"in Je&&Je.key!==void 0&&Je.key!==null?Je.key:Je.dataIndex?Array.isArray(Je.dataIndex)?Je.dataIndex.join("."):Je.dataIndex:et}function sr(Je,et){return et?`${et}-${Je}`:`${Je}`}function ta(Je,et){return typeof Je=="function"?Je(et):Je}function ha(Je,et){const Ct=ta(Je,et);return Object.prototype.toString.call(Ct)==="[object Object]"?"":Ct}var aa={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"},Nr=aa,ia=Be(7657),Qa=function(et,Ct){return ve.createElement(ia.Z,(0,De.Z)({},et,{ref:Ct,icon:Nr}))},Eo=ve.forwardRef(Qa),wi=Eo,Fa=Be(56762);function ls(Je){const et=ve.useRef(Je),Ct=(0,Fa.Z)();return[()=>et.current,kt=>{et.current=kt,Ct()}]}var si=Be(3113),hi=Be(24905),zr=Be(38854),La=Be(64165),so=Be(20834),vi=Be(40875),Zi=Be(5112),Vi=Be(17574),Ks=Be(47472),fs=Be(92832);function wA(Je){let{value:et,onChange:Ct,filterSearch:kt,tablePrefixCls:$t,locale:en}=Je;return kt?ve.createElement("div",{className:`${$t}-filter-dropdown-search`},ve.createElement(fs.default,{prefix:ve.createElement(Ks.Z,null),placeholder:en.filterSearchPlaceholder,onChange:Ct,value:et,htmlSize:1,className:`${$t}-filter-dropdown-search-input`})):null}var Cl=wA,$l=Be(10228);const El=Je=>{const{keyCode:et}=Je;et===$l.Z.ENTER&&Je.stopPropagation()};var Ln=ve.forwardRef((Je,et)=>ve.createElement("div",{className:Je.className,onClick:Ct=>Ct.stopPropagation(),onKeyDown:El,ref:et},Je.children));function In(Je){let et=[];return(Je||[]).forEach(Ct=>{let{value:kt,children:$t}=Ct;et.push(kt),$t&&(et=[].concat((0,kr.Z)(et),(0,kr.Z)(In($t))))}),et}function Pl(Je){return Je.some(et=>{let{children:Ct}=et;return Ct})}function ho(Je,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Je.trim().toLowerCase()):!1}function qa(Je){let{filters:et,prefixCls:Ct,filteredKeys:kt,filterMultiple:$t,searchValue:en,filterSearch:bn}=Je;return et.map((En,vn)=>{const _n=String(En.value);if(En.children)return{key:_n||vn,label:En.text,popupClassName:`${Ct}-dropdown-submenu`,children:qa({filters:En.children,prefixCls:Ct,filteredKeys:kt,filterMultiple:$t,searchValue:en,filterSearch:bn})};const Xn=$t?hi.default:Zi.ZP,Kn={key:En.value!==void 0?_n:vn,label:ve.createElement(ve.Fragment,null,ve.createElement(Xn,{checked:kt.includes(_n)}),ve.createElement("span",null,En.text))};return en.trim()?typeof bn=="function"?bn(en,En)?Kn:null:ho(en,En.text)?Kn:null:Kn})}function Ls(Je){var et,Ct;const{tablePrefixCls:kt,prefixCls:$t,column:en,dropdownPrefixCls:bn,columnKey:En,filterMultiple:vn,filterMode:_n="menu",filterSearch:Xn=!1,filterState:Kn,triggerFilter:Sr,locale:hr,children:vr,getPopupContainer:Jr}=Je,{filterDropdownOpen:Hr,onFilterDropdownOpenChange:Zr,filterResetToDefaultFilteredValue:_r,defaultFilteredValue:sa,filterDropdownVisible:ka,onFilterDropdownVisibleChange:_a}=en,[Ba,$a]=ve.useState(!1),bo=!!(Kn&&(!((et=Kn.filteredKeys)===null||et===void 0)&&et.length||Kn.forceFiltered)),ua=Na=>{$a(Na),Zr==null||Zr(Na),_a==null||_a(Na)},Sa=(Ct=Hr!=null?Hr:ka)!==null&&Ct!==void 0?Ct:Ba,da=Kn==null?void 0:Kn.filteredKeys,[oa,pa]=ls(da||[]),Za=Na=>{let{selectedKeys:mo}=Na;pa(mo)},_o=(Na,mo)=>{let{node:oi,checked:Ai}=mo;Za(vn?{selectedKeys:Na}:{selectedKeys:Ai&&oi.key?[oi.key]:[]})};ve.useEffect(()=>{Ba&&Za({selectedKeys:da||[]})},[da]);const[wo,za]=ve.useState([]),Uo=Na=>{za(Na)},[ti,$i]=ve.useState(""),Bi=Na=>{const{value:mo}=Na.target;$i(mo)};ve.useEffect(()=>{Ba||$i("")},[Ba]);const hs=Na=>{const mo=Na&&Na.length?Na:null;if(mo===null&&(!Kn||!Kn.filteredKeys)||(0,je.Z)(mo,Kn==null?void 0:Kn.filteredKeys,!0))return null;Sr({column:en,key:En,filteredKeys:mo})},Qs=()=>{ua(!1),hs(oa())},xo=function(){let{confirm:Na,closeDropdown:mo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Na&&hs([]),mo&&ua(!1),$i(""),pa(_r?(sa||[]).map(oi=>String(oi)):[])},sA=function(){let{closeDropdown:Na}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Na&&ua(!1),hs(oa())},Fi=Na=>{Na&&da!==void 0&&pa(da||[]),ua(Na),!Na&&!en.filterDropdown&&Qs()},es=Qe()({[`${bn}-menu-without-submenu`]:!Pl(en.filters||[])}),rs=Na=>{if(Na.target.checked){const mo=In(en==null?void 0:en.filters).map(oi=>String(oi));pa(mo)}else pa([])},dl=Na=>{let{filters:mo}=Na;return(mo||[]).map((oi,Ai)=>{const XA=String(oi.value),tA={title:oi.text,key:oi.value!==void 0?XA:Ai};return oi.children&&(tA.children=dl({filters:oi.children})),tA})},fa=Na=>{var mo;return Object.assign(Object.assign({},Na),{text:Na.title,value:Na.key,children:((mo=Na.children)===null||mo===void 0?void 0:mo.map(oi=>fa(oi)))||[]})};let Xa;if(typeof en.filterDropdown=="function")Xa=en.filterDropdown({prefixCls:`${bn}-custom`,setSelectedKeys:Na=>Za({selectedKeys:Na}),selectedKeys:oa(),confirm:sA,clearFilters:xo,filters:en.filters,visible:Sa,close:()=>{ua(!1)}});else if(en.filterDropdown)Xa=en.filterDropdown;else{const Na=oa()||[],mo=()=>(en.filters||[]).length===0?ve.createElement(La.Z,{image:La.Z.PRESENTED_IMAGE_SIMPLE,description:hr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):_n==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(Cl,{filterSearch:Xn,value:ti,onChange:Bi,tablePrefixCls:kt,locale:hr}),ve.createElement("div",{className:`${kt}-filter-dropdown-tree`},vn?ve.createElement(hi.default,{checked:Na.length===In(en.filters).length,indeterminate:Na.length>0&&Na.lengthtypeof Xn=="function"?Xn(ti,fa(Ai)):ho(ti,Ai.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(Cl,{filterSearch:Xn,value:ti,onChange:Bi,tablePrefixCls:kt,locale:hr}),ve.createElement(so.default,{selectable:!0,multiple:vn,prefixCls:`${bn}-menu`,className:es,onSelect:Za,onDeselect:Za,selectedKeys:Na,getPopupContainer:Jr,openKeys:wo,onOpenChange:Uo,items:qa({filters:en.filters||[],filterSearch:Xn,prefixCls:$t,filteredKeys:oa(),filterMultiple:vn,searchValue:ti})})),oi=()=>_r?(0,je.Z)((sa||[]).map(Ai=>String(Ai)),Na,!0):Na.length===0;Xa=ve.createElement(ve.Fragment,null,mo(),ve.createElement("div",{className:`${$t}-dropdown-btns`},ve.createElement(si.ZP,{type:"link",size:"small",disabled:oi(),onClick:()=>xo()},hr.filterReset),ve.createElement(si.ZP,{type:"primary",size:"small",onClick:Qs},hr.filterConfirm)))}en.filterDropdown&&(Xa=ve.createElement(vi.J,{selectable:void 0},Xa));const Va=()=>ve.createElement(Ln,{className:`${$t}-dropdown`},Xa);let Ia;typeof en.filterIcon=="function"?Ia=en.filterIcon(bo):en.filterIcon?Ia=en.filterIcon:Ia=ve.createElement(wi,null);const{direction:Li}=ve.useContext(Mo.E_);return ve.createElement("div",{className:`${$t}-column`},ve.createElement("span",{className:`${kt}-column-title`},vr),ve.createElement(zr.Z,{dropdownRender:Va,trigger:["click"],open:Sa,onOpenChange:Fi,getPopupContainer:Jr,placement:Li==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${$t}-trigger`,{active:bo}),onClick:Na=>{Na.stopPropagation()}},Ia)))}var xA=Ls;function Is(Je,et,Ct){let kt=[];return(Je||[]).forEach(($t,en)=>{var bn;const En=sr(en,Ct);if($t.filters||"filterDropdown"in $t||"onFilter"in $t)if("filteredValue"in $t){let vn=$t.filteredValue;"filterDropdown"in $t||(vn=(bn=vn==null?void 0:vn.map(String))!==null&&bn!==void 0?bn:vn),kt.push({column:$t,key:xn($t,En),filteredKeys:vn,forceFiltered:$t.filtered})}else kt.push({column:$t,key:xn($t,En),filteredKeys:et&&$t.defaultFilteredValue?$t.defaultFilteredValue:void 0,forceFiltered:$t.filtered});"children"in $t&&(kt=[].concat((0,kr.Z)(kt),(0,kr.Z)(Is($t.children,et,En))))}),kt}function zs(Je,et,Ct,kt,$t,en,bn,En){return Ct.map((vn,_n)=>{const Xn=sr(_n,En),{filterMultiple:Kn=!0,filterMode:Sr,filterSearch:hr}=vn;let vr=vn;if(vr.filters||vr.filterDropdown){const Jr=xn(vr,Xn),Hr=kt.find(Zr=>{let{key:_r}=Zr;return Jr===_r});vr=Object.assign(Object.assign({},vr),{title:Zr=>ve.createElement(xA,{tablePrefixCls:Je,prefixCls:`${Je}-filter`,dropdownPrefixCls:et,column:vr,columnKey:Jr,filterState:Hr,filterMultiple:Kn,filterMode:Sr,filterSearch:hr,triggerFilter:en,locale:$t,getPopupContainer:bn},ta(vn.title,Zr))})}return"children"in vr&&(vr=Object.assign(Object.assign({},vr),{children:zs(Je,et,vr.children,kt,$t,en,bn,Xn)})),vr})}function MA(Je){const et={};return Je.forEach(Ct=>{let{key:kt,filteredKeys:$t,column:en}=Ct;const{filters:bn,filterDropdown:En}=en;if(En)et[kt]=$t||null;else if(Array.isArray($t)){const vn=In(bn);et[kt]=vn.filter(_n=>$t.includes(String(_n)))}else et[kt]=null}),et}function $u(Je,et){return et.reduce((Ct,kt)=>{const{column:{onFilter:$t,filters:en},filteredKeys:bn}=kt;return $t&&bn&&bn.length?Ct.filter(En=>bn.some(vn=>{const _n=In(en),Xn=_n.findIndex(Sr=>String(Sr)===String(vn)),Kn=Xn!==-1?_n[Xn]:vn;return $t(Kn,En)})):Ct},Je)}const VA=Je=>Je.flatMap(et=>"children"in et?[et].concat((0,kr.Z)(VA(et.children||[]))):[et]);function qs(Je){let{prefixCls:et,dropdownPrefixCls:Ct,mergedColumns:kt,onFilterChange:$t,getPopupContainer:en,locale:bn}=Je;const En=ve.useMemo(()=>VA(kt||[]),[kt]),[vn,_n]=ve.useState(()=>Is(En,!0)),Xn=ve.useMemo(()=>{const vr=Is(En,!1);if(vr.length===0)return vr;let Jr=!0,Hr=!0;if(vr.forEach(Zr=>{let{filteredKeys:_r}=Zr;_r!==void 0?Jr=!1:Hr=!1}),Jr){const Zr=(En||[]).map((_r,sa)=>xn(_r,sr(sa)));return vn.filter(_r=>{let{key:sa}=_r;return Zr.includes(sa)}).map(_r=>{const sa=En[Zr.findIndex(ka=>ka===_r.key)];return Object.assign(Object.assign({},_r),{column:Object.assign(Object.assign({},_r.column),sa),forceFiltered:sa.filtered})})}return vr},[En,vn]),Kn=ve.useMemo(()=>MA(Xn),[Xn]),Sr=vr=>{const Jr=Xn.filter(Hr=>{let{key:Zr}=Hr;return Zr!==vr.key});Jr.push(vr),_n(Jr),$t(MA(Jr),Jr)};return[vr=>zs(et,Ct,vr,Xn,bn,Sr,en),Xn,Kn]}var ro=qs;function Po(Je,et,Ct){const kt=ve.useRef({});function $t(en){if(!kt.current||kt.current.data!==Je||kt.current.childrenColumnName!==et||kt.current.getRowKey!==Ct){let En=function(vn){vn.forEach((_n,Xn)=>{const Kn=Ct(_n,Xn);bn.set(Kn,_n),_n&&typeof _n=="object"&&et in _n&&En(_n[et]||[])})};const bn=new Map;En(Je),kt.current={data:Je,childrenColumnName:et,kvMap:bn,getRowKey:Ct}}return kt.current.kvMap.get(en)}return[$t]}var ws=Be(50371),Ns=function(Je,et){var Ct={};for(var kt in Je)Object.prototype.hasOwnProperty.call(Je,kt)&&et.indexOf(kt)<0&&(Ct[kt]=Je[kt]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,kt=Object.getOwnPropertySymbols(Je);$t{const en=Je[$t];typeof en!="function"&&(Ct[$t]=en)}),Ct}function jl(Je,et,Ct){const kt=Ct&&typeof Ct=="object"?Ct:{},{total:$t=0}=kt,en=Ns(kt,["total"]),[bn,En]=(0,ve.useState)(()=>({current:"defaultCurrent"in en?en.defaultCurrent:1,pageSize:"defaultPageSize"in en?en.defaultPageSize:yA})),vn=(0,ws.Z)(bn,en,{total:$t>0?$t:Je}),_n=Math.ceil(($t||Je)/vn.pageSize);vn.current>_n&&(vn.current=_n||1);const Xn=(Sr,hr)=>{En({current:Sr!=null?Sr:1,pageSize:hr||vn.pageSize})},Kn=(Sr,hr)=>{var vr;Ct&&((vr=Ct.onChange)===null||vr===void 0||vr.call(Ct,Sr,hr)),Xn(Sr,hr),et(Sr,hr||(vn==null?void 0:vn.pageSize))};return Ct===!1?[{},()=>{}]:[Object.assign(Object.assign({},vn),{onChange:Kn}),Xn]}var xl=jl,Fl=Be(84105),us=Be(35654),YA=Be(90782),tu=Be(71430),Kc=Be(18929);const Gs={},Ll="SELECT_ALL",Ds="SELECT_INVERT",qi="SELECT_NONE",rA=[],ec=(Je,et)=>{let Ct=[];return(et||[]).forEach(kt=>{Ct.push(kt),kt&&typeof kt=="object"&&Je in kt&&(Ct=[].concat((0,kr.Z)(Ct),(0,kr.Z)(ec(Je,kt[Je]))))}),Ct};var aA=(Je,et)=>{const{preserveSelectedRowKeys:Ct,selectedRowKeys:kt,defaultSelectedRowKeys:$t,getCheckboxProps:en,onChange:bn,onSelect:En,onSelectAll:vn,onSelectInvert:_n,onSelectNone:Xn,onSelectMultiple:Kn,columnWidth:Sr,type:hr,selections:vr,fixed:Jr,renderCell:Hr,hideSelectAll:Zr,checkStrictly:_r=!0}=et||{},{prefixCls:sa,data:ka,pageData:_a,getRecordByKey:Ba,getRowKey:$a,expandType:bo,childrenColumnName:ua,locale:Sa,getPopupContainer:da}=Je,[oa,pa]=(0,Kc.Z)(kt||$t||rA,{value:kt}),Za=ve.useRef(new Map),_o=(0,ve.useCallback)(fa=>{if(Ct){const Xa=new Map;fa.forEach(Va=>{let Ia=Ba(Va);!Ia&&Za.current.has(Va)&&(Ia=Za.current.get(Va)),Xa.set(Va,Ia)}),Za.current=Xa}},[Ba,Ct]);ve.useEffect(()=>{_o(oa)},[oa]);const{keyEntities:wo}=(0,ve.useMemo)(()=>{if(_r)return{keyEntities:null};let fa=ka;if(Ct){const Xa=new Set(ka.map((Ia,Li)=>$a(Ia,Li))),Va=Array.from(Za.current).reduce((Ia,Li)=>{let[Na,mo]=Li;return Xa.has(Na)?Ia:Ia.concat(mo)},[]);fa=[].concat((0,kr.Z)(fa),(0,kr.Z)(Va))}return(0,tu.I8)(fa,{externalGetKey:$a,childrenPropName:ua})},[ka,$a,_r,ua,Ct]),za=(0,ve.useMemo)(()=>ec(ua,_a),[ua,_a]),Uo=(0,ve.useMemo)(()=>{const fa=new Map;return za.forEach((Xa,Va)=>{const Ia=$a(Xa,Va),Li=(en?en(Xa):null)||{};fa.set(Ia,Li)}),fa},[za,$a,en]),ti=(0,ve.useCallback)(fa=>{var Xa;return!!(!((Xa=Uo.get($a(fa)))===null||Xa===void 0)&&Xa.disabled)},[Uo,$a]),[$i,Bi]=(0,ve.useMemo)(()=>{if(_r)return[oa||[],[]];const{checkedKeys:fa,halfCheckedKeys:Xa}=(0,YA.S)(oa,!0,wo,ti);return[fa||[],Xa]},[oa,_r,wo,ti]),hs=(0,ve.useMemo)(()=>{const fa=hr==="radio"?$i.slice(0,1):$i;return new Set(fa)},[$i,hr]),Qs=(0,ve.useMemo)(()=>hr==="radio"?new Set:new Set(Bi),[Bi,hr]),[xo,sA]=(0,ve.useState)(null);ve.useEffect(()=>{et||pa(rA)},[!!et]);const Fi=(0,ve.useCallback)((fa,Xa)=>{let Va,Ia;_o(fa),Ct?(Va=fa,Ia=fa.map(Li=>Za.current.get(Li))):(Va=[],Ia=[],fa.forEach(Li=>{const Na=Ba(Li);Na!==void 0&&(Va.push(Li),Ia.push(Na))})),pa(Va),bn==null||bn(Va,Ia,{type:Xa})},[pa,Ba,bn,Ct]),es=(0,ve.useCallback)((fa,Xa,Va,Ia)=>{if(En){const Li=Va.map(Na=>Ba(Na));En(Ba(fa),Xa,Li,Ia)}Fi(Va,"single")},[En,Ba,Fi]),rs=(0,ve.useMemo)(()=>!vr||Zr?null:(vr===!0?[Ll,Ds,qi]:vr).map(Xa=>Xa===Ll?{key:"all",text:Sa.selectionAll,onSelect(){Fi(ka.map((Va,Ia)=>$a(Va,Ia)).filter(Va=>{const Ia=Uo.get(Va);return!(Ia!=null&&Ia.disabled)||hs.has(Va)}),"all")}}:Xa===Ds?{key:"invert",text:Sa.selectInvert,onSelect(){const Va=new Set(hs);_a.forEach((Li,Na)=>{const mo=$a(Li,Na),oi=Uo.get(mo);oi!=null&&oi.disabled||(Va.has(mo)?Va.delete(mo):Va.add(mo))});const Ia=Array.from(Va);_n&&_n(Ia),Fi(Ia,"invert")}}:Xa===qi?{key:"none",text:Sa.selectNone,onSelect(){Xn==null||Xn(),Fi(Array.from(hs).filter(Va=>{const Ia=Uo.get(Va);return Ia==null?void 0:Ia.disabled}),"none")}}:Xa).map(Xa=>Object.assign(Object.assign({},Xa),{onSelect:function(){for(var Va,Ia,Li=arguments.length,Na=new Array(Li),mo=0;mo{var Xa;if(!et)return fa.filter(Ii=>Ii!==Gs);let Va=(0,kr.Z)(fa);const Ia=new Set(hs),Li=za.map($a).filter(Ii=>!Uo.get(Ii).disabled),Na=Li.every(Ii=>Ia.has(Ii)),mo=Li.some(Ii=>Ia.has(Ii)),oi=()=>{const Ii=[];Na?Li.forEach(bs=>{Ia.delete(bs),Ii.push(bs)}):Li.forEach(bs=>{Ia.has(bs)||(Ia.add(bs),Ii.push(bs))});const ni=Array.from(Ia);vn==null||vn(!Na,ni.map(bs=>Ba(bs)),Ii.map(bs=>Ba(bs))),Fi(ni,"all"),sA(null)};let Ai;if(hr!=="radio"){let Ii;if(rs){const Ko={getPopupContainer:da,items:rs.map((JA,KA)=>{const{key:gl,text:ol,onSelect:il}=JA;return{key:gl!=null?gl:KA,onClick:()=>{il==null||il(Li)},label:ol}})};Ii=ve.createElement("div",{className:`${sa}-selection-extra`},ve.createElement(zr.Z,{menu:Ko,getPopupContainer:da},ve.createElement("span",null,ve.createElement(Fl.Z,null))))}const ni=za.map((Ko,JA)=>{const KA=$a(Ko,JA),gl=Uo.get(KA)||{};return Object.assign({checked:Ia.has(KA)},gl)}).filter(Ko=>{let{disabled:JA}=Ko;return JA}),bs=!!ni.length&&ni.length===za.length,hA=bs&&ni.every(Ko=>{let{checked:JA}=Ko;return JA}),cs=bs&&ni.some(Ko=>{let{checked:JA}=Ko;return JA});Ai=!Zr&&ve.createElement("div",{className:`${sa}-selection`},ve.createElement(hi.default,{checked:bs?hA:!!za.length&&Na,indeterminate:bs?!hA&&cs:!Na&&mo,onChange:oi,disabled:za.length===0||bs,"aria-label":Ii?"Custom selection":"Select all",skipGroup:!0}),Ii)}let XA;hr==="radio"?XA=(Ii,ni,bs)=>{const hA=$a(ni,bs),cs=Ia.has(hA);return{node:ve.createElement(Zi.ZP,Object.assign({},Uo.get(hA),{checked:cs,onClick:Ko=>Ko.stopPropagation(),onChange:Ko=>{Ia.has(hA)||es(hA,!0,[hA],Ko.nativeEvent)}})),checked:cs}}:XA=(Ii,ni,bs)=>{var hA;const cs=$a(ni,bs),Ko=Ia.has(cs),JA=Qs.has(cs),KA=Uo.get(cs);let gl;return bo==="nest"?gl=JA:gl=(hA=KA==null?void 0:KA.indeterminate)!==null&&hA!==void 0?hA:JA,{node:ve.createElement(hi.default,Object.assign({},KA,{indeterminate:gl,checked:Ko,skipGroup:!0,onClick:ol=>ol.stopPropagation(),onChange:ol=>{let{nativeEvent:il}=ol;const{shiftKey:_l}=il;let Mu=-1,Kl=-1;if(_l&&_r){const ks=new Set([xo,cs]);Li.some((QA,AA)=>{if(ks.has(QA))if(Mu===-1)Mu=AA;else return Kl=AA,!0;return!1})}if(Kl!==-1&&Mu!==Kl&&_r){const ks=Li.slice(Mu,Kl+1),QA=[];Ko?ks.forEach(Cs=>{Ia.has(Cs)&&(QA.push(Cs),Ia.delete(Cs))}):ks.forEach(Cs=>{Ia.has(Cs)||(QA.push(Cs),Ia.add(Cs))});const AA=Array.from(Ia);Kn==null||Kn(!Ko,AA.map(Cs=>Ba(Cs)),QA.map(Cs=>Ba(Cs))),Fi(AA,"multiple")}else{const ks=$i;if(_r){const QA=Ko?(0,us._5)(ks,cs):(0,us.L0)(ks,cs);es(cs,!Ko,QA,il)}else{const QA=(0,YA.S)([].concat((0,kr.Z)(ks),[cs]),!0,wo,ti),{checkedKeys:AA,halfCheckedKeys:Cs}=QA;let pu=AA;if(Ko){const Ou=new Set(AA);Ou.delete(cs),pu=(0,YA.S)(Array.from(Ou),{checked:!1,halfCheckedKeys:Cs},wo,ti).checkedKeys}es(cs,!Ko,pu,il)}}sA(Ko?null:cs)}})),checked:Ko}};const tA=(Ii,ni,bs)=>{const{node:hA,checked:cs}=XA(Ii,ni,bs);return Hr?Hr(cs,ni,bs,hA):hA};if(!Va.includes(Gs))if(Va.findIndex(Ii=>{var ni;return((ni=Ii[ar])===null||ni===void 0?void 0:ni.columnType)==="EXPAND_COLUMN"})===0){const[Ii,...ni]=Va;Va=[Ii,Gs].concat((0,kr.Z)(ni))}else Va=[Gs].concat((0,kr.Z)(Va));const su=Va.indexOf(Gs);Va=Va.filter((Ii,ni)=>Ii!==Gs||ni===su);const nA=Va[su-1],Dl=Va[su+1];let na=Jr;na===void 0&&((Dl==null?void 0:Dl.fixed)!==void 0?na=Dl.fixed:(nA==null?void 0:nA.fixed)!==void 0&&(na=nA.fixed)),na&&nA&&((Xa=nA[ar])===null||Xa===void 0?void 0:Xa.columnType)==="EXPAND_COLUMN"&&nA.fixed===void 0&&(nA.fixed=na);const al=Qe()(`${sa}-selection-col`,{[`${sa}-selection-col-with-dropdown`]:vr&&hr==="checkbox"}),yc={fixed:na,width:Sr,className:`${sa}-selection-column`,title:et.columnTitle||Ai,render:tA,onCell:et.onCell,[ar]:{className:al}};return Va.map(Ii=>Ii===Gs?yc:Ii)},[$a,za,et,$i,hs,Qs,Sr,rs,bo,xo,Uo,Kn,es,ti]),hs]},nu=Be(89489),gA=Be(59477),ru=Be(6848);const Us="ascend",Hu="descend";function au(Je){return typeof Je.sorter=="object"&&typeof Je.sorter.multiple=="number"?Je.sorter.multiple:!1}function Iu(Je){return typeof Je=="function"?Je:Je&&typeof Je=="object"&&Je.compare?Je.compare:!1}function Gc(Je,et){return et?Je[Je.indexOf(et)+1]:Je[0]}function Nu(Je,et,Ct){let kt=[];function $t(en,bn){kt.push({column:en,key:xn(en,bn),multiplePriority:au(en),sortOrder:en.sortOrder})}return(Je||[]).forEach((en,bn)=>{const En=sr(bn,Ct);en.children?("sortOrder"in en&&$t(en,En),kt=[].concat((0,kr.Z)(kt),(0,kr.Z)(Nu(en.children,et,En)))):en.sorter&&("sortOrder"in en?$t(en,En):et&&en.defaultSortOrder&&kt.push({column:en,key:xn(en,En),multiplePriority:au(en),sortOrder:en.defaultSortOrder}))}),kt}function Bc(Je,et,Ct,kt,$t,en,bn,En){return(et||[]).map((vn,_n)=>{const Xn=sr(_n,En);let Kn=vn;if(Kn.sorter){const Sr=Kn.sortDirections||$t,hr=Kn.showSorterTooltip===void 0?bn:Kn.showSorterTooltip,vr=xn(Kn,Xn),Jr=Ct.find(bo=>{let{key:ua}=bo;return ua===vr}),Hr=Jr?Jr.sortOrder:null,Zr=Gc(Sr,Hr);let _r;if(vn.sortIcon)_r=vn.sortIcon({sortOrder:Hr});else{const bo=Sr.includes(Us)&&ve.createElement(gA.Z,{className:Qe()(`${Je}-column-sorter-up`,{active:Hr===Us})}),ua=Sr.includes(Hu)&&ve.createElement(nu.Z,{className:Qe()(`${Je}-column-sorter-down`,{active:Hr===Hu})});_r=ve.createElement("span",{className:Qe()(`${Je}-column-sorter`,{[`${Je}-column-sorter-full`]:!!(bo&&ua)})},ve.createElement("span",{className:`${Je}-column-sorter-inner`,"aria-hidden":"true"},bo,ua))}const{cancelSort:sa,triggerAsc:ka,triggerDesc:_a}=en||{};let Ba=sa;Zr===Hu?Ba=_a:Zr===Us&&(Ba=ka);const $a=typeof hr=="object"?hr:{title:Ba};Kn=Object.assign(Object.assign({},Kn),{className:Qe()(Kn.className,{[`${Je}-column-sort`]:Hr}),title:bo=>{const ua=ve.createElement("div",{className:`${Je}-column-sorters`},ve.createElement("span",{className:`${Je}-column-title`},ta(vn.title,bo)),_r);return hr?ve.createElement(ru.Z,Object.assign({},$a),ua):ua},onHeaderCell:bo=>{const ua=vn.onHeaderCell&&vn.onHeaderCell(bo)||{},Sa=ua.onClick,da=ua.onKeyDown;ua.onClick=Za=>{kt({column:vn,key:vr,sortOrder:Zr,multiplePriority:au(vn)}),Sa==null||Sa(Za)},ua.onKeyDown=Za=>{Za.keyCode===$l.Z.ENTER&&(kt({column:vn,key:vr,sortOrder:Zr,multiplePriority:au(vn)}),da==null||da(Za))};const oa=ha(vn.title,{}),pa=oa==null?void 0:oa.toString();return Hr?ua["aria-sort"]=Hr==="ascend"?"ascending":"descending":ua["aria-label"]=pa||"",ua.className=Qe()(ua.className,`${Je}-column-has-sorters`),ua.tabIndex=0,vn.ellipsis&&(ua.title=(oa!=null?oa:"").toString()),ua}})}return"children"in Kn&&(Kn=Object.assign(Object.assign({},Kn),{children:Bc(Je,Kn.children,Ct,kt,$t,en,bn,Xn)})),Kn})}function rl(Je){const{column:et,sortOrder:Ct}=Je;return{column:et,order:Ct,field:et.dataIndex,columnKey:et.key}}function tc(Je){const et=Je.filter(Ct=>{let{sortOrder:kt}=Ct;return kt}).map(rl);return et.length===0&&Je.length?Object.assign(Object.assign({},rl(Je[Je.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function Tr(Je,et,Ct){const kt=et.slice().sort((bn,En)=>En.multiplePriority-bn.multiplePriority),$t=Je.slice(),en=kt.filter(bn=>{let{column:{sorter:En},sortOrder:vn}=bn;return Iu(En)&&vn});return en.length?$t.sort((bn,En)=>{for(let vn=0;vn{const En=bn[Ct];return En?Object.assign(Object.assign({},bn),{[Ct]:Tr(En,et,Ct)}):bn}):$t}function ao(Je){let{prefixCls:et,mergedColumns:Ct,onSorterChange:kt,sortDirections:$t,tableLocale:en,showSorterTooltip:bn}=Je;const[En,vn]=ve.useState(Nu(Ct,!0)),_n=ve.useMemo(()=>{let vr=!0;const Jr=Nu(Ct,!1);if(!Jr.length)return En;const Hr=[];function Zr(sa){vr?Hr.push(sa):Hr.push(Object.assign(Object.assign({},sa),{sortOrder:null}))}let _r=null;return Jr.forEach(sa=>{_r===null?(Zr(sa),sa.sortOrder&&(sa.multiplePriority===!1?vr=!1:_r=!0)):(_r&&sa.multiplePriority!==!1||(vr=!1),Zr(sa))}),Hr},[Ct,En]),Xn=ve.useMemo(()=>{const vr=_n.map(Jr=>{let{column:Hr,sortOrder:Zr}=Jr;return{column:Hr,order:Zr}});return{sortColumns:vr,sortColumn:vr[0]&&vr[0].column,sortOrder:vr[0]&&vr[0].order}},[_n]);function Kn(vr){let Jr;vr.multiplePriority===!1||!_n.length||_n[0].multiplePriority===!1?Jr=[vr]:Jr=[].concat((0,kr.Z)(_n.filter(Hr=>{let{key:Zr}=Hr;return Zr!==vr.key})),[vr]),vn(Jr),kt(tc(Jr),Jr)}return[vr=>Bc(et,vr,_n,Kn,$t,en,bn),_n,Xn,()=>tc(_n)]}function fr(Je,et){return Je.map(Ct=>{const kt=Object.assign({},Ct);return kt.title=ta(Ct.title,et),"children"in kt&&(kt.children=fr(kt.children,et)),kt})}function io(Je){return[ve.useCallback(Ct=>fr(Ct,Je),[Je])]}var ei=Pi((Je,et)=>{const{_renderTimes:Ct}=Je,{_renderTimes:kt}=et;return Ct!==kt}),SA=Yr((Je,et)=>{const{_renderTimes:Ct}=Je,{_renderTimes:kt}=et;return Ct!==kt}),FA=Be(64993),Ws=Be(17313),ou=Be(83116),hu=Be(37613),Oi=Je=>{const{componentCls:et}=Je,Ct=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,kt=($t,en,bn)=>({[`&${et}-${$t}`]:{[`> ${et}-container`]:{[`> ${et}-content, > ${et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${en}px -${bn+Je.lineWidth}px`}}}}}});return{[`${et}-wrapper`]:{[`${et}${et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${et}-title`]:{border:Ct,borderBottom:0},[`> ${et}-container`]:{borderInlineStart:Ct,borderTop:Ct,[` > ${et}-content, > ${et}-header, > ${et}-body, > ${et}-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:Ct},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ct},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${et}-cell-fix-right-first::after`]:{borderInlineEnd:Ct}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${Je.tablePaddingVertical}px -${Je.tablePaddingHorizontal+Je.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Je.lineWidth,bottom:0,borderInlineEnd:Ct,content:'""'}}}}}},[`&${et}-scroll-horizontal`]:{[`> ${et}-container > ${et}-body`]:{"> table > tbody":{[` > tr${et}-expanded-row, > tr${et}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},kt("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle)),kt("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:Ct,borderTop:0}}),[`${et}-cell`]:{[`${et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Je.lineWidth}px 0 ${Je.lineWidth}px ${Je.tableHeaderBg}`}},[`${et}-bordered ${et}-cell-scrollbar`]:{borderInlineEnd:Ct}}}},Qo=Je=>{const{componentCls:et}=Je;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},Ws.vS),{wordBreak:"keep-all",[` &${et}-cell-fix-left-last, &${et}-cell-fix-right-first `]:{overflow:"visible",[`${et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},fA=Je=>{const{componentCls:et}=Je;return{[`${et}-wrapper`]:{[`${et}-tbody > tr${et}-placeholder`]:{textAlign:"center",color:Je.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Je.colorBgContainer}}}}},$s=Be(15969),Il=Je=>{const{componentCls:et,antCls:Ct,controlInteractiveSize:kt,motionDurationSlow:$t,lineWidth:en,paddingXS:bn,lineType:En,tableBorderColor:vn,tableExpandIconBg:_n,tableExpandColumnWidth:Xn,borderRadius:Kn,fontSize:Sr,fontSizeSM:hr,lineHeight:vr,tablePaddingVertical:Jr,tablePaddingHorizontal:Hr,tableExpandedRowBg:Zr,paddingXXS:_r}=Je,sa=kt/2-en,ka=sa*2+en*3,_a=`${en}px ${En} ${vn}`,Ba=_r-en;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:Xn},[`${et}-row-expand-icon-cell`]:{textAlign:"center",[`${et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${et}-row-indent`]:{height:1,float:"left"},[`${et}-row-expand-icon`]:Object.assign(Object.assign({},(0,$s.N)(Je)),{position:"relative",float:"left",boxSizing:"border-box",width:ka,height:ka,padding:0,color:"inherit",lineHeight:`${ka}px`,background:_n,border:_a,borderRadius:Kn,transform:`scale(${kt/ka})`,transition:`all ${$t}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${$t} ease-out`,content:'""'},"&::before":{top:sa,insetInlineEnd:Ba,insetInlineStart:Ba,height:en},"&::after":{top:Ba,bottom:Ba,insetInlineStart:sa,width:en,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"}}),[`${et}-row-indent + ${et}-row-expand-icon`]:{marginTop:(Sr*vr-en*3)/2-Math.ceil((hr*1.4-en*3)/2),marginInlineEnd:bn},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Zr}},[`${Ct}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${Jr}px -${Hr}px`,padding:`${Jr}px ${Hr}px`}}}},eA=Je=>{const{componentCls:et,antCls:Ct,iconCls:kt,tableFilterDropdownWidth:$t,tableFilterDropdownSearchWidth:en,paddingXXS:bn,paddingXS:En,colorText:vn,lineWidth:_n,lineType:Xn,tableBorderColor:Kn,tableHeaderIconColor:Sr,fontSizeSM:hr,tablePaddingHorizontal:vr,borderRadius:Jr,motionDurationSlow:Hr,colorTextDescription:Zr,colorPrimary:_r,tableHeaderFilterActiveBg:sa,colorTextDisabled:ka,tableFilterDropdownBg:_a,tableFilterDropdownHeight:Ba,controlItemBgHover:$a,controlItemBgActive:bo,boxShadowSecondary:ua,filterDropdownMenuBg:Sa}=Je,da=`${Ct}-dropdown`,oa=`${et}-filter-dropdown`,pa=`${Ct}-tree`,Za=`${_n}px ${Xn} ${Kn}`;return[{[`${et}-wrapper`]:{[`${et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-bn,marginInline:`${bn}px ${-vr/2}px`,padding:`0 ${bn}px`,color:Sr,fontSize:hr,borderRadius:Jr,cursor:"pointer",transition:`all ${Hr}`,"&:hover":{color:Zr,background:sa},"&.active":{color:_r}}}},{[`${Ct}-dropdown`]:{[oa]:Object.assign(Object.assign({},(0,Ws.Wf)(Je)),{minWidth:$t,backgroundColor:_a,borderRadius:Jr,boxShadow:ua,overflow:"hidden",[`${da}-menu`]:{maxHeight:Ba,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Sa,"&:empty::after":{display:"block",padding:`${En}px 0`,color:ka,fontSize:hr,textAlign:"center",content:'"Not Found"'}},[`${oa}-tree`]:{paddingBlock:`${En}px 0`,paddingInline:En,[pa]:{padding:0},[`${pa}-treenode ${pa}-node-content-wrapper:hover`]:{backgroundColor:$a},[`${pa}-treenode-checkbox-checked ${pa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:bo}}},[`${oa}-search`]:{padding:En,borderBottom:Za,"&-input":{input:{minWidth:en},[kt]:{color:ka}}},[`${oa}-checkall`]:{width:"100%",marginBottom:bn,marginInlineStart:bn},[`${oa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${En-_n}px ${En}px`,overflow:"hidden",borderTop:Za}})}},{[`${Ct}-dropdown ${oa}, ${oa}-submenu`]:{[`${Ct}-checkbox-wrapper + span`]:{paddingInlineStart:En,color:vn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},iA=Je=>{const{componentCls:et,lineWidth:Ct,colorSplit:kt,motionDurationSlow:$t,zIndexTableFixed:en,tableBg:bn,zIndexTableSticky:En}=Je,vn=kt;return{[`${et}-wrapper`]:{[` ${et}-cell-fix-left, ${et}-cell-fix-right `]:{position:"sticky !important",zIndex:en,background:bn},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Ct,width:30,transform:"translateX(100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${et}-cell-fix-left-all::after`]:{display:"none"},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-Ct,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},[`${et}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:En+1,width:30,transition:`box-shadow ${$t}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${et}-ping-left`]:{[`&:not(${et}-has-fix-left) ${et}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${vn}`}},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${vn}`},[`${et}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${et}-ping-right`]:{[`&:not(${et}-has-fix-right) ${et}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${vn}`}},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${vn}`}}}}},Zs=Je=>{const{componentCls:et,antCls:Ct}=Je;return{[`${et}-wrapper`]:{[`${et}-pagination${Ct}-pagination`]:{margin:`${Je.margin}px 0`},[`${et}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Je.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Nl=Je=>{const{componentCls:et,tableRadius:Ct}=Je;return{[`${et}-wrapper`]:{[et]:{[`${et}-title, ${et}-header`]:{borderRadius:`${Ct}px ${Ct}px 0 0`},[`${et}-title + ${et}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${et}-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:Ct,borderStartEndRadius:Ct,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ct},"> *:last-child":{borderStartEndRadius:Ct}}},"&-footer":{borderRadius:`0 0 ${Ct}px ${Ct}px`}}}}},md=Je=>{const{componentCls:et}=Je;return{[`${et}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${et}-pagination-left`]:{justifyContent:"flex-end"},[`${et}-pagination-right`]:{justifyContent:"flex-start"},[`${et}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${et}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${et}-row-indent`]:{float:"right"}}}}},Bf=Je=>{const{componentCls:et,antCls:Ct,iconCls:kt,fontSizeIcon:$t,padding:en,paddingXS:bn,tableHeaderIconColor:En,tableHeaderIconColorHover:vn,tableSelectionColumnWidth:_n}=Je;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:_n,[`&${et}-selection-col-with-dropdown`]:{width:_n+$t+en/4}},[`${et}-bordered ${et}-selection-col`]:{width:_n+bn*2,[`&${et}-selection-col-with-dropdown`]:{width:_n+$t+en/4+bn*2}},[` table tr th${et}-selection-column, table tr td${et}-selection-column `]:{paddingInlineEnd:Je.paddingXS,paddingInlineStart:Je.paddingXS,textAlign:"center",[`${Ct}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${et}-selection-column${et}-cell-fix-left`]:{zIndex:Je.zIndexTableFixed+1},[`table tr th${et}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${et}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${et}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Je.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Je.tablePaddingHorizontal/4}px`,[kt]:{color:En,fontSize:$t,verticalAlign:"baseline","&:hover":{color:vn}}}}}},Zd=Je=>{const{componentCls:et}=Je,Ct=(kt,$t,en,bn)=>({[`${et}${et}-${kt}`]:{fontSize:bn,[` ${et}-title, ${et}-footer, ${et}-cell, ${et}-thead > tr > th, ${et}-tbody > tr > th, ${et}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${$t}px ${en}px`},[`${et}-filter-trigger`]:{marginInlineEnd:`-${en/2}px`},[`${et}-expanded-row-fixed`]:{margin:`-${$t}px -${en}px`},[`${et}-tbody`]:{[`${et}-wrapper:only-child ${et}`]:{marginBlock:`-${$t}px`,marginInline:`${Je.tableExpandColumnWidth-en}px -${en}px`}},[`${et}-selection-column`]:{paddingInlineStart:`${en/4}px`}}});return{[`${et}-wrapper`]:Object.assign(Object.assign({},Ct("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle,Je.tableFontSizeMiddle)),Ct("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall,Je.tableFontSizeSmall))}},nc=Je=>{const{componentCls:et,marginXXS:Ct,fontSizeIcon:kt,tableHeaderIconColor:$t,tableHeaderIconColorHover:en}=Je;return{[`${et}-wrapper`]:{[`${et}-thead th${et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Je.motionDurationSlow}`,"&:hover":{background:Je.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Je.colorPrimary},[` &${et}-cell-fix-left:hover, &${et}-cell-fix-right:hover `]:{background:Je.tableFixedHeaderSortActiveBg}},[`${et}-thead th${et}-column-sort`]:{background:Je.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${et}-column-sort`]:{background:Je.tableBodySortBg},[`${et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${et}-column-sorter`]:{marginInlineStart:Ct,color:$t,fontSize:0,transition:`color ${Je.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:kt,"&.active":{color:Je.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:en}}}},Ml=Je=>{const{componentCls:et,opacityLoading:Ct,tableScrollThumbBg:kt,tableScrollThumbBgHover:$t,tableScrollThumbSize:en,tableScrollBg:bn,zIndexTableSticky:En,stickyScrollBarBorderRadius:vn}=Je,_n=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:En,background:Je.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${en}px !important`,zIndex:En,display:"flex",alignItems:"center",background:bn,borderTop:_n,opacity:Ct,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:en,backgroundColor:kt,borderRadius:vn,transition:`all ${Je.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:$t}}}}}}},Zc=Je=>{const{componentCls:et,lineWidth:Ct,tableBorderColor:kt}=Je,$t=`${Ct}px ${Je.lineType} ${kt}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Je.zIndexTableFixed,background:Je.tableBg,"> tr":{"> th, > td":{borderBottom:$t}}},[`div${et}-summary`]:{boxShadow:`0 -${Ct}px 0 ${kt}`}}}},yf=Je=>{const{componentCls:et}=Je,Ct=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,kt=`${et}-expanded-row-cell`;return{[`${et}-wrapper`]:{[`${et}-tbody-virtual`]:{[`${et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${et}-cell`]:{borderBottom:Ct},[`${et}-expanded-row`]:{[`${kt}${kt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Je.lineWidth}px)`,borderInlineEnd:"none"}}},[`${et}-bordered`]:{[`${et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Ct,position:"absolute"},[`${et}-cell`]:{borderInlineEnd:Ct,[`&${et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Je.lineWidth,borderInlineStart:Ct}}}}}}};const Vc=Je=>{const{componentCls:et,fontWeightStrong:Ct,tablePaddingVertical:kt,tablePaddingHorizontal:$t,lineWidth:en,lineType:bn,tableBorderColor:En,tableFontSize:vn,tableBg:_n,tableRadius:Xn,tableHeaderTextColor:Kn,motionDurationMid:Sr,tableHeaderBg:hr,tableHeaderCellSplitColor:vr,tableRowHoverBg:Jr,tableSelectedRowBg:Hr,tableSelectedRowHoverBg:Zr,tableFooterTextColor:_r,tableFooterBg:sa,paddingContentVerticalLG:ka}=Je,_a=`${en}px ${bn} ${En}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[et]:Object.assign(Object.assign({},(0,Ws.Wf)(Je)),{fontSize:vn,background:_n,borderRadius:`${Xn}px ${Xn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Xn}px ${Xn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${et}-cell, ${et}-thead > tr > th, ${et}-tbody > tr > th, ${et}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${ka}px ${$t}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${kt}px ${$t}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Kn,fontWeight:Ct,textAlign:"start",background:hr,borderBottom:_a,transition:`background ${Sr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${et}-selection-column):not(${et}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:vr,transform:"translateY(-50%)",transition:`background-color ${Sr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Sr}, border-color ${Sr}`,borderBottom:_a,[` > ${et}-wrapper:only-child, > ${et}-expanded-row-fixed > ${et}-wrapper:only-child `]:{[et]:{marginBlock:`-${kt}px`,marginInline:`${Je.tableExpandColumnWidth-$t}px -${$t}px`,[`${et}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Kn,fontWeight:Ct,textAlign:"start",background:hr,borderBottom:_a,transition:`background ${Sr} ease`},[` &${et}-row:hover > th, &${et}-row:hover > td, > th${et}-cell-row-hover, > td${et}-cell-row-hover `]:{background:Jr},[`&${et}-row-selected`]:{"> th, > td":{background:Hr},"&:hover > th, &:hover > td":{background:Zr}}}},[`${et}-footer`]:{padding:`${kt}px ${$t}px`,color:_r,background:sa}})}};var pd=(0,ou.Z)("Table",Je=>{const{colorTextHeading:et,colorSplit:Ct,colorIcon:kt,colorIconHover:$t,opacityLoading:en,colorBgContainer:bn,controlInteractiveSize:En,headerBg:vn,headerColor:_n,headerSortActiveBg:Xn,headerSortHoverBg:Kn,bodySortBg:Sr,rowHoverBg:hr,rowSelectedBg:vr,rowSelectedHoverBg:Jr,rowExpandedBg:Hr,cellPaddingBlock:Zr,cellPaddingInline:_r,cellPaddingBlockMD:sa,cellPaddingInlineMD:ka,cellPaddingBlockSM:_a,cellPaddingInlineSM:Ba,borderColor:$a,footerBg:bo,footerColor:ua,headerBorderRadius:Sa,cellFontSize:da,cellFontSizeMD:oa,cellFontSizeSM:pa,headerSplitColor:Za,fixedHeaderSortActiveBg:_o,headerFilterHoverBg:wo,filterDropdownBg:za,expandIconBg:Uo,selectionColumnWidth:ti,stickyScrollBarBg:$i}=Je,Bi=new FA.C(kt),hs=new FA.C($t),Qs=2,xo=(0,hu.TS)(Je,{tableFontSize:da,tableBg:bn,tableRadius:Sa,tablePaddingVertical:Zr,tablePaddingHorizontal:_r,tablePaddingVerticalMiddle:sa,tablePaddingHorizontalMiddle:ka,tablePaddingVerticalSmall:_a,tablePaddingHorizontalSmall:Ba,tableBorderColor:$a,tableHeaderTextColor:_n,tableHeaderBg:vn,tableFooterTextColor:ua,tableFooterBg:bo,tableHeaderCellSplitColor:Za,tableHeaderSortBg:Xn,tableHeaderSortHoverBg:Kn,tableHeaderIconColor:Bi.clone().setAlpha(Bi.getAlpha()*en).toRgbString(),tableHeaderIconColorHover:hs.clone().setAlpha(hs.getAlpha()*en).toRgbString(),tableBodySortBg:Sr,tableFixedHeaderSortActiveBg:_o,tableHeaderFilterActiveBg:wo,tableFilterDropdownBg:za,tableRowHoverBg:hr,tableSelectedRowBg:vr,tableSelectedRowHoverBg:Jr,zIndexTableFixed:Qs,zIndexTableSticky:Qs+1,tableFontSizeMiddle:oa,tableFontSizeSmall:pa,tableSelectionColumnWidth:ti,tableExpandIconBg:Uo,tableExpandColumnWidth:En+2*Je.padding,tableExpandedRowBg:Hr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:$i,tableScrollThumbBgHover:et,tableScrollBg:Ct});return[Vc(xo),Zs(xo),Zc(xo),nc(xo),eA(xo),Oi(xo),Nl(xo),Il(xo),Zc(xo),fA(xo),Bf(xo),iA(xo),Ml(xo),Qo(xo),Zd(xo),md(xo),yf(xo)]},Je=>{const{colorFillAlter:et,colorBgContainer:Ct,colorTextHeading:kt,colorFillSecondary:$t,colorFillContent:en,controlItemBgActive:bn,controlItemBgActiveHover:En,padding:vn,paddingSM:_n,paddingXS:Xn,colorBorderSecondary:Kn,borderRadiusLG:Sr,fontSize:hr,controlHeight:vr,colorTextPlaceholder:Jr}=Je,Hr=new FA.C($t).onBackground(Ct).toHexShortString(),Zr=new FA.C(en).onBackground(Ct).toHexShortString(),_r=new FA.C(et).onBackground(Ct).toHexShortString();return{headerBg:_r,headerColor:kt,headerSortActiveBg:Hr,headerSortHoverBg:Zr,bodySortBg:_r,rowHoverBg:_r,rowSelectedBg:bn,rowSelectedHoverBg:En,rowExpandedBg:et,cellPaddingBlock:vn,cellPaddingInline:vn,cellPaddingBlockMD:_n,cellPaddingInlineMD:Xn,cellPaddingBlockSM:Xn,cellPaddingInlineSM:Xn,borderColor:Kn,headerBorderRadius:Sr,footerBg:_r,footerColor:kt,cellFontSize:hr,cellFontSizeMD:hr,cellFontSizeSM:hr,headerSplitColor:Kn,fixedHeaderSortActiveBg:Hr,headerFilterHoverBg:en,filterDropdownMenuBg:Ct,filterDropdownBg:Ct,expandIconBg:Ct,selectionColumnWidth:vr,stickyScrollBarBg:Jr,stickyScrollBarBorderRadius:100}});const xg=[],Yc=(Je,et)=>{const{prefixCls:Ct,className:kt,rootClassName:$t,style:en,size:bn,bordered:En,dropdownPrefixCls:vn,dataSource:_n,pagination:Xn,rowSelection:Kn,rowKey:Sr="key",rowClassName:hr,columns:vr,children:Jr,childrenColumnName:Hr,onChange:Zr,getPopupContainer:_r,loading:sa,expandIcon:ka,expandable:_a,expandedRowRender:Ba,expandIconColumnIndex:$a,indentSize:bo,scroll:ua,sortDirections:Sa,locale:da,showSorterTooltip:oa=!0,virtual:pa}=Je,Za=ve.useMemo(()=>vr||dn(Jr),[vr,Jr]),_o=ve.useMemo(()=>Za.some(li=>li.responsive),[Za]),wo=(0,no.Z)(_o),za=ve.useMemo(()=>{const li=new Set(Object.keys(wo).filter(as=>wo[as]));return Za.filter(as=>!as.responsive||as.responsive.some(kA=>li.has(kA)))},[Za,wo]),Uo=(0,co.Z)(Je,["className","style","columns"]),{locale:ti=As.Z,direction:$i,table:Bi,renderEmpty:hs,getPrefixCls:Qs,getPopupContainer:xo}=ve.useContext(Mo.E_),sA=(0,_s.Z)(bn),Fi=Object.assign(Object.assign({},ti.Table),da),es=_n||xg,rs=Qs("table",Ct),dl=Qs("dropdown",vn),fa=Object.assign({childrenColumnName:Hr,expandIconColumnIndex:$a},_a),{childrenColumnName:Xa="children"}=fa,Va=ve.useMemo(()=>es.some(li=>li==null?void 0:li[Xa])?"nest":Ba||_a&&_a.expandedRowRender?"row":null,[es]),Ia={body:ve.useRef()},Li=ve.useMemo(()=>typeof Sr=="function"?Sr:li=>li==null?void 0:li[Sr],[Sr]),[Na]=Po(es,Xa,Li),mo={},oi=function(li,as){let kA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ys,TA,zA;const Ts=Object.assign(Object.assign({},mo),li);kA&&((ys=mo.resetPagination)===null||ys===void 0||ys.call(mo),!((TA=Ts.pagination)===null||TA===void 0)&&TA.current&&(Ts.pagination.current=1),Xn&&Xn.onChange&&Xn.onChange(1,(zA=Ts.pagination)===null||zA===void 0?void 0:zA.pageSize)),ua&&ua.scrollToFirstRowOnChange!==!1&&Ia.body.current&&(0,ya.Z)(0,{getContainer:()=>Ia.body.current}),Zr==null||Zr(Ts.pagination,Ts.filters,Ts.sorter,{currentDataSource:$u(Tr(es,Ts.sorterStates,Xa),Ts.filterStates),action:as})},Ai=(li,as)=>{oi({sorter:li,sorterStates:as},"sort",!1)},[XA,tA,su,nA]=ao({prefixCls:rs,mergedColumns:za,onSorterChange:Ai,sortDirections:Sa||["ascend","descend"],tableLocale:Fi,showSorterTooltip:oa}),Dl=ve.useMemo(()=>Tr(es,tA,Xa),[es,tA]);mo.sorter=nA(),mo.sorterStates=tA;const na=(li,as)=>{oi({filters:li,filterStates:as},"filter",!0)},[al,yc,Ii]=ro({prefixCls:rs,locale:Fi,dropdownPrefixCls:dl,mergedColumns:za,onFilterChange:na,getPopupContainer:_r||xo}),ni=$u(Dl,yc);mo.filters=Ii,mo.filterStates=yc;const bs=ve.useMemo(()=>{const li={};return Object.keys(Ii).forEach(as=>{Ii[as]!==null&&(li[as]=Ii[as])}),Object.assign(Object.assign({},su),{filters:li})},[su,Ii]),[hA]=io(bs),cs=(li,as)=>{oi({pagination:Object.assign(Object.assign({},mo.pagination),{current:li,pageSize:as})},"paginate")},[Ko,JA]=xl(ni.length,cs,Xn);mo.pagination=Xn===!1?{}:Yo(Ko,Xn),mo.resetPagination=JA;const KA=ve.useMemo(()=>{if(Xn===!1||!Ko.pageSize)return ni;const{current:li=1,total:as,pageSize:kA=yA}=Ko;return ni.lengthkA?ni.slice((li-1)*kA,li*kA):ni:ni.slice((li-1)*kA,li*kA)},[!!Xn,ni,Ko&&Ko.current,Ko&&Ko.pageSize,Ko&&Ko.total]),[gl,ol]=aA({prefixCls:rs,data:ni,pageData:KA,getRowKey:Li,getRecordByKey:Na,expandType:Va,childrenColumnName:Xa,locale:Fi,getPopupContainer:_r||xo},Kn),il=(li,as,kA)=>{let ys;return typeof hr=="function"?ys=Qe()(hr(li,as,kA)):ys=Qe()(hr),Qe()({[`${rs}-row-selected`]:ol.has(Li(li,as))},ys)};fa.__PARENT_RENDER_ICON__=fa.expandIcon,fa.expandIcon=fa.expandIcon||ka||Qt(Fi),Va==="nest"&&fa.expandIconColumnIndex===void 0?fa.expandIconColumnIndex=Kn?1:0:fa.expandIconColumnIndex>0&&Kn&&(fa.expandIconColumnIndex-=1),typeof fa.indentSize!="number"&&(fa.indentSize=typeof bo=="number"?bo:15);const _l=ve.useCallback(li=>hA(gl(al(XA(li)))),[XA,al,gl]);let Mu,Kl;if(Xn!==!1&&(Ko!=null&&Ko.total)){let li;Ko.size?li=Ko.size:li=sA==="small"||sA==="middle"?"small":void 0;const as=TA=>ve.createElement(Fs.Z,Object.assign({},Ko,{className:Qe()(`${rs}-pagination ${rs}-pagination-${TA}`,Ko.className),size:li})),kA=$i==="rtl"?"left":"right",{position:ys}=Ko;if(ys!==null&&Array.isArray(ys)){const TA=ys.find(Bu=>Bu.includes("top")),zA=ys.find(Bu=>Bu.includes("bottom")),Ts=ys.every(Bu=>`${Bu}`=="none");!TA&&!zA&&!Ts&&(Kl=as(kA)),TA&&(Mu=as(TA.toLowerCase().replace("top",""))),zA&&(Kl=as(zA.toLowerCase().replace("bottom","")))}else Kl=as(kA)}let ks;typeof sa=="boolean"?ks={spinning:sa}:typeof sa=="object"&&(ks=Object.assign({spinning:!0},sa));const[QA,AA]=pd(rs),[,Cs]=(0,Rr.Z)(),pu=Qe()(`${rs}-wrapper`,Bi==null?void 0:Bi.className,{[`${rs}-wrapper-rtl`]:$i==="rtl"},kt,$t,AA),Ou=Object.assign(Object.assign({},Bi==null?void 0:Bi.style),en),_u=da&&da.emptyText||(hs==null?void 0:hs("Table"))||ve.createElement(Wo.Z,{componentName:"Table"}),vu=pa?SA:ei,Bd={},Vd=ve.useMemo(()=>{const{fontSize:li,lineHeight:as,padding:kA,paddingXS:ys,paddingSM:TA}=Cs,zA=Math.floor(li*as);switch(sA){case"large":return kA*2+zA;case"small":return ys*2+zA;default:return TA*2+zA}},[Cs,sA]);return pa&&(Bd.listItemHeight=Vd),QA(ve.createElement("div",{ref:et,className:pu,style:Ou},ve.createElement(Xr.Z,Object.assign({spinning:!1},ks),Mu,ve.createElement(vu,Object.assign({},Bd,Uo,{columns:za,direction:$i,expandable:fa,prefixCls:rs,className:Qe()({[`${rs}-middle`]:sA==="middle",[`${rs}-small`]:sA==="small",[`${rs}-bordered`]:En,[`${rs}-empty`]:es.length===0}),data:KA,rowKey:Li,rowClassName:il,emptyText:_u,internalHooks:Ce,internalRefs:Ia,transformColumns:_l})),Kl)))};var t0=ve.forwardRef(Yc);const n0=(Je,et)=>{const Ct=ve.useRef(0);return Ct.current+=1,ve.createElement(t0,Object.assign({},Je,{ref:et,_renderTimes:Ct.current}))},_A=ve.forwardRef(n0);_A.SELECTION_COLUMN=Gs,_A.EXPAND_COLUMN=me,_A.SELECTION_ALL=Ll,_A.SELECTION_INVERT=Ds,_A.SELECTION_NONE=qi,_A.Column=fo,_A.ColumnGroup=pi,_A.Summary=He;var vd=_A,r0=vd},17574:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return vt}});var me=Be(38028),Ce=Be(77654),Me=Be(52671),rt=Be(8657),ze=Be(60499),je=Be(59301),ve={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"},we=ve,Ne=Be(7657),ge=function(at,Kt){return je.createElement(Ne.Z,(0,ze.Z)({},at,{ref:Kt,icon:we}))},De=je.forwardRef(ge),xe=De,Ee=Be(92310),ie=Be.n(Ee),y=Be(35654),a=Be(71430),ee=Be(36355),E=Be(56082),te=Be(62892),ne=Be(20648);const ae=4;function de(ut){const{dropPosition:at,dropLevelOffset:Kt,prefixCls:Vt,indent:mt,direction:Tt="ltr"}=ut,wn=Tt==="ltr"?"left":"right",Qn=Tt==="ltr"?"right":"left",un={[wn]:-Kt*mt+ae,[Qn]:0};switch(at){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[wn]=mt+ae;break}return je.createElement("div",{style:un,className:`${Vt}-drop-indicator`})}var Le=Be(71997),Ue=je.forwardRef((ut,at)=>{const{getPrefixCls:Kt,direction:Vt,virtual:mt,tree:Tt}=je.useContext(ee.E_),{prefixCls:wn,className:Qn,showIcon:un=!1,showLine:Tn,switcherIcon:Bt,blockNode:Rn=!1,children:$n,checkable:Xe=!1,selectable:fn=!0,draggable:Fe,motion:fe,style:ce}=ut,Se=Kt("tree",wn),qe=Kt(),dt=fe!=null?fe:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),He=Object.assign(Object.assign({},ut),{checkable:Xe,selectable:fn,showIcon:un,motion:dt,blockNode:Rn,showLine:!!Tn,dropIndicatorRender:de}),[Ye,Pt]=(0,ne.ZP)(Se),gt=je.useMemo(()=>{if(!Fe)return!1;let Rt={};switch(typeof Fe){case"function":Rt.nodeDraggable=Fe;break;case"object":Rt=Object.assign({},Fe);break;default:break}return Rt.icon!==!1&&(Rt.icon=Rt.icon||je.createElement(E.Z,null)),Rt},[Fe]),st=Rt=>je.createElement(Le.Z,{prefixCls:Se,switcherIcon:Bt,treeNodeProps:Rt,showLine:Tn});return Ye(je.createElement(me.Z,Object.assign({itemHeight:20,ref:at,virtual:mt},He,{style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),ce),prefixCls:Se,className:ie()({[`${Se}-icon-hide`]:!un,[`${Se}-block-node`]:Rn,[`${Se}-unselectable`]:!fn,[`${Se}-rtl`]:Vt==="rtl"},Tt==null?void 0:Tt.className,Qn,Pt),direction:Vt,checkable:Xe&&je.createElement("span",{className:`${Se}-checkbox-inner`}),selectable:fn,switcherIcon:st,draggable:gt}),$n))}),Ge;(function(ut){ut[ut.None=0]="None",ut[ut.Start=1]="Start",ut[ut.End=2]="End"})(Ge||(Ge={}));function Ze(ut,at){function Kt(Vt){const{key:mt,children:Tt}=Vt;at(mt,Vt)!==!1&&Ze(Tt||[],at)}ut.forEach(Kt)}function tt(ut){let{treeData:at,expandedKeys:Kt,startKey:Vt,endKey:mt}=ut;const Tt=[];let wn=Ge.None;if(Vt&&Vt===mt)return[Vt];if(!Vt||!mt)return[];function Qn(un){return un===Vt||un===mt}return Ze(at,un=>{if(wn===Ge.End)return!1;if(Qn(un)){if(Tt.push(un),wn===Ge.None)wn=Ge.Start;else if(wn===Ge.Start)return wn=Ge.End,!1}else wn===Ge.Start&&Tt.push(un);return Kt.includes(un)}),Tt}function Te(ut,at){const Kt=(0,Ce.Z)(at),Vt=[];return Ze(ut,(mt,Tt)=>{const wn=Kt.indexOf(mt);return wn!==-1&&(Vt.push(Tt),Kt.splice(wn,1)),!!Kt.length}),Vt}var pt=function(ut,at){var Kt={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&at.indexOf(Vt)<0&&(Kt[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,Vt=Object.getOwnPropertySymbols(ut);mt{var{defaultExpandAll:Kt,defaultExpandParent:Vt,defaultExpandedKeys:mt}=ut,Tt=pt(ut,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const wn=je.useRef(),Qn=je.useRef(),un=()=>{const{keyEntities:gt}=(0,a.I8)(Lt(Tt));let st;return Kt?st=Object.keys(gt):Vt?st=(0,y.r7)(Tt.expandedKeys||mt||[],gt):st=Tt.expandedKeys||mt,st},[Tn,Bt]=je.useState(Tt.selectedKeys||Tt.defaultSelectedKeys||[]),[Rn,$n]=je.useState(()=>un());je.useEffect(()=>{"selectedKeys"in Tt&&Bt(Tt.selectedKeys)},[Tt.selectedKeys]),je.useEffect(()=>{"expandedKeys"in Tt&&$n(Tt.expandedKeys)},[Tt.expandedKeys]);const Xe=(gt,st)=>{var Rt;return"expandedKeys"in Tt||$n(gt),(Rt=Tt.onExpand)===null||Rt===void 0?void 0:Rt.call(Tt,gt,st)},fn=(gt,st)=>{var Rt;const{multiple:hn}=Tt,{node:It,nativeEvent:sn}=st,{key:Ft=""}=It,yn=Lt(Tt),At=Object.assign(Object.assign({},st),{selected:!0}),qt=(sn==null?void 0:sn.ctrlKey)||(sn==null?void 0:sn.metaKey),gn=sn==null?void 0:sn.shiftKey;let pn;hn&&qt?(pn=gt,wn.current=Ft,Qn.current=pn,At.selectedNodes=Te(yn,pn)):hn&&gn?(pn=Array.from(new Set([].concat((0,Ce.Z)(Qn.current||[]),(0,Ce.Z)(tt({treeData:yn,expandedKeys:Rn,startKey:Ft,endKey:wn.current}))))),At.selectedNodes=Te(yn,pn)):(pn=[Ft],wn.current=Ft,Qn.current=pn,At.selectedNodes=Te(yn,pn)),(Rt=Tt.onSelect)===null||Rt===void 0||Rt.call(Tt,pn,At),"selectedKeys"in Tt||Bt(pn)},{getPrefixCls:Fe,direction:fe}=je.useContext(ee.E_),{prefixCls:ce,className:Se,showIcon:qe=!0,expandAction:dt="click"}=Tt,He=pt(Tt,["prefixCls","className","showIcon","expandAction"]),Ye=Fe("tree",ce),Pt=ie()(`${Ye}-directory`,{[`${Ye}-directory-rtl`]:fe==="rtl"},Se);return je.createElement(Ue,Object.assign({icon:Qe,ref:at,blockNode:!0},He,{showIcon:qe,expandAction:dt,prefixCls:Ye,className:Pt,expandedKeys:Rn,selectedKeys:Tn,onSelect:fn,onExpand:Xe}))};var St=je.forwardRef(it);const lt=Ue;lt.DirectoryTree=St,lt.TreeNode=me.O;var vt=lt},20648:function(Yt,Dt,Be){"use strict";Be.d(Dt,{TM:function(){return Ee},Yk:function(){return xe}});var me=Be(36237),Ce=Be(98447),Me=Be(17313),rt=Be(8378),ze=Be(37613),je=Be(83116);const ve=new me.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),we=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Ne=(ie,y)=>({[`.${ie}-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:'""'}}}),ge=(ie,y)=>{const{treeCls:a,treeNodeCls:ee,treeNodePadding:E,titleHeight:te,nodeSelectedBg:ne,nodeHoverBg:ae}=y,de=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Me.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,Me.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${ee}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:ve,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}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,Me.oN)(y)),[`&:not(${ee}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:te,lineHeight:`${te}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${ee}:hover &`]:{opacity:.45}},[`&${ee}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},we(ie,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:te,margin:0,lineHeight:`${te}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:te/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:te/2*.8,height:te/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:de},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:te,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${te}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ae},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:te,height:te,lineHeight:`${te}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${te}px`,userSelect:"none"},Ne(ie,y)),[`${ee}.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:te/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ee}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${te/2}px !important`}}}}})}},De=ie=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:ee,directoryNodeSelectedBg:E,directoryNodeSelectedColor:te}=ie;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ee,insetInlineStart:0,transition:`background-color ${ie.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ie.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ie.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:te,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:te},[`${y}-node-content-wrapper`]:{color:te,background:"transparent"}}}}}},xe=(ie,y)=>{const a=`.${ie}`,ee=`${a}-treenode`,E=y.paddingXS/2,te=(0,ze.TS)(y,{treeCls:a,treeNodeCls:ee,treeNodePadding:E});return[ge(ie,te),De(te)]},Ee=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};Dt.ZP=(0,je.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,Ce.C2)(`${a}-checkbox`,ie)},xe(a,ie),(0,rt.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},Ee(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return ee}});var me=Be(60499),Ce=Be(59301),Me={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"},rt=Me,ze=Be(7657),je=function(te,ne){return Ce.createElement(ze.Z,(0,me.Z)({},te,{ref:ne,icon:rt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(52671),ge=Be(58617),De=Be(15075),xe=Be(43531),Ee=Be(92310),ie=Be.n(Ee),y=Be(92343),ee=E=>{const{prefixCls:te,switcherIcon:ne,treeNodeProps:ae,showLine:de}=E,{isLeaf:Le,expanded:Pe,loading:Ue}=ae;if(Ue)return Ce.createElement(ge.Z,{className:`${te}-switcher-loading-icon`});let Ge;if(de&&typeof de=="object"&&(Ge=de.showLeafIcon),Le){if(!de)return null;if(typeof Ge!="boolean"&&Ge){const Te=typeof Ge=="function"?Ge(ae):Ge,pt=`${te}-switcher-line-custom-icon`;return(0,y.l$)(Te)?(0,y.Tm)(Te,{className:ie()(Te.props.className||"",pt)}):Te}return Ge?Ce.createElement(Ne.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement("span",{className:`${te}-switcher-leaf-line`})}const Ze=`${te}-switcher-icon`,tt=typeof ne=="function"?ne(ae):ne;return(0,y.l$)(tt)?(0,y.Tm)(tt,{className:ie()(tt.props.className||"",Ze)}):tt!==void 0?tt:de?Pe?Ce.createElement(De.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(xe.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(we,{className:Ze})}},86251:function(Yt,Dt){"use strict";Dt.byteLength=ve,Dt.toByteArray=Ne,Dt.fromByteArray=xe;for(var Be=[],me=[],Ce=typeof Uint8Array!="undefined"?Uint8Array:Array,Me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rt=0,ze=Me.length;rt0)throw new Error("Invalid string. Length must be a multiple of 4");var y=Ee.indexOf("=");y===-1&&(y=ie);var a=y===ie?0:4-y%4;return[y,a]}function ve(Ee){var ie=je(Ee),y=ie[0],a=ie[1];return(y+a)*3/4-a}function we(Ee,ie,y){return(ie+y)*3/4-y}function Ne(Ee){var ie,y=je(Ee),a=y[0],ee=y[1],E=new Ce(we(Ee,a,ee)),te=0,ne=ee>0?a-4:a,ae;for(ae=0;ae>16&255,E[te++]=ie>>8&255,E[te++]=ie&255;return ee===2&&(ie=me[Ee.charCodeAt(ae)]<<2|me[Ee.charCodeAt(ae+1)]>>4,E[te++]=ie&255),ee===1&&(ie=me[Ee.charCodeAt(ae)]<<10|me[Ee.charCodeAt(ae+1)]<<4|me[Ee.charCodeAt(ae+2)]>>2,E[te++]=ie>>8&255,E[te++]=ie&255),E}function ge(Ee){return Be[Ee>>18&63]+Be[Ee>>12&63]+Be[Ee>>6&63]+Be[Ee&63]}function De(Ee,ie,y){for(var a,ee=[],E=ie;Ene?ne:te+E));return a===1?(ie=Ee[y-1],ee.push(Be[ie>>2]+Be[ie<<4&63]+"==")):a===2&&(ie=(Ee[y-2]<<8)+Ee[y-1],ee.push(Be[ie>>10]+Be[ie>>4&63]+Be[ie<<2&63]+"=")),ee.join("")}},19208:function(Yt,Dt,Be){"use strict";var me;var Ce=Be(86251),Me=Be(67467),rt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Dt.lW=we,me=te,Dt.h2=50;var ze=2147483647;me=ze,we.TYPED_ARRAY_SUPPORT=je(),!we.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 Fe=new Uint8Array(1),fe={foo:function(){return 42}};return Object.setPrototypeOf(fe,Uint8Array.prototype),Object.setPrototypeOf(Fe,fe),Fe.foo()===42}catch(ce){return!1}}Object.defineProperty(we.prototype,"parent",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.buffer}}),Object.defineProperty(we.prototype,"offset",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.byteOffset}});function ve(Fe){if(Fe>ze)throw new RangeError('The value "'+Fe+'" is invalid for option "size"');var fe=new Uint8Array(Fe);return Object.setPrototypeOf(fe,we.prototype),fe}function we(Fe,fe,ce){if(typeof Fe=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return xe(Fe)}return Ne(Fe,fe,ce)}we.poolSize=8192;function Ne(Fe,fe,ce){if(typeof Fe=="string")return Ee(Fe,fe);if(ArrayBuffer.isView(Fe))return y(Fe);if(Fe==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Fe);if($n(Fe,ArrayBuffer)||Fe&&$n(Fe.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($n(Fe,SharedArrayBuffer)||Fe&&$n(Fe.buffer,SharedArrayBuffer)))return a(Fe,fe,ce);if(typeof Fe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Se=Fe.valueOf&&Fe.valueOf();if(Se!=null&&Se!==Fe)return we.from(Se,fe,ce);var qe=ee(Fe);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Fe[Symbol.toPrimitive]=="function")return we.from(Fe[Symbol.toPrimitive]("string"),fe,ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Fe)}we.from=function(Fe,fe,ce){return Ne(Fe,fe,ce)},Object.setPrototypeOf(we.prototype,Uint8Array.prototype),Object.setPrototypeOf(we,Uint8Array);function ge(Fe){if(typeof Fe!="number")throw new TypeError('"size" argument must be of type number');if(Fe<0)throw new RangeError('The value "'+Fe+'" is invalid for option "size"')}function De(Fe,fe,ce){return ge(Fe),Fe<=0?ve(Fe):fe!==void 0?typeof ce=="string"?ve(Fe).fill(fe,ce):ve(Fe).fill(fe):ve(Fe)}we.alloc=function(Fe,fe,ce){return De(Fe,fe,ce)};function xe(Fe){return ge(Fe),ve(Fe<0?0:E(Fe)|0)}we.allocUnsafe=function(Fe){return xe(Fe)},we.allocUnsafeSlow=function(Fe){return xe(Fe)};function Ee(Fe,fe){if((typeof fe!="string"||fe==="")&&(fe="utf8"),!we.isEncoding(fe))throw new TypeError("Unknown encoding: "+fe);var ce=ne(Fe,fe)|0,Se=ve(ce),qe=Se.write(Fe,fe);return qe!==ce&&(Se=Se.slice(0,qe)),Se}function ie(Fe){for(var fe=Fe.length<0?0:E(Fe.length)|0,ce=ve(fe),Se=0;Se=ze)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ze.toString(16)+" bytes");return Fe|0}function te(Fe){return+Fe!=Fe&&(Fe=0),we.alloc(+Fe)}we.isBuffer=function(fe){return fe!=null&&fe._isBuffer===!0&&fe!==we.prototype},we.compare=function(fe,ce){if($n(fe,Uint8Array)&&(fe=we.from(fe,fe.offset,fe.byteLength)),$n(ce,Uint8Array)&&(ce=we.from(ce,ce.offset,ce.byteLength)),!we.isBuffer(fe)||!we.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(fe===ce)return 0;for(var Se=fe.length,qe=ce.length,dt=0,He=Math.min(Se,qe);dtqe.length?we.from(He).copy(qe,dt):Uint8Array.prototype.set.call(qe,He,dt);else if(we.isBuffer(He))He.copy(qe,dt);else throw new TypeError('"list" argument must be an Array of Buffers');dt+=He.length}return qe};function ne(Fe,fe){if(we.isBuffer(Fe))return Fe.length;if(ArrayBuffer.isView(Fe)||$n(Fe,ArrayBuffer))return Fe.byteLength;if(typeof Fe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Fe);var ce=Fe.length,Se=arguments.length>2&&arguments[2]===!0;if(!Se&&ce===0)return 0;for(var qe=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return Qn(Fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce*2;case"hex":return ce>>>1;case"base64":return Bt(Fe).length;default:if(qe)return Se?-1:Qn(Fe).length;fe=(""+fe).toLowerCase(),qe=!0}}we.byteLength=ne;function ae(Fe,fe,ce){var Se=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((ce===void 0||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0,fe>>>=0,ce<=fe))return"";for(Fe||(Fe="utf8");;)switch(Fe){case"hex":return lt(this,fe,ce);case"utf8":case"utf-8":return Qe(this,fe,ce);case"ascii":return ot(this,fe,ce);case"latin1":case"binary":return St(this,fe,ce);case"base64":return pt(this,fe,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vt(this,fe,ce);default:if(Se)throw new TypeError("Unknown encoding: "+Fe);Fe=(Fe+"").toLowerCase(),Se=!0}}we.prototype._isBuffer=!0;function de(Fe,fe,ce){var Se=Fe[fe];Fe[fe]=Fe[ce],Fe[ce]=Se}we.prototype.swap16=function(){var fe=this.length;if(fe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;cece&&(fe+=" ... "),""},rt&&(we.prototype[rt]=we.prototype.inspect),we.prototype.compare=function(fe,ce,Se,qe,dt){if($n(fe,Uint8Array)&&(fe=we.from(fe,fe.offset,fe.byteLength)),!we.isBuffer(fe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof fe);if(ce===void 0&&(ce=0),Se===void 0&&(Se=fe?fe.length:0),qe===void 0&&(qe=0),dt===void 0&&(dt=this.length),ce<0||Se>fe.length||qe<0||dt>this.length)throw new RangeError("out of range index");if(qe>=dt&&ce>=Se)return 0;if(qe>=dt)return-1;if(ce>=Se)return 1;if(ce>>>=0,Se>>>=0,qe>>>=0,dt>>>=0,this===fe)return 0;for(var He=dt-qe,Ye=Se-ce,Pt=Math.min(He,Ye),gt=this.slice(qe,dt),st=fe.slice(ce,Se),Rt=0;Rt2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ce=+ce,Xe(ce)&&(ce=qe?0:Fe.length-1),ce<0&&(ce=Fe.length+ce),ce>=Fe.length){if(qe)return-1;ce=Fe.length-1}else if(ce<0)if(qe)ce=0;else return-1;if(typeof fe=="string"&&(fe=we.from(fe,Se)),we.isBuffer(fe))return fe.length===0?-1:Pe(Fe,fe,ce,Se,qe);if(typeof fe=="number")return fe=fe&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Fe,fe,ce):Uint8Array.prototype.lastIndexOf.call(Fe,fe,ce):Pe(Fe,[fe],ce,Se,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Fe,fe,ce,Se,qe){var dt=1,He=Fe.length,Ye=fe.length;if(Se!==void 0&&(Se=String(Se).toLowerCase(),Se==="ucs2"||Se==="ucs-2"||Se==="utf16le"||Se==="utf-16le")){if(Fe.length<2||fe.length<2)return-1;dt=2,He/=2,Ye/=2,ce/=2}function Pt(It,sn){return dt===1?It[sn]:It.readUInt16BE(sn*dt)}var gt;if(qe){var st=-1;for(gt=ce;gtHe&&(ce=He-Ye),gt=ce;gt>=0;gt--){for(var Rt=!0,hn=0;hnqe&&(Se=qe)):Se=qe;var dt=fe.length;Se>dt/2&&(Se=dt/2);for(var He=0;He>>0,isFinite(Se)?(Se=Se>>>0,qe===void 0&&(qe="utf8")):(qe=Se,Se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var dt=this.length-ce;if((Se===void 0||Se>dt)&&(Se=dt),fe.length>0&&(Se<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var He=!1;;)switch(qe){case"hex":return Ue(this,fe,ce,Se);case"utf8":case"utf-8":return Ge(this,fe,ce,Se);case"ascii":case"latin1":case"binary":return Ze(this,fe,ce,Se);case"base64":return tt(this,fe,ce,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te(this,fe,ce,Se);default:if(He)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),He=!0}},we.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pt(Fe,fe,ce){return fe===0&&ce===Fe.length?Ce.fromByteArray(Fe):Ce.fromByteArray(Fe.slice(fe,ce))}function Qe(Fe,fe,ce){ce=Math.min(Fe.length,ce);for(var Se=[],qe=fe;qe239?4:dt>223?3:dt>191?2:1;if(qe+Ye<=ce){var Pt,gt,st,Rt;switch(Ye){case 1:dt<128&&(He=dt);break;case 2:Pt=Fe[qe+1],(Pt&192)===128&&(Rt=(dt&31)<<6|Pt&63,Rt>127&&(He=Rt));break;case 3:Pt=Fe[qe+1],gt=Fe[qe+2],(Pt&192)===128&&(gt&192)===128&&(Rt=(dt&15)<<12|(Pt&63)<<6|gt&63,Rt>2047&&(Rt<55296||Rt>57343)&&(He=Rt));break;case 4:Pt=Fe[qe+1],gt=Fe[qe+2],st=Fe[qe+3],(Pt&192)===128&&(gt&192)===128&&(st&192)===128&&(Rt=(dt&15)<<18|(Pt&63)<<12|(gt&63)<<6|st&63,Rt>65535&&Rt<1114112&&(He=Rt))}}He===null?(He=65533,Ye=1):He>65535&&(He-=65536,Se.push(He>>>10&1023|55296),He=56320|He&1023),Se.push(He),qe+=Ye}return it(Se)}var Lt=4096;function it(Fe){var fe=Fe.length;if(fe<=Lt)return String.fromCharCode.apply(String,Fe);for(var ce="",Se=0;SeSe)&&(ce=Se);for(var qe="",dt=fe;dtSe&&(fe=Se),ce<0?(ce+=Se,ce<0&&(ce=0)):ce>Se&&(ce=Se),cece)throw new RangeError("Trying to access beyond buffer length")}we.prototype.readUintLE=we.prototype.readUIntLE=function(fe,ce,Se){fe=fe>>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=this[fe],dt=1,He=0;++He>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=this[fe+--ce],dt=1;ce>0&&(dt*=256);)qe+=this[fe+--ce]*dt;return qe},we.prototype.readUint8=we.prototype.readUInt8=function(fe,ce){return fe=fe>>>0,ce||ut(fe,1,this.length),this[fe]},we.prototype.readUint16LE=we.prototype.readUInt16LE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,2,this.length),this[fe]|this[fe+1]<<8},we.prototype.readUint16BE=we.prototype.readUInt16BE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,2,this.length),this[fe]<<8|this[fe+1]},we.prototype.readUint32LE=we.prototype.readUInt32LE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),(this[fe]|this[fe+1]<<8|this[fe+2]<<16)+this[fe+3]*16777216},we.prototype.readUint32BE=we.prototype.readUInt32BE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),this[fe]*16777216+(this[fe+1]<<16|this[fe+2]<<8|this[fe+3])},we.prototype.readIntLE=function(fe,ce,Se){fe=fe>>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=this[fe],dt=1,He=0;++He=dt&&(qe-=Math.pow(2,8*ce)),qe},we.prototype.readIntBE=function(fe,ce,Se){fe=fe>>>0,ce=ce>>>0,Se||ut(fe,ce,this.length);for(var qe=ce,dt=1,He=this[fe+--qe];qe>0&&(dt*=256);)He+=this[fe+--qe]*dt;return dt*=128,He>=dt&&(He-=Math.pow(2,8*ce)),He},we.prototype.readInt8=function(fe,ce){return fe=fe>>>0,ce||ut(fe,1,this.length),this[fe]&128?(255-this[fe]+1)*-1:this[fe]},we.prototype.readInt16LE=function(fe,ce){fe=fe>>>0,ce||ut(fe,2,this.length);var Se=this[fe]|this[fe+1]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt16BE=function(fe,ce){fe=fe>>>0,ce||ut(fe,2,this.length);var Se=this[fe+1]|this[fe]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt32LE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),this[fe]|this[fe+1]<<8|this[fe+2]<<16|this[fe+3]<<24},we.prototype.readInt32BE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),this[fe]<<24|this[fe+1]<<16|this[fe+2]<<8|this[fe+3]},we.prototype.readFloatLE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),Me.read(this,fe,!0,23,4)},we.prototype.readFloatBE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,4,this.length),Me.read(this,fe,!1,23,4)},we.prototype.readDoubleLE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,8,this.length),Me.read(this,fe,!0,52,8)},we.prototype.readDoubleBE=function(fe,ce){return fe=fe>>>0,ce||ut(fe,8,this.length),Me.read(this,fe,!1,52,8)};function at(Fe,fe,ce,Se,qe,dt){if(!we.isBuffer(Fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>qe||feFe.length)throw new RangeError("Index out of range")}we.prototype.writeUintLE=we.prototype.writeUIntLE=function(fe,ce,Se,qe){if(fe=+fe,ce=ce>>>0,Se=Se>>>0,!qe){var dt=Math.pow(2,8*Se)-1;at(this,fe,ce,Se,dt,0)}var He=1,Ye=0;for(this[ce]=fe&255;++Ye>>0,Se=Se>>>0,!qe){var dt=Math.pow(2,8*Se)-1;at(this,fe,ce,Se,dt,0)}var He=Se-1,Ye=1;for(this[ce+He]=fe&255;--He>=0&&(Ye*=256);)this[ce+He]=fe/Ye&255;return ce+Se},we.prototype.writeUint8=we.prototype.writeUInt8=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,1,255,0),this[ce]=fe&255,ce+1},we.prototype.writeUint16LE=we.prototype.writeUInt16LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,65535,0),this[ce]=fe&255,this[ce+1]=fe>>>8,ce+2},we.prototype.writeUint16BE=we.prototype.writeUInt16BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,65535,0),this[ce]=fe>>>8,this[ce+1]=fe&255,ce+2},we.prototype.writeUint32LE=we.prototype.writeUInt32LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,4294967295,0),this[ce+3]=fe>>>24,this[ce+2]=fe>>>16,this[ce+1]=fe>>>8,this[ce]=fe&255,ce+4},we.prototype.writeUint32BE=we.prototype.writeUInt32BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,4294967295,0),this[ce]=fe>>>24,this[ce+1]=fe>>>16,this[ce+2]=fe>>>8,this[ce+3]=fe&255,ce+4},we.prototype.writeIntLE=function(fe,ce,Se,qe){if(fe=+fe,ce=ce>>>0,!qe){var dt=Math.pow(2,8*Se-1);at(this,fe,ce,Se,dt-1,-dt)}var He=0,Ye=1,Pt=0;for(this[ce]=fe&255;++He>0)-Pt&255;return ce+Se},we.prototype.writeIntBE=function(fe,ce,Se,qe){if(fe=+fe,ce=ce>>>0,!qe){var dt=Math.pow(2,8*Se-1);at(this,fe,ce,Se,dt-1,-dt)}var He=Se-1,Ye=1,Pt=0;for(this[ce+He]=fe&255;--He>=0&&(Ye*=256);)fe<0&&Pt===0&&this[ce+He+1]!==0&&(Pt=1),this[ce+He]=(fe/Ye>>0)-Pt&255;return ce+Se},we.prototype.writeInt8=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,1,127,-128),fe<0&&(fe=255+fe+1),this[ce]=fe&255,ce+1},we.prototype.writeInt16LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,32767,-32768),this[ce]=fe&255,this[ce+1]=fe>>>8,ce+2},we.prototype.writeInt16BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,2,32767,-32768),this[ce]=fe>>>8,this[ce+1]=fe&255,ce+2},we.prototype.writeInt32LE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,2147483647,-2147483648),this[ce]=fe&255,this[ce+1]=fe>>>8,this[ce+2]=fe>>>16,this[ce+3]=fe>>>24,ce+4},we.prototype.writeInt32BE=function(fe,ce,Se){return fe=+fe,ce=ce>>>0,Se||at(this,fe,ce,4,2147483647,-2147483648),fe<0&&(fe=4294967295+fe+1),this[ce]=fe>>>24,this[ce+1]=fe>>>16,this[ce+2]=fe>>>8,this[ce+3]=fe&255,ce+4};function Kt(Fe,fe,ce,Se,qe,dt){if(ce+Se>Fe.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function Vt(Fe,fe,ce,Se,qe){return fe=+fe,ce=ce>>>0,qe||Kt(Fe,fe,ce,4,34028234663852886e22,-34028234663852886e22),Me.write(Fe,fe,ce,Se,23,4),ce+4}we.prototype.writeFloatLE=function(fe,ce,Se){return Vt(this,fe,ce,!0,Se)},we.prototype.writeFloatBE=function(fe,ce,Se){return Vt(this,fe,ce,!1,Se)};function mt(Fe,fe,ce,Se,qe){return fe=+fe,ce=ce>>>0,qe||Kt(Fe,fe,ce,8,17976931348623157e292,-17976931348623157e292),Me.write(Fe,fe,ce,Se,52,8),ce+8}we.prototype.writeDoubleLE=function(fe,ce,Se){return mt(this,fe,ce,!0,Se)},we.prototype.writeDoubleBE=function(fe,ce,Se){return mt(this,fe,ce,!1,Se)},we.prototype.copy=function(fe,ce,Se,qe){if(!we.isBuffer(fe))throw new TypeError("argument should be a Buffer");if(Se||(Se=0),!qe&&qe!==0&&(qe=this.length),ce>=fe.length&&(ce=fe.length),ce||(ce=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),fe.length-ce>>0,Se=Se===void 0?this.length:Se>>>0,fe||(fe=0);var He;if(typeof fe=="number")for(He=ce;He55295&&ce<57344){if(!qe){if(ce>56319){(fe-=3)>-1&&dt.push(239,191,189);continue}else if(He+1===Se){(fe-=3)>-1&&dt.push(239,191,189);continue}qe=ce;continue}if(ce<56320){(fe-=3)>-1&&dt.push(239,191,189),qe=ce;continue}ce=(qe-55296<<10|ce-56320)+65536}else qe&&(fe-=3)>-1&&dt.push(239,191,189);if(qe=null,ce<128){if((fe-=1)<0)break;dt.push(ce)}else if(ce<2048){if((fe-=2)<0)break;dt.push(ce>>6|192,ce&63|128)}else if(ce<65536){if((fe-=3)<0)break;dt.push(ce>>12|224,ce>>6&63|128,ce&63|128)}else if(ce<1114112){if((fe-=4)<0)break;dt.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,ce&63|128)}else throw new Error("Invalid code point")}return dt}function un(Fe){for(var fe=[],ce=0;ce>8,qe=ce%256,dt.push(qe),dt.push(Se);return dt}function Bt(Fe){return Ce.toByteArray(wn(Fe))}function Rn(Fe,fe,ce,Se){for(var qe=0;qe=fe.length||qe>=Fe.length);++qe)fe[qe+ce]=Fe[qe];return qe}function $n(Fe,fe){return Fe instanceof fe||Fe!=null&&Fe.constructor!=null&&Fe.constructor.name!=null&&Fe.constructor.name===fe.name}function Xe(Fe){return Fe!==Fe}var fn=function(){for(var Fe="0123456789abcdef",fe=new Array(256),ce=0;ce<16;++ce)for(var Se=ce*16,qe=0;qe<16;++qe)fe[Se+qe]=Fe[ce]+Fe[qe];return fe}()},14625:function(Yt){function Dt(me){var Ce,Me,rt="";if(typeof me=="string"||typeof me=="number")rt+=me;else if(typeof me=="object")if(Array.isArray(me)){var ze=me.length;for(Ce=0;Ce0&&(Ue=ae[0]),Ue instanceof Error)throw Ue;var Ge=new Error("Unhandled error."+(Ue?" ("+Ue.message+")":""));throw Ge.context=Ue,Ge}var Ze=Pe[ne];if(Ze===void 0)return!1;if(typeof Ze=="function")Be(Ze,this,ae);else for(var tt=Ze.length,Te=Ee(Ze,tt),de=0;de0&&Ue.length>Le&&!Ue.warned){Ue.warned=!0;var Ge=new Error("Possible EventEmitter memory leak detected. "+Ue.length+" "+String(ne)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ge.name="MaxListenersExceededWarning",Ge.emitter=te,Ge.type=ne,Ge.count=Ue.length,Ce(Ge)}return te}rt.prototype.addListener=function(ne,ae){return we(this,ne,ae,!1)},rt.prototype.on=rt.prototype.addListener,rt.prototype.prependListener=function(ne,ae){return we(this,ne,ae,!0)};function Ne(){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 ge(te,ne,ae){var de={fired:!1,wrapFn:void 0,target:te,type:ne,listener:ae},Le=Ne.bind(de);return Le.listener=ae,de.wrapFn=Le,Le}rt.prototype.once=function(ne,ae){return je(ae),this.on(ne,ge(this,ne,ae)),this},rt.prototype.prependOnceListener=function(ne,ae){return je(ae),this.prependListener(ne,ge(this,ne,ae)),this},rt.prototype.removeListener=function(ne,ae){var de,Le,Pe,Ue,Ge;if(je(ae),Le=this._events,Le===void 0)return this;if(de=Le[ne],de===void 0)return this;if(de===ae||de.listener===ae)--this._eventsCount===0?this._events=Object.create(null):(delete Le[ne],Le.removeListener&&this.emit("removeListener",ne,de.listener||ae));else if(typeof de!="function"){for(Pe=-1,Ue=de.length-1;Ue>=0;Ue--)if(de[Ue]===ae||de[Ue].listener===ae){Ge=de[Ue].listener,Pe=Ue;break}if(Pe<0)return this;Pe===0?de.shift():ie(de,Pe),de.length===1&&(Le[ne]=de[0]),Le.removeListener!==void 0&&this.emit("removeListener",ne,Ge||ae)}return this},rt.prototype.off=rt.prototype.removeListener,rt.prototype.removeAllListeners=function(ne){var ae,de,Le;if(de=this._events,de===void 0)return this;if(de.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):de[ne]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete de[ne]),this;if(arguments.length===0){var Pe=Object.keys(de),Ue;for(Le=0;Le=0;Le--)this.removeListener(ne,ae[Le]);return this};function De(te,ne,ae){var de=te._events;if(de===void 0)return[];var Le=de[ne];return Le===void 0?[]:typeof Le=="function"?ae?[Le.listener||Le]:[Le]:ae?y(Le):Ee(Le,Le.length)}rt.prototype.listeners=function(ne){return De(this,ne,!0)},rt.prototype.rawListeners=function(ne){return De(this,ne,!1)},rt.listenerCount=function(te,ne){return typeof te.listenerCount=="function"?te.listenerCount(ne):xe.call(te,ne)},rt.prototype.listenerCount=xe;function xe(te){var ne=this._events;if(ne!==void 0){var ae=ne[te];if(typeof ae=="function")return 1;if(ae!==void 0)return ae.length}return 0}rt.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Ee(te,ne){for(var ae=new Array(ne),de=0;de0&&nt[nt.length-1])&&(Dn[0]===6||Dn[0]===2)){pe=0;continue}if(Dn[0]===3&&(!nt||Dn[1]>nt[0]&&Dn[1]=55296&&_e<=56319&&pe>10)+55296,wt%1024+56320)),(_e+1===pe||he.length>16384)&&(nt+=String.fromCharCode.apply(String,he),he.length=0)}return nt},ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",De=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),xe=0;xe>4,jn[_e++]=(wt&15)<<4|_t>>2,jn[_e++]=(_t&3)<<6|Mt&63;return Dn},ee=function(ue){for(var se=ue.length,pe=[],he=0;he>te,Pe=1<>te,Ze=Le+Ge,tt=Ze,Te=32,pt=tt+Te,Qe=65536>>ne,Lt=1<=0){if(se<55296||se>56319&&se<=65535)return pe=this.index[se>>te],pe=(pe<>te)],pe=(pe<>ne),pe=this.index[pe],pe+=se>>te&it,pe=this.index[pe],pe=(pe<mt?(_e.push(!0),_t-=mt):_e.push(!1),["normal","auto","loose"].indexOf(se)!==-1&&[8208,8211,12316,12448].indexOf(nt)!==-1)return he.push(wt),pe.push(qe);if(_t===un||_t===fn){if(wt===0)return he.push(wt),pe.push(qt);var Mt=pe[wt-1];return Mi.indexOf(Mt)===-1?(he.push(he[wt-1]),pe.push(Mt)):(he.push(wt),pe.push(qt))}if(he.push(wt),_t===gn)return pe.push(se==="strict"?gt:lr);if(_t===wa||_t===At)return pe.push(qt);if(_t===kr)return nt>=131072&&nt<=196605||nt>=196608&&nt<=262141?pe.push(lr):pe.push(qt);pe.push(_t)}),[he,pe,_e]},On=function(ue,se,pe,he){var _e=he[pe];if(Array.isArray(ue)?ue.indexOf(_e)!==-1:ue===_e)for(var nt=pe;nt<=he.length;){nt++;var wt=he[nt];if(wt===se)return!0;if(wt!==Xe)break}if(_e===Xe)for(var nt=pe;nt>0;){nt--;var _t=he[nt];if(Array.isArray(ue)?ue.indexOf(_t)!==-1:ue===_t)for(var Mt=pe;Mt<=he.length;){Mt++;var wt=he[Mt];if(wt===se)return!0;if(wt!==Xe)break}if(_t!==Xe)break}return!1},dn=function(ue,se){for(var pe=ue;pe>=0;){var he=se[pe];if(he===Xe)pe--;else return he}return 0},Qr=function(ue,se,pe,he,_e){if(pe[he]===0)return Mr;var nt=he-1;if(Array.isArray(_e)&&_e[nt]===!0)return Mr;var wt=nt-1,_t=nt+1,Mt=se[nt],Dn=wt>=0?se[wt]:0,jn=se[_t];if(Mt===wn&&jn===Qn)return Mr;if(gi.indexOf(Mt)!==-1)return Wa;if(gi.indexOf(jn)!==-1||zi.indexOf(jn)!==-1)return Mr;if(dn(nt,se)===Rn)return an;if(ri.get(ue[nt])===fn||(Mt===pn||Mt===Yn)&&ri.get(ue[_t])===fn||Mt===Bt||jn===Bt||Mt===$n||[Xe,fe,Se].indexOf(Mt)===-1&&jn===$n||[dt,He,Ye,hn,yn].indexOf(jn)!==-1||dn(nt,se)===st||On(Rt,st,nt,se)||On([dt,He],gt,nt,se)||On(Fe,Fe,nt,se))return Mr;if(Mt===Xe)return an;if(Mt===Rt||jn===Rt)return Mr;if(jn===qe||Mt===qe)return an;if([fe,Se,gt].indexOf(jn)!==-1||Mt===ce||Dn===br&&ai.indexOf(Mt)!==-1||Mt===yn&&jn===br||jn===Pt||Bo.indexOf(jn)!==-1&&Mt===It||Bo.indexOf(Mt)!==-1&&jn===It||Mt===Ft&&[lr,pn,Yn].indexOf(jn)!==-1||[lr,pn,Yn].indexOf(Mt)!==-1&&jn===sn||Bo.indexOf(Mt)!==-1&&Fo.indexOf(jn)!==-1||Fo.indexOf(Mt)!==-1&&Bo.indexOf(jn)!==-1||[Ft,sn].indexOf(Mt)!==-1&&(jn===It||[st,Se].indexOf(jn)!==-1&&se[_t+1]===It)||[st,Se].indexOf(Mt)!==-1&&jn===It||Mt===It&&[It,yn,hn].indexOf(jn)!==-1)return Mr;if([It,yn,hn,dt,He].indexOf(jn)!==-1)for(var zn=nt;zn>=0;){var wr=se[zn];if(wr===It)return Mr;if([yn,hn].indexOf(wr)!==-1)zn--;else break}if([Ft,sn].indexOf(jn)!==-1)for(var zn=[dt,He].indexOf(Mt)!==-1?wt:nt;zn>=0;){var wr=se[zn];if(wr===It)return Mr;if([yn,hn].indexOf(wr)!==-1)zn--;else break}if(ar===Mt&&[ar,Ar,ir,yr].indexOf(jn)!==-1||[Ar,ir].indexOf(Mt)!==-1&&[Ar,Cr].indexOf(jn)!==-1||[Cr,yr].indexOf(Mt)!==-1&&jn===Cr||Gi.indexOf(Mt)!==-1&&[Pt,sn].indexOf(jn)!==-1||Gi.indexOf(jn)!==-1&&Mt===Ft||Bo.indexOf(Mt)!==-1&&Bo.indexOf(jn)!==-1||Mt===hn&&Bo.indexOf(jn)!==-1||Bo.concat(It).indexOf(Mt)!==-1&&jn===st&&Ja.indexOf(ue[_t])===-1||Bo.concat(It).indexOf(jn)!==-1&&Mt===He)return Mr;if(Mt===ea&&jn===ea){for(var Ra=pe[nt],qr=1;Ra>0&&(Ra--,se[Ra]===ea);)qr++;if(qr%2!==0)return Mr}return Mt===pn&&jn===Yn?Mr:an},la=function(ue,se){se||(se={lineBreak:"normal",wordBreak:"normal"});var pe=Pn(ue,se.lineBreak),he=pe[0],_e=pe[1],nt=pe[2];(se.wordBreak==="break-all"||se.wordBreak==="break-word")&&(_e=_e.map(function(_t){return[It,qt,wa].indexOf(_t)!==-1?lr:_t}));var wt=se.wordBreak==="keep-all"?nt.map(function(_t,Mt){return _t&&ue[Mt]>=19968&&ue[Mt]<=40959}):void 0;return[he,_e,wt]},Dr=function(){function ue(se,pe,he,_e){this.codePoints=se,this.required=pe===Wa,this.start=he,this.end=_e}return ue.prototype.slice=function(){return Ne.apply(void 0,this.codePoints.slice(this.start,this.end))},ue}(),va=function(ue,se){var pe=we(ue),he=la(pe,se),_e=he[0],nt=he[1],wt=he[2],_t=pe.length,Mt=0,Dn=0;return{next:function(){if(Dn>=_t)return{done:!0,value:null};for(var jn=Mr;Dn<_t&&(jn=Qr(pe,nt,_e,++Dn,wt))===Mr;);if(jn!==Mr||Dn===_t){var zn=new Dr(pe,jn,Mt,Dn);return Mt=Dn,{value:zn,done:!1}}return{done:!0,value:null}}}},Ha=1,xa=2,So=4,Wi=8,xr=10,ja=47,Ei=92,ii=9,fi=32,Lo=34,ss=61,Ms=35,Ps=36,BA=37,Js=39,Ui=40,CA=41,yl=95,dA=45,Ur=33,_c=60,gu=62,fu=64,Sl=91,Vr=93,Ma=61,To=123,Ea=63,Pi=125,Xi=124,xs=126,EA=128,PA=65533,xi=42,Oa=43,vc=44,ju=58,Fu=59,bl=46,Lu=0,Jl=8,Rl=11,ql=14,cl=31,rr=127,Zn=-1,ur=48,Yr=97,zt=101,Io=102,jr=117,fo=122,Ka=65,pi=69,co=70,ya=85,Mo=90,Wo=function(ue){return ue>=ur&&ue<=57},_s=function(ue){return ue>=55296&&ue<=57343},no=function(ue){return Wo(ue)||ue>=Ka&&ue<=co||ue>=Yr&&ue<=Io},As=function(ue){return ue>=Yr&&ue<=fo},Fs=function(ue){return ue>=Ka&&ue<=Mo},Xr=function(ue){return As(ue)||Fs(ue)},Rr=function(ue){return ue>=EA},Wt=function(ue){return ue===xr||ue===ii||ue===fi},Qt=function(ue){return Xr(ue)||Rr(ue)||ue===yl},xn=function(ue){return Qt(ue)||Wo(ue)||ue===dA},sr=function(ue){return ue>=Lu&&ue<=Jl||ue===Rl||ue>=ql&&ue<=cl||ue===rr},ta=function(ue,se){return ue!==Ei?!1:se!==xr},ha=function(ue,se,pe){return ue===dA?Qt(se)||ta(se,pe):Qt(ue)?!0:!!(ue===Ei&&ta(ue,se))},aa=function(ue,se,pe){return ue===Oa||ue===dA?Wo(se)?!0:se===bl&&Wo(pe):Wo(ue===bl?se:ue)},Nr=function(ue){var se=0,pe=1;(ue[se]===Oa||ue[se]===dA)&&(ue[se]===dA&&(pe=-1),se++);for(var he=[];Wo(ue[se]);)he.push(ue[se++]);var _e=he.length?parseInt(Ne.apply(void 0,he),10):0;ue[se]===bl&&se++;for(var nt=[];Wo(ue[se]);)nt.push(ue[se++]);var wt=nt.length,_t=wt?parseInt(Ne.apply(void 0,nt),10):0;(ue[se]===pi||ue[se]===zt)&&se++;var Mt=1;(ue[se]===Oa||ue[se]===dA)&&(ue[se]===dA&&(Mt=-1),se++);for(var Dn=[];Wo(ue[se]);)Dn.push(ue[se++]);var jn=Dn.length?parseInt(Ne.apply(void 0,Dn),10):0;return pe*(_e+_t*Math.pow(10,-wt))*Math.pow(10,Mt*jn)},ia={type:2},Qa={type:3},Eo={type:4},wi={type:13},Fa={type:8},ls={type:21},si={type:9},hi={type:10},zr={type:11},La={type:12},so={type:14},vi={type:23},Zi={type:1},Vi={type:25},Ks={type:24},fs={type:26},wA={type:27},Cl={type:28},$l={type:29},El={type:31},eu={type:32},Ln=function(){function ue(){this._value=[]}return ue.prototype.write=function(se){this._value=this._value.concat(we(se))},ue.prototype.read=function(){for(var se=[],pe=this.consumeToken();pe!==eu;)se.push(pe),pe=this.consumeToken();return se},ue.prototype.consumeToken=function(){var se=this.consumeCodePoint();switch(se){case Lo:return this.consumeStringToken(Lo);case Ms:var pe=this.peekCodePoint(0),he=this.peekCodePoint(1),_e=this.peekCodePoint(2);if(xn(pe)||ta(he,_e)){var nt=ha(pe,he,_e)?xa:Ha,wt=this.consumeName();return{type:5,value:wt,flags:nt}}break;case Ps:if(this.peekCodePoint(0)===ss)return this.consumeCodePoint(),wi;break;case Js:return this.consumeStringToken(Js);case Ui:return ia;case CA:return Qa;case xi:if(this.peekCodePoint(0)===ss)return this.consumeCodePoint(),so;break;case Oa:if(aa(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case vc:return Eo;case dA:var _t=se,Mt=this.peekCodePoint(0),Dn=this.peekCodePoint(1);if(aa(_t,Mt,Dn))return this.reconsumeCodePoint(se),this.consumeNumericToken();if(ha(_t,Mt,Dn))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();if(Mt===dA&&Dn===gu)return this.consumeCodePoint(),this.consumeCodePoint(),Ks;break;case bl:if(aa(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case ja:if(this.peekCodePoint(0)===xi)for(this.consumeCodePoint();;){var jn=this.consumeCodePoint();if(jn===xi&&(jn=this.consumeCodePoint(),jn===ja))return this.consumeToken();if(jn===Zn)return this.consumeToken()}break;case ju:return fs;case Fu:return wA;case _c:if(this.peekCodePoint(0)===Ur&&this.peekCodePoint(1)===dA&&this.peekCodePoint(2)===dA)return this.consumeCodePoint(),this.consumeCodePoint(),Vi;break;case fu:var zn=this.peekCodePoint(0),wr=this.peekCodePoint(1),Ra=this.peekCodePoint(2);if(ha(zn,wr,Ra)){var wt=this.consumeName();return{type:7,value:wt}}break;case Sl:return Cl;case Ei:if(ta(se,this.peekCodePoint(0)))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();break;case Vr:return $l;case Ma:if(this.peekCodePoint(0)===ss)return this.consumeCodePoint(),Fa;break;case To:return zr;case Pi:return La;case jr:case ya:var qr=this.peekCodePoint(0),ma=this.peekCodePoint(1);return qr===Oa&&(no(ma)||ma===Ea)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(se),this.consumeIdentLikeToken();case Xi:if(this.peekCodePoint(0)===ss)return this.consumeCodePoint(),si;if(this.peekCodePoint(0)===Xi)return this.consumeCodePoint(),ls;break;case xs:if(this.peekCodePoint(0)===ss)return this.consumeCodePoint(),hi;break;case Zn:return eu}return Wt(se)?(this.consumeWhiteSpace(),El):Wo(se)?(this.reconsumeCodePoint(se),this.consumeNumericToken()):Qt(se)?(this.reconsumeCodePoint(se),this.consumeIdentLikeToken()):{type:6,value:Ne(se)}},ue.prototype.consumeCodePoint=function(){var se=this._value.shift();return typeof se=="undefined"?-1:se},ue.prototype.reconsumeCodePoint=function(se){this._value.unshift(se)},ue.prototype.peekCodePoint=function(se){return se>=this._value.length?-1:this._value[se]},ue.prototype.consumeUnicodeRangeToken=function(){for(var se=[],pe=this.consumeCodePoint();no(pe)&&se.length<6;)se.push(pe),pe=this.consumeCodePoint();for(var he=!1;pe===Ea&&se.length<6;)se.push(pe),pe=this.consumeCodePoint(),he=!0;if(he){var _e=parseInt(Ne.apply(void 0,se.map(function(Mt){return Mt===Ea?ur:Mt})),16),nt=parseInt(Ne.apply(void 0,se.map(function(Mt){return Mt===Ea?co:Mt})),16);return{type:30,start:_e,end:nt}}var wt=parseInt(Ne.apply(void 0,se),16);if(this.peekCodePoint(0)===dA&&no(this.peekCodePoint(1))){this.consumeCodePoint(),pe=this.consumeCodePoint();for(var _t=[];no(pe)&&_t.length<6;)_t.push(pe),pe=this.consumeCodePoint();var nt=parseInt(Ne.apply(void 0,_t),16);return{type:30,start:wt,end:nt}}else return{type:30,start:wt,end:wt}},ue.prototype.consumeIdentLikeToken=function(){var se=this.consumeName();return se.toLowerCase()==="url"&&this.peekCodePoint(0)===Ui?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ui?(this.consumeCodePoint(),{type:19,value:se}):{type:20,value:se}},ue.prototype.consumeUrlToken=function(){var se=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn)return{type:22,value:""};var pe=this.peekCodePoint(0);if(pe===Js||pe===Lo){var he=this.consumeStringToken(this.consumeCodePoint());return he.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn||this.peekCodePoint(0)===CA)?(this.consumeCodePoint(),{type:22,value:he.value}):(this.consumeBadUrlRemnants(),vi)}for(;;){var _e=this.consumeCodePoint();if(_e===Zn||_e===CA)return{type:22,value:Ne.apply(void 0,se)};if(Wt(_e))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn||this.peekCodePoint(0)===CA?(this.consumeCodePoint(),{type:22,value:Ne.apply(void 0,se)}):(this.consumeBadUrlRemnants(),vi);if(_e===Lo||_e===Js||_e===Ui||sr(_e))return this.consumeBadUrlRemnants(),vi;if(_e===Ei)if(ta(_e,this.peekCodePoint(0)))se.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),vi;else se.push(_e)}},ue.prototype.consumeWhiteSpace=function(){for(;Wt(this.peekCodePoint(0));)this.consumeCodePoint()},ue.prototype.consumeBadUrlRemnants=function(){for(;;){var se=this.consumeCodePoint();if(se===CA||se===Zn)return;ta(se,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ue.prototype.consumeStringSlice=function(se){for(var pe=5e4,he="";se>0;){var _e=Math.min(pe,se);he+=Ne.apply(void 0,this._value.splice(0,_e)),se-=_e}return this._value.shift(),he},ue.prototype.consumeStringToken=function(se){var pe="",he=0;do{var _e=this._value[he];if(_e===Zn||_e===void 0||_e===se)return pe+=this.consumeStringSlice(he),{type:0,value:pe};if(_e===xr)return this._value.splice(0,he),Zi;if(_e===Ei){var nt=this._value[he+1];nt!==Zn&&nt!==void 0&&(nt===xr?(pe+=this.consumeStringSlice(he),he=-1,this._value.shift()):ta(_e,nt)&&(pe+=this.consumeStringSlice(he),pe+=Ne(this.consumeEscapedCodePoint()),he=-1))}he++}while(!0)},ue.prototype.consumeNumber=function(){var se=[],pe=So,he=this.peekCodePoint(0);for((he===Oa||he===dA)&&se.push(this.consumeCodePoint());Wo(this.peekCodePoint(0));)se.push(this.consumeCodePoint());he=this.peekCodePoint(0);var _e=this.peekCodePoint(1);if(he===bl&&Wo(_e))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=Wi;Wo(this.peekCodePoint(0));)se.push(this.consumeCodePoint());he=this.peekCodePoint(0),_e=this.peekCodePoint(1);var nt=this.peekCodePoint(2);if((he===pi||he===zt)&&((_e===Oa||_e===dA)&&Wo(nt)||Wo(_e)))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=Wi;Wo(this.peekCodePoint(0));)se.push(this.consumeCodePoint());return[Nr(se),pe]},ue.prototype.consumeNumericToken=function(){var se=this.consumeNumber(),pe=se[0],he=se[1],_e=this.peekCodePoint(0),nt=this.peekCodePoint(1),wt=this.peekCodePoint(2);if(ha(_e,nt,wt)){var _t=this.consumeName();return{type:15,number:pe,flags:he,unit:_t}}return _e===BA?(this.consumeCodePoint(),{type:16,number:pe,flags:he}):{type:17,number:pe,flags:he}},ue.prototype.consumeEscapedCodePoint=function(){var se=this.consumeCodePoint();if(no(se)){for(var pe=Ne(se);no(this.peekCodePoint(0))&&pe.length<6;)pe+=Ne(this.consumeCodePoint());Wt(this.peekCodePoint(0))&&this.consumeCodePoint();var he=parseInt(pe,16);return he===0||_s(he)||he>1114111?PA:he}return se===Zn?PA:se},ue.prototype.consumeName=function(){for(var se="";;){var pe=this.consumeCodePoint();if(xn(pe))se+=Ne(pe);else if(ta(pe,this.peekCodePoint(0)))se+=Ne(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(pe),se}},ue}(),In=function(){function ue(se){this._tokens=se}return ue.create=function(se){var pe=new Ln;return pe.write(se),new ue(pe.read())},ue.parseValue=function(se){return ue.create(se).parseComponentValue()},ue.parseValues=function(se){return ue.create(se).parseComponentValues()},ue.prototype.parseComponentValue=function(){for(var se=this.consumeToken();se.type===31;)se=this.consumeToken();if(se.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(se);var pe=this.consumeComponentValue();do se=this.consumeToken();while(se.type===31);if(se.type===32)return pe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ue.prototype.parseComponentValues=function(){for(var se=[];;){var pe=this.consumeComponentValue();if(pe.type===32)return se;se.push(pe),se.push()}},ue.prototype.consumeComponentValue=function(){var se=this.consumeToken();switch(se.type){case 11:case 28:case 2:return this.consumeSimpleBlock(se.type);case 19:return this.consumeFunction(se)}return se},ue.prototype.consumeSimpleBlock=function(se){for(var pe={type:se,values:[]},he=this.consumeToken();;){if(he.type===32||$u(he,se))return pe;this.reconsumeToken(he),pe.values.push(this.consumeComponentValue()),he=this.consumeToken()}},ue.prototype.consumeFunction=function(se){for(var pe={name:se.value,values:[],type:18};;){var he=this.consumeToken();if(he.type===32||he.type===3)return pe;this.reconsumeToken(he),pe.values.push(this.consumeComponentValue())}},ue.prototype.consumeToken=function(){var se=this._tokens.shift();return typeof se=="undefined"?eu:se},ue.prototype.reconsumeToken=function(se){this._tokens.unshift(se)},ue}(),Pl=function(ue){return ue.type===15},ho=function(ue){return ue.type===17},qa=function(ue){return ue.type===20},Ls=function(ue){return ue.type===0},xA=function(ue,se){return qa(ue)&&ue.value===se},Is=function(ue){return ue.type!==31},zs=function(ue){return ue.type!==31&&ue.type!==4},MA=function(ue){var se=[],pe=[];return ue.forEach(function(he){if(he.type===4){if(pe.length===0)throw new Error("Error parsing function args, zero tokens for arg");se.push(pe),pe=[];return}he.type!==31&&pe.push(he)}),pe.length&&se.push(pe),se},$u=function(ue,se){return se===11&&ue.type===12||se===28&&ue.type===29?!0:se===2&&ue.type===3},VA=function(ue){return ue.type===17||ue.type===15},qs=function(ue){return ue.type===16||VA(ue)},ro=function(ue){return ue.length>1?[ue[0],ue[1]]:[ue[0]]},Po={type:17,number:0,flags:So},ws={type:16,number:50,flags:So},Ns={type:16,number:100,flags:So},yA=function(ue,se,pe){var he=ue[0],_e=ue[1];return[Yo(he,se),Yo(typeof _e!="undefined"?_e:he,pe)]},Yo=function(ue,se){if(ue.type===16)return ue.number/100*se;if(Pl(ue))switch(ue.unit){case"rem":case"em":return 16*ue.number;case"px":default:return ue.number}return ue.number},jl="deg",xl="grad",Fl="rad",us="turn",YA={name:"angle",parse:function(ue,se){if(se.type===15)switch(se.unit){case jl:return Math.PI*se.number/180;case xl:return Math.PI/200*se.number;case Fl:return se.number;case us:return Math.PI*2*se.number}throw new Error("Unsupported angle type")}},tu=function(ue){return ue.type===15&&(ue.unit===jl||ue.unit===xl||ue.unit===Fl||ue.unit===us)},Kc=function(ue){var se=ue.filter(qa).map(function(pe){return pe.value}).join(" ");switch(se){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Po,Po];case"to top":case"bottom":return Gs(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Po,Ns];case"to right":case"left":return Gs(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ns,Ns];case"to bottom":case"top":return Gs(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ns,Po];case"to left":case"right":return Gs(270)}return 0},Gs=function(ue){return Math.PI*ue/180},Ll={name:"color",parse:function(ue,se){if(se.type===18){var pe=gA[se.name];if(typeof pe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+se.name+'"');return pe(ue,se.values)}if(se.type===5){if(se.value.length===3){var he=se.value.substring(0,1),_e=se.value.substring(1,2),nt=se.value.substring(2,3);return rA(parseInt(he+he,16),parseInt(_e+_e,16),parseInt(nt+nt,16),1)}if(se.value.length===4){var he=se.value.substring(0,1),_e=se.value.substring(1,2),nt=se.value.substring(2,3),wt=se.value.substring(3,4);return rA(parseInt(he+he,16),parseInt(_e+_e,16),parseInt(nt+nt,16),parseInt(wt+wt,16)/255)}if(se.value.length===6){var he=se.value.substring(0,2),_e=se.value.substring(2,4),nt=se.value.substring(4,6);return rA(parseInt(he,16),parseInt(_e,16),parseInt(nt,16),1)}if(se.value.length===8){var he=se.value.substring(0,2),_e=se.value.substring(2,4),nt=se.value.substring(4,6),wt=se.value.substring(6,8);return rA(parseInt(he,16),parseInt(_e,16),parseInt(nt,16),parseInt(wt,16)/255)}}if(se.type===20){var _t=Us[se.value.toUpperCase()];if(typeof _t!="undefined")return _t}return Us.TRANSPARENT}},Ds=function(ue){return(255&ue)===0},qi=function(ue){var se=255&ue,pe=255&ue>>8,he=255&ue>>16,_e=255&ue>>24;return se<255?"rgba("+_e+","+he+","+pe+","+se/255+")":"rgb("+_e+","+he+","+pe+")"},rA=function(ue,se,pe,he){return(ue<<24|se<<16|pe<<8|Math.round(he*255)<<0)>>>0},ec=function(ue,se){if(ue.type===17)return ue.number;if(ue.type===16){var pe=se===3?1:255;return se===3?ue.number/100*pe:Math.round(ue.number/100*pe)}return 0},zc=function(ue,se){var pe=se.filter(zs);if(pe.length===3){var he=pe.map(ec),_e=he[0],nt=he[1],wt=he[2];return rA(_e,nt,wt,1)}if(pe.length===4){var _t=pe.map(ec),_e=_t[0],nt=_t[1],wt=_t[2],Mt=_t[3];return rA(_e,nt,wt,Mt)}return 0};function aA(ue,se,pe){return pe<0&&(pe+=1),pe>=1&&(pe-=1),pe<1/6?(se-ue)*pe*6+ue:pe<1/2?se:pe<2/3?(se-ue)*6*(2/3-pe)+ue:ue}var nu=function(ue,se){var pe=se.filter(zs),he=pe[0],_e=pe[1],nt=pe[2],wt=pe[3],_t=(he.type===17?Gs(he.number):YA.parse(ue,he))/(Math.PI*2),Mt=qs(_e)?_e.number/100:0,Dn=qs(nt)?nt.number/100:0,jn=typeof wt!="undefined"&&qs(wt)?Yo(wt,1):1;if(Mt===0)return rA(Dn*255,Dn*255,Dn*255,1);var zn=Dn<=.5?Dn*(Mt+1):Dn+Mt-Dn*Mt,wr=Dn*2-zn,Ra=aA(wr,zn,_t+1/3),qr=aA(wr,zn,_t),ma=aA(wr,zn,_t-1/3);return rA(Ra*255,qr*255,ma*255,jn)},gA={hsl:nu,hsla:nu,rgb:zc,rgba:zc},ru=function(ue,se){return Ll.parse(ue,In.create(se).parseComponentValue())},Us={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},Hu={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,se){return se.map(function(pe){if(qa(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},au={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Iu=function(ue,se){var pe=Ll.parse(ue,se[0]),he=se[1];return he&&qs(he)?{color:pe,stop:he}:{color:pe,stop:null}},Gc=function(ue,se){var pe=ue[0],he=ue[ue.length-1];pe.stop===null&&(pe.stop=Po),he.stop===null&&(he.stop=Ns);for(var _e=[],nt=0,wt=0;wtnt?_e.push(Mt):_e.push(nt),nt=Mt}else _e.push(null)}for(var Dn=null,wt=0;wt<_e.length;wt++){var jn=_e[wt];if(jn===null)Dn===null&&(Dn=wt);else if(Dn!==null){for(var zn=wt-Dn,wr=_e[Dn-1],Ra=(jn-wr)/(zn+1),qr=1;qr<=zn;qr++)_e[Dn+qr-1]=Ra*qr;Dn=null}}return ue.map(function(ma,qo){var Ya=ma.color;return{color:Ya,stop:Math.max(Math.min(1,_e[qo]/se),0)}})},Nu=function(ue,se,pe){var he=se/2,_e=pe/2,nt=Yo(ue[0],se)-he,wt=_e-Yo(ue[1],pe);return(Math.atan2(wt,nt)+Math.PI*2)%(Math.PI*2)},Bc=function(ue,se,pe){var he=typeof ue=="number"?ue:Nu(ue,se,pe),_e=Math.abs(se*Math.sin(he))+Math.abs(pe*Math.cos(he)),nt=se/2,wt=pe/2,_t=_e/2,Mt=Math.sin(he-Math.PI/2)*_t,Dn=Math.cos(he-Math.PI/2)*_t;return[_e,nt-Dn,nt+Dn,wt-Mt,wt+Mt]},rl=function(ue,se){return Math.sqrt(ue*ue+se*se)},tc=function(ue,se,pe,he,_e){var nt=[[0,0],[0,se],[ue,0],[ue,se]];return nt.reduce(function(wt,_t){var Mt=_t[0],Dn=_t[1],jn=rl(pe-Mt,he-Dn);return(_e?jnwt.optimumDistance)?{optimumCorner:_t,optimumDistance:jn}:wt},{optimumDistance:_e?1/0:-1/0,optimumCorner:null}).optimumCorner},Tr=function(ue,se,pe,he,_e){var nt=0,wt=0;switch(ue.size){case 0:ue.shape===0?nt=wt=Math.min(Math.abs(se),Math.abs(se-he),Math.abs(pe),Math.abs(pe-_e)):ue.shape===1&&(nt=Math.min(Math.abs(se),Math.abs(se-he)),wt=Math.min(Math.abs(pe),Math.abs(pe-_e)));break;case 2:if(ue.shape===0)nt=wt=Math.min(rl(se,pe),rl(se,pe-_e),rl(se-he,pe),rl(se-he,pe-_e));else if(ue.shape===1){var _t=Math.min(Math.abs(pe),Math.abs(pe-_e))/Math.min(Math.abs(se),Math.abs(se-he)),Mt=tc(he,_e,se,pe,!0),Dn=Mt[0],jn=Mt[1];nt=rl(Dn-se,(jn-pe)/_t),wt=_t*nt}break;case 1:ue.shape===0?nt=wt=Math.max(Math.abs(se),Math.abs(se-he),Math.abs(pe),Math.abs(pe-_e)):ue.shape===1&&(nt=Math.max(Math.abs(se),Math.abs(se-he)),wt=Math.max(Math.abs(pe),Math.abs(pe-_e)));break;case 3:if(ue.shape===0)nt=wt=Math.max(rl(se,pe),rl(se,pe-_e),rl(se-he,pe),rl(se-he,pe-_e));else if(ue.shape===1){var _t=Math.max(Math.abs(pe),Math.abs(pe-_e))/Math.max(Math.abs(se),Math.abs(se-he)),zn=tc(he,_e,se,pe,!1),Dn=zn[0],jn=zn[1];nt=rl(Dn-se,(jn-pe)/_t),wt=_t*nt}break}return Array.isArray(ue.size)&&(nt=Yo(ue.size[0],he),wt=ue.size.length===2?Yo(ue.size[1],_e):nt),[nt,wt]},ao=function(ue,se){var pe=Gs(180),he=[];return MA(se).forEach(function(_e,nt){if(nt===0){var wt=_e[0];if(wt.type===20&&wt.value==="to"){pe=Kc(_e);return}else if(tu(wt)){pe=YA.parse(ue,wt);return}}var _t=Iu(ue,_e);he.push(_t)}),{angle:pe,stops:he,type:1}},fr=function(ue,se){var pe=Gs(180),he=[];return MA(se).forEach(function(_e,nt){if(nt===0){var wt=_e[0];if(wt.type===20&&["top","left","right","bottom"].indexOf(wt.value)!==-1){pe=Kc(_e);return}else if(tu(wt)){pe=(YA.parse(ue,wt)+Gs(270))%Gs(360);return}}var _t=Iu(ue,_e);he.push(_t)}),{angle:pe,stops:he,type:1}},io=function(ue,se){var pe=Gs(180),he=[],_e=1,nt=0,wt=3,_t=[];return MA(se).forEach(function(Mt,Dn){var jn=Mt[0];if(Dn===0){if(qa(jn)&&jn.value==="linear"){_e=1;return}else if(qa(jn)&&jn.value==="radial"){_e=2;return}}if(jn.type===18){if(jn.name==="from"){var zn=Ll.parse(ue,jn.values[0]);he.push({stop:Po,color:zn})}else if(jn.name==="to"){var zn=Ll.parse(ue,jn.values[0]);he.push({stop:Ns,color:zn})}else if(jn.name==="color-stop"){var wr=jn.values.filter(zs);if(wr.length===2){var zn=Ll.parse(ue,wr[1]),Ra=wr[0];ho(Ra)&&he.push({stop:{type:16,number:Ra.number*100,flags:Ra.flags},color:zn})}}}}),_e===1?{angle:(pe+Gs(180))%Gs(360),stops:he,type:_e}:{size:wt,shape:nt,stops:he,position:_t,type:_e}},ei="closest-side",SA="farthest-side",FA="closest-corner",Ws="farthest-corner",ou="circle",hu="ellipse",mu="cover",Oi="contain",Xo=function(ue,se){var pe=0,he=3,_e=[],nt=[];return MA(se).forEach(function(wt,_t){var Mt=!0;if(_t===0){var Dn=!1;Mt=wt.reduce(function(zn,wr){if(Dn)if(qa(wr))switch(wr.value){case"center":return nt.push(ws),zn;case"top":case"left":return nt.push(Po),zn;case"right":case"bottom":return nt.push(Ns),zn}else(qs(wr)||VA(wr))&&nt.push(wr);else if(qa(wr))switch(wr.value){case ou:return pe=0,!1;case hu:return pe=1,!1;case"at":return Dn=!0,!1;case ei:return he=0,!1;case mu:case SA:return he=1,!1;case Oi:case FA:return he=2,!1;case Ws:return he=3,!1}else if(VA(wr)||qs(wr))return Array.isArray(he)||(he=[]),he.push(wr),!1;return zn},Mt)}if(Mt){var jn=Iu(ue,wt);_e.push(jn)}}),{size:he,shape:pe,stops:_e,position:nt,type:2}},Qo=function(ue,se){var pe=0,he=3,_e=[],nt=[];return MA(se).forEach(function(wt,_t){var Mt=!0;if(_t===0?Mt=wt.reduce(function(jn,zn){if(qa(zn))switch(zn.value){case"center":return nt.push(ws),!1;case"top":case"left":return nt.push(Po),!1;case"right":case"bottom":return nt.push(Ns),!1}else if(qs(zn)||VA(zn))return nt.push(zn),!1;return jn},Mt):_t===1&&(Mt=wt.reduce(function(jn,zn){if(qa(zn))switch(zn.value){case ou:return pe=0,!1;case hu:return pe=1,!1;case Oi:case ei:return he=0,!1;case SA:return he=1,!1;case FA:return he=2,!1;case mu:case Ws:return he=3,!1}else if(VA(zn)||qs(zn))return Array.isArray(he)||(he=[]),he.push(zn),!1;return jn},Mt)),Mt){var Dn=Iu(ue,wt);_e.push(Dn)}}),{size:he,shape:pe,stops:_e,position:nt,type:2}},Os=function(ue){return ue.type===1},fA=function(ue){return ue.type===2},$s={name:"image",parse:function(ue,se){if(se.type===22){var pe={url:se.value,type:0};return ue.cache.addImage(se.value),pe}if(se.type===18){var he=Il[se.name];if(typeof he=="undefined")throw new Error('Attempting to parse an unsupported image function "'+se.name+'"');return he(ue,se.values)}throw new Error("Unsupported image type "+se.type)}};function oA(ue){return!(ue.type===20&&ue.value==="none")&&(ue.type!==18||!!Il[ue.name])}var Il={"linear-gradient":ao,"-moz-linear-gradient":fr,"-ms-linear-gradient":fr,"-o-linear-gradient":fr,"-webkit-linear-gradient":fr,"radial-gradient":Xo,"-moz-radial-gradient":Qo,"-ms-radial-gradient":Qo,"-o-radial-gradient":Qo,"-webkit-radial-gradient":Qo,"-webkit-gradient":io},Hl={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ue,se){if(se.length===0)return[];var pe=se[0];return pe.type===20&&pe.value==="none"?[]:se.filter(function(he){return zs(he)&&oA(he)}).map(function(he){return $s.parse(ue,he)})}},eA={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,se){return se.map(function(pe){if(qa(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},UA={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ue,se){return MA(se).map(function(pe){return pe.filter(qs)}).map(ro)}},iA={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ue,se){return MA(se).map(function(pe){return pe.filter(qa).map(function(he){return he.value}).join(" ")}).map(OA)}},OA=function(ue){switch(ue){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}},Zs;(function(ue){ue.AUTO="auto",ue.CONTAIN="contain",ue.COVER="cover"})(Zs||(Zs={}));var Du={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ue,se){return MA(se).map(function(pe){return pe.filter(Nl)})}},Nl=function(ue){return qa(ue)||qs(ue)},Uu=function(ue){return{name:"border-"+ue+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},md=Uu("top"),Wc=Uu("right"),Bf=Uu("bottom"),wc=Uu("left"),Zd=function(ue){return{name:"border-radius-"+ue,initialValue:"0 0",prefix:!1,type:1,parse:function(se,pe){return ro(pe.filter(qs))}}},Bm=Zd("top-left"),nc=Zd("top-right"),iu=Zd("bottom-right"),Ml=Zd("bottom-left"),Ji=function(ue){return{name:"border-"+ue+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(se,pe){switch(pe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Zc=Ji("top"),wf=Ji("right"),yf=Ji("bottom"),Vc=Ji("left"),pd=function(ue){return{name:"border-"+ue+"-width",initialValue:"0",type:0,prefix:!1,parse:function(se,pe){return Pl(pe)?pe.number:0}}},xg=pd("top"),Yc=pd("right"),t0=pd("bottom"),n0=pd("left"),_A={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vd={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ue,se){switch(se){case"rtl":return 1;case"ltr":default:return 0}}},r0={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ue,se){return se.filter(qa).reduce(function(pe,he){return pe|Je(he.value)},0)}},Je=function(ue){switch(ue){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},et={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ue,se){switch(se){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ct={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ue,se){return se.type===20&&se.value==="normal"?0:se.type===17||se.type===15?se.number:0}},kt;(function(ue){ue.NORMAL="normal",ue.STRICT="strict"})(kt||(kt={}));var $t={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,se){switch(se){case"strict":return kt.STRICT;case"normal":default:return kt.NORMAL}}},en={name:"line-height",initialValue:"normal",prefix:!1,type:4},bn=function(ue,se){return qa(ue)&&ue.value==="normal"?1.2*se:ue.type===17?se*ue.number:qs(ue)?Yo(ue,se):se},En={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ue,se){return se.type===20&&se.value==="none"?null:$s.parse(ue,se)}},vn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ue,se){switch(se){case"inside":return 0;case"outside":default:return 1}}},_n={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ue,se){switch(se){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}}},Xn=function(ue){return{name:"margin-"+ue,initialValue:"0",prefix:!1,type:4}},Kn=Xn("top"),Sr=Xn("right"),hr=Xn("bottom"),vr=Xn("left"),Jr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ue,se){return se.filter(qa).map(function(pe){switch(pe.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ue,se){switch(se){case"break-word":return"break-word";case"normal":default:return"normal"}}},Zr=function(ue){return{name:"padding-"+ue,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},_r=Zr("top"),sa=Zr("right"),ka=Zr("bottom"),_a=Zr("left"),Ba={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ue,se){switch(se){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},$a={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ue,se){switch(se){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},bo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,se){return se.length===1&&xA(se[0],"none")?[]:MA(se).map(function(pe){for(var he={color:Us.TRANSPARENT,offsetX:Po,offsetY:Po,blur:Po},_e=0,nt=0;nt1?1:0],this.overflowWrap=na(se,Hr,pe.overflowWrap),this.paddingTop=na(se,_r,pe.paddingTop),this.paddingRight=na(se,sa,pe.paddingRight),this.paddingBottom=na(se,ka,pe.paddingBottom),this.paddingLeft=na(se,_a,pe.paddingLeft),this.paintOrder=na(se,Ai,pe.paintOrder),this.position=na(se,$a,pe.position),this.textAlign=na(se,Ba,pe.textAlign),this.textDecorationColor=na(se,Qs,(he=pe.textDecorationColor)!==null&&he!==void 0?he:pe.color),this.textDecorationLine=na(se,xo,(_e=pe.textDecorationLine)!==null&&_e!==void 0?_e:pe.textDecoration),this.textShadow=na(se,bo,pe.textShadow),this.textTransform=na(se,ua,pe.textTransform),this.transform=na(se,Sa,pe.transform),this.transformOrigin=na(se,wo,pe.transformOrigin),this.visibility=na(se,za,pe.visibility),this.webkitTextStrokeColor=na(se,XA,pe.webkitTextStrokeColor),this.webkitTextStrokeWidth=na(se,tA,pe.webkitTextStrokeWidth),this.wordBreak=na(se,ti,pe.wordBreak),this.zIndex=na(se,$i,pe.zIndex)}return ue.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ue.prototype.isTransparent=function(){return Ds(this.backgroundColor)},ue.prototype.isTransformed=function(){return this.transform!==null},ue.prototype.isPositioned=function(){return this.position!==0},ue.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ue.prototype.isFloating=function(){return this.float!==0},ue.prototype.isInlineLevel=function(){return fa(this.display,4)||fa(this.display,33554432)||fa(this.display,268435456)||fa(this.display,536870912)||fa(this.display,67108864)||fa(this.display,134217728)},ue}(),nA=function(){function ue(se,pe){this.content=na(se,Xa,pe.content),this.quotes=na(se,Na,pe.quotes)}return ue}(),Dl=function(){function ue(se,pe){this.counterIncrement=na(se,Va,pe.counterIncrement),this.counterReset=na(se,Ia,pe.counterReset)}return ue}(),na=function(ue,se,pe){var he=new Ln,_e=pe!==null&&typeof pe!="undefined"?pe.toString():se.initialValue;he.write(_e);var nt=new In(he.read());switch(se.type){case 2:var wt=nt.parseComponentValue();return se.parse(ue,qa(wt)?wt.value:se.initialValue);case 0:return se.parse(ue,nt.parseComponentValue());case 1:return se.parse(ue,nt.parseComponentValues());case 4:return nt.parseComponentValue();case 3:switch(se.format){case"angle":return YA.parse(ue,nt.parseComponentValue());case"color":return Ll.parse(ue,nt.parseComponentValue());case"image":return $s.parse(ue,nt.parseComponentValue());case"length":var _t=nt.parseComponentValue();return VA(_t)?_t:Po;case"length-percentage":var Mt=nt.parseComponentValue();return qs(Mt)?Mt:Po;case"time":return Bi.parse(ue,nt.parseComponentValue())}break}},al="data-html2canvas-debug",yc=function(ue){var se=ue.getAttribute(al);switch(se){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ii=function(ue,se){var pe=yc(ue);return pe===1||se===pe},ni=function(){function ue(se,pe){if(this.context=se,this.textNodes=[],this.elements=[],this.flags=0,Ii(pe,3))debugger;this.styles=new su(se,window.getComputedStyle(pe,null)),A0(pe)&&(this.styles.animationDuration.some(function(he){return he>0})&&(pe.style.animationDuration="0s"),this.styles.transform!==null&&(pe.style.transform="none")),this.bounds=je(this.context,pe),Ii(pe,4)&&(this.flags|=16)}return ue}(),bs="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",hA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ko=0;Ko>4,jn[_e++]=(wt&15)<<4|_t>>2,jn[_e++]=(_t&3)<<6|Mt&63;return Dn},KA=function(ue){for(var se=ue.length,pe=[],he=0;he>ol,ks=1<>ol,Cs=Kl+AA,pu=Cs,Ou=32,_u=pu+Ou,vu=65536>>il,Bd=1<=0){if(se<55296||se>56319&&se<=65535)return pe=this.index[se>>ol],pe=(pe<<_l)+(se&QA),this.data[pe];if(se<=65535)return pe=this.index[Kl+(se-55296>>ol)],pe=(pe<<_l)+(se&QA),this.data[pe];if(se>il),pe=this.index[pe],pe+=se>>ol&Vd,pe=this.index[pe],pe=(pe<<_l)+(se&QA),this.data[pe];if(se<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ue}(),TA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zA=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ts=0;Ts=55296&&_e<=56319&&pe>10)+55296,wt%1024+56320)),(_e+1===pe||he.length>16384)&&(nt+=String.fromCharCode.apply(String,he),he.length=0)}return nt},Dg=kA(bs),Ri="\xD7",$d="\xF7",bf=function(ue){return Dg.get(ue)},a0=function(ue,se,pe){var he=pe-2,_e=se[he],nt=se[pe-1],wt=se[pe];if(nt===wd&&wt===yd)return Ri;if(nt===wd||nt===yd||nt===Yd||wt===wd||wt===yd||wt===Yd)return $d;if(nt===Xc&&[Xc,wu,Ig,Xd].indexOf(wt)!==-1||(nt===Ig||nt===wu)&&(wt===wu||wt===Sc)||(nt===Xd||nt===Sc)&&wt===Sc||wt===Ng||wt===Fg||wt===Lg||nt===Bu)return Ri;if(nt===Ng&&wt===Jd){for(;_e===Fg;)_e=se[--he];if(_e===Jd)return Ri}if(nt===bc&&wt===bc){for(var _t=0;_e===bc;)_t++,_e=se[--he];if(_t%2===0)return Ri}return $d},Cf=function(ue){var se=qd(ue),pe=se.length,he=0,_e=0,nt=se.map(bf);return{next:function(){if(he>=pe)return{done:!0,value:null};for(var wt=Ri;hewt.x||jn.y>wt.y;return wt=jn,Dn===0?!0:zn});return ue.body.removeChild(se),_t},Ef=function(){return typeof new Image().crossOrigin!="undefined"},rc=function(){return typeof new XMLHttpRequest().responseType=="string"},Qg=function(ue){var se=new Image,pe=ue.createElement("canvas"),he=pe.getContext("2d");if(!he)return!1;se.src="data:image/svg+xml,";try{he.drawImage(se,0,0),pe.toDataURL()}catch(_e){return!1}return!0},tg=function(ue){return ue[0]===0&&ue[1]===255&&ue[2]===0&&ue[3]===255},Pf=function(ue){var se=ue.createElement("canvas"),pe=100;se.width=pe,se.height=pe;var he=se.getContext("2d");if(!he)return Promise.reject(!1);he.fillStyle="rgb(0, 255, 0)",he.fillRect(0,0,pe,pe);var _e=new Image,nt=se.toDataURL();_e.src=nt;var wt=Sd(pe,pe,0,0,_e);return he.fillStyle="red",he.fillRect(0,0,pe,pe),ng(wt).then(function(_t){he.drawImage(_t,0,0);var Mt=he.getImageData(0,0,pe,pe).data;he.fillStyle="red",he.fillRect(0,0,pe,pe);var Dn=ue.createElement("div");return Dn.style.backgroundImage="url("+nt+")",Dn.style.height=pe+"px",tg(Mt)?ng(Sd(pe,pe,0,0,Dn)):Promise.reject(!1)}).then(function(_t){return he.drawImage(_t,0,0),tg(he.getImageData(0,0,pe,pe).data)}).catch(function(){return!1})},Sd=function(ue,se,pe,he,_e){var nt="http://www.w3.org/2000/svg",wt=document.createElementNS(nt,"svg"),_t=document.createElementNS(nt,"foreignObject");return wt.setAttributeNS(null,"width",ue.toString()),wt.setAttributeNS(null,"height",se.toString()),_t.setAttributeNS(null,"width","100%"),_t.setAttributeNS(null,"height","100%"),_t.setAttributeNS(null,"x",pe.toString()),_t.setAttributeNS(null,"y",he.toString()),_t.setAttributeNS(null,"externalResourcesRequired","true"),wt.appendChild(_t),_t.appendChild(_e),wt},ng=function(ue){return new Promise(function(se,pe){var he=new Image;he.onload=function(){return se(he)},he.onerror=pe,he.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},RA={get SUPPORT_RANGE_BOUNDS(){var ue=Og(document);return Object.defineProperty(RA,"SUPPORT_RANGE_BOUNDS",{value:ue}),ue},get SUPPORT_WORD_BREAKING(){var ue=RA.SUPPORT_RANGE_BOUNDS&&eg(document);return Object.defineProperty(RA,"SUPPORT_WORD_BREAKING",{value:ue}),ue},get SUPPORT_SVG_DRAWING(){var ue=Qg(document);return Object.defineProperty(RA,"SUPPORT_SVG_DRAWING",{value:ue}),ue},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ue=typeof Array.from=="function"&&typeof window.fetch=="function"?Pf(document):Promise.resolve(!1);return Object.defineProperty(RA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ue}),ue},get SUPPORT_CORS_IMAGES(){var ue=Ef();return Object.defineProperty(RA,"SUPPORT_CORS_IMAGES",{value:ue}),ue},get SUPPORT_RESPONSE_TYPE(){var ue=rc();return Object.defineProperty(RA,"SUPPORT_RESPONSE_TYPE",{value:ue}),ue},get SUPPORT_CORS_XHR(){var ue="withCredentials"in new XMLHttpRequest;return Object.defineProperty(RA,"SUPPORT_CORS_XHR",{value:ue}),ue},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ue=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(RA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ue}),ue}},Ku=function(){function ue(se,pe){this.text=se,this.bounds=pe}return ue}(),rg=function(ue,se,pe,he){var _e=ac(se,pe),nt=[],wt=0;return _e.forEach(function(_t){if(pe.textDecorationLine.length||_t.trim().length>0)if(RA.SUPPORT_RANGE_BOUNDS){var Mt=Qi(he,wt,_t.length).getClientRects();if(Mt.length>1){var Dn=ds(_t),jn=0;Dn.forEach(function(wr){nt.push(new Ku(wr,ze.fromDOMRectList(ue,Qi(he,jn+wt,wr.length).getClientRects()))),jn+=wr.length})}else nt.push(new Ku(_t,ze.fromDOMRectList(ue,Mt)))}else{var zn=he.splitText(_t.length);nt.push(new Ku(_t,o0(ue,he))),he=zn}else RA.SUPPORT_RANGE_BOUNDS||(he=he.splitText(_t.length));wt+=_t.length}),nt},o0=function(ue,se){var pe=se.ownerDocument;if(pe){var he=pe.createElement("html2canvaswrapper");he.appendChild(se.cloneNode(!0));var _e=se.parentNode;if(_e){_e.replaceChild(he,se);var nt=je(ue,he);return he.firstChild&&_e.replaceChild(he.firstChild,he),nt}}return ze.EMPTY},Qi=function(ue,se,pe){var he=ue.ownerDocument;if(!he)throw new Error("Node has no owner document");var _e=he.createRange();return _e.setStart(ue,se),_e.setEnd(ue,se+pe),_e},ds=function(ue){if(RA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var se=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(se.segment(ue)).map(function(pe){return pe.segment})}return Ug(ue)},Au=function(ue,se){if(RA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var pe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(pe.segment(ue)).map(function(he){return he.segment})}return xf(ue,se)},ac=function(ue,se){return se.letterSpacing!==0?ds(ue):Au(ue,se)},oc=[32,160,4961,65792,65793,4153,4241],xf=function(ue,se){for(var pe=va(ue,{lineBreak:se.lineBreak,wordBreak:se.overflowWrap==="break-word"?"break-word":se.wordBreak}),he=[],_e,nt=function(){if(_e.value){var wt=_e.value.slice(),_t=we(wt),Mt="";_t.forEach(function(Dn){oc.indexOf(Dn)===-1?Mt+=Ne(Dn):(Mt.length&&he.push(Mt),he.push(Ne(Dn)),Mt="")}),Mt.length&&he.push(Mt)}};!(_e=pe.next()).done;)nt();return he},kg=function(){function ue(se,pe,he){this.text=Tg(pe.data,he.textTransform),this.textBounds=rg(se,this.text,he,pe)}return ue}(),Tg=function(ue,se){switch(se){case 1:return ue.toLowerCase();case 3:return ue.replace(Rg,jg);case 2:return ue.toUpperCase();default:return ue}},Rg=/(^|\s|:|-|\(|\))([a-z])/g,jg=function(ue,se,pe){return ue.length>0?se+pe.toUpperCase():ue},eh=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.src=he.currentSrc||he.src,_e.intrinsicWidth=he.naturalWidth,_e.intrinsicHeight=he.naturalHeight,_e.context.cache.addImage(_e.src),_e}return se}(ni),th=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.canvas=he,_e.intrinsicWidth=he.width,_e.intrinsicHeight=he.height,_e}return se}(ni),nh=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this,nt=new XMLSerializer,wt=je(pe,he);return he.setAttribute("width",wt.width+"px"),he.setAttribute("height",wt.height+"px"),_e.svg="data:image/svg+xml,"+encodeURIComponent(nt.serializeToString(he)),_e.intrinsicWidth=he.width.baseVal.value,_e.intrinsicHeight=he.height.baseVal.value,_e.context.cache.addImage(_e.svg),_e}return se}(ni),rh=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.value=he.value,_e}return se}(ni),i0=function(ue){Be(se,ue);function se(pe,he){var _e=ue.call(this,pe,he)||this;return _e.start=he.start,_e.reversed=typeof he.reversed=="boolean"&&he.reversed===!0,_e}return se}(ni),Cc=[{type:15,flags:0,unit:"px",number:3}],wm=[{type:16,flags:0,number:50}],ym=function(ue){return ue.width>ue.height?new ze(ue.left+(ue.width-ue.height)/2,ue.top,ue.height,ue.height):ue.width0)pe.textNodes.push(new kg(ue,_e,pe.styles));else if(og(_e))if(hh(_e)&&_e.assignedNodes)_e.assignedNodes().forEach(function(_t){return ag(ue,_t,pe,he)});else{var wt=sh(ue,_e);wt.styles.isVisible()&&(Sm(_e,wt,he)?wt.flags|=4:bm(wt.styles)&&(wt.flags|=2),_g.indexOf(_e.tagName)!==-1&&(wt.flags|=8),pe.elements.push(wt),_e.slot,_e.shadowRoot?ag(ue,_e.shadowRoot,wt,he):!Kg(_e)&&!uh(_e)&&!Df(_e)&&ag(ue,_e,wt,he))}},sh=function(ue,se){return u0(se)?new eh(ue,se):ch(se)?new th(ue,se):uh(se)?new nh(ue,se):Cm(se)?new rh(ue,se):Em(se)?new i0(ue,se):Pm(se)?new Mg(ue,se):Df(se)?new oh(ue,se):Kg(se)?new s0(ue,se):gh(se)?new ih(ue,se):new ni(ue,se)},Ah=function(ue,se){var pe=sh(ue,se);return pe.flags|=4,ag(ue,se,pe,pe),pe},Sm=function(ue,se,pe){return se.styles.isPositionedWithZIndex()||se.styles.opacity<1||se.styles.isTransformed()||l0(ue)&&pe.styles.isTransparent()},bm=function(ue){return ue.isPositioned()||ue.isFloating()},lh=function(ue){return ue.nodeType===Node.TEXT_NODE},og=function(ue){return ue.nodeType===Node.ELEMENT_NODE},A0=function(ue){return og(ue)&&typeof ue.style!="undefined"&&!Nf(ue)},Nf=function(ue){return typeof ue.className=="object"},Cm=function(ue){return ue.tagName==="LI"},Em=function(ue){return ue.tagName==="OL"},Pm=function(ue){return ue.tagName==="INPUT"},xm=function(ue){return ue.tagName==="HTML"},uh=function(ue){return ue.tagName==="svg"},l0=function(ue){return ue.tagName==="BODY"},ch=function(ue){return ue.tagName==="CANVAS"},dh=function(ue){return ue.tagName==="VIDEO"},u0=function(ue){return ue.tagName==="IMG"},gh=function(ue){return ue.tagName==="IFRAME"},fh=function(ue){return ue.tagName==="STYLE"},c0=function(ue){return ue.tagName==="SCRIPT"},Kg=function(ue){return ue.tagName==="TEXTAREA"},Df=function(ue){return ue.tagName==="SELECT"},hh=function(ue){return ue.tagName==="SLOT"},mh=function(ue){return ue.tagName.indexOf("-")>0},Ep=function(){function ue(){this.counters={}}return ue.prototype.getCounterValue=function(se){var pe=this.counters[se];return pe&&pe.length?pe[pe.length-1]:1},ue.prototype.getCounterValues=function(se){var pe=this.counters[se];return pe||[]},ue.prototype.pop=function(se){var pe=this;se.forEach(function(he){return pe.counters[he].pop()})},ue.prototype.parse=function(se){var pe=this,he=se.counterIncrement,_e=se.counterReset,nt=!0;he!==null&&he.forEach(function(_t){var Mt=pe.counters[_t.counter];Mt&&_t.increment!==0&&(nt=!1,Mt.length||Mt.push(1),Mt[Math.max(0,Mt.length-1)]+=_t.increment)});var wt=[];return nt&&_e.forEach(function(_t){var Mt=pe.counters[_t.counter];wt.push(_t.counter),Mt||(Mt=pe.counters[_t.counter]=[]),Mt.push(_t.reset)}),wt},ue}(),d0={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"]},g0={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"]},Fm={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"]},ph={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"]},bd=function(ue,se,pe,he,_e,nt){return uepe?Gg(ue,_e,nt.length>0):he.integers.reduce(function(wt,_t,Mt){for(;ue>=_t;)ue-=_t,wt+=he.values[Mt];return wt},"")+nt},Lm=function(ue,se,pe,he){var _e="";do pe||ue--,_e=he(ue)+_e,ue/=se;while(ue*se>=se);return _e},LA=function(ue,se,pe,he,_e){var nt=pe-se+1;return(ue<0?"-":"")+(Lm(Math.abs(ue),nt,he,function(wt){return Ne(Math.floor(wt%nt)+se)})+_e)},Jc=function(ue,se,pe){pe===void 0&&(pe=". ");var he=se.length;return Lm(Math.abs(ue),he,!1,function(_e){return se[Math.floor(_e%he)]})+pe},Cd=1,Ec=2,Pc=4,zg=8,xc=function(ue,se,pe,he,_e,nt){if(ue<-9999||ue>9999)return Gg(ue,4,_e.length>0);var wt=Math.abs(ue),_t=_e;if(wt===0)return se[0]+_t;for(var Mt=0;wt>0&&Mt<=4;Mt++){var Dn=wt%10;Dn===0&&fa(nt,Cd)&&_t!==""?_t=se[Dn]+_t:Dn>1||Dn===1&&Mt===0||Dn===1&&Mt===1&&fa(nt,Ec)||Dn===1&&Mt===1&&fa(nt,Pc)&&ue>100||Dn===1&&Mt>1&&fa(nt,zg)?_t=se[Dn]+(Mt>0?pe[Mt-1]:"")+_t:Dn===1&&Mt>0&&(_t=pe[Mt-1]+_t),wt=Math.floor(wt/10)}return(ue<0?he:"")+_t},vh="\u5341\u767E\u5343\u842C",Im="\u62FE\u4F70\u4EDF\u842C",Bh="\u30DE\u30A4\u30CA\u30B9",f0="\uB9C8\uC774\uB108\uC2A4",Gg=function(ue,se,pe){var he=pe?". ":"",_e=pe?"\u3001":"",nt=pe?", ":"",wt=pe?" ":"";switch(se){case 0:return"\u2022"+wt;case 1:return"\u25E6"+wt;case 2:return"\u25FE"+wt;case 5:var _t=LA(ue,48,57,!0,he);return _t.length<4?"0"+_t:_t;case 4:return Jc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",_e);case 6:return bd(ue,1,3999,d0,3,he).toLowerCase();case 7:return bd(ue,1,3999,d0,3,he);case 8:return LA(ue,945,969,!1,he);case 9:return LA(ue,97,122,!1,he);case 10:return LA(ue,65,90,!1,he);case 11:return LA(ue,1632,1641,!0,he);case 12:case 49:return bd(ue,1,9999,g0,3,he);case 35:return bd(ue,1,9999,g0,3,he).toLowerCase();case 13:return LA(ue,2534,2543,!0,he);case 14:case 30:return LA(ue,6112,6121,!0,he);case 15:return Jc(ue,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",_e);case 16:return Jc(ue,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",_e);case 17:case 48:return xc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",vh,"\u8CA0",_e,Ec|Pc|zg);case 47:return xc(ue,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Im,"\u8CA0",_e,Cd|Ec|Pc|zg);case 42:return xc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",vh,"\u8D1F",_e,Ec|Pc|zg);case 41:return xc(ue,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Im,"\u8D1F",_e,Cd|Ec|Pc|zg);case 26:return xc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Bh,_e,0);case 25:return xc(ue,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Bh,_e,Cd|Ec|Pc);case 31:return xc(ue,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",f0,nt,Cd|Ec|Pc);case 33:return xc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",f0,nt,0);case 32:return xc(ue,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",f0,nt,Cd|Ec|Pc);case 18:return LA(ue,2406,2415,!0,he);case 20:return bd(ue,1,19999,ph,3,he);case 21:return LA(ue,2790,2799,!0,he);case 22:return LA(ue,2662,2671,!0,he);case 22:return bd(ue,1,10999,Fm,3,he);case 23:return Jc(ue,"\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 Jc(ue,"\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 LA(ue,3302,3311,!0,he);case 28:return Jc(ue,"\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",_e);case 29:return Jc(ue,"\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",_e);case 34:return LA(ue,3792,3801,!0,he);case 37:return LA(ue,6160,6169,!0,he);case 38:return LA(ue,4160,4169,!0,he);case 39:return LA(ue,2918,2927,!0,he);case 40:return LA(ue,1776,1785,!0,he);case 43:return LA(ue,3046,3055,!0,he);case 44:return LA(ue,3174,3183,!0,he);case 45:return LA(ue,3664,3673,!0,he);case 46:return LA(ue,3872,3881,!0,he);case 3:default:return LA(ue,48,57,!0,he)}},wh="data-html2canvas-ignore",Nm=function(){function ue(se,pe,he){if(this.context=se,this.options=he,this.scrolledElements=[],this.referenceElement=pe,this.counters=new Ep,this.quoteDepth=0,!pe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(pe.ownerDocument.documentElement,!1)}return ue.prototype.toIFrame=function(se,pe){var he=this,_e=Dm(se,pe);if(!_e.contentWindow)return Promise.reject("Unable to find iframe window");var nt=se.defaultView.pageXOffset,wt=se.defaultView.pageYOffset,_t=_e.contentWindow,Mt=_t.document,Dn=Zg(_e).then(function(){return Ce(he,void 0,void 0,function(){var jn,zn;return Me(this,function(wr){switch(wr.label){case 0:return this.scrolledElements.forEach(bh),_t&&(_t.scrollTo(pe.left,pe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(_t.scrollY!==pe.top||_t.scrollX!==pe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(_t.scrollX-pe.left,_t.scrollY-pe.top,0,0))),jn=this.options.onclone,zn=this.clonedReferenceElement,typeof zn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Mt.fonts&&Mt.fonts.ready?[4,Mt.fonts.ready]:[3,2];case 1:wr.sent(),wr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Um(Mt)]:[3,4];case 3:wr.sent(),wr.label=4;case 4:return typeof jn=="function"?[2,Promise.resolve().then(function(){return jn(Mt,zn)}).then(function(){return _e})]:[2,_e]}})})});return Mt.open(),Mt.write(Om(document.doctype)+""),Sh(this.referenceElement.ownerDocument,nt,wt),Mt.replaceChild(Mt.adoptNode(this.documentElement),Mt.documentElement),Mt.close(),Dn},ue.prototype.createElementClone=function(se){if(Ii(se,2))debugger;if(ch(se))return this.createCanvasClone(se);if(dh(se))return this.createVideoClone(se);if(fh(se))return this.createStyleClone(se);var pe=se.cloneNode(!1);return u0(pe)&&(u0(se)&&se.currentSrc&&se.currentSrc!==se.src&&(pe.src=se.currentSrc,pe.srcset=""),pe.loading==="lazy"&&(pe.loading="eager")),mh(pe)?this.createCustomElementClone(pe):pe},ue.prototype.createCustomElementClone=function(se){var pe=document.createElement("html2canvascustomelement");return Uf(se.style,pe),pe},ue.prototype.createStyleClone=function(se){try{var pe=se.sheet;if(pe&&pe.cssRules){var he=[].slice.call(pe.cssRules,0).reduce(function(nt,wt){return wt&&typeof wt.cssText=="string"?nt+wt.cssText:nt},""),_e=se.cloneNode(!1);return _e.textContent=he,_e}}catch(nt){if(this.context.logger.error("Unable to access cssRules property",nt),nt.name!=="SecurityError")throw nt}return se.cloneNode(!1)},ue.prototype.createCanvasClone=function(se){var pe;if(this.options.inlineImages&&se.ownerDocument){var he=se.ownerDocument.createElement("img");try{return he.src=se.toDataURL(),he}catch(Dn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",se)}}var _e=se.cloneNode(!1);try{_e.width=se.width,_e.height=se.height;var nt=se.getContext("2d"),wt=_e.getContext("2d");if(wt)if(!this.options.allowTaint&&nt)wt.putImageData(nt.getImageData(0,0,se.width,se.height),0,0);else{var _t=(pe=se.getContext("webgl2"))!==null&&pe!==void 0?pe:se.getContext("webgl");if(_t){var Mt=_t.getContextAttributes();(Mt==null?void 0:Mt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",se)}wt.drawImage(se,0,0)}return _e}catch(Dn){this.context.logger.info("Unable to clone canvas as it is tainted",se)}return _e},ue.prototype.createVideoClone=function(se){var pe=se.ownerDocument.createElement("canvas");pe.width=se.offsetWidth,pe.height=se.offsetHeight;var he=pe.getContext("2d");try{return he&&(he.drawImage(se,0,0,pe.width,pe.height),this.options.allowTaint||he.getImageData(0,0,pe.width,pe.height)),pe}catch(nt){this.context.logger.info("Unable to clone video as it is tainted",se)}var _e=se.ownerDocument.createElement("canvas");return _e.width=se.offsetWidth,_e.height=se.offsetHeight,_e},ue.prototype.appendChildNode=function(se,pe,he){(!og(pe)||!c0(pe)&&!pe.hasAttribute(wh)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(pe)))&&(!this.options.copyStyles||!og(pe)||!fh(pe))&&se.appendChild(this.cloneNode(pe,he))},ue.prototype.cloneChildNodes=function(se,pe,he){for(var _e=this,nt=se.shadowRoot?se.shadowRoot.firstChild:se.firstChild;nt;nt=nt.nextSibling)if(og(nt)&&hh(nt)&&typeof nt.assignedNodes=="function"){var wt=nt.assignedNodes();wt.length&&wt.forEach(function(_t){return _e.appendChildNode(pe,_t,he)})}else this.appendChildNode(pe,nt,he)},ue.prototype.cloneNode=function(se,pe){if(lh(se))return document.createTextNode(se.data);if(!se.ownerDocument)return se.cloneNode(!1);var he=se.ownerDocument.defaultView;if(he&&og(se)&&(A0(se)||Nf(se))){var _e=this.createElementClone(se);_e.style.transitionProperty="none";var nt=he.getComputedStyle(se),wt=he.getComputedStyle(se,":before"),_t=he.getComputedStyle(se,":after");this.referenceElement===se&&A0(_e)&&(this.clonedReferenceElement=_e),l0(_e)&&xp(_e);var Mt=this.counters.parse(new Dl(this.context,nt)),Dn=this.resolvePseudoContent(se,_e,wt,Wg.BEFORE);mh(se)&&(pe=!0),dh(se)||this.cloneChildNodes(se,_e,pe),Dn&&_e.insertBefore(Dn,_e.firstChild);var jn=this.resolvePseudoContent(se,_e,_t,Wg.AFTER);return jn&&_e.appendChild(jn),this.counters.pop(Mt),(nt&&(this.options.copyStyles||Nf(se))&&!gh(se)||pe)&&Uf(nt,_e),(se.scrollTop!==0||se.scrollLeft!==0)&&this.scrolledElements.push([_e,se.scrollLeft,se.scrollTop]),(Kg(se)||Df(se))&&(Kg(_e)||Df(_e))&&(_e.value=se.value),_e}return se.cloneNode(!1)},ue.prototype.resolvePseudoContent=function(se,pe,he,_e){var nt=this;if(he){var wt=he.content,_t=pe.ownerDocument;if(!(!_t||!wt||wt==="none"||wt==="-moz-alt-content"||he.display==="none")){this.counters.parse(new Dl(this.context,he));var Mt=new nA(this.context,he),Dn=_t.createElement("html2canvaspseudoelement");Uf(he,Dn),Mt.content.forEach(function(zn){if(zn.type===0)Dn.appendChild(_t.createTextNode(zn.value));else if(zn.type===22){var wr=_t.createElement("img");wr.src=zn.value,wr.style.opacity="1",Dn.appendChild(wr)}else if(zn.type===18){if(zn.name==="attr"){var Ra=zn.values.filter(qa);Ra.length&&Dn.appendChild(_t.createTextNode(se.getAttribute(Ra[0].value)||""))}else if(zn.name==="counter"){var qr=zn.values.filter(zs),ma=qr[0],qo=qr[1];if(ma&&qa(ma)){var Ya=nt.counters.getCounterValue(ma.value),Ga=qo&&qa(qo)?_n.parse(nt.context,qo.value):3;Dn.appendChild(_t.createTextNode(Gg(Ya,Ga,!1)))}}else if(zn.name==="counters"){var Ro=zn.values.filter(zs),ma=Ro[0],ci=Ro[1],qo=Ro[2];if(ma&&qa(ma)){var No=nt.counters.getCounterValues(ma.value),Ca=qo&&qa(qo)?_n.parse(nt.context,qo.value):3,ji=ci&&ci.type===0?ci.value:"",yi=No.map(function(uu){return Gg(uu,Ca,!1)}).join(ji);Dn.appendChild(_t.createTextNode(yi))}}}else if(zn.type===20)switch(zn.value){case"open-quote":Dn.appendChild(_t.createTextNode(mo(Mt.quotes,nt.quoteDepth++,!0)));break;case"close-quote":Dn.appendChild(_t.createTextNode(mo(Mt.quotes,--nt.quoteDepth,!1)));break;default:Dn.appendChild(_t.createTextNode(zn.value))}}),Dn.className=h0+" "+Of;var jn=_e===Wg.BEFORE?" "+h0:" "+Of;return Nf(pe)?pe.className.baseValue+=jn:pe.className+=jn,Dn}}},ue.destroy=function(se){return se.parentNode?(se.parentNode.removeChild(se),!0):!1},ue}(),Wg;(function(ue){ue[ue.BEFORE=0]="BEFORE",ue[ue.AFTER=1]="AFTER"})(Wg||(Wg={}));var Dm=function(ue,se){var pe=ue.createElement("iframe");return pe.className="html2canvas-container",pe.style.visibility="hidden",pe.style.position="fixed",pe.style.left="-10000px",pe.style.top="0px",pe.style.border="0",pe.width=se.width.toString(),pe.height=se.height.toString(),pe.scrolling="no",pe.setAttribute(wh,"true"),ue.body.appendChild(pe),pe},yh=function(ue){return new Promise(function(se){if(ue.complete){se();return}if(!ue.src){se();return}ue.onload=se,ue.onerror=se})},Um=function(ue){return Promise.all([].slice.call(ue.images,0).map(yh))},Zg=function(ue){return new Promise(function(se,pe){var he=ue.contentWindow;if(!he)return pe("No window assigned for iframe");var _e=he.document;he.onload=ue.onload=function(){he.onload=ue.onload=null;var nt=setInterval(function(){_e.body.childNodes.length>0&&_e.readyState==="complete"&&(clearInterval(nt),se(ue))},50)}})},Pp=["all","d","content"],Uf=function(ue,se){for(var pe=ue.length-1;pe>=0;pe--){var he=ue.item(pe);Pp.indexOf(he)===-1&&se.style.setProperty(he,ue.getPropertyValue(he))}return se},Om=function(ue){var se="";return ue&&(se+=""),se},Sh=function(ue,se,pe){ue&&ue.defaultView&&(se!==ue.defaultView.pageXOffset||pe!==ue.defaultView.pageYOffset)&&ue.defaultView.scrollTo(se,pe)},bh=function(ue){var se=ue[0],pe=ue[1],he=ue[2];se.scrollLeft=pe,se.scrollTop=he},Ch=":before",Eh=":after",h0="___html2canvas___pseudoelement_before",Of="___html2canvas___pseudoelement_after",Ph=`{ content: "" !important; display: none !important; }`,xp=function(ue){xh(ue,"."+h0+Ch+Ph+` .`+Of+Eh+Ph)},xh=function(ue,se){var pe=ue.ownerDocument;if(pe){var he=pe.createElement("style");he.textContent=se,ue.appendChild(he)}},Fh=function(){function ue(){}return ue.getOrigin=function(se){var pe=ue._link;return pe?(pe.href=se,pe.href=pe.href,pe.protocol+pe.hostname+pe.port):"about:blank"},ue.isSameOrigin=function(se){return ue.getOrigin(se)===ue._origin},ue.setContext=function(se){ue._link=se.document.createElement("a"),ue._origin=ue.getOrigin(se.location.href)},ue._origin="about:blank",ue}(),yu=function(){function ue(se,pe){this.context=se,this._options=pe,this._cache={}}return ue.prototype.addImage=function(se){var pe=Promise.resolve();return this.has(se)||(v0(se)||Qf(se))&&(this._cache[se]=this.loadImage(se)).catch(function(){}),pe},ue.prototype.match=function(se){return this._cache[se]},ue.prototype.loadImage=function(se){return Ce(this,void 0,void 0,function(){var pe,he,_e,nt,wt=this;return Me(this,function(_t){switch(_t.label){case 0:return pe=Fh.isSameOrigin(se),he=!Vg(se)&&this._options.useCORS===!0&&RA.SUPPORT_CORS_IMAGES&&!pe,_e=!Vg(se)&&!pe&&!v0(se)&&typeof this._options.proxy=="string"&&RA.SUPPORT_CORS_XHR&&!he,!pe&&this._options.allowTaint===!1&&!Vg(se)&&!v0(se)&&!_e&&!he?[2]:(nt=se,_e?[4,this.proxy(nt)]:[3,2]);case 1:nt=_t.sent(),_t.label=2;case 2:return this.context.logger.debug("Added image "+se.substring(0,256)),[4,new Promise(function(Mt,Dn){var jn=new Image;jn.onload=function(){return Mt(jn)},jn.onerror=Dn,(Qm(nt)||he)&&(jn.crossOrigin="anonymous"),jn.src=nt,jn.complete===!0&&setTimeout(function(){return Mt(jn)},500),wt._options.imageTimeout>0&&setTimeout(function(){return Dn("Timed out ("+wt._options.imageTimeout+"ms) loading image")},wt._options.imageTimeout)})];case 3:return[2,_t.sent()]}})})},ue.prototype.has=function(se){return typeof this._cache[se]!="undefined"},ue.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ue.prototype.proxy=function(se){var pe=this,he=this._options.proxy;if(!he)throw new Error("No proxy defined");var _e=se.substring(0,256);return new Promise(function(nt,wt){var _t=RA.SUPPORT_RESPONSE_TYPE?"blob":"text",Mt=new XMLHttpRequest;Mt.onload=function(){if(Mt.status===200)if(_t==="text")nt(Mt.response);else{var zn=new FileReader;zn.addEventListener("load",function(){return nt(zn.result)},!1),zn.addEventListener("error",function(wr){return wt(wr)},!1),zn.readAsDataURL(Mt.response)}else wt("Failed to proxy resource "+_e+" with status code "+Mt.status)},Mt.onerror=wt;var Dn=he.indexOf("?")>-1?"&":"?";if(Mt.open("GET",""+he+Dn+"url="+encodeURIComponent(se)+"&responseType="+_t),_t!=="text"&&Mt instanceof XMLHttpRequest&&(Mt.responseType=_t),pe._options.imageTimeout){var jn=pe._options.imageTimeout;Mt.timeout=jn,Mt.ontimeout=function(){return wt("Timed out ("+jn+"ms) proxying "+_e)}}Mt.send()})},ue}(),m0=/^data:image\/svg\+xml/i,Lh=/^data:image\/.*;base64,/i,p0=/^data:image\/.*/i,Qf=function(ue){return RA.SUPPORT_SVG_DRAWING||!km(ue)},Vg=function(ue){return p0.test(ue)},Qm=function(ue){return Lh.test(ue)},v0=function(ue){return ue.substr(0,4)==="blob"},km=function(ue){return ue.substr(-3).toLowerCase()==="svg"||m0.test(ue)},Ta=function(){function ue(se,pe){this.type=0,this.x=se,this.y=pe}return ue.prototype.add=function(se,pe){return new ue(this.x+se,this.y+pe)},ue}(),Ed=function(ue,se,pe){return new Ta(ue.x+(se.x-ue.x)*pe,ue.y+(se.y-ue.y)*pe)},kf=function(){function ue(se,pe,he,_e){this.type=1,this.start=se,this.startControl=pe,this.endControl=he,this.end=_e}return ue.prototype.subdivide=function(se,pe){var he=Ed(this.start,this.startControl,se),_e=Ed(this.startControl,this.endControl,se),nt=Ed(this.endControl,this.end,se),wt=Ed(he,_e,se),_t=Ed(_e,nt,se),Mt=Ed(wt,_t,se);return pe?new ue(this.start,he,wt,Mt):new ue(Mt,_t,nt,this.end)},ue.prototype.add=function(se,pe){return new ue(this.start.add(se,pe),this.startControl.add(se,pe),this.endControl.add(se,pe),this.end.add(se,pe))},ue.prototype.reverse=function(){return new ue(this.end,this.endControl,this.startControl,this.start)},ue}(),Qu=function(ue){return ue.type===1},Tm=function(){function ue(se){var pe=se.styles,he=se.bounds,_e=yA(pe.borderTopLeftRadius,he.width,he.height),nt=_e[0],wt=_e[1],_t=yA(pe.borderTopRightRadius,he.width,he.height),Mt=_t[0],Dn=_t[1],jn=yA(pe.borderBottomRightRadius,he.width,he.height),zn=jn[0],wr=jn[1],Ra=yA(pe.borderBottomLeftRadius,he.width,he.height),qr=Ra[0],ma=Ra[1],qo=[];qo.push((nt+Mt)/he.width),qo.push((qr+zn)/he.width),qo.push((wt+ma)/he.height),qo.push((Dn+wr)/he.height);var Ya=Math.max.apply(Math,qo);Ya>1&&(nt/=Ya,wt/=Ya,Mt/=Ya,Dn/=Ya,zn/=Ya,wr/=Ya,qr/=Ya,ma/=Ya);var Ga=he.width-Mt,Ro=he.height-wr,ci=he.width-zn,No=he.height-ma,Ca=pe.borderTopWidth,ji=pe.borderRightWidth,yi=pe.borderBottomWidth,jo=pe.borderLeftWidth,ga=Yo(pe.paddingTop,se.bounds.width),uu=Yo(pe.paddingRight,se.bounds.width),bu=Yo(pe.paddingBottom,se.bounds.width),Es=Yo(pe.paddingLeft,se.bounds.width);this.topLeftBorderDoubleOuterBox=nt>0||wt>0?lA(he.left+jo/3,he.top+Ca/3,nt-jo/3,wt-Ca/3,Ss.TOP_LEFT):new Ta(he.left+jo/3,he.top+Ca/3),this.topRightBorderDoubleOuterBox=nt>0||wt>0?lA(he.left+Ga,he.top+Ca/3,Mt-ji/3,Dn-Ca/3,Ss.TOP_RIGHT):new Ta(he.left+he.width-ji/3,he.top+Ca/3),this.bottomRightBorderDoubleOuterBox=zn>0||wr>0?lA(he.left+ci,he.top+Ro,zn-ji/3,wr-yi/3,Ss.BOTTOM_RIGHT):new Ta(he.left+he.width-ji/3,he.top+he.height-yi/3),this.bottomLeftBorderDoubleOuterBox=qr>0||ma>0?lA(he.left+jo/3,he.top+No,qr-jo/3,ma-yi/3,Ss.BOTTOM_LEFT):new Ta(he.left+jo/3,he.top+he.height-yi/3),this.topLeftBorderDoubleInnerBox=nt>0||wt>0?lA(he.left+jo*2/3,he.top+Ca*2/3,nt-jo*2/3,wt-Ca*2/3,Ss.TOP_LEFT):new Ta(he.left+jo*2/3,he.top+Ca*2/3),this.topRightBorderDoubleInnerBox=nt>0||wt>0?lA(he.left+Ga,he.top+Ca*2/3,Mt-ji*2/3,Dn-Ca*2/3,Ss.TOP_RIGHT):new Ta(he.left+he.width-ji*2/3,he.top+Ca*2/3),this.bottomRightBorderDoubleInnerBox=zn>0||wr>0?lA(he.left+ci,he.top+Ro,zn-ji*2/3,wr-yi*2/3,Ss.BOTTOM_RIGHT):new Ta(he.left+he.width-ji*2/3,he.top+he.height-yi*2/3),this.bottomLeftBorderDoubleInnerBox=qr>0||ma>0?lA(he.left+jo*2/3,he.top+No,qr-jo*2/3,ma-yi*2/3,Ss.BOTTOM_LEFT):new Ta(he.left+jo*2/3,he.top+he.height-yi*2/3),this.topLeftBorderStroke=nt>0||wt>0?lA(he.left+jo/2,he.top+Ca/2,nt-jo/2,wt-Ca/2,Ss.TOP_LEFT):new Ta(he.left+jo/2,he.top+Ca/2),this.topRightBorderStroke=nt>0||wt>0?lA(he.left+Ga,he.top+Ca/2,Mt-ji/2,Dn-Ca/2,Ss.TOP_RIGHT):new Ta(he.left+he.width-ji/2,he.top+Ca/2),this.bottomRightBorderStroke=zn>0||wr>0?lA(he.left+ci,he.top+Ro,zn-ji/2,wr-yi/2,Ss.BOTTOM_RIGHT):new Ta(he.left+he.width-ji/2,he.top+he.height-yi/2),this.bottomLeftBorderStroke=qr>0||ma>0?lA(he.left+jo/2,he.top+No,qr-jo/2,ma-yi/2,Ss.BOTTOM_LEFT):new Ta(he.left+jo/2,he.top+he.height-yi/2),this.topLeftBorderBox=nt>0||wt>0?lA(he.left,he.top,nt,wt,Ss.TOP_LEFT):new Ta(he.left,he.top),this.topRightBorderBox=Mt>0||Dn>0?lA(he.left+Ga,he.top,Mt,Dn,Ss.TOP_RIGHT):new Ta(he.left+he.width,he.top),this.bottomRightBorderBox=zn>0||wr>0?lA(he.left+ci,he.top+Ro,zn,wr,Ss.BOTTOM_RIGHT):new Ta(he.left+he.width,he.top+he.height),this.bottomLeftBorderBox=qr>0||ma>0?lA(he.left,he.top+No,qr,ma,Ss.BOTTOM_LEFT):new Ta(he.left,he.top+he.height),this.topLeftPaddingBox=nt>0||wt>0?lA(he.left+jo,he.top+Ca,Math.max(0,nt-jo),Math.max(0,wt-Ca),Ss.TOP_LEFT):new Ta(he.left+jo,he.top+Ca),this.topRightPaddingBox=Mt>0||Dn>0?lA(he.left+Math.min(Ga,he.width-ji),he.top+Ca,Ga>he.width+ji?0:Math.max(0,Mt-ji),Math.max(0,Dn-Ca),Ss.TOP_RIGHT):new Ta(he.left+he.width-ji,he.top+Ca),this.bottomRightPaddingBox=zn>0||wr>0?lA(he.left+Math.min(ci,he.width-jo),he.top+Math.min(Ro,he.height-yi),Math.max(0,zn-ji),Math.max(0,wr-yi),Ss.BOTTOM_RIGHT):new Ta(he.left+he.width-ji,he.top+he.height-yi),this.bottomLeftPaddingBox=qr>0||ma>0?lA(he.left+jo,he.top+Math.min(No,he.height-yi),Math.max(0,qr-jo),Math.max(0,ma-yi),Ss.BOTTOM_LEFT):new Ta(he.left+jo,he.top+he.height-yi),this.topLeftContentBox=nt>0||wt>0?lA(he.left+jo+Es,he.top+Ca+ga,Math.max(0,nt-(jo+Es)),Math.max(0,wt-(Ca+ga)),Ss.TOP_LEFT):new Ta(he.left+jo+Es,he.top+Ca+ga),this.topRightContentBox=Mt>0||Dn>0?lA(he.left+Math.min(Ga,he.width+jo+Es),he.top+Ca+ga,Ga>he.width+jo+Es?0:Mt-jo+Es,Dn-(Ca+ga),Ss.TOP_RIGHT):new Ta(he.left+he.width-(ji+uu),he.top+Ca+ga),this.bottomRightContentBox=zn>0||wr>0?lA(he.left+Math.min(ci,he.width-(jo+Es)),he.top+Math.min(Ro,he.height+Ca+ga),Math.max(0,zn-(ji+uu)),wr-(yi+bu),Ss.BOTTOM_RIGHT):new Ta(he.left+he.width-(ji+uu),he.top+he.height-(yi+bu)),this.bottomLeftContentBox=qr>0||ma>0?lA(he.left+jo+Es,he.top+No,Math.max(0,qr-(jo+Es)),ma-(yi+bu),Ss.BOTTOM_LEFT):new Ta(he.left+jo+Es,he.top+he.height-(yi+bu))}return ue}(),Ss;(function(ue){ue[ue.TOP_LEFT=0]="TOP_LEFT",ue[ue.TOP_RIGHT=1]="TOP_RIGHT",ue[ue.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ue[ue.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ss||(Ss={}));var lA=function(ue,se,pe,he,_e){var nt=4*((Math.sqrt(2)-1)/3),wt=pe*nt,_t=he*nt,Mt=ue+pe,Dn=se+he;switch(_e){case Ss.TOP_LEFT:return new kf(new Ta(ue,Dn),new Ta(ue,Dn-_t),new Ta(Mt-wt,se),new Ta(Mt,se));case Ss.TOP_RIGHT:return new kf(new Ta(ue,se),new Ta(ue+wt,se),new Ta(Mt,Dn-_t),new Ta(Mt,Dn));case Ss.BOTTOM_RIGHT:return new kf(new Ta(Mt,se),new Ta(Mt,se+_t),new Ta(ue+wt,Dn),new Ta(ue,Dn));case Ss.BOTTOM_LEFT:default:return new kf(new Ta(Mt,Dn),new Ta(Mt-wt,Dn),new Ta(ue,se+_t),new Ta(ue,se))}},Tf=function(ue){return[ue.topLeftBorderBox,ue.topRightBorderBox,ue.bottomRightBorderBox,ue.bottomLeftBorderBox]},Fp=function(ue){return[ue.topLeftContentBox,ue.topRightContentBox,ue.bottomRightContentBox,ue.bottomLeftContentBox]},B0=function(ue){return[ue.topLeftPaddingBox,ue.topRightPaddingBox,ue.bottomRightPaddingBox,ue.bottomLeftPaddingBox]},Jo=function(){function ue(se,pe,he){this.offsetX=se,this.offsetY=pe,this.matrix=he,this.type=0,this.target=6}return ue}(),ig=function(){function ue(se,pe){this.path=se,this.target=pe,this.type=1}return ue}(),Vs=function(){function ue(se){this.opacity=se,this.type=2,this.target=6}return ue}(),w0=function(ue){return ue.type===0},y0=function(ue){return ue.type===1},Rf=function(ue){return ue.type===2},qc=function(ue,se){return ue.length===se.length?ue.some(function(pe,he){return pe===se[he]}):!1},Ih=function(ue,se,pe,he,_e){return ue.map(function(nt,wt){switch(wt){case 0:return nt.add(se,pe);case 1:return nt.add(se+he,pe);case 2:return nt.add(se+he,pe+_e);case 3:return nt.add(se,pe+_e)}return nt})},Yg=function(){function ue(se){this.element=se,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ue}(),S0=function(){function ue(se,pe){if(this.container=se,this.parent=pe,this.effects=[],this.curves=new Tm(this.container),this.container.styles.opacity<1&&this.effects.push(new Vs(this.container.styles.opacity)),this.container.styles.transform!==null){var he=this.container.bounds.left+this.container.styles.transformOrigin[0].number,_e=this.container.bounds.top+this.container.styles.transformOrigin[1].number,nt=this.container.styles.transform;this.effects.push(new Jo(he,_e,nt))}if(this.container.styles.overflowX!==0){var wt=Tf(this.curves),_t=B0(this.curves);qc(wt,_t)?this.effects.push(new ig(wt,6)):(this.effects.push(new ig(wt,2)),this.effects.push(new ig(_t,4)))}}return ue.prototype.getEffects=function(se){for(var pe=[2,3].indexOf(this.container.styles.position)===-1,he=this.parent,_e=this.effects.slice(0);he;){var nt=he.effects.filter(function(Mt){return!y0(Mt)});if(pe||he.container.styles.position!==0||!he.parent){if(_e.unshift.apply(_e,nt),pe=[2,3].indexOf(he.container.styles.position)===-1,he.container.styles.overflowX!==0){var wt=Tf(he.curves),_t=B0(he.curves);qc(wt,_t)||_e.unshift(new ig(_t,6))}}else _e.unshift.apply(_e,nt);he=he.parent}return _e.filter(function(Mt){return fa(Mt.target,se)})},ue}(),Xg=function(ue,se,pe,he){ue.container.elements.forEach(function(_e){var nt=fa(_e.flags,4),wt=fa(_e.flags,2),_t=new S0(_e,ue);fa(_e.styles.display,2048)&&he.push(_t);var Mt=fa(_e.flags,8)?[]:he;if(nt||wt){var Dn=nt||_e.styles.isPositioned()?pe:se,jn=new Yg(_t);if(_e.styles.isPositioned()||_e.styles.opacity<1||_e.styles.isTransformed()){var zn=_e.styles.zIndex.order;if(zn<0){var wr=0;Dn.negativeZIndex.some(function(qr,ma){return zn>qr.element.container.styles.zIndex.order?(wr=ma,!1):wr>0}),Dn.negativeZIndex.splice(wr,0,jn)}else if(zn>0){var Ra=0;Dn.positiveZIndex.some(function(qr,ma){return zn>=qr.element.container.styles.zIndex.order?(Ra=ma+1,!1):Ra>0}),Dn.positiveZIndex.splice(Ra,0,jn)}else Dn.zeroOrAutoZIndexOrTransformedOrOpacity.push(jn)}else _e.styles.isFloating()?Dn.nonPositionedFloats.push(jn):Dn.nonPositionedInlineLevel.push(jn);Xg(_t,jn,nt?jn:pe,Mt)}else _e.styles.isInlineLevel()?se.inlineLevel.push(_t):se.nonInlineLevel.push(_t),Xg(_t,se,pe,Mt);fa(_e.flags,8)&&Jg(_e,Mt)})},Jg=function(ue,se){for(var pe=ue instanceof i0?ue.start:1,he=ue instanceof i0?ue.reversed:!1,_e=0;_e0&&pe.intrinsicHeight>0){var nt=Hf(pe),wt=B0(he);this.path(wt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(_e,0,0,pe.intrinsicWidth,pe.intrinsicHeight,nt.left,nt.top,nt.width,nt.height),this.ctx.restore()}},se.prototype.renderNodeContent=function(pe){return Ce(this,void 0,void 0,function(){var he,_e,nt,wt,_t,Mt,Ga,Ga,Dn,jn,zn,wr,ci,Ra,qr,No,ma,qo,Ya,Ga,Ro,ci,No;return Me(this,function(Ca){switch(Ca.label){case 0:this.applyEffects(pe.getEffects(4)),he=pe.container,_e=pe.curves,nt=he.styles,wt=0,_t=he.textNodes,Ca.label=1;case 1:return wt<_t.length?(Mt=_t[wt],[4,this.renderTextNode(Mt,nt)]):[3,4];case 2:Ca.sent(),Ca.label=3;case 3:return wt++,[3,1];case 4:if(!(he instanceof eh))return[3,8];Ca.label=5;case 5:return Ca.trys.push([5,7,,8]),[4,this.context.cache.match(he.src)];case 6:return Ga=Ca.sent(),this.renderReplacedElement(he,_e,Ga),[3,8];case 7:return Ca.sent(),this.context.logger.error("Error loading image "+he.src),[3,8];case 8:if(he instanceof th&&this.renderReplacedElement(he,_e,he.canvas),!(he instanceof nh))return[3,12];Ca.label=9;case 9:return Ca.trys.push([9,11,,12]),[4,this.context.cache.match(he.svg)];case 10:return Ga=Ca.sent(),this.renderReplacedElement(he,_e,Ga),[3,12];case 11:return Ca.sent(),this.context.logger.error("Error loading svg "+he.svg.substring(0,255)),[3,12];case 12:return he instanceof ih&&he.tree?(Dn=new se(this.context,{scale:this.options.scale,backgroundColor:he.backgroundColor,x:0,y:0,width:he.width,height:he.height}),[4,Dn.render(he.tree)]):[3,14];case 13:jn=Ca.sent(),he.width&&he.height&&this.ctx.drawImage(jn,0,0,he.width,he.height,he.bounds.left,he.bounds.top,he.bounds.width,he.bounds.height),Ca.label=14;case 14:if(he instanceof Mg&&(zn=Math.min(he.bounds.width,he.bounds.height),he.type===Ff?he.checked&&(this.ctx.save(),this.path([new Ta(he.bounds.left+zn*.39363,he.bounds.top+zn*.79),new Ta(he.bounds.left+zn*.16,he.bounds.top+zn*.5549),new Ta(he.bounds.left+zn*.27347,he.bounds.top+zn*.44071),new Ta(he.bounds.left+zn*.39694,he.bounds.top+zn*.5649),new Ta(he.bounds.left+zn*.72983,he.bounds.top+zn*.23),new Ta(he.bounds.left+zn*.84,he.bounds.top+zn*.34085),new Ta(he.bounds.left+zn*.39363,he.bounds.top+zn*.79)]),this.ctx.fillStyle=qi(If),this.ctx.fill(),this.ctx.restore()):he.type===Lf&&he.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(he.bounds.left+zn/2,he.bounds.top+zn/2,zn/4,0,Math.PI*2,!0),this.ctx.fillStyle=qi(If),this.ctx.fill(),this.ctx.restore())),E0(he)&&he.value.length){switch(wr=this.createFontStyle(nt),ci=wr[0],Ra=wr[1],qr=this.fontMetrics.getMetrics(ci,Ra).baseline,this.ctx.font=ci,this.ctx.fillStyle=qi(nt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Ag(he.styles.textAlign),No=Hf(he),ma=0,he.styles.textAlign){case 1:ma+=No.width/2;break;case 2:ma+=No.width;break}qo=No.add(ma,0,0,-No.height/2+1),this.ctx.save(),this.path([new Ta(No.left,No.top),new Ta(No.left+No.width,No.top),new Ta(No.left+No.width,No.top+No.height),new Ta(No.left,No.top+No.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ku(he.value,qo),nt.letterSpacing,qr),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!fa(he.styles.display,2048))return[3,20];if(he.styles.listStyleImage===null)return[3,19];if(Ya=he.styles.listStyleImage,Ya.type!==0)return[3,18];Ga=void 0,Ro=Ya.url,Ca.label=15;case 15:return Ca.trys.push([15,17,,18]),[4,this.context.cache.match(Ro)];case 16:return Ga=Ca.sent(),this.ctx.drawImage(Ga,he.bounds.left-(Ga.width+10),he.bounds.top),[3,18];case 17:return Ca.sent(),this.context.logger.error("Error loading list-style-image "+Ro),[3,18];case 18:return[3,20];case 19:pe.listValue&&he.styles.listStyleType!==-1&&(ci=this.createFontStyle(nt)[0],this.ctx.font=ci,this.ctx.fillStyle=qi(nt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",No=new ze(he.bounds.left,he.bounds.top+Yo(he.styles.paddingTop,he.bounds.width),he.bounds.width,bn(nt.lineHeight,nt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ku(pe.listValue,No),nt.letterSpacing,bn(nt.lineHeight,nt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ca.label=20;case 20:return[2]}})})},se.prototype.renderStackContent=function(pe){return Ce(this,void 0,void 0,function(){var he,_e,Ya,nt,wt,Ya,_t,Mt,Ya,Dn,jn,Ya,zn,wr,Ya,Ra,qr,Ya,ma,qo,Ya;return Me(this,function(Ga){switch(Ga.label){case 0:if(fa(pe.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(pe.element)];case 1:Ga.sent(),he=0,_e=pe.negativeZIndex,Ga.label=2;case 2:return he<_e.length?(Ya=_e[he],[4,this.renderStack(Ya)]):[3,5];case 3:Ga.sent(),Ga.label=4;case 4:return he++,[3,2];case 5:return[4,this.renderNodeContent(pe.element)];case 6:Ga.sent(),nt=0,wt=pe.nonInlineLevel,Ga.label=7;case 7:return nt0&&sl>0&&(yi=nt.ctx.createPattern(No,"repeat"),nt.renderRepeat(ga,yi,kl,zl))):fA(jn)&&(jo=ic(pe,he,[null,null,null]),ga=jo[0],uu=jo[1],bu=jo[2],Es=jo[3],sl=jo[4],Fc=jn.position.length===0?[ws]:jn.position,kl=Yo(Fc[0],Es),zl=Yo(Fc[Fc.length-1],sl),xd=Tr(jn,kl,zl,Es,sl),ku=xd[0],Lc=xd[1],ku>0&&Lc>0&&(Fd=nt.ctx.createRadialGradient(uu+kl,bu+zl,0,uu+kl,bu+zl,ku),Gc(jn.stops,ku*2).forEach(function(od){return Fd.addColorStop(od.stop,qi(od.color))}),nt.path(ga),nt.ctx.fillStyle=Fd,ku!==Lc?(rd=pe.bounds.left+.5*pe.bounds.width,Ac=pe.bounds.top+.5*pe.bounds.height,ad=Lc/ku,Ic=1/ad,nt.ctx.save(),nt.ctx.translate(rd,Ac),nt.ctx.transform(1,0,0,ad,0,0),nt.ctx.translate(-rd,-Ac),nt.ctx.fillRect(uu,Ic*(bu-Ac)+Ac,Es,sl*Ic),nt.ctx.restore()):nt.ctx.fill())),lg.label=6;case 6:return he--,[2]}})},nt=this,wt=0,_t=pe.styles.backgroundImage.slice(0).reverse(),Dn.label=1;case 1:return wt<_t.length?(Mt=_t[wt],[5,_e(Mt)]):[3,4];case 2:Dn.sent(),Dn.label=3;case 3:return wt++,[3,1];case 4:return[2]}})})},se.prototype.renderSolidBorder=function(pe,he,_e){return Ce(this,void 0,void 0,function(){return Me(this,function(nt){return this.path(fl(_e,he)),this.ctx.fillStyle=qi(pe),this.ctx.fill(),[2]})})},se.prototype.renderDoubleBorder=function(pe,he,_e,nt){return Ce(this,void 0,void 0,function(){var wt,_t;return Me(this,function(Mt){switch(Mt.label){case 0:return he<3?[4,this.renderSolidBorder(pe,_e,nt)]:[3,2];case 1:return Mt.sent(),[2];case 2:return wt=Ol(nt,_e),this.path(wt),this.ctx.fillStyle=qi(pe),this.ctx.fill(),_t=Ql(nt,_e),this.path(_t),this.ctx.fill(),[2]}})})},se.prototype.renderNodeBackgroundAndBorders=function(pe){return Ce(this,void 0,void 0,function(){var he,_e,nt,wt,_t,Mt,Dn,jn,zn=this;return Me(this,function(wr){switch(wr.label){case 0:return this.applyEffects(pe.getEffects(2)),he=pe.container.styles,_e=!Ds(he.backgroundColor)||he.backgroundImage.length,nt=[{style:he.borderTopStyle,color:he.borderTopColor,width:he.borderTopWidth},{style:he.borderRightStyle,color:he.borderRightColor,width:he.borderRightWidth},{style:he.borderBottomStyle,color:he.borderBottomColor,width:he.borderBottomWidth},{style:he.borderLeftStyle,color:he.borderLeftColor,width:he.borderLeftWidth}],wt=Pd(zu(he.backgroundClip,0),pe.curves),_e||he.boxShadow.length?(this.ctx.save(),this.path(wt),this.ctx.clip(),Ds(he.backgroundColor)||(this.ctx.fillStyle=qi(he.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(pe.container)]):[3,2];case 1:wr.sent(),this.ctx.restore(),he.boxShadow.slice(0).reverse().forEach(function(Ra){zn.ctx.save();var qr=Tf(pe.curves),ma=Ra.inset?0:Ao,qo=Ih(qr,-ma+(Ra.inset?1:-1)*Ra.spread.number,(Ra.inset?1:-1)*Ra.spread.number,Ra.spread.number*(Ra.inset?-2:2),Ra.spread.number*(Ra.inset?-2:2));Ra.inset?(zn.path(qr),zn.ctx.clip(),zn.mask(qo)):(zn.mask(qr),zn.ctx.clip(),zn.path(qo)),zn.ctx.shadowOffsetX=Ra.offsetX.number+ma,zn.ctx.shadowOffsetY=Ra.offsetY.number,zn.ctx.shadowColor=qi(Ra.color),zn.ctx.shadowBlur=Ra.blur.number,zn.ctx.fillStyle=Ra.inset?qi(Ra.color):"rgba(0,0,0,1)",zn.ctx.fill(),zn.ctx.restore()}),wr.label=2;case 2:_t=0,Mt=0,Dn=nt,wr.label=3;case 3:return Mt0?jn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(jn.color,jn.width,_t,pe.curves,2)]:[3,11]):[3,13];case 4:return wr.sent(),[3,11];case 5:return jn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(jn.color,jn.width,_t,pe.curves,3)];case 6:return wr.sent(),[3,11];case 7:return jn.style!==4?[3,9]:[4,this.renderDoubleBorder(jn.color,jn.width,_t,pe.curves)];case 8:return wr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(jn.color,_t,pe.curves)];case 10:wr.sent(),wr.label=11;case 11:_t++,wr.label=12;case 12:return Mt++,[3,3];case 13:return[2]}})})},se.prototype.renderDashedDottedBorder=function(pe,he,_e,nt,wt){return Ce(this,void 0,void 0,function(){var _t,Mt,Dn,jn,zn,wr,Ra,qr,ma,qo,Ya,Ga,Ro,ci,No,Ca,No,Ca;return Me(this,function(ji){return this.ctx.save(),_t=Nh(nt,_e),Mt=fl(nt,_e),wt===2&&(this.path(Mt),this.ctx.clip()),Qu(Mt[0])?(Dn=Mt[0].start.x,jn=Mt[0].start.y):(Dn=Mt[0].x,jn=Mt[0].y),Qu(Mt[1])?(zn=Mt[1].end.x,wr=Mt[1].end.y):(zn=Mt[1].x,wr=Mt[1].y),_e===0||_e===2?Ra=Math.abs(Dn-zn):Ra=Math.abs(jn-wr),this.ctx.beginPath(),wt===3?this.formatPath(_t):this.formatPath(Mt.slice(0,2)),qr=he<3?he*3:he*2,ma=he<3?he*2:he,wt===3&&(qr=he,ma=he),qo=!0,Ra<=qr*2?qo=!1:Ra<=qr*2+ma?(Ya=Ra/(2*qr+ma),qr*=Ya,ma*=Ya):(Ga=Math.floor((Ra+ma)/(qr+ma)),Ro=(Ra-Ga*qr)/(Ga-1),ci=(Ra-(Ga+1)*qr)/Ga,ma=ci<=0||Math.abs(ma-Ro)St){var vt=lt;lt=St,St=vt}}else if(tt==="l"||tt==="landscape"){if(tt="l",St>lt){var vt=lt;lt=St,St=vt}}else throw"Invalid orientation: "+tt;var ut={width:lt,height:St,unit:Te,k:ot};return ut},Ne.default=Ue.jsPDF},"./src/plugin/pagebreaks.js":function(we,Ne,ge){"use strict";ge.r(Ne);var De=ge("./node_modules/core-js/modules/es.array.concat.js"),xe=ge.n(De),Ee=ge("./node_modules/core-js/modules/es.array.slice.js"),ie=ge.n(Ee),y=ge("./node_modules/core-js/modules/es.array.join.js"),a=ge.n(y),ee=ge("./node_modules/core-js/modules/web.dom-collections.for-each.js"),E=ge.n(ee),te=ge("./node_modules/core-js/modules/es.object.keys.js"),ne=ge.n(te),ae=ge("./src/worker.js"),de=ge("./src/utils.js"),Le={toContainer:ae.default.prototype.toContainer};ae.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ae.default.prototype.toContainer=function(){return Le.toContainer.call(this).then(function(){var Ge=this.prop.container,Ze=this.prop.pageSize.inner.px.height,tt=[].concat(this.opt.pagebreak.mode),Te={avoidAll:tt.indexOf("avoid-all")!==-1,css:tt.indexOf("css")!==-1,legacy:tt.indexOf("legacy")!==-1},pt={},Qe=this;["before","after","avoid"].forEach(function(ot){var St=Te.avoidAll&&ot==="avoid";pt[ot]=St?[]:[].concat(Qe.opt.pagebreak[ot]||[]),pt[ot].length>0&&(pt[ot]=Array.prototype.slice.call(Ge.querySelectorAll(pt[ot].join(", "))))});var Lt=Ge.querySelectorAll(".html2pdf__page-break");Lt=Array.prototype.slice.call(Lt);var it=Ge.querySelectorAll("*");Array.prototype.forEach.call(it,function(St){var lt={before:!1,after:Te.legacy&&Lt.indexOf(St)!==-1,avoid:Te.avoidAll};if(Te.css){var vt=window.getComputedStyle(St),ut=["always","page","left","right"],at=["avoid","avoid-page"];lt={before:lt.before||ut.indexOf(vt.breakBefore||vt.pageBreakBefore)!==-1,after:lt.after||ut.indexOf(vt.breakAfter||vt.pageBreakAfter)!==-1,avoid:lt.avoid||at.indexOf(vt.breakInside||vt.pageBreakInside)!==-1}}Object.keys(lt).forEach(function(Qn){lt[Qn]=lt[Qn]||pt[Qn].indexOf(St)!==-1});var Kt=St.getBoundingClientRect();if(lt.avoid&&!lt.before){var Vt=Math.floor(Kt.top/Ze),mt=Math.floor(Kt.bottom/Ze),Tt=Math.abs(Kt.bottom-Kt.top)/Ze;mt!==Vt&&Tt<=1&&(lt.before=!0)}if(lt.before){var wn=(0,de.createElement)("div",{style:{display:"block",height:Ze-Kt.top%Ze+"px"}});St.parentNode.insertBefore(wn,St)}if(lt.after){var wn=(0,de.createElement)("div",{style:{display:"block",height:Ze-Kt.bottom%Ze+"px"}});St.parentNode.insertBefore(wn,St.nextSibling)}})})}},"./src/utils.js":function(we,Ne,ge){"use strict";ge.r(Ne),ge.d(Ne,{objType:function(){return tt},createElement:function(){return Te},cloneNode:function(){return pt},unitConvert:function(){return Qe},toPx:function(){return Lt}});var De=ge("./node_modules/core-js/modules/es.number.constructor.js"),xe=ge.n(De),Ee=ge("./node_modules/core-js/modules/es.symbol.js"),ie=ge.n(Ee),y=ge("./node_modules/core-js/modules/es.symbol.description.js"),a=ge.n(y),ee=ge("./node_modules/core-js/modules/es.object.to-string.js"),E=ge.n(ee),te=ge("./node_modules/core-js/modules/es.symbol.iterator.js"),ne=ge.n(te),ae=ge("./node_modules/core-js/modules/es.array.iterator.js"),de=ge.n(ae),Le=ge("./node_modules/core-js/modules/es.string.iterator.js"),Pe=ge.n(Le),Ue=ge("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ge=ge.n(Ue);function Ze(it){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ze=function(St){return typeof St}:Ze=function(St){return St&&typeof Symbol=="function"&&St.constructor===Symbol&&St!==Symbol.prototype?"symbol":typeof St},Ze(it)}var tt=function(ot){var St=Ze(ot);return St==="undefined"?"undefined":St==="string"||ot instanceof String?"string":St==="number"||ot instanceof Number?"number":St==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":St==="object"?"object":"unknown"},Te=function(ot,St){var lt=document.createElement(ot);if(St.className&&(lt.className=St.className),St.innerHTML){lt.innerHTML=St.innerHTML;for(var vt=lt.getElementsByTagName("script"),ut=vt.length;ut-- >0;null)vt[ut].parentNode.removeChild(vt[ut])}for(var at in St.style)lt.style[at]=St.style[at];return lt},pt=function it(ot,St){for(var lt=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),vt=ot.firstChild;vt;vt=vt.nextSibling)(St===!0||vt.nodeType!==1||vt.nodeName!=="SCRIPT")&<.appendChild(it(vt,St));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(lt.width=ot.width,lt.height=ot.height,lt.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(lt.value=ot.value),lt.addEventListener("load",function(){lt.scrollTop=ot.scrollTop,lt.scrollLeft=ot.scrollLeft},!0)),lt},Qe=function(ot,St){if(tt(ot)==="number")return ot*72/96/St;var lt={};for(var vt in ot)lt[vt]=ot[vt]*72/96/St;return lt},Lt=function(ot,St){return Math.floor(ot*St/72*96)}},"./src/worker.js":function(we,Ne,ge){"use strict";ge.r(Ne);var De=ge("./node_modules/core-js/modules/es.object.assign.js"),xe=ge.n(De),Ee=ge("./node_modules/core-js/modules/es.array.map.js"),ie=ge.n(Ee),y=ge("./node_modules/core-js/modules/es.object.keys.js"),a=ge.n(y),ee=ge("./node_modules/core-js/modules/es.array.concat.js"),E=ge.n(ee),te=ge("./node_modules/core-js/modules/es.object.to-string.js"),ne=ge.n(te),ae=ge("./node_modules/core-js/modules/es.regexp.to-string.js"),de=ge.n(ae),Le=ge("./node_modules/core-js/modules/es.function.name.js"),Pe=ge.n(Le),Ue=ge("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ge=ge.n(Ue),Ze=ge("jspdf"),tt=ge.n(Ze),Te=ge("html2canvas"),pt=ge.n(Te),Qe=ge("./src/utils.js"),Lt=ge("./node_modules/es6-promise/dist/es6-promise.js"),it=ge.n(Lt),ot=it().Promise,St=function lt(vt){var ut=Object.assign(lt.convert(ot.resolve()),JSON.parse(JSON.stringify(lt.template))),at=lt.convert(ot.resolve(),ut);return at=at.setProgress(1,lt,1,[lt]),at=at.set(vt),at};St.prototype=Object.create(ot.prototype),St.prototype.constructor=St,St.convert=function(vt,ut){return vt.__proto__=ut||St.prototype,vt},St.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:{}}},St.prototype.from=function(vt,ut){function at(Kt){switch((0,Qe.objType)(Kt)){case"string":return"string";case"element":return Kt.nodeName.toLowerCase&&Kt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ut=ut||at(vt),ut){case"string":return this.set({src:(0,Qe.createElement)("div",{innerHTML:vt})});case"element":return this.set({src:vt});case"canvas":return this.set({canvas:vt});case"img":return this.set({img:vt});default:return this.error("Unknown source type.")}})},St.prototype.to=function(vt){switch(vt){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.")}},St.prototype.toContainer=function(){var vt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(vt).then(function(){var at={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Kt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};at.opacity=0;var Vt=(0,Qe.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Qe.createElement)("div",{className:"html2pdf__overlay",style:at}),this.prop.container=(0,Qe.createElement)("div",{className:"html2pdf__container",style:Kt}),this.prop.container.appendChild(Vt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},St.prototype.toCanvas=function(){var vt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(vt).then(function(){var at=Object.assign({},this.opt.html2canvas);return delete at.onrendered,Te(this.prop.container,at)}).then(function(at){var Kt=this.opt.html2canvas.onrendered||function(){};Kt(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},St.prototype.toImg=function(){var vt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(vt).then(function(){var at=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=at})},St.prototype.toPdf=function(){var vt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(vt).then(function(){var at=this.prop.canvas,Kt=this.opt,Vt=at.height,mt=Math.floor(at.width*this.prop.pageSize.inner.ratio),Tt=Math.ceil(Vt/mt),wn=this.prop.pageSize.inner.height,Qn=document.createElement("canvas"),un=Qn.getContext("2d");Qn.width=at.width,Qn.height=mt,this.prop.pdf=this.prop.pdf||new Ze.jsPDF(Kt.jsPDF);for(var Tn=0;Tn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-indexed-object.js"),xe=ge("./node_modules/core-js/internals/to-length.js"),Ee=ge("./node_modules/core-js/internals/to-absolute-index.js"),ie=function(y){return function(a,ee,E){var te=De(a),ne=xe(te.length),ae=Ee(E,ne),de;if(y&&ee!=ee){for(;ne>ae;)if(de=te[ae++],de!=de)return!0}else for(;ne>ae;ae++)if((y||ae in te)&&te[ae]===ee)return y||ae||0;return!y&&-1}};we.exports={includes:ie(!0),indexOf:ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/function-bind-context.js"),xe=ge("./node_modules/core-js/internals/indexed-object.js"),Ee=ge("./node_modules/core-js/internals/to-object.js"),ie=ge("./node_modules/core-js/internals/to-length.js"),y=ge("./node_modules/core-js/internals/array-species-create.js"),a=[].push,ee=function(E){var te=E==1,ne=E==2,ae=E==3,de=E==4,Le=E==6,Pe=E==7,Ue=E==5||Le;return function(Ge,Ze,tt,Te){for(var pt=Ee(Ge),Qe=xe(pt),Lt=De(Ze,tt,3),it=ie(Qe.length),ot=0,St=Te||y,lt=te?St(Ge,it):ne||Pe?St(Ge,0):void 0,vt,ut;it>ot;ot++)if((Ue||ot in Qe)&&(vt=Qe[ot],ut=Lt(vt,ot,pt),E))if(te)lt[ot]=ut;else if(ut)switch(E){case 3:return!0;case 5:return vt;case 6:return ot;case 2:a.call(lt,vt)}else switch(E){case 4:return!1;case 7:a.call(lt,vt)}return Le?-1:ae||de?de:lt}};we.exports={forEach:ee(0),map:ee(1),filter:ee(2),some:ee(3),every:ee(4),find:ee(5),findIndex:ee(6),filterReject:ee(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/fails.js"),xe=ge("./node_modules/core-js/internals/well-known-symbol.js"),Ee=ge("./node_modules/core-js/internals/engine-v8-version.js"),ie=xe("species");we.exports=function(y){return Ee>=51||!De(function(){var a=[],ee=a.constructor={};return ee[ie]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/fails.js");we.exports=function(xe,Ee){var ie=[][xe];return!!ie&&De(function(){ie.call(null,Ee||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/is-object.js"),xe=ge("./node_modules/core-js/internals/is-array.js"),Ee=ge("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ee("species");we.exports=function(y){var a;return xe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||xe(a.prototype))?a=void 0:De(a)&&(a=a[ie],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/array-species-constructor.js");we.exports=function(xe,Ee){return new(De(xe))(Ee===0?0:Ee)}},"./node_modules/core-js/internals/classof-raw.js":function(we){var Ne={}.toString;we.exports=function(ge){return Ne.call(ge).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-string-tag-support.js"),xe=ge("./node_modules/core-js/internals/classof-raw.js"),Ee=ge("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ee("toStringTag"),y=xe(function(){return arguments}())=="Arguments",a=function(ee,E){try{return ee[E]}catch(te){}};we.exports=De?xe:function(ee){var E,te,ne;return ee===void 0?"Undefined":ee===null?"Null":typeof(te=a(E=Object(ee),ie))=="string"?te:y?xe(E):(ne=xe(E))=="Object"&&typeof E.callee=="function"?"Arguments":ne}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/has.js"),xe=ge("./node_modules/core-js/internals/own-keys.js"),Ee=ge("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=ge("./node_modules/core-js/internals/object-define-property.js");we.exports=function(y,a){for(var ee=xe(a),E=ie.f,te=Ee.f,ne=0;ne"+E+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,xe=ge("./node_modules/core-js/internals/object-create.js"),Ee=ge("./node_modules/core-js/internals/create-property-descriptor.js"),ie=ge("./node_modules/core-js/internals/set-to-string-tag.js"),y=ge("./node_modules/core-js/internals/iterators.js"),a=function(){return this};we.exports=function(ee,E,te){var ne=E+" Iterator";return ee.prototype=xe(De,{next:Ee(1,te)}),ie(ee,ne,!1,!0),y[ne]=a,ee}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/object-define-property.js"),Ee=ge("./node_modules/core-js/internals/create-property-descriptor.js");we.exports=De?function(ie,y,a){return xe.f(ie,y,Ee(1,a))}:function(ie,y,a){return ie[y]=a,ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(we){we.exports=function(Ne,ge){return{enumerable:!(Ne&1),configurable:!(Ne&2),writable:!(Ne&4),value:ge}}},"./node_modules/core-js/internals/create-property.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/to-property-key.js"),xe=ge("./node_modules/core-js/internals/object-define-property.js"),Ee=ge("./node_modules/core-js/internals/create-property-descriptor.js");we.exports=function(ie,y,a){var ee=De(y);ee in ie?xe.f(ie,ee,Ee(0,a)):ie[ee]=a}},"./node_modules/core-js/internals/define-iterator.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/create-iterator-constructor.js"),Ee=ge("./node_modules/core-js/internals/object-get-prototype-of.js"),ie=ge("./node_modules/core-js/internals/object-set-prototype-of.js"),y=ge("./node_modules/core-js/internals/set-to-string-tag.js"),a=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),ee=ge("./node_modules/core-js/internals/redefine.js"),E=ge("./node_modules/core-js/internals/well-known-symbol.js"),te=ge("./node_modules/core-js/internals/is-pure.js"),ne=ge("./node_modules/core-js/internals/iterators.js"),ae=ge("./node_modules/core-js/internals/iterators-core.js"),de=ae.IteratorPrototype,Le=ae.BUGGY_SAFARI_ITERATORS,Pe=E("iterator"),Ue="keys",Ge="values",Ze="entries",tt=function(){return this};we.exports=function(Te,pt,Qe,Lt,it,ot,St){xe(Qe,pt,Lt);var lt=function(un){if(un===it&&Vt)return Vt;if(!Le&&un in at)return at[un];switch(un){case Ue:return function(){return new Qe(this,un)};case Ge:return function(){return new Qe(this,un)};case Ze:return function(){return new Qe(this,un)}}return function(){return new Qe(this)}},vt=pt+" Iterator",ut=!1,at=Te.prototype,Kt=at[Pe]||at["@@iterator"]||it&&at[it],Vt=!Le&&Kt||lt(it),mt=pt=="Array"&&at.entries||Kt,Tt,wn,Qn;if(mt&&(Tt=Ee(mt.call(new Te)),de!==Object.prototype&&Tt.next&&(!te&&Ee(Tt)!==de&&(ie?ie(Tt,de):typeof Tt[Pe]!="function"&&a(Tt,Pe,tt)),y(Tt,vt,!0,!0),te&&(ne[vt]=tt))),it==Ge&&Kt&&Kt.name!==Ge&&(ut=!0,Vt=function(){return Kt.call(this)}),(!te||St)&&at[Pe]!==Vt&&a(at,Pe,Vt),ne[pt]=Vt,it)if(wn={values:lt(Ge),keys:ot?Vt:lt(Ue),entries:lt(Ze)},St)for(Qn in wn)(Le||ut||!(Qn in at))&&ee(at,Qn,wn[Qn]);else De({target:pt,proto:!0,forced:Le||ut},wn);return wn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/path.js"),xe=ge("./node_modules/core-js/internals/has.js"),Ee=ge("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=ge("./node_modules/core-js/internals/object-define-property.js").f;we.exports=function(y){var a=De.Symbol||(De.Symbol={});xe(a,y)||ie(a,y,{value:Ee.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/fails.js");we.exports=!De(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/is-object.js"),Ee=De.document,ie=xe(Ee)&&xe(Ee.createElement);we.exports=function(y){return ie?Ee.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(we){we.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(we,Ne,ge){var De=ge("./node_modules/core-js/internals/get-built-in.js");we.exports=De("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/engine-user-agent.js"),Ee=De.process,ie=De.Deno,y=Ee&&Ee.versions||ie&&ie.version,a=y&&y.v8,ee,E;a?(ee=a.split("."),E=ee[0]<4?1:ee[0]+ee[1]):xe&&(ee=xe.match(/Edge\/(\d+)/),(!ee||ee[1]>=74)&&(ee=xe.match(/Chrome\/(\d+)/),ee&&(E=ee[1]))),we.exports=E&&+E},"./node_modules/core-js/internals/enum-bug-keys.js":function(we){we.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ee=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=ge("./node_modules/core-js/internals/redefine.js"),y=ge("./node_modules/core-js/internals/set-global.js"),a=ge("./node_modules/core-js/internals/copy-constructor-properties.js"),ee=ge("./node_modules/core-js/internals/is-forced.js");we.exports=function(E,te){var ne=E.target,ae=E.global,de=E.stat,Le,Pe,Ue,Ge,Ze,tt;if(ae?Pe=De:de?Pe=De[ne]||y(ne,{}):Pe=(De[ne]||{}).prototype,Pe)for(Ue in te){if(Ze=te[Ue],E.noTargetGet?(tt=xe(Pe,Ue),Ge=tt&&tt.value):Ge=Pe[Ue],Le=ee(ae?Ue:ne+(de?".":"#")+Ue,E.forced),!Le&&Ge!==void 0){if(typeof Ze==typeof Ge)continue;a(Ze,Ge)}(E.sham||Ge&&Ge.sham)&&Ee(Ze,"sham",!0),ie(Pe,Ue,Ze,E)}}},"./node_modules/core-js/internals/fails.js":function(we){we.exports=function(Ne){try{return!!Ne()}catch(ge){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/a-function.js");we.exports=function(xe,Ee,ie){if(De(xe),Ee===void 0)return xe;switch(ie){case 0:return function(){return xe.call(Ee)};case 1:return function(y){return xe.call(Ee,y)};case 2:return function(y,a){return xe.call(Ee,y,a)};case 3:return function(y,a,ee){return xe.call(Ee,y,a,ee)}}return function(){return xe.apply(Ee,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=function(Ee){return typeof Ee=="function"?Ee:void 0};we.exports=function(Ee,ie){return arguments.length<2?xe(De[Ee]):De[Ee]&&De[Ee][ie]}},"./node_modules/core-js/internals/global.js":function(we){var Ne=function(ge){return ge&&ge.Math==Math&&ge};we.exports=Ne(typeof globalThis=="object"&&globalThis)||Ne(typeof window=="object"&&window)||Ne(typeof self=="object"&&self)||Ne(typeof Be.g=="object"&&Be.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-object.js"),xe={}.hasOwnProperty;we.exports=Object.hasOwn||function(ie,y){return xe.call(De(ie),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(we){we.exports={}},"./node_modules/core-js/internals/html.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/get-built-in.js");we.exports=De("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/fails.js"),Ee=ge("./node_modules/core-js/internals/document-create-element.js");we.exports=!De&&!xe(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/fails.js"),xe=ge("./node_modules/core-js/internals/classof-raw.js"),Ee="".split;we.exports=De(function(){return!Object("z").propertyIsEnumerable(0)})?function(ie){return xe(ie)=="String"?Ee.call(ie,""):Object(ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/is-object.js"),xe=ge("./node_modules/core-js/internals/object-set-prototype-of.js");we.exports=function(Ee,ie,y){var a,ee;return xe&&typeof(a=ie.constructor)=="function"&&a!==y&&De(ee=a.prototype)&&ee!==y.prototype&&xe(Ee,ee),Ee}},"./node_modules/core-js/internals/inspect-source.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/shared-store.js"),xe=Function.toString;typeof De.inspectSource!="function"&&(De.inspectSource=function(Ee){return xe.call(Ee)}),we.exports=De.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/native-weak-map.js"),xe=ge("./node_modules/core-js/internals/global.js"),Ee=ge("./node_modules/core-js/internals/is-object.js"),ie=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ge("./node_modules/core-js/internals/has.js"),a=ge("./node_modules/core-js/internals/shared-store.js"),ee=ge("./node_modules/core-js/internals/shared-key.js"),E=ge("./node_modules/core-js/internals/hidden-keys.js"),te="Object already initialized",ne=xe.WeakMap,ae,de,Le,Pe=function(Qe){return Le(Qe)?de(Qe):ae(Qe,{})},Ue=function(Qe){return function(Lt){var it;if(!Ee(Lt)||(it=de(Lt)).type!==Qe)throw TypeError("Incompatible receiver, "+Qe+" required");return it}};if(De||a.state){var Ge=a.state||(a.state=new ne),Ze=Ge.get,tt=Ge.has,Te=Ge.set;ae=function(Qe,Lt){if(tt.call(Ge,Qe))throw new TypeError(te);return Lt.facade=Qe,Te.call(Ge,Qe,Lt),Lt},de=function(Qe){return Ze.call(Ge,Qe)||{}},Le=function(Qe){return tt.call(Ge,Qe)}}else{var pt=ee("state");E[pt]=!0,ae=function(Qe,Lt){if(y(Qe,pt))throw new TypeError(te);return Lt.facade=Qe,ie(Qe,pt,Lt),Lt},de=function(Qe){return y(Qe,pt)?Qe[pt]:{}},Le=function(Qe){return y(Qe,pt)}}we.exports={set:ae,get:de,has:Le,enforce:Pe,getterFor:Ue}},"./node_modules/core-js/internals/is-array.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/classof-raw.js");we.exports=Array.isArray||function(Ee){return De(Ee)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/fails.js"),xe=/#|\.prototype\./,Ee=function(E,te){var ne=y[ie(E)];return ne==ee?!0:ne==a?!1:typeof te=="function"?De(te):!!te},ie=Ee.normalize=function(E){return String(E).replace(xe,".").toLowerCase()},y=Ee.data={},a=Ee.NATIVE="N",ee=Ee.POLYFILL="P";we.exports=Ee},"./node_modules/core-js/internals/is-object.js":function(we){we.exports=function(Ne){return typeof Ne=="object"?Ne!==null:typeof Ne=="function"}},"./node_modules/core-js/internals/is-pure.js":function(we){we.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/get-built-in.js"),xe=ge("./node_modules/core-js/internals/use-symbol-as-uid.js");we.exports=xe?function(Ee){return typeof Ee=="symbol"}:function(Ee){var ie=De("Symbol");return typeof ie=="function"&&Object(Ee)instanceof ie}},"./node_modules/core-js/internals/iterators-core.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/fails.js"),xe=ge("./node_modules/core-js/internals/object-get-prototype-of.js"),Ee=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=ge("./node_modules/core-js/internals/has.js"),y=ge("./node_modules/core-js/internals/well-known-symbol.js"),a=ge("./node_modules/core-js/internals/is-pure.js"),ee=y("iterator"),E=!1,te=function(){return this},ne,ae,de;[].keys&&(de=[].keys(),"next"in de?(ae=xe(xe(de)),ae!==Object.prototype&&(ne=ae)):E=!0);var Le=ne==null||De(function(){var Pe={};return ne[ee].call(Pe)!==Pe});Le&&(ne={}),(!a||Le)&&!ie(ne,ee)&&Ee(ne,ee,te),we.exports={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:E}},"./node_modules/core-js/internals/iterators.js":function(we){we.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/engine-v8-version.js"),xe=ge("./node_modules/core-js/internals/fails.js");we.exports=!!Object.getOwnPropertySymbols&&!xe(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&De&&De<41})},"./node_modules/core-js/internals/native-weak-map.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/inspect-source.js"),Ee=De.WeakMap;we.exports=typeof Ee=="function"&&/native code/.test(xe(Ee))},"./node_modules/core-js/internals/object-assign.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/fails.js"),Ee=ge("./node_modules/core-js/internals/object-keys.js"),ie=ge("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=ge("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=ge("./node_modules/core-js/internals/to-object.js"),ee=ge("./node_modules/core-js/internals/indexed-object.js"),E=Object.assign,te=Object.defineProperty;we.exports=!E||xe(function(){if(De&&E({b:1},E(te({},"a",{enumerable:!0,get:function(){te(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ne={},ae={},de=Symbol(),Le="abcdefghijklmnopqrst";return ne[de]=7,Le.split("").forEach(function(Pe){ae[Pe]=Pe}),E({},ne)[de]!=7||Ee(E({},ae)).join("")!=Le})?function(ae,de){for(var Le=a(ae),Pe=arguments.length,Ue=1,Ge=ie.f,Ze=y.f;Pe>Ue;)for(var tt=ee(arguments[Ue++]),Te=Ge?Ee(tt).concat(Ge(tt)):Ee(tt),pt=Te.length,Qe=0,Lt;pt>Qe;)Lt=Te[Qe++],(!De||Ze.call(tt,Lt))&&(Le[Lt]=tt[Lt]);return Le}:E},"./node_modules/core-js/internals/object-create.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/an-object.js"),xe=ge("./node_modules/core-js/internals/object-define-properties.js"),Ee=ge("./node_modules/core-js/internals/enum-bug-keys.js"),ie=ge("./node_modules/core-js/internals/hidden-keys.js"),y=ge("./node_modules/core-js/internals/html.js"),a=ge("./node_modules/core-js/internals/document-create-element.js"),ee=ge("./node_modules/core-js/internals/shared-key.js"),E=">",te="<",ne="prototype",ae="script",de=ee("IE_PROTO"),Le=function(){},Pe=function(Te){return te+ae+E+Te+te+"/"+ae+E},Ue=function(Te){Te.write(Pe("")),Te.close();var pt=Te.parentWindow.Object;return Te=null,pt},Ge=function(){var Te=a("iframe"),pt="java"+ae+":",Qe;if(Te.style)return Te.style.display="none",y.appendChild(Te),Te.src=String(pt),Qe=Te.contentWindow.document,Qe.open(),Qe.write(Pe("document.F=Object")),Qe.close(),Qe.F},Ze,tt=function(){try{Ze=new ActiveXObject("htmlfile")}catch(pt){}tt=document.domain&&Ze?Ue(Ze):Ge()||Ue(Ze);for(var Te=Ee.length;Te--;)delete tt[ne][Ee[Te]];return tt()};ie[de]=!0,we.exports=Object.create||function(pt,Qe){var Lt;return pt!==null?(Le[ne]=De(pt),Lt=new Le,Le[ne]=null,Lt[de]=pt):Lt=tt(),Qe===void 0?Lt:xe(Lt,Qe)}},"./node_modules/core-js/internals/object-define-properties.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/object-define-property.js"),Ee=ge("./node_modules/core-js/internals/an-object.js"),ie=ge("./node_modules/core-js/internals/object-keys.js");we.exports=De?Object.defineProperties:function(a,ee){Ee(a);for(var E=ie(ee),te=E.length,ne=0,ae;te>ne;)xe.f(a,ae=E[ne++],ee[ae]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=ge("./node_modules/core-js/internals/an-object.js"),ie=ge("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;Ne.f=De?y:function(ee,E,te){if(Ee(ee),E=ie(E),Ee(te),xe)try{return y(ee,E,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported");return"value"in te&&(ee[E]=te.value),ee}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/descriptors.js"),xe=ge("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ee=ge("./node_modules/core-js/internals/create-property-descriptor.js"),ie=ge("./node_modules/core-js/internals/to-indexed-object.js"),y=ge("./node_modules/core-js/internals/to-property-key.js"),a=ge("./node_modules/core-js/internals/has.js"),ee=ge("./node_modules/core-js/internals/ie8-dom-define.js"),E=Object.getOwnPropertyDescriptor;Ne.f=De?E:function(ne,ae){if(ne=ie(ne),ae=y(ae),ee)try{return E(ne,ae)}catch(de){}if(a(ne,ae))return Ee(!xe.f.call(ne,ae),ne[ae])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-indexed-object.js"),xe=ge("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ee={}.toString,ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return xe(a)}catch(ee){return ie.slice()}};we.exports.f=function(ee){return ie&&Ee.call(ee)=="[object Window]"?y(ee):xe(De(ee))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/object-keys-internal.js"),xe=ge("./node_modules/core-js/internals/enum-bug-keys.js"),Ee=xe.concat("length","prototype");Ne.f=Object.getOwnPropertyNames||function(y){return De(y,Ee)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(we,Ne){Ne.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/has.js"),xe=ge("./node_modules/core-js/internals/to-object.js"),Ee=ge("./node_modules/core-js/internals/shared-key.js"),ie=ge("./node_modules/core-js/internals/correct-prototype-getter.js"),y=Ee("IE_PROTO"),a=Object.prototype;we.exports=ie?Object.getPrototypeOf:function(ee){return ee=xe(ee),De(ee,y)?ee[y]:typeof ee.constructor=="function"&&ee instanceof ee.constructor?ee.constructor.prototype:ee instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/has.js"),xe=ge("./node_modules/core-js/internals/to-indexed-object.js"),Ee=ge("./node_modules/core-js/internals/array-includes.js").indexOf,ie=ge("./node_modules/core-js/internals/hidden-keys.js");we.exports=function(y,a){var ee=xe(y),E=0,te=[],ne;for(ne in ee)!De(ie,ne)&&De(ee,ne)&&te.push(ne);for(;a.length>E;)De(ee,ne=a[E++])&&(~Ee(te,ne)||te.push(ne));return te}},"./node_modules/core-js/internals/object-keys.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/object-keys-internal.js"),xe=ge("./node_modules/core-js/internals/enum-bug-keys.js");we.exports=Object.keys||function(ie){return De(ie,xe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(we,Ne){"use strict";var ge={}.propertyIsEnumerable,De=Object.getOwnPropertyDescriptor,xe=De&&!ge.call({1:2},1);Ne.f=xe?function(ie){var y=De(this,ie);return!!y&&y.enumerable}:ge},"./node_modules/core-js/internals/object-set-prototype-of.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/an-object.js"),xe=ge("./node_modules/core-js/internals/a-possible-prototype.js");we.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ee=!1,ie={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(ie,[]),Ee=ie instanceof Array}catch(a){}return function(ee,E){return De(ee),xe(E),Ee?y.call(ee,E):ee.__proto__=E,ee}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/to-string-tag-support.js"),xe=ge("./node_modules/core-js/internals/classof.js");we.exports=De?{}.toString:function(){return"[object "+xe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/is-object.js");we.exports=function(xe,Ee){var ie,y;if(Ee==="string"&&typeof(ie=xe.toString)=="function"&&!De(y=ie.call(xe))||typeof(ie=xe.valueOf)=="function"&&!De(y=ie.call(xe))||Ee!=="string"&&typeof(ie=xe.toString)=="function"&&!De(y=ie.call(xe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/get-built-in.js"),xe=ge("./node_modules/core-js/internals/object-get-own-property-names.js"),Ee=ge("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=ge("./node_modules/core-js/internals/an-object.js");we.exports=De("Reflect","ownKeys")||function(a){var ee=xe.f(ie(a)),E=Ee.f;return E?ee.concat(E(a)):ee}},"./node_modules/core-js/internals/path.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js");we.exports=De},"./node_modules/core-js/internals/redefine.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ee=ge("./node_modules/core-js/internals/has.js"),ie=ge("./node_modules/core-js/internals/set-global.js"),y=ge("./node_modules/core-js/internals/inspect-source.js"),a=ge("./node_modules/core-js/internals/internal-state.js"),ee=a.get,E=a.enforce,te=String(String).split("String");(we.exports=function(ne,ae,de,Le){var Pe=Le?!!Le.unsafe:!1,Ue=Le?!!Le.enumerable:!1,Ge=Le?!!Le.noTargetGet:!1,Ze;if(typeof de=="function"&&(typeof ae=="string"&&!Ee(de,"name")&&xe(de,"name",ae),Ze=E(de),Ze.source||(Ze.source=te.join(typeof ae=="string"?ae:""))),ne===De){Ue?ne[ae]=de:ie(ae,de);return}else Pe?!Ge&&ne[ae]&&(Ue=!0):delete ne[ae];Ue?ne[ae]=de:xe(ne,ae,de)})(Function.prototype,"toString",function(){return typeof this=="function"&&ee(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/an-object.js");we.exports=function(){var xe=De(this),Ee="";return xe.global&&(Ee+="g"),xe.ignoreCase&&(Ee+="i"),xe.multiline&&(Ee+="m"),xe.dotAll&&(Ee+="s"),xe.unicode&&(Ee+="u"),xe.sticky&&(Ee+="y"),Ee}},"./node_modules/core-js/internals/require-object-coercible.js":function(we){we.exports=function(Ne){if(Ne==null)throw TypeError("Can't call method on "+Ne);return Ne}},"./node_modules/core-js/internals/set-global.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js");we.exports=function(xe,Ee){try{Object.defineProperty(De,xe,{value:Ee,configurable:!0,writable:!0})}catch(ie){De[xe]=Ee}return Ee}},"./node_modules/core-js/internals/set-to-string-tag.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/object-define-property.js").f,xe=ge("./node_modules/core-js/internals/has.js"),Ee=ge("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ee("toStringTag");we.exports=function(y,a,ee){y&&!xe(y=ee?y:y.prototype,ie)&&De(y,ie,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/shared.js"),xe=ge("./node_modules/core-js/internals/uid.js"),Ee=De("keys");we.exports=function(ie){return Ee[ie]||(Ee[ie]=xe(ie))}},"./node_modules/core-js/internals/shared-store.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/set-global.js"),Ee="__core-js_shared__",ie=De[Ee]||xe(Ee,{});we.exports=ie},"./node_modules/core-js/internals/shared.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/is-pure.js"),xe=ge("./node_modules/core-js/internals/shared-store.js");(we.exports=function(Ee,ie){return xe[Ee]||(xe[Ee]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.16.0",mode:De?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/fails.js");we.exports=function(xe){return De(function(){var Ee=""[xe]('"');return Ee!==Ee.toLowerCase()||Ee.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-integer.js"),xe=ge("./node_modules/core-js/internals/to-string.js"),Ee=ge("./node_modules/core-js/internals/require-object-coercible.js"),ie=function(y){return function(a,ee){var E=xe(Ee(a)),te=De(ee),ne=E.length,ae,de;return te<0||te>=ne?y?"":void 0:(ae=E.charCodeAt(te),ae<55296||ae>56319||te+1===ne||(de=E.charCodeAt(te+1))<56320||de>57343?y?E.charAt(te):ae:y?E.slice(te,te+2):(ae-55296<<10)+(de-56320)+65536)}};we.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/require-object-coercible.js"),xe=ge("./node_modules/core-js/internals/to-string.js"),Ee=ge("./node_modules/core-js/internals/whitespaces.js"),ie="["+Ee+"]",y=RegExp("^"+ie+ie+"*"),a=RegExp(ie+ie+"*$"),ee=function(E){return function(te){var ne=xe(De(te));return E&1&&(ne=ne.replace(y,"")),E&2&&(ne=ne.replace(a,"")),ne}};we.exports={start:ee(1),end:ee(2),trim:ee(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-integer.js"),xe=Math.max,Ee=Math.min;we.exports=function(ie,y){var a=De(ie);return a<0?xe(a+y,0):Ee(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/indexed-object.js"),xe=ge("./node_modules/core-js/internals/require-object-coercible.js");we.exports=function(Ee){return De(xe(Ee))}},"./node_modules/core-js/internals/to-integer.js":function(we){var Ne=Math.ceil,ge=Math.floor;we.exports=function(De){return isNaN(De=+De)?0:(De>0?ge:Ne)(De)}},"./node_modules/core-js/internals/to-length.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-integer.js"),xe=Math.min;we.exports=function(Ee){return Ee>0?xe(De(Ee),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/require-object-coercible.js");we.exports=function(xe){return Object(De(xe))}},"./node_modules/core-js/internals/to-primitive.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/is-object.js"),xe=ge("./node_modules/core-js/internals/is-symbol.js"),Ee=ge("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=ge("./node_modules/core-js/internals/well-known-symbol.js"),y=ie("toPrimitive");we.exports=function(a,ee){if(!De(a)||xe(a))return a;var E=a[y],te;if(E!==void 0){if(ee===void 0&&(ee="default"),te=E.call(a,ee),!De(te)||xe(te))return te;throw TypeError("Can't convert object to primitive value")}return ee===void 0&&(ee="number"),Ee(a,ee)}},"./node_modules/core-js/internals/to-property-key.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-primitive.js"),xe=ge("./node_modules/core-js/internals/is-symbol.js");we.exports=function(Ee){var ie=De(Ee,"string");return xe(ie)?ie:String(ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/well-known-symbol.js"),xe=De("toStringTag"),Ee={};Ee[xe]="z",we.exports=String(Ee)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/is-symbol.js");we.exports=function(xe){if(De(xe))throw TypeError("Cannot convert a Symbol value to a string");return String(xe)}},"./node_modules/core-js/internals/uid.js":function(we){var Ne=0,ge=Math.random();we.exports=function(De){return"Symbol("+String(De===void 0?"":De)+")_"+(++Ne+ge).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/native-symbol.js");we.exports=De&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/well-known-symbol.js");Ne.f=De},"./node_modules/core-js/internals/well-known-symbol.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/shared.js"),Ee=ge("./node_modules/core-js/internals/has.js"),ie=ge("./node_modules/core-js/internals/uid.js"),y=ge("./node_modules/core-js/internals/native-symbol.js"),a=ge("./node_modules/core-js/internals/use-symbol-as-uid.js"),ee=xe("wks"),E=De.Symbol,te=a?E:E&&E.withoutSetter||ie;we.exports=function(ne){return(!Ee(ee,ne)||!(y||typeof ee[ne]=="string"))&&(y&&Ee(E,ne)?ee[ne]=E[ne]:ee[ne]=te("Symbol."+ne)),ee[ne]}},"./node_modules/core-js/internals/whitespaces.js":function(we){we.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(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/fails.js"),Ee=ge("./node_modules/core-js/internals/is-array.js"),ie=ge("./node_modules/core-js/internals/is-object.js"),y=ge("./node_modules/core-js/internals/to-object.js"),a=ge("./node_modules/core-js/internals/to-length.js"),ee=ge("./node_modules/core-js/internals/create-property.js"),E=ge("./node_modules/core-js/internals/array-species-create.js"),te=ge("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=ge("./node_modules/core-js/internals/well-known-symbol.js"),ae=ge("./node_modules/core-js/internals/engine-v8-version.js"),de=ne("isConcatSpreadable"),Le=9007199254740991,Pe="Maximum allowed index exceeded",Ue=ae>=51||!xe(function(){var Te=[];return Te[de]=!1,Te.concat()[0]!==Te}),Ge=te("concat"),Ze=function(Te){if(!ie(Te))return!1;var pt=Te[de];return pt!==void 0?!!pt:Ee(Te)},tt=!Ue||!Ge;De({target:"Array",proto:!0,forced:tt},{concat:function(pt){var Qe=y(this),Lt=E(Qe,0),it=0,ot,St,lt,vt,ut;for(ot=-1,lt=arguments.length;otLe)throw TypeError(Pe);for(St=0;St=Le)throw TypeError(Pe);ee(Lt,it++,ut)}return Lt.length=it,Lt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/to-indexed-object.js"),xe=ge("./node_modules/core-js/internals/add-to-unscopables.js"),Ee=ge("./node_modules/core-js/internals/iterators.js"),ie=ge("./node_modules/core-js/internals/internal-state.js"),y=ge("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",ee=ie.set,E=ie.getterFor(a);we.exports=y(Array,"Array",function(te,ne){ee(this,{type:a,target:De(te),index:0,kind:ne})},function(){var te=E(this),ne=te.target,ae=te.kind,de=te.index++;return!ne||de>=ne.length?(te.target=void 0,{value:void 0,done:!0}):ae=="keys"?{value:de,done:!1}:ae=="values"?{value:ne[de],done:!1}:{value:[de,ne[de]],done:!1}},"values"),Ee.Arguments=Ee.Array,xe("keys"),xe("values"),xe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/indexed-object.js"),Ee=ge("./node_modules/core-js/internals/to-indexed-object.js"),ie=ge("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=xe!=Object,ee=ie("join",",");De({target:"Array",proto:!0,forced:a||!ee},{join:function(te){return y.call(Ee(this),te===void 0?",":te)}})},"./node_modules/core-js/modules/es.array.map.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/array-iteration.js").map,Ee=ge("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=Ee("map");De({target:"Array",proto:!0,forced:!ie},{map:function(a){return xe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/is-object.js"),Ee=ge("./node_modules/core-js/internals/is-array.js"),ie=ge("./node_modules/core-js/internals/to-absolute-index.js"),y=ge("./node_modules/core-js/internals/to-length.js"),a=ge("./node_modules/core-js/internals/to-indexed-object.js"),ee=ge("./node_modules/core-js/internals/create-property.js"),E=ge("./node_modules/core-js/internals/well-known-symbol.js"),te=ge("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=te("slice"),ae=E("species"),de=[].slice,Le=Math.max;De({target:"Array",proto:!0,forced:!ne},{slice:function(Ue,Ge){var Ze=a(this),tt=y(Ze.length),Te=ie(Ue,tt),pt=ie(Ge===void 0?tt:Ge,tt),Qe,Lt,it;if(Ee(Ze)&&(Qe=Ze.constructor,typeof Qe=="function"&&(Qe===Array||Ee(Qe.prototype))?Qe=void 0:xe(Qe)&&(Qe=Qe[ae],Qe===null&&(Qe=void 0)),Qe===Array||Qe===void 0))return de.call(Ze,Te,pt);for(Lt=new(Qe===void 0?Array:Qe)(Le(pt-Te,0)),it=0;Te2){if(lt=Ue(lt),vt=lt.charCodeAt(0),vt===43||vt===45){if(ut=lt.charCodeAt(2),ut===88||ut===120)return NaN}else if(vt===48){switch(lt.charCodeAt(1)){case 66:case 98:at=2,Kt=49;break;case 79:case 111:at=8,Kt=55;break;default:return+lt}for(Vt=lt.slice(2),mt=Vt.length,Tt=0;TtKt)return NaN;return parseInt(Vt,at)}}return+lt};if(Ee(Ge,!Ze(" 0o1")||!Ze("0b1")||Ze("+0x1"))){for(var Qe=function(lt){var vt=arguments.length<1?0:lt,ut=this;return ut instanceof Qe&&(Te?ne(function(){tt.valueOf.call(ut)}):a(ut)!=Ge)?ee(new Ze(pt(vt)),ut,Qe):pt(vt)},Lt=De?de(Ze):"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(","),it=0,ot;Lt.length>it;it++)y(Ze,ot=Lt[it])&&!y(Qe,ot)&&Pe(Qe,ot,Le(Ze,ot));Qe.prototype=tt,tt.constructor=Qe,ie(xe,Ge,Qe)}},"./node_modules/core-js/modules/es.object.assign.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/object-assign.js");De({target:"Object",stat:!0,forced:Object.assign!==xe},{assign:xe})},"./node_modules/core-js/modules/es.object.keys.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/to-object.js"),Ee=ge("./node_modules/core-js/internals/object-keys.js"),ie=ge("./node_modules/core-js/internals/fails.js"),y=ie(function(){Ee(1)});De({target:"Object",stat:!0,forced:y},{keys:function(ee){return Ee(xe(ee))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/to-string-tag-support.js"),xe=ge("./node_modules/core-js/internals/redefine.js"),Ee=ge("./node_modules/core-js/internals/object-to-string.js");De||xe(Object.prototype,"toString",Ee,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/redefine.js"),xe=ge("./node_modules/core-js/internals/an-object.js"),Ee=ge("./node_modules/core-js/internals/to-string.js"),ie=ge("./node_modules/core-js/internals/fails.js"),y=ge("./node_modules/core-js/internals/regexp-flags.js"),a="toString",ee=RegExp.prototype,E=ee[a],te=ie(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),ne=E.name!=a;(te||ne)&&De(RegExp.prototype,a,function(){var de=xe(this),Le=Ee(de.source),Pe=de.flags,Ue=Ee(Pe===void 0&&de instanceof RegExp&&!("flags"in ee)?y.call(de):Pe);return"/"+Le+"/"+Ue},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/string-multibyte.js").charAt,xe=ge("./node_modules/core-js/internals/to-string.js"),Ee=ge("./node_modules/core-js/internals/internal-state.js"),ie=ge("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=Ee.set,ee=Ee.getterFor(y);ie(String,"String",function(E){a(this,{type:y,string:xe(E),index:0})},function(){var te=ee(this),ne=te.string,ae=te.index,de;return ae>=ne.length?{value:void 0,done:!0}:(de=De(ne,ae),te.index+=de.length,{value:de,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/create-html.js"),Ee=ge("./node_modules/core-js/internals/string-html-forced.js");De({target:"String",proto:!0,forced:Ee("link")},{link:function(y){return xe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/descriptors.js"),Ee=ge("./node_modules/core-js/internals/global.js"),ie=ge("./node_modules/core-js/internals/has.js"),y=ge("./node_modules/core-js/internals/is-object.js"),a=ge("./node_modules/core-js/internals/object-define-property.js").f,ee=ge("./node_modules/core-js/internals/copy-constructor-properties.js"),E=Ee.Symbol;if(xe&&typeof E=="function"&&(!("description"in E.prototype)||E().description!==void 0)){var te={},ne=function(){var Ge=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ze=this instanceof ne?new E(Ge):Ge===void 0?E():E(Ge);return Ge===""&&(te[Ze]=!0),Ze};ee(ne,E);var ae=ne.prototype=E.prototype;ae.constructor=ne;var de=ae.toString,Le=String(E("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(ae,"description",{configurable:!0,get:function(){var Ge=y(this)?this.valueOf():this,Ze=de.call(Ge);if(ie(te,Ge))return"";var tt=Le?Ze.slice(7,-1):Ze.replace(Pe,"$1");return tt===""?void 0:tt}}),De({global:!0,forced:!0},{Symbol:ne})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/define-well-known-symbol.js");De("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(we,Ne,ge){"use strict";var De=ge("./node_modules/core-js/internals/export.js"),xe=ge("./node_modules/core-js/internals/global.js"),Ee=ge("./node_modules/core-js/internals/get-built-in.js"),ie=ge("./node_modules/core-js/internals/is-pure.js"),y=ge("./node_modules/core-js/internals/descriptors.js"),a=ge("./node_modules/core-js/internals/native-symbol.js"),ee=ge("./node_modules/core-js/internals/fails.js"),E=ge("./node_modules/core-js/internals/has.js"),te=ge("./node_modules/core-js/internals/is-array.js"),ne=ge("./node_modules/core-js/internals/is-object.js"),ae=ge("./node_modules/core-js/internals/is-symbol.js"),de=ge("./node_modules/core-js/internals/an-object.js"),Le=ge("./node_modules/core-js/internals/to-object.js"),Pe=ge("./node_modules/core-js/internals/to-indexed-object.js"),Ue=ge("./node_modules/core-js/internals/to-property-key.js"),Ge=ge("./node_modules/core-js/internals/to-string.js"),Ze=ge("./node_modules/core-js/internals/create-property-descriptor.js"),tt=ge("./node_modules/core-js/internals/object-create.js"),Te=ge("./node_modules/core-js/internals/object-keys.js"),pt=ge("./node_modules/core-js/internals/object-get-own-property-names.js"),Qe=ge("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Lt=ge("./node_modules/core-js/internals/object-get-own-property-symbols.js"),it=ge("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=ge("./node_modules/core-js/internals/object-define-property.js"),St=ge("./node_modules/core-js/internals/object-property-is-enumerable.js"),lt=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),vt=ge("./node_modules/core-js/internals/redefine.js"),ut=ge("./node_modules/core-js/internals/shared.js"),at=ge("./node_modules/core-js/internals/shared-key.js"),Kt=ge("./node_modules/core-js/internals/hidden-keys.js"),Vt=ge("./node_modules/core-js/internals/uid.js"),mt=ge("./node_modules/core-js/internals/well-known-symbol.js"),Tt=ge("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),wn=ge("./node_modules/core-js/internals/define-well-known-symbol.js"),Qn=ge("./node_modules/core-js/internals/set-to-string-tag.js"),un=ge("./node_modules/core-js/internals/internal-state.js"),Tn=ge("./node_modules/core-js/internals/array-iteration.js").forEach,Bt=at("hidden"),Rn="Symbol",$n="prototype",Xe=mt("toPrimitive"),fn=un.set,Fe=un.getterFor(Rn),fe=Object[$n],ce=xe.Symbol,Se=Ee("JSON","stringify"),qe=it.f,dt=ot.f,He=Qe.f,Ye=St.f,Pt=ut("symbols"),gt=ut("op-symbols"),st=ut("string-to-symbol-registry"),Rt=ut("symbol-to-string-registry"),hn=ut("wks"),It=xe.QObject,sn=!It||!It[$n]||!It[$n].findChild,Ft=y&&ee(function(){return tt(dt({},"a",{get:function(){return dt(this,"a",{value:7}).a}})).a!=7})?function(lr,ar,Ar){var Cr=qe(fe,ar);Cr&&delete fe[ar],dt(lr,ar,Ar),Cr&&lr!==fe&&dt(fe,ar,Cr)}:dt,yn=function(lr,ar){var Ar=Pt[lr]=tt(ce[$n]);return fn(Ar,{type:Rn,tag:lr,description:ar}),y||(Ar.description=ar),Ar},At=function(ar,Ar,Cr){ar===fe&&At(gt,Ar,Cr),de(ar);var ea=Ue(Ar);return de(Cr),E(Pt,ea)?(Cr.enumerable?(E(ar,Bt)&&ar[Bt][ea]&&(ar[Bt][ea]=!1),Cr=tt(Cr,{enumerable:Ze(0,!1)})):(E(ar,Bt)||dt(ar,Bt,Ze(1,{})),ar[Bt][ea]=!0),Ft(ar,ea,Cr)):dt(ar,ea,Cr)},qt=function(ar,Ar){de(ar);var Cr=Pe(Ar),ea=Te(Cr).concat(yr(Cr));return Tn(ea,function(wa){(!y||pn.call(Cr,wa))&&At(ar,wa,Cr[wa])}),ar},gn=function(ar,Ar){return Ar===void 0?tt(ar):qt(tt(ar),Ar)},pn=function(ar){var Ar=Ue(ar),Cr=Ye.call(this,Ar);return this===fe&&E(Pt,Ar)&&!E(gt,Ar)?!1:Cr||!E(this,Ar)||!E(Pt,Ar)||E(this,Bt)&&this[Bt][Ar]?Cr:!0},Yn=function(ar,Ar){var Cr=Pe(ar),ea=Ue(Ar);if(!(Cr===fe&&E(Pt,ea)&&!E(gt,ea))){var wa=qe(Cr,ea);return wa&&E(Pt,ea)&&!(E(Cr,Bt)&&Cr[Bt][ea])&&(wa.enumerable=!0),wa}},ir=function(ar){var Ar=He(Pe(ar)),Cr=[];return Tn(Ar,function(ea){!E(Pt,ea)&&!E(Kt,ea)&&Cr.push(ea)}),Cr},yr=function(ar){var Ar=ar===fe,Cr=He(Ar?gt:Pe(ar)),ea=[];return Tn(Cr,function(wa){E(Pt,wa)&&(!Ar||E(fe,wa))&&ea.push(Pt[wa])}),ea};if(a||(ce=function(){if(this instanceof ce)throw TypeError("Symbol is not a constructor");var ar=!arguments.length||arguments[0]===void 0?void 0:Ge(arguments[0]),Ar=Vt(ar),Cr=function(ea){this===fe&&Cr.call(gt,ea),E(this,Bt)&&E(this[Bt],Ar)&&(this[Bt][Ar]=!1),Ft(this,Ar,Ze(1,ea))};return y&&sn&&Ft(fe,Ar,{configurable:!0,set:Cr}),yn(Ar,ar)},vt(ce[$n],"toString",function(){return Fe(this).tag}),vt(ce,"withoutSetter",function(lr){return yn(Vt(lr),lr)}),St.f=pn,ot.f=At,it.f=Yn,pt.f=Qe.f=ir,Lt.f=yr,Tt.f=function(lr){return yn(mt(lr),lr)},y&&(dt(ce[$n],"description",{configurable:!0,get:function(){return Fe(this).description}}),ie||vt(fe,"propertyIsEnumerable",pn,{unsafe:!0}))),De({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:ce}),Tn(Te(hn),function(lr){wn(lr)}),De({target:Rn,stat:!0,forced:!a},{for:function(lr){var ar=Ge(lr);if(E(st,ar))return st[ar];var Ar=ce(ar);return st[ar]=Ar,Rt[Ar]=ar,Ar},keyFor:function(ar){if(!ae(ar))throw TypeError(ar+" is not a symbol");if(E(Rt,ar))return Rt[ar]},useSetter:function(){sn=!0},useSimple:function(){sn=!1}}),De({target:"Object",stat:!0,forced:!a,sham:!y},{create:gn,defineProperty:At,defineProperties:qt,getOwnPropertyDescriptor:Yn}),De({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:ir,getOwnPropertySymbols:yr}),De({target:"Object",stat:!0,forced:ee(function(){Lt.f(1)})},{getOwnPropertySymbols:function(ar){return Lt.f(Le(ar))}}),Se){var br=!a||ee(function(){var lr=ce();return Se([lr])!="[null]"||Se({a:lr})!="{}"||Se(Object(lr))!="{}"});De({target:"JSON",stat:!0,forced:br},{stringify:function(ar,Ar,Cr){for(var ea=[ar],wa=1,kr;arguments.length>wa;)ea.push(arguments[wa++]);if(kr=Ar,!(!ne(Ar)&&ar===void 0||ae(ar)))return te(Ar)||(Ar=function(Ja,Wa){if(typeof kr=="function"&&(Wa=kr.call(this,Ja,Wa)),!ae(Wa))return Wa}),ea[1]=Ar,Se.apply(null,ea)}})}ce[$n][Xe]||lt(ce[$n],Xe,ce[$n].valueOf),Qn(ce,Rn),Kt[Bt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/dom-iterables.js"),Ee=ge("./node_modules/core-js/internals/array-for-each.js"),ie=ge("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in xe){var a=De[y],ee=a&&a.prototype;if(ee&&ee.forEach!==Ee)try{ie(ee,"forEach",Ee)}catch(E){ee.forEach=Ee}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(we,Ne,ge){var De=ge("./node_modules/core-js/internals/global.js"),xe=ge("./node_modules/core-js/internals/dom-iterables.js"),Ee=ge("./node_modules/core-js/modules/es.array.iterator.js"),ie=ge("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ge("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),ee=y("toStringTag"),E=Ee.values;for(var te in xe){var ne=De[te],ae=ne&&ne.prototype;if(ae){if(ae[a]!==E)try{ie(ae,a,E)}catch(Le){ae[a]=E}if(ae[ee]||ie(ae,ee,te),xe[te]){for(var de in Ee)if(ae[de]!==Ee[de])try{ie(ae,de,Ee[de])}catch(Le){ae[de]=Ee[de]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(we){(function(Ne,ge){we.exports=ge()})(this,function(){"use strict";function Ne(It){var sn=typeof It;return It!==null&&(sn==="object"||sn==="function")}function ge(It){return typeof It=="function"}var De=void 0;Array.isArray?De=Array.isArray:De=function(It){return Object.prototype.toString.call(It)==="[object Array]"};var xe=De,Ee=0,ie=void 0,y=void 0,a=function(sn,Ft){Te[Ee]=sn,Te[Ee+1]=Ft,Ee+=2,Ee===2&&(y?y(pt):Lt())};function ee(It){y=It}function E(It){a=It}var te=typeof window!="undefined"?window:void 0,ne=te||{},ae=ne.MutationObserver||ne.WebKitMutationObserver,de=typeof self=="undefined"&&typeof me!="undefined"&&{}.toString.call(me)==="[object process]",Le=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return me.nextTick(pt)}}function Ue(){return typeof ie!="undefined"?function(){ie(pt)}:tt()}function Ge(){var It=0,sn=new ae(pt),Ft=document.createTextNode("");return sn.observe(Ft,{characterData:!0}),function(){Ft.data=It=++It%2}}function Ze(){var It=new MessageChannel;return It.port1.onmessage=pt,function(){return It.port2.postMessage(0)}}function tt(){var It=setTimeout;return function(){return It(pt,1)}}var Te=new Array(1e3);function pt(){for(var It=0;It>1,ge=-7,De=Ce?rt-1:0,xe=Ce?-1:1,Ee=Be[me+De];for(De+=xe,ze=Ee&(1<<-ge)-1,Ee>>=-ge,ge+=ve;ge>0;ze=ze*256+Be[me+De],De+=xe,ge-=8);for(je=ze&(1<<-ge)-1,ze>>=-ge,ge+=Me;ge>0;je=je*256+Be[me+De],De+=xe,ge-=8);if(ze===0)ze=1-Ne;else{if(ze===we)return je?NaN:(Ee?-1:1)*(1/0);je=je+Math.pow(2,Me),ze=ze-Ne}return(Ee?-1:1)*je*Math.pow(2,ze-Me)},Dt.write=function(Be,me,Ce,Me,rt,ze){var je,ve,we,Ne=ze*8-rt-1,ge=(1<>1,xe=rt===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ee=Me?0:ze-1,ie=Me?1:-1,y=me<0||me===0&&1/me<0?1:0;for(me=Math.abs(me),isNaN(me)||me===1/0?(ve=isNaN(me)?1:0,je=ge):(je=Math.floor(Math.log(me)/Math.LN2),me*(we=Math.pow(2,-je))<1&&(je--,we*=2),je+De>=1?me+=xe/we:me+=xe*Math.pow(2,1-De),me*we>=2&&(je++,we/=2),je+De>=ge?(ve=0,je=ge):je+De>=1?(ve=(me*we-1)*Math.pow(2,rt),je=je+De):(ve=me*Math.pow(2,De-1)*Math.pow(2,rt),je=0));rt>=8;Be[Ce+Ee]=ve&255,Ee+=ie,ve/=256,rt-=8);for(je=je<0;Be[Ce+Ee]=je&255,Ee+=ie,je/=256,Ne-=8);Be[Ce+Ee-ie]|=y*128}},53307:function(Yt,Dt,Be){"use strict";Be.r(Dt),Be.d(Dt,{AcroForm:function(){return bu},AcroFormAppearance:function(){return ga},AcroFormButton:function(){return Ro},AcroFormCheckBox:function(){return ji},AcroFormChoiceField:function(){return ma},AcroFormComboBox:function(){return Ya},AcroFormEditBox:function(){return Ga},AcroFormListBox:function(){return qo},AcroFormPasswordField:function(){return jo},AcroFormPushButton:function(){return ci},AcroFormRadioButton:function(){return No},AcroFormTextField:function(){return yi},GState:function(){return $g},ShadingPattern:function(){return ed},TilingPattern:function(){return td},default:function(){return Ao},jsPDF:function(){return Ao}});var me=Be(43749),Ce={},Me=function(b,z,x,re,oe){var Ae=new Worker(Ce[z]||(Ce[z]=URL.createObjectURL(new Blob([b+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Ae.onmessage=function(Ie){var be=Ie.data,Oe=be.$e$;if(Oe){var Re=new Error(Oe[0]);Re.code=Oe[1],Re.stack=Oe[2],oe(Re,null)}else oe(null,be)},Ae.postMessage(x,re),Ae},rt=Uint8Array,ze=Uint16Array,je=Int32Array,ve=new rt([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]),we=new rt([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]),Ne=new rt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ge=function(b,z){for(var x=new ze(31),re=0;re<31;++re)x[re]=z+=1<>1|(E&21845)<<1;te=(te&52428)>>2|(te&13107)<<2,te=(te&61680)>>4|(te&3855)<<4,ee[E]=((te&65280)>>8|(te&255)<<8)>>1}for(var ne=function(b,z,x){for(var re=b.length,oe=0,Ae=new ze(z);oe>Oe]=Re}else for(be=new ze(re),oe=0;oe>15-b[oe]);return be},ae=new rt(288),E=0;E<144;++E)ae[E]=8;for(var E=144;E<256;++E)ae[E]=9;for(var E=256;E<280;++E)ae[E]=7;for(var E=280;E<288;++E)ae[E]=8;for(var de=new rt(32),E=0;E<32;++E)de[E]=5;var Le=ne(ae,9,0),Pe=null,Ue=ne(de,5,0),Ge=null,Ze=function(b){for(var z=b[0],x=1;xz&&(z=b[x]);return z},tt=function(b,z,x){var re=z/8|0;return(b[re]|b[re+1]<<8)>>(z&7)&x},Te=function(b,z){var x=z/8|0;return(b[x]|b[x+1]<<8|b[x+2]<<16)>>(z&7)},pt=function(b){return(b+7)/8|0},Qe=function(b,z,x){return(z==null||z<0)&&(z=0),(x==null||x>b.length)&&(x=b.length),new rt(b.subarray(z,x))},Lt={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},it=["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"],ot=function(b,z,x){var re=new Error(z||it[b]);if(re.code=b,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!x)throw re;return re},St=function(b,z,x,re){var oe=b.length,Ae=re?re.length:0;if(!oe||z.f&&!z.l)return x||new rt(0);var Ie=!x,be=Ie||z.i!=2,Oe=z.i;Ie&&(x=new rt(oe*3));var Re=function(Aa){var Da=x.length;if(Aa>Da){var Pa=new rt(Math.max(Da*2,Aa));Pa.set(x),x=Pa}},Ve=z.f||0,ct=z.p||0,yt=z.b||0,We=z.l,Gt=z.d,Ht=z.m,Zt=z.n,Ut=oe*8;do{if(!We){Ve=tt(b,ct,1);var Fn=tt(b,ct+1,3);if(ct+=3,Fn)if(Fn==1)We=Pe,Gt=Ge,Ht=9,Zt=5;else if(Fn==2){var Pr=tt(b,ct,31)+257,dr=tt(b,ct+10,15)+4,kn=Pr+tt(b,ct+5,31)+1;ct+=14;for(var ln=new rt(kn),Wn=new rt(19),Nt=0;Nt>4;if(mn<16)ln[Nt++]=mn;else{var cr=0,mr=0;for(mn==16?(mr=3+tt(b,ct,3),ct+=2,cr=ln[Nt-1]):mn==17?(mr=3+tt(b,ct,7),ct+=3):mn==18&&(mr=11+tt(b,ct,127),ct+=7);mr--;)ln[Nt++]=cr}}var er=ln.subarray(0,Pr),Br=ln.subarray(Pr);Ht=Ze(er),Zt=Ze(Br),We=ne(er,Ht,1),Gt=ne(Br,Zt,1)}else ot(1);else{var mn=pt(ct)+4,An=b[mn-4]|b[mn-3]<<8,nr=mn+An;if(nr>oe){Oe&&ot(0);break}be&&Re(yt+An),x.set(b.subarray(mn,nr),yt),z.b=yt+=An,z.p=ct=nr*8,z.f=Ve;continue}if(ct>Ut){Oe&&ot(0);break}}be&&Re(yt+131072);for(var ca=(1<>4;if(ct+=cr&15,ct>Ut){Oe&&ot(0);break}if(cr||ot(2),on<256)x[yt++]=on;else if(on==256){xt=ct,We=null;break}else{var cn=on-254;if(on>264){var Nt=on-257,Nn=ve[Nt];cn=tt(b,ct,(1<>4;Mn||ot(3),ct+=Mn&15;var Br=y[Jn];if(Jn>3){var Nn=we[Jn];Br+=Te(b,ct)&(1<Ut){Oe&&ot(0);break}be&&Re(yt+131072);var gr=yt+cn;if(yt>8},vt=function(b,z,x){x<<=z&7;var re=z/8|0;b[re]|=x,b[re+1]|=x>>8,b[re+2]|=x>>16},ut=function(b,z){for(var x=[],re=0;reyt&&(yt=Ae[re].s);var We=new ze(yt+1),Gt=at(x[Ve-1],We,0);if(Gt>z){var re=0,Ht=0,Zt=Gt-z,Ut=1<z)Ht+=Ut-(1<>=Zt;Ht>0;){var mn=Ae[re].s;We[mn]=0&&Ht;--re){var An=Ae[re].s;We[An]==z&&(--We[An],++Ht)}Gt=z}return{t:new rt(We),l:Gt}},at=function(b,z,x){return b.s==-1?Math.max(at(b.l,z,x+1),at(b.r,z,x+1)):z[b.s]=x},Kt=function(b){for(var z=b.length;z&&!b[--z];);for(var x=new ze(++z),re=0,oe=b[0],Ae=1,Ie=function(Oe){x[re++]=Oe},be=1;be<=z;++be)if(b[be]==oe&&be!=z)++Ae;else{if(!oe&&Ae>2){for(;Ae>138;Ae-=138)Ie(32754);Ae>2&&(Ie(Ae>10?Ae-11<<5|28690:Ae-3<<5|12305),Ae=0)}else if(Ae>3){for(Ie(oe),--Ae;Ae>6;Ae-=6)Ie(8304);Ae>2&&(Ie(Ae-3<<5|8208),Ae=0)}for(;Ae--;)Ie(oe);Ae=1,oe=b[be]}return{c:x.subarray(0,re),n:z}},Vt=function(b,z){for(var x=0,re=0;re>8,b[oe+2]=b[oe]^255,b[oe+3]=b[oe+1]^255;for(var Ae=0;Ae4&&!Wn[Ne[Xt-1]];--Xt);var Cn=Re+5<<3,Bn=Vt(oe,ae)+Vt(Ae,de)+Ie,or=Vt(oe,yt)+Vt(Ae,Ht)+Ie+14+3*Xt+Vt(dr,Wn)+2*dr[16]+3*dr[17]+7*dr[18];if(Oe>=0&&Cn<=Bn&&Cn<=or)return mt(z,Ve,b.subarray(Oe,Oe+Re));var cr,mr,er,Br;if(lt(z,Ve,1+(or15&&(lt(z,Ve,on[kn]>>5&127),Ve+=on[kn]>>12)}}else cr=Le,mr=ae,er=Ue,Br=de;for(var kn=0;kn255){var cn=Nn>>18&31;vt(z,Ve,cr[cn+257]),Ve+=mr[cn+257],cn>7&&(lt(z,Ve,Nn>>23&31),Ve+=ve[cn]);var Mn=Nn&31;vt(z,Ve,er[Mn]),Ve+=Br[Mn],Mn>3&&(vt(z,Ve,Nn>>5&8191),Ve+=we[Mn])}else vt(z,Ve,cr[Nn]),Ve+=mr[Nn]}return vt(z,Ve,cr[256]),Ve+mr[256]},wn=new je([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Qn=new rt(0),un=function(b,z,x,re,oe,Ae){var Ie=Ae.z||b.length,be=new rt(re+Ie+5*(1+Math.ceil(Ie/7e3))+oe),Oe=be.subarray(re,be.length-oe),Re=Ae.l,Ve=(Ae.r||0)&7;if(z){Ve&&(Oe[0]=Ae.r>>3);for(var ct=wn[z-1],yt=ct>>13,We=ct&8191,Gt=(1<7e3||Wn>24576)&&(cr>423||!Re)){Ve=Tt(b,Oe,0,An,nr,Pr,kn,Wn,Xt,ln-Xt,Ve),Wn=dr=kn=0,Xt=ln;for(var mr=0;mr<286;++mr)nr[mr]=0;for(var mr=0;mr<30;++mr)Pr[mr]=0}var er=2,Br=0,ca=We,Kr=Bn-or&32767;if(cr>2&&Cn==mn(ln-Kr))for(var xt=Math.min(yt,cr)-1,on=Math.min(32767,ln),cn=Math.min(258,cr);Kr<=on&&--ca&&Bn!=or;){if(b[ln+er]==b[ln+er-Kr]){for(var Nn=0;Nner){if(er=Nn,Br=Kr,Nn>xt)break;for(var Mn=Math.min(Kr,Nn-2),Jn=0,mr=0;mrJn&&(Jn=Or,or=gr)}}}Bn=or,or=Ht[Bn],Kr+=Bn-or&32767}if(Br){An[Wn++]=268435456|Ee[er]<<18|a[Br];var Aa=Ee[er]&31,Da=a[Br]&31;kn+=ve[Aa]+we[Da],++nr[257+Aa],++Pr[Da],Nt=ln+er,++dr}else An[Wn++]=b[ln],++nr[b[ln]]}}for(ln=Math.max(ln,Nt);ln=Ie&&(Oe[Ve/8|0]=Re,Pa=Ie),Ve=mt(Oe,Ve+1,b.subarray(ln,Pa))}Ae.i=Ie}return Qe(be,0,re+pt(Ve)+oe)},Tn=null,Bt=function(){var b=-1;return{p:function(z){for(var x=b,re=0;re>>8;b=x},d:function(){return~b}}},Rn=function(){var b=1,z=0;return{p:function(x){for(var re=b,oe=z,Ae=x.length|0,Ie=0;Ie!=Ae;){for(var be=Math.min(Ie+2655,Ae);Ie>16),oe=(oe&65535)+15*(oe>>16)}b=re,z=oe},d:function(){return b%=65521,z%=65521,(b&255)<<24|(b&65280)<<8|(z&255)<<8|z>>8}}},$n=function(b,z,x,re,oe){if(!oe&&(oe={l:1},z.dictionary)){var Ae=z.dictionary.subarray(-32768),Ie=new rt(Ae.length+b.length);Ie.set(Ae),Ie.set(b,Ae.length),b=Ie,oe.w=Ae.length}return un(b,z.level==null?6:z.level,z.mem==null?oe.l?Math.ceil(Math.max(8,Math.min(13,Math.log(b.length)))*1.5):20:12+z.mem,x,re,oe)},Xe=function(b,z){var x={};for(var re in b)x[re]=b[re];for(var re in z)x[re]=z[re];return x},fn=function(b,z,x){for(var re=b(),oe=b.toString(),Ae=oe.slice(oe.indexOf("[")+1,oe.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ie=0;Ie>>0},yn=function(b,z){return Ft(b,z)+Ft(b,z+4)*4294967296},At=function(b,z,x){for(;x;++z)b[z]=x,x>>>=8},qt=function(b,z){var x=z.filename;if(b[0]=31,b[1]=139,b[2]=8,b[8]=z.level<2?4:z.level==9?2:0,b[9]=3,z.mtime!=0&&At(b,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),x){b[3]=8;for(var re=0;re<=x.length;++re)b[re+10]=x.charCodeAt(re)}},gn=function(b){(b[0]!=31||b[1]!=139||b[2]!=8)&&ot(6,"invalid gzip data");var z=b[3],x=10;z&4&&(x+=(b[10]|b[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!b[x++]);return x+(z&2)},pn=function(b){var z=b.length;return(b[z-4]|b[z-3]<<8|b[z-2]<<16|b[z-1]<<24)>>>0},Yn=function(b){return 10+(b.filename?b.filename.length+1:0)},ir=function(b,z){var x=z.level,re=x==0?0:x<6?1:x==9?3:2;if(b[0]=120,b[1]=re<<6|(z.dictionary&&32),b[1]|=31-(b[0]<<8|b[1])%31,z.dictionary){var oe=Rn();oe.p(z.dictionary),At(b,2,oe.d())}},yr=function(b,z){return((b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31)&&ot(6,"invalid zlib data"),(b[1]>>5&1)==+!z&&ot(6,"invalid zlib data: "+(b[1]&32?"need":"unexpected")+" dictionary"),(b[1]>>3&4)+2};function br(b,z){return typeof b=="function"&&(z=b,b={}),this.ondata=z,b}var lr=null,ar=null;function Ar(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[qe],function(re){return gt(Cr(re.data[0],re.data[1]))},0,x)}function Cr(b,z){return $n(b,z||{},0,0)}var ea=null,wa=null;function kr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[Se],function(re){return gt(Ja(re.data[0],st(re.data[1])))},1,x)}function Ja(b,z){return St(b,{i:2},z&&z.out,z&&z.dictionary)}var Wa=null,Mr=null;function an(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[qe,dt,function(){return[ri]}],function(re){return gt(ri(re.data[0],re.data[1]))},2,x)}function ri(b,z){z||(z={});var x=Bt(),re=b.length;x.p(b);var oe=$n(b,z,Yn(z),8),Ae=oe.length;return qt(oe,z),At(oe,Ae-8,x.d()),At(oe,Ae-4,re),oe}var Bo=null,gi=null;function zi(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[Se,He,function(){return[Fo]}],function(re){return gt(Fo(re.data[0],re.data[1]))},3,x)}function Fo(b,z){var x=gn(b);return x+8>b.length&&ot(6,"invalid gzip data"),St(b.subarray(x,-8),{i:2},z&&z.out||new rt(pn(b)),z&&z.dictionary)}var Mi=null,Gi=null;function ai(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[qe,Ye,function(){return[Pn]}],function(re){return gt(Pn(re.data[0],re.data[1]))},4,x)}function Pn(b,z){z||(z={});var x=Rn();x.p(b);var re=$n(b,z,z.dictionary?6:2,4);return ir(re,z),At(re,re.length-4,x.d()),re}var On=null,dn=null;function Qr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),Rt(b,z,[Se,Pt,function(){return[la]}],function(re){return gt(la(re.data[0],st(re.data[1])))},5,x)}function la(b,z){return St(b.subarray(yr(b,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Dr=null,va=null;function Ha(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),b[0]==31&&b[1]==139&&b[2]==8?zi(b,z,x):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?kr(b,z,x):Qr(b,z,x)}function xa(b,z){return b[0]==31&&b[1]==139&&b[2]==8?Fo(b,z):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?Ja(b,z):la(b,z)}var So=function(b,z,x,re){for(var oe in b){var Ae=b[oe],Ie=z+oe,be=re;Array.isArray(Ae)&&(be=Xe(re,Ae[1]),Ae=Ae[0]),Ae instanceof rt?x[Ie]=[Ae,be]:(x[Ie+="/"]=[new rt(0),be],So(Ae,Ie,x,re))}},Wi=typeof TextEncoder!="undefined"&&new TextEncoder,xr=typeof TextDecoder!="undefined"&&new TextDecoder,ja=0;try{xr.decode(Qn,{stream:!0}),ja=1}catch(b){}var Ei=function(b){for(var z="",x=0;;){var re=b[x++],oe=(re>127)+(re>223)+(re>239);if(x+oe>b.length)return{s:z,r:Qe(b,x-1)};oe?oe==3?(re=((re&15)<<18|(b[x++]&63)<<12|(b[x++]&63)<<6|b[x++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):oe&1?z+=String.fromCharCode((re&31)<<6|b[x++]&63):z+=String.fromCharCode((re&15)<<12|(b[x++]&63)<<6|b[x++]&63):z+=String.fromCharCode(re)}},ii=null,fi=null;function Lo(b,z){if(z){for(var x=new rt(b.length),re=0;re>1)),Ie=0,be=function(Ve){Ae[Ie++]=Ve},re=0;reAe.length){var Oe=new rt(Ie+8+(oe-re<<1));Oe.set(Ae),Ae=Oe}var Re=b.charCodeAt(re);Re<128||z?be(Re):Re<2048?(be(192|Re>>6),be(128|Re&63)):Re>55295&&Re<57344?(Re=65536+(Re&1047552)|b.charCodeAt(++re)&1023,be(240|Re>>18),be(128|Re>>12&63),be(128|Re>>6&63),be(128|Re&63)):(be(224|Re>>12),be(128|Re>>6&63),be(128|Re&63))}return Qe(Ae,0,Ie)}function ss(b,z){if(z){for(var x="",re=0;re65535&&ot(9),z+=re+4}return z},CA=function(b,z,x,re,oe,Ae,Ie,be){var Oe=re.length,Re=x.extra,Ve=be&&be.length,ct=Ui(Re);At(b,z,Ie!=null?33639248:67324752),z+=4,Ie!=null&&(b[z++]=20,b[z++]=x.os),b[z]=20,z+=2,b[z++]=x.flag<<1|(Ae<0&&8),b[z++]=oe&&8,b[z++]=x.compression&255,b[z++]=x.compression>>8;var yt=new Date(x.mtime==null?Date.now():x.mtime),We=yt.getFullYear()-1980;if((We<0||We>119)&&ot(10),At(b,z,We<<25|yt.getMonth()+1<<21|yt.getDate()<<16|yt.getHours()<<11|yt.getMinutes()<<5|yt.getSeconds()>>1),z+=4,Ae!=-1&&(At(b,z,x.crc),At(b,z+4,Ae<0?-Ae-2:Ae),At(b,z+8,x.size)),At(b,z+12,Oe),At(b,z+14,ct),z+=16,Ie!=null&&(At(b,z,Ve),At(b,z+6,x.attrs),At(b,z+10,Ie),z+=14),b.set(re,z),z+=Oe,ct)for(var Gt in Re){var Ht=Re[Gt],Zt=Ht.length;At(b,z,+Gt),At(b,z+2,Zt),b.set(Ht,z+4),z+=4+Zt}return Ve&&(b.set(be,z),z+=Ve),z},yl=function(b,z,x,re,oe){At(b,z,101010256),At(b,z+8,x),At(b,z+10,x),At(b,z+12,re),At(b,z+16,oe)},dA=null,Ur=null,_c=null,gu=null;function fu(b,z,x){x||(x=z,z={}),typeof x!="function"&&ot(7);var re={};So(b,"",re,z);var oe=Object.keys(re),Ae=oe.length,Ie=0,be=0,Oe=Ae,Re=new Array(Ae),Ve=[],ct=function(){for(var Zt=0;Zt65535&&Bn(ot(11,0,1),null),!Cn)Bn(null,mn);else if(Pr<16e4)try{Bn(null,Cr(mn,An))}catch(or){Bn(or,null)}else Ve.push(Ar(mn,An,Bn))},Ht=0;Ht65535&&ot(11);var Ut=Ve?Cr(Oe,Re):Oe,Fn=Ut.length,mn=Bt();mn.p(Oe),re.push(Xe(Re,{size:Oe.length,crc:mn.d(),c:Ut,f:ct,m:Gt,u:yt!=Ie.length||Gt&&We.length!=Ht,o:oe,compression:Ve})),oe+=30+yt+Zt+Fn,Ae+=76+2*(yt+Zt)+(Ht||0)+Fn}for(var An=new rt(Ae+22),nr=oe,Pr=Ae-oe,dr=0;dr65558)return Ie(ot(13,0,1),null),oe;var Oe=sn(b,be+8);if(Oe){var Re=Oe,Ve=Ft(b,be+16),ct=Ve==4294967295||Re==65535;if(ct){var yt=Ft(b,be-12);ct=Ft(b,yt)==101075792,ct&&(Re=Oe=Ft(b,yt+32),Ve=Ft(b,yt+48))}for(var We=z&&z.filter,Gt=function(Zt){var Ut=BA(b,Ve,ct),Fn=Ut[0],mn=Ut[1],An=Ut[2],nr=Ut[3],Pr=Ut[4],dr=Ut[5],kn=Ps(b,dr);Ve=Pr;var ln=function(Nt,Xt){Nt?(oe(),Ie(Nt,null)):(Xt&&(Ae[nr]=Xt),--Oe||Ie(null,Ae))};if(!We||We({name:nr,size:mn,originalSize:An,compression:Fn}))if(!Fn)ln(null,Qe(b,kn,kn+mn));else if(Fn==8){var Wn=b.subarray(kn,kn+mn);if(An<524288||mn>.8*An)try{ln(null,Ja(Wn,{out:new rt(An)}))}catch(Nt){ln(Nt,null)}else re.push(kr(Wn,{size:An},ln))}else ln(ot(14,"unknown compression type "+Fn,1),null);else ln(null,null)},Ht=0;Ht65558)&&ot(13);var oe=sn(b,re+8);if(!oe)return{};var Ae=Ft(b,re+16),Ie=Ae==4294967295||oe==65535;if(Ie){var be=Ft(b,re-12);Ie=Ft(b,be)==101075792,Ie&&(oe=Ft(b,be+32),Ae=Ft(b,be+48))}for(var Oe=z&&z.filter,Re=0;Re{const b=new Uint8Array(4),z=new Uint32Array(b.buffer);return!((z[0]=1)&b[0])})(),Fu={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class bl{constructor(z=vc,x={}){Bs(this,"buffer");Bs(this,"byteLength");Bs(this,"byteOffset");Bs(this,"length");Bs(this,"offset");Bs(this,"lastWrittenByte");Bs(this,"littleEndian");Bs(this,"_data");Bs(this,"_mark");Bs(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const oe=x.offset?x.offset>>>0:0,Ae=z.byteLength-oe;let Ie=oe;(ArrayBuffer.isView(z)||z instanceof bl)&&(z.byteLength!==z.buffer.byteLength&&(Ie=z.byteOffset+oe),z=z.buffer),re?this.lastWrittenByte=Ae:this.lastWrittenByte=0,this.buffer=z,this.length=Ae,this.byteLength=Ae,this.byteOffset=Ie,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ie,Ae),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,oe=new Uint8Array(re);oe.set(new Uint8Array(this.buffer)),this.buffer=oe.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,x){const re=Fu[x].BYTES_PER_ELEMENT*z,oe=this.byteOffset+this.offset,Ae=this.buffer.slice(oe,oe+re);if(this.littleEndian===ju&&x!=="uint8"&&x!=="int8"){const be=new Uint8Array(this.buffer.slice(oe,oe+re));be.reverse();const Oe=new Fu[x](be.buffer);return this.offset+=re,Oe.reverse(),Oe}const Ie=new Fu[x](Ae);return this.offset+=re,Ie}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let x="";for(let re=0;rethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Lu=4,Jl=0,Rl=1,ql=2;function cl(b){let z=b.length;for(;--z>=0;)b[z]=0}const rr=0,Zn=1,ur=2,Yr=3,zt=258,Io=29,jr=256,fo=jr+1+Io,Ka=30,pi=19,co=2*fo+1,ya=15,Mo=16,Wo=7,_s=256,no=16,As=17,Fs=18,Xr=new Uint8Array([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]),Rr=new Uint8Array([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]),Wt=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Qt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xn=512,sr=new Array((fo+2)*2);cl(sr);const ta=new Array(Ka*2);cl(ta);const ha=new Array(xn);cl(ha);const aa=new Array(zt-Yr+1);cl(aa);const Nr=new Array(Io);cl(Nr);const ia=new Array(Ka);cl(ia);function Qa(b,z,x,re,oe){this.static_tree=b,this.extra_bits=z,this.extra_base=x,this.elems=re,this.max_length=oe,this.has_stree=b&&b.length}let Eo,wi,Fa;function ls(b,z){this.dyn_tree=b,this.max_code=0,this.stat_desc=z}const si=b=>b<256?ha[b]:ha[256+(b>>>7)],hi=(b,z)=>{b.pending_buf[b.pending++]=z&255,b.pending_buf[b.pending++]=z>>>8&255},zr=(b,z,x)=>{b.bi_valid>Mo-x?(b.bi_buf|=z<>Mo-b.bi_valid,b.bi_valid+=x-Mo):(b.bi_buf|=z<{zr(b,x[z*2],x[z*2+1])},so=(b,z)=>{let x=0;do x|=b&1,b>>>=1,x<<=1;while(--z>0);return x>>>1},vi=b=>{b.bi_valid===16?(hi(b,b.bi_buf),b.bi_buf=0,b.bi_valid=0):b.bi_valid>=8&&(b.pending_buf[b.pending++]=b.bi_buf&255,b.bi_buf>>=8,b.bi_valid-=8)},Zi=(b,z)=>{const x=z.dyn_tree,re=z.max_code,oe=z.stat_desc.static_tree,Ae=z.stat_desc.has_stree,Ie=z.stat_desc.extra_bits,be=z.stat_desc.extra_base,Oe=z.stat_desc.max_length;let Re,Ve,ct,yt,We,Gt,Ht=0;for(yt=0;yt<=ya;yt++)b.bl_count[yt]=0;for(x[b.heap[b.heap_max]*2+1]=0,Re=b.heap_max+1;ReOe&&(yt=Oe,Ht++),x[Ve*2+1]=yt,!(Ve>re)&&(b.bl_count[yt]++,We=0,Ve>=be&&(We=Ie[Ve-be]),Gt=x[Ve*2],b.opt_len+=Gt*(yt+We),Ae&&(b.static_len+=Gt*(oe[Ve*2+1]+We)));if(Ht!==0){do{for(yt=Oe-1;b.bl_count[yt]===0;)yt--;b.bl_count[yt]--,b.bl_count[yt+1]+=2,b.bl_count[Oe]--,Ht-=2}while(Ht>0);for(yt=Oe;yt!==0;yt--)for(Ve=b.bl_count[yt];Ve!==0;)ct=b.heap[--Re],!(ct>re)&&(x[ct*2+1]!==yt&&(b.opt_len+=(yt-x[ct*2+1])*x[ct*2],x[ct*2+1]=yt),Ve--)}},Vi=(b,z,x)=>{const re=new Array(ya+1);let oe=0,Ae,Ie;for(Ae=1;Ae<=ya;Ae++)oe=oe+x[Ae-1]<<1,re[Ae]=oe;for(Ie=0;Ie<=z;Ie++){let be=b[Ie*2+1];be!==0&&(b[Ie*2]=so(re[be]++,be))}},Ks=()=>{let b,z,x,re,oe;const Ae=new Array(ya+1);for(x=0,re=0;re>=7;re{let z;for(z=0;z{b.bi_valid>8?hi(b,b.bi_buf):b.bi_valid>0&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0},Cl=(b,z,x,re)=>{const oe=z*2,Ae=x*2;return b[oe]{const re=b.heap[x];let oe=x<<1;for(;oe<=b.heap_len&&(oe{let re,oe,Ae=0,Ie,be;if(b.sym_next!==0)do re=b.pending_buf[b.sym_buf+Ae++]&255,re+=(b.pending_buf[b.sym_buf+Ae++]&255)<<8,oe=b.pending_buf[b.sym_buf+Ae++],re===0?La(b,oe,z):(Ie=aa[oe],La(b,Ie+jr+1,z),be=Xr[Ie],be!==0&&(oe-=Nr[Ie],zr(b,oe,be)),re--,Ie=si(re),La(b,Ie,x),be=Rr[Ie],be!==0&&(re-=ia[Ie],zr(b,re,be)));while(Ae{const x=z.dyn_tree,re=z.stat_desc.static_tree,oe=z.stat_desc.has_stree,Ae=z.stat_desc.elems;let Ie,be,Oe=-1,Re;for(b.heap_len=0,b.heap_max=co,Ie=0;Ie>1;Ie>=1;Ie--)$l(b,x,Ie);Re=Ae;do Ie=b.heap[1],b.heap[1]=b.heap[b.heap_len--],$l(b,x,1),be=b.heap[1],b.heap[--b.heap_max]=Ie,b.heap[--b.heap_max]=be,x[Re*2]=x[Ie*2]+x[be*2],b.depth[Re]=(b.depth[Ie]>=b.depth[be]?b.depth[Ie]:b.depth[be])+1,x[Ie*2+1]=x[be*2+1]=Re,b.heap[1]=Re++,$l(b,x,1);while(b.heap_len>=2);b.heap[--b.heap_max]=b.heap[1],Zi(b,z),Vi(x,Oe,b.bl_count)},Ln=(b,z,x)=>{let re,oe=-1,Ae,Ie=z[0*2+1],be=0,Oe=7,Re=4;for(Ie===0&&(Oe=138,Re=3),z[(x+1)*2+1]=65535,re=0;re<=x;re++)Ae=Ie,Ie=z[(re+1)*2+1],!(++be{let re,oe=-1,Ae,Ie=z[0*2+1],be=0,Oe=7,Re=4;for(Ie===0&&(Oe=138,Re=3),re=0;re<=x;re++)if(Ae=Ie,Ie=z[(re+1)*2+1],!(++be{let z;for(Ln(b,b.dyn_ltree,b.l_desc.max_code),Ln(b,b.dyn_dtree,b.d_desc.max_code),eu(b,b.bl_desc),z=pi-1;z>=3&&b.bl_tree[Qt[z]*2+1]===0;z--);return b.opt_len+=3*(z+1)+5+5+4,z},ho=(b,z,x,re)=>{let oe;for(zr(b,z-257,5),zr(b,x-1,5),zr(b,re-4,4),oe=0;oe{let z=4093624447,x;for(x=0;x<=31;x++,z>>>=1)if(z&1&&b.dyn_ltree[x*2]!==0)return Jl;if(b.dyn_ltree[9*2]!==0||b.dyn_ltree[10*2]!==0||b.dyn_ltree[13*2]!==0)return Rl;for(x=32;x{Ls||(Ks(),Ls=!0),b.l_desc=new ls(b.dyn_ltree,Eo),b.d_desc=new ls(b.dyn_dtree,wi),b.bl_desc=new ls(b.bl_tree,Fa),b.bi_buf=0,b.bi_valid=0,fs(b)},Is=(b,z,x,re)=>{zr(b,(rr<<1)+(re?1:0),3),wA(b),hi(b,x),hi(b,~x),x&&b.pending_buf.set(b.window.subarray(z,z+x),b.pending),b.pending+=x},zs=b=>{zr(b,Zn<<1,3),La(b,_s,sr),vi(b)},MA=(b,z,x,re)=>{let oe,Ae,Ie=0;b.level>0?(b.strm.data_type===ql&&(b.strm.data_type=qa(b)),eu(b,b.l_desc),eu(b,b.d_desc),Ie=Pl(b),oe=b.opt_len+3+7>>>3,Ae=b.static_len+3+7>>>3,Ae<=oe&&(oe=Ae)):oe=Ae=x+5,x+4<=oe&&z!==-1?Is(b,z,x,re):b.strategy===Lu||Ae===oe?(zr(b,(Zn<<1)+(re?1:0),3),El(b,sr,ta)):(zr(b,(ur<<1)+(re?1:0),3),ho(b,b.l_desc.max_code+1,b.d_desc.max_code+1,Ie+1),El(b,b.dyn_ltree,b.dyn_dtree)),fs(b),re&&wA(b)},$u=(b,z,x)=>(b.pending_buf[b.sym_buf+b.sym_next++]=z,b.pending_buf[b.sym_buf+b.sym_next++]=z>>8,b.pending_buf[b.sym_buf+b.sym_next++]=x,z===0?b.dyn_ltree[x*2]++:(b.matches++,z--,b.dyn_ltree[(aa[x]+jr+1)*2]++,b.dyn_dtree[si(z)*2]++),b.sym_next===b.sym_end);var VA=xA,qs=Is,ro=MA,Po=$u,ws=zs,Ns={_tr_init:VA,_tr_stored_block:qs,_tr_flush_block:ro,_tr_tally:Po,_tr_align:ws},Yo=(b,z,x,re)=>{let oe=b&65535|0,Ae=b>>>16&65535|0,Ie=0;for(;x!==0;){Ie=x>2e3?2e3:x,x-=Ie;do oe=oe+z[re++]|0,Ae=Ae+oe|0;while(--Ie);oe%=65521,Ae%=65521}return oe|Ae<<16|0};const jl=()=>{let b,z=[];for(var x=0;x<256;x++){b=x;for(var re=0;re<8;re++)b=b&1?3988292384^b>>>1:b>>>1;z[x]=b}return z},xl=new Uint32Array(jl());var us=(b,z,x,re)=>{const oe=xl,Ae=re+x;b^=-1;for(let Ie=re;Ie>>8^oe[(b^z[Ie])&255];return b^-1},YA={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},tu={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Kc,_tr_stored_block:Gs,_tr_flush_block:Ll,_tr_tally:Ds,_tr_align:qi}=Ns,{Z_NO_FLUSH:rA,Z_PARTIAL_FLUSH:ec,Z_FULL_FLUSH:zc,Z_FINISH:aA,Z_BLOCK:nu,Z_OK:gA,Z_STREAM_END:ru,Z_STREAM_ERROR:Us,Z_DATA_ERROR:Hu,Z_BUF_ERROR:au,Z_DEFAULT_COMPRESSION:Iu,Z_FILTERED:Gc,Z_HUFFMAN_ONLY:Nu,Z_RLE:Bc,Z_FIXED:rl,Z_DEFAULT_STRATEGY:tc,Z_UNKNOWN:Tr,Z_DEFLATED:ao}=tu,fr=9,io=15,ei=8,Ws=256+1+29,ou=30,hu=19,mu=2*Ws+1,Oi=15,Xo=3,Qo=258,Os=Qo+Xo+1,fA=32,$s=42,oA=57,Il=69,Hl=73,eA=91,UA=103,iA=113,OA=666,Zs=1,Du=2,Nl=3,Uu=4,md=3,Wc=(b,z)=>(b.msg=YA[z],z),Bf=b=>b*2-(b>4?9:0),wc=b=>{let z=b.length;for(;--z>=0;)b[z]=0},Zd=b=>{let z,x,re,oe=b.w_size;z=b.hash_size,re=z;do x=b.head[--re],b.head[re]=x>=oe?x-oe:0;while(--z);z=oe,re=z;do x=b.prev[--re],b.prev[re]=x>=oe?x-oe:0;while(--z)};let nc=(b,z,x)=>(z<{const z=b.state;let x=z.pending;x>b.avail_out&&(x=b.avail_out),x!==0&&(b.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+x),b.next_out),b.next_out+=x,z.pending_out+=x,b.total_out+=x,b.avail_out-=x,z.pending-=x,z.pending===0&&(z.pending_out=0))},Ml=(b,z)=>{Ll(b,b.block_start>=0?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,iu(b.strm)},Ji=(b,z)=>{b.pending_buf[b.pending++]=z},Zc=(b,z)=>{b.pending_buf[b.pending++]=z>>>8&255,b.pending_buf[b.pending++]=z&255},wf=(b,z,x,re)=>{let oe=b.avail_in;return oe>re&&(oe=re),oe===0?0:(b.avail_in-=oe,z.set(b.input.subarray(b.next_in,b.next_in+oe),x),b.state.wrap===1?b.adler=Yo(b.adler,z,oe,x):b.state.wrap===2&&(b.adler=us(b.adler,z,oe,x)),b.next_in+=oe,b.total_in+=oe,oe)},yf=(b,z)=>{let x=b.max_chain_length,re=b.strstart,oe,Ae,Ie=b.prev_length,be=b.nice_match;const Oe=b.strstart>b.w_size-Os?b.strstart-(b.w_size-Os):0,Re=b.window,Ve=b.w_mask,ct=b.prev,yt=b.strstart+Qo;let We=Re[re+Ie-1],Gt=Re[re+Ie];b.prev_length>=b.good_match&&(x>>=2),be>b.lookahead&&(be=b.lookahead);do if(oe=z,!(Re[oe+Ie]!==Gt||Re[oe+Ie-1]!==We||Re[oe]!==Re[re]||Re[++oe]!==Re[re+1])){re+=2,oe++;do;while(Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&reIe){if(b.match_start=z,Ie=Ae,Ae>=be)break;We=Re[re+Ie-1],Gt=Re[re+Ie]}}while((z=ct[z&Ve])>Oe&&--x!==0);return Ie<=b.lookahead?Ie:b.lookahead},Vc=b=>{const z=b.w_size;let x,re,oe;do{if(re=b.window_size-b.lookahead-b.strstart,b.strstart>=z+(z-Os)&&(b.window.set(b.window.subarray(z,z+z-re),0),b.match_start-=z,b.strstart-=z,b.block_start-=z,b.insert>b.strstart&&(b.insert=b.strstart),Zd(b),re+=z),b.strm.avail_in===0)break;if(x=wf(b.strm,b.window,b.strstart+b.lookahead,re),b.lookahead+=x,b.lookahead+b.insert>=Xo)for(oe=b.strstart-b.insert,b.ins_h=b.window[oe],b.ins_h=nc(b,b.ins_h,b.window[oe+1]);b.insert&&(b.ins_h=nc(b,b.ins_h,b.window[oe+Xo-1]),b.prev[oe&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=oe,oe++,b.insert--,!(b.lookahead+b.insert{let x=b.pending_buf_size-5>b.w_size?b.w_size:b.pending_buf_size-5,re,oe,Ae,Ie=0,be=b.strm.avail_in;do{if(re=65535,Ae=b.bi_valid+42>>3,b.strm.avail_outoe+b.strm.avail_in&&(re=oe+b.strm.avail_in),re>Ae&&(re=Ae),re>8,b.pending_buf[b.pending-2]=~re,b.pending_buf[b.pending-1]=~re>>8,iu(b.strm),oe&&(oe>re&&(oe=re),b.strm.output.set(b.window.subarray(b.block_start,b.block_start+oe),b.strm.next_out),b.strm.next_out+=oe,b.strm.avail_out-=oe,b.strm.total_out+=oe,b.block_start+=oe,re-=oe),re&&(wf(b.strm,b.strm.output,b.strm.next_out,re),b.strm.next_out+=re,b.strm.avail_out-=re,b.strm.total_out+=re)}while(Ie===0);return be-=b.strm.avail_in,be&&(be>=b.w_size?(b.matches=2,b.window.set(b.strm.input.subarray(b.strm.next_in-b.w_size,b.strm.next_in),0),b.strstart=b.w_size,b.insert=b.strstart):(b.window_size-b.strstart<=be&&(b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,b.insert>b.strstart&&(b.insert=b.strstart)),b.window.set(b.strm.input.subarray(b.strm.next_in-be,b.strm.next_in),b.strstart),b.strstart+=be,b.insert+=be>b.w_size-b.insert?b.w_size-b.insert:be),b.block_start=b.strstart),b.high_waterAe&&b.block_start>=b.w_size&&(b.block_start-=b.w_size,b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,Ae+=b.w_size,b.insert>b.strstart&&(b.insert=b.strstart)),Ae>b.strm.avail_in&&(Ae=b.strm.avail_in),Ae&&(wf(b.strm,b.window,b.strstart,Ae),b.strstart+=Ae,b.insert+=Ae>b.w_size-b.insert?b.w_size-b.insert:Ae),b.high_water>3,Ae=b.pending_buf_size-Ae>65535?65535:b.pending_buf_size-Ae,x=Ae>b.w_size?b.w_size:Ae,oe=b.strstart-b.block_start,(oe>=x||(oe||z===aA)&&z!==rA&&b.strm.avail_in===0&&oe<=Ae)&&(re=oe>Ae?Ae:oe,Ie=z===aA&&b.strm.avail_in===0&&re===oe?1:0,Gs(b,b.block_start,re,Ie),b.block_start+=re,iu(b.strm)),Ie?Nl:Zs)},xg=(b,z)=>{let x,re;for(;;){if(b.lookahead=Xo&&(b.ins_h=nc(b,b.ins_h,b.window[b.strstart+Xo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),x!==0&&b.strstart-x<=b.w_size-Os&&(b.match_length=yf(b,x)),b.match_length>=Xo)if(re=Ds(b,b.strstart-b.match_start,b.match_length-Xo),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=Xo){b.match_length--;do b.strstart++,b.ins_h=nc(b,b.ins_h,b.window[b.strstart+Xo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart;while(--b.match_length!==0);b.strstart++}else b.strstart+=b.match_length,b.match_length=0,b.ins_h=b.window[b.strstart],b.ins_h=nc(b,b.ins_h,b.window[b.strstart+1]);else re=Ds(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(re&&(Ml(b,!1),b.strm.avail_out===0))return Zs}return b.insert=b.strstart{let x,re,oe;for(;;){if(b.lookahead=Xo&&(b.ins_h=nc(b,b.ins_h,b.window[b.strstart+Xo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),b.prev_length=b.match_length,b.prev_match=b.match_start,b.match_length=Xo-1,x!==0&&b.prev_length4096)&&(b.match_length=Xo-1)),b.prev_length>=Xo&&b.match_length<=b.prev_length){oe=b.strstart+b.lookahead-Xo,re=Ds(b,b.strstart-1-b.prev_match,b.prev_length-Xo),b.lookahead-=b.prev_length-1,b.prev_length-=2;do++b.strstart<=oe&&(b.ins_h=nc(b,b.ins_h,b.window[b.strstart+Xo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart);while(--b.prev_length!==0);if(b.match_available=0,b.match_length=Xo-1,b.strstart++,re&&(Ml(b,!1),b.strm.avail_out===0))return Zs}else if(b.match_available){if(re=Ds(b,0,b.window[b.strstart-1]),re&&Ml(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return Zs}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(re=Ds(b,0,b.window[b.strstart-1]),b.match_available=0),b.insert=b.strstart{let x,re,oe,Ae;const Ie=b.window;for(;;){if(b.lookahead<=Qo){if(Vc(b),b.lookahead<=Qo&&z===rA)return Zs;if(b.lookahead===0)break}if(b.match_length=0,b.lookahead>=Xo&&b.strstart>0&&(oe=b.strstart-1,re=Ie[oe],re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe])){Ae=b.strstart+Qo;do;while(re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&oeb.lookahead&&(b.match_length=b.lookahead)}if(b.match_length>=Xo?(x=Ds(b,1,b.match_length-Xo),b.lookahead-=b.match_length,b.strstart+=b.match_length,b.match_length=0):(x=Ds(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++),x&&(Ml(b,!1),b.strm.avail_out===0))return Zs}return b.insert=0,z===aA?(Ml(b,!0),b.strm.avail_out===0?Nl:Uu):b.sym_next&&(Ml(b,!1),b.strm.avail_out===0)?Zs:Du},n0=(b,z)=>{let x;for(;;){if(b.lookahead===0&&(Vc(b),b.lookahead===0)){if(z===rA)return Zs;break}if(b.match_length=0,x=Ds(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++,x&&(Ml(b,!1),b.strm.avail_out===0))return Zs}return b.insert=0,z===aA?(Ml(b,!0),b.strm.avail_out===0?Nl:Uu):b.sym_next&&(Ml(b,!1),b.strm.avail_out===0)?Zs:Du};function _A(b,z,x,re,oe){this.good_length=b,this.max_lazy=z,this.nice_length=x,this.max_chain=re,this.func=oe}const vd=[new _A(0,0,0,0,pd),new _A(4,4,8,4,xg),new _A(4,5,16,8,xg),new _A(4,6,32,32,xg),new _A(4,4,16,16,Yc),new _A(8,16,32,32,Yc),new _A(8,16,128,128,Yc),new _A(8,32,128,256,Yc),new _A(32,128,258,1024,Yc),new _A(32,258,258,4096,Yc)],r0=b=>{b.window_size=2*b.w_size,wc(b.head),b.max_lazy_match=vd[b.level].max_lazy,b.good_match=vd[b.level].good_length,b.nice_match=vd[b.level].nice_length,b.max_chain_length=vd[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=Xo-1,b.match_available=0,b.ins_h=0};function Je(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ao,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(mu*2),this.dyn_dtree=new Uint16Array((2*ou+1)*2),this.bl_tree=new Uint16Array((2*hu+1)*2),wc(this.dyn_ltree),wc(this.dyn_dtree),wc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Oi+1),this.heap=new Uint16Array(2*Ws+1),wc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ws+1),wc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const et=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.status!==$s&&z.status!==oA&&z.status!==Il&&z.status!==Hl&&z.status!==eA&&z.status!==UA&&z.status!==iA&&z.status!==OA?1:0},Ct=b=>{if(et(b))return Wc(b,Us);b.total_in=b.total_out=0,b.data_type=Tr;const z=b.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?oA:z.wrap?$s:iA,b.adler=z.wrap===2?0:1,z.last_flush=-2,Kc(z),gA},kt=b=>{const z=Ct(b);return z===gA&&r0(b.state),z},$t=(b,z)=>et(b)||b.state.wrap!==2?Us:(b.state.gzhead=z,gA),en=(b,z,x,re,oe,Ae)=>{if(!b)return Us;let Ie=1;if(z===Iu&&(z=6),re<0?(Ie=0,re=-re):re>15&&(Ie=2,re-=16),oe<1||oe>fr||x!==ao||re<8||re>15||z<0||z>9||Ae<0||Ae>rl||re===8&&Ie!==1)return Wc(b,Us);re===8&&(re=9);const be=new Je;return b.state=be,be.strm=b,be.status=$s,be.wrap=Ie,be.gzhead=null,be.w_bits=re,be.w_size=1<en(b,z,ao,io,ei,tc),En=(b,z)=>{if(et(b)||z>nu||z<0)return b?Wc(b,Us):Us;const x=b.state;if(!b.output||b.avail_in!==0&&!b.input||x.status===OA&&z!==aA)return Wc(b,b.avail_out===0?au:Us);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(iu(b),b.avail_out===0)return x.last_flush=-1,gA}else if(b.avail_in===0&&Bf(z)<=Bf(re)&&z!==aA)return Wc(b,au);if(x.status===OA&&b.avail_in!==0)return Wc(b,au);if(x.status===$s&&x.wrap===0&&(x.status=iA),x.status===$s){let oe=ao+(x.w_bits-8<<4)<<8,Ae=-1;if(x.strategy>=Nu||x.level<2?Ae=0:x.level<6?Ae=1:x.level===6?Ae=2:Ae=3,oe|=Ae<<6,x.strstart!==0&&(oe|=fA),oe+=31-oe%31,Zc(x,oe),x.strstart!==0&&(Zc(x,b.adler>>>16),Zc(x,b.adler&65535)),b.adler=1,x.status=iA,iu(b),x.pending!==0)return x.last_flush=-1,gA}if(x.status===oA){if(b.adler=0,Ji(x,31),Ji(x,139),Ji(x,8),x.gzhead)Ji(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),Ji(x,x.gzhead.time&255),Ji(x,x.gzhead.time>>8&255),Ji(x,x.gzhead.time>>16&255),Ji(x,x.gzhead.time>>24&255),Ji(x,x.level===9?2:x.strategy>=Nu||x.level<2?4:0),Ji(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Ji(x,x.gzhead.extra.length&255),Ji(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(b.adler=us(b.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=Il;else if(Ji(x,0),Ji(x,0),Ji(x,0),Ji(x,0),Ji(x,0),Ji(x,x.level===9?2:x.strategy>=Nu||x.level<2?4:0),Ji(x,md),x.status=iA,iu(b),x.pending!==0)return x.last_flush=-1,gA}if(x.status===Il){if(x.gzhead.extra){let oe=x.pending,Ae=(x.gzhead.extra.length&65535)-x.gzindex;for(;x.pending+Ae>x.pending_buf_size;){let be=x.pending_buf_size-x.pending;if(x.pending_buf.set(x.gzhead.extra.subarray(x.gzindex,x.gzindex+be),x.pending),x.pending=x.pending_buf_size,x.gzhead.hcrc&&x.pending>oe&&(b.adler=us(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex+=be,iu(b),x.pending!==0)return x.last_flush=-1,gA;oe=0,Ae-=be}let Ie=new Uint8Array(x.gzhead.extra);x.pending_buf.set(Ie.subarray(x.gzindex,x.gzindex+Ae),x.pending),x.pending+=Ae,x.gzhead.hcrc&&x.pending>oe&&(b.adler=us(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=Hl}if(x.status===Hl){if(x.gzhead.name){let oe=x.pending,Ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>oe&&(b.adler=us(b.adler,x.pending_buf,x.pending-oe,oe)),iu(b),x.pending!==0)return x.last_flush=-1,gA;oe=0}x.gzindexoe&&(b.adler=us(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=eA}if(x.status===eA){if(x.gzhead.comment){let oe=x.pending,Ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>oe&&(b.adler=us(b.adler,x.pending_buf,x.pending-oe,oe)),iu(b),x.pending!==0)return x.last_flush=-1,gA;oe=0}x.gzindexoe&&(b.adler=us(b.adler,x.pending_buf,x.pending-oe,oe))}x.status=UA}if(x.status===UA){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(iu(b),x.pending!==0))return x.last_flush=-1,gA;Ji(x,b.adler&255),Ji(x,b.adler>>8&255),b.adler=0}if(x.status=iA,iu(b),x.pending!==0)return x.last_flush=-1,gA}if(b.avail_in!==0||x.lookahead!==0||z!==rA&&x.status!==OA){let oe=x.level===0?pd(x,z):x.strategy===Nu?n0(x,z):x.strategy===Bc?t0(x,z):vd[x.level].func(x,z);if((oe===Nl||oe===Uu)&&(x.status=OA),oe===Zs||oe===Nl)return b.avail_out===0&&(x.last_flush=-1),gA;if(oe===Du&&(z===ec?qi(x):z!==nu&&(Gs(x,0,0,!1),z===zc&&(wc(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),iu(b),b.avail_out===0))return x.last_flush=-1,gA}return z!==aA?gA:x.wrap<=0?ru:(x.wrap===2?(Ji(x,b.adler&255),Ji(x,b.adler>>8&255),Ji(x,b.adler>>16&255),Ji(x,b.adler>>24&255),Ji(x,b.total_in&255),Ji(x,b.total_in>>8&255),Ji(x,b.total_in>>16&255),Ji(x,b.total_in>>24&255)):(Zc(x,b.adler>>>16),Zc(x,b.adler&65535)),iu(b),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?gA:ru)},vn=b=>{if(et(b))return Us;const z=b.state.status;return b.state=null,z===iA?Wc(b,Hu):gA},_n=(b,z)=>{let x=z.length;if(et(b))return Us;const re=b.state,oe=re.wrap;if(oe===2||oe===1&&re.status!==$s||re.lookahead)return Us;if(oe===1&&(b.adler=Yo(b.adler,z,x,0)),re.wrap=0,x>=re.w_size){oe===0&&(wc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Oe=new Uint8Array(re.w_size);Oe.set(z.subarray(x-re.w_size,x),0),z=Oe,x=re.w_size}const Ae=b.avail_in,Ie=b.next_in,be=b.input;for(b.avail_in=x,b.next_in=0,b.input=z,Vc(re);re.lookahead>=Xo;){let Oe=re.strstart,Re=re.lookahead-(Xo-1);do re.ins_h=nc(re,re.ins_h,re.window[Oe+Xo-1]),re.prev[Oe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Oe,Oe++;while(--Re);re.strstart=Oe,re.lookahead=Xo-1,Vc(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Xo-1,re.match_available=0,b.next_in=Ie,b.input=be,b.avail_in=Ae,re.wrap=oe,gA};var Xn=bn,Kn=en,Sr=kt,hr=Ct,vr=$t,Jr=En,Hr=vn,Zr=_n,_r="pako deflate (from Nodeca project)",sa={deflateInit:Xn,deflateInit2:Kn,deflateReset:Sr,deflateResetKeep:hr,deflateSetHeader:vr,deflate:Jr,deflateEnd:Hr,deflateSetDictionary:Zr,deflateInfo:_r};const ka=(b,z)=>Object.prototype.hasOwnProperty.call(b,z);var _a=function(b){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const x=z.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(const re in x)ka(x,re)&&(b[re]=x[re])}}return b},Ba=b=>{let z=0;for(let re=0,oe=b.length;re=252?6:b>=248?5:b>=240?4:b>=224?3:b>=192?2:1;ua[254]=ua[254]=1;var Sa=b=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(b);let z,x,re,oe,Ae,Ie=b.length,be=0;for(oe=0;oe>>6,z[Ae++]=128|x&63):x<65536?(z[Ae++]=224|x>>>12,z[Ae++]=128|x>>>6&63,z[Ae++]=128|x&63):(z[Ae++]=240|x>>>18,z[Ae++]=128|x>>>12&63,z[Ae++]=128|x>>>6&63,z[Ae++]=128|x&63);return z};const da=(b,z)=>{if(z<65534&&b.subarray&&bo)return String.fromCharCode.apply(null,b.length===z?b:b.subarray(0,z));let x="";for(let re=0;re{const x=z||b.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(b.subarray(0,z));let re,oe;const Ae=new Array(x*2);for(oe=0,re=0;re4){Ae[oe++]=65533,re+=be-1;continue}for(Ie&=be===2?31:be===3?15:7;be>1&&re1){Ae[oe++]=65533;continue}Ie<65536?Ae[oe++]=Ie:(Ie-=65536,Ae[oe++]=55296|Ie>>10&1023,Ae[oe++]=56320|Ie&1023)}return da(Ae,oe)},pa=(b,z)=>{z=z||b.length,z>b.length&&(z=b.length);let x=z-1;for(;x>=0&&(b[x]&192)===128;)x--;return x<0||x===0?z:x+ua[b[x]]>z?x:z},Za={string2buf:Sa,buf2string:oa,utf8border:pa};function _o(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var wo=_o;const za=Object.prototype.toString,{Z_NO_FLUSH:Uo,Z_SYNC_FLUSH:ti,Z_FULL_FLUSH:$i,Z_FINISH:Bi,Z_OK:hs,Z_STREAM_END:Qs,Z_DEFAULT_COMPRESSION:xo,Z_DEFAULT_STRATEGY:sA,Z_DEFLATED:Fi}=tu;function es(b){this.options=$a.assign({level:xo,method:Fi,chunkSize:16384,windowBits:15,memLevel:8,strategy:sA},b||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new wo,this.strm.avail_out=0;let x=sa.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==hs)throw new Error(YA[x]);if(z.header&&sa.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Za.string2buf(z.dictionary):za.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=sa.deflateSetDictionary(this.strm,re),x!==hs)throw new Error(YA[x]);this._dict_set=!0}}es.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize;let oe,Ae;if(this.ended)return!1;for(z===~~z?Ae=z:Ae=z===!0?Bi:Uo,typeof b=="string"?x.input=Za.string2buf(b):za.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){if(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),(Ae===ti||Ae===$i)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(oe=sa.deflate(x,Ae),oe===Qs)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),oe=sa.deflateEnd(this.strm),this.onEnd(oe),this.ended=!0,oe===hs;if(x.avail_out===0){this.onData(x.output);continue}if(Ae>0&&x.next_out>0){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(x.avail_in===0)break}return!0},es.prototype.onData=function(b){this.chunks.push(b)},es.prototype.onEnd=function(b){b===hs&&(this.result=$a.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function rs(b,z){const x=new es(z);if(x.push(b,!0),x.err)throw x.msg||YA[x.err];return x.result}function dl(b,z){return z=z||{},z.raw=!0,rs(b,z)}function fa(b,z){return z=z||{},z.gzip=!0,rs(b,z)}var Xa=es,Va=rs,Ia=dl,Li=fa,Na=tu,mo={Deflate:Xa,deflate:Va,deflateRaw:Ia,gzip:Li,constants:Na};const oi=16209,Ai=16191;var XA=function(z,x){let re,oe,Ae,Ie,be,Oe,Re,Ve,ct,yt,We,Gt,Ht,Zt,Ut,Fn,mn,An,nr,Pr,dr,kn,ln,Wn;const Nt=z.state;re=z.next_in,ln=z.input,oe=re+(z.avail_in-5),Ae=z.next_out,Wn=z.output,Ie=Ae-(x-z.avail_out),be=Ae+(z.avail_out-257),Oe=Nt.dmax,Re=Nt.wsize,Ve=Nt.whave,ct=Nt.wnext,yt=Nt.window,We=Nt.hold,Gt=Nt.bits,Ht=Nt.lencode,Zt=Nt.distcode,Ut=(1<>>24,We>>>=An,Gt-=An,An=mn>>>16&255,An===0)Wn[Ae++]=mn&65535;else if(An&16){nr=mn&65535,An&=15,An&&(Gt>>=An,Gt-=An),Gt<15&&(We+=ln[re++]<>>24,We>>>=An,Gt-=An,An=mn>>>16&255,An&16){if(Pr=mn&65535,An&=15,GtOe){z.msg="invalid distance too far back",Nt.mode=oi;break e}if(We>>>=An,Gt-=An,An=Ae-Ie,Pr>An){if(An=Pr-An,An>Ve&&Nt.sane){z.msg="invalid distance too far back",Nt.mode=oi;break e}if(dr=0,kn=yt,ct===0){if(dr+=Re-An,An2;)Wn[Ae++]=kn[dr++],Wn[Ae++]=kn[dr++],Wn[Ae++]=kn[dr++],nr-=3;nr&&(Wn[Ae++]=kn[dr++],nr>1&&(Wn[Ae++]=kn[dr++]))}else{dr=Ae-Pr;do Wn[Ae++]=Wn[dr++],Wn[Ae++]=Wn[dr++],Wn[Ae++]=Wn[dr++],nr-=3;while(nr>2);nr&&(Wn[Ae++]=Wn[dr++],nr>1&&(Wn[Ae++]=Wn[dr++]))}}else if(An&64){z.msg="invalid distance code",Nt.mode=oi;break e}else{mn=Zt[(mn&65535)+(We&(1<>3,re-=nr,Gt-=nr<<3,We&=(1<{const Oe=be.bits;let Re=0,Ve=0,ct=0,yt=0,We=0,Gt=0,Ht=0,Zt=0,Ut=0,Fn=0,mn,An,nr,Pr,dr,kn=null,ln;const Wn=new Uint16Array(tA+1),Nt=new Uint16Array(tA+1);let Xt=null,Cn,Bn,or;for(Re=0;Re<=tA;Re++)Wn[Re]=0;for(Ve=0;Ve=1&&Wn[yt]===0;yt--);if(We>yt&&(We=yt),yt===0)return oe[Ae++]=1<<24|64<<16|0,oe[Ae++]=1<<24|64<<16|0,be.bits=1,0;for(ct=1;ct0&&(b===Dl||yt!==1))return-1;for(Nt[1]=0,Re=1;Resu||b===al&&Ut>nA)return 1;for(;;){Cn=Re-Ht,Ie[Ve]+1=ln?(Bn=Xt[Ie[Ve]-ln],or=kn[Ie[Ve]-ln]):(Bn=96,or=0),mn=1<>Ht)+An]=Cn<<24|Bn<<16|or|0;while(An!==0);for(mn=1<>=1;if(mn!==0?(Fn&=mn-1,Fn+=mn):Fn=0,Ve++,--Wn[Re]===0){if(Re===yt)break;Re=z[x+Ie[Ve]]}if(Re>We&&(Fn&Pr)!==nr){for(Ht===0&&(Ht=We),dr+=ct,Gt=Re-Ht,Zt=1<su||b===al&&Ut>nA)return 1;nr=Fn&Pr,oe[nr]=We<<24|Gt<<16|dr-Ae|0}}return Fn!==0&&(oe[dr+Fn]=Re-Ht<<24|64<<16|0),be.bits=We,0};const Ko=0,JA=1,KA=2,{Z_FINISH:gl,Z_BLOCK:ol,Z_TREES:il,Z_OK:_l,Z_STREAM_END:Mu,Z_NEED_DICT:Kl,Z_STREAM_ERROR:ks,Z_DATA_ERROR:QA,Z_MEM_ERROR:AA,Z_BUF_ERROR:Cs,Z_DEFLATED:pu}=tu,Ou=16180,_u=16181,vu=16182,Bd=16183,Vd=16184,li=16185,as=16186,kA=16187,ys=16188,TA=16189,zA=16190,Ts=16191,Bu=16192,wd=16193,yd=16194,Yd=16195,Fg=16196,Lg=16197,Xc=16198,wu=16199,Sc=16200,Ig=16201,Xd=16202,Ng=16203,Jd=16204,bc=16205,qd=16206,Sf=16207,Dg=16208,Ri=16209,$d=16210,bf=16211,a0=852,Cf=592,Og=15,eg=b=>(b>>>24&255)+(b>>>8&65280)+((b&65280)<<8)+((b&255)<<24);function Ef(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const rc=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.modebf?1:0},Qg=b=>{if(rc(b))return ks;const z=b.state;return b.total_in=b.total_out=z.total=0,b.msg="",z.wrap&&(b.adler=z.wrap&1),z.mode=Ou,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(a0),z.distcode=z.distdyn=new Int32Array(Cf),z.sane=1,z.back=-1,_l},tg=b=>{if(rc(b))return ks;const z=b.state;return z.wsize=0,z.whave=0,z.wnext=0,Qg(b)},Pf=(b,z)=>{let x;if(rc(b))return ks;const re=b.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?ks:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,tg(b))},Sd=(b,z)=>{if(!b)return ks;const x=new Ef;b.state=x,x.strm=b,x.window=null,x.mode=Ou;const re=Pf(b,z);return re!==_l&&(b.state=null),re},ng=b=>Sd(b,Og);let RA=!0,Ku,rg;const o0=b=>{if(RA){Ku=new Int32Array(512),rg=new Int32Array(32);let z=0;for(;z<144;)b.lens[z++]=8;for(;z<256;)b.lens[z++]=9;for(;z<280;)b.lens[z++]=7;for(;z<288;)b.lens[z++]=8;for(cs(JA,b.lens,0,288,Ku,0,b.work,{bits:9}),z=0;z<32;)b.lens[z++]=5;cs(KA,b.lens,0,32,rg,0,b.work,{bits:5}),RA=!1}b.lencode=Ku,b.lenbits=9,b.distcode=rg,b.distbits=5},Qi=(b,z,x,re)=>{let oe;const Ae=b.state;return Ae.window===null&&(Ae.wsize=1<=Ae.wsize?(Ae.window.set(z.subarray(x-Ae.wsize,x),0),Ae.wnext=0,Ae.whave=Ae.wsize):(oe=Ae.wsize-Ae.wnext,oe>re&&(oe=re),Ae.window.set(z.subarray(x-re,x-re+oe),Ae.wnext),re-=oe,re?(Ae.window.set(z.subarray(x-re,x),0),Ae.wnext=re,Ae.whave=Ae.wsize):(Ae.wnext+=oe,Ae.wnext===Ae.wsize&&(Ae.wnext=0),Ae.whave{let x,re,oe,Ae,Ie,be,Oe,Re,Ve,ct,yt,We,Gt,Ht,Zt=0,Ut,Fn,mn,An,nr,Pr,dr,kn;const ln=new Uint8Array(4);let Wn,Nt;const Xt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(rc(b)||!b.output||!b.input&&b.avail_in!==0)return ks;x=b.state,x.mode===Ts&&(x.mode=Bu),Ie=b.next_out,oe=b.output,Oe=b.avail_out,Ae=b.next_in,re=b.input,be=b.avail_in,Re=x.hold,Ve=x.bits,ct=be,yt=Oe,kn=_l;e:for(;;)switch(x.mode){case Ou:if(x.wrap===0){x.mode=Bu;break}for(;Ve<16;){if(be===0)break e;be--,Re+=re[Ae++]<>>8&255,x.check=us(x.check,ln,2,0),Re=0,Ve=0,x.mode=_u;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Re&255)<<8)+(Re>>8))%31){b.msg="incorrect header check",x.mode=Ri;break}if((Re&15)!==pu){b.msg="unknown compression method",x.mode=Ri;break}if(Re>>>=4,Ve-=4,dr=(Re&15)+8,x.wbits===0&&(x.wbits=dr),dr>15||dr>x.wbits){b.msg="invalid window size",x.mode=Ri;break}x.dmax=1<>8&1),x.flags&512&&x.wrap&4&&(ln[0]=Re&255,ln[1]=Re>>>8&255,x.check=us(x.check,ln,2,0)),Re=0,Ve=0,x.mode=vu;case vu:for(;Ve<32;){if(be===0)break e;be--,Re+=re[Ae++]<>>8&255,ln[2]=Re>>>16&255,ln[3]=Re>>>24&255,x.check=us(x.check,ln,4,0)),Re=0,Ve=0,x.mode=Bd;case Bd:for(;Ve<16;){if(be===0)break e;be--,Re+=re[Ae++]<>8),x.flags&512&&x.wrap&4&&(ln[0]=Re&255,ln[1]=Re>>>8&255,x.check=us(x.check,ln,2,0)),Re=0,Ve=0,x.mode=Vd;case Vd:if(x.flags&1024){for(;Ve<16;){if(be===0)break e;be--,Re+=re[Ae++]<>>8&255,x.check=us(x.check,ln,2,0)),Re=0,Ve=0}else x.head&&(x.head.extra=null);x.mode=li;case li:if(x.flags&1024&&(We=x.length,We>be&&(We=be),We&&(x.head&&(dr=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Uint8Array(x.head.extra_len)),x.head.extra.set(re.subarray(Ae,Ae+We),dr)),x.flags&512&&x.wrap&4&&(x.check=us(x.check,re,We,Ae)),be-=We,Ae+=We,x.length-=We),x.length))break e;x.length=0,x.mode=as;case as:if(x.flags&2048){if(be===0)break e;We=0;do dr=re[Ae+We++],x.head&&dr&&x.length<65536&&(x.head.name+=String.fromCharCode(dr));while(dr&&We>9&1,x.head.done=!0),b.adler=x.check=0,x.mode=Ts;break;case TA:for(;Ve<32;){if(be===0)break e;be--,Re+=re[Ae++]<>>=Ve&7,Ve-=Ve&7,x.mode=qd;break}for(;Ve<3;){if(be===0)break e;be--,Re+=re[Ae++]<>>=1,Ve-=1,Re&3){case 0:x.mode=wd;break;case 1:if(o0(x),x.mode=wu,z===il){Re>>>=2,Ve-=2;break e}break;case 2:x.mode=Fg;break;case 3:b.msg="invalid block type",x.mode=Ri}Re>>>=2,Ve-=2;break;case wd:for(Re>>>=Ve&7,Ve-=Ve&7;Ve<32;){if(be===0)break e;be--,Re+=re[Ae++]<>>16^65535)){b.msg="invalid stored block lengths",x.mode=Ri;break}if(x.length=Re&65535,Re=0,Ve=0,x.mode=yd,z===il)break e;case yd:x.mode=Yd;case Yd:if(We=x.length,We){if(We>be&&(We=be),We>Oe&&(We=Oe),We===0)break e;oe.set(re.subarray(Ae,Ae+We),Ie),be-=We,Ae+=We,Oe-=We,Ie+=We,x.length-=We;break}x.mode=Ts;break;case Fg:for(;Ve<14;){if(be===0)break e;be--,Re+=re[Ae++]<>>=5,Ve-=5,x.ndist=(Re&31)+1,Re>>>=5,Ve-=5,x.ncode=(Re&15)+4,Re>>>=4,Ve-=4,x.nlen>286||x.ndist>30){b.msg="too many length or distance symbols",x.mode=Ri;break}x.have=0,x.mode=Lg;case Lg:for(;x.have>>=3,Ve-=3}for(;x.have<19;)x.lens[Xt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Wn={bits:x.lenbits},kn=cs(Ko,x.lens,0,19,x.lencode,0,x.work,Wn),x.lenbits=Wn.bits,kn){b.msg="invalid code lengths set",x.mode=Ri;break}x.have=0,x.mode=Xc;case Xc:for(;x.have>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>>=Ut,Ve-=Ut,x.lens[x.have++]=mn;else{if(mn===16){for(Nt=Ut+2;Ve>>=Ut,Ve-=Ut,x.have===0){b.msg="invalid bit length repeat",x.mode=Ri;break}dr=x.lens[x.have-1],We=3+(Re&3),Re>>>=2,Ve-=2}else if(mn===17){for(Nt=Ut+3;Ve>>=Ut,Ve-=Ut,dr=0,We=3+(Re&7),Re>>>=3,Ve-=3}else{for(Nt=Ut+7;Ve>>=Ut,Ve-=Ut,dr=0,We=11+(Re&127),Re>>>=7,Ve-=7}if(x.have+We>x.nlen+x.ndist){b.msg="invalid bit length repeat",x.mode=Ri;break}for(;We--;)x.lens[x.have++]=dr}}if(x.mode===Ri)break;if(x.lens[256]===0){b.msg="invalid code -- missing end-of-block",x.mode=Ri;break}if(x.lenbits=9,Wn={bits:x.lenbits},kn=cs(JA,x.lens,0,x.nlen,x.lencode,0,x.work,Wn),x.lenbits=Wn.bits,kn){b.msg="invalid literal/lengths set",x.mode=Ri;break}if(x.distbits=6,x.distcode=x.distdyn,Wn={bits:x.distbits},kn=cs(KA,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Wn),x.distbits=Wn.bits,kn){b.msg="invalid distances set",x.mode=Ri;break}if(x.mode=wu,z===il)break e;case wu:x.mode=Sc;case Sc:if(be>=6&&Oe>=258){b.next_out=Ie,b.avail_out=Oe,b.next_in=Ae,b.avail_in=be,x.hold=Re,x.bits=Ve,XA(b,yt),Ie=b.next_out,oe=b.output,Oe=b.avail_out,Ae=b.next_in,re=b.input,be=b.avail_in,Re=x.hold,Ve=x.bits,x.mode===Ts&&(x.back=-1);break}for(x.back=0;Zt=x.lencode[Re&(1<>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>An)],Ut=Zt>>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(An+Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>>=An,Ve-=An,x.back+=An}if(Re>>>=Ut,Ve-=Ut,x.back+=Ut,x.length=mn,Fn===0){x.mode=bc;break}if(Fn&32){x.back=-1,x.mode=Ts;break}if(Fn&64){b.msg="invalid literal/length code",x.mode=Ri;break}x.extra=Fn&15,x.mode=Ig;case Ig:if(x.extra){for(Nt=x.extra;Ve>>=x.extra,Ve-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=Xd;case Xd:for(;Zt=x.distcode[Re&(1<>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>An)],Ut=Zt>>>24,Fn=Zt>>>16&255,mn=Zt&65535,!(An+Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>>=An,Ve-=An,x.back+=An}if(Re>>>=Ut,Ve-=Ut,x.back+=Ut,Fn&64){b.msg="invalid distance code",x.mode=Ri;break}x.offset=mn,x.extra=Fn&15,x.mode=Ng;case Ng:if(x.extra){for(Nt=x.extra;Ve>>=x.extra,Ve-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){b.msg="invalid distance too far back",x.mode=Ri;break}x.mode=Jd;case Jd:if(Oe===0)break e;if(We=yt-Oe,x.offset>We){if(We=x.offset-We,We>x.whave&&x.sane){b.msg="invalid distance too far back",x.mode=Ri;break}We>x.wnext?(We-=x.wnext,Gt=x.wsize-We):Gt=x.wnext-We,We>x.length&&(We=x.length),Ht=x.window}else Ht=oe,Gt=Ie-x.offset,We=x.length;We>Oe&&(We=Oe),Oe-=We,x.length-=We;do oe[Ie++]=Ht[Gt++];while(--We);x.length===0&&(x.mode=Sc);break;case bc:if(Oe===0)break e;oe[Ie++]=x.length,Oe--,x.mode=Sc;break;case qd:if(x.wrap){for(;Ve<32;){if(be===0)break e;be--,Re|=re[Ae++]<{if(rc(b))return ks;let z=b.state;return z.window&&(z.window=null),b.state=null,_l},ac=(b,z)=>{if(rc(b))return ks;const x=b.state;return x.wrap&2?(x.head=z,z.done=!1,_l):ks},oc=(b,z)=>{const x=z.length;let re,oe,Ae;return rc(b)||(re=b.state,re.wrap!==0&&re.mode!==zA)?ks:re.mode===zA&&(oe=1,oe=Yo(oe,z,x,0),oe!==re.check)?QA:(Ae=Qi(b,z,x,x),Ae?(re.mode=$d,AA):(re.havedict=1,_l))};var xf=tg,kg=Pf,Tg=Qg,Rg=ng,jg=Sd,eh=ds,th=Au,nh=ac,rh=oc,i0="pako inflate (from Nodeca project)",Cc={inflateReset:xf,inflateReset2:kg,inflateResetKeep:Tg,inflateInit:Rg,inflateInit2:jg,inflate:eh,inflateEnd:th,inflateGetHeader:nh,inflateSetDictionary:rh,inflateInfo:i0};function wm(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ym=wm;const ah=Object.prototype.toString,{Z_NO_FLUSH:Ff,Z_FINISH:Lf,Z_OK:Hg,Z_STREAM_END:If,Z_NEED_DICT:Mg,Z_STREAM_ERROR:oh,Z_DATA_ERROR:s0,Z_MEM_ERROR:ih}=tu;function _g(b){this.options=$a.assign({chunkSize:1024*64,windowBits:15,to:""},b||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(b&&b.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new wo,this.strm.avail_out=0;let x=Cc.inflateInit2(this.strm,z.windowBits);if(x!==Hg)throw new Error(YA[x]);if(this.header=new ym,Cc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Za.string2buf(z.dictionary):ah.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=Cc.inflateSetDictionary(this.strm,z.dictionary),x!==Hg)))throw new Error(YA[x])}_g.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize,oe=this.options.dictionary;let Ae,Ie,be;if(this.ended)return!1;for(z===~~z?Ie=z:Ie=z===!0?Lf:Ff,ah.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){for(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),Ae=Cc.inflate(x,Ie),Ae===Mg&&oe&&(Ae=Cc.inflateSetDictionary(x,oe),Ae===Hg?Ae=Cc.inflate(x,Ie):Ae===s0&&(Ae=Mg));x.avail_in>0&&Ae===If&&x.state.wrap>0&&b[x.next_in]!==0;)Cc.inflateReset(x),Ae=Cc.inflate(x,Ie);switch(Ae){case oh:case s0:case Mg:case ih:return this.onEnd(Ae),this.ended=!0,!1}if(be=x.avail_out,x.next_out&&(x.avail_out===0||Ae===If))if(this.options.to==="string"){let Oe=Za.utf8border(x.output,x.next_out),Re=x.next_out-Oe,Ve=Za.buf2string(x.output,Oe);x.next_out=Re,x.avail_out=re-Re,Re&&x.output.set(x.output.subarray(Oe,Oe+Re),0),this.onData(Ve)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(Ae===Hg&&be===0)){if(Ae===If)return Ae=Cc.inflateEnd(this.strm),this.onEnd(Ae),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},_g.prototype.onData=function(b){this.chunks.push(b)},_g.prototype.onEnd=function(b){b===Hg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=$a.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function ag(b,z){const x=new _g(z);if(x.push(b),x.err)throw x.msg||YA[x.err];return x.result}function sh(b,z){return z=z||{},z.raw=!0,ag(b,z)}var Ah=_g,Sm=ag,bm=sh,lh=ag,og=tu,A0={Inflate:Ah,inflate:Sm,inflateRaw:bm,ungzip:lh,constants:og};const{Deflate:Nf,deflate:Cm,deflateRaw:Em,gzip:Pm}=mo,{Inflate:xm,inflate:uh,inflateRaw:l0,ungzip:ch}=A0;var dh=Nf,u0=Cm,gh=Em,fh=Pm,c0=xm,Kg=uh,Df=l0,hh=ch,mh=tu,Ep={Deflate:dh,deflate:u0,deflateRaw:gh,gzip:fh,Inflate:c0,inflate:Kg,inflateRaw:Df,ungzip:hh,constants:mh};const d0=[];for(let b=0;b<256;b++){let z=b;for(let x=0;x<8;x++)z&1?z=3988292384^z>>>1:z=z>>>1;d0[b]=z}const g0=4294967295;function Fm(b,z,x){let re=b;for(let oe=0;oe>>8;return re}function ph(b,z){return(Fm(g0,b,z)^g0)>>>0}function bd(b,z,x){const re=b.readUint32(),oe=ph(new Uint8Array(b.buffer,b.byteOffset+b.offset-z-4,z),z);if(oe!==re)throw new Error(`CRC mismatch for chunk ${x}. Expected ${re}, found ${oe}`)}function Lm(b,z){b.writeUint32(ph(new Uint8Array(b.buffer,b.byteOffset+b.offset-z,z),z))}function LA(b,z,x){for(let re=0;re>1)&255}else{for(;Ae>1)&255;for(;Ae>1)&255}}function Pc(b,z,x,re,oe){let Ae=0;if(x.length===0){for(;Ae=x||Pr>=re))for(let dr=0;dr>8&255}const wh=new Uint16Array([255]),Wg=new Uint8Array(wh.buffer)[0]===255,Dm=new Uint8Array(0);function yh(b){const{data:z,width:x,height:re,channels:oe,depth:Ae}=b,Ie=Math.ceil(Ae/8)*oe,be=Math.ceil(Ae/8*oe*x),Oe=new Uint8Array(re*be);let Re=Dm,Ve=0,ct,yt;for(let We=0;We>8&255}const Zg=Uint8Array.of(137,80,78,71,13,10,26,10);function Pp(b){b.writeBytes(Zg)}function Uf(b){if(!Om(b.readBytes(Zg.length)))throw new Error("wrong PNG signature")}function Om(b){if(b.length79)throw new Error("keyword length must be between 1 and 79")}const h0=/^[\u0000-\u00FF]*$/;function Of(b){if(!h0.test(b))throw new Error("invalid latin1 text")}function Ph(b,z,x){const re=xh(z);b[re]=Fh(z,x-re.length-1)}function xp(b,z,x){Eh(z),Of(x);const re=z.length+1+x.length;b.writeUint32(re),b.writeChars(Sh),b.writeChars(z),b.writeByte(bh),b.writeChars(x),writeCrc(b,re+4)}function xh(b){for(b.mark();b.readByte()!==bh;);const z=b.offset;b.reset();const x=Ch.decode(b.readBytes(z-b.offset-1));return b.skip(1),Eh(x),x}function Fh(b,z){return Ch.decode(b.readBytes(z))}const yu={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},m0={UNKNOWN:-1,DEFLATE:0},Lh={UNKNOWN:-1,ADAPTIVE:0},p0={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Qf={NONE:0,BACKGROUND:1,PREVIOUS:2},Vg={SOURCE:0,OVER:1};class Qm extends bl{constructor(x,re={}){super(x);Bs(this,"_checkCrc");Bs(this,"_inflator");Bs(this,"_png");Bs(this,"_apng");Bs(this,"_end");Bs(this,"_hasPalette");Bs(this,"_palette");Bs(this,"_hasTransparency");Bs(this,"_transparency");Bs(this,"_compressionMethod");Bs(this,"_filterMethod");Bs(this,"_interlaceMethod");Bs(this,"_colorType");Bs(this,"_isAnimated");Bs(this,"_numberOfFrames");Bs(this,"_numberOfPlays");Bs(this,"_frames");Bs(this,"_writingDataChunks");const{checkCrc:oe=!1}=re;this._checkCrc=oe,this._inflator=new c0,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=m0.UNKNOWN,this._filterMethod=Lh.UNKNOWN,this._interlaceMethod=p0.UNKNOWN,this._colorType=yu.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Uf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeChunk(x,re)}return this.decodeImage(),this._png}decodeApng(){for(Uf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(x,re)}return this.decodeApngImage(),this._apng}decodeChunk(x,re){const oe=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(x);break;case"IDAT":this.decodeIDAT(x);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(x);break;case"iCCP":this.decodeiCCP(x);break;case Sh:Ph(this._png.text,this,x);break;case"pHYs":this.decodepHYs();break;default:this.skip(x);break}if(this.offset-oe!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?bd(this,x+4,re):this.skip(4)}decodeApngChunk(x,re){const oe=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(x);break;default:this.decodeChunk(x,re),this.offset=oe+x;break}if(this.offset-oe!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?bd(this,x+4,re):this.skip(4)}decodeIHDR(){const x=this._png;x.width=this.readUint32(),x.height=this.readUint32(),x.depth=v0(this.readUint8());const re=this.readUint8();this._colorType=re;let oe;switch(re){case yu.GREYSCALE:oe=1;break;case yu.TRUECOLOUR:oe=3;break;case yu.INDEXED_COLOUR:oe=1;break;case yu.GREYSCALE_ALPHA:oe=2;break;case yu.TRUECOLOUR_ALPHA:oe=4;break;case yu.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=oe,this._compressionMethod=this.readUint8(),this._compressionMethod!==m0.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const x={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(x)}decodePLTE(x){if(x%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${x}`);const re=x/3;this._hasPalette=!0;const oe=[];this._palette=oe;for(let Ae=0;Aethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${x/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(x/2);for(let re=0;rethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${x} vs ${this._palette.length})`);let re=0;for(;re{const Oe=((Ie+re.yOffset)*this._png.width+re.xOffset+be)*this._png.channels,Re=(Ie*re.width+be)*this._png.channels;return{index:Oe,frameIndex:Re}};switch(re.blendOp){case Vg.SOURCE:for(let Ie=0;Iere.at(-1)!==255);this.writeUint32(x.length),this.writeChars("tRNS");for(const re of x)this.writeByte(re.at(-1));writeCrc(this,4+x.length)}encodeIDAT(x){this.writeUint32(x.length),this.writeChars("IDAT"),this.writeBytes(x),writeCrc(this,x.length+4)}encodeData(){const{width:x,height:re,channels:oe,depth:Ae,data:Ie}=this._png,be=Ae<=8?Math.ceil(x*Ae/8)*oe:Math.ceil(x*Ae/8*oe/2),Oe=new IOBuffer().setBigEndian();let Re=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let yt=0;yt0)return b;throw new TypeError(`${z} must be a positive integer`)}function kf(b,z){const{channels:x=4,depth:re=8}=b;if(x!==4&&x!==3&&x!==2&&x!==1)throw new RangeError(`unsupported number of channels: ${x}`);const oe={channels:x,depth:re,colorType:ColorType.UNKNOWN};switch(x){case 4:oe.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:oe.colorType=ColorType.TRUECOLOUR;break;case 1:z?oe.colorType=ColorType.INDEXED_COLOUR:oe.colorType=ColorType.GREYSCALE;break;case 2:oe.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return oe}function Qu(b,z,x,re){for(let oe=0;oe>8&255),x.writeByte(mn&255)}}return re}function Ss(b,z,x,re){for(let oe=0;oe=200&&z.status<=299}function Rf(b){try{b.dispatchEvent(new MouseEvent("click"))}catch(x){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),b.dispatchEvent(z)}}var qc=Jo.saveAs||((typeof window=="undefined"?"undefined":(0,me.Z)(window))!=="object"||window!==Jo?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(b,z,x){var re=Jo.URL||Jo.webkitURL,oe=document.createElement("a");z=z||b.name||"download",oe.download=z,oe.rel="noopener",typeof b=="string"?(oe.href=b,oe.origin!==location.origin?y0(oe.href)?w0(b,z,x):Rf(oe,oe.target="_blank"):Rf(oe)):(oe.href=re.createObjectURL(b),setTimeout(function(){re.revokeObjectURL(oe.href)},4e4),setTimeout(function(){Rf(oe)},0))}:"msSaveOrOpenBlob"in navigator?function(b,z,x){if(z=z||b.name||"download",typeof b=="string")if(y0(b))w0(b,z,x);else{var re=document.createElement("a");re.href=b,re.target="_blank",setTimeout(function(){Rf(re)})}else navigator.msSaveOrOpenBlob(function(oe,Ae){return Ae===void 0?Ae={autoBom:!1}:(0,me.Z)(Ae)!=="object"&&(Vs.warn("Deprecated: Expected third argument to be a object"),Ae={autoBom:!Ae}),Ae.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(oe.type)?new Blob(["\uFEFF",oe],{type:oe.type}):oe}(b,x),z)}:function(b,z,x,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof b=="string")return w0(b,z,x);var oe=b.type==="application/octet-stream",Ae=/constructor/i.test(Jo.HTMLElement)||Jo.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ie||oe&&Ae)&&(typeof FileReader=="undefined"?"undefined":(0,me.Z)(FileReader))==="object"){var be=new FileReader;be.onloadend=function(){var Ve=be.result;Ve=Ie?Ve:Ve.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=Ve:location=Ve,re=null},be.readAsDataURL(b)}else{var Oe=Jo.URL||Jo.webkitURL,Re=Oe.createObjectURL(b);re?re.location=Re:location.href=Re,re=null,setTimeout(function(){Oe.revokeObjectURL(Re)},4e4)}});function Ih(b){var z;b=b||"",this.ok=!1,b.charAt(0)=="#"&&(b=b.substr(1,6)),b={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"}[b=(b=b.replace(/ /g,"")).toLowerCase()]||b;for(var x=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(be){return[parseInt(be[1]),parseInt(be[2]),parseInt(be[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(be){return[parseInt(be[1],16),parseInt(be[2],16),parseInt(be[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(be){return[parseInt(be[1]+be[1],16),parseInt(be[2]+be[2],16),parseInt(be[3]+be[3],16)]}}],re=0;re255?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 be=this.r.toString(16),Oe=this.g.toString(16),Re=this.b.toString(16);return be.length==1&&(be="0"+be),Oe.length==1&&(Oe="0"+Oe),Re.length==1&&(Re="0"+Re),"#"+be+Oe+Re}}var Yg=Jo.atob.bind(Jo),S0=Jo.btoa.bind(Jo);function Xg(b,z){var x=b[0],re=b[1],oe=b[2],Ae=b[3];x=Ul(x,re,oe,Ae,z[0],7,-680876936),Ae=Ul(Ae,x,re,oe,z[1],12,-389564586),oe=Ul(oe,Ae,x,re,z[2],17,606105819),re=Ul(re,oe,Ae,x,z[3],22,-1044525330),x=Ul(x,re,oe,Ae,z[4],7,-176418897),Ae=Ul(Ae,x,re,oe,z[5],12,1200080426),oe=Ul(oe,Ae,x,re,z[6],17,-1473231341),re=Ul(re,oe,Ae,x,z[7],22,-45705983),x=Ul(x,re,oe,Ae,z[8],7,1770035416),Ae=Ul(Ae,x,re,oe,z[9],12,-1958414417),oe=Ul(oe,Ae,x,re,z[10],17,-42063),re=Ul(re,oe,Ae,x,z[11],22,-1990404162),x=Ul(x,re,oe,Ae,z[12],7,1804603682),Ae=Ul(Ae,x,re,oe,z[13],12,-40341101),oe=Ul(oe,Ae,x,re,z[14],17,-1502002290),x=fl(x,re=Ul(re,oe,Ae,x,z[15],22,1236535329),oe,Ae,z[1],5,-165796510),Ae=fl(Ae,x,re,oe,z[6],9,-1069501632),oe=fl(oe,Ae,x,re,z[11],14,643717713),re=fl(re,oe,Ae,x,z[0],20,-373897302),x=fl(x,re,oe,Ae,z[5],5,-701558691),Ae=fl(Ae,x,re,oe,z[10],9,38016083),oe=fl(oe,Ae,x,re,z[15],14,-660478335),re=fl(re,oe,Ae,x,z[4],20,-405537848),x=fl(x,re,oe,Ae,z[9],5,568446438),Ae=fl(Ae,x,re,oe,z[14],9,-1019803690),oe=fl(oe,Ae,x,re,z[3],14,-187363961),re=fl(re,oe,Ae,x,z[8],20,1163531501),x=fl(x,re,oe,Ae,z[13],5,-1444681467),Ae=fl(Ae,x,re,oe,z[2],9,-51403784),oe=fl(oe,Ae,x,re,z[7],14,1735328473),x=Ol(x,re=fl(re,oe,Ae,x,z[12],20,-1926607734),oe,Ae,z[5],4,-378558),Ae=Ol(Ae,x,re,oe,z[8],11,-2022574463),oe=Ol(oe,Ae,x,re,z[11],16,1839030562),re=Ol(re,oe,Ae,x,z[14],23,-35309556),x=Ol(x,re,oe,Ae,z[1],4,-1530992060),Ae=Ol(Ae,x,re,oe,z[4],11,1272893353),oe=Ol(oe,Ae,x,re,z[7],16,-155497632),re=Ol(re,oe,Ae,x,z[10],23,-1094730640),x=Ol(x,re,oe,Ae,z[13],4,681279174),Ae=Ol(Ae,x,re,oe,z[0],11,-358537222),oe=Ol(oe,Ae,x,re,z[3],16,-722521979),re=Ol(re,oe,Ae,x,z[6],23,76029189),x=Ol(x,re,oe,Ae,z[9],4,-640364487),Ae=Ol(Ae,x,re,oe,z[12],11,-421815835),oe=Ol(oe,Ae,x,re,z[15],16,530742520),x=Ql(x,re=Ol(re,oe,Ae,x,z[2],23,-995338651),oe,Ae,z[0],6,-198630844),Ae=Ql(Ae,x,re,oe,z[7],10,1126891415),oe=Ql(oe,Ae,x,re,z[14],15,-1416354905),re=Ql(re,oe,Ae,x,z[5],21,-57434055),x=Ql(x,re,oe,Ae,z[12],6,1700485571),Ae=Ql(Ae,x,re,oe,z[3],10,-1894986606),oe=Ql(oe,Ae,x,re,z[10],15,-1051523),re=Ql(re,oe,Ae,x,z[1],21,-2054922799),x=Ql(x,re,oe,Ae,z[8],6,1873313359),Ae=Ql(Ae,x,re,oe,z[15],10,-30611744),oe=Ql(oe,Ae,x,re,z[6],15,-1560198380),re=Ql(re,oe,Ae,x,z[13],21,1309151649),x=Ql(x,re,oe,Ae,z[4],6,-145523070),Ae=Ql(Ae,x,re,oe,z[11],10,-1120210379),oe=Ql(oe,Ae,x,re,z[2],15,718787259),re=Ql(re,oe,Ae,x,z[9],21,-343485551),b[0]=ic(x,b[0]),b[1]=ic(re,b[1]),b[2]=ic(oe,b[2]),b[3]=ic(Ae,b[3])}function Jg(b,z,x,re,oe,Ae){return z=ic(ic(z,b),ic(re,Ae)),ic(z<>>32-oe,x)}function Ul(b,z,x,re,oe,Ae,Ie){return Jg(z&x|~z&re,b,z,oe,Ae,Ie)}function fl(b,z,x,re,oe,Ae,Ie){return Jg(z&re|x&~re,b,z,oe,Ae,Ie)}function Ol(b,z,x,re,oe,Ae,Ie){return Jg(z^x^re,b,z,oe,Ae,Ie)}function Ql(b,z,x,re,oe,Ae,Ie){return Jg(x^(z|~re),b,z,oe,Ae,Ie)}function Nh(b){var z,x=b.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=b.length;z+=64)Xg(re,jf(b.substring(z-64,z)));b=b.substring(z-64);var oe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z>2]|=b.charCodeAt(z)<<(z%4<<3);if(oe[z>>2]|=128<<(z%4<<3),z>55)for(Xg(re,oe),z=0;z<16;z++)oe[z]=0;return oe[14]=8*x,Xg(re,oe),re}function jf(b){var z,x=[];for(z=0;z<64;z+=4)x[z>>2]=b.charCodeAt(z)+(b.charCodeAt(z+1)<<8)+(b.charCodeAt(z+2)<<16)+(b.charCodeAt(z+3)<<24);return x}var Su="0123456789abcdef".split("");function Dh(b){for(var z="",x=0;x<4;x++)z+=Su[b>>8*x+4&15]+Su[b>>8*x&15];return z}function Hf(b){return String.fromCharCode(255&b,(65280&b)>>8,(16711680&b)>>16,(4278190080&b)>>24)}function b0(b){return Nh(b).map(Hf).join("")}var Rm=function(b){for(var z=0;z>16)+(z>>16)+(x>>16)<<16|65535&x}return b+z&4294967295}function $c(b,z){var x,re,oe,Ae;if(b!==x){for(var Ie=(oe=b,Ae=1+(256/b.length|0),new Array(Ae+1).join(oe)),be=[],Oe=0;Oe<256;Oe++)be[Oe]=Oe;var Re=0;for(Oe=0;Oe<256;Oe++){var Ve=be[Oe];Re=(Re+Ve+Ie.charCodeAt(Oe))%256,be[Oe]=be[Re],be[Re]=Ve}x=b,re=be}else be=re;var ct=z.length,yt=0,We=0,Gt="";for(Oe=0;Oe\x80/\f\xA9\xFEdSiz";var Ae=(z+this.padding).substr(0,32),Ie=(x+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ae,Ie),this.P=-(1+(255^oe)),this.encryptionKey=b0(Ae+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=$c(this.encryptionKey,this.padding)}function zu(b){if(/[^\u0000-\u00ff]/.test(b))throw new Error("Invalid PDF Name Object: "+b+", Only accept ASCII characters.");for(var z="",x=b.length,re=0;re126?"#"+("0"+oe.toString(16)).slice(-2):b[re]}return z}function Uh(b){if((0,me.Z)(b)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(x,re,oe){if(oe=oe||!1,typeof x!="string"||typeof re!="function"||typeof oe!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(x)||(z[x]={});var Ae=Math.random().toString(35);return z[x][Ae]=[re,!!oe],Ae},this.unsubscribe=function(x){for(var re in z)if(z[re][x])return delete z[re][x],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(x){if(z.hasOwnProperty(x)){var re=Array.prototype.slice.call(arguments,1),oe=[];for(var Ae in z[x]){var Ie=z[x][Ae];try{Ie[0].apply(b,re)}catch(be){Jo.console&&Vs.error("jsPDF PubSub Error",be.message,be)}Ie[1]&&oe.push(Ae)}oe.length&&oe.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function $g(b){if(!(this instanceof $g))return new $g(b);var z="opacity,stroke-opacity".split(",");for(var x in b)b.hasOwnProperty(x)&&z.indexOf(x)>=0&&(this[x]=b[x]);this.id="",this.objectNumber=-1}function C0(b,z){this.gState=b,this.matrix=z,this.id="",this.objectNumber=-1}function ed(b,z,x,re,oe){if(!(this instanceof ed))return new ed(b,z,x,re,oe);this.type=b==="axial"?2:3,this.coords=z,this.colors=x,C0.call(this,re,oe)}function td(b,z,x,re,oe){if(!(this instanceof td))return new td(b,z,x,re,oe);this.boundingBox=b,this.xStep=z,this.yStep=x,this.stream="",this.cloneIndex=0,C0.call(this,re,oe)}function Ao(b){var z,x=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],oe=arguments[2],Ae=arguments[3],Ie=[],be=1,Oe=16,Re="S",Ve=null;(0,me.Z)(b=b||{})==="object"&&(x=b.orientation,re=b.unit||re,oe=b.format||oe,Ae=b.compress||b.compressPdf||Ae,(Ve=b.encryption||null)!==null&&(Ve.userPassword=Ve.userPassword||"",Ve.ownerPassword=Ve.ownerPassword||"",Ve.userPermissions=Ve.userPermissions||[]),be=typeof b.userUnit=="number"?Math.abs(b.userUnit):1,b.precision!==void 0&&(z=b.precision),b.floatPrecision!==void 0&&(Oe=b.floatPrecision),Re=b.defaultPathOperation||"S"),Ie=b.filters||(Ae===!0?["FlateEncode"]:Ie),re=re||"mm",x=(""+(x||"P")).toLowerCase();var ct=b.putOnlyUsedFonts||!1,yt={},We={internal:{},__private__:{}};We.__private__.PubSub=Uh;var Gt="1.3",Ht=We.__private__.getPdfVersion=function(){return Gt};We.__private__.setPdfVersion=function(ke){Gt=ke};var Zt={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]};We.__private__.getPageFormats=function(){return Zt};var Ut=We.__private__.getPageFormat=function(ke){return Zt[ke]};oe=oe||"a4";var Fn="compat",mn="advanced",An=Fn;function nr(){this.saveGraphicsState(),Jt(new Vo(Ni,0,0,-Ni,0,lf()*Ni).toString()+" cm"),this.setFontSize(this.getFontSize()/Ni),Re="n",An=mn}function Pr(){this.restoreGraphicsState(),Re="S",An=Fn}var dr=We.__private__.combineFontStyleAndFontWeight=function(ke,ft){if(ke=="bold"&&ft=="normal"||ke=="bold"&&ft==400||ke=="normal"&&ft=="italic"||ke=="bold"&&ft=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return ft&&(ke=ft==400||ft==="normal"?ke==="italic"?"italic":"normal":ft!=700&&ft!=="bold"||ke!=="normal"?(ft==700?"bold":ft)+""+ke:"bold"),ke};We.advancedAPI=function(ke){var ft=An===Fn;return ft&&nr.call(this),typeof ke!="function"||(ke(this),ft&&Pr.call(this)),this},We.compatAPI=function(ke){var ft=An===mn;return ft&&Pr.call(this),typeof ke!="function"||(ke(this),ft&&nr.call(this)),this},We.isAdvancedAPI=function(){return An===mn};var kn,ln=function(ke){if(An!==mn)throw new Error(ke+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Wn=We.roundToPrecision=We.__private__.roundToPrecision=function(ke,ft){var rn=z||ft;if(isNaN(ke)||isNaN(rn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ke.toFixed(rn).replace(/0+$/,"")};kn=We.hpf=We.__private__.hpf=typeof Oe=="number"?function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Wn(ke,Oe)}:Oe==="smart"?function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Wn(ke,ke>-1&&ke<1?16:5)}:function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Wn(ke,16)};var Nt=We.f2=We.__private__.f2=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.f2");return Wn(ke,2)},Xt=We.__private__.f3=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.f3");return Wn(ke,3)},Cn=We.scale=We.__private__.scale=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.scale");return An===Fn?ke*Ni:An===mn?ke:void 0},Bn=function(ke){return Cn(function(ft){return An===Fn?lf()-ft:An===mn?ft:void 0}(ke))};We.__private__.setPrecision=We.setPrecision=function(ke){typeof parseInt(ke,10)=="number"&&(z=parseInt(ke,10))};var or,cr="00000000000000000000000000000000",mr=We.__private__.getFileId=function(){return cr},er=We.__private__.setFileId=function(ke){return cr=ke!==void 0&&/^[a-fA-F0-9]{32}$/.test(ke)?ke.toUpperCase():cr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ve!==null&&(hl=new sg(Ve.userPermissions,Ve.userPassword,Ve.ownerPassword,cr)),cr};We.setFileId=function(ke){return er(ke),this},We.getFileId=function(){return mr()};var Br=We.__private__.convertDateToPDFDate=function(ke){var ft=ke.getTimezoneOffset(),rn=ft<0?"+":"-",Sn=Math.floor(Math.abs(ft/60)),Gn=Math.abs(ft%60),Lr=[rn,cn(Sn),"'",cn(Gn),"'"].join("");return["D:",ke.getFullYear(),cn(ke.getMonth()+1),cn(ke.getDate()),cn(ke.getHours()),cn(ke.getMinutes()),cn(ke.getSeconds()),Lr].join("")},ca=We.__private__.convertPDFDateToDate=function(ke){var ft=parseInt(ke.substr(2,4),10),rn=parseInt(ke.substr(6,2),10)-1,Sn=parseInt(ke.substr(8,2),10),Gn=parseInt(ke.substr(10,2),10),Lr=parseInt(ke.substr(12,2),10),Gr=parseInt(ke.substr(14,2),10);return new Date(ft,rn,Sn,Gn,Lr,Gr,0)},Kr=We.__private__.setCreationDate=function(ke){var ft;if(ke===void 0&&(ke=new Date),ke instanceof Date)ft=Br(ke);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(ke))throw new Error("Invalid argument passed to jsPDF.setCreationDate");ft=ke}return or=ft},xt=We.__private__.getCreationDate=function(ke){var ft=or;return ke==="jsDate"&&(ft=ca(or)),ft};We.setCreationDate=function(ke){return Kr(ke),this},We.getCreationDate=function(ke){return xt(ke)};var on,cn=We.__private__.padd2=function(ke){return("0"+parseInt(ke)).slice(-2)},Nn=We.__private__.padd2Hex=function(ke){return("00"+(ke=ke.toString())).substr(ke.length)},Mn=0,Jn=[],gr=[],pr=0,Or=[],Aa=[],Da=!1,Pa=gr;We.__private__.setCustomOutputDestination=function(ke){Da=!0,Pa=ke};var Do=function(ke){Da||(Pa=ke)};We.__private__.resetCustomOutputDestination=function(){Da=!1,Pa=gr};var Jt=We.__private__.out=function(ke){return ke=ke.toString(),pr+=ke.length+1,Pa.push(ke),Pa},Ua=We.__private__.write=function(ke){return Jt(arguments.length===1?ke.toString():Array.prototype.join.call(arguments," "))},Hi=We.__private__.getArrayBuffer=function(ke){for(var ft=ke.length,rn=new ArrayBuffer(ft),Sn=new Uint8Array(rn);ft--;)Sn[ft]=ke.charCodeAt(ft);return rn},zo=[["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]];We.__private__.getStandardFonts=function(){return zo};var $r=b.fontSize||16;We.__private__.setFontSize=We.setFontSize=function(ke){return $r=An===mn?ke/Ni:ke,this};var Go,to=We.__private__.getFontSize=We.getFontSize=function(){return An===Fn?$r:$r*Ni},Ho=b.R2L||!1;We.__private__.setR2L=We.setR2L=function(ke){return Ho=ke,this},We.__private__.getR2L=We.getR2L=function(){return Ho};var Oo,Rs=We.__private__.setZoomMode=function(ke){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ke))Go=ke;else if(isNaN(ke)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(ke)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ke+'" is not recognized.');Go=ke}else Go=parseInt(ke,10)};We.__private__.getZoomMode=function(){return Go};var ts,Si=We.__private__.setPageMode=function(ke){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ke)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ke+'" is not recognized.');Oo=ke};We.__private__.getPageMode=function(){return Oo};var os=We.__private__.setLayoutMode=function(ke){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ke)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ke+'" is not recognized.');ts=ke};We.__private__.getLayoutMode=function(){return ts},We.__private__.setDisplayMode=We.setDisplayMode=function(ke,ft,rn){return Rs(ke),os(ft),Si(rn),this};var ns={title:"",subject:"",author:"",keywords:"",creator:""};We.__private__.getDocumentProperty=function(ke){if(Object.keys(ns).indexOf(ke)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ns[ke]},We.__private__.getDocumentProperties=function(){return ns},We.__private__.setDocumentProperties=We.setProperties=We.setDocumentProperties=function(ke){for(var ft in ns)ns.hasOwnProperty(ft)&&ke[ft]&&(ns[ft]=ke[ft]);return this},We.__private__.setDocumentProperty=function(ke,ft){if(Object.keys(ns).indexOf(ke)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ns[ke]=ft};var po,Ni,Co,qA,ms,_i={},Ki={},NA=[],ko={},mA={},$o={},bi={},DA=null,Yi=0,Zo=[],js=new Uh(We),ef=b.hotfixes||[],cu={},Ld={},sd=[],Vo=function ke(ft,rn,Sn,Gn,Lr,Gr){if(!(this instanceof ke))return new ke(ft,rn,Sn,Gn,Lr,Gr);isNaN(ft)&&(ft=1),isNaN(rn)&&(rn=0),isNaN(Sn)&&(Sn=0),isNaN(Gn)&&(Gn=1),isNaN(Lr)&&(Lr=0),isNaN(Gr)&&(Gr=0),this._matrix=[ft,rn,Sn,Gn,Lr,Gr]};Object.defineProperty(Vo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ke){this._matrix[0]=ke}}),Object.defineProperty(Vo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ke){this._matrix[1]=ke}}),Object.defineProperty(Vo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ke){this._matrix[2]=ke}}),Object.defineProperty(Vo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ke){this._matrix[3]=ke}}),Object.defineProperty(Vo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ke){this._matrix[4]=ke}}),Object.defineProperty(Vo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ke){this._matrix[5]=ke}}),Object.defineProperty(Vo.prototype,"a",{get:function(){return this._matrix[0]},set:function(ke){this._matrix[0]=ke}}),Object.defineProperty(Vo.prototype,"b",{get:function(){return this._matrix[1]},set:function(ke){this._matrix[1]=ke}}),Object.defineProperty(Vo.prototype,"c",{get:function(){return this._matrix[2]},set:function(ke){this._matrix[2]=ke}}),Object.defineProperty(Vo.prototype,"d",{get:function(){return this._matrix[3]},set:function(ke){this._matrix[3]=ke}}),Object.defineProperty(Vo.prototype,"e",{get:function(){return this._matrix[4]},set:function(ke){this._matrix[4]=ke}}),Object.defineProperty(Vo.prototype,"f",{get:function(){return this._matrix[5]},set:function(ke){this._matrix[5]=ke}}),Object.defineProperty(Vo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Vo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Vo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Vo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Vo.prototype.join=function(ke){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(kn).join(ke)},Vo.prototype.multiply=function(ke){var ft=ke.sx*this.sx+ke.shy*this.shx,rn=ke.sx*this.shy+ke.shy*this.sy,Sn=ke.shx*this.sx+ke.sy*this.shx,Gn=ke.shx*this.shy+ke.sy*this.sy,Lr=ke.tx*this.sx+ke.ty*this.shx+this.tx,Gr=ke.tx*this.shy+ke.ty*this.sy+this.ty;return new Vo(ft,rn,Sn,Gn,Lr,Gr)},Vo.prototype.decompose=function(){var ke=this.sx,ft=this.shy,rn=this.shx,Sn=this.sy,Gn=this.tx,Lr=this.ty,Gr=Math.sqrt(ke*ke+ft*ft),oo=(ke/=Gr)*rn+(ft/=Gr)*Sn;rn-=ke*oo,Sn-=ft*oo;var vo=Math.sqrt(rn*rn+Sn*Sn);return oo/=vo,ke*(Sn/=vo)>16&255,Sn=vo>>8&255,Gn=255&vo}if(Sn===void 0||Lr===void 0&&rn===Sn&&Sn===Gn)ft=typeof rn=="string"?rn+" "+Gr[0]:ke.precision===2?Nt(rn/255)+" "+Gr[0]:Xt(rn/255)+" "+Gr[0];else if(Lr===void 0||(0,me.Z)(Lr)==="object"){if(Lr&&!isNaN(Lr.a)&&Lr.a===0)return["1.","1.","1.",Gr[1]].join(" ");ft=typeof rn=="string"?[rn,Sn,Gn,Gr[1]].join(" "):ke.precision===2?[Nt(rn/255),Nt(Sn/255),Nt(Gn/255),Gr[1]].join(" "):[Xt(rn/255),Xt(Sn/255),Xt(Gn/255),Gr[1]].join(" ")}else ft=typeof rn=="string"?[rn,Sn,Gn,Lr,Gr[2]].join(" "):ke.precision===2?[Nt(rn),Nt(Sn),Nt(Gn),Nt(Lr),Gr[2]].join(" "):[Xt(rn),Xt(Sn),Xt(Gn),Xt(Lr),Gr[2]].join(" ");return ft},Qc=We.__private__.getFilters=function(){return Ie},cc=We.__private__.putStream=function(ke){var ft=(ke=ke||{}).data||"",rn=ke.filters||Qc(),Sn=ke.alreadyAppliedFilters||[],Gn=ke.addLength1||!1,Lr=ft.length,Gr=ke.objectId,oo=function(ml){return ml};if(Ve!==null&&Gr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ve!==null&&(oo=hl.encryptor(Gr,0));var vo={};rn===!0&&(rn=["FlateEncode"]);var di=ke.additionalKeyValues||[],Di=(vo=Ao.API.processDataByFilters!==void 0?Ao.API.processDataByFilters(ft,rn):{data:ft,reverseChain:[]}).reverseChain+(Array.isArray(Sn)?Sn.join(" "):Sn.toString());if(vo.data.length!==0&&(di.push({key:"Length",value:vo.data.length}),Gn===!0&&di.push({key:"Length1",value:Lr})),Di.length!=0)if(Di.split("/").length-1==1)di.push({key:"Filter",value:Di});else{di.push({key:"Filter",value:"["+Di+"]"});for(var ps=0;ps>"),vo.data.length!==0&&(Jt("stream"),Jt(oo(vo.data)),Jt("endstream"))},nf=We.__private__.putPage=function(ke){var ft=ke.number,rn=ke.data,Sn=ke.objId,Gn=ke.contentsObjId;Gl(Sn,!0),Jt("<>"),Jt("endobj");var Lr=rn.join(` `);return An===mn&&(Lr+=` Q`),Gl(Gn,!0),cc({data:Lr,filters:Qc(),objectId:Gn}),Jt("endobj"),Sn},ld=We.__private__.putPages=function(){var ke,ft,rn=[];for(ke=1;ke<=Yi;ke++)Zo[ke].objId=Tl(),Zo[ke].contentsObjId=Tl();for(ke=1;ke<=Yi;ke++)rn.push(nf({number:ke,data:Aa[ke],objId:Zo[ke].objId,contentsObjId:Zo[ke].contentsObjId,mediaBox:Zo[ke].mediaBox,cropBox:Zo[ke].cropBox,bleedBox:Zo[ke].bleedBox,trimBox:Zo[ke].trimBox,artBox:Zo[ke].artBox,userUnit:Zo[ke].userUnit,rootDictionaryObjId:cg,resourceDictionaryObjId:Uc}));Gl(cg,!0),Jt("<>"),Jt("endobj"),js.publish("postPutPages")},rf=function(ke){js.publish("putFont",{font:ke,out:Jt,newObject:GA,putStream:cc}),ke.isAlreadyPutted!==!0&&(ke.objectNumber=GA(),Jt("<<"),Jt("/Type /Font"),Jt("/BaseFont /"+zu(ke.postScriptName)),Jt("/Subtype /Type1"),typeof ke.encoding=="string"&&Jt("/Encoding /"+ke.encoding),Jt("/FirstChar 32"),Jt("/LastChar 255"),Jt(">>"),Jt("endobj"))},_f=function(ke){ke.objectNumber=GA();var ft=[];ft.push({key:"Type",value:"/XObject"}),ft.push({key:"Subtype",value:"/Form"}),ft.push({key:"BBox",value:"["+[kn(ke.x),kn(ke.y),kn(ke.x+ke.width),kn(ke.y+ke.height)].join(" ")+"]"}),ft.push({key:"Matrix",value:"["+ke.matrix.toString()+"]"});var rn=ke.pages[1].join(` `);cc({data:rn,additionalKeyValues:ft,objectId:ke.objectNumber}),Jt("endobj")},Kf=function(ke,ft){ft||(ft=21);var rn=GA(),Sn=function(Gr,oo){var vo,di=[],Di=1/(oo-1);for(vo=0;vo<1;vo+=Di)di.push(vo);if(di.push(1),Gr[0].offset!=0){var ps={offset:0,color:Gr[0].color};Gr.unshift(ps)}if(Gr[Gr.length-1].offset!=1){var HA={offset:1,color:Gr[Gr.length-1].color};Gr.push(HA)}for(var ll="",pA=0,ml=0;mlGr[pA+1].offset;)pA++;var ul=Gr[pA].offset,Wl=(vo-ul)/(Gr[pA+1].offset-ul),jd=Gr[pA].color,Tc=Gr[pA+1].color;ll+=Nn(Math.round((1-Wl)*jd[0]+Wl*Tc[0]).toString(16))+Nn(Math.round((1-Wl)*jd[1]+Wl*Tc[1]).toString(16))+Nn(Math.round((1-Wl)*jd[2]+Wl*Tc[2]).toString(16))}return ll.trim()}(ke.colors,ft),Gn=[];Gn.push({key:"FunctionType",value:"0"}),Gn.push({key:"Domain",value:"[0.0 1.0]"}),Gn.push({key:"Size",value:"["+ft+"]"}),Gn.push({key:"BitsPerSample",value:"8"}),Gn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Gn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),cc({data:Sn,additionalKeyValues:Gn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:rn}),Jt("endobj"),ke.objectNumber=GA(),Jt("<< /ShadingType "+ke.type),Jt("/ColorSpace /DeviceRGB");var Lr="/Coords ["+kn(parseFloat(ke.coords[0]))+" "+kn(parseFloat(ke.coords[1]))+" ";ke.type===2?Lr+=kn(parseFloat(ke.coords[2]))+" "+kn(parseFloat(ke.coords[3])):Lr+=kn(parseFloat(ke.coords[2]))+" "+kn(parseFloat(ke.coords[3]))+" "+kn(parseFloat(ke.coords[4]))+" "+kn(parseFloat(ke.coords[5])),Jt(Lr+="]"),ke.matrix&&Jt("/Matrix ["+ke.matrix.toString()+"]"),Jt("/Function "+rn+" 0 R"),Jt("/Extend [true true]"),Jt(">>"),Jt("endobj")},zf=function(ke,ft){var rn=Tl(),Sn=GA();ft.push({resourcesOid:rn,objectOid:Sn}),ke.objectNumber=Sn;var Gn=[];Gn.push({key:"Type",value:"/Pattern"}),Gn.push({key:"PatternType",value:"1"}),Gn.push({key:"PaintType",value:"1"}),Gn.push({key:"TilingType",value:"1"}),Gn.push({key:"BBox",value:"["+ke.boundingBox.map(kn).join(" ")+"]"}),Gn.push({key:"XStep",value:kn(ke.xStep)}),Gn.push({key:"YStep",value:kn(ke.yStep)}),Gn.push({key:"Resources",value:rn+" 0 R"}),ke.matrix&&Gn.push({key:"Matrix",value:"["+ke.matrix.toString()+"]"}),cc({data:ke.stream,additionalKeyValues:Gn,objectId:ke.objectNumber}),Jt("endobj")},Gm=function(ke){for(var ft in ke.objectNumber=GA(),Jt("<<"),ke)switch(ft){case"opacity":Jt("/ca "+Nt(ke[ft]));break;case"stroke-opacity":Jt("/CA "+Nt(ke[ft]))}Jt(">>"),Jt("endobj")},P0=function(ke){Gl(ke.resourcesOid,!0),Jt("<<"),Jt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var ft in Jt("/Font <<"),_i)_i.hasOwnProperty(ft)&&(ct===!1||ct===!0&&yt.hasOwnProperty(ft))&&Jt("/"+ft+" "+_i[ft].objectNumber+" 0 R");Jt(">>")}(),function(){if(Object.keys(ko).length>0){for(var ft in Jt("/Shading <<"),ko)ko.hasOwnProperty(ft)&&ko[ft]instanceof ed&&ko[ft].objectNumber>=0&&Jt("/"+ft+" "+ko[ft].objectNumber+" 0 R");js.publish("putShadingPatternDict"),Jt(">>")}}(),function(ft){if(Object.keys(ko).length>0){for(var rn in Jt("/Pattern <<"),ko)ko.hasOwnProperty(rn)&&ko[rn]instanceof We.TilingPattern&&ko[rn].objectNumber>=0&&ko[rn].objectNumber>")}}(ke.objectOid),function(){if(Object.keys($o).length>0){var ft;for(ft in Jt("/ExtGState <<"),$o)$o.hasOwnProperty(ft)&&$o[ft].objectNumber>=0&&Jt("/"+ft+" "+$o[ft].objectNumber+" 0 R");js.publish("putGStateDict"),Jt(">>")}}(),function(){for(var ft in Jt("/XObject <<"),cu)cu.hasOwnProperty(ft)&&cu[ft].objectNumber>=0&&Jt("/"+ft+" "+cu[ft].objectNumber+" 0 R");js.publish("putXobjectDict"),Jt(">>")}(),Jt(">>"),Jt("endobj")},kh=function(ke){Ki[ke.fontName]=Ki[ke.fontName]||{},Ki[ke.fontName][ke.fontStyle]=ke.id},Th=function(ke,ft,rn,Sn,Gn){var Lr={id:"F"+(Object.keys(_i).length+1).toString(10),postScriptName:ke,fontName:ft,fontStyle:rn,encoding:Sn,isStandardFont:Gn||!1,metadata:{}};return js.publish("addFont",{font:Lr,instance:this}),_i[Lr.id]=Lr,kh(Lr),Lr.id},dc=We.__private__.pdfEscape=We.pdfEscape=function(ke,ft){return function(rn,Sn){var Gn,Lr,Gr,oo,vo,di,Di,ps,HA;if(Gr=(Sn=Sn||{}).sourceEncoding||"Unicode",vo=Sn.outputEncoding,(Sn.autoencode||vo)&&_i[po].metadata&&_i[po].metadata[Gr]&&_i[po].metadata[Gr].encoding&&(oo=_i[po].metadata[Gr].encoding,!vo&&_i[po].encoding&&(vo=_i[po].encoding),!vo&&oo.codePages&&(vo=oo.codePages[0]),typeof vo=="string"&&(vo=oo[vo]),vo)){for(Di=!1,di=[],Gn=0,Lr=rn.length;Gn>8&&(Di=!0);rn=di.join("")}for(Gn=rn.length;Di===void 0&&Gn!==0;)rn.charCodeAt(Gn-1)>>8&&(Di=!0),Gn--;if(!Di)return rn;for(di=Sn.noBOM?[]:[254,255],Gn=0,Lr=rn.length;Gn>8)>>8)throw new Error("Character at position "+Gn+" of string '"+rn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");di.push(HA),di.push(ps-(HA<<8))}return String.fromCharCode.apply(void 0,di)}(ke,ft).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},x0=We.__private__.beginPage=function(ke){Aa[++Yi]=[],Zo[Yi]={objId:0,contentsObjId:0,userUnit:Number(be),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ke[0]),topRightY:Number(ke[1])}},jh(Yi),Do(Aa[on])},Rh=function(ke,ft){var rn,Sn,Gn;switch(x=ft||x,typeof ke=="string"&&(rn=Ut(ke.toLowerCase()),Array.isArray(rn)&&(Sn=rn[0],Gn=rn[1])),Array.isArray(ke)&&(Sn=ke[0]*Ni,Gn=ke[1]*Ni),isNaN(Sn)&&(Sn=oe[0],Gn=oe[1]),(Sn>14400||Gn>14400)&&(Vs.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Sn=Math.min(14400,Sn),Gn=Math.min(14400,Gn)),oe=[Sn,Gn],x.substr(0,1)){case"l":Gn>Sn&&(oe=[Gn,Sn]);break;case"p":Sn>Gn&&(oe=[Gn,Sn])}x0(oe),mi(I0),Jt(Vf),D0!==0&&Jt(D0+" J"),U0!==0&&Jt(U0+" j"),js.publish("addPage",{pageNumber:Yi})},F0=function(ke){ke>0&&ke<=Yi&&(Aa.splice(ke,1),Zo.splice(ke,1),Yi--,on>Yi&&(on=Yi),this.setPage(on))},jh=function(ke){ke>0&&ke<=Yi&&(on=ke)},Hh=We.__private__.getNumberOfPages=We.getNumberOfPages=function(){return Aa.length-1},Mh=function(ke,ft,rn){var Sn,Gn=void 0;return rn=rn||{},ke=ke!==void 0?ke:_i[po].fontName,ft=ft!==void 0?ft:_i[po].fontStyle,Sn=ke.toLowerCase(),Ki[Sn]!==void 0&&Ki[Sn][ft]!==void 0?Gn=Ki[Sn][ft]:Ki[ke]!==void 0&&Ki[ke][ft]!==void 0?Gn=Ki[ke][ft]:rn.disableWarning===!1&&Vs.warn("Unable to look up font label for font '"+ke+"', '"+ft+"'. Refer to getFontList() for available fonts."),Gn||rn.noFallback||(Gn=Ki.times[ft])==null&&(Gn=Ki.times.normal),Gn},ud=We.__private__.putInfo=function(){var ke=GA(),ft=function(Sn){return Sn};for(var rn in Ve!==null&&(ft=hl.encryptor(ke,0)),Jt("<<"),Jt("/Producer ("+dc(ft("jsPDF "+Ao.version))+")"),ns)ns.hasOwnProperty(rn)&&ns[rn]&&Jt("/"+rn.substr(0,1).toUpperCase()+rn.substr(1)+" ("+dc(ft(ns[rn]))+")");Jt("/CreationDate ("+dc(ft(or))+")"),Jt(">>"),Jt("endobj")},Gf=We.__private__.putCatalog=function(ke){var ft=(ke=ke||{}).rootDictionaryObjId||cg;switch(GA(),Jt("<<"),Jt("/Type /Catalog"),Jt("/Pages "+ft+" 0 R"),Go||(Go="fullwidth"),Go){case"fullwidth":Jt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Jt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Jt("/OpenAction [3 0 R /Fit]");break;case"original":Jt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var rn=""+Go;rn.substr(rn.length-1)==="%"&&(Go=parseInt(Go)/100),typeof Go=="number"&&Jt("/OpenAction [3 0 R /XYZ null null "+Nt(Go)+"]")}switch(ts||(ts="continuous"),ts){case"continuous":Jt("/PageLayout /OneColumn");break;case"single":Jt("/PageLayout /SinglePage");break;case"two":case"twoleft":Jt("/PageLayout /TwoColumnLeft");break;case"tworight":Jt("/PageLayout /TwoColumnRight")}Oo&&Jt("/PageMode /"+Oo),js.publish("putCatalog"),Jt(">>"),Jt("endobj")},Wm=We.__private__.putTrailer=function(){Jt("trailer"),Jt("<<"),Jt("/Size "+(Mn+1)),Jt("/Root "+Mn+" 0 R"),Jt("/Info "+(Mn-1)+" 0 R"),Ve!==null&&Jt("/Encrypt "+hl.oid+" 0 R"),Jt("/ID [ <"+cr+"> <"+cr+"> ]"),Jt(">>")},Al=We.__private__.putHeader=function(){Jt("%PDF-"+Gt),Jt("%\xBA\xDF\xAC\xE0")},_h=We.__private__.putXRef=function(){var ke="0000000000";Jt("xref"),Jt("0 "+(Mn+1)),Jt("0000000000 65535 f ");for(var ft=1;ft<=Mn;ft++)typeof Jn[ft]=="function"?Jt((ke+Jn[ft]()).slice(-10)+" 00000 n "):Jn[ft]!==void 0?Jt((ke+Jn[ft]).slice(-10)+" 00000 n "):Jt("0000000000 00000 n ")},cd=We.__private__.buildDocument=function(){var ke;Mn=0,pr=0,gr=[],Jn=[],Or=[],cg=Tl(),Uc=Tl(),Do(gr),js.publish("buildDocument"),Al(),ld(),function(){js.publish("putAdditionalObjects");for(var rn=0;rn"),Jt("/O <"+hl.toHexString(hl.O)+">"),Jt("/P "+hl.P),Jt(">>"),Jt("endobj")),ud(),Gf();var ft=pr;return _h(),Wm(),Jt("startxref"),Jt(""+ft),Jt("%%EOF"),Do(Aa[on]),gr.join(` `)},Wf=We.__private__.getBlob=function(ke){return new Blob([Hi(ke)],{type:"application/pdf"})},Kh=We.output=We.__private__.output=(uc=function(ke,ft){switch(typeof(ft=ft||{})=="string"?ft={filename:ft}:ft.filename=ft.filename||"generated.pdf",ke){case void 0:return cd();case"save":We.save(ft.filename);break;case"arraybuffer":return Hi(cd());case"blob":return Wf(cd());case"bloburi":case"bloburl":if(Jo.URL!==void 0&&typeof Jo.URL.createObjectURL=="function")return Jo.URL&&Jo.URL.createObjectURL(Wf(cd()))||void 0;Vs.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var rn="",Sn=cd();try{rn=S0(Sn)}catch(ll){rn=S0(unescape(encodeURIComponent(Sn)))}return"data:application/pdf;filename="+ft.filename+";base64,"+rn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Jo)==="[object Window]"){var Gn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Lr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';ft.pdfObjectUrl&&(Gn=ft.pdfObjectUrl,Lr="");var Gr='