!(function(){var Oy=Object.defineProperty;var _v=Object.getOwnPropertySymbols;var Dy=Object.prototype.hasOwnProperty,Ty=Object.prototype.propertyIsEnumerable;var S0=(Jt,Mt,pe)=>Mt in Jt?Oy(Jt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:pe}):Jt[Mt]=pe,C0=(Jt,Mt)=>{for(var pe in Mt||(Mt={}))Dy.call(Mt,pe)&&S0(Jt,pe,Mt[pe]);if(_v)for(var pe of _v(Mt))Ty.call(Mt,pe)&&S0(Jt,pe,Mt[pe]);return Jt};var Ws=(Jt,Mt,pe)=>S0(Jt,typeof Mt!="symbol"?Mt+"":Mt,pe);(self.webpackChunk=self.webpackChunk||[]).push([[2884,6270],{27812:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},89489:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},59477:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},26227:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},67921:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},49198:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},41464:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},87169:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},52671:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},8657:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},56082:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},33853:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},15075:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},43531:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},38819:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},95869:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ae}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(re,se){return Qe.createElement(fe.Z,(0,me.Z)({},re,{ref:se,icon:we}))},oe=Qe.forwardRef(ue),ae=oe},14547:function(Jt,Mt){"use strict";Mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},67209:function(Jt,Mt){"use strict";Mt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},49444:function(){"use strict"},47411:function(Jt,Mt,pe){"use strict";var me=pe(59301),Qe=Object.defineProperty,E=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(le,re,se)=>re in le?Qe(le,re,{enumerable:!0,configurable:!0,writable:!0,value:se}):le[re]=se,oe=(le,re)=>{for(var se in re||(re={}))we.call(re,se)&&ue(le,se,re[se]);if(E)for(var se of E(re))fe.call(re,se)&&ue(le,se,re[se]);return le};const ae=le=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},le),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));Mt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},70640:function(Jt,Mt,pe){"use strict";var me=pe(59301),Qe=Object.defineProperty,E=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(le,re,se)=>re in le?Qe(le,re,{enumerable:!0,configurable:!0,writable:!0,value:se}):le[re]=se,oe=(le,re)=>{for(var se in re||(re={}))we.call(re,se)&&ue(le,se,re[se]);if(E)for(var se of E(re))fe.call(re,se)&&ue(le,se,re[se]);return le};const ae=le=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},le),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));Mt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},61159:function(){"use strict";function Jt(z,y,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=y,this._minimum=a,this._maximum=x}Object.defineProperty(Jt.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(Jt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(Jt.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(Jt.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,y){var a=go.Shape._FigureParameters[z];return a?a[y]:null},go.Shape.setFigureParameter=function(z,y,a){if(!(a instanceof Jt))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 x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[y]=a};var Mt=[];function pe(z,y){var a=Mt.pop();return a===void 0?new go.Point(z,y):(a.x=z,a.y=y,a)}function me(){var z=Mt.pop();return z===void 0?new go.Point:z}function Qe(z){Mt.push(z)}function E(z,y,a,x,b,ee,te,de,ge){ge||(ge=new go.Point);var ve=z-a,ye=b-te,be=NaN,Ce=NaN;if(ve===0)if(ye===0)z===a&&(be=z,Ce=y);else{var Se=(ee-de)/ye,Pe=ee-Se*b;be=z,Ce=Se*be+Pe}else if(ye===0){var Be=(y-x)/ve,Ue=y-Be*z;be=b,Ce=Be*be+Ue}else{var Be=(y-x)/ve,Se=(ee-de)/ye,Ue=y-Be*z,Pe=ee-Se*b;be=(Pe-Ue)/(Be-Se),Ce=Be*be+Ue}return ge.x=be,ge.y=Ce,ge}function we(z,y,a,x,b,ee,te,de,ge,ve,ye,be,Ce,Se){var Pe=1-ge,Be=ge,Ue=z*Pe+a*Be,Ee=y*Pe+x*Be,He=a*Pe+b*Be,Oe=x*Pe+ee*Be,ke=b*Pe+te*Be,Xe=ee*Pe+de*Be,$e=Ue*Pe+He*Be,ze=Ee*Pe+Oe*Be,at=He*Pe+ke*Be,et=Oe*Pe+Xe*Be,it=$e*Pe+at*Be,At=ze*Pe+et*Be;ve.x=Ue,ve.y=Ee,ye.x=$e,ye.y=ze,be.x=it,be.y=At,Ce.x=at,Ce.y=et,Se.x=ke,Se.y=Xe}var fe=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Jt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,y,a){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*oe,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,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(z,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(z,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(z,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(z,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(z,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=y,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(z,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y/2,x.startY=0,x.endX=y/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(z,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(z,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(z,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(z,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(z,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(z,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(z,y,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*y,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,(1-x)*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(z,y,a){var x=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=fe,b.spot2=ue,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(z,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(z,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,oe*y,0,y,(1-oe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(z,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,oe*a,(1-oe)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(z,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,oe*a,oe*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(z,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-oe)*y,0,0,(1-oe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,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(z,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(z,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(z,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 Jt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*y;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(x=y);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(x=.5);var b=Math.abs(x)*y;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(x=y/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(x=y/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,y/2+de,y/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,de,de).close())),ee.spot1=fe,ee.spot2=ue,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(z,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(z,y,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Jt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Jt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,y,a){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var te=b%360,de=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(de,de).add(new go.PathSegment(go.PathSegment.Arc,ee,te,de,de,de,de).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,y,a){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,ee*a,y,(1-x)*a,(b+x)*y,(ee+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,y,a){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,y)/2,ee=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,a)).add(new go.PathSegment(go.PathSegment.Line,ee-b,a)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,y,a){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,y)/2,ee=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,a)).add(new go.PathSegment(go.PathSegment.Line,ee-b,a)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,y,a){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var ee=y/2,te=a/2,de=Math.atan2(a,y),ge=x-Math.min(Math.cos(de)*x/2,ee),ve=x-Math.min(Math.sin(de)*x/2,te),b=new go.Geometry,ye=new go.PathFigure(ge,0,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,ee,.2*a)),ye.add(new go.PathSegment(go.PathSegment.Line,y-ge,0)),ye.add(new go.PathSegment(go.PathSegment.Line,y,ve)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*y,te)),ye.add(new go.PathSegment(go.PathSegment.Line,y,a-ve)),ye.add(new go.PathSegment(go.PathSegment.Line,y-ge,a)),ye.add(new go.PathSegment(go.PathSegment.Line,ee,.8*a)),ye.add(new go.PathSegment(go.PathSegment.Line,ge,a)),ye.add(new go.PathSegment(go.PathSegment.Line,0,a-ve)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ve).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,y,a){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*y,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Jt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,x*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,(1-x)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,x*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Jt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-x)*y,.25*a,Math.abs(1-x)*y,.75*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,oe*y,0,y,(.5-oe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+oe/2)*a,oe*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,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(z,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(z,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(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var ee=.2,te=.3,de=0,ge=ee*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+ee+de)*a,(.5-ee+te)*y,(.5+ge+de)*a,(.5-ge+te)*y,(.5+ee+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*y,(.5+de)*a,(.5+ge+te)*y,(.5+ee+de)*a,(.5+ee+te)*y,(.5+ge+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-ee+de)*a,(1-.5+ee+te)*y,(.5-ge+de)*a,(.5+ge+te)*y,(.5-ee+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ge+te)*y,(.5-ee+de)*a,(.5-ee+te+.05)*y,(.5-ge+de-.02)*a)),ee=.2,te=0,de=-.3,ge=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*y,(.5+de)*a,(.5+ge+te)*y,(.5+ee+de)*a,(.5+ee+te)*y,(.5+ge+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-ee+de)*a,(1-.5+ee+te)*y,(.5-ge+de)*a,(.5+ge+te)*y,(.5-ee+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*y,(.5+de)*a,(.5-ge+te)*y,(.5-ee+de)*a,(.5-ee+te)*y,(.5-ge+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+te)*y,(.5+ee+de)*a,(.5-ee+te)*y,(.5+ge+de)*a,(.5-ge+te)*y,(.5+ee+de)*a)),ee=.2,te=-.3,de=0,ge=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-ee+de)*a,(1-.5+ee+te-.05)*y,(.5-ge+de-.02)*a,(.5+ge+te)*y,(.5-ee+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*y,(.5+de)*a,(.5-ge+te)*y,(.5-ee+de)*a,(.5-ee+te)*y,(.5-ge+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+ee+de)*a,(.5-ee+te)*y,(.5+ge+de)*a,(.5-ge+te)*y,(.5+ee+de)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ge+te)*y,(.5+ee+de)*a,(.5+ee+te)*y,(.5+ge+de)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var ee=.1,te=.5,de=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*y,de*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*te,a*de,ee*y,ee*y).close()),b=new go.PathFigure(y*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),de=.75,b=new go.PathFigure((te+ee)*y,de*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*te,a*de,ee*y,ee*y).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,y,a){var x=.8535533905932737,b=.5*y,ee=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=.5,te=.5,de=.5,ge=new go.PathFigure(te*y,(de-ee)*a);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-ee)*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a)),ee=.4,b=oe*.4;var ve=me(),ye=me(),be=me(),Ce=me();we(te,de-ee,te+b,de-ee,te+ee,de-b,te+ee,de,.42,ve,ye,be,Ce,Ce);var Se=me(),Pe=me(),Be=me();we(te,de-ee,te+b,de-ee,te+ee,de-b,te+ee,de,.58,Ce,Ce,Be,Se,Pe);var Ue=me(),Ee=me(),He=me();we(te,de+ee,te-b,de+ee,te-ee,de+b,te-ee,de,.42,Ue,Ee,He,Ce,Ce);var Oe=me(),ke=me(),Xe=me();return we(te,de+ee,te-b,de+ee,te-ee,de+b,te-ee,de,.58,Ce,Ce,Xe,Oe,ke),ge.add(new go.PathSegment(go.PathSegment.Move,Xe.x*y,Xe.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,Oe.x*y,Oe.y*a,ke.x*y,ke.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-ee)*a,(te-ee)*y,(de-b)*a,(te-b)*y,(de-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be.x*y,be.y*a,ve.x*y,ve.y*a,ye.x*y,ye.y*a)),ge.add(new go.PathSegment(go.PathSegment.Line,Xe.x*y,Xe.y*a).close()),ge.add(new go.PathSegment(go.PathSegment.Move,He.x*y,He.y*a)),ge.add(new go.PathSegment(go.PathSegment.Line,Be.x*y,Be.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,Se.x*y,Se.y*a,Pe.x*y,Pe.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te+ee)*y,(de+b)*a,(te+b)*y,(de+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,He.x*y,He.y*a,Ue.x*y,Ue.y*a,Ee.x*y,Ee.y*a).close()),Qe(ve),Qe(ye),Qe(be),Qe(Ce),Qe(Se),Qe(Pe),Qe(Be),Qe(Ue),Qe(Ee),Qe(He),Qe(Oe),Qe(ke),Qe(Xe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,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 Jt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,y,a){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>y&&(x=y);var b=(y-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,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(z,y,a){var x=new go.Geometry,b=oe*.4,ee=.4,te=.5,de=.5,ge=me(),ve=me(),ye=me(),be=me(),Ce=new go.PathFigure((te-ee)*y,de*a,!1);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-ee)*a,(te-ee)*y,(de-b)*a,(te-b)*y,(de-ee)*a)),we(te,de-ee,te+b,de-ee,te+ee,de-b,te+ee,de,.44,ye,be,ve,ge,ge),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*y,ve.y*a,ye.x*y,ye.y*a,be.x*y,be.y*a));var Se=pe(ve.x,ve.y);we(te,de-ee,te+b,de-ee,te+ee,de-b,te+ee,de,.56,ge,ge,ve,ye,be);var Pe=pe(ve.x,ve.y);Ce.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.95*.9)*y,Se.y*.1*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*y,Se.y*.1*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*y,.15*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*y,(Pe.y*.1+.05*.9)*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,Pe.x*y,Pe.y*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,ye.x*y,ye.y*a,be.x*y,be.y*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te+ee)*y,(de+b)*a,(te+b)*y,(de+ee)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,(te-b)*y,(de+ee)*a,(te-ee)*y,(de+b)*a)),ee=.35,b=oe*.35;var Be=new go.PathFigure(te*y,(de-ee)*a,!1);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-ee)*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a));var Ue=new go.PathFigure((te-ee)*y,de*a,!1);return x.add(Ue),Qe(ge),Qe(ve),Qe(ye),Qe(be),Qe(Se),Qe(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,y,a){var x=new go.Geometry,b=.375,ee=0,te=-.125,de=b*oe,ge=new go.PathFigure((.525+ee)*y,(.5+b+te)*a,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*y,(.5+te)*a,(.5+de+ee)*y,(.5+b+te)*a,(.5+b+ee)*y,(.5+de+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5-b+te)*a,(1-.5+b+ee)*y,(.5-de+te)*a,(.5+de+ee)*y,(.5-b+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*y,(.5+te)*a,(.5-de+ee)*y,(.5-b+te)*a,(.5-b+ee)*y,(.5-de+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*y,(.5+b+te)*a,(.5-b+ee)*y,(.5+de+te)*a,(.5-de+ee)*y,(.5+b+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,ee=0,te=-.125,de=b*oe;var ge=new go.PathFigure((1-.5+b+ee)*y,(.5+te)*a,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5+b+te)*a,(.5+b+ee)*y,(.5+de+te)*a,(.5+de+ee)*y,(.5+b+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*y,(.5+te)*a,(.5-de+ee)*y,(.5+b+te)*a,(.5-b+ee)*y,(.5+de+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5-b+te)*a,(.5-b+ee)*y,(.5-de+te)*a,(.5-de+ee)*y,(.5-b+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*y,(.5+te)*a,(.5+de+ee)*y,(.5-b+te)*a,(1-.5+b+ee)*y,(.5-de+te)*a));var ge=new go.PathFigure((.525+ee)*y,(.5+b+te)*a,!1);return x.add(ge),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(z,y,a){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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(z,y,a){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*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,x*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(z,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(z,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(z,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(z,y,a){var x=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 x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(z,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(z,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(z,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(z,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(z,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(z,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(z,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Jt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Jt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*y,te=(.5-b/2)*a,de=(.5+b/2)*a,ge=new go.Geometry,ve=new go.PathFigure(0,te,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ve.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,de).close()),ge.spot1=new go.Spot(0,te/a);var ye=E(0,de/a,1,de/a,ee/y,1,1,.5,me());return ge.spot2=new go.Spot(ye.x,ye.y),Qe(ye),ge}),go.Shape.setFigureParameter("Arrow2",0,new Jt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Jt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>y&&(x=y);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var ee=y-x,te=(a-b)/2,de=te+b,ge=new go.Geometry,ve=new go.PathFigure(0,te,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ve.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,de).close()),ge.spot1=new go.Spot(0,te/a);var ye=E(0,de/a,1,de/a,ee/y,1,1,.5,me());return ge.spot2=new go.Spot(ye.x,ye.y),Qe(ye),ge}),go.Shape.defineFigureGenerator("Chevron",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Jt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,ee=(.5+x/2)*a,te=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);te.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ge=E(0,.5,.3,0,0,b/a,.1,b/a,me());return te.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,1,1,.5,0,ee/a,1,ee/a,ge),te.spot2=new go.Spot(ge.x,ge.y),Qe(ge),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Jt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Jt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(a-x)/2,te=ee+x,de=(a-b)/2,ge=de+b;(x>a||b>a)&&(b>x?(x=x*a/b,ee=(a-x)/2,te=ee+x,de=0,ge=a):(ee=0,te=a,de=0,ge=a));var ve=new go.Geometry,ye=new go.PathFigure(y,.5*a,!0);ve.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,ge)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*y,ge)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*y,de)),ye.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,de).close());var be=E(0,.5,.3,de/a,0,ee/a,1,ee/a,me());return ve.spot1=new go.Spot(be.x,be.y),be=E(.7,ge/a,1,.5,0,te/a,1,te/a,be),ve.spot2=new go.Spot(be.x,be.y),Qe(be),ve}),go.Shape.setFigureParameter("IBeamArrow",0,new Jt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,ee=(.5+x/2)*a,te=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);te.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),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,.2*y,0)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(0,b/a);var ge=E(.7,1,1,.5,0,ee/a,1,ee/a,me());return te.spot2=new go.Spot(ge.x,ge.y),Qe(ge),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Jt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Jt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(a-x)/2,te=ee+x,de=(a-b)/2,ge=de+b;(x>a||b>a)&&(b>x?(x=x*a/b,ee=(a-x)/2,te=ee+x,de=0,ge=a):(ee=0,te=a,de=0,ge=a));var ve=new go.Geometry,ye=new go.PathFigure(y,.5*a,!0);ve.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,ge)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,ge)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ge)),ye.add(new go.PathSegment(go.PathSegment.Line,0,de)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,de)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*y,de).close()),ve.spot1=new go.Spot(0,ee/a);var be=E(.7,ge/a,1,.5,0,te/a,1,te/a,me());return ve.spot2=new go.Spot(be.x,be.y),Qe(be),ve}),go.Shape.setFigureParameter("Pointer",0,new Jt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,x*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,me());return b.spot2=new go.Spot(te.x,te.y),Qe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Jt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,me());return b.spot2=new go.Spot(te.x,te.y),Qe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Jt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,ee=(.5+x/2)*a,te=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);te.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,0,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,.3);var ge=E(.7,1,1,.5,0,ee/a,1,ee/a,me());return te.spot2=new go.Spot(ge.x,ge.y),Qe(ge),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Jt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,ee=b+x;x>a&&(b=0,ee=a);var te=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);te.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,0,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,b/a);var ge=E(.7,1,1,.5,0,ee/a,1,ee/a,me());return te.spot2=new go.Spot(ge.x,ge.y),Qe(ge),te}),go.Shape.setFigureParameter("SquareArrow",0,new Jt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=oe*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+ee)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+ee)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var ee=new go.PathFigure(0,.9*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var ee=new go.PathFigure(.5*y,a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var ee=new go.PathFigure(0,.3*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,oe*x,(.5-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*y,x,(.5+ee)*y,0,1*y,oe*x)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-oe*x,(.5+ee)*y,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-ee)*y,1*a,0,a-oe*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var de=new go.PathFigure(y,x,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*x,1*y,2*x-oe*x,(.5+ee)*y,2*x)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*y,2*x,0,2*x-oe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,te=new go.PathFigure(0,a-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,oe*x,(.5-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x,(.5+ee)*y,0,y,oe*x)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-oe*x,(.5+ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-ee)*y,a,0,a-oe*x));var de=new go.PathFigure(0,a-x,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*x,0,a-x-oe*x,(.5-ee)*y,a-2*x)),de.add(new go.PathSegment(go.PathSegment.Bezier,y,a-x,(.5+ee)*y,a-2*x,y,a-x-oe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-oe*x,0,y,(.5-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+ee)*a,y-oe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,oe*x,a,0,(.5+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*a,oe*x,0));var de=new go.PathFigure(x,0,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+oe*x,0,2*x,(.5-ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+ee)*a,x+oe*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,te=new go.PathFigure(y-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-oe*x,0,y,(.5-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+ee)*a,y-oe*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,oe*x,a,0,(.5+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*a,oe*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,y-x,0));var de=new go.PathFigure(y-x,0,!1);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y-2*x,.5*a,y-x-oe*x,0,y-2*x,(.5-ee)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y-2*x,(.5+ee)*a,y-x-oe*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(.25*y,.25*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var ee=new go.PathFigure(.5*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var ee=new go.PathFigure(.5*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,y,a){var x=new go.Geometry,b=.2,ee=.1,te=oe*b,de=oe*ee,ge=.5,ve=.1,ye=new go.PathFigure(ge*y,(ve+ee)*a,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-b)*y,ve*a,(ge-te)*y,(ve+ee)*a,(ge-b)*y,(ve+de)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-ee)*a,(ge-b)*y,(ve-de)*a,(ge-te)*y,(ve-ee)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+b)*y,ve*a,(ge+te)*y,(ve-ee)*a,(ge+b)*y,(ve-de)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve+ee)*a,(ge+b)*y,(ve+de)*a,(ge+te)*y,(ve+ee)*a));var be=.05,Ce=oe*be;ge=.05,ve=.25;var Se=new go.PathFigure(.5*y,.2*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ge=.95,ve=.25,Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge+be)*y,ve*a,(ge+Ce)*y,(ve-be)*a,(ge+be)*y,(ve-Ce)*a)),Se.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),be=.025,Ce=oe*be,ge=.825,ve=.35,Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-be)*a,(ge+be)*y,(ve-Ce)*a,(ge+Ce)*y,(ve-be)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-be)*y,ve*a,(ge-Ce)*y,(ve-be)*a,(ge-be)*y,(ve-Ce)*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),be=.05,Ce=oe*be,ge=.5,ve=.7,Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-be)*a,(ge+be)*y,(ve-Ce)*a,(ge+Ce)*y,(ve-be)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-be)*y,ve*a,(ge-Ce)*y,(ve-be)*a,(ge-be)*y,(ve-Ce)*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),be=.025,Ce=oe*be,ge=.175,ve=.35,Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-be)*a,(ge+be)*y,(ve-Ce)*a,(ge+Ce)*y,(ve-be)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-be)*y,ve*a,(ge-Ce)*y,(ve-be)*a,(ge-be)*y,(ve-Ce)*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,Ce=oe*be,ge=.05,ve=.25,Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-be)*a,(ge-be)*y,(ve-Ce)*a,(ge-Ce)*y,(ve-be)*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Jt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,y,a){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(y,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),ee.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var ee=new go.PathFigure(.5*y,.5*a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=oe*.1,te=new go.PathFigure(y,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+ee)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-ee)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-ee)*a));var de=new go.PathFigure(y,.1*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+ee)*a,(.5+b)*y,.2*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+ee)*a)),de.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+ee)*a,(.5+b)*y,.3*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+ee)*a)),de.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+ee)*a,(.5+b)*y,.4*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+ee)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=oe*.1,te=new go.PathFigure(y,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+ee)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-ee)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-ee)*a));var de=new go.PathFigure(y,.1*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+ee)*a,(.5+b)*y,.2*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+ee)*a)),de.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+ee)*a,(.5+b)*y,.3*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+ee)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=oe*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-ee)*a,(.2-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+ee)*y,0,y,(.2-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+ee)*a,(.8+ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-ee)*y,a,0,(.8+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var de=new go.PathFigure(0,b*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(z,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var ee=new go.PathFigure(.1*y,.4*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(.75*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var ee=new go.PathFigure(y,.5*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,a));var te=new go.PathFigure(y,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var te=new go.PathFigure(0,0,!0);x.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 de=new go.PathFigure(b*y,0,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),de.add(new go.PathSegment(go.PathSegment.Move,0,ee*a)),de.add(new go.PathSegment(go.PathSegment.Line,y,ee*a)),x}),go.Shape.defineFigureGenerator("Junction",function(z,y,a){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=oe*.5,de=.5,ge=new go.PathFigure(y,de*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*y,a,y,(de+te)*a,(de+te)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,de*a,(de-te)*y,a,0,(de+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*y,0,0,(de-te)*a,(de-te)*y,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,y,de*a,(de+te)*y,0,y,(de-te)*a));var ve=new go.PathFigure((ee+b)*y,(ee+b)*a,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee*y,ee*a)),ve.add(new go.PathSegment(go.PathSegment.Move,ee*y,(ee+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*y,ee*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var ee=new go.PathFigure(.1*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=.5,te=new go.PathFigure(.5*y,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-b)*y,a,0,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-b)*a,(ee-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+b)*y,0,y,(ee-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*y,.9*a,y,(ee+b)*a,(ee+b)*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(z,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var ee=new go.PathFigure(.1*y,.2*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var ee=new go.PathFigure(.2*y,.1*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var de=new go.PathFigure(.5*b*y,b*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=.5,te=new go.PathFigure(y,ee*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+b)*a,(ee+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-b)*y,a,0,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-b)*a,(ee-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+b)*y,0,y,(ee-b)*a));var de=new go.PathFigure(y,.5*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*y,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x}),go.Shape.defineFigureGenerator("Process",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var ee=new go.PathFigure(0,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*y,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var te=new go.PathFigure(b*y,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(z,y,a){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=.5,te=new go.PathFigure(y,ee*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+b)*a,(ee+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-b)*y,a,0,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-b)*a,(ee-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+b)*y,0,y,(ee-b)*a));var de=new go.PathFigure(y,ee*a,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y,ee*a));var ge=new go.PathFigure(.8*y,.75*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(z,y,a){var x=new go.Geometry,b=oe*.1,ee=.1,te=.9,de=.5,ge=new go.PathFigure(.8*y,.5*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ve=new go.PathFigure((te+ee)*y,de*a,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te+ee)*y,(de+b)*a,(te+b)*y,(de+ee)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,(te-b)*y,(de+ee)*a,(te-ee)*y,(de+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-ee)*a,(te-ee)*y,(de-b)*a,(te-b)*y,(de-ee)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,(te+b)*y,(de-ee)*a,(te+ee)*y,(de-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=oe*.4,te=oe*.1,de=.1,ge=.9,ve=.5,ye=new go.PathFigure(.8*y,.5*a,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+ee)*a,(.4+b)*y,a)),ye.add(new go.PathSegment(go.PathSegment.Line,0,a)),ye.add(new go.PathSegment(go.PathSegment.Line,0,0)),ye.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-ee)*a));var be=new go.PathFigure((ge+de)*y,ve*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve+de)*a,(ge+de)*y,(ve+te)*a,(ge+te)*y,(ve+de)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-de)*y,ve*a,(ge-te)*y,(ve+de)*a,(ge-de)*y,(ve+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-de)*a,(ge-de)*y,(ve-te)*a,(ge-te)*y,(ve-de)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+de)*y,ve*a,(ge+te)*y,(ve-de)*a,(ge+de)*y,(ve-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,y,a){var x=new go.Geometry,b=.5,ee=oe*b,te=0,de=.5,ge=new go.PathFigure(.8*y,.5*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+ee)*y,(de-b)*a,.7*y,(de-ee)*a)),b=.1,ee=oe*.1,te=.9,de=.5;var ve=new go.PathFigure((te-b)*y,de*a,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-b)*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,de*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+b)*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,de*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,y,a){var x=new go.Geometry,b=.5,ee=oe*b,te=0,de=.5,ge=new go.PathFigure(0,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+ee+ee)*y,(de-b)*a,.8*y,(de-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(de+ee)*a,(te+ee+ee)*y,(de+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,y,a){var x=new go.Geometry,b=.5,ee=oe*b,te=.2,de=.5,ge=new go.PathFigure(.1*y,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ve=new go.PathFigure(.8*y,.5*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+ee)*y,(de-b)*a,.7*y,(de-ee)*a)),b=.1,ee=oe*.1,te=.9,de=.5;var ye=new go.PathFigure((te-b)*y,de*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-b)*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,de*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+b)*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,de*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,y,a){var x=new go.Geometry,b=.5,ee=oe*b,te=.2,de=.5,ge=new go.PathFigure(.1*y,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ve=new go.PathFigure(.2*y,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+ee)*y,(de-b)*a,.9*y,(de-ee)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(z,y,a){var x=new go.Geometry,b=oe*.1,ee=.1,te=.1,de=.5,ge=new go.PathFigure((te-b*.5)*y,a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-b)*y,a,(te-ee)*y,0)),te=.3,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+ee)*y,0,(te+b)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-b)*y,a,(te-ee)*y,0)),te=.5,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+ee)*y,0,(te+b)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-b)*y,a,(te-ee)*y,0)),te=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+ee)*y,0,(te+b)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-b)*y,a,(te-ee)*y,0)),te=.9,ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*y,a,(te+ee)*y,0,(te+b)*y,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,y,a){var x=new go.Geometry,b=oe*.5,ee=.5,te=.5,de=.5,ge=new go.PathFigure((te-ee)*y,de*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-ee)*a,(te-ee)*y,(de-b)*a,(te-b)*y,(de-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,(te+b)*y,(de-ee)*a,(te+ee)*y,(de-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te+ee)*y,(de+b)*a,(te+b)*y,(de+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,(te-b)*y,(de+ee)*a,(te-ee)*y,(de+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*y,de*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*y,de*a,te*y,(de-ee)*a,te*y,(de+ee)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Diode",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(z,y,a){var x=new go.Geometry,b=y,ee=a;y=y*.38,a=a*.6;var te=oe*.8,de=.8,ge=0,ve=.5,ye=(b-y)/2,be=(ee-a)/2,Ce=new go.PathFigure(ge*y+ye,(ve+de)*a+be,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge-de)*y+ye,ve*a+be,(ge-te)*y+ye,(ve+de)*a+be,(ge-de)*y+ye,(ve+te)*a+be)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve-de)*a+be,(ge-de)*y+ye,(ve-te)*a+be,(ge-te)*y+ye,(ve-de)*a+be)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge-de+te*.5)*y+ye,ve*a+be,ge*y+ye,(ve-de)*a+be,(ge-de+te*.5)*y+ye,(ve-te)*a+be)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve+de)*a+be,(ge-de+te*.5)*y+ye,(ve+te)*a+be,ge*y+ye,(ve+de)*a+be).close()),te=oe*.4,de=.4,ge=.2,ve=.5;var Se=new go.PathFigure(ge*y+ye,(ve+de)*a+be,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-de)*y+ye,ve*a+be,(ge-te)*y+ye,(ve+de)*a+be,(ge-de)*y+ye,(ve+te)*a+be)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve-de)*a+be,(ge-de)*y+ye,(ve-te)*a+be,(ge-te)*y+ye,(ve-de)*a+be)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ge-de+te*.5)*y+ye,ve*a+be,ge*y+ye,(ve-de)*a+be,(ge-de+te*.5)*y+ye,(ve-te)*a+be)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve+de)*a+be,(ge-de+te*.5)*y+ye,(ve+te)*a+be,ge*y+ye,(ve+de)*a+be).close()),te=oe*.2,de=.2,ge=.5,ve=.5;var Pe=new go.PathFigure((ge-de)*y+ye,ve*a+be,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve-de)*a+be,(ge-de)*y+ye,(ve-te)*a+be,(ge-te)*y+ye,(ve-de)*a+be)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+de)*y+ye,ve*a+be,(ge+te)*y+ye,(ve-de)*a+be,(ge+de)*y+ye,(ve-te)*a+be)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve+de)*a+be,(ge+de)*y+ye,(ve+te)*a+be,(ge+te)*y+ye,(ve+de)*a+be)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-de)*y+ye,ve*a+be,(ge-te)*y+ye,(ve+de)*a+be,(ge-de)*y+ye,(ve+te)*a+be)),te=oe*.4,de=.4,ge=.8,ve=.5;var Be=new go.PathFigure(ge*y+ye,(ve-de)*a+be,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+de)*y+ye,ve*a+be,(ge+te)*y+ye,(ve-de)*a+be,(ge+de)*y+ye,(ve-te)*a+be)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve+de)*a+be,(ge+de)*y+ye,(ve+te)*a+be,(ge+te)*y+ye,(ve+de)*a+be)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+de-te*.5)*y+ye,ve*a+be,ge*y+ye,(ve+de)*a+be,(ge+de-te*.5)*y+ye,(ve+te)*a+be)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve-de)*a+be,(ge+de-te*.5)*y+ye,(ve-te)*a+be,ge*y+ye,(ve-de)*a+be).close()),te=oe*.8,de=.8,ge=1,ve=.5;var Ue=new go.PathFigure(ge*y+ye,(ve-de)*a+be,!0);return x.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge+de)*y+ye,ve*a+be,(ge+te)*y+ye,(ve-de)*a+be,(ge+de)*y+ye,(ve-te)*a+be)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve+de)*a+be,(ge+de)*y+ye,(ve+te)*a+be,(ge+te)*y+ye,(ve+de)*a+be)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge+de-te*.5)*y+ye,ve*a+be,ge*y+ye,(ve+de)*a+be,(ge+de-te*.5)*y+ye,(ve+te)*a+be)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+ye,(ve-de)*a+be,(ge+de-te*.5)*y+ye,(ve-te)*a+be,ge*y+ye,(ve-de)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var ee=new go.PathFigure(.1*y,a,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.6*y,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var de=new go.PathFigure(0,.5*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),de.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),de.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(z,y,a){var x=new go.Geometry,b=oe*.4,ee=.4,te=.5,de=.5,ge=me(),ve=me(),ye=me(),be=me();we(te,de-ee,te+b,de-ee,te+ee,de-b,te+ee,de,.5,ge,ge,ve,ye,be);var Ce=pe(ve.x,ve.y),Se=new go.PathFigure(ve.x*y,ve.y*a,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,ye.x*y,ye.y*a,be.x*y,be.y*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te+ee)*y,(de+b)*a,(te+b)*y,(de+ee)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,(te-b)*y,(de+ee)*a,(te-ee)*y,(de+b)*a)),we(te-ee,de,te-ee,de-b,te-b,de-ee,te,de-ee,.5,ye,be,ve,ge,ge),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*y,ve.y*a,ye.x*y,ye.y*a,be.x*y,be.y*a)),b=oe*.3,ee=.3,we(te-ee,de,te-ee,de-b,te-b,de-ee,te,de-ee,.5,ye,be,ve,ge,ge),Se.add(new go.PathSegment(go.PathSegment.Line,ve.x*y,ve.y*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,de*a,be.x*y,be.y*a,ye.x*y,ye.y*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+ee)*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,de*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),we(te,de-ee,te+b,de-ee,te+ee,de-b,te+ee,de,.5,ge,ge,ve,ye,be),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve.x*y,ve.y*a,be.x*y,be.y*a,ye.x*y,ye.y*a).close());var Se=new go.PathFigure(.45*y,0,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),Qe(ge),Qe(ve),Qe(ye),Qe(be),Qe(Ce),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function ee(te,de,ge){te.add(new go.PathSegment(go.PathSegment.Move,(.3+de)*y,(.8+ge)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+de)*y,(.5+ge)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+de)*y,(.5+ge)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+de)*y,(.8+ge)*a).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(z,y,a){var x=new go.Geometry,b=.5,ee=0,te=0,de=b*oe,ge=.4*Math.SQRT2/2+.5,ve=.5-.5*Math.SQRT2/2,ye=1,be=.5,Ce=.5,Se=0,Pe=new go.PathFigure(ge*y,(1-ve)*a,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*y,be*a,ye*y,.7*a,ye*y,be*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ee)*y,(Se+ee)*a,(.5+b+ee)*y,(.5-de+ee)*a,(.5+de+ee)*y,(.5-b+ee)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*y,(.5+te)*a,(.5-de+ee)*y,(.5-b+te)*a,(.5-b+ee)*y,(.5-de+te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*y,.9*a,(.5-b+ee)*y,(.5+de+te)*a,(.5-de+ee)*y,.9*a)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*y,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*y,.9*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*y,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(y,a,!1);x.add(ee);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var ee=new go.PathFigure(.45*y,.73*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*y,(1-.555)*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var te=.5-.285,de=.5,ge=te,ve=Math.PI/4,ye=4*(1-Math.cos(ve))/(3*Math.sin(ve)),be=ye*.5,Ce=te,Se=te,Pe=ye*Ce,Be=ye*Se;ee.add(new go.PathSegment(go.PathSegment.Bezier,(de-Ce)*y,ge*a,(de-(Pe+Ce)/2)*y,(ge+(Se+Be)/2)*a,(de-Ce)*y,(ge+Be)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge-Se)*a,(de-Ce)*y,(ge-Be)*a,(de-Pe)*y,(ge-Se)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+Ce)*y,ge*a,(de+Pe)*y,(ge-Se)*a,(de+Ce)*y,(ge-Be)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(de+Ce)*y,(ge+Be)*a,(de+(Pe+Ce)/2)*y,(ge+(Se+Be)/2)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Ue=new go.PathFigure(.2*y,a,!1);x.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Ee=new go.PathFigure(.8*y,a,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ee=new go.PathFigure(.2*y,.2*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(y,a,!1);x.add(ee);var te=new go.PathFigure(.1*y,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,ee*y,ee*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var ee=new go.PathFigure(.475*y,.2*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var te=new go.PathFigure(.675*y,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,y,a){var x=new go.Geometry,b=.5,ee=oe*.5,te=new go.PathFigure(y,b*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+ee)*a,(b+ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-ee)*y,a,0,(b+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-ee)*a,(b-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+ee)*y,0,y,(b-ee)*a));var de=new go.PathFigure(b*y,0,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),de.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),de.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),de.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),de.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),de.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),de.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),de.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),de.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),de.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(0,.15*a,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var ee=new go.PathFigure(0,.2*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var ee=new go.PathFigure(.15*y,.6*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(y,.8*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var te=.1,de=oe*.1,ge=.2,ve=.9,ye=new go.PathFigure((ge-te)*y,ve*a,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-te)*a,(ge-te)*y,(ve-de)*a,(ge-de)*y,(ve-te)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*y,ve*a,(ge+de)*y,(ve-te)*a,(ge+te)*y,(ve-de)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve+te)*a,(ge+te)*y,(ve+de)*a,(ge+de)*y,(ve+te)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*y,ve*a,(ge-de)*y,(ve+te)*a,(ge-te)*y,(ve+de)*a).close()),te=.1,de=oe*.1,ge=.8,ve=.9;var be=new go.PathFigure((ge-te)*y,ve*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve-te)*a,(ge-te)*y,(ve-de)*a,(ge-de)*y,(ve-te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*y,ve*a,(ge+de)*y,(ve-te)*a,(ge+te)*y,(ve-de)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(ve+te)*a,(ge+te)*y,(ve+de)*a,(ge+de)*y,(ve+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*y,ve*a,(ge-de)*y,(ve+te)*a,(ge-te)*y,(ve+de)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*y,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var de=new go.PathFigure(.5*y,.7*a,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ge=.1,ve=oe*.1,ye=.1,be=.9,Ce=new go.PathFigure((ye-ge)*y,be*a,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*y,(be-ge)*a,(ye-ge)*y,(be-ve)*a,(ye-ve)*y,(be-ge)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*y,be*a,(ye+ve)*y,(be-ge)*a,(ye+ge)*y,(be-ve)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*y,(be+ge)*a,(ye+ge)*y,(be+ve)*a,(ye+ve)*y,(be+ge)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*y,be*a,(ye-ve)*y,(be+ge)*a,(ye-ge)*y,(be+ve)*a)),ge=.1,ve=oe*.1,ye=.4,be=.9;var Se=new go.PathFigure((ye-ge)*y,be*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ye*y,(be-ge)*a,(ye-ge)*y,(be-ve)*a,(ye-ve)*y,(be-ge)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*y,be*a,(ye+ve)*y,(be-ge)*a,(ye+ge)*y,(be-ve)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ye*y,(be+ge)*a,(ye+ge)*y,(be+ve)*a,(ye+ve)*y,(be+ge)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*y,be*a,(ye-ve)*y,(be+ge)*a,(ye-ge)*y,(be+ve)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var ee=new go.PathFigure(.45*y,.7*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var te=new go.PathFigure(.55*y,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var ye=.05,be=oe*.05,Ce=.175,Se=.95,de=new go.PathFigure((Ce-ye)*y,Se*a,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se-ye)*a,(Ce-ye)*y,(Se-be)*a,(Ce-be)*y,(Se-ye)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ye)*y,Se*a,(Ce+be)*y,(Se-ye)*a,(Ce+ye)*y,(Se-be)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se+ye)*a,(Ce+ye)*y,(Se+be)*a,(Ce+be)*y,(Se+ye)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ye)*y,Se*a,(Ce-be)*y,(Se+ye)*a,(Ce-ye)*y,(Se+be)*a));var ye=.05,be=oe*.05,Ce=.375,Se=.95,ge=new go.PathFigure((Ce-ye)*y,Se*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se-ye)*a,(Ce-ye)*y,(Se-be)*a,(Ce-be)*y,(Se-ye)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ye)*y,Se*a,(Ce+be)*y,(Se-ye)*a,(Ce+ye)*y,(Se-be)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se+ye)*a,(Ce+ye)*y,(Se+be)*a,(Ce+be)*y,(Se+ye)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ye)*y,Se*a,(Ce-be)*y,(Se+ye)*a,(Ce-ye)*y,(Se+be)*a));var ye=.05,be=oe*.05,Ce=.625,Se=.95,ve=new go.PathFigure((Ce-ye)*y,Se*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se-ye)*a,(Ce-ye)*y,(Se-be)*a,(Ce-be)*y,(Se-ye)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ye)*y,Se*a,(Ce+be)*y,(Se-ye)*a,(Ce+ye)*y,(Se-be)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se+ye)*a,(Ce+ye)*y,(Se+be)*a,(Ce+be)*y,(Se+ye)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ye)*y,Se*a,(Ce-be)*y,(Se+ye)*a,(Ce-ye)*y,(Se+be)*a));var ye=.05,be=oe*.05,Ce=.825,Se=.95,Pe=new go.PathFigure((Ce-ye)*y,Se*a,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se-ye)*a,(Ce-ye)*y,(Se-be)*a,(Ce-be)*y,(Se-ye)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ye)*y,Se*a,(Ce+be)*y,(Se-ye)*a,(Ce+ye)*y,(Se-be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*y,(Se+ye)*a,(Ce+ye)*y,(Se+be)*a,(Ce+be)*y,(Se+ye)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ye)*y,Se*a,(Ce-be)*y,(Se+ye)*a,(Ce-ye)*y,(Se+be)*a).close());var Be=new go.PathFigure(0,a,!1);return x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(.15*y,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var de=.05,ge=oe*.05,ve=.35,ye=.775,be=new go.PathFigure((ve-de)*y,ye*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(ye-de)*a,(ve-de)*y,(ye-ge)*a,(ve-ge)*y,(ye-de)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*y,ye*a,(ve+ge)*y,(ye-de)*a,(ve+de)*y,(ye-ge)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*y,(ye+de)*a,(ve+de)*y,(ye+ge)*a,(ve+ge)*y,(ye+de)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*y,ye*a,(ve-ge)*y,(ye+de)*a,(ve-de)*y,(ye+ge)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(z,y,a){var x=new go.Geometry,b=.3,ee=oe*.3,te=.5,de=.7,ge=new go.PathFigure((te-b)*y,de*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-b)*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,de*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+b)*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,de*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a));var ve=new go.PathFigure(0,.7*a,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),x}),go.Shape.defineFigureGenerator("Battery",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var ee=new go.PathFigure(0,.6*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(z,y,a){var x=new go.Geometry,b=.5,ee=oe*.5,te=.5,de=.5,ge=new go.PathFigure((te-b)*y,de*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-b)*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,de*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+b)*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,de*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a));var ve=new go.PathFigure(.15*y,.5*a,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(z,y,a){var x=new go.Geometry,b=.5,ee=oe*.5,te=.5,de=.5,ge=new go.PathFigure((te-b)*y,de*a,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-b)*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,de*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+b)*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,de*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a).close()),b=.05,ee=oe*.05,te=.5,de=.8;var ve=new go.PathFigure((te-b)*y,de*a,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de-b)*a,(te-b)*y,(de-ee)*a,(te-ee)*y,(de-b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,de*a,(te+ee)*y,(de-b)*a,(te+b)*y,(de-ee)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(de+b)*a,(te+b)*y,(de+ee)*a,(te+ee)*y,(de+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,de*a,(te-ee)*y,(de+b)*a,(te-b)*y,(de+ee)*a).close()),ve.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(z,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(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.2*y,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ee=new go.PathFigure(.2*y,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(z,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(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var ee=new go.PathFigure(0,a*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,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(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var ee=new go.PathFigure(.126*y,.85*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var te=new go.PathFigure(.402*y,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var de=new go.PathFigure(.678*y,.85*a,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),de.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),de.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ge=new go.PathFigure(.5*y,.1*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var ee=new go.PathFigure(y*.204,a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var te=new go.PathFigure(y*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var de=new go.PathFigure(y*.612,a,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),de.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ge=new go.PathFigure(y*.816,a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ge.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ge.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var ee=new go.PathFigure(y*.055,.07*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var te=new go.PathFigure(y*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var de=new go.PathFigure(y*.055,.18*a,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),de.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),de.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ge=new go.PathFigure(y*1,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ge.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ge.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(y*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var de=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),de.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ge=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ge.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,y,a){var x=new go.Geometry,b=8,ee=b*oe,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-ee,y-ee,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,ee,a,0,a-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var de=new go.PathFigure(y*.83,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),de.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),de.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ge=new go.PathFigure(y*.83,a*1,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ve=new go.PathFigure(y*.78,a*.05,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ve.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,y,a){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*oe,ee=a*.8,te=new go.Geometry,de=new go.PathFigure(x,0,!0);return te.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)),de.add(new go.PathSegment(go.PathSegment.Line,y,ee-x)),de.add(new go.PathSegment(go.PathSegment.Bezier,y-x,ee,y,ee-b,y-b,ee)),de.add(new go.PathSegment(go.PathSegment.Line,y*.7,ee)),de.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),de.add(new go.PathSegment(go.PathSegment.Line,y*.55,ee)),de.add(new go.PathSegment(go.PathSegment.Line,x,ee)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),de.add(new go.PathSegment(go.PathSegment.Line,0,x)),de.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var ee=new go.PathFigure(y*1,a*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,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(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var ee=new go.PathFigure(y*.1,a*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var te=new go.PathFigure(y*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,y,a){var x=new go.Geometry,b=15,ee=b*oe,te=new go.PathFigure(y*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-ee,y-ee,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,ee,a,0,a-ee)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-ee)).close());var te=new go.PathFigure(y*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-ee)).close());var te=new go.PathFigure(y*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var ee=new go.PathFigure(y*.235,a*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),x}),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")},97393: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 Jt={},Mt="5.0",pe={},me=null,Qe=!1,E=!1,we=null,fe=!1,ue=null,oe=null,ae=0;ae4?parseFloat(ot):5};Jt.setHTML5Codebase=function(ot,rt){oe=ot,et(ot,rt)},Jt.setJavaCodebase=Jt.setJavaCodebaseVersion=Jt.isCompiledInstalled=Jt.setPreCompiledScriptPath=Jt.setPreCompiledResourcePath=function(){},Jt.setHTML5CodebaseVersion=function(ot,rt){var lt=parseFloat(ot);if(lt!==NaN&<<5){console.log("The GeoGebra HTML5 codebase version "+lt+" is deprecated. Using version latest instead.");return}ue=ot,at(ot,rt)},Jt.getHTML5CodebaseVersion=function(){return z},Jt.getParameters=function(){return pe},Jt.setFontsCSSURL=function(ot){te=ot},Jt.setGiacJSURL=function(ot){},Jt.setJNLPFile=function(ot){re=ot},Jt.setJNLPBaseDir=function(ot){},Jt.inject=function(){function ot(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var rt="auto",lt=pe.id,gt,yt=!1,Tt=0;Tt=5)return!0;var ot=Jt.getAppletObject();return ot&&typeof ot.recalculateEnvironments=="function"?(ot.recalculateEnvironments(),!0):!1},Jt.startAnimation=function(){var ot=Jt.getAppletObject();return ot&&typeof ot.startAnimation=="function"?(ot.startAnimation(),!0):!1},Jt.stopAnimation=function(){var ot=Jt.getAppletObject();return ot&&typeof ot.stopAnimation=="function"?(ot.stopAnimation(),!0):!1},Jt.getAppletObject=function(){var ot=pe.id!==void 0?pe.id:"ggbApplet";return window[ot]},Jt.resize=function(){};var Pe=function(ot,rt,lt){var gt=document.createElement("param");gt.setAttribute("name",rt),gt.setAttribute("value",lt),ot.appendChild(gt)},Be=function(ot){return ot&&ot!=="false"},Ue=function(ot,rt,lt){ge(z)<=4.2&&(lt=!0);var gt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(gt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var yt=document.createElement("div");yt.classList.add("appletParameters","notranslate");var Tt=rt.width,vt=rt.height;if(rt.disableAutoScale=rt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():rt.disableAutoScale,rt.width!==void 0)if(ge(z)<=4.4)Be(rt.showToolBar)&&(rt.height-=7),Be(rt.showAlgebraInput)&&(rt.height-=37),rt.width<605&&Be(rt.showToolBar)&&(rt.width=605,Tt=605);else{var ut=100;(Be(rt.showToolBar)||Be(rt.showMenuBar))&&(rt.hasOwnProperty("customToolBar")&&(rt.customToolbar=rt.customToolBar),ut=Be(rt.showMenuBar)?245:155),Tt=5?(rt.appletOnLoad=function(st){var Et=ot.querySelector(".ggb_preview");Et&&Et.parentNode.removeChild(Et),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ve),window.GGBT_wsf_view&&$(window).trigger("resize"),je(st)},Ie||Ve.appendChild(_e)):yt.appendChild(_e),Ve.appendChild(yt),Ie||ot.appendChild(Ve),setTimeout(function(){Jt.resize()},1)}else{var Fe=document.createElement("div");Fe.className="applet_scaler",Fe.style.position="relative",Fe.style.display="block",Fe.appendChild(yt),ot.appendChild(Fe),rt.appletOnLoad=function(st){Jt.resize(),je(st)}}function De(st,Et){Et&&typeof Et.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(st,Et.appletOnLoad):renderGGBElement(st),it("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Et)}function Te(st,Et){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:st,params:Et}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Bt){De(Bt.article,Bt.params)}),html5AppletsToProcess=null)},ge(z)<5&&(st.className+=" geogebraweb")):De(st,Et)}if(gt){scriptLoadStarted=!0;for(var Ne=0;Ne0?(qe.remove(),Ve.attr("id","fullscreencontent").show(),jQuery(je).append(Ve),window.dispatchEvent(new Event("resize"))):Ue(qe,rt,!1),window.GGBT_wsf_view.launchFullScreen(je)}else ne=gt,Ue(ot,rt,!1);if(!window.GGBT_wsf_view)for(vt=0;vtot/4*3&&(qe=ot/4*3),je=qe/5.8,ut.setAttribute("src",b),ut.setAttribute("width",qe),ut.setAttribute("height",je);var Ve=(ot-qe)/2,Ie=(rt-je)/2;ut.style.left=Ve+"px",ut.style.top=Ie+"px",yt.appendChild(ut)}}return yt.appendChild(vt),yt},$e=function(ot){return ot=ot.toLowerCase(),ot==="html5"||ot==="screenshot"?ot:"html5"},ze=["web","webSimple","web3d","tablet","tablet3d","phone"],at=function(ot,rt){if(z=ot,rt){et(z,!0);return}var lt=!Qe;if(lt){var gt=ge(z);!isNaN(gt)&><4.4&&(lt=!1)}var yt,Tt;window.location.protocol.substr(0,4)==="http"?yt=window.location.protocol:yt="http:";var vt=z.indexOf("//");vt>0?Tt=z:vt===0?Tt=yt+z:Tt="https://www.geogebra.org/apps/5.2.814.0/";for(var ut in ze)if(z.slice(ze[ut].length*-1)===ze[ut]||z.slice((ze[ut].length+1)*-1)===ze[ut]+"/"){et(Tt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&<&&!me.is3D&&!me.AV&&!me.SV&&!me.CV&&!me.EV2&&!me.CP&&!me.PC&&!me.DA&&!me.FI&&!me.PV&&!Be(pe.showToolBar)&&!Be(pe.showMenuBar)&&!Be(pe.showAlgebraInput)&&!Be(pe.enableRightClick)&&(!pe.appName||pe.appName=="classic")?Tt+="webSimple/":Tt+="web3d/",et(Tt,!1)},et=function(ot,rt){if(ot.requirejs){se=ot;return}ot.slice(-1)!=="/"&&(ot+="/"),se=ot,rt===null&&(rt=ot.indexOf("http")===-1),ie=rt,y="web.nocache.js",a=!1;var lt=se.split("/");lt.length>1&&(!rt&<[lt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):ze.indexOf(lt[lt.length-2])>=0&&(y=lt[lt.length-2]+".nocache.js")),lt=ot.split("/"),z=lt[lt.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var gt=parseFloat(z);gt!==NaN&><5&&ot.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+gt+" is deprecated. Using version latest instead."),at("5.0",rt))},it=function(ot,rt){window.console&&window.console.log&&(!rt||typeof rt.showLogging=="undefined"||rt.showLogging&&rt.showLogging!=="false")&&console.log(ot)};pe.material_id!==void 0?be(At):At();function At(){var ot=Mt;ue!==null?ot=ue:parseFloat(ot)<5&&(ot="5.0"),at(ot,!1),oe!==null&&et(oe,ie),fe=!0}return Jt},GGBAppletUtils=function(){"use strict";function Jt(){return window.GGBT_wsf_edit!==void 0}function Mt(fe,ue){ue!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+ue+","+ue+")",fe.style.webkitTransform="scale("+ue+","+ue+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function pe(fe,ue,oe,ae,le,re){var se=null;if(re!=null&&re!="")for(var ie=fe.parentNode;ie!=null;)if((" "+ie.className+" ").indexOf(" "+re+" ")>-1){se=ie;break}else ie=ie.parentNode;var ne=0,z=0,y=0,a=0,x=0,b=0,ee=0;if(se)ne=se.offsetWidth,z=Math.max(ae?se.offsetWidth:0,se.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),y=ne):(ne=window.innerWidth,z=window.innerHeight,y=window.innerWidth),fe){var te=fe.getBoundingClientRect();te.left>0&&te.left<=ne&&(le===void 0||!le)&&(document.dir==="rtl"?(x=ne-te.width-te.left,b=y<=480?10:30):(b=te.left,x=y<=480?10:30),a=b+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var de=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,ee=40)}}return fe&&((oe===void 0||!oe)&&ue>0&&ue+a1&&(re=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))le=me(fe,ue,re,oe,fe.scaleContainerClass);else return ae;return re&&(!fe.hasOwnProperty("scale")||ae===1)?le:Math.min(ae,le)}function E(fe){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ae=fe.getBoundingClientRect(),le=(ue-ae.width)/2,re=(oe-ae.height)/2;re<0&&(re=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(le<40?fe.style.left="40px":fe.style.left=le+"px",fe.style.top=re+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(re<40?fe.style.top="40px":fe.style.top=re+"px",fe.style.left=le+"px")}function we(fe,ue){var oe=fe.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(fe)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ae=Qe(ue,fe);Jt()&&oe.setAttribute("data-param-scale",ae);for(var le=null,re=0;re=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(Jt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Jt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Jt){var Mt=c[Jt];return Mt==null?null:Mt},r=d,webModule.__errFn=e}function B(){function Jt(fe){var ue=fe.lastIndexOf(rb);ue==-1&&(ue=fe.length);var oe=fe.indexOf(sb);oe==-1&&(oe=fe.length);var ae=fe.lastIndexOf(tb,Math.min(oe,ue));return ae>=O?fe.substring(O,ae+P):W}function Mt(fe){if(!fe.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=fe+vb,fe=Jt(ue.src)}return fe}function pe(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function me(){for(var fe=o.getElementsByTagName(_),ue=O;ueO?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var we=pe();return we==W&&(we=me()),we==W&&(we=Qe()),we==W&&E()&&(we=Jt(o.location.href)),we=Mt(we),we}function C(Jt){return Jt.match(/^\//)||Jt.match(/^[a-zA-Z]+:\/\//)?Jt:webModule.__moduleBase+Jt}function D(){var Jt=[],Mt=O,pe=[],me=[];function Qe(fe){var ue=me[fe](),oe=pe[fe];if(ue in oe)return ue;var ae=[];for(var le in oe)ae[oe[le]]=le;throw r&&r(fe,ae,ue),null}if(__gwt_isKnownPropertyValue=function(fe,ue){return ue in pe[fe]},webModule.__getPropMap=function(){var fe={};for(var ue in pe)pe.hasOwnProperty(ue)&&(fe[ue]=Qe(ue));return fe},webModule.__computePropValue=Qe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var we=E.indexOf(Db);we!=-1&&(Mt=parseInt(E.substring(we+P),$),E=E.substring(O,we))}catch(fe){}return webModule.__softPermutationId=Mt,C(E+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})()},2130:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Ax:function(){return we},Ds:function(){return fe},KI:function(){return oe},SI:function(){return E},f1:function(){return Qe}});var me=pe(29701);function Qe(ae){let le=!0;if(ae.length>0){for(let re=0;reEe in Ue?a(Ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:He}):Ue[Ee]=He,ve=(Ue,Ee)=>{for(var He in Ee||(Ee={}))te.call(Ee,He)&&ge(Ue,He,Ee[He]);if(ee)for(var He of ee(Ee))de.call(Ee,He)&&ge(Ue,He,Ee[He]);return Ue},ye=(Ue,Ee)=>x(Ue,b(Ee)),be=(Ue,Ee,He)=>new Promise((Oe,ke)=>{var Xe=at=>{try{ze(He.next(at))}catch(et){ke(et)}},$e=at=>{try{ze(He.throw(at))}catch(et){ke(et)}},ze=at=>at.done?Oe(at.value):Promise.resolve(at.value).then(Xe,$e);ze((He=He.apply(Ue,Ee)).next())});const Ce=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:Se}=Qe.default,Pe=({exercise:Ue,socket:Ee,dispatch:He,onStartScreenshot:Oe,onCloseScreenshot:ke,handleToDetail:Xe})=>{const $e=(0,ne.useIntl)(),[ze,at]=E.default.useModal(),et=(0,me.useRef)(),[it,At]=(0,me.useState)(!0),ot=(0,me.useRef)(!1),rt=(0,ne.useParams)();(0,me.useEffect)(()=>{var Ge,dt,mt;if(document.addEventListener((0,fe.gH)(),Ne,!1),window.addEventListener("blur",De,!1),(Ge=Ue.exerciseUserInfo)!=null&&Ge.screen_open&&(0,fe.vp)()&&At(!1),(dt=Ue.exerciseUserInfo)!=null&&dt.screen_open&&!(0,fe.vp)()){(0,ie.RG)(" ",!0);const st=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ue.exerciseUserInfo.screen_sec+3:Ue.exerciseUserInfo.screen_sec+10+1;et.current=E.default.info({icon:null,centered:!0,width:444,title:(0,z._V)(z.CP.recordScreen1),keyboard:!1,content:y.createElement("div",null,(0,z._V)(z.CP.recordScreen2),y.createElement("span",{style:{color:"#FF9849"}},Ue.exerciseUserInfo.screen_num-Ue.exerciseUserInfo.used_screen_num),(0,z._V)(z.CP.recordScreen3)),okText:y.createElement("span",null,(0,z._V)(z.CP.recordScreen4),"\uFF08",y.createElement("span",{style:{display:"inline-block"}},y.createElement(Se,{onFinish:()=>be(void 0,null,function*(){var Et;const Bt=yield Te();(Et=et.current)==null||Et.destroy(),Bt.used_screen_num&&Ie(Bt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+st*1e3})),"S\uFF09"),onOk:()=>{var Et;(0,ie.RG)(" ",!0),(Et=et.current)==null||Et.destroy(),At(!1),(0,fe.Dj)(document.body),document.getElementById("root").addEventListener("click",gt,!1)}})}return(mt=Ue.exerciseUserInfo)!=null&&mt.screen_open&&!(0,fe.vp)()||document.getElementById("root").addEventListener("click",gt,!1),()=>{document.getElementById("root").removeEventListener("click",gt,!1),document.removeEventListener((0,fe.gH)(),Ne,!1),window.removeEventListener("blur",De,!1)}},[]),(0,me.useEffect)(()=>{setTimeout(()=>{Ue.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",gt,!1),document.removeEventListener((0,fe.gH)(),Ne,!1))},500),yt()},[Ue.actionTabs]),(0,me.useEffect)(()=>{setTimeout(()=>{Ue.exerciseUserInfo.used_screen_num>Ue.exerciseUserInfo.screen_num&&_e()},500)},[Ue.exerciseUserInfo]);const lt=()=>be(void 0,null,function*(){const Ge=yield Te();setTimeout(()=>{var dt,mt;(dt=et.current)==null||dt.destroy(),et.current=E.default.info({okText:y.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:y.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",y.createElement("span",{className:"c-red"},Ge.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",y.createElement("span",{className:"c-red"},(mt=Ue.exerciseUserInfo)==null?void 0:mt.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>be(void 0,null,function*(){(0,fe.Dj)(document.body)})})},1e3)}),gt=Ge=>{!(0,fe.vp)()&&Ge.target.nodeName!=="A"&&Ge.target.nodeName!=="BUTTON"&&Ge.target.innerHTML!=="\u786E \u5B9A"&&(0,fe.Dj)(document.body)},yt=()=>be(void 0,null,function*(){const Ge=yield He({type:"exercise/getExerciseUserInfo",payload:ve({},rt)});return Ge==null?void 0:Ge.data}),Tt=Ge=>be(void 0,null,function*(){var dt;if((dt=Ue.exerciseUserInfo)!=null&&dt.screen_at){const st=yield(0,ue.ck)(ye(ve({},rt),{reset:!0}));if((st==null?void 0:st.status)===-6)return}const mt=yield(0,ue.oy)({id:rt.categoryId});if(mt!=null&&mt.is_commit){E.default.destroyAll(),yield vt(),Fe(!0);return}else Ie(Ge+1)}),vt=()=>be(void 0,null,function*(){var Ge;const dt=ae()(),mt=Ue.exerciseUserInfo.screen_sec;if(je.current.length>0){const st=dt.format("YYYY-MM-DD HH:mm:ss");let Et=Math.floor(dt.diff(ae()(je.current[0].start))/1e3);const Bt=je.current.length;Et/mt>>0>Bt&&(Et=(Bt+1)*mt-1),yield(0,ue.P8)(rt.categoryId,{exercise_user_id:(Ge=Ue.exerciseUserInfo)==null?void 0:Ge.exercise_user_id,time:st,time_long:Et,count:Bt})}je.current=[]}),ut=(0,me.useRef)(0),qe=(0,me.useRef)(0),je=(0,me.useRef)([]),Ve=(0,me.useRef)(!1),Ie=Ge=>be(void 0,null,function*(){var dt;ot.current||(Oe(),E.default.destroyAll(),ut.current=ae()().valueOf(),Ve.current=!0,et.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:le.exitFullScreenModalWrapper,okText:y.createElement("span",null,(0,z._V)(z.CP.recordScreen8)),content:y.createElement("div",{className:le.exitFullScreenModal},y.createElement("img",{src:re,alt:"",className:le.warningIcon}),y.createElement("div",{className:le.warningText,style:{marginBottom:50,fontWeight:500}},(0,z._V)(z.CP.recordScreen9)),y.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen10)),y.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen11),y.createElement("span",{className:le.warningText},((dt=Ue.exerciseUserInfo)==null?void 0:dt.screen_num)+1),(0,z._V)(z.CP.recordScreen12),y.createElement("span",{className:le.warningText,style:{fontWeight:600}},(0,z._V)(z.CP.recordScreen13)),",",(0,z._V)(z.CP.recordScreen14),y.createElement("span",{className:le.warningText},Ge-1),(0,z._V)(z.CP.recordScreen15)),y.createElement("div",null,y.createElement("span",null,y.createElement(Se,{className:le.countdownWrapper,onFinish:()=>{qe.current=ae()().valueOf(),je.current.push({start:ut.current,end:qe.current}),Tt(Ge)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ue.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,ie.RG)(" ",!0),vt(),(0,fe.Dj)(document.body),ke(),et.current.destroy(),Ve.current=!1}}))}),_e=()=>be(void 0,null,function*(){E.default.destroyAll(),(yield(0,ue.VL)({categoryId:rt.categoryId,commit_method:1}))&&Fe()}),Fe=(Ge=!1)=>be(void 0,null,function*(){var dt,mt;if(document.removeEventListener((0,fe.gH)(),Ne,!1),(0,fe.BU)(),E.default.destroyAll(),ot.current=!0,Ge){const st=yield(0,ue.Yu)(rt.categoryId,{exercise_user_id:(dt=Ue.exerciseUserInfo)==null?void 0:dt.exercise_user_id});ze.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:$e.formatMessage({id:"classroomGraphicGroupHomework.return",defaultMessage:"\u8FD4\u56DE"}),width:616,className:le.forcedModalWrapper,centered:!0,content:y.createElement("div",{className:le.forcedModalContent},y.createElement("img",{src:se,alt:""}),y.createElement("div",{className:le.forcedText},(0,z._V)(z.CP.recordScreen17)),y.createElement("div",{className:le.screenNumText},(0,z._V)(z.CP.recordScreen18),(mt=Ue.exerciseUserInfo)==null?void 0:mt.screen_num,(0,z._V)(z.CP.recordScreen19)),y.createElement(we.default,{dataSource:st==null?void 0:st.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,z._V)(z.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,z._V)(z.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,z._V)(z.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{ke(),Xe()},onOk:()=>{ne.history.push(`/classrooms/${rt.coursesId}/exercisenotice/${rt.categoryId}/users/${rt.login}?isShowApply=true`)}})}else ze.info({content:y.createElement("div",{className:"tc font16"},(0,z._V)(z.CP.recordScreen23),y.createElement("br",null),(0,z._V)(z.CP.recordScreen24)),onOk:()=>{Xe()}})}),De=Ge=>{(0,fe.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ve.current&&(0,fe.BU)()},Te=()=>be(void 0,null,function*(){var Ge;if((Ge=Ue.exerciseUserInfo)!=null&&Ge.screen_at){const st=yield(0,ue.ck)(ye(ve({},rt),{reset:!0}));if((st==null?void 0:st.status)===-6)return}const dt=yield(0,ue.oy)({id:rt.categoryId});if(dt!=null&&dt.is_commit){Fe();return}return yield yt()}),Ne=()=>be(void 0,null,function*(){var Ge;if((0,ie.RG)(" ",!0),(0,fe.vp)()){if((Ge=Ue.exerciseUserInfo)!=null&&Ge.screen_at){var dt=yield(0,ue.ck)(ye(ve({},rt),{reset:!0}));if((dt==null?void 0:dt.status)===-6)return}}else if(!Ve.current){var dt=yield(0,ue.ck)(ve({},rt));if((dt==null?void 0:dt.status)===-6)return;const st=yield yt();Ie(st.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Le=()=>be(void 0,null,function*(){(0,ue.ck)(ve({},rt));const Ge=yield yt();Ie(Ge.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return y.createElement("div",null,at)};var Be=(0,ne.connect)(({exercise:Ue,globalSetting:Ee})=>({globalSetting:Ee,exercise:Ue}))(Pe)},21439:function(Jt,Mt,pe){"use strict";pe.d(Mt,{X:function(){return we},y:function(){return E}});var me=pe(59301),Qe=pe(8591);const E=fe=>{(0,me.useEffect)(()=>{if(fe){const ue=ae=>{ae.key==="F12"&&(ae.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},oe=ae=>{ae.preventDefault()};return document.addEventListener("keydown",ue),document.addEventListener("contextmenu",oe),()=>{document.removeEventListener("keydown",ue),document.removeEventListener("contextmenu",oe)}}},[fe])},we=()=>{const[fe,ue]=(0,me.useState)(!1),oe=ae=>{const{keyCode:le,ctrlKey:re,metaKey:se,type:ie}=ae;(ie==="paste"||(le===67||le===86)&&(se||re))&&(Qe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ae.preventDefault(),ae.stopPropagation())};return(0,me.useEffect)(()=>(fe&&(window.addEventListener("keydown",oe,!0),window.addEventListener("paste",oe,!0)),()=>{window.removeEventListener("keydown",oe,!0),window.removeEventListener("paste",oe,!0)}),[fe]),{setOpenDisableCopyAndPaste:ue,disableCopyAndPaste:fe}}},67340:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ie}});var me=pe(59301),Qe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=pe(92310),we=pe.n(E),fe=pe(71418),ue=pe(2859),oe=pe(59729),ae=pe(99770),le=pe(58024),re=(ne,z,y)=>new Promise((a,x)=>{var b=de=>{try{te(y.next(de))}catch(ge){x(ge)}},ee=de=>{try{te(y.throw(de))}catch(ge){x(ge)}},te=de=>de.done?a(de.value):Promise.resolve(de.value).then(b,ee);te((y=y.apply(ne,z)).next())}),ie=({data:ne,className:z,fullWidth:y,style:a={},onClose:x,onOk:b,showFullTools:ee,noAssociationId:te})=>{const de=(0,le.useIntl)(),ge=(0,me.useRef)(null),ve=(0,me.useRef)(null),ye=(0,me.useRef)(null),be=(0,me.useRef)(null),[Ce,Se]=(0,me.useState)(!1),[Pe,Be]=(0,me.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,me.useEffect)(()=>{ye.current||(ye.current=document.createElement("style"),document.head.appendChild(ye.current)),ne!=null&&ne.visible?(document.body.setAttribute("data-custom","y-hidden"),ye.current.innerHTML=" html { overflow-y: hidden; }",ne!=null&&ne.src&&Ue()):(document.body.removeAttribute("data-custom"),ye.current&&(document.head.removeChild(ye.current),ye.current=null))},[ne==null?void 0:ne.visible]);const Ue=()=>re(void 0,null,function*(){Se(!0),Be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Xe=yield(0,ae.ZJ)(ne==null?void 0:ne.src);ge.current.src="",ge.current.src=Xe,ge.current.onload=function(){ke()},Se(!1),Be("")}),Ee=()=>{document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",x()},He=Xe=>re(void 0,null,function*(){Se(!0),Be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const $e=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ne.title,file:Xe.dataUrl}});$e!=null&&$e.id&&!te?(yield(0,oe.ZP)(`/api/attachments/${ne.id}/add_subitem.json`,{method:"post",body:{subitem_id:$e==null?void 0:$e.id,settings:JSON.stringify(Xe.state)}})).status===0&&b():$e!=null&&$e.id&&b($e),document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",Se(!1),Be("")}),Oe=()=>{const Xe=document.querySelector('a[href="https://markerjs.com/"]');Xe&&Xe.parentNode&&(Xe.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:de.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:de.formatMessage({id:"classroomClassroomExperiments.save",defaultMessage:"\u4FDD\u5B58"})},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(ze=>{const at=document.querySelector(ze.name);at&&at.setAttribute("title",ze.title)})},ke=()=>{ve.current=new ue.hP(ge.current),ve.current.targetRoot=be.current,ve.current.addEventListener("render",He),ve.current.addEventListener("beforeclose",Ee),ee&&(ve.current.availableMarkerTypes=ve.current.ALL_MARKER_TYPES,ve.current.uiStyleSettings.redoButtonVisible=!0,ve.current.uiStyleSettings.notesButtonVisible=!0,ve.current.uiStyleSettings.zoomButtonVisible=!0,ve.current.uiStyleSettings.zoomOutButtonVisible=!0,ve.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ve.current.uiStyleSettings,ve.current.show(),ne!=null&&ne.snapshotData&&ve.current.restoreState(ne.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Oe()},300)};return me.createElement(me.Fragment,null,(ne==null?void 0:ne.visible)&&me.createElement(fe.Z,{spinning:Ce,tip:Pe,style:{position:"absolute"}},me.createElement("div",{ref:be,className:we()(Qe.imageDimensions,z,y?Qe.fullWidth:""),style:a},me.createElement("img",{className:Qe.img,ref:ge}))))}},58595:function(Jt,Mt,pe){"use strict";var me=pe(59301),Qe=pe(95237),E=pe(43604),we=pe(99313),fe=pe(3113),ue=pe(72481),oe=pe(14547),ae=pe(48136),le=pe(58024),re=pe(59301);const se=(0,me.forwardRef)(({callback:ie,showSaveButton:ne,value:z=""},y)=>{const a=(0,me.useRef)(),x=(0,le.useIntl)(),b=[{name:x.formatMessage({id:"markdownEditor.fractionsScores",defaultMessage:"\u5206\u6570\u5F97\u5206"}),value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:x.formatMessage({id:"markdownEditor.rootsSuperscripts",defaultMessage:"\u6839\u5F0F\u89D2\u6807"}),value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:x.formatMessage({id:"markdownEditor.limitsLogarithms",defaultMessage:"\u6781\u9650\u5BF9\u6570"}),value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:x.formatMessage({id:"markdownEditor.trigonometricFunctions",defaultMessage:"\u4E09\u89D2\u51FD\u6570"}),value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:x.formatMessage({id:"markdownEditor.integralOperations",defaultMessage:"\u79EF\u5206\u8FD0\u7B97"}),value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:x.formatMessage({id:"markdownEditor.largeOperations",defaultMessage:"\u5927\u578B\u8FD0\u7B97"}),value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:x.formatMessage({id:"markdownEditor.bracketsRounding",defaultMessage:"\u62EC\u53F7\u53D6\u6574"}),value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],ee=[{name:x.formatMessage({id:"markdownEditor.algebra",defaultMessage:"\u4EE3\u6570"}),value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:x.formatMessage({id:"markdownEditor.geometry",defaultMessage:"\u51E0\u4F55"}),value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:x.formatMessage({id:"markdownEditor.inequalities",defaultMessage:"\u4E0D\u7B49\u5F0F"}),value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:x.formatMessage({id:"markdownEditor.integrals",defaultMessage:"\u79EF\u5206"}),value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:x.formatMessage({id:"markdownEditor.trigonometry",defaultMessage:"\u4E09\u89D2"}),value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:x.formatMessage({id:"markdownEditor.statistics",defaultMessage:"\u7EDF\u8BA1"}),value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],te=ve=>{a.current.setValue(a.current.getValue()+" "+ve.value+" ")},de=[{key:"1",label:x.formatMessage({id:"markdownEditor.quickTemplates",defaultMessage:"\u5FEB\u6377\u6A21\u677F"}),children:re.createElement(Qe.Z,{className:oe.Z.lists,gutter:[10,10]},b.map((ve,ye)=>re.createElement(E.Z,{flex:"110px",className:oe.Z.item},re.createElement("div",null,re.createElement(ue.Z,{value:`$$${ve.value}$$`}),ve.name),re.createElement("div",{className:oe.Z.children},ve.children.map((be,Ce)=>re.createElement("div",{key:Ce},re.createElement("h1",null,be.name),re.createElement(Qe.Z,{gutter:[10,10]},be.data.map((Se,Pe)=>re.createElement(E.Z,{key:Pe,onClick:()=>te(Se),className:oe.Z.diamond},re.createElement(ue.Z,{value:"`$$"+Se.value+"$$`"}))))))))))},{key:"2",label:x.formatMessage({id:"markdownEditor.formulaTemplates",defaultMessage:"\u516C\u5F0F\u6A21\u677F"}),children:re.createElement(Qe.Z,{className:oe.Z.lists,gutter:[10,10]},ee.map((ve,ye)=>re.createElement(E.Z,{flex:"110px",className:oe.Z.item},re.createElement("div",null,re.createElement(ue.Z,{value:"`$$"+ve.value+"$$`"}),ve.name),re.createElement("div",{className:oe.Z.children},ve.children.map((be,Ce)=>re.createElement("div",{key:Ce},be.name&&re.createElement("h1",null,be.name),re.createElement(Qe.Z,{gutter:[10,10]},be.data.map((Se,Pe)=>re.createElement(E.Z,{key:Pe,onClick:()=>te(Se),className:oe.Z.diamond},re.createElement(ue.Z,{value:"`$$"+Se.value+"$$`"}))))))))))}],ge=()=>{var ve=document.createElement("div");ve.innerHTML=a.current.getValue();var ye=ve.innerText;return ie&&ie(ye),ye};return(0,me.useImperativeHandle)(y,()=>({getData:ge})),re.createElement("div",{className:oe.Z.mathWrap},re.createElement(we.default,{defaultActiveKey:"1",items:de}),re.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:x.formatMessage({id:"markdownEditor.pleaseOpenKeyboardEnterFormula",defaultMessage:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F"}),ref:a,style:{width:800,marginTop:30,fontSize:18}},z||""),ne&&re.createElement("div",{className:oe.Z.button},re.createElement(fe.ZP,{size:"large",onClick:ge,style:{zIndex:8,marginTop:10},type:"primary"},x.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))});Mt.Z=se},77433:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return we}});var me=pe(58024),Qe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=pe(59301),we=({message:fe,className:ue,children:oe,style:ae={}})=>E.createElement("div",{className:`custom-spinner ${Qe.idsRingWrapper} ${ue}`},E.createElement("div",{className:Qe.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),fe?E.createElement("p",{style:ae},fe):null,oe,E.createElement(me.Outlet,null))},75950:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return we}});var me=pe(59301),Qe=pe(5137),E=pe(59301),we=({defaultX:fe="40%",leftChild:ue,rightChild:oe,className:ae,hideResize:le=!1})=>{const[re,se]=(0,me.useState)(fe),ie=(0,me.useRef)();function ne(){ie.current=!0}(0,me.useEffect)(()=>{function a(b){ie.current&&(Qe.Z.publish("resize-move-bar",b),se(b.pageX))}function x(){ie.current=!1}return window.addEventListener("mousemove",a),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",a),window.removeEventListener("mouseup",x)}},[]);const z=typeof re=="number"&&re!==.01?`${re}px`:fe,y=`calc(100% - ${le?"0px":"4px"} - ${z})`;return E.createElement("div",{className:`split-panel-container ${ae}`},E.createElement("section",{style:{width:z,display:re===.01?"none":""}},ue),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:y}},oe))}},88909:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ue}});var me=pe(59301),Qe={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=pe(92310),we=pe.n(E),ue=({className:oe,style:ae={},leftNode:le,leftTitle:re="\u81EA\u6D4B\u8F93\u5165",rightNode:se,rightTitle:ie="\u8FD0\u884C\u7ED3\u679C"})=>me.createElement("div",{className:we()(Qe.result,oe),style:ae},me.createElement("div",{className:Qe.left},me.createElement("div",{className:Qe.title},me.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),me.createElement("span",null,re)),me.createElement("div",{className:Qe.leftNode},le)),me.createElement("div",{className:Qe.right},me.createElement("div",{className:Qe.title},me.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),me.createElement("span",null,ie)),me.createElement("div",{className:Qe.rightNode},se)))},19365:function(Jt,Mt,pe){"use strict";var me=pe(59301);const Qe=we=>String(we).length===1?`0${we}`:we,E=({className:we="",onChange:fe,defaultValue:ue=0})=>{const[oe,ae]=(0,me.useState)(ue);(0,me.useEffect)(()=>{const ie=setTimeout(()=>{ae(oe+1e3)},1e3);return fe(oe+1e3),()=>{clearInterval(ie)}},[oe]);const le=parseInt(oe/(60*6e4))||"00",re=parseInt(oe%(60*6e4)/6e4)||"00",se=parseInt(oe%6e4/1e3)||"00";return me.createElement("div",{className:we},Qe(le),":",Qe(re),":",Qe(se))};Mt.Z=E},85776:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return Ue}});var me=pe(59301),Qe=pe(58024),E=pe(43418),we=pe(78241),fe=pe(8591),ue=pe(71418),oe=pe(17574),ae=pe(95237),le=pe(43604),re=pe(6848),se=pe(92832),ie={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},ne=pe(66602),z=pe(36854),y=pe(64398),a=pe(13861),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ve=(Ee,He,Oe)=>He in Ee?x(Ee,He,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Ee[He]=Oe,ye=(Ee,He)=>{for(var Oe in He||(He={}))de.call(He,Oe)&&ve(Ee,Oe,He[Oe]);if(te)for(var Oe of te(He))ge.call(He,Oe)&&ve(Ee,Oe,He[Oe]);return Ee},be=(Ee,He)=>b(Ee,ee(He)),Ce=(Ee,He)=>{var Oe={};for(var ke in Ee)de.call(Ee,ke)&&He.indexOf(ke)<0&&(Oe[ke]=Ee[ke]);if(Ee!=null&&te)for(var ke of te(Ee))He.indexOf(ke)<0&&ge.call(Ee,ke)&&(Oe[ke]=Ee[ke]);return Oe},Se=(Ee,He,Oe)=>new Promise((ke,Xe)=>{var $e=et=>{try{at(Oe.next(et))}catch(it){Xe(it)}},ze=et=>{try{at(Oe.throw(et))}catch(it){Xe(it)}},at=et=>et.done?ke(et.value):Promise.resolve(et.value).then($e,ze);at((Oe=Oe.apply(Ee,He)).next())});const Pe=(Ee=[])=>Ee==null?void 0:Ee.map(He=>be(ye({},He),{title:(He==null?void 0:He.value)||"",key:He==null?void 0:He.id,isLeaf:!0})),Be=Ee=>{var He=Ee,{user:Oe,children:ke,isShowComponent:Xe=!0,ModalProps:$e={},onDataSelect:ze}=He,at=Ce(He,["user","children","isShowComponent","ModalProps","onDataSelect"]);const et=(0,Qe.useIntl)(),[it,At]=E.default.useModal(),[ot]=we.default.useForm(),[rt,lt]=(0,me.useState)([]),[gt,yt]=(0,me.useState)(!1),[Tt,vt]=(0,me.useState)(!1),[,ut,qe,je]=(0,ne.U)(z.qE,{page:1,limit:9999}),[,,Ve]=(0,ne.U)(z.V8,{}),[,,Ie]=(0,ne.U)(z.B$,{}),[,,_e]=(0,ne.U)(z.DH,{}),[,,Fe]=(0,ne.U)(z.bJ,{}),De=()=>{yt(!1),ot.resetFields(),vt(!1)},Te=Le=>Se(void 0,null,function*(){const{node:Ge,dragNode:dt,event:mt}=Le,st=Le.node.pos.split("-"),Et=Le.dropPosition-Number(st[st.length-1]);if(Et==0){fe.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Et==1&&(dt==null?void 0:dt.item_index)==(Ge==null?void 0:Ge.item_index)+1){fe.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Bt=yield Fe({id:dt==null?void 0:dt.key,position:Et==-1?1:(dt==null?void 0:dt.item_index)>(Ge==null?void 0:Ge.item_index)?(Ge==null?void 0:Ge.item_index)+1:Ge==null?void 0:Ge.item_index});(Bt==null?void 0:Bt.status)===0&&(fe.ZP.success("\u79FB\u52A8\u6210\u529F"),qe({},!0))}),Ne=Le=>Se(void 0,null,function*(){let Ge={};Tt?Ge=yield Ie(ye({},Le)):Ge=yield _e(ye({},Le)),(Ge==null?void 0:Ge.status)==0&&(fe.ZP.success((Ge==null?void 0:Ge.message)||(Tt?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),qe({},!0),De())});return(0,me.useEffect)(()=>{$e!=null&&$e.open&&qe({},!0)},[$e==null?void 0:$e.open]),(0,me.useEffect)(()=>{var Le;lt(Pe((Le=je==null?void 0:je.data)==null?void 0:Le.list))},[je]),Xe?me.createElement(me.Fragment,null,At,ke,me.createElement(E.default,ye({},ye({title:et.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}),width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},$e)),me.createElement(ue.Z,{spinning:ut},(rt==null?void 0:rt.length)>0?me.createElement(me.Fragment,null,me.createElement(oe.default.DirectoryTree,{height:500,className:ie.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:ze,treeData:rt,onDrop:Te,titleRender:Le=>me.createElement(me.Fragment,null,me.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Le==null?void 0:Le.title),me.createElement("div",{className:`${ie.EditDom}`},me.createElement(ae.Z,{wrap:!1,align:"middle",gutter:16},me.createElement(le.Z,null,me.createElement(re.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},me.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ie.currentPrimary}`}))),me.createElement(le.Z,null,me.createElement(re.Z,{title:et.formatMessage({id:"classroomProgrammingHomework.edit",defaultMessage:"\u7F16\u8F91"})},me.createElement("i",{className:`iconfont icon-bianji11 font12 ${ie.currentPrimary}`,onClick:Ge=>{Ge.stopPropagation(),ot.setFieldsValue(ye({},Le)),yt(!0)}}))),me.createElement(le.Z,null,me.createElement(re.Z,{title:"\u5220\u9664"},me.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ie.currentDelete}`,onClick:Ge=>{Ge.stopPropagation(),it.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:()=>Se(void 0,null,function*(){const dt=yield Ve({id:Le==null?void 0:Le.key});(dt==null?void 0:dt.status)==0&&(fe.ZP.success((dt==null?void 0:dt.message)||"\u5220\u9664\u6210\u529F"),qe({},!0))})})}}))))))}),me.createElement(a.op,{className:"ml20 mt20",icon:me.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{vt(!0),yt(!0)}},et.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\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:()=>{vt(!0),yt(!0)}},et.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"})))}))),me.createElement(E.default,{title:Tt?et.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"}):"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:gt,okText:Tt?et.formatMessage({id:"classrooms.add",defaultMessage:"\u6DFB\u52A0"}):et.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),onCancel:()=>{De()},onOk:()=>{ot.submit()}},me.createElement(we.default,{form:ot,onFinish:Ne},Tt&&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(we.default.Item,{hidden:!0,name:"id"}),me.createElement(we.default.Item,{className:"mt10",name:"value"},me.createElement(se.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9}}))))):null};var Ue=(0,Qe.connect)(({loading:Ee,user:He})=>({user:He,loading:Ee.effects}))(Be)},65052:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return we}});var me=pe(59301),Qe=pe(5137),E=pe(11611),we=()=>{const[fe,ue]=(0,me.useState)(""),[oe,ae]=(0,me.useState)(0);let[le,re]=(0,me.useState)(),[se,ie]=(0,me.useState)();const[ne,z]=(0,me.useState)(!1),y=(0,me.useRef)("");(0,me.useEffect)(()=>Qe.Z.subscribe("preview-image",Ce=>{ue(Ce),console.log(ve.current),document.body.style.overflow="hidden"}),[]),(0,me.useEffect)(()=>(document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}),[]),(0,me.useEffect)(()=>{y.current=fe},[fe]);function a(be){be.keyCode==27&&y.current&&x()}function x(){document.body.style.overflow="auto",re(void 0),ie(void 0),ae(0),ue("")}function b(){ae(oe+90)}function ee(){le=ve.current.width*1.1,se=ve.current.height*1.1,ie(se),re(le)}function te(){le=ve.current.width/1.1,se=ve.current.height/1.1,ie(se),re(le)}const de=(0,me.useRef)(),ge=(0,me.useRef)(),ve=(0,me.useRef)(),ye=be=>{(be.nativeEvent.target===de.current||be.nativeEvent.target===ge.current)&&x()};return me.createElement(me.Fragment,null,fe?me.createElement("div",null,me.createElement("div",{className:"preview-wrp-group",ref:ge},me.createElement(E.Z,{className:"image-preview",src:fe,style:{display:"none"},preview:{visible:!0,src:fe,movable:!1,onVisibleChange:be=>{ue("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},5722:function(Jt,Mt,pe){"use strict";pe.d(Mt,{h:function(){return ge}});var me=pe(59301),Qe=pe(57809),E=pe(78241),we=pe(3113),fe=pe(89780),ue=pe.n(fe),oe=pe(43753),ae=pe(77227),le=pe(58024),re=Object.defineProperty,se=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,a=(ve,ye,be)=>ye in ve?re(ve,ye,{enumerable:!0,configurable:!0,writable:!0,value:be}):ve[ye]=be,x=(ve,ye)=>{for(var be in ye||(ye={}))z.call(ye,be)&&a(ve,be,ye[be]);if(ne)for(var be of ne(ye))y.call(ye,be)&&a(ve,be,ye[be]);return ve},b=(ve,ye)=>se(ve,ie(ye));const ee=Qe.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},de={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Mt.Z=({callback:ve,onCancel:ye})=>{const[be,Ce]=(0,me.useState)("python");function Se(Ue){Ce(de[Ue][1])}function Pe(Ue){ve(Ue)}const Be=(0,le.useIntl)();return me.createElement(E.default,b(x({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),me.createElement(E.default.Item,{label:Be.formatMessage({id:"markdownEditor.codeLanguage",defaultMessage:"\u4EE3\u7801\u8BED\u8A00"}),name:"language"},me.createElement(Qe.default,{getPopupContainer:Ue=>Ue.parentNode,onChange:Se},Object.keys(de).map(Ue=>me.createElement(ee,{key:Ue,value:Ue},de[Ue][0])))),me.createElement(E.default.Item,{label:Be.formatMessage({id:"markdownEditor.codeContent",defaultMessage:"\u4EE3\u7801\u5185\u5BB9"}),name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},me.createElement(ge,{mode:be})),me.createElement("div",{className:"flex-container flex-end"},me.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},Be.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),me.createElement(we.ZP,{type:"ghost",onClick:ye},Be.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))};function ge({value:ve,onChange:ye,mode:be,options:Ce={}}){const Se=(0,me.useRef)(),[Pe,Be]=(0,me.useState)();return(0,me.useEffect)(()=>{if(Pe){let Ue=function(Ee){const He=Ee.getValue();ye&&ye(He)};return Pe.on("change",Ue),()=>{Pe.off("change",Ue)}}},[Pe,ye]),(0,me.useEffect)(()=>{Pe&&Pe.setOption("mode",be)},[Pe,be]),(0,me.useEffect)(()=>{Pe&&(ve!==Pe.getValue()||ve==="")&&setTimeout(()=>{Pe.setValue(ve||"")},300)},[Pe,ve]),(0,me.useEffect)(()=>{if(Se.current&&!Pe){const Ue=ue().fromTextArea(Se.current,x({mode:be,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ce));Be(Ue)}},[Se.current,Pe]),me.createElement("div",{className:"my-codemirror-container"},me.createElement("textarea",{ref:Se}))}},99672:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return Ga}});var me=pe(59301),Qe=pe(89780),E=pe.n(Qe),we=pe(76374),fe=pe(43753),ue=pe(6313),oe=pe(25717),ae=pe(99498),le=pe(25419),re=pe(67549),se=pe(72481),ie=({value:sn="",className:Pn,showTextOnly:An,showLines:xr,style:Wr={}})=>{const sa=(0,me.useMemo)(()=>"",[sn]);return me.createElement(me.Fragment,null,me.createElement("div",{dangerouslySetInnerHTML:{__html:sa}}))},ne=pe(58024),z=pe(59301),y=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,de=(sn,Pn,An)=>Pn in sn?y(sn,Pn,{enumerable:!0,configurable:!0,writable:!0,value:An}):sn[Pn]=An,ge=(sn,Pn)=>{for(var An in Pn||(Pn={}))ee.call(Pn,An)&&de(sn,An,Pn[An]);if(b)for(var An of b(Pn))te.call(Pn,An)&&de(sn,An,Pn[An]);return sn},ve=(sn,Pn)=>a(sn,x(Pn));function ye({onActionCallback:sn,title:Pn,icon:An,actionName:xr,className:Wr="",children:sa}){function La(){sn(xr)}return z.createElement("a",{title:Pn,className:Wr,onClick:La},z.createElement("i",{className:`${An}`}),sa)}var be=({watch:sn,showNullButton:Pn,showNullProgramButton:An,onActionCallback:xr,fullScreen:Wr,insertTemp:sa,hidetoolBar:La,extraUse:ua})=>{const fa=(0,ne.useIntl)(),Bn=[...[{title:fa.formatMessage({id:"markdownEditor.bold",defaultMessage:"\u7C97\u4F53"}),icon:"md-iconfont icon-bold",actionName:"bold"},{title:fa.formatMessage({id:"markdownEditor.italic",defaultMessage:"\u659C\u4F53"}),icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:fa.formatMessage({id:"markdownEditor.unorderedList",defaultMessage:"\u65E0\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:fa.formatMessage({id:"markdownEditor.orderedList",defaultMessage:"\u6709\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:fa.formatMessage({id:"markdownEditor.inlineCode",defaultMessage:"\u884C\u5185\u4EE3\u7801"}),icon:"md-iconfont icon-code",actionName:"code"},{title:fa.formatMessage({id:"markdownEditor.codeBlockMultiLanguage",defaultMessage:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09"}),icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:fa.formatMessage({id:"markdownEditor.link",defaultMessage:"\u94FE\u63A5"}),icon:"md-iconfont icon-link",actionName:"link"},"|",{title:fa.formatMessage({id:"markdownEditor.inlineFormula",defaultMessage:"\u884C\u5185\u516C\u5F0F"}),icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:fa.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:fa.formatMessage({id:"markdownEditor.multiLineFormula",defaultMessage:"\u591A\u884C\u516C\u5F0F"}),icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:fa.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:fa.formatMessage({id:"markdownEditor.insertDrawing",defaultMessage:"\u63D2\u5165\u753B\u56FE"}),icon:"iconfont icon-sheji",actionName:"draw-image"},{title:fa.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:fa.formatMessage({id:"markdownEditor.table",defaultMessage:"\u8868\u683C"}),icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:fa.formatMessage({id:"markdownEditor.lineBreak",defaultMessage:"\u6362\u884C"}),icon:"md-iconfont icon-minus",actionName:"line-break"},{title:fa.formatMessage({id:"markdownEditor.clear",defaultMessage:"\u6E05\u7A7A"}),icon:"md-iconfont icon-eraser",actionName:"eraser"}],{title:`${sn?fa.formatMessage({id:"markdownEditor.disableRealTimePreview",defaultMessage:"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8"}):fa.formatMessage({id:"markdownEditor.enableRealTimePreview",defaultMessage:"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"})}`,icon:`${sn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return z.createElement("ul",{className:"markdown-toolbar-container"},!La&&Bn.map((er,Zn)=>z.createElement("li",{key:Zn},er.actionName?z.createElement(ye,ve(ge({},er),{onActionCallback:xr})):z.createElement("span",{className:"v-line"}))),Pn?z.createElement("li",null,z.createElement(ye,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:xr},z.createElement("span",{className:"fill-tip"},fa.formatMessage({id:"questionBankAddQuestion.clickToInsertBlank",defaultMessage:"\u70B9\u51FB\u63D2\u5165"}),"\b",fa.formatMessage({id:"questionBankAddQuestion.blank",defaultMessage:"\u586B\u7A7A\u9879"})))):null,An?z.createElement(z.Fragment,null,z.createElement("li",null,z.createElement(ye,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:xr},z.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),z.createElement("li",null,z.createElement(ye,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:xr},z.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,sa&&z.createElement("li",null,z.createElement(ye,{icon:"md-iconfont icon-edit",className:"btn-null",title:fa.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"}),actionName:`inster-template-${sa}`,onActionCallback:xr},z.createElement("span",{className:"fill-tip"},fa.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"})))),ua&&z.createElement("li",null,ua),z.createElement("li",{className:"btn-full-screen"},z.createElement(ye,{icon:`${Wr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Wr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:xr})))},Ce=pe(31020),Se=pe(78241),Pe=pe(92832),Be=pe(3113),Ue=Object.defineProperty,Ee=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,$e=(sn,Pn,An)=>Pn in sn?Ue(sn,Pn,{enumerable:!0,configurable:!0,writable:!0,value:An}):sn[Pn]=An,ze=(sn,Pn)=>{for(var An in Pn||(Pn={}))ke.call(Pn,An)&&$e(sn,An,Pn[An]);if(Oe)for(var An of Oe(Pn))Xe.call(Pn,An)&&$e(sn,An,Pn[An]);return sn},at=(sn,Pn)=>Ee(sn,He(Pn));const et={labelCol:{span:4},wrapperCol:{span:20}};var it=({callback:sn,onCancel:Pn})=>{function An(Wr){sn(Wr)}const xr=(0,ne.useIntl)();return me.createElement(Se.default,at(ze({},et),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:An,style:{width:500}}),me.createElement(Se.default.Item,{label:xr.formatMessage({id:"markdownEditor.linkAddress",defaultMessage:"\u94FE\u63A5\u5730\u5740"}),name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},me.createElement(Pe.default,null)),me.createElement(Se.default.Item,{label:xr.formatMessage({id:"markdownEditor.linkTitle",defaultMessage:"\u94FE\u63A5\u6807\u9898"}),name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},me.createElement(Pe.default,null)),me.createElement("div",{className:"flex-container flex-end"},me.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},xr.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),me.createElement(Be.ZP,{type:"ghost",onClick:Pn},xr.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},At=pe(5722),ot=pe(72248),rt=pe(43418),lt=pe(95237),gt=pe(67340),yt=pe(59301),Tt=({callback:sn,onCancel:Pn})=>{const An=document.createElement("canvas"),xr=An.getContext("2d");An.width=1e3,An.height=800,xr.fillStyle="#ffffff",xr.fillRect(0,0,An.width,An.height);const Wr=An.toDataURL("image/png");return yt.createElement(rt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},yt.createElement(lt.Z,{style:{height:"100vh"}},yt.createElement(gt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Wr,visible:!0,title:String(Date.now())},onOk:sa=>{sn({src:sa.url})},onClose:Pn})))},vt=pe(12378);function ut(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ut,go.CommandHandler),ut.prototype.canAlignSelection=function(){var sn=this.diagram;return!(sn===null||sn.isReadOnly||sn.isModelReadOnly||sn.selection.count<2)},ut.prototype.alignLeft=function(){var sn=this.diagram;sn.startTransaction("aligning left");var Pn=1/0;sn.selection.each(function(An){An instanceof go.Link||(Pn=Math.min(An.position.x,Pn))}),sn.selection.each(function(An){An instanceof go.Link||An.move(new go.Point(Pn,An.position.y))}),sn.commitTransaction("aligning left")},ut.prototype.alignRight=function(){var sn=this.diagram;sn.startTransaction("aligning right");var Pn=-1/0;sn.selection.each(function(An){if(!(An instanceof go.Link)){var xr=An.actualBounds.x+An.actualBounds.width;Pn=Math.max(xr,Pn)}}),sn.selection.each(function(An){An instanceof go.Link||An.move(new go.Point(Pn-An.actualBounds.width,An.position.y))}),sn.commitTransaction("aligning right")},ut.prototype.alignTop=function(){var sn=this.diagram;sn.startTransaction("alignTop");var Pn=1/0;sn.selection.each(function(An){An instanceof go.Link||(Pn=Math.min(An.position.y,Pn))}),sn.selection.each(function(An){An instanceof go.Link||An.move(new go.Point(An.position.x,Pn))}),sn.commitTransaction("alignTop")},ut.prototype.alignBottom=function(){var sn=this.diagram;sn.startTransaction("aligning bottom");var Pn=-1/0;sn.selection.each(function(An){if(!(An instanceof go.Link)){var xr=An.actualBounds.y+An.actualBounds.height;Pn=Math.max(xr,Pn)}}),sn.selection.each(function(An){An instanceof go.Link||An.move(new go.Point(An.actualBounds.x,Pn-An.actualBounds.height))}),sn.commitTransaction("aligning bottom")},ut.prototype.alignCenterX=function(){var sn=this.diagram,Pn=sn.selection.first();if(Pn){sn.startTransaction("aligning Center X");var An=Pn.actualBounds.x+Pn.actualBounds.width/2;sn.selection.each(function(xr){xr instanceof go.Link||xr.move(new go.Point(An-xr.actualBounds.width/2,xr.actualBounds.y))}),sn.commitTransaction("aligning Center X")}},ut.prototype.alignCenterY=function(){var sn=this.diagram,Pn=sn.selection.first();if(Pn){sn.startTransaction("aligning Center Y");var An=Pn.actualBounds.y+Pn.actualBounds.height/2;sn.selection.each(function(xr){xr instanceof go.Link||xr.move(new go.Point(xr.actualBounds.x,An-xr.actualBounds.height/2))}),sn.commitTransaction("aligning Center Y")}},ut.prototype.alignColumn=function(sn){var Pn=this.diagram;Pn.startTransaction("align Column"),sn===void 0&&(sn=0),sn=parseFloat(sn);var An=new Array;Pn.selection.each(function(ua){ua instanceof go.Link||An.push(ua)});for(var xr=0;xr0){for(var ua=sa.elt(La-1);ua!==null&&ua.isTreeExpanded&&!ua.isTreeLeaf;){var fa=this._sortTreeChildrenByY(ua);ua=fa.last()}ua!==null&&sn.select(ua)}else sn.select(Wr)}}else if(An.key==="Down")if(Pn.isTreeExpanded&&!Pn.isTreeLeaf){var xr=this._sortTreeChildrenByY(Pn).first();xr!==null&&sn.select(xr)}else for(;Pn!==null;){var Wr=Pn.findTreeParentNode();if(Wr===null)break;var sa=this._sortTreeChildrenByY(Wr),La=sa.indexOf(Pn);if(Lasa.y?1:Wr.xsa.x?1:0}),Pn},ut.prototype.copyToClipboard=function(sn){go.CommandHandler.prototype.copyToClipboard.call(this,sn),this._lastPasteOffset.set(this.pasteOffset)},ut.prototype.pasteFromClipboard=function(){var sn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(sn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),sn},Object.defineProperty(ut.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(sn){if(sn!=="move"&&sn!=="select"&&sn!=="scroll"&&sn!=="tree"&&sn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+sn);this._arrowKeyBehavior=sn}}),Object.defineProperty(ut.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(sn){if(!(sn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+sn);this._pasteOffset.set(sn)}});var qe=ut,je=pe(61159),Ve=pe(43604),Ie=pe(59729),_e={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=pe(59301),De=(sn,Pn,An)=>new Promise((xr,Wr)=>{var sa=fa=>{try{ua(An.next(fa))}catch(nr){Wr(nr)}},La=fa=>{try{ua(An.throw(fa))}catch(nr){Wr(nr)}},ua=fa=>fa.done?xr(fa.value):Promise.resolve(fa.value).then(sa,La);ua((An=An.apply(sn,Pn)).next())});function Te({onCancel:sn,callback:Pn}){let An=(0,me.useRef)(),xr=(0,me.useRef)(),Wr=(0,me.useRef)(),sa=(0,me.useRef)(!1);const La=(0,me.useRef)(!1),[ua,fa]=(0,me.useState)(0);function nr(){const Zn=vt.bx.make,kr={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"};An.current=new vt.S0(xr.current,{padding:20,grid:Zn(vt.s_,"Grid",Zn(vt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Zn(vt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Ur=>{var pa=Ur.diagram.commandHandler.addTopLevelParts(Ur.diagram.selection,!0);pa||Ur.diagram.currentTool.doCancel()},commandHandler:Zn(qe),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Ur=>{var pa=Ur.subject;pa.location=pa.location.copy().snapToGridPoint(Ur.diagram.grid.gridOrigin,Ur.diagram.grid.gridCellSize),setTimeout(()=>{Ur.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Ur=>{var pa=Ur.subject;setTimeout(()=>{Ur.diagram.commandHandler.editTextBlock()})},LinkRelinked:Ur=>{var pa=Ur.parameter.part;pa.invalidateConnectedLinks();var Ba=Ur.subject;Ur.diagram.toolManager.linkingTool.isForwards?Ba.toNode.invalidateConnectedLinks():Ba.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),An.current.nodeTemplate=Zn(vt.NB,"Auto",{locationSpot:vt.z6.Center,locationObjectName:"SHAPE",desiredSize:new vt.$u(120,60),minSize:new vt.$u(40,40),resizable:!0,resizeCellSize:new vt.$u(10,10),rotatable:!0},new vt.KX("location","loc",vt.E9.parse).makeTwoWay(vt.E9.stringify),new vt.KX("desiredSize","size",vt.$u.parse).makeTwoWay(vt.$u.stringify),Zn(vt.bn,{name:"SHAPE",fill:kr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:vt.z6.AllSides,toSpot:vt.z6.AllSides},new vt.KX("figure"),new vt.KX("fill"),new vt.KX("stroke","borderColor"),new vt.KX("strokeWidth","thickness"),new vt.KX("strokeDashArray","dash")),Zn(vt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Zn(vt.al,{margin:1,textAlign:"center",overflow:vt.al.OverflowEllipsis,editable:!0},new vt.KX("text").makeTwoWay(),new vt.KX("stroke","color"))),An.current.nodeTemplate.toolTip=Zn("ToolTip",Zn(vt.s_,"Vertical",{maxSize:new vt.$u(200,NaN)},Zn(vt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new vt.KX("text")),Zn(vt.al,{font:"10pt sans-serif",textAlign:"center"},new vt.KX("text","details"))));function Ca(Ur,pa){var Ba=(va,Uo)=>{va.handled=!0,va.diagram.model.commit(Do=>{var Ia=Uo.part.adornedPart,mi=new vt.E9().setRectSpot(Ia.actualBounds,Ur);mi.subtract(Ia.location),mi.scale(2,2),mi.x+=Math.sign(mi.x)*130,mi.y+=Math.sign(mi.y)*130,mi.add(Ia.location),mi.snapToGridPoint(va.diagram.grid.gridOrigin,va.diagram.grid.gridCellSize);var ii=Do.copyNodeData(Ia.data);Do.setGroupKeyForNodeData(ii,Do.getGroupKeyForNodeData(Ia.data)),Do.addNodeData(ii);var ki={from:Ia.key,to:Do.getKeyForNodeData(ii)};Do.addLinkData(ki);var ts=va.diagram.findNodeForData(ii);ts.location=mi,va.diagram.select(ts),setTimeout(()=>{va.diagram.commandHandler.editTextBlock()},20)})};return Zn(vt.bn,{figure:pa,alignment:Ur,alignmentFocus:Ur.opposite(),width:Ur.equals(vt.z6.Top)||Ur.equals(vt.z6.Bottom)?25:18,height:Ur.equals(vt.z6.Top)||Ur.equals(vt.z6.Bottom)?18:25,fill:"orange",stroke:kr.white,strokeWidth:4,mouseEnter:(va,Uo)=>Uo.fill="dodgerblue",mouseLeave:(va,Uo)=>Uo.fill="orange",isActionable:!0,click:Ba,contextClick:Ba})}function ga(Ur){return Zn(vt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(pa,Ba)=>Ba.fill="dodgerblue",mouseLeave:(pa,Ba)=>Ba.fill="orange",click:(pa,Ba)=>{pa.diagram.commandHandler.showContextMenu(Ba.part.adornedPart)}},Ur||{})}An.current.nodeTemplate.selectionAdornmentTemplate=Zn(vt.uz,"Spot",Zn(vt.Vm,{padding:10}),Ca(vt.z6.Top,"TriangleUp"),Ca(vt.z6.Left,"TriangleLeft"),Ca(vt.z6.Right,"TriangleRight"),Ca(vt.z6.Bottom,"TriangleDown"),ga({alignment:new vt.z6(.75,0)}));function aa(Ur,pa){return(Ba,va)=>{Ba.handled=!0,Ba.diagram.model.commit(Uo=>{Uo.set(va.part.adornedPart.data,Ur,pa)})}}function on(Ur,pa){return pa||(pa="color"),Zn(vt.bn,{width:16,height:16,stroke:"lightgray",fill:Ur,margin:1,background:"transparent",mouseEnter:(Ba,va)=>va.stroke="dodgerblue",mouseLeave:(Ba,va)=>va.stroke="lightgray",click:aa(pa,Ur),contextClick:aa(pa,Ur)})}function Nn(){return[Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",on(kr.white,"fill"),on(kr.beige,"fill"),on(kr.extralightblue,"fill"),on(kr.extralightred,"fill"))),Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",on(kr.lightgray,"fill"),on(kr.lightgreen,"fill"),on(kr.lightblue,"fill"),on(kr.lightred,"fill")))]}function dn(){return[Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",on(kr.black),on(kr.green),on(kr.blue),on(kr.red))),Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",on(kr.white),on(kr.magenta),on(kr.purple),on(kr.orange)))]}function Yn(Ur,pa){return pa||(pa="thickness"),Zn(vt.bn,"LineH",{width:16,height:16,strokeWidth:Ur,margin:1,background:"transparent",mouseEnter:(Ba,va)=>va.background="dodgerblue",mouseLeave:(Ba,va)=>va.background="transparent",click:aa(pa,Ur),contextClick:aa(pa,Ur)})}function mr(Ur,pa){return pa||(pa="dash"),Zn(vt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Ur,margin:1,background:"transparent",mouseEnter:(Ba,va)=>va.background="dodgerblue",mouseLeave:(Ba,va)=>va.background="transparent",click:aa(pa,Ur),contextClick:aa(pa,Ur)})}function wr(){return[Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",Yn(1),Yn(2),Yn(3),Yn(4))),Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",mr(null),mr([2,4]),mr([4,4])))]}function sr(Ur,pa){return pa||(pa="figure"),Zn(vt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Ur,margin:1,background:"transparent",mouseEnter:(Ba,va)=>va.fill="dodgerblue",mouseLeave:(Ba,va)=>va.fill="lightgray",click:aa(pa,Ur),contextClick:aa(pa,Ur)})}An.current.nodeTemplate.contextMenu=Zn("ContextMenu",Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",sr("Rectangle"),sr("RoundedRectangle"),sr("Ellipse"),sr("Diamond"))),Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",sr("Parallelogram2"),sr("ManualOperation"),sr("Procedure"),sr("Cylinder1"))),Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",sr("Terminator"),sr("CreateRequest"),sr("Document"),sr("TriangleDown"))),Nn(),dn(),wr()),An.current.groupTemplate=Zn(vt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:vt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Ur,pa)=>{var Ba=pa.addMembers(pa.diagram.selection,!0);Ba||pa.diagram.currentTool.doCancel()},avoidable:!1},new vt.KX("location","loc",vt.E9.parse).makeTwoWay(vt.E9.stringify),Zn(vt.s_,"Auto",{name:"BODY"},Zn(vt.bn,{parameter1:10,fill:kr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:vt.z6.AllSides,toSpot:vt.z6.AllSides},new vt.KX("fill"),new vt.KX("stroke","color"),new vt.KX("strokeWidth","thickness"),new vt.KX("strokeDashArray","dash")),Zn(vt.Vm,{background:"transparent",margin:20})),Zn(vt.al,{alignment:vt.z6.Top,alignmentFocus:vt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new vt.KX("text"),new vt.KX("stroke","color"))),An.current.groupTemplate.selectionAdornmentTemplate=Zn(vt.uz,"Spot",Zn(vt.s_,"Auto",Zn(vt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Zn(vt.Vm,{margin:1.5})),ga({alignment:vt.z6.TopRight,alignmentFocus:vt.z6.BottomRight})),An.current.groupTemplate.contextMenu=Zn("ContextMenu",Nn(),dn(),wr()),An.current.linkTemplate=Zn(vt.rU,{layerName:"Foreground",routing:vt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new vt.KX("fromSpot","fromSpot",vt.z6.parse),new vt.KX("toSpot","toSpot",vt.z6.parse),new vt.KX("fromShortLength","dir",Ur=>Ur>=1?10:0),new vt.KX("toShortLength","dir",Ur=>Ur>=1?10:0),new vt.KX("points").makeTwoWay(),Zn(vt.bn,{strokeWidth:2},new vt.KX("stroke","color"),new vt.KX("strokeWidth","thickness"),new vt.KX("strokeDashArray","dash")),Zn(vt.bn,{segmentIndex:0,segmentOffset:new vt.E9(15,0),segmentOrientation:vt.rU.OrientAlong,alignmentFocus:vt.z6.Right,figure:"circle",width:10,strokeWidth:0},new vt.KX("fill","color"),new vt.KX("visible","dir",Ur=>Ur===1)),Zn(vt.bn,{segmentIndex:-1,segmentOffset:new vt.E9(-10,6),segmentOrientation:vt.rU.OrientPlus90,alignmentFocus:vt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new vt.KX("fill","color"),new vt.KX("visible","dir",Ur=>Ur>=1),new vt.KX("width","thickness",Ur=>7+3*Ur),new vt.KX("height","thickness",Ur=>7+3*Ur),new vt.KX("segmentOffset","thickness",Ur=>new vt.E9(-15,4+1.5*Ur))),Zn(vt.bn,{segmentIndex:0,segmentOffset:new vt.E9(15,-6),segmentOrientation:vt.rU.OrientMinus90,alignmentFocus:vt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new vt.KX("fill","color"),new vt.KX("visible","dir",Ur=>Ur===2),new vt.KX("width","thickness",Ur=>7+3*Ur),new vt.KX("height","thickness",Ur=>7+3*Ur),new vt.KX("segmentOffset","thickness",Ur=>new vt.E9(-15,4+1.5*Ur))),Zn(vt.al,{alignmentFocus:new vt.z6(0,1,-4,0),editable:!0},new vt.KX("text").makeTwoWay(),new vt.KX("stroke","color"))),An.current.linkTemplate.selectionAdornmentTemplate=Zn(vt.uz,Zn(vt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:gr(2)},new vt.KX("pathPattern","thickness",gr)),ga({alignmentFocus:new vt.z6(0,0,-6,-4)}));function gr(Ur){return Zn(vt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Ur+4).toString()+" H3"})}function Ea(Ur){var pa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Ur===0?pa="M0 0 M16 16 M0 8 L16 8":Ur===2&&(pa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Zn(vt.bn,{geometryString:pa,margin:2,background:"transparent",mouseEnter:(Ba,va)=>va.background="dodgerblue",mouseLeave:(Ba,va)=>va.background="transparent",click:aa("dir",Ur),contextClick:aa("dir",Ur)})}function Hn(Ur){var pa=(Ba,va)=>{Ba.handled=!0,Ba.diagram.model.commit(Uo=>{var Do=va.part.adornedPart;Uo.set(Do.data,Ur?"toSpot":"fromSpot",vt.z6.stringify(vt.z6.AllSides)),(Ur?Do.toNode:Do.fromNode).invalidateConnectedLinks()})};return Zn(vt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ba,va)=>va.background="dodgerblue",mouseLeave:(Ba,va)=>va.background="transparent",click:pa,contextClick:pa})}function qn(Ur,pa){var Ba=0,va=vt.z6.RightSide;Ur.equals(vt.z6.Top)?(Ba=270,va=vt.z6.TopSide):Ur.equals(vt.z6.Left)?(Ba=180,va=vt.z6.LeftSide):Ur.equals(vt.z6.Bottom)&&(Ba=90,va=vt.z6.BottomSide),pa||(Ba-=180);var Uo=(Do,Ia)=>{Do.handled=!0,Do.diagram.model.commit(mi=>{var ii=Ia.part.adornedPart;mi.set(ii.data,pa?"toSpot":"fromSpot",vt.z6.stringify(va)),(pa?ii.toNode:ii.fromNode).invalidateConnectedLinks()})};return Zn(vt.bn,{alignment:Ur,alignmentFocus:Ur.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ba,background:"transparent",mouseEnter:(Do,Ia)=>Ia.background="dodgerblue",mouseLeave:(Do,Ia)=>Ia.background="transparent",click:Uo,contextClick:Uo})}An.current.linkTemplate.contextMenu=Zn("ContextMenu",dn(),wr(),Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",Ea(0),Ea(1),Ea(2))),Zn("ContextMenuButton",Zn(vt.s_,"Horizontal",Zn(vt.s_,"Spot",Hn(!1),qn(vt.z6.Top,!1),qn(vt.z6.Left,!1),qn(vt.z6.Right,!1),qn(vt.z6.Bottom,!1)),Zn(vt.s_,"Spot",{margin:new vt.Zt(0,0,0,2)},Hn(!0),qn(vt.z6.Top,!0),qn(vt.z6.Left,!0),qn(vt.z6.Right,!0),qn(vt.z6.Bottom,!0)))));const Mo=`{ "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 Ja=["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 Wa(Ur){return console.log("shapeName:",Ur),Ja.indexOf(Ur)>=0}var Ni=new vt.YI(Wr.current,{maxSelectionCount:1,linkTemplate:Zn(vt.rU,{locationSpot:vt.z6.Center,selectionAdornmentTemplate:Zn(vt.uz,"Link",{locationSpot:vt.z6.Center},Zn(vt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Zn(vt.bn,{toArrow:"Standard",stroke:null}))},{routing:vt.rU.AvoidsNodes,curve:vt.rU.JumpOver,corner:5,toShortLength:4},new vt.KX("points"),Zn(vt.bn,{isPanelMain:!0,strokeWidth:2}),Zn(vt.bn,{toArrow:"Standard",stroke:null})),model:new vt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...vt.bn.getFigureGenerators().toArray().map(Ur=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Ur.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return An.current.addDiagramListener("TextEdited",function(Ur){var pa;const Ba=Ur.subject.part;var va=(pa=document.activeElement)==null?void 0:pa.value;typeof va=="string"&&va.trim()===""&&An.current.model.commit(function(Uo){Uo.set(Ba.data,"text","\u672A\u547D\u540D"),An.current.commandHandler.stopCommand()},"increment")}),Ni.nodeTemplate=Zn(vt.NB,"Auto",{locationSpot:vt.z6.Center},new vt.KX("location","location",vt.E9.parse).makeTwoWay(vt.E9.stringify),Zn(vt.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 vt.KX("stroke").makeTwoWay(),new vt.KX("fill").makeTwoWay(),new vt.KX("figure")),Zn(vt.al,{margin:new vt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new vt.$u(16,16),maxSize:new vt.$u(10,NaN),textAlign:"center",editable:!0},new vt.KX("key").makeTwoWay())),setTimeout(()=>{An.current.grid=Zn(vt.s_,"Grid",Zn(vt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Zn(vt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),An.current.grid.visible=!0,An.current.grid.gridCellStroke="darkgray",An.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=An.current,An.current}const Bn=()=>De(this,null,function*(){var Zn=An.current.makeImage();const kr=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Zn.src}});Pn({src:kr.url})});(0,me.useEffect)(()=>(setTimeout(()=>{nr()},500),fa(ua+1),()=>{An.current=null}),[]);const er=(0,ne.useIntl)();return Fe.createElement("div",{ref:La,className:sa.current?`${_e.maxH60} body-overflow-initial`:"body-overflow-initial"},Fe.createElement(rt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ua,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Fe.createElement(lt.Z,null,Fe.createElement(Ve.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(Ve.Z,{onClick:()=>{var Zn,kr,Ca=An.current.selection.first();if(sa.current=!sa.current,document.activeElement&&Ca){let ga=(kr=(Zn=document.activeElement)==null?void 0:Zn.value)==null?void 0:kr.trim();typeof ga=="string"&&An.current.model.commit(function(aa){aa.set(Ca.data,"text",ga||"\u672A\u547D\u540D"),An.current.commandHandler.stopCommand()},"increment")}fa(ua+1)}},Fe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/",er.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"})))),onCancel:sn},Fe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:_e.flowChartWrp},Fe.createElement("div",{style:{display:"flex",height:"100%"}},Fe.createElement("div",{style:{width:"300px",height:"100%"}},Fe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Fe.createElement("div",{style:{height:"calc(100% - 50px)"},className:_e.myPaletteDiv,ref:Wr})),Fe.createElement("div",{style:{flex:1,position:"relative"}},Fe.createElement("div",{ref:xr,style:{height:"80vh"}}))),Fe.createElement("div",{className:"tr"},Fe.createElement(Be.ZP,{size:"large",onClick:Bn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},er.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))))}var Ne=Te,Le=pe(5112),Ge=pe(5871);const dt=Le.ZP.Group,mt={margin:"0 8px"};var st=({callback:sn,onCancel:Pn})=>{function An(Wr){sn(Wr)}const xr=(0,ne.useIntl)();return me.createElement(Se.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:An},me.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},me.createElement("span",{style:mt},xr.formatMessage({id:"markdownEditor.numberOfCells",defaultMessage:"\u5355\u5143\u683C\u6570"}),"\uFF1A"),me.createElement("span",{style:mt},xr.formatMessage({id:"markdownEditor.numberOfRows",defaultMessage:"\u884C\u6570"})),me.createElement(Se.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},me.createElement(Ge.Z,null)),me.createElement("span",{style:mt},xr.formatMessage({id:"markdownEditor.numberOfColumns",defaultMessage:"\u5217\u6570"})),me.createElement(Se.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},me.createElement(Ge.Z,null))),me.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},me.createElement("span",{style:mt},xr.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),"\uFF1A"),me.createElement(Se.default.Item,{name:"align"},me.createElement(dt,null,me.createElement(Le.ZP,{value:"default"},me.createElement("i",{className:"fa fa-align-justify"})),me.createElement(Le.ZP,{value:"left"},me.createElement("i",{className:"fa fa-align-left"})),me.createElement(Le.ZP,{value:"center"},me.createElement("i",{className:"fa fa-align-center"})),me.createElement(Le.ZP,{value:"right"},me.createElement("i",{className:"fa fa-align-right"}))))),me.createElement("div",{className:"flex-container flex-end"},me.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},xr.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),me.createElement(Be.ZP,{type:"ghost",onClick:Pn},xr.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},Et=pe(78673),Bt=pe(97393),wt=pe.n(Bt),Ft=(0,me.forwardRef)(({use3d:sn,width:Pn,height:An,callback:xr,showSaveButton:Wr},sa)=>{const La=(0,me.useRef)(),ua=(0,me.useRef)(),fa=(0,ne.useIntl)(),[nr,Bn]=(0,me.useState)(!1),er=(0,me.useRef)({id:La,appName:"graphing",width:Pn||1e3,height:An||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)(()=>{ua.current=new(wt())(er.current,!0),window.onload=function(){ua.current.inject("applet_container")}},[]);const Zn=()=>{var kr=window.ggbApplet.getPNGBase64(1,!0,72);return xr&&xr(kr),kr};return(0,me.useEffect)(()=>{er.current.appName=nr?"3D":"graphing",ua.current.inject("applet_container")},[nr]),(0,me.useEffect)(()=>{Bn(sn)},[sn]),(0,me.useImperativeHandle)(sa,()=>({getImgData:Zn})),me.createElement(me.Fragment,null,me.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:La}),me.createElement(lt.Z,{align:"middle"},me.createElement(Ve.Z,{flex:1},me.createElement(Et.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:fa.formatMessage({id:"markdownEditor.enable3DImage",defaultMessage:"\u5F00\u542F3D\u56FE\u50CF"}),checked:nr,onChange:kr=>Bn(kr)})),me.createElement(Ve.Z,null,me.createElement(Be.ZP,{size:"large",onClick:Zn,style:{zIndex:8,marginTop:10},type:"primary"},fa.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"})))))}),Nt=pe(58595),bt=pe(1012),Dt=pe(8591);const Rt="link",Ut="upload-image",qt="add-flowchart",mn="draw-image",$t="add-flowchart",rn="code-block",nn="add-table",xn="------------",In={default:xn,left:`:${xn}`,center:`:${xn}:`,right:`${xn}:`};var Un=pe(87184),ir=(sn,Pn,An)=>new Promise((xr,Wr)=>{var sa=fa=>{try{ua(An.next(fa))}catch(nr){Wr(nr)}},La=fa=>{try{ua(An.throw(fa))}catch(nr){Wr(nr)}},ua=fa=>fa.done?xr(fa.value):Promise.resolve(fa.value).then(sa,La);ua((An=An.apply(sn,Pn)).next())});function yr(){}let En=0;const Dr=1e4,ta="\u2581",Fr="@\u2581\u2581@",Vr="@\u2581@",Mr=` **\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`,Er=["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 Oa(sn){return/^\d+$/.test(sn)?`${sn}px`:sn}const na=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ao={[na+"-B"]:"bold",[na+"-I"]:"italic"};var Ga=({defaultValue:sn="",onChange:Pn,width:An="100%",height:xr=400,miniToolbar:Wr=!1,isFocus:sa=!1,watch:La,insertTemp:ua,mode:fa="markdown",id:nr="markdown-editor-id",showResizeBar:Bn=!1,noStorage:er=!1,showNullButton:Zn=!1,showNullProgramButton:kr=!1,hidetoolBar:Ca=!1,fullScreen:ga=!1,onBlur:aa,onCMBeforeChange:on,onFullScreen:Nn,className:dn="",disablePaste:Yn=!1,disabled:mr=!1,disabledFill:wr=!1,placeholder:sr="",values:gr="",extraUse:Ea})=>{const[Hn,qn]=(0,me.useState)(null),[Mo,Ja]=(0,me.useState)(sn),[Wa,Ni]=(0,me.useState)(La),[Ur,pa]=(0,me.useState)(ga),[Ba,va]=(0,me.useState)(""),[Uo,Do]=(0,me.useState)(0),[Ia,mi]=(0,me.useState)(xr),[ii,ki]=(0,me.useState)(!1),ts=(0,me.useRef)((0,bt.Z)()),Qi=(0,me.useRef)(!1),oa=(0,me.useRef)(),[mo,cr]=(0,me.useState)(0),[ma,Ha]=(0,me.useState)(0),Da=(0,me.useRef)(),fo=(0,me.useRef)(),Yo=(0,me.useRef)(),lo=(0,me.useRef)(),Wo=()=>ir(void 0,null,function*(){var Nr;const pr=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ts.current}});(Nr=pr==null?void 0:pr.attachments)!=null&&Nr.length&&(console.log("cm:",Hn,Da),pr.attachments.map(ur=>{ur.content_type.indexOf("image")>-1?Hn.replaceSelection(`![,](/api/attachments/${ur.id}?type=${ur.content_type})`):ur.content_type.indexOf("video")>-1?Hn.replaceSelection(``):ur.content_type.indexOf("pdf")>-1?Hn.replaceSelection(`${ur.name}`):Hn.replaceSelection(`[${ur.name}](${ENV.API_SERVER}/api/attachments/${ur.id}?type=${ur.content_type})`)}))});(0,me.useEffect)(()=>{const Nr=window.scrollY||window.pageYOffset;Ja(gr),Hn==null||Hn.setValue(gr),window.scrollTo(0,Nr)},[gr]),(0,me.useEffect)(()=>{Nn==null||Nn(Ur)},[Ur]),(0,me.useEffect)(()=>{if(Da.current){let Nr=function(ur,Br){var Ta;if(Yn){Br.preventDefault();return}const Qr=Br.clipboardData;if(Qr){const bo=Qr.types.toString(),oo=Qr.items;if(bo==="Files"||Qr.types.indexOf("Files")>-1){if(Br.preventDefault(),fa=="stex")return;try{let To=oo[1];((Ta=oo[0])==null?void 0:Ta.kind)==="file"&&(To=oo[0]);const No=To.getAsFile(),Xo=No.name.split(".").pop();(0,ot.I)(No,no=>{var ci,Zo,xa;no.id?((ci=No==null?void 0:No.type)==null?void 0:ci.indexOf("image"))>-1?pr.replaceSelection(``):((Zo=No==null?void 0:No.type)==null?void 0:Zo.indexOf("video"))>-1?pr.replaceSelection(``):((xa=No==null?void 0:No.type)==null?void 0:xa.indexOf("pdf"))>-1?pr.replaceSelection(`${No.name}`):Er.includes(Xo)?pr.replaceSelection(`${No.name}`):pr.replaceSelection(`[${No.name}](/api/attachments/${no.id}?type=${no.content_type})`):(no==null?void 0:no.status)===401&&(Dt.ZP.warning((no==null?void 0:no.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(To){Dt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const pr=E().fromTextArea(Da.current,{mode:fa,lineNumbers:!Wr,lineWrapping:!0,value:sn,autoCloseTags:!kr,autoCloseBrackets:!0});return pr.on("keyup",function(ur,Br){Br.keyCode===8&&(ur.getValue()==""?pr.setOption("placeholder",sr):pr.setOption("placeholder",null))}),pr.on("keydown",function(ur,Br){if(Br.keyCode===8){var Ta=Ko(ur);Ta&&Br.preventDefault()}}),sa&&pr.focus(),pr.on("paste",Nr),pr.on("dragleave",function(ur,Br){fo.current.classList.remove("mouse-hover-md")}),mr&&pr.on("beforeChange",function(ur,Br){(Br.origin==="paste"||Br.origin==="+input")&&Br.cancel()}),qn(pr),()=>{pr.off("paste",Nr)}}},[]);const Fi=(0,me.useCallback)(()=>{if(fo.current)try{}catch(Nr){console.log(Nr,"---- to set md editor body height")}},[Ia,fo,Ur]);(0,me.useEffect)(()=>{function Nr(){let pr=new we.Z(ur=>{for(let Br of ur)(Br.target.offsetHeight>0||Br.target.offsetWidth>0)&&(Fi(),Hn.setSize("100%","100%"),Hn.refresh())});return pr.observe(Da.current.parentElement),pr}if(Hn){const pr=Nr();return()=>{var ur,Br;(ur=Da.current)!=null&&ur.parentElement&&pr.unobserve((Br=Da.current)==null?void 0:Br.parentElement)}}},[Hn,Fi]),(0,me.useEffect)(()=>{if(Hn){let Nr=[];for(const[pr,ur]of Object.entries(Ao)){let Br={[pr]:()=>{Fo(ur)}};Nr.push(Br),Hn.addKeyMap(Br)}return oa.current=setInterval(()=>{Qi.current&&Wo()},4e3),()=>{clearInterval(oa.current);for(let pr of Nr)Hn.removeKeyMap(pr)}}},[Hn]),(0,me.useEffect)(()=>{ga!==Ur&&pa(ga)},[ga]),(0,Un.Z)(()=>{if(!er&&Uo>0){let Nr=new Date().getTime(),pr=window.sessionStorage.getItem(nr);Nr>=Uo+Dr&&(!pr||pr!==Mo)&&(window.sessionStorage.setItem(nr,Mo),ki(!0))}},Dr),(0,me.useEffect)(()=>{Ni(La)},[Hn,La]),(0,me.useEffect)(()=>{Hn&&sa&&Hn.focus()},[Hn,sa]),(0,me.useEffect)(()=>{if(Wa&&Hn){let Nr=function(ur){let Br=ur.target;if(lo.current){let Ta=Br.scrollTop/Br.scrollHeight;lo.current.scrollTop=lo.current.scrollHeight*Ta}};const pr=Hn.getScrollerElement();return pr.addEventListener("scroll",Nr),()=>{pr.removeEventListener("scroll",Nr)}}},[Hn,Wa]),(0,me.useEffect)(()=>{if(Hn&&on){let Nr=function(pr,ur){on(pr,ur)};return Hn.on("beforeChange",Nr),()=>{Hn.off("beforeChange",Nr)}}},[Hn,on]),(0,me.useEffect)(()=>{if(Hn&&aa){let Nr=function(){aa(Hn.getValue())};return Hn.on("blur",Nr),()=>{Hn.off("blur",Nr)}}},[Hn,aa]);function Ko(Nr,pr){var ur=Nr.getDoc(),Br=ur.getCursor(),Ta=ur.getLine(Br.line),Qr=Ta.charAt(Br.ch-1),bo=Ta.lastIndexOf("@\u2581@",Br.ch),oo=Ta.lastIndexOf("@\u2581\u2581@",Br.ch),To=bo>oo?bo:oo,No=bo>oo?3:4;if(Fr.indexOf(Qr)===-1)return null;if(console.log("change1:",pr,Nr,Ta,Br,To,bo,oo,Qr),To>=0&&Br.ch-To<5){var Xo=To+No;return ur.replaceRange("",{line:Br.line,ch:To},{line:Br.line,ch:Xo}),{line:Br.line,ch:Xo}}return null}(0,me.useEffect)(()=>{if(Hn){let Nr=function(pr,ur){const Br=pr.getValue();Ja(Br),Do(new Date().getTime()),pr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pn&&(kr?Pn(Br,gi(Br)):Pn(Br))};return Hn.on("change",Nr),()=>{Hn.off("change",Nr)}}},[Hn,Pn]),(0,me.useEffect)(()=>{if(Hn)if(sn==null)Hn.setValue(""),Ja("");else{const Nr=window.scrollY||window.pageYOffset;sn!==Hn.getValue()&&(Hn.setValue(sn),Ja(sn),Hn.setCursor(mr?1:Hn.lineCount(),0),window.scrollTo(0,Nr))}},[Hn,sn]);const Fo=(0,me.useCallback)(Nr=>{const pr=Hn.getCursor(),ur=Hn.getSelection();let Br=ur.split(` `);switch(Nr){case"bold":return Hn.replaceSelection("**"+ur+"**"),ur===""&&Hn.setCursor(pr.line,pr.ch+2),Hn.focus();case"italic":return Hn.replaceSelection("*"+ur+"*"),ur===""&&Hn.setCursor(pr.line,pr.ch+1),Hn.focus();case"code":return Hn.replaceSelection("`"+ur+"`"),ur===""&&Hn.setCursor(pr.line,pr.ch+1),Hn.focus();case"inline-latex":return va("inline-latex"),Hn.focus();case"latex":return Hn.replaceSelection("```latex\n"+ur+"\n```"),Hn.setCursor(pr.line+1,ur.length+1),Hn.focus();case"line-break":return Hn.replaceSelection(`
`),Hn.focus();case"list-ul":return ur===""?Hn.replaceSelection("- "+ur):Hn.replaceSelection(Br.map(Ta=>Ta===""?"":`- ${Ta}`).join(` `)),Hn.focus();case"list-ol":return ur===""?Hn.replaceSelection("1. "+ur):Hn.replaceSelection(Br.map((Ta,Qr)=>Ta===""?"":`${Qr+1}. ${Ta}`).join(` `)),Hn.focus();case"add-null-ch":return ur===""&&Hn.setCursor(pr.line,pr.ch),Hn.replaceSelection(ta),Hn.focus();case"add-signal":return ur===""&&Hn.setCursor(pr.line,pr.ch),Hn.replaceSelection(Vr),Hn.focus();case"add-multiple":return ur===""&&Hn.setCursor(pr.line,pr.ch),Hn.replaceSelection(Fr),Hn.focus();case"inster-template-1":return ur===""&&Hn.setCursor(pr.line,pr.ch),Hn.replaceSelection(Mr),Hn.focus();case"eraser":return Hn.setValue(""),Hn.focus();case"trigger-watch":return Ni(!Wa),Hn.focus();case"trigger-full-screen":return pa(!Ur),Hn.focus();case Rt:va(Rt);return;case rn:va(rn);return;case Ut:va(Ut);return;case mn:va(mn);return;case"maths-latex":va("maths-latex");return;case qt:va(qt);return;case nn:va(nn);return;default:throw new Error}},[Hn,Wa,Ur]),ei=(0,me.useCallback)((Nr,pr)=>{var ur,Br,Ta,Qr,bo,oo;switch(va(""),Ba){case Rt:const{title:ci,link:Zo}=Nr;return Hn.replaceSelection(`[${ci}](${Zo})`),Hn.focus();case rn:const{language:xa,content:jn}=Nr;return Hn.replaceSelection(["```"+xa,jn,"```"].join(` `)),Hn.focus();case"maths-latex":for(var To=atob(Nr),No=new Uint8Array(To.length),Xo=0;Xo{eo.id?Hn.replaceSelection(`![,](/api/attachments/${eo.id}?type=${eo.content_type})`):(eo==null?void 0:eo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Hn.replaceSelection("`$$"+Nr+"$$`");break;case Ut:case mn:case $t:const{src:Dn,alt:_n}=Nr,dr=pr,ha=(Ta=(Br=(ur=dr==null?void 0:dr.name)==null?void 0:ur.split("."))==null?void 0:Br.pop)==null?void 0:Ta.call(Br);return((Qr=dr==null?void 0:dr.type)==null?void 0:Qr.indexOf("image"))>-1||!(dr!=null&&dr.type)?dr.align||dr.width?Hn.replaceSelection(`

${_n||

`):Hn.replaceSelection(`${_n||`):((bo=dr==null?void 0:dr.type)==null?void 0:bo.indexOf("video"))>-1?Hn.replaceSelection(``):((oo=dr==null?void 0:dr.type)==null?void 0:oo.indexOf("pdf"))>-1?Hn.replaceSelection(`${dr.name}`):Er.includes(ha)?Hn.replaceSelection(`${dr.name}`):Hn.replaceSelection(`[${dr.name}](${Dn})`),Hn.focus();case nn:const{row:ya,col:Tr,align:Ya}=Nr;let Va=` `;for(let eo=0;eo{switch(Ba){case Rt:return me.createElement(it,{callback:ei,onCancel:wi});case rn:return me.createElement(At.Z,{callback:ei,onCancel:wi});case Ut:return me.createElement(ot.Z,{callback:ei,onCancel:wi});case qt:return me.createElement(Ne,{callback:ei,onCancel:wi});case nn:return me.createElement(st,{callback:ei,onCancel:wi});case"maths-latex":return me.createElement(Ft,{showSaveButton:!0,callback:ei});case"inline-latex":return me.createElement(Nt.Z,{showSaveButton:!0,callback:ei});default:return null}},[Ba]);function wi(){va("")}(0,me.useEffect)(()=>{if(Yo.current){let Nr=function(bo){Ta=!0,Qr=bo.pageY},pr=function(){Ta=!1},ur=function(bo){if(Ta){let oo=bo.pageY-Qr;oo<0&&(oo=0),oo>300&&(oo=300);let To=xr+oo+"px";mi(To)}},Br=Yo.current,Ta=!1,Qr=0;return Br.addEventListener("mousedown",Nr),document.addEventListener("mousemove",ur),document.addEventListener("mouseup",pr),()=>{Br.removeEventListener("mousedown",Nr),document.removeEventListener("mousemove",ur),document.removeEventListener("mouseup",pr)}}},[Hn,Yo]),(0,me.useEffect)(()=>{mi(xr)},[xr]);const ws=Oa(An),$i=Oa(Ia),Ps={width:ws,height:$i},ms=(0,me.useMemo)(()=>{if(Uo){let Nr=new Date(Uo),pr=Nr.getHours(),ur=Nr.getMinutes(),Br=Nr.getSeconds();return pr=pr<10?"0"+pr:pr,ur=ur<10?"0"+ur:ur,Br=Br<10?"0"+Br:Br,`${pr}:${ur}:${Br}`}return 0},[Uo]),gi=Nr=>{const pr=[];if(kr){let ur=-1;Nr=Nr.replace(/(@▁▁@|@▁@)/g,function(Br,Ta,Qr){pr.push({multiLine:Br!==Vr})})}return pr};function bn(){window.sessionStorage.removeItem(nr),ki(!1),Do(0)}function ar(){ki(!1),Do(0),Hn.setValue(window.sessionStorage.getItem(nr))}const Rr=(0,ne.useIntl)(),uo={[Rt]:"\u6DFB\u52A0\u94FE\u63A5",[rn]:Rr.formatMessage({id:"markdownEditor.addCodeBlock",defaultMessage:"\u6DFB\u52A0\u4EE3\u7801\u5757"}),[Ut]:Rr.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),[mn]:"\u6DFB\u52A0\u753B\u56FE",[qt]:Rr.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),[nn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":Rr.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),"inline-latex":Rr.formatMessage({id:"markdownEditor.latexFormula",defaultMessage:"LATEX\u516C\u5F0F"})};(0,me.useEffect)(()=>{uo[Ba]&&Ba!==mn&&Ba!==qt&&setTimeout(()=>{const Nr=document.getElementsByClassName("markdown-popup-form")[0],pr=window.innerWidth/2-Nr.offsetWidth/2,ur=window.innerHeight/2-Nr.offsetHeight/2;cr(pr),Ha(ur)},0)},[Ba]);const Oo=Nr=>{Nr.preventDefault();const pr=Nr.clientX-mo,ur=Nr.clientY-ma;document.body.onmousemove=Br=>{let Ta=Br.clientX-pr,Qr=Br.clientY-ur;const bo=document.getElementsByClassName("markdown-popup-form")[0],oo=window.innerWidth-bo.offsetWidth,To=window.innerHeight-bo.offsetHeight;Ta=Math.max(0,Math.min(Ta,oo)),Qr=Math.max(0,Math.min(Qr,To)),ho(Br.clientX,Br.clientY,pr,ur)&&(cr(Ta),Ha(Qr))},document.body.onmouseup=function(){document.body.onmousemove=null}},ho=(Nr,pr,ur,Br)=>{const Ta=document.body.clientHeight,Qr=document.body.clientWidth;return Nr<20&&ur>Nr||Nr>Qr-20&&urpr||pr>Ta-20&&BrBe in Pe?ne(Pe,Be,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Pe[Be]=Ue,te=(Pe,Be)=>{for(var Ue in Be||(Be={}))x.call(Be,Ue)&&ee(Pe,Ue,Be[Ue]);if(a)for(var Ue of a(Be))b.call(Be,Ue)&&ee(Pe,Ue,Be[Ue]);return Pe},de=(Pe,Be)=>z(Pe,y(Be));const{useForm:ge}=me.default,ve={width:280,marginRight:10},ye={labelCol:{span:5},wrapperCol:{span:19}};var be=({callback:Pe,onCancel:Be})=>{const[Ue]=ge();let Ee=(0,le.useRef)();const He=(0,se.useIntl)();function Oe($e){Ee.current.width=Ue.getFieldValue("width"),Ee.current.align=Ue.getFieldValue("align"),Pe($e,Ee.current)}function ke($e,ze){if($e.status===-1){Qe.ZP.error($e.message);return}Ue.setFieldsValue({src:`/api/attachments/${$e.id}`,type:ze.type})}function Xe($e){let ze=$e.target.files[0];Ee.current=ze,Se(ze,ke)}return ie.createElement(me.default,de(te({form:Ue},ye),{className:"upload-image-panel",onFinish:Oe,style:{width:470,overflow:"hidden"}}),ie.createElement(me.default.Item,{label:He.formatMessage({id:"markdownEditor.imageAddress",defaultMessage:"\u56FE\u7247\u5730\u5740"}),required:!0},ie.createElement("div",{className:"flex-container"},ie.createElement(me.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ie.createElement(E.default,{style:ve})),ie.createElement(Ce,{onFileChange:Xe}))),ie.createElement(me.default.Item,{label:He.formatMessage({id:"markdownEditor.imageDescription",defaultMessage:"\u56FE\u7247\u63CF\u8FF0"}),name:"alt"},ie.createElement(E.default,{style:{width:264}})),ie.createElement(me.default.Item,{label:He.formatMessage({id:"markdownEditor.imageWidth",defaultMessage:"\u56FE\u7247\u5BBD\u5EA6"}),name:"width"},ie.createElement(we.Z,null,ie.createElement(me.default.Item,{name:"width",style:{margin:0}},ie.createElement(fe.Z,{style:{width:264}})),ie.createElement("span",{className:"ml8"},"%"))),ie.createElement(me.default.Item,{label:He.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),name:"align"},ie.createElement(ue.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:He.formatMessage({id:"markdownEditor.leftAlign",defaultMessage:"\u5DE6\u5BF9\u9F50"})},{value:"center",label:He.formatMessage({id:"markdownEditor.centerAlign",defaultMessage:"\u5C45\u4E2D\u5BF9\u9F50"})},{value:"right",label:He.formatMessage({id:"markdownEditor.rightAlign",defaultMessage:"\u53F3\u5BF9\u9F50"})}]})),ie.createElement("aside",null,ie.createElement(me.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ie.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},He.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),ie.createElement(oe.ZP,{type:"default",onClick:Be},He.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"})))))};function Ce({onFileChange:Pe}){return ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ie.createElement("input",{type:"file",onChange:Pe}))}function Se(Pe,Be){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,re.bg)())throw Qe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ue=new FormData;Ue.append("editormd-image-file",Pe),Ue.append("file_param_name","editormd-image-file"),Ue.append("byxhr","true");var Ee=new window.XMLHttpRequest;Ee.withCredentials=!0,Ee.addEventListener("load",function(He){Be(JSON.parse(He.target.responseText),Pe)},!1),Ee.addEventListener("error",function(He){console.error(He)},!1),Ee.open("POST",`${ae.KI}/api/attachments.json`),Ee.send(Ue)}},31020:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return E}});var me=pe(59301),Qe=pe(4676);class E extends me.Component{constructor(fe){super(fe);const ue=window.document;this.node=ue.createElement("div"),ue.body.appendChild(this.node)}render(){const{children:fe}=this.props;return(0,Qe.createPortal)(fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},39670:function(Jt,Mt,pe){"use strict";var me=pe(49444),Qe=pe(57809),E=pe(78673),we=pe(58024),fe=pe(59301);const ue=Qe.default.Option;Mt.Z=({isTheoretical:oe,onFontSizeChange:ae,cmFontSize:le,cmCodeMode:re,autoFormat:se,onCodeModeChange:ie,onTabToSpace:ne,onAutoFormat:z,formatDocument:y,className:a="",tabToSpace:x,children:b,code_editor:ee,challenge:te,shixun_environment_id:de,shixun_environments:ge})=>{var ve;const ye=(0,we.useIntl)(),be={1:ye.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),2:ye.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),3:ye.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"})},Ce=(ve=ge==null?void 0:ge.find(Se=>Se.shixun_environment_id===de))==null?void 0:ve.program_language;return fe.createElement("div",{className:`tpi-code-setting ${a}`},fe.createElement("h3",null,ye.formatMessage({id:"shixuns.codeFormat",defaultMessage:"\u4EE3\u7801\u683C\u5F0F"})),fe.createElement("section",null,fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.displayMode",defaultMessage:"\u663E\u793A\u6A21\u5F0F"})),fe.createElement(Qe.default,{bordered:!1,size:"small",value:re,onChange:ie},fe.createElement(ue,{value:"vs"},ye.formatMessage({id:"shixuns.whiteBackground",defaultMessage:"\u767D\u8272\u80CC\u666F"})),fe.createElement(ue,{value:"vs-dark"},ye.formatMessage({id:"shixuns.blackBackground",defaultMessage:"\u9ED1\u8272\u80CC\u666F"})))),!oe&&fe.createElement(fe.Fragment,null,fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.fontSize",defaultMessage:"\u5B57\u4F53\u5927\u5C0F"})),fe.createElement(Qe.default,{bordered:!1,size:"small",value:le,onChange:ae},fe.createElement(ue,{value:12},"12px"),fe.createElement(ue,{value:14},"14px"),fe.createElement(ue,{value:16},"16px"),fe.createElement(ue,{value:18},"18px"),fe.createElement(ue,{value:20},"20px"),fe.createElement(ue,{value:22},"22px"))),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.tabConversion",defaultMessage:"Tab\u8F6C\u6362"})),fe.createElement(E.Z,{checked:x,onChange:ne})),fe.createElement("div",{className:"file-item",onClick:y},fe.createElement("b",{style:{cursor:"pointer"}},ye.formatMessage({id:"shixuns.formatCode",defaultMessage:"\u683C\u5F0F\u5316\u4EE3\u7801"}))))),!oe&&fe.createElement(fe.Fragment,null,fe.createElement("h3",null,ye.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),fe.createElement("section",null,fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.saveCode",defaultMessage:"\u4FDD\u5B58\u4EE3\u7801"})),fe.createElement("span",null,"Ctrl + S")),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.showShortcutsList",defaultMessage:"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"})),fe.createElement("span",null,"F1 / Alt + F1")),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.indentLeftRight",defaultMessage:"\u5DE6\u53F3\u7F29\u8FDB"})),fe.createElement("span",null,"Ctrl + ]/[")),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.jumpToMatchingBracket",defaultMessage:"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"})),fe.createElement("span",null,"Ctrl + Shift + \\")),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.goToLineStart",defaultMessage:"\u8F6C\u5230\u884C\u9996"})),fe.createElement("span",null,"Home")),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.goToLineEnd",defaultMessage:"\u8F6C\u5230\u884C\u5C3E"})),fe.createElement("span",null,"End"))),b),!oe&&fe.createElement(fe.Fragment,null,fe.createElement("h3",null,ye.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),fe.createElement("section",null,Ce&&fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"questionBankAddQuestion.programmingLanguage",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"})),fe.createElement("span",null,Ce)),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.practicalDifficulty",defaultMessage:"\u5B9E\u8BAD\u96BE\u6613\u5EA6"})),fe.createElement("span",null,be[te==null?void 0:te.difficulty])),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.labEnvironment",defaultMessage:"\u5B9E\u9A8C\u73AF\u5883"})),fe.createElement("span",null,ee==null?void 0:ee.name)),fe.createElement("div",{className:"file-item"},fe.createElement("b",null,ye.formatMessage({id:"shixuns.labContainerNetwork",defaultMessage:"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"})),fe.createElement("span",null,ee!=null&&ee.close_internet?"\u5173\u95ED\u5916\u7F51":ye.formatMessage({id:"shixuns.enableExternalNetwork",defaultMessage:"\u5F00\u542F\u5916\u7F51"}))))))}},37223:function(Jt,Mt,pe){"use strict";pe.d(Mt,{i:function(){return ye},Z:function(){return Ce}});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"},Qe=pe(71418),E=pe(6848),we=pe(93948),fe=pe(92310),ue=pe.n(fe),oe=pe(99770),ae=pe(64398),le=pe(58938),re=pe(58024),se=pe(79005),ie=pe(20345),ne=pe(77882),z=pe(31081),y=pe(75309),a=pe(71979),x=pe(47558),b=pe(42922),ee=pe(66832),te=pe(96593),de=pe(19664),ge=pe(91833),ve=pe(59301);const ye=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:se,swimg:ie},{name:"101\u8BA1\u5212",ptimg:ne,swimg:z},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:x,swimg:b},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ee,swimg:te},{name:"\u519B\u961F\u4E00\u6D41",ptimg:de,swimg:ge}];var Ce=({className:Se,dataSource:Pe=[],col:Be=4,right:Ue,bottom:Ee=23,precision:He=0,wrapWidth:Oe=1200,trackEventItems:ke,loading:Xe,onRemove:$e=()=>{},isCurrent:ze=!0,showAlias:at=!1,showProgress:et=!1})=>{const it=(0,re.useIntl)(),At=Math.floor((Oe-(Be-1)*Ue)/Be),ot=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:it.formatMessage({id:"shixuns.plan101",defaultMessage:"101\u8BA1\u5212"}),ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:it.formatMessage({id:"shixuns.nationalFirstClass",defaultMessage:"\u56FD\u5BB6\u4E00\u6D41"}),ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:it.formatMessage({id:"shixuns.provincialFirstClass",defaultMessage:"\u7701\u7EA7\u4E00\u6D41"}),ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:it.formatMessage({id:"shixuns.premiumCourse",defaultMessage:"\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:it.formatMessage({id:"shixuns.newTypeTextbook",defaultMessage:"\u65B0\u578B\u6559\u6750"}),ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(rt=>(window.ENV==="build"&&(rt.ptimg=`/react/build${rt.ptimg}`,rt.swimg=`/react/build${rt.swimg}`),rt));return ve.createElement(Qe.Z,{spinning:Xe},ve.createElement("div",{className:ue()(me.list,Se)},!!(Pe!=null&&Pe.length)&&(Pe==null?void 0:Pe.map((rt,lt)=>{var gt,yt,Tt,vt,ut,qe;const{name:je,id:Ve,identifier:Ie,featured:_e,school_name:Fe,image_url:De,excellent:Te,is_plan:Ne}=rt;return ve.createElement("div",{key:Ve,className:ze&&et?me.wrapisCurrent:me.wrap,style:{width:At,marginRight:(1+lt)%Be===0?0:Ue+He,marginBottom:Ee}},ve.createElement("a",{className:me.li,onClick:Le=>{Le.preventDefault(),Le.stopPropagation(),ke&&(0,oe.L9)([ke]),(0,oe.xg)(`/paths/${Ie}`)}},ve.createElement("div",{className:me.img},ve.createElement("img",{className:me.cover,src:`${De}`}),ze&&(0,le.bg)()&&(rt==null?void 0:rt.studying)&&ve.createElement("div",{className:`${me.movebq} user-path-items`,onClick:Le=>{Le.stopPropagation(),$e(rt)}},ve.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ve.createElement("span",{className:"c-red"},it.formatMessage({id:"classrooms.remove",defaultMessage:"\u79FB\u9664"}))),(gt=rt==null?void 0:rt.subject_tags)==null?void 0:gt.map((Le,Ge)=>{var dt,mt;if(Ge===0){const Et=(dt=ot.find(Bt=>Bt.name==Le))==null?void 0:dt.swimg;return ve.createElement("img",{className:me.sign,src:Et,style:{left:"-4px"}})}const st=(mt=ot.find(Et=>Et.name==Le))==null?void 0:mt.ptimg;return ve.createElement("img",{className:me.sign,src:st,style:{left:`${48+52*(Ge-1)+2*Ge}px`}})}),ve.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(rt==null?void 0:rt.excellent)&&ve.createElement("div",{className:me.bq},it.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})))),ve.createElement("div",{className:me.name},ve.createElement(E.Z,{title:at&&(rt!=null&&rt.excellent_alias_name)?ve.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${je}`,ve.createElement("br",null),ve.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${rt==null?void 0:rt.excellent_alias_name}`)):je},ve.createElement("span",{className:me.e},at&&(rt==null?void 0:rt.excellent_alias_name)||je))),ze&&et&&((yt=rt==null?void 0:rt.progress)==null?void 0:yt.all_score)!=0&&ve.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ve.createElement(we.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Tt=rt==null?void 0:rt.progress)==null?void 0:Tt.my_score)/((vt=rt==null?void 0:rt.progress)==null?void 0:vt.all_score)*100).toFixed(),showInfo:!1}),it.formatMessage({id:"shixuns.completed",defaultMessage:"\u5DF2\u5B8C\u6210"})," ",(ut=rt==null?void 0:rt.progress)==null?void 0:ut.my_score,"/",(qe=rt==null?void 0:rt.progress)==null?void 0:qe.all_score),(!ze||!et)&&ve.createElement("div",{className:me.tags},ve.createElement("div",null,ve.createElement(E.Z,{placement:"bottom",title:it.formatMessage({id:"paths.chapterCount",defaultMessage:"\u7AE0\u8282\u6570"})},ve.createElement("span",null,ve.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ve.createElement("span",null,rt.stages_count))),ve.createElement(E.Z,{placement:"bottom",title:it.formatMessage({id:"paths.numberOfLearners",defaultMessage:"\u5B66\u4E60\u4EBA\u6570"})},ve.createElement("span",null,ve.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ve.createElement("span",null,rt.members_count)))))))})),!Pe.length&&ve.createElement(ae.Z,null)))}},13861:function(Jt,Mt,pe){"use strict";pe.d(Mt,{jL:function(){return fe},w9:function(){return to},vv:function(){return Wr},dN:function(){return sn},QD:function(){return Qi},cQ:function(){return Le.Z},vg:function(){return Fr},Oz:function(){return Un},op:function(){return Do},O5:function(){return ms},_b:function(){return Da},t7:function(){return Ee},tT:function(){return ke},Gi:function(){return ga},YG:function(){return ua},Ed:function(){return kr},kT:function(){return Bn},qp:function(){return b},Um:function(){return ye},K3:function(){return de},vr:function(){return cr},qE:function(){return ii},Je:function(){return ze},wb:function(){return ut},rC:function(){return Ne},lB:function(){return Ve},cq:function(){return Yn},kO:function(){return gr},tp:function(){return Se},Si:function(){return ar},k8:function(){return xa},Du:function(){return Br}});var me=pe(59301),Qe={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"},E="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==",fe=({dataSource:jn=[],img:Dn,imgWidth:_n=346,title:dr,sunTitle:ha,bannerExtraContent:ya})=>me.createElement("div",{className:Qe.banner},me.createElement("div",{className:Qe.content},me.createElement("aside",null,me.createElement("p",null,me.createElement("b",null,dr),me.createElement("span",null,ha)),jn.length>0&&me.createElement("div",{className:Qe.btns},jn.map((Tr,Ya)=>me.createElement("div",{key:Ya,onClick:Tr.click},Tr.name,Tr.sign?me.createElement("img",{src:E,width:39}):null))),ya),Dn&&me.createElement("img",{style:{marginTop:33,marginRight:38},src:Dn,width:_n}))),ue={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"},oe=pe(92310),ae=pe.n(oe),le=pe(89392),re=pe(58024),se=Object.defineProperty,ie=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,y=(jn,Dn,_n)=>Dn in jn?se(jn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):jn[Dn]=_n,a=(jn,Dn)=>{for(var _n in Dn||(Dn={}))ne.call(Dn,_n)&&y(jn,_n,Dn[_n]);if(ie)for(var _n of ie(Dn))z.call(Dn,_n)&&y(jn,_n,Dn[_n]);return jn},b=({dataSource:jn=[],value:Dn,onChange:_n,onTitleChange:dr,className:ha,title:ya,titleWidth:Tr=41,style:Ya={},fontColor:Va="#6A7283",showCount:eo,classNameActive:zi,styleItem:Ir={}})=>{const ti=(0,re.useIntl)(),[Di,Ti]=(0,me.useState)(0),[wo,$r]=(0,me.useState)(!1),Ki=(0,me.useRef)(null),co=(0,me.useRef)(null);return(0,me.useEffect)(()=>{var Ka;jn.length!==0&&(((Ka=Ki==null?void 0:Ki.current)==null?void 0:Ka.clientHeight)>97?Ti(1):Ti(0)),jn.length===0&&Ti(0),$r(!1)},[jn]),me.createElement("div",{className:ae()(ue.row,ha),style:Ya},me.createElement("div",{onClick:(0,le.throttle)(()=>dr==null?void 0:dr(),2e3),style:{width:Tr,marginTop:wo?12:4},className:`${ue.title} ${dr?"current":""}`},ya),me.createElement("div",{className:wo?`${ue.tagsWrap} ${ue.tagsBorderWrap}`:ue.tagsWrap},me.createElement("div",{className:ue.bar,ref:co,style:Di>0?{height:Di===1?97:"auto",overflow:Di===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},me.createElement("div",{className:ue.tag,ref:Ki},jn==null?void 0:jn.map(Ka=>me.createElement("span",{onClick:()=>_n(Ka.id),key:Ka.id,style:a(a({color:Va},Ir),(Ka==null?void 0:Ka.style)||{}),className:Dn===Ka.id?ae()(zi||ue.active,Ka.classNameActive):""},me.createElement("span",{title:Ka.name,className:ue.name},Ka.name),!!eo&&me.createElement("span",{className:ue.num},Ka.count))))),!!Di&&me.createElement(me.Fragment,null,Di===1?me.createElement("div",{onClick:()=>{var Ka;Ti(2),((Ka=Ki==null?void 0:Ki.current)==null?void 0:Ka.clientHeight)>245?$r(!0):$r(!1)},className:ue.action},ti.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"}),me.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):me.createElement("div",{onClick:()=>{co.current.scrollTop=0,Ti(1),$r(!1)},className:ue.action},ti.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"}),me.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ee={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"},de=({dataSource:jn=[],value:Dn,onChange:_n,onTitleChange:dr,className:ha,title:ya,titleWidth:Tr=41,style:Ya={},fontColor:Va="#6A7283",showCount:eo,expand:zi=!0})=>{const[Ir,ti]=(0,me.useState)(0),[Di,Ti]=(0,me.useState)(!1),wo=(0,me.useRef)(null),$r=(0,me.useRef)(null),[Ki,co]=(0,me.useState)(zi);return me.createElement("div",{className:ae()(ee.row,ha),style:Ya},me.createElement("div",{className:"flex item-center justify-between"},me.createElement("div",{onClick:(0,le.throttle)(()=>dr==null?void 0:dr(),2e3),style:{width:Tr,marginTop:Di?12:4},className:`${ee.title} ${dr?"current":""}`},ya),me.createElement("i",{className:`iconfont ${Ki?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Ki?8:10},onClick:()=>co(!Ki)})),Ki&&me.createElement("div",{className:Di?`${ee.tagsWrap} ${ee.tagsBorderWrap}`:ee.tagsWrap},me.createElement("div",{className:ee.fenge}),me.createElement("div",{className:ee.bar,ref:$r},me.createElement("div",{className:ee.tag,ref:wo},jn==null?void 0:jn.map(Ka=>me.createElement("span",{onClick:()=>_n(Ka.id),key:Ka.id,style:{color:Va},className:Dn===Ka.id?ee.active:""},me.createElement("span",{title:Ka.name,className:ee.name},Ka.name),!!eo&&me.createElement("span",{className:ee.num},Ka.count)))))))},ge={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ye=({dataSource:jn=[],value:Dn,onChange:_n,onTitleChange:dr,className:ha,title:ya,titleWidth:Tr=41,style:Ya={},fontColor:Va="#fff",showCount:eo,expand:zi=!0})=>{const[Ir,ti]=(0,me.useState)(0),[Di,Ti]=(0,me.useState)(!1),wo=(0,me.useRef)(null),$r=(0,me.useRef)(null),[Ki,co]=(0,me.useState)(zi);return me.createElement("div",{className:ae()(ge.row,ha),style:Ya},me.createElement("div",{className:"flex item-center justify-between"},me.createElement("div",{onClick:(0,le.throttle)(()=>dr==null?void 0:dr(),2e3),style:{width:Tr},className:`${ge.title} ${dr?"current":""}`},ya),me.createElement("i",{className:`iconfont ${Ki?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Ki?"#00DDC7":"#037F74",fontSize:Ki?10:12},onClick:()=>co(!Ki)})),Ki&&me.createElement("div",{className:Di?`${ge.tagsWrap} ${ge.tagsBorderWrap}`:ge.tagsWrap},me.createElement("div",{className:ge.bar,ref:$r},me.createElement("div",{className:ge.tag,ref:wo},jn==null?void 0:jn.map(Ka=>me.createElement("span",{onClick:()=>_n(Ka.id),key:Ka.id,style:{color:Va},className:Dn===Ka.id?ge.active:""},me.createElement("span",{title:Ka.name,className:ge.name},Ka.name),!!eo&&me.createElement("span",{className:ge.num},Ka.count)))))))},be={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"},Se=({dataSource:jn=[],value:Dn,onChange:_n,className:dr,style:ha={}})=>me.createElement("div",{style:ha,className:ae()(be.tabs,dr)},jn.map(ya=>me.createElement("span",{onClick:()=>_n(ya.id),className:Dn===ya.id?be.active:"",key:ya.id},ya.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"},Be=pe(92832),Ee=({dataSource:jn=[],value:Dn="",onChange:_n,onInputChange:dr=()=>{},className:ha,style:ya={},placeholder:Tr,allowClear:Ya=!1})=>{var Va;const[eo,zi]=(0,me.useState)(""),[Ir,ti]=(0,me.useState)("");(0,me.useEffect)(()=>{var wo;let $r=Dn;(wo=JSON.stringify(Dn))!=null&&wo.includes("{")&&(zi(Dn.id),$r=Dn.value||"");try{ti(decodeURIComponent($r||""))}catch(Ki){ti(decodeURIComponent($r||""))}},[Dn]);const Di=()=>{_n(encodeURIComponent(Ir),eo||null)},Ti=wo=>{wo!==eo&&(zi(wo),_n(encodeURIComponent(Ir),wo))};return me.createElement("div",{className:ae()(Pe.input,ha),style:ya},!!jn.length&&me.createElement("div",{className:Pe.dropdown},me.createElement("div",{className:Pe.text},(Va=jn.find(wo=>wo.id===eo))==null?void 0:Va.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},jn.map((wo,$r)=>me.createElement("div",{key:$r,onClick:()=>Ti(wo.id)},wo.name)))),me.createElement(Be.default,{onPressEnter:Di,value:Ir,onChange:wo=>{ti(wo.target.value),dr(encodeURIComponent(wo.target.value),eo||null)},bordered:!1,placeholder:Tr}),me.createElement("i",{onClick:Di,className:"iconfont icon-sousuo9 font14 pl10 current"}))},He={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},ke=({dataSource:jn=[],value:Dn="",onChange:_n,onInputChange:dr=()=>{},className:ha,style:ya={},placeholder:Tr,allowClear:Ya=!1})=>{var Va;const[eo,zi]=(0,me.useState)(""),[Ir,ti]=(0,me.useState)("");(0,me.useEffect)(()=>{var wo;let $r=Dn;(wo=JSON.stringify(Dn))!=null&&wo.includes("{")&&(zi(Dn.id),$r=Dn.value||"");try{ti(decodeURIComponent($r||""))}catch(Ki){ti(decodeURIComponent($r||""))}},[Dn]);const Di=()=>{_n(encodeURIComponent(Ir),eo||null)},Ti=wo=>{wo!==eo&&(zi(wo),_n(encodeURIComponent(Ir),wo))};return me.createElement("div",{className:ae()(He.input,ha),style:ya},!!jn.length&&me.createElement("div",{className:He.dropdown},me.createElement("div",{className:He.text},(Va=jn.find(wo=>wo.id===eo))==null?void 0:Va.name,me.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),me.createElement("div",{className:He.menu},jn.map((wo,$r)=>me.createElement("div",{key:$r,onClick:()=>Ti(wo.id)},wo.name)))),me.createElement(Be.default,{onPressEnter:Di,value:Ir,onChange:wo=>{ti(wo.target.value),dr(encodeURIComponent(wo.target.value),eo||null)},bordered:!1,placeholder:Tr}),me.createElement("i",{onClick:Di,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Xe={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"},ze=({value:jn,onChange:Dn,className:_n,total:dr,pageSize:ha,style:ya={}})=>{const Tr=(0,re.useIntl)(),Ya=jn<2,Va=jn>=Math.ceil(dr/ha);return dr<=ha?me.createElement(me.Fragment,null):me.createElement("div",{className:ae()(Xe.quickPager,_n),style:ya},me.createElement("div",{onClick:()=>{Ya||Dn(jn-1,"prev")},className:Ya?Xe.disabled:""},Tr.formatMessage({id:"shixuns.previousPage"})),me.createElement("div",{onClick:()=>{Va||Dn(jn+1,"next")},className:Va?Xe.disabled:""},Tr.formatMessage({id:"shixuns.nextPage"})))},at={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"},et=pe(71418),it=pe(6848),At=pe(13570),ot=pe(29701),rt=pe(99770),lt=pe(96908),gt=pe(57177),yt=pe(81378),Tt=pe(64398),ut=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,trackEventItems:Ya,loading:Va})=>{const eo=(0,re.useIntl)(),zi=Math.floor((Tr-(_n-1)*dr)/_n);return me.createElement(et.Z,{spinning:Va},me.createElement("div",{className:ae()(at.list,jn)},!!Dn.length&&Dn.map((Ir,ti)=>{const{name:Di,id:Ti,identifier:wo,power:$r,cover_image_id:Ki,pic:co}=Ir;return me.createElement("div",{className:at.wrap,key:Ti,style:{width:zi,marginRight:(1+ti)%_n===0?0:dr+ya,marginBottom:ha}},me.createElement("a",{target:"_blank",href:`/shixuns/${wo}/challenges`,className:at.li,onClick:Ka=>{Ka.preventDefault(),Ya&&(0,rt.L9)([Ya]),$r&&(0,rt.xg)(`/shixuns/${wo}/challenges`)}},me.createElement("div",{className:at.img},me.createElement("img",{className:at.cover,src:`${co}`}),Ir.is_jupyter&&me.createElement("img",{className:at.sign,src:lt}),Ir.is_jupyter_lab&&me.createElement("img",{className:at.sign,src:gt}),Ir.is_unity_3d&&me.createElement("img",{className:at.sign,src:yt})),me.createElement("div",{className:at.name},me.createElement(it.Z,{title:Di||eo.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})},me.createElement("span",{className:at.e},Di||eo.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})))),me.createElement("div",{className:at.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,Ir.challenges_count))),!!Ir.myshixuns_count&&me.createElement(it.Z,{placement:"bottom",title:eo.formatMessage({id:"shixuns.numberOfLearners"})},me.createElement("span",null,me.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),me.createElement("span",null,Ir.myshixuns_count))),me.createElement(it.Z,{placement:"bottom",title:eo.formatMessage({id:"shixuns.difficultyCoefficient",defaultMessage:"\u96BE\u5EA6\u7B49\u7EA7"})},me.createElement("span",null,me.createElement("span",null,Ir.level))),me.createElement("div",{className:at.rate},me.createElement(At.Z,{allowHalf:!0,disabled:!0,defaultValue:Ir.score_info}),me.createElement("span",null,"\xA0",Ir.score_info?`${Ir.score_info}\u5206`:"5\u5206")))),!$r&&me.createElement("div",{className:at.lockWrap},me.createElement("img",{src:`${ot.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")))}),!Dn.length&&me.createElement(Tt.Z,null)))},qe={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"},Ve=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,wrapClassName:Ya,trackEventItems:Va,loading:eo})=>{const zi=Math.floor((Tr-(_n-1)*dr)/_n);return me.createElement(et.Z,{spinning:eo},me.createElement("div",{className:ae()(qe.list,jn)},!!Dn.length&&Dn.map((Ir,ti)=>{const{name:Di,id:Ti,identifier:wo,power:$r,cover_image_id:Ki,pic:co}=Ir;return me.createElement("div",{className:ae()(qe.wrap,Ya),key:Ti,style:{width:zi,marginRight:(1+ti)%_n===0?0:dr+ya,marginBottom:ha}},me.createElement("a",{target:"_blank",href:`/shixuns/${wo}/challenges`,className:qe.li,onClick:Ka=>{Ka.preventDefault(),Va&&(0,rt.L9)([Va]),$r&&(0,rt.xg)(`/shixuns/${wo}/challenges`)}},me.createElement("img",{src:pe(47621),className:qe.titleBg}),me.createElement("div",{className:qe.name},me.createElement(it.Z,{title:Di||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},me.createElement("span",{className:qe.e},Di||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),me.createElement("div",{style:{padding:"14px",paddingBottom:0}},me.createElement("div",{className:qe.img},me.createElement("img",{className:qe.cover,src:Ki?`${ot.Z.API_SERVER}/api/attachments/${Ki}`:`${ot.Z.IMG_SERVER+co}`}),Ir.is_jupyter&&me.createElement("div",{className:qe.bq},"Jupyter"),Ir.is_jupyter_lab&&me.createElement("div",{className:qe.bq},"JupyterLab"),Ir.is_unity_3d&&me.createElement("div",{className:qe.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:qe.text},"\u5B66\u4E60\u4EBA\u6570"),me.createElement("span",{className:qe.value},Ir.myshixuns_count)),me.createElement("div",null,me.createElement("span",{className:qe.text},"\u56F0\u96BE\u7B49\u7EA7"),me.createElement("span",{className:qe.value},Ir.level))),me.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:qe.text},"\u5173\u5361\u6570"),me.createElement("span",{className:qe.value},Ir.challenges_count)),me.createElement("div",{className:qe.rate},me.createElement(At.Z,{allowHalf:!0,disabled:!0,defaultValue:Ir.score_info}),me.createElement("span",{className:qe.value,style:{color:"#FF9C00"}},"\xA0",Ir.score_info?`${Ir.score_info}\u5206`:"5\u5206"))))),!$r&&me.createElement("div",{className:qe.lockWrap},me.createElement("img",{src:`${ot.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")))}),!Dn.length&&me.createElement(Tt.Z,null)))},Ie={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZPtH1Dk1HH56B5vHQWFvJzrUf42lrUaMlPJ4BMxOxtnQAmWhgJLL+3gPQR5+E1qsPDdXl5G9YjUdipIreGpzGFUOfpb4zVXQA2ZnW7op1paSiH30qWlIqdVWlFGz6Al1ipmqkXH0wnD0ym8bOUt0BZGdZuivXk9IH/ajJaK4Uasr3UJizUQX/Fb2WOZ7LtfniosefHEDG38bdo4bUvuijJqG5XFQU5VOSv22/3hr8NTObWzqjIQ4gO8PK3aWO3v3RR57gHR13blpHQ121FZTTM7N5Od5NcQAZbwt3N/mDjvDu8jQ11rHj6/XoskevqKxXMuOPfZHyeDbJAWQ8rdsdZct2zYjj0VJS2bu7gLLiXdZRMiszmx/Hs1kOIONp3e4qO60/+rBx6O5WdmzeRHOTz8lO0pg2fhkr4tU0B5Dxsmx3lytTd99B1FZVUZC31dqanMzxTNDmsz9gGcumOoCMpTV7kixXEvrwCV4HZ1vuZlqamqytu2VCNn+NR3MdQMbDqj1Epj5wBFqfgVSU7qWkWB3CENKgEhibme39jCklBpCysf/H3aohrY1w64CYNqrLCJOziRJg1hN+qqtjJklJQx88xrudmJuzBY+cVveBcmlmNr/qmODQpRIHyPuKlVYtjXBL/1i3K7HyDh4Gp94IU2+Ee0+A+pgPJJ3WPn3QEWgpvSkpKaaiosJabxsuJk7IYksslXEAGUtrmrIW5sHAkerb7UO6NSBJ6wcDhnvXkFu354HlDK8GKzOzOS+WJnQAGUtrmrIW5atXCHoCIDXwDDwSlyuJvIICGhran7OIdRjIAaQDyIgW0PsNRkvtR2l5OaXlAcuPmIaBuh4gp1wP/QYrI338ODRUBRpM0+Cc36p0OVT6nwd9PIcdAydcqr7nroL8NXDi5TBmKoyepPgL16n0dS+3dzgGjoaTjY0If7n+Wow+GdK/p1Jr9sC+Ihg1SX0X3Xob6+K3F0FLg0r/egUUbWovSRy8SdNh5PEw4jho2Ae71sOuDbDhVaWvP1nbWLIZvvo3TLwQvjtDvdQlaf+eB2Uxeuu1V2/oP4yGhnryCn3etqmWS+PmjGUsiYhsGwxdD5C/WwsjJirV7xkX3KjyPvZSY+poqoXbBvqaetzF8HPjDMAbc2HIWDjlp8FNsfldePIaH+iTU2FxIRxkyHvgu5D3afCyM5dDprF8emuBN4jM6TPDm/zZG+HTf/l4xpwG1z/nXaMFpYIv4fHpUGVEJEwmaxu/eBFyP4Br/t5exMPnwZb3bUDADouGPmiU9+3FnLxC3BZvW0rHMgzUswEpI5O8Q9LaDAVroHgzDE2H0SdB6kGqJyryYdFJ0GicbLnsfjjLOGn1yT/ghRmBPSajmgBXLg+Qwwd3j4WzboXTDV4J95jkPZxghH2e+xl89ozKEVDdlKVu8RAq/lqNikm91Eg++GiVXlsGD52tRr1ggCz+BgaPAXk/20oxBSTo/YagJfdiV8lequuMEd9SnwYxCQP1bECKwerK4ZELQUYbk2RbbNZbMOQYlbJyMSy/Wz3LdDjvG/XcWAN3Hg6t7XYp4IxZ8CNjmSCj7NJp7cEQyamRH8m8zT7H54WZ8MkTPhlyO4ZM+xcvUGkb3oDHLw8OSDP1m3fgw0ehtlSBWUb2ysL2eh3It7T+iMddVV1LUVnQMFZMwkA9H5CPXQqb3gzsChlVBBSyHm2uh7ljFHiFbn4Pjj1DPT/1U5Bp0Uq/XQ1HnKxSnrgC1r8aHSAvnAfn3aXKfPYsPHN9cKiYywIJrC+a5Ft/WqfsSDIOBITWsnJjRr/DaG1pIbewJKjUWISBejYgZTqeOzZ0l9zyPhxzusp/7BLY9JZ6FifjhhfUc85/YckPfDKsI6iMRnNGq3t+rBRphJyzBuQgrNBD34etHwTXcfLVcN3TKu/d++H136lnKyDlx3TXkcGdv1iB0ZTT7zDv0/aiMppaWoNKP9AwUM8G5Fdvwt8MjzuY+ab/Bc40dr+yfw2rDEdRRgMBlXSArAFl9KwyzgVaR7f3HoDX5gRKjgTIh6rV2lZow+uBSwJTojhX489R32QUltHYH5A7P4P7T4s19ILLk2k7JY3SqhpK99WFqvOAwkA9G5Af/R1emhW6s865HS5ZpPJXLYXsW328Fy+EH9yhvi+/B1YafH/YCoceqdLnZUBpu6NZKj0cICVgLvnRkoSCFk8OBOSXy+DJq6OV1jH+5F6Q1p/G5mZ2lAQJxxlSDyQMFHtATpgGR56iVNvyHmz7KLDxstcrXqpQUx3cdoiPJ5ZhnzUvwNPXhjb+tLth2lyV/86f4I3f+3jF8Zmfq+6SLNsB96TDUVPgNx8qHmnXg2cFlx0OkDIyPrhPrV2FJNbqe8MvtK4S3go2Zcv6Vta5nUGicp9B3vuBcooraXMHfxHxQMJAsQfkRQvg3DuVeazeq9Vgo06EOz9XKXu3wvwMX651fbXgeCgxPF5reQlgLzSCvuHikOJpSiwxFF3zBEy5TuU+exN8aqzXTP5fvgkZxvrxz2fC5CvhtJ+p3KevgzXPRw9IKWHd6w41yoYDmH8csrMAKTql9vWGqoqr6qisaw6pZUfDQLEH5Hd+Atc+qRRdmw3/vCpQaStPzn9gybk+nl+8BhMvUN+XXgCb3wksf+1T8J1rVHo4QMoux7xxwcMfElwXUJt7zg+cDnmr29clux+/MDxoGW0zzlVBc9lNmTMy9Nov0hpy1goY/31Vl3/Ix6rB8ZfACT9UKRJe+vw59ZxIQMq0nZJGbUMzBRVhL7XoUBgo9oCUoPMdxu6GBKQXTIByy4VaKWnwm4/VVpnQf5fAy7/2dcP0B+FMY90XbMo9fCLM+UJNpZEAKflfZqndGH8SZ0acGiEJSC82wjhWPokH3pvnA62ZJ/G+rJsDZZop1nWmePni7VvpuIvg56+oFNlynJ8JzX5OgswCd63zbUH+5Xuw/ePEA1KWGvIOt9vNlr21eDyhz3p2JAwUe0CKyWavhHRjfVVXoUAni38x8ik/geHGFC33yMgIZu2wcWfDr972dZ/slnz+PNTuhaNPhUvuVd6vSeFGSPGQBbjrXoH3/gxl22BIOpz0I593LXIevQi+ttRpBc/5c+ECI2hupt8rMcGvQgPSGk6SsFHO+2rPXLxyk2a8DrLeFirdrtaHEryXy0ZlmTD5Kt9uzTcrVXDfpESOkKKD7G3rOruqmqhuCv9qjcvF+RlZhDBuoAnjA0iJ1ckoaR4wCNV1794HrxsBYivPze/CsWcGLyUgWz5XAVMoHCAFiEInXhZcloBkxQKQvehQJFP6wh2+Lb78L+C+KaH5JUeWE7Ks8KdZaeqqZaFDRsCMN3z79qEk7t4IMjo21XQdQLpSvP8QoKaxlcJ9odeRorCmsSVjHBPtvhQWH0CKJtKRVz3mO4BgNXhFgQrHyC8/GMmhUNlTPvWG9rnVJarcphX2DleIByrOxxVL1Mhsxv5EqkyVWbNh4/Lw4JLc2e/4TvbI3raM2pFo6k1wxkwYPNa3z2wFpJSXeOf5v1d751bdJE/WqfJDkeWBf+A90SOkTNtJvdA9bWwpa8ET4RWNaMJA8QOk2WF9DlEHGmS6FhDszVX7rXao76EwdJy6yF2OjJXLieUIFKqzpPMlHCWjdsFadWTMDglQFhVAnwFqi/HOEYHrPTtywvFIBx96FAzPVODbk6PW3XbCQQdad0fLiz11D7urW9nXHP4eqmjCQPEHZEcb3NFysR49JMxz5SNKm9VPgZzYcQjE4ZOzKy1u8qtt3Jmv8fCEZcyOZDoHkJEsNHcjDBuvuO6bCvlG/DRSuW9Dvly74tHZUumOOG3LUWo7L4U5gAwHHHGsxMESkvOKC40DEd8GsEXRxqI6D1VNka+P1ODtzGzOD7t66XGX3sdyypaguATHhbJvg1UPR9FN3x7WxjbYsc/ezSqRwkA9b4QclqE8aiEJeH/5UseQITs5F81X/+tQSPa6g73f0zHpPaqUhMa3VrppDRMkNxscKQzU8wDZo7q6+zSmtFGntN6GcwOECwM5gOw+fd6lNW31QG6lADLytTHhwkAOILt0N3cv5XZWe6gXZNqhEGEgB5B2jOfw2LLAvmad3bX2pu1QYSAHkLZM7TDZsYD4NDn2YpJeccHCQA4g7Vja4bFtgeJ6D5WNNqdtcXD8TgM5gLRtaofRjgWa3LC9yl5M0jtK+p0GcgBpx8oOT1QWyKt209Aa2ds2hbpczM7Iwrvr4AAyKlM7zHYsEKVz0+5uIAeQdizs8Ni2gIyL8icxSbeNnZv9go0wkANI26Z2GKOxwJ56D+VRODdmGMgBZDRWdnhtW6C6WWeX/Zjk/jDQ/wHkSLPJ/mcrgQAAAABJRU5ErkJggg==",Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAA8CAYAAAAeyZT3AAAAAXNSR0IArs4c6QAAEpJJREFUeF7tXQeYFdUV/mcbS1F6UUEsoLC7IGKNJWpERbEgSoxGo7HEQFDRWCAGgdASNBbEhglqsC1rAxVBNGg0qNgLsJRddmFhe3vby3uT7393ZmfeezOv7M57W3LP9/EtM3Pn3DPn3n/uvf85c58CKdID0gOOeUBxTJNUJD0gPQAJKNkJpAcc9EALoNRpCaqt3rh4QIkDvH/jxV/zuZZjrVy8uRzvSzDdrx3HxWnnEnz1eevhOf/79HpNdrAs6wrQr9VvtiMc+/kc0HSan9Nrq8Uzt9hquuZjv8kPev26r8x16X5VPYDHDYT7Vy/L8vo94d7P8u5mcV+w+1U34GEZ7a+5Tg/vV31tbrmu36ff23JcB9VdBo9a5v2rekq14/1wN30GNXGzctPKKgf7eExVKUGBpJsSEkgWYPMHXEuH0sHlB5iW8jrAtE6sd9AW8GidVD9mR/fvxDrAzJ3Yp/ObAGL3srC1XweJnf0awHUQWgGJ52i3P+D9OyOP/QHSAjYT8Lwd3gRGH3Bp5dza34D7LUDsD04vmPzuN9cZGkSAF3xm4JttNoFWdasNlRVNta4SV21l6YHakvyPGurrNivA12kZ2B1TdLSisvAA1QrF8hbpAUsP8EWVkAwkdgMSugHxiUB8EpDcC+g1AOjeG+BciSBWPXA3NaA8Pxel+7LRXF+bCwXpShxeTX0V33ZED0tAdcRW+X+2iaN3j35Ar/7iX/e+XnCpbg9cZfkozctBrauci/9tioIlKSpeUTLg7iguk4DqKC0h7bD2QPJBQP/hUHsNhsIVv+qBq7QI+7O2w93USGDtUoEFaavxoqJ4x7Z2FQmodnW/rDxsD3Ba2PcwqL0PhaLEobmxAXnZmaiuKPOqUBRsSlBx06gM7AlbZxQKSkBFwalSZRQ9kJAEDD4GSD7Yyz6WFu5HQV4uVI+Ho1W1ouCe1NV4OooWBFUtAdVenpf1ts0DfQ6F2mcoOMurq6nCnp2Z8DAMwNEKWJEKTG+PtZUEVNuaVd7dnh5I6gF1wFFQEpJQW+1CTtYueBgeEPLuwGRcNWQVamJpogRULL0t63LeA/GJUAeNhBKXgOpqF3Kzs6Ey3iVGqs29gQnDMlDnfMXWGiWgYuVpWU/0PBCfBHXQ0VCUeLgqK7B3b67I4BDyZloKrlTmQ6AsyiIBFWUHS/Ux8kBCMtT+w70MYGlJMfILCloqVoDH0jIwMxaWSEDFwsuyjth4IKk71D7DGKzCnj05qK0zZnoKMDUtA69F2xAJqGh7WOqPrQeYvtSjL+rr65C1JxeqMfUrTkpAyrGvoCSaBklARdO7UnfsPaAAat/DocTFo7C4FMWlIvBLUYD0tAz8KppGSUBF07tSd/t4ILE71N5DoHrcyMrJQ0NjY4sd8QompazGumgZJgEVLc9Kve3rgZ79gW49UVVdg9wDhWZbMtNSMEaZDxEFdlgkoBx2qFTXQTygxHnz/gAPdu3NR2Njk9mwmWMy8Fg0LJWAioZXpU7DA/0OB479hTguyQZ2/Sdm3lF79IWS2B2llVXILylvqVcBuLAamZbh/euotA+geg0E/ponHqSpDrizj6MP1WGU8WM671eq7fhVweTFwIQ/Cpe8PRfY8NfYuue4y4BbNbb6y1eA534Tu/rjEqEeNAAejxs7cgvg4VfGmijA8rQM3Oa0Me0HqKUHxLM01gEzD3b6udpXX+9DgNNvBs64GVh0PFDj+Isw/Oe7fAlw3t2i/NoHgPVLwr/XiZLtCShGpHr29zJ++aWVKHX5pPU1Iw5jx6RjuxOP2QLUsPaUcLJG6uII1ZUBtTAb6McAI4B7BktAtdcIRf/zM/vkg9HY3IydeQxBGbMFBVifloELnezecoRy0pu6rsU5QJ/DJKDogXYeoWiCp2c/7mWF7MJy1Nb7kBNwmkaXgJKAioYHDJ0dAFBqt55Q4ruhyFWDooqArzkcpdE7HqBOuxE4aKBokE9WALUGO9PSStxc4Px7xWFzI/DhI0YDDjoGOP5ycbxjE5CzBRh/JTDiDGD4CaL83m/E+W9e8yUM+g0HTtIC6f56/bvd8JOAURp75SoAKvYDh58gStG27tq68L3FQGOtOP/TOmD/j76aOP09YSowbBww9DigtgLY9y2w7zvguzeEvf5ifsb8bcAPbwNjLwF+Pg3oPQTgubfnAcW7ASfXUAOOBH52PTB0nKiHn6UXZwFFu4DPVwEFFssRK0BRz7gpwn/0U+7XQM6XwFfpYrsxpyUhEUjqhdqGJmQXVgRoj1NwR+pqLHOi2o4HqD99DQwdK55t7mjRKfyF++4t1xIf66uAu/oZJcwNuGYOMHgkcKoNs7TtfWDltQZoOd9eshfoqel76OdA9mfWfp6+FkjTpt/vLhA79Jw1PXibrLoZ+OwFo8yIM4EbXwT6MF5iIblfASumAuUaI6oX8e+kOz4Crn3GV8HjFwLbP3AOUJfMBybO9m7eYCnuJmDjQ4L4MIu/rR8+Bty2zvCxuezuT4AVVwHVxU70bR8dao8+XsY1c38F3Ca2j4WcpNG7NqA4MiT1AJoagNwtwIFtwJBRwPATvVF0r5TmAItPBOoqxfEVDwLnapn+n/4DeHlaYONyVCHw4hPErqoPjATOvRM4Syvr3RVWE2/jaQvhF38HfP4vcYEd7ZZ0sWsu5cBPYlTiW58j6cCjxfmqYuDRCWLU0cXcSQ9sBQaOEPvcmcVJQF08F7joz4b2sr3iRcOX2eHjxT9dVl4HfPWqta0cnRmX4r58WZ8CRbsD24Mvj8UnOE7kqN16eT/t2FdWjcrawFHfKRq9awOKzVpdAjxxCcC3vS79jwBmvCs2+6CQStbfrJxOzdsqzte5gFmHAU31vp317BnAL7VpJke55ZN8r4ciJQjyedsM4uLl6cCnzxo6uDcdp42XLRDnvlsDrLjSupPqZ7duAD5+EqgqEmBkh2fHb+uUjy+eJXliI0rK6/f6TrF5ji+TK5aK65wCzh1lbyvb48nJQM4XRpkBRwHT3gIOGS3Obfw78OYsX5+29YgvnLgklNc0YH+FNgX31ekIjd71AfXU5cCP7wQ2B9/q7NScwjTUAHNGCPBR7tgIHHu2+D8DkQxImuXezcARJ4kzz14FfPuG7/VQgLpkHnDh/eIerj3+daN1d9GnlQwM862tr7/MI1QoHW0FFNdLE+8ToQ6uFTlFtpJFe4C+Q8WVmb2NdaO/rS/cCHyxyro95m4Ve9ozNsn24MvBKeHW10nd0dTsxo5C663TnaDRuzagOJ2bM9K+SWZ+ABxzlrj+1GTgx3fF/0kS3PSy+H/mv4FlFxg6zCMYG3z28MCFdChAzd4CDDte6Hz0PGDnR9Y2nvxr4IbnxbX3HwTe+pP4v7mT8mVw/5HW5A3LthVQ4XboO94Hjj1HlF403hr8ZfsEULQ9HwJUz1gHpJwnTj89RZAtTgpHW9WD3cU1qG+y/iK+rTR61wbUD+8AT2uMn1XDTH0YOEfLPsn4I7BJI3q43zZBcdAgsUZiJyjfJzSYRxcuwt+cHag5FKAerRRrO8p3bwVOKXWNJEdSzhdHHAU5GvoDas/nwINn2nc7JwHF2NrxUwCydP2PFEQMiRzulcdjfV1Ke2iXv61b14vpt52Y169v3Ad88LCTcBJ2KvEoqmpAUbUFeypqaxON3rUB9Z9ngFdn2DfK+fcAzHWjbFoOZNxplL1sIXDBfeJ47VxgvVbuLztFh6LMSwWKdgbqDwYodkpej1RIpS85ObCTfrUaWPnr6AKKDNlVy4DxUwURE0rsABWqPZhzOEXLNfz4KSD99lA1RXbd+1NCiahrdCOrzH4jpLbQ6M4Daswk4MhTxYNu32idXcxcN7JklPpq4K6+hmOcpM23vAw8f7290yc9AEyaI65v+BuwxsRkkbiYv0PM6fWF9lGnAXd/LMoza/qRc611BwMUR6ZHKgz6mbE2uymQWTsZNaspX6iE07aOUInJwO0bgKNPM9qL8bHCXUBVoRhdmxuAibOMaawdoL54EXjht/btYR791y0E3pkfGWBClSbjH0c21IPM4no0e6yTlttCozsPqEsXCOdSzOyZ+WFJs87SWJ7CncD8VOOqeX2xYByQrzFu5vsZgF2oxaeCxaHIdDGWZCfXPgucdoO4uuoW4DNtvaKX/8M7QKq2fvr7OcDJVwNn/k5cff4GYMtLkQOKd5hz/exGuWCdI5Lsg7YCimzj5EXCmrzvBYXP4LO/zPrcCGzbASrYS4j6rvuHCBxT7MiLUKAJdZ3Teag44GpCWZ39j3a0lkZ3HlCnXAdcv1I81tcZwD+vCXxEc5nMD4FlE40yv38TGHuxOF5+MbBtQ+D91z8HnKKxTcEAxSyDeaMFfewvDA4TlHrO3UNnAdmbfUsx++D3GoPH0S51oghIskPNHma/9gm1hjIvvv0pc7MF4yaLNQuF9Dzf8JRYAop0NmcdlGeuBL5fE+hL/qbT0gJjOmgHKLbHn48CXD5f0Ap9bA/67eDB4njp6SKbxWnRfjmzqr4ZuZVBszJaRaM7DygGTe/TsgsYUF0wBigx/SACpxB3fyJSbSj/Xga8pn2vw+OpjwDnaOseqynbYWOB2V+KqRglGKB4neksVlQvyQiSEhQGVJdoNLi5ARkPWpRtgE6/xnhP+h32TW1eZ5FlJNtoluMuBW59XZxhytL8NKCh2rcMR+H7vzFSmB7+BcBMAkosAWWegvPlyJekv5hBx2t2gOK1/64EXro1UMeEu4ApfxPnmYa0VJti2nu59Vfi4r27y24vaYYnyLdqraHRnQcUH/P29cAobX1RXSpAw8U7O8mp1wGHalM8bu7OEcTc4UZPAG57z3AWsxW+eEnM148+XUw/yL7pEgxQZOgIvG9eF8HC4l3A4FHAib802D3qefJS4CdTneamumgOcLFfOs0ixoR+sG9QMx1P2j3zA5EzSFZQF3MnZMYA10cMPvOzbU4zT77GyJbwZ8daCyjq58sjHPlhrfDJb1aKNqMU7gBemgZk/VdkeHCtfPliY82s6w0GKJYhkULSgdN5Zq4wTKGzrbzOGQtnLtES9gmPB/uqPKhsCL6hbFwcLkpNh03nCDQwOoBirIajlJ4gaueY95cCb2kBTnMZc0zD/16CZO0cY14fDFAEEmX8FdYWsJOvWwAwF89OOCVcmGWkCIXz9uR0lNNSf5mRLH6rlsIg6LQ1Rt6iXf1ct3B0qncZJVoLqEg6qM5sWrUlM0hIruiM386PBdj09aUdoLZtFOSGTq8HtK1bZKywX0RVvL/cBlejir2u4D9+qCjYnjoaY8Pd1CU6gKIz2BGvecpIIDU7qDRX0Nl881oJf7WOMYnTb/K9Wpkv7vtxXXjJsWTASB6Q8uVbVo/9UCunWqRlv18buunIcumZ5czt46gZSs64BTh7OjBwpJFnZwYU7+cCmTlyzB0028ZrXKcR6Jxe+mdgxxJQtOWIU4CrHzdYPP3Z2Y7fvi5GV+b7MXmWYgcopi0xiM2g+aARvh7kfhP0LUf0GAk5vu2l7qDTPpoSCY0ePUDpTunRVwzrnO6xE/NNFm5KCXcBHTJaLFT5yQWdHkrsOhs7L6co+ucCTKMJR9jRF+cCjMUwK2HW0MD1Tjh6gpVh+hPz2Q5NE+ApyBTrznDo9LbWHe79tHFIigACaXJOH/VUrXB1mMuxTbne1j+nqSltjZY235NX5UFFiGlfJDR69AHV5keOUEEkb+9wVHMac/UTouTm5wBmjEvpMh6oblKRUxnGb14reHzMaoSMNEtAheoac74HDkkRpZae4ZslHepeeb3De4DL6O1load9/JQ1nE1dJKCCNTmTPUmQUPi90kItobXDdxNpYCQe2F/tQXl96J+PUoD30jJwUdDZe7vsehTJ00Za1skpH4O6DO5SMu4CNj0eqTWyfCfwQF0zkFUR3qf3oWj0rjdCHZJqxE0YczF/PRpJ4zJyf+l8b3ayV5jrZ7W/RSQ6ZdkO6QGyfTvL3Giyye0zGx2KRu96gOqQTSaN6ugeKKpTUVQTBjkRgkaXgOroLS3ti4kH+L3hjjICKvS22cFodAmomDSXrKQzeGBPpQc1Nl/yBthvQ6NLQHWGlpY2xsQDFQ0q8qrCm/bZ0egSUDFpKllJZ/AAOYnM8GJS3sexotEloDpDS0sbY+aBAzUelNWFjknpBvnT6BJQMWsqWVFn8EC9G9hdHl5MyjtK+WWjS0B1hlaWNsbUA9mVbtQ2hWb7TKPU7anp8Eb9JaBi2lSyss7ggQjJCZ+90SWgOkMLSxtj5gGOS/zHmJQ7jMyJFsM0Gl0CKmZNJSvqTB4oqPGgJAJyQqfRJaA6UytLW2PmgcoGFfvCj0m10Oj/A9jGm+feuyEMAAAAAElFTkSuQmCC",De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAA8CAYAAADGxTD9AAAAAXNSR0IArs4c6QAAFoFJREFUeF7tXQl4k1W6fv8sTbqvlJa2tJSy74ugsiMqq4AKIlDUueNwR2dGHR0XdLwixW3uuF6Xq3O9o15nxuUiIIsCsijK1pa20NJ937eke5tmmec7f/40TfInaUNK6+R7nj5Jk7Of93z/t55w8JBnBYbwCnBDeOyeoXtWAB4Ae0AwpFeA+1SWbbA1A07KQSID6JWT0ivAyThIpBwgBSQy4+fCq0T4jANnrEdlWFkpjK/0ndAetd/znpMaTO0LZcz74tsxti0xjqVXfeNYZcZyxvHSuK3GbDYX03iMbbLy5nOz+pzGbGDrwpfj52DQG2DQAwad8Gcwvudf9ToDQN/pDdBrDYBFWfqMry/UAytP9fjPjJ/rYVHf2L7Qph4GaA0tOj1UnBYqvd6gMugMKr0OKoOOq+UMhhQ5DGfHPRNWMaSRaxy8bQBzPGAZAI3AFMAoAIJtnBnA2WaagdlU39iOAKKeje85FKY2TYDkwWh+APi2ebD0AJ8HMn/AzAHFA4x9Jxwss7bN5yXUpbnwB4SvY3Nu9LmwLr36NIKWAEhA1BlMgOUBCAZYBtJe761Byx+A3vV54Av1efDrtUawm4G+N+D5MfUcHH5s7H890KnqNjRWNGkaqlXqhgp1VV1JwxkOSJUAqUB0xk4s0Q4FgIty4KEweM8Yba+ARCmBzBuQeksgVXKQKugVkAdIoRwhhU+EHJycg0GrNz01Whs6UJhegtLsCmi7tI0GYC8H7osYTPhuO2Z3D9a19gB4sO6Mm8flFSKBd4QcyuFS+MbKIfOWMM6v69KjIq8WhVlFaKpvAQeuFsCr/gh45wmsbXHzsPrcvAfAfV6yn18FjgN8YmUInKiAd4TMJObUlNQj42wWutq7SNtXA9zrIVC88nts7Bgsq+AB8GDZiUEyDrm/BAFj5PBLUAASniNnpeSgvLCSjZADl8dBev8ubD41GIbsAfBg2IVBOAaSnUNnK6GM5DlyQ5UKmSlZ6GjvJBiT5epdGRSP7MRGzbUcvgfA13L1h0DfPtFyBE9VMKuMVqNH2rl0NNapBG78vQ98b9+B2xuu1VQ8AL5WKz+E+pV6cQiaqoAyXAp9tx5pyZfQUNdoBDEKAG5VEhJzrsWUPAC+Fqs+RPsMnOgF3xg5dBod0i9eRmM9D2IAFYB03m5sKRnoqXkAPNArPsT7CxingE+UFDqdHpfSMtHYYJIecn2hnL8DG+sGcooeAA/kav9M+gpIkEMZJYdBq0PqxXS0NDcLMvEFKRTzB1Kx8wD4ZwKqgZ6G/2g5vCPlaGttR+rFZMaRiSSQvLILW58YqPF4ADxQK/1z64cDs05IlByqqiqRX5gvKHV6gLspCYknB2LKHgAPxCr/TPuQ+XAImOQFzsDh0pVLUDcJ5jWUSaGcuBMbW9099WsOYDKYU8Qbi5zqshnZ6e41uGrtSxScU3NQhErR1UBhae4hstkaBiiWzDtSykSJri4NLmYmQ6s1dfz6bmx7xD0z7Gn1mgN4bX48CyapP9eBI/NLXZ5v3JYAzHlnOGvnyMJSqNO7TG36xMjYe41KB22r+GGR+nC48aNIVrb4780o2+OYkYTOVWLRnijk/JcKee+qoVHzMqE5zXlvOGLW+0MRIsXBGUVouuweJ9bys7HwjpJBldaJk2vcH/brP9aLRb1V11aisLzAKEpwWimks3Zic4bLm2qngUED4K5GHWpOttuda+U3bSj83ya7ZeLvCcD1f+HBd3hOMVQXeQDL/DhsVI1l71MerUXOm/zjzhYRV1lfmsC+Sn28FtmviZcV6t/wUSRGbQ5g/575RRWKPuE1c3Ma8+sgXPcmf7gynqvH5d3OO7DkARIowigzwDEtPxcLryApmrK7cGqtYwB31evQ3Wx94Bz3xJcgOThwrBd0Wj1Ssi6gW8sfTA44swuJ8zje9ewWGjQAdmZ2OW+rkPIwRfeJ09UAsH+CHGuuxLNOzj9Yjfz37R8axTAp1hWPBnmsOuu02BtXCL3Ges8IhOvLRkPmI0FjSie+ud55u//YB4Iw+w0e/Febkh+qQe47apea9Y2VQeYrQXlNGcpqeubFQfKrJGz9wKXG7VQeNADuqNKi6FNrrmU+9rqfOlDxtf3HudMAfkuFmPV+iN0QgMyXG6BK6xE1gqYpsDI5jnX9071VKHYwrklPhWDa88NY+csvNiDj2XrRJZ/7fgRG3xfIvv8qrgAdFc4Jq4MdwHQoCcQkA6fmXIBOz8v4HNAog2zcc9gsviguoNutAKZHsdRHYnd4y76LgU+UHKr0TvxwFx+y54iIu7WX9Ww8SwGS8/mp8YkBmPNuBHv/7fwSHph6A0jBshQhVqbGIWiKAgUfqnFue42p22HzvHHzyZHs/+83VKB8r/ihoRQjkuMp6IVShvYlFGLyjlCEzVXanIZXiJS5Y4laizSij+78/2lisrRA8kAJCz53RKO2BLL+ic5tr0btaftiGZXrrNGhu6n/IoQwJt+RMrbOJTVFqG4030vJX3dj632Oxt6f790K4CWHohF5s29/xmW3DoH98Oyex9TY3wRh9mvij1f15S4cWVBiBWCBW2vb9fhqZIFpEyNv9sGSQzFsDCdWlqHqqDgIiIsv+DyKlS39/xac3lSJpd9EI+Im1+Z9+YUGZPyHbaYVMlOB0DneNtdo5J3+GL7Ih31HcraYtYPmXPSx/SdeXzeORAifETJ0dnYivTgFBoMgRpEMLF24G5tP97VNR+WHJIBL97TgtBm37i+AJV4c1hbEsywEc8XOHJRHl5Si7rTtBASZLwfi4n7xXmydT60rR8XBNkx/IQwhM3s4cMgsJVOqCDT1Z5xLZij6W7MowMxFFkcbLPZ9R7UWX8XwFoOrSd4jOUilMuRWZkHdZq78cpdliJ5xtZNFBwTAxAW+u7nMap1uOhbDTEo1p9qR8oh95Ywe9YJp68fESpT8oyc9K+x6JUas8GPtB09TIGoV/55Eg45qHTprtSj8qMmmFWLKs6GY8scwNOdqcGBSEas3KjEAN3xotGRcV9xLPjafBJnFEv4tyPTRsZtKUfu9NUBJTApf6NOrD1dAYw7gikOt0Hc7r+SHTFcys6W7AOwVLIFXoBQ16iqU1BdaTvOJ3dj2iitzt6w7IADuqNHiq2jr0357xWgow2UoP9CK8/9eDZ8YOXxjZPAZaXyNkcN7uBRHF5dh7gcRGH1vIHQaA/ZE5ovKjk4rcUYzmt9oOW7L5i0Ox28tQ/Xxdkz+YyimPhvGPvsyPA8albV8GLXaF4u+iu61nqIAPhGD8Pk+aM7R4MBk/pC4QuYA3juqAJo+yK/XvRUOkpPdBWB6qpHuo9F0I73sgsU0uTYZFOShc93gb2x5wAD89YQiDLteyUBKDgVSZGI3+bOUb0e0L6EAEx8PRfQaP6gyOnFytbhts68Apr5vOT0SYXO9Uba3BT9sqMSNn0QiblMAOuu12BNpffDIbLYqLY4dPnMSA/CKlFgET1UyRdVcdnc0b7HvB7MIQWP2jiJlk8OVqgy0a6wU4H27sW1df+d+zTjwiRXlTF60R6TFd1Rq0VbSjbYyLdpLu9FW2s2UoxG3+qK1RIumzC67GnN/AEwmqmlJw5D3ngppO+pBjgCSYet+bGfc35IW7olih4mIQK4M44EsBuC1hfHswDYkd+LECuv2zNunC0wcORXMAaxR060nzsNB6ith9mp3cWAaiVewFBQnUaEqRVVzudXgOEjWJGHrAedHLV5ywDjw/rGFWF86Gu2lWrSV8cCM3xbIjPoElB+3VjHw0gbaIsHlXPyPZvyUWCU6I0sAtxV3Y/QvApH332pRTxx56TgJZwLOBtUYyP0kKPhrE87dX92rL6k3hzvrEtiTgwBZ+HGTybsmBuCN6jHMyO8M0eElU5w9MgfwF2F5fTKBCXZodwKY3MoE4rauVmTX2vQkF4dCOfFqpOcPGIBtycArLsQieLoS3a16ZL/WaFOWkyo4hN3gjejVPMdLe7oOWa+YUlms9tkcwAR2Uuh0HXrsH1folCuZYgjWF4/m+9pRh6w/Wfe1+EAUgiYp8M0NJezJILiubQGYAmvu7hjnDHZZmeY8DQ5MtC8nmwOY5Gq6b81Z8o6UMYuIOwFM3gvv4TLGjDJqkqHVWcd8SICXdmHbU86OW6zcNQWwI/OX5aAJ6IdnFqO1yPZNR8RJJz8dhomPhfSqShz/4NQipwAcscwHSw/zNuDv76hA+X5rJwYFDJFtmQKFzA+MLQCbx1VUHmlD9bE2m3sx/qFg5tBRZ3bh0PRipzlwfwHgVgADkAdL2F1zZc1FqG/v/RQzjrmbg9e0JGy60t85UD23AniZUfsmj9P+sdZchTRWAgxxMb943jtli7Tt5HnrRsnnLWg4T/cS9KaEXwZi5EZ/pulLjB45KkHyYe7bauS8pWIXdDgTzDPrtXCM+00w62BPTD46q+2HPToCcNQqXyzay1srLM1/5rNYkRyL4GlKNKZ24pu59mMkzDnwoZnF0DQ5H5o546VhzH3ubgBLlRLI/Tk0dzQjX51pc185cCeTkLhk0AL4ttxR8BvlxdyZx5bwygu5Q8l1KRDJpxTk0pKnYU4Aoti7/EEu1/Zyba/YB3Kn2nJ5Lvh8BAtTtKRvbyxBwwUe8M5Go60rjudd2xmdODzLcbCNIwBPfT4Mk5/iXbv2QihXpsUxsaTuTAeOLrRvZTIHcOmXLcy06CyRJYgcL+4GMF1XJQ+RsvvWLjcmQ0fXadogCbh7diHxY2fHb1nOrRz4rtYxTNkp+byZhQ7OejUc4Yt9cHBKEVryeDFAUM7MvWurMuIQOEGB6hNtOH4Lr8WS6eq23HhUHm5F+tP1vcSIcb8NwqQdoaDNNHQD437Lc1BnwinZ3b7G8xS+0BvLvuNjILLfaETqY44TbB0BeOmRaEQs8WXOhs8CckUDzVdfHoWAcV6oOtYGstjYo8FuRhPGToyJ4lRKW4rQ2NUTa2I+N7o8UAq/cTuxvl/hcG4DMGUd3FHNx9ReebWRKV7ktiVtPPcdFZIf4j1vzgJ4WlIYJj0RCl0nKWRFzGIhELl0dZ383bt9MaORy3j6i8NwfHk5yFohgI3abS3U4OCMYuja7XM3ewCmw3Fn3RjQfWP15ztwZJ44Z70tLx5+cXKTLdpZAP90TxW0rc4H4ox9MAgRS33dzoFp/BTYQ0p4i6YZha1Z9qb03m5s+3V/uLDbAEw3uaxM4e2+KY/VIucNFWb+aRjGPxzCrA57YwuY2coZAFMg9205o9j9tln/2Yi0p8Q5oxiAzZUpciuTB45kZqLkR2qgvtSFZcd47isQZVc4cnHbA/DIDf6Y/7cRrDlH1hMyMZKFoOj/mnDmvt5KD3FmWk+BYtb5IXYjHzx/9pdVIB3BWRqzPYgF+5B+cP6BHq6ozuhinsKrSSRGyPwl7B7izJZU6ETynDhAL4X0hp3Ycr6v/bsNwObKy+m7K9njnUxUxIVJO039Qy2yX1c5BeDrP4xAfGIgU1b2jym06doVJi4GYOK0ltYJqlN9vA2Xkhow+9VwZtKjCKqa4+0smozeH1taJhrMQ/XtAfjmUyMx7EY+auzriYUmscnWJt1Zn8BiCLLfVCH10d5xIRMeDcaMl8L7urd9Kn/xyVpc+bPjzJM+NUpc2FsCCQeUdRRA1S3OeDjg4lQor9uIjc5rpO60Qlz39nCM+RUf6GKuTC3aH4WoFX4sFpZEgbV5fE6cmAx8OanBJJemP1uHzBfFbcCWgBJkYP8xcqzJ4uMdiAiYFBif+VIjU/JINhfk5rz31YzDr8kZxTxsZJc9NKNYNFlTDMAhsxRYfpZ/AjnjQt7UOZYd7LRn6pD1cu85DmUAc3L6SQgJ2rXNKOiwK0ZQbu9Du7Dtzb4cErdwYDLe316eAJKDyQa7L77HsxS9zg8Lv4hC7Q/tOL25EreejrULYJKdKZWGLBDkzeuLTGquxJFiSMmHJZ+1IOvlBjRl8Y9LYTz0XrAXU8KneQaEvYMjBmDzWGjhCSS2MaSg3lHJ6wskEhR+ZB2nS8qQJUUs8wVF01Ecx8Wn6pD9qu3DPeU53hJCQVXkkcx/X42uut6MTswD2hcwiZUlzxz9NkduZxq6DeJiCgeu2RsY/zTsuFotOnELgEes9MXifbzt0zLFhsBNFgaSOYmckYFJGfIf44XmbMcy2vTdYSzwh+jgtCITUClIvTmvmylrAo1Y7osFX45glhLiyidXlZuC16nPVem8ZYBk9q8nFNq0CdsCsLmVwBnuO/EPIZj+Ap+SRFkkDeesbd3CmAkMI1b4ghwfw+bxMjwRJcSeWF1u/aTggDlvDwc5X8htT0Q28eK/tzD7OMm+7ibBNl+tKUO9zn7WDQd8loRtm5wdk1sALERz0SBI9qOYh/GP8KYtSxKi0djPTxnjWsnBwXEcA5Wt5Ehq48y91UyuJgpf5I15n4xgSiEBjoiSK/dEFYgGukTe4ouFe3rAe+GBGuT/pXfyprkcbysugvqxBDB9tvRIDBMHaPxkEqv+js/oGLbAGzNfCYeuXQ9dFz9fUlDDjNkVFAdB4ZZkUbEkGi/FKUet9mNxGgK1FGhw8ck6u2lPVJZMWgRicvpQZJwJ+KfaWYZ2OeUaOq8LOosvVo7iTCgxuVuvQW53msO6UnC3PI/Eow4LuksGnvnncIz/XTDqz3bgyIJSZqqypUA5M0CxMj9urWTiABFpuhvqE/iFMpKjDGaSUZedGMnuM7jwYA3yP7CdeXzT0RgMX+xjU7myBWAy7y0+EA3/0V649Hw9Lu3qSZ2nQKA7ahLYD6pYEkXiHVtSivqztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Ne=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,trackEventItems:Ya,loading:Va,wrapClassName:eo,imgClassName:zi})=>{const Ir=Math.floor((Tr-(_n-1)*dr)/_n);return me.createElement(et.Z,{spinning:Va},me.createElement("div",{className:ae()(Ie.list,jn)},!!Dn.length&&Dn.map((ti,Di)=>{const{name:Ti,id:wo,identifier:$r,power:Ki,cover_image_id:co,pic:Ka}=ti;return me.createElement("div",{className:ae()(Ie.wrap,eo),key:wo,style:{width:Ir,marginRight:(1+Di)%_n===0?0:dr+ya,marginBottom:ha}},me.createElement("a",{target:"_blank",href:`/shixuns/${$r}/challenges`,className:Ie.li,onClick:ks=>{ks.preventDefault(),Ya&&(0,rt.L9)([Ya]),Ki&&(0,rt.xg)(`/shixuns/${$r}/challenges`)}},me.createElement("div",{className:ae()(Ie.img,zi)},me.createElement("img",{className:Ie.cover,src:co?`${ot.Z.API_SERVER}/api/attachments/${co}`:`${ot.Z.IMG_SERVER+Ka}`}),ti.is_jupyter&&me.createElement("img",{className:Ie.sign,src:_e}),ti.is_jupyter_lab&&me.createElement("img",{className:Ie.sign,src:Fe}),ti.is_unity_3d&&me.createElement("img",{className:Ie.sign,src:De})),me.createElement("div",{className:Ie.name},me.createElement(it.Z,{title:Ti||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},me.createElement("span",{className:Ie.e},Ti||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),me.createElement("div",{className:Ie.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,ti.challenges_count))),!!ti.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,ti.myshixuns_count))),me.createElement(it.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},me.createElement("span",null,me.createElement("span",null,ti.level))),me.createElement("div",{className:Ie.rate},me.createElement(At.Z,{allowHalf:!0,disabled:!0,defaultValue:ti.score_info}),me.createElement("span",null,"\xA0",ti.score_info?`${ti.score_info}\u5206`:"5\u5206")))),!Ki&&me.createElement("div",{className:Ie.lockWrap},me.createElement("img",{src:`${ot.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")))}),!Dn.length&&me.createElement(Tt.Z,null)))},Le=pe(37223),Ge={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},dt=pe(79005),mt=pe(20345),st=pe(77882),Et=pe(31081),Bt=pe(75309),wt=pe(71979),Lt=pe(47558),Ft=pe(42922),Nt=pe(66832),bt=pe(96593),Dt=pe(19664),Rt=pe(91833),Ut=Object.defineProperty,qt=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,rn=(jn,Dn,_n)=>Dn in jn?Ut(jn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):jn[Dn]=_n,nn=(jn,Dn)=>{for(var _n in Dn||(Dn={}))mn.call(Dn,_n)&&rn(jn,_n,Dn[_n]);if(qt)for(var _n of qt(Dn))$t.call(Dn,_n)&&rn(jn,_n,Dn[_n]);return jn};const xn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:dt,swimg:mt},{name:"101\u8BA1\u5212",ptimg:st,swimg:Et},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Bt,swimg:wt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Lt,swimg:Ft},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Nt,swimg:bt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Dt,swimg:Rt}];var Un=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,trackEventItems:Ya,loading:Va,wrapClassName:eo,imgClassName:zi,isArrow:Ir=!1,imgStyle:ti={}})=>{const Di=Math.floor((Tr-(_n-1)*dr)/_n),[Ti,wo]=(0,me.useState)(),[$r,Ki]=(0,me.useState)(),co=ks=>wo(ks),Ka=()=>wo(-1);return me.createElement(et.Z,{spinning:Va},me.createElement("div",{className:ae()(Ge.list,jn)},!!(Dn!=null&&Dn.length)&&(Dn==null?void 0:Dn.map((ks,mu)=>{var vu;const{name:Pu,id:zl,identifier:Pc,featured:Kl,school_name:Os,image_url:oc,excellent:Xs,is_plan:ic}=ks;return me.createElement("div",{key:zl,className:ae()(Ge.wrap,eo),style:{width:Di,marginRight:(1+mu)%_n===0?0:dr+ya,marginBottom:ha}},me.createElement("a",{target:"_blank",href:`/paths/${Pc}`,className:Ge.li,onClick:Ml=>{Ml.preventDefault(),Ya&&(0,rt.L9)([Ya]),(0,rt.xg)(`/paths/${Pc}`)}},me.createElement("img",{src:pe(39057),className:Ge.titleBg}),me.createElement("div",{className:Ge.name},me.createElement(it.Z,{title:Pu},me.createElement("span",{className:Ge.e,style:{color:Ir&&Ti===mu?"#145DFF":"#000000"},onMouseEnter:()=>{co(mu)},onMouseLeave:Ka},Pu))),me.createElement("div",{style:{padding:"14px",paddingBottom:0}},me.createElement("div",{className:ae()(Ge.img,zi)},me.createElement("img",{className:Ge.cover,style:nn({},ti),src:`${ot.Z.IMG_SERVER+oc}`}),(vu=ks==null?void 0:ks.subject_tags)==null?void 0:vu.map((Ml,Gl)=>{var fs,Vc;if(Gl===0){const Xc=(fs=xn.find(ul=>ul.name==Ml))==null?void 0:fs.swimg;return me.createElement("img",{className:Ge.sign,src:Xc,style:{left:"-4px"}})}const bd=(Vc=xn.find(Xc=>Xc.name==Ml))==null?void 0:Vc.ptimg;return me.createElement("img",{className:Ge.sign,src:bd,style:{left:`${48+52*(Gl-1)+2*Gl}px`}})}),me.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(ks==null?void 0:ks.excellent)&&me.createElement("div",{className:Ge.bq},"\u5F00\u653E\u8BFE\u7A0B"))),me.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},me.createElement("div",null,me.createElement("span",{className:Ge.text},"\u7AE0\u8282\u6570"),me.createElement("span",{className:Ge.value},ks.stages_count)),me.createElement("div",null,me.createElement("span",{className:Ge.text},"\u5B66\u4E60\u4EBA\u6570"),me.createElement("span",{className:Ge.value},ks.members_count))))))})),!Dn.length&&me.createElement(Tt.Z,null)))},ir={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},yr=pe(58938),En=pe(59301);const Dr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:dt,swimg:mt},{name:"101\u8BA1\u5212",ptimg:st,swimg:Et},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Bt,swimg:wt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Lt,swimg:Ft},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Nt,swimg:bt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Dt,swimg:Rt}];var Fr=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,trackEventItems:Ya,loading:Va,onRemove:eo=()=>{},isCurrent:zi=!0,showAlias:Ir=!1,wrapClassName:ti,imgClassName:Di})=>{const Ti=Math.floor((Tr-(_n-1)*dr)/_n),wo=[{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($r=>(window.ENV==="build"&&($r.ptimg=`/react/build${$r.ptimg}`,$r.swimg=`/react/build${$r.swimg}`),$r));return En.createElement(et.Z,{spinning:Va},En.createElement("div",{className:ae()(ir.list,jn)},!!(Dn!=null&&Dn.length)&&(Dn==null?void 0:Dn.map(($r,Ki)=>{var co;const{name:Ka,id:ks,identifier:mu,featured:vu,school_name:Pu,image_url:zl,excellent:Pc,is_plan:Kl}=$r;return En.createElement("div",{key:ks,className:ae()(ir.wrap,ti),style:{width:Ti,marginRight:(1+Ki)%_n===0?0:dr+ya,marginBottom:ha}},En.createElement("a",{className:ir.li,onClick:Os=>{Os.preventDefault(),Os.stopPropagation(),Ya&&(0,rt.L9)([Ya]),(0,rt.xg)(`/paths/${mu}`)}},En.createElement("div",{className:ae()(ir.img,Di)},En.createElement("img",{className:ir.cover,src:`${ot.Z.IMG_SERVER+zl}`}),zi&&(0,yr.bg)()&&($r==null?void 0:$r.studying)&&En.createElement("div",{className:`${ir.movebq} user-path-items`,onClick:Os=>{Os.stopPropagation(),eo($r)}},En.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),En.createElement("span",{className:"c-red"},"\u79FB\u9664")),(co=$r==null?void 0:$r.subject_tags)==null?void 0:co.map((Os,oc)=>{var Xs,ic;if(oc===0){const Gl=(Xs=wo.find(fs=>fs.name==Os))==null?void 0:Xs.swimg;return En.createElement("img",{className:ir.sign,src:Gl,style:{left:"-4px"}})}const Ml=(ic=wo.find(Gl=>Gl.name==Os))==null?void 0:ic.ptimg;return En.createElement("img",{className:ir.sign,src:Ml,style:{left:`${48+52*(oc-1)+2*oc}px`}})}),En.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},($r==null?void 0:$r.excellent)&&En.createElement("div",{className:ir.bq},"\u5F00\u653E\u8BFE\u7A0B"))),En.createElement("div",{className:ir.name},En.createElement(it.Z,{title:Ir&&($r!=null&&$r.excellent_alias_name)?En.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ka}`,En.createElement("br",null),En.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${$r==null?void 0:$r.excellent_alias_name}`)):Ka},En.createElement("span",{className:ir.e},Ir&&($r==null?void 0:$r.excellent_alias_name)||Ka))),En.createElement("div",{className:ir.tags},En.createElement("div",null,En.createElement(it.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},En.createElement("span",null,En.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),En.createElement("span",null,$r.stages_count))),En.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},En.createElement("span",null,En.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),En.createElement("span",null,$r.members_count)))))))})),!Dn.length&&En.createElement(Tt.Z,null)))},Vr={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"},Mr="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",Er=pe(59301),to=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,trackEventItems:Ya,loading:Va})=>{const eo=(0,re.useIntl)(),zi=Math.floor((Tr-(_n-1)*dr)/_n);return Er.createElement(et.Z,{spinning:Va},Er.createElement("div",{className:ae()(Vr.list,jn)},!!Dn.length&&Dn.map((Ir,ti)=>{const{subject_identifier:Di,id:Ti,identifier:wo,power:$r}=Ir,Ki=Ir.is_public!=0&&Ir.is_public;return Er.createElement("div",{className:Vr.wrap,key:Ti,style:{width:zi,marginRight:(1+ti)%_n===0?0:dr+ya,marginBottom:ha}},Er.createElement("a",{className:Vr.li,onClick:co=>{co.preventDefault(),Ya&&(0,rt.L9)([Ya]),(0,rt.xg)(Ir.first_category_url)}},Er.createElement("div",{className:Vr.top},Er.createElement(it.Z,{title:Ir.name},Er.createElement("div",{className:Vr.name},Ir.name)),Er.createElement("img",{className:Vr.img,src:ot.Z.IMG_SERVER+"/images/"+Ir.avatar_url}),Er.createElement("div",{className:Vr.text,title:Ir.creator},Ir.creator),Di&&Er.createElement("div",{className:Vr.btns},Er.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Er.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ki&&Er.createElement("div",{className:Vr.sign},eo.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}))),Er.createElement("div",{className:Vr.bottom},Ir.visits>0&&Er.createElement(it.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Er.createElement("span",null,Er.createElement("i",{className:"iconfont icon-liulanyan"}),Er.createElement("span",null,Ir.visits))),Ir.course_members_count>0&&Er.createElement(it.Z,{title:eo.formatMessage({id:"classrooms.member",defaultMessage:"\u6210\u5458"}),placement:"bottom"},Er.createElement("span",null,Er.createElement("i",{className:"iconfont icon-chengyuan"}),Ir.course_members_count)),Ir.tasks_count>0&&Er.createElement(it.Z,{title:eo.formatMessage({id:"paths.homework",defaultMessage:"\u4F5C\u4E1A"}),placement:"bottom"},Er.createElement("span",null,Er.createElement("i",{className:"iconfont icon-zuoye"}),Ir.tasks_count)),Ir.is_end?Er.createElement("div",{style:{color:"#6B758B"}},eo.formatMessage({id:"classroomClassroomExperiments.notEvaluated",defaultMessage:"\u5DF2\u7ED3\u675F"})):Er.createElement("div",{style:{color:"#00B187"}},eo.formatMessage({id:"classrooms.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})))),!Ir.is_accessible&&Er.createElement("div",{className:Vr.lockWrap},Er.createElement("img",{src:`${ot.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Er.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Dn.length&&Er.createElement(Tt.Z,null)))},na={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"},Ao="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",sn=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,wrapClassName:Ya,trackEventItems:Va,loading:eo})=>{const zi=Math.floor((Tr-(_n-1)*dr)/_n);return me.createElement(et.Z,{spinning:eo},me.createElement("div",{className:ae()(na.list,jn)},!!Dn.length&&Dn.map((Ir,ti)=>{const{subject_identifier:Di,id:Ti,identifier:wo,power:$r}=Ir,Ki=Ir.is_public!=0&&Ir.is_public;return me.createElement("div",{className:ae()(`${na.wrap} ${Ir.is_accessible?"":na.warpStyle}`,Ya),key:Ti,style:{width:zi,marginRight:(1+ti)%_n===0?0:dr+ya,marginBottom:ha}},me.createElement("a",{className:na.li,onClick:co=>{co.preventDefault(),Va&&(0,rt.L9)([Va]),(0,rt.xg)(Ir.first_category_url)}},me.createElement("div",{className:na.creator},me.createElement("img",{className:na.img,src:ot.Z.IMG_SERVER+"/images/"+Ir.avatar_url}),me.createElement("div",{className:na.text,title:Ir.creator},Ir.creator)),me.createElement("div",{className:na.top},me.createElement(it.Z,{title:Ir.name},me.createElement("div",{className:na.name},Ir.name)),Ki&&me.createElement("div",{className:na.sign},"\u516C\u5F00")),me.createElement("div",{className:na.middle},me.createElement("div",{className:na.row,style:{marginBottom:6}},me.createElement("div",null,me.createElement("span",{className:na.text},"\u8BBF\u95EE\u91CF"),me.createElement("span",{className:na.value},(Ir==null?void 0:Ir.visits)||0)),me.createElement("div",null,me.createElement("span",{className:na.text},"\u6210\u5458"),me.createElement("span",{className:na.value},(Ir==null?void 0:Ir.course_members_count)||0))),me.createElement("div",{className:na.row},me.createElement("div",null,me.createElement("span",{className:na.text,style:{width:42}},"\u4F5C",me.createElement("span",{style:{marginLeft:14}},"\u4E1A")),me.createElement("span",{className:na.value},(Ir==null?void 0:Ir.tasks_count)||0)),me.createElement("div",null,me.createElement("span",{className:na.text},"\u72B6\u6001"),Ir.is_end?me.createElement("span",{className:na.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):me.createElement("span",{className:na.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Di&&me.createElement("div",{className:na.btns},me.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),me.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ir.is_accessible&&me.createElement("div",{className:na.lockWrap},me.createElement("img",{src:`${ot.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")))}),!Dn.length&&me.createElement(Tt.Z,null)))},Pn={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},An="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",Wr=({className:jn,dataSource:Dn=[],col:_n=4,right:dr,bottom:ha=23,precision:ya=0,wrapWidth:Tr=1200,wrapClassName:Ya,trackEventItems:Va,loading:eo})=>{const zi=Math.floor((Tr-(_n-1)*dr)/_n);return me.createElement(et.Z,{spinning:eo},me.createElement("div",{className:ae()(Pn.list,jn)},!!Dn.length&&Dn.map((Ir,ti)=>{const{subject_identifier:Di,id:Ti,identifier:wo,power:$r}=Ir,Ki=Ir.is_public!=0&&Ir.is_public;return me.createElement("div",{className:ae()(`${Pn.wrap} ${Ir.is_accessible?"":Pn.warpStyle}`,Ya),key:Ti,style:{width:zi,marginRight:(1+ti)%_n===0?0:dr+ya,marginBottom:ha}},me.createElement("a",{className:Pn.li,onClick:co=>{co.preventDefault(),Va&&(0,rt.L9)([Va]),(0,rt.xg)(Ir.first_category_url)}},me.createElement("div",{className:Pn.creator},me.createElement("img",{className:Pn.img,src:ot.Z.IMG_SERVER+"/images/"+Ir.avatar_url}),me.createElement("div",{className:Pn.text,title:Ir.creator},Ir.creator)),me.createElement("div",{className:Pn.top},me.createElement(it.Z,{title:Ir.name},me.createElement("div",{className:Pn.name},Ir.name)),Ki&&me.createElement("div",{className:Pn.sign})),me.createElement("div",{className:Pn.middle},me.createElement("div",{className:Pn.row,style:{marginBottom:6}},me.createElement("div",null,me.createElement("span",{className:Pn.text},"\u8BBF\u95EE\u91CF"),me.createElement("span",{className:Pn.value},(Ir==null?void 0:Ir.visits)||0)),me.createElement("div",null,me.createElement("span",{className:Pn.text},"\u6210\u5458"),me.createElement("span",{className:Pn.value},(Ir==null?void 0:Ir.course_members_count)||0))),me.createElement("div",{className:Pn.row},me.createElement("div",null,me.createElement("span",{className:Pn.text,style:{width:42}},"\u4F5C",me.createElement("span",{style:{marginLeft:14}},"\u4E1A")),me.createElement("span",{className:Pn.value},(Ir==null?void 0:Ir.tasks_count)||0)),me.createElement("div",null,me.createElement("span",{className:Pn.text},"\u72B6\u6001"),Ir.is_end?me.createElement("span",{className:Pn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):me.createElement("span",{className:Pn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Di&&me.createElement("div",{className:Pn.btns},me.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),me.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ir.is_accessible&&me.createElement("div",{className:Pn.lockWrap},me.createElement("img",{src:`${ot.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")))}),!Dn.length&&me.createElement(Tt.Z,null)))},sa={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"},ua=({dataSource:jn=[],value:Dn,onChange:_n,className:dr,style:ha={},tabBarExtraContent:ya})=>me.createElement("div",{className:ae()(sa.tabs,dr),style:ha},me.createElement("div",{className:sa.tabsWrap},jn.map((Tr,Ya)=>me.createElement("aside",{className:sa.tab,onClick:()=>{_n(Tr.id),Tr.link&&re.history.push(Tr.link)},key:Ya},me.createElement("div",{className:Dn===Tr.id?sa.active:""},Tr.name),(Tr==null?void 0:Tr.resetCount)==null&&(Tr==null?void 0:Tr.total)!==void 0&&me.createElement("span",null,"\uFF08",Tr==null?void 0:Tr.total,"\uFF09"),(Tr==null?void 0:Tr.resetCount)!==void 0&&(Tr==null?void 0:Tr.total)!==void 0&&me.createElement(it.Z,{title:(Tr==null?void 0:Tr.tip)!=null?Tr==null?void 0:Tr.tip:""},me.createElement("span",{style:{color:"#9096A3"}},"\uFF08",me.createElement("span",{style:{color:"#000"}},Tr==null?void 0:Tr.resetCount),"/",me.createElement("span",null,Tr==null?void 0:Tr.total),"\uFF09"))))),me.createElement("div",{className:sa.tabBar},ya)),fa={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"},Bn=({dataSource:jn=[],value:Dn,onChange:_n,className:dr,style:ha={},tabBarExtraContent:ya})=>me.createElement("div",{className:ae()(fa.tabs,dr),style:ha},me.createElement("div",{className:fa.tabsWrap},jn.map((Tr,Ya)=>me.createElement("aside",{className:fa.tab,onClick:()=>{_n(Tr.id),Tr.link&&re.history.push(Tr.link)},key:Ya},me.createElement("div",{className:Dn===Tr.id?fa.active:""},Tr.name),(Tr==null?void 0:Tr.resetCount)==null&&(Tr==null?void 0:Tr.total)!==void 0&&me.createElement("span",null,"\uFF08",Tr==null?void 0:Tr.total,"\uFF09"),(Tr==null?void 0:Tr.resetCount)!==void 0&&(Tr==null?void 0:Tr.total)!==void 0&&me.createElement(it.Z,{title:(Tr==null?void 0:Tr.tip)!=null?Tr==null?void 0:Tr.tip:""},me.createElement("span",{style:{color:"#9096A3"}},"\uFF08",me.createElement("span",{style:{color:"#000"}},Tr==null?void 0:Tr.resetCount),"/",me.createElement("span",null,Tr==null?void 0:Tr.total),"\uFF09"))))),me.createElement("div",{className:fa.tabBar},ya)),er={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},kr=({dataSource:jn=[],value:Dn,onChange:_n,className:dr,style:ha={},tabBarExtraContent:ya})=>me.createElement("div",{className:ae()(er.tabs,dr),style:ha},me.createElement("div",{className:er.tabsWrap},jn.map((Tr,Ya)=>me.createElement("aside",{className:`${er.tab} ${Dn===Tr.id?er.active:""}`,onClick:()=>{_n(Tr.id),Tr.link&&re.history.push(Tr.link)},key:Ya},me.createElement("div",null,Tr.name),(Tr==null?void 0:Tr.resetCount)==null&&(Tr==null?void 0:Tr.total)!==void 0&&me.createElement("span",null,"\uFF08",Tr==null?void 0:Tr.total,"\uFF09"),(Tr==null?void 0:Tr.resetCount)!==void 0&&(Tr==null?void 0:Tr.total)!==void 0&&me.createElement(it.Z,{title:(Tr==null?void 0:Tr.tip)!=null?Tr==null?void 0:Tr.tip:""},me.createElement("span",{style:{color:"#9096A3"}},"\uFF08",me.createElement("span",{style:{color:"#000"}},Tr==null?void 0:Tr.resetCount),"/",me.createElement("span",null,Tr==null?void 0:Tr.total),"\uFF09"))))),me.createElement("div",{className:er.tabBar},ya)),ga=({className:jn,style:Dn={},children:_n})=>me.createElement("div",{className:ae()(jn),style:Dn},_n),aa={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"},on=pe(38854),Nn=pe(20834),Yn=({sortValue:jn,dropValue:Dn,className:_n,onSort:dr,onDrop:ha,dataSource:ya})=>{var Tr;const Ya=(0,re.useIntl)(),[Va,eo]=(0,me.useState)([]),zi=[{id:"updated_at",name:Ya.formatMessage({id:"personalHomepageclassrooms.latestUpdates",defaultMessage:"\u6700\u65B0\u52A8\u6001"})},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];return(0,me.useEffect)(()=>{(ya==null?void 0:ya.length)>0?eo(ya):eo(zi)},[ya]),me.createElement("div",{className:ae()(aa.orderWrap,_n)},me.createElement(on.Z,{dropdownRender:()=>me.createElement(Nn.default,null,Va.map((Ir,ti)=>me.createElement(Nn.default.Item,{key:ti,onClick:()=>ha(Ir.id)},Ir.name)))},me.createElement("span",{className:aa.orderTextWrap},(Tr=Va.find(Ir=>Dn===Ir.id))==null?void 0:Tr.name)),me.createElement("span",{className:aa.orderIconWrap},me.createElement("span",{className:aa.orderAsc},me.createElement("i",{className:jn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${aa.cursorPointer} ${aa.active}`:`iconfont icon-sanjiaoxing-up font12 ${aa.cursorPointer}`,onClick:()=>dr(jn==="asc"?"desc":"asc")})),me.createElement("span",{className:aa.orderDesc},me.createElement("i",{className:jn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${aa.cursorPointer} ${aa.active}`:`iconfont icon-sanjiaoxing-down font12 ${aa.cursorPointer}`,onClick:()=>dr(jn==="asc"?"desc":"asc")}))))},mr={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const wr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var gr=({sortValue:jn,dropValue:Dn,className:_n,onSort:dr,onDrop:ha,dataSource:ya=wr})=>{var Tr;return me.createElement("div",{className:ae()(mr.orderWrap,_n)},me.createElement(on.Z,{dropdownRender:()=>me.createElement(Nn.default,null,ya.map((Ya,Va)=>me.createElement(Nn.default.Item,{key:Va,onClick:()=>ha(Ya.id)},Ya.name)))},me.createElement("span",{className:mr.orderTextWrap},(Tr=ya.find(Ya=>Dn===Ya.id))==null?void 0:Tr.name)),me.createElement("span",{className:mr.orderIconWrap},me.createElement("span",{className:mr.orderAsc},me.createElement("i",{className:jn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${mr.cursorPointer} ${mr.active}`:`iconfont icon-sanjiaoxing-up font12 ${mr.cursorPointer}`,onClick:()=>dr(jn==="asc"?"desc":"asc")})),me.createElement("span",{className:mr.orderDesc},me.createElement("i",{className:jn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${mr.cursorPointer} ${mr.active}`:`iconfont icon-sanjiaoxing-down font12 ${mr.cursorPointer}`,onClick:()=>dr(jn==="asc"?"desc":"asc")}))))},Ea={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"},Hn=pe(3113),qn=pe(4789),Mo=Object.defineProperty,Ja=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,Ur=(jn,Dn,_n)=>Dn in jn?Mo(jn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):jn[Dn]=_n,pa=(jn,Dn)=>{for(var _n in Dn||(Dn={}))Wa.call(Dn,_n)&&Ur(jn,_n,Dn[_n]);if(Ja)for(var _n of Ja(Dn))Ni.call(Dn,_n)&&Ur(jn,_n,Dn[_n]);return jn},Ba=(jn,Dn)=>{var _n={};for(var dr in jn)Wa.call(jn,dr)&&Dn.indexOf(dr)<0&&(_n[dr]=jn[dr]);if(jn!=null&&Ja)for(var dr of Ja(jn))Dn.indexOf(dr)<0&&Ni.call(jn,dr)&&(_n[dr]=jn[dr]);return _n},va=(jn,Dn,_n)=>new Promise((dr,ha)=>{var ya=Va=>{try{Ya(_n.next(Va))}catch(eo){ha(eo)}},Tr=Va=>{try{Ya(_n.throw(Va))}catch(eo){ha(eo)}},Ya=Va=>Va.done?dr(Va.value):Promise.resolve(Va.value).then(ya,Tr);Ya((_n=_n.apply(jn,Dn)).next())}),Do=jn=>{var Dn=jn,{className:_n,style:dr,children:ha,loading:ya=!1,openLoading:Tr,onClick:Ya=()=>{},size:Va="middle",shape:eo="round",theme:zi}=Dn,Ir=Ba(Dn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[ti,Di]=(0,me.useState)(!1),Ti=(0,me.useMemo)(()=>{switch(zi){case qn.Fy.THEMEONE:return Ea.ThemeOne;case qn.Fy.DEFAULT:default:return Ea.btn}},[zi]);return me.createElement(Hn.ZP,pa({onClick:(0,le.throttle)(wo=>va(void 0,null,function*(){Tr&&Di(!0);try{yield Ya(wo)}catch($r){console.log("error",$r)}Tr&&Di(!1)}),2e3,{leading:!0,trailing:!1}),className:ae()(Ti,Ea[`${Va}-${eo}`],_n),style:dr,size:Va,shape:eo,loading:ti||ya},Ir),ha)},Ia={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"},ii=({className:jn,style:Dn,children:_n=null,onClick:dr,title:ha})=>{const ya=(0,re.useIntl)();return me.createElement("div",{className:ae()(Ia.head,jn),style:Dn},me.createElement("span",{className:"primary-hover",onClick:dr},me.createElement("i",{className:"iconfont icon-fanhui2 font12"}),ya.formatMessage({id:"classroomGraphicGroupHomework.return",defaultMessage:"\u8FD4\u56DE"})),me.createElement("b",{title:ha},ha),me.createElement("div",{className:Ia.node},_n))},ki={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"},Qi=({confirmShow:jn=!0,confirmTitle:Dn,confirmClick:_n,cancelShow:dr=!0,cancelTitle:ha,cancelClick:ya,className:Tr,style:Ya,confirmLoading:Va=!1})=>me.createElement("div",{className:ae()(ki.btns,Tr),style:Ya},jn&&me.createElement(Hn.ZP,{loading:Va,onClick:_n,type:"primary",className:ki.confirm},Dn),dr&&me.createElement(Hn.ZP,{onClick:ya,className:ki.cancel},ha)),oa={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},cr=({className:jn,style:Dn={},LeftContent:_n,children:dr,RightContent:ha})=>me.createElement("div",{className:ae()(oa.fixedBottom,jn),style:Dn},me.createElement("div",{className:oa.wrap},me.createElement("div",{className:oa.left},_n),me.createElement("div",{className:oa.center},dr),me.createElement("div",{className:oa.right},ha))),ma={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"},Da=({className:jn,style:Dn={},dataSource:_n=[]})=>me.createElement("div",{className:ae()(ma.crumbs,jn),style:Dn},_n.map((dr,ha)=>ha<_n.length-1?me.createElement(me.Fragment,{key:ha},dr.path||dr.onClick?me.createElement("span",{className:ma.hover,onClick:dr!=null&&dr.onClick?dr.onClick:()=>re.history.push(dr.path)},dr.name):me.createElement("span",null,dr.name),me.createElement("span",null,"\xA0",">","\xA0")):me.createElement("span",{key:ha,style:{color:"#5F6368"}},dr.name))),fo=pe(31797),Yo=Object.defineProperty,lo=Object.defineProperties,Wo=Object.getOwnPropertyDescriptors,Fi=Object.getOwnPropertySymbols,Ko=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,ei=(jn,Dn,_n)=>Dn in jn?Yo(jn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):jn[Dn]=_n,bi=(jn,Dn)=>{for(var _n in Dn||(Dn={}))Ko.call(Dn,_n)&&ei(jn,_n,Dn[_n]);if(Fi)for(var _n of Fi(Dn))Fo.call(Dn,_n)&&ei(jn,_n,Dn[_n]);return jn},wi=(jn,Dn)=>lo(jn,Wo(Dn)),ws=(jn,Dn)=>{var _n={};for(var dr in jn)Ko.call(jn,dr)&&Dn.indexOf(dr)<0&&(_n[dr]=jn[dr]);if(jn!=null&&Fi)for(var dr of Fi(jn))Dn.indexOf(dr)<0&&Fo.call(jn,dr)&&(_n[dr]=jn[dr]);return _n};const{Countdown:$i}=fo.default;var ms=jn=>{var Dn=jn,{onChange:_n}=Dn,dr=ws(Dn,["onChange"]);const[ha,ya]=(0,me.useState)(null);(0,me.useEffect)(()=>{typeof ha=="number"&&ha>=0&&_n(ha)},[ha]);const Tr=Ya=>{const Va=Math.floor(Ya/1e3);ya(Va)};return me.createElement($i,wi(bi({},dr),{onChange:Tr}))},gi={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},ar=({DataProps:jn,className:Dn,style:_n={}})=>{var dr;const ha=(0,re.useIntl)();return me.createElement("div",{className:ae()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",gi.ClassRoomItem,Dn),style:_n,onClick:()=>{(0,rt.xg)(jn==null?void 0:jn.first_category_url)}},me.createElement("div",{className:"flex flex-col item-center"},me.createElement("img",{src:`${(dr=ot.Z)==null?void 0:dr.IMG_SERVER}/images/${jn==null?void 0:jn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(jn==null?void 0:jn.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}},!!(jn!=null&&jn.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"}},ha.formatMessage({id:"testPaperBank.public",defaultMessage:"\u516C\u5F00"})),me.createElement("span",{className:ae()("text-16px font-medium",gi.TitleDom)},jn==null?void 0:jn.name)),me.createElement("div",{className:"c-grey-333 font-medium"},jn==null?void 0:jn.creator),me.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",jn==null?void 0:jn.course_members_count),me.createElement("div",{className:"c-grey-333 flex item-center justify-between"},me.createElement("div",null,"\u4F5C\u4E1A\uFF1A",jn==null?void 0:jn.tasks_count),jn!=null&&jn.is_end?me.createElement("div",{style:{color:"#5F6A95"}},ha.formatMessage({id:"personalHomepageclassroomClassroomExperiments.notEvaluated",defaultMessage:"\u5DF2\u7ED3\u675F"})):me.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Rr=Object.defineProperty,uo=Object.getOwnPropertySymbols,Oo=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,Nr=(jn,Dn,_n)=>Dn in jn?Rr(jn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):jn[Dn]=_n,pr=(jn,Dn)=>{for(var _n in Dn||(Dn={}))Oo.call(Dn,_n)&&Nr(jn,_n,Dn[_n]);if(uo)for(var _n of uo(Dn))ho.call(Dn,_n)&&Nr(jn,_n,Dn[_n]);return jn},Br=({DataProps:jn=[],selectValue:Dn,onChange:_n,className:dr,style:ha={},extra:ya,classNameItem:Tr,styleItem:Ya={},barHidden:Va})=>{const[eo,zi]=(0,me.useState)();return(0,me.useEffect)(()=>{zi(Array.isArray(Dn)?Dn:[Dn])},[Dn]),me.createElement("div",{className:ae()("flex px-20px py-10px gap-40px",dr),style:pr({borderBottom:"1px solid #D3F0FF"},ha)},jn==null?void 0:jn.map(Ir=>me.createElement("div",{key:Ir==null?void 0:Ir.id,className:ae()("flex item-center justify-center current c-grey-333 text-16 relative",Tr,Ir==null?void 0:Ir.className),style:pr(pr({color:eo!=null&&eo.includes(Ir==null?void 0:Ir.id)?"#1890FF":"",minWidth:88},Ya),(Ir==null?void 0:Ir.style)||{}),onClick:ti=>{_n==null||_n({domEvent:ti,item:Ir}),Ir!=null&&Ir.link&&re.history.push(Ir==null?void 0:Ir.link)}},Ir==null?void 0:Ir.name,!Va&&(eo==null?void 0:eo.includes(Ir==null?void 0:Ir.id))&&me.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),me.createElement("div",{className:"ml-auto"},ya))},Ta=Object.defineProperty,Qr=Object.defineProperties,bo=Object.getOwnPropertyDescriptors,oo=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,Xo=(jn,Dn,_n)=>Dn in jn?Ta(jn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:_n}):jn[Dn]=_n,no=(jn,Dn)=>{for(var _n in Dn||(Dn={}))To.call(Dn,_n)&&Xo(jn,_n,Dn[_n]);if(oo)for(var _n of oo(Dn))No.call(Dn,_n)&&Xo(jn,_n,Dn[_n]);return jn},ci=(jn,Dn)=>Qr(jn,bo(Dn)),xa=({value:jn,onChange:Dn,onInputChange:_n,className:dr,style:ha={},InputProps:ya})=>{const[Tr,Ya]=(0,me.useState)(jn);return me.createElement("div",{className:ae()("flex item-center rounded-full px-10px py-2px",dr),style:no({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ha)},me.createElement(Be.default,ci(no({bordered:!1},ya),{onChange:Va=>{Ya(Va.target.value),_n==null||_n(encodeURIComponent(Va.target.value))},onPressEnter:Va=>{Dn==null||Dn({domEvent:Va,item:{value:Tr}})}})),me.createElement("img",{className:"h-22px current",src:pe(25365),height:22,onClick:Va=>{Dn==null||Dn({domEvent:Va,item:{value:Tr}})}}))}},87184:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return Qe}});var me=pe(59301);function Qe(E,we){const fe=(0,me.useRef)();(0,me.useEffect)(()=>{fe.current=E}),(0,me.useEffect)(()=>{function ue(){fe.current()}if(we!==null){let oe=setInterval(ue,we);return()=>clearInterval(oe)}},[we])}},57264:function(Jt,Mt,pe){"use strict";var me=pe(59301),Qe=pe(31797),E=pe(5871),we=pe(78241),fe=pe(43418),ue=pe(71418),oe=pe(1710),ae=pe(92832),le=pe(95237),re=pe(43604),se=pe(3113),ie=pe(14135),ne=pe(66649),z=pe.n(ne),y=pe(58024),a=pe(99770),x=pe(47936),b=pe(58938),ee=pe(66602),te=pe(59301),de=(be,Ce,Se)=>new Promise((Pe,Be)=>{var Ue=Oe=>{try{He(Se.next(Oe))}catch(ke){Be(ke)}},Ee=Oe=>{try{He(Se.throw(Oe))}catch(ke){Be(ke)}},He=Oe=>Oe.done?Pe(Oe.value):Promise.resolve(Oe.value).then(Ue,Ee);He((Se=Se.apply(be,Ce)).next())});const{Countdown:ge}=Qe.default,ve=({value:be,onChange:Ce,MaxMinutes:Se})=>{const Pe=(0,y.useIntl)();return te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:be,onChange:Ce,min:0,precision:0,max:Se,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Se} ${Pe.formatMessage({id:"classrooms.minute",defaultMessage:"\u5206\u949F"})}\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:Pe.formatMessage({id:"classrooms.minute",defaultMessage:"\u5206\u949F"})}))},ye=({exercise:be,successCb:Ce,dispatch:Se})=>{var Pe,Be,Ue,Ee;const He=(0,y.useIntl)(),Oe=(0,y.useParams)(),[ke]=we.default.useForm(),Xe=we.default.useWatch("time",ke),[$e,ze]=(0,me.useState)(!1),at=(0,me.useRef)(),{actionTabs:et}=be,[it,At]=(0,me.useState)(),[,ot,rt,lt]=(0,ee.U)(ie.n7,{id:Oe.categoryId}),[,gt,yt]=(0,ee.U)(ie.Cd,{});(0,me.useEffect)(()=>{be.actionTabs.key==="student-unlock"&&(ze(!1),ke.resetFields())},[be.actionTabs.key]);const Tt=()=>new Promise(De=>de(void 0,null,function*(){var Te,Ne;return at.current=yield(0,x.y)({ip_limit:(Te=et==null?void 0:et.exerciseParams)==null?void 0:Te.ip_limit,ip_bind:(Ne=et==null?void 0:et.exerciseParams)==null?void 0:Ne.ip_bind_type}),De()})),vt=()=>de(void 0,null,function*(){var De,Te,Ne,Le,Ge;yield ke.validateFields();const dt=ke.getFieldsValue();if(ze(!0),(((De=et==null?void 0:et.exerciseParams)==null?void 0:De.ip_limit)!=="no"||(Te=et==null?void 0:et.exerciseParams)!=null&&Te.ip_bind_type)&&(yield Tt()),(yield(0,ie.ZD)((Ne=et==null?void 0:et.exerciseParams)==null?void 0:Ne.id,{exercise_user_id:(Le=et==null?void 0:et.exerciseParams)==null?void 0:Le.exercise_user_id,unlock_key:dt.unlock_key,time:dt.time,ip:at.current})).status===0){if(Ce){Se({type:"exercise/setActionTabs",payload:{}}),Ce();return}const st=et==null?void 0:et.exerciseParams;(0,a.nr)({inner_ip:st.inner_ip,public_ip:st.public_ip,open_camera:st.open_camera,ip_limit:st.ip_limit,ip_bind:st.ip_bind,ip_bind_type:st.ip_bind_type,exercise_tips:st.exercise_tips,exerciseId:st.id,screen_open:st.screen_open,screen_num:st.screen_num,screen_sec:st.screen_sec,coursesId:Oe.coursesId,login:(Ge=(0,b.eY)())==null?void 0:Ge.login,history,identity_verify:st.identity_verify,open_phone_video_recording:st.open_phone_video_recording,current_status:st.current_status}),Se({type:"exercise/setActionTabs",payload:{}})}ze(!1)}),ut=[{title:He.formatMessage({id:"classrooms.ipAddress",defaultMessage:"IP\u5730\u5740"}),dataIndex:"ip",key:"ip",render:De=>te.createElement("span",{className:De.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},De)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:De=>te.createElement("span",{className:De.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},De)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],qe=((Pe=et==null?void 0:et.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Be=et==null?void 0:et.exerciseParams)==null?void 0:Be.errorMessage)=="object";(0,me.useEffect)(()=>{be.actionTabs.key==="student-unlock"&&de(void 0,null,function*(){const De=yield yt(Oe);yield rt({}),De.status||At(De)})},[be.actionTabs.key]);const{time:je,end_time:Ve}=(it==null?void 0:it.exercise)||{},Ie=lt!=null&<.user_end_time?z()(lt==null?void 0:lt.user_end_time).add(1,"minutes"):z()(),_e=z()(lt==null?void 0:lt.user_total_end_time)>Ie?Math.round(z().duration(z()(lt==null?void 0:lt.user_total_end_time).diff(Ie.startOf("minute"))).asMinutes()):0,Fe=((lt==null?void 0:lt.student_left_minutes)||0)+(Xe||0);return te.createElement(te.Fragment,null,te.createElement(fe.default,{width:514,centered:!0,closable:!!((Ue=et==null?void 0:et.exerciseParams)!=null&&Ue.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:He.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:be.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{Se({type:"exercise/setActionTabs",payload:{}})}},te.createElement(ue.Z,{spinning:ot||gt},qe&&te.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!qe&&te.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),qe&&te.createElement(oe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ee=et==null?void 0:et.exerciseParams)==null?void 0:Ee.errorMessage)||{}],columns:ut}),te.createElement("div",{className:""},te.createElement(we.default,{form:ke,layout:"vertical",autoComplete:"off"},te.createElement(we.default.Item,{label:He.formatMessage({id:"classroomExams.examUnlockCode",defaultMessage:"\u8003\u8BD5\u89E3\u9501\u7801"}),name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},te.createElement(ae.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),je!==-1?te.createElement(te.Fragment,null,te.createElement(we.default.Item,{name:"time",label:te.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",te.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",z()(lt==null?void 0:lt.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(ve,{MaxMinutes:_e})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},ot||gt?"--":Fe),He.formatMessage({id:"classrooms.minute",defaultMessage:"\u5206\u949F"}),Fe!==0&&(lt==null?void 0:lt.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},z()(lt==null?void 0:lt.user_end_time).add(Xe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):te.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",z()(Ve).format("YYYY-MM-DD HH:mm")))),te.createElement(le.Z,{justify:"space-between",align:"middle"},te.createElement(re.Z,null),te.createElement(re.Z,null,te.createElement(se.ZP,{loading:$e,onClick:vt},"\u8FDB\u5165\u8003\u8BD5"))))))};Mt.Z=(0,y.connect)(({exercise:be})=>({exercise:be}))(ye)},73506:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return Xe}});var me=pe(59301),Qe=pe(5112),E=pe(3113),we=pe(8591),fe=pe(43418),ue=pe(5871),oe=pe(95237),ae=pe(43604),le=pe(28103),re=pe(87498),se={flex_box_center:"flex_box_center___eijRq",flex_space_between:"flex_space_between___R4Vev",flex_box_vertical_center:"flex_box_vertical_center___j8R6g",flex_box_center_end:"flex_box_center_end___eB0cz",flex_box_column:"flex_box_column___b9VdU",md:"md___tcpb2",title:"title___dVHM9"},ie=pe(58938),ne=pe(24334),z=pe(59729),y=pe(58024),a=pe(72481),x=pe(41488),b=pe(87169),ee=pe(26227),te=pe(59301),de=Object.defineProperty,ge=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Se=($e,ze,at)=>ze in $e?de($e,ze,{enumerable:!0,configurable:!0,writable:!0,value:at}):$e[ze]=at,Pe=($e,ze)=>{for(var at in ze||(ze={}))be.call(ze,at)&&Se($e,at,ze[at]);if(ye)for(var at of ye(ze))Ce.call(ze,at)&&Se($e,at,ze[at]);return $e},Be=($e,ze)=>ge($e,ve(ze)),Ue=($e,ze,at)=>new Promise((et,it)=>{var At=lt=>{try{rt(at.next(lt))}catch(gt){it(gt)}},ot=lt=>{try{rt(at.throw(lt))}catch(gt){it(gt)}},rt=lt=>lt.done?et(lt.value):Promise.resolve(lt.value).then(At,ot);rt((at=at.apply($e,ze)).next())});const Ee={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var He=($e=>($e[$e.SET_PATH=0]="SET_PATH",$e[$e.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",$e))(He||{});function Oe($e,ze){switch(ze.type){case 0:return Be(Pe({},$e),{selectedPath:ze.payload});case 1:return Be(Pe({},$e),{passedContent:ze.payload});default:throw new Error}}var Xe=({language:$e,dispatch:ze,shixunWorkReport:at,v:et,languages:it,classroomList:At,autoHeight:ot,diff_code_count:rt,data:lt})=>{const[gt,yt]=(0,me.useState)(it==null?void 0:it[0]),Tt=(0,y.useParams)(),vt=(0,y.useIntl)();return(0,me.useEffect)(()=>{yt(it==null?void 0:it[0])},[]),(0,me.useEffect)(()=>{var ut;yt((ut=it==null?void 0:it.filter(qe=>qe.language===(gt==null?void 0:gt.language)))==null?void 0:ut[0])},[it]),te.createElement(te.Fragment,null,te.createElement("h2",null," ",te.createElement("span",null,et.is_finish?te.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",te.createElement("span",{className:"ml5 font12 c-grey-999"},"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801")):te.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",te.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5")),(it==null?void 0:it.length)>1&&te.createElement(Qe.ZP.Group,{defaultValue:$e,style:{marginLeft:10},onChange:ut=>{var qe;et.language=ut.target.value,yt((qe=it==null?void 0:it.filter(je=>je.language===ut.target.value))==null?void 0:qe[0])}},it==null?void 0:it.map(ut=>te.createElement(Qe.ZP,{value:ut==null?void 0:ut.language},ut==null?void 0:ut.language)))),(0,ie.GJ)()&&at!="shixunWorkReport"&&te.createElement("span",null,te.createElement("span",null,vt.formatMessage({id:"classroomProgrammingHomework.score",defaultMessage:"\u5F97\u5206"})," ",gt==null?void 0:gt.score,"/",gt==null?void 0:gt.total_score),te.createElement(E.ZP,{style:{margin:"0px 10px"},onClick:()=>{var ut,qe;if(!((qe=(ut=At.AssistantObject)==null?void 0:ut.hack)!=null&&qe.can_appraise)&&(0,ie.Rm)()){we.ZP.warning(vt.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}let je=gt==null?void 0:gt.score;fe.default.confirm({title:vt.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),content:te.createElement("div",null,te.createElement("p",null,vt.formatMessage({id:"classroomProgrammingHomework.score",defaultMessage:"\u5F97\u5206"}),"\uFF1A",gt==null?void 0:gt.score,"/",gt==null?void 0:gt.total_score),te.createElement("p",null,vt.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),"\uFF1A",te.createElement(ue.Z,{min:0,max:gt==null?void 0:gt.total_score,defaultValue:gt==null?void 0:gt.score,onChange:Ve=>{je=Ve}}))),okText:vt.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),onOk:()=>Ue(void 0,null,function*(){(yield(0,z.ZP)(`/api/courses/${Tt==null?void 0:Tt.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:Tt==null?void 0:Tt.coursesId,hack_user_code_id:gt==null?void 0:gt.hack_user_id,score:je}})).status===0&&(we.ZP.success("\u8C03\u5206\u6210\u529F"),ze({type:"shixunHomeworks/setActionTabs",payload:{}}),ze({type:"shixunHomeworks/getShixunWorkReports",payload:Pe({},Tt)}))}),cancelText:vt.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"})})},type:"primary"},vt.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"})),(0,ie.GJ)()&&at!="shixunWorkReport"&&te.createElement(E.ZP,{onClick:()=>{var ut;if(!((ut=At.AssistantObject.hack)!=null&&ut.can_appraise)&&(0,ie.Rm)()){we.ZP.warning(vt.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}ze({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:at.user_id,type:"1",language:gt==null?void 0:gt.language,v:et,data:Pe({},at)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),te.createElement(re.ZP,{height:300,language:gt==null?void 0:gt.language,value:gt!=null&>.code?ne.Base64.decode(gt==null?void 0:gt.code):"",autoHeight:ot,theme:"default",options:Ee}),((gt==null?void 0:gt.comment)||(gt==null?void 0:gt.hidden_comment))&&te.createElement("div",null,te.createElement(oe.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},te.createElement(ae.Z,{flex:1},te.createElement("h1",{className:se.title},"\u70B9\u8BC4\u5185\u5BB9")),te.createElement(ae.Z,{className:"pr30"},(0,ie.GJ)()&&te.createElement(E.ZP,{onClick:()=>Ue(void 0,null,function*(){fe.default.confirm({centered:!0,okText:vt.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:vt.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:vt.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),icon:te.createElement(b.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Ue(this,null,function*(){(yield(0,x.gZ)({comment_id:gt==null?void 0:gt.comment_id,homeworkId:Tt.homeworkId,type:"hack"})).status===0&&(we.ZP.success(vt.formatMessage({id:"classrooms.deleteSuccess",defaultMessage:"\u5220\u9664\u6210\u529F"})),ze({type:"shixunHomeworks/getShixunWorkReports",payload:Pe({},Tt)}))})}})})},te.createElement(ee.Z,null),vt.formatMessage({id:"classrooms.delete",defaultMessage:"\u5220\u9664"})))),te.createElement(le.Z,{style:{margin:0}}),(gt==null?void 0:gt.comment)&&te.createElement("aside",{className:"pl30 pr30 mt20"},te.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),te.createElement("br",null),te.createElement(a.Z,{value:gt==null?void 0:gt.comment})),(gt==null?void 0:gt.hidden_comment)&&te.createElement("aside",{className:"pl30 pr30 mt20"},te.createElement("span",{className:"c-light-black font12"},"# ",vt.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"})),te.createElement("br",null),te.createElement(a.Z,{value:gt==null?void 0:gt.hidden_comment}))))}},31364:function(Jt,Mt,pe){"use strict";pe.r(Mt),pe.d(Mt,{default:function(){return Et}});var me=pe(59301),Qe=pe(86129),E=pe.n(Qe),we=pe(58024),fe=pe(43418),ue=pe(61621),oe=pe(66104),ae=pe(95237),le=pe(43604),re=pe(3113),se=pe(8591),ie=pe(28103),ne=pe(1710),z=pe(27812),y=pe(95869),a=pe(87169),x=pe(26227),b=pe(29701),ee=pe(58938),te=pe(99770),de={flex_box_center:"flex_box_center___lb6Eo",flex_space_between:"flex_space_between___J8ZnK",flex_box_vertical_center:"flex_box_vertical_center___zweTs",flex_box_center_end:"flex_box_center_end___CvkW9",flex_box_column:"flex_box_column___ODy_E",title:"title___AD3SJ",export:"export___XBLMD",title1_right:"title1_right___raWIo",userPic:"userPic___OK1Fq",userInfo:"userInfo___wKpvE",listItem:"listItem___VH7Ls",rightInfo:"rightInfo___lI2xY",shixunTitle:"shixunTitle___lvDL9",shixunWrp:"shixunWrp___QXKnz",footerBar:"footerBar___zgEXb",footerBarStatic:"footerBarStatic___SB7gT",exitComment:"exitComment___oC_uA",nextComment:"nextComment___fCJ3l",modal:"modal___v_Shp"},ge=pe(73506),ve=pe(59729),ye=pe(24334),be=pe(66649),Ce=pe.n(be),Se=pe(87498),Pe=pe(39284);const Be=({shixunHomeworks:Bt,autoHeight:wt,classroomList:Lt,user:Ft,dispatch:Nt})=>{const bt=(0,we.useIntl)(),{shixunWorkReport:Dt}=Bt,{stage_list:Rt,work_id:Ut}=Dt,qt=(0,we.useParams)(),mn=(0,ee.GJ)(),[$t,rn]=(0,me.useState)(),nn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1},xn=ir=>ir==="c++"?1:ir==="C++"?2:ir;function In(ir,yr){return(0,ve.U2)(`student_works/${Ut}/rep_passed_content.json`,{path:yr,game_id:ir})}const Un=(0,te.qZ)(5,Dt.hack);return me.createElement(me.Fragment,null,Un==null?void 0:Un.map(function(ir,yr){return me.createElement("div",{key:yr},ir.map(function(En,Dr){var ta,Fr,Vr;return me.createElement("aside",{className:"pl30 pr30",key:Dr},me.createElement("div",{className:`${de.shixunTitle} mt10`},me.createElement("div",{style:{display:"flex",width:"100%"}},me.createElement("span",{className:"fa fa-code "}),me.createElement("strong",{style:{flex:1},className:"c-black"},bt.formatMessage({id:"classrooms.times",defaultMessage:"\u7B2C"}),yr*5+Dr+1,"\u9898 ",En.name),En.is_finish&&me.createElement("a",{style:{marginLeft:20},onClick:Mr=>{Mr.preventDefault(),window.open(`${En==null?void 0:En.url}&language=${xn(En.language)}`),localStorage.setItem("program_homework",[qt.coursesId,qt.categoryId])}},bt.formatMessage({id:"classroomProgrammingHomework.viewAnswerDetails",defaultMessage:"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5"}),">>"),!En.is_finish&&En.final_submit_languages.length>0&&me.createElement("a",{style:{marginLeft:20},onClick:Mr=>{Mr.preventDefault(),window.open(`${En==null?void 0:En.url}&language=${xn(En.final_submit_languages[0].language)}`),localStorage.setItem("program_homework",[qt.coursesId,qt.categoryId])}},bt.formatMessage({id:"classroomProgrammingHomework.viewAnswerDetails",defaultMessage:"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5"}),">>"))),me.createElement("div",{className:"font16 mt10"},En.is_finish?me.createElement("aside",{className:de.shixunWrp},me.createElement(ge.Z,{classroomList:Lt,user:Ft,v:En,shixunWorkReport:Dt,dispatch:Nt,autoHeight:wt,languages:En.languages,language:En.language,game_id:En.id,data:ye.Base64.decode(En.code),diff_code_count:En.diff_code_count,onPathChange:In})):En.final_submit_languages.length>0&&me.createElement("aside",{className:de.shixunWrp},me.createElement(ge.Z,{classroomList:Lt,user:Ft,v:En,shixunWorkReport:Dt,dispatch:Nt,autoHeight:wt,languages:En.final_submit_languages,language:En.final_submit_languages[0].language,game_id:En.id,data:ye.Base64.decode(En.final_submit_languages[0].code),diff_code_count:En.diff_code_count,onPathChange:In}))),me.createElement("aside",{className:"mt10 font16"},(ta=En.history)!=null&&ta.length?me.createElement(ne.default,{columns:[{title:bt.formatMessage({id:"classroomProgrammingHomework.evaluationSerialNumber",defaultMessage:"\u8BC4\u6D4B\u5E8F\u53F7"}),dataIndex:"query_index",width:120},{title:bt.formatMessage({id:"classroomClassroomExperiments.evaluationTime",defaultMessage:"\u8BC4\u6D4B\u65F6\u95F4"}),dataIndex:"created_at",key:"created_at",align:"center",width:200,render:(Mr,Er)=>me.createElement("span",null,Er!=null&&Er.created_at?Ce()(Er==null?void 0:Er.created_at).format("YYYY-MM-DD HH:mm"):"--")},{title:bt.formatMessage({id:"classroomProgrammingHomework.evaluationResult",defaultMessage:"\u8BC4\u6D4B\u7ED3\u679C"}),dataIndex:"status",key:"status",align:"center",render:(Mr,Er)=>{var Oa;return me.createElement("span",{className:Mr===0?"c-green":"c-red"},((Oa=Pe.Im[Mr])==null?void 0:Oa.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))||"--")}},((Vr=(Fr=En==null?void 0:En.history)==null?void 0:Fr[0])==null?void 0:Vr.show_code)&&{title:bt.formatMessage({id:"classrooms.action",defaultMessage:"\u64CD\u4F5C"}),align:"center",dataIndex:"code",key:"code",width:100,render:(Mr,Er)=>me.createElement("span",{style:{cursor:"pointer",color:"#3061d0"},onClick:()=>{fe.default.confirm({centered:!0,icon:null,width:700,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},title:"\u4EE3\u7801\u5185\u5BB9",content:me.createElement("div",{className:"mb10"},me.createElement(Se.ZP,{height:300,language:"python",theme:"vs-light",value:Er!=null&&Er.code?ye.Base64.decode(Er==null?void 0:Er.code):"",autoHeight:wt,options:nn}))})}},bt.formatMessage({id:"classroomClassroomExperiments.viewCode",defaultMessage:"\u67E5\u770B\u4EE3\u7801"}))}].filter(Mr=>!!Mr),pagination:{hideOnSinglePage:!0},dataSource:En.history}):bt.formatMessage({id:"classroomClassroomExperiments.noEvaluationRecordsThisLevel",defaultMessage:"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"})))}))}))};var Ue=(0,we.connect)(({shixunHomeworks:Bt,loading:wt,globalSetting:Lt,classroomList:Ft,user:Nt})=>({shixunHomeworks:Bt,globalSetting:Lt,loading:wt.effects,classroomList:Ft,user:Nt}))(Be),Ee=pe(78241),He=pe(92832),Oe=pe(85776),ke=pe(59301),Xe=Object.defineProperty,$e=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,et=(Bt,wt,Lt)=>wt in Bt?Xe(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Bt[wt]=Lt,it=(Bt,wt)=>{for(var Lt in wt||(wt={}))ze.call(wt,Lt)&&et(Bt,Lt,wt[Lt]);if($e)for(var Lt of $e(wt))at.call(wt,Lt)&&et(Bt,Lt,wt[Lt]);return Bt},At=(Bt,wt)=>{var Lt={};for(var Ft in Bt)ze.call(Bt,Ft)&&wt.indexOf(Ft)<0&&(Lt[Ft]=Bt[Ft]);if(Bt!=null&&$e)for(var Ft of $e(Bt))wt.indexOf(Ft)<0&&at.call(Bt,Ft)&&(Lt[Ft]=Bt[Ft]);return Lt},ot=(Bt,wt,Lt)=>new Promise((Ft,Nt)=>{var bt=Ut=>{try{Rt(Lt.next(Ut))}catch(qt){Nt(qt)}},Dt=Ut=>{try{Rt(Lt.throw(Ut))}catch(qt){Nt(qt)}},Rt=Ut=>Ut.done?Ft(Ut.value):Promise.resolve(Ut.value).then(bt,Dt);Rt((Lt=Lt.apply(Bt,wt)).next())});const rt=Bt=>{var wt=Bt,{shixunHomeworks:Lt,dispatch:Ft}=wt,Nt=At(wt,["shixunHomeworks","dispatch"]),bt,Dt,Rt;const Ut=(0,we.useIntl)(),qt=(0,we.useParams)(),[mn,$t]=(0,me.useState)(!1),[rn]=Ee.default.useForm(),[nn,xn]=fe.default.useModal(),[In,Un]=(0,me.useState)(!1),[ir,yr]=(0,me.useState)(!1);(0,me.useEffect)(()=>{var Dr,ta,Fr,Vr,Mr,Er;Lt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&(Lt.actionTabs.selectArrs.type==="1"?rn.setFieldsValue({comment:Lt.actionTabs.selectArrs.v.comment,hidden_comment:Lt.actionTabs.selectArrs.v.hidden_comment}):rn.setFieldsValue({comment:(Fr=(ta=(Dr=Lt.actionTabs.selectArrs)==null?void 0:Dr.data)==null?void 0:ta.data)==null?void 0:Fr.work_comment,hidden_comment:(Er=(Mr=(Vr=Lt.actionTabs.selectArrs)==null?void 0:Vr.data)==null?void 0:Mr.data)==null?void 0:Er.work_comment_hidden}))},[Lt.actionTabs.key]);const En=()=>ot(void 0,null,function*(){var Dr,ta,Fr,Vr;const Mr=rn.getFieldValue();let Er=Lt.actionTabs.selectArrs.type==="1"?`/api/problems/${Lt.actionTabs.selectArrs.v.identifier}/hack_comment.json`:`/api/student_works/${qt.homeworkId}/shixun_work_comment.json`;(yield(0,ve.ZP)(Er,{method:"post",body:{hidden_comment:Mr.hidden_comment,comment:Mr.comment,language:(Dr=Lt.actionTabs.selectArrs)==null?void 0:Dr.language,user_id:(Vr=(Fr=(ta=Lt.actionTabs.selectArrs)==null?void 0:ta.data)==null?void 0:Fr.data)==null?void 0:Vr.user_id}})).status===0&&(se.ZP.success("\u8BC4\u9605\u6210\u529F"),rn.resetFields(),Ft({type:"shixunHomeworks/setActionTabs",payload:{}}),Ft({type:"shixunHomeworks/getShixunWorkReports",payload:it({},qt)}))});return ke.createElement(ke.Fragment,null,xn,ke.createElement(fe.default,{centered:!0,title:ke.createElement("span",null,((bt=Lt.actionTabs.selectArrs)==null?void 0:bt.type)==="1"?"\u70B9\u8BC4\u4EE3\u7801":"\u66F4\u6539\u70B9\u8BC4",((Dt=Lt.actionTabs.selectArrs)==null?void 0:Dt.language)&&ke.createElement("span",{style:{marginLeft:10,fontSize:14}},Ut.formatMessage({id:"classroomProgrammingHomework.languageUsed",defaultMessage:"\u4F7F\u7528\u8BED\u8A00"}),"\uFF1A",(Rt=Lt.actionTabs.selectArrs)==null?void 0:Rt.language)),open:Lt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:Ut.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Ut.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>ot(void 0,null,function*(){const Dr=rn.getFieldValue();JSON.stringify(Dr)==="{}"||Dr.hidden_comment===""&&Dr.comment===""?$t(!0):En()}),onCancel:()=>{Ft({type:"shixunHomeworks/setActionTabs",payload:{}})}},ke.createElement(Ee.default,{form:rn,onChange:()=>{mn&&$t(!1)}},ke.createElement(ae.Z,{wrap:!1,align:"middle",justify:"space-between"},ke.createElement(le.Z,null,ke.createElement("div",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ke.createElement(le.Z,null,ke.createElement(Oe.Z,{isShowComponent:(0,ee.G5)(),ModalProps:{open:In,onCancel:()=>{Un(!1)}},onDataSelect:(Dr,ta)=>ot(void 0,[Dr,ta],function*(Fr,{node:Vr}){const Mr=()=>{rn.setFieldsValue({comment:Vr==null?void 0:Vr.value}),Un(!1)};if(rn.getFieldValue("comment")){nn.confirm({icon:null,title:Ut.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Mr});return}Mr()})},ke.createElement(re.ZP,{style:{padding:0,height:"auto"},icon:ke.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Dr=>{Un(!0)}},Ut.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}))))),ke.createElement(Ee.default.Item,{name:"comment"},ke.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),ke.createElement(ae.Z,{wrap:!1,align:"middle",justify:"space-between"},ke.createElement(le.Z,null,ke.createElement("div",null,Ut.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"}))),ke.createElement(le.Z,null,ke.createElement(Oe.Z,{isShowComponent:(0,ee.G5)(),ModalProps:{open:ir,onCancel:()=>{yr(!1)}},onDataSelect:(Dr,ta)=>ot(void 0,[Dr,ta],function*(Fr,{node:Vr}){const Mr=()=>{rn.setFieldsValue({hidden_comment:Vr==null?void 0:Vr.value}),yr(!1)};if(rn.getFieldValue("hidden_comment")){nn.confirm({icon:null,title:Ut.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Mr});return}Mr()})},ke.createElement(re.ZP,{style:{padding:0,height:"auto"},icon:ke.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Dr=>{yr(!0)}},Ut.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}))))),ke.createElement(Ee.default.Item,{name:"hidden_comment"},ke.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),mn&&ke.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var lt=(0,we.connect)(({shixunHomeworks:Bt})=>({shixunHomeworks:Bt}))(rt),gt=pe(80036),yt=pe(72481),Tt=pe(41488),vt=pe(44164),ut=pe.n(vt),qe=pe(38978),je=pe(59301),Ve=Object.defineProperty,Ie=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Ne=(Bt,wt,Lt)=>wt in Bt?Ve(Bt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Bt[wt]=Lt,Le=(Bt,wt)=>{for(var Lt in wt||(wt={}))De.call(wt,Lt)&&Ne(Bt,Lt,wt[Lt]);if(Fe)for(var Lt of Fe(wt))Te.call(wt,Lt)&&Ne(Bt,Lt,wt[Lt]);return Bt},Ge=(Bt,wt)=>Ie(Bt,_e(wt)),dt=(Bt,wt)=>{var Lt={};for(var Ft in Bt)De.call(Bt,Ft)&&wt.indexOf(Ft)<0&&(Lt[Ft]=Bt[Ft]);if(Bt!=null&&Fe)for(var Ft of Fe(Bt))wt.indexOf(Ft)<0&&Te.call(Bt,Ft)&&(Lt[Ft]=Bt[Ft]);return Lt},mt=(Bt,wt,Lt)=>new Promise((Ft,Nt)=>{var bt=Ut=>{try{Rt(Lt.next(Ut))}catch(qt){Nt(qt)}},Dt=Ut=>{try{Rt(Lt.throw(Ut))}catch(qt){Nt(qt)}},Rt=Ut=>Ut.done?Ft(Ut.value):Promise.resolve(Ut.value).then(bt,Dt);Rt((Lt=Lt.apply(Bt,wt)).next())});const st=Bt=>{var wt=Bt,{shixunHomeworks:Lt,globalSetting:Ft,loading:Nt,classroomList:bt,dispatch:Dt,user:Rt}=wt,Ut=dt(wt,["shixunHomeworks","globalSetting","loading","classroomList","dispatch","user"]),qt,mn,$t,rn,nn,xn,In,Un,ir,yr,En,Dr,ta,Fr,Vr,Mr,Er,Oa,to,na,Ao,Ga,sn,Pn,An,xr,Wr,sa,La,ua,fa,nr;const Bn=(0,we.useIntl)(),[er,Zn]=(0,me.useState)(Le({},(0,we.useParams)())),kr=(0,we.useParams)(),Ca=(0,we.useLocation)(),[]=(0,me.useState)([]),[ga,aa]=(0,me.useState)({last:!1}),[on,Nn]=(0,me.useState)({last:!1}),dn=(0,me.useRef)(),Yn=(0,me.useRef)(),[mr,wr]=(0,me.useState)(!1),[sr,gr]=(0,me.useState)(!1),[Ea,Hn]=(0,me.useState)(!1),{shixunWorkReport:qn}=Lt,[Mo,Ja]=(0,me.useState)(new(E())),[Wa,Ni]=(0,me.useState)([]),[Ur,pa]=(0,me.useState)(!1),[Ba,va]=(0,me.useState)(!1);(0,me.useEffect)(()=>(Dt({type:"globalSetting/footerToggle",payload:!1}),Dt({type:"classroomList/getAssistantPermissions",payload:{course_id:er.coursesId}}),()=>{Dt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,me.useEffect)(()=>{(0,ee.Rm)()&&Dt({type:"classroomList/getAssistantPermissions",payload:{course_id:er.coursesId}})},[(qt=Rt==null?void 0:Rt.userInfo)==null?void 0:qt.login]),(0,me.useEffect)(()=>{Lt.actionTabs.key==="\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"&&Wa.length>0&&!sr&&setTimeout(()=>{ii("all")},800)},[Wa,sr]),(0,me.useEffect)(()=>{Zn(Le({},kr))},[Ca.pathname]);const Uo=()=>{document.body.scrollIntoView()};function Do(){return mt(this,null,function*(){var mo,cr,ma,Ha;const Da=JSON.parse(sessionStorage.all_student_works_params||"{}"),fo=yield Dt({type:"shixunHomeworks/getAllStudentWorks",payload:Le(Le({},er),Da)});Ni(fo.all_student_works);const Yo=(mo=fo.all_student_works)==null?void 0:mo.map(lo=>String(lo.student_work_id)).indexOf(er.homeworkId);Yo===((cr=fo.all_student_works)==null?void 0:cr.length)-1?aa({last:!0}):aa((ma=fo.all_student_works)==null?void 0:ma[Yo+1]),Nn(Yo===0?{last:!0}:(Ha=fo.all_student_works)==null?void 0:Ha[Yo-1])})}const Ia=()=>{document.querySelectorAll("canvas").forEach(mo=>{(!mo.clientWidth||!mo.clientHeight)&&mo.remove()})},mi=()=>{dn.current.offsetHeight>62e3?Hn(!1):Hn(!0)},ii=mo=>mt(void 0,null,function*(){var cr,ma,Ha,Da;let fo=0,Yo;Yo=fe.default.info({width:460,title:je.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A,",je.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:je.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",je.createElement("span",{className:"c-blue"},fo+1),"/",mo!=="all"?1:Wa==null?void 0:Wa.length,je.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:de.modal,onOk:()=>{}});const lo={margin:[0,0],filename:`${(cr=qn==null?void 0:qn.data)==null?void 0:cr.user_name}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}};function Wo(){return mt(this,null,function*(){const Fi=yield Dt({type:"shixunHomeworks/getShixunWorkReports",payload:Ge(Le({},er),{homeworkId:Wa[fo].student_work_id,user_id:Wa[fo].user_id,id:er.categoryId})});Uo(),fo++,setTimeout(()=>mt(this,null,function*(){var Ko,Fo;Ia();const ei=Mo.folder(`${(Ko=Fi==null?void 0:Fi.data)==null?void 0:Ko.user_name}`),bi=document.querySelector("#export-all").children;let wi=ut()();for(let $i=0;$imt(this,null,function*(){$i{var ms;const gi=ws.folder(`\u7B2C${Ps+1}\u5173-${$i.name}-${$i.id}`);(ms=$i==null?void 0:$i.languages)==null||ms.map(bn=>{gi.file(`${bn.language}.txt`,ye.Base64.decode(bn==null?void 0:bn.code))})}),Yo.update({content:je.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",je.createElement("span",{className:"c-blue"},fo),"/",Wa==null?void 0:Wa.length,je.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),fo==(Wa==null?void 0:Wa.length)?(Yo.destroy(),ki()):Wo()}),2200)})}if(mo!=="all"||(Wa==null?void 0:Wa.length)<2){Ia(),Uo();const Fi=Yn.current.children;let Ko=ut()();const Fo=Mo.folder(`${(ma=qn==null?void 0:qn.data)==null?void 0:ma.user_name}`);for(let bi=0;bimt(void 0,null,function*(){bi{var ws;const $i=ei.folder(`\u7B2C${wi+1}\u5173-${bi.name}-${bi.id}`);(ws=bi==null?void 0:bi.languages)==null||ws.map(Ps=>{$i.file(`${Ps.language}.txt`,ye.Base64.decode(Ps==null?void 0:Ps.code))})}),Yo.destroy(),ki();return}else Wo()}),ki=()=>{Mo.generateAsync({type:"blob"}).then(function(mo){const cr=document.createElement("a");cr.href=window.URL.createObjectURL(mo),cr.download=qn.category.course_name+".zip",document.body.appendChild(cr);const ma=document.createEvent("MouseEvents");ma.initEvent("click",!1,!1),cr.dispatchEvent(ma),document.body.removeChild(cr),Ja(new(E()))}),Hn(!1)};(0,me.useEffect)(()=>{ts()},[er.homeworkId]);const ts=()=>mt(void 0,null,function*(){gr(!0),yield Dt({type:"shixunHomeworks/getShixunWorkReports",payload:Le({},er)}),gr(!1),(0,ee.GJ)()&&Do()}),Qi=[{title:Bn.formatMessage({id:"classrooms.questionNumber",defaultMessage:"\u9898\u53F7"}),dataIndex:"name",render:(mo,cr,ma)=>ma+1},{title:Bn.formatMessage({id:"classroomProgrammingHomework.questionName",defaultMessage:"\u9898\u76EE\u540D\u79F0"}),dataIndex:"name",ellipsis:!0,width:"30%"},{title:Bn.formatMessage({id:"classrooms.completionTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finish_time",width:"200px",render:(mo,cr,ma)=>{var Ha,Da;return je.createElement("div",null,je.createElement("p",null,mo||"- -"),(Da=(Ha=cr==null?void 0:cr.subitem)==null?void 0:Ha.map(fo=>fo.finish_time))==null?void 0:Da.map(fo=>je.createElement("p",null,fo||"- -")))}},{title:Bn.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"submit_count",render:(mo,cr,ma)=>{var Ha,Da;return je.createElement("div",null,je.createElement("p",null,mo||"- -"),(Da=(Ha=cr==null?void 0:cr.subitem)==null?void 0:Ha.map(fo=>fo.submit_count))==null?void 0:Da.map(fo=>je.createElement("p",null,fo||"- -")))}},{title:Bn.formatMessage({id:"classroomProgrammingHomework.runTime",defaultMessage:"\u8FD0\u884C\u65F6\u95F4"})+"\uFF08ms\uFF09",dataIndex:"run_time",render:(mo,cr,ma)=>{var Ha,Da;return je.createElement("div",null,je.createElement("p",null,mo||"- -"),(Da=(Ha=cr==null?void 0:cr.subitem)==null?void 0:Ha.map(fo=>fo.run_time))==null?void 0:Da.map(fo=>je.createElement("p",null,fo||"- -")))}},{title:Bn.formatMessage({id:"classroomProgrammingHomework.memoryKb",defaultMessage:"\u5185\u5B58 (kb)"}),dataIndex:"memory",render:(mo,cr,ma)=>{var Ha,Da;return je.createElement("div",null,je.createElement("p",null,mo||"- -"),(Da=(Ha=cr==null?void 0:cr.subitem)==null?void 0:Ha.map(fo=>fo.memory))==null?void 0:Da.map(fo=>je.createElement("p",null,fo||"- -")))}},{title:Bn.formatMessage({id:"classroomProgrammingHomework.languageUsed",defaultMessage:"\u4F7F\u7528\u8BED\u8A00"}),dataIndex:"language",render:(mo,cr,ma)=>{var Ha,Da;return je.createElement("div",null,je.createElement("p",null,mo||"- -"),(Da=(Ha=cr==null?void 0:cr.subitem)==null?void 0:Ha.map(fo=>fo.language))==null?void 0:Da.map(fo=>je.createElement("p",null,fo||"- -")))}},{title:Bn.formatMessage({id:"classroomProgrammingHomework.score",defaultMessage:"\u5F97\u5206"}),dataIndex:"score",render:(mo,cr,ma)=>je.createElement("div",null,je.createElement("p",null,mo||"- -"))},{title:Bn.formatMessage({id:"classroomProgrammingHomework.ranking",defaultMessage:"\u6392\u540D"}),dataIndex:"rank",render:(mo,cr,ma)=>{var Ha,Da;return je.createElement("div",null,je.createElement("p",null,mo||"- -"),(Da=(Ha=cr==null?void 0:cr.subitem)==null?void 0:Ha.map(fo=>fo.rank))==null?void 0:Da.map(fo=>je.createElement("p",null,fo||"- -")))}}],oa=mo=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{mo==="next"?we.history.push(`/classrooms/${er.coursesId}/program_homework/${er.categoryId}/${ga==null?void 0:ga.student_work_id}/${ga==null?void 0:ga.user_id}/comment`):we.history.push(`/classrooms/${er.coursesId}/program_homework/${er.categoryId}/${on==null?void 0:on.student_work_id}/${on==null?void 0:on.user_id}/comment`)},200)};return je.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},je.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},je.createElement(ue.Z,{loading:sr,active:!0,avatar:{size:40},paragraph:{rows:5}},je.createElement("div",{className:"edu-container"},((mn=qn==null?void 0:qn.category)==null?void 0:mn.course_id)&&je.createElement("section",{className:"animated fadeIn"},je.createElement("aside",{className:""},(qn==null?void 0:qn.category)&&je.createElement(oe.Z,{separator:">"},je.createElement(oe.Z.Item,null,je.createElement(we.Link,{to:`/classrooms/${($t=qn==null?void 0:qn.category)==null?void 0:$t.course_id}/program_homework`},(rn=qn==null?void 0:qn.category)==null?void 0:rn.course_name)),je.createElement(oe.Z.Item,null,je.createElement(we.Link,{to:`/classrooms/${(nn=qn==null?void 0:qn.category)==null?void 0:nn.course_id}/program_homework`},qn.category.category_name)),je.createElement(oe.Z.Item,null,je.createElement(we.Link,{to:`/classrooms/${(xn=qn==null?void 0:qn.category)==null?void 0:xn.course_id}/program_homework/${er==null?void 0:er.categoryId}/detail`},Bn.formatMessage({id:"classroomClassroomExperiments.homeworkDetails",defaultMessage:"\u4F5C\u4E1A\u8BE6\u60C5"}))),je.createElement(oe.Z.Item,null,(In=qn==null?void 0:qn.data)==null?void 0:In.user_name))),je.createElement("aside",{className:[de.title1,"mt20"].join(" ")},je.createElement(ae.Z,{align:"middle"},je.createElement(le.Z,{flex:1},je.createElement(we.Link,{to:`/classrooms/${er.coursesId}/program_homework/${er==null?void 0:er.categoryId}/detail`},je.createElement(z.Z,{className:"font16 c-black"})),je.createElement("strong",{className:"font20 ml5"},(Un=qn==null?void 0:qn.category)==null?void 0:Un.homework_name),je.createElement(te.VV,{temporary:!0,status:qn.homework_status})),je.createElement(le.Z,{className:de.title1_right},je.createElement(re.ZP,{className:"ml10",onClick:()=>{var mo;if((0,ee.Rm)()&&!((mo=bt.AssistantObject.hack)!=null&&mo.can_download)){se.ZP.warning(Bn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}ii("")},loading:mr},je.createElement("span",{className:"iconfont icon-daochu mr5"}),Bn.formatMessage({id:"classroomProgrammingHomework.exportProgrammingReport",defaultMessage:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"})),(0,ee.GJ)()&&(Wa==null?void 0:Wa.length)>1&&je.createElement(re.ZP,{className:"ml10",onClick:()=>{var mo;if((0,ee.Rm)()&&!((mo=bt.AssistantObject.hack)!=null&&mo.can_download)){se.ZP.warning(Bn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}ii("all")}},je.createElement("span",{className:"iconfont icon-daochu mr5"}),Bn.formatMessage({id:"classroomProgrammingHomework.exportAllStudentsProgrammingReports",defaultMessage:"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u7F16\u7A0B\u62A5\u544A"})))))),je.createElement("aside",{className:"mt30 relative"})),je.createElement("aside",{className:"edu-container bg-white",ref:dn},je.createElement("div",{id:"export-all",ref:Yn},je.createElement("div",{id:"export-all-1"},je.createElement("div",{className:de.title},je.createElement("h1",null,Bn.formatMessage({id:"classroomClassroomExperiments.overallEvaluation",defaultMessage:"\u603B\u4F53\u8BC4\u4EF7"})),je.createElement("div",null,(0,ee.GJ)()&&je.createElement(re.ZP,{className:"mr20",type:"primary",onClick:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:qn.user_id,data:Le({},qn)}}})}},je.createElement(y.Z,null),(ir=qn==null?void 0:qn.data)!=null&&ir.has_comment?"\u66F4\u6539\u70B9\u8BC4":Bn.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"})))),je.createElement(ie.Z,{style:{marginTop:0}}),je.createElement(ae.Z,{className:"pl30 pr30"},je.createElement(le.Z,null,je.createElement("img",{className:de.userPic,src:`${b.Z.IMG_SERVER}/images/${(yr=qn==null?void 0:qn.data)==null?void 0:yr.image_url}`,alt:(En=qn==null?void 0:qn.data)==null?void 0:En.username})),je.createElement(le.Z,null,je.createElement("span",{className:"font16 ml40"},(Dr=qn==null?void 0:qn.data)==null?void 0:Dr.user_name),je.createElement(te.UQ,{status:(ta=qn==null?void 0:qn.data)==null?void 0:ta.compelete_status}),je.createElement("ul",{className:de.userInfo},je.createElement("li",null,Bn.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}),"\uFF1A",((Fr=qn==null?void 0:qn.data)==null?void 0:Fr.student_id)||"--"),je.createElement("li",null,Bn.formatMessage({id:"classrooms.classDivision",defaultMessage:"\u5206\u73ED"}),"\uFF1A",((Vr=qn==null?void 0:qn.data)==null?void 0:Vr.course_group)||"--"),je.createElement("br",null),je.createElement("li",null,Bn.formatMessage({id:"classroomProgrammingHomework.questionsCompletedBeforeDeadline",defaultMessage:"\u622A\u6B62\u524D\u5B8C\u6210\u5237\u9898"}),"\uFF1A",je.createElement("span",{className:"c-red"},(Mr=qn==null?void 0:qn.data)==null?void 0:Mr.finish_do)),je.createElement("li",null,Bn.formatMessage({id:"classroomProgrammingHomework.latestCompletedQuestions",defaultMessage:"\u6700\u65B0\u5B8C\u6210\u5237\u9898"}),"\uFF1A",je.createElement("span",{className:"c-red"},((Er=qn==null?void 0:qn.data)==null?void 0:Er.latest_do)||"-")))),je.createElement("ul",{className:[de.listItem,"mt10"].join(" ")},je.createElement("li",null,je.createElement("strong",null,Bn.formatMessage({id:"classrooms.completionTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"})),je.createElement("div",{className:"c-light-black mt20"},(qn==null?void 0:qn.data)&&((Oa=qn==null?void 0:qn.data)==null?void 0:Oa.finish_time))),je.createElement("li",null,je.createElement("strong",null,Bn.formatMessage({id:"classroomProgrammingHomework.completionDuration",defaultMessage:"\u5B8C\u6210\u65F6\u957F"}),je.createElement("i",{onClick:mo=>{mo.stopPropagation(),mo.preventDefault(),va(!0)},style:{marginLeft:4,display:"none",color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),je.createElement("div",{className:"c-light-black mt20"},(to=qn==null?void 0:qn.data)==null?void 0:to.finish_time_long)),je.createElement("li",null,je.createElement("strong",null,Bn.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"})),je.createElement("div",{className:"mt20"},(na=qn==null?void 0:qn.data)==null?void 0:na.submit_count)),je.createElement("li",null,je.createElement("strong",null,Bn.formatMessage({id:"classroomClassroomExperiments.passRate",defaultMessage:"\u901A\u8FC7\u7387"})),je.createElement("div",{className:"mt20"},je.createElement("span",null,((Ao=qn==null?void 0:qn.data)==null?void 0:Ao.pass_rate)||"- -"))),je.createElement("li",null,je.createElement("strong",null,Bn.formatMessage({id:"classroomProgrammingHomework.score",defaultMessage:"\u5F97\u5206"})),je.createElement("div",{className:"mt20"},je.createElement(qe.n,{value:(Ga=qn==null?void 0:qn.data)==null?void 0:Ga.score,placeholder:"-"}))),je.createElement("li",null,je.createElement("strong",null,Bn.formatMessage({id:"classroomProgrammingHomework.overallPracticeRanking",defaultMessage:"\u7EC3\u4E60\u603B\u6392\u540D"})),je.createElement("div",{className:"mt20"},je.createElement("span",{className:"c-orange"},(sn=qn==null?void 0:qn.data)==null?void 0:sn.total_rank))),je.createElement("li",null,je.createElement("strong",null,Bn.formatMessage({id:"classroomProgrammingHomework.classRanking",defaultMessage:"\u5206\u73ED\u6392\u540D"})),je.createElement("div",{className:"mt20"},je.createElement("span",{className:"c-orange"},(Pn=qn==null?void 0:qn.data)==null?void 0:Pn.class_rank))))),je.createElement(ie.Z,{style:{margin:0}}),(((An=qn==null?void 0:qn.data)==null?void 0:An.work_comment_hidden)||((xr=qn==null?void 0:qn.data)==null?void 0:xr.work_comment))&&je.createElement("div",null,je.createElement(ae.Z,{align:"middle"},je.createElement(le.Z,{flex:1},je.createElement("h1",{className:de.title},"\u70B9\u8BC4\u5185\u5BB9")),je.createElement(le.Z,{className:"pr30"},(0,ee.GJ)()&&je.createElement(re.ZP,{onClick:()=>mt(void 0,null,function*(){fe.default.confirm({centered:!0,okText:Bn.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Bn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:Bn.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),icon:je.createElement(a.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return mt(this,null,function*(){var mo;(yield(0,Tt.gZ)({comment_id:(mo=qn==null?void 0:qn.data)==null?void 0:mo.comment_id,homeworkId:er.homeworkId})).status===0&&(se.ZP.success(Bn.formatMessage({id:"classrooms.deleteSuccess",defaultMessage:"\u5220\u9664\u6210\u529F"})),Dt({type:"shixunHomeworks/getShixunWorkReports",payload:Le({},er)}))})}})})},je.createElement(x.Z,null),Bn.formatMessage({id:"classrooms.delete",defaultMessage:"\u5220\u9664"})))),je.createElement(ie.Z,{style:{margin:0}}),((Wr=qn==null?void 0:qn.data)==null?void 0:Wr.work_comment)&&je.createElement("aside",{className:"pl30 pr30 mt20"},je.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),je.createElement("br",null),je.createElement(yt.Z,{value:(sa=qn==null?void 0:qn.data)==null?void 0:sa.work_comment})),((La=qn==null?void 0:qn.data)==null?void 0:La.work_comment_hidden)&&je.createElement("aside",{className:"pl30 pr30 mt20"},je.createElement("span",{className:"c-light-black font12"},"# ",Bn.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"})),je.createElement("br",null),je.createElement(yt.Z,{value:(ua=qn==null?void 0:qn.data)==null?void 0:ua.work_comment_hidden}))),je.createElement("h1",{className:de.title},Bn.formatMessage({id:"classroomClassroomExperiments.stageScores",defaultMessage:"\u9636\u6BB5\u6210\u7EE9"})),je.createElement("aside",{className:"pl30 pr30"},je.createElement(ne.default,{dataSource:qn==null?void 0:qn.hack,pagination:!1,columns:Qi})),((fa=qn==null?void 0:qn.data)==null?void 0:fa.work_description)&&je.createElement(je.Fragment,null,je.createElement("h1",{className:de.title},"\u4E2A\u4EBA\u603B\u7ED3"),je.createElement("aside",{className:"pl30 pr30"},je.createElement(yt.Z,{value:(nr=qn==null?void 0:qn.data)==null?void 0:nr.work_description}))),je.createElement("h1",{className:de.title},Bn.formatMessage({id:"classroomProgrammingHomework.questionDetails",defaultMessage:"\u5237\u9898\u8BE6\u60C5"}))),je.createElement(Ue,{autoHeight:Ea}))),(0,ee.GJ)()&&je.createElement("aside",{className:`${de.footerBar} ${mr?de.footerBarStatic:""}`},je.createElement("aside",{className:"edu-container"},je.createElement(ae.Z,{align:"middle"},je.createElement(le.Z,{flex:"1"},je.createElement(we.Link,{className:de.exitComment,to:`/classrooms/${er.coursesId}/program_homework/${er.categoryId}/detail`},Bn.formatMessage({id:"classroomClassroomExperiments.returnToList",defaultMessage:"\u8FD4\u56DE\u5217\u8868"}))),je.createElement(le.Z,{flex:"1",className:"tr"},je.createElement(re.ZP,{type:"default",disabled:on==null?void 0:on.last,onClick:()=>oa()},Bn.formatMessage({id:"classroomGraphicGroupHomework.previous",defaultMessage:"\u4E0A\u4E00\u4E2A"})),je.createElement(re.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:ga==null?void 0:ga.last,onClick:()=>oa("next")},Bn.formatMessage({id:"classroomGraphicGroupHomework.next",defaultMessage:"\u4E0B\u4E00\u4E2A"})),(0,ee.GJ)()&&je.createElement(re.ZP,{type:"primary",onClick:()=>mt(void 0,null,function*(){var mo;if(!((mo=bt.AssistantObject.hack)!=null&&mo.can_appraise)&&(0,ee.Rm)()){se.ZP.warning(Bn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}Dt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:qn.user_id,data:Le({},qn)}}})})},Bn.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"})))))))),je.createElement(lt,null),je.createElement(gt.Z,null),je.createElement(fe.default,{open:Ur,width:860,centered:!0,onCancel:()=>{pa(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},je.createElement("div",{style:{color:"#333333",fontWeight:400}},je.createElement("span",{style:{fontWeight:500}},"1\u3001",Bn.formatMessage({id:"classroomClassroomExperiments.pageStayDuration",defaultMessage:"\u9875\u9762\u505C\u7559\u65F6\u957F"})),je.createElement("br",null),je.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"),je.createElement("br",null),je.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"),je.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 "),je.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")),je.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},je.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),je.createElement("br",null),je.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 "),je.createElement("br",null),je.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"),je.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 "),je.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"),je.createElement("br",null),je.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")),je.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},je.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),je.createElement("br",null),je.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")),je.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},je.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),je.createElement("br",null),je.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"))),je.createElement(fe.default,{open:Ba,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{va(!1)},width:600},je.createElement("div",{style:{fontWeight:400,color:"#333333"}},je.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",je.createElement("span",{style:{color:"#145DFF"}},Bn.formatMessage({id:"classroomClassroomExperiments.pageStayDuration",defaultMessage:"\u9875\u9762\u505C\u7559\u65F6\u957F"})),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),je.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",je.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"),je.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",je.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"))))};var Et=(0,we.connect)(({shixunHomeworks:Bt,loading:wt,globalSetting:Lt,classroomList:Ft,user:Nt})=>({shixunHomeworks:Bt,globalSetting:Lt,loading:wt.effects,classroomList:Ft,user:Nt}))(st)},80036:function(Jt,Mt,pe){"use strict";var me=pe(59301),Qe=pe(43418),E=pe(8591),we=pe(59729),fe=pe(58024),ue=Object.defineProperty,oe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,re=(y,a,x)=>a in y?ue(y,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):y[a]=x,se=(y,a)=>{for(var x in a||(a={}))ae.call(a,x)&&re(y,x,a[x]);if(oe)for(var x of oe(a))le.call(a,x)&&re(y,x,a[x]);return y},ie=(y,a)=>{var x={};for(var b in y)ae.call(y,b)&&a.indexOf(b)<0&&(x[b]=y[b]);if(y!=null&&oe)for(var b of oe(y))a.indexOf(b)<0&&le.call(y,b)&&(x[b]=y[b]);return x},ne=(y,a,x)=>new Promise((b,ee)=>{var te=ve=>{try{ge(x.next(ve))}catch(ye){ee(ye)}},de=ve=>{try{ge(x.throw(ve))}catch(ye){ee(ye)}},ge=ve=>ve.done?b(ve.value):Promise.resolve(ve.value).then(te,de);ge((x=x.apply(y,a)).next())});const z=y=>{var a=y,{shixunHomeworks:x,dispatch:b}=a,ee=ie(a,["shixunHomeworks","dispatch"]);const te=(0,fe.useIntl)(),de=(0,fe.useParams)();return me.createElement(Qe.default,{centered:!0,title:te.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:x.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:te.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:te.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>ne(void 0,null,function*(){(yield(0,we.ZP)(`/api/myshixuns/${x.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:de.coursesId}})).shixun_identifier&&(E.ZP.success(te.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"})),b({type:"shixunHomeworks/setActionTabs",payload:{}}),b({type:"shixunHomeworks/getWorkList",payload:se({},x.actionTabs.params)}))}),onCancel:()=>{b({type:"shixunHomeworks/setActionTabs",payload:{}})}},me.createElement("p",null,te.formatMessage({id:"classrooms.returnAssignmentWarning",defaultMessage:"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"})),me.createElement("p",null,te.formatMessage({id:"classrooms.confirmReturnAssignment",defaultMessage:"\u786E\u5B9A\u6253\u56DE?"})))};Mt.Z=(0,fe.connect)(({shixunHomeworks:y})=>({shixunHomeworks:y}))(z)},38978:function(Jt,Mt,pe){"use strict";pe.d(Mt,{n:function(){return Ut},Z:function(){return mn}});var me=pe(59301),Qe=pe(78241),E=pe(8591),we=pe(6848),fe=pe(43418),ue=pe(20834),oe=pe(24905),ae=pe(95237),le=pe(43604),re=pe(92832),se=pe(3113),ie=pe(38854),ne=pe(1710),z=pe(5112),y=pe(5871),a=pe(58421),x=pe(84105),b=pe(87395),ee=pe(67921),te=pe(89489),de=pe(64398),ge=pe(99770),ve=pe(80036),ye=pe(96512),be=pe(59729),Ce=pe(58024),Se=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Ee=($t,rn,nn)=>rn in $t?Se($t,rn,{enumerable:!0,configurable:!0,writable:!0,value:nn}):$t[rn]=nn,He=($t,rn)=>{for(var nn in rn||(rn={}))Be.call(rn,nn)&&Ee($t,nn,rn[nn]);if(Pe)for(var nn of Pe(rn))Ue.call(rn,nn)&&Ee($t,nn,rn[nn]);return $t},Oe=($t,rn)=>{var nn={};for(var xn in $t)Be.call($t,xn)&&rn.indexOf(xn)<0&&(nn[xn]=$t[xn]);if($t!=null&&Pe)for(var xn of Pe($t))rn.indexOf(xn)<0&&Ue.call($t,xn)&&(nn[xn]=$t[xn]);return nn},ke=($t,rn,nn)=>new Promise((xn,In)=>{var Un=En=>{try{yr(nn.next(En))}catch(Dr){In(Dr)}},ir=En=>{try{yr(nn.throw(En))}catch(Dr){In(Dr)}},yr=En=>En.done?xn(En.value):Promise.resolve(En.value).then(Un,ir);yr((nn=nn.apply($t,rn)).next())});const Xe=$t=>{var rn=$t,{shixunHomeworks:nn,dispatch:xn}=rn,In=Oe(rn,["shixunHomeworks","dispatch"]);const Un=(0,Ce.useIntl)(),ir=(0,Ce.useParams)(),[yr,En]=(0,me.useState)(!0),[Dr,ta]=(0,me.useState)(!1),[Fr]=Qe.default.useForm(),Vr=()=>ke(void 0,null,function*(){const Mr=Fr.getFieldValue();(yield(0,be.ZP)(`/api/homework_commons/${ir.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...nn.actionTabs.selectArrs],cover_all:yr,hidden_comment:Mr.hidden_comment,comment:Mr.comment}})).status===0&&(E.ZP.success("\u8BC4\u9605\u6210\u529F"),Fr.resetFields(),xn({type:"shixunHomeworks/setActionTabs",payload:{}}),xn({type:"shixunHomeworks/getWorkList",payload:He({},nn.actionTabs.params)}))});return me.createElement(me.Fragment,null,me.createElement(fe.default,{centered:!0,title:Un.formatMessage({id:"classroomClassroomExperiments.oneClickComment",defaultMessage:"\u4E00\u952E\u70B9\u8BC4"}),open:nn.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:Un.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Un.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>ke(void 0,null,function*(){const Mr=Fr.getFieldValue();JSON.stringify(Mr)==="{}"||Mr.hidden_comment===""&&Mr.comment===""?ta(!0):nn.workList.partial_comment?xn({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:nn.actionTabs.selectArrs,params:nn.actionTabs.params}}):Vr()}),onCancel:()=>{xn({type:"shixunHomeworks/setActionTabs",payload:{}})}},me.createElement(Qe.default,{form:Fr,onChange:()=>{Dr&&ta(!1)}},me.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),me.createElement(Qe.default.Item,{name:"comment"},me.createElement(re.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),me.createElement("p",null,Un.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"})),me.createElement(Qe.default.Item,{name:"hidden_comment"},me.createElement(re.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Dr&&me.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),me.createElement(fe.default,{centered:!0,title:me.createElement("span",null,me.createElement(ye.Z,{className:"c-orange mr20"}),Un.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"})),open:nn.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Vr()},onCancel:()=>{xn({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},me.createElement("div",{className:"tc"},me.createElement("p",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),me.createElement("p",null,me.createElement(z.ZP.Group,{onChange:Mr=>{En(Mr.target.value)},value:yr},me.createElement(z.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),me.createElement(z.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var $e=(0,Ce.connect)(({shixunHomeworks:$t})=>({shixunHomeworks:$t}))(Xe),ze=pe(41488),at=pe(58938),et={wrap:"wrap___altfw",maxWidth70:"maxWidth70___Q4NoO",maxWidth80:"maxWidth80___lwsmt",maxWidth100:"maxWidth100___Wnsw8",maxWidth110:"maxWidth110___zQh0P",maxWidth120:"maxWidth120___gjwfa",reviewStatusTooltip:"reviewStatusTooltip___um7Rt",color32C:"color32C___GIjgW",MdEditor:"MdEditor___OuyKH",tr1:"tr1___nwwbX",TableDom:"TableDom___pl59W"},it=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,rt=($t,rn)=>{var nn={};for(var xn in $t)At.call($t,xn)&&rn.indexOf(xn)<0&&(nn[xn]=$t[xn]);if($t!=null&&it)for(var xn of it($t))rn.indexOf(xn)<0&&ot.call($t,xn)&&(nn[xn]=$t[xn]);return nn},lt=($t,rn,nn)=>new Promise((xn,In)=>{var Un=En=>{try{yr(nn.next(En))}catch(Dr){In(Dr)}},ir=En=>{try{yr(nn.throw(En))}catch(Dr){In(Dr)}},yr=En=>En.done?xn(En.value):Promise.resolve(En.value).then(Un,ir);yr((nn=nn.apply($t,rn)).next())});const gt=$t=>{var rn=$t,{shixunHomeworks:nn,dispatch:xn}=rn,In=rt(rn,["shixunHomeworks","dispatch"]),Un,ir,yr,En;const Dr=(0,Ce.useIntl)(),ta=(0,Ce.useParams)(),[Fr,Vr]=(0,me.useState)(!1),[Mr,Er]=(0,me.useState)((ir=(Un=nn.actionTabs.selectArrs)==null?void 0:Un.data)==null?void 0:ir.name),[Oa]=Qe.default.useForm();(0,me.useEffect)(()=>{var na,Ao,Ga,sn,Pn,An;nn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Oa.setFieldsValue({comment:(Ao=(na=nn.actionTabs.selectArrs)==null?void 0:na.data)==null?void 0:Ao.work_comment,hidden_comment:(sn=(Ga=nn.actionTabs.selectArrs)==null?void 0:Ga.data)==null?void 0:sn.work_comment_hidden}),Er((An=(Pn=nn.actionTabs.selectArrs)==null?void 0:Pn.data)==null?void 0:An.name)},[nn.actionTabs.key]);const to=()=>lt(void 0,null,function*(){var na,Ao;const Ga=Oa.getFieldValue();if((yield(0,be.ZP)(`/api/student_works/${(Ao=(na=nn.actionTabs.selectArrs)==null?void 0:na.data)==null?void 0:Ao.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Ga.hidden_comment,comment:Ga.comment}})).status===0)return E.ZP.success("\u8BC4\u9605\u6210\u529F"),Oa.resetFields(),xn({type:"shixunHomeworks/setActionTabs",payload:{}}),xn({type:"shixunHomeworks/getWorkList",payload:ta})});return me.createElement(me.Fragment,null,me.createElement(fe.default,{centered:!0,title:(En=(yr=nn.actionTabs.selectArrs)==null?void 0:yr.data)!=null&&En.work_comment_hidden?"\u66F4\u6539"+Mr+"\u70B9\u8BC4":Mr+"\u70B9\u8BC4",open:nn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:Dr.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Dr.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>lt(void 0,null,function*(){const na=Oa.getFieldValue();JSON.stringify(na)==="{}"||na.hidden_comment===""&&na.comment===""?Vr(!0):to()}),onCancel:()=>{xn({type:"shixunHomeworks/setActionTabs",payload:{}})}},me.createElement(Qe.default,{form:Oa,onChange:()=>{Fr&&Vr(!1)}},me.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),me.createElement(Qe.default.Item,{name:"comment"},me.createElement(re.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),me.createElement("p",null,Dr.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"})),me.createElement(Qe.default.Item,{name:"hidden_comment"},me.createElement(re.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Fr&&me.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var yt=(0,Ce.connect)(({shixunHomeworks:$t})=>({shixunHomeworks:$t}))(gt),Tt=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,qe=($t,rn)=>{var nn={};for(var xn in $t)vt.call($t,xn)&&rn.indexOf(xn)<0&&(nn[xn]=$t[xn]);if($t!=null&&Tt)for(var xn of Tt($t))rn.indexOf(xn)<0&&ut.call($t,xn)&&(nn[xn]=$t[xn]);return nn},je=($t,rn,nn)=>new Promise((xn,In)=>{var Un=En=>{try{yr(nn.next(En))}catch(Dr){In(Dr)}},ir=En=>{try{yr(nn.throw(En))}catch(Dr){In(Dr)}},yr=En=>En.done?xn(En.value):Promise.resolve(En.value).then(Un,ir);yr((nn=nn.apply($t,rn)).next())});const Ve=$t=>{var rn=$t,{shixunHomeworks:nn,dispatch:xn}=rn,In=qe(rn,["shixunHomeworks","dispatch"]);const Un=(0,Ce.useIntl)(),ir=(0,Ce.useParams)(),[yr,En]=(0,me.useState)([]),[Dr,ta]=(0,me.useState)([]);(0,me.useEffect)(()=>{nn.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Fr()},[nn.actionTabs.key]);function Fr(){return je(this,null,function*(){const Mr=yield(0,be.ZP)(`/api/homework_commons/${ir.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});En(Mr)})}const Vr=[{title:Un.formatMessage({id:"classroomClassroomExperiments.classDivisionStatus",defaultMessage:"\u5206\u73ED\u60C5\u51B5"}),dataIndex:"name"},{title:Un.formatMessage({id:"classroomGraphicGroupHomework.validWorksCount",defaultMessage:"\u6709\u6548\u4F5C\u54C1\u6570"}),dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return me.createElement(me.Fragment,null,me.createElement(fe.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:nn.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:Un.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Un.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>je(void 0,null,function*(){const Mr=yield(0,be.ZP)(`/api/homework_commons/${ir.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:Dr}});(Mr==null?void 0:Mr.status)===0&&(Ce.history.replace(`/classrooms/${ir.coursesId}/shixun_homework/${ir.categoryId}/detail?tabs=4`),window.location.reload(),xn({type:"shixunHomeworks/setActionTabs",payload:{}}),ta([]))}),onCancel:()=>{ta([]),xn({type:"shixunHomeworks/setActionTabs",payload:{}})}},me.createElement(ne.default,{rowSelection:{type:"checkbox",onChange:(Mr,Er)=>{ta([...Mr])},selectedRowKeys:Dr,getCheckboxProps:Mr=>({disabled:Mr.status==="\u8FDB\u884C\u4E2D"||Mr.works_count===0})},rowKey:Mr=>Mr.key||Mr.id,scroll:{y:300},pagination:!1,columns:Vr,dataSource:yr==null?void 0:yr.group_list})))};var Ie=(0,Ce.connect)(({shixunHomeworks:$t})=>({shixunHomeworks:$t}))(Ve),_e=pe(99672),Fe=pe(42622),De=Object.defineProperty,Te=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Ge=($t,rn,nn)=>rn in $t?De($t,rn,{enumerable:!0,configurable:!0,writable:!0,value:nn}):$t[rn]=nn,dt=($t,rn)=>{for(var nn in rn||(rn={}))Ne.call(rn,nn)&&Ge($t,nn,rn[nn]);if(Te)for(var nn of Te(rn))Le.call(rn,nn)&&Ge($t,nn,rn[nn]);return $t},mt=($t,rn,nn)=>new Promise((xn,In)=>{var Un=En=>{try{yr(nn.next(En))}catch(Dr){In(Dr)}},ir=En=>{try{yr(nn.throw(En))}catch(Dr){In(Dr)}},yr=En=>En.done?xn(En.value):Promise.resolve(En.value).then(Un,ir);yr((nn=nn.apply($t,rn)).next())});const st=({shixunHomeworks:$t,dispatch:rn,isShow:nn,setIsShow:xn,item:In,coursesId:Un,categoryId:ir})=>{const yr=(0,Ce.useIntl)(),[En,Dr]=(0,me.useState)({page:1,limit:10}),[ta,Fr]=(0,me.useState)([]),[Vr,Mr]=(0,me.useState)(!1);(0,me.useEffect)(()=>{nn&&Er()},[nn]);function Er(){return mt(this,null,function*(){Mr(!0);const to=yield(0,be.ZP)(`/api/student_works/${In.id}/game_details.json`,{method:"get",params:dt({},En)});Mr(!1),to.status===0&&Fr(to==null?void 0:to.data)})}const Oa=[{title:yr.formatMessage({id:"classrooms.serialNumber",defaultMessage:"\u5E8F\u53F7"}),dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(to,na,Ao)=>me.createElement("span",{style:{color:"#000"}},En.limit*(En.page-1)+Ao+1)},{title:yr.formatMessage({id:"classrooms.taskName",defaultMessage:"\u4EFB\u52A1\u540D\u79F0"}),dataIndex:"name",key:"name",ellipsis:!0,render:(to,na,Ao)=>me.createElement("span",{style:{color:"#000"}},to)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(to,na,Ao)=>me.createElement("span",null,to==0?yr.formatMessage({id:"classrooms.notPassed",defaultMessage:"\u672A\u901A\u5173"}):to==4?yr.formatMessage({id:"classroomClassroomExperiments.clearedAfterDeadline",defaultMessage:"\u622A\u6B62\u540E\u901A\u5173"}):"\u5DF2\u901A\u5173")},{title:yr.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"evaluate_count",key:"evaluate_count",width:100,ellipsis:!0,render:(to,na,Ao)=>me.createElement("span",{style:{color:"#333"}},to)},{title:yr.formatMessage({id:"classroomClassroomExperiments.practicalTimeSpent",defaultMessage:"\u5B9E\u8BAD\u8017\u65F6"}),dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(to,na,Ao)=>me.createElement("span",{style:{color:"#333"}},to)}];return me.createElement(me.Fragment,null,me.createElement(fe.default,{centered:!0,title:yr.formatMessage({id:"classroomClassroomExperiments.clearanceStatus",defaultMessage:"\u901A\u5173\u60C5\u51B5"}),open:nn,width:700,footer:null,maskClosable:!1,onCancel:()=>{En.page=1,En.limit=10,Dr(dt({},En)),xn(!1)}},me.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},me.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},me.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),me.createElement("span",{title:In==null?void 0:In.user_name,style:{color:"#232B40"}},In==null?void 0:In.user_name)),me.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},me.createElement("span",{style:{color:"#666",marginRight:"10px"}},yr.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"})),me.createElement("span",{title:In==null?void 0:In.student_id,style:{color:"#232B40"}},(In==null?void 0:In.student_id)||"--")),me.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},me.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),me.createElement("span",{title:In==null?void 0:In.group_name,style:{color:"#232B40"}},(In==null?void 0:In.group_name)||"--"))),me.createElement(ne.default,{scroll:{y:380},columns:Oa,loading:Vr,style:{marginBottom:En.limit>(ta==null?void 0:ta.count)?"16px":"0"},dataSource:ta.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:En.limit,current:En.page,position:["bottomRight"],onChange:(to,na)=>{En.page=to,En.limit=na,Dr(dt({},En)),Er()},total:ta==null?void 0:ta.count,showTotal:(to,na)=>me.createElement("span",null,"\u5171",me.createElement("span",{style:{color:"#165DFF"}}," ",to," "),"\u6761\u6570\u636E")}})))};var Et=(0,Ce.connect)(({shixunHomeworks:$t})=>({shixunHomeworks:$t}))(st),Bt=pe(59301),wt=Object.defineProperty,Lt=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,bt=($t,rn,nn)=>rn in $t?wt($t,rn,{enumerable:!0,configurable:!0,writable:!0,value:nn}):$t[rn]=nn,Dt=($t,rn)=>{for(var nn in rn||(rn={}))Ft.call(rn,nn)&&bt($t,nn,rn[nn]);if(Lt)for(var nn of Lt(rn))Nt.call(rn,nn)&&bt($t,nn,rn[nn]);return $t},Rt=($t,rn,nn)=>new Promise((xn,In)=>{var Un=En=>{try{yr(nn.next(En))}catch(Dr){In(Dr)}},ir=En=>{try{yr(nn.throw(En))}catch(Dr){In(Dr)}},yr=En=>En.done?xn(En.value):Promise.resolve(En.value).then(Un,ir);yr((nn=nn.apply($t,rn)).next())});const Ut=({value:$t,placeholder:rn=""})=>{if($t==null||$t==="")return Bt.createElement("span",null,rn);{const nn=Number($t);if(nn>=80)return Bt.createElement("span",{style:{color:"#009C0F"}},nn);if(nn<80&&nn>=60)return Bt.createElement("span",{style:{color:"#FA6400"}},nn);if(nn<60)return Bt.createElement("span",{style:{color:"#E30000"}},nn)}},qt=({shixunHomeworks:$t,classroomList:rn,globalSetting:nn,loading:xn,dispatch:In,setExportParams:Un,user:ir})=>{var yr,En,Dr,ta,Fr,Vr,Mr,Er,Oa,to,na,Ao,Ga;const sn=(0,Ce.useIntl)(),Pn=(0,Ce.useParams)(),[An,xr]=(0,me.useState)(Dt(Dt({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Pn)),[Wr]=Qe.default.useForm(),[sa,La]=(0,me.useState)(),[ua,fa]=(0,me.useState)({}),[nr,Bn]=(0,me.useState)([]),[er,Zn]=(0,me.useState)(!1),[kr,Ca]=(0,me.useState)([]),[ga,aa]=(0,me.useState)(!1),[on,Nn]=(0,me.useState)(),[dn,Yn]=(0,me.useState)(1),[mr,wr]=(0,me.useState)(),[sr,gr]=(0,me.useState)(),[Ea,Hn]=(0,me.useState)(),[qn,Mo]=(0,me.useState)(),[Ja,Wa]=(0,me.useState)(),[Ni,Ur]=(0,me.useState)(!1),[pa,Ba]=(0,me.useState)(!1),[va,Uo]=(0,me.useState)(),Do=(0,Ce.useLocation)();(0,me.useEffect)(()=>(Ia(),()=>{fa([]),Bn([])}),[An.coursesId]),(0,me.useEffect)(()=>{var cr;const ma=JSON.parse(JSON.stringify($t.workList));!((cr=ma==null?void 0:ma.student_works)!=null&&cr.length)&&(ma!=null&&ma.id)?(ma.student_works=[Dt({},ma)],fa(ma)):(ma!=null&&ma.id&&Bn([Dt(Dt({},ma),{number:"\u6211"})]),fa(Dt({},ma)))},[$t.workList]);const Ia=cr=>(Un(Dt({},An)),In({type:"shixunHomeworks/getWorkList",payload:An}));(0,me.useEffect)(()=>{In({type:"user/getUserInfo",payload:{course_id:An.coursesId}})},[]);const mi=()=>Rt(void 0,null,function*(){const cr=yield(0,ze.Uc)({categoryId:Pn.categoryId});La(cr==null?void 0:cr.update_score)}),ii=()=>Rt(void 0,null,function*(){In({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const cr=yield(0,ze.Vs)({categoryId:Pn.categoryId});In({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(cr==null?void 0:cr.status)===0&&(E.ZP.success(cr==null?void 0:cr.message),Ia())}),ki=()=>{An.page=1;const cr=Object.assign({},Wr.getFieldsValue());delete An.course_group,delete An.teacher_comment,Object.keys(cr).map(function(ma){var Ha;switch(ma){case"task_status":cr[ma].includes("all")||!cr[ma].length?(delete An.work_status,Wr.setFieldsValue({task_status:"all"})):(An.work_status=cr[ma],Wr.setFieldsValue({task_status:An.work_status}));break;case"course_group_info":cr[ma].includes("all")||!cr[ma].length?(delete An.course_group,Wr.setFieldsValue({course_group_info:"all"})):(An.course_group=cr[ma],Wr.setFieldsValue({course_group_info:An.course_group}));break;case"teacher_comment":cr[ma].includes("all")||!cr[ma].length?(delete An.teacher_comment,Wr.setFieldsValue({teacher_comment:"all"})):(An.teacher_comment=((Ha=cr[ma])==null?void 0:Ha.length)===1?Number(cr[ma][0]):"",Wr.setFieldsValue({teacher_comment:cr[ma]}));break}}),Ia()};(0,me.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Wa(47),Ur(!0))},[document.getElementById("divhe")]);const ts=(cr,ma)=>{An.page=cr,An.limit=20,Ia()};function Qi(){Yn(1),wr(""),gr(""),Hn(""),Mo(""),Ca([])}const oa=[{title:sn.formatMessage({id:"classrooms.serialNumber",defaultMessage:"\u5E8F\u53F7"}),dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(cr,ma,Ha)=>An.limit*(An.page-1)+Ha+1},{title:sn.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"}),dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:cr=>Bt.createElement(we.Z,{placement:"bottomLeft",title:cr},Bt.createElement("span",{className:"current"},cr))},!(0,at.Jd)()&&{title:sn.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}),dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:An.order==="student_id"?An.b_order==="desc"?"descend":"ascend":null,render:cr=>Bt.createElement(we.Z,{placement:"bottomLeft",title:cr||"--"},Bt.createElement("span",{className:"current"},cr||"--"))},{title:sn.formatMessage({id:"classrooms.classDivision",defaultMessage:"\u5206\u73ED"}),dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(cr,ma)=>cr?Bt.createElement(we.Z,{placement:"bottom",title:cr},Bt.createElement("span",{className:"current"},cr)):"--"},{title:sn.formatMessage({id:"classroomClassroomExperiments.homeworkStatus",defaultMessage:"\u4F5C\u4E1A\u72B6\u6001"}),dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:An.order==="work_status"?An.b_order==="desc"?"descend":"ascend":null,render:cr=>Bt.createElement(ge.lC,{status:cr})},{title:sn.formatMessage({id:"classrooms.completionTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:An.order==="achieve_time"?An.b_order==="desc"?"descend":"ascend":null,render:(cr,ma)=>Bt.createElement(we.Z,{placement:"bottomLeft",title:cr},Bt.createElement("span",{className:"current"},cr))},{title:sn.formatMessage({id:"classroomProgrammingHomework.passStatus",defaultMessage:"\u901A\u8FC7\u60C5\u51B5"}),align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(cr,ma)=>Bt.createElement("span",{onClick:Ha=>{var Da;Ha.stopPropagation(),(Da=ua.homework_status)!=null&&Da.includes("\u5BFC\u5165")&&(Uo(ma),Ba(!0))}},cr||"- -")},{title:sn.formatMessage({id:"classrooms.finalGrade",defaultMessage:"\u6700\u7EC8\u6210\u7EE9"}),align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:An.order==="work_score"?An.b_order==="desc"?"descend":"ascend":null,render:(cr,ma)=>Bt.createElement(we.Z,{title:Bt.createElement(Bt.Fragment,null,Bt.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(ma==null?void 0:ma.late_final_score)||0),Bt.createElement("div",null,sn.formatMessage({id:"classroomClassroomExperiments.resubmissionDeduction",defaultMessage:"\u8865\u4EA4\u6263\u5206"}),"\uFF1A",(ma==null?void 0:ma.late_penalty)||0),Bt.createElement("div",null,sn.formatMessage({id:"classrooms.finalGrade",defaultMessage:"\u6700\u7EC8\u6210\u7EE9"}),"\uFF1A",(ma==null?void 0:ma.score)||0))},Ut({value:cr,placeholder:"- -"}))},{title:sn.formatMessage({id:"classroomProgrammingHomework.completionDuration",defaultMessage:"\u5B8C\u6210\u65F6\u957F"}),dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:An.order==="achieve_time_long"?An.b_order==="desc"?"descend":"ascend":null,render:(cr,ma)=>cr&&cr!="--"?Bt.createElement(we.Z,{placement:"bottom",title:cr},Bt.createElement("span",{className:"current"},cr)):"--"},((yr=ua.homework_status)==null?void 0:yr.includes("\u5BFC\u5165"))&&{title:sn.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"sum_evaluate_count",align:"center"},!((En=ua.homework_status)!=null&&En.includes("\u5BFC\u5165"))&&{title:Bt.createElement("span",null,sn.formatMessage({id:"classrooms.reviewStatus",defaultMessage:"\u8BC4\u9605\u72B6\u6001"})),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:cr=>cr?sn.formatMessage({id:"classrooms.reviewed",defaultMessage:"\u5DF2\u8BC4\u9605"}):sn.formatMessage({id:"classrooms.notReviewed",defaultMessage:"\u672A\u8BC4\u9605"})},{title:sn.formatMessage({id:"classrooms.action",defaultMessage:"\u64CD\u4F5C"}),dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(cr,ma)=>{var Ha;return(Ha=ua.homework_status)!=null&&Ha.includes("\u5BFC\u5165")?(0,at.GJ)()?Bt.createElement("a",{onClick:Da=>{Da.stopPropagation(),In({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:ma==null?void 0:ma.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):Bt.createElement("a",{onClick:Da=>{Da.stopPropagation(),Uo(ma),Ba(!0)}},"\u67E5\u770B"):(0,at.dE)()?Bt.createElement("div",null,(0,ge.JL)(ma==null?void 0:ma.work_status)==="\u672A\u5F00\u542F"?Bt.createElement("span",null,"--"):Bt.createElement("a",{onClick:Da=>{var fo;if(Da.stopPropagation(),(0,at.Rm)()&&!((fo=rn.AssistantObject.hack)!=null&&fo.can_view)){E.ZP.warning(sn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}window.open(`/classrooms/${An.coursesId}/program_homework/${An.categoryId}/${ma.id}/${ma.user_id}/comment`,"_blank")}},sn.formatMessage({id:"classrooms.view",defaultMessage:"\u67E5\u770B"}))):Bt.createElement("a",{target:"_blank",onClick:Da=>{var fo,Yo;if(Da.stopPropagation(),(0,at.Rm)()&&!((fo=rn.AssistantObject.hack)!=null&&fo.can_view)){E.ZP.warning(sn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}if((Yo=ir.userInfo)!=null&&Yo.professional_certification)window.open(`/classrooms/${An.coursesId}/program_homework/${An.categoryId}/${ma.id}/${ma.user_id}/comment`,"_blank");else return fe.default.confirm({title:sn.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,content:Bt.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ge.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(cr=>!!cr),mo=()=>{var cr,ma;return Bt.createElement(ue.default,null,Bt.createElement(ue.default.Item,{onClick:()=>{var Ha;if((0,at.Rm)()&&!((Ha=rn.AssistantObject.hack)!=null&&Ha.can_download)){E.ZP.warning(sn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}In({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:ua==null?void 0:ua.course_group_info,fn:()=>{(0,Fe.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},sn.formatMessage({id:"classroomClassroomExperiments.studentGrades",defaultMessage:"\u5B66\u751F\u6210\u7EE9"})),(0,at.GJ)()&&((cr=ua==null?void 0:ua.student_works)==null?void 0:cr.length)>0&&!((ma=ua==null?void 0:ua.homework_status)!=null&&ma.includes("\u5BFC\u5165"))&&Bt.createElement(ue.default.Item,{key:"3",onClick:()=>{var Ha;if((0,at.Rm)()&&!((Ha=rn.AssistantObject.hack)!=null&&Ha.can_download)){E.ZP.warning(sn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}In({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:sn.formatMessage({id:"classroomProgrammingHomework.exportProgrammingReport",defaultMessage:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"}),course_groups:ua==null?void 0:ua.course_group_info,fn:()=>{var Da,fo,Yo,lo;In({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),Ce.history.push(`/classrooms/${An==null?void 0:An.coursesId}/program_homework/${An.categoryId}/${(fo=(Da=ua==null?void 0:ua.student_works)==null?void 0:Da[0])==null?void 0:fo.id}/${(lo=(Yo=ua==null?void 0:ua.student_works)==null?void 0:Yo[0])==null?void 0:lo.user_id}/comment`)}}})}},sn.formatMessage({id:"classroomProgrammingHomework.programmingReport",defaultMessage:"\u7F16\u7A0B\u62A5\u544A"})),Bt.createElement(ue.default.Item,{key:"2",onClick:()=>{var Ha;if((0,at.Rm)()&&!((Ha=rn.AssistantObject.hack)!=null&&Ha.can_download)){E.ZP.warning(sn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}Ce.history.push(`/classrooms/${An.coursesId}/exportlist/hack_work_list`)}},sn.formatMessage({id:"classrooms.historicalExport",defaultMessage:"\u5386\u53F2\u5BFC\u51FA"})))};return Bt.createElement(Bt.Fragment,null,Bt.createElement("section",{className:`${et.wrap} minH500 bg-white pl30 pr30 pt30`},((Dr=ua.homework_status)==null?void 0:Dr.includes("\u672A\u53D1\u5E03"))&&Bt.createElement(de.Z,null),!((ta=ua.homework_status)!=null&&ta.includes("\u672A\u53D1\u5E03"))&&Bt.createElement("aside",null,!(0,at.GJ)()&&Bt.createElement("div",{className:"c-light-black font12"},Bt.createElement("span",null,sn.formatMessage({id:"classrooms.publishTime",defaultMessage:"\u53D1\u5E03\u65F6\u95F4"})," ",ua==null?void 0:ua.publish_time),Bt.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",ua==null?void 0:ua.end_time),Bt.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(ua==null?void 0:ua.late_time)||"- -")),(0,at.GJ)()&&Bt.createElement(Bt.Fragment,null,Bt.createElement(Qe.default,{form:Wr,onChange:ki,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Fr=ua.task_status)==null?void 0:Fr.length)>0&&Bt.createElement(Qe.default.Item,{name:"task_status"},Bt.createElement(oe.default.Group,{value:[],style:{width:"100%"}},Bt.createElement(ae.Z,null,Bt.createElement(le.Z,{className:"font14",flex:"80px"},sn.formatMessage({id:"classroomClassroomExperiments.homeworkStatus",defaultMessage:"\u4F5C\u4E1A\u72B6\u6001"}),":"),Bt.createElement(le.Z,{flex:"80px"},Bt.createElement(oe.default,{value:"all"},sn.formatMessage({id:"classrooms.all",defaultMessage:"\u5168\u90E8"}))),Bt.createElement(le.Z,{flex:"1"},ua.task_status&&ua.task_status.map((cr,ma)=>Bt.createElement(oe.default,{name:"task_status",value:cr.id},cr.name,"(",cr.count,")")))))),((Vr=ua.course_group_info)==null?void 0:Vr.length)>0&&Bt.createElement(Qe.default.Item,{name:"course_group_info"},Bt.createElement(oe.default.Group,{style:{width:"100%"}},Bt.createElement(ae.Z,null,Bt.createElement(le.Z,{className:"font14",flex:"80px"},sn.formatMessage({id:"classroomClassroomExperiments.classDivisionStatus",defaultMessage:"\u5206\u73ED\u60C5\u51B5"}),":"),Bt.createElement(le.Z,{flex:"80px"},Bt.createElement(oe.default,{value:"all"},sn.formatMessage({id:"classrooms.all",defaultMessage:"\u5168\u90E8"}))),Bt.createElement(le.Z,{flex:"1",id:"divhe",style:{height:Ja+"px",overflow:"hidden"}},(Mr=ua.course_group_info)==null?void 0:Mr.map((cr,ma)=>Bt.createElement(oe.default,{value:cr.course_group_id},cr.group_group_name,"(",cr.count,")"))),Ni&&Bt.createElement("span",{onClick:()=>{let cr=document.getElementById("divhe").scrollHeight;Ja>47?Wa(47):Wa(cr)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Ja===47?"\u5C55\u5F00":"\u6536\u8D77",Ja===47?Bt.createElement(x.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):Bt.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((Er=ua.teacher_comment)==null?void 0:Er.length)>0&&Bt.createElement(Qe.default.Item,{name:"teacher_comment"},Bt.createElement(oe.default.Group,{style:{width:"100%"}},Bt.createElement(ae.Z,null,Bt.createElement(le.Z,{className:"font14",flex:"80px"},sn.formatMessage({id:"classroomClassroomExperiments.additionalComments",defaultMessage:"\u8FFD\u52A0\u70B9\u8BC4:"})),Bt.createElement(le.Z,{flex:"80px"},Bt.createElement(oe.default,{value:"all"},sn.formatMessage({id:"classrooms.all",defaultMessage:"\u5168\u90E8"}))),Bt.createElement(le.Z,{flex:"1"},ua.teacher_comment&&ua.teacher_comment.map((cr,ma)=>Bt.createElement(oe.default,{value:String(cr.id)},cr.name,"(",cr.count,")"))))))),Bt.createElement(ae.Z,{align:"middle"},Bt.createElement(le.Z,{flex:"1"},Bt.createElement(ae.Z,{align:"middle"},Bt.createElement(le.Z,null,Bt.createElement(re.default.Search,{allowClear:!0,placeholder:sn.formatMessage({id:"classrooms.searchByNameOrID",defaultMessage:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22"}),onSearch:cr=>{An.search=cr.trim(),An.page=1,Ia()},style:{width:240}})),Bt.createElement(le.Z,null,Bt.createElement("span",{className:"ml5"},Bt.createElement("span",{className:"c-red"},ua.work_count),sn.formatMessage({id:"classroomGraphicGroupHomework.searchResultsStudents",defaultMessage:"\u4E2A\u68C0\u7D22\u7ED3\u679C"}),"\uFF08",ua.work_count,sn.formatMessage({id:"classroomGraphicGroupHomework.student",defaultMessage:"\u4E2A\u5B66\u751F"}),"\uFF09")))),Bt.createElement(le.Z,null,(0,at.GJ)()&&!((Oa=ua.homework_status)!=null&&Oa.includes("\u5BFC\u5165"))&&!((to=nn==null?void 0:nn.setting)!=null&&to.hide_code_repeat)&&Bt.createElement(se.ZP,{className:"ml10",onClick:()=>{In({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:ua.student_works.map(cr=>cr.id),params:An}})}},Bt.createElement("span",{className:`${et.tr1} iconfont icon-daimachazhong`}),sn.formatMessage({id:"classrooms.checkCodePlagiarism",defaultMessage:"\u4EE3\u7801\u67E5\u91CD"})),(0,at.GJ)()&&!((na=ua.homework_status)!=null&&na.includes("\u5BFC\u5165"))&&Bt.createElement(se.ZP,{className:"ml10",onClick:ii},Bt.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),sn.formatMessage({id:"classrooms.updateScore",defaultMessage:"\u66F4\u65B0\u6210\u7EE9"})),(0,at.GJ)()&&Bt.createElement(ie.Z,{dropdownRender:mo,className:"ml10"},Bt.createElement(se.ZP,null,Bt.createElement(ee.Z,null),sn.formatMessage({id:"classrooms.export",defaultMessage:"\u5BFC\u51FA"}),Bt.createElement(te.Z,null)))))),Bt.createElement(ae.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,at.GJ)()&&sa&&Bt.createElement("span",null,Bt.createElement("span",{style:{color:"red"}},"*"),"\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")),Bt.createElement(ne.default,{className:`mt30 ${et.TableDom}`,loading:xn["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:cr=>({onClick:ma=>{var Ha,Da;if(!((Ha=ua.homework_status)!=null&&Ha.includes("\u5BFC\u5165"))){if((0,at.Rm)()&&!((Da=rn.AssistantObject.hack)!=null&&Da.can_view)){E.ZP.warning(sn.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}window.open(`/classrooms/${An.coursesId}/program_homework/${An.categoryId}/${cr.id}/${cr.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:ua.student_works,columns:oa,onChange:(cr,ma,Ha)=>{Ha.field&&(An.order=Ha.field==="score"?"work_score":Ha.field),Ha.order||(An.b_order="asc"),Ha.order==="ascend"&&(An.b_order="asc"),Ha.order==="descend"&&(An.b_order="desc"),Ha.order||(An.b_order="asc"),Ia()}}),Bt.createElement($e,null),Bt.createElement(yt,null),Bt.createElement(ve.Z,null)),Bt.createElement(fe.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:er,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>Rt(void 0,null,function*(){if(dn===2){if(kr.length<=0){E.ZP.info(sn.formatMessage({id:"classrooms.selectHomeworkStatus",defaultMessage:"\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001"}));return}if(!qn){E.ZP.info(sn.formatMessage({id:"classrooms.commentCannotEmpty",defaultMessage:"\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A"}));return}let cr=yield(0,be.ZP)(`/api/homework_commons/${An.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:An.categoryId,comment:qn,status:kr}});cr.status===0&&(Nn(cr),Zn(!1),aa(!0))}else{if(!(Ea===0||sr===0)){if(!Ea){E.ZP.info(sn.formatMessage({id:"classrooms.minScoreCannotEmpty",defaultMessage:"\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A"}));return}if(!sr){E.ZP.info(sn.formatMessage({id:"classrooms.maxScoreCannotEmpty",defaultMessage:"\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A"}));return}}if(Ea>sr){E.ZP.info(sn.formatMessage({id:"classrooms.maxNotGreaterThanMin",defaultMessage:"\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206"}));return}if(!qn){E.ZP.info(sn.formatMessage({id:"classrooms.commentCannotEmpty",defaultMessage:"\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A"}));return}let cr=yield(0,be.ZP)(`/api/homework_commons/${An.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:An.categoryId,comment:qn,min_score:Ea,max_score:sr}});cr.status===0&&(Nn(cr),Zn(!1),aa(!0))}}),onCancel:()=>{Zn(!1),Qi()}},Bt.createElement("div",{style:{padding:"32px"}},Bt.createElement("div",null,Bt.createElement("div",null,Bt.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),Bt.createElement(z.ZP.Group,{value:dn,onChange:cr=>{Yn(cr.target.value)}},Bt.createElement(z.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),Bt.createElement(z.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),dn===1&&Bt.createElement("div",{style:{display:"flex",marginTop:"20px"}},Bt.createElement("span",{style:{width:"70px",textAlign:"end"}},Bt.createElement("span",{style:{color:"red"}},"*"),sn.formatMessage({id:"classrooms.lowestScore",defaultMessage:"\u6700\u4F4E\u5206"}),"\uFF1A"),Bt.createElement(y.Z,{min:0,max:100,value:Ea,onChange:cr=>Hn(cr),style:{width:"100px"}}),Bt.createElement("span",{style:{width:"80px",textAlign:"end"}},Bt.createElement("span",{style:{color:"red"}},"*"),sn.formatMessage({id:"classrooms.highestScore",defaultMessage:"\u6700\u9AD8\u5206"}),"\uFF1A"),Bt.createElement(y.Z,{min:0,max:100,value:sr,onChange:cr=>gr(cr),style:{width:"100px"}})),dn===2&&Bt.createElement("div",{style:{display:"flex",marginTop:"20px"}},Bt.createElement("span",{style:{width:"80px"}},sn.formatMessage({id:"classroomClassroomExperiments.homeworkStatus",defaultMessage:"\u4F5C\u4E1A\u72B6\u6001"}),"\uFF1A"),Bt.createElement(oe.default.Group,{onChange:cr=>{Ca([...cr])},style:{width:"100%"}},(Ao=ua.task_status)==null?void 0:Ao.map((cr,ma)=>Bt.createElement(oe.default,{name:"task_status",value:cr.id},cr.name,"(",cr.count,")")))),Bt.createElement("div",{style:{display:"flex",marginTop:"20px"}},Bt.createElement("span",{style:{width:"70px",textAlign:"end"}},Bt.createElement("span",{style:{color:"red"}},"*"),sn.formatMessage({id:"classroomGraphicGroupHomework.comment",defaultMessage:"\u8BC4\u8BED"}),"\uFF1A"),Bt.createElement(_e.Z,{className:et.MdEditor,onChange:cr=>Mo(cr),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),Bt.createElement(fe.default,{open:ga,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>Rt(void 0,null,function*(){dn===2?(yield(0,be.ZP)(`/api/homework_commons/${An.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:An.categoryId,comment:qn,status:kr}})).status===0&&(E.ZP.info(sn.formatMessage({id:"classrooms.returnSuccess",defaultMessage:"\u6253\u56DE\u6210\u529F"})),Qi(),Ia(),aa(!1)):(yield(0,be.ZP)(`/api/homework_commons/${An.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:An.categoryId,comment:qn,min_score:Ea,max_score:sr}})).status===0&&(E.ZP.info(sn.formatMessage({id:"classrooms.returnSuccess",defaultMessage:"\u6253\u56DE\u6210\u529F"})),Qi(),Ia(),aa(!1))}),onCancel:()=>{Qi(),aa(!1)}},Bt.createElement("div",{style:{padding:"32px"}},dn===1&&Bt.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",Ea,"-",sr,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),dn===2&&Bt.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Ga=ua.task_status)==null?void 0:Ga.filter(cr=>kr==null?void 0:kr.includes(cr.id)).map(cr=>cr.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Bt.createElement("br",null),Bt.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",on==null?void 0:on.count,"\u540D\u5B66\u751F")))),Bt.createElement(Ie,null),Bt.createElement(Et,{isShow:pa,setIsShow:Ba,item:va,coursesId:An.coursesId,categoryId:An.categoryId}),Bt.createElement("aside",{className:"tc mb50 mt30"},Bt.createElement(a.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:ts,current:An.page||1,defaultPageSize:20,total:ua.work_count})))};var mn=(0,Ce.connect)(({shixunHomeworks:$t,classroomList:rn,globalSetting:nn,loading:xn,user:In})=>({shixunHomeworks:$t,classroomList:rn,globalSetting:nn,loading:xn.effects,user:In}))(qt)},17569:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return y}});var me=pe(59301),Qe=pe(58024),E=pe(43418),we=pe(3113),fe=pe(71418),ue=pe(50686),oe=pe(72895),ae=pe(87498),le=pe(24334),re=pe(66649),se=pe.n(re),ie=pe(28233),ne=pe(59301),z=(a,x,b)=>new Promise((ee,te)=>{var de=ye=>{try{ve(b.next(ye))}catch(be){te(be)}},ge=ye=>{try{ve(b.throw(ye))}catch(be){te(be)}},ve=ye=>ye.done?ee(ye.value):Promise.resolve(ye.value).then(de,ge);ve((b=b.apply(a,x)).next())}),y=({open:a,onClose:x})=>{const[b,ee]=(0,me.useState)(void 0);console.log((0,Qe.useLocation)(),33);const te=(0,Qe.useLocation)();(0,me.useEffect)(()=>{a&&function(){return z(this,null,function*(){const it=yield(0,ue.X6)(a);ee(it.data)})}()},[a]);const{status:de,created_at:ge,code:ve,name:ye,language:be,pass_sets_count:Ce,set_count:Se,error_msg:Pe,output:Be,input:Ue,expected_output:Ee,execute_memory:He,user:Oe,execute_time:ke,input_file_url:Xe,output_file_url:$e,is_file:ze,expected_output_file_url:at}=b||{};return ne.createElement(E.default,{open:a,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(we.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(fe.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:de===0?"c-green":"c-red"},oe.Im[de])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,se()(ge).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,be)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,ke*1e3,"ms")," "),ne.createElement("li",null," ",`${de===ie.h.HIDE_COMPILE_STATUS?"--":Ce} / ${Se} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,oe.gZ)({status:de,error_msg:Pe,execute_time:ke,output:Be,input:Ue,expected_output:Ee,input_file_url:Xe,output_file_url:$e,is_file:ze,expected_output_file_url:at}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ae.ZP,{height:"200px",width:"100%",language:be==null?void 0:be.toLocaleLowerCase(),value:le.Base64.decode(ve),options:{readOnly:!0}}))):null)))}},39284:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Im:function(){return Se},Y4:function(){return Be}});var me=pe(59301),Qe=pe(92832),E=pe(8591),we=pe(3113),fe=pe(96567),ue=pe(24334),oe=pe.n(ue),ae=pe(67209),le=pe(77433),re=pe(72481),se=pe(99770),ie=pe(34376),ne=pe.n(ie),z=pe(59729),y=pe(58024),a=pe(17569),x=pe(5137),b=pe(50686),ee=pe(87938),te=pe(28541),de=pe(92310),ge=pe.n(de),ve=pe(99473),ye=pe(59301),be=(He,Oe,ke)=>new Promise((Xe,$e)=>{var ze=it=>{try{et(ke.next(it))}catch(At){$e(At)}},at=it=>{try{et(ke.throw(it))}catch(At){$e(At)}},et=it=>it.done?Xe(it.value):Promise.resolve(it.value).then(ze,at);et((ke=ke.apply(He,Oe)).next())});const{TextArea:Ce}=Qe.default,Se={[fe.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[fe.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[fe.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(He=>(He[He.SET_VISIBLE=0]="SET_VISIBLE",He[He.SET_TABINDEX=1]="SET_TABINDEX",He))(Pe||{});function Be(He){const Oe=(0,y.useIntl)(),{status:ke,error_msg:Xe,output:$e,input:ze,expected_output:at,is_file:et,input_file_url:it,output_file_url:At,expected_output_file_url:ot,setMonacoValue:rt,setData:lt}=He,gt=(0,me.useRef)(),yt=(0,me.useRef)(),Tt=(0,me.useRef)();let vt=null;const ut={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,me.useEffect)(()=>{if($e&&!et&>.current){const qe=new ie.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});qe.open(gt.current);const je=(0,se.pp)(ue.Base64.decode($e));qe.write(je),qe.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{qe.scrollToTop()}catch(Ve){}},100)}if(ze&&!et&&yt.current){const qe=new ie.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});qe.open(yt.current),qe.write((0,se.pp)(ze)),qe.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{qe.scrollToTop()}catch(je){}},100)}if(at&&!et&&Tt.current){const qe=new ie.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});qe.open(Tt.current),qe.write((0,se.pp)(ue.Base64.decode(at))),qe.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{qe.scrollToTop()}catch(je){}},100)}},[$e]),ke){case fe.h.NOMATCH:vt=ye.createElement(ye.Fragment,null,ye.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!et&&ye.createElement("div",{ref:gt}),et&&ye.createElement("div",{style:ut},ye.createElement("a",{style:{fontSize:"16px"},onClick:()=>be(this,null,function*(){const qe=yield(0,z.ZP)(At,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});rt(qe),setTimeout(()=>{lt(At)},200)})},$e)),ye.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!et&&ye.createElement("div",{ref:Tt}),et&&ye.createElement("div",{style:ut},ye.createElement("a",{style:{fontSize:"16px"},onClick:()=>be(this,null,function*(){const qe=yield fetch(ot,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});rt(yield qe.text()),setTimeout(()=>{lt(ot)},200)})},at)));break;case fe.h.EXECUTEFAILURE:vt=ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{border:"1px #F6F7F9 solid"}},ye.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!et&&ye.createElement(re.Z,{value:ze,style:ut}),et&&ye.createElement("div",{style:ut},ye.createElement("a",{onClick:()=>(0,se.LR)(it,ze)},ze))),ye.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},ye.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ye.createElement("pre",{className:ae.Z.error,style:{color:"#E30000",padding:"0 10px"}},ue.Base64.decode(Xe),"111")));break;case fe.h.COMPILEFAILURE:vt=ye.createElement(ye.Fragment,null,ye.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ye.createElement("pre",{className:ae.Z.error},ue.Base64.decode(Xe)));break;case fe.h.PODFAILURE:vt=ye.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case fe.h.TIMEOUT:vt=ye.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ye.createElement(ye.Fragment,null," ",vt," ")}function Ue(He){const Oe=(0,y.useIntl)(),{status:ke,error_msg:Xe,execute_time:$e,output:ze,input:at,expected_output:et,is_file:it,input_file_url:At,output_file_url:ot,expected_output_file_url:rt}=He;let lt=null;switch(ke){case fe.h.OK:case fe.h.NOMATCH:case fe.h.EXECUTEFAILURE:case fe.h.COMPILEFAILURE:lt=ye.createElement("div",{id:"outputResultRef",className:"h100"});break;case fe.h.PODFAILURE:lt=ye.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case fe.h.TIMEOUT:lt=ye.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ye.createElement(ye.Fragment,null," ",lt," ")}function Ee({value:He,className:Oe}){return ye.createElement("span",{className:Oe},He)}Mt.ZP=({input:He,is_file:Oe,debuging:ke,submitting:Xe,executingMessage:$e,debugResult:ze,onChangeInput:at,onDebugCode:et,onSubmitCode:it,hack:At,user:ot,submitResult:rt,isWhiteTheme:lt,topDispatch:gt})=>{const yt=(0,y.useIntl)(),[Tt]=(0,y.useSearchParams)(),vt=(0,y.useParams)(),[ut,qe]=(0,me.useState)(!1),[je,Ve]=(0,me.useState)(!1),[Ie,_e]=(0,me.useState)(1),[Fe,De]=(0,me.useState)(!1),[Te,Ne]=(0,me.useState)(0),[Le,Ge]=(0,me.useState)(!1),[dt,mt]=(0,me.useState)(""),[st,Et]=(0,me.useState)(""),Bt=(0,me.useRef)(),wt=(0,me.useRef)(),Lt=(0,me.useRef)(null),Ft=(0,me.useRef)(null),Nt=(0,me.useRef)(null);console.log(rt,"submitResult",vt);const{status:bt,id:Dt,input:Rt,output:Ut,expected_output:qt,is_file:mn,input_file_url:$t,output_file_url:rn,expected_output_file_url:nn,error_msg:xn,hack_sets:In}=rt||{};(0,me.useEffect)(()=>{bt===0&&(_e(1),Ne(0))},[bt,Dt]),(0,me.useEffect)(()=>{be(void 0,null,function*(){var Er;const Oa=yield(0,b.rX)(vt==null?void 0:vt.id,"submit");(Oa==null?void 0:Oa.status)===0&&(Oa!=null&&Oa.data&&((Er=Oa==null?void 0:Oa.data)==null?void 0:Er.status)!==0?(gt({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:Oa==null?void 0:Oa.data}}),_e(2),Ne(320)):(_e(1),Ne(0)))})},[vt==null?void 0:vt.id]),(0,me.useEffect)(()=>{if(Bt.current){let Mr=function(Pn){na=to.offsetHeight,Ao=!0,Ga=Pn.pageY,Nt.current.style.display="block"},Er=function(){Ao=!1,Nt.current.style.display="none"},Oa=function(Pn){if(Ao){Un();let An=Ga-Pn.pageY,xr=na+An;if(xr<0&&(xr=0),xr>window.innerHeight-150&&(xr=window.innerHeight-150),Ie===1){xr<=34?Ne(0):Ne(xr);return}console.log(xr,"resizeH"),Ne(xr)}};const to=Lt.current;let na=0,Ao=!1,Ga=0;const sn=document.getElementById("case-y-bar");return sn==null||sn.addEventListener("mousedown",Mr),document.addEventListener("mousemove",Oa),document.addEventListener("mouseup",Er),()=>{const Pn=document.getElementById("case-y-bar");Pn==null||Pn.removeEventListener("mousedown",Mr),document.removeEventListener("mousemove",Oa),document.removeEventListener("mouseup",Er)}}},[Bt,Ie]),(0,me.useEffect)(()=>{const Mr=x.Z.subscribe("resize-move-bar",Un);if(Tt.get("type")!=="exercises")return document.addEventListener((0,ve.gH)(),En),()=>{document.removeEventListener((0,ve.gH)(),En),Mr()}},[]),(0,me.useEffect)(()=>{});function Un(){var Mr,Er,Oa,to;const na=document.getElementById("outputResultRef");if(na){let Ao=na.dataset.text;wt.current.reset(),wt.current.writeln(Ao);const Ga=document.getElementById("outputResultRef").offsetWidth-20,sn=((to=(Oa=(Er=(Mr=wt.current)==null?void 0:Mr._core)==null?void 0:Er._renderService)==null?void 0:Oa.dimensions)==null?void 0:to.actualCellWidth)||10,Pn=Math.ceil(Ga/sn);wt.current.resize(Pn,Math.ceil(na.clientHeight/16))}}function ir(){qe(!ut),setTimeout(()=>{Un()},300),Ne(ut?320:window.innerHeight-150)}function yr(){je?(Ve(!1),(0,ve.BU)()):(Ve(!0),(0,ve.Dj)(Ft.current))}const En=Mr=>{(0,ve.vp)()||Ve(!1)},Dr=(0,me.useMemo)(()=>{if(ze){const{status:Mr,output:Er,error_msg:Oa}=ze;return setTimeout(()=>{let to="",na=document.getElementById("outputResultRef");Er?to=ue.Base64.decode(Er):Oa&&(to=ue.Base64.decode(Oa)),wt.current=new ie.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),wt.current.open(na),wt.current.onKey(function(Ao){var Ga;if(Ao.domEvent.key.toLocaleUpperCase()==="C"&&Ao.domEvent.ctrlKey){Ao.domEvent.preventDefault();let sn=(Ga=wt.current)==null?void 0:Ga.getSelection();navigator.clipboard.writeText(sn).then(()=>{})}}),na.dataset.text=to,wt.current.setOption("convertEol",!0),Un()},300),ye.createElement(ye.Fragment,null,Ue(ze))}return null},[ze]);function ta(){var Mr,Er;if(!(At!=null&&At.code)||((Mr=At==null?void 0:At.code)==null?void 0:Mr.trim().length)===0){(Er=E.ZP)==null||Er.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}_e(1),Ne(320),et()}const Fr=Mr=>be(void 0,null,function*(){let Er=yield(0,z.ZP)(`/api/problems/${Mr}/start.json`,{method:"get",params:{hack_user_id:ot==null?void 0:ot.user_id}});Er&&(window.location.href=`/myproblems/${Er==null?void 0:Er.identifier}${window.location.search}`)});function Vr(){mn?navigator.clipboard.writeText(ue.Base64.decode(xn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ue.Base64.decode(Ut)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return ye.createElement(me.Fragment,null,ye.createElement("div",{className:ge()(ae.Z.case,lt&&ae.Z.whiteCase),style:{height:Te},ref:Lt},ye.createElement("div",{className:ae.Z.fullMask,ref:Nt}),ye.createElement("div",{className:ae.Z["resize-y-bar"],id:"case-y-bar",ref:Bt,draggable:!1},Ie===2&&ye.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Ie===1&&(Te<=34?ye.createElement("div",{onClick:()=>{Ne(320)},className:ae.Z.unfoldBtn},"\u63A7\u5236\u53F0",ye.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):ye.createElement("div",{onClick:()=>{Ne(0)},className:ae.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",ye.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),ye.createElement("div",null,ye.createElement("div",{className:ae.Z.caseHead},ye.createElement("div",{className:ae.Z.dot}),ye.createElement("div",{className:ae.Z.text},Ie===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Ie===2&&!Xe&&typeof bt=="number"&&ye.createElement(ye.Fragment,null,bt===fe.h.OK?ye.createElement("div",{className:ae.Z.pass},ye.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):ye.createElement("div",{className:ae.Z.noPass},ye.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),Se[bt])),ye.createElement("div",{className:ae.Z.btns},Ie===2&&!Xe&&ye.createElement(ye.Fragment,null,bt!==fe.h.OK&&ye.createElement("div",{onClick:Vr},ye.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),ye.createElement("div",{onClick:()=>{Ge(Dt)}},ye.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),Tt.get("type")!=="exercises"&&ye.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>ir()},ye.createElement("i",{className:`iconfont icon-${ut?"suoxiao1":"fangda"}`})))),ye.createElement("div",{style:{display:Ie===1?"block":"none"}},ke?ye.createElement(le.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ye.createElement("div",{style:{height:Te-34}},ye.createElement("div",{className:ae.Z.result},ye.createElement("div",{className:ae.Z.left},ye.createElement("div",{className:ae.Z.title},ye.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,yt.formatMessage({id:"questionBankAddQuestion.customTestCase",defaultMessage:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"}))),ye.createElement("div",{className:ae.Z.leftNode},ye.createElement(Ce,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Oe?"":He,onChange:at}))),ye.createElement("div",{className:ae.Z.right},ye.createElement("div",{className:ae.Z.title},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ye.createElement("span",null,yt.formatMessage({id:"questionBankAddQuestion.codeExecutionResult",defaultMessage:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"}))),ye.createElement("div",{className:ae.Z.node},ze?Dr:ye.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),ye.createElement("div",{style:{display:Ie===2?"block":"none"}},Xe?ye.createElement(le.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ye.createElement("div",{style:{height:Te-34,display:"flex",flexDirection:"column",overflow:"hidden"}},ye.createElement("div",{ref:Ft,className:ae.Z.elseNode},ye.createElement("div",{className:ae.Z.nameWrap},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),ye.createElement("div",{className:ae.Z.scroll},ye.createElement("pre",{className:ae.Z.scrollBox,style:Fe?{height:je?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!mn&&ye.createElement(Ee,{value:Rt}),mn&&ye.createElement("a",{style:{fontSize:"16px"},onClick:()=>be(void 0,null,function*(){const Mr=yield fetch($t,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Et(yield Mr.text()),setTimeout(()=>{mt($t)},200)})},Rt)),Rt&&ye.createElement("div",{className:ae.Z.action},ye.createElement("span",{onClick:()=>De(!Fe)},Fe?"\u6536\u8D77":"\u5C55\u5F00"),Tt.get("type")!=="exercises"&&ye.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>yr(),className:`iconfont icon-${je?"suoxiao1":"fangda"}`})))),ye.createElement("div",{className:ae.Z.result,style:{flex:1,overflow:"hidden"}},ye.createElement("div",{className:ae.Z.left},ye.createElement("div",{className:ae.Z.title},ye.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),ye.createElement("div",{className:ae.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},ye.createElement("pre",null,!mn&&ye.createElement(Ee,{className:"mb10",value:qt&&ue.Base64.decode(qt)||""}),mn&&ye.createElement("a",{style:{fontSize:"16px"},onClick:()=>be(void 0,null,function*(){const Mr=yield fetch(nn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Et(yield Mr.text()),setTimeout(()=>{mt(nn)},200)})},qt)))),ye.createElement("div",{className:ae.Z.right},ye.createElement("div",{className:ae.Z.title},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ye.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),ye.createElement("div",{className:ae.Z.node,style:{color:bt===fe.h.OK?"#2ABD8C":"#FF2C29"}},ye.createElement("pre",null,(bt===4||bt===5)&&ye.createElement(Ee,{className:"mb10",value:xn&&ue.Base64.decode(xn)||""}),bt!=4&&bt!=5&&(mn?ye.createElement("a",{style:{fontSize:"16px"},onClick:()=>be(void 0,null,function*(){const Mr=yield(0,z.ZP)(rn,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{Et(Mr)}catch(Er){Et("")}setTimeout(()=>{mt(rn)},200)})},Ut):ye.createElement(Ee,{className:"mb10",value:Ut&&ue.Base64.decode(Ut)||""})))))))))),ye.createElement("div",{className:ge()(ae.Z.footer,lt&&ae.Z.whiteFooter),style:{zIndex:100}},(At==null?void 0:At.is_program)&&(At==null?void 0:At.above_question)&&ye.createElement(we.ZP,{className:"mr10",type:"primary",onClick:()=>Fr(At==null?void 0:At.above_question),id:"oj-prev",ghost:!0},yt.formatMessage({id:"testPaperBank.previousQuestion",defaultMessage:"\u4E0A\u4E00\u9898"})),(At==null?void 0:At.is_program)&&(At==null?void 0:At.under_question)&&ye.createElement(we.ZP,{className:"mr10",type:"primary",onClick:()=>Fr(At==null?void 0:At.under_question),id:"oj-next",ghost:!0},yt.formatMessage({id:"testPaperBank.nextQuestion",defaultMessage:"\u4E0B\u4E00\u9898"})),ye.createElement(we.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:ke||Xe,loading:ke,color:"#2ABD8C",className:"mr10",onClick:ta},yt.formatMessage({id:"questionBankAddQuestion.debugCode",defaultMessage:"\u8C03\u8BD5\u4EE3\u7801"})),Tt.get("qtype")!=="8"&&ye.createElement(we.ZP,{className:ae.Z.disabled,type:"primary",icon:ye.createElement("i",{className:"iconfont icon-bofang1"}),loading:Xe,disabled:ke||Xe,onClick:()=>{var Mr,Er;if(!(At!=null&&At.code)||((Mr=At==null?void 0:At.code)==null?void 0:Mr.trim().length)===0){(Er=E.ZP)==null||Er.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}_e(2),Ne(320),it()}},yt.formatMessage({id:"questionBankAddQuestion.evaluateAndSubmit",defaultMessage:"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"}))),ye.createElement(a.Z,{onClose:Ge,open:Le}),ye.createElement(te.Z,{close:!0,data:dt,type:dt.length?"txt":"",onClose:()=>mt(""),monacoEditor:{value:st,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},87938:function(Jt,Mt,pe){"use strict";pe.r(Mt),pe.d(Mt,{Types:function(){return bi},default:function(){return Ps}});var me=pe(59301),Qe=pe(58024),E=pe(31797),we=pe(43418),fe=pe(71418),ue=pe(3113),oe=pe(6848),ae=pe(95237),le=pe(50686),re=pe(14135),se=pe(99473),ie=pe(75950),ne=pe(29701),z=pe(87169),y=pe(43428),a=pe(87498),x=pe(31020),b=pe(68142),ee=pe(39670),te=pe(8591),de={list:"list___IRN6i",copy:"copy___qCn9B"},ge=pe(56102),ve=pe(59729),ye=(bn,ar,Rr)=>new Promise((uo,Oo)=>{var ho=ur=>{try{pr(Rr.next(ur))}catch(Br){Oo(Br)}},Nr=ur=>{try{pr(Rr.throw(ur))}catch(Br){Oo(Br)}},pr=ur=>ur.done?uo(ur.value):Promise.resolve(ur.value).then(ho,Nr);pr((Rr=Rr.apply(bn,ar)).next())}),Ce=({showResourceCentre:bn,identifier:ar})=>{const Rr=(0,Qe.useParams)(),[uo,Oo]=(0,me.useState)(null);(0,me.useEffect)(()=>{bn&&ho()},[bn]);const ho=()=>ye(void 0,null,function*(){const Nr=yield(0,ve.ZP)(`/api/problems/${ar}/attachment_list.json`,{method:"get"});(Nr==null?void 0:Nr.status)==0&&Oo(Nr.data||[])});return me.createElement("div",{className:"tpi-code-setting"},me.createElement("h3",null,"\u8D44\u6E90\u4E2D\u5FC3"),!(uo!=null&&uo.length)&&me.createElement("div",{className:"tc mt50 c-grey-999"},"\u6682\u65E0\u8D44\u6E90\u6570\u636E"),uo==null?void 0:uo.map((Nr,pr)=>me.createElement("dl",{className:de.list,key:pr},me.createElement(oe.Z,{title:Nr.title},me.createElement("dt",null,me.createElement("i",{className:"icon-wenjian4 mr5"}),Nr.title)),me.createElement("dd",null,me.createElement(ge.CopyToClipboard,{text:Nr.saved_file_path,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},me.createElement("span",{className:`${de.copy} current`},"\u70B9\u51FB\u590D\u5236"))))))},Se=pe(59301),Pe=Object.defineProperty,Be=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,ke=(bn,ar,Rr)=>ar in bn?Pe(bn,ar,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):bn[ar]=Rr,Xe=(bn,ar)=>{for(var Rr in ar||(ar={}))He.call(ar,Rr)&&ke(bn,Rr,ar[Rr]);if(Ee)for(var Rr of Ee(ar))Oe.call(ar,Rr)&&ke(bn,Rr,ar[Rr]);return bn},$e=(bn,ar)=>Be(bn,Ue(ar));const ze={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0),showResourceCentre:!1};var at=(bn=>(bn[bn.set_font_size=0]="set_font_size",bn[bn.set_theme=1]="set_theme",bn[bn.on_tab_to_space=2]="on_tab_to_space",bn[bn.set_show_editor_setting=3]="set_show_editor_setting",bn[bn.set_show_respurce_center=4]="set_show_respurce_center",bn))(at||{});function et(bn,ar){switch(ar.type){case 3:return $e(Xe({},bn),{showEditorSetting:ar.payload});case 1:return $e(Xe({},bn),{theme:ar.payload});case 0:return $e(Xe({},bn),{fontSize:ar.payload});case 2:return $e(Xe({},bn),{tabToSpace:ar.payload});case 4:return $e(Xe({},bn),{showResourceCentre:ar.payload});default:throw new Error}}var it=({isLoading:bn,value:ar,onChange:Rr,language:uo,onUpdateCode:Oo,ActionBarRender:ho,setIsWhiteTheme:Nr,identifier:pr})=>{const[ur,Br]=(0,me.useReducer)(et,ze),{theme:Ta,fontSize:Qr,showEditorSetting:bo,tabToSpace:oo,showResourceCentre:To}=ur,No=(0,me.useRef)(),Xo=(0,me.useRef)();(0,me.useEffect)(()=>{Nr(Ta==="vs")},[Ta]);const no={onFontSizeChange:_n=>{Br({type:0,payload:_n}),(0,b.t)("cmFontSize",_n)},tabToSpace:oo,cmFontSize:Qr,className:"oj",cmCodeMode:Ta,onTabToSpace:_n=>{Br({type:2,payload:_n}),(0,b.t)("cmTabToSpace",_n)},onCodeModeChange:_n=>{Br({type:1,payload:_n}),(0,b.t)("ProgrammingCodeMode",_n)}};function ci(){Br({type:3,payload:!1})}function Zo(){Br({type:3,payload:!0})}function xa(){Br({type:4,payload:!1})}function jn(){Br({type:4,payload:!0})}const Dn={value:ar,language:uo,theme:Ta,options:{fontSize:Qr,insertSpaces:oo},onChange:_n=>{Rr(_n),Xo.current=_n,clearTimeout(No.current),No.current=setTimeout(()=>{Oo(Xo.current)},1e4)},onEditBlur:_n=>{Xo.current&&Oo(Xo.current)}};return Se.createElement(me.Fragment,null,ho(Zo,jn),Se.createElement("div",{style:{flex:1,overflow:"hidden"}},!bn&&Se.createElement(a.ZP,Xe({},Dn))),Se.createElement(x.Z,null,Se.createElement(y.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:bo,onClose:ci},Se.createElement(ee.Z,Xe({},no)))),Se.createElement(x.Z,null,Se.createElement(y.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:To,onClose:xa},Se.createElement(Ce,{showResourceCentre:To,identifier:pr}))))},At=pe(60141),ot=pe(24334),rt=pe(39284),lt={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},gt={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},yt=pe(1710),Tt=pe(58421),vt=pe(58617),ut=pe(17569),qe=pe(66649),je=pe.n(qe),Ve=pe(59301);const{Column:Ie}=yt.default;var _e=({submitResult:bn,submitting:ar,submitRecords:Rr,page:uo,onPageChange:Oo,topicId:ho})=>{const[Nr]=(0,Qe.useSearchParams)(),{records:pr,records_count:ur}=Rr||{},[Br,Ta]=(0,me.useState)(!1),Qr=Nr.get("type")==="1";return Ve.createElement(fe.Z,{spinning:ar,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ve.createElement(vt.Z,{style:{fontSize:24},spin:!0})},(pr==null?void 0:pr.length)>0?Ve.createElement(yt.default,{dataSource:pr,rowKey:"id",pagination:!1},Ve.createElement(Ie,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(bo,oo)=>Ve.createElement("span",null," ",je()(bo).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(Ie,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(bo,oo)=>{var To;return Ve.createElement("span",{className:`${bo===0?"c-green":"c-red"} current`,onClick:()=>{Ta(oo.id)}},(To=rt.Im[bo])==null?void 0:To.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(Ie,{title:`\u6267\u884C\u7528\u65F6 (${Qr?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:bo=>bo?Qr?bo:bo/1e3:""}),Ve.createElement(Ie,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Qr?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:bo=>bo?Qr?bo:parseFloat((bo/1024).toFixed(2)):""}),Ve.createElement(Ie,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(Ie,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(bo,oo)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{Ta(oo.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(ut.Z,{onClose:Ta,open:Br}),ur>15?Ve.createElement(Tt.Z,{className:gt.pagination,current:uo,pageSize:15,total:ur,onChange:Oo}):null)},Fe=pe(64398),De=pe(12563),Te={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ne=pe(72481),Le=pe(59301),Ge=({hack:bn})=>{const ar=(0,Qe.useIntl)(),{language:Rr,difficult:uo,time_limit:Oo,description:ho}=bn,[Nr]=(0,Qe.useSearchParams)(),ur={1:{name:ar.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),color:"#52c41a"},2:{name:ar.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),color:"#faad14"},3:{name:ar.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"}),color:"#f5222d"}}[uo];return Le.createElement(Le.Fragment,null,Le.createElement("ul",{className:Te.info},Le.createElement("li",null,ar.formatMessage({id:"problemset.questionBankAddQuestion",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"}),"\xA0\xA0",Le.createElement("b",{className:Te.info_tag},Rr)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},ar.formatMessage({id:"questionBankList.difficulty",defaultMessage:"\u96BE\u5EA6"})),"\xA0\xA0",Le.createElement(De.default,{color:ur==null?void 0:ur.color},ur==null?void 0:ur.name)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Le.createElement("span",{style:{color:"#333333"}},Oo,"\u79D2"))),Nr.get("qtype")==="8"?Le.createElement(Ne.Z,{value:ho,showProgramFill:!0,className:Te.desc}):Le.createElement(Ne.Z,{value:ho,className:Te.desc}))},dt={},mt=pe(59301),st=({hack:bn,current_user:ar})=>mt.createElement("div",{className:dt.answer},bn!=null&&bn.answer_text?mt.createElement(Ne.Z,{style:{padding:"13px 0"},value:(bn==null?void 0:bn.answer_text)||""}):mt.createElement(Fe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Et=pe(5137);function Bt(bn,ar){return(0,ve.U2)(`/problems/${bn}/comments.json`,{page:ar,limit:10})}function wt(bn){return(0,ve.v_)(`/discusses/${bn}/plus.json`,{container_type:"Discuss",type:1})}function Lt(bn,ar,Rr){return(0,ve.v_)(`/problems/${bn}/comments/reply.json`,{comments:{content:Rr,parent_id:ar}})}function Ft(bn,ar){return(0,ve.v_)(`/problems/${bn}/comments.json`,{comments:{content:ar}})}function Nt(bn,ar,Rr){return(0,ve.v_)(`/problems/${bn}/comments/${ar}/hidden.json`,Rr)}function bt(bn,ar){return(0,ve.IV)(`/problems/${bn}/comments/${ar}`)}var Dt=pe(6261);function Rt({author:bn}){const ar=(0,Qe.useIntl)();return me.createElement("a",{href:`/users/${bn.login}`,target:"_blank"},me.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${bn.image_url}`,width:"50"}))}function Ut({data:bn,index:ar,parentDiscussIndex:Rr,user:uo,onSetActionType:Oo}){const ho=(0,Qe.useIntl)(),{author:Nr,can_delete:pr,content:ur,id:Br,time:Ta}=bn;function Qr(){Oo({id:Br,index:ar,type:"delete-discuss",parentDiscussIndex:Rr,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const bo=uo.admin||pr||Nr.user_id===uo.user_id;return me.createElement("div",{className:"discuss-item-container second-discuss "},me.createElement(Rt,{author:Nr}),me.createElement("section",null,me.createElement("div",{className:"discuss-info"},me.createElement("a",{href:`/users/${Nr.login}`,target:"_blank"},Nr.name),me.createElement("span",{className:"grey"},Ta),me.createElement("div",{className:"btn-group",style:{marginBottom:0}},bo?me.createElement("a",{onClick:Qr,title:ho.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"})},me.createElement("i",{className:"iconfont icon-shanchu"})):null)),me.createElement(Ne.Z,{className:"discuss-content",value:ur})))}var qt=({user:bn,data:ar,index:Rr,onPlusDiscuss:uo,onSetActionType:Oo,activeDiscussIndex:ho,onReplyDiscuss:Nr,onSetActiveDiscussIndex:pr})=>{const{content:ur,children:Br,hidden:Ta,id:Qr,praise_count:bo,time:oo,user_praise:To,can_delete:No,author:Xo}=ar;function no(){pr(Qr)}function ci(){uo(Qr,!To,Rr)}function Zo(){Oo({id:Qr,index:Rr,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function xa(){Oo({id:Qr,index:Rr,params:{hidden:Ta?"0":"1"},type:"hidden-discuss",message:Ta?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const jn=bn.admin||bn.user_id===Xo.user_id;return me.createElement("div",{className:"discuss-item-container",key:Qr},me.createElement(Rt,{author:Xo}),me.createElement("section",null,me.createElement("div",{className:"discuss-info"},me.createElement("a",{href:`/users/${Xo.login}`,target:"_blank"}," ",Xo.name," "),me.createElement("span",{className:"grey"},oo)),me.createElement(Ne.Z,{className:"discuss-content",value:ur}),Br&&Br.length>0?me.createElement("div",{className:"reply-discuss-container"},Br.map((Dn,_n)=>me.createElement(Ut,{key:Dn.id,data:Dn,index:_n,user:bn,onSetActionType:Oo,parentDiscussIndex:Rr}))):null,me.createElement("div",{className:"btn-group"},jn?me.createElement("a",{onClick:xa,title:Ta?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},me.createElement("i",{className:Ta?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,No&&(!Br||Br.length==0)?me.createElement("a",{onClick:Zo,title:intl.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"})},me.createElement("i",{className:"iconfont icon-shanchu"})):null,me.createElement("a",{onClick:no,title:"\u56DE\u590D"}," ",me.createElement("i",{className:"iconfont icon-huifu1"})," "),me.createElement("a",{onClick:ci,className:To?"c-orange":""},me.createElement("i",{className:To?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),me.createElement("span",null,bo||""))),me.createElement(Dt.Z,{id:Qr,activeDiscussIndex:ho,onReplyDiscuss:Nr})))},mn=pe(65052),$t={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},rn=pe(99672),nn=(bn,ar,Rr)=>new Promise((uo,Oo)=>{var ho=ur=>{try{pr(Rr.next(ur))}catch(Br){Oo(Br)}},Nr=ur=>{try{pr(Rr.throw(ur))}catch(Br){Oo(Br)}},pr=ur=>ur.done?uo(ur.value):Promise.resolve(ur.value).then(ho,Nr);pr((Rr=Rr.apply(bn,ar)).next())}),xn=({user_praise:bn,praise_count:ar,praisePlus:Rr,onCreateDiscuss:uo,discuss_count:Oo})=>{const[ho,Nr]=(0,me.useState)(!1),[pr,ur]=(0,me.useState)("");function Br(oo){ur(oo)}function Ta(){Nr(!0)}function Qr(){Nr(!1)}function bo(){return nn(this,null,function*(){uo(pr),ur(""),Nr(!1)})}return me.createElement("div",{className:`${$t["dis-input-editor-container"]} ${ho?$t.active:""} `},me.createElement("div",{className:ho?`hide ${$t["text-area"]}`:$t["text-area"]},me.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Ta}),me.createElement("a",null," ",me.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Oo," "),me.createElement("a",{className:"c-light-black",onClick:Rr,title:bn?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},me.createElement("i",{className:`mr3 ${bn?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),ar?me.createElement("span",null,ar):"")),ho?me.createElement("div",{className:$t["input-mask"],onClick:Qr}):null,me.createElement("div",{className:ho?$t["md-container"]:`${$t["md-container"]} hide`},me.createElement(rn.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:pr,height:240,onChange:Br}),me.createElement("div",{className:$t["tip-container"],onClick:Qr},me.createElement("a",{className:$t["btn-send"],onClick:bo}," \u53D1\u9001 "))))},In=pe(59301),Un=Object.defineProperty,ir=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,Fr=(bn,ar,Rr)=>ar in bn?Un(bn,ar,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):bn[ar]=Rr,Vr=(bn,ar)=>{for(var Rr in ar||(ar={}))Dr.call(ar,Rr)&&Fr(bn,Rr,ar[Rr]);if(En)for(var Rr of En(ar))ta.call(ar,Rr)&&Fr(bn,Rr,ar[Rr]);return bn},Mr=(bn,ar)=>ir(bn,yr(ar)),Er=(bn,ar,Rr)=>new Promise((uo,Oo)=>{var ho=ur=>{try{pr(Rr.next(ur))}catch(Br){Oo(Br)}},Nr=ur=>{try{pr(Rr.throw(ur))}catch(Br){Oo(Br)}},pr=ur=>ur.done?uo(ur.value):Promise.resolve(ur.value).then(ho,Nr);pr((Rr=Rr.apply(bn,ar)).next())});const Oa={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var to=(bn=>(bn[bn.GET_DISCUSSES=0]="GET_DISCUSSES",bn[bn.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",bn[bn.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",bn[bn.PLUS_DISCUSS=3]="PLUS_DISCUSS",bn[bn.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",bn[bn.SET_PAGE=5]="SET_PAGE",bn[bn.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",bn))(to||{});function na(bn,ar){switch(ar.type){case 6:return Mr(Vr({},bn),{loading:!0});case 0:return Vr(Vr({},bn),ar.payload);case 1:return Vr(Vr({},bn),ar.payload);case 4:return Vr(Vr({},bn),ar.payload);case 3:return Vr(Vr({},bn),ar.payload);case 5:return Mr(Vr({},bn),{page:ar.payload});case 2:return Vr(Vr({},bn),ar.payload);default:throw new Error}}var Ao=({user:bn,identifier:ar,hack:Rr,onTriggerPraise:uo,activeIndex:Oo})=>{const ho=(0,Qe.useIntl)(),[Nr,pr]=(0,me.useReducer)(na,Oa),{loading:ur,page:Br,data:Ta,count:Qr,actionType:bo,activeDiscussIndex:oo}=Nr,To=(0,me.useCallback)(()=>Er(void 0,null,function*(){pr({type:6});const _n=yield Bt(ar,Br),{comments:dr,disscuss_count:ha}=_n;pr({type:0,payload:{data:dr,count:ha,loading:!1}})}),[Br,ar]);(0,me.useEffect)(()=>{Oo==="2"&&To()},[ar,Br,Oo]);function No(_n){pr({type:5,payload:_n})}function Xo(_n){pr({type:4,payload:{actionType:_n}})}function no(_n){pr(oo===_n?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:_n}})}function ci(_n,dr,ha){return Er(this,null,function*(){try{const ya=yield wt(_n);Ta[ha].user_praise=dr,Ta[ha].praise_count=ya.praise_count,pr({type:3,payload:{data:[...Ta]}})}catch(ya){console.log(ya)}})}function Zo(){return Er(this,null,function*(){const{id:_n,params:dr,type:ha,index:ya,parentDiscussIndex:Tr}=bo;if(ha==="hidden-discuss"&&(yield Nt(ar,_n,dr),Tr?Ta[Tr].children[ya].hidden=dr.hidden==1:Ta[ya].hidden=dr.hidden==1,pr({type:4,payload:{actionType:null,data:[...Ta]}})),ha==="delete-discuss"){if(yield bt(ar,_n),Tr||Tr===0){let Ya=Ta[Tr].children;for(let Va=Ya.length-1;Va>=0;Va--)if(Ya[Va].id===_n){Ya.splice(Va,1);break}Ta[Tr].children=Ya}else for(let Ya=Ta.length-1;Ya>=0;Ya--)if(Ta[Ya].id===_n){Ta.splice(Ya,1);break}pr({type:4,payload:{actionType:null,data:[...Ta]}})}})}function xa(){pr({type:4,payload:{actionType:null}})}function jn(_n,dr){return Er(this,null,function*(){try{yield Lt(ar,_n,dr),To()}catch(ha){console.log(ha)}})}function Dn(_n){return Er(this,null,function*(){pr({type:6}),yield Ft(ar,_n),To()})}return In.createElement(In.Fragment,null,In.createElement("div",{className:"discuss-panel"},Ta.length===0?In.createElement(Fe.Z,null):Ta.map((_n,dr)=>In.createElement(qt,{onReplyDiscuss:jn,onPlusDiscuss:ci,onSetActiveDiscussIndex:no,onSetActionType:Xo,data:_n,index:dr,user:bn,activeDiscussIndex:oo})),Qr>10?In.createElement("div",{className:"pagination-container"},In.createElement(Tt.Z,{showQuickJumper:!0,onChange:No,current:Br,total:Qr})):null),In.createElement(xn,{user_praise:Rr.user_praise,praise_count:Rr.praises_count,praisePlus:uo,discuss_count:Rr.comments_count,onCreateDiscuss:Dn}),In.createElement(x.Z,null,In.createElement(we.default,{centered:!0,title:ho.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),open:!!bo,onOk:Zo,onCancel:xa},In.createElement("p",null,bo?bo.message:"")),In.createElement(mn.Z,null)))},Ga=pe(57809),sn=pe(92832),Pn=pe(65615),An={},xr=pe(59301),Wr=({hack:bn,current_user:ar})=>xr.createElement("div",{className:An.answer},bn!=null&&bn.analysis?xr.createElement(Ne.Z,{style:{padding:"13px 0"},value:(bn==null?void 0:bn.analysis)||""}):xr.createElement(Fe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),sa={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},La=pe(36381),ua=pe(43604),fa=pe(78241),nr=pe(5871),Bn=pe(64954),er=pe(59301);const{TextArea:Zn}=sn.default,{Panel:kr}=La.default;var Ca=({data:bn,hack:ar})=>{const Rr=(0,Qe.useIntl)();return console.log(bn,ar,"data"),ar!=null&&ar.is_file?er.createElement(Bn.Y2,{disabled:!0,className:sa.uploadTableWrapper,showScore:!ar.test_set_score,data:bn,isProgramHomework:!0}):er.createElement("div",{className:sa.hackSets},bn==null?void 0:bn.map((uo,Oo)=>er.createElement(La.default,{accordion:!0,bordered:!1,key:Oo,defaultActiveKey:Oo===0&&uo.id,className:sa.collapseWrapper,expandIcon:({isActive:ho})=>er.createElement("i",{className:`iconfont icon-weizhankai ${ho?sa.open:sa.close}`,style:{fontSize:14,transition:"all .2s"}})},er.createElement(kr,{key:uo.id,header:er.createElement(ae.Z,{align:"middle",justify:"space-between",wrap:!1},er.createElement(ua.Z,{className:sa.panelHeader},er.createElement("span",null,Rr.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),Oo+1)),er.createElement(ua.Z,{flex:1},er.createElement(ae.Z,{align:"middle",justify:"end",wrap:!1},!(ar!=null&&ar.test_set_score)&&er.createElement(ua.Z,{className:sa.rateInput},er.createElement("span",{className:"mr20"},Rr.formatMessage({id:"questionBankAddQuestion.scoringRatio",defaultMessage:"\u8BC4\u5206\u5360\u6BD4"})),er.createElement("div",null,er.createElement(fa.default.Item,{noStyle:!0},er.createElement(nr.Z,{value:uo==null?void 0:uo.score,className:sa.baseFormItem,min:0,max:100,disabled:!0}))),er.createElement("span",{className:"ml10"},"%")))))},er.createElement(fa.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},er.createElement(Zn,{readOnly:!0,value:uo==null?void 0:uo.input,rows:4})),er.createElement(fa.default.Item,{label:Rr.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"}),labelCol:{span:24}},er.createElement(Zn,{readOnly:!0,value:uo==null?void 0:uo.output,rows:4}))))))},ga={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},aa=pe(59301),Nn=(0,me.forwardRef)(({data:bn=[]},ar)=>{var Rr;const[uo,Oo]=(0,me.useState)(),ho=bn.filter(pr=>pr.show);(0,me.useEffect)(()=>{ho.length&&Oo(ho[0].id)},[bn==null?void 0:bn.length]);const Nr=((Rr=ho.find(pr=>pr.id===uo))==null?void 0:Rr.element)||null;return(0,me.useImperativeHandle)(ar,()=>({setActiveTab:pr=>Oo(pr)})),aa.createElement("div",{className:ga.tabs},aa.createElement("div",{className:ga.tabWarp},ho.map(pr=>aa.createElement("div",{onClick:()=>Oo(pr.id),className:`${ga.tab} ${pr.id===uo?ga.active:""}`,key:pr.id},pr.name))),aa.createElement("div",{className:ga.content},Nr))}),dn=pe(59301),Yn=Object.defineProperty,mr=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Hn=(bn,ar,Rr)=>ar in bn?Yn(bn,ar,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):bn[ar]=Rr,qn=(bn,ar)=>{for(var Rr in ar||(ar={}))gr.call(ar,Rr)&&Hn(bn,Rr,ar[Rr]);if(sr)for(var Rr of sr(ar))Ea.call(ar,Rr)&&Hn(bn,Rr,ar[Rr]);return bn},Mo=(bn,ar)=>mr(bn,wr(ar)),Ja=(bn,ar,Rr)=>new Promise((uo,Oo)=>{var ho=ur=>{try{pr(Rr.next(ur))}catch(Br){Oo(Br)}},Nr=ur=>{try{pr(Rr.throw(ur))}catch(Br){Oo(Br)}},pr=ur=>ur.done?uo(ur.value):Promise.resolve(ur.value).then(ho,Nr);pr((Rr=Rr.apply(bn,ar)).next())});const Wa={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Ni=({hack:bn,onTriggerPraise:ar,topicId:Rr,page:uo,onPageChange:Oo,user:ho,current_user:Nr,submitRecords:pr,submitting:ur,submitResult:Br,setActiveIndex:Ta,hack_sets:Qr})=>{var bo,oo;const To=(0,Qe.useIntl)(),[No]=(0,Qe.useSearchParams)(),[Xo,no]=(0,me.useState)("0"),ci=(0,Qe.useLocation)(),[Zo,xa]=(0,me.useState)(!1),[jn,Dn]=(0,me.useState)(null),[_n,dr]=(0,me.useState)([]),[ha,ya]=(0,me.useState)([]),[Tr,Ya]=(0,me.useState)({page:1,limit:10}),Va=(0,me.useRef)(null),eo=(0,me.useRef)(null);console.log(ho,"user");const zi={1:To.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),2:To.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),3:To.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"})};let[Ir,ti]=(0,me.useState)(Mo(qn({},(0,Qe.useParams)()),{page:1,per_page:20,name:""}));(0,me.useEffect)(()=>{eo.current&&(bn==null?void 0:bn.is_close_tips)===!1&&jn===null&&Dn(!0)},[eo.current,bn==null?void 0:bn.is_close_tips,jn]);function Di(){return Ja(this,null,function*(){yield(0,ve.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,me.useEffect)(()=>{Ta(Xo)},[Xo]);function Ti(co){return Ja(this,null,function*(){let Ka=co.target.id;if(Ka==="1"){let ks=yield(0,ve.ZP)(`/api/myproblems/${Ir.id}/redo_logs.json`,{method:"get",params:qn({},Tr)});(ks==null?void 0:ks.status)===0&&ya(ks==null?void 0:ks.data)}no(Ka)})}(0,me.useEffect)(()=>Et.Z.subscribe("to-commit-info",()=>{no("1"),Va.current&&Va.current.setActiveTab("1")}),[]),(0,me.useEffect)(()=>Et.Z.subscribe("to-reset-info",()=>{Ti({target:{id:"1"}}),Va.current&&Va.current.setActiveTab("2")}),[]);function wo(){no("2")}function $r(){return Ja(this,null,function*(){let co=yield(0,ve.ZP)("/api/problems/my_hack_list.json",{method:"get",params:qn({identifier:Ir==null?void 0:Ir.id},Ir)});dr(co)})}const Ki=[{title:null,description:dn.createElement("div",null,dn.createElement("b",{onClick:()=>{Dn(!1),Di(),xa(!0),$r()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),dn.createElement("div",{className:"c-grey-333 mt10 mb20"},To.formatMessage({id:"classroomProgrammingHomework.findAllRequiredQuestionsHere",defaultMessage:"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"})),dn.createElement(ue.ZP,{onClick:()=>{Dn(!1),Di()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>eo.current}];return dn.createElement("div",{className:lt["left-panel"]},dn.createElement("ul",{className:`${lt["s-navs"]} ${lt["bg-white"]} ${lt.b1}`},(bn==null?void 0:bn.is_program)&&!No.get("pageId")&&dn.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},dn.createElement("div",{onClick:()=>{$r(),xa(!0)},className:lt.btns,ref:eo,style:jn?{pointerEvents:"none"}:{}},dn.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),dn.createElement("li",{style:{marginLeft:20}},dn.createElement("a",{className:Xo==="0"?lt.active:"",id:"0",onClick:Ti},To.formatMessage({id:"questionBankAddQuestion.questionDescription1",defaultMessage:"\u9898\u76EE\u63CF\u8FF0"}))),dn.createElement("li",null,dn.createElement("a",{className:Xo==="1"?lt.active:"",id:"1",onClick:Ti},To.formatMessage({id:"questionBankAddQuestion.operationRecords",defaultMessage:"\u64CD\u4F5C\u8BB0\u5F55"}))),(No.get("type")!=="exercises"&&(bn==null?void 0:bn.answer_text_show)||No.get("type")!=="exercises"&&(bn==null?void 0:bn.analysis_show))&&dn.createElement("li",null,dn.createElement("a",{className:Xo==="4"?lt.active:"",id:"4",onClick:Ti},"\u89E3\u7B54\u53C2\u8003")),No.get("type")!=="exercises"&&dn.createElement("li",null,dn.createElement("a",{className:Xo==="2"?lt.active:"",id:"2",onClick:Ti},To.formatMessage({id:"questionBankAddQuestion.comments",defaultMessage:"\u8BC4\u8BBA"}))),!!(Qr!=null&&Qr.length)&&No.get("type")!=="exercises"&&No.get("type")!=="1"&&dn.createElement("li",null,dn.createElement("a",{className:Xo==="5"?lt.active:"",id:"5",onClick:Ti},To.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"})))),dn.createElement("div",{className:`${lt["tab-panel-body"]} ${Xo==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},dn.createElement(Ge,{hack:bn,onTriggerPraise:ar,toDiscuss:wo})),dn.createElement("div",{style:{padding:"12px"},className:`${lt["tab-panel-body"]} ${Xo==="1"?"":"hide"}`},dn.createElement(Nn,{ref:Va,data:[{id:"1",show:No.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:dn.createElement(dn.Fragment,null,pr!=null&&pr.records_count||ur?dn.createElement(_e,{page:uo,onPageChange:Oo,topicId:Rr,submitting:ur,key:(Br==null?void 0:Br.id)||1,submitRecords:pr,submitResult:Br}):dn.createElement(Fe.Z,null))},{id:"2",show:No.get("type")==="exercises"||(bn==null?void 0:bn.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:dn.createElement(dn.Fragment,null,dn.createElement(yt.default,{pagination:!1,dataSource:ha==null?void 0:ha.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(co,Ka,ks)=>je()(co).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(co,Ka,ks)=>{var mu;return(mu=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(vu=>vu.id===co))==null?void 0:mu.name}}]}),dn.createElement(Tt.Z,{style:{marginTop:10},current:Tr.page,total:ha==null?void 0:ha.count,hideOnSinglePage:!0,onChange:co=>Ja(void 0,null,function*(){Tr.page=co,Ya(Tr);let Ka=yield(0,ve.ZP)(`/api/myproblems/${Ir.id}/redo_logs.json`,{method:"get",params:Mo(qn({},Tr),{courseId:Ir.courseId})});(Ka==null?void 0:Ka.status)===0&&ya(Ka==null?void 0:Ka.data)})}))}]})),dn.createElement("div",{style:{padding:"12px"},className:`${lt["tab-panel-body"]} ${Xo==="4"?"":"hide"}`},dn.createElement(Nn,{data:[{id:"1",show:No.get("type")!=="exercises"&&(bn==null?void 0:bn.answer_text_show),name:"\u7B54\u6848",element:dn.createElement(dn.Fragment,null,dn.createElement(st,{hack:bn,current_user:Nr}))},{id:"2",show:No.get("type")!=="exercises"&&(bn==null?void 0:bn.analysis_show),name:To.formatMessage({id:"testPaperBank.analysisNoAnalysis",defaultMessage:"\u89E3\u6790"}),element:dn.createElement(dn.Fragment,null,dn.createElement(Wr,{hack:bn,current_user:Nr}))}]})),dn.createElement("div",{className:`${lt["tab-panel-body"]} ${Xo==="2"?"":"hide"}`,style:{padding:0}},dn.createElement(Ao,{user:ho,activeIndex:Xo,identifier:bn.identifier,hack:bn,onTriggerPraise:ar})),dn.createElement("div",{className:`${lt["tab-panel-body"]} ${Xo==="5"?"":"hide"}`,style:{padding:12}},dn.createElement(Ca,{data:Qr||[],hack:bn})),dn.createElement(y.Z,{rootClassName:lt.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>xa(!1),open:Zo},dn.createElement(ae.Z,null,dn.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),dn.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",_n==null?void 0:_n.total_count,"\u9898\xA0[\xA0",_n==null?void 0:_n.total_score,"\u5206\xA0]\xA0"),!(ho!=null&&ho.hack_manager)&&dn.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",_n==null?void 0:_n.work_score,"\u5206")),dn.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),dn.createElement(ae.Z,{align:"middle",className:"mt10 mb10"},!(ho!=null&&ho.hack_manager)&&dn.createElement(Ga.default,{size:"large",className:"mr10",style:{width:104},placeholder:To.formatMessage({id:"classroomProgrammingHomework.passStatus",defaultMessage:"\u901A\u8FC7\u60C5\u51B5"}),onChange:co=>{Ir.page=1,Ir.finish_status=co,ti(qn({},Ir)),$r()}},dn.createElement(Ga.default.Option,{value:""},To.formatMessage({id:"personalHomepageclassrooms.all",defaultMessage:"\u5168\u90E8"})),dn.createElement(Ga.default.Option,{value:0},"\u672A\u5F00\u59CB"),dn.createElement(Ga.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),dn.createElement(Ga.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),dn.createElement(Ga.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:co=>{Ir.page=1,Ir.difficult=co||null,ti(qn({},Ir)),$r()}},dn.createElement(Ga.default.Option,{value:0},To.formatMessage({id:"personalHomepageclassrooms.all",defaultMessage:"\u5168\u90E8"})),dn.createElement(Ga.default.Option,{value:1},To.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"})),dn.createElement(Ga.default.Option,{value:2},To.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"})),dn.createElement(Ga.default.Option,{value:3},To.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"}))),dn.createElement(sn.default.Search,{size:"large",onSearch:co=>{Ir.name=co,Ir.page=1,ti(qn({},Ir)),$r()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),dn.createElement("div",{className:lt.list,style:{height:36,background:"#3D445C"}},!(ho!=null&&ho.hack_manager)&&dn.createElement("span",null,"\u72B6\u6001"),dn.createElement("span",null,"\u5E8F\u53F7"),dn.createElement("span",{style:{flex:1}},To.formatMessage({id:"classroomProgrammingHomework.questionName",defaultMessage:"\u9898\u76EE\u540D\u79F0"})),dn.createElement("span",{style:{flexBasis:48,paddingRight:0}},To.formatMessage({id:"questionBankList.difficulty",defaultMessage:"\u96BE\u5EA6"}))),dn.createElement("div",{style:{overflow:"auto",flex:1}},(bo=_n==null?void 0:_n.data)!=null&&bo.length?(oo=_n==null?void 0:_n.data)==null?void 0:oo.map((co,Ka)=>dn.createElement("div",{onClick:()=>Ja(void 0,null,function*(){let ks=yield(0,ve.ZP)(`/api/problems/${co==null?void 0:co.identifier}/start.json`,{method:"get",params:{hack_user_id:ho==null?void 0:ho.user_id}});ks&&(window.location.href=`/myproblems/${ks==null?void 0:ks.identifier}${window.location.search}`)}),className:`${lt.list} ${co!=null&&co.checked?lt.active:""}`},!(ho!=null&&ho.hack_manager)&&dn.createElement(dn.Fragment,null,!(co!=null&&co.opened)&&dn.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(co==null?void 0:co.opened)&&!(co!=null&&co.passed)&&dn.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(co==null?void 0:co.opened)&&(co==null?void 0:co.passed)&&dn.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),dn.createElement("span",null,(Ir.page-1)*20+(Ka+1)),dn.createElement("span",{style:{flex:1},title:co.name},`[${co==null?void 0:co.score}\u5206]`,"\xA0",co.name),dn.createElement("span",{style:{flexBasis:48,paddingRight:0}},zi[co.difficult]))):dn.createElement(Fe.Z,null)),dn.createElement(Tt.Z,{current:Ir.page,className:"mt20",hideOnSinglePage:!0,total:_n==null?void 0:_n.count,pageSize:Ir.per_page,onChange:(co,Ka)=>{Ir.page=co,Ir.per_page=Ka,$r()}})),dn.createElement(Pn.Z,{rootClassName:lt.tour,closeIcon:!1,open:!!jn,steps:Ki,gap:{offset:3,radius:2}}))},Ur=pe(62522),pa=pe(47936),Ba=pe(19365),va=pe(57264),Uo=pe(57883),Do=pe(44204),Ia=pe(67209),mi=pe(92310),ii=pe.n(mi),ki=pe(21439),ts=pe(47411),Qi=pe(70640),oa=pe(59301),mo=Object.defineProperty,cr=Object.defineProperties,ma=Object.getOwnPropertyDescriptors,Ha=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,Yo=(bn,ar,Rr)=>ar in bn?mo(bn,ar,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):bn[ar]=Rr,lo=(bn,ar)=>{for(var Rr in ar||(ar={}))Da.call(ar,Rr)&&Yo(bn,Rr,ar[Rr]);if(Ha)for(var Rr of Ha(ar))fo.call(ar,Rr)&&Yo(bn,Rr,ar[Rr]);return bn},Wo=(bn,ar)=>cr(bn,ma(ar)),Fi=(bn,ar)=>{var Rr={};for(var uo in bn)Da.call(bn,uo)&&ar.indexOf(uo)<0&&(Rr[uo]=bn[uo]);if(bn!=null&&Ha)for(var uo of Ha(bn))ar.indexOf(uo)<0&&fo.call(bn,uo)&&(Rr[uo]=bn[uo]);return Rr},Ko=(bn,ar,Rr)=>new Promise((uo,Oo)=>{var ho=ur=>{try{pr(Rr.next(ur))}catch(Br){Oo(Br)}},Nr=ur=>{try{pr(Rr.throw(ur))}catch(Br){Oo(Br)}},pr=ur=>ur.done?uo(ur.value):Promise.resolve(ur.value).then(ho,Nr);pr((Rr=Rr.apply(bn,ar)).next())});const{Countdown:Fo}=E.default,ei={Java:"java",C:"c",Python:"py","C++":"c"};var bi=(bn=>(bn[bn.SET_LOADING=0]="SET_LOADING",bn[bn.GET_DATA=1]="GET_DATA",bn[bn.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",bn[bn.SET_DATA=3]="SET_DATA",bn[bn.SET_DEBUGING=4]="SET_DEBUGING",bn[bn.SET_SUBMITING=5]="SET_SUBMITING",bn[bn.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",bn[bn.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",bn[bn.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",bn[bn.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",bn[bn.SET_PAGE=10]="SET_PAGE",bn))(bi||{});function wi(){return new Date().getTime()}const ws={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function $i(bn,ar){switch(ar.type){case 1:return lo(lo({},bn),ar.payload);case 3:return Wo(lo({},bn),{data:ar.payload});case 0:return Wo(lo({},bn),{loading:ar.payload});case 9:return Wo(lo({},bn),{showNote:ar.payload});case 4:return Wo(lo({},bn),{debuging:ar.payload});case 5:return Wo(lo({},bn),{submitting:ar.payload});case 2:return Wo(lo({},bn),{submitRecords:ar.payload});case 10:return Wo(lo({},bn),{submitRecordPage:ar.payload});case 6:return Wo(lo({},bn),{executingMessage:ar.payload});case 7:return lo(lo({},bn),ar.payload);case 8:return lo(lo({},bn),ar.payload);default:throw new Error}}var Ps=({children:bn})=>{var ar,Rr,uo,Oo,ho;const Nr=(0,Qe.useIntl)(),[pr,ur]=(0,me.useReducer)($i,ws),{id:Br}=(0,Qe.useParams)(),Ta=(0,Qe.useLocation)(),[Qr]=(0,Qe.useSearchParams)(),{loading:bo,data:oo,debugResult:To,submitResult:No,submitRecords:Xo,submitRecordPage:no,showNote:ci,debuging:Zo,submitting:xa,executingMessage:jn}=pr,[Dn,_n]=(0,me.useState)("#37AD83"),[dr,ha]=(0,me.useState)(null),[ya,Tr]=(0,me.useState)({}),[Ya,Va]=(0,me.useState)(!0),[eo,zi]=(0,me.useState)(!1),[Ir,ti]=(0,me.useState)(!1),Di=(0,me.useRef)(null),Ti=(0,me.useRef)(0),wo=oo==null?void 0:oo.user,$r=oo==null?void 0:oo.hack,[Ki,co]=(0,me.useState)(!1),Ka=(0,me.useRef)(1),ks=(0,me.useRef)(!1);(0,ki.y)(Qr.get("type")==="exercises");const{setOpenDisableCopyAndPaste:mu}=(0,ki.X)(),[vu,Pu]=(0,me.useState)(""),zl=(0,Uo._)(ya);(0,me.useEffect)(()=>{function ro(){return Ko(this,null,function*(){var Vo,Ds,Wl,Fc,yl;Va(!0);const eu=yield(0,le.fu)(Br,{exercise_id:Qr.get("exercisesId")});if(setTimeout(()=>{Va(!1)},800),eu.status!==401){try{eu.hack.code=ot.Base64.decode(eu.hack.code)}catch(rs){console.log(rs)}eu.hack=Wo(lo({},eu.hack),{is_program:Qr.get("type")==="1"}),ur({type:1,payload:{loading:!1,data:eu}})}if(Qr.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let rs;Qr.get("coursesId")=="coursesId"?rs=yield(0,re._F)({categoryId:Qr.get("exercisesId"),login:Qr.get("login")}):rs=yield(0,re._B)({categoryId:Qr.get("exercisesId"),login:Qr.get("login")}),Tr(lo({},rs)),mu((Vo=rs==null?void 0:rs.exercise)==null?void 0:Vo.forbid_copy),typeof((Ds=rs==null?void 0:rs.exercise)==null?void 0:Ds.left_time)=="number"&&(ha(Date.now()+((Wl=rs==null?void 0:rs.exercise)==null?void 0:Wl.left_time)*1e3),setTimeout(()=>{_n("red")},(((Fc=rs==null?void 0:rs.exercise)==null?void 0:Fc.left_time)-300>0?((yl=rs==null?void 0:rs.exercise)==null?void 0:yl.left_time)-300:0)*1e3))}})}Br&&ro()},[Br]),(0,me.useEffect)(()=>{var ro;return Qr.get("type")==="exercises"&&((ro=ya==null?void 0:ya.exercise)!=null&&ro.screen_open)&&(window.removeEventListener("blur",Kl,!1),Do.U.forEach((Vo,Ds)=>{window.addEventListener(Vo,Kl,!1)}),window.addEventListener("blur",Kl,!1),window.focus()),()=>{document.removeEventListener((0,se.gH)(),Kl)}},[ya]),(0,me.useEffect)(()=>{vu==="1"&&Br&&$r!=null&&$r.language&&Os()},[Br,no,$r==null?void 0:$r.language,vu]),(0,me.useEffect)(()=>($r!=null&&$r.is_program&&(Ti.current=0,Di.current=setInterval(()=>{Pc()},15e3)),()=>{clearInterval(Di.current)}),[$r==null?void 0:$r.is_program]);const Pc=()=>Ko(void 0,null,function*(){let ro=yield(0,ve.ZP)(`/api/myproblems/${Br}/save_long_time.json`,{method:"get",params:{answer_long_time:Ti.current}})}),Kl=()=>{ks.current||(0,se.BU)(),window.parent.postMessage("backExercise","*")};function Os(){return Ko(this,null,function*(){try{const ro=yield(0,le.zO)(Br,{limit:15,page:no,language:$r==null?void 0:$r.language});ur({type:2,payload:ro})}catch(ro){console.log(ro)}})}function oc(ro){ur({type:10,payload:ro})}function Xs(ro){return Ko(this,null,function*(){var Vo;let Ds;(Qr.get("ip_limit")==="inner"||Qr.get("ip_bind_type")==="true")&&(Ds=yield(0,pa.y)({ip_limit:Qr.get("ip_limit"),ip_bind:Qr.get("ip_bind_type")==="true"}));const Wl=yield(0,le.n4)(Br,{code:ot.Base64.encode(ro||$r.code),language:$r==null?void 0:$r.language,exercise_id:Qr.get("exercisesId"),question_id:Qr.get("questionId"),ip:Ds});return Wl.status===-5&&(0,Qe.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Wo(lo({errorMessage:Wl==null?void 0:Wl.message},(ya==null?void 0:ya.exercise)||{}),{exercise_user_id:(Vo=ya==null?void 0:ya.exercise)==null?void 0:Vo.exercise_user_id,id:Qr.get("exercisesId")})}}),Wl})}function ic(){return Ko(this,null,function*(){if(Ka.current=2,!xa){ur({type:5,payload:!0});try{Et.Z.publish("to-commit-info");const ro=yield Xs();if(console.log(ro,1),ro.status===0){let eu=function(){return Ko(this,null,function*(){const{status:rs,data:bu}=yield(0,le.rX)(Br,"submit"),fc=wi()-yl>(Wl*Fc+30)*1e3;if(rs!==0&&!fc&&setTimeout(eu,1e3),fc&&rs!==0){we.default.error({centered:!0,okText:Nr.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),ur({type:5,payload:!1});return}if(rs===0){bu.status===2&&we.default.error({centered:!0,okText:Nr.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(bu==null?void 0:bu.status)===0&&Qr.get("type")==="1"&&ti(!0);const _c=yield(0,le.zO)(Br,{limit:15,page:no,language:$r==null?void 0:$r.language});ur({type:8,payload:Wo(lo({},pr),{submitResult:bu,submitting:!1,submitRecords:_c})})}})},Vo={};Qr.get("type")==="exercises"&&(Vo.extras={exercise_id:Qr.get("exercisesId"),question_id:Qr.get("questionId")},(Qr.get("ip_limit")==="inner"||Qr.get("ip_bind_type")==="true")&&(Vo.extras.ip=yield(0,pa.y)({ip_limit:Qr.get("ip_limit"),ip_bind:Qr.get("ip_bind_type")==="true"})));const Ds=yield(0,le.bM)(Br,Vo);if(Ds.status===-1&&Qr.get("exercisesId")){window.parent.location.href=`/classrooms/${Qr.get("coursesId")}/exercise/${Qr.get("exercisesId")}/detail`;return}const{time_limit:Wl,test_case_size:Fc}=$r,yl=wi();Ds.status>-1?eu():ur({type:5,payload:!1})}else ur({type:5,payload:!1})}catch(ro){console.log(ro),ur({type:5,payload:!1})}co(!1)}})}function Ml(){return Ko(this,null,function*(){Ka.current=1,pr.debuging=!0,ur({type:4,payload:!0});try{if((yield Xs()).status===0){let yl=function(){return Ko(this,null,function*(){const{status:eu,message:rs,data:bu}=yield(0,le.rX)(Br,"debug"),fc=wi()-Fc>(Vo+30)*1e3;if(eu!==0&&!fc&&(ur({type:6,payload:rs}),setTimeout(yl,1e3)),fc){we.default.error({title:Nr.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,okText:Nr.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),ur({type:4,payload:!1}),ur({type:7,payload:Wo(lo({},pr),{debugResult:{status:2},debuging:!1})});return}eu===0&&(bu.status===2&&we.default.error({title:Nr.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,okText:Nr.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),ur({type:4,payload:!1}),ur({type:7,payload:Wo(lo({},pr),{debugResult:bu,debuging:!1})}))})};const{time_limit:Vo}=$r;let Ds={input:encodeURIComponent(oo.test_case.input)};Qr.get("type")==="exercises"&&(Ds.exercise_id=Qr.get("exercisesId"));const Wl=yield(0,le.MU)(Br,Ds);if(Wl.status===-1&&Qr.get("exercisesId")){window.parent.location.href=`/classrooms/${Qr.get("coursesId")}/exercise/${Qr.get("exercisesId")}/detail`;return}const Fc=wi();(Wl==null?void 0:Wl.status)>-1?yl():ur({type:4,payload:!1})}else ur({type:4,payload:!1})}catch(ro){console.log(ro)}finally{}})}function Gl(ro,Vo){const Ds=Vo?{modify_code:!1}:{};ur({type:3,payload:Wo(lo({},oo),{hack:lo(Wo(lo({},$r),{code:ro}),Ds)})}),co(!0)}const fs=ro=>Ko(void 0,null,function*(){let Vo=yield(0,ve.ZP)(`/api/problems/${$r==null?void 0:$r.identifier}/start.json`,{method:"get",params:{language:ro==="C++"||ro==="c++"?encodeURIComponent(ro):ro,hack_user_id:wo==null?void 0:wo.user_id}});Vo.status!==-1&&Qe.history.replace(`/myproblems/${Vo==null?void 0:Vo.identifier}${window.location.search}`)});function Vc(ro){let Vo=ro.target.value;ur({type:3,payload:Wo(lo({},oo),{test_case:{input:Vo}})})}function bd(){return Ko(this,null,function*(){try{let ro={};Qr.get("type")==="exercises"?ro.exercise_id=Qr.get("exercisesId"):$r!=null&&$r.homework_common_id&&(ro.homework_common_id=$r==null?void 0:$r.homework_common_id);const Vo=yield(0,le.H7)(Br,lo({},ro));Vo.status===401||(Gl(ot.Base64.decode(Vo.code)),(Qr.get("type")==="exercises"||$r!=null&&$r.homework_common_id)&&Et.Z.publish("to-reset-info"))}catch(ro){console.log(ro)}})}function Xc(){we.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:Nr.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:Nr.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:oa.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",oa.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Ko(this,null,function*(){const ro=yield(0,le.fi)(Br);ro.status===401||Gl(ot.Base64.decode(ro.code),!0)})}})}function ul(){ur({type:9,payload:!0})}function yu(){ur({type:9,payload:!1})}function sc(ro){return Ko(this,null,function*(){yield(0,le.MK)(Br,ro),ur({type:1,payload:{showNote:!1,data:Wo(lo({},oo),{hack:Wo(lo({},$r),{notes:ro.notes})})}})})}const xA={hack:$r,isLoading:Ya,input:(ar=oo==null?void 0:oo.test_case)==null?void 0:ar.input,is_file:(Rr=oo==null?void 0:oo.test_case)==null?void 0:Rr.is_file,identifier:$r==null?void 0:$r.identifier,attachments_count:oo==null?void 0:oo.attachments_count,language:$r==null?void 0:$r.language,code:$r==null?void 0:$r.code,title:"main."+ei[$r==null?void 0:$r.language],modify_code:$r==null?void 0:$r.modify_code,notes:$r==null?void 0:$r.notes,debugResult:To,debuging:Zo,submitting:xa,submitResult:No,executingMessage:jn,onCancelNote:yu,onAddNote:sc,showNote:ci,user:wo,onShowNote:ul,onSubmitCode:ic,onChangeCode:Gl,onChangeInput:Vc,onDebugCode:Ml,onResetCode:bd,onSyncCode:Xc,onUpdateCode:Xs,onChangeLanguage:fs,isWhiteTheme:eo,setIsWhiteTheme:zi,topDispatch:ur};function Al(){return Ko(this,null,function*(){const{praise_count:ro}=yield(0,le.vl)($r.id,{container_type:"Hack",type:1});let Vo=Wo(lo({},oo),{hack:Wo(lo({},$r),{praises_count:ro,user_praise:!$r.user_praise})});ur({type:3,payload:Vo})})}const ku={topicId:Br,submitResult:No,submitRecords:Xo,submitting:xa,page:no,onPageChange:oc,hack:$r,user:oo==null?void 0:oo.user,hack_sets:oo==null?void 0:oo.hack_sets,current_user:oo==null?void 0:oo.current_user,onTriggerPraise:Al,setActiveIndex:Pu};return console.log(ya),oa.createElement(oa.Fragment,null,oa.createElement(fe.Z,{spinning:bo,delay:500},oo?oa.createElement(oa.Fragment,null,oa.createElement("header",{className:ii()(Ia.Z.header,eo&&Ia.Z.whiteHeader)},Qr.get("type")!=="exercises"&&oa.createElement("div",null,oa.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${wo==null?void 0:wo.image_url}`,alt:"user",width:36}),oa.createElement("span",{style:{color:eo?"#333":"#B2BACB",fontSize:16}},wo==null?void 0:wo.name)),Qr.get("type")==="exercises"&&oa.createElement("div",null,oa.createElement("div",{className:"exercise_user_info"},Nr.formatMessage({id:"user.name",defaultMessage:"\u59D3\u540D"}),oa.createElement("span",{className:"ml10"},(uo=ya==null?void 0:ya.exercise)==null?void 0:uo.user_name)),oa.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",oa.createElement("span",{className:"ml10"},(Oo=ya==null?void 0:ya.exercise)==null?void 0:Oo.student_id))),oa.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},oa.createElement("div",null,$r.name)),($r==null?void 0:$r.is_program)&&oa.createElement(Ba.Z,{defaultValue:$r==null?void 0:$r.answer_long_time,onChange:ro=>{Ti.current=ro},className:Ia.Z.timepiece}),wo!=null&&wo.hack_manager?oa.createElement(Qe.Link,{className:Ia.Z.btn_edit,to:Qr.get("type")==="1"?Qr.get("pageId")?`/problems/newedit/${$r.identifier}?type=1&pageId=${Qr.get("pageId")}&backUrl=${Qr.get("backUrl")}`:`/problems/newedit/${$r.identifier}?type=1`:`/problems/newedit/${$r.identifier}`}," ",oa.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,!!((ho=ya==null?void 0:ya.exercise)!=null&&ho.left_time)&&oa.createElement(oa.Fragment,null,oa.createElement("span",{style:{color:Dn,marginRight:6},className:`iconfont icon-daojishi ${Ia.Z.djs}`}),oa.createElement("span",{className:"c-white mr20"},oa.createElement(Fo,{valueStyle:{color:Dn,fontSize:20,fontWeight:500},title:oa.createElement("span",{style:{color:Dn,fontSize:14,marginRight:10},className:"time"},Nr.formatMessage({id:"testPaperBank.remainingAnsweringTime",defaultMessage:"\u5269\u4F59\u7B54\u9898\u65F6\u957F"})),value:dr,onFinish:()=>Ko(void 0,null,function*(){const ro=yield(0,re.VL)({categoryId:Qr.get("exercisesId"),commit_method:2});if((ro==null?void 0:ro.status)===0&&(Xs(),we.default.info({width:530,title:Nr.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,okText:"\u786E\u5B9A",content:oa.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",oa.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Ko(void 0,null,function*(){window.parent.location.href=`/classrooms/${Qr.get("coursesId")}/exercise/${Qr.get("exercisesId")}/detail`})})),(ro==null?void 0:ro.status)===-3){const Vo=parseInt(ro==null?void 0:ro.message);ha(Date.now()+Vo*1e3)}})}))),Qr.get("type")==="exercises"?oa.createElement(ue.ZP,{type:"primary",onClick:()=>{const ro=()=>Ko(void 0,null,function*(){yield Xs(),co(!1),zl(),ks.current=!0,Kl()});if(!(Xo!=null&&Xo.records_count)||Ki){we.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:Nr.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),icon:null,title:Nr.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:oa.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:ro});return}ro()}},oa.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"}),Nr.formatMessage({id:"classroomExams.returnToTestPaper",defaultMessage:"\u8FD4\u56DE\u8BD5\u5377"})):oa.createElement("span",{onClick:()=>{var ro;if(Qr.get("backUrl"))Qe.history.push(Qr.get("backUrl"));else if(Qr.get("type")==="1"){let Vo=(ro=localStorage.getItem("program_homework"))==null?void 0:ro.split(",");Qe.history.push(`/classrooms/${Vo==null?void 0:Vo[0]}/program_homework/${Vo==null?void 0:Vo[1]}/detail`)}else Qe.history.push("/problemset")}},oa.createElement(oe.Z,{title:"\u5173\u95ED"},oa.createElement("i",{style:{color:eo?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),oa.createElement(fe.Z,{size:"large",spinning:Ya},oa.createElement(ie.Z,{className:ii()(Ia.Z.myProblems,eo&&Ia.Z.whiteMyProblems),leftChild:oa.createElement(Ni,lo({},ku)),rightChild:oa.createElement(gi,lo({},xA))}))):null,oa.createElement(we.default,{centered:!0,closable:!1,width:680,footer:null,open:Ir,className:"oj-modal"},oa.createElement("section",{className:"oj-modal-content"},oa.createElement("div",{className:"oj-modal-head"},oa.createElement("img",{src:Ur,alt:""}),oa.createElement("i",{onClick:()=>ti(!1),className:"iconfont icon-guanbi1"})),oa.createElement("aside",null,oa.createElement("img",{className:"mr30",src:Qi.Z}),Nr.formatMessage({id:"classroomProgrammingHomework.runTime",defaultMessage:"\u8FD0\u884C\u65F6\u95F4"}),":\xA0",oa.createElement("span",{style:{color:"#75d6ba",marginRight:100}},No==null?void 0:No.execute_time,"ms"),"\u4F18\u4E8E",oa.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(No==null?void 0:No.time_better_than)||100,"%"),"\u7684\u7528\u6237"),oa.createElement("aside",{className:"mb50"},oa.createElement("img",{src:ts.Z,className:"mr30"}),oa.createElement("span",{className:"oj-modal-tt"},oa.createElement("span",null,oa.createElement("span",null,Nr.formatMessage({id:"classroomProgrammingHomework.memoryUsed",defaultMessage:"\u5360\u7528\u5185\u5B58"}),":\xA0"),oa.createElement("span",{className:"c-light-primary"},No==null?void 0:No.execute_memory,"kb")),oa.createElement("span",null,oa.createElement("span",null))),"\u4F18\u4E8E",oa.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(No==null?void 0:No.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),oa.createElement("div",{id:"oj-modal-next",onClick:()=>Ko(void 0,null,function*(){var ro;if(No!=null&&No.next_identifier){let Vo=yield(0,ve.ZP)(`/api/problems/${No==null?void 0:No.next_identifier}/start.json`,{method:"get",params:{hack_user_id:wo==null?void 0:wo.user_id}});Vo&&(window.location.href=`/myproblems/${Vo==null?void 0:Vo.identifier}${window.location.search}`)}else{let Vo=(ro=localStorage.getItem("program_homework"))==null?void 0:ro.split(",");Qe.history.push(`/classrooms/${Vo==null?void 0:Vo[0]}/program_homework/${Vo==null?void 0:Vo[1]}/detail`)}}),className:"oj-modal-btn"},No!=null&&No.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":Nr.formatMessage({id:"classroomProgrammingHomework.returnToHomeworkDetailsPage",defaultMessage:"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"}))))),oa.createElement(va.Z,{successCb:()=>{Ka.current===1?Ml():ic()}}))};function ms({title:bn,modify_code:ar,onSyncCode:Rr,onShowCodeSetting:uo,onResetCode:Oo,hack:ho,onChangeLanguage:Nr,isWhiteTheme:pr,onShowResourceCentre:ur,attachments_count:Br}){var Ta;const Qr=(0,Qe.useIntl)(),bo=()=>{we.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:oa.createElement(z.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:Qr.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:Oo})},[oo]=(0,Qe.useSearchParams)(),To=oo.get("language"),No=Xo=>Xo==="1"?"c++":Xo==="2"?"C++":Xo;return(0,me.useEffect)(()=>{To&&Nr(No(To))},[]),(0,me.useEffect)(()=>{ho!=null&&ho.tpm_code_modified&&we.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:oa.createElement(z.Z,null),content:oa.createElement("div",null,oa.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),oa.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),oa.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:Qr.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Oo()})},[ho==null?void 0:ho.language]),console.log(ho,pr,"hack"),oa.createElement("div",{className:`${Ia.Z.codeHead} ${pr?Ia.Z.whiteCodeHead:""}`},oa.createElement("div",{className:Ia.Z.navWrap},(Ta=ho==null?void 0:ho.all_language)==null?void 0:Ta.map(Xo=>oa.createElement("div",{className:`${Ia.Z.nav} ${Xo===(ho==null?void 0:ho.language)?Ia.Z.active:""}`,key:Xo,onClick:()=>Nr(Xo)},oa.createElement(oe.Z,{title:Qr.formatMessage({id:"problemset.questionBankAddQuestion",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"})},oa.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),oa.createElement("span",null,Xo)))),oa.createElement(ae.Z,{align:"middle",style:{marginLeft:"auto"}},ar?oa.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Rr},oa.createElement("img",{src:At,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Br>0&&oa.createElement("a",{onClick:ur},oa.createElement(oe.Z,{title:"\u8D44\u6E90\u4E2D\u5FC3"},oa.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"}))),oa.createElement("a",{onClick:bo},oa.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},oa.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),oa.createElement("a",{onClick:uo},oa.createElement(oe.Z,{title:"\u8BBE\u7F6E"},oa.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function gi(bn){var ar=bn,{input:Rr,is_file:uo,identifier:Oo,showNote:ho,onShowNote:Nr,notes:pr,onCancelNote:ur,onAddNote:Br,debugResult:Ta,language:Qr,debuging:bo,submitting:oo,executingMessage:To,code:No,onSubmitCode:Xo,onDebugCode:no,onChangeCode:ci,onChangeInput:Zo,onUpdateCode:xa,user:jn,isLoading:Dn,submitResult:_n}=ar,dr=Fi(ar,["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function ha(Tr,Ya){return oa.createElement(ms,Wo(lo({},dr),{onShowCodeSetting:Tr,onShowResourceCentre:Ya}))}const ya=lo({input:Rr,is_file:uo,debugResult:Ta,debuging:bo,submitting:oo,executingMessage:To,onDebugCode:no,onChangeCode:ci,onSubmitCode:Xo,onChangeInput:Zo,user:jn,submitResult:_n},dr);return oa.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},oa.createElement(it,{setIsWhiteTheme:dr==null?void 0:dr.setIsWhiteTheme,isLoading:Dn,language:Qr,value:No,identifier:Oo,onChange:ci,onUpdateCode:xa,ActionBarRender:ha}),oa.createElement(rt.ZP,lo({},ya)))}},96567:function(Jt,Mt,pe){"use strict";pe.d(Mt,{h:function(){return me}});var me=(Qe=>(Qe[Qe.NOMATCH=-1]="NOMATCH",Qe[Qe.OK=0]="OK",Qe[Qe.TIMEOUT=2]="TIMEOUT",Qe[Qe.PODFAILURE=3]="PODFAILURE",Qe[Qe.COMPILEFAILURE=4]="COMPILEFAILURE",Qe[Qe.EXECUTEFAILURE=5]="EXECUTEFAILURE",Qe[Qe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Qe))(me||{})},50686:function(Jt,Mt,pe){"use strict";pe.d(Mt,{H7:function(){return y},MK:function(){return z},MU:function(){return re},X6:function(){return ie},bM:function(){return le},fi:function(){return a},fu:function(){return ae},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return se}});var me=pe(59729),Qe=Object.defineProperty,E=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(ee,te,de)=>te in ee?Qe(ee,te,{enumerable:!0,configurable:!0,writable:!0,value:de}):ee[te]=de,oe=(ee,te)=>{for(var de in te||(te={}))we.call(te,de)&&ue(ee,de,te[de]);if(E)for(var de of E(te))fe.call(te,de)&&ue(ee,de,te[de]);return ee};function ae(ee,te){return(0,me.U2)(`myproblems/${ee}.json`,oe({hidePopLogin:!0},te||{}))}function le(ee,te){return(0,me.v_)(`myproblems/${ee}/code_submit.json`,te)}function re(ee,te){return(0,me.v_)(`myproblems/${ee}/code_debug.json`,te)}function se(ee,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,me.U2)(`myproblems/${ee}/submit_records.json`,te)}function ie(ee){return(0,me.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,te){return(0,me.U2)(`myproblems/${ee}/result.json`,{mode:te})}function z(ee,te){return(0,me.v_)(`myproblems/${ee}/add_notes.json`,te)}function y(ee,te){return(0,me.v_)(`myproblems/${ee}/restore_initial_code.json`,te)}function a(ee){return(0,me.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,te){return(0,me.v_)(`myproblems/${ee}/update_code.json`,te)}function b(ee,te){return(0,me.v_)(`discusses/${ee}/plus.json`,te)}},72895:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Im:function(){return Pe},ZP:function(){return ke},gZ:function(){return He}});var me=pe(59301),Qe=pe(92832),E=pe(3113),we=pe(84105),fe=pe(87395),ue=pe(28233),oe=pe(24334),ae=pe(77433),le=pe(72481),re=pe(99770),se=pe(88909),ie=pe(34376),ne=pe(92310),z=pe.n(ne),y=pe(58024),a=pe(59301),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ve=(Xe,$e,ze)=>$e in Xe?x(Xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Xe[$e]=ze,ye=(Xe,$e)=>{for(var ze in $e||($e={}))de.call($e,ze)&&ve(Xe,ze,$e[ze]);if(te)for(var ze of te($e))ge.call($e,ze)&&ve(Xe,ze,$e[ze]);return Xe},be=(Xe,$e)=>b(Xe,ee($e));const{TextArea:Ce}=Qe.default,Se={visible:!1,tabIndex:"0"},Pe={[ue.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ue.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ue.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Be=(Xe=>(Xe[Xe.SET_VISIBLE=0]="SET_VISIBLE",Xe[Xe.SET_TABINDEX=1]="SET_TABINDEX",Xe))(Be||{});function Ue(Xe,$e){switch($e.type){case 0:return be(ye({},Xe),{visible:$e.payload});case 1:return be(ye({},Xe),{tabIndex:$e.payload});default:throw new Error}}function Ee({value:Xe,className:$e}){const ze=(0,y.useIntl)(),[at,et]=(0,me.useState)(!1),it=(0,me.useRef)(),At=(0,me.useRef)();return(0,me.useEffect)(()=>{at&&(At.current.reset(),At.current.write((0,re.pp)(Xe||"")))},[Xe,at]),(0,me.useEffect)(()=>{var ot,rt,lt,gt;if(it.current){At.current=new ie.Terminal({fontSize:14,disableStdin:!0}),At.current.open(it.current);const yt=it.current.offsetWidth-14,Tt=((gt=(lt=(rt=(ot=At.current)==null?void 0:ot._core)==null?void 0:rt._renderService)==null?void 0:lt.dimensions)==null?void 0:gt.actualCellWidth)||9.5,vt=Math.ceil(yt/Tt);At.current.resize(vt,8),et(!0)}},[]),a.createElement("div",{ref:it,className:z()("XtermText-valueRef",$e)})}function He(Xe){const $e=(0,y.useIntl)(),{status:ze,error_msg:at,output:et,input:it,expected_output:At,is_file:ot,input_file_url:rt,output_file_url:lt,expected_output_file_url:gt}=Xe;let yt=null;const Tt={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(ze){case ue.h.NOMATCH:yt=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!ot&&a.createElement(Ee,{className:"mb10",value:it}),ot&&a.createElement("div",{style:Tt},a.createElement("a",{onClick:()=>(0,re.LR)(rt,it)},it)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!ot&&a.createElement(Ee,{className:"mb10",value:et&&oe.Base64.decode(et)||""}),ot&&a.createElement("div",{style:Tt},a.createElement("a",{onClick:()=>(0,re.LR)(lt,et)},et)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!ot&&a.createElement(Ee,{className:"mb10",value:At&&oe.Base64.decode(At)||""}),ot&&a.createElement("div",{style:Tt},a.createElement("a",{onClick:()=>(0,re.LR)(gt,At)},At)));break;case ue.h.EXECUTEFAILURE:yt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!ot&&a.createElement(le.Z,{value:it,style:Tt}),ot&&a.createElement("div",{style:Tt},a.createElement("a",{onClick:()=>(0,re.LR)(rt,it)},it)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(at)));break;case ue.h.COMPILEFAILURE:yt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!ot&&a.createElement(le.Z,{value:it,style:Tt}),ot&&a.createElement("div",{style:Tt},a.createElement("a",{onClick:()=>(0,re.LR)(rt,it)},it)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(at)));break;case ue.h.PODFAILURE:yt=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:yt=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",yt," ")}function Oe(Xe){const $e=(0,y.useIntl)(),{status:ze,error_msg:at,execute_time:et,output:it,input:At,expected_output:ot,is_file:rt,input_file_url:lt,output_file_url:gt,expected_output_file_url:yt}=Xe;let Tt=null;switch(ze){case ue.h.OK:Tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",et,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,oe.Base64.decode(it)));break;case ue.h.NOMATCH:Tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,At)),a.createElement("p",null,$e.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"}),"\uFF1A",it&&oe.Base64.decode(it)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",ot&&oe.Base64.decode(ot)));break;case ue.h.EXECUTEFAILURE:Tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,At)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(at)));break;case ue.h.COMPILEFAILURE:Tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,At)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(at)));break;case ue.h.PODFAILURE:Tt=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:Tt=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Tt," ")}var ke=({id:Xe,is_file:$e,input:ze,debuging:at,submitting:et,executingMessage:it,debugResult:At,onChangeInput:ot,onDebugCode:rt,onSubmitCode:lt})=>{const gt=(0,y.useIntl)(),[yt,Tt]=(0,me.useReducer)(Ue,Se),{visible:vt,tabIndex:ut}=yt;(0,me.useEffect)(()=>{Tt({type:0,payload:!1})},[Xe]);function qe(_e){let Fe=_e.target.id;Tt({type:1,payload:Fe})}function je(){Tt({type:0,payload:!vt})}const Ve=(0,me.useMemo)(()=>{if(At){const{status:_e}=At;return a.createElement(a.Fragment,null,Oe(At))}return null},[At]);function Ie(){Tt({type:0,payload:!0}),Tt({type:1,payload:"1"}),rt()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${vt?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(se.Z,{leftTitle:gt.formatMessage({id:"questionBankAddQuestion.customTestCase",defaultMessage:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"}),rightTitle:gt.formatMessage({id:"questionBankAddQuestion.codeExecutionResult",defaultMessage:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"}),style:{height:240},leftNode:a.createElement(Ce,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:$e?"":ze,onChange:ot}),rightNode:at?a.createElement(ae.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):At?Ve:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${vt?"up":""}`,onClick:je},vt?a.createElement(we.Z,null):a.createElement(fe.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},gt.formatMessage({id:"testPaperBank.previousQuestion",defaultMessage:"\u4E0A\u4E00\u9898"})),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},gt.formatMessage({id:"testPaperBank.nextQuestion",defaultMessage:"\u4E0B\u4E00\u9898"})),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:at,onClick:Ie},gt.formatMessage({id:"questionBankAddQuestion.debugCode",defaultMessage:"\u8C03\u8BD5\u4EE3\u7801"})),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:et,disabled:et,onClick:()=>{Tt({type:0,payload:!1}),lt()}},gt.formatMessage({id:"questionBankAddQuestion.evaluateAndSubmit",defaultMessage:"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"})))))}},28233:function(Jt,Mt,pe){"use strict";pe.d(Mt,{h:function(){return me}});var me=(Qe=>(Qe[Qe.NOMATCH=-1]="NOMATCH",Qe[Qe.OK=0]="OK",Qe[Qe.TIMEOUT=2]="TIMEOUT",Qe[Qe.PODFAILURE=3]="PODFAILURE",Qe[Qe.COMPILEFAILURE=4]="COMPILEFAILURE",Qe[Qe.EXECUTEFAILURE=5]="EXECUTEFAILURE",Qe[Qe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Qe))(me||{})},64954:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Y2:function(){return ke},ZP:function(){return Xe}});var me=pe(59301),Qe=pe(54580),E=pe(8591),we=pe(43418),fe=pe(95237),ue=pe(5112),oe=pe(3113),ae=pe(24905),le=pe(6848),re=pe(92832),se={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb69nA+BsTs5GPRSNlGFpVT72AdVGNATG/6VYuMbWQ1aXUO7BxkQExn2lWN6uVtP1adgMHVKeB5WwnE1KVb3YDYRtbVV+3ojqsxIKY268oHxmF+eU0tjei1GgNilrIwM1a2kZkCWu/utBoDYtYTMzJ+tpGRQnlv5hBkQMx70h7XRxXWidHPl7nb//fy9XkzOy2AmB2vkiPlSkWydD47OqvGgJjPNL1YFVVYByZLlgjEJGrRtrUCPJFs7YDS+R2BjEpMSY7NsDl+9j9fd6XC4kC/lJLOxgFizgzdYDnzudTpMw6fj//3DK4HIRyANoy/w9+wkwCOKmwDYy1P4QRkVGIVk/AMrnH4XniaXQzUqMIKq+5tOCDmzdH89cyVz6fwJRwqrZgqK3/SEFaBRhVWQlr/Y3i4xU8lVihPlVxj2IVxfJ+2nFRhhYz1PoyDagyIZSapEnhdr2I6R9uqEsxUkO5NFQBiTeVvOrlSeDXVhMltKmB9S0klJsw74CUUjOb6FTBejQExQYoBMIFYNLWkgOnvUwKxyFTjoDxSKJqZVMDylhKIPUk5riqY/JkkaKkChreUQOyB2WwfpT8JtDerABAza93dwAGYP09Z0WMFrG4pqcRWfGULyY97jwoAMSeuAzAnRrIMuQJGt5RUYldW8xRSnvv0cKIAELNvJACz7yEryFLA5H0xKrGj5xzkZyU/nZ0oYPFcDIiFEDgHc/ITyDKyFQBi2RK2GYBtZBvdmVWhAuP4VfL2YA0r6L4SYxupIQ2JQY0CBg/3gdjbflSTQASCAq0VAGKtHZDNTxUm04vWHSgAxOyYzGG+Ha+IdFMFzF2z6HY7yWH+pj8YTGZHASBmwSuqMAsuEWMjBYBYI+FF0wIxkVw07kwBa3fFutxOspXs7KeS5YoUAGIiudo0fuFaRRvhmdWEAkBMuU1sJZUbRHjNFQBizS14HABbSeUGEV5zBYBYcwueQowb+so9Iry2CgCxtvo/nJ2tpGJzCE2NAkBMjRW3gQAxxeYQmhoFgJgaK1Yg9u3PjzAO3xWHSGgo0FoBLru2duDR/HzhW7M7xKZEASCmxIjVMHgyqdkdYlOiABBTYgQQ02wEsWlWAIhpdodKTLM7xKZCAd4npsKGu0HwdSPd/hCdAgV4x35bE+YrFNPnUzj87/IzDp9DWPnvbUNmdhTQpQAQ286P+Unj9DnAafrcgmu7cJgJBVwoYO2O2CS6mVfxXEELYLn4kWERShXYhXF8t/Kn21RDbAEuLqgqzXbCcq+AeqCpgxjgcv9DwQLtKqASaGogxm16u5lN5B0qoOgqRnOIAa8OfwBYshcFVFRmzSAGvLzkMetAgdAUZptD7Agv7myR+SjgT4EmMNsUYlRf/rKWFaHAigKbwmwTiAEvEh0FOlRgo8P/6hADYB0mL0tGgZMCG4CsGsSOr4KeLqlyu56URoG+Fai6vawCMaqvvjOW1aPAqgKVqrLiEANgJDAKoMBdBSqArCjEABjJiwIoEKFA0bfHFoMYAIuwjiYogAInBYqBrAjEeO0zmYkCKJCgQBGQZUMMgCVYRxcUQIFiFVkWxNhCkokogALZCmQe9idDDIBlW8cAKIACJwUyQJYEMQBG7qEAChRXIBFkYogdb+L/Kr4ABkQBFECBBJDJIfa2H1EaBVAABaopIASZCGI8iaxmGwOjAAosFJD86bhoiHEORo6hAApspoCgGouCGOdgm1nHRCiAAsInlnEQe9tPB/m8Uof0kiswjO/hb9jNHYeBVzPJFey6R8y28inE2EZ2nUM5i1/9Sgn5lCNph30jtpUPIcY2ssOkKbTkR79BAVkhkXsZ5gnIHkOMbWQvaVJ2neP4df/z9bCFvPMBZGUl9z7ao1+KdyFGFeY9LSqtLwJgp5m5slPJA4/DPqjG7kOMKsxjKtRdU8T5xXUAL1yeruuJo9HvVWOrEKMKc+T8VktJANgUGrm2lUEO5rmTY+sQowpz4PiGS0gE2Hlb+c+fL2EY+D7uhpaZnCoWYvxmNGlvu6AzAXYG2bc/P8I43yPjgwL3FVjJt5tKjMNWMkigQJHXCwMygeK9N42EGG+p6D1R4tZfFGCALE50WoVwfcB/UYmxlSRFohUQXKWIHvPYkDtkUsU6a39VjV1CjAP9zrIhcbkVAXauyMjFRHP66Lasxq4hxlayjxxIX+UGAANk6fZ003ORh2eIsZXsxv70hRZ6EikJgMuwErU6arvIxQ+IUb53lAEJS20AsClKfrkmeNVHl/ODpSXE2Er2Yb58lY0AxhNLuVU99Tidi80Q47ddT9aL11rlKoU0Cp5YShXroP3xlysQ68DrjCWqABgVWYaDnrteQIzzMM9Wp65NFcAAWaqNrvvNOXqoxICYa6eTFrfhVQppfGwtpYr5bT+di50gxqG+X5/lK1MMsHNFxi9eua8eewzj+8ChvkdnM9bU+EmkJHJ2EBK1nLYFYk6NTV2WIYDNxyC8hyzVaT/9ZojxHic/huasxBjAzttKQJbjuv2+M8Q4W7BvZO4KjAKMJ5a5xrvovwNiLnzMWoTKqxTSFbGjkCrmpj0Qc2Nl2kJcAIyKLM18L72oxLw4mbIOA1cppMuiIpMqZr/9BDHuiNn3Ub4ChwCjIpOngYceQMyDi9I1OAbYGWQ8sJJmhdn2QMysdYmBG38SKVk1uwyJWnbbAjG73skj7whgkzhchpWniMUeQMyiaykxdwaw87aSy7Ap2WKqD08nTdmVHKyrqxRSFXhiKVXMVnsgZsuvlGi7BhhPLFNSxlYfIGbLL2m0AGyhGBWZNH1stAdiNnxKi7KDqxRSYQCZVDH97XmLhX6P0iIEYHd146UHaSmltNcOiCl1JissAPZUPkD2VCIrDXa82dWKVbFxdnqVIlaeZTsuw6aopqzP9D6xKSTMVGZMajgATKQcl2FFculsPI7nv3bEl8B1WiSJiieRErWObTnoTxBNU5cFxH6FEL5oio1YhApwDiYU7KM5IEuWrnnHjz/Zxnv2m5uRGQBVWIaAQCxDvLZdF388l++XtbWiwOzTb6QCw3Q5BBAzavvxDPic+BzuGzXyFDbbyWQDuW6RLF3bjsecX0KMc7G2luTPDsjEGlKFiSVT0+G0+/iAGOdiaszJDGSX1X8c3/c/X/PGyAogrvMMn+kzDp/jeqy24mFWhniNu57PgT8gxrlYY09UTa/6QQHVk6pcaRPMYtdxcRjM2UAbP1TOqvTiLBdUVWbL5kEtH2RdQowt5eZmqJ0QiKm1hsDCxU7h5rE8TylJkaMCKreUVGLkZ7h6gHULMaoxsuSgABAjE1QqcH0nEoiptElFUEBMhQ0EcaXATV6u3vJmS0niUImRAyoVWLkLuQ4xtpQq/ds4KCqxjQVnuqcKrObk3e/bUY09FdR7AyDm3WFr67vzjZT7EKMas2Zx6XiBWGlFGS9Hgbv5+PDNB1RjOZqb7wvEzFvoaAEPvhf8GGJUY46yQLwUICaWjA5VFHhy8frpO6j4nloVWywMCsQsuOQ/xqd5+BRik0ZsK/1nysoKnyZPC1W4sd9C9YZzRrxeKg5ibCsbuthsaiDWTHomPioQlYNREJurMUDWW2ZFJdDWolCJba14u/liX7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=pe(47257),z=pe.n(ne),y=pe(59729),a=pe(1012),x=pe(99770),b=pe(28541),ee=pe(58024),te=pe(59301),de=Object.defineProperty,ge=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Se=($e,ze,at)=>ze in $e?de($e,ze,{enumerable:!0,configurable:!0,writable:!0,value:at}):$e[ze]=at,Pe=($e,ze)=>{for(var at in ze||(ze={}))be.call(ze,at)&&Se($e,at,ze[at]);if(ye)for(var at of ye(ze))Ce.call(ze,at)&&Se($e,at,ze[at]);return $e},Be=($e,ze)=>ge($e,ve(ze)),Ue=($e,ze,at)=>new Promise((et,it)=>{var At=lt=>{try{rt(at.next(lt))}catch(gt){it(gt)}},ot=lt=>{try{rt(at.throw(lt))}catch(gt){it(gt)}},rt=lt=>lt.done?et(lt.value):Promise.resolve(lt.value).then(At,ot);rt((at=at.apply($e,ze)).next())});const{Dragger:Ee}=Qe.default,He=$e=>{const ze=gt=>gt&>.substring(0,gt.lastIndexOf("."));for(var at=[...$e],et=0,it=[],At=0;At{if(gt.forEach(yt=>{let Tt=yt.name.split(/\.(?=[^\.]+$)/);yt.name=`${Tt[0]}.${Tt[1].toLowerCase()}`}),gt[0].name.includes(".in"))return gt.length===2?gt:[gt[0],{}];if(gt[0].name.includes(".out"))return gt.length===2?gt.reverse():[{},gt[0]]})},Oe=({onClose:$e,onOK:ze,visible:at,wrapClassName:et,rootIdentifier:it,multiple:At=!1,defaultMultipleValue:ot=!0})=>{const rt=(0,ee.useIntl)(),[lt,gt]=(0,me.useState)([]),[yt,Tt]=(0,me.useState)({}),[vt,ut]=(0,me.useState)(!1),[qe,je]=(0,me.useState)(!0),[Ve,Ie]=(0,me.useState)(null),_e=(0,me.useRef)([]),Fe=(0,me.useRef)(0),De=()=>{$e()};(0,me.useEffect)(()=>{Te()},[]),(0,me.useEffect)(()=>{at&&(_e.current=[],Fe.current=0,gt([]),je(ot))},[at]);const Te=()=>Ue(void 0,null,function*(){try{Ie(!0)}catch(Bt){}}),Ne=Bt=>Bt&&Bt.substring(0,Bt.lastIndexOf(".")),Le=Bt=>{var wt,Lt;const Ft=Ne((wt=Bt[0])==null?void 0:wt.name)||Ne((Lt=Bt[1])==null?void 0:Lt.name),Nt=lt.filter(bt=>Ne(bt.name)!==Ft);_e.current=[...Nt],gt([...Nt])},Ge=Bt=>{if(!qe){const Dt=new FormData;Dt.append("file",Bt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:Dt},!0).then(Ut=>{if(Ut.status===0){Fe.current=Fe.current+1;const qt=_e.current.map(mn=>{var $t;if(mn.name===Bt.name){const rn=Pe({},mn);return($t=Bt==null?void 0:Bt.name)!=null&&$t.includes(".in")?rn.input=Ut==null?void 0:Ut.content:rn.output=Ut==null?void 0:Ut.content,rn}return mn});if(_e.current=[...qt],gt([...qt]),Fe.current>0&&Fe.current===lt.length){ut(!1);let mn=He(qt);mn=mn.filter($t=>{var rn,nn;return!!((rn=$t[0])!=null&&rn.name&&((nn=$t[1])!=null&&nn.name))}),mn=mn.map($t=>Be(Pe(Pe({},$t[0]),$t[1]),{is_file:!1})),ze(mn),$e()}}else ut(!1),$e()});return}if(Ve){const Dt=new FormData;Dt.append("file",Bt.file),it===null?Dt.append("identifier","testsets"):Dt.append("identifier",it),(0,y.ZP)("/api/attachments.json",{method:"post",body:Dt},!0).then(Ut=>{if(Ut.filename){Fe.current=Fe.current+1;const qt=_e.current.map(mn=>{var $t;if(mn.name===(Ut==null?void 0:Ut.filename)){const rn=Be(Pe({},mn),{is_oss:!Ve});return($t=Ut==null?void 0:Ut.filename)!=null&&$t.includes(".in")?(rn.in_object_key=Ut==null?void 0:Ut.object,rn.in_object_size=Ut==null?void 0:Ut.size,rn.input=Ut==null?void 0:Ut.filename,rn.in_file=Bt):(rn.out_object_key=Ut==null?void 0:Ut.object,rn.out_object_size=Ut==null?void 0:Ut.size,rn.output=Ut==null?void 0:Ut.filename,rn.out_file=Bt),rn}return mn});if(_e.current=[...qt],gt([...qt]),Fe.current>0&&Fe.current===lt.length){ut(!1);let mn=He(qt);mn=mn.filter($t=>{var rn,nn;return!!((rn=$t[0])!=null&&rn.name&&((nn=$t[1])!=null&&nn.name))}),mn=mn.map($t=>Be(Pe(Pe({},$t[0]),$t[1]),{is_file:!0})),ze(mn),$e()}}else ut(!1),$e()});return}const wt=new(z())({endpoint:yt.end_point,region:yt.region,accessKeyId:yt.access_key_id,accessKeySecret:yt.access_key_secret,bucket:yt.bucket,stsToken:yt.security_token}),Lt=Bt.name,Ft={container_type:"TestSet",file_name:Lt},Nt=(0,a.Z)();let bt=`testsets/${it}/${Nt}${Lt.indexOf(".")>-1?"."+Lt.split(".").pop():""}`;it===null&&(bt=`testsets/${Nt}${Lt.indexOf(".")>-1?"."+Lt.split(".").pop():""}`),wt.multipartUpload(bt,new Blob([Bt.file],{type:Bt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:Lt+""},url:yt==null?void 0:yt.callback_url,host:yt==null?void 0:yt.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(Ft)}}).then(function(Dt){if(Dt.data.status===0){Fe.current=Fe.current+1;const Rt=_e.current.map(Ut=>{var qt,mn,$t,rn,nn,xn,In,Un,ir,yr,En,Dr,ta,Fr,Vr,Mr,Er;if(Ut.name===((mn=(qt=Dt.data)==null?void 0:qt.data)==null?void 0:mn.file_name)){const Oa=Be(Pe({},Ut),{is_oss:!Ve});return(nn=(rn=($t=Dt.data)==null?void 0:$t.data)==null?void 0:rn.file_name)!=null&&nn.includes(".in")?(Oa.in_object_key=(In=(xn=Dt.data)==null?void 0:xn.data)==null?void 0:In.object,Oa.in_object_size=(ir=(Un=Dt.data)==null?void 0:Un.data)==null?void 0:ir.size,Oa.input=(En=(yr=Dt.data)==null?void 0:yr.data)==null?void 0:En.file_name,Oa.in_file=Bt):(Oa.out_object_key=(ta=(Dr=Dt.data)==null?void 0:Dr.data)==null?void 0:ta.object,Oa.out_object_size=(Vr=(Fr=Dt.data)==null?void 0:Fr.data)==null?void 0:Vr.size,Oa.output=(Er=(Mr=Dt.data)==null?void 0:Mr.data)==null?void 0:Er.file_name,Oa.out_file=Bt),Oa}return Ut});if(_e.current=[...Rt],gt([...Rt]),Fe.current>0&&Fe.current===lt.length){ut(!1);let Ut=He(Rt);Ut=Ut.filter(qt=>{var mn,$t;return!!((mn=qt[0])!=null&&mn.name&&(($t=qt[1])!=null&&$t.name))}),Ut=Ut.map(qt=>Be(Pe(Pe({},qt[0]),qt[1]),{is_file:!0})),ze(Ut),$e()}}})},dt=Bt=>new Promise((wt,Lt)=>{let Ft=0,Nt=[];for(let bt=0;bt{Ft++,Ft===Bt.length&&(Nt.length?(E.ZP.warning(`${Nt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Lt()):wt(Bt))}).catch(Dt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",Dt),Ft++,Nt.push(Bt[bt].name),Ft===Bt.length&&(Nt.length?(E.ZP.warning(`${Nt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Lt()):wt(Bt))})}),mt=()=>Ue(void 0,null,function*(){if(lt.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield dt(lt),ut(!0),He(lt).some(wt=>{var Lt,Ft;return!((Lt=wt[0])!=null&&Lt.name&&((Ft=wt[1])!=null&&Ft.name))})){we.default.confirm({centered:!0,okText:rt.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:rt.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:rt.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Ue(void 0,null,function*(){lt.map(wt=>Ue(void 0,null,function*(){Ge(wt)}))}),onCancel:()=>{ut(!1)}});return}lt.map(wt=>Ue(void 0,null,function*(){Ge(wt)}))}),st={name:"file",fileList:lt,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:Bt=>{if(lt!=null&<.some(Lt=>Lt.name===Bt.name))return E.ZP.info(`${Bt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(Bt.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(Bt.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const wt={name:Bt.name,uid:Bt.uid,file:Bt,percent:0};return lt.push(wt),_e.current=[...lt],gt([...lt]),!1}},Et=He(lt);return console.log(lt,Et,"fileList"),te.createElement(we.default,{open:at,wrapClassName:et,onOk:mt,centered:!0,okText:rt.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:rt.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),okButtonProps:{loading:vt},onCancel:De,width:730,title:rt.formatMessage({id:"shixuns.batchUploadTestCases",defaultMessage:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"})},te.createElement("div",{className:se.wrap},lt.length?te.createElement("div",null,te.createElement(fe.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},te.createElement("div",{style:{visibility:At?"visible":"hidden"}},te.createElement("span",{className:se.greyText},rt.formatMessage({id:"shixuns.testCaseType",defaultMessage:"\u7528\u4F8B\u7C7B\u578B"})),te.createElement(ue.ZP.Group,{className:`ml20 ${se.testCaseRadio}`,optionType:"button",value:qe,onChange:Bt=>je(Bt.target.value)},te.createElement(ue.ZP,{value:!1},rt.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})),te.createElement(ue.ZP,{value:!0},rt.formatMessage({id:"shixuns.file",defaultMessage:"\u6587\u4EF6"})))),te.createElement(Qe.default,Pe({},st),te.createElement(oe.ZP,{type:"primary",className:se.btnS},te.createElement("i",{className:"iconfont icon-shangchuan2"}),rt.formatMessage({id:"shixuns.uploadFile",defaultMessage:"\u4E0A\u4F20\u6587\u4EF6"})))),te.createElement(ke,{data:Et,onRemove:Le})):te.createElement("div",{className:`${se.noData} mb30`},te.createElement(Qe.default.Dragger,Be(Pe({},st),{className:se.dragger}),te.createElement("img",{src:ie,alt:"",className:"mb20"}),te.createElement("div",null,te.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),te.createElement("span",{className:se.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),te.createElement("div",{className:se.text},te.createElement("span",{style:{color:"#FA6400"}},rt.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"})),te.createElement("br",null),rt.formatMessage({id:"shixuns.filesMustBeInAndOutTextFiles",defaultMessage:"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002"}),te.createElement("br",null),rt.formatMessage({id:"shixuns.uploadedFilesEncodingSupportsOnlyUTF8",defaultMessage:"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002"}),te.createElement("br",null),rt.formatMessage({id:"shixuns.inputOutputFilesMustCorrespondByName",defaultMessage:"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002"}),te.createElement("br",null),rt.formatMessage({id:"shixuns.singleUploadedFileCannotExceed100MB",defaultMessage:"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002"}),te.createElement("br",null))))},ke=({data:$e=[],onRemove:ze,width:at="auto",showScore:et=!1,disabled:it=!1,inputChange:At,onEvaluatingChange:ot,onSelectAll:rt,checkAll1:lt,checkAll2:gt,checkAll3:yt,checkAll4:Tt,checkAll5:vt,showEvaluatingSetting:ut=!1,className:qe="",isProgramHomework:je=!1})=>{const Ve=(0,ee.useIntl)(),Ie={value:"",filename:"",dataUrl:""},[_e,Fe]=(0,me.useState)(Pe({},Ie)),De=Le=>{let Ge=document.createElement("a");document.body.appendChild(Ge);let dt=URL.createObjectURL(Le.file);Ge.href=dt,Ge.download=Le.name,Ge.click(),URL.revokeObjectURL(dt),document.body.removeChild(Ge)},Te=(Le,Ge)=>{(0,x.LR)(Le,Ge)},Ne=(Le,Ge)=>{we.default.confirm({centered:!0,okText:Ve.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Ve.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:Ve.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:te.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{ze(Le,Ge)},onCancel:()=>{}})};return $e.length?te.createElement("div",{className:qe,style:{width:at}},te.createElement("div",{className:`${je?se.headProgram:se.head}`},ut&&te.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},te.createElement(ae.default,{checked:lt,onChange:Le=>{rt(Le.target.checked,"hidden")}}),te.createElement(le.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},te.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),te.createElement("div",{style:{width:je?"25%":"15%"}},"\u7528\u4F8B"),te.createElement("div",{style:{width:et?je?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),te.createElement("div",{style:{width:et?je?"20%":"15%":"25%",padding:"0 12px"}},Ve.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"})),et&&te.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),ut&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ae.default,{checked:Tt,onChange:Le=>{rt(Le.target.checked,"input_visible")}}),te.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},te.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ut&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ae.default,{checked:gt,onChange:Le=>{rt(Le.target.checked,"is_invisible")}}),te.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},te.createElement("span",{style:{marginLeft:"8px"}},Ve.formatMessage({id:"shixuns.expectedOutput",defaultMessage:"\u9884\u671F\u8F93\u51FA"})),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ut&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ae.default,{checked:vt,onChange:Le=>{rt(Le.target.checked,"actual_output_visible")}}),te.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},te.createElement("span",{style:{marginLeft:"8px"}},Ve.formatMessage({id:"shixuns.actualOutput",defaultMessage:"\u5B9E\u9645\u8F93\u51FA"})),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ut&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ae.default,{checked:yt,onChange:Le=>{rt(Le.target.checked,"last_match_rule")}}),te.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},te.createElement("span",{style:{marginLeft:"8px"}},Ve.formatMessage({id:"shixuns.specialCriteria",defaultMessage:"\u7279\u6B8A\u5224\u5B9A"})),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),te.createElement("div",{className:se.operation,style:je?{flex:1,textAlign:"right"}:{width:"10%"}},Ve.formatMessage({id:"shixuns.operation",defaultMessage:"\u64CD\u4F5C"}))),te.createElement("div",{className:se.listWrapper,style:{boxShadow:je?"0px 2px 4px 0px #EAEEF4":"unset"}},$e.map((Le,Ge)=>{var dt,mt,st,Et;return te.createElement("div",{key:Ge,className:se.list,style:je?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},ut&&te.createElement("div",{style:{width:"15%"}},te.createElement(ae.default,{checked:!!Le.hidden,onChange:Bt=>{ot(Bt.target.checked,Ge,"hidden")}})),te.createElement("div",{style:{width:je?"25%":"15%",paddingLeft:je?"5px":"0px",paddingRight:je?"5px":"0px"}},Ve.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),Ge+1),te.createElement("div",{className:se.info,style:{width:et?je?"20%":"15%":"25%"}},te.createElement("span",{title:Le.input||((dt=Le[0])==null?void 0:dt.name),onClick:()=>Ue(void 0,null,function*(){let Bt;Le.input?Le.input_file_url?Bt=Le.input_file_url:Bt=Le.in_file:Bt=Le[0];let wt;typeof Bt=="string"?(wt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Fe({value:yield wt.text(),filename:"",dataUrl:Bt})):(wt=yield(0,x.db)(Bt.file),Fe({value:wt.text,filename:Bt.name,dataUrl:wt.link}))})},Le.input||((mt=Le[0])==null?void 0:mt.name))),te.createElement("div",{className:se.info,style:{width:et?je?"20%":"15%":"25%"}},te.createElement("span",{title:Le.output||((st=Le[1])==null?void 0:st.name),onClick:()=>Ue(void 0,null,function*(){let Bt;Le.input?Le.output_file_url?Bt=Le.output_file_url:Bt=Le.out_file:Bt=Le[1];let wt;typeof Bt=="string"?(wt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Fe({value:yield wt.text(),filename:"",dataUrl:Bt})):(wt=yield(0,x.db)(Bt.file),Fe({value:wt.text,filename:Bt.name,dataUrl:wt.link}))})},Le.output||((Et=Le[1])==null?void 0:Et.name))),et&&te.createElement("div",{style:{width:"20%"}},te.createElement(re.default,{size:"large",addonAfter:je?"%":null,disabled:it,style:{width:"80%"},onChange:Bt=>At(Bt,Ge),value:Le.score}),!je&&te.createElement("span",null,"\xA0%")),ut&&te.createElement("div",{style:{width:"20%"}},te.createElement(ae.default,{checked:Le.input_visible||!1,onChange:Bt=>{ot(Bt.target.checked,Ge,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ut&&te.createElement("div",{style:{width:"20%"}},te.createElement(ae.default,{checked:Le.is_invisible||!1,onChange:Bt=>{ot(Bt.target.checked,Ge,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ut&&te.createElement("div",{style:{width:"20%"}},te.createElement(ae.default,{checked:Le.actual_output_visible||!1,onChange:Bt=>{ot(Bt.target.checked,Ge,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ut&&te.createElement("div",{style:{width:"20%"}},te.createElement(ae.default,{checked:Le.last_match_rule||!1,onChange:Bt=>{ot(Bt.target.checked,Ge,"last_match_rule")},className:"font14"},Ve.formatMessage({id:"shixuns.tailMatching",defaultMessage:"\u672B\u5C3E\u5339\u914D"}))),te.createElement("div",{onClick:()=>Ne(Le,Ge),style:je?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},te.createElement("span",{className:se.del},Ve.formatMessage({id:"shixuns.delete",defaultMessage:"\u5220\u9664"}))))})),te.createElement(b.Z,{close:!0,data:_e.dataUrl,filename:_e.filename,type:_e.dataUrl.length?"txt":"",onClose:()=>Fe(Pe({},Ie)),monacoEditor:{value:_e.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):te.createElement(te.Fragment,null)};var Xe=Oe},6261:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return z}});var me=pe(59301),Qe=pe(8591),E=pe(6848),we=pe(71418),fe=pe(95237),ue=pe(43604),oe=pe(58421),ae=pe(3113),le=pe(99672),re=pe(59729),se=pe(72481),ie=pe(58024),ne=(a,x,b)=>new Promise((ee,te)=>{var de=ye=>{try{ve(b.next(ye))}catch(be){te(be)}},ge=ye=>{try{ve(b.throw(ye))}catch(be){te(be)}},ve=ye=>ye.done?ee(ye.value):Promise.resolve(ye.value).then(de,ge);ve((b=b.apply(a,x)).next())}),z=({id:a,activeDiscussIndex:x,onReplyDiscuss:b,adminOrOperator:ee})=>{const te=(0,ie.useIntl)(),[de,ge]=(0,me.useState)(""),[ve,ye]=(0,me.useState)(!1);function be(Se){ge(Se)}function Ce(){if(!de){Qe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}b(a,de),ge("")}return(0,me.useEffect)(()=>{x!=a&&ye(!1)},[x]),me.createElement("div",{key:a,className:"discuss-item-editor",style:{display:x===a?"block":"none",width:"100%"}},me.createElement(le.Z,{miniToolbar:!0,startInit:x===a,defaultValue:de,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:be,extraUse:ee&&me.createElement(E.Z,{color:"#fff",open:ve,destroyTooltipOnHide:!0,title:y({id:a,isOpen:ve,activeDiscussIndex:x,onChange:be,setIsOpen:ye}),overlayStyle:{maxWidth:600}},me.createElement("a",{title:ve?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>ye(!ve)},me.createElement("i",{className:"iconfont icon-dianzan11"})))}),me.createElement("a",{onClick:Ce,className:"btn-send"},"\u53D1\u9001"))};const y=a=>{const x=(0,ie.useIntl)(),[b,ee]=(0,me.useState)(!1),[te,de]=(0,me.useState)([]),[ge,ve]=(0,me.useState)(1);(0,me.useEffect)(()=>{a!=null&&a.isOpen?ye():(ve(1),de([]))},[a==null?void 0:a.isOpen]);const ye=()=>ne(void 0,null,function*(){ee(!0);const be=yield(0,re.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(be==null?void 0:be.status)==0&&de(be==null?void 0:be.answer),ee(!1)});return me.createElement(we.Z,{spinning:b},me.createElement("div",{style:{color:"#000"}},me.createElement(se.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(te==null?void 0:te[ge-1])||""}),me.createElement(fe.Z,{justify:"end",align:"middle"},me.createElement(ue.Z,null,me.createElement(oe.Z,{simple:!0,current:ge,pageSize:1,total:(te==null?void 0:te.length)||0,onChange:be=>{ve(be)}})),me.createElement(ue.Z,null,me.createElement(ae.ZP,{onClick:()=>ne(void 0,null,function*(){a==null||a.onChange(te==null?void 0:te[ge-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},86564:function(Jt,Mt,pe){"use strict";pe.d(Mt,{CP:function(){return E},_V:function(){return ue}});var me=pe(28209),Qe=pe.n(me);const E={secret:me.enc.Utf8.parse("0a18e199b87f1a8d"),iv:me.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},we={exam:E};function fe(oe="",ae="exam"){const{secret:le,iv:re}=we[ae];return AES.encrypt(oe,le,{iv:re,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ue(oe="",ae="exam"){const{secret:le,iv:re}=we[ae];return me.AES.decrypt(oe,le,{iv:re,mode:Qe().mode.CBC,padding:Qe().pad.Pkcs7}).toString(me.enc.Utf8)}},42622:function(Jt,Mt,pe){"use strict";pe.d(Mt,{AD:function(){return He},BA:function(){return Ve},D9:function(){return at},Hp:function(){return ve},IM:function(){return it},Iy:function(){return ye},KM:function(){return je},KU:function(){return lt},MJ:function(){return be},Ne:function(){return et},ON:function(){return yt},Uj:function(){return ut},VY:function(){return rt},YO:function(){return vt},YX:function(){return Tt},Zn:function(){return y},_g:function(){return te},_k:function(){return $e},c6:function(){return Ue},cr:function(){return a},eV:function(){return Ee},fi:function(){return x},gh:function(){return Pe},hS:function(){return At},iA:function(){return b},j6:function(){return de},je:function(){return Xe},jj:function(){return ge},kS:function(){return gt},o6:function(){return Be},pO:function(){return qe},rQ:function(){return Oe},sA:function(){return Se},xm:function(){return ze},xo:function(){return ot},y8:function(){return ke},yd:function(){return ee}});var me=pe(42004),Qe=pe(58024),E=pe(99770),we=pe(8591),fe=pe(29701),ue=Object.defineProperty,oe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,re=(Ie,_e,Fe)=>_e in Ie?ue(Ie,_e,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Ie[_e]=Fe,se=(Ie,_e)=>{for(var Fe in _e||(_e={}))ae.call(_e,Fe)&&re(Ie,Fe,_e[Fe]);if(oe)for(var Fe of oe(_e))le.call(_e,Fe)&&re(Ie,Fe,_e[Fe]);return Ie},ie=(Ie,_e,Fe)=>new Promise((De,Te)=>{var Ne=dt=>{try{Ge(Fe.next(dt))}catch(mt){Te(mt)}},Le=dt=>{try{Ge(Fe.throw(dt))}catch(mt){Te(mt)}},Ge=dt=>dt.done?De(dt.value):Promise.resolve(dt.value).then(Ne,Le);Ge((Fe=Fe.apply(Ie,_e)).next())});const ne=()=>{(0,Qe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},z=()=>{(0,Qe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Ie=>ie(void 0,null,function*(){ne(),(yield(0,me.YR)(se({},Ie))).status===0&&(yield(0,E.QH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/courses/${Ie.coursesId}/export_couser_info.json`,query:Ie}))),z()}),a=Ie=>ie(void 0,null,function*(){const _e=yield(0,me.yS)(se({},Ie));if(_e.status===0)we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_member_act_score`);else{if(_e.status===-2)return _e;_e.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_member_act_score`))}}),x=Ie=>ie(void 0,null,function*(){const _e=yield(0,me.W0)(se({},Ie));if(_e.status===0)we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_score`);else{if(_e.status===-4)return _e;_e.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_score`))}}),b=Ie=>ie(void 0,null,function*(){const _e=yield(0,me.Nl)(se({},Ie));if(_e.status===0)we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(_e.status===-4)return _e;_e.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_exercise_and_other`))}}),ee=Ie=>ie(void 0,null,function*(){const _e=yield(0,me.IU)(se({},Ie));if(_e.status===0)we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/export_star_user`);else{if(_e.status===-4)return _e;_e.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/export_star_user`))}}),te=Ie=>ie(void 0,null,function*(){const _e=yield(0,me.td)(se({},Ie));if(_e.status===0)we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(_e.status===-2)return _e;if(_e.status===-3)(0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_exercise_and_other`);else if(_e.status===-4)return _e}}),de=Ie=>ie(void 0,null,function*(){const _e=yield(0,me.QX)(se({},Ie));if(_e.status===0)we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_homework`);else{if(_e.status===-4)return _e;_e.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/course_total_homework`))}}),ge=(Ie,_e)=>ie(void 0,null,function*(){const Fe=yield(0,me.o_)(se({},Ie));Fe.status===0?(we.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"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`)):Fe.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`))}),ve=(Ie,_e)=>ie(void 0,null,function*(){const Fe=yield(0,me.ZL)(se({},Ie));Fe.status===0?(we.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"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`)):Fe.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`))}),ye=(Ie,_e)=>ie(void 0,null,function*(){const Fe=yield(0,me.aP)(se({},Ie));Fe.status===0?(we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`)):Fe.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`))}),be=(Ie,_e)=>ie(void 0,null,function*(){const Fe=yield(0,me.vV)(se({},Ie));Fe.status===0?(we.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"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`)):Fe.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/${_e}`))}),Ce=Ie=>ie(void 0,null,function*(){ne(),(yield exportCourseWorkListAppendix(se({},Ie))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Ie.categoryId}/works_list.zip`,query:Ie}))),z()}),Se=Ie=>ie(void 0,null,function*(){ne(),yield(0,E.QH)("",fe.Z.API_SERVER+`/api/polls/${Ie.categoryId}/commit_result.xlsx`),z()}),Pe=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/courses/${Ie.coursesId}/attendances/export_xlsx_data.xlsx`,query:Ie}))}),Be=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/courses/${Ie.coursesId}/video_study_statics.xlsx`,query:Ie}))}),Ue=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/courses/${Ie.coursesId}/export_video_study.xlsx`,query:Ie}))}),Ee=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/courses/${Ie.coursesId}/export_course_students_info.xlsx`,query:Ie}))}),He=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Ie}))}),Oe=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Ie}))}),ke=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Ie}))}),Xe=Ie=>ie(void 0,null,function*(){const _e=yield(0,me.Uy)(se({},Ie));_e.status===0?(we.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/exercise_score,export_exercise_users`)):_e.status===-3&&((0,Qe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Qe.history.push(`/classrooms/${Ie.coursesId}/exportlist/exercise_score,export_exercise_users`))}),$e=Ie=>ie(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/export_records/${Ie.id}.xlsx`,query:Ie}))}),ze=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Ie}))}),at=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/courses/${Ie==null?void 0:Ie.coursesId}/${Ie.menuKey}_statistic.xlsx?${Ie.checkedList.map(_e=>`course_group_id[]=${_e}`).join("&")}`,query:Ie}))}),et=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/ec_years/${Ie==null?void 0:Ie.ec_year_id}/ec_training_objectives.xlsx`,query:Ie}))}),it=Ie=>ie(void 0,null,function*(){yield(0,E.FH)(Ie==null?void 0:Ie.name,(0,E.NY)({url:fe.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Ie}))}),At=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/ec_years/${Ie==null?void 0:Ie.ec_year_id}/ec_courses.xlsx`,query:Ie}))}),ot=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/ec_years/${Ie==null?void 0:Ie.ec_year_id}/ec_graduation_requirements.xlsx`,query:Ie}))}),rt=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Ie}))}),lt=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/exercises/${Ie.categoryId}/rank_list.xlsx`,query:Ie}))}),gt=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Ie}))}),yt=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/examination_banks/${Ie.id}.json`,query:Ie}))}),Tt=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/exercises/${Ie.categoryId}.json`,query:Ie}))}),vt=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/polls/${Ie==null?void 0:Ie.id}/commit_result.json`,query:Ie}))}),ut=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Ie}))}),qe=(Ie,_e)=>ie(void 0,null,function*(){yield(0,E.FH)(_e||"",(0,E.NY)({url:fe.Z.API_SERVER+`/api/exercises/${Ie==null?void 0:Ie.exercise_id}/consult_exercise.json`,query:Ie}))}),je=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/competitions/${Ie==null?void 0:Ie.identifier}/competition_commit_records/member_works.xlsx`,query:Ie}))}),Ve=Ie=>ie(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:fe.Z.API_SERVER+`/api/courses/${Ie==null?void 0:Ie.coursesId}/group_homeworks/import_group_template.xlsx`,query:Ie}))})},99473:function(Jt,Mt,pe){"use strict";pe.d(Mt,{BU:function(){return Qe},Dj:function(){return me},gH:function(){return E},vp:function(){return we}});function me(fe){try{fe.mozRequestFullScreen?fe.mozRequestFullScreen():fe.webkitRequestFullScreen&&fe.webkitRequestFullScreen()}catch(ue){console.log(ue,":e")}}function Qe(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function we(){var fe=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ue=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",fe),window.isFullScreen?window.isFullScreen:fe!=null}},66602:function(Jt,Mt,pe){"use strict";pe.d(Mt,{U:function(){return le}});var me=pe(59301),Qe=Object.defineProperty,E=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ue=(re,se,ie)=>se in re?Qe(re,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):re[se]=ie,oe=(re,se)=>{for(var ie in se||(se={}))we.call(se,ie)&&ue(re,ie,se[ie]);if(E)for(var ie of E(se))fe.call(se,ie)&&ue(re,ie,se[ie]);return re},ae=(re,se,ie)=>new Promise((ne,z)=>{var y=b=>{try{x(ie.next(b))}catch(ee){z(ee)}},a=b=>{try{x(ie.throw(b))}catch(ee){z(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(y,a);x((ie=ie.apply(re,se)).next())});function le(re,se){const[ie,ne]=(0,me.useState)(se),[z,y]=(0,me.useState)(!1),[a,x]=(0,me.useState)();return[ie,z,(ee,te=!1)=>ae(this,null,function*(){const de=te?se:oe(oe({},ie),ee);y(!0),ne(de);const ge=yield re(de);return y(!1),x(ge),ge}),a]}},57883:function(Jt,Mt,pe){"use strict";pe.d(Mt,{_:function(){return E}});var me=pe(59301),Qe=pe(43418);const E=we=>{var fe,ue;const oe=(0,me.useRef)([]),ae=()=>{for(const le of oe.current)clearTimeout(le);oe.current=[]};return(0,me.useEffect)(()=>{var le,re,se,ie,ne,z;if(ae(),(le=we==null?void 0:we.exercise)!=null&&le.left_time&&((se=(re=we==null?void 0:we.exercise)==null?void 0:re.exercise_events)==null?void 0:se.length)>0){for(const y of(ie=we==null?void 0:we.exercise)==null?void 0:ie.exercise_events)if(((ne=we==null?void 0:we.exercise)==null?void 0:ne.left_time)>(y==null?void 0:y.reminder_time)*60){let a=(((z=we==null?void 0:we.exercise)==null?void 0:z.left_time)-(y==null?void 0:y.reminder_time)*60)*1e3;a=a>2147483647?2147483647:a;const x=setTimeout(()=>{Qe.default.info({content:`${y==null?void 0:y.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},a);oe.current.push(x)}}},[(fe=we==null?void 0:we.exercise)==null?void 0:fe.left_time,(ue=we==null?void 0:we.exercise)==null?void 0:ue.exercise_events]),ae}},68142:function(Jt,Mt,pe){"use strict";pe.d(Mt,{G:function(){return fe},t:function(){return we}});var me=pe(7062),Qe=pe.n(me);const E=null;function we(ue,oe){let ae=Qe().get("__ec");ae||(ae={}),ae[ue]=oe,Qe().set("__ec",ae)}function fe(ue,oe){let ae=Qe().get("__ec");return ae?ae[ue]===void 0?oe:ae[ue]:oe}},47257:function(Jt){(function(Mt){(function(pe){if(1)Jt.exports=pe();else var me})(function(){var pe,me,Qe;return function(){function E(we,fe,ue){function oe(re,se){if(!fe[re]){if(!we[re]){var ie=void 0;if(!se&&ie)return require(re,!0);if(ae)return ae(re,!0);var ne=new Error("Cannot find module '"+re+"'");throw ne.code="MODULE_NOT_FOUND",ne}var z=fe[re]={exports:{}};we[re][0].call(z.exports,function(y){var a=we[re][1][y];return oe(a||y)},z,z.exports,E,we,fe,ue)}return fe[re].exports}for(var ae=void 0,le=0;le `.concat(b,` `),ee&&(ge+="".concat(ee,` `)),ge+=` `,de.content=ge,de.mime="xml",de.successStatuses=[200],be.next=9,this.request(de);case 9:return ve=be.sent,be.abrupt("return",{res:ve.res});case 11:case"end":return be.stop()}},x,this)}));function a(x,b,ee){return y.apply(this,arguments)}return a}(),ie.getBucketLogging=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee){var te,de,ge;return oe.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",ee),te.successStatuses=[200],te.xmlResponse=!0,ye.next=5,this.request(te);case 5:return de=ye.sent,ge=de.data.LoggingEnabled,ye.abrupt("return",{enable:!!ge,prefix:ge&&ge.TargetPrefix||null,res:de.res});case 8:case"end":return ye.stop()}},x,this)}));function a(x,b){return y.apply(this,arguments)}return a}(),ie.deleteBucketLogging=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee){var te,de;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",ee),te.successStatuses=[204,200],ve.next=4,this.request(te);case 4:return de=ve.sent,ve.abrupt("return",{res:de.res});case 6:case"end":return ve.stop()}},x,this)}));function a(x,b){return y.apply(this,arguments)}return a}(),ie.putBucketCORS=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee,te){var de,ge,ve,ye,be,Ce,Se,Pe,Be,Ue;return oe.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:for(ee=ee||[],le(ee.length,"rules is required"),ee.forEach(function(Oe){le(Oe.allowedOrigin,"allowedOrigin is required"),le(Oe.allowedMethod,"allowedMethod is required")}),de=this._bucketRequestParams("PUT",b,"cors",te),ge=` `,ve=function(ke){ge+="".concat(ke,"")},ye=function(ke){ge+="".concat(ke,"")},be=function(ke){ge+="".concat(ke,"")},Ce=function(ke){ge+="".concat(ke,"")},Se=0,Pe=ee.length;Se",z(Be.allowedOrigin).forEach(ve),z(Be.allowedMethod).forEach(ye),z(Be.allowedHeader).forEach(be),z(Be.exposeHeader).forEach(Ce),Be.maxAgeSeconds&&(ge+="".concat(Be.maxAgeSeconds,"")),ge+="";return ge+="",de.content=ge,de.mime="xml",de.successStatuses=[200],He.next=16,this.request(de);case 16:return Ue=He.sent,He.abrupt("return",{res:Ue.res});case 18:case"end":return He.stop()}},x,this)}));function a(x,b,ee){return y.apply(this,arguments)}return a}(),ie.getBucketCORS=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee){var te,de,ge,ve;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",ee),te.successStatuses=[200],te.xmlResponse=!0,be.next=5,this.request(te);case 5:return de=be.sent,ge=[],de.data&&de.data.CORSRule&&(ve=de.data.CORSRule,ne(ve)||(ve=[ve]),ve.forEach(function(Ce){var Se={};Object.keys(Ce).forEach(function(Pe){Se[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=Ce[Pe]}),ge.push(Se)})),be.abrupt("return",{rules:ge,res:de.res});case 9:case"end":return be.stop()}},x,this)}));function a(x,b){return y.apply(this,arguments)}return a}(),ie.deleteBucketCORS=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee){var te,de;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",ee),te.successStatuses=[204],ve.next=4,this.request(te);case 4:return de=ve.sent,ve.abrupt("return",{res:de.res});case 6:case"end":return ve.stop()}},x,this)}));function a(x,b){return y.apply(this,arguments)}return a}(),ie.putBucketReferer=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee,te,de){var ge,ve,ye,be;return oe.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:if(ge=this._bucketRequestParams("PUT",b,"referer",de),ve=` `,ve+=" ".concat(ee?"true":"false",` `),te&&te.length>0){for(ve+=` `,ye=0;ye".concat(te[ye],` `);ve+=` `}else ve+=` `;return ve+="",ge.content=ve,ge.mime="xml",ge.successStatuses=[200],Se.next=10,this.request(ge);case 10:return be=Se.sent,Se.abrupt("return",{res:be.res});case 12:case"end":return Se.stop()}},x,this)}));function a(x,b,ee,te){return y.apply(this,arguments)}return a}(),ie.getBucketReferer=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee){var te,de,ge;return oe.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",ee),te.successStatuses=[200],te.xmlResponse=!0,ye.next=5,this.request(te);case 5:return de=ye.sent,ge=de.data.RefererList.Referer||null,ge&&(ne(ge)||(ge=[ge])),ye.abrupt("return",{allowEmpty:de.data.AllowEmptyReferer==="true",referers:ge,res:de.res});case 9:case"end":return ye.stop()}},x,this)}));function a(x,b){return y.apply(this,arguments)}return a}(),ie.deleteBucketReferer=function(){var y=(0,ae.default)(oe.default.mark(function x(b,ee){return oe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return de.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return de.abrupt("return",de.sent);case 3:case"end":return de.stop()}},x,this)}));function a(x,b){return y.apply(this,arguments)}return a}(),ie._bucketRequestParams=function(a,x,b,ee){return{method:a,bucket:x,subres:b,timeout:ee&&ee.timeout,ctx:ee&&ee.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,we,fe){(function(ue,oe){(function(){"use strict";var ae=E("@babel/runtime/helpers/interopRequireDefault"),le=ae(E("@babel/runtime/regenerator")),re=ae(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var se=E("debug")("ali-oss"),ie=E("xml2js"),ne=E("agentkeepalive"),z=E("merge-descriptors"),y=E("platform"),a=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),te=E("../common/signUtils"),de=E("../common/client/initOptions"),ge=E("../common/utils/createRequest"),ve=ge.createRequest,ye=E("../common/utils/encoder"),be=ye.encoder,Ce=E("../common/client/getReqUrl"),Se=Ce.getReqUrl,Pe=E("../common/utils/setSTSToken"),Be=Pe.setSTSToken,Ue=E("../common/utils/retry"),Ee=Ue.retry,He=E("../common/utils/isFunction"),Oe=He.isFunction,ke=new ne;function Xe(){var At=y.name,ot=y.version;At&&At.toLowerCase&&At.toLowerCase()==="ie"&&ot.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function $e(){return location&&location.protocol==="https:"}function ze(At,ot){if(Xe(),!(this instanceof ze))return new ze(At,ot);At&&At.inited?this.options=At:this.options=ze.initOptions(At),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||ke),this.ctx=ot,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}we.exports=ze,ze.initOptions=function(ot){ot.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var rt=Object.assign({secure:$e(),useFetch:!1},ot);return de(rt)};var at=ze.prototype;at.debug=se,z(at,E("./object")),z(at,E("./bucket")),z(at,E("../common/bucket/getBucketWebsite")),z(at,E("../common/bucket/putBucketWebsite")),z(at,E("../common/bucket/deleteBucketWebsite")),z(at,E("../common/bucket/getBucketLifecycle")),z(at,E("../common/bucket/putBucketLifecycle")),z(at,E("../common/bucket/deleteBucketLifecycle")),z(at,E("../common/bucket/putBucketVersioning")),z(at,E("../common/bucket/getBucketVersioning")),z(at,E("../common/bucket/getBucketInventory")),z(at,E("../common/bucket/deleteBucketInventory")),z(at,E("../common/bucket/listBucketInventory")),z(at,E("../common/bucket/putBucketInventory")),z(at,E("../common/bucket/abortBucketWorm")),z(at,E("../common/bucket/completeBucketWorm")),z(at,E("../common/bucket/extendBucketWorm")),z(at,E("../common/bucket/getBucketWorm")),z(at,E("../common/bucket/initiateBucketWorm")),z(at,E("./managed-upload")),z(at,E("../common/multipart-copy")),z(at,E("../common/multipart")),z(at,E("../common/parallel")),at.signature=function(ot){return this.debug("authorization stringToSign: %s",ot,"info"),te.computeSignature(this.options.accessKeySecret,ot,this.options.headerEncoding)},at._getReqUrl=Se,at.authorization=function(ot,rt,lt,gt){var yt=te.buildCanonicalString(ot.toUpperCase(),rt,{headers:gt,parameters:lt});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,yt,this.options.headerEncoding)},at.request=function(){var At=(0,re.default)(le.default.mark(function ot(rt){var lt=this;return le.default.wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:if(!this.options.retryMax){yt.next=6;break}return yt.next=3,Ee(et.bind(this),this.options.retryMax,{errorHandler:function(vt){var ut=function(je){if(rt.stream)return!1;var Ve=[-1,-2].includes(je.status),Ie=lt.options.requestErrorRetryHandle||function(){return!0};return Ve&&Ie(je)};return!!ut(vt)}})(rt);case 3:return yt.abrupt("return",yt.sent);case 6:return yt.abrupt("return",et.call(this,rt));case 7:case"end":return yt.stop()}},ot,this)}));return function(ot){return At.apply(this,arguments)}}();function et(At){return it.apply(this,arguments)}function it(){return it=(0,re.default)(le.default.mark(function At(ot){var rt,lt,gt,yt,Tt,vt;return le.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!(this.options.stsToken&&Oe(this.options.refreshSTSToken))){qe.next=3;break}return qe.next=3,Be.call(this);case 3:return rt=ve.call(this,ot),this.options.useFetch||(rt.params.mode="disable-fetch"),yt=!!ot.stream,qe.prev=6,qe.next=9,this.urllib.request(rt.url,rt.params);case 9:lt=qe.sent,this.debug("response %s %s, got %s, headers: %j",ot.method,rt.url,lt.status,lt.headers,"info"),qe.next=16;break;case 13:qe.prev=13,qe.t0=qe.catch(6),gt=qe.t0;case 16:if(!(lt&&ot.successStatuses&&ot.successStatuses.indexOf(lt.status)===-1)){qe.next=28;break}return qe.next=19,this.requestError(lt);case 19:if(Tt=qe.sent,!(Tt.code==="RequestTimeTooSkewed"&&!yt)){qe.next=25;break}return this.options.amendTimeSkewed=+new Date(Tt.serverTime)-new Date,qe.next=24,this.request(ot);case 24:return qe.abrupt("return",qe.sent);case 25:Tt.params=ot,qe.next=32;break;case 28:if(!gt){qe.next=32;break}return qe.next=31,this.requestError(gt);case 31:Tt=qe.sent;case 32:if(!Tt){qe.next=34;break}throw Tt;case 34:if(!ot.xmlResponse){qe.next=39;break}return qe.next=37,this.parseXML(lt.data);case 37:vt=qe.sent,lt.data=vt;case 39:return qe.abrupt("return",lt);case 40:case"end":return qe.stop()}},At,this,[[6,13]])})),it.apply(this,arguments)}at._getResource=function(ot){var rt="/";return ot.bucket&&(rt+="".concat(ot.bucket,"/")),ot.object&&(rt+=be(ot.object,this.options.headerEncoding)),rt},at._escape=function(ot){return a.encodeURIComponent(ot).replace(/%2F/g,"/")},at._getUserAgent=function(){var ot=oe&&oe.browser?"js":"nodejs",rt="aliyun-sdk-".concat(ot,"/").concat(b.version),lt=y.description;return!lt&&oe&&(lt="Node.js ".concat(oe.version.slice(1)," on ").concat(oe.platform," ").concat(oe.arch)),this._checkUserAgent("".concat(rt," ").concat(lt))},at._checkUserAgent=function(ot){var rt=ot.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return rt},at.checkBrowserAndVersion=function(ot,rt){return ee.name===ot&&ee.version.split(".")[0]===rt},at.parseXML=function(ot){return new Promise(function(rt,lt){ue.isBuffer(ot)&&(ot=ot.toString()),ie.parseString(ot,{explicitRoot:!1,explicitArray:!1},function(gt,yt){gt?lt(gt):rt(yt)})})},at.requestError=function(){var At=(0,re.default)(le.default.mark(function rt(lt){var gt,yt,Tt,vt;return le.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(gt=null,!(!lt.data||!lt.data.length)){qe.next=5;break}lt.status===-1||lt.status===-2?(gt=new Error(lt.message),gt.name=lt.name,gt.status=lt.status,gt.code=lt.name):(lt.status===404?(gt=new Error("Object not exists"),gt.name="NoSuchKeyError",gt.status=404,gt.code="NoSuchKey"):lt.status===412?(gt=new Error("Pre condition failed"),gt.name="PreconditionFailedError",gt.status=412,gt.code="PreconditionFailed"):(gt=new Error("Unknow error, status: ".concat(lt.status)),gt.name="UnknownError",gt.status=lt.status),gt.requestId=lt.headers["x-oss-request-id"],gt.host=""),qe.next=32;break;case 5:return yt=String(lt.data),this.debug("request response error data: %s",yt,"error"),qe.prev=7,qe.next=10,this.parseXML(yt);case 10:if(qe.t0=qe.sent,qe.t0){qe.next=13;break}qe.t0={};case 13:Tt=qe.t0,qe.next=23;break;case 16:return qe.prev=16,qe.t1=qe.catch(7),this.debug(yt,"error"),qe.t1.message+=` raw xml: `.concat(yt),qe.t1.status=lt.status,qe.t1.requestId=lt.headers["x-oss-request-id"],qe.abrupt("return",qe.t1);case 23:vt=Tt.Message||"unknow request error, status: ".concat(lt.status),Tt.Condition&&(vt+=" (condition: ".concat(Tt.Condition,")")),gt=new Error(vt),gt.name=Tt.Code?"".concat(Tt.Code,"Error"):"UnknownError",gt.status=lt.status,gt.code=Tt.Code,gt.requestId=Tt.RequestId,gt.hostId=Tt.HostId,gt.serverTime=Tt.ServerTime;case 32:return this.debug("generate error %j",gt,"error"),qe.abrupt("return",gt);case 34:case"end":return qe.stop()}},rt,this,[[7,16]])}));function ot(rt){return At.apply(this,arguments)}return ot}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,we,fe){(function(ue){(function(){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),ae=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var le=oe(E("@babel/runtime/helpers/asyncToGenerator")),re=E("util"),se=E("path"),ie=E("mime"),ne=E("copy-to"),z=E("../common/utils/isBlob"),y=z.isBlob,a=E("../common/utils/isFile"),x=a.isFile,b=E("../common/utils/isBuffer"),ee=b.isBuffer,te=fe;te.multipartUpload=function(){var be=(0,le.default)(ae.default.mark(function Se(Pe,Be){var Ue,Ee,He,Oe,ke,Xe,$e,ze,at,et=arguments;return ae.default.wrap(function(At){for(;;)switch(At.prev=At.next){case 0:if(Ue=et.length>2&&et[2]!==void 0?et[2]:{},this.resetCancelFlag(),Ue.disabledMD5=Ue.disabledMD5===void 0?!0:!!Ue.disabledMD5,!(Ue.checkpoint&&Ue.checkpoint.uploadId)){At.next=8;break}return Be&&x(Be)&&(Ue.checkpoint.file=Be),At.next=7,this._resumeMultipart(Ue.checkpoint,Ue);case 7:return At.abrupt("return",At.sent);case 8:return Ee=102400,Ue.mime||(x(Be)?Ue.mime=ie.getType(se.extname(Be.name)):y(Be)?Ue.mime=Be.type:ee(Be)?Ue.mime="":Ue.mime=ie.getType(se.extname(Be))),Ue.headers=Ue.headers||{},this._convertMetaToHeaders(Ue.meta,Ue.headers),At.next=14,this._getFileSize(Be);case 14:if(He=At.sent,!(He0&&ne(Xe).to(ze),at=this._divideParts(He,Oe),et=at.length,it=!1,At=function(Ve,Ie){return new Promise(function(){var _e=(0,le.default)(ae.default.mark(function Fe(De,Te){var Ne,Le,Ge,dt,mt;return ae.default.wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:if(Et.prev=0,Ve.isCancel()){Et.next=29;break}return Ne=at[Ie-1],Et.next=5,Ve._createBuffer(Ee,Ne.start,Ne.end);case 5:return Le=Et.sent,Ge={content:Le,size:Ne.end-Ne.start},Et.prev=7,Et.next=10,Ve._uploadPart($e,ke,Ie,Ge,Be);case 10:dt=Et.sent,Et.next=18;break;case 13:if(Et.prev=13,Et.t0=Et.catch(7),Et.t0.status!==404){Et.next=17;break}throw Ve._makeAbortEvent();case 17:throw Et.t0;case 18:if(!(!Ve.isCancel()&&!it)){Et.next=26;break}if(Pe.doneParts.push({number:Ie,etag:dt.res.headers.etag}),!Be.progress){Et.next=23;break}return Et.next=23,Be.progress(Xe.length/(et+1),Pe,dt.res);case 23:De({number:Ie,etag:dt.res.headers.etag}),Et.next=27;break;case 26:De();case 27:Et.next=30;break;case 29:De();case 30:Et.next=41;break;case 32:Et.prev=32,Et.t1=Et.catch(0),mt=new Error,mt.name=Et.t1.name,mt.message=Et.t1.message,mt.stack=Et.t1.stack,mt.partNum=Ie,ne(Et.t1).to(mt),Te(mt);case 41:case"end":return Et.stop()}},Fe,null,[[0,32],[7,13]])}));return function(Fe,De){return _e.apply(this,arguments)}}())},ot=Array.from(new Array(et),function(je,Ve){return Ve+1}),rt=ze.map(function(je){return je.number}),lt=ot.filter(function(je){return rt.indexOf(je)<0}),gt=5,yt=Be.parallel||gt,qe.next=17,this._parallel(lt,yt,function(je){return new Promise(function(Ve,Ie){At(Ue,je).then(function(_e){_e&&ze.push(_e),Ve()}).catch(function(_e){Ie(_e)})})});case 17:if(Tt=qe.sent,it=!0,vt=Tt.find(function(je){return je.name==="abort"}),!vt){qe.next=22;break}throw vt;case 22:if(!this.isCancel()){qe.next=25;break}throw At=null,this._makeCancelEvent();case 25:if(!(Tt&&Tt.length>0)){qe.next=28;break}throw Tt[0].message="Failed to upload some parts with error: ".concat(Tt[0].toString()," part_num: ").concat(Tt[0].partNum),Tt[0];case 28:return qe.next=30,this.completeMultipartUpload($e,ke,ze,Be);case 30:return qe.abrupt("return",qe.sent);case 31:case"end":return qe.stop()}},Se,this)}));function Ce(Se,Pe){return be.apply(this,arguments)}return Ce}(),te._getFileSize=function(){var be=(0,le.default)(ae.default.mark(function Se(Pe){return ae.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(!ee(Pe)){Ue.next=4;break}return Ue.abrupt("return",Pe.length);case 4:if(!(y(Pe)||x(Pe))){Ue.next=6;break}return Ue.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Ue.stop()}},Se)}));function Ce(Se){return be.apply(this,arguments)}return Ce}();var de=E("stream"),ge=de.Readable;function ve(be,Ce){if(!(this instanceof ve))return new ve(be,Ce);ge.call(this,Ce),this.file=be,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}re.inherits(ve,ge),ve.prototype.readFileAndPush=function(Ce){if(this.fileBuffer)for(var Se=!0;Se&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:Be,this.start=Be,Se=this.push(this.fileBuffer.slice(Pe,Be))}},ve.prototype._read=function(Ce){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var Se=16*1024;Ce=Ce||Se;var Pe=this;this.reader.onload=function(Ue){Pe.fileBuffer=ue.from(new Uint8Array(Ue.target.result)),Pe.file=null,Pe.readFileAndPush(Ce)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Ce)};function ye(be){return be.arrayBuffer?be.arrayBuffer():new Promise(function(Ce,Se){var Pe=new FileReader;Pe.onload=function(Be){Ce(Be.target.result)},Pe.onerror=function(Be){Se(Be)},Pe.readAsArrayBuffer(be)})}te._createBuffer=function(){var be=(0,le.default)(ae.default.mark(function Se(Pe,Be,Ue){var Ee,He;return ae.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(!(y(Pe)||x(Pe))){ke.next=8;break}return Ee=Pe.slice(Be,Ue),ke.next=4,ye(Ee);case 4:return He=ke.sent,ke.abrupt("return",ue.from(He));case 8:if(!ee(Pe)){ke.next=12;break}return ke.abrupt("return",Pe.subarray(Be,Ue));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return ke.stop()}},Se)}));function Ce(Se,Pe,Be){return be.apply(this,arguments)}return Ce}(),te._getPartSize=function(Ce,Se){var Pe=1e4,Be=1*1024*1024;Se||(Se=Be);var Ue=Math.ceil(Ce/Pe);return Se1&&Xe[1]!==void 0?Xe[1]:{},Be=Se["continuation-token"]||Se.continuationToken,Be&&(Pe.subres=Object.assign({"continuation-token":Be},Pe.subres)),Ue=this._objectRequestParams("GET","",Pe),Ue.query=Object.assign({"list-type":2},Se),delete Ue.query["continuation-token"],delete Ue.query.continuationToken,Ue.xmlResponse=!0,Ue.successStatuses=[200],ze.next=11,this.request(Ue);case 11:return Ee=ze.sent,He=Ee.data.Contents||[],Oe=this,He&&(Array.isArray(He)||(He=[He]),He=He.map(function(at){var et=null;return at.Owner&&(et={id:at.Owner.ID,displayName:at.Owner.DisplayName}),{name:at.Key,url:Oe._objectUrl(at.Key),lastModified:at.LastModified,etag:at.ETag,type:at.Type,size:Number(at.Size),storageClass:at.StorageClass,owner:et}})),ke=Ee.data.CommonPrefixes||null,ke&&(Array.isArray(ke)||(ke=[ke]),ke=ke.map(function(at){return at.Prefix})),ze.abrupt("return",{res:Ee.res,objects:He,prefixes:ke,isTruncated:Ee.data.IsTruncated==="true",keyCount:+Ee.data.KeyCount,continuationToken:Ee.data.ContinuationToken||null,nextContinuationToken:Ee.data.NextContinuationToken||null});case 18:case"end":return ze.stop()}},Ce,this)}));function be(Ce){return ye.apply(this,arguments)}return be}(),ve.restore=function(){var ye=(0,ae.default)(oe.default.mark(function Ce(Se){var Pe,Be,Ue,Ee,He=arguments;return oe.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return Pe=He.length>1&&He[1]!==void 0?He[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),Be=this._objectRequestParams("POST",Se,Pe),Pe.type==="ColdArchive"&&(Ue={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},Be.content=ge(Ue,{headers:!0}),Be.mime="xml"),Be.successStatuses=[202],ke.next=9,this.request(Be);case 9:return Ee=ke.sent,ke.abrupt("return",{res:Ee.res});case 11:case"end":return ke.stop()}},Ce,this)}));function be(Ce){return ye.apply(this,arguments)}return be}(),ve._objectUrl=function(be){return this._getReqUrl({bucket:this.options.bucket,object:be})},ve._objectRequestParams=function(be,Ce,Se){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");Se=Se||{},Ce=this._objectName(Ce);var Pe={object:Ce,bucket:this.options.bucket,method:be,subres:Se&&Se.subres,timeout:Se&&Se.timeout,ctx:Se&&Se.ctx};return Se.headers&&(Pe.headers={},re(Se.headers).to(Pe.headers)),Pe},ve._objectName=function(be){return be.replace(/^\/+/,"")},ve._convertMetaToHeaders=function(be,Ce){be&&Object.keys(be).forEach(function(Se){Ce["x-oss-meta-".concat(Se)]=be[Se]})},ve._deleteFileSafe=function(be){var Ce=this;return new Promise(function(Se){le.exists(be,function(Pe){Pe?le.unlink(be,function(Be){Be&&Ce.debug("unlink %j error: %s",be,Be,"error"),Se()}):Se()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,we,fe){"use strict";fe.version="6.18.1"},{}],7:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.abortBucketWorm=void 0;var le=E("../utils/checkBucketName");function re(ie,ne){return se.apply(this,arguments)}function se(){return se=(0,ae.default)(oe.default.mark(function ie(ne,z){var y,a;return oe.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return le.checkBucketName(ne),y=this._bucketRequestParams("DELETE",ne,"worm",z),b.next=4,this.request(y);case 4:return a=b.sent,b.abrupt("return",{res:a.res,status:a.status});case 6:case"end":return b.stop()}},ie,this)})),se.apply(this,arguments)}fe.abortBucketWorm=re},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.completeBucketWorm=void 0;var le=E("../utils/checkBucketName");function re(ie,ne,z){return se.apply(this,arguments)}function se(){return se=(0,ae.default)(oe.default.mark(function ie(ne,z,y){var a,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(ne),a=this._bucketRequestParams("POST",ne,{wormId:z},y),ee.next=4,this.request(a);case 4:return x=ee.sent,ee.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return ee.stop()}},ie,this)})),se.apply(this,arguments)}fe.completeBucketWorm=re},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deleteBucketInventory=void 0;var le=E("../utils/checkBucketName");function re(ie,ne){return se.apply(this,arguments)}function se(){return se=(0,ae.default)(oe.default.mark(function ie(ne,z){var y,a,x,b,ee=arguments;return oe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return y=ee.length>2&&ee[2]!==void 0?ee[2]:{},a=Object.assign({inventory:"",inventoryId:z},y.subres),le.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,a,y),x.successStatuses=[204],de.next=7,this.request(x);case 7:return b=de.sent,de.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return de.stop()}},ie,this)})),se.apply(this,arguments)}fe.deleteBucketInventory=re},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=fe;se.deleteBucketLifecycle=function(){var ie=(0,ae.default)(oe.default.mark(function z(y,a){var x,b;return oe.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return re(y),x=this._bucketRequestParams("DELETE",y,"lifecycle",a),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function ne(z,y){return ie.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=fe;se.deleteBucketWebsite=function(){var ie=(0,ae.default)(oe.default.mark(function z(y,a){var x,b;return oe.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return re(y),x=this._bucketRequestParams("DELETE",y,"website",a),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function ne(z,y){return ie.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.extendBucketWorm=void 0;var le=E("../utils/checkBucketName"),re=E("../utils/obj2xml");function se(ne,z,y,a){return ie.apply(this,arguments)}function ie(){return ie=(0,ae.default)(oe.default.mark(function ne(z,y,a,x){var b,ee,te;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return le.checkBucketName(z),b=this._bucketRequestParams("POST",z,{wormExtend:"",wormId:y},x),ee={ExtendWormConfiguration:{RetentionPeriodInDays:a}},b.mime="xml",b.content=re.obj2xml(ee,{headers:!0}),b.successStatuses=[200],ge.next=8,this.request(b);case 8:return te=ge.sent,ge.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return ge.stop()}},ne,this)})),ie.apply(this,arguments)}fe.extendBucketWorm=se},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketInventory=void 0;var le=E("../utils/checkBucketName"),re=E("../utils/formatInventoryConfig");function se(ne,z){return ie.apply(this,arguments)}function ie(){return ie=(0,ae.default)(oe.default.mark(function ne(z,y){var a,x,b,ee,te=arguments;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return a=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:y},a.subres),le.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,a),b.successStatuses=[200],b.xmlResponse=!0,ge.next=8,this.request(b);case 8:return ee=ge.sent,ge.abrupt("return",{status:ee.status,res:ee.res,inventory:re.formatInventoryConfig(ee.data)});case 10:case"end":return ge.stop()}},ne,this)})),ie.apply(this,arguments)}fe.getBucketInventory=se},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=E("../utils/isArray"),ie=se.isArray,ne=E("../utils/formatObjKey"),z=ne.formatObjKey,y=fe;y.getBucketLifecycle=function(){var a=(0,ae.default)(oe.default.mark(function b(ee,te){var de,ge,ve;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return re(ee),de=this._bucketRequestParams("GET",ee,"lifecycle",te),de.successStatuses=[200],de.xmlResponse=!0,be.next=6,this.request(de);case 6:return ge=be.sent,ve=ge.data.Rule||null,ve&&(ie(ve)||(ve=[ve]),ve=ve.map(function(Ce){return Ce.ID&&(Ce.id=Ce.ID,delete Ce.ID),Ce.Tag&&!ie(Ce.Tag)&&(Ce.Tag=[Ce.Tag]),z(Ce,"firstLowerCase")})),be.abrupt("return",{rules:ve,res:ge.res});case 10:case"end":return be.stop()}},b,this)}));function x(b,ee){return a.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=fe;se.getBucketVersioning=function(){var ie=(0,ae.default)(oe.default.mark(function z(y,a){var x,b,ee;return oe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return re(y),x=this._bucketRequestParams("GET",y,"versioning",a),x.xmlResponse=!0,x.successStatuses=[200],de.next=6,this.request(x);case 6:return b=de.sent,ee=b.data.Status,de.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return de.stop()}},z,this)}));function ne(z,y){return ie.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=E("../utils/isObject"),ie=se.isObject,ne=fe;ne.getBucketWebsite=function(){var z=(0,ae.default)(oe.default.mark(function a(x,b){var ee,te,de;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return re(x),ee=this._bucketRequestParams("GET",x,"website",b),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=6,this.request(ee);case 6:return te=ve.sent,de=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(ie(te.data.RoutingRules.RoutingRule)?de=[te.data.RoutingRules.RoutingRule]:de=te.data.RoutingRules.RoutingRule),ve.abrupt("return",{index:te.data.IndexDocument&&te.data.IndexDocument.Suffix||"",supportSubDir:te.data.IndexDocument&&te.data.IndexDocument.SupportSubDir||"false",type:te.data.IndexDocument&&te.data.IndexDocument.Type,routingRules:de,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return ve.stop()}},a,this)}));function y(a,x){return z.apply(this,arguments)}return y}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketWorm=void 0;var le=E("../utils/checkBucketName"),re=E("../utils/dataFix");function se(ne,z){return ie.apply(this,arguments)}function ie(){return ie=(0,ae.default)(oe.default.mark(function ne(z,y){var a,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(z),a=this._bucketRequestParams("GET",z,"worm",y),a.successStatuses=[200],a.xmlResponse=!0,ee.next=6,this.request(a);case 6:return x=ee.sent,re.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ee.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return ee.stop()}},ne,this)})),ie.apply(this,arguments)}fe.getBucketWorm=se},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.initiateBucketWorm=void 0;var le=E("../utils/obj2xml"),re=E("../utils/checkBucketName");function se(ne,z,y){return ie.apply(this,arguments)}function ie(){return ie=(0,ae.default)(oe.default.mark(function ne(z,y,a){var x,b,ee;return oe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return re.checkBucketName(z),x=this._bucketRequestParams("POST",z,"worm",a),b={InitiateWormConfiguration:{RetentionPeriodInDays:y}},x.mime="xml",x.content=le.obj2xml(b,{headers:!0}),x.successStatuses=[200],de.next=8,this.request(x);case 8:return ee=de.sent,de.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return de.stop()}},ne,this)})),ie.apply(this,arguments)}fe.initiateBucketWorm=se},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.listBucketInventory=void 0;var le=E("../utils/checkBucketName"),re=E("../utils/formatInventoryConfig");function se(ne){return ie.apply(this,arguments)}function ie(){return ie=(0,ae.default)(oe.default.mark(function ne(z){var y,a,x,b,ee,te,de,ge,ve=arguments;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return y=ve.length>1&&ve[1]!==void 0?ve[1]:{},a=y.continuationToken,x=Object.assign({inventory:""},a&&{"continuation-token":a},y.subres),le.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,y),b.successStatuses=[200],b.xmlResponse=!0,be.next=9,this.request(b);case 9:return ee=be.sent,te=ee.data,de=ee.res,ge=ee.status,be.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:re.formatInventoryConfig(te.InventoryConfiguration,!0),status:ge,res:de});case 12:case"end":return be.stop()}},ne,this)})),ie.apply(this,arguments)}fe.listBucketInventory=se},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.putBucketInventory=void 0;var le=E("../utils/checkBucketName"),re=E("../utils/obj2xml");function se(ne,z){return ie.apply(this,arguments)}function ie(){return ie=(0,ae.default)(oe.default.mark(function ne(z,y){var a,x,b,ee,te,de,ge,ve,ye,be,Ce,Se=arguments;return oe.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return a=Se.length>2&&Se[2]!==void 0?Se[2]:{},x=Object.assign({inventory:"",inventoryId:y.id},a.subres),le.checkBucketName(z),b=y.OSSBucketDestination,ee=y.optionalFields,te=y.includedObjectVersions,de="acs:oss:::",ge="acs:ram::".concat(b.accountId,":role/"),ve={InventoryConfiguration:{Id:y.id,IsEnabled:y.isEnabled,Filter:{Prefix:y.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(ge).concat(b.rolename),Bucket:"".concat(de).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:y.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},ye=re.obj2xml(ve,{headers:!0,firstUpperCase:!0}),be=this._bucketRequestParams("PUT",z,x,a),be.successStatuses=[200],be.mime="xml",be.content=ye,Be.next=14,this.request(be);case 14:return Ce=Be.sent,Be.abrupt("return",{status:Ce.status,res:Ce.res});case 16:case"end":return Be.stop()}},ne,this)})),ie.apply(this,arguments)}fe.putBucketInventory=se},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=E("../utils/isArray"),ie=se.isArray,ne=E("../utils/deepCopy"),z=ne.deepCopy,y=E("../utils/isObject"),a=y.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,ee=E("../utils/checkObjectTag"),te=ee.checkObjectTag,de=E("../utils/getStrBytesCount"),ge=de.getStrBytesCount,ve=fe;ve.putBucketLifecycle=function(){var Pe=(0,ae.default)(oe.default.mark(function Ue(Ee,He,Oe){var ke,Xe,$e,ze,at;return oe.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:if(re(Ee),ie(He)){it.next=3;break}throw new Error("rules must be Array");case 3:return ke=this._bucketRequestParams("PUT",Ee,"lifecycle",Oe),Xe=[],$e={LifecycleConfiguration:{Rule:Xe}},He.forEach(function(At){ye(At),Se(At),At.id&&(At.ID=At.id,delete At.id),Xe.push(At)}),ze=b($e,{headers:!0,firstUpperCase:!0}),ke.content=ze,ke.mime="xml",ke.successStatuses=[200],it.next=13,this.request(ke);case 13:return at=it.sent,it.abrupt("return",{res:at.res});case 15:case"end":return it.stop()}},Ue,this)}));function Be(Ue,Ee,He){return Pe.apply(this,arguments)}return Be}();function ye(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function be(Pe,Be){var Ue=Pe.days,Ee=Pe.createdBeforeDate;if(!Ue&&!Ee)throw new Error("".concat(Be," must includes days or createdBeforeDate"));if(Ue&&!/^[1-9][0-9]*$/.test(Ue))throw new Error("days must be a positive integer");if(Ee&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ee))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Ce(Pe){if(!ie(Pe)&&!a(Pe))throw new Error("tag must be Object or Array");Pe=a(Pe)?[Pe]:Pe;var Be={},Ue=z(Pe);Ue.forEach(function(Ee){Be[Ee.key]=Ee.value}),te(Be)}function Se(Pe){if(Pe.id&&ge(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");be(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)be(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&be(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Ce(Pe.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=E("../utils/obj2xml"),ie=se.obj2xml,ne=fe;ne.putBucketVersioning=function(){var z=(0,ae.default)(oe.default.mark(function a(x,b){var ee,te,de,ge,ve=arguments;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:if(ee=ve.length>2&&ve[2]!==void 0?ve[2]:{},re(x),["Enabled","Suspended"].includes(b)){be.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",ee),de={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=ie(de,{headers:!0}),be.next=10,this.request(te);case 10:return ge=be.sent,be.abrupt("return",{res:ge.res,status:ge.status});case 12:case"end":return be.stop()}},a,this)}));function y(a,x){return z.apply(this,arguments)}return y}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=E("../utils/obj2xml"),ie=se.obj2xml,ne=E("../utils/isArray"),z=ne.isArray,y=fe;y.putBucketWebsite=function(){var a=(0,ae.default)(oe.default.mark(function b(ee){var te,de,ge,ve,ye,be,Ce,Se=arguments;return oe.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(te=Se.length>1&&Se[1]!==void 0?Se[1]:{},de=Se.length>2?Se[2]:void 0,re(ee),ge=this._bucketRequestParams("PUT",ee,"website",de),ve={Suffix:te.index||"index.html"},ye={IndexDocument:ve},be={WebsiteConfiguration:ye},te.supportSubDir&&(ve.SupportSubDir=te.supportSubDir),te.type&&(ve.Type=te.type),te.error&&(ye.ErrorDocument={Key:te.error}),te.routingRules===void 0){Be.next=14;break}if(z(te.routingRules)){Be.next=13;break}throw new Error("RoutingRules must be Array");case 13:ye.RoutingRules={RoutingRule:te.routingRules};case 14:return be=ie(be),ge.content=be,ge.mime="xml",ge.successStatuses=[200],Be.next=20,this.request(ge);case 20:return Ce=Be.sent,Be.abrupt("return",{res:Ce.res});case 22:case"end":return Be.stop()}},b,this)}));function x(b){return a.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,we,fe){(function(ue){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),fe.encodeCallback=function(ae,le){if(ae.headers=ae.headers||{},!Object.prototype.hasOwnProperty.call(ae.headers,"x-oss-callback")&&le.callback){var re={callbackUrl:encodeURI(le.callback.url),callbackBody:le.callback.body};le.callback.host&&(re.callbackHost=le.callback.host),le.callback.contentType&&(re.callbackBodyType=le.callback.contentType);var se=ue.from(JSON.stringify(re)).toString("base64");if(ae.headers["x-oss-callback"]=se,le.callback.customValue){var ie={};Object.keys(le.callback.customValue).forEach(function(ne){ie["x:".concat(ne)]=le.callback.customValue[ne].toString()}),ae.headers["x-oss-callback-var"]=ue.from(JSON.stringify(ie)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,we,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ue=function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.getReqUrl=void 0;var oe=ue(E("copy-to")),ae=ue(E("url")),le=ue(E("merge-descriptors")),re=ue(E("is-type-of")),se=E("../utils/isIP"),ie=E("../utils/checkConfigValid");function ne(z){var y={},a=this.options.cname;ie.checkConfigValid(this.options.endpoint,"endpoint"),oe.default(this.options.endpoint,!1).to(y),z.bucket&&!a&&!se.isIP(y.hostname)&&!this.options.sldEnable&&(y.host="".concat(z.bucket,".").concat(y.host));var x="/";z.bucket&&this.options.sldEnable&&(x+="".concat(z.bucket,"/")),z.object&&(x+=this._escape(z.object).replace(/\+/g,"%2B")),y.pathname=x;var b={};if(z.query&&le.default(b,z.query),z.subres){var ee={};re.default.string(z.subres)?ee[z.subres]="":re.default.array(z.subres)?z.subres.forEach(function(te){ee[te]=""}):ee=z.subres,le.default(b,ee)}return y.query=b,ae.default.format(y)}fe.getReqUrl=ne},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,we,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var ue=E("humanize-ms"),oe=E("url"),ae=E("../utils/checkBucketName"),le=ae.checkBucketName,re=E("../utils/setRegion"),se=re.setRegion,ie=E("../utils/checkConfigValid"),ne=ie.checkConfigValid;function z(y,a){ne(y,"endpoint");var x=oe.parse(y);if(x.protocol||(x=oe.parse("http".concat(a?"s":"","://").concat(y))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}we.exports=function(y){if(!y||!y.accessKeyId||!y.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");y.stsToken&&!y.refreshSTSToken&&!y.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),y.bucket&&le(y.bucket);var a=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},y);if(a.accessKeyId=a.accessKeyId.trim(),a.accessKeySecret=a.accessKeySecret.trim(),a.timeout&&(a.timeout=ue(a.timeout)),a.endpoint)a.endpoint=z(a.endpoint,a.secure);else if(a.region)a.endpoint=se(a.region,a.internal,a.secure);else throw new Error("require options.endpoint or options.region");return a.inited=!0,a}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,we,fe){"use strict";var ue=E("merge-descriptors"),oe=fe;ue(oe,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),re=le.checkBucketName,se=E("querystring"),ie=E("js-base64"),ne=ie.Base64.encode,z=fe;z.processObjectSave=function(){var a=(0,ae.default)(oe.default.mark(function b(ee,te,de,ge){var ve,ye,be,Ce;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return y(ee,"sourceObject"),y(te,"targetObject"),y(de,"process"),te=this._objectName(te),ge&&re(ge),ve=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),ye=ge?",b_".concat(ne(ge)):"",te=ne(te),be={"x-oss-process":"".concat(de,"|sys/saveas,o_").concat(te).concat(ye)},ve.content=se.stringify(be),Pe.next=12,this.request(ve);case 12:return Ce=Pe.sent,Pe.abrupt("return",{res:Ce.res,status:Ce.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,ee,te,de){return a.apply(this,arguments)}return x}();function y(a,x){if(!a)throw new Error("".concat(x," is required"));if(typeof a!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("debug")("ali-oss:multipart-copy"),re=E("copy-to"),se=fe;se.uploadPartCopy=function(){var ie=(0,ae.default)(oe.default.mark(function z(y,a,x,b,ee){var te,de,ge,ve,ye,be=arguments;return oe.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return te=be.length>5&&be[5]!==void 0?be[5]:{},te.headers=te.headers||{},de=te.versionId||te.subres&&te.subres.versionId||null,de?ge="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(de):ge="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey)),te.headers["x-oss-copy-source"]=ge,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:a},ve=this._objectRequestParams("PUT",y,te),ve.mime=te.mime,ve.successStatuses=[200],Se.next=12,this.request(ve);case 12:return ye=Se.sent,Se.abrupt("return",{name:y,etag:ye.res.headers.etag,res:ye.res});case 14:case"end":return Se.stop()}},z,this)}));function ne(z,y,a,x,b){return ie.apply(this,arguments)}return ne}(),se.multipartUploadCopy=function(){var ie=(0,ae.default)(oe.default.mark(function z(y,a){var x,b,ee,te,de,ge,ve,ye,be,Ce,Se,Pe,Be=arguments;return oe.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return x=Be.length>2&&Be[2]!==void 0?Be[2]:{},this.resetCancelFlag(),b=x.versionId,ee=b===void 0?null:b,te={versionId:ee},Ee.next=6,this._getObjectMeta(a.sourceBucketName,a.sourceKey,te);case 6:if(de=Ee.sent,ge=de.res.headers["content-length"],a.startOffset=a.startOffset||0,a.endOffset=a.endOffset||ge,!(x.checkpoint&&x.checkpoint.uploadId)){Ee.next=14;break}return Ee.next=13,this._resumeMultipartCopy(x.checkpoint,a,x);case 13:return Ee.abrupt("return",Ee.sent);case 14:if(ve=102400,ye=a.endOffset-a.startOffset,!(ye0)){it.next=40;break}throw at=$e[0],at.message="Failed to copy some parts with error: ".concat(at.toString()," part_num: ").concat(at.partNum),at;case 40:return it.next=42,this.completeMultipartUpload(be,ve,ye,x);case 42:return it.abrupt("return",it.sent);case 43:case"end":return it.stop()}},z,this)}));function ne(z,y,a){return ie.apply(this,arguments)}return ne}(),se._divideMultipartCopyParts=function(ne,z,y){for(var a=Math.ceil(ne/z),x=[],b=0;b `,Pe=0;Pe `,Se+="".concat(Be.number,` `),Se+="".concat(Be.etag,` `),Se+=` `;return Se+="",be=be||{},Ue={},Ue=ne(be,function($e){if(y($e))return null}),Ue.subres={uploadId:ve},Ue.headers=x(Ue.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ee=this._objectRequestParams("POST",ge,Ue),se.encodeCallback(Ee,Ue),Ee.mime="xml",Ee.content=Se,Ee.headers&&Ee.headers["x-oss-callback"]||(Ee.xmlResponse=!0),Ee.successStatuses=[200],Xe.next=17,this.request(Ee);case 17:if(He=Xe.sent,!be.progress){Xe.next=21;break}return Xe.next=21,be.progress(1,null,He.res);case 21:return Oe={res:He.res,bucket:Ee.bucket,name:ge,etag:He.res.headers.etag},Ee.headers&&Ee.headers["x-oss-callback"]&&(Oe.data=JSON.parse(He.data.toString())),Xe.abrupt("return",Oe);case 24:case"end":return Xe.stop()}},de,this)}));function te(de,ge,ve,ye){return ee.apply(this,arguments)}return te}(),b._uploadPart=function(){var ee=(0,le.default)(ae.default.mark(function de(ge,ve,ye,be,Ce){var Se,Pe,Be,Ue;return ae.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:return Ce=Ce||{},Se={},re(Ce).to(Se),Se.headers=Se.headers||{},Se.headers["Content-Length"]=be.size,Se.headers=x(Se.headers,["x-oss-server-side-encryption"]),Se.subres={partNumber:ye,uploadId:ve},Pe=this._objectRequestParams("PUT",ge,Se),Pe.mime=Se.mime,Be=ue&&ue.browser,Be?Pe.content=be.content:Pe.stream=be.stream,Pe.successStatuses=[200],Pe.disabledMD5=Ce.disabledMD5,He.next=15,this.request(Pe);case 15:if(Ue=He.sent,Ue.res.headers.etag){He.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS https://help.aliyun.com/document_detail/32069.html`);case 18:return be.stream&&(be.stream=null,Pe.stream=null),He.abrupt("return",{name:ge,etag:Ue.res.headers.etag,res:Ue.res});case 20:case"end":return He.stop()}},de,this)}));function te(de,ge,ve,ye,be){return ee.apply(this,arguments)}return te}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator")),ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("url"),re=E("utility"),se=E("copy-to"),ie=E("../../common/signUtils"),ne=E("../utils/isIP"),z=ne.isIP,y=E("../utils/setSTSToken"),a=y.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,ee=fe;ee.asyncSignatureUrl=function(){var te=(0,ae.default)(oe.default.mark(function ge(ve,ye){var be,Ce,Se,Pe,Be;return oe.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(!z(this.options.endpoint.hostname)){Ee.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ye=ye||{},ve=this._objectName(ve),ye.method=ye.method||"GET",be=re.timestamp()+(ye.expires||1800),Ce={bucket:this.options.bucket,object:ve},Se=this._getResource(Ce),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ee.next=11;break}return Ee.next=11,a.call(this);case 11:return this.options.stsToken&&(ye["security-token"]=this.options.stsToken),Pe=ie._signatureForURL(this.options.accessKeySecret,ye,Se,be),Be=le.parse(this._getReqUrl(Ce)),Be.query={OSSAccessKeyId:this.options.accessKeyId,Expires:be,Signature:Pe.Signature},se(Pe.subResource).to(Be.query),Ee.abrupt("return",Be.format());case 17:case"end":return Ee.stop()}},ge,this)}));function de(ge,ve){return te.apply(this,arguments)}return de}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ae=ue(E("@babel/runtime/helpers/typeof")),le=ue(E("@babel/runtime/helpers/asyncToGenerator")),re=E("../utils/checkBucketName"),se=re.checkBucketName,ie=fe,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ie.copy=function(){var z=(0,le.default)(oe.default.mark(function a(x,b,ee,te){var de,ge,ve;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return(0,ae.default)(ee)==="object"&&(te=ee),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(Ce){te.headers["x-oss-copy-source-".concat(Ce.toLowerCase())]=te.headers[Ce]}),(te.meta||Object.keys(te.headers).find(function(Ce){return ne.includes(Ce.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,ee),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,de=this._objectRequestParams("PUT",x,te),de.xmlResponse=!0,de.successStatuses=[200,304],be.next=14,this.request(de);case 14:return ge=be.sent,ve=ge.data,ve&&(ve={etag:ve.ETag,lastModified:ve.LastModified}),be.abrupt("return",{data:ve,res:ge.res});case 18:case"end":return be.stop()}},a,this)}));function y(a,x,b,ee){return z.apply(this,arguments)}return y}(),ie._getSourceName=function(y,a){return typeof a=="string"?y=this._objectName(y):y[0]!=="/"?a=this.options.bucket:(a=y.replace(/\/(.+?)(\/.*)/,"$1"),y=y.replace(/(\/.+?\/)(.*)/,"$2")),se(a),y=encodeURIComponent(y),y="/".concat(a,"/").concat(y),y}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.delete=function(){var re=(0,ae.default)(oe.default.mark(function ie(ne){var z,y,a,x=arguments;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({},z.subres),z.versionId&&(z.subres.versionId=z.versionId),y=this._objectRequestParams("DELETE",ne,z),y.successStatuses=[204],ee.next=7,this.request(y);case 7:return a=ee.sent,ee.abrupt("return",{res:a.res});case 9:case"end":return ee.stop()}},ie,this)}));function se(ie){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("utility"),re=E("../utils/obj2xml"),se=re.obj2xml,ie=fe;ie.deleteMulti=function(){var ne=(0,ae.default)(oe.default.mark(function y(a){var x,b,ee,te,de,ge,ve,ye,be,Ce,Se,Pe,Be,Ue=arguments;return oe.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(x=Ue.length>1&&Ue[1]!==void 0?Ue[1]:{},b=[],!(!a||!a.length)){He.next=4;break}throw new Error("names is required");case 4:for(ee=0;ee1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),y=this._objectRequestParams("DELETE",ne,z),y.successStatuses=[204],ee.next=8,this.request(y);case 8:return a=ee.sent,ee.abrupt("return",{status:a.status,res:a.res});case 10:case"end":return ee.stop()}},ie,this)}));function se(ie){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,we,fe){"use strict";E("core-js/modules/es.array.concat.js");var ue=E("url"),oe=E("../utils/isIP"),ae=oe.isIP,le=fe;le.generateObjectUrl=function(se,ie){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(ie)ie[ie.length-1]!=="/"&&(ie+="/");else{ie=this.options.endpoint.format();var ne=ue.parse(ie),z=this.options.bucket;ne.hostname="".concat(z,".").concat(ne.hostname),ne.host="".concat(z,".").concat(ne.host),ie=ne.format()}return ie+this._escape(this._objectName(se))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,we,fe){(function(ue){(function(){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),ae=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var le=oe(E("@babel/runtime/helpers/asyncToGenerator")),re=E("fs"),se=E("is-type-of"),ie=fe;ie.get=function(){var ne=(0,le.default)(ae.default.mark(function y(a,x){var b,ee,te,de,ge,ve,ye,be,Ce=arguments;return ae.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=Ce.length>2&&Ce[2]!==void 0?Ce[2]:{},ee=null,te=!1,se.writableStream(x)?ee=x:se.string(x)?(ee=re.createWriteStream(x),te=!0):b=x,b=b||{},de=ue&&ue.browser,ge=b.responseCacheControl===null?"":"no-cache",ve=de&&ge?{"response-cache-control":ge}:{},b.subres=Object.assign(ve,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Pe.prev=11,be=this._objectRequestParams("GET",a,b),be.writeStream=ee,be.successStatuses=[200,206,304],Pe.next=17,this.request(be);case 17:ye=Pe.sent,te&&ee.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!te){Pe.next=27;break}return ee.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:ye.res,content:ye.data});case 29:case"end":return Pe.stop()}},y,this,[[11,21]])}));function z(y,a){return ne.apply(this,arguments)}return z}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.getACL=function(){var re=(0,ae.default)(oe.default.mark(function ie(ne){var z,y,a,x=arguments;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({acl:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),y=this._objectRequestParams("GET",ne,z),y.successStatuses=[200],y.xmlResponse=!0,ee.next=9,this.request(y);case 9:return a=ee.sent,ee.abrupt("return",{acl:a.data.AccessControlList.Grant,owner:{id:a.data.Owner.ID,displayName:a.data.Owner.DisplayName},res:a.res});case 11:case"end":return ee.stop()}},ie,this)}));function se(ie){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe,re=E("../utils/isObject"),se=re.isObject,ie=E("../utils/isArray"),ne=ie.isArray;le.getBucketVersions=z,le.listObjectVersions=z;function z(){return y.apply(this,arguments)}function y(){return y=(0,ae.default)(oe.default.mark(function b(){var ee,te,de,ge,ve,ye,be,Ce,Se=arguments;return oe.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(ee=Se.length>0&&Se[0]!==void 0?Se[0]:{},te=Se.length>1&&Se[1]!==void 0?Se[1]:{},!(ee.versionIdMarker&&ee.keyMarker===void 0)){Be.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return te.subres=Object.assign({versions:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),de=this._objectRequestParams("GET","",te),de.xmlResponse=!0,de.successStatuses=[200],de.query=x(ee),Be.next=12,this.request(de);case 12:return ge=Be.sent,ve=ge.data.Version||[],ye=ge.data.DeleteMarker||[],be=this,ve&&(Array.isArray(ve)||(ve=[ve]),ve=ve.map(function(Ue){return{name:Ue.Key,url:be._objectUrl(Ue.Key),lastModified:Ue.LastModified,isLatest:Ue.IsLatest==="true",versionId:Ue.VersionId,etag:Ue.ETag,type:Ue.Type,size:Number(Ue.Size),storageClass:Ue.StorageClass,owner:{id:Ue.Owner.ID,displayName:Ue.Owner.DisplayName}}})),ye&&(ne(ye)||(ye=[ye]),ye=ye.map(function(Ue){return{name:Ue.Key,lastModified:Ue.LastModified,versionId:Ue.VersionId,owner:{id:Ue.Owner.ID,displayName:Ue.Owner.DisplayName}}})),Ce=ge.data.CommonPrefixes||null,Ce&&(ne(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Ue){return Ue.Prefix})),Be.abrupt("return",{res:ge.res,objects:ve,deleteMarker:ye,prefixes:Ce,nextMarker:ge.data.NextKeyMarker||null,NextVersionIdMarker:ge.data.NextVersionIdMarker||null,nextKeyMarker:ge.data.NextKeyMarker||null,nextVersionIdMarker:ge.data.NextVersionIdMarker||null,isTruncated:ge.data.IsTruncated==="true"});case 21:case"end":return Be.stop()}},b,this)})),y.apply(this,arguments)}function a(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee={};return se(b)&&Object.keys(b).forEach(function(te){ee[a(te)]=b[te]}),ee}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.getObjectMeta=function(){var re=(0,ae.default)(oe.default.mark(function ie(ne,z){var y,a;return oe.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return z=z||{},ne=this._objectName(ne),z.subres=Object.assign({objectMeta:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),y=this._objectRequestParams("HEAD",ne,z),y.successStatuses=[200],b.next=8,this.request(y);case 8:return a=b.sent,b.abrupt("return",{status:a.status,res:a.res});case 10:case"end":return b.stop()}},ie,this)}));function se(ie,ne){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe,re=E("../utils/isObject"),se=re.isObject;le.getObjectTagging=function(){var ie=(0,ae.default)(oe.default.mark(function z(y){var a,x,b,ee,te,de,ge=arguments;return oe.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return a=ge.length>1&&ge[1]!==void 0?ge[1]:{},a.subres=Object.assign({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),y=this._objectName(y),x=this._objectRequestParams("GET",y,a),x.successStatuses=[200],ye.next=8,this.request(x);case 8:return b=ye.sent,ye.next=11,this.parseXML(b.data);case 11:return ee=ye.sent,te=ee.TagSet.Tag,te=te&&se(te)?[te]:te||[],de={},te.forEach(function(be){de[be.Key]=be.Value}),ye.abrupt("return",{status:b.status,res:b.res,tag:de});case 17:case"end":return ye.stop()}},z,this)}));function ne(z){return ie.apply(this,arguments)}return ne}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,we,fe){"use strict";var ue=E("../utils/isIP"),oe=ue.isIP,ae=fe;ae.getObjectUrl=function(re,se){if(oe(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return se?se[se.length-1]!=="/"&&(se+="/"):se=this.options.endpoint.format(),se+this._escape(this._objectName(re))}},{"../utils/isIP":69}],43:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.getSymlink=function(){var re=(0,ae.default)(oe.default.mark(function ie(ne){var z,y,a,x,b=arguments;return oe.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return z=b.length>1&&b[1]!==void 0?b[1]:{},z.subres=Object.assign({symlink:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),y=this._objectRequestParams("GET",ne,z),y.successStatuses=[200],te.next=8,this.request(y);case 8:return a=te.sent,x=a.res.headers["x-oss-symlink-target"],te.abrupt("return",{targetName:decodeURIComponent(x),res:a.res});case 11:case"end":return te.stop()}},ie,this)}));function se(ie){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkEnv"),re=le.checkEnv,se=fe;se.head=function(){var ie=(0,ae.default)(oe.default.mark(function z(y){var a,x,b,ee,te=arguments;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return a=te.length>1&&te[1]!==void 0?te[1]:{},re("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),a.subres=Object.assign({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),x=this._objectRequestParams("HEAD",y,a),x.successStatuses=[200,304],ge.next=8,this.request(x);case 8:return b=ge.sent,ee={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ve){ve.indexOf("x-oss-meta-")===0&&(ee.meta||(ee.meta={}),ee.meta[ve.substring(11)]=b.headers[ve])}),ge.abrupt("return",ee);case 12:case"end":return ge.stop()}},z,this)}));function ne(z){return ie.apply(this,arguments)}return ne}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.putACL=function(){var re=(0,ae.default)(oe.default.mark(function ie(ne,z,y){var a,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return y=y||{},y.subres=Object.assign({acl:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),y.headers=y.headers||{},y.headers["x-oss-object-acl"]=z,ne=this._objectName(ne),a=this._objectRequestParams("PUT",ne,y),a.successStatuses=[200],ee.next=10,this.request(a);case 10:return x=ee.sent,ee.abrupt("return",{res:x.res});case 12:case"end":return ee.stop()}},ie,this)}));function se(ie,ne,z){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/obj2xml"),re=le.obj2xml,se=E("../utils/checkObjectTag"),ie=se.checkObjectTag,ne=fe;ne.putObjectTagging=function(){var z=(0,ae.default)(oe.default.mark(function a(x,b){var ee,te,de,ge,ve=arguments;return oe.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ee=ve.length>2&&ve[2]!==void 0?ve[2]:{},ie(b),ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,ee),te.successStatuses=[200],b=Object.keys(b).map(function(Ce){return{Key:Ce,Value:b[Ce]}}),de={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=re(de),be.next=13,this.request(te);case 13:return ge=be.sent,be.abrupt("return",{res:ge.res,status:ge.status});case 15:case"end":return be.stop()}},a,this)}));function y(a,x){return z.apply(this,arguments)}return y}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=fe;le.putSymlink=function(){var re=(0,ae.default)(oe.default.mark(function ie(ne,z,y){var a,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return y=y||{},y.headers=y.headers||{},z=this._escape(this._objectName(z)),this._convertMetaToHeaders(y.meta,y.headers),y.headers["x-oss-symlink-target"]=z,y.subres=Object.assign({symlink:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),y.storageClass&&(y.headers["x-oss-storage-class"]=y.storageClass),ne=this._objectName(ne),a=this._objectRequestParams("PUT",ne,y),a.successStatuses=[200],ee.next=13,this.request(a);case 13:return x=ee.sent,ee.abrupt("return",{res:x.res});case 15:case"end":return ee.stop()}},ie,this)}));function se(ie,ne,z){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,we,fe){"use strict";var ue=E("url"),oe=E("utility"),ae=E("copy-to"),le=E("../../common/signUtils"),re=E("../utils/isIP"),se=re.isIP,ie=fe;ie.signatureUrl=function(z,y){if(se(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");y=y||{},z=this._objectName(z),y.method=y.method||"GET";var a=oe.timestamp()+(y.expires||1800),x={bucket:this.options.bucket,object:z},b=this._getResource(x);this.options.stsToken&&(y["security-token"]=this.options.stsToken);var ee=le._signatureForURL(this.options.accessKeySecret,y,b,a),te=ue.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:a,Signature:ee.Signature},ae(ee.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator")),le=E("./utils/isArray"),re=le.isArray,se=fe;se._parallelNode=function(){var ie=(0,ae.default)(oe.default.mark(function z(y,a,x,b){var ee,te,de,ge,ve,ye,be,Ce;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:ee=this,te=[],de=[],ge=y.length/a,ve=y.length%a,ye=ve===0?ge:(y.length-ve)/a+1,be=1,Ce=0;case 8:if(!(Ce0){ge=!0,ve<=0&&x(b);return}ve+=1,Ce(Pe.value,ee(be))}ye=!1}Se()})},se.cancel=function(ne){this.options.cancelFlag=!0,re(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(z){if(z.destroyed===!1){var y={name:"cancel",message:"cancel"};z.destroy(y)}}),this.multipartUploadStreams=[],ne&&this.abortMultipartUpload(ne.name,ne.uploadId,ne.options)},se.isCancel=function(){return this.options.cancelFlag},se.resetCancelFlag=function(){this.options.cancelFlag=!1},se._stop=function(){this.options.cancelFlag=!0},se._makeCancelEvent=function(){var ne={status:0,name:"cancel"};return ne},se._makeAbortEvent=function(){var ne={status:0,name:"abort",message:"upload task has been abort"};return ne}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,we,fe){(function(ue){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var oe=E("./../../shims/crypto/crypto.js"),ae=E("is-type-of"),le=E("./utils/lowercaseKeyHeader"),re=le.lowercaseKeyHeader;fe.buildCanonicalizedResource=function(ie,ne){var z="".concat(ie),y="?";if(ae.string(ne)&&ne.trim()!=="")z+=y+ne;else if(ae.array(ne))ne.sort(),z+=y+ne.join("&");else if(ne){var a=function(ee,te){return ee[0]>te[0]?1:ee[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",y=oe.createHmac("sha1",ie);return y.update(ue.from(ne,z)).digest("base64")},fe.authorization=function(ie,ne,z,y){return"OSS ".concat(ie,":").concat(this.computeSignature(ne,z,y))},fe._signatureForURL=function(ie){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=arguments.length>2?arguments[2]:void 0,y=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,x={},b=ne.subResource,ee=b===void 0?{}:b;if(ne.process){var te="x-oss-process";ee[te]=ne.process}if(ne.trafficLimit){var de="x-oss-traffic-limit";ee[de]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(be){var Ce="response-".concat(be.toLowerCase());ee[Ce]=ne.response[be]}),Object.keys(ne).forEach(function(be){var Ce=be.toLowerCase(),Se=ne[be];Ce.indexOf("x-oss-")===0?x[Ce]=Se:(Ce.indexOf("content-md5")===0||Ce.indexOf("content-type")===0)&&(x[be]=Se)}),Object.prototype.hasOwnProperty.call(ne,"security-token")&&(ee["security-token"]=ne["security-token"]),Object.prototype.hasOwnProperty.call(ne,"callback")){var ge={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};if(ne.callback.host&&(ge.callbackHost=ne.callback.host),ne.callback.contentType&&(ge.callbackBodyType=ne.callback.contentType),ee.callback=ue.from(JSON.stringify(ge)).toString("base64"),ne.callback.customValue){var ve={};Object.keys(ne.callback.customValue).forEach(function(be){ve["x:".concat(be)]=ne.callback.customValue[be]}),ee["callback-var"]=ue.from(JSON.stringify(ve)).toString("base64")}}var ye=this.buildCanonicalString(ne.method,z,{headers:x,parameters:ee},y.toString());return{Signature:this.computeSignature(ie,ye,a),subResource:ee}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,we,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkBucketName=void 0,fe.checkBucketName=function(ue){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae=oe?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ae.test(ue))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,we,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkConfigValid=void 0;var ue={endpoint:oe,region:/^[a-zA-Z0-9\-_]+$/};function oe(ae){return typeof ae=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ae):ae.host?/^[a-zA-Z0-9._:/-]+$/.test(ae.host):!1}fe.checkConfigValid=function(ae,le){if(ue[le]){var re=!0;if(ue[le]instanceof Function?re=ue[le](ae):re=ue[le].test(ae),!re)throw new Error("The ".concat(le," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,we,fe){(function(ue){(function(){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkEnv=void 0;function oe(ae){ue.browser&&console.warn(ae)}fe.checkEnv=oe}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,we,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkObjectTag=void 0;var ue=E("./checkValid"),oe=ue.checkValid,ae=E("./isObject"),le=ae.isObject,re=[{validator:function(z){if(typeof z!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],se={key:[].concat(re,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(re,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function ie(ne){if(!le(ne))throw new Error("tag must be Object");var z=Object.entries(ne);if(z.length>10)throw new Error("maximum of 10 tags for a object");var y=["key","value"];z.forEach(function(a){a.forEach(function(x,b){oe(x,se[y[b]])})})}fe.checkObjectTag=ie},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,we,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkValid=void 0;function ue(oe,ae){ae.forEach(function(le){if(le.validator)le.validator(oe);else if(le.pattern&&!le.pattern.test(oe))throw new Error(le.msg)})}fe.checkValid=ue},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,we,fe){(function(ue){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.createRequest=void 0;var oe=E("./../../../shims/crypto/crypto.js"),ae=E("debug")("ali-oss"),le=E("mime"),re=E("dateformat"),se=E("copy-to"),ie=E("path"),ne=E("./encoder"),z=ne.encoder,y=E("./isIP"),a=y.isIP,x=E("./setRegion"),b=x.setRegion,ee=E("../client/getReqUrl"),te=ee.getReqUrl,de=E("./isDingTalk"),ge=de.isDingTalk;function ve(Ce,Se){return Ce[Se]||Ce[Se.toLowerCase()]}function ye(Ce,Se){delete Ce[Se],delete Ce[Se.toLowerCase()]}function be(Ce){var Se=new Date;this.options.amendTimeSkewed&&(Se=+new Date+this.options.amendTimeSkewed);var Pe={"x-oss-date":re(Se,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),se(Ce.headers).to(Pe),ve(Pe,"Content-Type")||(Ce.mime&&Ce.mime.indexOf("/")>0?Pe["Content-Type"]=Ce.mime:ge()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=le.getType(Ce.mime||ie.extname(Ce.object||""))),ve(Pe,"Content-Type")||ye(Pe,"Content-Type"),Ce.content&&(Ce.disabledMD5||(!Ce.headers||!Ce.headers["Content-MD5"]?Pe["Content-MD5"]=oe.createHash("md5").update(ue.from(Ce.content,"utf8")).digest("base64"):Pe["Content-MD5"]=Ce.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=Ce.content.length));var Be=Object.prototype.hasOwnProperty;for(var Ue in Pe)Pe[Ue]&&Be.call(Pe,Ue)&&(Pe[Ue]=z(String(Pe[Ue]),this.options.headerEncoding));var Ee=this._getResource(Ce);if(Pe.authorization=this.authorization(Ce.method,Ee,Ce.subres,Pe,this.options.headerEncoding),a(this.options.endpoint.hostname)){var He=this.options,Oe=He.region,ke=He.internal,Xe=He.secure,$e=b(Oe,ke,Xe);Pe.host="".concat(Ce.bucket,".").concat($e.host)}var ze=te.bind(this)(Ce);ae("request %s %s, with headers %j, !!stream: %s",Ce.method,ze,Pe,!!Ce.stream);var at=Ce.timeout||this.options.timeout,et={method:Ce.method,content:Ce.content,stream:Ce.stream,headers:Pe,timeout:at,writeStream:Ce.writeStream,customResponse:Ce.customResponse,ctx:Ce.ctx||this.ctx};return this.agent&&(et.agent=this.agent),this.httpsAgent&&(et.httpsAgent=this.httpsAgent),et.enableProxy=!!this.options.enableProxy,et.proxy=this.options.proxy?this.options.proxy:null,{url:ze,params:et}}fe.createRequest=be}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,we,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.dataFix=void 0;var ue=E("./isObject"),oe=["true","TRUE","1",1],ae=["false","FALSE","0",0];function le(ie,ne,z){if(ue.isObject(ie)){var y=ne.remove,a=y===void 0?[]:y,x=ne.rename,b=x===void 0?{}:x,ee=ne.camel,te=ee===void 0?[]:ee,de=ne.bool,ge=de===void 0?[]:de,ve=ne.lowerFirst,ye=ve===void 0?!1:ve;return a.forEach(function(be){return delete ie[be]}),Object.entries(b).forEach(function(be){ie[be[0]]&&(ie[be[1]]||(ie[be[1]]=ie[be[0]],delete ie[be[0]]))}),te.forEach(function(be){if(ie[be]){var Ce=be.replace(/^(.)/,function(Se){return Se.toLowerCase()}).replace(/-(\w)/g,function(Se,Pe){return Pe.toUpperCase()});ie[Ce]||(ie[Ce]=ie[be])}}),ge.forEach(function(be){ie[be]=re(ie[be])}),typeof z=="function"&&z(ie),se(ie,ye),le}}fe.dataFix=le;function re(ie){return ie?oe.includes(ie)?!0:ae.includes(ie)?!1:ie:!1}function se(ie,ne){ne&&Object.keys(ie).forEach(function(z){var y=z.replace(/^\w/,function(a){return a.toLowerCase()});typeof ie[y]=="undefined"&&(ie[y]=ie[z],delete ie[z])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var oe=ue(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deepCopyWith=fe.deepCopy=void 0;var ae=E("./isBuffer");fe.deepCopy=function(le){if(le===null||(0,oe.default)(le)!=="object")return le;if(ae.isBuffer(le))return le.slice();var re=Array.isArray(le)?[]:{};return Object.keys(le).forEach(function(se){re[se]=fe.deepCopy(le[se])}),re},fe.deepCopyWith=function(le,re){function se(ie,ne,z){var y=re(ie,ne,z);if(y!==void 0)return y;if(ie===null||(0,oe.default)(ie)!=="object")return ie;if(ae.isBuffer(ie))return ie.slice();var a=Array.isArray(ie)?[]:{};return Object.keys(ie).forEach(function(x){a[x]=se(ie[x],x,ie)}),a}return re?se(le,"",null):fe.deepCopy(le)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,we,fe){(function(ue){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.encoder=void 0;function oe(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return le==="utf-8"?ae:ue.from(ae).toString("latin1")}fe.encoder=oe}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,we,fe){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.formatInventoryConfig=void 0;var ue=E("../utils/dataFix"),oe=E("../utils/isObject"),ae=E("../utils/isArray"),le=E("../utils/formatObjKey");function re(ie){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&oe.isObject(ie)&&(ie=[ie]),ae.isArray(ie)?ie=ie.map(se):ie=se(ie),ie}fe.formatInventoryConfig=re;function se(ie){return ue.dataFix(ie,{bool:["IsEnabled"]},function(ne){var z,y;ne.prefix=ne.Filter.Prefix,delete ne.Filter,ne.OSSBucketDestination=ne.Destination.OSSBucketDestination,ne.OSSBucketDestination.rolename=ne.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ne.OSSBucketDestination.RoleArn,ne.OSSBucketDestination.bucket=ne.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ne.OSSBucketDestination.Bucket,delete ne.Destination,ne.frequency=ne.Schedule.Frequency,delete ne.Schedule.Frequency,!((z=ne==null?void 0:ne.OptionalFields)===null||z===void 0)&&z.Field&&!ae.isArray((y=ne.OptionalFields)===null||y===void 0?void 0:y.Field)&&(ne.OptionalFields.Field=[ne.OptionalFields.Field])}),ie=le.formatObjKey(ie,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),ie}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var oe=ue(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.formatObjKey=void 0;function ae(re,se,ie){if(re===null||(0,oe.default)(re)!=="object")return re;var ne;if(Array.isArray(re)){ne=[];for(var z=0;z `),re&&re.firstUpperCase&&(le=ue.formatObjKey(le,"firstUpperCase")),oe(le)==="object"?Object.keys(le).forEach(function(ie){oe(le[ie])!=="undefined"&&oe(le[ie])!=="null"&&(oe(le[ie])==="string"||oe(le[ie])==="number"?se+="<".concat(ie,">").concat(le[ie],""):oe(le[ie])==="object"?se+="<".concat(ie,">").concat(ae(le[ie]),""):oe(le[ie])==="array"?se+=le[ie].map(function(ne){return"<".concat(ie,">").concat(ae(ne),"")}).join(""):se+="<".concat(ie,">").concat(le[ie].toString(),""))}):se+=le.toString(),se}fe.obj2xml=ae},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,we,fe){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function ue(re,se){var ie=typeof Symbol!="undefined"&&re[Symbol.iterator]||re["@@iterator"];if(!ie){if(Array.isArray(re)||(ie=oe(re))||se&&re&&typeof re.length=="number"){ie&&(re=ie);var ne=0,z=function(){};return{s:z,n:function(){return ne>=re.length?{done:!0}:{done:!1,value:re[ne++]}},e:function(ee){throw ee},f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,a=!1,x;return{s:function(){ie=ie.call(re)},n:function(){var ee=ie.next();return y=ee.done,ee},e:function(ee){a=!0,x=ee},f:function(){try{!y&&ie.return!=null&&ie.return()}finally{if(a)throw x}}}}function oe(re,se){if(re){if(typeof re=="string")return ae(re,se);var ie=Object.prototype.toString.call(re).slice(8,-1);if(ie==="Object"&&re.constructor&&(ie=re.constructor.name),ie==="Map"||ie==="Set")return Array.from(re);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return ae(re,se)}}function ae(re,se){(se==null||se>re.length)&&(se=re.length);for(var ie=0,ne=new Array(se);ie2&&arguments[2]!==void 0?arguments[2]:{},re=0,se=le.retryDelay,ie=se===void 0?500:se,ne=le.errorHandler,z=ne===void 0?function(){return!0}:ne,y=function a(){for(var x=arguments.length,b=new Array(x),ee=0;ee1&&arguments[1]!==void 0?arguments[1]:!1,ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ae.checkConfigValid(re,"region");var ne=ie?"https://":"http://",z=se?"-internal.aliyuncs.com":".aliyuncs.com",y="vpc100-oss-cn-";return re.substr(0,y.length)===y&&(z=".aliyuncs.com"),oe.default.parse(ne+re+z)}fe.setRegion=le},{"./checkConfigValid":52,url:472}],76:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var ae=ue(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkCredentials=fe.setSTSToken=void 0;var le=E("./formatObjKey");function re(){return se.apply(this,arguments)}function se(){return se=(0,ae.default)(oe.default.mark(function ne(){var z,y;return oe.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),z=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+z-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=z,x.next=7,this.options.refreshSTSToken();case 7:y=x.sent,y=le.formatObjKey(y,"firstLowerCase"),y.securityToken&&(y.stsToken=y.securityToken),ie(y),Object.assign(this.options,y);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=z;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ne,this)})),se.apply(this,arguments)}fe.setSTSToken=re;function ie(ne){var z=["accessKeySecret","accessKeyId","stsToken"],y=Object.keys(ne);z.forEach(function(a){if(!y.find(function(x){return x===a}))throw Error("refreshSTSToken must return contains ".concat(a))})}fe.checkCredentials=ie},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,we,fe){function ue(ae,le,re,se,ie,ne,z){try{var y=ae[ne](z),a=y.value}catch(x){re(x);return}y.done?le(a):Promise.resolve(a).then(se,ie)}function oe(ae){return function(){var le=this,re=arguments;return new Promise(function(se,ie){var ne=ae.apply(le,re);function z(a){ue(ne,se,ie,z,y,"next",a)}function y(a){ue(ne,se,ie,z,y,"throw",a)}z(void 0)})}}we.exports=oe,we.exports.__esModule=!0,we.exports.default=we.exports},{}],78:[function(E,we,fe){function ue(oe){return oe&&oe.__esModule?oe:{default:oe}}we.exports=ue,we.exports.__esModule=!0,we.exports.default=we.exports},{}],79:[function(E,we,fe){function ue(oe){"@babel/helpers - typeof";return we.exports=ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ae){return typeof ae}:function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},we.exports.__esModule=!0,we.exports.default=we.exports,ue(oe)}we.exports=ue,we.exports.__esModule=!0,we.exports.default=we.exports},{}],80:[function(E,we,fe){we.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,we,fe){we.exports=ue,we.exports.HttpsAgent=ue;function ue(){}},{}],82:[function(E,we,fe){(function(ue){(function(){"use strict";var oe=E("object-assign");function ae(Oe,ke){if(Oe===ke)return 0;for(var Xe=Oe.length,$e=ke.length,ze=0,at=Math.min(Xe,$e);ze=0){var it=ze.indexOf(` `,et+1);ze=ze.substring(it+1)}this.stack=ze}}},re.inherits(a.AssertionError,Error);function ee(Oe,ke){return typeof Oe=="string"?Oe.length=0;ot--)if(et[ot]!==it[ot])return!1;for(ot=et.length-1;ot>=0;ot--)if(At=et[ot],!ye(Oe[At],ke[At],Xe,$e))return!1;return!0}a.notDeepEqual=function(ke,Xe,$e){ye(ke,Xe,!1)&&ge(ke,Xe,$e,"notDeepEqual",a.notDeepEqual)},a.notDeepStrictEqual=Se;function Se(Oe,ke,Xe){ye(Oe,ke,!0)&&ge(Oe,ke,Xe,"notDeepStrictEqual",Se)}a.strictEqual=function(ke,Xe,$e){ke!==Xe&&ge(ke,Xe,$e,"===",a.strictEqual)},a.notStrictEqual=function(ke,Xe,$e){ke===Xe&&ge(ke,Xe,$e,"!==",a.notStrictEqual)};function Pe(Oe,ke){if(!Oe||!ke)return!1;if(Object.prototype.toString.call(ke)=="[object RegExp]")return ke.test(Oe);try{if(Oe instanceof ke)return!0}catch(Xe){}return Error.isPrototypeOf(ke)?!1:ke.call({},Oe)===!0}function Be(Oe){var ke;try{Oe()}catch(Xe){ke=Xe}return ke}function Ue(Oe,ke,Xe,$e){var ze;if(typeof ke!="function")throw new TypeError('"block" argument must be a function');typeof Xe=="string"&&($e=Xe,Xe=null),ze=Be(ke),$e=(Xe&&Xe.name?" ("+Xe.name+").":".")+($e?" "+$e:"."),Oe&&!ze&&ge(ze,Xe,"Missing expected exception"+$e);var at=typeof $e=="string",et=!Oe&&re.isError(ze),it=!Oe&&ze&&!Xe;if((et&&at&&Pe(ze,Xe)||it)&&ge(ze,Xe,"Got unwanted exception"+$e),Oe&&ze&&Xe&&!Pe(ze,Xe)||!Oe&&ze)throw ze}a.throws=function(Oe,ke,Xe){Ue(!0,Oe,ke,Xe)},a.doesNotThrow=function(Oe,ke,Xe){Ue(!1,Oe,ke,Xe)},a.ifError=function(Oe){if(Oe)throw Oe};function Ee(Oe,ke){Oe||ge(Oe,!0,ke,"==",Ee)}a.strict=oe(Ee,a,{equal:a.strictEqual,deepEqual:a.deepStrictEqual,notEqual:a.notStrictEqual,notDeepEqual:a.notDeepStrictEqual}),a.strict.strict=a.strict;var He=Object.keys||function(Oe){var ke=[];for(var Xe in Oe)se.call(Oe,Xe)&&ke.push(Xe);return ke}}).call(this)}).call(this,typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,we,fe){typeof Object.create=="function"?we.exports=function(oe,ae){oe.super_=ae,oe.prototype=Object.create(ae.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}})}:we.exports=function(oe,ae){oe.super_=ae;var le=function(){};le.prototype=ae.prototype,oe.prototype=new le,oe.prototype.constructor=oe}},{}],84:[function(E,we,fe){we.exports=function(oe){return oe&&typeof oe=="object"&&typeof oe.copy=="function"&&typeof oe.fill=="function"&&typeof oe.readUInt8=="function"}},{}],85:[function(E,we,fe){(function(ue,oe){(function(){var ae=/%[sdj%]/g;fe.format=function(it){if(!Ce(it)){for(var At=[],ot=0;ot=lt)return Tt;switch(Tt){case"%s":return String(rt[ot++]);case"%d":return Number(rt[ot++]);case"%j":try{return JSON.stringify(rt[ot++])}catch(vt){return"[Circular]"}default:return Tt}}),yt=rt[ot];ot=3&&(ot.depth=arguments[2]),arguments.length>=4&&(ot.colors=arguments[3]),ge(At)?ot.showHidden=At:At&&fe._extend(ot,At),Pe(ot.showHidden)&&(ot.showHidden=!1),Pe(ot.depth)&&(ot.depth=2),Pe(ot.colors)&&(ot.colors=!1),Pe(ot.customInspect)&&(ot.customInspect=!0),ot.colors&&(ot.stylize=ie),y(ot,it,ot.depth)}fe.inspect=se,se.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},se.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ie(it,At){var ot=se.styles[At];return ot?"\x1B["+se.colors[ot][0]+"m"+it+"\x1B["+se.colors[ot][1]+"m":it}function ne(it,At){return it}function z(it){var At={};return it.forEach(function(ot,rt){At[ot]=!0}),At}function y(it,At,ot){if(it.customInspect&&At&&Oe(At.inspect)&&At.inspect!==fe.inspect&&!(At.constructor&&At.constructor.prototype===At)){var rt=At.inspect(ot,it);return Ce(rt)||(rt=y(it,rt,ot)),rt}var lt=a(it,At);if(lt)return lt;var gt=Object.keys(At),yt=z(gt);if(it.showHidden&&(gt=Object.getOwnPropertyNames(At)),He(At)&&(gt.indexOf("message")>=0||gt.indexOf("description")>=0))return x(At);if(gt.length===0){if(Oe(At)){var Tt=At.name?": "+At.name:"";return it.stylize("[Function"+Tt+"]","special")}if(Be(At))return it.stylize(RegExp.prototype.toString.call(At),"regexp");if(Ee(At))return it.stylize(Date.prototype.toString.call(At),"date");if(He(At))return x(At)}var vt="",ut=!1,qe=["{","}"];if(de(At)&&(ut=!0,qe=["[","]"]),Oe(At)){var je=At.name?": "+At.name:"";vt=" [Function"+je+"]"}if(Be(At)&&(vt=" "+RegExp.prototype.toString.call(At)),Ee(At)&&(vt=" "+Date.prototype.toUTCString.call(At)),He(At)&&(vt=" "+x(At)),gt.length===0&&(!ut||At.length==0))return qe[0]+vt+qe[1];if(ot<0)return Be(At)?it.stylize(RegExp.prototype.toString.call(At),"regexp"):it.stylize("[Object]","special");it.seen.push(At);var Ve;return ut?Ve=b(it,At,ot,yt,gt):Ve=gt.map(function(Ie){return ee(it,At,ot,yt,Ie,ut)}),it.seen.pop(),te(Ve,vt,qe)}function a(it,At){if(Pe(At))return it.stylize("undefined","undefined");if(Ce(At)){var ot="'"+JSON.stringify(At).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return it.stylize(ot,"string")}if(be(At))return it.stylize(""+At,"number");if(ge(At))return it.stylize(""+At,"boolean");if(ve(At))return it.stylize("null","null")}function x(it){return"["+Error.prototype.toString.call(it)+"]"}function b(it,At,ot,rt,lt){for(var gt=[],yt=0,Tt=At.length;yt-1&&(gt?Tt=Tt.split(` `).map(function(ut){return" "+ut}).join(` `).substr(2):Tt=` `+Tt.split(` `).map(function(ut){return" "+ut}).join(` `))):Tt=it.stylize("[Circular]","special")),Pe(yt)){if(gt&<.match(/^\d+$/))return Tt;yt=JSON.stringify(""+lt),yt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(yt=yt.substr(1,yt.length-2),yt=it.stylize(yt,"name")):(yt=yt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),yt=it.stylize(yt,"string"))}return yt+": "+Tt}function te(it,At,ot){var rt=0,lt=it.reduce(function(gt,yt){return rt++,yt.indexOf(` `)>=0&&rt++,gt+yt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return lt>60?ot[0]+(At===""?"":At+` `)+" "+it.join(`, `)+" "+ot[1]:ot[0]+At+" "+it.join(", ")+" "+ot[1]}function de(it){return Array.isArray(it)}fe.isArray=de;function ge(it){return typeof it=="boolean"}fe.isBoolean=ge;function ve(it){return it===null}fe.isNull=ve;function ye(it){return it==null}fe.isNullOrUndefined=ye;function be(it){return typeof it=="number"}fe.isNumber=be;function Ce(it){return typeof it=="string"}fe.isString=Ce;function Se(it){return typeof it=="symbol"}fe.isSymbol=Se;function Pe(it){return it===void 0}fe.isUndefined=Pe;function Be(it){return Ue(it)&&Xe(it)==="[object RegExp]"}fe.isRegExp=Be;function Ue(it){return typeof it=="object"&&it!==null}fe.isObject=Ue;function Ee(it){return Ue(it)&&Xe(it)==="[object Date]"}fe.isDate=Ee;function He(it){return Ue(it)&&(Xe(it)==="[object Error]"||it instanceof Error)}fe.isError=He;function Oe(it){return typeof it=="function"}fe.isFunction=Oe;function ke(it){return it===null||typeof it=="boolean"||typeof it=="number"||typeof it=="string"||typeof it=="symbol"||typeof it=="undefined"}fe.isPrimitive=ke,fe.isBuffer=E("./support/isBuffer");function Xe(it){return Object.prototype.toString.call(it)}function $e(it){return it<10?"0"+it.toString(10):it.toString(10)}var ze=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function at(){var it=new Date,At=[$e(it.getHours()),$e(it.getMinutes()),$e(it.getSeconds())].join(":");return[it.getDate(),ze[it.getMonth()],At].join(" ")}fe.log=function(){console.log("%s - %s",at(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(it,At){if(!At||!Ue(At))return it;for(var ot=Object.keys(At),rt=ot.length;rt--;)it[ot[rt]]=At[ot[rt]];return it};function et(it,At){return Object.prototype.hasOwnProperty.call(it,At)}}).call(this)}).call(this,E("_process"),typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,we,fe){(function(ue){(function(){"use strict";var oe=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ae=typeof globalThis=="undefined"?ue:globalThis;we.exports=function(){for(var re=[],se=0;se0)throw new Error("Invalid string. Length must be a multiple of 4");var de=ee.indexOf("=");de===-1&&(de=te);var ge=de===te?0:4-de%4;return[de,ge]}function ne(ee){var te=ie(ee),de=te[0],ge=te[1];return(de+ge)*3/4-ge}function z(ee,te,de){return(te+de)*3/4-de}function y(ee){var te,de=ie(ee),ge=de[0],ve=de[1],ye=new ae(z(ee,ge,ve)),be=0,Ce=ve>0?ge-4:ge,Se;for(Se=0;Se>16&255,ye[be++]=te>>8&255,ye[be++]=te&255;return ve===2&&(te=oe[ee.charCodeAt(Se)]<<2|oe[ee.charCodeAt(Se+1)]>>4,ye[be++]=te&255),ve===1&&(te=oe[ee.charCodeAt(Se)]<<10|oe[ee.charCodeAt(Se+1)]<<4|oe[ee.charCodeAt(Se+2)]>>2,ye[be++]=te>>8&255,ye[be++]=te&255),ye}function a(ee){return ue[ee>>18&63]+ue[ee>>12&63]+ue[ee>>6&63]+ue[ee&63]}function x(ee,te,de){for(var ge,ve=[],ye=te;yeCe?Ce:be+ye));return ge===1?(te=ee[de-1],ve.push(ue[te>>2]+ue[te<<4&63]+"==")):ge===2&&(te=(ee[de-2]<<8)+ee[de-1],ve.push(ue[te>>10]+ue[te>>4&63]+ue[te<<2&63]+"=")),ve.join("")}},{}],88:[function(E,we,fe){(function(ue,oe,ae){typeof we!="undefined"&&we.exports?we.exports=ae():typeof pe=="function"&&pe.amd?pe(oe,ae):ue[oe]=ae()})(this,"bowser",function(){var ue=!0;function oe(z){function y(At){var ot=z.match(At);return ot&&ot.length>1&&ot[1]||""}function a(At){var ot=z.match(At);return ot&&ot.length>1&&ot[2]||""}var x=y(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(z),ee=!b&&/android/i.test(z),te=/nexus\s*[0-6]\s*/i.test(z),de=!te&&/nexus\s*[0-9]+/i.test(z),ge=/CrOS/.test(z),ve=/silk/i.test(z),ye=/sailfish/i.test(z),be=/tizen/i.test(z),Ce=/(web|hpw)(o|0)s/i.test(z),Se=/windows phone/i.test(z),Pe=/SamsungBrowser/i.test(z),Be=!Se&&/windows/i.test(z),Ue=!x&&!ve&&/macintosh/i.test(z),Ee=!ee&&!ye&&!be&&!Ce&&/linux/i.test(z),He=a(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Oe=y(/version\/(\d+(\.\d+)?)/i),ke=/tablet/i.test(z)&&!/tablet pc/i.test(z),Xe=!ke&&/[^-]mobi/i.test(z),$e=/xbox/i.test(z),ze;/opera/i.test(z)?ze={name:"Opera",opera:ue,version:Oe||y(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(z)?ze={name:"Opera",opera:ue,version:y(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Oe}:/SamsungBrowser/i.test(z)?ze={name:"Samsung Internet for Android",samsungBrowser:ue,version:Oe||y(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(z)?ze={name:"NAVER Whale browser",whale:ue,version:y(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(z)?ze={name:"MZ Browser",mzbrowser:ue,version:y(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(z)?ze={name:"Opera Coast",coast:ue,version:Oe||y(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(z)?ze={name:"Focus",focus:ue,version:y(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(z)?ze={name:"Yandex Browser",yandexbrowser:ue,version:Oe||y(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(z)?ze={name:"UC Browser",ucbrowser:ue,version:y(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(z)?ze={name:"Maxthon",maxthon:ue,version:y(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(z)?ze={name:"Epiphany",epiphany:ue,version:y(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(z)?ze={name:"Puffin",puffin:ue,version:y(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(z)?ze={name:"Sleipnir",sleipnir:ue,version:y(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(z)?ze={name:"K-Meleon",kMeleon:ue,version:y(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Se?(ze={name:"Windows Phone",osname:"Windows Phone",windowsphone:ue},He?(ze.msedge=ue,ze.version=He):(ze.msie=ue,ze.version=y(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(z)?ze={name:"Internet Explorer",msie:ue,version:y(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ge?ze={name:"Chrome",osname:"Chrome OS",chromeos:ue,chromeBook:ue,chrome:ue,version:y(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(z)?ze={name:"Microsoft Edge",msedge:ue,version:He}:/vivaldi/i.test(z)?ze={name:"Vivaldi",vivaldi:ue,version:y(/vivaldi\/(\d+(\.\d+)?)/i)||Oe}:ye?ze={name:"Sailfish",osname:"Sailfish OS",sailfish:ue,version:y(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(z)?ze={name:"SeaMonkey",seamonkey:ue,version:y(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(z)?(ze={name:"Firefox",firefox:ue,version:y(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(z)&&(ze.firefoxos=ue,ze.osname="Firefox OS")):ve?ze={name:"Amazon Silk",silk:ue,version:y(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(z)?ze={name:"PhantomJS",phantom:ue,version:y(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(z)?ze={name:"SlimerJS",slimer:ue,version:y(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(z)||/rim\stablet/i.test(z)?ze={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ue,version:Oe||y(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Ce?(ze={name:"WebOS",osname:"WebOS",webos:ue,version:Oe||y(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(z)&&(ze.touchpad=ue)):/bada/i.test(z)?ze={name:"Bada",osname:"Bada",bada:ue,version:y(/dolfin\/(\d+(\.\d+)?)/i)}:be?ze={name:"Tizen",osname:"Tizen",tizen:ue,version:y(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Oe}:/qupzilla/i.test(z)?ze={name:"QupZilla",qupzilla:ue,version:y(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Oe}:/chromium/i.test(z)?ze={name:"Chromium",chromium:ue,version:y(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Oe}:/chrome|crios|crmo/i.test(z)?ze={name:"Chrome",chrome:ue,version:y(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ee?ze={name:"Android",version:Oe}:/safari|applewebkit/i.test(z)?(ze={name:"Safari",safari:ue},Oe&&(ze.version=Oe)):x?(ze={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Oe&&(ze.version=Oe)):/googlebot/i.test(z)?ze={name:"Googlebot",googlebot:ue,version:y(/googlebot\/(\d+(\.\d+))/i)||Oe}:ze={name:y(/^(.*)\/(.*) /),version:a(/^(.*)\/(.*) /)},!ze.msedge&&/(apple)?webkit/i.test(z)?(/(apple)?webkit\/537\.36/i.test(z)?(ze.name=ze.name||"Blink",ze.blink=ue):(ze.name=ze.name||"Webkit",ze.webkit=ue),!ze.version&&Oe&&(ze.version=Oe)):!ze.opera&&/gecko\//i.test(z)&&(ze.name=ze.name||"Gecko",ze.gecko=ue,ze.version=ze.version||y(/gecko\/(\d+(\.\d+)?)/i)),!ze.windowsphone&&(ee||ze.silk)?(ze.android=ue,ze.osname="Android"):!ze.windowsphone&&x?(ze[x]=ue,ze.ios=ue,ze.osname="iOS"):Ue?(ze.mac=ue,ze.osname="macOS"):$e?(ze.xbox=ue,ze.osname="Xbox"):Be?(ze.windows=ue,ze.osname="Windows"):Ee&&(ze.linux=ue,ze.osname="Linux");function at(At){switch(At){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var et="";ze.windows?et=at(y(/Windows ((NT|XP)( \d\d?.\d)?)/i)):ze.windowsphone?et=y(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):ze.mac?(et=y(/Mac OS X (\d+([_\.\s]\d+)*)/i),et=et.replace(/[_\s]/g,".")):x?(et=y(/os (\d+([_\s]\d+)*) like mac os x/i),et=et.replace(/[_\s]/g,".")):ee?et=y(/android[ \/-](\d+(\.\d+)*)/i):ze.webos?et=y(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):ze.blackberry?et=y(/rim\stablet\sos\s(\d+(\.\d+)*)/i):ze.bada?et=y(/bada\/(\d+(\.\d+)*)/i):ze.tizen&&(et=y(/tizen[\/\s](\d+(\.\d+)*)/i)),et&&(ze.osversion=et);var it=!ze.windows&&et.split(".")[0];return ke||de||x=="ipad"||ee&&(it==3||it>=4&&!Xe)||ze.silk?ze.tablet=ue:(Xe||x=="iphone"||x=="ipod"||ee||te||ze.blackberry||ze.webos||ze.bada)&&(ze.mobile=ue),ze.msedge||ze.msie&&ze.version>=10||ze.yandexbrowser&&ze.version>=15||ze.vivaldi&&ze.version>=1||ze.chrome&&ze.version>=20||ze.samsungBrowser&&ze.version>=4||ze.whale&&se([ze.version,"1.0"])===1||ze.mzbrowser&&se([ze.version,"6.0"])===1||ze.focus&&se([ze.version,"1.0"])===1||ze.firefox&&ze.version>=20||ze.safari&&ze.version>=6||ze.opera&&ze.version>=10||ze.ios&&ze.osversion&&ze.osversion.split(".")[0]>=6||ze.blackberry&&ze.version>=10.1||ze.chromium&&ze.version>=20?ze.a=ue:ze.msie&&ze.version<10||ze.chrome&&ze.version<20||ze.firefox&&ze.version<20||ze.safari&&ze.version<6||ze.opera&&ze.version<10||ze.ios&&ze.osversion&&ze.osversion.split(".")[0]<6||ze.chromium&&ze.version<20?ze.c=ue:ze.x=ue,ze}var ae=oe(typeof navigator!="undefined"&&navigator.userAgent||"");ae.test=function(z){for(var y=0;y=0;){if(a[0][y]>a[1][y])return 1;if(a[0][y]===a[1][y]){if(y===0)return 0}else return-1}}function ie(z,y,a){var x=ae;typeof y=="string"&&(a=y,y=void 0),y===void 0&&(y=!1),a&&(x=oe(a));var b=""+x.version;for(var ee in z)if(z.hasOwnProperty(ee)&&x[ee]){if(typeof z[ee]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ee+": "+String(z));return se([b,z[ee]])<0}return y}function ne(z,y,a){return!ie(z,y,a)}return ae.isUnsupportedBrowser=ie,ae.compareVersions=se,ae.check=ne,ae._detect=oe,ae.detect=oe,ae})},{}],89:[function(E,we,fe){},{}],90:[function(E,we,fe){(function(ue){(function(){"use strict";var oe=E("base64-js"),ae=E("ieee754");fe.Buffer=ie,fe.SlowBuffer=ge,fe.INSPECT_MAX_BYTES=50;var le=2147483647;fe.kMaxLength=le,ie.TYPED_ARRAY_SUPPORT=re(),!ie.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function re(){try{var Te=new Uint8Array(1);return Te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Te.foo()===42}catch(Ne){return!1}}Object.defineProperty(ie.prototype,"parent",{enumerable:!0,get:function(){if(ie.isBuffer(this))return this.buffer}}),Object.defineProperty(ie.prototype,"offset",{enumerable:!0,get:function(){if(ie.isBuffer(this))return this.byteOffset}});function se(Te){if(Te>le)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var Ne=new Uint8Array(Te);return Ne.__proto__=ie.prototype,Ne}function ie(Te,Ne,Le){if(typeof Te=="number"){if(typeof Ne=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return a(Te)}return ne(Te,Ne,Le)}typeof Symbol!="undefined"&&Symbol.species!=null&&ie[Symbol.species]===ie&&Object.defineProperty(ie,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),ie.poolSize=8192;function ne(Te,Ne,Le){if(typeof Te=="string")return x(Te,Ne);if(ArrayBuffer.isView(Te))return b(Te);if(Te==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te);if(Fe(Te,ArrayBuffer)||Te&&Fe(Te.buffer,ArrayBuffer))return ee(Te,Ne,Le);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=Te.valueOf&&Te.valueOf();if(Ge!=null&&Ge!==Te)return ie.from(Ge,Ne,Le);var dt=te(Te);if(dt)return dt;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return ie.from(Te[Symbol.toPrimitive]("string"),Ne,Le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te)}ie.from=function(Te,Ne,Le){return ne(Te,Ne,Le)},ie.prototype.__proto__=Uint8Array.prototype,ie.__proto__=Uint8Array;function z(Te){if(typeof Te!="number")throw new TypeError('"size" argument must be of type number');if(Te<0)throw new RangeError('The value "'+Te+'" is invalid for option "size"')}function y(Te,Ne,Le){return z(Te),Te<=0?se(Te):Ne!==void 0?typeof Le=="string"?se(Te).fill(Ne,Le):se(Te).fill(Ne):se(Te)}ie.alloc=function(Te,Ne,Le){return y(Te,Ne,Le)};function a(Te){return z(Te),se(Te<0?0:de(Te)|0)}ie.allocUnsafe=function(Te){return a(Te)},ie.allocUnsafeSlow=function(Te){return a(Te)};function x(Te,Ne){if((typeof Ne!="string"||Ne==="")&&(Ne="utf8"),!ie.isEncoding(Ne))throw new TypeError("Unknown encoding: "+Ne);var Le=ve(Te,Ne)|0,Ge=se(Le),dt=Ge.write(Te,Ne);return dt!==Le&&(Ge=Ge.slice(0,dt)),Ge}function b(Te){for(var Ne=Te.length<0?0:de(Te.length)|0,Le=se(Ne),Ge=0;Ge=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return Te|0}function ge(Te){return+Te!=Te&&(Te=0),ie.alloc(+Te)}ie.isBuffer=function(Ne){return Ne!=null&&Ne._isBuffer===!0&&Ne!==ie.prototype},ie.compare=function(Ne,Le){if(Fe(Ne,Uint8Array)&&(Ne=ie.from(Ne,Ne.offset,Ne.byteLength)),Fe(Le,Uint8Array)&&(Le=ie.from(Le,Le.offset,Le.byteLength)),!ie.isBuffer(Ne)||!ie.isBuffer(Le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ne===Le)return 0;for(var Ge=Ne.length,dt=Le.length,mt=0,st=Math.min(Ge,dt);mt2&&arguments[2]===!0;if(!Ge&&Le===0)return 0;for(var dt=!1;;)switch(Ne){case"ascii":case"latin1":case"binary":return Le;case"utf8":case"utf-8":return qe(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le*2;case"hex":return Le>>>1;case"base64":return Ie(Te).length;default:if(dt)return Ge?-1:qe(Te).length;Ne=(""+Ne).toLowerCase(),dt=!0}}ie.byteLength=ve;function ye(Te,Ne,Le){var Ge=!1;if((Ne===void 0||Ne<0)&&(Ne=0),Ne>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,Ne>>>=0,Le<=Ne))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return it(this,Ne,Le);case"utf8":case"utf-8":return Xe(this,Ne,Le);case"ascii":return at(this,Ne,Le);case"latin1":case"binary":return et(this,Ne,Le);case"base64":return ke(this,Ne,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return At(this,Ne,Le);default:if(Ge)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),Ge=!0}}ie.prototype._isBuffer=!0;function be(Te,Ne,Le){var Ge=Te[Ne];Te[Ne]=Te[Le],Te[Le]=Ge}ie.prototype.swap16=function(){var Ne=this.length;if(Ne%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Le=0;LeLe&&(Ne+=" ... "),""},ie.prototype.compare=function(Ne,Le,Ge,dt,mt){if(Fe(Ne,Uint8Array)&&(Ne=ie.from(Ne,Ne.offset,Ne.byteLength)),!ie.isBuffer(Ne))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ne);if(Le===void 0&&(Le=0),Ge===void 0&&(Ge=Ne?Ne.length:0),dt===void 0&&(dt=0),mt===void 0&&(mt=this.length),Le<0||Ge>Ne.length||dt<0||mt>this.length)throw new RangeError("out of range index");if(dt>=mt&&Le>=Ge)return 0;if(dt>=mt)return-1;if(Le>=Ge)return 1;if(Le>>>=0,Ge>>>=0,dt>>>=0,mt>>>=0,this===Ne)return 0;for(var st=mt-dt,Et=Ge-Le,Bt=Math.min(st,Et),wt=this.slice(dt,mt),Lt=Ne.slice(Le,Ge),Ft=0;Ft2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,De(Le)&&(Le=dt?0:Te.length-1),Le<0&&(Le=Te.length+Le),Le>=Te.length){if(dt)return-1;Le=Te.length-1}else if(Le<0)if(dt)Le=0;else return-1;if(typeof Ne=="string"&&(Ne=ie.from(Ne,Ge)),ie.isBuffer(Ne))return Ne.length===0?-1:Se(Te,Ne,Le,Ge,dt);if(typeof Ne=="number")return Ne=Ne&255,typeof Uint8Array.prototype.indexOf=="function"?dt?Uint8Array.prototype.indexOf.call(Te,Ne,Le):Uint8Array.prototype.lastIndexOf.call(Te,Ne,Le):Se(Te,[Ne],Le,Ge,dt);throw new TypeError("val must be string, number or Buffer")}function Se(Te,Ne,Le,Ge,dt){var mt=1,st=Te.length,Et=Ne.length;if(Ge!==void 0&&(Ge=String(Ge).toLowerCase(),Ge==="ucs2"||Ge==="ucs-2"||Ge==="utf16le"||Ge==="utf-16le")){if(Te.length<2||Ne.length<2)return-1;mt=2,st/=2,Et/=2,Le/=2}function Bt(bt,Dt){return mt===1?bt[Dt]:bt.readUInt16BE(Dt*mt)}var wt;if(dt){var Lt=-1;for(wt=Le;wtst&&(Le=st-Et),wt=Le;wt>=0;wt--){for(var Ft=!0,Nt=0;Ntdt&&(Ge=dt)):Ge=dt;var mt=Ne.length;Ge>mt/2&&(Ge=mt/2);for(var st=0;st>>0,isFinite(Ge)?(Ge=Ge>>>0,dt===void 0&&(dt="utf8")):(dt=Ge,Ge=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var mt=this.length-Le;if((Ge===void 0||Ge>mt)&&(Ge=mt),Ne.length>0&&(Ge<0||Le<0)||Le>this.length)throw new RangeError("Attempt to write outside buffer bounds");dt||(dt="utf8");for(var st=!1;;)switch(dt){case"hex":return Pe(this,Ne,Le,Ge);case"utf8":case"utf-8":return Be(this,Ne,Le,Ge);case"ascii":return Ue(this,Ne,Le,Ge);case"latin1":case"binary":return Ee(this,Ne,Le,Ge);case"base64":return He(this,Ne,Le,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oe(this,Ne,Le,Ge);default:if(st)throw new TypeError("Unknown encoding: "+dt);dt=(""+dt).toLowerCase(),st=!0}},ie.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ke(Te,Ne,Le){return Ne===0&&Le===Te.length?oe.fromByteArray(Te):oe.fromByteArray(Te.slice(Ne,Le))}function Xe(Te,Ne,Le){Le=Math.min(Te.length,Le);for(var Ge=[],dt=Ne;dt239?4:mt>223?3:mt>191?2:1;if(dt+Et<=Le){var Bt,wt,Lt,Ft;switch(Et){case 1:mt<128&&(st=mt);break;case 2:Bt=Te[dt+1],(Bt&192)===128&&(Ft=(mt&31)<<6|Bt&63,Ft>127&&(st=Ft));break;case 3:Bt=Te[dt+1],wt=Te[dt+2],(Bt&192)===128&&(wt&192)===128&&(Ft=(mt&15)<<12|(Bt&63)<<6|wt&63,Ft>2047&&(Ft<55296||Ft>57343)&&(st=Ft));break;case 4:Bt=Te[dt+1],wt=Te[dt+2],Lt=Te[dt+3],(Bt&192)===128&&(wt&192)===128&&(Lt&192)===128&&(Ft=(mt&15)<<18|(Bt&63)<<12|(wt&63)<<6|Lt&63,Ft>65535&&Ft<1114112&&(st=Ft))}}st===null?(st=65533,Et=1):st>65535&&(st-=65536,Ge.push(st>>>10&1023|55296),st=56320|st&1023),Ge.push(st),dt+=Et}return ze(Ge)}var $e=4096;function ze(Te){var Ne=Te.length;if(Ne<=$e)return String.fromCharCode.apply(String,Te);for(var Le="",Ge=0;GeGe)&&(Le=Ge);for(var dt="",mt=Ne;mtGe&&(Ne=Ge),Le<0?(Le+=Ge,Le<0&&(Le=0)):Le>Ge&&(Le=Ge),LeLe)throw new RangeError("Trying to access beyond buffer length")}ie.prototype.readUIntLE=function(Ne,Le,Ge){Ne=Ne>>>0,Le=Le>>>0,Ge||ot(Ne,Le,this.length);for(var dt=this[Ne],mt=1,st=0;++st>>0,Le=Le>>>0,Ge||ot(Ne,Le,this.length);for(var dt=this[Ne+--Le],mt=1;Le>0&&(mt*=256);)dt+=this[Ne+--Le]*mt;return dt},ie.prototype.readUInt8=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,1,this.length),this[Ne]},ie.prototype.readUInt16LE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,2,this.length),this[Ne]|this[Ne+1]<<8},ie.prototype.readUInt16BE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,2,this.length),this[Ne]<<8|this[Ne+1]},ie.prototype.readUInt32LE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,4,this.length),(this[Ne]|this[Ne+1]<<8|this[Ne+2]<<16)+this[Ne+3]*16777216},ie.prototype.readUInt32BE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,4,this.length),this[Ne]*16777216+(this[Ne+1]<<16|this[Ne+2]<<8|this[Ne+3])},ie.prototype.readIntLE=function(Ne,Le,Ge){Ne=Ne>>>0,Le=Le>>>0,Ge||ot(Ne,Le,this.length);for(var dt=this[Ne],mt=1,st=0;++st=mt&&(dt-=Math.pow(2,8*Le)),dt},ie.prototype.readIntBE=function(Ne,Le,Ge){Ne=Ne>>>0,Le=Le>>>0,Ge||ot(Ne,Le,this.length);for(var dt=Le,mt=1,st=this[Ne+--dt];dt>0&&(mt*=256);)st+=this[Ne+--dt]*mt;return mt*=128,st>=mt&&(st-=Math.pow(2,8*Le)),st},ie.prototype.readInt8=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,1,this.length),this[Ne]&128?(255-this[Ne]+1)*-1:this[Ne]},ie.prototype.readInt16LE=function(Ne,Le){Ne=Ne>>>0,Le||ot(Ne,2,this.length);var Ge=this[Ne]|this[Ne+1]<<8;return Ge&32768?Ge|4294901760:Ge},ie.prototype.readInt16BE=function(Ne,Le){Ne=Ne>>>0,Le||ot(Ne,2,this.length);var Ge=this[Ne+1]|this[Ne]<<8;return Ge&32768?Ge|4294901760:Ge},ie.prototype.readInt32LE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,4,this.length),this[Ne]|this[Ne+1]<<8|this[Ne+2]<<16|this[Ne+3]<<24},ie.prototype.readInt32BE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,4,this.length),this[Ne]<<24|this[Ne+1]<<16|this[Ne+2]<<8|this[Ne+3]},ie.prototype.readFloatLE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,4,this.length),ae.read(this,Ne,!0,23,4)},ie.prototype.readFloatBE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,4,this.length),ae.read(this,Ne,!1,23,4)},ie.prototype.readDoubleLE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,8,this.length),ae.read(this,Ne,!0,52,8)},ie.prototype.readDoubleBE=function(Ne,Le){return Ne=Ne>>>0,Le||ot(Ne,8,this.length),ae.read(this,Ne,!1,52,8)};function rt(Te,Ne,Le,Ge,dt,mt){if(!ie.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ne>dt||NeTe.length)throw new RangeError("Index out of range")}ie.prototype.writeUIntLE=function(Ne,Le,Ge,dt){if(Ne=+Ne,Le=Le>>>0,Ge=Ge>>>0,!dt){var mt=Math.pow(2,8*Ge)-1;rt(this,Ne,Le,Ge,mt,0)}var st=1,Et=0;for(this[Le]=Ne&255;++Et>>0,Ge=Ge>>>0,!dt){var mt=Math.pow(2,8*Ge)-1;rt(this,Ne,Le,Ge,mt,0)}var st=Ge-1,Et=1;for(this[Le+st]=Ne&255;--st>=0&&(Et*=256);)this[Le+st]=Ne/Et&255;return Le+Ge},ie.prototype.writeUInt8=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,1,255,0),this[Le]=Ne&255,Le+1},ie.prototype.writeUInt16LE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,2,65535,0),this[Le]=Ne&255,this[Le+1]=Ne>>>8,Le+2},ie.prototype.writeUInt16BE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,2,65535,0),this[Le]=Ne>>>8,this[Le+1]=Ne&255,Le+2},ie.prototype.writeUInt32LE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,4,4294967295,0),this[Le+3]=Ne>>>24,this[Le+2]=Ne>>>16,this[Le+1]=Ne>>>8,this[Le]=Ne&255,Le+4},ie.prototype.writeUInt32BE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,4,4294967295,0),this[Le]=Ne>>>24,this[Le+1]=Ne>>>16,this[Le+2]=Ne>>>8,this[Le+3]=Ne&255,Le+4},ie.prototype.writeIntLE=function(Ne,Le,Ge,dt){if(Ne=+Ne,Le=Le>>>0,!dt){var mt=Math.pow(2,8*Ge-1);rt(this,Ne,Le,Ge,mt-1,-mt)}var st=0,Et=1,Bt=0;for(this[Le]=Ne&255;++st>0)-Bt&255;return Le+Ge},ie.prototype.writeIntBE=function(Ne,Le,Ge,dt){if(Ne=+Ne,Le=Le>>>0,!dt){var mt=Math.pow(2,8*Ge-1);rt(this,Ne,Le,Ge,mt-1,-mt)}var st=Ge-1,Et=1,Bt=0;for(this[Le+st]=Ne&255;--st>=0&&(Et*=256);)Ne<0&&Bt===0&&this[Le+st+1]!==0&&(Bt=1),this[Le+st]=(Ne/Et>>0)-Bt&255;return Le+Ge},ie.prototype.writeInt8=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,1,127,-128),Ne<0&&(Ne=255+Ne+1),this[Le]=Ne&255,Le+1},ie.prototype.writeInt16LE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,2,32767,-32768),this[Le]=Ne&255,this[Le+1]=Ne>>>8,Le+2},ie.prototype.writeInt16BE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,2,32767,-32768),this[Le]=Ne>>>8,this[Le+1]=Ne&255,Le+2},ie.prototype.writeInt32LE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,4,2147483647,-2147483648),this[Le]=Ne&255,this[Le+1]=Ne>>>8,this[Le+2]=Ne>>>16,this[Le+3]=Ne>>>24,Le+4},ie.prototype.writeInt32BE=function(Ne,Le,Ge){return Ne=+Ne,Le=Le>>>0,Ge||rt(this,Ne,Le,4,2147483647,-2147483648),Ne<0&&(Ne=4294967295+Ne+1),this[Le]=Ne>>>24,this[Le+1]=Ne>>>16,this[Le+2]=Ne>>>8,this[Le+3]=Ne&255,Le+4};function lt(Te,Ne,Le,Ge,dt,mt){if(Le+Ge>Te.length)throw new RangeError("Index out of range");if(Le<0)throw new RangeError("Index out of range")}function gt(Te,Ne,Le,Ge,dt){return Ne=+Ne,Le=Le>>>0,dt||lt(Te,Ne,Le,4,34028234663852886e22,-34028234663852886e22),ae.write(Te,Ne,Le,Ge,23,4),Le+4}ie.prototype.writeFloatLE=function(Ne,Le,Ge){return gt(this,Ne,Le,!0,Ge)},ie.prototype.writeFloatBE=function(Ne,Le,Ge){return gt(this,Ne,Le,!1,Ge)};function yt(Te,Ne,Le,Ge,dt){return Ne=+Ne,Le=Le>>>0,dt||lt(Te,Ne,Le,8,17976931348623157e292,-17976931348623157e292),ae.write(Te,Ne,Le,Ge,52,8),Le+8}ie.prototype.writeDoubleLE=function(Ne,Le,Ge){return yt(this,Ne,Le,!0,Ge)},ie.prototype.writeDoubleBE=function(Ne,Le,Ge){return yt(this,Ne,Le,!1,Ge)},ie.prototype.copy=function(Ne,Le,Ge,dt){if(!ie.isBuffer(Ne))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!dt&&dt!==0&&(dt=this.length),Le>=Ne.length&&(Le=Ne.length),Le||(Le=0),dt>0&&dt=this.length)throw new RangeError("Index out of range");if(dt<0)throw new RangeError("sourceEnd out of bounds");dt>this.length&&(dt=this.length),Ne.length-Le=0;--st)Ne[st+Le]=this[st+Ge];else Uint8Array.prototype.set.call(Ne,this.subarray(Ge,dt),Le);return mt},ie.prototype.fill=function(Ne,Le,Ge,dt){if(typeof Ne=="string"){if(typeof Le=="string"?(dt=Le,Le=0,Ge=this.length):typeof Ge=="string"&&(dt=Ge,Ge=this.length),dt!==void 0&&typeof dt!="string")throw new TypeError("encoding must be a string");if(typeof dt=="string"&&!ie.isEncoding(dt))throw new TypeError("Unknown encoding: "+dt);if(Ne.length===1){var mt=Ne.charCodeAt(0);(dt==="utf8"&&mt<128||dt==="latin1")&&(Ne=mt)}}else typeof Ne=="number"&&(Ne=Ne&255);if(Le<0||this.length>>0,Ge=Ge===void 0?this.length:Ge>>>0,Ne||(Ne=0);var st;if(typeof Ne=="number")for(st=Le;st55295&&Le<57344){if(!dt){if(Le>56319){(Ne-=3)>-1&&mt.push(239,191,189);continue}else if(st+1===Ge){(Ne-=3)>-1&&mt.push(239,191,189);continue}dt=Le;continue}if(Le<56320){(Ne-=3)>-1&&mt.push(239,191,189),dt=Le;continue}Le=(dt-55296<<10|Le-56320)+65536}else dt&&(Ne-=3)>-1&&mt.push(239,191,189);if(dt=null,Le<128){if((Ne-=1)<0)break;mt.push(Le)}else if(Le<2048){if((Ne-=2)<0)break;mt.push(Le>>6|192,Le&63|128)}else if(Le<65536){if((Ne-=3)<0)break;mt.push(Le>>12|224,Le>>6&63|128,Le&63|128)}else if(Le<1114112){if((Ne-=4)<0)break;mt.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,Le&63|128)}else throw new Error("Invalid code point")}return mt}function je(Te){for(var Ne=[],Le=0;Le>8,dt=Le%256,mt.push(dt),mt.push(Ge);return mt}function Ie(Te){return oe.toByteArray(vt(Te))}function _e(Te,Ne,Le,Ge){for(var dt=0;dt=Ne.length||dt>=Te.length);++dt)Ne[dt+Le]=Te[dt];return dt}function Fe(Te,Ne){return Te instanceof Ne||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===Ne.name}function De(Te){return Te!==Te}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,we,fe){we.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,we,fe){"use strict";var ue=E("get-intrinsic"),oe=E("./"),ae=oe(ue("String.prototype.indexOf"));we.exports=function(re,se){var ie=ue(re,!!se);return typeof ie=="function"&&ae(re,".prototype.")>-1?oe(ie):ie}},{"./":93,"get-intrinsic":348}],93:[function(E,we,fe){"use strict";var ue=E("function-bind"),oe=E("get-intrinsic"),ae=oe("%Function.prototype.apply%"),le=oe("%Function.prototype.call%"),re=oe("%Reflect.apply%",!0)||ue.call(le,ae),se=oe("%Object.getOwnPropertyDescriptor%",!0),ie=oe("%Object.defineProperty%",!0),ne=oe("%Math.max%");if(ie)try{ie({},"a",{value:1})}catch(y){ie=null}we.exports=function(a){var x=re(ue,le,arguments);if(se&&ie){var b=se(x,"length");b.configurable&&ie(x,"length",{value:1+ne(0,a.length-(arguments.length-1))})}return x};var z=function(){return re(ue,ae,arguments)};ie?ie(we.exports,"apply",{value:z}):we.exports.apply=z},{"function-bind":347,"get-intrinsic":348}],94:[function(E,we,fe){"use strict";var ue=Array.prototype.slice;we.exports=oe;function oe(le,re){if(!(this instanceof oe))return new oe(le,re);this.src=le,this._withAccess=re}oe.prototype.withAccess=function(le){return this._withAccess=le!==!1,this},oe.prototype.pick=function(le){return Array.isArray(le)||(le=ue.call(arguments)),le.length&&(this.keys=le),this},oe.prototype.to=function(le){if(le=le||{},!this.src)return le;var re=this.keys||Object.keys(this.src);if(!this._withAccess){for(var se=0;se>8&255]},qe=function(st){return[st&255,st>>8&255,st>>16&255,st>>24&255]},je=function(st){return st[3]<<24|st[2]<<16|st[1]<<8|st[0]},Ve=function(st){return yt(st,23,4)},Ie=function(st){return yt(st,52,8)},_e=function(st,Et){ge(st[Oe],Et,{get:function(){return Be(this)[Et]}})},Fe=function(st,Et,Bt,wt){var Lt=x(Bt),Ft=Be(st);if(Lt+Et>Ft.byteLength)throw rt(Xe);var Nt=Be(Ft.buffer).bytes,bt=Lt+Ft.byteOffset,Dt=ye(Nt,bt,bt+Et);return wt?Dt:gt(Dt)},De=function(st,Et,Bt,wt,Lt,Ft){var Nt=x(Bt),bt=Be(st);if(Nt+Et>bt.byteLength)throw rt(Xe);for(var Dt=Be(bt.buffer).bytes,Rt=Nt+bt.byteOffset,Ut=wt(+Lt),qt=0;qtLt)throw rt("Wrong offset");if(wt=wt===void 0?Lt-Ft:a(wt),Ft+wt>Lt)throw rt(ke);Ue(this,{buffer:Et,byteLength:wt,byteOffset:Ft}),ae||(this.buffer=Et,this.byteLength=wt,this.byteOffset=Ft)},it=et[Oe],ae&&(_e(ze,"byteLength"),_e(et,"buffer"),_e(et,"byteLength"),_e(et,"byteOffset")),ie(it,{getInt8:function(Et){return Fe(this,1,Et)[0]<<24>>24},getUint8:function(Et){return Fe(this,1,Et)[0]},getInt16:function(Et){var Bt=Fe(this,2,Et,arguments.length>1?arguments[1]:void 0);return(Bt[1]<<8|Bt[0])<<16>>16},getUint16:function(Et){var Bt=Fe(this,2,Et,arguments.length>1?arguments[1]:void 0);return Bt[1]<<8|Bt[0]},getInt32:function(Et){return je(Fe(this,4,Et,arguments.length>1?arguments[1]:void 0))},getUint32:function(Et){return je(Fe(this,4,Et,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Et){return Tt(Fe(this,4,Et,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Et){return Tt(Fe(this,8,Et,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Et,Bt){De(this,1,Et,vt,Bt)},setUint8:function(Et,Bt){De(this,1,Et,vt,Bt)},setInt16:function(Et,Bt){De(this,2,Et,ut,Bt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Et,Bt){De(this,2,Et,ut,Bt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Et,Bt){De(this,4,Et,qe,Bt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Et,Bt){De(this,4,Et,qe,Bt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Et,Bt){De(this,4,Et,Ve,Bt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Et,Bt){De(this,8,Et,Ie,Bt,arguments.length>2?arguments[2]:void 0)}});else{var Te=Se&&$e.name!==Ee;if(!ne(function(){$e(1)})||!ne(function(){new $e(-1)})||ne(function(){return new $e,new $e(1.5),new $e(NaN),Te&&!Pe})){ze=function(Et){return z(this,at),new $e(x(Et))},ze[Oe]=at;for(var Ne=de($e),Le=0,Ge;Ne.length>Le;)(Ge=Ne[Le++])in ze||se(ze,Ge,$e[Ge]);at.constructor=ze}else Te&&Pe&&se($e,"name",Ee);te&&ee(it)!==At&&te(it,At);var dt=new et(new ze(2)),mt=oe(it.setInt8);dt.setInt8(0,2147483648),dt.setInt8(1,2147483649),(dt.getInt8(0)||!dt.getInt8(1))&&ie(it,{setInt8:function(Et,Bt){mt(this,Et,Bt<<24>>24)},setUint8:function(Et,Bt){mt(this,Et,Bt<<24>>24)}},{unsafe:!0})}be(ze,Ee),be(et,He),we.exports={ArrayBuffer:ze,DataView:et}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,we,fe){"use strict";var ue=E("../internals/to-object"),oe=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),le=Math.min;we.exports=[].copyWithin||function(se,ie){var ne=ue(this),z=ae(ne),y=oe(se,z),a=oe(ie,z),x=arguments.length>2?arguments[2]:void 0,b=le((x===void 0?z:oe(x,z))-a,z-y),ee=1;for(a0;)a in ne?ne[y]=ne[a]:delete ne[y],y+=ee,a+=ee;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,we,fe){"use strict";var ue=E("../internals/to-object"),oe=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like");we.exports=function(re){for(var se=ue(this),ie=ae(se),ne=arguments.length,z=oe(ne>1?arguments[1]:void 0,ie),y=ne>2?arguments[2]:void 0,a=y===void 0?ie:oe(y,ie);a>z;)se[z++]=re;return se}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,we,fe){"use strict";var ue=E("../internals/array-iteration").forEach,oe=E("../internals/array-method-is-strict"),ae=oe("forEach");we.exports=ae?[].forEach:function(re){return ue(this,re,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,we,fe){var ue=E("../internals/length-of-array-like");we.exports=function(oe,ae){for(var le=0,re=ue(ae),se=new oe(re);re>le;)se[le]=ae[le++];return se}},{"../internals/length-of-array-like":188}],109:[function(E,we,fe){"use strict";var ue=E("../internals/global"),oe=E("../internals/function-bind-context"),ae=E("../internals/function-call"),le=E("../internals/to-object"),re=E("../internals/call-with-safe-iteration-closing"),se=E("../internals/is-array-iterator-method"),ie=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),z=E("../internals/create-property"),y=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),x=ue.Array;we.exports=function(ee){var te=le(ee),de=ie(this),ge=arguments.length,ve=ge>1?arguments[1]:void 0,ye=ve!==void 0;ye&&(ve=oe(ve,ge>2?arguments[2]:void 0));var be=a(te),Ce=0,Se,Pe,Be,Ue,Ee,He;if(be&&!(this==x&&se(be)))for(Ue=y(te,be),Ee=Ue.next,Pe=de?new this:[];!(Be=ae(Ee,Ue)).done;Ce++)He=ye?re(Ue,ve,[Be.value,Ce],!0):Be.value,z(Pe,Ce,He);else for(Se=ne(te),Pe=de?new this(Se):x(Se);Se>Ce;Ce++)He=ye?ve(te[Ce],Ce):te[Ce],z(Pe,Ce,He);return Pe.length=Ce,Pe}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,we,fe){var ue=E("../internals/to-indexed-object"),oe=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),le=function(re){return function(se,ie,ne){var z=ue(se),y=ae(z),a=oe(ne,y),x;if(re&&ie!=ie){for(;y>a;)if(x=z[a++],x!=x)return!0}else for(;y>a;a++)if((re||a in z)&&z[a]===ie)return re||a||0;return!re&&-1}};we.exports={includes:le(!0),indexOf:le(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,we,fe){var ue=E("../internals/function-bind-context"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/indexed-object"),le=E("../internals/to-object"),re=E("../internals/length-of-array-like"),se=E("../internals/array-species-create"),ie=oe([].push),ne=function(z){var y=z==1,a=z==2,x=z==3,b=z==4,ee=z==6,te=z==7,de=z==5||ee;return function(ge,ve,ye,be){for(var Ce=le(ge),Se=ae(Ce),Pe=ue(ve,ye),Be=re(Se),Ue=0,Ee=be||se,He=y?Ee(ge,Be):a||te?Ee(ge,0):void 0,Oe,ke;Be>Ue;Ue++)if((de||Ue in Se)&&(Oe=Se[Ue],ke=Pe(Oe,Ue,Ce),z))if(y)He[Ue]=ke;else if(ke)switch(z){case 3:return!0;case 5:return Oe;case 6:return Ue;case 2:ie(He,Oe)}else switch(z){case 4:return!1;case 7:ie(He,Oe)}return ee?-1:x||b?b:He}};we.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,we,fe){"use strict";var ue=E("../internals/function-apply"),oe=E("../internals/to-indexed-object"),ae=E("../internals/to-integer-or-infinity"),le=E("../internals/length-of-array-like"),re=E("../internals/array-method-is-strict"),se=Math.min,ie=[].lastIndexOf,ne=!!ie&&1/[1].lastIndexOf(1,-0)<0,z=re("lastIndexOf"),y=ne||!z;we.exports=y?function(x){if(ne)return ue(ie,this,arguments)||0;var b=oe(this),ee=le(b),te=ee-1;for(arguments.length>1&&(te=se(te,ae(arguments[1]))),te<0&&(te=ee+te);te>=0;te--)if(te in b&&b[te]===x)return te||0;return-1}:ie},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,we,fe){var ue=E("../internals/fails"),oe=E("../internals/well-known-symbol"),ae=E("../internals/engine-v8-version"),le=oe("species");we.exports=function(re){return ae>=51||!ue(function(){var se=[],ie=se.constructor={};return ie[le]=function(){return{foo:1}},se[re](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,we,fe){"use strict";var ue=E("../internals/fails");we.exports=function(oe,ae){var le=[][oe];return!!le&&ue(function(){le.call(null,ae||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/a-callable"),ae=E("../internals/to-object"),le=E("../internals/indexed-object"),re=E("../internals/length-of-array-like"),se=ue.TypeError,ie=function(ne){return function(z,y,a,x){oe(y);var b=ae(z),ee=le(b),te=re(b),de=ne?te-1:0,ge=ne?-1:1;if(a<2)for(;;){if(de in ee){x=ee[de],de+=ge;break}if(de+=ge,ne?de<0:te<=de)throw se("Reduce of empty array with no initial value")}for(;ne?de>=0:te>de;de+=ge)de in ee&&(x=y(x,ee[de],de,b));return x}};we.exports={left:ie(!1),right:ie(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),le=E("../internals/create-property"),re=ue.Array,se=Math.max;we.exports=function(ie,ne,z){for(var y=ae(ie),a=oe(ne,y),x=oe(z===void 0?y:z,y),b=re(se(x-a,0)),ee=0;a0;)se[a]=se[--a];a!==z++&&(se[a]=y)}return se},re=function(se,ie,ne,z){for(var y=ie.length,a=ne.length,x=0,b=0;x0&&ie[0]<4?1:+(ie[0]+ie[1])),!ne&&oe&&(ie=oe.match(/Edge\/(\d+)/),(!ie||ie[1]>=74)&&(ie=oe.match(/Chrome\/(\d+)/),ie&&(ne=+ie[1]))),we.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,we,fe){var ue=E("../internals/engine-user-agent"),oe=ue.match(/AppleWebKit\/(\d+)\./);we.exports=!!oe&&+oe[1]},{"../internals/engine-user-agent":145}],148:[function(E,we,fe){we.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/object-get-own-property-descriptor").f,ae=E("../internals/create-non-enumerable-property"),le=E("../internals/redefine"),re=E("../internals/set-global"),se=E("../internals/copy-constructor-properties"),ie=E("../internals/is-forced");we.exports=function(ne,z){var y=ne.target,a=ne.global,x=ne.stat,b,ee,te,de,ge,ve;if(a?ee=ue:x?ee=ue[y]||re(y,{}):ee=(ue[y]||{}).prototype,ee)for(te in z){if(ge=z[te],ne.noTargetGet?(ve=oe(ee,te),de=ve&&ve.value):de=ee[te],b=ie(a?te:y+(x?".":"#")+te,ne.forced),!b&&de!==void 0){if(typeof ge==typeof de)continue;se(ge,de)}(ne.sham||de&&de.sham)&&ae(ge,"sham",!0),le(ee,te,ge,ne)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,we,fe){we.exports=function(ue){try{return!!ue()}catch(oe){return!0}}},{}],151:[function(E,we,fe){"use strict";E("../modules/es.regexp.exec");var ue=E("../internals/function-uncurry-this"),oe=E("../internals/redefine"),ae=E("../internals/regexp-exec"),le=E("../internals/fails"),re=E("../internals/well-known-symbol"),se=E("../internals/create-non-enumerable-property"),ie=re("species"),ne=RegExp.prototype;we.exports=function(z,y,a,x){var b=re(z),ee=!le(function(){var ve={};return ve[b]=function(){return 7},""[z](ve)!=7}),te=ee&&!le(function(){var ve=!1,ye=/a/;return z==="split"&&(ye={},ye.constructor={},ye.constructor[ie]=function(){return ye},ye.flags="",ye[b]=/./[b]),ye.exec=function(){return ve=!0,null},ye[b](""),!ve});if(!ee||!te||a){var de=ue(/./[b]),ge=y(b,""[z],function(ve,ye,be,Ce,Se){var Pe=ue(ve),Be=ye.exec;return Be===ae||Be===ne.exec?ee&&!Se?{done:!0,value:de(ye,be,Ce)}:{done:!0,value:Pe(be,ye,Ce)}:{done:!1}});oe(String.prototype,z,ge[0]),oe(ne,b,ge[1])}x&&se(ne[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,we,fe){var ue=E("../internals/function-bind-native"),oe=Function.prototype,ae=oe.apply,le=oe.call;we.exports=typeof Reflect=="object"&&Reflect.apply||(ue?le.bind(ae):function(){return le.apply(ae,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/a-callable"),ae=E("../internals/function-bind-native"),le=ue(ue.bind);we.exports=function(re,se){return oe(re),se===void 0?re:ae?le(re,se):function(){return re.apply(se,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,we,fe){var ue=E("../internals/fails");we.exports=!ue(function(){var oe=function(){}.bind();return typeof oe!="function"||oe.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,we,fe){var ue=E("../internals/function-bind-native"),oe=Function.prototype.call;we.exports=ue?oe.bind(oe):function(){return oe.apply(oe,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,we,fe){var ue=E("../internals/descriptors"),oe=E("../internals/has-own-property"),ae=Function.prototype,le=ue&&Object.getOwnPropertyDescriptor,re=oe(ae,"name"),se=re&&function(){}.name==="something",ie=re&&(!ue||ue&&le(ae,"name").configurable);we.exports={EXISTS:re,PROPER:se,CONFIGURABLE:ie}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,we,fe){var ue=E("../internals/function-bind-native"),oe=Function.prototype,ae=oe.bind,le=oe.call,re=ue&&ae.bind(le,le);we.exports=ue?function(se){return se&&re(se)}:function(se){return se&&function(){return le.apply(se,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/is-callable"),ae=function(le){return oe(le)?le:void 0};we.exports=function(le,re){return arguments.length<2?ae(ue[le]):ue[le]&&ue[le][re]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,we,fe){var ue=E("../internals/classof"),oe=E("../internals/get-method"),ae=E("../internals/iterators"),le=E("../internals/well-known-symbol"),re=le("iterator");we.exports=function(se){if(se!=null)return oe(se,re)||oe(se,"@@iterator")||ae[ue(se)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-call"),ae=E("../internals/a-callable"),le=E("../internals/an-object"),re=E("../internals/try-to-string"),se=E("../internals/get-iterator-method"),ie=ue.TypeError;we.exports=function(ne,z){var y=arguments.length<2?se(ne):z;if(ae(y))return le(oe(y,ne));throw ie(re(ne)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,we,fe){var ue=E("../internals/a-callable");we.exports=function(oe,ae){var le=oe[ae];return le==null?void 0:ue(le)}},{"../internals/a-callable":95}],162:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/to-object"),ae=Math.floor,le=ue("".charAt),re=ue("".replace),se=ue("".slice),ie=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;we.exports=function(z,y,a,x,b,ee){var te=a+z.length,de=x.length,ge=ne;return b!==void 0&&(b=oe(b),ge=ie),re(ee,ge,function(ve,ye){var be;switch(le(ye,0)){case"$":return"$";case"&":return z;case"`":return se(y,0,a);case"'":return se(y,te);case"<":be=b[se(ye,1,-1)];break;default:var Ce=+ye;if(Ce===0)return ve;if(Ce>de){var Se=ae(Ce/10);return Se===0?ve:Se<=de?x[Se-1]===void 0?le(ye,1):x[Se-1]+le(ye,1):ve}be=x[Ce-1]}return be===void 0?"":be})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,we,fe){(function(ue){(function(){var oe=function(ae){return ae&&ae.Math==Math&&ae};we.exports=oe(typeof globalThis=="object"&&globalThis)||oe(typeof window=="object"&&window)||oe(typeof self=="object"&&self)||oe(typeof ue=="object"&&ue)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/to-object"),ae=ue({}.hasOwnProperty);we.exports=Object.hasOwn||function(re,se){return ae(oe(re),se)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,we,fe){we.exports={}},{}],166:[function(E,we,fe){var ue=E("../internals/global");we.exports=function(oe,ae){var le=ue.console;le&&le.error&&(arguments.length==1?le.error(oe):le.error(oe,ae))}},{"../internals/global":163}],167:[function(E,we,fe){var ue=E("../internals/get-built-in");we.exports=ue("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,we,fe){var ue=E("../internals/descriptors"),oe=E("../internals/fails"),ae=E("../internals/document-create-element");we.exports=!ue&&!oe(function(){return Object.defineProperty(ae("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,we,fe){var ue=E("../internals/global"),oe=ue.Array,ae=Math.abs,le=Math.pow,re=Math.floor,se=Math.log,ie=Math.LN2,ne=function(y,a,x){var b=oe(x),ee=x*8-a-1,te=(1<>1,ge=a===23?le(2,-24)-le(2,-77):0,ve=y<0||y===0&&1/y<0?1:0,ye=0,be,Ce,Se;for(y=ae(y),y!=y||y===1/0?(Ce=y!=y?1:0,be=te):(be=re(se(y)/ie),Se=le(2,-be),y*Se<1&&(be--,Se*=2),be+de>=1?y+=ge/Se:y+=ge*le(2,1-de),y*Se>=2&&(be++,Se/=2),be+de>=te?(Ce=0,be=te):be+de>=1?(Ce=(y*Se-1)*le(2,a),be=be+de):(Ce=y*le(2,de-1)*le(2,a),be=0));a>=8;)b[ye++]=Ce&255,Ce/=256,a-=8;for(be=be<0;)b[ye++]=be&255,be/=256,ee-=8;return b[--ye]|=ve*128,b},z=function(y,a){var x=y.length,b=x*8-a-1,ee=(1<>1,de=b-7,ge=x-1,ve=y[ge--],ye=ve&127,be;for(ve>>=7;de>0;)ye=ye*256+y[ge--],de-=8;for(be=ye&(1<<-de)-1,ye>>=-de,de+=a;de>0;)be=be*256+y[ge--],de-=8;if(ye===0)ye=1-te;else{if(ye===ee)return be?NaN:ve?-1/0:1/0;be=be+le(2,a),ye=ye-te}return(ve?-1:1)*be*le(2,ye-a)};we.exports={pack:ne,unpack:z}},{"../internals/global":163}],170:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),le=E("../internals/classof-raw"),re=ue.Object,se=oe("".split);we.exports=ae(function(){return!re("z").propertyIsEnumerable(0)})?function(ie){return le(ie)=="String"?se(ie,""):re(ie)}:re},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,we,fe){var ue=E("../internals/is-callable"),oe=E("../internals/is-object"),ae=E("../internals/object-set-prototype-of");we.exports=function(le,re,se){var ie,ne;return ae&&ue(ie=re.constructor)&&ie!==se&&oe(ne=ie.prototype)&&ne!==se.prototype&&ae(le,ne),le}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/is-callable"),ae=E("../internals/shared-store"),le=ue(Function.toString);oe(ae.inspectSource)||(ae.inspectSource=function(re){return le(re)}),we.exports=ae.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,we,fe){var ue=E("../internals/native-weak-map"),oe=E("../internals/global"),ae=E("../internals/function-uncurry-this"),le=E("../internals/is-object"),re=E("../internals/create-non-enumerable-property"),se=E("../internals/has-own-property"),ie=E("../internals/shared-store"),ne=E("../internals/shared-key"),z=E("../internals/hidden-keys"),y="Object already initialized",a=oe.TypeError,x=oe.WeakMap,b,ee,te,de=function(Pe){return te(Pe)?ee(Pe):b(Pe,{})},ge=function(Pe){return function(Be){var Ue;if(!le(Be)||(Ue=ee(Be)).type!==Pe)throw a("Incompatible receiver, "+Pe+" required");return Ue}};if(ue||ie.state){var ve=ie.state||(ie.state=new x),ye=ae(ve.get),be=ae(ve.has),Ce=ae(ve.set);b=function(Pe,Be){if(be(ve,Pe))throw new a(y);return Be.facade=Pe,Ce(ve,Pe,Be),Be},ee=function(Pe){return ye(ve,Pe)||{}},te=function(Pe){return be(ve,Pe)}}else{var Se=ne("state");z[Se]=!0,b=function(Pe,Be){if(se(Pe,Se))throw new a(y);return Be.facade=Pe,re(Pe,Se,Be),Be},ee=function(Pe){return se(Pe,Se)?Pe[Se]:{}},te=function(Pe){return se(Pe,Se)}}we.exports={set:b,get:ee,has:te,enforce:de,getterFor:ge}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,we,fe){var ue=E("../internals/well-known-symbol"),oe=E("../internals/iterators"),ae=ue("iterator"),le=Array.prototype;we.exports=function(re){return re!==void 0&&(oe.Array===re||le[ae]===re)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,we,fe){var ue=E("../internals/classof-raw");we.exports=Array.isArray||function(ae){return ue(ae)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,we,fe){we.exports=function(ue){return typeof ue=="function"}},{}],177:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/fails"),ae=E("../internals/is-callable"),le=E("../internals/classof"),re=E("../internals/get-built-in"),se=E("../internals/inspect-source"),ie=function(){},ne=[],z=re("Reflect","construct"),y=/^\s*(?:class|function)\b/,a=ue(y.exec),x=!y.exec(ie),b=function(de){if(!ae(de))return!1;try{return z(ie,ne,de),!0}catch(ge){return!1}},ee=function(de){if(!ae(de))return!1;switch(le(de)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!a(y,se(de))}catch(ge){return!0}};ee.sham=!0,we.exports=!z||oe(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?ee:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,we,fe){var ue=E("../internals/fails"),oe=E("../internals/is-callable"),ae=/#|\.prototype\./,le=function(z,y){var a=se[re(z)];return a==ne?!0:a==ie?!1:oe(y)?ue(y):!!y},re=le.normalize=function(z){return String(z).replace(ae,".").toLowerCase()},se=le.data={},ie=le.NATIVE="N",ne=le.POLYFILL="P";we.exports=le},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,we,fe){var ue=E("../internals/is-object"),oe=Math.floor;we.exports=Number.isInteger||function(le){return!ue(le)&&isFinite(le)&&oe(le)===le}},{"../internals/is-object":180}],180:[function(E,we,fe){var ue=E("../internals/is-callable");we.exports=function(oe){return typeof oe=="object"?oe!==null:ue(oe)}},{"../internals/is-callable":176}],181:[function(E,we,fe){we.exports=!1},{}],182:[function(E,we,fe){var ue=E("../internals/is-object"),oe=E("../internals/classof-raw"),ae=E("../internals/well-known-symbol"),le=ae("match");we.exports=function(re){var se;return ue(re)&&((se=re[le])!==void 0?!!se:oe(re)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/get-built-in"),ae=E("../internals/is-callable"),le=E("../internals/object-is-prototype-of"),re=E("../internals/use-symbol-as-uid"),se=ue.Object;we.exports=re?function(ie){return typeof ie=="symbol"}:function(ie){var ne=oe("Symbol");return ae(ne)&&le(ne.prototype,se(ie))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-bind-context"),ae=E("../internals/function-call"),le=E("../internals/an-object"),re=E("../internals/try-to-string"),se=E("../internals/is-array-iterator-method"),ie=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),z=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),a=E("../internals/iterator-close"),x=ue.TypeError,b=function(te,de){this.stopped=te,this.result=de},ee=b.prototype;we.exports=function(te,de,ge){var ve=ge&&ge.that,ye=!!(ge&&ge.AS_ENTRIES),be=!!(ge&&ge.IS_ITERATOR),Ce=!!(ge&&ge.INTERRUPTED),Se=oe(de,ve),Pe,Be,Ue,Ee,He,Oe,ke,Xe=function(ze){return Pe&&a(Pe,"normal",ze),new b(!0,ze)},$e=function(ze){return ye?(le(ze),Ce?Se(ze[0],ze[1],Xe):Se(ze[0],ze[1])):Ce?Se(ze,Xe):Se(ze)};if(be)Pe=te;else{if(Be=y(te),!Be)throw x(re(te)+" is not iterable");if(se(Be)){for(Ue=0,Ee=ie(te);Ee>Ue;Ue++)if(He=$e(te[Ue]),He&&ne(ee,He))return He;return new b(!1)}Pe=z(te,Be)}for(Oe=Pe.next;!(ke=ae(Oe,Pe)).done;){try{He=$e(ke.value)}catch(ze){a(Pe,"throw",ze)}if(typeof He=="object"&&He&&ne(ee,He))return He}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,we,fe){var ue=E("../internals/function-call"),oe=E("../internals/an-object"),ae=E("../internals/get-method");we.exports=function(le,re,se){var ie,ne;oe(le);try{if(ie=ae(le,"return"),!ie){if(re==="throw")throw se;return se}ie=ue(ie,le)}catch(z){ne=!0,ie=z}if(re==="throw")throw se;if(ne)throw ie;return oe(ie),se}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,we,fe){"use strict";var ue=E("../internals/fails"),oe=E("../internals/is-callable"),ae=E("../internals/object-create"),le=E("../internals/object-get-prototype-of"),re=E("../internals/redefine"),se=E("../internals/well-known-symbol"),ie=E("../internals/is-pure"),ne=se("iterator"),z=!1,y,a,x;[].keys&&(x=[].keys(),"next"in x?(a=le(le(x)),a!==Object.prototype&&(y=a)):z=!0);var b=y==null||ue(function(){var ee={};return y[ne].call(ee)!==ee});b?y={}:ie&&(y=ae(y)),oe(y[ne])||re(y,ne,function(){return this}),we.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:z}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,we,fe){arguments[4][165][0].apply(fe,arguments)},{dup:165}],188:[function(E,we,fe){var ue=E("../internals/to-length");we.exports=function(oe){return ue(oe.length)}},{"../internals/to-length":249}],189:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-bind-context"),ae=E("../internals/object-get-own-property-descriptor").f,le=E("../internals/task").set,re=E("../internals/engine-is-ios"),se=E("../internals/engine-is-ios-pebble"),ie=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),z=ue.MutationObserver||ue.WebKitMutationObserver,y=ue.document,a=ue.process,x=ue.Promise,b=ae(ue,"queueMicrotask"),ee=b&&b.value,te,de,ge,ve,ye,be,Ce,Se;ee||(te=function(){var Pe,Be;for(ne&&(Pe=a.domain)&&Pe.exit();de;){Be=de.fn,de=de.next;try{Be()}catch(Ue){throw de?ve():ge=void 0,Ue}}ge=void 0,Pe&&Pe.enter()},!re&&!ne&&!ie&&z&&y?(ye=!0,be=y.createTextNode(""),new z(te).observe(be,{characterData:!0}),ve=function(){be.data=ye=!ye}):!se&&x&&x.resolve?(Ce=x.resolve(void 0),Ce.constructor=x,Se=oe(Ce.then,Ce),ve=function(){Se(te)}):ne?ve=function(){a.nextTick(te)}:(le=oe(le,ue),ve=function(){le(te)})),we.exports=ee||function(Pe){var Be={fn:Pe,next:void 0};ge&&(ge.next=Be),de||(de=Be,ve()),ge=Be}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,we,fe){var ue=E("../internals/native-symbol");we.exports=ue&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,we,fe){var ue=E("../internals/engine-v8-version"),oe=E("../internals/fails");we.exports=!!Object.getOwnPropertySymbols&&!oe(function(){var ae=Symbol();return!String(ae)||!(Object(ae)instanceof Symbol)||!Symbol.sham&&ue&&ue<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/is-callable"),ae=E("../internals/inspect-source"),le=ue.WeakMap;we.exports=oe(le)&&/native code/.test(ae(le))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,we,fe){"use strict";var ue=E("../internals/a-callable"),oe=function(ae){var le,re;this.promise=new ae(function(se,ie){if(le!==void 0||re!==void 0)throw TypeError("Bad Promise constructor");le=se,re=ie}),this.resolve=ue(le),this.reject=ue(re)};we.exports.f=function(ae){return new oe(ae)}},{"../internals/a-callable":95}],194:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/is-regexp"),ae=ue.TypeError;we.exports=function(le){if(oe(le))throw ae("The method doesn't accept regular expressions");return le}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,we,fe){"use strict";var ue=E("../internals/descriptors"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/function-call"),le=E("../internals/fails"),re=E("../internals/object-keys"),se=E("../internals/object-get-own-property-symbols"),ie=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),z=E("../internals/indexed-object"),y=Object.assign,a=Object.defineProperty,x=oe([].concat);we.exports=!y||le(function(){if(ue&&y({b:1},y(a({},"a",{enumerable:!0,get:function(){a(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},ee={},te=Symbol(),de="abcdefghijklmnopqrst";return b[te]=7,de.split("").forEach(function(ge){ee[ge]=ge}),y({},b)[te]!=7||re(y({},ee)).join("")!=de})?function(ee,te){for(var de=ne(ee),ge=arguments.length,ve=1,ye=se.f,be=ie.f;ge>ve;)for(var Ce=z(arguments[ve++]),Se=ye?x(re(Ce),ye(Ce)):re(Ce),Pe=Se.length,Be=0,Ue;Pe>Be;)Ue=Se[Be++],(!ue||ae(be,Ce,Ue))&&(de[Ue]=Ce[Ue]);return de}:y},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,we,fe){var ue=E("../internals/an-object"),oe=E("../internals/object-define-properties"),ae=E("../internals/enum-bug-keys"),le=E("../internals/hidden-keys"),re=E("../internals/html"),se=E("../internals/document-create-element"),ie=E("../internals/shared-key"),ne=">",z="<",y="prototype",a="script",x=ie("IE_PROTO"),b=function(){},ee=function(ye){return z+a+ne+ye+z+"/"+a+ne},te=function(ye){ye.write(ee("")),ye.close();var be=ye.parentWindow.Object;return ye=null,be},de=function(){var ye=se("iframe"),be="java"+a+":",Ce;return ye.style.display="none",re.appendChild(ye),ye.src=String(be),Ce=ye.contentWindow.document,Ce.open(),Ce.write(ee("document.F=Object")),Ce.close(),Ce.F},ge,ve=function(){try{ge=new ActiveXObject("htmlfile")}catch(be){}ve=typeof document!="undefined"?document.domain&&ge?te(ge):de():te(ge);for(var ye=ae.length;ye--;)delete ve[y][ae[ye]];return ve()};le[x]=!0,we.exports=Object.create||function(be,Ce){var Se;return be!==null?(b[y]=ue(be),Se=new b,b[y]=null,Se[x]=be):Se=ve(),Ce===void 0?Se:oe.f(Se,Ce)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,we,fe){var ue=E("../internals/descriptors"),oe=E("../internals/v8-prototype-define-bug"),ae=E("../internals/object-define-property"),le=E("../internals/an-object"),re=E("../internals/to-indexed-object"),se=E("../internals/object-keys");fe.f=ue&&!oe?Object.defineProperties:function(ne,z){le(ne);for(var y=re(z),a=se(z),x=a.length,b=0,ee;x>b;)ae.f(ne,ee=a[b++],y[ee]);return ne}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/descriptors"),ae=E("../internals/ie8-dom-define"),le=E("../internals/v8-prototype-define-bug"),re=E("../internals/an-object"),se=E("../internals/to-property-key"),ie=ue.TypeError,ne=Object.defineProperty,z=Object.getOwnPropertyDescriptor,y="enumerable",a="configurable",x="writable";fe.f=oe?le?function(ee,te,de){if(re(ee),te=se(te),re(de),typeof ee=="function"&&te==="prototype"&&"value"in de&&x in de&&!de[x]){var ge=z(ee,te);ge&&ge[x]&&(ee[te]=de.value,de={configurable:a in de?de[a]:ge[a],enumerable:y in de?de[y]:ge[y],writable:!1})}return ne(ee,te,de)}:ne:function(ee,te,de){if(re(ee),te=se(te),re(de),ae)try{return ne(ee,te,de)}catch(ge){}if("get"in de||"set"in de)throw ie("Accessors not supported");return"value"in de&&(ee[te]=de.value),ee}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,we,fe){var ue=E("../internals/descriptors"),oe=E("../internals/function-call"),ae=E("../internals/object-property-is-enumerable"),le=E("../internals/create-property-descriptor"),re=E("../internals/to-indexed-object"),se=E("../internals/to-property-key"),ie=E("../internals/has-own-property"),ne=E("../internals/ie8-dom-define"),z=Object.getOwnPropertyDescriptor;fe.f=ue?z:function(a,x){if(a=re(a),x=se(x),ne)try{return z(a,x)}catch(b){}if(ie(a,x))return le(!oe(ae.f,a,x),a[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,we,fe){var ue=E("../internals/classof-raw"),oe=E("../internals/to-indexed-object"),ae=E("../internals/object-get-own-property-names").f,le=E("../internals/array-slice-simple"),re=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],se=function(ie){try{return ae(ie)}catch(ne){return le(re)}};we.exports.f=function(ne){return re&&ue(ne)=="Window"?se(ne):ae(oe(ne))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,we,fe){var ue=E("../internals/object-keys-internal"),oe=E("../internals/enum-bug-keys"),ae=oe.concat("length","prototype");fe.f=Object.getOwnPropertyNames||function(re){return ue(re,ae)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,we,fe){fe.f=Object.getOwnPropertySymbols},{}],203:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/has-own-property"),ae=E("../internals/is-callable"),le=E("../internals/to-object"),re=E("../internals/shared-key"),se=E("../internals/correct-prototype-getter"),ie=re("IE_PROTO"),ne=ue.Object,z=ne.prototype;we.exports=se?ne.getPrototypeOf:function(y){var a=le(y);if(oe(a,ie))return a[ie];var x=a.constructor;return ae(x)&&a instanceof x?x.prototype:a instanceof ne?z:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,we,fe){var ue=E("../internals/function-uncurry-this");we.exports=ue({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/has-own-property"),ae=E("../internals/to-indexed-object"),le=E("../internals/array-includes").indexOf,re=E("../internals/hidden-keys"),se=ue([].push);we.exports=function(ie,ne){var z=ae(ie),y=0,a=[],x;for(x in z)!oe(re,x)&&oe(z,x)&&se(a,x);for(;ne.length>y;)oe(z,x=ne[y++])&&(~le(a,x)||se(a,x));return a}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,we,fe){var ue=E("../internals/object-keys-internal"),oe=E("../internals/enum-bug-keys");we.exports=Object.keys||function(le){return ue(le,oe)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,we,fe){"use strict";var ue={}.propertyIsEnumerable,oe=Object.getOwnPropertyDescriptor,ae=oe&&!ue.call({1:2},1);fe.f=ae?function(re){var se=oe(this,re);return!!se&&se.enumerable}:ue},{}],208:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/an-object"),ae=E("../internals/a-possible-prototype");we.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var le=!1,re={},se;try{se=ue(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),se(re,[]),le=re instanceof Array}catch(ie){}return function(ne,z){return oe(ne),ae(z),le?se(ne,z):ne.__proto__=z,ne}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,we,fe){var ue=E("../internals/descriptors"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/object-keys"),le=E("../internals/to-indexed-object"),re=E("../internals/object-property-is-enumerable").f,se=oe(re),ie=oe([].push),ne=function(z){return function(y){for(var a=le(y),x=ae(a),b=x.length,ee=0,te=[],de;b>ee;)de=x[ee++],(!ue||se(a,de))&&ie(te,z?[de,a[de]]:a[de]);return te}};we.exports={entries:ne(!0),values:ne(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,we,fe){"use strict";var ue=E("../internals/to-string-tag-support"),oe=E("../internals/classof");we.exports=ue?{}.toString:function(){return"[object "+oe(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-call"),ae=E("../internals/is-callable"),le=E("../internals/is-object"),re=ue.TypeError;we.exports=function(se,ie){var ne,z;if(ie==="string"&&ae(ne=se.toString)&&!le(z=oe(ne,se))||ae(ne=se.valueOf)&&!le(z=oe(ne,se))||ie!=="string"&&ae(ne=se.toString)&&!le(z=oe(ne,se)))return z;throw re("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,we,fe){var ue=E("../internals/get-built-in"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/object-get-own-property-names"),le=E("../internals/object-get-own-property-symbols"),re=E("../internals/an-object"),se=oe([].concat);we.exports=ue("Reflect","ownKeys")||function(ne){var z=ae.f(re(ne)),y=le.f;return y?se(z,y(ne)):z}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,we,fe){var ue=E("../internals/global");we.exports=ue},{"../internals/global":163}],214:[function(E,we,fe){we.exports=function(ue){try{return{error:!1,value:ue()}}catch(oe){return{error:!0,value:oe}}}},{}],215:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/promise-native-constructor"),ae=E("../internals/is-callable"),le=E("../internals/is-forced"),re=E("../internals/inspect-source"),se=E("../internals/well-known-symbol"),ie=E("../internals/engine-is-browser"),ne=E("../internals/is-pure"),z=E("../internals/engine-v8-version"),y=oe&&oe.prototype,a=se("species"),x=!1,b=ae(ue.PromiseRejectionEvent),ee=le("Promise",function(){var te=re(oe),de=te!==String(oe);if(!de&&z===66||ne&&!(y.catch&&y.finally))return!0;if(z>=51&&/native code/.test(te))return!1;var ge=new oe(function(be){be(1)}),ve=function(be){be(function(){},function(){})},ye=ge.constructor={};return ye[a]=ve,x=ge.then(function(){})instanceof ve,x?!de&&ie&&!b:!0});we.exports={CONSTRUCTOR:ee,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,we,fe){var ue=E("../internals/global");we.exports=ue.Promise},{"../internals/global":163}],217:[function(E,we,fe){var ue=E("../internals/an-object"),oe=E("../internals/is-object"),ae=E("../internals/new-promise-capability");we.exports=function(le,re){if(ue(le),oe(re)&&re.constructor===le)return re;var se=ae.f(le),ie=se.resolve;return ie(re),se.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,we,fe){var ue=E("../internals/promise-native-constructor"),oe=E("../internals/check-correctness-of-iteration"),ae=E("../internals/promise-constructor-detection").CONSTRUCTOR;we.exports=ae||!oe(function(le){ue.all(le).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,we,fe){var ue=E("../internals/object-define-property").f;we.exports=function(oe,ae,le){le in oe||ue(oe,le,{configurable:!0,get:function(){return ae[le]},set:function(re){ae[le]=re}})}},{"../internals/object-define-property":198}],220:[function(E,we,fe){var ue=function(){this.head=null,this.tail=null};ue.prototype={add:function(oe){var ae={item:oe,next:null};this.head?this.tail.next=ae:this.head=ae,this.tail=ae},get:function(){var oe=this.head;if(oe)return this.head=oe.next,this.tail===oe&&(this.tail=null),oe.item}},we.exports=ue},{}],221:[function(E,we,fe){var ue=E("../internals/redefine");we.exports=function(oe,ae,le){for(var re in ae)ue(oe,re,ae[re],le);return oe}},{"../internals/redefine":222}],222:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/is-callable"),ae=E("../internals/has-own-property"),le=E("../internals/create-non-enumerable-property"),re=E("../internals/set-global"),se=E("../internals/inspect-source"),ie=E("../internals/internal-state"),ne=E("../internals/function-name").CONFIGURABLE,z=ie.get,y=ie.enforce,a=String(String).split("String");(we.exports=function(x,b,ee,te){var de=te?!!te.unsafe:!1,ge=te?!!te.enumerable:!1,ve=te?!!te.noTargetGet:!1,ye=te&&te.name!==void 0?te.name:b,be;if(oe(ee)&&(String(ye).slice(0,7)==="Symbol("&&(ye="["+String(ye).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ae(ee,"name")||ne&&ee.name!==ye)&&le(ee,"name",ye),be=y(ee),be.source||(be.source=a.join(typeof ye=="string"?ye:""))),x===ue){ge?x[b]=ee:re(b,ee);return}else de?!ve&&x[b]&&(ge=!0):delete x[b];ge?x[b]=ee:le(x,b,ee)})(Function.prototype,"toString",function(){return oe(this)&&z(this).source||se(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-call"),ae=E("../internals/an-object"),le=E("../internals/is-callable"),re=E("../internals/classof-raw"),se=E("../internals/regexp-exec"),ie=ue.TypeError;we.exports=function(ne,z){var y=ne.exec;if(le(y)){var a=oe(y,ne,z);return a!==null&&ae(a),a}if(re(ne)==="RegExp")return oe(se,ne,z);throw ie("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,we,fe){"use strict";var ue=E("../internals/function-call"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/to-string"),le=E("../internals/regexp-flags"),re=E("../internals/regexp-sticky-helpers"),se=E("../internals/shared"),ie=E("../internals/object-create"),ne=E("../internals/internal-state").get,z=E("../internals/regexp-unsupported-dot-all"),y=E("../internals/regexp-unsupported-ncg"),a=se("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,ee=oe("".charAt),te=oe("".indexOf),de=oe("".replace),ge=oe("".slice),ve=function(){var Se=/a/,Pe=/b*/g;return ue(x,Se,"a"),ue(x,Pe,"a"),Se.lastIndex!==0||Pe.lastIndex!==0}(),ye=re.BROKEN_CARET,be=/()??/.exec("")[1]!==void 0,Ce=ve||be||ye||z||y;Ce&&(b=function(Pe){var Be=this,Ue=ne(Be),Ee=ae(Pe),He=Ue.raw,Oe,ke,Xe,$e,ze,at,et;if(He)return He.lastIndex=Be.lastIndex,Oe=ue(b,He,Ee),Be.lastIndex=He.lastIndex,Oe;var it=Ue.groups,At=ye&&Be.sticky,ot=ue(le,Be),rt=Be.source,lt=0,gt=Ee;if(At&&(ot=de(ot,"y",""),te(ot,"g")===-1&&(ot+="g"),gt=ge(Ee,Be.lastIndex),Be.lastIndex>0&&(!Be.multiline||Be.multiline&&ee(Ee,Be.lastIndex-1)!==` `)&&(rt="(?: "+rt+")",gt=" "+gt,lt++),ke=new RegExp("^(?:"+rt+")",ot)),be&&(ke=new RegExp("^"+rt+"$(?!\\s)",ot)),ve&&(Xe=Be.lastIndex),$e=ue(x,At?ke:Be,gt),At?$e?($e.input=ge($e.input,lt),$e[0]=ge($e[0],lt),$e.index=Be.lastIndex,Be.lastIndex+=$e[0].length):Be.lastIndex=0:ve&&$e&&(Be.lastIndex=Be.global?$e.index+$e[0].length:Xe),be&&$e&&$e.length>1&&ue(a,$e[0],ke,function(){for(ze=1;zeb)","g");return le.exec("b").groups.a!=="b"||"b".replace(le,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,we,fe){var ue=E("../internals/global"),oe=ue.TypeError;we.exports=function(ae){if(ae==null)throw oe("Can't call method on "+ae);return ae}},{"../internals/global":163}],231:[function(E,we,fe){we.exports=Object.is||function(oe,ae){return oe===ae?oe!==0||1/oe===1/ae:oe!=oe&&ae!=ae}},{}],232:[function(E,we,fe){var ue=E("../internals/global"),oe=Object.defineProperty;we.exports=function(ae,le){try{oe(ue,ae,{value:le,configurable:!0,writable:!0})}catch(re){ue[ae]=le}return le}},{"../internals/global":163}],233:[function(E,we,fe){"use strict";var ue=E("../internals/get-built-in"),oe=E("../internals/object-define-property"),ae=E("../internals/well-known-symbol"),le=E("../internals/descriptors"),re=ae("species");we.exports=function(se){var ie=ue(se),ne=oe.f;le&&ie&&!ie[re]&&ne(ie,re,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,we,fe){var ue=E("../internals/object-define-property").f,oe=E("../internals/has-own-property"),ae=E("../internals/well-known-symbol"),le=ae("toStringTag");we.exports=function(re,se,ie){re&&!ie&&(re=re.prototype),re&&!oe(re,le)&&ue(re,le,{configurable:!0,value:se})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,we,fe){var ue=E("../internals/shared"),oe=E("../internals/uid"),ae=ue("keys");we.exports=function(le){return ae[le]||(ae[le]=oe(le))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/set-global"),ae="__core-js_shared__",le=ue[ae]||oe(ae,{});we.exports=le},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,we,fe){var ue=E("../internals/is-pure"),oe=E("../internals/shared-store");(we.exports=function(ae,le){return oe[ae]||(oe[ae]=le!==void 0?le:{})})("versions",[]).push({version:"3.22.1",mode:ue?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,we,fe){var ue=E("../internals/an-object"),oe=E("../internals/a-constructor"),ae=E("../internals/well-known-symbol"),le=ae("species");we.exports=function(re,se){var ie=ue(re).constructor,ne;return ie===void 0||(ne=ue(ie)[le])==null?se:oe(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/to-integer-or-infinity"),ae=E("../internals/to-string"),le=E("../internals/require-object-coercible"),re=ue("".charAt),se=ue("".charCodeAt),ie=ue("".slice),ne=function(z){return function(y,a){var x=ae(le(y)),b=oe(a),ee=x.length,te,de;return b<0||b>=ee?z?"":void 0:(te=se(x,b),te<55296||te>56319||b+1===ee||(de=se(x,b+1))<56320||de>57343?z?re(x,b):te:z?ie(x,b,b+2):(te-55296<<10)+(de-56320)+65536)}};we.exports={codeAt:ne(!1),charAt:ne(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,we,fe){var ue=E("../internals/function-name").PROPER,oe=E("../internals/fails"),ae=E("../internals/whitespaces"),le="\u200B\x85\u180E";we.exports=function(re){return oe(function(){return!!ae[re]()||le[re]()!==le||ue&&ae[re].name!==re})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=E("../internals/require-object-coercible"),ae=E("../internals/to-string"),le=E("../internals/whitespaces"),re=ue("".replace),se="["+le+"]",ie=RegExp("^"+se+se+"*"),ne=RegExp(se+se+"*$"),z=function(y){return function(a){var x=ae(oe(a));return y&1&&(x=re(x,ie,"")),y&2&&(x=re(x,ne,"")),x}};we.exports={start:z(1),end:z(2),trim:z(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,we,fe){var ue=E("../internals/function-call"),oe=E("../internals/get-built-in"),ae=E("../internals/well-known-symbol"),le=E("../internals/redefine");we.exports=function(){var re=oe("Symbol"),se=re&&re.prototype,ie=se&&se.valueOf,ne=ae("toPrimitive");se&&!se[ne]&&le(se,ne,function(z){return ue(ie,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-apply"),ae=E("../internals/function-bind-context"),le=E("../internals/is-callable"),re=E("../internals/has-own-property"),se=E("../internals/fails"),ie=E("../internals/html"),ne=E("../internals/array-slice"),z=E("../internals/document-create-element"),y=E("../internals/validate-arguments-length"),a=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=ue.setImmediate,ee=ue.clearImmediate,te=ue.process,de=ue.Dispatch,ge=ue.Function,ve=ue.MessageChannel,ye=ue.String,be=0,Ce={},Se="onreadystatechange",Pe,Be,Ue,Ee;try{Pe=ue.location}catch($e){}var He=function($e){if(re(Ce,$e)){var ze=Ce[$e];delete Ce[$e],ze()}},Oe=function($e){return function(){He($e)}},ke=function($e){He($e.data)},Xe=function($e){ue.postMessage(ye($e),Pe.protocol+"//"+Pe.host)};(!b||!ee)&&(b=function(ze){y(arguments.length,1);var at=le(ze)?ze:ge(ze),et=ne(arguments,1);return Ce[++be]=function(){oe(at,void 0,et)},Be(be),be},ee=function(ze){delete Ce[ze]},x?Be=function($e){te.nextTick(Oe($e))}:de&&de.now?Be=function($e){de.now(Oe($e))}:ve&&!a?(Ue=new ve,Ee=Ue.port2,Ue.port1.onmessage=ke,Be=ae(Ee.postMessage,Ee)):ue.addEventListener&&le(ue.postMessage)&&!ue.importScripts&&Pe&&Pe.protocol!=="file:"&&!se(Xe)?(Be=Xe,ue.addEventListener("message",ke,!1)):Se in z("script")?Be=function($e){ie.appendChild(z("script"))[Se]=function(){ie.removeChild(this),He($e)}}:Be=function($e){setTimeout(Oe($e),0)}),we.exports={set:b,clear:ee}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,we,fe){var ue=E("../internals/function-uncurry-this");we.exports=ue(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,we,fe){var ue=E("../internals/to-integer-or-infinity"),oe=Math.max,ae=Math.min;we.exports=function(le,re){var se=ue(le);return se<0?oe(se+re,0):ae(se,re)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/to-integer-or-infinity"),ae=E("../internals/to-length"),le=ue.RangeError;we.exports=function(re){if(re===void 0)return 0;var se=oe(re),ie=ae(se);if(se!==ie)throw le("Wrong length or index");return ie}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,we,fe){var ue=E("../internals/indexed-object"),oe=E("../internals/require-object-coercible");we.exports=function(ae){return ue(oe(ae))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,we,fe){var ue=Math.ceil,oe=Math.floor;we.exports=function(ae){var le=+ae;return le!==le||le===0?0:(le>0?oe:ue)(le)}},{}],249:[function(E,we,fe){var ue=E("../internals/to-integer-or-infinity"),oe=Math.min;we.exports=function(ae){return ae>0?oe(ue(ae),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/require-object-coercible"),ae=ue.Object;we.exports=function(le){return ae(oe(le))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/to-positive-integer"),ae=ue.RangeError;we.exports=function(le,re){var se=oe(le);if(se%re)throw ae("Wrong offset");return se}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/to-integer-or-infinity"),ae=ue.RangeError;we.exports=function(le){var re=oe(le);if(re<0)throw ae("The argument can't be less than 0");return re}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/function-call"),ae=E("../internals/is-object"),le=E("../internals/is-symbol"),re=E("../internals/get-method"),se=E("../internals/ordinary-to-primitive"),ie=E("../internals/well-known-symbol"),ne=ue.TypeError,z=ie("toPrimitive");we.exports=function(y,a){if(!ae(y)||le(y))return y;var x=re(y,z),b;if(x){if(a===void 0&&(a="default"),b=oe(x,y,a),!ae(b)||le(b))return b;throw ne("Can't convert object to primitive value")}return a===void 0&&(a="number"),se(y,a)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,we,fe){var ue=E("../internals/to-primitive"),oe=E("../internals/is-symbol");we.exports=function(ae){var le=ue(ae,"string");return oe(le)?le:le+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,we,fe){var ue=E("../internals/well-known-symbol"),oe=ue("toStringTag"),ae={};ae[oe]="z",we.exports=String(ae)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/classof"),ae=ue.String;we.exports=function(le){if(oe(le)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ae(le)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,we,fe){var ue=E("../internals/global"),oe=ue.String;we.exports=function(ae){try{return oe(ae)}catch(le){return"Object"}}},{"../internals/global":163}],258:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/global"),ae=E("../internals/function-call"),le=E("../internals/descriptors"),re=E("../internals/typed-array-constructors-require-wrappers"),se=E("../internals/array-buffer-view-core"),ie=E("../internals/array-buffer"),ne=E("../internals/an-instance"),z=E("../internals/create-property-descriptor"),y=E("../internals/create-non-enumerable-property"),a=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),ee=E("../internals/to-offset"),te=E("../internals/to-property-key"),de=E("../internals/has-own-property"),ge=E("../internals/classof"),ve=E("../internals/is-object"),ye=E("../internals/is-symbol"),be=E("../internals/object-create"),Ce=E("../internals/object-is-prototype-of"),Se=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,Be=E("../internals/typed-array-from"),Ue=E("../internals/array-iteration").forEach,Ee=E("../internals/set-species"),He=E("../internals/object-define-property"),Oe=E("../internals/object-get-own-property-descriptor"),ke=E("../internals/internal-state"),Xe=E("../internals/inherit-if-required"),$e=ke.get,ze=ke.set,at=He.f,et=Oe.f,it=Math.round,At=oe.RangeError,ot=ie.ArrayBuffer,rt=ot.prototype,lt=ie.DataView,gt=se.NATIVE_ARRAY_BUFFER_VIEWS,yt=se.TYPED_ARRAY_CONSTRUCTOR,Tt=se.TYPED_ARRAY_TAG,vt=se.TypedArray,ut=se.TypedArrayPrototype,qe=se.aTypedArrayConstructor,je=se.isTypedArray,Ve="BYTES_PER_ELEMENT",Ie="Wrong length",_e=function(Ge,dt){qe(Ge);for(var mt=0,st=dt.length,Et=new Ge(st);st>mt;)Et[mt]=dt[mt++];return Et},Fe=function(Ge,dt){at(Ge,dt,{get:function(){return $e(this)[dt]}})},De=function(Ge){var dt;return Ce(rt,Ge)||(dt=ge(Ge))=="ArrayBuffer"||dt=="SharedArrayBuffer"},Te=function(Ge,dt){return je(Ge)&&!ye(dt)&&dt in Ge&&a(+dt)&&dt>=0},Ne=function(dt,mt){return mt=te(mt),Te(dt,mt)?z(2,dt[mt]):et(dt,mt)},Le=function(dt,mt,st){return mt=te(mt),Te(dt,mt)&&ve(st)&&de(st,"value")&&!de(st,"get")&&!de(st,"set")&&!st.configurable&&(!de(st,"writable")||st.writable)&&(!de(st,"enumerable")||st.enumerable)?(dt[mt]=st.value,dt):at(dt,mt,st)};le?(gt||(Oe.f=Ne,He.f=Le,Fe(ut,"buffer"),Fe(ut,"byteOffset"),Fe(ut,"byteLength"),Fe(ut,"length")),ue({target:"Object",stat:!0,forced:!gt},{getOwnPropertyDescriptor:Ne,defineProperty:Le}),we.exports=function(Ge,dt,mt){var st=Ge.match(/\d+$/)[0]/8,Et=Ge+(mt?"Clamped":"")+"Array",Bt="get"+Ge,wt="set"+Ge,Lt=oe[Et],Ft=Lt,Nt=Ft&&Ft.prototype,bt={},Dt=function(qt,mn){var $t=$e(qt);return $t.view[Bt](mn*st+$t.byteOffset,!0)},Rt=function(qt,mn,$t){var rn=$e(qt);mt&&($t=($t=it($t))<0?0:$t>255?255:$t&255),rn.view[wt](mn*st+rn.byteOffset,$t,!0)},Ut=function(qt,mn){at(qt,mn,{get:function(){return Dt(this,mn)},set:function($t){return Rt(this,mn,$t)},enumerable:!0})};gt?re&&(Ft=dt(function(qt,mn,$t,rn){return ne(qt,Nt),Xe(function(){return ve(mn)?De(mn)?rn!==void 0?new Lt(mn,ee($t,st),rn):$t!==void 0?new Lt(mn,ee($t,st)):new Lt(mn):je(mn)?_e(Ft,mn):ae(Be,Ft,mn):new Lt(b(mn))}(),qt,Ft)}),Se&&Se(Ft,vt),Ue(Pe(Lt),function(qt){qt in Ft||y(Ft,qt,Lt[qt])}),Ft.prototype=Nt):(Ft=dt(function(qt,mn,$t,rn){ne(qt,Nt);var nn=0,xn=0,In,Un,ir;if(!ve(mn))ir=b(mn),Un=ir*st,In=new ot(Un);else if(De(mn)){In=mn,xn=ee($t,st);var yr=mn.byteLength;if(rn===void 0){if(yr%st||(Un=yr-xn,Un<0))throw At(Ie)}else if(Un=x(rn)*st,Un+xn>yr)throw At(Ie);ir=Un/st}else return je(mn)?_e(Ft,mn):ae(Be,Ft,mn);for(ze(qt,{buffer:In,byteOffset:xn,byteLength:Un,length:ir,view:new lt(In)});nn1?arguments[1]:void 0,de=te!==void 0,ge=ie(b),ve,ye,be,Ce,Se,Pe;if(ge&&!ne(ge))for(Se=se(b,ge),Pe=Se.next,b=[];!(Ce=oe(Pe,Se)).done;)b.push(Ce.value);for(de&&ee>2&&(te=ue(te,arguments[2])),ye=re(b),be=new(z(x))(ye),ve=0;ye>ve;ve++)be[ve]=de?te(b[ve],ve):b[ve];return be}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,we,fe){var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/species-constructor"),ae=ue.TYPED_ARRAY_CONSTRUCTOR,le=ue.aTypedArrayConstructor;we.exports=function(re){return le(oe(re,re[ae]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,we,fe){var ue=E("../internals/function-uncurry-this"),oe=0,ae=Math.random(),le=ue(1 .toString);we.exports=function(re){return"Symbol("+(re===void 0?"":re)+")_"+le(++oe+ae,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,we,fe){var ue=E("../internals/native-symbol");we.exports=ue&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,we,fe){var ue=E("../internals/descriptors"),oe=E("../internals/fails");we.exports=ue&&oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,we,fe){var ue=E("../internals/global"),oe=ue.TypeError;we.exports=function(ae,le){if(ae=51||!ae(function(){var Ce=[];return Ce[b]=!1,Ce.concat()[0]!==Ce}),ve=y("concat"),ye=function(Ce){if(!re(Ce))return!1;var Se=Ce[b];return Se!==void 0?!!Se:le(Ce)},be=!ge||!ve;ue({target:"Array",proto:!0,forced:be},{concat:function(Se){var Pe=se(this),Be=z(Pe,0),Ue=0,Ee,He,Oe,ke,Xe;for(Ee=-1,Oe=arguments.length;Eeee)throw de(te);for(He=0;He=ee)throw de(te);ne(Be,Ue++,Xe)}return Be.length=Ue,Be}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,we,fe){var ue=E("../internals/export"),oe=E("../internals/array-fill"),ae=E("../internals/add-to-unscopables");ue({target:"Array",proto:!0},{fill:oe}),ae("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/array-iteration").filter,ae=E("../internals/array-method-has-species-support"),le=ae("filter");ue({target:"Array",proto:!0,forced:!le},{filter:function(se){return oe(this,se,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/array-iteration").find,ae=E("../internals/add-to-unscopables"),le="find",re=!0;le in[]&&Array(1)[le](function(){re=!1}),ue({target:"Array",proto:!0,forced:re},{find:function(ie){return oe(this,ie,arguments.length>1?arguments[1]:void 0)}}),ae(le)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,we,fe){var ue=E("../internals/export"),oe=E("../internals/array-from"),ae=E("../internals/check-correctness-of-iteration"),le=!ae(function(re){Array.from(re)});ue({target:"Array",stat:!0,forced:le},{from:oe})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/array-includes").includes,ae=E("../internals/add-to-unscopables");ue({target:"Array",proto:!0},{includes:function(re){return oe(this,re,arguments.length>1?arguments[1]:void 0)}}),ae("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,we,fe){"use strict";var ue=E("../internals/to-indexed-object"),oe=E("../internals/add-to-unscopables"),ae=E("../internals/iterators"),le=E("../internals/internal-state"),re=E("../internals/object-define-property").f,se=E("../internals/define-iterator"),ie=E("../internals/is-pure"),ne=E("../internals/descriptors"),z="Array Iterator",y=le.set,a=le.getterFor(z);we.exports=se(Array,"Array",function(b,ee){y(this,{type:z,target:ue(b),index:0,kind:ee})},function(){var b=a(this),ee=b.target,te=b.kind,de=b.index++;return!ee||de>=ee.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:de,done:!1}:te=="values"?{value:ee[de],done:!1}:{value:[de,ee[de]],done:!1}},"values");var x=ae.Arguments=ae.Array;if(oe("keys"),oe("values"),oe("entries"),!ie&&ne&&x.name!=="values")try{re(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/indexed-object"),le=E("../internals/to-indexed-object"),re=E("../internals/array-method-is-strict"),se=oe([].join),ie=ae!=Object,ne=re("join",",");ue({target:"Array",proto:!0,forced:ie||!ne},{join:function(y){return se(le(this),y===void 0?",":y)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/array-iteration").map,ae=E("../internals/array-method-has-species-support"),le=ae("map");ue({target:"Array",proto:!0,forced:!le},{map:function(se){return oe(this,se,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/global"),ae=E("../internals/is-array"),le=E("../internals/is-constructor"),re=E("../internals/is-object"),se=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),ne=E("../internals/to-indexed-object"),z=E("../internals/create-property"),y=E("../internals/well-known-symbol"),a=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=a("slice"),ee=y("species"),te=oe.Array,de=Math.max;ue({target:"Array",proto:!0,forced:!b},{slice:function(ve,ye){var be=ne(this),Ce=ie(be),Se=se(ve,Ce),Pe=se(ye===void 0?Ce:ye,Ce),Be,Ue,Ee;if(ae(be)&&(Be=be.constructor,le(Be)&&(Be===te||ae(Be.prototype))?Be=void 0:re(Be)&&(Be=Be[ee],Be===null&&(Be=void 0)),Be===te||Be===void 0))return x(be,Se,Pe);for(Ue=new(Be===void 0?te:Be)(de(Pe-Se,0)),Ee=0;Se3)){if(a)return!0;if(b)return b<603;var Pe="",Be,Ue,Ee,He;for(Be=65;Be<76;Be++){switch(Ue=String.fromCharCode(Be),Be){case 66:case 69:case 70:case 72:Ee=3;break;case 68:case 71:Ee=4;break;default:Ee=2}for(He=0;He<47;He++)ee.push({k:Ue+He,v:Ee})}for(ee.sort(function(Oe,ke){return ke.v-Oe.v}),He=0;Hese(Ue)?1:-1}};ue({target:"Array",proto:!0,forced:Ce},{sort:function(Be){Be!==void 0&&ae(Be);var Ue=le(this);if(be)return Be===void 0?te(Ue):te(Ue,Be);var Ee=[],He=re(Ue),Oe,ke;for(ke=0;keee)throw a(te);for(Ue=ie(ye,Be),Ee=0;Eebe-Be+Pe;Ee--)delete ye[Ee-1]}else if(Pe>Be)for(Ee=be-Be;Ee>Ce;Ee--)He=Ee+Be-1,Oe=Ee+Pe-1,He in ye?ye[Oe]=ye[He]:delete ye[Oe];for(Ee=0;Ee2){if(Xe=de(Xe),$e=Se(Xe,0),$e===43||$e===45){if(ze=Se(Xe,2),ze===88||ze===120)return NaN}else if($e===48){switch(Se(Xe,1)){case 66:case 98:at=2,et=49;break;case 79:case 111:at=8,et=55;break;default:return+Xe}for(it=Ce(Xe,2),At=it.length,ot=0;otet)return NaN;return parseInt(it,at)}}return+Xe};if(le(ge,!ve(" 0o1")||!ve("0b1")||ve("+0x1"))){for(var Ue=function(Xe){var $e=arguments.length<1?0:ve(Pe(Xe)),ze=this;return ne(ye,ze)&&a(function(){te(ze)})?ie(Object($e),ze,Ue):$e},Ee=ue?x(ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),He=0,Oe;Ee.length>He;He++)se(ve,Oe=Ee[He])&&!se(Ue,Oe)&&ee(Ue,Oe,b(ve,Oe));Ue.prototype=ye,ye.constructor=Ue,re(oe,ge,Ue)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,we,fe){var ue=E("../internals/export"),oe=E("../internals/object-assign");ue({target:"Object",stat:!0,forced:Object.assign!==oe},{assign:oe})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,we,fe){var ue=E("../internals/export"),oe=E("../internals/object-to-array").entries;ue({target:"Object",stat:!0},{entries:function(le){return oe(le)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,we,fe){var ue=E("../internals/export"),oe=E("../internals/native-symbol"),ae=E("../internals/fails"),le=E("../internals/object-get-own-property-symbols"),re=E("../internals/to-object"),se=!oe||ae(function(){le.f(1)});ue({target:"Object",stat:!0,forced:se},{getOwnPropertySymbols:function(ne){var z=le.f;return z?z(re(ne)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,we,fe){var ue=E("../internals/export"),oe=E("../internals/to-object"),ae=E("../internals/object-keys"),le=E("../internals/fails"),re=le(function(){ae(1)});ue({target:"Object",stat:!0,forced:re},{keys:function(ie){return ae(oe(ie))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,we,fe){var ue=E("../internals/to-string-tag-support"),oe=E("../internals/redefine"),ae=E("../internals/object-to-string");ue||oe(Object.prototype,"toString",ae,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/function-call"),ae=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),re=E("../internals/perform"),se=E("../internals/iterate"),ie=E("../internals/promise-statics-incorrect-iteration");ue({target:"Promise",stat:!0,forced:ie},{all:function(z){var y=this,a=le.f(y),x=a.resolve,b=a.reject,ee=re(function(){var te=ae(y.resolve),de=[],ge=0,ve=1;se(z,function(ye){var be=ge++,Ce=!1;ve++,oe(te,y,ye).then(function(Se){Ce||(Ce=!0,de[be]=Se,--ve||x(de))},b)}),--ve||x(de)});return ee.error&&b(ee.value),a.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/is-pure"),ae=E("../internals/promise-constructor-detection").CONSTRUCTOR,le=E("../internals/promise-native-constructor"),re=E("../internals/get-built-in"),se=E("../internals/is-callable"),ie=E("../internals/redefine"),ne=le&&le.prototype;if(ue({target:"Promise",proto:!0,forced:ae,real:!0},{catch:function(y){return this.then(void 0,y)}}),!oe&&se(le)){var z=re("Promise").prototype.catch;ne.catch!==z&&ie(ne,"catch",z,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/is-pure"),ae=E("../internals/engine-is-node"),le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/redefine"),ie=E("../internals/redefine-all"),ne=E("../internals/object-set-prototype-of"),z=E("../internals/set-to-string-tag"),y=E("../internals/set-species"),a=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),ee=E("../internals/an-instance"),te=E("../internals/species-constructor"),de=E("../internals/task").set,ge=E("../internals/microtask"),ve=E("../internals/host-report-errors"),ye=E("../internals/perform"),be=E("../internals/queue"),Ce=E("../internals/internal-state"),Se=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),Be=E("../internals/new-promise-capability"),Ue="Promise",Ee=Pe.CONSTRUCTOR,He=Pe.REJECTION_EVENT,Oe=Pe.SUBCLASSING,ke=Ce.getterFor(Ue),Xe=Ce.set,$e=Se&&Se.prototype,ze=Se,at=$e,et=le.TypeError,it=le.document,At=le.process,ot=Be.f,rt=ot,lt=!!(it&&it.createEvent&&le.dispatchEvent),gt="unhandledrejection",yt="rejectionhandled",Tt=0,vt=1,ut=2,qe=1,je=2,Ve,Ie,_e,Fe,De=function(wt){var Lt;return b(wt)&&x(Lt=wt.then)?Lt:!1},Te=function(wt,Lt){var Ft=Lt.value,Nt=Lt.state==vt,bt=Nt?wt.ok:wt.fail,Dt=wt.resolve,Rt=wt.reject,Ut=wt.domain,qt,mn,$t;try{bt?(Nt||(Lt.rejection===je&&mt(Lt),Lt.rejection=qe),bt===!0?qt=Ft:(Ut&&Ut.enter(),qt=bt(Ft),Ut&&(Ut.exit(),$t=!0)),qt===wt.promise?Rt(et("Promise-chain cycle")):(mn=De(qt))?re(mn,qt,Dt,Rt):Dt(qt)):Rt(Ft)}catch(rn){Ut&&!$t&&Ut.exit(),Rt(rn)}},Ne=function(wt,Lt){wt.notified||(wt.notified=!0,ge(function(){for(var Ft=wt.reactions,Nt;Nt=Ft.get();)Te(Nt,wt);wt.notified=!1,Lt&&!wt.rejection&&Ge(wt)}))},Le=function(wt,Lt,Ft){var Nt,bt;lt?(Nt=it.createEvent("Event"),Nt.promise=Lt,Nt.reason=Ft,Nt.initEvent(wt,!1,!0),le.dispatchEvent(Nt)):Nt={promise:Lt,reason:Ft},!He&&(bt=le["on"+wt])?bt(Nt):wt===gt&&ve("Unhandled promise rejection",Ft)},Ge=function(wt){re(de,le,function(){var Lt=wt.facade,Ft=wt.value,Nt=dt(wt),bt;if(Nt&&(bt=ye(function(){ae?At.emit("unhandledRejection",Ft,Lt):Le(gt,Lt,Ft)}),wt.rejection=ae||dt(wt)?je:qe,bt.error))throw bt.value})},dt=function(wt){return wt.rejection!==qe&&!wt.parent},mt=function(wt){re(de,le,function(){var Lt=wt.facade;ae?At.emit("rejectionHandled",Lt):Le(yt,Lt,wt.value)})},st=function(wt,Lt,Ft){return function(Nt){wt(Lt,Nt,Ft)}},Et=function(wt,Lt,Ft){wt.done||(wt.done=!0,Ft&&(wt=Ft),wt.value=Lt,wt.state=ut,Ne(wt,!0))},Bt=function(wt,Lt,Ft){if(!wt.done){wt.done=!0,Ft&&(wt=Ft);try{if(wt.facade===Lt)throw et("Promise can't be resolved itself");var Nt=De(Lt);Nt?ge(function(){var bt={done:!1};try{re(Nt,Lt,st(Bt,bt,wt),st(Et,bt,wt))}catch(Dt){Et(bt,Dt,wt)}}):(wt.value=Lt,wt.state=vt,Ne(wt,!1))}catch(bt){Et({done:!1},bt,wt)}}};if(Ee&&(ze=function(Lt){ee(this,at),a(Lt),re(Ve,this);var Ft=ke(this);try{Lt(st(Bt,Ft),st(Et,Ft))}catch(Nt){Et(Ft,Nt)}},at=ze.prototype,Ve=function(Lt){Xe(this,{type:Ue,done:!1,notified:!1,parent:!1,reactions:new be,rejection:!1,state:Tt,value:void 0})},Ve.prototype=ie(at,{then:function(Lt,Ft){var Nt=ke(this),bt=ot(te(this,ze));return Nt.parent=!0,bt.ok=x(Lt)?Lt:!0,bt.fail=x(Ft)&&Ft,bt.domain=ae?At.domain:void 0,Nt.state==Tt?Nt.reactions.add(bt):ge(function(){Te(bt,Nt)}),bt.promise}}),Ie=function(){var wt=new Ve,Lt=ke(wt);this.promise=wt,this.resolve=st(Bt,Lt),this.reject=st(Et,Lt)},Be.f=ot=function(wt){return wt===ze||wt===_e?new Ie(wt):rt(wt)},!oe&&x(Se)&&$e!==Object.prototype)){Fe=$e.then,Oe||se($e,"then",function(Lt,Ft){var Nt=this;return new ze(function(bt,Dt){re(Fe,Nt,bt,Dt)}).then(Lt,Ft)},{unsafe:!0});try{delete $e.constructor}catch(wt){}ne&&ne($e,at)}ue({global:!0,wrap:!0,forced:Ee},{Promise:ze}),z(ze,Ue,!1,!0),y(Ue)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,we,fe){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/function-call"),ae=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),re=E("../internals/perform"),se=E("../internals/iterate"),ie=E("../internals/promise-statics-incorrect-iteration");ue({target:"Promise",stat:!0,forced:ie},{race:function(z){var y=this,a=le.f(y),x=a.reject,b=re(function(){var ee=ae(y.resolve);se(z,function(te){oe(ee,y,te).then(a.resolve,x)})});return b.error&&x(b.value),a.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/function-call"),ae=E("../internals/new-promise-capability"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR;ue({target:"Promise",stat:!0,forced:le},{reject:function(se){var ie=ae.f(this);return oe(ie.reject,void 0,se),ie.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/get-built-in"),ae=E("../internals/is-pure"),le=E("../internals/promise-native-constructor"),re=E("../internals/promise-constructor-detection").CONSTRUCTOR,se=E("../internals/promise-resolve"),ie=oe("Promise"),ne=ae&&!re;ue({target:"Promise",stat:!0,forced:ae||re},{resolve:function(y){return se(ne&&this===ie?le:this,y)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,we,fe){var ue=E("../internals/descriptors"),oe=E("../internals/global"),ae=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),re=E("../internals/inherit-if-required"),se=E("../internals/create-non-enumerable-property"),ie=E("../internals/object-get-own-property-names").f,ne=E("../internals/object-is-prototype-of"),z=E("../internals/is-regexp"),y=E("../internals/to-string"),a=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),ee=E("../internals/redefine"),te=E("../internals/fails"),de=E("../internals/has-own-property"),ge=E("../internals/internal-state").enforce,ve=E("../internals/set-species"),ye=E("../internals/well-known-symbol"),be=E("../internals/regexp-unsupported-dot-all"),Ce=E("../internals/regexp-unsupported-ncg"),Se=ye("match"),Pe=oe.RegExp,Be=Pe.prototype,Ue=oe.SyntaxError,Ee=ae(Be.exec),He=ae("".charAt),Oe=ae("".replace),ke=ae("".indexOf),Xe=ae("".slice),$e=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ze=/a/g,at=/a/g,et=new Pe(ze)!==ze,it=x.MISSED_STICKY,At=x.UNSUPPORTED_Y,ot=ue&&(!et||it||be||Ce||te(function(){return at[Se]=!1,Pe(ze)!=ze||Pe(at)==at||Pe(ze,"i")!="/a/i"})),rt=function(vt){for(var ut=vt.length,qe=0,je="",Ve=!1,Ie;qe<=ut;qe++){if(Ie=He(vt,qe),Ie==="\\"){je+=Ie+He(vt,++qe);continue}!Ve&&Ie==="."?je+="[\\s\\S]":(Ie==="["?Ve=!0:Ie==="]"&&(Ve=!1),je+=Ie)}return je},lt=function(vt){for(var ut=vt.length,qe=0,je="",Ve=[],Ie={},_e=!1,Fe=!1,De=0,Te="",Ne;qe<=ut;qe++){if(Ne=He(vt,qe),Ne==="\\")Ne=Ne+He(vt,++qe);else if(Ne==="]")_e=!1;else if(!_e)switch(!0){case Ne==="[":_e=!0;break;case Ne==="(":Ee($e,Xe(vt,qe+1))&&(qe+=2,Fe=!0),je+=Ne,De++;continue;case(Ne===">"&&Fe):if(Te===""||de(Ie,Te))throw new Ue("Invalid capture group name");Ie[Te]=!0,Ve[Ve.length]=[Te,De],Fe=!1,Te="";continue}Fe?Te+=Ne:je+=Ne}return[je,Ve]};if(le("RegExp",ot)){for(var gt=function(ut,qe){var je=ne(Be,this),Ve=z(ut),Ie=qe===void 0,_e=[],Fe=ut,De,Te,Ne,Le,Ge,dt;if(!je&&Ve&&Ie&&ut.constructor===gt)return ut;if((Ve||ne(Be,ut))&&(ut=ut.source,Ie&&(qe=a(Fe))),ut=ut===void 0?"":y(ut),qe=qe===void 0?"":y(qe),Fe=ut,be&&"dotAll"in ze&&(Te=!!qe&&ke(qe,"s")>-1,Te&&(qe=Oe(qe,/s/g,""))),De=qe,it&&"sticky"in ze&&(Ne=!!qe&&ke(qe,"y")>-1,Ne&&At&&(qe=Oe(qe,/y/g,""))),Ce&&(Le=lt(ut),ut=Le[0],_e=Le[1]),Ge=re(Pe(ut,qe),je?this:Be,gt),(Te||Ne||_e.length)&&(dt=ge(Ge),Te&&(dt.dotAll=!0,dt.raw=gt(rt(ut),De)),Ne&&(dt.sticky=!0),_e.length&&(dt.groups=_e)),ut!==Fe)try{se(Ge,"source",Fe===""?"(?:)":Fe)}catch(mt){}return Ge},yt=ie(Pe),Tt=0;yt.length>Tt;)b(gt,Pe,yt[Tt++]);Be.constructor=gt,gt.prototype=Be,ee(oe,"RegExp",gt)}ve("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/regexp-exec");ue({target:"RegExp",proto:!0,forced:/./.exec!==oe},{exec:oe})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,we,fe){"use strict";var ue=E("../internals/function-name").PROPER,oe=E("../internals/redefine"),ae=E("../internals/an-object"),le=E("../internals/to-string"),re=E("../internals/fails"),se=E("../internals/regexp-get-flags"),ie="toString",ne=RegExp.prototype,z=ne[ie],y=re(function(){return z.call({source:"a",flags:"b"})!="/a/b"}),a=ue&&z.name!=ie;(y||a)&&oe(RegExp.prototype,ie,function(){var b=ae(this),ee=le(b.source),te=le(se(b));return"/"+ee+"/"+te},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,we,fe){"use strict";var ue=E("../internals/export"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/not-a-regexp"),le=E("../internals/require-object-coercible"),re=E("../internals/to-string"),se=E("../internals/correct-is-regexp-logic"),ie=oe("".indexOf);ue({target:"String",proto:!0,forced:!se("includes")},{includes:function(z){return!!~ie(re(le(this)),re(ae(z)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,we,fe){"use strict";var ue=E("../internals/string-multibyte").charAt,oe=E("../internals/to-string"),ae=E("../internals/internal-state"),le=E("../internals/define-iterator"),re="String Iterator",se=ae.set,ie=ae.getterFor(re);le(String,"String",function(ne){se(this,{type:re,string:oe(ne),index:0})},function(){var z=ie(this),y=z.string,a=z.index,x;return a>=y.length?{value:void 0,done:!0}:(x=ue(y,a),z.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,we,fe){"use strict";var ue=E("../internals/function-call"),oe=E("../internals/fix-regexp-well-known-symbol-logic"),ae=E("../internals/an-object"),le=E("../internals/to-length"),re=E("../internals/to-string"),se=E("../internals/require-object-coercible"),ie=E("../internals/get-method"),ne=E("../internals/advance-string-index"),z=E("../internals/regexp-exec-abstract");oe("match",function(y,a,x){return[function(ee){var te=se(this),de=ee==null?void 0:ie(ee,y);return de?ue(de,ee,te):new RegExp(ee)[y](re(te))},function(b){var ee=ae(this),te=re(b),de=x(a,ee,te);if(de.done)return de.value;if(!ee.global)return z(ee,te);var ge=ee.unicode;ee.lastIndex=0;for(var ve=[],ye=0,be;(be=z(ee,te))!==null;){var Ce=re(be[0]);ve[ye]=Ce,Ce===""&&(ee.lastIndex=ne(te,le(ee.lastIndex),ge)),ye++}return ye===0?null:ve}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,we,fe){"use strict";var ue=E("../internals/function-apply"),oe=E("../internals/function-call"),ae=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),re=E("../internals/fails"),se=E("../internals/an-object"),ie=E("../internals/is-callable"),ne=E("../internals/to-integer-or-infinity"),z=E("../internals/to-length"),y=E("../internals/to-string"),a=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),ee=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),de=E("../internals/well-known-symbol"),ge=de("replace"),ve=Math.max,ye=Math.min,be=ae([].concat),Ce=ae([].push),Se=ae("".indexOf),Pe=ae("".slice),Be=function(Oe){return Oe===void 0?Oe:String(Oe)},Ue=function(){return"a".replace(/./,"$0")==="$0"}(),Ee=function(){return/./[ge]?/./[ge]("a","$0")==="":!1}(),He=!re(function(){var Oe=/./;return Oe.exec=function(){var ke=[];return ke.groups={a:"7"},ke},"".replace(Oe,"$")!=="7"});le("replace",function(Oe,ke,Xe){var $e=Ee?"$":"$0";return[function(at,et){var it=a(this),At=at==null?void 0:b(at,ge);return At?oe(At,at,it,et):oe(ke,y(it),at,et)},function(ze,at){var et=se(this),it=y(ze);if(typeof at=="string"&&Se(at,$e)===-1&&Se(at,"$<")===-1){var At=Xe(ke,et,it,at);if(At.done)return At.value}var ot=ie(at);ot||(at=y(at));var rt=et.global;if(rt){var lt=et.unicode;et.lastIndex=0}for(var gt=[];;){var yt=te(et,it);if(yt===null||(Ce(gt,yt),!rt))break;var Tt=y(yt[0]);Tt===""&&(et.lastIndex=x(it,z(et.lastIndex),lt))}for(var vt="",ut=0,qe=0;qe=ut&&(vt+=Pe(it,ut,Ve)+Te,ut=Ve+je.length)}return vt+Pe(it,ut)}]},!He||!Ue||Ee)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,we,fe){"use strict";var ue=E("../internals/function-call"),oe=E("../internals/fix-regexp-well-known-symbol-logic"),ae=E("../internals/an-object"),le=E("../internals/require-object-coercible"),re=E("../internals/same-value"),se=E("../internals/to-string"),ie=E("../internals/get-method"),ne=E("../internals/regexp-exec-abstract");oe("search",function(z,y,a){return[function(b){var ee=le(this),te=b==null?void 0:ie(b,z);return te?ue(te,b,ee):new RegExp(b)[z](se(ee))},function(x){var b=ae(this),ee=se(x),te=a(y,b,ee);if(te.done)return te.value;var de=b.lastIndex;re(de,0)||(b.lastIndex=0);var ge=ne(b,ee);return re(b.lastIndex,de)||(b.lastIndex=de),ge===null?-1:ge.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,we,fe){"use strict";var ue=E("../internals/function-apply"),oe=E("../internals/function-call"),ae=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),re=E("../internals/is-regexp"),se=E("../internals/an-object"),ie=E("../internals/require-object-coercible"),ne=E("../internals/species-constructor"),z=E("../internals/advance-string-index"),y=E("../internals/to-length"),a=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),ee=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),de=E("../internals/regexp-sticky-helpers"),ge=E("../internals/fails"),ve=de.UNSUPPORTED_Y,ye=4294967295,be=Math.min,Ce=[].push,Se=ae(/./.exec),Pe=ae(Ce),Be=ae("".slice),Ue=!ge(function(){var Ee=/(?:)/,He=Ee.exec;Ee.exec=function(){return He.apply(this,arguments)};var Oe="ab".split(Ee);return Oe.length!==2||Oe[0]!=="a"||Oe[1]!=="b"});le("split",function(Ee,He,Oe){var ke;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?ke=function(Xe,$e){var ze=a(ie(this)),at=$e===void 0?ye:$e>>>0;if(at===0)return[];if(Xe===void 0)return[ze];if(!re(Xe))return oe(He,ze,Xe,at);for(var et=[],it=(Xe.ignoreCase?"i":"")+(Xe.multiline?"m":"")+(Xe.unicode?"u":"")+(Xe.sticky?"y":""),At=0,ot=new RegExp(Xe.source,it+"g"),rt,lt,gt;(rt=oe(te,ot,ze))&&(lt=ot.lastIndex,!(lt>At&&(Pe(et,Be(ze,At,rt.index)),rt.length>1&&rt.index=at)));)ot.lastIndex===rt.index&&ot.lastIndex++;return At===ze.length?(gt||!Se(ot,""))&&Pe(et,""):Pe(et,Be(ze,At)),et.length>at?b(et,0,at):et}:"0".split(void 0,0).length?ke=function(Xe,$e){return Xe===void 0&&$e===0?[]:oe(He,this,Xe,$e)}:ke=He,[function($e,ze){var at=ie(this),et=$e==null?void 0:x($e,Ee);return et?oe(et,$e,at,ze):oe(ke,a(at),$e,ze)},function(Xe,$e){var ze=se(this),at=a(Xe),et=Oe(ke,ze,at,$e,ke!==He);if(et.done)return et.value;var it=ne(ze,RegExp),At=ze.unicode,ot=(ze.ignoreCase?"i":"")+(ze.multiline?"m":"")+(ze.unicode?"u":"")+(ve?"g":"y"),rt=new it(ve?"^(?:"+ze.source+")":ze,ot),lt=$e===void 0?ye:$e>>>0;if(lt===0)return[];if(at.length===0)return ee(rt,at)===null?[at]:[];for(var gt=0,yt=0,Tt=[];yt2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").every,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("every",function(se){return oe(ae(this),se,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/function-call"),ae=E("../internals/array-fill"),le=ue.aTypedArray,re=ue.exportTypedArrayMethod;re("fill",function(ie){var ne=arguments.length;return oe(ae,le(this),ie,ne>1?arguments[1]:void 0,ne>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").filter,ae=E("../internals/typed-array-from-species-and-list"),le=ue.aTypedArray,re=ue.exportTypedArrayMethod;re("filter",function(ie){var ne=oe(le(this),ie,arguments.length>1?arguments[1]:void 0);return ae(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").findIndex,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("findIndex",function(se){return oe(ae(this),se,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").find,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("find",function(se){return oe(ae(this),se,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").forEach,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("forEach",function(se){oe(ae(this),se,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-includes").includes,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("includes",function(se){return oe(ae(this),se,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-includes").indexOf,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("indexOf",function(se){return oe(ae(this),se,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,we,fe){"use strict";var ue=E("../internals/global"),oe=E("../internals/fails"),ae=E("../internals/function-uncurry-this"),le=E("../internals/array-buffer-view-core"),re=E("../modules/es.array.iterator"),se=E("../internals/well-known-symbol"),ie=se("iterator"),ne=ue.Uint8Array,z=ae(re.values),y=ae(re.keys),a=ae(re.entries),x=le.aTypedArray,b=le.exportTypedArrayMethod,ee=ne&&ne.prototype,te=!oe(function(){ee[ie].call([1])}),de=!!ee&&ee.values&&ee[ie]===ee.values&&ee.values.name==="values",ge=function(){return z(x(this))};b("entries",function(){return a(x(this))},te),b("keys",function(){return y(x(this))},te),b("values",ge,te||!de,{name:"values"}),b(ie,ge,te||!de,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/function-uncurry-this"),ae=ue.aTypedArray,le=ue.exportTypedArrayMethod,re=oe([].join);le("join",function(ie){return re(ae(this),ie)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/function-apply"),ae=E("../internals/array-last-index-of"),le=ue.aTypedArray,re=ue.exportTypedArrayMethod;re("lastIndexOf",function(ie){var ne=arguments.length;return oe(ae,le(this),ne>1?[ie,arguments[1]]:[ie])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").map,ae=E("../internals/typed-array-species-constructor"),le=ue.aTypedArray,re=ue.exportTypedArrayMethod;re("map",function(ie){return oe(le(this),ie,arguments.length>1?arguments[1]:void 0,function(ne,z){return new(ae(ne))(z)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-reduce").right,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("reduceRight",function(se){var ie=arguments.length;return oe(ae(this),se,ie,ie>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-reduce").left,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("reduce",function(se){var ie=arguments.length;return oe(ae(this),se,ie,ie>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=ue.aTypedArray,ae=ue.exportTypedArrayMethod,le=Math.floor;ae("reverse",function(){for(var se=this,ie=oe(se).length,ne=le(ie/2),z=0,y;z1?arguments[1]:void 0,1),ye=se(ge);if(ee)return oe(a,this,ye,ve);var be=this.length,Ce=le(ye),Se=0;if(Ce+ve>be)throw ne("Wrong length");for(;Seb;)te[b]=a[b++];return te},ie)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").some,ae=ue.aTypedArray,le=ue.exportTypedArrayMethod;le("some",function(se){return oe(ae(this),se,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,we,fe){"use strict";var ue=E("../internals/global"),oe=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),le=E("../internals/a-callable"),re=E("../internals/array-sort"),se=E("../internals/array-buffer-view-core"),ie=E("../internals/engine-ff-version"),ne=E("../internals/engine-is-ie-or-edge"),z=E("../internals/engine-v8-version"),y=E("../internals/engine-webkit-version"),a=se.aTypedArray,x=se.exportTypedArrayMethod,b=ue.Uint16Array,ee=b&&oe(b.prototype.sort),te=!!ee&&!(ae(function(){ee(new b(2),null)})&&ae(function(){ee(new b(2),{})})),de=!!ee&&!ae(function(){if(z)return z<74;if(ie)return ie<67;if(ne)return!0;if(y)return y<602;var ve=new b(516),ye=Array(516),be,Ce;for(be=0;be<516;be++)Ce=be%4,ve[be]=515-be,ye[be]=be-2*Ce+3;for(ee(ve,function(Se,Pe){return(Se/4|0)-(Pe/4|0)}),be=0;be<516;be++)if(ve[be]!==ye[be])return!0}),ge=function(ve){return function(ye,be){return ve!==void 0?+ve(ye,be)||0:be!==be?-1:ye!==ye?1:ye===0&&be===0?1/ye>0&&1/be<0?1:-1:ye>be}};x("sort",function(ye){return ye!==void 0&&le(ye),de?ee(this,ye):re(a(this),ge(ye))},!de||te)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core"),oe=E("../internals/to-length"),ae=E("../internals/to-absolute-index"),le=E("../internals/typed-array-species-constructor"),re=ue.aTypedArray,se=ue.exportTypedArrayMethod;se("subarray",function(ne,z){var y=re(this),a=y.length,x=ae(ne,a),b=le(y);return new b(y.buffer,y.byteOffset+x*y.BYTES_PER_ELEMENT,oe((z===void 0?a:ae(z,a))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,we,fe){"use strict";var ue=E("../internals/global"),oe=E("../internals/function-apply"),ae=E("../internals/array-buffer-view-core"),le=E("../internals/fails"),re=E("../internals/array-slice"),se=ue.Int8Array,ie=ae.aTypedArray,ne=ae.exportTypedArrayMethod,z=[].toLocaleString,y=!!se&&le(function(){z.call(new se(1))}),a=le(function(){return[1,2].toLocaleString()!=new se([1,2]).toLocaleString()})||!le(function(){se.prototype.toLocaleString.call([1,2])});ne("toLocaleString",function(){return oe(z,y?re(ie(this)):ie(this),re(arguments))},a)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,we,fe){"use strict";var ue=E("../internals/array-buffer-view-core").exportTypedArrayMethod,oe=E("../internals/fails"),ae=E("../internals/global"),le=E("../internals/function-uncurry-this"),re=ae.Uint8Array,se=re&&re.prototype||{},ie=[].toString,ne=le([].join);oe(function(){ie.call({})})&&(ie=function(){return ne(this)});var z=se.toString!=ie;ue("toString",ie,z)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,we,fe){var ue=E("../internals/typed-array-constructor");ue("Uint8",function(oe){return function(le,re,se){return oe(this,le,re,se)}})},{"../internals/typed-array-constructor":258}],339:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/dom-iterables"),ae=E("../internals/dom-token-list-prototype"),le=E("../internals/array-for-each"),re=E("../internals/create-non-enumerable-property"),se=function(ne){if(ne&&ne.forEach!==le)try{re(ne,"forEach",le)}catch(z){ne.forEach=le}};for(var ie in oe)oe[ie]&&se(ue[ie]&&ue[ie].prototype);se(ae)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,we,fe){var ue=E("../internals/global"),oe=E("../internals/dom-iterables"),ae=E("../internals/dom-token-list-prototype"),le=E("../modules/es.array.iterator"),re=E("../internals/create-non-enumerable-property"),se=E("../internals/well-known-symbol"),ie=se("iterator"),ne=se("toStringTag"),z=le.values,y=function(x,b){if(x){if(x[ie]!==z)try{re(x,ie,z)}catch(te){x[ie]=z}if(x[ne]||re(x,ne,b),oe[b]){for(var ee in le)if(x[ee]!==le[ee])try{re(x,ee,le[ee])}catch(te){x[ee]=le[ee]}}}};for(var a in oe)y(ue[a]&&ue[a].prototype,a);y(ae,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,we,fe){function ue(de){return Array.isArray?Array.isArray(de):te(de)==="[object Array]"}fe.isArray=ue;function oe(de){return typeof de=="boolean"}fe.isBoolean=oe;function ae(de){return de===null}fe.isNull=ae;function le(de){return de==null}fe.isNullOrUndefined=le;function re(de){return typeof de=="number"}fe.isNumber=re;function se(de){return typeof de=="string"}fe.isString=se;function ie(de){return typeof de=="symbol"}fe.isSymbol=ie;function ne(de){return de===void 0}fe.isUndefined=ne;function z(de){return te(de)==="[object RegExp]"}fe.isRegExp=z;function y(de){return typeof de=="object"&&de!==null}fe.isObject=y;function a(de){return te(de)==="[object Date]"}fe.isDate=a;function x(de){return te(de)==="[object Error]"||de instanceof Error}fe.isError=x;function b(de){return typeof de=="function"}fe.isFunction=b;function ee(de){return de===null||typeof de=="boolean"||typeof de=="number"||typeof de=="string"||typeof de=="symbol"||typeof de=="undefined"}fe.isPrimitive=ee,fe.isBuffer=E("buffer").Buffer.isBuffer;function te(de){return Object.prototype.toString.call(de)}},{buffer:90}],342:[function(E,we,fe){(function(ue){"use strict";var oe=function(){var ie=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ne=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,z=/[^-+\dA-Z]/g;return function(y,a,x,b){if(arguments.length===1&&se(y)==="string"&&!/\d/.test(y)&&(a=y,y=void 0),y=y||new Date,y instanceof Date||(y=new Date(y)),isNaN(y))throw TypeError("Invalid date");a=String(oe.masks[a]||a||oe.masks.default);var ee=a.slice(0,4);(ee==="UTC:"||ee==="GMT:")&&(a=a.slice(4),x=!0,ee==="GMT:"&&(b=!0));var te=x?"getUTC":"get",de=y[te+"Date"](),ge=y[te+"Day"](),ve=y[te+"Month"](),ye=y[te+"FullYear"](),be=y[te+"Hours"](),Ce=y[te+"Minutes"](),Se=y[te+"Seconds"](),Pe=y[te+"Milliseconds"](),Be=x?0:y.getTimezoneOffset(),Ue=le(y),Ee=re(y),He={d:de,dd:ae(de),ddd:oe.i18n.dayNames[ge],dddd:oe.i18n.dayNames[ge+7],m:ve+1,mm:ae(ve+1),mmm:oe.i18n.monthNames[ve],mmmm:oe.i18n.monthNames[ve+12],yy:String(ye).slice(2),yyyy:ye,h:be%12||12,hh:ae(be%12||12),H:be,HH:ae(be),M:Ce,MM:ae(Ce),s:Se,ss:ae(Se),l:ae(Pe,3),L:ae(Math.round(Pe/10)),t:be<12?"a":"p",tt:be<12?"am":"pm",T:be<12?"A":"P",TT:be<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(y).match(ne)||[""]).pop().replace(z,""),o:(Be>0?"-":"+")+ae(Math.floor(Math.abs(Be)/60)*100+Math.abs(Be)%60,4),S:["th","st","nd","rd"][de%10>3?0:(de%100-de%10!=10)*de%10],W:Ue,N:Ee};return a.replace(ie,function(Oe){return Oe in He?He[Oe]:Oe.slice(1,Oe.length-1)})}}();oe.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},oe.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function ae(ie,ne){for(ie=String(ie),ne=ne||2;ie.length]/;we.exports=oe;function oe(ae){var le=""+ae,re=ue.exec(le);if(!re)return le;var se,ie="",ne=0,z=0;for(ne=re.index;ne0&&(He=Pe[0]),He instanceof Error)throw He;var Oe=new Error("Unhandled error."+(He?" ("+He.message+")":""));throw Oe.context=He,Oe}var ke=Ee[Se];if(ke===void 0)return!1;if(typeof ke=="function")oe(ke,this,Pe);else for(var Xe=ke.length,$e=te(ke,Xe),Be=0;Be0&&He.length>Ue&&!He.warned){He.warned=!0;var Oe=new Error("Possible EventEmitter memory leak detected. "+He.length+" "+String(Se)+" listeners added. Use emitter.setMaxListeners() to increase limit");Oe.name="MaxListenersExceededWarning",Oe.emitter=Ce,Oe.type=Se,Oe.count=He.length,le(Oe)}return Ce}se.prototype.addListener=function(Se,Pe){return y(this,Se,Pe,!1)},se.prototype.on=se.prototype.addListener,se.prototype.prependListener=function(Se,Pe){return y(this,Se,Pe,!0)};function a(){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 x(Ce,Se,Pe){var Be={fired:!1,wrapFn:void 0,target:Ce,type:Se,listener:Pe},Ue=a.bind(Be);return Ue.listener=Pe,Be.wrapFn=Ue,Ue}se.prototype.once=function(Se,Pe){return ne(Pe),this.on(Se,x(this,Se,Pe)),this},se.prototype.prependOnceListener=function(Se,Pe){return ne(Pe),this.prependListener(Se,x(this,Se,Pe)),this},se.prototype.removeListener=function(Se,Pe){var Be,Ue,Ee,He,Oe;if(ne(Pe),Ue=this._events,Ue===void 0)return this;if(Be=Ue[Se],Be===void 0)return this;if(Be===Pe||Be.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Ue[Se],Ue.removeListener&&this.emit("removeListener",Se,Be.listener||Pe));else if(typeof Be!="function"){for(Ee=-1,He=Be.length-1;He>=0;He--)if(Be[He]===Pe||Be[He].listener===Pe){Oe=Be[He].listener,Ee=He;break}if(Ee<0)return this;Ee===0?Be.shift():de(Be,Ee),Be.length===1&&(Ue[Se]=Be[0]),Ue.removeListener!==void 0&&this.emit("removeListener",Se,Oe||Pe)}return this},se.prototype.off=se.prototype.removeListener,se.prototype.removeAllListeners=function(Se){var Pe,Be,Ue;if(Be=this._events,Be===void 0)return this;if(Be.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Be[Se]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Be[Se]),this;if(arguments.length===0){var Ee=Object.keys(Be),He;for(Ue=0;Ue=0;Ue--)this.removeListener(Se,Pe[Ue]);return this};function b(Ce,Se,Pe){var Be=Ce._events;if(Be===void 0)return[];var Ue=Be[Se];return Ue===void 0?[]:typeof Ue=="function"?Pe?[Ue.listener||Ue]:[Ue]:Pe?ge(Ue):te(Ue,Ue.length)}se.prototype.listeners=function(Se){return b(this,Se,!0)},se.prototype.rawListeners=function(Se){return b(this,Se,!1)},se.listenerCount=function(Ce,Se){return typeof Ce.listenerCount=="function"?Ce.listenerCount(Se):ee.call(Ce,Se)},se.prototype.listenerCount=ee;function ee(Ce){var Se=this._events;if(Se!==void 0){var Pe=Se[Ce];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}se.prototype.eventNames=function(){return this._eventsCount>0?ae(this._events):[]};function te(Ce,Se){for(var Pe=new Array(Se),Be=0;Be=3&&(x=a),oe.call(z)==="[object Array]"?le(z,y,x):typeof z=="string"?re(z,y,x):se(z,y,x)};we.exports=ie},{"is-callable":367}],346:[function(E,we,fe){"use strict";var ue="Function.prototype.bind called on incompatible ",oe=Array.prototype.slice,ae=Object.prototype.toString,le="[object Function]";we.exports=function(se){var ie=this;if(typeof ie!="function"||ae.call(ie)!==le)throw new TypeError(ue+ie);for(var ne=oe.call(arguments,1),z,y=function(){if(this instanceof z){var te=ie.apply(this,ne.concat(oe.call(arguments)));return Object(te)===te?te:this}else return ie.apply(se,ne.concat(oe.call(arguments)))},a=Math.max(0,ie.length-ne.length),x=[],b=0;b1&&typeof $e!="boolean")throw new le('"allowMissing" argument must be a boolean');if(Be(/^%?[^%]*%?$/,Xe)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ze=He(Xe),at=ze.length>0?ze[0]:"",et=Oe("%"+at+"%",$e),it=et.name,At=et.value,ot=!1,rt=et.alias;rt&&(at=rt[0],Ce(ze,be([0,1],rt)));for(var lt=1,gt=!0;lt=ze.length){var ut=se(At,yt);gt=!!ut,gt&&"get"in ut&&!("originalValue"in ut.get)?At=ut.get:At=At[yt]}else gt=ye(At,yt),At=At[yt];gt&&!ot&&(ee[it]=At)}}return At}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,we,fe){"use strict";var ue=E("get-intrinsic"),oe=ue("%Object.getOwnPropertyDescriptor%",!0);if(oe)try{oe([],"length")}catch(ae){oe=null}we.exports=oe},{"get-intrinsic":348}],350:[function(E,we,fe){"use strict";var ue={foo:{}},oe=Object;we.exports=function(){return{__proto__:ue}.foo===ue.foo&&!({__proto__:null}instanceof oe)}},{}],351:[function(E,we,fe){"use strict";var ue=typeof Symbol!="undefined"&&Symbol,oe=E("./shams");we.exports=function(){return typeof ue!="function"||typeof Symbol!="function"||typeof ue("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:oe()}},{"./shams":352}],352:[function(E,we,fe){"use strict";we.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var oe={},ae=Symbol("test"),le=Object(ae);if(typeof ae=="string"||Object.prototype.toString.call(ae)!=="[object Symbol]"||Object.prototype.toString.call(le)!=="[object Symbol]")return!1;var re=42;oe[ae]=re;for(ae in oe)return!1;if(typeof Object.keys=="function"&&Object.keys(oe).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(oe).length!==0)return!1;var se=Object.getOwnPropertySymbols(oe);if(se.length!==1||se[0]!==ae||!Object.prototype.propertyIsEnumerable.call(oe,ae))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ie=Object.getOwnPropertyDescriptor(oe,ae);if(ie.value!==re||ie.enumerable!==!0)return!1}return!0}},{}],353:[function(E,we,fe){"use strict";var ue=E("has-symbols/shams");we.exports=function(){return ue()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,we,fe){"use strict";var ue=E("function-bind");we.exports=ue.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,we,fe){var ue=E("http"),oe=E("url"),ae=we.exports;for(var le in ue)ue.hasOwnProperty(le)&&(ae[le]=ue[le]);ae.request=function(se,ie){return se=re(se),ue.request.call(this,se,ie)},ae.get=function(se,ie){return se=re(se),ue.get.call(this,se,ie)};function re(se){if(typeof se=="string"&&(se=oe.parse(se)),se.protocol||(se.protocol="https:"),se.protocol!=="https:")throw new Error('Protocol "'+se.protocol+'" not supported. Expected "https:"');return se}},{http:468,url:472}],356:[function(E,we,fe){"use strict";var ue=E("util"),oe=E("ms");we.exports=function(ae){if(typeof ae=="number")return ae;var le=oe(ae);if(le===void 0){var re=new Error(ue.format("humanize-ms(%j) result undefined",ae));console.warn(re.stack)}return le}},{ms:376,util:419}],357:[function(E,we,fe){fe.read=function(ue,oe,ae,le,re){var se,ie,ne=re*8-le-1,z=(1<>1,a=-7,x=ae?re-1:0,b=ae?-1:1,ee=ue[oe+x];for(x+=b,se=ee&(1<<-a)-1,ee>>=-a,a+=ne;a>0;se=se*256+ue[oe+x],x+=b,a-=8);for(ie=se&(1<<-a)-1,se>>=-a,a+=le;a>0;ie=ie*256+ue[oe+x],x+=b,a-=8);if(se===0)se=1-y;else{if(se===z)return ie?NaN:(ee?-1:1)*(1/0);ie=ie+Math.pow(2,le),se=se-y}return(ee?-1:1)*ie*Math.pow(2,se-le)},fe.write=function(ue,oe,ae,le,re,se){var ie,ne,z,y=se*8-re-1,a=(1<>1,b=re===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=le?0:se-1,te=le?1:-1,de=oe<0||oe===0&&1/oe<0?1:0;for(oe=Math.abs(oe),isNaN(oe)||oe===1/0?(ne=isNaN(oe)?1:0,ie=a):(ie=Math.floor(Math.log(oe)/Math.LN2),oe*(z=Math.pow(2,-ie))<1&&(ie--,z*=2),ie+x>=1?oe+=b/z:oe+=b*Math.pow(2,1-x),oe*z>=2&&(ie++,z/=2),ie+x>=a?(ne=0,ie=a):ie+x>=1?(ne=(oe*z-1)*Math.pow(2,re),ie=ie+x):(ne=oe*Math.pow(2,x-1)*Math.pow(2,re),ie=0));re>=8;ue[ae+ee]=ne&255,ee+=te,ne/=256,re-=8);for(ie=ie<0;ue[ae+ee]=ie&255,ee+=te,ie/=256,y-=8);ue[ae+ee-te]|=de*128}},{}],358:[function(E,we,fe){"use strict";var ue=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],oe,ae,le=-1,re=[],se=!1;function ie(){!oe||!ae||(oe=!1,ae.length?re=ae.concat(re):le=-1,re.length&&ne())}function ne(){if(!oe){se=!1,oe=!0;for(var ee=re.length,te=setTimeout(ie);ee;){for(ae=re,re=[];ae&&++le1)for(var de=1;de=0&&ae(ne)!=="[object Array]"&&ae(ne.callee)==="[object Function]"},se=function(){return le(arguments)}();le.isLegacyArguments=re,we.exports=se?le:re},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,we,fe){we.exports=function(ae){return ae!=null&&(ue(ae)||oe(ae)||!!ae._isBuffer)};function ue(ae){return!!ae.constructor&&typeof ae.constructor.isBuffer=="function"&&ae.constructor.isBuffer(ae)}function oe(ae){return typeof ae.readFloatLE=="function"&&typeof ae.slice=="function"&&ue(ae.slice(0,0))}},{}],367:[function(E,we,fe){"use strict";var ue=Function.prototype.toString,oe=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ae,le;if(typeof oe=="function"&&typeof Object.defineProperty=="function")try{ae=Object.defineProperty({},"length",{get:function(){throw le}}),le={},oe(function(){throw 42},null,ae)}catch(ye){ye!==le&&(oe=null)}else oe=null;var re=/^\s*class\b/,se=function(be){try{var Ce=ue.call(be);return re.test(Ce)}catch(Se){return!1}},ie=function(be){try{return se(be)?!1:(ue.call(be),!0)}catch(Ce){return!1}},ne=Object.prototype.toString,z="[object Object]",y="[object Function]",a="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",ee="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,de=!(0 in[,]),ge=function(){return!1};if(typeof document=="object"){var ve=document.all;ne.call(ve)===ne.call(document.all)&&(ge=function(be){if((de||!be)&&(typeof be=="undefined"||typeof be=="object"))try{var Ce=ne.call(be);return(Ce===x||Ce===b||Ce===ee||Ce===z)&&be("")==null}catch(Se){}return!1})}we.exports=oe?function(be){if(ge(be))return!0;if(!be||typeof be!="function"&&typeof be!="object")return!1;try{oe(be,null,ae)}catch(Ce){if(Ce!==le)return!1}return!se(be)&&ie(be)}:function(be){if(ge(be))return!0;if(!be||typeof be!="function"&&typeof be!="object")return!1;if(te)return ie(be);if(se(be))return!1;var Ce=ne.call(be);return Ce!==y&&Ce!==a&&!/^\[object HTML/.test(Ce)?!1:ie(be)}},{}],368:[function(E,we,fe){"use strict";var ue=Object.prototype.toString,oe=Function.prototype.toString,ae=/^\s*(?:function)?\*/,le=E("has-tostringtag/shams")(),re=Object.getPrototypeOf,se=function(){if(!le)return!1;try{return Function("return function*() {}")()}catch(ne){}},ie;we.exports=function(z){if(typeof z!="function")return!1;if(ae.test(oe.call(z)))return!0;if(!le){var y=ue.call(z);return y==="[object GeneratorFunction]"}if(!re)return!1;if(typeof ie=="undefined"){var a=se();ie=a?re(a):!1}return re(z)===ie}},{"has-tostringtag/shams":353}],369:[function(E,we,fe){"use strict";var ue=E("which-typed-array");we.exports=function(ae){return!!ue(ae)}},{"which-typed-array":420}],370:[function(E,we,fe){var ue={}.toString;we.exports=Array.isArray||function(oe){return ue.call(oe)=="[object Array]"}},{}],371:[function(E,we,fe){(function(ue){(function(){(function(oe,ae){typeof fe=="object"&&typeof we!="undefined"?we.exports=ae(oe):typeof pe=="function"&&pe.amd?pe(ae):ae(oe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ue!="undefined"?ue:this,function(oe){"use strict";oe=oe||{};var ae=oe.Base64,le="2.6.4",re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(Xe){for(var $e={},ze=0,at=Xe.length;ze>>6)+ie(128|$e&63):ie(224|$e>>>12&15)+ie(128|$e>>>6&63)+ie(128|$e&63)}else{var $e=65536+(Xe.charCodeAt(0)-55296)*1024+(Xe.charCodeAt(1)-56320);return ie(240|$e>>>18&7)+ie(128|$e>>>12&63)+ie(128|$e>>>6&63)+ie(128|$e&63)}},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,y=function(Xe){return Xe.replace(z,ne)},a=function(Xe){var $e=[0,2,1][Xe.length%3],ze=Xe.charCodeAt(0)<<16|(Xe.length>1?Xe.charCodeAt(1):0)<<8|(Xe.length>2?Xe.charCodeAt(2):0),at=[re.charAt(ze>>>18),re.charAt(ze>>>12&63),$e>=2?"=":re.charAt(ze>>>6&63),$e>=1?"=":re.charAt(ze&63)];return at.join("")},x=oe.btoa&&typeof oe.btoa=="function"?function(Xe){return oe.btoa(Xe)}:function(Xe){if(Xe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Xe.replace(/[\s\S]{1,3}/g,a)},b=function(Xe){return x(y(String(Xe)))},ee=function(Xe){return Xe.replace(/[+\/]/g,function($e){return $e=="+"?"-":"_"}).replace(/=/g,"")},te=function(Xe,$e){return $e?ee(b(Xe)):b(Xe)},de=function(Xe){return te(Xe,!0)},ge;oe.Uint8Array&&(ge=function(Xe,$e){for(var ze="",at=0,et=Xe.length;at>>18)+re.charAt(rt>>>12&63)+(typeof At!="undefined"?re.charAt(rt>>>6&63):"=")+(typeof ot!="undefined"?re.charAt(rt&63):"=")}return $e?ee(ze):ze});var ve=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ye=function(Xe){switch(Xe.length){case 4:var $e=(7&Xe.charCodeAt(0))<<18|(63&Xe.charCodeAt(1))<<12|(63&Xe.charCodeAt(2))<<6|63&Xe.charCodeAt(3),ze=$e-65536;return ie((ze>>>10)+55296)+ie((ze&1023)+56320);case 3:return ie((15&Xe.charCodeAt(0))<<12|(63&Xe.charCodeAt(1))<<6|63&Xe.charCodeAt(2));default:return ie((31&Xe.charCodeAt(0))<<6|63&Xe.charCodeAt(1))}},be=function(Xe){return Xe.replace(ve,ye)},Ce=function(Xe){var $e=Xe.length,ze=$e%4,at=($e>0?se[Xe.charAt(0)]<<18:0)|($e>1?se[Xe.charAt(1)]<<12:0)|($e>2?se[Xe.charAt(2)]<<6:0)|($e>3?se[Xe.charAt(3)]:0),et=[ie(at>>>16),ie(at>>>8&255),ie(at&255)];return et.length-=[0,0,2,1][ze],et.join("")},Se=oe.atob&&typeof oe.atob=="function"?function(Xe){return oe.atob(Xe)}:function(Xe){return Xe.replace(/\S{1,4}/g,Ce)},Pe=function(Xe){return Se(String(Xe).replace(/[^A-Za-z0-9\+\/]/g,""))},Be=function(Xe){return be(Se(Xe))},Ue=function(Xe){return String(Xe).replace(/[-_]/g,function($e){return $e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(Xe){return Be(Ue(Xe))},He;oe.Uint8Array&&(He=function(Xe){return Uint8Array.from(Pe(Ue(Xe)),function($e){return $e.charCodeAt(0)})});var Oe=function(){var Xe=oe.Base64;return oe.Base64=ae,Xe};if(oe.Base64={VERSION:le,atob:Pe,btoa:x,fromBase64:Ee,toBase64:te,utob:y,encode:te,encodeURI:de,btou:be,decode:Ee,noConflict:Oe,fromUint8Array:ge,toUint8Array:He},typeof Object.defineProperty=="function"){var ke=function(Xe){return{value:Xe,enumerable:!1,writable:!0,configurable:!0}};oe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",ke(function(){return Ee(this)})),Object.defineProperty(String.prototype,"toBase64",ke(function(Xe){return te(this,Xe)})),Object.defineProperty(String.prototype,"toBase64URI",ke(function(){return te(this,!0)}))}}return oe.Meteor&&(Base64=oe.Base64),typeof we!="undefined"&&we.exports?we.exports.Base64=oe.Base64:typeof pe=="function"&&pe.amd&&pe([],function(){return oe.Base64}),{Base64:oe.Base64}})}).call(this)}).call(this,typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,we,fe){"use strict";we.exports=oe;var ue=Object.prototype.hasOwnProperty;function oe(ae,le,re){if(!ae)throw new TypeError("argument dest is required");if(!le)throw new TypeError("argument src is required");return re===void 0&&(re=!0),Object.getOwnPropertyNames(le).forEach(function(ie){if(!(!re&&ue.call(ae,ie))){var ne=Object.getOwnPropertyDescriptor(le,ie);Object.defineProperty(ae,ie,ne)}}),ae}},{}],373:[function(E,we,fe){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function ue(){this._types=Object.create(null),this._extensions=Object.create(null);for(var oe=0;oe0)return ie(a);if(b==="number"&&isFinite(a))return x.long?z(a):ne(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function ie(a){if(a=String(a),!(a.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(x){var b=parseFloat(x[1]),ee=(x[2]||"ms").toLowerCase();switch(ee){case"years":case"year":case"yrs":case"yr":case"y":return b*se;case"weeks":case"week":case"w":return b*re;case"days":case"day":case"d":return b*le;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ae;case"minutes":case"minute":case"mins":case"min":case"m":return b*oe;case"seconds":case"second":case"secs":case"sec":case"s":return b*ue;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(a){var x=Math.abs(a);return x>=le?Math.round(a/le)+"d":x>=ae?Math.round(a/ae)+"h":x>=oe?Math.round(a/oe)+"m":x>=ue?Math.round(a/ue)+"s":a+"ms"}function z(a){var x=Math.abs(a);return x>=le?y(a,x,le,"day"):x>=ae?y(a,x,ae,"hour"):x>=oe?y(a,x,oe,"minute"):x>=ue?y(a,x,ue,"second"):a+" ms"}function y(a,x,b,ee){var te=x>=b*1.5;return Math.round(a/b)+" "+ee+(te?"s":"")}},{}],377:[function(E,we,fe){"use strict";var ue=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;function le(se){if(se==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(se)}function re(){try{if(!Object.assign)return!1;var se=new String("abc");if(se[5]="de",Object.getOwnPropertyNames(se)[0]==="5")return!1;for(var ie={},ne=0;ne<10;ne++)ie["_"+String.fromCharCode(ne)]=ne;var z=Object.getOwnPropertyNames(ie).map(function(a){return ie[a]});if(z.join("")!=="0123456789")return!1;var y={};return"abcdefghijklmnopqrst".split("").forEach(function(a){y[a]=a}),Object.keys(Object.assign({},y)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}we.exports=re()?Object.assign:function(se,ie){for(var ne,z=le(se),y,a=1;a2){var ee=ne.lastIndexOf("/");if(ee!==ne.length-1){ee===-1?(ne="",z=0):(ne=ne.slice(0,ee),z=ne.length-1-ne.lastIndexOf("/")),y=b,a=0;continue}}else if(ne.length===2||ne.length===1){ne="",z=0,y=b,a=0;continue}}ie&&(ne.length>0?ne+="/..":ne="..",z=2)}else ne.length>0?ne+="/"+se.slice(y+1,b):ne=se.slice(y+1,b),z=b-y-1;y=b,a=0}else x===46&&a!==-1?++a:a=-1}return ne}function le(se,ie){var ne=ie.dir||ie.root,z=ie.base||(ie.name||"")+(ie.ext||"");return ne?ne===ie.root?ne+z:ne+se+z:z}var re={resolve:function(){for(var ie="",ne=!1,z,y=arguments.length-1;y>=-1&&!ne;y--){var a;y>=0?a=arguments[y]:(z===void 0&&(z=ue.cwd()),a=z),oe(a),a.length!==0&&(ie=a+"/"+ie,ne=a.charCodeAt(0)===47)}return ie=ae(ie,!ne),ne?ie.length>0?"/"+ie:"/":ie.length>0?ie:"."},normalize:function(ie){if(oe(ie),ie.length===0)return".";var ne=ie.charCodeAt(0)===47,z=ie.charCodeAt(ie.length-1)===47;return ie=ae(ie,!ne),ie.length===0&&!ne&&(ie="."),ie.length>0&&z&&(ie+="/"),ne?"/"+ie:ie},isAbsolute:function(ie){return oe(ie),ie.length>0&&ie.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var ie,ne=0;ne0&&(ie===void 0?ie=z:ie+="/"+z)}return ie===void 0?".":re.normalize(ie)},relative:function(ie,ne){if(oe(ie),oe(ne),ie===ne||(ie=re.resolve(ie),ne=re.resolve(ne),ie===ne))return"";for(var z=1;zte){if(ne.charCodeAt(x+ge)===47)return ne.slice(x+ge+1);if(ge===0)return ne.slice(x+ge)}else a>te&&(ie.charCodeAt(z+ge)===47?de=ge:ge===0&&(de=0));break}var ve=ie.charCodeAt(z+ge),ye=ne.charCodeAt(x+ge);if(ve!==ye)break;ve===47&&(de=ge)}var be="";for(ge=z+de+1;ge<=y;++ge)(ge===y||ie.charCodeAt(ge)===47)&&(be.length===0?be+="..":be+="/..");return be.length>0?be+ne.slice(x+de):(x+=de,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(ie){return ie},dirname:function(ie){if(oe(ie),ie.length===0)return".";for(var ne=ie.charCodeAt(0),z=ne===47,y=-1,a=!0,x=ie.length-1;x>=1;--x)if(ne=ie.charCodeAt(x),ne===47){if(!a){y=x;break}}else a=!1;return y===-1?z?"/":".":z&&y===1?"//":ie.slice(0,y)},basename:function(ie,ne){if(ne!==void 0&&typeof ne!="string")throw new TypeError('"ext" argument must be a string');oe(ie);var z=0,y=-1,a=!0,x;if(ne!==void 0&&ne.length>0&&ne.length<=ie.length){if(ne.length===ie.length&&ne===ie)return"";var b=ne.length-1,ee=-1;for(x=ie.length-1;x>=0;--x){var te=ie.charCodeAt(x);if(te===47){if(!a){z=x+1;break}}else ee===-1&&(a=!1,ee=x+1),b>=0&&(te===ne.charCodeAt(b)?--b===-1&&(y=x):(b=-1,y=ee))}return z===y?y=ee:y===-1&&(y=ie.length),ie.slice(z,y)}else{for(x=ie.length-1;x>=0;--x)if(ie.charCodeAt(x)===47){if(!a){z=x+1;break}}else y===-1&&(a=!1,y=x+1);return y===-1?"":ie.slice(z,y)}},extname:function(ie){oe(ie);for(var ne=-1,z=0,y=-1,a=!0,x=0,b=ie.length-1;b>=0;--b){var ee=ie.charCodeAt(b);if(ee===47){if(!a){z=b+1;break}continue}y===-1&&(a=!1,y=b+1),ee===46?ne===-1?ne=b:x!==1&&(x=1):ne!==-1&&(x=-1)}return ne===-1||y===-1||x===0||x===1&&ne===y-1&&ne===z+1?"":ie.slice(ne,y)},format:function(ie){if(ie===null||typeof ie!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ie);return le("/",ie)},parse:function(ie){oe(ie);var ne={root:"",dir:"",base:"",ext:"",name:""};if(ie.length===0)return ne;var z=ie.charCodeAt(0),y=z===47,a;y?(ne.root="/",a=1):a=0;for(var x=-1,b=0,ee=-1,te=!0,de=ie.length-1,ge=0;de>=a;--de){if(z=ie.charCodeAt(de),z===47){if(!te){b=de+1;break}continue}ee===-1&&(te=!1,ee=de+1),z===46?x===-1?x=de:ge!==1&&(ge=1):x!==-1&&(ge=-1)}return x===-1||ee===-1||ge===0||ge===1&&x===ee-1&&x===b+1?ee!==-1&&(b===0&&y?ne.base=ne.name=ie.slice(1,ee):ne.base=ne.name=ie.slice(b,ee)):(b===0&&y?(ne.name=ie.slice(1,x),ne.base=ie.slice(1,ee)):(ne.name=ie.slice(b,x),ne.base=ie.slice(b,ee)),ne.ext=ie.slice(x,ee)),b>0?ne.dir=ie.slice(0,b-1):y&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};re.posix=re,we.exports=re}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,we,fe){(function(ue){(function(){(function(){"use strict";var oe={function:!0,object:!0},ae=oe[typeof window]&&window||this,le=ae,re=oe[typeof fe]&&fe,se=oe[typeof we]&&we&&!we.nodeType&&we,ie=re&&se&&typeof ue=="object"&&ue;ie&&(ie.global===ie||ie.window===ie||ie.self===ie)&&(ae=ie);var ne=Math.pow(2,53)-1,z=/\bOpera/,y=this,a=Object.prototype,x=a.hasOwnProperty,b=a.toString;function ee(Ee){return Ee=String(Ee),Ee.charAt(0).toUpperCase()+Ee.slice(1)}function te(Ee,He,Oe){var ke={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return He&&Oe&&/^Win/i.test(Ee)&&!/^Windows Phone /i.test(Ee)&&(ke=ke[/[\d.]+$/.exec(Ee)])&&(Ee="Windows "+ke),Ee=String(Ee),He&&Oe&&(Ee=Ee.replace(RegExp(He,"i"),Oe)),Ee=ge(Ee.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),Ee}function de(Ee,He){var Oe=-1,ke=Ee?Ee.length:0;if(typeof ke=="number"&&ke>-1&&ke<=ne)for(;++Oe3&&"WebKit"||/\bOpera\b/.test(Ne)&&(/\bOPR\b/.test(Ee)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ee)&&!/^(?:Trident|EdgeHTML)$/.test(Te)&&"WebKit"||!Te&&/\bMSIE\b/i.test(Ee)&&(dt=="Mac OS"?"Tasman":"Trident")||Te=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ne)&&"NetFront")&&(Te=[qe]),Ne=="IE"&&(qe=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ee)||0)[1])?(Ne+=" Mobile",dt="Windows Phone "+(/\+$/.test(qe)?qe:qe+".x"),Ve.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ee)?(Ne="IE Mobile",dt="Windows Phone 8.x",Ve.unshift("desktop mode"),Fe||(Fe=(/\brv:([\d.]+)/.exec(Ee)||0)[1])):Ne!="IE"&&Te=="Trident"&&(qe=/\brv:([\d.]+)/.exec(Ee))&&(Ne&&Ve.push("identifying as "+Ne+(Fe?" "+Fe:"")),Ne="IE",Fe=qe[1]),_e){if(be(He,"global"))if(rt&&(qe=rt.lang.System,je=qe.getProperty("os.arch"),dt=dt||qe.getProperty("os.name")+" "+qe.getProperty("os.version")),lt){try{Fe=He.require("ringo/engine").version.join("."),Ne="RingoJS"}catch(bt){(qe=He.system)&&qe.global.system==He.system&&(Ne="Narwhal",dt||(dt=qe[0].os||null))}Ne||(Ne="Rhino")}else typeof He.process=="object"&&!He.process.browser&&(qe=He.process)&&(typeof qe.versions=="object"&&(typeof qe.versions.electron=="string"?(Ve.push("Node "+qe.versions.node),Ne="Electron",Fe=qe.versions.electron):typeof qe.versions.nw=="string"&&(Ve.push("Chromium "+Fe,"Node "+qe.versions.node),Ne="NW.js",Fe=qe.versions.nw)),Ne||(Ne="Node.js",je=qe.arch,dt=qe.platform,Fe=/[\d.]+/.exec(qe.version),Fe=Fe?Fe[0]:null));else ye(qe=He.runtime)==et?(Ne="Adobe AIR",dt=qe.flash.system.Capabilities.os):ye(qe=He.phantom)==ot?(Ne="PhantomJS",Fe=(qe=qe.version||null)&&qe.major+"."+qe.minor+"."+qe.patch):typeof Tt.documentMode=="number"&&(qe=/\bTrident\/(\d+)/i.exec(Ee))?(Fe=[Fe,Tt.documentMode],(qe=+qe[1]+4)!=Fe[1]&&(Ve.push("IE "+Fe[1]+" mode"),Te&&(Te[1]=""),Fe[1]=qe),Fe=Ne=="IE"?String(Fe[1].toFixed(1)):Fe[0]):typeof Tt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ne)&&(Ve.push("masking as "+Ne+" "+Fe),Ne="IE",Fe="11.0",Te=["Trident"],dt="Windows");dt=dt&&ge(dt)}if(Fe&&(qe=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Fe)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ee+";"+(_e&&ke.appMinorVersion))||/\bMinefield\b/i.test(Ee)&&"a")&&(Ie=/b/i.test(qe)?"beta":"alpha",Fe=Fe.replace(RegExp(qe+"\\+?$"),"")+(Ie=="beta"?yt:gt)+(/\d+\+?/.exec(qe)||"")),Ne=="Fennec"||Ne=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(dt))Ne="Firefox Mobile";else if(Ne=="Maxthon"&&Fe)Fe=Fe.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Le))Le=="Xbox 360"&&(dt=null),Le=="Xbox 360"&&/\bIEMobile\b/.test(Ee)&&Ve.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ne)||Ne&&!Le&&!/Browser|Mobi/.test(Ne))&&(dt=="Windows CE"||/Mobi/i.test(Ee)))Ne+=" Mobile";else if(Ne=="IE"&&_e)try{He.external===null&&Ve.unshift("platform preview")}catch(bt){Ve.unshift("embedded")}else(/\bBlackBerry\b/.test(Le)||/\bBB10\b/.test(Ee))&&(qe=(RegExp(Le.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ee)||0)[1]||Fe)?(qe=[qe,/BB10/.test(Ee)],dt=(qe[1]?(Le=null,Ge="BlackBerry"):"Device Software")+" "+qe[0],Fe=null):this!=ve&&Le!="Wii"&&(_e&&vt||/Opera/.test(Ne)&&/\b(?:MSIE|Firefox)\b/i.test(Ee)||Ne=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(dt)||Ne=="IE"&&(dt&&!/^Win/.test(dt)&&Fe>5.5||/\bWindows XP\b/.test(dt)&&Fe>8||Fe==8&&!/\bTrident\b/.test(Ee)))&&!z.test(qe=Be.call(ve,Ee.replace(z,"")+";"))&&qe.name&&(qe="ing as "+qe.name+((qe=qe.version)?" "+qe:""),z.test(Ne)?(/\bIE\b/.test(qe)&&dt=="Mac OS"&&(dt=null),qe="identify"+qe):(qe="mask"+qe,ut?Ne=ge(ut.replace(/([a-z])([A-Z])/g,"$1 $2")):Ne="Opera",/\bIE\b/.test(qe)&&(dt=null),_e||(Fe=null)),Te=["Presto"],Ve.push(qe));(qe=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ee)||0)[1])&&(qe=[parseFloat(qe.replace(/\.(\d)$/,".0$1")),qe],Ne=="Safari"&&qe[1].slice(-1)=="+"?(Ne="WebKit Nightly",Ie="alpha",Fe=qe[1].slice(0,-1)):(Fe==qe[1]||Fe==(qe[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ee)||0)[1]))&&(Fe=null),qe[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ee)||0)[1],qe[0]==537.36&&qe[2]==537.36&&parseFloat(qe[1])>=28&&Te=="WebKit"&&(Te=["Blink"]),!_e||!ze&&!qe[1]?(Te&&(Te[1]="like Safari"),qe=(qe=qe[0],qe<400?1:qe<500?2:qe<526?3:qe<533?4:qe<534?"4+":qe<535?5:qe<537?6:qe<538?7:qe<601?8:qe<602?9:qe<604?10:qe<606?11:qe<608?12:"12")):(Te&&(Te[1]="like Chrome"),qe=qe[1]||(qe=qe[0],qe<530?1:qe<532?2:qe<532.05?3:qe<533?4:qe<534.03?5:qe<534.07?6:qe<534.1?7:qe<534.13?8:qe<534.16?9:qe<534.24?10:qe<534.3?11:qe<535.01?12:qe<535.02?"13+":qe<535.07?15:qe<535.11?16:qe<535.19?17:qe<536.05?18:qe<536.1?19:qe<537.01?20:qe<537.11?"21+":qe<537.13?23:qe<537.18?24:qe<537.24?25:qe<537.36?26:Te!="Blink"?"27":"28")),Te&&(Te[1]+=" "+(qe+=typeof qe=="number"?".x":/[.+]/.test(qe)?"":"+")),Ne=="Safari"&&(!Fe||parseInt(Fe)>45)?Fe=qe:Ne=="Chrome"&&/\bHeadlessChrome/i.test(Ee)&&Ve.unshift("headless")),Ne=="Opera"&&(qe=/\bzbov|zvav$/.exec(dt))?(Ne+=" ",Ve.unshift("desktop mode"),qe=="zvav"?(Ne+="Mini",Fe=null):Ne+="Mobile",dt=dt.replace(RegExp(" *"+qe+"$"),"")):Ne=="Safari"&&/\bChrome\b/.exec(Te&&Te[1])?(Ve.unshift("desktop mode"),Ne="Chrome Mobile",Fe=null,/\bOS X\b/.test(dt)?(Ge="Apple",dt="iOS 4.3+"):dt=null):/\bSRWare Iron\b/.test(Ne)&&!Fe&&(Fe=Lt("Chrome")),Fe&&Fe.indexOf(qe=/[\d.]+$/.exec(dt))==0&&Ee.indexOf("/"+qe+"-")>-1&&(dt=Pe(dt.replace(qe,""))),dt&&dt.indexOf(Ne)!=-1&&!RegExp(Ne+" OS").test(dt)&&(dt=dt.replace(RegExp(" *"+Ce(Ne)+" *"),"")),Te&&!/\b(?:Avant|Nook)\b/.test(Ne)&&(/Browser|Lunascape|Maxthon/.test(Ne)||Ne!="Safari"&&/^iOS/.test(dt)&&/\bSafari\b/.test(Te[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ne)&&Te[1])&&(qe=Te[Te.length-1])&&Ve.push(qe),Ve.length&&(Ve=["("+Ve.join("; ")+")"]),Ge&&Le&&Le.indexOf(Ge)<0&&Ve.push("on "+Ge),Le&&Ve.push((/^on /.test(Ve[Ve.length-1])?"":"on ")+Le),dt&&(qe=/ ([\d.+]+)$/.exec(dt),De=qe&&dt.charAt(dt.length-qe[0].length-1)=="/",dt={architecture:32,family:qe&&!De?dt.replace(qe[0],""):dt,version:qe?qe[1]:null,toString:function(){var bt=this.version;return this.family+(bt&&!De?" "+bt:"")+(this.architecture==64?" 64-bit":"")}}),(qe=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(je))&&!/\bi686\b/i.test(je)?(dt&&(dt.architecture=64,dt.family=dt.family.replace(RegExp(" *"+qe),"")),Ne&&(/\bWOW64\b/i.test(Ee)||_e&&/\w(?:86|32)$/.test(ke.cpuClass||ke.platform)&&!/\bWin64; x64\b/i.test(Ee))&&Ve.unshift("32-bit")):dt&&/^OS X/.test(dt.family)&&Ne=="Chrome"&&parseFloat(Fe)>=39&&(dt.architecture=64),Ee||(Ee=null);var Nt={};return Nt.description=Ee,Nt.layout=Te&&Te[0],Nt.manufacturer=Ge,Nt.name=Ne,Nt.prerelease=Ie,Nt.product=Le,Nt.ua=Ee,Nt.version=Ne&&Fe,Nt.os=dt||{architecture:null,family:null,version:null,toString:function(){return"null"}},Nt.parse=Be,Nt.toString=Ft,Nt.version&&Ve.unshift(Fe),Nt.name&&Ve.unshift(Ne),dt&&Ne&&!(dt==String(dt).split(" ")[0]&&(dt==Ne.split(" ")[0]||Le))&&Ve.push(Le?"("+dt+")":"on "+dt),Ve.length&&(Nt.description=Ve.join(" ")),Nt}var Ue=Be();typeof pe=="function"&&typeof pe.amd=="object"&&pe.amd?(ae.platform=Ue,pe(function(){return Ue})):re&&se?ve(Ue,function(Ee,He){re[He]=Ee}):ae.platform=Ue}).call(this)}).call(this)}).call(this,typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,we,fe){(function(ue){(function(){"use strict";typeof ue=="undefined"||!ue.version||ue.version.indexOf("v0.")===0||ue.version.indexOf("v1.")===0&&ue.version.indexOf("v1.8.")!==0?we.exports={nextTick:oe}:we.exports=ue;function oe(ae,le,re,se){if(typeof ae!="function")throw new TypeError('"callback" argument must be a function');var ie=arguments.length,ne,z;switch(ie){case 0:case 1:return ue.nextTick(ae);case 2:return ue.nextTick(function(){ae.call(null,le)});case 3:return ue.nextTick(function(){ae.call(null,le,re)});case 4:return ue.nextTick(function(){ae.call(null,le,re,se)});default:for(ne=new Array(ie-1),z=0;z1)for(var ve=1;ve= 0x80 (not a basic code point)","invalid-input":"Invalid input"},be=ne-z,Ce=Math.floor,Se=String.fromCharCode,Pe;function Be(At){throw new RangeError(ye[At])}function Ue(At,ot){for(var rt=At.length,lt=[];rt--;)lt[rt]=ot(At[rt]);return lt}function Ee(At,ot){var rt=At.split("@"),lt="";rt.length>1&&(lt=rt[0]+"@",At=rt[1]),At=At.replace(ve,".");var gt=At.split("."),yt=Ue(gt,ot).join(".");return lt+yt}function He(At){for(var ot=[],rt=0,lt=At.length,gt,yt;rt=55296&><=56319&&rt65535&&(ot-=65536,rt+=Se(ot>>>10&1023|55296),ot=56320|ot&1023),rt+=Se(ot),rt}).join("")}function ke(At){return At-48<10?At-22:At-65<26?At-65:At-97<26?At-97:ne}function Xe(At,ot){return At+22+75*(At<26)-((ot!=0)<<5)}function $e(At,ot,rt){var lt=0;for(At=rt?Ce(At/x):At>>1,At+=Ce(At/ot);At>be*y>>1;lt+=ne)At=Ce(At/be);return Ce(lt+(be+1)*At/(At+a))}function ze(At){var ot=[],rt=At.length,lt,gt=0,yt=ee,Tt=b,vt,ut,qe,je,Ve,Ie,_e,Fe,De;for(vt=At.lastIndexOf(te),vt<0&&(vt=0),ut=0;ut=128&&Be("not-basic"),ot.push(At.charCodeAt(ut));for(qe=vt>0?vt+1:0;qe=rt&&Be("invalid-input"),_e=ke(At.charCodeAt(qe++)),(_e>=ne||_e>Ce((ie-gt)/Ve))&&Be("overflow"),gt+=_e*Ve,Fe=Ie<=Tt?z:Ie>=Tt+y?y:Ie-Tt,!(_eCe(ie/De)&&Be("overflow"),Ve*=De;lt=ot.length+1,Tt=$e(gt-je,lt,je==0),Ce(gt/lt)>ie-yt&&Be("overflow"),yt+=Ce(gt/lt),gt%=lt,ot.splice(gt++,0,yt)}return Oe(ot)}function at(At){var ot,rt,lt,gt,yt,Tt,vt,ut,qe,je,Ve,Ie=[],_e,Fe,De,Te;for(At=He(At),_e=At.length,ot=ee,rt=0,yt=b,Tt=0;Tt<_e;++Tt)Ve=At[Tt],Ve<128&&Ie.push(Se(Ve));for(lt=gt=Ie.length,gt&&Ie.push(te);lt<_e;){for(vt=ie,Tt=0;Tt<_e;++Tt)Ve=At[Tt],Ve>=ot&&VeCe((ie-rt)/Fe)&&Be("overflow"),rt+=(vt-ot)*Fe,ot=vt,Tt=0;Tt<_e;++Tt)if(Ve=At[Tt],Veie&&Be("overflow"),Ve==ot){for(ut=rt,qe=ne;je=qe<=yt?z:qe>=yt+y?y:qe-yt,!(ut0&&y>z&&(y=z);for(var a=0;a=0?(ee=x.substr(0,b),te=x.substr(b+1)):(ee=x,te=""),de=decodeURIComponent(ee),ge=decodeURIComponent(te),ue(ie,de)?oe(ie[de])?ie[de].push(ge):ie[de]=[ie[de],ge]:ie[de]=ge}return ie};var oe=Array.isArray||function(ae){return Object.prototype.toString.call(ae)==="[object Array]"}},{}],384:[function(E,we,fe){"use strict";var ue=function(re){switch(typeof re){case"string":return re;case"boolean":return re?"true":"false";case"number":return isFinite(re)?re:"";default:return""}};we.exports=function(re,se,ie,ne){return se=se||"&",ie=ie||"=",re===null&&(re=void 0),typeof re=="object"?ae(le(re),function(z){var y=encodeURIComponent(ue(z))+ie;return oe(re[z])?ae(re[z],function(a){return y+encodeURIComponent(ue(a))}).join(se):y+encodeURIComponent(ue(re[z]))}).join(se):ne?encodeURIComponent(ue(ne))+ie+encodeURIComponent(ue(re)):""};var oe=Array.isArray||function(re){return Object.prototype.toString.call(re)==="[object Array]"};function ae(re,se){if(re.map)return re.map(se);for(var ie=[],ne=0;ne0?(typeof Ie!="string"&&!Te.objectMode&&Object.getPrototypeOf(Ie)!==z.prototype&&(Ie=a(Ie)),Fe?Te.endEmitted?Ve.emit("error",new Error("stream.unshift() after end event")):Be(Ve,Te,Ie,!0):Te.ended?Ve.emit("error",new Error("stream.push() after EOF")):(Te.reading=!1,Te.decoder&&!_e?(Ie=Te.decoder.write(Ie),Te.objectMode||Ie.length!==0?Be(Ve,Te,Ie,!1):at(Ve,Te)):Be(Ve,Te,Ie,!1))):Fe||(Te.reading=!1)}return Ee(Te)}function Be(Ve,Ie,_e,Fe){Ie.flowing&&Ie.length===0&&!Ie.sync?(Ve.emit("data",_e),Ve.read(0)):(Ie.length+=Ie.objectMode?1:_e.length,Fe?Ie.buffer.unshift(_e):Ie.buffer.push(_e),Ie.needReadable&&$e(Ve)),at(Ve,Ie)}function Ue(Ve,Ie){var _e;return!x(Ie)&&typeof Ie!="string"&&Ie!==void 0&&!Ve.objectMode&&(_e=new TypeError("Invalid non-string/buffer chunk")),_e}function Ee(Ve){return!Ve.ended&&(Ve.needReadable||Ve.length=He?Ve=He:(Ve--,Ve|=Ve>>>1,Ve|=Ve>>>2,Ve|=Ve>>>4,Ve|=Ve>>>8,Ve|=Ve>>>16,Ve++),Ve}function ke(Ve,Ie){return Ve<=0||Ie.length===0&&Ie.ended?0:Ie.objectMode?1:Ve!==Ve?Ie.flowing&&Ie.length?Ie.buffer.head.data.length:Ie.length:(Ve>Ie.highWaterMark&&(Ie.highWaterMark=Oe(Ve)),Ve<=Ie.length?Ve:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}Se.prototype.read=function(Ve){te("read",Ve),Ve=parseInt(Ve,10);var Ie=this._readableState,_e=Ve;if(Ve!==0&&(Ie.emittedReadable=!1),Ve===0&&Ie.needReadable&&(Ie.length>=Ie.highWaterMark||Ie.ended))return te("read: emitReadable",Ie.length,Ie.ended),Ie.length===0&&Ie.ended?ut(this):$e(this),null;if(Ve=ke(Ve,Ie),Ve===0&&Ie.ended)return Ie.length===0&&ut(this),null;var Fe=Ie.needReadable;te("need readable",Fe),(Ie.length===0||Ie.length-Ve0?De=gt(Ve,Ie):De=null,De===null?(Ie.needReadable=!0,Ve=0):Ie.length-=Ve,Ie.length===0&&(Ie.ended||(Ie.needReadable=!0),_e!==Ve&&Ie.ended&&ut(this)),De!==null&&this.emit("data",De),De};function Xe(Ve,Ie){if(!Ie.ended){if(Ie.decoder){var _e=Ie.decoder.end();_e&&_e.length&&(Ie.buffer.push(_e),Ie.length+=Ie.objectMode?1:_e.length)}Ie.ended=!0,$e(Ve)}}function $e(Ve){var Ie=Ve._readableState;Ie.needReadable=!1,Ie.emittedReadable||(te("emitReadable",Ie.flowing),Ie.emittedReadable=!0,Ie.sync?ae.nextTick(ze,Ve):ze(Ve))}function ze(Ve){te("emit readable"),Ve.emit("readable"),lt(Ve)}function at(Ve,Ie){Ie.readingMore||(Ie.readingMore=!0,ae.nextTick(et,Ve,Ie))}function et(Ve,Ie){for(var _e=Ie.length;!Ie.reading&&!Ie.flowing&&!Ie.ended&&Ie.length1&&je(Fe.pipes,Ve)!==-1)&&!dt&&(te("false write response, pause",_e._readableState.awaitDrain),_e._readableState.awaitDrain++,st=!0),_e.pause())}function Bt(Nt){te("onerror",Nt),Ft(),Ve.removeListener("error",Bt),ie(Ve,"error")===0&&Ve.emit("error",Nt)}be(Ve,"error",Bt);function wt(){Ve.removeListener("finish",Lt),Ft()}Ve.once("close",wt);function Lt(){te("onfinish"),Ve.removeListener("close",wt),Ft()}Ve.once("finish",Lt);function Ft(){te("unpipe"),_e.unpipe(Ve)}return Ve.emit("pipe",_e),Fe.flowing||(te("pipe resume"),_e.resume()),Ve};function it(Ve){return function(){var Ie=Ve._readableState;te("pipeOnDrain",Ie.awaitDrain),Ie.awaitDrain&&Ie.awaitDrain--,Ie.awaitDrain===0&&ie(Ve,"data")&&(Ie.flowing=!0,lt(Ve))}}Se.prototype.unpipe=function(Ve){var Ie=this._readableState,_e={hasUnpiped:!1};if(Ie.pipesCount===0)return this;if(Ie.pipesCount===1)return Ve&&Ve!==Ie.pipes?this:(Ve||(Ve=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,Ve&&Ve.emit("unpipe",this,_e),this);if(!Ve){var Fe=Ie.pipes,De=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var Te=0;Te=Ie.length?(Ie.decoder?_e=Ie.buffer.join(""):Ie.buffer.length===1?_e=Ie.buffer.head.data:_e=Ie.buffer.concat(Ie.length),Ie.buffer.clear()):_e=yt(Ve,Ie.buffer,Ie.decoder),_e}function yt(Ve,Ie,_e){var Fe;return VeTe.length?Te.length:Ve;if(Ne===Te.length?De+=Te:De+=Te.slice(0,Ve),Ve-=Ne,Ve===0){Ne===Te.length?(++Fe,_e.next?Ie.head=_e.next:Ie.head=Ie.tail=null):(Ie.head=_e,_e.data=Te.slice(Ne));break}++Fe}return Ie.length-=Fe,De}function vt(Ve,Ie){var _e=z.allocUnsafe(Ve),Fe=Ie.head,De=1;for(Fe.data.copy(_e),Ve-=Fe.data.length;Fe=Fe.next;){var Te=Fe.data,Ne=Ve>Te.length?Te.length:Ve;if(Te.copy(_e,_e.length-Ve,0,Ne),Ve-=Ne,Ve===0){Ne===Te.length?(++De,Fe.next?Ie.head=Fe.next:Ie.head=Ie.tail=null):(Ie.head=Fe,Fe.data=Te.slice(Ne));break}++De}return Ie.length-=De,_e}function ut(Ve){var Ie=Ve._readableState;if(Ie.length>0)throw new Error('"endReadable()" called on non-empty stream');Ie.endEmitted||(Ie.ended=!0,ae.nextTick(qe,Ie,Ve))}function qe(Ve,Ie){!Ve.endEmitted&&Ve.length===0&&(Ve.endEmitted=!0,Ie.readable=!1,Ie.emit("end"))}function je(Ve,Ie){for(var _e=0,Fe=Ve.length;_e-1?ae:le.nextTick,ne;be.WritableState=ve;var z=Object.create(E("core-util-is"));z.inherits=E("inherits");var y={deprecate:E("util-deprecate")},a=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=oe.Uint8Array||function(){};function ee(rt){return x.from(rt)}function te(rt){return x.isBuffer(rt)||rt instanceof b}var de=E("./internal/streams/destroy");z.inherits(be,a);function ge(){}function ve(rt,lt){ne=ne||E("./_stream_duplex"),rt=rt||{};var gt=lt instanceof ne;this.objectMode=!!rt.objectMode,gt&&(this.objectMode=this.objectMode||!!rt.writableObjectMode);var yt=rt.highWaterMark,Tt=rt.writableHighWaterMark,vt=this.objectMode?16:16*1024;yt||yt===0?this.highWaterMark=yt:gt&&(Tt||Tt===0)?this.highWaterMark=Tt:this.highWaterMark=vt,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ut=rt.decodeStrings===!1;this.decodeStrings=!ut,this.defaultEncoding=rt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(qe){Oe(lt,qe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new se(this)}ve.prototype.getBuffer=function(){for(var lt=this.bufferedRequest,gt=[];lt;)gt.push(lt),lt=lt.next;return gt},function(){try{Object.defineProperty(ve.prototype,"buffer",{get:y.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(rt){}}();var ye;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ye=Function.prototype[Symbol.hasInstance],Object.defineProperty(be,Symbol.hasInstance,{value:function(rt){return ye.call(this,rt)?!0:this!==be?!1:rt&&rt._writableState instanceof ve}})):ye=function(rt){return rt instanceof this};function be(rt){if(ne=ne||E("./_stream_duplex"),!ye.call(be,this)&&!(this instanceof ne))return new be(rt);this._writableState=new ve(rt,this),this.writable=!0,rt&&(typeof rt.write=="function"&&(this._write=rt.write),typeof rt.writev=="function"&&(this._writev=rt.writev),typeof rt.destroy=="function"&&(this._destroy=rt.destroy),typeof rt.final=="function"&&(this._final=rt.final)),a.call(this)}be.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Ce(rt,lt){var gt=new Error("write after end");rt.emit("error",gt),le.nextTick(lt,gt)}function Se(rt,lt,gt,yt){var Tt=!0,vt=!1;return gt===null?vt=new TypeError("May not write null values to stream"):typeof gt!="string"&>!==void 0&&!lt.objectMode&&(vt=new TypeError("Invalid non-string/buffer chunk")),vt&&(rt.emit("error",vt),le.nextTick(yt,vt),Tt=!1),Tt}be.prototype.write=function(rt,lt,gt){var yt=this._writableState,Tt=!1,vt=!yt.objectMode&&te(rt);return vt&&!x.isBuffer(rt)&&(rt=ee(rt)),typeof lt=="function"&&(gt=lt,lt=null),vt?lt="buffer":lt||(lt=yt.defaultEncoding),typeof gt!="function"&&(gt=ge),yt.ended?Ce(this,gt):(vt||Se(this,yt,rt,gt))&&(yt.pendingcb++,Tt=Be(this,yt,vt,rt,lt,gt)),Tt},be.prototype.cork=function(){var rt=this._writableState;rt.corked++},be.prototype.uncork=function(){var rt=this._writableState;rt.corked&&(rt.corked--,!rt.writing&&!rt.corked&&!rt.finished&&!rt.bufferProcessing&&rt.bufferedRequest&&$e(this,rt))},be.prototype.setDefaultEncoding=function(lt){if(typeof lt=="string"&&(lt=lt.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((lt+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+lt);return this._writableState.defaultEncoding=lt,this};function Pe(rt,lt,gt){return!rt.objectMode&&rt.decodeStrings!==!1&&typeof lt=="string"&&(lt=x.from(lt,gt)),lt}Object.defineProperty(be.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Be(rt,lt,gt,yt,Tt,vt){if(!gt){var ut=Pe(lt,yt,Tt);yt!==ut&&(gt=!0,Tt="buffer",yt=ut)}var qe=lt.objectMode?1:yt.length;lt.length+=qe;var je=lt.length0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},re.prototype.unshift=function(ie){var ne={data:ie,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++this.length},re.prototype.shift=function(){if(this.length!==0){var ie=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ie}},re.prototype.clear=function(){this.head=this.tail=null,this.length=0},re.prototype.join=function(ie){if(this.length===0)return"";for(var ne=this.head,z=""+ne.data;ne=ne.next;)z+=ie+ne.data;return z},re.prototype.concat=function(ie){if(this.length===0)return oe.alloc(0);if(this.length===1)return this.head.data;for(var ne=oe.allocUnsafe(ie>>>0),z=this.head,y=0;z;)le(z.data,ne,y),y+=z.data.length,z=z.next;return ne},re}(),ae&&ae.inspect&&ae.inspect.custom&&(we.exports.prototype[ae.inspect.custom]=function(){var re=ae.inspect({length:this.length});return this.constructor.name+" "+re})},{"safe-buffer":396,util:89}],392:[function(E,we,fe){"use strict";var ue=E("process-nextick-args");function oe(re,se){var ie=this,ne=this._readableState&&this._readableState.destroyed,z=this._writableState&&this._writableState.destroyed;return ne||z?(se?se(re):re&&(!this._writableState||!this._writableState.errorEmitted)&&ue.nextTick(le,this,re),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(re||null,function(y){!se&&y?(ue.nextTick(le,ie,y),ie._writableState&&(ie._writableState.errorEmitted=!0)):se&&se(y)}),this)}function ae(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function le(re,se){re.emit("error",se)}we.exports={destroy:oe,undestroy:ae}},{"process-nextick-args":380}],393:[function(E,we,fe){we.exports=E("events").EventEmitter},{events:344}],394:[function(E,we,fe){fe=we.exports=E("./lib/_stream_readable.js"),fe.Stream=fe,fe.Readable=fe,fe.Writable=E("./lib/_stream_writable.js"),fe.Duplex=E("./lib/_stream_duplex.js"),fe.Transform=E("./lib/_stream_transform.js"),fe.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,we,fe){var ue=function(oe){"use strict";var ae=Object.prototype,le=ae.hasOwnProperty,re,se=typeof Symbol=="function"?Symbol:{},ie=se.iterator||"@@iterator",ne=se.asyncIterator||"@@asyncIterator",z=se.toStringTag||"@@toStringTag";function y(et,it,At){return Object.defineProperty(et,it,{value:At,enumerable:!0,configurable:!0,writable:!0}),et[it]}try{y({},"")}catch(et){y=function(it,At,ot){return it[At]=ot}}function a(et,it,At,ot){var rt=it&&it.prototype instanceof ve?it:ve,lt=Object.create(rt.prototype),gt=new $e(ot||[]);return lt._invoke=He(et,At,gt),lt}oe.wrap=a;function x(et,it,At){try{return{type:"normal",arg:et.call(it,At)}}catch(ot){return{type:"throw",arg:ot}}}var b="suspendedStart",ee="suspendedYield",te="executing",de="completed",ge={};function ve(){}function ye(){}function be(){}var Ce={};y(Ce,ie,function(){return this});var Se=Object.getPrototypeOf,Pe=Se&&Se(Se(ze([])));Pe&&Pe!==ae&&le.call(Pe,ie)&&(Ce=Pe);var Be=be.prototype=ve.prototype=Object.create(Ce);ye.prototype=be,y(Be,"constructor",be),y(be,"constructor",ye),ye.displayName=y(be,z,"GeneratorFunction");function Ue(et){["next","throw","return"].forEach(function(it){y(et,it,function(At){return this._invoke(it,At)})})}oe.isGeneratorFunction=function(et){var it=typeof et=="function"&&et.constructor;return it?it===ye||(it.displayName||it.name)==="GeneratorFunction":!1},oe.mark=function(et){return Object.setPrototypeOf?Object.setPrototypeOf(et,be):(et.__proto__=be,y(et,z,"GeneratorFunction")),et.prototype=Object.create(Be),et},oe.awrap=function(et){return{__await:et}};function Ee(et,it){function At(lt,gt,yt,Tt){var vt=x(et[lt],et,gt);if(vt.type==="throw")Tt(vt.arg);else{var ut=vt.arg,qe=ut.value;return qe&&typeof qe=="object"&&le.call(qe,"__await")?it.resolve(qe.__await).then(function(je){At("next",je,yt,Tt)},function(je){At("throw",je,yt,Tt)}):it.resolve(qe).then(function(je){ut.value=je,yt(ut)},function(je){return At("throw",je,yt,Tt)})}}var ot;function rt(lt,gt){function yt(){return new it(function(Tt,vt){At(lt,gt,Tt,vt)})}return ot=ot?ot.then(yt,yt):yt()}this._invoke=rt}Ue(Ee.prototype),y(Ee.prototype,ne,function(){return this}),oe.AsyncIterator=Ee,oe.async=function(et,it,At,ot,rt){rt===void 0&&(rt=Promise);var lt=new Ee(a(et,it,At,ot),rt);return oe.isGeneratorFunction(it)?lt:lt.next().then(function(gt){return gt.done?gt.value:lt.next()})};function He(et,it,At){var ot=b;return function(lt,gt){if(ot===te)throw new Error("Generator is already running");if(ot===de){if(lt==="throw")throw gt;return at()}for(At.method=lt,At.arg=gt;;){var yt=At.delegate;if(yt){var Tt=Oe(yt,At);if(Tt){if(Tt===ge)continue;return Tt}}if(At.method==="next")At.sent=At._sent=At.arg;else if(At.method==="throw"){if(ot===b)throw ot=de,At.arg;At.dispatchException(At.arg)}else At.method==="return"&&At.abrupt("return",At.arg);ot=te;var vt=x(et,it,At);if(vt.type==="normal"){if(ot=At.done?de:ee,vt.arg===ge)continue;return{value:vt.arg,done:At.done}}else vt.type==="throw"&&(ot=de,At.method="throw",At.arg=vt.arg)}}}function Oe(et,it){var At=et.iterator[it.method];if(At===re){if(it.delegate=null,it.method==="throw"){if(et.iterator.return&&(it.method="return",it.arg=re,Oe(et,it),it.method==="throw"))return ge;it.method="throw",it.arg=new TypeError("The iterator does not provide a 'throw' method")}return ge}var ot=x(At,et.iterator,it.arg);if(ot.type==="throw")return it.method="throw",it.arg=ot.arg,it.delegate=null,ge;var rt=ot.arg;if(!rt)return it.method="throw",it.arg=new TypeError("iterator result is not an object"),it.delegate=null,ge;if(rt.done)it[et.resultName]=rt.value,it.next=et.nextLoc,it.method!=="return"&&(it.method="next",it.arg=re);else return rt;return it.delegate=null,ge}Ue(Be),y(Be,z,"Generator"),y(Be,ie,function(){return this}),y(Be,"toString",function(){return"[object Generator]"});function ke(et){var it={tryLoc:et[0]};1 in et&&(it.catchLoc=et[1]),2 in et&&(it.finallyLoc=et[2],it.afterLoc=et[3]),this.tryEntries.push(it)}function Xe(et){var it=et.completion||{};it.type="normal",delete it.arg,et.completion=it}function $e(et){this.tryEntries=[{tryLoc:"root"}],et.forEach(ke,this),this.reset(!0)}oe.keys=function(et){var it=[];for(var At in et)it.push(At);return it.reverse(),function ot(){for(;it.length;){var rt=it.pop();if(rt in et)return ot.value=rt,ot.done=!1,ot}return ot.done=!0,ot}};function ze(et){if(et){var it=et[ie];if(it)return it.call(et);if(typeof et.next=="function")return et;if(!isNaN(et.length)){var At=-1,ot=function rt(){for(;++At=0;--ot){var rt=this.tryEntries[ot],lt=rt.completion;if(rt.tryLoc==="root")return At("end");if(rt.tryLoc<=this.prev){var gt=le.call(rt,"catchLoc"),yt=le.call(rt,"finallyLoc");if(gt&&yt){if(this.prev=0;--At){var ot=this.tryEntries[At];if(ot.tryLoc<=this.prev&&le.call(ot,"finallyLoc")&&this.prev=0;--it){var At=this.tryEntries[it];if(At.finallyLoc===et)return this.complete(At.completion,At.afterLoc),Xe(At),ge}},catch:function(et){for(var it=this.tryEntries.length-1;it>=0;--it){var At=this.tryEntries[it];if(At.tryLoc===et){var ot=At.completion;if(ot.type==="throw"){var rt=ot.arg;Xe(At)}return rt}}throw new Error("illegal catch attempt")},delegateYield:function(et,it,At){return this.delegate={iterator:ze(et),resultName:it,nextLoc:At},this.method==="next"&&(this.arg=re),ge}},oe}(typeof we=="object"?we.exports:{});try{regeneratorRuntime=ue}catch(oe){typeof globalThis=="object"?globalThis.regeneratorRuntime=ue:Function("r","regeneratorRuntime = r")(ue)}},{}],396:[function(E,we,fe){var ue=E("buffer"),oe=ue.Buffer;function ae(re,se){for(var ie in re)se[ie]=re[ie]}oe.from&&oe.alloc&&oe.allocUnsafe&&oe.allocUnsafeSlow?we.exports=ue:(ae(ue,fe),fe.Buffer=le);function le(re,se,ie){return oe(re,se,ie)}ae(oe,le),le.from=function(re,se,ie){if(typeof re=="number")throw new TypeError("Argument must not be a number");return oe(re,se,ie)},le.alloc=function(re,se,ie){if(typeof re!="number")throw new TypeError("Argument must be a number");var ne=oe(re);return se!==void 0?typeof ie=="string"?ne.fill(se,ie):ne.fill(se):ne.fill(0),ne},le.allocUnsafe=function(re){if(typeof re!="number")throw new TypeError("Argument must be a number");return oe(re)},le.allocUnsafeSlow=function(re){if(typeof re!="number")throw new TypeError("Argument must be a number");return ue.SlowBuffer(re)}},{buffer:90}],397:[function(E,we,fe){(function(ue){(function(){(function(oe){oe.parser=function(ut,qe){return new le(ut,qe)},oe.SAXParser=le,oe.SAXStream=a,oe.createStream=y,oe.MAX_BUFFER_LENGTH=64*1024;var ae=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];oe.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function le(ut,qe){if(!(this instanceof le))return new le(ut,qe);var je=this;se(je),je.q=je.c="",je.bufferCheckPosition=oe.MAX_BUFFER_LENGTH,je.opt=qe||{},je.opt.lowercase=je.opt.lowercase||je.opt.lowercasetags,je.looseCase=je.opt.lowercase?"toLowerCase":"toUpperCase",je.tags=[],je.closed=je.closedRoot=je.sawRoot=!1,je.tag=je.error=null,je.strict=!!ut,je.noscript=!!(ut||je.opt.noscript),je.state=Ee.BEGIN,je.strictEntities=je.opt.strictEntities,je.ENTITIES=je.strictEntities?Object.create(oe.XML_ENTITIES):Object.create(oe.ENTITIES),je.attribList=[],je.opt.xmlns&&(je.ns=Object.create(de)),je.trackPosition=je.opt.position!==!1,je.trackPosition&&(je.position=je.line=je.column=0),Oe(je,"onready")}Object.create||(Object.create=function(ut){function qe(){}qe.prototype=ut;var je=new qe;return je}),Object.keys||(Object.keys=function(ut){var qe=[];for(var je in ut)ut.hasOwnProperty(je)&&qe.push(je);return qe});function re(ut){for(var qe=Math.max(oe.MAX_BUFFER_LENGTH,10),je=0,Ve=0,Ie=ae.length;Veqe)switch(ae[Ve]){case"textNode":Xe(ut);break;case"cdata":ke(ut,"oncdata",ut.cdata),ut.cdata="";break;case"script":ke(ut,"onscript",ut.script),ut.script="";break;default:ze(ut,"Max buffer length exceeded: "+ae[Ve])}je=Math.max(je,_e)}var Fe=oe.MAX_BUFFER_LENGTH-je;ut.bufferCheckPosition=Fe+ut.position}function se(ut){for(var qe=0,je=ae.length;qe"||Ce(ut)}function Be(ut,qe){return ut.test(qe)}function Ue(ut,qe){return!Be(ut,qe)}var Ee=0;oe.STATE={BEGIN:Ee++,BEGIN_WHITESPACE:Ee++,TEXT:Ee++,TEXT_ENTITY:Ee++,OPEN_WAKA:Ee++,SGML_DECL:Ee++,SGML_DECL_QUOTED:Ee++,DOCTYPE:Ee++,DOCTYPE_QUOTED:Ee++,DOCTYPE_DTD:Ee++,DOCTYPE_DTD_QUOTED:Ee++,COMMENT_STARTING:Ee++,COMMENT:Ee++,COMMENT_ENDING:Ee++,COMMENT_ENDED:Ee++,CDATA:Ee++,CDATA_ENDING:Ee++,CDATA_ENDING_2:Ee++,PROC_INST:Ee++,PROC_INST_BODY:Ee++,PROC_INST_ENDING:Ee++,OPEN_TAG:Ee++,OPEN_TAG_SLASH:Ee++,ATTRIB:Ee++,ATTRIB_NAME:Ee++,ATTRIB_NAME_SAW_WHITE:Ee++,ATTRIB_VALUE:Ee++,ATTRIB_VALUE_QUOTED:Ee++,ATTRIB_VALUE_CLOSED:Ee++,ATTRIB_VALUE_UNQUOTED:Ee++,ATTRIB_VALUE_ENTITY_Q:Ee++,ATTRIB_VALUE_ENTITY_U:Ee++,CLOSE_TAG:Ee++,CLOSE_TAG_SAW_WHITE:Ee++,SCRIPT:Ee++,SCRIPT_ENDING:Ee++},oe.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},oe.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(oe.ENTITIES).forEach(function(ut){var qe=oe.ENTITIES[ut],je=typeof qe=="number"?String.fromCharCode(qe):qe;oe.ENTITIES[ut]=je});for(var He in oe.STATE)oe.STATE[oe.STATE[He]]=He;Ee=oe.STATE;function Oe(ut,qe,je){ut[qe]&&ut[qe](je)}function ke(ut,qe,je){ut.textNode&&Xe(ut),Oe(ut,qe,je)}function Xe(ut){ut.textNode=$e(ut.opt,ut.textNode),ut.textNode&&Oe(ut,"ontext",ut.textNode),ut.textNode=""}function $e(ut,qe){return ut.trim&&(qe=qe.trim()),ut.normalize&&(qe=qe.replace(/\s+/g," ")),qe}function ze(ut,qe){return Xe(ut),ut.trackPosition&&(qe+=` Line: `+ut.line+` Column: `+ut.column+` Char: `+ut.c),qe=new Error(qe),ut.error=qe,Oe(ut,"onerror",qe),ut}function at(ut){return ut.sawRoot&&!ut.closedRoot&&et(ut,"Unclosed root tag"),ut.state!==Ee.BEGIN&&ut.state!==Ee.BEGIN_WHITESPACE&&ut.state!==Ee.TEXT&&ze(ut,"Unexpected end"),Xe(ut),ut.c="",ut.closed=!0,Oe(ut,"onend"),le.call(ut,ut.strict,ut.opt),ut}function et(ut,qe){if(typeof ut!="object"||!(ut instanceof le))throw new Error("bad call to strictFail");ut.strict&&ze(ut,qe)}function it(ut){ut.strict||(ut.tagName=ut.tagName[ut.looseCase]());var qe=ut.tags[ut.tags.length-1]||ut,je=ut.tag={name:ut.tagName,attributes:{}};ut.opt.xmlns&&(je.ns=qe.ns),ut.attribList.length=0,ke(ut,"onopentagstart",je)}function At(ut,qe){var je=ut.indexOf(":"),Ve=je<0?["",ut]:ut.split(":"),Ie=Ve[0],_e=Ve[1];return qe&&ut==="xmlns"&&(Ie="xmlns",_e=""),{prefix:Ie,local:_e}}function ot(ut){if(ut.strict||(ut.attribName=ut.attribName[ut.looseCase]()),ut.attribList.indexOf(ut.attribName)!==-1||ut.tag.attributes.hasOwnProperty(ut.attribName)){ut.attribName=ut.attribValue="";return}if(ut.opt.xmlns){var qe=At(ut.attribName,!0),je=qe.prefix,Ve=qe.local;if(je==="xmlns")if(Ve==="xml"&&ut.attribValue!==ee)et(ut,"xml: prefix must be bound to "+ee+` Actual: `+ut.attribValue);else if(Ve==="xmlns"&&ut.attribValue!==te)et(ut,"xmlns: prefix must be bound to "+te+` Actual: `+ut.attribValue);else{var Ie=ut.tag,_e=ut.tags[ut.tags.length-1]||ut;Ie.ns===_e.ns&&(Ie.ns=Object.create(_e.ns)),Ie.ns[Ve]=ut.attribValue}ut.attribList.push([ut.attribName,ut.attribValue])}else ut.tag.attributes[ut.attribName]=ut.attribValue,ke(ut,"onattribute",{name:ut.attribName,value:ut.attribValue});ut.attribName=ut.attribValue=""}function rt(ut,qe){if(ut.opt.xmlns){var je=ut.tag,Ve=At(ut.tagName);je.prefix=Ve.prefix,je.local=Ve.local,je.uri=je.ns[Ve.prefix]||"",je.prefix&&!je.uri&&(et(ut,"Unbound namespace prefix: "+JSON.stringify(ut.tagName)),je.uri=Ve.prefix);var Ie=ut.tags[ut.tags.length-1]||ut;je.ns&&Ie.ns!==je.ns&&Object.keys(je.ns).forEach(function(Et){ke(ut,"onopennamespace",{prefix:Et,uri:je.ns[Et]})});for(var _e=0,Fe=ut.attribList.length;_e",ut.tagName="",ut.state=Ee.SCRIPT;return}ke(ut,"onscript",ut.script),ut.script=""}var qe=ut.tags.length,je=ut.tagName;ut.strict||(je=je[ut.looseCase]());for(var Ve=je;qe--;){var Ie=ut.tags[qe];if(Ie.name!==Ve)et(ut,"Unexpected close tag");else break}if(qe<0){et(ut,"Unmatched closing tag: "+ut.tagName),ut.textNode+="",ut.state=Ee.TEXT;return}ut.tagName=je;for(var _e=ut.tags.length;_e-- >qe;){var Fe=ut.tag=ut.tags.pop();ut.tagName=ut.tag.name,ke(ut,"onclosetag",ut.tagName);var De={};for(var Te in Fe.ns)De[Te]=Fe.ns[Te];var Ne=ut.tags[ut.tags.length-1]||ut;ut.opt.xmlns&&Fe.ns!==Ne.ns&&Object.keys(Fe.ns).forEach(function(Le){var Ge=Fe.ns[Le];ke(ut,"onclosenamespace",{prefix:Le,uri:Ge})})}qe===0&&(ut.closedRoot=!0),ut.tagName=ut.attribValue=ut.attribName="",ut.attribList.length=0,ut.state=Ee.TEXT}function gt(ut){var qe=ut.entity,je=qe.toLowerCase(),Ve,Ie="";return ut.ENTITIES[qe]?ut.ENTITIES[qe]:ut.ENTITIES[je]?ut.ENTITIES[je]:(qe=je,qe.charAt(0)==="#"&&(qe.charAt(1)==="x"?(qe=qe.slice(2),Ve=parseInt(qe,16),Ie=Ve.toString(16)):(qe=qe.slice(1),Ve=parseInt(qe,10),Ie=Ve.toString(10))),qe=qe.replace(/^0+/,""),isNaN(Ve)||Ie.toLowerCase()!==qe?(et(ut,"Invalid character entity"),"&"+ut.entity+";"):String.fromCodePoint(Ve))}function yt(ut,qe){qe==="<"?(ut.state=Ee.OPEN_WAKA,ut.startTagPosition=ut.position):Ce(qe)||(et(ut,"Non-whitespace before first tag."),ut.textNode=qe,ut.state=Ee.TEXT)}function Tt(ut,qe){var je="";return qe"?(ke(qe,"onsgmldeclaration",qe.sgmlDecl),qe.sgmlDecl="",qe.state=Ee.TEXT):(Se(Ve)&&(qe.state=Ee.SGML_DECL_QUOTED),qe.sgmlDecl+=Ve);continue;case Ee.SGML_DECL_QUOTED:Ve===qe.q&&(qe.state=Ee.SGML_DECL,qe.q=""),qe.sgmlDecl+=Ve;continue;case Ee.DOCTYPE:Ve===">"?(qe.state=Ee.TEXT,ke(qe,"ondoctype",qe.doctype),qe.doctype=!0):(qe.doctype+=Ve,Ve==="["?qe.state=Ee.DOCTYPE_DTD:Se(Ve)&&(qe.state=Ee.DOCTYPE_QUOTED,qe.q=Ve));continue;case Ee.DOCTYPE_QUOTED:qe.doctype+=Ve,Ve===qe.q&&(qe.q="",qe.state=Ee.DOCTYPE);continue;case Ee.DOCTYPE_DTD:qe.doctype+=Ve,Ve==="]"?qe.state=Ee.DOCTYPE:Se(Ve)&&(qe.state=Ee.DOCTYPE_DTD_QUOTED,qe.q=Ve);continue;case Ee.DOCTYPE_DTD_QUOTED:qe.doctype+=Ve,Ve===qe.q&&(qe.state=Ee.DOCTYPE_DTD,qe.q="");continue;case Ee.COMMENT:Ve==="-"?qe.state=Ee.COMMENT_ENDING:qe.comment+=Ve;continue;case Ee.COMMENT_ENDING:Ve==="-"?(qe.state=Ee.COMMENT_ENDED,qe.comment=$e(qe.opt,qe.comment),qe.comment&&ke(qe,"oncomment",qe.comment),qe.comment=""):(qe.comment+="-"+Ve,qe.state=Ee.COMMENT);continue;case Ee.COMMENT_ENDED:Ve!==">"?(et(qe,"Malformed comment"),qe.comment+="--"+Ve,qe.state=Ee.COMMENT):qe.state=Ee.TEXT;continue;case Ee.CDATA:Ve==="]"?qe.state=Ee.CDATA_ENDING:qe.cdata+=Ve;continue;case Ee.CDATA_ENDING:Ve==="]"?qe.state=Ee.CDATA_ENDING_2:(qe.cdata+="]"+Ve,qe.state=Ee.CDATA);continue;case Ee.CDATA_ENDING_2:Ve===">"?(qe.cdata&&ke(qe,"oncdata",qe.cdata),ke(qe,"onclosecdata"),qe.cdata="",qe.state=Ee.TEXT):Ve==="]"?qe.cdata+="]":(qe.cdata+="]]"+Ve,qe.state=Ee.CDATA);continue;case Ee.PROC_INST:Ve==="?"?qe.state=Ee.PROC_INST_ENDING:Ce(Ve)?qe.state=Ee.PROC_INST_BODY:qe.procInstName+=Ve;continue;case Ee.PROC_INST_BODY:if(!qe.procInstBody&&Ce(Ve))continue;Ve==="?"?qe.state=Ee.PROC_INST_ENDING:qe.procInstBody+=Ve;continue;case Ee.PROC_INST_ENDING:Ve===">"?(ke(qe,"onprocessinginstruction",{name:qe.procInstName,body:qe.procInstBody}),qe.procInstName=qe.procInstBody="",qe.state=Ee.TEXT):(qe.procInstBody+="?"+Ve,qe.state=Ee.PROC_INST_BODY);continue;case Ee.OPEN_TAG:Be(ve,Ve)?qe.tagName+=Ve:(it(qe),Ve===">"?rt(qe):Ve==="/"?qe.state=Ee.OPEN_TAG_SLASH:(Ce(Ve)||et(qe,"Invalid character in tag name"),qe.state=Ee.ATTRIB));continue;case Ee.OPEN_TAG_SLASH:Ve===">"?(rt(qe,!0),lt(qe)):(et(qe,"Forward-slash in opening tag not followed by >"),qe.state=Ee.ATTRIB);continue;case Ee.ATTRIB:if(Ce(Ve))continue;Ve===">"?rt(qe):Ve==="/"?qe.state=Ee.OPEN_TAG_SLASH:Be(ge,Ve)?(qe.attribName=Ve,qe.attribValue="",qe.state=Ee.ATTRIB_NAME):et(qe,"Invalid attribute name");continue;case Ee.ATTRIB_NAME:Ve==="="?qe.state=Ee.ATTRIB_VALUE:Ve===">"?(et(qe,"Attribute without value"),qe.attribValue=qe.attribName,ot(qe),rt(qe)):Ce(Ve)?qe.state=Ee.ATTRIB_NAME_SAW_WHITE:Be(ve,Ve)?qe.attribName+=Ve:et(qe,"Invalid attribute name");continue;case Ee.ATTRIB_NAME_SAW_WHITE:if(Ve==="=")qe.state=Ee.ATTRIB_VALUE;else{if(Ce(Ve))continue;et(qe,"Attribute without value"),qe.tag.attributes[qe.attribName]="",qe.attribValue="",ke(qe,"onattribute",{name:qe.attribName,value:""}),qe.attribName="",Ve===">"?rt(qe):Be(ge,Ve)?(qe.attribName=Ve,qe.state=Ee.ATTRIB_NAME):(et(qe,"Invalid attribute name"),qe.state=Ee.ATTRIB)}continue;case Ee.ATTRIB_VALUE:if(Ce(Ve))continue;Se(Ve)?(qe.q=Ve,qe.state=Ee.ATTRIB_VALUE_QUOTED):(et(qe,"Unquoted attribute value"),qe.state=Ee.ATTRIB_VALUE_UNQUOTED,qe.attribValue=Ve);continue;case Ee.ATTRIB_VALUE_QUOTED:if(Ve!==qe.q){Ve==="&"?qe.state=Ee.ATTRIB_VALUE_ENTITY_Q:qe.attribValue+=Ve;continue}ot(qe),qe.q="",qe.state=Ee.ATTRIB_VALUE_CLOSED;continue;case Ee.ATTRIB_VALUE_CLOSED:Ce(Ve)?qe.state=Ee.ATTRIB:Ve===">"?rt(qe):Ve==="/"?qe.state=Ee.OPEN_TAG_SLASH:Be(ge,Ve)?(et(qe,"No whitespace between attributes"),qe.attribName=Ve,qe.attribValue="",qe.state=Ee.ATTRIB_NAME):et(qe,"Invalid attribute name");continue;case Ee.ATTRIB_VALUE_UNQUOTED:if(!Pe(Ve)){Ve==="&"?qe.state=Ee.ATTRIB_VALUE_ENTITY_U:qe.attribValue+=Ve;continue}ot(qe),Ve===">"?rt(qe):qe.state=Ee.ATTRIB;continue;case Ee.CLOSE_TAG:if(qe.tagName)Ve===">"?lt(qe):Be(ve,Ve)?qe.tagName+=Ve:qe.script?(qe.script+=""?lt(qe):et(qe,"Invalid characters in closing tag");continue;case Ee.TEXT_ENTITY:case Ee.ATTRIB_VALUE_ENTITY_Q:case Ee.ATTRIB_VALUE_ENTITY_U:var Fe,De;switch(qe.state){case Ee.TEXT_ENTITY:Fe=Ee.TEXT,De="textNode";break;case Ee.ATTRIB_VALUE_ENTITY_Q:Fe=Ee.ATTRIB_VALUE_QUOTED,De="attribValue";break;case Ee.ATTRIB_VALUE_ENTITY_U:Fe=Ee.ATTRIB_VALUE_UNQUOTED,De="attribValue";break}Ve===";"?(qe[De]+=gt(qe),qe.entity="",qe.state=Fe):Be(qe.entity.length?be:ye,Ve)?qe.entity+=Ve:(et(qe,"Invalid character in entity name"),qe[De]+="&"+qe.entity+Ve,qe.entity="",qe.state=Fe);continue;default:throw new Error(qe,"Unknown state: "+qe.state)}return qe.position>=qe.bufferCheckPosition&&re(qe),qe}String.fromCodePoint||function(){var ut=String.fromCharCode,qe=Math.floor,je=function(){var Ve=16384,Ie=[],_e,Fe,De=-1,Te=arguments.length;if(!Te)return"";for(var Ne="";++De1114111||qe(Le)!==Le)throw RangeError("Invalid code point: "+Le);Le<=65535?Ie.push(Le):(Le-=65536,_e=(Le>>10)+55296,Fe=Le%1024+56320,Ie.push(_e,Fe)),(De+1===Te||Ie.length>Ve)&&(Ne+=ut.apply(null,Ie),Ie.length=0)}return Ne};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:je,configurable:!0,writable:!0}):String.fromCodePoint=je}()})(typeof fe=="undefined"?this.sax={}:fe)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,we,fe){we.exports=ae;var ue=E("events").EventEmitter,oe=E("inherits");oe(ae,ue),ae.Readable=E("readable-stream/lib/_stream_readable.js"),ae.Writable=E("readable-stream/lib/_stream_writable.js"),ae.Duplex=E("readable-stream/lib/_stream_duplex.js"),ae.Transform=E("readable-stream/lib/_stream_transform.js"),ae.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ae.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ae.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ae.Stream=ae;function ae(){ue.call(this)}ae.prototype.pipe=function(le,re){var se=this;function ie(ee){le.writable&&le.write(ee)===!1&&se.pause&&se.pause()}se.on("data",ie);function ne(){se.readable&&se.resume&&se.resume()}le.on("drain",ne),!le._isStdio&&(!re||re.end!==!1)&&(se.on("end",y),se.on("close",a));var z=!1;function y(){z||(z=!0,le.end())}function a(){z||(z=!0,typeof le.destroy=="function"&&le.destroy())}function x(ee){if(b(),ue.listenerCount(this,"error")===0)throw ee}se.on("error",x),le.on("error",x);function b(){se.removeListener("data",ie),le.removeListener("drain",ne),se.removeListener("end",y),se.removeListener("close",a),se.removeListener("error",x),le.removeListener("error",x),se.removeListener("end",b),se.removeListener("close",b),le.removeListener("close",b)}return se.on("end",b),se.on("close",b),le.on("close",b),le.emit("pipe",se),le}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,we,fe){"use strict";function ue(ne,z){ne.prototype=Object.create(z.prototype),ne.prototype.constructor=ne,ne.__proto__=z}var oe={};function ae(ne,z,y){y||(y=Error);function a(b,ee,te){return typeof z=="string"?z:z(b,ee,te)}var x=function(b){ue(ee,b);function ee(te,de,ge){return b.call(this,a(te,de,ge))||this}return ee}(y);x.prototype.name=y.name,x.prototype.code=ne,oe[ne]=x}function le(ne,z){if(Array.isArray(ne)){var y=ne.length;return ne=ne.map(function(a){return String(a)}),y>2?"one of ".concat(z," ").concat(ne.slice(0,y-1).join(", "),", or ")+ne[y-1]:y===2?"one of ".concat(z," ").concat(ne[0]," or ").concat(ne[1]):"of ".concat(z," ").concat(ne[0])}else return"of ".concat(z," ").concat(String(ne))}function re(ne,z,y){return ne.substr(!y||y<0?0:+y,z.length)===z}function se(ne,z,y){return(y===void 0||y>ne.length)&&(y=ne.length),ne.substring(y-z.length,y)===z}function ie(ne,z,y){return typeof y!="number"&&(y=0),y+z.length>ne.length?!1:ne.indexOf(z,y)!==-1}ae("ERR_INVALID_OPT_VALUE",function(ne,z){return'The value "'+z+'" is invalid for option "'+ne+'"'},TypeError),ae("ERR_INVALID_ARG_TYPE",function(ne,z,y){var a;typeof z=="string"&&re(z,"not ")?(a="must not be",z=z.replace(/^not /,"")):a="must be";var x;if(se(ne," argument"))x="The ".concat(ne," ").concat(a," ").concat(le(z,"type"));else{var b=ie(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(a," ").concat(le(z,"type"))}return x+=". Received type ".concat(typeof y),x},TypeError),ae("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ae("ERR_METHOD_NOT_IMPLEMENTED",function(ne){return"The "+ne+" method is not implemented"}),ae("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ae("ERR_STREAM_DESTROYED",function(ne){return"Cannot call "+ne+" after a stream was destroyed"}),ae("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ae("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ae("ERR_STREAM_WRITE_AFTER_END","write after end"),ae("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ae("ERR_UNKNOWN_ENCODING",function(ne){return"Unknown encoding: "+ne},TypeError),ae("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),we.exports.codes=oe},{}],400:[function(E,we,fe){(function(ue){(function(){"use strict";var oe=Object.keys||function(a){var x=[];for(var b in a)x.push(b);return x};we.exports=ne;var ae=E("./_stream_readable"),le=E("./_stream_writable");E("inherits")(ne,ae);for(var re=oe(le.prototype),se=0;se0)if(typeof Te!="string"&&!dt.objectMode&&Object.getPrototypeOf(Te)!==ie.prototype&&(Te=z(Te)),Le)dt.endEmitted?Ue(De,new Ce):$e(De,dt,Te,!0);else if(dt.ended)Ue(De,new ye);else{if(dt.destroyed)return!1;dt.reading=!1,dt.decoder&&!Ne?(Te=dt.decoder.write(Te),dt.objectMode||Te.length!==0?$e(De,dt,Te,!1):lt(De,dt)):$e(De,dt,Te,!1)}else Le||(dt.reading=!1,lt(De,dt))}return!dt.ended&&(dt.length=at?De=at:(De--,De|=De>>>1,De|=De>>>2,De|=De>>>4,De|=De>>>8,De|=De>>>16,De++),De}function it(De,Te){return De<=0||Te.length===0&&Te.ended?0:Te.objectMode?1:De!==De?Te.flowing&&Te.length?Te.buffer.head.data.length:Te.length:(De>Te.highWaterMark&&(Te.highWaterMark=et(De)),De<=Te.length?De:Te.ended?Te.length:(Te.needReadable=!0,0))}ke.prototype.read=function(De){x("read",De),De=parseInt(De,10);var Te=this._readableState,Ne=De;if(De!==0&&(Te.emittedReadable=!1),De===0&&Te.needReadable&&((Te.highWaterMark!==0?Te.length>=Te.highWaterMark:Te.length>0)||Te.ended))return x("read: emitReadable",Te.length,Te.ended),Te.length===0&&Te.ended?Ie(this):ot(this),null;if(De=it(De,Te),De===0&&Te.ended)return Te.length===0&&Ie(this),null;var Le=Te.needReadable;x("need readable",Le),(Te.length===0||Te.length-De0?Ge=Ve(De,Te):Ge=null,Ge===null?(Te.needReadable=Te.length<=Te.highWaterMark,De=0):(Te.length-=De,Te.awaitDrain=0),Te.length===0&&(Te.ended||(Te.needReadable=!0),Ne!==De&&Te.ended&&Ie(this)),Ge!==null&&this.emit("data",Ge),Ge};function At(De,Te){if(x("onEofChunk"),!Te.ended){if(Te.decoder){var Ne=Te.decoder.end();Ne&&Ne.length&&(Te.buffer.push(Ne),Te.length+=Te.objectMode?1:Ne.length)}Te.ended=!0,Te.sync?ot(De):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,rt(De)))}}function ot(De){var Te=De._readableState;x("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(x("emitReadable",Te.flowing),Te.emittedReadable=!0,ue.nextTick(rt,De))}function rt(De){var Te=De._readableState;x("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(De.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,je(De)}function lt(De,Te){Te.readingMore||(Te.readingMore=!0,ue.nextTick(gt,De,Te))}function gt(De,Te){for(;!Te.reading&&!Te.ended&&(Te.length1&&Fe(Le.pipes,De)!==-1)&&!Bt&&(x("false write response, pause",Le.awaitDrain),Le.awaitDrain++),Ne.pause())}function Ft(Rt){x("onerror",Rt),Dt(),De.removeListener("error",Ft),re(De,"error")===0&&Ue(De,Rt)}He(De,"error",Ft);function Nt(){De.removeListener("finish",bt),Dt()}De.once("close",Nt);function bt(){x("onfinish"),De.removeListener("close",Nt),Dt()}De.once("finish",bt);function Dt(){x("unpipe"),Ne.unpipe(De)}return De.emit("pipe",Ne),Le.flowing||(x("pipe resume"),Ne.resume()),De};function yt(De){return function(){var Ne=De._readableState;x("pipeOnDrain",Ne.awaitDrain),Ne.awaitDrain&&Ne.awaitDrain--,Ne.awaitDrain===0&&re(De,"data")&&(Ne.flowing=!0,je(De))}}ke.prototype.unpipe=function(De){var Te=this._readableState,Ne={hasUnpiped:!1};if(Te.pipesCount===0)return this;if(Te.pipesCount===1)return De&&De!==Te.pipes?this:(De||(De=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,De&&De.emit("unpipe",this,Ne),this);if(!De){var Le=Te.pipes,Ge=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var dt=0;dt0,Le.flowing!==!1&&this.resume()):De==="readable"&&!Le.endEmitted&&!Le.readableListening&&(Le.readableListening=Le.needReadable=!0,Le.flowing=!1,Le.emittedReadable=!1,x("on readable",Le.length,Le.reading),Le.length?ot(this):Le.reading||ue.nextTick(vt,this)),Ne},ke.prototype.addListener=ke.prototype.on,ke.prototype.removeListener=function(De,Te){var Ne=se.prototype.removeListener.call(this,De,Te);return De==="readable"&&ue.nextTick(Tt,this),Ne},ke.prototype.removeAllListeners=function(De){var Te=se.prototype.removeAllListeners.apply(this,arguments);return(De==="readable"||De===void 0)&&ue.nextTick(Tt,this),Te};function Tt(De){var Te=De._readableState;Te.readableListening=De.listenerCount("readable")>0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:De.listenerCount("data")>0&&De.resume()}function vt(De){x("readable nexttick read 0"),De.read(0)}ke.prototype.resume=function(){var De=this._readableState;return De.flowing||(x("resume"),De.flowing=!De.readableListening,ut(this,De)),De.paused=!1,this};function ut(De,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,ue.nextTick(qe,De,Te))}function qe(De,Te){x("resume",Te.reading),Te.reading||De.read(0),Te.resumeScheduled=!1,De.emit("resume"),je(De),Te.flowing&&!Te.reading&&De.read(0)}ke.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function je(De){var Te=De._readableState;for(x("flow",Te.flowing);Te.flowing&&De.read()!==null;);}ke.prototype.wrap=function(De){var Te=this,Ne=this._readableState,Le=!1;De.on("end",function(){if(x("wrapped end"),Ne.decoder&&!Ne.ended){var mt=Ne.decoder.end();mt&&mt.length&&Te.push(mt)}Te.push(null)}),De.on("data",function(mt){if(x("wrapped data"),Ne.decoder&&(mt=Ne.decoder.write(mt)),!(Ne.objectMode&&mt==null)&&!(!Ne.objectMode&&(!mt||!mt.length))){var st=Te.push(mt);st||(Le=!0,De.pause())}});for(var Ge in De)this[Ge]===void 0&&typeof De[Ge]=="function"&&(this[Ge]=function(st){return function(){return De[st].apply(De,arguments)}}(Ge));for(var dt=0;dt=Te.length?(Te.decoder?Ne=Te.buffer.join(""):Te.buffer.length===1?Ne=Te.buffer.first():Ne=Te.buffer.concat(Te.length),Te.buffer.clear()):Ne=Te.buffer.consume(De,Te.decoder),Ne}function Ie(De){var Te=De._readableState;x("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,ue.nextTick(_e,Te,De))}function _e(De,Te){if(x("endReadableNT",De.endEmitted,De.length),!De.endEmitted&&De.length===0&&(De.endEmitted=!0,Te.readable=!1,Te.emit("end"),De.autoDestroy)){var Ne=Te._writableState;(!Ne||Ne.autoDestroy&&Ne.finished)&&Te.destroy()}}typeof Symbol=="function"&&(ke.from=function(De,Te){return Be===void 0&&(Be=E("./internal/streams/from")),Be(ke,De,Te)});function Fe(De,Te){for(var Ne=0,Le=De.length;Ne-1))throw new Pe(Ve);return this._writableState.defaultEncoding=Ve,this},Object.defineProperty(Oe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function $e(je,Ve,Ie){return!je.objectMode&&je.decodeStrings!==!1&&typeof Ve=="string"&&(Ve=ne.from(Ve,Ie)),Ve}Object.defineProperty(Oe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ze(je,Ve,Ie,_e,Fe,De){if(!Ie){var Te=$e(Ve,_e,Fe);_e!==Te&&(Ie=!0,Fe="buffer",_e=Te)}var Ne=Ve.objectMode?1:_e.length;Ve.length+=Ne;var Le=Ve.length0?this.tail.next=ve:this.head=ve,this.tail=ve,++this.length}},{key:"unshift",value:function(ge){var ve={data:ge,next:this.head};this.length===0&&(this.tail=ve),this.head=ve,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ge=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ge}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ge){if(this.length===0)return"";for(var ve=this.head,ye=""+ve.data;ve=ve.next;)ye+=ge+ve.data;return ye}},{key:"concat",value:function(ge){if(this.length===0)return y.alloc(0);for(var ve=y.allocUnsafe(ge>>>0),ye=this.head,be=0;ye;)ee(ye.data,ve,be),be+=ye.data.length,ye=ye.next;return ve}},{key:"consume",value:function(ge,ve){var ye;return geCe.length?Ce.length:ge;if(Se===Ce.length?be+=Ce:be+=Ce.slice(0,ge),ge-=Se,ge===0){Se===Ce.length?(++ye,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=Ce.slice(Se));break}++ye}return this.length-=ye,be}},{key:"_getBuffer",value:function(ge){var ve=y.allocUnsafe(ge),ye=this.head,be=1;for(ye.data.copy(ve),ge-=ye.data.length;ye=ye.next;){var Ce=ye.data,Se=ge>Ce.length?Ce.length:ge;if(Ce.copy(ve,ve.length-ge,0,Se),ge-=Se,ge===0){Se===Ce.length?(++be,ye.next?this.head=ye.next:this.head=this.tail=null):(this.head=ye,ye.data=Ce.slice(Se));break}++be}return this.length-=be,ve}},{key:b,value:function(ge,ve){return x(this,oe(oe({},ve),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,we,fe){(function(ue){(function(){"use strict";function oe(ne,z){var y=this,a=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return a||x?(z?z(ne):ne&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ue.nextTick(se,this,ne)):ue.nextTick(se,this,ne)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ne||null,function(b){!z&&b?y._writableState?y._writableState.errorEmitted?ue.nextTick(le,y):(y._writableState.errorEmitted=!0,ue.nextTick(ae,y,b)):ue.nextTick(ae,y,b):z?(ue.nextTick(le,y),z(b)):ue.nextTick(le,y)}),this)}function ae(ne,z){se(ne,z),le(ne)}function le(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.emit("close")}function re(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function se(ne,z){ne.emit("error",z)}function ie(ne,z){var y=ne._readableState,a=ne._writableState;y&&y.autoDestroy||a&&a.autoDestroy?ne.destroy(z):ne.emit("error",z)}we.exports={destroy:oe,undestroy:re,errorOrDestroy:ie}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,we,fe){"use strict";var ue=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function oe(se){var ie=!1;return function(){if(!ie){ie=!0;for(var ne=arguments.length,z=new Array(ne),y=0;y0;return ne(ye,Ce,Se,function(Pe){ge||(ge=Pe),Pe&&ve.forEach(z),!Ce&&(ve.forEach(z),de(ge))})});return ee.reduce(y)}we.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,we,fe){"use strict";var ue=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function oe(le,re,se){return le.highWaterMark!=null?le.highWaterMark:re?le[se]:null}function ae(le,re,se,ie){var ne=oe(re,ie,se);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var z=ie?se:"highWaterMark";throw new ue(z,ne)}return Math.floor(ne)}return le.objectMode?16:16*1024}we.exports={getHighWaterMark:ae}},{"../../../errors":399}],412:[function(E,we,fe){arguments[4][393][0].apply(fe,arguments)},{dup:393,events:344}],413:[function(E,we,fe){"use strict";var ue=E("safe-buffer").Buffer,oe=ue.isEncoding||function(ve){switch(ve=""+ve,ve&&ve.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ae(ve){if(!ve)return"utf8";for(var ye;;)switch(ve){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return ve;default:if(ye)return;ve=(""+ve).toLowerCase(),ye=!0}}function le(ve){var ye=ae(ve);if(typeof ye!="string"&&(ue.isEncoding===oe||!oe(ve)))throw new Error("Unknown encoding: "+ve);return ye||ve}fe.StringDecoder=re;function re(ve){this.encoding=le(ve);var ye;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ye=4;break;case"utf8":this.fillLast=z,ye=4;break;case"base64":this.text=ee,this.end=te,ye=3;break;default:this.write=de,this.end=ge;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ue.allocUnsafe(ye)}re.prototype.write=function(ve){if(ve.length===0)return"";var ye,be;if(this.lastNeed){if(ye=this.fillLast(ve),ye===void 0)return"";be=this.lastNeed,this.lastNeed=0}else be=0;return be>5===6?2:ve>>4===14?3:ve>>3===30?4:ve>>6===2?-1:-2}function ie(ve,ye,be){var Ce=ye.length-1;if(Ce=0?(Se>0&&(ve.lastNeed=Se-1),Se):--Ce=0?(Se>0&&(ve.lastNeed=Se-2),Se):--Ce=0?(Se>0&&(Se===2?Se=0:ve.lastNeed=Se-3),Se):0))}function ne(ve,ye,be){if((ye[0]&192)!==128)return ve.lastNeed=0,"\uFFFD";if(ve.lastNeed>1&&ye.length>1){if((ye[1]&192)!==128)return ve.lastNeed=1,"\uFFFD";if(ve.lastNeed>2&&ye.length>2&&(ye[2]&192)!==128)return ve.lastNeed=2,"\uFFFD"}}function z(ve){var ye=this.lastTotal-this.lastNeed,be=ne(this,ve,ye);if(be!==void 0)return be;if(this.lastNeed<=ve.length)return ve.copy(this.lastChar,ye,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ve.copy(this.lastChar,ye,0,ve.length),this.lastNeed-=ve.length}function y(ve,ye){var be=ie(this,ve,ye);if(!this.lastNeed)return ve.toString("utf8",ye);this.lastTotal=be;var Ce=ve.length-(be-this.lastNeed);return ve.copy(this.lastChar,0,Ce),ve.toString("utf8",ye,Ce)}function a(ve){var ye=ve&&ve.length?this.write(ve):"";return this.lastNeed?ye+"\uFFFD":ye}function x(ve,ye){if((ve.length-ye)%2===0){var be=ve.toString("utf16le",ye);if(be){var Ce=be.charCodeAt(be.length-1);if(Ce>=55296&&Ce<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ve[ve.length-2],this.lastChar[1]=ve[ve.length-1],be.slice(0,-1)}return be}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ve[ve.length-1],ve.toString("utf16le",ye,ve.length-1)}function b(ve){var ye=ve&&ve.length?this.write(ve):"";if(this.lastNeed){var be=this.lastTotal-this.lastNeed;return ye+this.lastChar.toString("utf16le",0,be)}return ye}function ee(ve,ye){var be=(ve.length-ye)%3;return be===0?ve.toString("base64",ye):(this.lastNeed=3-be,this.lastTotal=3,be===1?this.lastChar[0]=ve[ve.length-1]:(this.lastChar[0]=ve[ve.length-2],this.lastChar[1]=ve[ve.length-1]),ve.toString("base64",ye,ve.length-be))}function te(ve){var ye=ve&&ve.length?this.write(ve):"";return this.lastNeed?ye+this.lastChar.toString("base64",0,3-this.lastNeed):ye}function de(ve){return ve.toString(this.encoding)}function ge(ve){return ve&&ve.length?this.write(ve):""}},{"safe-buffer":396}],414:[function(E,we,fe){(function(ue,oe){(function(){var ae=E("process/browser.js").nextTick,le=Function.prototype.apply,re=Array.prototype.slice,se={},ie=0;fe.setTimeout=function(){return new ne(le.call(setTimeout,window,arguments),clearTimeout)},fe.setInterval=function(){return new ne(le.call(setInterval,window,arguments),clearInterval)},fe.clearTimeout=fe.clearInterval=function(z){z.close()};function ne(z,y){this._id=z,this._clearFn=y}ne.prototype.unref=ne.prototype.ref=function(){},ne.prototype.close=function(){this._clearFn.call(window,this._id)},fe.enroll=function(z,y){clearTimeout(z._idleTimeoutId),z._idleTimeout=y},fe.unenroll=function(z){clearTimeout(z._idleTimeoutId),z._idleTimeout=-1},fe._unrefActive=fe.active=function(z){clearTimeout(z._idleTimeoutId);var y=z._idleTimeout;y>=0&&(z._idleTimeoutId=setTimeout(function(){z._onTimeout&&z._onTimeout()},y))},fe.setImmediate=typeof ue=="function"?ue:function(z){var y=ie++,a=arguments.length<2?!1:re.call(arguments,1);return se[y]=!0,ae(function(){se[y]&&(a?z.apply(null,a):z.call(null),fe.clearImmediate(y))}),y},fe.clearImmediate=typeof oe=="function"?oe:function(z){delete se[z]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,we,fe){var ue=E("buffer").Buffer;we.exports=function(oe){if(oe instanceof Uint8Array){if(oe.byteOffset===0&&oe.byteLength===oe.buffer.byteLength)return oe.buffer;if(typeof oe.buffer.slice=="function")return oe.buffer.slice(oe.byteOffset,oe.byteOffset+oe.byteLength)}if(ue.isBuffer(oe)){for(var ae=new Uint8Array(oe.length),le=oe.length,re=0;re=vt)return je;switch(je){case"%s":return String(Tt[yt++]);case"%d":return Number(Tt[yt++]);case"%j":try{return JSON.stringify(Tt[yt++])}catch(Ve){return"[Circular]"}default:return je}}),qe=Tt[yt];yt=3&&(yt.depth=arguments[2]),arguments.length>=4&&(yt.colors=arguments[3]),ve(gt)?yt.showHidden=gt:gt&&fe._extend(yt,gt),Be(yt.showHidden)&&(yt.showHidden=!1),Be(yt.depth)&&(yt.depth=2),Be(yt.colors)&&(yt.colors=!1),Be(yt.customInspect)&&(yt.customInspect=!0),yt.colors&&(yt.stylize=ne),a(yt,lt,yt.depth)}fe.inspect=ie,ie.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ie.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(lt,gt){var yt=ie.styles[gt];return yt?"\x1B["+ie.colors[yt][0]+"m"+lt+"\x1B["+ie.colors[yt][1]+"m":lt}function z(lt,gt){return lt}function y(lt){var gt={};return lt.forEach(function(yt,Tt){gt[yt]=!0}),gt}function a(lt,gt,yt){if(lt.customInspect&>&&ke(gt.inspect)&>.inspect!==fe.inspect&&!(gt.constructor&>.constructor.prototype===gt)){var Tt=gt.inspect(yt,lt);return Se(Tt)||(Tt=a(lt,Tt,yt)),Tt}var vt=x(lt,gt);if(vt)return vt;var ut=Object.keys(gt),qe=y(ut);if(lt.showHidden&&(ut=Object.getOwnPropertyNames(gt)),Oe(gt)&&(ut.indexOf("message")>=0||ut.indexOf("description")>=0))return b(gt);if(ut.length===0){if(ke(gt)){var je=gt.name?": "+gt.name:"";return lt.stylize("[Function"+je+"]","special")}if(Ue(gt))return lt.stylize(RegExp.prototype.toString.call(gt),"regexp");if(He(gt))return lt.stylize(Date.prototype.toString.call(gt),"date");if(Oe(gt))return b(gt)}var Ve="",Ie=!1,_e=["{","}"];if(ge(gt)&&(Ie=!0,_e=["[","]"]),ke(gt)){var Fe=gt.name?": "+gt.name:"";Ve=" [Function"+Fe+"]"}if(Ue(gt)&&(Ve=" "+RegExp.prototype.toString.call(gt)),He(gt)&&(Ve=" "+Date.prototype.toUTCString.call(gt)),Oe(gt)&&(Ve=" "+b(gt)),ut.length===0&&(!Ie||gt.length==0))return _e[0]+Ve+_e[1];if(yt<0)return Ue(gt)?lt.stylize(RegExp.prototype.toString.call(gt),"regexp"):lt.stylize("[Object]","special");lt.seen.push(gt);var De;return Ie?De=ee(lt,gt,yt,qe,ut):De=ut.map(function(Te){return te(lt,gt,yt,qe,Te,Ie)}),lt.seen.pop(),de(De,Ve,_e)}function x(lt,gt){if(Be(gt))return lt.stylize("undefined","undefined");if(Se(gt)){var yt="'"+JSON.stringify(gt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return lt.stylize(yt,"string")}if(Ce(gt))return lt.stylize(""+gt,"number");if(ve(gt))return lt.stylize(""+gt,"boolean");if(ye(gt))return lt.stylize("null","null")}function b(lt){return"["+Error.prototype.toString.call(lt)+"]"}function ee(lt,gt,yt,Tt,vt){for(var ut=[],qe=0,je=gt.length;qe-1&&(ut?je=je.split(` `).map(function(Ie){return" "+Ie}).join(` `).slice(2):je=` `+je.split(` `).map(function(Ie){return" "+Ie}).join(` `))):je=lt.stylize("[Circular]","special")),Be(qe)){if(ut&&vt.match(/^\d+$/))return je;qe=JSON.stringify(""+vt),qe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(qe=qe.slice(1,-1),qe=lt.stylize(qe,"name")):(qe=qe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),qe=lt.stylize(qe,"string"))}return qe+": "+je}function de(lt,gt,yt){var Tt=0,vt=lt.reduce(function(ut,qe){return Tt++,qe.indexOf(` `)>=0&&Tt++,ut+qe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return vt>60?yt[0]+(gt===""?"":gt+` `)+" "+lt.join(`, `)+" "+yt[1]:yt[0]+gt+" "+lt.join(", ")+" "+yt[1]}fe.types=E("./support/types");function ge(lt){return Array.isArray(lt)}fe.isArray=ge;function ve(lt){return typeof lt=="boolean"}fe.isBoolean=ve;function ye(lt){return lt===null}fe.isNull=ye;function be(lt){return lt==null}fe.isNullOrUndefined=be;function Ce(lt){return typeof lt=="number"}fe.isNumber=Ce;function Se(lt){return typeof lt=="string"}fe.isString=Se;function Pe(lt){return typeof lt=="symbol"}fe.isSymbol=Pe;function Be(lt){return lt===void 0}fe.isUndefined=Be;function Ue(lt){return Ee(lt)&&$e(lt)==="[object RegExp]"}fe.isRegExp=Ue,fe.types.isRegExp=Ue;function Ee(lt){return typeof lt=="object"&<!==null}fe.isObject=Ee;function He(lt){return Ee(lt)&&$e(lt)==="[object Date]"}fe.isDate=He,fe.types.isDate=He;function Oe(lt){return Ee(lt)&&($e(lt)==="[object Error]"||lt instanceof Error)}fe.isError=Oe,fe.types.isNativeError=Oe;function ke(lt){return typeof lt=="function"}fe.isFunction=ke;function Xe(lt){return lt===null||typeof lt=="boolean"||typeof lt=="number"||typeof lt=="string"||typeof lt=="symbol"||typeof lt=="undefined"}fe.isPrimitive=Xe,fe.isBuffer=E("./support/isBuffer");function $e(lt){return Object.prototype.toString.call(lt)}function ze(lt){return lt<10?"0"+lt.toString(10):lt.toString(10)}var at=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function et(){var lt=new Date,gt=[ze(lt.getHours()),ze(lt.getMinutes()),ze(lt.getSeconds())].join(":");return[lt.getDate(),at[lt.getMonth()],gt].join(" ")}fe.log=function(){console.log("%s - %s",et(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(lt,gt){if(!gt||!Ee(gt))return lt;for(var yt=Object.keys(gt),Tt=yt.length;Tt--;)lt[yt[Tt]]=gt[yt[Tt]];return lt};function it(lt,gt){return Object.prototype.hasOwnProperty.call(lt,gt)}var At=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;fe.promisify=function(gt){if(typeof gt!="function")throw new TypeError('The "original" argument must be of type Function');if(At&>[At]){var yt=gt[At];if(typeof yt!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(yt,At,{value:yt,enumerable:!1,writable:!1,configurable:!0}),yt}function yt(){for(var Tt,vt,ut=new Promise(function(Ve,Ie){Tt=Ve,vt=Ie}),qe=[],je=0;je-1?ye:ye!=="Object"?!1:de(ve)}return se?te(ve):null}}).call(this)}).call(this,typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,we,fe){(function(){"use strict";fe.stripBOM=function(ue){return ue[0]==="\uFEFF"?ue.substring(1):ue}}).call(this)},{}],422:[function(E,we,fe){(function(){"use strict";var ue,oe,ae,le,re,se={}.hasOwnProperty;ue=E("xmlbuilder"),oe=E("./defaults").defaults,le=function(ie){return typeof ie=="string"&&(ie.indexOf("&")>=0||ie.indexOf(">")>=0||ie.indexOf("<")>=0)},re=function(ie){return""},ae=function(ie){return ie.replace("]]>","]]]]>")},fe.Builder=function(){function ie(ne){var z,y,a;this.options={},y=oe["0.2"];for(z in y)se.call(y,z)&&(a=y[z],this.options[z]=a);for(z in ne)se.call(ne,z)&&(a=ne[z],this.options[z]=a)}return ie.prototype.buildObject=function(ne){var z,y,a,x,b;return z=this.options.attrkey,y=this.options.charkey,Object.keys(ne).length===1&&this.options.rootName===oe["0.2"].rootName?(b=Object.keys(ne)[0],ne=ne[b]):b=this.options.rootName,a=function(ee){return function(te,de){var ge,ve,ye,be,Ce,Se;if(typeof de!="object")ee.options.cdata&&le(de)?te.raw(re(de)):te.txt(de);else if(Array.isArray(de)){for(be in de)if(se.call(de,be)){ve=de[be];for(Ce in ve)ye=ve[Ce],te=a(te.ele(Ce),ye).up()}}else for(Ce in de)if(se.call(de,Ce))if(ve=de[Ce],Ce===z){if(typeof ve=="object")for(ge in ve)Se=ve[ge],te=te.att(ge,Se)}else if(Ce===y)ee.options.cdata&&le(ve)?te=te.raw(re(ve)):te=te.txt(ve);else if(Array.isArray(ve))for(be in ve)se.call(ve,be)&&(ye=ve[be],typeof ye=="string"?ee.options.cdata&&le(ye)?te=te.ele(Ce).raw(re(ye)).up():te=te.ele(Ce,ye).up():te=a(te.ele(Ce),ye).up());else typeof ve=="object"?te=a(te.ele(Ce),ve).up():typeof ve=="string"&&ee.options.cdata&&le(ve)?te=te.ele(Ce).raw(re(ve)).up():(ve==null&&(ve=""),te=te.ele(Ce,ve.toString()).up());return te}}(this),x=ue.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),a(x,ne).end(this.options.renderOpts)},ie}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,we,fe){(function(){fe.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` `},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,we,fe){(function(){"use strict";var ue,oe,ae,le,re,se,ie,ne,z,y=function(b,ee){return function(){return b.apply(ee,arguments)}},a=function(b,ee){for(var te in ee)x.call(ee,te)&&(b[te]=ee[te]);function de(){this.constructor=b}return de.prototype=ee.prototype,b.prototype=new de,b.__super__=ee.prototype,b},x={}.hasOwnProperty;ne=E("sax"),le=E("events"),ue=E("./bom"),ie=E("./processors"),z=E("timers").setImmediate,oe=E("./defaults").defaults,re=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},se=function(b,ee,te){var de,ge,ve;for(de=0,ge=b.length;de0&&(Pe[ye.options.childkey]=Ue),Ue=Pe;else if(Oe){Oe[ye.options.childkey]=Oe[ye.options.childkey]||[],Ee={};for(Se in Ue)x.call(Ue,Se)&&ae(Ee,Se,Ue[Se]);Oe[ye.options.childkey].push(Ee),delete Ue["#name"],Object.keys(Ue).length===1&&de in Ue&&!ye.EXPLICIT_CHARKEY&&(Ue=Ue[de])}}return ve.length>0?ye.assignOrPush(Oe,Be,Ue):(ye.options.explicitRoot&&(He=Ue,Ue={},ae(Ue,Be,He)),ye.resultObject=Ue,ye.saxParser.ended=!0,ye.emit("end",ye.resultObject))}}(this),ge=function(ye){return function(be){var Ce,Se;if(Se=ve[ve.length-1],Se)return Se[de]+=be,ye.options.explicitChildren&&ye.options.preserveChildrenOrder&&ye.options.charsAsChildren&&(ye.options.includeWhiteChars||be.replace(/\\n/g,"").trim()!=="")&&(Se[ye.options.childkey]=Se[ye.options.childkey]||[],Ce={"#name":"__text__"},Ce[de]=be,ye.options.normalize&&(Ce[de]=Ce[de].replace(/\s{2,}/g," ").trim()),Se[ye.options.childkey].push(Ce)),Se}}(this),this.saxParser.ontext=ge,this.saxParser.oncdata=function(ye){return function(be){var Ce;if(Ce=ge(be),Ce)return Ce.cdata=!0}}(this)},ee.prototype.parseString=function(te,de){var ge;de!=null&&typeof de=="function"&&(this.on("end",function(ve){return this.reset(),de(null,ve)}),this.on("error",function(ve){return this.reset(),de(ve)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=ue.stripBOM(te),this.options.async?(this.remaining=te,z(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(ve){if(ge=ve,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw ge}else return this.emit("error",ge),this.saxParser.errThrown=!0}},ee.prototype.parseStringPromise=function(te){return new Promise(function(de){return function(ge,ve){return de.parseString(te,function(ye,be){return ye?ve(ye):ge(be)})}}(this))},ee}(le),fe.parseString=function(b,ee,te){var de,ge,ve;return te!=null?(typeof te=="function"&&(de=te),typeof ee=="object"&&(ge=ee)):(typeof ee=="function"&&(de=ee),ge={}),ve=new fe.Parser(ge),ve.parseString(b,de)},fe.parseStringPromise=function(b,ee){var te,de;return typeof ee=="object"&&(te=ee),de=new fe.Parser(te),de.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,we,fe){(function(){"use strict";var ue;ue=new RegExp(/(?!xmlns)^.*:/),fe.normalize=function(oe){return oe.toLowerCase()},fe.firstCharLowerCase=function(oe){return oe.charAt(0).toLowerCase()+oe.slice(1)},fe.stripPrefix=function(oe){return oe.replace(ue,"")},fe.parseNumbers=function(oe){return isNaN(oe)||(oe=oe%1===0?parseInt(oe,10):parseFloat(oe)),oe},fe.parseBooleans=function(oe){return/^(?:true|false)$/i.test(oe)&&(oe=oe.toLowerCase()==="true"),oe}}).call(this)},{}],426:[function(E,we,fe){(function(){"use strict";var ue,oe,ae,le,re=function(ie,ne){for(var z in ne)se.call(ne,z)&&(ie[z]=ne[z]);function y(){this.constructor=ie}return y.prototype=ne.prototype,ie.prototype=new y,ie.__super__=ne.prototype,ie},se={}.hasOwnProperty;oe=E("./defaults"),ue=E("./builder"),ae=E("./parser"),le=E("./processors"),fe.defaults=oe.defaults,fe.processors=le,fe.ValidationError=function(ie){re(ne,ie);function ne(z){this.message=z}return ne}(Error),fe.Builder=ue.Builder,fe.Parser=ae.Parser,fe.parseString=ae.parseString,fe.parseStringPromise=ae.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,we,fe){(function(){we.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,we,fe){(function(){we.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,we,fe){(function(){var ue,oe,ae,le,re,se,ie,ne=[].slice,z={}.hasOwnProperty;ue=function(){var y,a,x,b,ee,te;if(te=arguments[0],ee=2<=arguments.length?ne.call(arguments,1):[],re(Object.assign))Object.assign.apply(null,arguments);else for(y=0,x=ee.length;y":"attribute: {"+re+"}, parent: <"+this.parent.name+">"},le.prototype.isEqualNode=function(re){return!(re.namespaceURI!==this.namespaceURI||re.prefix!==this.prefix||re.localName!==this.localName||re.value!==this.value)},le}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,we,fe){(function(){var ue,oe,ae,le=function(se,ie){for(var ne in ie)re.call(ie,ne)&&(se[ne]=ie[ne]);function z(){this.constructor=se}return z.prototype=ie.prototype,se.prototype=new z,se.__super__=ie.prototype,se},re={}.hasOwnProperty;ue=E("./NodeType"),ae=E("./XMLCharacterData"),we.exports=oe=function(se){le(ie,se);function ie(ne,z){if(ie.__super__.constructor.call(this,ne),z==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ue.CData,this.value=this.stringify.cdata(z)}return ie.prototype.clone=function(){return Object.create(this)},ie.prototype.toString=function(ne){return this.options.writer.cdata(this,this.options.writer.filterOptions(ne))},ie}(ae)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,we,fe){(function(){var ue,oe,ae=function(re,se){for(var ie in se)le.call(se,ie)&&(re[ie]=se[ie]);function ne(){this.constructor=re}return ne.prototype=se.prototype,re.prototype=new ne,re.__super__=se.prototype,re},le={}.hasOwnProperty;oe=E("./XMLNode"),we.exports=ue=function(re){ae(se,re);function se(ie){se.__super__.constructor.call(this,ie),this.value=""}return Object.defineProperty(se.prototype,"data",{get:function(){return this.value},set:function(ie){return this.value=ie||""}}),Object.defineProperty(se.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(se.prototype,"textContent",{get:function(){return this.value},set:function(ie){return this.value=ie||""}}),se.prototype.clone=function(){return Object.create(this)},se.prototype.substringData=function(ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},se.prototype.appendData=function(ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},se.prototype.insertData=function(ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},se.prototype.deleteData=function(ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},se.prototype.replaceData=function(ie,ne,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},se.prototype.isEqualNode=function(ie){return!(!se.__super__.isEqualNode.apply(this,arguments).isEqualNode(ie)||ie.data!==this.data)},se}(oe)}).call(this)},{"./XMLNode":450}],434:[function(E,we,fe){(function(){var ue,oe,ae,le=function(se,ie){for(var ne in ie)re.call(ie,ne)&&(se[ne]=ie[ne]);function z(){this.constructor=se}return z.prototype=ie.prototype,se.prototype=new z,se.__super__=ie.prototype,se},re={}.hasOwnProperty;ue=E("./NodeType"),oe=E("./XMLCharacterData"),we.exports=ae=function(se){le(ie,se);function ie(ne,z){if(ie.__super__.constructor.call(this,ne),z==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ue.Comment,this.value=this.stringify.comment(z)}return ie.prototype.clone=function(){return Object.create(this)},ie.prototype.toString=function(ne){return this.options.writer.comment(this,this.options.writer.filterOptions(ne))},ie}(oe)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,we,fe){(function(){var ue,oe,ae;oe=E("./XMLDOMErrorHandler"),ae=E("./XMLDOMStringList"),we.exports=ue=function(){function le(){var re;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new oe,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=re=Object.create(this.defaultParams)}return Object.defineProperty(le.prototype,"parameterNames",{get:function(){return new ae(Object.keys(this.defaultParams))}}),le.prototype.getParameter=function(re){return this.params.hasOwnProperty(re)?this.params[re]:null},le.prototype.canSetParameter=function(re,se){return!0},le.prototype.setParameter=function(re,se){return se!=null?this.params[re]=se:delete this.params[re]},le}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,we,fe){(function(){var ue;we.exports=ue=function(){function oe(){}return oe.prototype.handleError=function(ae){throw new Error(ae)},oe}()}).call(this)},{}],437:[function(E,we,fe){(function(){var ue;we.exports=ue=function(){function oe(){}return oe.prototype.hasFeature=function(ae,le){return!0},oe.prototype.createDocumentType=function(ae,le,re){throw new Error("This DOM method is not implemented.")},oe.prototype.createDocument=function(ae,le,re){throw new Error("This DOM method is not implemented.")},oe.prototype.createHTMLDocument=function(ae){throw new Error("This DOM method is not implemented.")},oe.prototype.getFeature=function(ae,le){throw new Error("This DOM method is not implemented.")},oe}()}).call(this)},{}],438:[function(E,we,fe){(function(){var ue;we.exports=ue=function(){function oe(ae){this.arr=ae||[]}return Object.defineProperty(oe.prototype,"length",{get:function(){return this.arr.length}}),oe.prototype.item=function(ae){return this.arr[ae]||null},oe.prototype.contains=function(ae){return this.arr.indexOf(ae)!==-1},oe}()}).call(this)},{}],439:[function(E,we,fe){(function(){var ue,oe,ae,le=function(se,ie){for(var ne in ie)re.call(ie,ne)&&(se[ne]=ie[ne]);function z(){this.constructor=se}return z.prototype=ie.prototype,se.prototype=new z,se.__super__=ie.prototype,se},re={}.hasOwnProperty;ae=E("./XMLNode"),ue=E("./NodeType"),we.exports=oe=function(se){le(ie,se);function ie(ne,z,y,a,x,b){if(ie.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(y==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(z));if(!a)throw new Error("Missing DTD attribute type. "+this.debugInfo(z));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(z));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(z));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(z));this.elementName=this.stringify.name(z),this.type=ue.AttributeDeclaration,this.attributeName=this.stringify.name(y),this.attributeType=this.stringify.dtdAttType(a),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return ie.prototype.toString=function(ne){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ne))},ie}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,we,fe){(function(){var ue,oe,ae,le=function(se,ie){for(var ne in ie)re.call(ie,ne)&&(se[ne]=ie[ne]);function z(){this.constructor=se}return z.prototype=ie.prototype,se.prototype=new z,se.__super__=ie.prototype,se},re={}.hasOwnProperty;ae=E("./XMLNode"),ue=E("./NodeType"),we.exports=oe=function(se){le(ie,se);function ie(ne,z,y){if(ie.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());y||(y="(#PCDATA)"),Array.isArray(y)&&(y="("+y.join(",")+")"),this.name=this.stringify.name(z),this.type=ue.ElementDeclaration,this.value=this.stringify.dtdElementValue(y)}return ie.prototype.toString=function(ne){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ne))},ie}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,we,fe){(function(){var ue,oe,ae,le,re=function(ie,ne){for(var z in ne)se.call(ne,z)&&(ie[z]=ne[z]);function y(){this.constructor=ie}return y.prototype=ne.prototype,ie.prototype=new y,ie.__super__=ne.prototype,ie},se={}.hasOwnProperty;le=E("./Utility").isObject,ae=E("./XMLNode"),ue=E("./NodeType"),we.exports=oe=function(ie){re(ne,ie);function ne(z,y,a,x){if(ne.__super__.constructor.call(this,z),a==null)throw new Error("Missing DTD entity name. "+this.debugInfo(a));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(a));if(this.pe=!!y,this.name=this.stringify.name(a),this.type=ue.EntityDeclaration,!le(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(a));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(a));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(a))}}return Object.defineProperty(ne.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ne.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ne.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ne.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlVersion",{get:function(){return null}}),ne.prototype.toString=function(z){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(z))},ne}(ae)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,we,fe){(function(){var ue,oe,ae,le=function(se,ie){for(var ne in ie)re.call(ie,ne)&&(se[ne]=ie[ne]);function z(){this.constructor=se}return z.prototype=ie.prototype,se.prototype=new z,se.__super__=ie.prototype,se},re={}.hasOwnProperty;ae=E("./XMLNode"),ue=E("./NodeType"),we.exports=oe=function(se){le(ie,se);function ie(ne,z,y){if(ie.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD notation name. "+this.debugInfo(z));if(!y.pubID&&!y.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(z));this.name=this.stringify.name(z),this.type=ue.NotationDeclaration,y.pubID!=null&&(this.pubID=this.stringify.dtdPubID(y.pubID)),y.sysID!=null&&(this.sysID=this.stringify.dtdSysID(y.sysID))}return Object.defineProperty(ie.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ie.prototype,"systemId",{get:function(){return this.sysID}}),ie.prototype.toString=function(ne){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ne))},ie}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,we,fe){(function(){var ue,oe,ae,le,re=function(ie,ne){for(var z in ne)se.call(ne,z)&&(ie[z]=ne[z]);function y(){this.constructor=ie}return y.prototype=ne.prototype,ie.prototype=new y,ie.__super__=ne.prototype,ie},se={}.hasOwnProperty;le=E("./Utility").isObject,ae=E("./XMLNode"),ue=E("./NodeType"),we.exports=oe=function(ie){re(ne,ie);function ne(z,y,a,x){var b;ne.__super__.constructor.call(this,z),le(y)&&(b=y,y=b.version,a=b.encoding,x=b.standalone),y||(y="1.0"),this.type=ue.Declaration,this.version=this.stringify.xmlVersion(y),a!=null&&(this.encoding=this.stringify.xmlEncoding(a)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ne.prototype.toString=function(z){return this.options.writer.declaration(this,this.options.writer.filterOptions(z))},ne}(ae)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,we,fe){(function(){var ue,oe,ae,le,re,se,ie,ne,z,y=function(x,b){for(var ee in b)a.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},a={}.hasOwnProperty;z=E("./Utility").isObject,ne=E("./XMLNode"),ue=E("./NodeType"),oe=E("./XMLDTDAttList"),le=E("./XMLDTDEntity"),ae=E("./XMLDTDElement"),re=E("./XMLDTDNotation"),ie=E("./XMLNamedNodeMap"),we.exports=se=function(x){y(b,x);function b(ee,te,de){var ge,ve,ye,be,Ce,Se;if(b.__super__.constructor.call(this,ee),this.type=ue.DocType,ee.children){for(be=ee.children,ve=0,ye=be.length;ve=0;)this.up();return this.onEnd()},Ee.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ee.prototype.openNode=function(He){var Oe,ke,Xe,$e;if(!He.isOpen){if(!this.root&&this.currentLevel===0&&He.type===ue.Element&&(this.root=He),ke="",He.type===ue.Element){this.writerOptions.state=oe.OpenTag,ke=this.writer.indent(He,this.writerOptions,this.currentLevel)+"<"+He.name,$e=He.attribs;for(Xe in $e)Ue.call($e,Xe)&&(Oe=$e[Xe],ke+=this.writer.attribute(Oe,this.writerOptions,this.currentLevel));ke+=(He.children?">":"/>")+this.writer.endline(He,this.writerOptions,this.currentLevel),this.writerOptions.state=oe.InsideTag}else this.writerOptions.state=oe.OpenTag,ke=this.writer.indent(He,this.writerOptions,this.currentLevel)+""),ke+=this.writer.endline(He,this.writerOptions,this.currentLevel);return this.onData(ke,this.currentLevel),He.isOpen=!0}},Ee.prototype.closeNode=function(He){var Oe;if(!He.isClosed)return Oe="",this.writerOptions.state=oe.CloseTag,He.type===ue.Element?Oe=this.writer.indent(He,this.writerOptions,this.currentLevel)+""+this.writer.endline(He,this.writerOptions,this.currentLevel):Oe=this.writer.indent(He,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(He,this.writerOptions,this.currentLevel),this.writerOptions.state=oe.None,this.onData(Oe,this.currentLevel),He.isClosed=!0},Ee.prototype.onData=function(He,Oe){return this.documentStarted=!0,this.onDataCallback(He,Oe+1)},Ee.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ee.prototype.debugInfo=function(He){return He==null?"":"node: <"+He+">"},Ee.prototype.ele=function(){return this.element.apply(this,arguments)},Ee.prototype.nod=function(He,Oe,ke){return this.node(He,Oe,ke)},Ee.prototype.txt=function(He){return this.text(He)},Ee.prototype.dat=function(He){return this.cdata(He)},Ee.prototype.com=function(He){return this.comment(He)},Ee.prototype.ins=function(He,Oe){return this.instruction(He,Oe)},Ee.prototype.dec=function(He,Oe,ke){return this.declaration(He,Oe,ke)},Ee.prototype.dtd=function(He,Oe,ke){return this.doctype(He,Oe,ke)},Ee.prototype.e=function(He,Oe,ke){return this.element(He,Oe,ke)},Ee.prototype.n=function(He,Oe,ke){return this.node(He,Oe,ke)},Ee.prototype.t=function(He){return this.text(He)},Ee.prototype.d=function(He){return this.cdata(He)},Ee.prototype.c=function(He){return this.comment(He)},Ee.prototype.r=function(He){return this.raw(He)},Ee.prototype.i=function(He,Oe){return this.instruction(He,Oe)},Ee.prototype.att=function(){return this.currentNode&&this.currentNode.type===ue.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.a=function(){return this.currentNode&&this.currentNode.type===ue.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.ent=function(He,Oe){return this.entity(He,Oe)},Ee.prototype.pent=function(He,Oe){return this.pEntity(He,Oe)},Ee.prototype.not=function(He,Oe){return this.notation(He,Oe)},Ee}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,we,fe){(function(){var ue,oe,ae,le=function(se,ie){for(var ne in ie)re.call(ie,ne)&&(se[ne]=ie[ne]);function z(){this.constructor=se}return z.prototype=ie.prototype,se.prototype=new z,se.__super__=ie.prototype,se},re={}.hasOwnProperty;ae=E("./XMLNode"),ue=E("./NodeType"),we.exports=oe=function(se){le(ie,se);function ie(ne){ie.__super__.constructor.call(this,ne),this.type=ue.Dummy}return ie.prototype.clone=function(){return Object.create(this)},ie.prototype.toString=function(ne){return""},ie}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,we,fe){(function(){var ue,oe,ae,le,re,se,ie,ne,z,y=function(x,b){for(var ee in b)a.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},a={}.hasOwnProperty;z=E("./Utility"),ne=z.isObject,ie=z.isFunction,se=z.getValue,re=E("./XMLNode"),ue=E("./NodeType"),oe=E("./XMLAttribute"),le=E("./XMLNamedNodeMap"),we.exports=ae=function(x){y(b,x);function b(ee,te,de){var ge,ve,ye,be;if(b.__super__.constructor.call(this,ee),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=ue.Element,this.attribs={},this.schemaTypeInfo=null,de!=null&&this.attribute(de),ee.type===ue.Document&&(this.isRoot=!0,this.documentObject=ee,ee.rootObject=this,ee.children)){for(be=ee.children,ve=0,ye=be.length;ve=ge;te=0<=ge?++de:--de)if(!this.attribs[te].isEqualNode(ee.attribs[te]))return!1;return!0},b}(re)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,we,fe){(function(){var ue;we.exports=ue=function(){function oe(ae){this.nodes=ae}return Object.defineProperty(oe.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),oe.prototype.clone=function(){return this.nodes=null},oe.prototype.getNamedItem=function(ae){return this.nodes[ae]},oe.prototype.setNamedItem=function(ae){var le;return le=this.nodes[ae.nodeName],this.nodes[ae.nodeName]=ae,le||null},oe.prototype.removeNamedItem=function(ae){var le;return le=this.nodes[ae],delete this.nodes[ae],le||null},oe.prototype.item=function(ae){return this.nodes[Object.keys(this.nodes)[ae]]||null},oe.prototype.getNamedItemNS=function(ae,le){throw new Error("This DOM method is not implemented.")},oe.prototype.setNamedItemNS=function(ae){throw new Error("This DOM method is not implemented.")},oe.prototype.removeNamedItemNS=function(ae,le){throw new Error("This DOM method is not implemented.")},oe}()}).call(this)},{}],450:[function(E,we,fe){(function(){var ue,oe,ae,le,re,se,ie,ne,z,y,a,x,b,ee,te,de,ge,ve,ye,be={}.hasOwnProperty;ye=E("./Utility"),ve=ye.isObject,ge=ye.isFunction,de=ye.isEmpty,te=ye.getValue,ne=null,ae=null,le=null,re=null,se=null,b=null,ee=null,x=null,ie=null,oe=null,a=null,z=null,ue=null,we.exports=y=function(){function Ce(Se){this.parent=Se,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ne||(ne=E("./XMLElement"),ae=E("./XMLCData"),le=E("./XMLComment"),re=E("./XMLDeclaration"),se=E("./XMLDocType"),b=E("./XMLRaw"),ee=E("./XMLText"),x=E("./XMLProcessingInstruction"),ie=E("./XMLDummy"),oe=E("./NodeType"),a=E("./XMLNodeList"),z=E("./XMLNamedNodeMap"),ue=E("./DocumentPosition"))}return Object.defineProperty(Ce.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Ce.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Ce.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Ce.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Ce.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new a(this.children)),this.childNodeList}}),Object.defineProperty(Ce.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Ce.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Ce.prototype,"previousSibling",{get:function(){var Se;return Se=this.parent.children.indexOf(this),this.parent.children[Se-1]||null}}),Object.defineProperty(Ce.prototype,"nextSibling",{get:function(){var Se;return Se=this.parent.children.indexOf(this),this.parent.children[Se+1]||null}}),Object.defineProperty(Ce.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Ce.prototype,"textContent",{get:function(){var Se,Pe,Be,Ue,Ee;if(this.nodeType===oe.Element||this.nodeType===oe.DocumentFragment){for(Ee="",Ue=this.children,Pe=0,Be=Ue.length;Pe":(Be=this.parent)!=null&&Be.name?"node: <"+Se+">, parent: <"+this.parent.name+">":"node: <"+Se+">"},Ce.prototype.ele=function(Se,Pe,Be){return this.element(Se,Pe,Be)},Ce.prototype.nod=function(Se,Pe,Be){return this.node(Se,Pe,Be)},Ce.prototype.txt=function(Se){return this.text(Se)},Ce.prototype.dat=function(Se){return this.cdata(Se)},Ce.prototype.com=function(Se){return this.comment(Se)},Ce.prototype.ins=function(Se,Pe){return this.instruction(Se,Pe)},Ce.prototype.doc=function(){return this.document()},Ce.prototype.dec=function(Se,Pe,Be){return this.declaration(Se,Pe,Be)},Ce.prototype.e=function(Se,Pe,Be){return this.element(Se,Pe,Be)},Ce.prototype.n=function(Se,Pe,Be){return this.node(Se,Pe,Be)},Ce.prototype.t=function(Se){return this.text(Se)},Ce.prototype.d=function(Se){return this.cdata(Se)},Ce.prototype.c=function(Se){return this.comment(Se)},Ce.prototype.r=function(Se){return this.raw(Se)},Ce.prototype.i=function(Se,Pe){return this.instruction(Se,Pe)},Ce.prototype.u=function(){return this.up()},Ce.prototype.importXMLBuilder=function(Se){return this.importDocument(Se)},Ce.prototype.replaceChild=function(Se,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.removeChild=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.appendChild=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.hasChildNodes=function(){return this.children.length!==0},Ce.prototype.cloneNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.isSupported=function(Se,Pe){return!0},Ce.prototype.hasAttributes=function(){return this.attribs.length!==0},Ce.prototype.compareDocumentPosition=function(Se){var Pe,Be;return Pe=this,Pe===Se?0:this.document()!==Se.document()?(Be=ue.Disconnected|ue.ImplementationSpecific,Math.random()<.5?Be|=ue.Preceding:Be|=ue.Following,Be):Pe.isAncestor(Se)?ue.Contains|ue.Preceding:Pe.isDescendant(Se)?ue.Contains|ue.Following:Pe.isPreceding(Se)?ue.Preceding:ue.Following},Ce.prototype.isSameNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.lookupPrefix=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.isDefaultNamespace=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.lookupNamespaceURI=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.isEqualNode=function(Se){var Pe,Be,Ue;if(Se.nodeType!==this.nodeType||Se.children.length!==this.children.length)return!1;for(Pe=Be=0,Ue=this.children.length-1;0<=Ue?Be<=Ue:Be>=Ue;Pe=0<=Ue?++Be:--Be)if(!this.children[Pe].isEqualNode(Se.children[Pe]))return!1;return!0},Ce.prototype.getFeature=function(Se,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.setUserData=function(Se,Pe,Be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.getUserData=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ce.prototype.contains=function(Se){return Se?Se===this||this.isDescendant(Se):!1},Ce.prototype.isDescendant=function(Se){var Pe,Be,Ue,Ee,He;for(He=this.children,Ue=0,Ee=He.length;UeBe},Ce.prototype.treePosition=function(Se){var Pe,Be;return Be=0,Pe=!1,this.foreachTreeNode(this.document(),function(Ue){if(Be++,!Pe&&Ue===Se)return Pe=!0}),Pe?Be:-1},Ce.prototype.foreachTreeNode=function(Se,Pe){var Be,Ue,Ee,He,Oe;for(Se||(Se=this.document()),He=Se.children,Ue=0,Ee=He.length;Ue0){for(this.stream.write(" ["),this.stream.write(this.endline(z,y,a)),y.state=oe.InsideTag,te=z.children,b=0,ee=te.length;b"),this.stream.write(this.endline(z,y,a)),y.state=oe.None,this.closeNode(z,y,a)},ne.prototype.element=function(z,y,a){var x,b,ee,te,de,ge,ve,ye,be,Ce;a||(a=0),this.openNode(z,y,a),y.state=oe.OpenTag,this.stream.write(this.indent(z,y,a)+"<"+z.name),be=z.attribs;for(ve in be)se.call(be,ve)&&(x=be[ve],this.attribute(x,y,a));if(ee=z.children.length,te=ee===0?null:z.children[0],ee===0||z.children.every(function(Se){return(Se.type===ue.Text||Se.type===ue.Raw)&&Se.value===""}))y.allowEmpty?(this.stream.write(">"),y.state=oe.CloseTag,this.stream.write("")):(y.state=oe.CloseTag,this.stream.write(y.spaceBeforeSlash+"/>"));else if(y.pretty&&ee===1&&(te.type===ue.Text||te.type===ue.Raw)&&te.value!=null)this.stream.write(">"),y.state=oe.InsideTag,y.suppressPrettyCount++,ye=!0,this.writeChildNode(te,y,a+1),y.suppressPrettyCount--,ye=!1,y.state=oe.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(z,y,a)),y.state=oe.InsideTag,Ce=z.children,de=0,ge=Ce.length;de")}return this.stream.write(this.endline(z,y,a)),y.state=oe.None,this.closeNode(z,y,a)},ne.prototype.processingInstruction=function(z,y,a){return this.stream.write(ne.__super__.processingInstruction.call(this,z,y,a))},ne.prototype.raw=function(z,y,a){return this.stream.write(ne.__super__.raw.call(this,z,y,a))},ne.prototype.text=function(z,y,a){return this.stream.write(ne.__super__.text.call(this,z,y,a))},ne.prototype.dtdAttList=function(z,y,a){return this.stream.write(ne.__super__.dtdAttList.call(this,z,y,a))},ne.prototype.dtdElement=function(z,y,a){return this.stream.write(ne.__super__.dtdElement.call(this,z,y,a))},ne.prototype.dtdEntity=function(z,y,a){return this.stream.write(ne.__super__.dtdEntity.call(this,z,y,a))},ne.prototype.dtdNotation=function(z,y,a){return this.stream.write(ne.__super__.dtdNotation.call(this,z,y,a))},ne}(le)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,we,fe){(function(){var ue,oe,ae=function(re,se){for(var ie in se)le.call(se,ie)&&(re[ie]=se[ie]);function ne(){this.constructor=re}return ne.prototype=se.prototype,re.prototype=new ne,re.__super__=se.prototype,re},le={}.hasOwnProperty;oe=E("./XMLWriterBase"),we.exports=ue=function(re){ae(se,re);function se(ie){se.__super__.constructor.call(this,ie)}return se.prototype.document=function(ie,ne){var z,y,a,x,b;for(ne=this.filterOptions(ne),x="",b=ie.children,y=0,a=b.length;y","]]]]>"),this.assertLegalChar(re))},le.prototype.comment=function(re){if(this.options.noValidation)return re;if(re=""+re||"",re.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+re);return this.assertLegalChar(re)},le.prototype.raw=function(re){return this.options.noValidation?re:""+re||""},le.prototype.attValue=function(re){return this.options.noValidation?re:this.assertLegalChar(this.attEscape(re=""+re||""))},le.prototype.insTarget=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.insValue=function(re){if(this.options.noValidation)return re;if(re=""+re||"",re.match(/\?>/))throw new Error("Invalid processing instruction value: "+re);return this.assertLegalChar(re)},le.prototype.xmlVersion=function(re){if(this.options.noValidation)return re;if(re=""+re||"",!re.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+re);return re},le.prototype.xmlEncoding=function(re){if(this.options.noValidation)return re;if(re=""+re||"",!re.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+re);return this.assertLegalChar(re)},le.prototype.xmlStandalone=function(re){return this.options.noValidation?re:re?"yes":"no"},le.prototype.dtdPubID=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.dtdSysID=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.dtdElementValue=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.dtdAttType=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.dtdAttDefault=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.dtdEntityValue=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.dtdNData=function(re){return this.options.noValidation?re:this.assertLegalChar(""+re||"")},le.prototype.convertAttKey="@",le.prototype.convertPIKey="?",le.prototype.convertTextKey="#text",le.prototype.convertCDataKey="#cdata",le.prototype.convertCommentKey="#comment",le.prototype.convertRawKey="#raw",le.prototype.assertLegalChar=function(re){var se,ie;if(this.options.noValidation)return re;if(se="",this.options.version==="1.0"){if(se=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ie=re.match(se))throw new Error("Invalid character in string: "+re+" at index "+ie.index)}else if(this.options.version==="1.1"&&(se=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ie=re.match(se)))throw new Error("Invalid character in string: "+re+" at index "+ie.index);return re},le.prototype.assertLegalName=function(re){var se;if(this.options.noValidation)return re;if(this.assertLegalChar(re),se=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!re.match(se))throw new Error("Invalid character in name");return re},le.prototype.textEscape=function(re){var se;return this.options.noValidation?re:(se=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,re.replace(se,"&").replace(//g,">").replace(/\r/g," "))},le.prototype.attEscape=function(re){var se;return this.options.noValidation?re:(se=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,re.replace(se,"&").replace(/0)?new Array(Pe).join(Ce.indent):""},ye.prototype.endline=function(be,Ce,Se){return!Ce.pretty||Ce.suppressPrettyCount?"":Ce.newline},ye.prototype.attribute=function(be,Ce,Se){var Pe;return this.openAttribute(be,Ce,Se),Pe=" "+be.name+'="'+be.value+'"',this.closeAttribute(be,Ce,Se),Pe},ye.prototype.cdata=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+""+this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.comment=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+""+this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.declaration=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+"",Pe+=this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.docType=function(be,Ce,Se){var Pe,Be,Ue,Ee,He;if(Se||(Se=0),this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Ee=this.indent(be,Ce,Se),Ee+="0){for(Ee+=" [",Ee+=this.endline(be,Ce,Se),Ce.state=oe.InsideTag,He=be.children,Be=0,Ue=He.length;Be",Ee+=this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Ee},ye.prototype.element=function(be,Ce,Se){var Pe,Be,Ue,Ee,He,Oe,ke,Xe,$e,ze,at,et,it,At;Se||(Se=0),ze=!1,at="",this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,at+=this.indent(be,Ce,Se)+"<"+be.name,et=be.attribs;for($e in et)ve.call(et,$e)&&(Pe=et[$e],at+=this.attribute(Pe,Ce,Se));if(Ue=be.children.length,Ee=Ue===0?null:be.children[0],Ue===0||be.children.every(function(ot){return(ot.type===ue.Text||ot.type===ue.Raw)&&ot.value===""}))Ce.allowEmpty?(at+=">",Ce.state=oe.CloseTag,at+=""+this.endline(be,Ce,Se)):(Ce.state=oe.CloseTag,at+=Ce.spaceBeforeSlash+"/>"+this.endline(be,Ce,Se));else if(Ce.pretty&&Ue===1&&(Ee.type===ue.Text||Ee.type===ue.Raw)&&Ee.value!=null)at+=">",Ce.state=oe.InsideTag,Ce.suppressPrettyCount++,ze=!0,at+=this.writeChildNode(Ee,Ce,Se+1),Ce.suppressPrettyCount--,ze=!1,Ce.state=oe.CloseTag,at+=""+this.endline(be,Ce,Se);else{if(Ce.dontPrettyTextNodes){for(it=be.children,He=0,ke=it.length;He"+this.endline(be,Ce,Se),Ce.state=oe.InsideTag,At=be.children,Oe=0,Xe=At.length;Oe",ze&&Ce.suppressPrettyCount--,at+=this.endline(be,Ce,Se),Ce.state=oe.None}return this.closeNode(be,Ce,Se),at},ye.prototype.writeChildNode=function(be,Ce,Se){switch(be.type){case ue.CData:return this.cdata(be,Ce,Se);case ue.Comment:return this.comment(be,Ce,Se);case ue.Element:return this.element(be,Ce,Se);case ue.Raw:return this.raw(be,Ce,Se);case ue.Text:return this.text(be,Ce,Se);case ue.ProcessingInstruction:return this.processingInstruction(be,Ce,Se);case ue.Dummy:return"";case ue.Declaration:return this.declaration(be,Ce,Se);case ue.DocType:return this.docType(be,Ce,Se);case ue.AttributeDeclaration:return this.dtdAttList(be,Ce,Se);case ue.ElementDeclaration:return this.dtdElement(be,Ce,Se);case ue.EntityDeclaration:return this.dtdEntity(be,Ce,Se);case ue.NotationDeclaration:return this.dtdNotation(be,Ce,Se);default:throw new Error("Unknown XML node type: "+be.constructor.name)}},ye.prototype.processingInstruction=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+"",Pe+=this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.raw=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se),Ce.state=oe.InsideTag,Pe+=be.value,Ce.state=oe.CloseTag,Pe+=this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.text=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se),Ce.state=oe.InsideTag,Pe+=be.value,Ce.state=oe.CloseTag,Pe+=this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.dtdAttList=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+""+this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.dtdElement=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+""+this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.dtdEntity=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+""+this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.dtdNotation=function(be,Ce,Se){var Pe;return this.openNode(be,Ce,Se),Ce.state=oe.OpenTag,Pe=this.indent(be,Ce,Se)+""+this.endline(be,Ce,Se),Ce.state=oe.None,this.closeNode(be,Ce,Se),Pe},ye.prototype.openNode=function(be,Ce,Se){},ye.prototype.closeNode=function(be,Ce,Se){},ye.prototype.openAttribute=function(be,Ce,Se){},ye.prototype.closeAttribute=function(be,Ce,Se){},ye}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,we,fe){(function(){var ue,oe,ae,le,re,se,ie,ne,z,y;y=E("./Utility"),ne=y.assign,z=y.isFunction,ae=E("./XMLDOMImplementation"),le=E("./XMLDocument"),re=E("./XMLDocumentCB"),ie=E("./XMLStringWriter"),se=E("./XMLStreamWriter"),ue=E("./NodeType"),oe=E("./WriterState"),we.exports.create=function(a,x,b,ee){var te,de;if(a==null)throw new Error("Root element needs a name.");return ee=ne({},x,b,ee),te=new le(ee),de=te.element(a),ee.headless||(te.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&te.dtd(ee)),de},we.exports.begin=function(a,x,b){var ee;return z(a)&&(ee=[a,x],x=ee[0],b=ee[1],a={}),x?new re(a,x,b):new le(a)},we.exports.stringWriter=function(a){return new ie(a)},we.exports.streamWriter=function(a,x){return new se(a,x)},we.exports.implementation=new ae,we.exports.nodeType=ue,we.exports.writerState=oe}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,we,fe){we.exports=oe;var ue=Object.prototype.hasOwnProperty;function oe(){for(var ae={},le=0;lere?a=y(a):a.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,ee=-271733879,te=-1732584194,de=271733878,ge=0;ge>16)+(x>>16)+(b>>16);return ee<<16|b&65535}function y(a,x){return a<>>32-x}we.exports=function(x){return ue.hash(x,ae,16)}},{"./helpers":462}],464:[function(E,we,fe){"use strict";var ue=E("./helpers");function oe(ie,ne){ie[ne>>5]|=128<<24-ne%32,ie[(ne+64>>9<<4)+15]=ne;for(var z=Array(80),y=1732584193,a=-271733879,x=-1732584194,b=271733878,ee=-1009589776,te=0;te>16)+(ne>>16)+(z>>16);return y<<16|z&65535}function se(ie,ne){return ie<>>32-ne}we.exports=function(ne){return ue.hash(ne,oe,20,!0)}},{"./helpers":462}],465:[function(E,we,fe){"use strict";we.exports=function(){return function(){}}},{}],466:[function(E,we,fe){(function(ue){(function(){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),ae=oe(E("@babel/runtime/helpers/typeof")),le=E("stream"),re=le.Stream,se=E("../lib/common/utils/isArray"),ie=se.isArray;we.exports.string=function(y){return typeof y=="string"},we.exports.array=ie,we.exports.buffer=ue.isBuffer;function ne(z){return z instanceof re}we.exports.writableStream=function(y){return ne(y)&&typeof y._write=="function"&&(0,ae.default)(y._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,we,fe){"use strict";var ue=E("immediate"),oe=we.exports={};oe.nextTick=ue,oe.title="browser",oe.browser=!0,oe.env={},oe.argv=[],oe.version="",oe.versions={};function ae(){}oe.on=ae,oe.addListener=ae,oe.once=ae,oe.off=ae,oe.removeListener=ae,oe.removeAllListeners=ae,oe.emit=ae,oe.prependListener=ae,oe.prependOnceListener=ae,oe.listeners=function(le){return[]},oe.binding=function(le){throw new Error("process.binding is not supported")},oe.cwd=function(){return"/"},oe.chdir=function(le){throw new Error("process.chdir is not supported")},oe.umask=function(){return 0}},{immediate:358}],468:[function(E,we,fe){(function(ue){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var oe=E("./lib/request"),ae=E("./lib/response"),le=E("xtend"),re=E("builtin-status-codes"),se=E("url"),ie=fe;ie.request=function(ne,z){typeof ne=="string"?ne=se.parse(ne):ne=le(ne);var y=ue.location.protocol.search(/^https?:$/)===-1?"http:":"",a=ne.protocol||y,x=ne.hostname||ne.host,b=ne.port,ee=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?a+"//"+x:"")+(b?":"+b:"")+ee,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var te=new oe(ne);return z&&te.on("response",z),te},ie.get=function(z,y){var a=ie.request(z,y);return a.end(),a},ie.ClientRequest=oe,ie.IncomingMessage=ae.IncomingMessage,ie.Agent=function(){},ie.Agent.defaultMaxSockets=4,ie.globalAgent=new ie.Agent,ie.STATUS_CODES=re,ie.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,we,fe){(function(ue){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),fe.fetch=ie(ue.fetch)&&ie(ue.ReadableStream),fe.writableStream=ie(ue.WritableStream),fe.abortController=ie(ue.AbortController),fe.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),fe.blobConstructor=!0}catch(ne){}var oe;function ae(){if(oe!==void 0)return oe;if(ue.XMLHttpRequest){oe=new ue.XMLHttpRequest;try{oe.open("GET",ue.XDomainRequest?"/":"https://example.com")}catch(ne){oe=null}}else oe=null;return oe}function le(ne){var z=ae();if(!z)return!1;try{return z.responseType=ne,z.responseType===ne}catch(y){}return!1}var re=typeof ue.ArrayBuffer!="undefined",se=re&&ie(ue.ArrayBuffer.prototype.slice);fe.arraybuffer=fe.fetch||re&&le("arraybuffer"),fe.msstream=!fe.fetch&&se&&le("ms-stream"),fe.mozchunkedarraybuffer=!fe.fetch&&re&&le("moz-chunked-arraybuffer"),fe.overrideMimeType=fe.fetch||(ae()?ie(ae().overrideMimeType):!1),fe.vbArray=ie(ue.VBArray);function ie(ne){return typeof ne=="function"}oe=null}).call(this)}).call(this,typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,we,fe){(function(ue,oe,ae){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var le=E("./capability"),re=E("inherits"),se=E("./response"),ie=E("readable-stream"),ne=E("to-arraybuffer"),z=se.IncomingMessage,y=se.readyStates;function a(te,de){return le.fetch&&de?"fetch":le.mozchunkedarraybuffer?"moz-chunked-arraybuffer":le.msstream?"ms-stream":le.arraybuffer&&te?"arraybuffer":le.vbArray&&te?"text:vbarray":"text"}var x=we.exports=function(te){var de=this;ie.Writable.call(de),de._opts=te,de._body=[],de._headers={},te.auth&&de.setHeader("Authorization","Basic "+new ae(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ye){de.setHeader(ye,te.headers[ye])});var ge,ve=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!le.abortController)ve=!1,ge=!0;else if(te.mode==="prefer-streaming")ge=!1;else if(te.mode==="allow-wrong-content-type")ge=!le.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")ge=!0;else throw new Error("Invalid value for opts.mode");de._mode=a(ge,ve),de._fetchTimer=null,de.on("finish",function(){de._onFinish()})};re(x,ie.Writable),x.prototype.setHeader=function(te,de){var ge=this,ve=te.toLowerCase();ee.indexOf(ve)===-1&&(ge._headers[ve]={name:te,value:de})},x.prototype.getHeader=function(te){var de=this._headers[te.toLowerCase()];return de?de.value:null},x.prototype.removeHeader=function(te){var de=this;delete de._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var de=te._opts,ge=te._headers,ve=null;de.method!=="GET"&&de.method!=="HEAD"&&(le.arraybuffer?ve=ne(ae.concat(te._body)):le.blobConstructor?ve=new oe.Blob(te._body.map(function(Be){return ne(Be)}),{type:(ge["content-type"]||{}).value||""}):ve=ae.concat(te._body).toString());var ye=[];if(Object.keys(ge).forEach(function(Be){var Ue=ge[Be].name,Ee=ge[Be].value;Array.isArray(Ee)?Ee.forEach(function(He){ye.push([Ue,He])}):ye.push([Ue,Ee])}),te._mode==="fetch"){var be=null,Ce=null;if(le.abortController){var Se=new AbortController;be=Se.signal,te._fetchAbortController=Se,"requestTimeout"in de&&de.requestTimeout!==0&&(te._fetchTimer=oe.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},de.requestTimeout))}oe.fetch(te._opts.url,{method:te._opts.method,headers:ye,body:ve||void 0,mode:"cors",credentials:de.withCredentials?"include":"same-origin",signal:be}).then(function(Be){te._fetchResponse=Be,te._connect()},function(Be){oe.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",Be)})}else{var Pe=te._xhr=new oe.XMLHttpRequest;try{Pe.open(te._opts.method,te._opts.url,!0)}catch(Be){ue.nextTick(function(){te.emit("error",Be)});return}"responseType"in Pe&&(Pe.responseType=te._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!de.withCredentials),te._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in de&&(Pe.timeout=de.requestTimeout,Pe.ontimeout=function(){te.emit("requestTimeout")}),ye.forEach(function(Be){Pe.setRequestHeader(Be[0],Be[1])}),te._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case y.LOADING:case y.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){te._onXHRProgress()}),Pe.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Pe.send(ve)}catch(Be){ue.nextTick(function(){te.emit("error",Be)});return}}}};function b(te){try{var de=te.status;return de!==null&&de!==0}catch(ge){return!1}}x.prototype._onXHRProgress=function(){var te=this;!b(te._xhr)||te._destroyed||(te._response||te._connect(),te._response._onXHRProgress())},x.prototype._connect=function(){var te=this;te._destroyed||(te._response=new z(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(de){te.emit("error",de)}),te.emit("response",te._response))},x.prototype._write=function(te,de,ge){var ve=this;ve._body.push(te),ge()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,oe.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,de,ge){var ve=this;typeof te=="function"&&(ge=te,te=void 0),ie.Writable.prototype.end.call(ve,te,de,ge)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var ee=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,we,fe){(function(ue,oe,ae){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var le=E("./capability"),re=E("inherits"),se=E("readable-stream"),ie=fe.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=fe.IncomingMessage=function(z,y,a,x){var b=this;if(se.Readable.call(b),b._mode=a,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){ue.nextTick(function(){b.emit("close")})}),a==="fetch"){var ee=function be(){de.read().then(function(Ce){if(!b._destroyed){if(Ce.done){oe.clearTimeout(x),b.push(null);return}b.push(new ae(Ce.value)),be()}}).catch(function(Ce){oe.clearTimeout(x),b._destroyed||b.emit("error",Ce)})};if(b._fetchResponse=y,b.url=y.url,b.statusCode=y.status,b.statusMessage=y.statusText,y.headers.forEach(function(be,Ce){b.headers[Ce.toLowerCase()]=be,b.rawHeaders.push(Ce,be)}),le.writableStream){var te=new WritableStream({write:function(Ce){return new Promise(function(Se,Pe){b._destroyed?Pe():b.push(new ae(Ce))?Se():b._resumeFetch=Se})},close:function(){oe.clearTimeout(x),b._destroyed||b.push(null)},abort:function(Ce){b._destroyed||b.emit("error",Ce)}});try{y.body.pipeTo(te).catch(function(be){oe.clearTimeout(x),b._destroyed||b.emit("error",be)});return}catch(be){}}var de=y.body.getReader();ee()}else{b._xhr=z,b._pos=0,b.url=z.responseURL,b.statusCode=z.status,b.statusMessage=z.statusText;var ge=z.getAllResponseHeaders().split(/\r?\n/);if(ge.forEach(function(be){var Ce=be.match(/^([^:]+):\s*(.*)/);if(Ce){var Se=Ce[1].toLowerCase();Se==="set-cookie"?(b.headers[Se]===void 0&&(b.headers[Se]=[]),b.headers[Se].push(Ce[2])):b.headers[Se]!==void 0?b.headers[Se]+=", "+Ce[2]:b.headers[Se]=Ce[2],b.rawHeaders.push(Ce[1],Ce[2])}}),b._charset="x-user-defined",!le.overrideMimeType){var ve=b.rawHeaders["mime-type"];if(ve){var ye=ve.match(/;\s*charset=([^;])(;|$)/);ye&&(b._charset=ye[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};re(ne,se.Readable),ne.prototype._read=function(){var z=this,y=z._resumeFetch;y&&(z._resumeFetch=null,y())},ne.prototype._onXHRProgress=function(){var z=this,y=z._xhr,a=null;switch(z._mode){case"text:vbarray":if(y.readyState!==ie.DONE)break;try{a=new oe.VBArray(y.responseBody).toArray()}catch(de){}if(a!==null){z.push(new ae(a));break}case"text":try{a=y.responseText}catch(de){z._mode="text:vbarray";break}if(a.length>z._pos){var x=a.substr(z._pos);if(z._charset==="x-user-defined"){for(var b=new ae(x.length),ee=0;eez._pos&&(z.push(new ae(new Uint8Array(te.result.slice(z._pos)))),z._pos=te.result.byteLength)},te.onload=function(){z.push(null)},te.readAsArrayBuffer(a);break}z._xhr.readyState===ie.DONE&&z._mode!=="ms-stream"&&z.push(null)}}).call(this)}).call(this,E("_process"),typeof Mt!="undefined"?Mt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var ae=E("punycode"),le=E("./util");fe.parse=Ce,fe.resolve=Pe,fe.resolveObject=Be,fe.format=Se,fe.Url=re;function re(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var se=/^([a-z0-9.+-]+:)/i,ie=/:[0-9]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,z=["<",">",'"',"`"," ","\r",` `," "],y=["{","}","|","\\","^","`"].concat(z),a=["'"].concat(y),x=["%","/","?",";","#"].concat(a),b=["/","?","#"],ee=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,de=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ge={javascript:!0,"javascript:":!0},ve={javascript:!0,"javascript:":!0},ye={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},be=E("querystring");function Ce(Ue,Ee,He){if(Ue&&le.isObject(Ue)&&Ue instanceof re)return Ue;var Oe=new re;return Oe.parse(Ue,Ee,He),Oe}re.prototype.parse=function(Ue,Ee,He){if(!le.isString(Ue))throw new TypeError("Parameter 'url' must be a string, not "+(0,oe.default)(Ue));var Oe=Ue.indexOf("?"),ke=Oe!==-1&&Oe127?je+="x":je+=qe[Ve];if(!je.match(te)){var _e=vt.slice(0,rt),Fe=vt.slice(rt+1),De=qe.match(de);De&&(_e.push(De[1]),Fe.unshift(De[2])),Fe.length&&(ze="/"+Fe.join(".")+ze),this.hostname=_e.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),Tt||(this.hostname=ae.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Ne=this.hostname||"";this.host=Ne+Te,this.href+=this.host,Tt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),ze[0]!=="/"&&(ze="/"+ze))}if(!ge[it])for(var rt=0,ut=a.length;rt0?He.host.split("@"):!1;je&&(He.auth=je.shift(),He.host=He.hostname=je.shift())}return He.search=Ue.search,He.query=Ue.query,(!le.isNull(He.pathname)||!le.isNull(He.search))&&(He.path=(He.pathname?He.pathname:"")+(He.search?He.search:"")),He.href=He.format(),He}if(!vt.length)return He.pathname=null,He.search?He.path="/"+He.search:He.path=null,He.href=He.format(),He;for(var Ve=vt.slice(-1)[0],Ie=(He.host||Ue.host||vt.length>1)&&(Ve==="."||Ve==="..")||Ve==="",_e=0,Fe=vt.length;Fe>=0;Fe--)Ve=vt[Fe],Ve==="."?vt.splice(Fe,1):Ve===".."?(vt.splice(Fe,1),_e++):_e&&(vt.splice(Fe,1),_e--);if(!yt&&!Tt)for(;_e--;_e)vt.unshift("..");yt&&vt[0]!==""&&(!vt[0]||vt[0].charAt(0)!=="/")&&vt.unshift(""),Ie&&vt.join("/").substr(-1)!=="/"&&vt.push("");var De=vt[0]===""||vt[0]&&vt[0].charAt(0)==="/";if(qe){He.hostname=He.host=De?"":vt.length?vt.shift():"";var je=He.host&&He.host.indexOf("@")>0?He.host.split("@"):!1;je&&(He.auth=je.shift(),He.host=He.hostname=je.shift())}return yt=yt||He.host&&vt.length,yt&&!De&&vt.unshift(""),vt.length?He.pathname=vt.join("/"):(He.pathname=null,He.path=null),(!le.isNull(He.pathname)||!le.isNull(He.search))&&(He.path=(He.pathname?He.pathname:"")+(He.search?He.search:"")),He.auth=Ue.auth||He.auth,He.slashes=He.slashes||Ue.slashes,He.href=He.format(),He},re.prototype.parseHost=function(){var Ue=this.host,Ee=ie.exec(Ue);Ee&&(Ee=Ee[0],Ee!==":"&&(this.port=Ee.substr(1)),Ue=Ue.substr(0,Ue.length-Ee.length)),Ue&&(this.hostname=Ue)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,we,fe){"use strict";var ue=E("@babel/runtime/helpers/interopRequireDefault"),oe=ue(E("@babel/runtime/helpers/typeof"));we.exports={isString:function(le){return typeof le=="string"},isObject:function(le){return(0,oe.default)(le)==="object"&&le!==null},isNull:function(le){return le===null},isNullOrUndefined:function(le){return le==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,we,fe){"use strict";E("core-js/modules/es.number.constructor.js"),fe.encodeURIComponent=function(ue){try{return encodeURIComponent(ue)}catch(oe){return ue}},fe.escape=E("escape-html"),fe.timestamp=function(oe){if(oe){var ae=oe;return typeof ae=="string"&&(ae=Number(ae)),String(oe).length===10&&(ae*=1e3),new Date(ae)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,we,fe){(function(ue,oe){(function(){"use strict";var ae=E("@babel/runtime/helpers/interopRequireDefault"),le=ae(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var re=E("util"),se=E("url"),ie=E("http"),ne=E("https"),z=E("debug")("urllib"),y=E("humanize-ms"),a=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function ee(ve,ye){return ve===void 0?ye:ve}function te(ve){return ve?ve.split(";")[0].trim().toLowerCase():""}function de(ve,ye){return function(be,Ce,Se){if(be)return ye(be);ve({data:Ce,status:Se.statusCode,headers:Se.headers,res:Se})}}fe.TIMEOUTS=[y("300s"),y("300s")];var ge=["json","text"];fe.request=function(ye,be,Ce){return arguments.length===2&&typeof be=="function"&&(Ce=be,be=null),typeof Ce=="function"?fe.requestWithCallback(ye,be,Ce):new Promise(function(Se,Pe){fe.requestWithCallback(ye,be,de(Se,Pe))})},fe.requestWithCallback=function(ye,be,Ce){if(!ye||typeof ye!="string"&&(0,le.default)(ye)!=="object"){var Se=re.format("expect request url to be a string or a http request options, but got %j",ye);throw new Error(Se)}arguments.length===2&&typeof be=="function"&&(Ce=be,be=null),be=be||{},a>=x&&(a=0);var Pe=++a;be.requestUrls=be.requestUrls||[];var Be={requestId:Pe,url:ye,args:be,ctx:be.ctx};be.emitter&&be.emitter.emit("request",Be),be.timeout=be.timeout||fe.TIMEOUTS,be.maxRedirects=be.maxRedirects||10,be.streaming=be.streaming||be.customResponse;var Ue=Date.now(),Ee;typeof ye=="string"?(b.test(ye)||(ye="https://"+ye),Ee=se.parse(ye)):Ee=ye;var He=(be.type||be.method||Ee.method||"GET").toUpperCase(),Oe=Ee.port||80,ke=ie,Xe=ee(be.agent,fe.agent),$e=be.fixJSONCtlChars;Ee.protocol==="https:"&&(ke=ne,Xe=ee(be.httpsAgent,fe.httpsAgent),Ee.port||(Oe=443));var ze={host:Ee.hostname||Ee.host||"localhost",path:Ee.path||"/",method:He,port:Oe,agent:Xe,headers:be.headers||{},lookup:be.lookup};Array.isArray(be.timeout)?ze.requestTimeout=be.timeout[be.timeout.length-1]:typeof be.timeout!="undefined"&&(ze.requestTimeout=be.timeout);var at=be.auth||Ee.auth;at&&(ze.auth=at);var et=be.content||be.data,it=He==="GET"||He==="HEAD"||be.dataAsQueryString;if(!be.content&&et&&!(typeof et=="string"||oe.isBuffer(et)))if(it)et=be.nestedQuerystring?qs.stringify(et):querystring.stringify(et);else{var At=ze.headers["Content-Type"]||ze.headers["content-type"];At||(be.contentType==="json"?At="application/json":At="application/x-www-form-urlencoded",ze.headers["Content-Type"]=At),te(At)==="application/json"?et=JSON.stringify(et):et=be.nestedQuerystring?qs.stringify(et):querystring.stringify(et)}it&&et&&(ze.path+=(Ee.query?"&":"?")+et,et=null);var ot=0;if(et){var rt=et.length;oe.isBuffer(et)||(rt=oe.byteLength(et)),ot=ze.headers["Content-Length"]=rt}be.dataType==="json"&&(ze.headers.Accept="application/json"),typeof be.beforeRequest=="function"&&be.beforeRequest(ze);var lt=null,gt=null,yt=null,Tt=!1,vt=!1,ut=0,qe=-1,je=!1,Ve="",Ie="",_e=null;be.timing&&(_e={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Fe(){lt&&(clearTimeout(lt),lt=null)}function De(){gt&&(clearTimeout(gt),gt=null)}function Te(Ft,Nt,bt){if(De(),!Ce){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,ue.pid,ze.method,ye),Ft&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s stack: %s`,Date(),Pe,ue.pid,Ft.name,Ft.message,Ft.stack);return}var Dt=Ce;Ce=null;var Rt={};bt&&(qe=bt.statusCode,Rt=bt.headers);var Ut=Date.now()-Ue;_e&&(_e.contentDownload=Ut),z("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ut,ut,qe,ze.method,ze.host,ze.path,vt,_e);var qt={status:qe,statusCode:qe,headers:Rt,size:ut,aborted:je,rt:Ut,keepAliveSocket:vt,data:Nt,requestUrls:be.requestUrls,timing:_e,remoteAddress:Ve,remotePort:Ie};if(Ft){var mn="";Xe&&typeof Xe.getCurrentStatus=="function"&&(mn=", agent status: "+JSON.stringify(Xe.getCurrentStatus())),Ft.message+=", "+ze.method+" "+ye+" "+qe+" (connected: "+Tt+", keepalive socket: "+vt+mn+`) headers: `+JSON.stringify(Rt),Ft.data=Nt,Ft.path=ze.path,Ft.status=qe,Ft.headers=Rt,Ft.res=qt}Dt(Ft,Nt,be.streaming?bt:qt),be.emitter&&(Be.url=ye,Be.socket=wt&&wt.connection,Be.options=ze,Be.size=ot,be.emitter.emit("response",{requestId:Pe,error:Ft,ctx:be.ctx,req:Be,res:qt}))}function Ne(Ft){var Nt=null;if(be.followRedirect&&statuses.redirect[Ft.statusCode]){be._followRedirectCount=(be._followRedirectCount||0)+1;var bt=Ft.headers.location;if(!bt)Nt=new Error("Got statusCode "+Ft.statusCode+" but cannot resolve next location from headers"),Nt.name="FollowRedirectError";else if(be._followRedirectCount>be.maxRedirects)Nt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ye),Nt.name="MaxRedirectError";else{var Dt=be.formatRedirectUrl?be.formatRedirectUrl(ye,bt):se.resolve(ye,bt);z("Request#%d %s: `redirected` from %s to %s",Pe,ze.path,ye,Dt),De(),be.headers&&be.headers.Host&&b.test(bt)&&(be.headers.Host=null);var Rt=Ce;return Ce=null,fe.requestWithCallback(Dt,be,Rt),{redirect:!0,error:null}}}return{redirect:!1,error:Nt}}be.gzip&&!ze.headers["Accept-Encoding"]&&!ze.headers["accept-encoding"]&&(ze.headers["Accept-Encoding"]="gzip");function Le(Ft,Nt,bt){var Dt=Ft.headers["content-encoding"];return bt(null,Nt,Dt)}var Ge=be.writeStream;z("Request#%d %s %s with headers %j, options.path: %s",Pe,He,ye,ze.headers,ze.path),be.requestUrls.push(ye);function dt(Ft){if(_e&&(_e.waiting=Date.now()-Ue),z("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,ye,Ft.statusCode,Ft.headers),be.streaming){var Nt=Ne(Ft);if(Nt.redirect){Ft.resume();return}return Nt.error?(Ft.resume(),Te(Nt.error,null,Ft)):Te(null,null,Ft)}if(Ft.on("close",function(){z("Request#%d %s: `res close` event emit, total size %d",Pe,ye,ut)}),Ft.on("error",function(){z("Request#%d %s: `res error` event emit, total size %d",Pe,ye,ut)}),Ft.on("aborted",function(){je=!0,z("Request#%d %s: `res aborted` event emit, total size %d",Pe,ye,ut)}),Ge){var bt=Ne(Ft);if(bt.redirect){Ft.resume();return}return bt.error?(Ft.resume(),Ge.end(),Te(bt.error,null,Ft)):(be.consumeWriteStream===!1?Ft.on("end",Te.bind(null,null,null,Ft)):Ge.on("close",function(){z("Request#%d %s: writeStream close event emitted",Pe,ye),Te(yt||null,null,Ft)}),Ft.pipe(Ge))}var Dt=[];Ft.on("data",function(Rt){z("Request#%d %s: `res data` event emit, size %d",Pe,ye,Rt.length),ut+=Rt.length,Dt.push(Rt)}),Ft.on("end",function(){var Rt=oe.concat(Dt,ut);if(z("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,ye,ut,Ft._dumped),yt)return Te(yt,Rt,Ft);var Ut=Ne(Ft);if(Ut.error)return Te(Ut.error,Rt,Ft);Ut.redirect||Le(Ft,Rt,function(qt,mn,$t){if(qt)return Te(qt,Rt,Ft);if(!$t&&ge.indexOf(be.dataType)>=0){try{mn=decodeBodyByCharset(mn,Ft)}catch(nn){return z("decodeBodyByCharset error: %s",nn),Te(null,mn,Ft)}if(be.dataType==="json")if(ut===0)mn=null;else{var rn=parseJSON(mn,$e);rn.error?qt=rn.error:mn=rn.data}}je&&z("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,ye),Te(qt,mn,Ft)})})}var mt,st;Array.isArray(be.timeout)?(mt=y(be.timeout[0]),st=y(be.timeout[1])):mt=st=y(be.timeout),z("ConnectTimeout: %d, ResponseTimeout: %d",mt,st);function Et(){z("Connect timer ticking, timeout: %d",mt),lt=setTimeout(function(){lt=null,qe===-1&&(qe=-2);var Ft="Connect timeout for "+mt+"ms",Nt="ConnectionTimeoutError";wt.socket||(Nt="SocketAssignTimeoutError",Ft+=", working sockets is full"),yt=new Error(Ft),yt.name=Nt,yt.requestId=Pe,z("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,ye,yt.name,Ft,Tt),Lt()},mt)}function Bt(){z("Response timer ticking, timeout: %d",st),gt=setTimeout(function(){gt=null;var Ft="Response timeout for "+st+"ms",Nt="ResponseTimeoutError";yt=new Error(Ft),yt.name=Nt,yt.requestId=Pe,z("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,ye,yt.name,Ft,Tt),Lt()},st)}var wt;ze.mode=be.mode?be.mode:"";try{wt=ke.request(ze,dt)}catch(Ft){return Te(Ft)}typeof window=="undefined"?Et():wt.on("requestTimeout",function(){qe===-1&&(qe=-2);var Ft="Connect timeout for "+mt+"ms",Nt="ConnectionTimeoutError";yt=new Error(Ft),yt.name=Nt,yt.requestId=Pe,Lt()});function Lt(){z("Request#%d %s abort, connected: %s",Pe,ye,Tt),wt.socket||(yt.noSocket=!0,Te(yt)),wt.abort()}return _e&&wt.on("finish",function(){_e.requestSent=Date.now()-Ue}),wt.once("socket",function(Ft){_e&&(_e.queuing=Date.now()-Ue);var Nt=Ft.readyState;if(Nt==="opening"){Ft.once("lookup",function(bt,Dt,Rt){z("Request#%d %s lookup: %s, %s, %s",Pe,ye,bt,Dt,Rt),_e&&(_e.dnslookup=Date.now()-Ue),Dt&&(Ve=Dt)}),Ft.once("connect",function(){_e&&(_e.connected=Date.now()-Ue),Fe(),Bt(),z("Request#%d %s new socket connected",Pe,ye),Tt=!0,Ve||(Ve=Ft.remoteAddress),Ie=Ft.remotePort});return}z("Request#%d %s reuse socket connected, readyState: %s",Pe,ye,Nt),Tt=!0,vt=!0,Ve||(Ve=Ft.remoteAddress),Ie=Ft.remotePort,Fe(),Bt()}),wt.on("error",function(Ft){(Ft.name==="Error"||Ft.name==="TypeError")&&(Ft.name=Tt?"ResponseError":"RequestError"),Ft.message+=' (req "error")',z("Request#%d %s `req error` event emit, %s: %s",Pe,ye,Ft.name,Ft.message),Te(yt||Ft)}),Ge&&Ge.once("error",function(Ft){Ft.message+=' (writeStream "error")',yt=Ft,z("Request#%d %s `writeStream error` event emit, %s: %s",Pe,ye,Ft.name,Ft.message),Lt()}),be.stream?(be.stream.pipe(wt),be.stream.once("error",function(Ft){Ft.message+=' (stream "error")',yt=Ft,z("Request#%d %s `readStream error` event emit, %s: %s",Pe,ye,Ft.name,Ft.message),Lt()})):wt.end(et),wt.requestId=Pe,wt}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(Jt,Mt){"use strict";function pe(){const me=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Qe=1;Qe{const fe=E[we];fe!==void 0&&(me[we]=fe)})}return me}Mt.Z=pe},77578:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return me}});const me=Qe=>Qe?typeof Qe=="function"?Qe():Qe:null},13845:function(Jt,Mt,pe){"use strict";pe.d(Mt,{F:function(){return me},Z:function(){return Qe}});function me(E){return E!=null&&E===E.window}function Qe(E,we){var fe,ue;if(typeof window=="undefined")return 0;const oe=we?"scrollTop":"scrollLeft";let ae=0;return me(E)?ae=E[we?"pageYOffset":"pageXOffset"]:E instanceof Document?ae=E.documentElement[oe]:(E instanceof HTMLElement||E)&&(ae=E[oe]),E&&!me(E)&&typeof ae!="number"&&(ae=(ue=((fe=E.ownerDocument)!==null&&fe!==void 0?fe:E).documentElement)===null||ue===void 0?void 0:ue[oe]),ae}},56762:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return Qe}});var me=pe(59301);function Qe(){const[,E]=me.useReducer(we=>we+1,0);return E}},68031:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return we}});var me=pe(16089);function Qe(fe,ue,oe,ae){const le=oe-ue;return fe/=ae/2,fe<1?le/2*fe*fe*fe+ue:le/2*((fe-=2)*fe*fe+2)+ue}var E=pe(13845);function we(fe){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:oe=()=>window,callback:ae,duration:le=450}=ue,re=oe(),se=(0,E.Z)(re,!0),ie=Date.now(),ne=()=>{const y=Date.now()-ie,a=Qe(y>le?le:y,se,fe,le);(0,E.F)(re)?re.scrollTo(window.pageXOffset,a):re instanceof Document||re.constructor.name==="HTMLDocument"?re.documentElement.scrollTop=a:re.scrollTop=a,y{let{children:ke}=Oe;const{getPrefixCls:Xe}=fe.useContext(oe.E_),$e=Xe("breadcrumb");return fe.createElement("li",{className:`${$e}-separator`,"aria-hidden":"true"},ke===""?ke:ke||"/")};re.__ANT_BREADCRUMB_SEPARATOR=!0;var se=re,ie=function(Oe,ke){var Xe={};for(var $e in Oe)Object.prototype.hasOwnProperty.call(Oe,$e)&&ke.indexOf($e)<0&&(Xe[$e]=Oe[$e]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,$e=Object.getOwnPropertySymbols(Oe);ze<$e.length;ze++)ke.indexOf($e[ze])<0&&Object.prototype.propertyIsEnumerable.call(Oe,$e[ze])&&(Xe[$e[ze]]=Oe[$e[ze]]);return Xe};function ne(Oe,ke){if(Oe.title===void 0||Oe.title===null)return null;const Xe=Object.keys(ke).join("|");return typeof Oe.title=="object"?Oe.title:String(Oe.title).replace(new RegExp(`:(${Xe})`,"g"),($e,ze)=>ke[ze]||$e)}function z(Oe,ke,Xe,$e){if(Xe==null)return null;const{className:ze,onClick:at}=ke,et=ie(ke,["className","onClick"]),it=Object.assign(Object.assign({},(0,we.Z)(et,{data:!0,aria:!0})),{onClick:at});return $e!==void 0?fe.createElement("a",Object.assign({},it,{className:Qe()(`${Oe}-link`,ze),href:$e}),Xe):fe.createElement("span",Object.assign({},it,{className:Qe()(`${Oe}-link`,ze)}),Xe)}function y(Oe,ke){return($e,ze,at,et,it)=>{if(ke)return ke($e,ze,at,et);const At=ne($e,ze);return z(Oe,$e,At,it)}}var a=function(Oe,ke){var Xe={};for(var $e in Oe)Object.prototype.hasOwnProperty.call(Oe,$e)&&ke.indexOf($e)<0&&(Xe[$e]=Oe[$e]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,$e=Object.getOwnPropertySymbols(Oe);ze<$e.length;ze++)ke.indexOf($e[ze])<0&&Object.prototype.propertyIsEnumerable.call(Oe,$e[ze])&&(Xe[$e[ze]]=Oe[$e[ze]]);return Xe};const x=Oe=>{const{prefixCls:ke,separator:Xe="/",children:$e,menu:ze,overlay:at,dropdownProps:et,href:it}=Oe,ot=(rt=>{if(ze||at){const lt=Object.assign({},et);if(ze){const gt=ze||{},{items:yt}=gt,Tt=a(gt,["items"]);lt.menu=Object.assign(Object.assign({},Tt),{items:yt==null?void 0:yt.map((vt,ut)=>{var{key:qe,title:je,label:Ve,path:Ie}=vt,_e=a(vt,["key","title","label","path"]);let Fe=Ve!=null?Ve:je;return Ie&&(Fe=fe.createElement("a",{href:`${it}${Ie}`},Fe)),Object.assign(Object.assign({},_e),{key:qe!=null?qe:ut,label:Fe})})})}else at&&(lt.overlay=at);return fe.createElement(le.Z,Object.assign({placement:"bottom"},lt),fe.createElement("span",{className:`${ke}-overlay-link`},rt,fe.createElement(ae.Z,null)))}return rt})($e);return ot!=null?fe.createElement(fe.Fragment,null,fe.createElement("li",null,ot),Xe&&fe.createElement(se,null,Xe)):null},b=Oe=>{const{prefixCls:ke,children:Xe,href:$e}=Oe,ze=a(Oe,["prefixCls","children","href"]),{getPrefixCls:at}=fe.useContext(oe.E_),et=at("breadcrumb",ke);return fe.createElement(x,Object.assign({},ze,{prefixCls:et}),z(et,ze,Xe,$e))};b.__ANT_BREADCRUMB_ITEM=!0;var ee=b,te=pe(17313),de=pe(83116),ge=pe(37613);const ve=Oe=>{const{componentCls:ke,iconCls:Xe}=Oe;return{[ke]:Object.assign(Object.assign({},(0,te.Wf)(Oe)),{color:Oe.itemColor,fontSize:Oe.fontSize,[Xe]:{fontSize:Oe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Oe.linkColor,transition:`color ${Oe.motionDurationMid}`,padding:`0 ${Oe.paddingXXS}px`,borderRadius:Oe.borderRadiusSM,height:Oe.lineHeight*Oe.fontSize,display:"inline-block",marginInline:-Oe.marginXXS,"&:hover":{color:Oe.linkHoverColor,backgroundColor:Oe.colorBgTextHover}},(0,te.Qy)(Oe)),"li:last-child":{color:Oe.lastItemColor},[`${ke}-separator`]:{marginInline:Oe.separatorMargin,color:Oe.separatorColor},[`${ke}-link`]:{[` > ${Xe} + span, > ${Xe} + a `]:{marginInlineStart:Oe.marginXXS}},[`${ke}-overlay-link`]:{borderRadius:Oe.borderRadiusSM,height:Oe.lineHeight*Oe.fontSize,display:"inline-block",padding:`0 ${Oe.paddingXXS}px`,marginInline:-Oe.marginXXS,[`> ${Xe}`]:{marginInlineStart:Oe.marginXXS,fontSize:Oe.fontSizeIcon},"&:hover":{color:Oe.linkHoverColor,backgroundColor:Oe.colorBgTextHover,a:{color:Oe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}})}};var ye=(0,de.Z)("Breadcrumb",Oe=>{const ke=(0,ge.TS)(Oe,{});return[ve(ke)]},Oe=>({itemColor:Oe.colorTextDescription,lastItemColor:Oe.colorText,iconFontSize:Oe.fontSize,linkColor:Oe.colorTextDescription,linkHoverColor:Oe.colorText,separatorColor:Oe.colorTextDescription,separatorMargin:Oe.marginXS})),be=function(Oe,ke){var Xe={};for(var $e in Oe)Object.prototype.hasOwnProperty.call(Oe,$e)&&ke.indexOf($e)<0&&(Xe[$e]=Oe[$e]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,$e=Object.getOwnPropertySymbols(Oe);ze<$e.length;ze++)ke.indexOf($e[ze])<0&&Object.prototype.propertyIsEnumerable.call(Oe,$e[ze])&&(Xe[$e[ze]]=Oe[$e[ze]]);return Xe};function Ce(Oe){const{breadcrumbName:ke,children:Xe}=Oe,$e=be(Oe,["breadcrumbName","children"]),ze=Object.assign({title:ke},$e);return Xe&&(ze.menu={items:Xe.map(at=>{var{breadcrumbName:et}=at,it=be(at,["breadcrumbName"]);return Object.assign(Object.assign({},it),{title:et})})}),ze}function Se(Oe,ke){return(0,fe.useMemo)(()=>Oe||(ke?ke.map(Ce):null),[Oe,ke])}var Pe=function(Oe,ke){var Xe={};for(var $e in Oe)Object.prototype.hasOwnProperty.call(Oe,$e)&&ke.indexOf($e)<0&&(Xe[$e]=Oe[$e]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,$e=Object.getOwnPropertySymbols(Oe);ze<$e.length;ze++)ke.indexOf($e[ze])<0&&Object.prototype.propertyIsEnumerable.call(Oe,$e[ze])&&(Xe[$e[ze]]=Oe[$e[ze]]);return Xe};const Be=(Oe,ke)=>{if(ke===void 0)return ke;let Xe=(ke||"").replace(/^\//,"");return Object.keys(Oe).forEach($e=>{Xe=Xe.replace(`:${$e}`,Oe[$e])}),Xe},Ue=Oe=>{const{prefixCls:ke,separator:Xe="/",style:$e,className:ze,rootClassName:at,routes:et,items:it,children:At,itemRender:ot,params:rt={}}=Oe,lt=Pe(Oe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:gt,direction:yt,breadcrumb:Tt}=fe.useContext(oe.E_);let vt;const ut=gt("breadcrumb",ke),[qe,je]=ye(ut),Ve=Se(it,et),Ie=y(ut,ot);if(Ve&&Ve.length>0){const De=[],Te=it||et;vt=Ve.map((Ne,Le)=>{const{path:Ge,key:dt,type:mt,menu:st,overlay:Et,onClick:Bt,className:wt,separator:Lt,dropdownProps:Ft}=Ne,Nt=Be(rt,Ge);Nt!==void 0&&De.push(Nt);const bt=dt!=null?dt:Le;if(mt==="separator")return fe.createElement(se,{key:bt},Lt);const Dt={},Rt=Le===Ve.length-1;st?Dt.menu=st:Et&&(Dt.overlay=Et);let{href:Ut}=Ne;return De.length&&Nt!==void 0&&(Ut=`#/${De.join("/")}`),fe.createElement(x,Object.assign({key:bt},Dt,(0,we.Z)(Ne,{data:!0,aria:!0}),{className:wt,dropdownProps:Ft,href:Ut,separator:Rt?"":Xe,onClick:Bt,prefixCls:ut}),Ie(Ne,rt,Te,De,Ut))})}else if(At){const De=(0,E.Z)(At).length;vt=(0,E.Z)(At).map((Te,Ne)=>{if(!Te)return Te;const Le=Ne===De-1;return(0,ue.Tm)(Te,{separator:Le?"":Xe,key:Ne})})}const _e=Qe()(ut,Tt==null?void 0:Tt.className,{[`${ut}-rtl`]:yt==="rtl"},ze,at,je),Fe=Object.assign(Object.assign({},Tt==null?void 0:Tt.style),$e);return qe(fe.createElement("nav",Object.assign({className:_e,style:Fe},lt),fe.createElement("ol",null,vt)))};Ue.Item=ee,Ue.Separator=se;var Ee=Ue,He=Ee},24905:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return ye}});var me=pe(92310),Qe=pe.n(me),E=pe(5630),we=pe(59301),fe=pe(36355),ue=pe(1684),oe=pe(32441),le=we.createContext(null),re=pe(98447),se=pe(14088),ie=pe(4572),ne=function(be,Ce){var Se={};for(var Pe in be)Object.prototype.hasOwnProperty.call(be,Pe)&&Ce.indexOf(Pe)<0&&(Se[Pe]=be[Pe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Pe=Object.getOwnPropertySymbols(be);Be{var Se;const{prefixCls:Pe,className:Be,rootClassName:Ue,children:Ee,indeterminate:He=!1,style:Oe,onMouseEnter:ke,onMouseLeave:Xe,skipGroup:$e=!1,disabled:ze}=be,at=ne(be,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:et,direction:it,checkbox:At}=we.useContext(fe.E_),ot=we.useContext(le),{isFormItemInput:rt}=we.useContext(oe.aM),lt=we.useContext(ue.Z),gt=(Se=(ot==null?void 0:ot.disabled)||ze)!==null&&Se!==void 0?Se:lt,yt=we.useRef(at.value);we.useEffect(()=>{ot==null||ot.registerValue(at.value)},[]),we.useEffect(()=>{if(!$e)return at.value!==yt.current&&(ot==null||ot.cancelValue(yt.current),ot==null||ot.registerValue(at.value),yt.current=at.value),()=>ot==null?void 0:ot.cancelValue(at.value)},[at.value]);const Tt=et("checkbox",Pe),[vt,ut]=(0,re.ZP)(Tt),qe=Object.assign({},at);ot&&!$e&&(qe.onChange=function(){at.onChange&&at.onChange.apply(at,arguments),ot.toggleOption&&ot.toggleOption({label:Ee,value:at.value})},qe.name=ot.name,qe.checked=ot.value.includes(at.value));const je=Qe()(`${Tt}-wrapper`,{[`${Tt}-rtl`]:it==="rtl",[`${Tt}-wrapper-checked`]:qe.checked,[`${Tt}-wrapper-disabled`]:gt,[`${Tt}-wrapper-in-form-item`]:rt},At==null?void 0:At.className,Be,Ue,ut),Ve=Qe()({[`${Tt}-indeterminate`]:He},ie.A,ut),Ie=He?"mixed":void 0;return vt(we.createElement(se.Z,{component:"Checkbox",disabled:gt},we.createElement("label",{className:je,style:Object.assign(Object.assign({},At==null?void 0:At.style),Oe),onMouseEnter:ke,onMouseLeave:Xe},we.createElement(E.Z,Object.assign({"aria-checked":Ie},qe,{prefixCls:Tt,className:Ve,disabled:gt,ref:Ce})),Ee!==void 0&&we.createElement("span",null,Ee))))};var a=we.forwardRef(z),x=pe(94480),b=pe(2738),ee=function(be,Ce){var Se={};for(var Pe in be)Object.prototype.hasOwnProperty.call(be,Pe)&&Ce.indexOf(Pe)<0&&(Se[Pe]=be[Pe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Pe=Object.getOwnPropertySymbols(be);Be{const{defaultValue:Se,children:Pe,options:Be=[],prefixCls:Ue,className:Ee,rootClassName:He,style:Oe,onChange:ke}=be,Xe=ee(be,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:$e,direction:ze}=we.useContext(fe.E_),[at,et]=we.useState(Xe.value||Se||[]),[it,At]=we.useState([]);we.useEffect(()=>{"value"in Xe&&et(Xe.value||[])},[Xe.value]);const ot=we.useMemo(()=>Be.map(_e=>typeof _e=="string"||typeof _e=="number"?{label:_e,value:_e}:_e),[Be]),rt=_e=>{At(Fe=>Fe.filter(De=>De!==_e))},lt=_e=>{At(Fe=>[].concat((0,x.Z)(Fe),[_e]))},gt=_e=>{const Fe=at.indexOf(_e.value),De=(0,x.Z)(at);Fe===-1?De.push(_e.value):De.splice(Fe,1),"value"in Xe||et(De),ke==null||ke(De.filter(Te=>it.includes(Te)).sort((Te,Ne)=>{const Le=ot.findIndex(dt=>dt.value===Te),Ge=ot.findIndex(dt=>dt.value===Ne);return Le-Ge}))},yt=$e("checkbox",Ue),Tt=`${yt}-group`,[vt,ut]=(0,re.ZP)(yt),qe=(0,b.Z)(Xe,["value","disabled"]),je=Be.length?ot.map(_e=>we.createElement(a,{prefixCls:yt,key:_e.value.toString(),disabled:"disabled"in _e?_e.disabled:Xe.disabled,value:_e.value,checked:at.includes(_e.value),onChange:_e.onChange,className:`${Tt}-item`,style:_e.style,title:_e.title},_e.label)):Pe,Ve={toggleOption:gt,value:at,disabled:Xe.disabled,name:Xe.name,registerValue:lt,cancelValue:rt},Ie=Qe()(Tt,{[`${Tt}-rtl`]:ze==="rtl"},Ee,He,ut);return vt(we.createElement("div",Object.assign({className:Ie,style:Oe},qe,{ref:Ce}),we.createElement(le.Provider,{value:Ve},je)))},de=we.forwardRef(te);var ge=we.memo(de);const ve=a;ve.Group=ge,ve.__ANT_CHECKBOX=!0;var ye=ve},98447:function(Jt,Mt,pe){"use strict";pe.d(Mt,{C2:function(){return fe}});var me=pe(17313),Qe=pe(37613),E=pe(83116);const we=ue=>{const{checkboxCls:oe}=ue,ae=`${oe}-wrapper`;return[{[`${oe}-group`]:Object.assign(Object.assign({},(0,me.Wf)(ue)),{display:"inline-flex",flexWrap:"wrap",columnGap:ue.marginXS,[`> ${ue.antCls}-row`]:{flex:1}}),[ae]:Object.assign(Object.assign({},(0,me.Wf)(ue)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ae}`]:{marginInlineStart:0},[`&${ae}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[oe]:Object.assign(Object.assign({},(0,me.Wf)(ue)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ue.borderRadiusSM,alignSelf:"center",[`${oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${oe}-inner`]:Object.assign({},(0,me.oN)(ue))},[`${oe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ue.checkboxSize,height:ue.checkboxSize,direction:"ltr",backgroundColor:ue.colorBgContainer,border:`${ue.lineWidth}px ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadiusSM,borderCollapse:"separate",transition:`all ${ue.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ue.checkboxSize/14*5,height:ue.checkboxSize/14*8,border:`${ue.lineWidthBold}px solid ${ue.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ue.motionDurationFast} ${ue.motionEaseInBack}, opacity ${ue.motionDurationFast}`}},"& + span":{paddingInlineStart:ue.paddingXS,paddingInlineEnd:ue.paddingXS}})},{[` ${ae}:not(${ae}-disabled), ${oe}:not(${oe}-disabled) `]:{[`&:hover ${oe}-inner`]:{borderColor:ue.colorPrimary}},[`${ae}:not(${ae}-disabled)`]:{[`&:hover ${oe}-checked:not(${oe}-disabled) ${oe}-inner`]:{backgroundColor:ue.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${oe}-checked:not(${oe}-disabled):after`]:{borderColor:ue.colorPrimaryHover}}},{[`${oe}-checked`]:{[`${oe}-inner`]:{backgroundColor:ue.colorPrimary,borderColor:ue.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ue.motionDurationMid} ${ue.motionEaseOutBack} ${ue.motionDurationFast}`}}},[` ${ae}-checked:not(${ae}-disabled), ${oe}-checked:not(${oe}-disabled) `]:{[`&:hover ${oe}-inner`]:{backgroundColor:ue.colorPrimaryHover,borderColor:"transparent"}}},{[oe]:{"&-indeterminate":{[`${oe}-inner`]:{backgroundColor:ue.colorBgContainer,borderColor:ue.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ue.fontSizeLG/2,height:ue.fontSizeLG/2,backgroundColor:ue.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ae}-disabled`]:{cursor:"not-allowed"},[`${oe}-disabled`]:{[`&, ${oe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${oe}-inner`]:{background:ue.colorBgContainerDisabled,borderColor:ue.colorBorder,"&:after":{borderColor:ue.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ue.colorTextDisabled},[`&${oe}-indeterminate ${oe}-inner::after`]:{background:ue.colorTextDisabled}}}]};function fe(ue,oe){const ae=(0,Qe.TS)(oe,{checkboxCls:`.${ue}`,checkboxSize:oe.controlInteractiveSize});return[we(ae)]}Mt.ZP=(0,E.Z)("Checkbox",(ue,oe)=>{let{prefixCls:ae}=oe;return[fe(ae,ue)]})},36381:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return qe}});var me=pe(38819),Qe=pe(92310),E=pe.n(Qe),we=pe(54476),fe=pe(94480),ue=pe(42978),oe=pe(76190),ae=pe(18929),le=pe(48736),re=pe(59301),se=pe(75931),ie=pe(11592),ne=pe(20068),z=pe(77900),y=pe(10228),a=re.forwardRef(function(je,Ve){var Ie=je.prefixCls,_e=je.forceRender,Fe=je.className,De=je.style,Te=je.children,Ne=je.isActive,Le=je.role,Ge=re.useState(Ne||_e),dt=(0,ue.Z)(Ge,2),mt=dt[0],st=dt[1];return re.useEffect(function(){(_e||Ne)&&st(!0)},[_e,Ne]),mt?re.createElement("div",{ref:Ve,className:E()("".concat(Ie,"-content"),(0,ne.Z)((0,ne.Z)({},"".concat(Ie,"-content-active"),Ne),"".concat(Ie,"-content-inactive"),!Ne),Fe),style:De,role:Le},re.createElement("div",{className:"".concat(Ie,"-content-box")},Te)):null});a.displayName="PanelContent";var x=a,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=re.forwardRef(function(je,Ve){var Ie=je.showArrow,_e=Ie===void 0?!0:Ie,Fe=je.headerClass,De=je.isActive,Te=je.onItemClick,Ne=je.forceRender,Le=je.className,Ge=je.prefixCls,dt=je.collapsible,mt=je.accordion,st=je.panelKey,Et=je.extra,Bt=je.header,wt=je.expandIcon,Lt=je.openMotion,Ft=je.destroyInactivePanel,Nt=je.children,bt=(0,se.Z)(je,b),Dt=dt==="disabled",Rt=dt==="header",Ut=dt==="icon",qt=Et!=null&&typeof Et!="boolean",mn=function(){Te==null||Te(st)},$t=function(ir){(ir.key==="Enter"||ir.keyCode===y.Z.ENTER||ir.which===y.Z.ENTER)&&mn()},rn=typeof wt=="function"?wt(je):re.createElement("i",{className:"arrow"});rn&&(rn=re.createElement("div",{className:"".concat(Ge,"-expand-icon"),onClick:["header","icon"].includes(dt)?mn:void 0},rn));var nn=E()((0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Ge,"-item"),!0),"".concat(Ge,"-item-active"),De),"".concat(Ge,"-item-disabled"),Dt),Le),xn=E()(Fe,(0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Ge,"-header"),!0),"".concat(Ge,"-header-collapsible-only"),Rt),"".concat(Ge,"-icon-collapsible-only"),Ut)),In={className:xn,"aria-expanded":De,"aria-disabled":Dt,onKeyDown:$t};return!Rt&&!Ut&&(In.onClick=mn,In.role=mt?"tab":"button",In.tabIndex=Dt?-1:0),re.createElement("div",(0,we.Z)({},bt,{ref:Ve,className:nn}),re.createElement("div",In,_e&&rn,re.createElement("span",{className:"".concat(Ge,"-header-text"),onClick:dt==="header"?mn:void 0},Bt),qt&&re.createElement("div",{className:"".concat(Ge,"-extra")},Et)),re.createElement(z.default,(0,we.Z)({visible:De,leavedClassName:"".concat(Ge,"-content-hidden")},Lt,{forceRender:Ne,removeOnLeave:Ft}),function(Un,ir){var yr=Un.className,En=Un.style;return re.createElement(x,{ref:ir,prefixCls:Ge,className:yr,style:En,isActive:De,forceRender:Ne,role:mt?"tabpanel":void 0},Nt)}))}),te=ee,de=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ge=function(Ve,Ie){var _e=Ie.prefixCls,Fe=Ie.accordion,De=Ie.collapsible,Te=Ie.destroyInactivePanel,Ne=Ie.onItemClick,Le=Ie.activeKey,Ge=Ie.openMotion,dt=Ie.expandIcon;return Ve.map(function(mt,st){var Et=mt.children,Bt=mt.label,wt=mt.key,Lt=mt.collapsible,Ft=mt.onItemClick,Nt=mt.destroyInactivePanel,bt=(0,se.Z)(mt,de),Dt=String(wt!=null?wt:st),Rt=Lt!=null?Lt:De,Ut=Nt!=null?Nt:Te,qt=function(rn){Rt!=="disabled"&&(Ne(rn),Ft==null||Ft(rn))},mn=!1;return Fe?mn=Le[0]===Dt:mn=Le.indexOf(Dt)>-1,re.createElement(te,(0,we.Z)({},bt,{prefixCls:_e,key:Dt,panelKey:Dt,isActive:mn,accordion:Fe,openMotion:Ge,expandIcon:dt,header:Bt,collapsible:Rt,onItemClick:qt,destroyInactivePanel:Ut}),Et)})},ve=function(Ve,Ie,_e){if(!Ve)return null;var Fe=_e.prefixCls,De=_e.accordion,Te=_e.collapsible,Ne=_e.destroyInactivePanel,Le=_e.onItemClick,Ge=_e.activeKey,dt=_e.openMotion,mt=_e.expandIcon,st=Ve.key||String(Ie),Et=Ve.props,Bt=Et.header,wt=Et.headerClass,Lt=Et.destroyInactivePanel,Ft=Et.collapsible,Nt=Et.onItemClick,bt=!1;De?bt=Ge[0]===st:bt=Ge.indexOf(st)>-1;var Dt=Ft!=null?Ft:Te,Rt=function(mn){Dt!=="disabled"&&(Le(mn),Nt==null||Nt(mn))},Ut={key:st,panelKey:st,header:Bt,headerClass:wt,isActive:bt,prefixCls:Fe,destroyInactivePanel:Lt!=null?Lt:Ne,openMotion:dt,accordion:De,children:Ve.props.children,onItemClick:Rt,expandIcon:mt,collapsible:Dt};return typeof Ve.type=="string"?Ve:(Object.keys(Ut).forEach(function(qt){typeof Ut[qt]=="undefined"&&delete Ut[qt]}),re.cloneElement(Ve,Ut))};function ye(je,Ve,Ie){return Array.isArray(je)?ge(je,Ie):(0,ie.Z)(Ve).map(function(_e,Fe){return ve(_e,Fe,Ie)})}var be=ye,Ce=pe(26112);function Se(je){var Ve=je;if(!Array.isArray(Ve)){var Ie=(0,oe.Z)(Ve);Ve=Ie==="number"||Ie==="string"?[Ve]:[]}return Ve.map(function(_e){return String(_e)})}var Pe=re.forwardRef(function(je,Ve){var Ie=je.prefixCls,_e=Ie===void 0?"rc-collapse":Ie,Fe=je.destroyInactivePanel,De=Fe===void 0?!1:Fe,Te=je.style,Ne=je.accordion,Le=je.className,Ge=je.children,dt=je.collapsible,mt=je.openMotion,st=je.expandIcon,Et=je.activeKey,Bt=je.defaultActiveKey,wt=je.onChange,Lt=je.items,Ft=E()(_e,Le),Nt=(0,ae.Z)([],{value:Et,onChange:function($t){return wt==null?void 0:wt($t)},defaultValue:Bt,postState:Se}),bt=(0,ue.Z)(Nt,2),Dt=bt[0],Rt=bt[1],Ut=function($t){return Rt(function(){if(Ne)return Dt[0]===$t?[]:[$t];var rn=Dt.indexOf($t),nn=rn>-1;return nn?Dt.filter(function(xn){return xn!==$t}):[].concat((0,fe.Z)(Dt),[$t])})};(0,le.ZP)(!Ge,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var qt=be(Lt,Ge,{prefixCls:_e,accordion:Ne,openMotion:mt,expandIcon:st,collapsible:dt,destroyInactivePanel:De,onItemClick:Ut,activeKey:Dt});return re.createElement("div",(0,we.Z)({ref:Ve,className:Ft,style:Te,role:Ne?"tablist":void 0},(0,Ce.Z)(je,{aria:!0,data:!0})),qt)}),Be=Object.assign(Pe,{Panel:te}),Ue=Be,Ee=Be.Panel,He=pe(2738),Oe=pe(62892),ke=pe(92343),Xe=pe(36355),$e=pe(19716),at=re.forwardRef((je,Ve)=>{const{getPrefixCls:Ie}=re.useContext(Xe.E_),{prefixCls:_e,className:Fe,showArrow:De=!0}=je,Te=Ie("collapse",_e),Ne=E()({[`${Te}-no-arrow`]:!De},Fe);return re.createElement(Ue.Panel,Object.assign({ref:Ve},je,{prefixCls:Te,className:Ne}))}),et=pe(17313),it=pe(8378),At=pe(83116),ot=pe(37613);const rt=je=>{const{componentCls:Ve,contentBg:Ie,padding:_e,headerBg:Fe,headerPadding:De,collapseHeaderPaddingSM:Te,collapseHeaderPaddingLG:Ne,collapsePanelBorderRadius:Le,lineWidth:Ge,lineType:dt,colorBorder:mt,colorText:st,colorTextHeading:Et,colorTextDisabled:Bt,fontSize:wt,fontSizeLG:Lt,lineHeight:Ft,marginSM:Nt,paddingSM:bt,paddingLG:Dt,paddingXS:Rt,motionDurationSlow:Ut,fontSizeIcon:qt,contentPadding:mn}=je,$t=`${Ge}px ${dt} ${mt}`;return{[Ve]:Object.assign(Object.assign({},(0,et.Wf)(je)),{backgroundColor:Fe,border:$t,borderBottom:0,borderRadius:`${Le}px`,"&-rtl":{direction:"rtl"},[`& > ${Ve}-item`]:{borderBottom:$t,"&:last-child":{[` &, & > ${Ve}-header`]:{borderRadius:`0 0 ${Le}px ${Le}px`}},[`> ${Ve}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:De,color:Et,lineHeight:Ft,cursor:"pointer",transition:`all ${Ut}, visibility 0s`,[`> ${Ve}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ve}-expand-icon`]:{height:wt*Ft,display:"flex",alignItems:"center",paddingInlineEnd:Nt},[`${Ve}-arrow`]:Object.assign(Object.assign({},(0,et.Ro)()),{fontSize:qt,svg:{transition:`transform ${Ut}`}}),[`${Ve}-header-text`]:{marginInlineEnd:"auto"}},[`${Ve}-header-collapsible-only`]:{cursor:"default",[`${Ve}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ve}-icon-collapsible-only`]:{cursor:"default",[`${Ve}-expand-icon`]:{cursor:"pointer"}}},[`${Ve}-content`]:{color:st,backgroundColor:Ie,borderTop:$t,[`& > ${Ve}-content-box`]:{padding:mn},"&-hidden":{display:"none"}},"&-small":{[`> ${Ve}-item`]:{[`> ${Ve}-header`]:{padding:Te,paddingInlineStart:Rt,[`> ${Ve}-expand-icon`]:{marginInlineStart:bt-Rt}},[`> ${Ve}-content > ${Ve}-content-box`]:{padding:bt}}},"&-large":{[`> ${Ve}-item`]:{fontSize:Lt,[`> ${Ve}-header`]:{padding:Ne,paddingInlineStart:_e,[`> ${Ve}-expand-icon`]:{height:Lt*Ft,marginInlineStart:Dt-_e}},[`> ${Ve}-content > ${Ve}-content-box`]:{padding:Dt}}},[`${Ve}-item:last-child`]:{[`> ${Ve}-content`]:{borderRadius:`0 0 ${Le}px ${Le}px`}},[`& ${Ve}-item-disabled > ${Ve}-header`]:{"\n &,\n & > .arrow\n ":{color:Bt,cursor:"not-allowed"}},[`&${Ve}-icon-position-end`]:{[`& > ${Ve}-item`]:{[`> ${Ve}-header`]:{[`${Ve}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Nt}}}}})}},lt=je=>{const{componentCls:Ve}=je,Ie=`> ${Ve}-item > ${Ve}-header ${Ve}-arrow svg`;return{[`${Ve}-rtl`]:{[Ie]:{transform:"rotate(180deg)"}}}},gt=je=>{const{componentCls:Ve,headerBg:Ie,paddingXXS:_e,colorBorder:Fe}=je;return{[`${Ve}-borderless`]:{backgroundColor:Ie,border:0,[`> ${Ve}-item`]:{borderBottom:`1px solid ${Fe}`},[` > ${Ve}-item:last-child, > ${Ve}-item:last-child ${Ve}-header `]:{borderRadius:0},[`> ${Ve}-item:last-child`]:{borderBottom:0},[`> ${Ve}-item > ${Ve}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ve}-item > ${Ve}-content > ${Ve}-content-box`]:{paddingTop:_e}}}},yt=je=>{const{componentCls:Ve,paddingSM:Ie}=je;return{[`${Ve}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ve}-item`]:{borderBottom:0,[`> ${Ve}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ve}-content-box`]:{paddingBlock:Ie}}}}}};var Tt=(0,At.Z)("Collapse",je=>{const Ve=(0,ot.TS)(je,{collapseHeaderPaddingSM:`${je.paddingXS}px ${je.paddingSM}px`,collapseHeaderPaddingLG:`${je.padding}px ${je.paddingLG}px`,collapsePanelBorderRadius:je.borderRadiusLG});return[rt(Ve),gt(Ve),yt(Ve),lt(Ve),(0,it.Z)(Ve)]},je=>({headerPadding:`${je.paddingSM}px ${je.padding}px`,headerBg:je.colorFillAlter,contentPadding:`${je.padding}px 16px`,contentBg:je.colorBgContainer})),ut=Object.assign(re.forwardRef((je,Ve)=>{const{getPrefixCls:Ie,direction:_e,collapse:Fe}=re.useContext(Xe.E_),{prefixCls:De,className:Te,rootClassName:Ne,style:Le,bordered:Ge=!0,ghost:dt,size:mt,expandIconPosition:st="start",children:Et,expandIcon:Bt}=je,wt=(0,$e.Z)($t=>{var rn;return(rn=mt!=null?mt:$t)!==null&&rn!==void 0?rn:"middle"}),Lt=Ie("collapse",De),Ft=Ie(),[Nt,bt]=Tt(Lt),Dt=re.useMemo(()=>st==="left"?"start":st==="right"?"end":st,[st]),Rt=function(){let $t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const rn=Bt?Bt($t):re.createElement(me.Z,{rotate:$t.isActive?90:void 0});return(0,ke.Tm)(rn,()=>({className:E()(rn.props.className,`${Lt}-arrow`)}))},Ut=E()(`${Lt}-icon-position-${Dt}`,{[`${Lt}-borderless`]:!Ge,[`${Lt}-rtl`]:_e==="rtl",[`${Lt}-ghost`]:!!dt,[`${Lt}-${wt}`]:wt!=="middle"},Fe==null?void 0:Fe.className,Te,Ne,bt),qt=Object.assign(Object.assign({},(0,Oe.Z)(Ft)),{motionAppear:!1,leavedClassName:`${Lt}-content-hidden`}),mn=re.useMemo(()=>Et?(0,ie.Z)(Et).map(($t,rn)=>{var nn,xn;if(!((nn=$t.props)===null||nn===void 0)&&nn.disabled){const In=(xn=$t.key)!==null&&xn!==void 0?xn:String(rn),{disabled:Un,collapsible:ir}=$t.props,yr=Object.assign(Object.assign({},(0,He.Z)($t.props,["disabled"])),{key:In,collapsible:ir!=null?ir:Un?"disabled":void 0});return(0,ke.Tm)($t,yr)}return $t}):null,[Et]);return Nt(re.createElement(Ue,Object.assign({ref:Ve,openMotion:qt},(0,He.Z)(je,["rootClassName"]),{expandIcon:Rt,prefixCls:Lt,className:Ut,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),Le)}),mn))}),{Panel:at}),qe=ut},28103:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return ie}});var me=pe(92310),Qe=pe.n(me),E=pe(59301),we=pe(36355),fe=pe(17313),ue=pe(83116),oe=pe(37613);const ae=ne=>{const{componentCls:z,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:ee,verticalMarginInline:te}=ne;return{[z]:Object.assign(Object.assign({},(0,fe.Wf)(ne)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ne.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${z}-with-text`]:{display:"flex",alignItems:"center",margin:`${ne.dividerHorizontalWithTextGutterMargin}px 0`,color:ne.colorTextHeading,fontWeight:500,fontSize:ne.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${z}-with-text-left`]:{"&::before":{width:`${ee*100}%`},"&::after":{width:`${100-ee*100}%`}},[`&-horizontal${z}-with-text-right`]:{"&::before":{width:`${100-ee*100}%`},"&::after":{width:`${ee*100}%`}},[`${z}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${z}-with-text${z}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${z}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${z}-with-text`]:{color:ne.colorText,fontWeight:"normal",fontSize:ne.fontSize},[`&-horizontal${z}-with-text-left${z}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${z}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${z}-with-text-right${z}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${z}-inner-text`]:{paddingInlineEnd:y}}})}};var le=(0,ue.Z)("Divider",ne=>{const z=(0,oe.TS)(ne,{dividerHorizontalWithTextGutterMargin:ne.margin,dividerHorizontalGutterMargin:ne.marginLG,sizePaddingEdgeHorizontal:0});return[ae(z)]},ne=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ne.marginXS})),re=function(ne,z){var y={};for(var a in ne)Object.prototype.hasOwnProperty.call(ne,a)&&z.indexOf(a)<0&&(y[a]=ne[a]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(ne);x{const{getPrefixCls:z,direction:y,divider:a}=E.useContext(we.E_),{prefixCls:x,type:b="horizontal",orientation:ee="center",orientationMargin:te,className:de,rootClassName:ge,children:ve,dashed:ye,plain:be,style:Ce}=ne,Se=re(ne,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Pe=z("divider",x),[Be,Ue]=le(Pe),Ee=ee.length>0?`-${ee}`:ee,He=!!ve,Oe=ee==="left"&&te!=null,ke=ee==="right"&&te!=null,Xe=Qe()(Pe,a==null?void 0:a.className,Ue,`${Pe}-${b}`,{[`${Pe}-with-text`]:He,[`${Pe}-with-text${Ee}`]:He,[`${Pe}-dashed`]:!!ye,[`${Pe}-plain`]:!!be,[`${Pe}-rtl`]:y==="rtl",[`${Pe}-no-default-orientation-margin-left`]:Oe,[`${Pe}-no-default-orientation-margin-right`]:ke},de,ge),$e=E.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),ze=Object.assign(Object.assign({},Oe&&{marginLeft:$e}),ke&&{marginRight:$e});return Be(E.createElement("div",Object.assign({className:Xe,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ce)},Se,{role:"separator"}),ve&&b!=="vertical"&&E.createElement("span",{className:`${Pe}-inner-text`,style:ze},ve)))}},43428:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return vt}});var me=pe(92310),Qe=pe.n(me),E=pe(33885),we=pe(42978),fe=pe(43403),ue=pe(34280),oe=pe(59301),ae=oe.createContext(null),le=oe.createContext({}),re=ae,se=pe(20068),ie=pe(54476),ne=pe(77900),z=pe(10228),y=pe(26112),a=pe(70425),x=function(qe){var je=qe.prefixCls,Ve=qe.className,Ie=qe.style,_e=qe.children,Fe=qe.containerRef,De=qe.id,Te=qe.onMouseEnter,Ne=qe.onMouseOver,Le=qe.onMouseLeave,Ge=qe.onClick,dt=qe.onKeyDown,mt=qe.onKeyUp,st={onMouseEnter:Te,onMouseOver:Ne,onMouseLeave:Le,onClick:Ge,onKeyDown:dt,onKeyUp:mt},Et=oe.useContext(le),Bt=Et.panel,wt=(0,a.useComposeRef)(Bt,Fe);return oe.createElement(oe.Fragment,null,oe.createElement("div",(0,ie.Z)({id:De,className:Qe()("".concat(je,"-content"),Ve),style:(0,E.Z)({},Ie),"aria-modal":"true",role:"dialog",ref:wt},st),_e))},b=x,ee=pe(48736);function te(ut){return typeof ut=="string"&&String(Number(ut))===ut?((0,ee.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ut)):ut}function de(ut){warning(!("wrapperClassName"in ut),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ut.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ge={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ve(ut,qe){var je,Ve,Ie,_e,Fe=ut.prefixCls,De=ut.open,Te=ut.placement,Ne=ut.inline,Le=ut.push,Ge=ut.forceRender,dt=ut.autoFocus,mt=ut.keyboard,st=ut.rootClassName,Et=ut.rootStyle,Bt=ut.zIndex,wt=ut.className,Lt=ut.id,Ft=ut.style,Nt=ut.motion,bt=ut.width,Dt=ut.height,Rt=ut.children,Ut=ut.contentWrapperStyle,qt=ut.mask,mn=ut.maskClosable,$t=ut.maskMotion,rn=ut.maskClassName,nn=ut.maskStyle,xn=ut.afterOpenChange,In=ut.onClose,Un=ut.onMouseEnter,ir=ut.onMouseOver,yr=ut.onMouseLeave,En=ut.onClick,Dr=ut.onKeyDown,ta=ut.onKeyUp,Fr=oe.useRef(),Vr=oe.useRef(),Mr=oe.useRef();oe.useImperativeHandle(qe,function(){return Fr.current});var Er=function(Bn){var er=Bn.keyCode,Zn=Bn.shiftKey;switch(er){case z.Z.TAB:{if(er===z.Z.TAB){if(!Zn&&document.activeElement===Mr.current){var kr;(kr=Vr.current)===null||kr===void 0||kr.focus({preventScroll:!0})}else if(Zn&&document.activeElement===Vr.current){var Ca;(Ca=Mr.current)===null||Ca===void 0||Ca.focus({preventScroll:!0})}}break}case z.Z.ESC:{In&&mt&&(Bn.stopPropagation(),In(Bn));break}}};oe.useEffect(function(){if(De&&dt){var nr;(nr=Fr.current)===null||nr===void 0||nr.focus({preventScroll:!0})}},[De]);var Oa=oe.useState(!1),to=(0,we.Z)(Oa,2),na=to[0],Ao=to[1],Ga=oe.useContext(re),sn;Le===!1?sn={distance:0}:Le===!0?sn={}:sn=Le||{};var Pn=(je=(Ve=(Ie=sn)===null||Ie===void 0?void 0:Ie.distance)!==null&&Ve!==void 0?Ve:Ga==null?void 0:Ga.pushDistance)!==null&&je!==void 0?je:180,An=oe.useMemo(function(){return{pushDistance:Pn,push:function(){Ao(!0)},pull:function(){Ao(!1)}}},[Pn]);oe.useEffect(function(){if(De){var nr;Ga==null||(nr=Ga.push)===null||nr===void 0||nr.call(Ga)}else{var Bn;Ga==null||(Bn=Ga.pull)===null||Bn===void 0||Bn.call(Ga)}},[De]),oe.useEffect(function(){return function(){var nr;Ga==null||(nr=Ga.pull)===null||nr===void 0||nr.call(Ga)}},[]);var xr=qt&&oe.createElement(ne.default,(0,ie.Z)({key:"mask"},$t,{visible:De}),function(nr,Bn){var er=nr.className,Zn=nr.style;return oe.createElement("div",{className:Qe()("".concat(Fe,"-mask"),er,rn),style:(0,E.Z)((0,E.Z)({},Zn),nn),onClick:mn&&De?In:void 0,ref:Bn})}),Wr=typeof Nt=="function"?Nt(Te):Nt,sa={};if(na&&Pn)switch(Te){case"top":sa.transform="translateY(".concat(Pn,"px)");break;case"bottom":sa.transform="translateY(".concat(-Pn,"px)");break;case"left":sa.transform="translateX(".concat(Pn,"px)");break;default:sa.transform="translateX(".concat(-Pn,"px)");break}Te==="left"||Te==="right"?sa.width=te(bt):sa.height=te(Dt);var La={onMouseEnter:Un,onMouseOver:ir,onMouseLeave:yr,onClick:En,onKeyDown:Dr,onKeyUp:ta},ua=oe.createElement(ne.default,(0,ie.Z)({key:"panel"},Wr,{visible:De,forceRender:Ge,onVisibleChanged:function(Bn){xn==null||xn(Bn)},removeOnLeave:!1,leavedClassName:"".concat(Fe,"-content-wrapper-hidden")}),function(nr,Bn){var er=nr.className,Zn=nr.style;return oe.createElement("div",(0,ie.Z)({className:Qe()("".concat(Fe,"-content-wrapper"),er),style:(0,E.Z)((0,E.Z)((0,E.Z)({},sa),Zn),Ut)},(0,y.Z)(ut,{data:!0})),oe.createElement(b,(0,ie.Z)({id:Lt,containerRef:Bn,prefixCls:Fe,className:wt,style:Ft},La),Rt))}),fa=(0,E.Z)({},Et);return Bt&&(fa.zIndex=Bt),oe.createElement(re.Provider,{value:An},oe.createElement("div",{className:Qe()(Fe,"".concat(Fe,"-").concat(Te),st,(_e={},(0,se.Z)(_e,"".concat(Fe,"-open"),De),(0,se.Z)(_e,"".concat(Fe,"-inline"),Ne),_e)),style:fa,tabIndex:-1,ref:Fr,onKeyDown:Er},xr,oe.createElement("div",{tabIndex:0,ref:Vr,style:ge,"aria-hidden":"true","data-sentinel":"start"}),ua,oe.createElement("div",{tabIndex:0,ref:Mr,style:ge,"aria-hidden":"true","data-sentinel":"end"})))}var ye=oe.forwardRef(ve),be=ye,Ce=function(qe){var je=qe.open,Ve=je===void 0?!1:je,Ie=qe.prefixCls,_e=Ie===void 0?"rc-drawer":Ie,Fe=qe.placement,De=Fe===void 0?"right":Fe,Te=qe.autoFocus,Ne=Te===void 0?!0:Te,Le=qe.keyboard,Ge=Le===void 0?!0:Le,dt=qe.width,mt=dt===void 0?378:dt,st=qe.mask,Et=st===void 0?!0:st,Bt=qe.maskClosable,wt=Bt===void 0?!0:Bt,Lt=qe.getContainer,Ft=qe.forceRender,Nt=qe.afterOpenChange,bt=qe.destroyOnClose,Dt=qe.onMouseEnter,Rt=qe.onMouseOver,Ut=qe.onMouseLeave,qt=qe.onClick,mn=qe.onKeyDown,$t=qe.onKeyUp,rn=qe.panelRef,nn=oe.useState(!1),xn=(0,we.Z)(nn,2),In=xn[0],Un=xn[1],ir=oe.useState(!1),yr=(0,we.Z)(ir,2),En=yr[0],Dr=yr[1];(0,ue.Z)(function(){Dr(!0)},[]);var ta=En?Ve:!1,Fr=oe.useRef(),Vr=oe.useRef();(0,ue.Z)(function(){ta&&(Vr.current=document.activeElement)},[ta]);var Mr=function(Ao){var Ga;if(Un(Ao),Nt==null||Nt(Ao),!Ao&&Vr.current&&!((Ga=Fr.current)!==null&&Ga!==void 0&&Ga.contains(Vr.current))){var sn;(sn=Vr.current)===null||sn===void 0||sn.focus({preventScroll:!0})}},Er=oe.useMemo(function(){return{panel:rn}},[rn]);if(!Ft&&!In&&!ta&&bt)return null;var Oa={onMouseEnter:Dt,onMouseOver:Rt,onMouseLeave:Ut,onClick:qt,onKeyDown:mn,onKeyUp:$t},to=(0,E.Z)((0,E.Z)({},qe),{},{open:ta,prefixCls:_e,placement:De,autoFocus:Ne,keyboard:Ge,width:mt,mask:Et,maskClosable:wt,inline:Lt===!1,afterOpenChange:Mr,ref:Fr},Oa);return oe.createElement(le.Provider,{value:Er},oe.createElement(fe.Z,{open:ta||Ft||In,autoDestroy:!1,getContainer:Lt,autoLock:Et&&(ta||In)},oe.createElement(be,to)))},Se=Ce,Pe=Se,Be=pe(62892),Ue=pe(36355),Ee=pe(32441),He=pe(47729),ke=ut=>{const{prefixCls:qe,title:je,footer:Ve,extra:Ie,closeIcon:_e,closable:Fe,onClose:De,headerStyle:Te,drawerStyle:Ne,bodyStyle:Le,footerStyle:Ge,children:dt}=ut,mt=oe.useCallback(Lt=>oe.createElement("button",{type:"button",onClick:De,"aria-label":"Close",className:`${qe}-close`},Lt),[De]),[st,Et]=(0,He.Z)(Fe,_e,mt,void 0,!0),Bt=oe.useMemo(()=>!je&&!st?null:oe.createElement("div",{style:Te,className:Qe()(`${qe}-header`,{[`${qe}-header-close-only`]:st&&!je&&!Ie})},oe.createElement("div",{className:`${qe}-header-title`},Et,je&&oe.createElement("div",{className:`${qe}-title`},je)),Ie&&oe.createElement("div",{className:`${qe}-extra`},Ie)),[st,Et,Ie,Te,qe,je]),wt=oe.useMemo(()=>{if(!Ve)return null;const Lt=`${qe}-footer`;return oe.createElement("div",{className:Lt,style:Ge},Ve)},[Ve,Ge,qe]);return oe.createElement("div",{className:`${qe}-wrapper-body`,style:Ne},Bt,oe.createElement("div",{className:`${qe}-body`,style:Le},dt),wt)},Xe=pe(33234),$e=pe(83116),ze=pe(37613),et=ut=>{const{componentCls:qe,motionDurationSlow:je}=ut,Ve={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${je}`}}};return{[qe]:{[`${qe}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${je}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${qe}-panel-motion`]:{"&-left":[Ve,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Ve,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Ve,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Ve,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const it=ut=>{const{componentCls:qe,zIndexPopup:je,colorBgMask:Ve,colorBgElevated:Ie,motionDurationSlow:_e,motionDurationMid:Fe,padding:De,paddingLG:Te,fontSizeLG:Ne,lineHeightLG:Le,lineWidth:Ge,lineType:dt,colorSplit:mt,marginSM:st,colorIcon:Et,colorIconHover:Bt,colorText:wt,fontWeightStrong:Lt,footerPaddingBlock:Ft,footerPaddingInline:Nt}=ut,bt=`${qe}-content-wrapper`;return{[qe]:{position:"fixed",inset:0,zIndex:je,pointerEvents:"none","&-pure":{position:"relative",background:Ie,[`&${qe}-left`]:{boxShadow:ut.boxShadowDrawerLeft},[`&${qe}-right`]:{boxShadow:ut.boxShadowDrawerRight},[`&${qe}-top`]:{boxShadow:ut.boxShadowDrawerUp},[`&${qe}-bottom`]:{boxShadow:ut.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${qe}-mask`]:{position:"absolute",inset:0,zIndex:je,background:Ve,pointerEvents:"auto"},[bt]:{position:"absolute",zIndex:je,maxWidth:"100vw",transition:`all ${_e}`,"&-hidden":{display:"none"}},[`&-left > ${bt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ut.boxShadowDrawerLeft},[`&-right > ${bt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ut.boxShadowDrawerRight},[`&-top > ${bt}`]:{top:0,insetInline:0,boxShadow:ut.boxShadowDrawerUp},[`&-bottom > ${bt}`]:{bottom:0,insetInline:0,boxShadow:ut.boxShadowDrawerDown},[`${qe}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ie,pointerEvents:"auto"},[`${qe}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${qe}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${De}px ${Te}px`,fontSize:Ne,lineHeight:Le,borderBottom:`${Ge}px ${dt} ${mt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${qe}-extra`]:{flex:"none"},[`${qe}-close`]:{display:"inline-block",marginInlineEnd:st,color:Et,fontWeight:Lt,fontSize:Ne,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Fe}`,textRendering:"auto","&:focus, &:hover":{color:Bt,textDecoration:"none"}},[`${qe}-title`]:{flex:1,margin:0,color:wt,fontWeight:ut.fontWeightStrong,fontSize:Ne,lineHeight:Le},[`${qe}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Te,overflow:"auto"},[`${qe}-footer`]:{flexShrink:0,padding:`${Ft}px ${Nt}px`,borderTop:`${Ge}px ${dt} ${mt}`},"&-rtl":{direction:"rtl"}}}};var At=(0,$e.Z)("Drawer",ut=>{const qe=(0,ze.TS)(ut,{});return[it(qe),et(qe)]},ut=>({zIndexPopup:ut.zIndexPopupBase,footerPaddingBlock:ut.paddingXS,footerPaddingInline:ut.padding})),ot=pe(11575),rt=function(ut,qe){var je={};for(var Ve in ut)Object.prototype.hasOwnProperty.call(ut,Ve)&&qe.indexOf(Ve)<0&&(je[Ve]=ut[Ve]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ve=Object.getOwnPropertySymbols(ut);Ie{var qe;const{rootClassName:je,width:Ve,height:Ie,size:_e="default",mask:Fe=!0,push:De=gt,open:Te,afterOpenChange:Ne,onClose:Le,prefixCls:Ge,getContainer:dt,style:mt,className:st,visible:Et,afterVisibleChange:Bt}=ut,wt=rt(ut,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Lt,getPrefixCls:Ft,direction:Nt,drawer:bt}=oe.useContext(Ue.E_),Dt=Ft("drawer",Ge),[Rt,Ut]=At(Dt),qt=dt===void 0&&Lt?()=>Lt(document.body):dt,mn=Qe()({"no-mask":!Fe,[`${Dt}-rtl`]:Nt==="rtl"},je,Ut),$t=oe.useMemo(()=>Ve!=null?Ve:_e==="large"?736:378,[Ve,_e]),rn=oe.useMemo(()=>Ie!=null?Ie:_e==="large"?736:378,[Ie,_e]),nn={motionName:(0,Be.m)(Dt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},xn=Un=>({motionName:(0,Be.m)(Dt,`panel-motion-${Un}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),In=(0,ot.H)();return Rt(oe.createElement(Xe.BR,null,oe.createElement(Ee.Ux,{status:!0,override:!0},oe.createElement(Pe,Object.assign({prefixCls:Dt,onClose:Le,maskMotion:nn,motion:xn},wt,{open:Te!=null?Te:Et,mask:Fe,push:De,width:$t,height:rn,style:Object.assign(Object.assign({},bt==null?void 0:bt.style),mt),className:Qe()(bt==null?void 0:bt.className,st),rootClassName:mn,getContainer:qt,afterOpenChange:Ne!=null?Ne:Bt,panelRef:In}),oe.createElement(ke,Object.assign({prefixCls:Dt},wt,{onClose:Le}))))))},Tt=ut=>{const{prefixCls:qe,style:je,className:Ve,placement:Ie="right"}=ut,_e=rt(ut,["prefixCls","style","className","placement"]),{getPrefixCls:Fe}=oe.useContext(Ue.E_),De=Fe("drawer",qe),[Te,Ne]=At(De),Le=Qe()(De,`${De}-pure`,`${De}-${Ie}`,Ne,Ve);return Te(oe.createElement("div",{className:Le,style:je},oe.createElement(ke,Object.assign({prefixCls:De},_e))))};yt._InternalPanelDoNotUseOrYouWillBeFired=Tt;var vt=yt},91857:function(Jt,Mt,pe){"use strict";var me=pe(59301),Qe=pe(38819),E=pe(92310),we=pe.n(E),fe=pe(31561),ue=pe(70425),oe=pe(18929),ae=pe(2738),le=pe(79676),re=pe(53487),se=pe(92343),ie=pe(36355),ne=pe(20834),z=pe(40875),y=pe(88088),a=pe(47211);const x=null,b=ge=>{const{menu:ve,arrow:ye,prefixCls:be,children:Ce,trigger:Se,disabled:Pe,dropdownRender:Be,getPopupContainer:Ue,overlayClassName:Ee,rootClassName:He,open:Oe,onOpenChange:ke,visible:Xe,onVisibleChange:$e,mouseEnterDelay:ze=.15,mouseLeaveDelay:at=.1,autoAdjustOverflow:et=!0,placement:it="",overlay:At,transitionName:ot}=ge,{getPopupContainer:rt,getPrefixCls:lt,direction:gt}=me.useContext(ie.E_),yt=me.useMemo(()=>{const st=lt();return ot!==void 0?ot:it.includes("top")?`${st}-slide-down`:`${st}-slide-up`},[lt,it,ot]),Tt=me.useMemo(()=>it?it.includes("Center")?it.slice(0,it.indexOf("Center")):it:gt==="rtl"?"bottomRight":"bottomLeft",[it,gt]),vt=lt("dropdown",be),[ut,qe]=(0,a.Z)(vt),[,je]=(0,y.Z)(),Ve=me.Children.only(Ce),Ie=(0,se.Tm)(Ve,{className:we()(`${vt}-trigger`,{[`${vt}-rtl`]:gt==="rtl"},Ve.props.className),disabled:Pe}),_e=Pe?[]:Se;let Fe;_e&&_e.includes("contextMenu")&&(Fe=!0);const[De,Te]=(0,oe.Z)(!1,{value:Oe!=null?Oe:Xe}),Ne=(0,ue.useEvent)(st=>{ke==null||ke(st),$e==null||$e(st),Te(st)}),Le=we()(Ee,He,qe,{[`${vt}-rtl`]:gt==="rtl"}),Ge=(0,le.Z)({arrowPointAtCenter:typeof ye=="object"&&ye.pointAtCenter,autoAdjustOverflow:et,offset:je.marginXXS,arrowWidth:ye?je.sizePopupArrow:0,borderRadius:je.borderRadius}),dt=me.useCallback(()=>{Te(!1)},[]),mt=()=>{let st;return ve!=null&&ve.items?st=me.createElement(ne.default,Object.assign({},ve)):typeof At=="function"?st=At():st=At,Be&&(st=Be(st)),st=me.Children.only(typeof st=="string"?me.createElement("span",null,st):st),me.createElement(z.J,{prefixCls:`${vt}-menu`,expandIcon:me.createElement("span",{className:`${vt}-menu-submenu-arrow`},me.createElement(Qe.Z,{className:`${vt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:dt,validator:Et=>{let{mode:Bt}=Et}},st)};return ut(me.createElement(fe.Z,Object.assign({alignPoint:Fe},(0,ae.Z)(ge,["rootClassName"]),{mouseEnterDelay:ze,mouseLeaveDelay:at,visible:De,builtinPlacements:Ge,arrow:!!ye,overlayClassName:Le,prefixCls:vt,getPopupContainer:Ue||rt,transitionName:yt,trigger:_e,overlay:mt,placement:Tt,onVisibleChange:Ne}),Ie))};function ee(ge){return Object.assign(Object.assign({},ge),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,re.Z)(b,"dropdown",ge=>ge,ee),de=ge=>me.createElement(te,Object.assign({},ge),me.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=de,Mt.Z=b},38854:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return y}});var me=pe(91857),Qe=pe(92310),E=pe.n(Qe),we=pe(59301),fe=pe(18785),ue=pe(3113),oe=pe(36355),ae=pe(81327),le=pe(33234),re=pe(47211),se=function(a,x){var b={};for(var ee in a)Object.prototype.hasOwnProperty.call(a,ee)&&x.indexOf(ee)<0&&(b[ee]=a[ee]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ee=Object.getOwnPropertySymbols(a);te{const{getPopupContainer:x,getPrefixCls:b,direction:ee}=we.useContext(oe.E_),{prefixCls:te,type:de="default",danger:ge,disabled:ve,loading:ye,onClick:be,htmlType:Ce,children:Se,className:Pe,menu:Be,arrow:Ue,autoFocus:Ee,overlay:He,trigger:Oe,align:ke,open:Xe,onOpenChange:$e,placement:ze,getPopupContainer:at,href:et,icon:it=we.createElement(fe.Z,null),title:At,buttonsRender:ot=mt=>mt,mouseEnterDelay:rt,mouseLeaveDelay:lt,overlayClassName:gt,overlayStyle:yt,destroyPopupOnHide:Tt,dropdownRender:vt}=a,ut=se(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"]),qe=b("dropdown",te),je=`${qe}-button`,[Ve,Ie]=(0,re.Z)(qe),_e={menu:Be,arrow:Ue,autoFocus:Ee,align:ke,disabled:ve,trigger:ve?[]:Oe,onOpenChange:$e,getPopupContainer:at||x,mouseEnterDelay:rt,mouseLeaveDelay:lt,overlayClassName:gt,overlayStyle:yt,destroyPopupOnHide:Tt,dropdownRender:vt},{compactSize:Fe,compactItemClassnames:De}=(0,le.ri)(qe,ee),Te=E()(je,De,Pe,Ie);"overlay"in a&&(_e.overlay=He),"open"in a&&(_e.open=Xe),"placement"in a?_e.placement=ze:_e.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Ne=we.createElement(ue.ZP,{type:de,danger:ge,disabled:ve,loading:ye,onClick:be,htmlType:Ce,href:et,title:At},Se),Le=we.createElement(ue.ZP,{type:de,danger:ge,icon:it}),[Ge,dt]=ot([Ne,Le]);return Ve(we.createElement(ae.Z.Compact,Object.assign({className:Te,size:Fe,block:!0},ut),Ge,we.createElement(me.Z,Object.assign({},_e),dt)))};ie.__ANT_BUTTON=!0;var ne=ie;const z=me.Z;z.Button=ne;var y=z},47211:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return se}});var me=pe(17313),Qe=pe(13826),E=pe(92899),we=pe(29878),fe=pe(19447),ue=pe(83116),oe=pe(37613),le=ie=>{const{componentCls:ne,menuCls:z,colorError:y,colorTextLightSolid:a}=ie,x=`${z}-item`;return{[`${ne}, ${ne}-menu-submenu`]:{[`${z} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const re=ie=>{const{componentCls:ne,menuCls:z,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:de,fontSize:ge,dropdownEdgeChildPadding:ve,colorTextDisabled:ye,fontSizeIcon:be,controlPaddingHorizontal:Ce,colorBgElevated:Se}=ie;return[{[ne]:Object.assign(Object.assign({},(0,me.Wf)(ie)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${ee}-down, & > ${b}-btn-icon > ${ee}-down`]:{fontSize:be}},[`${ne}-wrap`]:{position:"relative",[`${b}-btn > ${ee}-down`]:{fontSize:be},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${ne}-wrap-open`]:{[`${ee}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomRight`]:{animationName:Qe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topRight`]:{animationName:Qe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomRight`]:{animationName:Qe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topRight`]:{animationName:Qe.ly}})},(0,fe.ZP)(ie,{colorBg:Se,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ne} ${z}`]:{position:"relative",margin:0},[`${z}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ne}, ${ne}-menu-submenu`]:{[z]:Object.assign(Object.assign({padding:ve,listStyleType:"none",backgroundColor:Se,backgroundClip:"padding-box",borderRadius:ie.borderRadiusLG,outline:"none",boxShadow:ie.boxShadowSecondary},(0,me.Qy)(ie)),{[`${z}-item-group-title`]:{padding:`${de}px ${Ce}px`,color:ie.colorTextDescription,transition:`all ${te}`},[`${z}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${z}-item-icon`]:{minWidth:ge,marginInlineEnd:ie.marginXS,fontSize:ie.fontSizeSM},[`${z}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${z}-item, ${z}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${de}px ${Ce}px`,color:ie.colorText,fontWeight:"normal",fontSize:ge,lineHeight:ie.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:ie.borderRadiusSM,"&:hover, &-active":{backgroundColor:ie.controlItemBgHover}},(0,me.Qy)(ie)),{"&-selected":{color:ie.colorPrimary,backgroundColor:ie.controlItemBgActive,"&:hover, &-active":{backgroundColor:ie.controlItemBgActiveHover}},"&-disabled":{color:ye,cursor:"not-allowed","&:hover":{color:ye,backgroundColor:Se,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ie.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ie.colorSplit},[`${ne}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ie.paddingXS,[`${ne}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ie.colorTextDescription,fontSize:be,fontStyle:"normal"}}}),[`${z}-item-group-list`]:{margin:`0 ${ie.marginXS}px`,padding:0,listStyle:"none"},[`${z}-submenu-title`]:{paddingInlineEnd:Ce+ie.fontSizeSM},[`${z}-submenu-vertical`]:{position:"relative"},[`${z}-submenu${z}-submenu-disabled ${ne}-menu-submenu-title`]:{[`&, ${ne}-menu-submenu-arrow-icon`]:{color:ye,backgroundColor:Se,cursor:"not-allowed"}},[`${z}-submenu-selected ${ne}-menu-submenu-title`]:{color:ie.colorPrimary}})}},[(0,Qe.oN)(ie,"slide-up"),(0,Qe.oN)(ie,"slide-down"),(0,E.Fm)(ie,"move-up"),(0,E.Fm)(ie,"move-down"),(0,we._y)(ie,"zoom-big")]]};var se=(0,ue.Z)("Dropdown",(ie,ne)=>{let{rootPrefixCls:z}=ne;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:ee,paddingXXS:te,componentCls:de,borderRadiusLG:ge}=ie,ve=(x-b*ee)/2,{dropdownArrowOffset:ye}=(0,fe.fS)({contentRadius:ge}),be=(0,oe.TS)(ie,{menuCls:`${de}-menu`,rootPrefixCls:z,dropdownArrowDistance:a/2+y,dropdownArrowOffset:ye,dropdownPaddingVertical:ve,dropdownEdgeChildPadding:te});return[re(be),le(be)]},ie=>({zIndexPopup:ie.zIndexPopupBase+50}))},8628:function(Jt,Mt,pe){"use strict";var me=pe(59301),Qe=pe(34280),E=pe(56762),we=pe(69507);function fe(){let ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const oe=(0,me.useRef)({}),ae=(0,E.Z)(),le=(0,we.ZP)();return(0,Qe.Z)(()=>{const re=le.subscribe(se=>{oe.current=se,ue&&ae()});return()=>le.unsubscribe(re)},[]),oe.current}Mt.Z=fe},11611:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return fa}});var me=pe(59301),Qe=pe(15277),E=pe(92310),we=pe.n(E),fe=pe(54476),ue=pe(33885),oe=pe(20068),ae=pe(42978),le=pe(76190),re=pe(75931),se=pe(55468),ie=pe(18929),ne=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],z=me.createContext(null),y=0;function a(nr,Bn){var er=me.useState(function(){return y+=1,String(y)}),Zn=(0,ae.Z)(er,1),kr=Zn[0],Ca=me.useContext(z),ga={data:Bn,canPreview:nr};return me.useEffect(function(){if(Ca)return Ca.register(kr,ga)},[]),me.useEffect(function(){Ca&&Ca.register(kr,ga)},[nr,Bn]),kr}function x(nr){return new Promise(function(Bn){var er=document.createElement("img");er.onerror=function(){return Bn(!1)},er.onload=function(){return Bn(!0)},er.src=nr})}function b(nr){var Bn=nr.src,er=nr.isCustomPlaceholder,Zn=nr.fallback,kr=(0,me.useState)(er?"loading":"normal"),Ca=(0,ae.Z)(kr,2),ga=Ca[0],aa=Ca[1],on=(0,me.useRef)(!1),Nn=ga==="error";(0,me.useEffect)(function(){x(Bn).then(function(wr){wr||aa("error")})},[Bn]),(0,me.useEffect)(function(){er&&!on.current?aa("loading"):Nn&&aa("normal")},[Bn]);var dn=function(){aa("normal")},Yn=function(sr){on.current=!1,ga==="loading"&&sr!=null&&sr.complete&&(sr.naturalWidth||sr.naturalHeight)&&(on.current=!0,dn())},mr=Nn&&Zn?{src:Zn}:{onLoad:dn,src:Bn};return[Yn,mr,ga]}var ee=pe(86923),te=pe(8224),de=pe(10228),ge=pe(48736);function ve(nr,Bn,er,Zn){var kr=Bn+er,Ca=(er-Zn)/2;if(er>Zn){if(Bn>0)return(0,oe.Z)({},nr,Ca);if(Bn<0&&krZn)return(0,oe.Z)({},nr,Bn<0?Ca:-Ca);return{}}function ye(nr,Bn,er,Zn){var kr=(0,se.g1)(),Ca=kr.width,ga=kr.height,aa=null;return nr<=Ca&&Bn<=ga?aa={x:0,y:0}:(nr>Ca||Bn>ga)&&(aa=(0,ue.Z)((0,ue.Z)({},ve("x",er,nr,Ca)),ve("y",Zn,Bn,ga))),aa}var be=pe(13697),Ce=pe(16089),Se={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Pe(nr,Bn,er,Zn){var kr=(0,me.useRef)(null),Ca=(0,me.useRef)([]),ga=(0,me.useState)(Se),aa=(0,ae.Z)(ga,2),on=aa[0],Nn=aa[1],dn=function(sr){Nn(Se),Zn&&!(0,be.Z)(Se,on)&&Zn({transform:Se,action:sr})},Yn=function(sr,gr){kr.current===null&&(Ca.current=[],kr.current=(0,Ce.Z)(function(){Nn(function(Ea){var Hn=Ea;return Ca.current.forEach(function(qn){Hn=(0,ue.Z)((0,ue.Z)({},Hn),qn)}),kr.current=null,Zn==null||Zn({transform:Hn,action:gr}),Hn})})),Ca.current.push((0,ue.Z)((0,ue.Z)({},on),sr))},mr=function(sr,gr,Ea,Hn){var qn=nr.current,Mo=qn.width,Ja=qn.height,Wa=qn.offsetWidth,Ni=qn.offsetHeight,Ur=qn.offsetLeft,pa=qn.offsetTop,Ba=sr,va=on.scale*sr;va>er?(Ba=er/on.scale,va=er):va1,Wo=Yo&&qn>=1,Fi=Pe(mo,Ur,Ba,ts),Ko=Fi.transform,Fo=Fi.resetTransform,ei=Fi.updateTransform,bi=Fi.dispatchZoomChange,wi=(0,me.useState)(!0),ws=(0,ae.Z)(wi,2),$i=ws[0],Ps=ws[1],ms=Ko.rotate,gi=Ko.scale,bn=Ko.x,ar=Ko.y,Rr=we()((0,oe.Z)({},"".concat(er,"-moving"),Da));(0,me.useEffect)(function(){$i||Ps(!0)},[$i]);var uo=function(){Fo("close")},Oo=function(){bi(Oe+Wa,"zoomIn")},ho=function(){bi(Oe/(Oe+Wa),"zoomOut")},Nr=function(){ei({rotate:ms+90},"rotateRight")},pr=function(){ei({rotate:ms-90},"rotateLeft")},ur=function(){ei({flipX:!Ko.flipX},"flipX")},Br=function(){ei({flipY:!Ko.flipY},"flipY")},Ta=function(xa){xa==null||xa.preventDefault(),xa==null||xa.stopPropagation(),Ea>0&&(Ps(!1),Fo("prev"),Qi==null||Qi(Ea-1,Ea))},Qr=function(xa){xa==null||xa.preventDefault(),xa==null||xa.stopPropagation(),Ea0&&(_n=Oe/_n),bi(_n,"wheel",xa.clientX,xa.clientY)}},Xo=function(xa){!Nn||!lo||(xa.keyCode===de.Z.LEFT?Ta():xa.keyCode===de.Z.RIGHT&&Qr())},no=function(xa){Nn&&(gi!==1?ei({x:0,y:0,scale:1},"doubleClick"):bi(Oe+Wa,"doubleClick",xa.clientX,xa.clientY))};(0,me.useEffect)(function(){var Zo,xa,jn,Dn;if(aa){jn=(0,te.Z)(window,"mouseup",bo,!1),Dn=(0,te.Z)(window,"mousemove",To,!1);try{window.top!==window.self&&(Zo=(0,te.Z)(window.top,"mouseup",bo,!1),xa=(0,te.Z)(window.top,"mousemove",To,!1))}catch(_n){(0,ge.Kp)(!1,"[rc-image] ".concat(_n))}}return function(){var _n,dr,ha,ya;(_n=jn)===null||_n===void 0||_n.remove(),(dr=Dn)===null||dr===void 0||dr.remove(),(ha=Zo)===null||ha===void 0||ha.remove(),(ya=xa)===null||ya===void 0||ya.remove()}},[Nn,Da,bn,ar,ms,aa]),(0,me.useEffect)(function(){var Zo=(0,te.Z)(window,"keydown",Xo,!1);return function(){Zo.remove()}},[Nn,lo,Ea]);var ci=me.createElement(ze,(0,fe.Z)({},ii,{width:Bn.width,height:Bn.height,imgRef:mo,className:"".concat(er,"-img"),alt:kr,style:{transform:"translate3d(".concat(Ko.x,"px, ").concat(Ko.y,"px, 0) scale3d(").concat(Ko.flipX?"-":"").concat(gi,", ").concat(Ko.flipY?"-":"").concat(gi,", 1) rotate(").concat(ms,"deg)"),transitionDuration:!$i&&"0s"},fallback:Ca,src:Zn,onWheel:No,onMouseDown:oo,onDoubleClick:no}));return me.createElement(me.Fragment,null,me.createElement(ee.Z,(0,fe.Z)({transitionName:Uo,maskTransitionName:Ia,closable:!1,keyboard:!0,prefixCls:er,onClose:on,visible:Nn,wrapClassName:Rr,rootClassName:mr,getContainer:sr},oa,{afterClose:uo}),me.createElement("div",{className:"".concat(er,"-img-wrapper")},mi?mi(ci,(0,ue.Z)({transform:Ko},Yo?{current:Ea}:{})):ci)),me.createElement(He,{visible:Nn,transform:Ko,maskTransitionName:Ia,closeIcon:wr,getContainer:sr,prefixCls:er,rootClassName:mr,icons:Yn,countRender:Mo,showSwitch:lo,showProgress:Wo,current:Ea,count:qn,scale:gi,minScale:Ur,maxScale:Ba,toolbarRender:ki,onSwitchLeft:Ta,onSwitchRight:Qr,onZoomIn:Oo,onZoomOut:ho,onRotateRight:Nr,onRotateLeft:pr,onFlipX:ur,onFlipY:Br,onClose:on}))},et=at,it=pe(94480);function At(nr){var Bn=me.useState({}),er=(0,ae.Z)(Bn,2),Zn=er[0],kr=er[1],Ca=me.useCallback(function(aa,on){return kr(function(Nn){return(0,ue.Z)((0,ue.Z)({},Nn),{},(0,oe.Z)({},aa,on))}),function(){kr(function(Nn){var dn=(0,ue.Z)({},Nn);return delete dn[aa],dn})}},[]),ga=me.useMemo(function(){return nr?nr.map(function(aa){if(typeof aa=="string")return{data:{src:aa}};var on={};return Object.keys(aa).forEach(function(Nn){["src"].concat((0,it.Z)(ne)).includes(Nn)&&(on[Nn]=aa[Nn])}),{data:on}}):Object.keys(Zn).reduce(function(aa,on){var Nn=Zn[on],dn=Nn.canPreview,Yn=Nn.data;return dn&&aa.push({data:Yn,id:on}),aa},[])},[nr,Zn]);return[ga,Ca]}var ot=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],rt=["src"],lt=function(Bn){var er,Zn=Bn.previewPrefixCls,kr=Zn===void 0?"rc-image-preview":Zn,Ca=Bn.children,ga=Bn.icons,aa=ga===void 0?{}:ga,on=Bn.items,Nn=Bn.preview,dn=Bn.fallback,Yn=(0,le.Z)(Nn)==="object"?Nn:{},mr=Yn.visible,wr=Yn.onVisibleChange,sr=Yn.getContainer,gr=Yn.current,Ea=Yn.movable,Hn=Yn.minScale,qn=Yn.maxScale,Mo=Yn.countRender,Ja=Yn.closeIcon,Wa=Yn.onChange,Ni=Yn.onTransform,Ur=Yn.toolbarRender,pa=Yn.imageRender,Ba=(0,re.Z)(Yn,ot),va=At(on),Uo=(0,ae.Z)(va,2),Do=Uo[0],Ia=Uo[1],mi=(0,ie.Z)(0,{value:gr}),ii=(0,ae.Z)(mi,2),ki=ii[0],ts=ii[1],Qi=(0,me.useState)(!1),oa=(0,ae.Z)(Qi,2),mo=oa[0],cr=oa[1],ma=((er=Do[ki])===null||er===void 0?void 0:er.data)||{},Ha=ma.src,Da=(0,re.Z)(ma,rt),fo=(0,ie.Z)(!!mr,{value:mr,onChange:function(ms,gi){wr==null||wr(ms,gi,ki)}}),Yo=(0,ae.Z)(fo,2),lo=Yo[0],Wo=Yo[1],Fi=(0,me.useState)(null),Ko=(0,ae.Z)(Fi,2),Fo=Ko[0],ei=Ko[1],bi=me.useCallback(function(Ps,ms,gi){var bn=Do.findIndex(function(ar){return ar.id===Ps});Wo(!0),ei({x:ms,y:gi}),ts(bn<0?0:bn),cr(!0)},[Do]);me.useEffect(function(){lo?mo||ts(0):cr(!1)},[lo]);var wi=function(ms,gi){ts(ms),Wa==null||Wa(ms,gi)},ws=function(){Wo(!1),ei(null)},$i=me.useMemo(function(){return{register:Ia,onPreview:bi}},[Ia,bi]);return me.createElement(z.Provider,{value:$i},Ca,me.createElement(et,(0,fe.Z)({"aria-hidden":!lo,movable:Ea,visible:lo,prefixCls:kr,closeIcon:Ja,onClose:ws,mousePosition:Fo,imgCommonProps:Da,src:Ha,fallback:dn,icons:aa,minScale:Hn,maxScale:qn,getContainer:sr,current:ki,count:Do.length,countRender:Mo,onTransform:Ni,toolbarRender:Ur,imageRender:pa,onChange:wi},Ba)))},gt=lt,yt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Tt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],vt=function(Bn){var er=Bn.src,Zn=Bn.alt,kr=Bn.onPreviewClose,Ca=Bn.prefixCls,ga=Ca===void 0?"rc-image":Ca,aa=Bn.previewPrefixCls,on=aa===void 0?"".concat(ga,"-preview"):aa,Nn=Bn.placeholder,dn=Bn.fallback,Yn=Bn.width,mr=Bn.height,wr=Bn.style,sr=Bn.preview,gr=sr===void 0?!0:sr,Ea=Bn.className,Hn=Bn.onClick,qn=Bn.onError,Mo=Bn.wrapperClassName,Ja=Bn.wrapperStyle,Wa=Bn.rootClassName,Ni=(0,re.Z)(Bn,yt),Ur=Nn&&Nn!==!0,pa=(0,le.Z)(gr)==="object"?gr:{},Ba=pa.src,va=pa.visible,Uo=va===void 0?void 0:va,Do=pa.onVisibleChange,Ia=Do===void 0?kr:Do,mi=pa.getContainer,ii=mi===void 0?void 0:mi,ki=pa.mask,ts=pa.maskClassName,Qi=pa.movable,oa=pa.icons,mo=pa.scaleStep,cr=pa.minScale,ma=pa.maxScale,Ha=pa.imageRender,Da=pa.toolbarRender,fo=(0,re.Z)(pa,Tt),Yo=Ba!=null?Ba:er,lo=(0,ie.Z)(!!Uo,{value:Uo,onChange:Ia}),Wo=(0,ae.Z)(lo,2),Fi=Wo[0],Ko=Wo[1],Fo=b({src:er,isCustomPlaceholder:Ur,fallback:dn}),ei=(0,ae.Z)(Fo,3),bi=ei[0],wi=ei[1],ws=ei[2],$i=(0,me.useState)(null),Ps=(0,ae.Z)($i,2),ms=Ps[0],gi=Ps[1],bn=(0,me.useContext)(z),ar=!!gr,Rr=function(){Ko(!1),gi(null)},uo=we()(ga,Mo,Wa,(0,oe.Z)({},"".concat(ga,"-error"),ws==="error")),Oo=(0,me.useMemo)(function(){var ur={};return ne.forEach(function(Br){Bn[Br]!==void 0&&(ur[Br]=Bn[Br])}),ur},ne.map(function(ur){return Bn[ur]})),ho=(0,me.useMemo)(function(){return(0,ue.Z)((0,ue.Z)({},Oo),{},{src:Yo})},[Yo,Oo]),Nr=a(ar,ho),pr=function(Br){var Ta=(0,se.os)(Br.target),Qr=Ta.left,bo=Ta.top;bn?bn.onPreview(Nr,Qr,bo):(gi({x:Qr,y:bo}),Ko(!0)),Hn==null||Hn(Br)};return me.createElement(me.Fragment,null,me.createElement("div",(0,fe.Z)({},Ni,{className:uo,onClick:ar?pr:Hn,style:(0,ue.Z)({width:Yn,height:mr},Ja)}),me.createElement("img",(0,fe.Z)({},Oo,{className:we()("".concat(ga,"-img"),(0,oe.Z)({},"".concat(ga,"-img-placeholder"),Nn===!0),Ea),style:(0,ue.Z)({height:mr},wr),ref:bi},wi,{width:Yn,height:mr,onError:qn})),ws==="loading"&&me.createElement("div",{"aria-hidden":"true",className:"".concat(ga,"-placeholder")},Nn),ki&&ar&&me.createElement("div",{className:we()("".concat(ga,"-mask"),ts),style:{display:(wr==null?void 0:wr.display)==="none"?"none":void 0}},ki)),!bn&&ar&&me.createElement(et,(0,fe.Z)({"aria-hidden":!Fi,visible:Fi,prefixCls:on,onClose:Rr,mousePosition:ms,src:Yo,alt:Zn,fallback:dn,getContainer:ii,icons:oa,movable:Qi,scaleStep:mo,minScale:cr,maxScale:ma,rootClassName:Wa,imageRender:Ha,imgCommonProps:Oo,toolbarRender:Da},fo)))};vt.PreviewGroup=gt,vt.displayName="Image";var ut=vt,qe=ut,je=pe(62892),Ve=pe(36355),Ie=pe(31724),_e=pe(99267),Fe=pe(33853),De=pe(38819),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ne=Te,Le=pe(7657),Ge=function(Bn,er){return me.createElement(Le.Z,(0,fe.Z)({},Bn,{ref:er,icon:Ne}))},dt=me.forwardRef(Ge),mt=dt,st={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Et=st,Bt=function(Bn,er){return me.createElement(Le.Z,(0,fe.Z)({},Bn,{ref:er,icon:Et}))},wt=me.forwardRef(Bt),Lt=wt,Ft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Nt=Ft,bt=function(Bn,er){return me.createElement(Le.Z,(0,fe.Z)({},Bn,{ref:er,icon:Nt}))},Dt=me.forwardRef(bt),Rt=Dt,Ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},qt=Ut,mn=function(Bn,er){return me.createElement(Le.Z,(0,fe.Z)({},Bn,{ref:er,icon:qt}))},$t=me.forwardRef(mn),rn=$t,nn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},xn=nn,In=function(Bn,er){return me.createElement(Le.Z,(0,fe.Z)({},Bn,{ref:er,icon:xn}))},Un=me.forwardRef(In),ir=Un,yr=pe(64993),En=pe(73819),Dr=pe(17313),ta=pe(29878),Fr=pe(1950),Vr=pe(83116),Mr=pe(37613);const Er=nr=>({position:nr||"absolute",inset:0}),Oa=nr=>{const{iconCls:Bn,motionDurationSlow:er,paddingXXS:Zn,marginXXS:kr,prefixCls:Ca,colorTextLightSolid:ga}=nr;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:ga,background:new yr.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${er}`,[`.${Ca}-mask-info`]:Object.assign(Object.assign({},Dr.vS),{padding:`0 ${Zn}px`,[Bn]:{marginInlineEnd:kr,svg:{verticalAlign:"baseline"}}})}},to=nr=>{const{previewCls:Bn,modalMaskBg:er,paddingSM:Zn,marginXL:kr,margin:Ca,paddingLG:ga,previewOperationColorDisabled:aa,previewOperationHoverColor:on,motionDurationSlow:Nn,iconCls:dn,colorTextLightSolid:Yn}=nr,mr=new yr.C(er).setAlpha(.1),wr=mr.clone().setAlpha(.2);return{[`${Bn}-footer`]:{position:"fixed",bottom:kr,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:nr.previewOperationColor},[`${Bn}-progress`]:{marginBottom:Ca},[`${Bn}-close`]:{position:"fixed",top:kr,right:{_skip_check_:!0,value:kr},display:"flex",color:Yn,backgroundColor:mr.toRgbString(),borderRadius:"50%",padding:Zn,outline:0,border:0,cursor:"pointer",transition:`all ${Nn}`,"&:hover":{backgroundColor:wr.toRgbString()},[`& > ${dn}`]:{fontSize:nr.previewOperationSize}},[`${Bn}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${ga}px`,backgroundColor:mr.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Zn,padding:Zn,cursor:"pointer",transition:`all ${Nn}`,userSelect:"none",[`&:not(${Bn}-operations-operation-disabled):hover > ${dn}`]:{color:on},"&-disabled":{color:aa,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${dn}`]:{fontSize:nr.previewOperationSize}}}}},na=nr=>{const{modalMaskBg:Bn,iconCls:er,previewOperationColorDisabled:Zn,previewCls:kr,zIndexPopup:Ca,motionDurationSlow:ga}=nr,aa=new yr.C(Bn).setAlpha(.1),on=aa.clone().setAlpha(.2);return{[`${kr}-switch-left, ${kr}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Ca+1,display:"flex",alignItems:"center",justifyContent:"center",width:nr.imagePreviewSwitchSize,height:nr.imagePreviewSwitchSize,marginTop:-nr.imagePreviewSwitchSize/2,color:nr.previewOperationColor,background:aa.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${ga}`,userSelect:"none","&:hover":{background:on.toRgbString()},"&-disabled":{"&, &:hover":{color:Zn,background:"transparent",cursor:"not-allowed",[`> ${er}`]:{cursor:"not-allowed"}}},[`> ${er}`]:{fontSize:nr.previewOperationSize}},[`${kr}-switch-left`]:{insetInlineStart:nr.marginSM},[`${kr}-switch-right`]:{insetInlineEnd:nr.marginSM}}},Ao=nr=>{const{motionEaseOut:Bn,previewCls:er,motionDurationSlow:Zn,componentCls:kr}=nr;return[{[`${kr}-preview-root`]:{[er]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${er}-body`]:Object.assign(Object.assign({},Er()),{overflow:"hidden"}),[`${er}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Zn} ${Bn} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Er()),{transition:`transform ${Zn} ${Bn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${er}-moving`]:{[`${er}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${kr}-preview-root`]:{[`${er}-wrap`]:{zIndex:nr.zIndexPopup}}},{[`${kr}-preview-operations-wrapper`]:{position:"fixed",zIndex:nr.zIndexPopup+1},"&":[to(nr),na(nr)]}]},Ga=nr=>{const{componentCls:Bn}=nr;return{[Bn]:{position:"relative",display:"inline-block",[`${Bn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Bn}-img-placeholder`]:{backgroundColor:nr.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Bn}-mask`]:Object.assign({},Oa(nr)),[`${Bn}-mask:hover`]:{opacity:1},[`${Bn}-placeholder`]:Object.assign({},Er())}}},sn=nr=>{const{previewCls:Bn}=nr;return{[`${Bn}-root`]:(0,ta._y)(nr,"zoom"),"&":(0,Fr.J$)(nr,!0)}};var Pn=(0,Vr.Z)("Image",nr=>{const Bn=`${nr.componentCls}-preview`,er=(0,Mr.TS)(nr,{previewCls:Bn,modalMaskBg:new yr.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:nr.controlHeightLG});return[Ga(er),Ao(er),(0,En.QA)((0,Mr.TS)(er,{componentCls:Bn})),sn(er)]},nr=>({zIndexPopup:nr.zIndexPopupBase+80,previewOperationColor:new yr.C(nr.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new yr.C(nr.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new yr.C(nr.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:nr.fontSizeIcon*1.5})),An=function(nr,Bn){var er={};for(var Zn in nr)Object.prototype.hasOwnProperty.call(nr,Zn)&&Bn.indexOf(Zn)<0&&(er[Zn]=nr[Zn]);if(nr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kr=0,Zn=Object.getOwnPropertySymbols(nr);kr{var{previewPrefixCls:Bn,preview:er}=nr,Zn=An(nr,["previewPrefixCls","preview"]);const{getPrefixCls:kr}=me.useContext(Ve.E_),Ca=kr("image",Bn),ga=`${Ca}-preview`,aa=kr(),[on,Nn]=Pn(Ca),dn=me.useMemo(()=>{var Yn;if(er===!1)return er;const mr=typeof er=="object"?er:{},wr=we()(Nn,(Yn=mr.rootClassName)!==null&&Yn!==void 0?Yn:"");return Object.assign(Object.assign({},mr),{transitionName:(0,je.m)(aa,"zoom",mr.transitionName),maskTransitionName:(0,je.m)(aa,"fade",mr.maskTransitionName),rootClassName:wr})},[er]);return on(me.createElement(qe.PreviewGroup,Object.assign({preview:dn,previewPrefixCls:ga,icons:xr},Zn)))},La=function(nr,Bn){var er={};for(var Zn in nr)Object.prototype.hasOwnProperty.call(nr,Zn)&&Bn.indexOf(Zn)<0&&(er[Zn]=nr[Zn]);if(nr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kr=0,Zn=Object.getOwnPropertySymbols(nr);kr{const{prefixCls:Bn,preview:er,className:Zn,rootClassName:kr,style:Ca}=nr,ga=La(nr,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:aa,locale:on=Ie.Z,getPopupContainer:Nn,image:dn}=me.useContext(Ve.E_),Yn=aa("image",Bn),mr=aa(),wr=on.Image||Ie.Z.Image,[sr,gr]=Pn(Yn),Ea=we()(kr,gr),Hn=we()(Zn,gr,dn==null?void 0:dn.className),qn=me.useMemo(()=>{if(er===!1)return er;const Ja=typeof er=="object"?er:{},{getContainer:Wa}=Ja,Ni=La(Ja,["getContainer"]);return Object.assign(Object.assign({mask:me.createElement("div",{className:`${Yn}-mask-info`},me.createElement(Qe.Z,null),wr==null?void 0:wr.preview),icons:xr},Ni),{getContainer:Wa||Nn,transitionName:(0,je.m)(mr,"zoom",Ja.transitionName),maskTransitionName:(0,je.m)(mr,"fade",Ja.maskTransitionName)})},[er,wr]),Mo=Object.assign(Object.assign({},dn==null?void 0:dn.style),Ca);return sr(me.createElement(qe,Object.assign({prefixCls:Yn,preview:qn,rootClassName:Ea,className:Hn,style:Mo},ga)))};ua.PreviewGroup=sa;var fa=ua},45818:function(Jt,Mt,pe){"use strict";pe.d(Mt,{D:function(){return te},Z:function(){return ve}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(be,Ce){return Qe.createElement(fe.Z,(0,me.Z)({},be,{ref:Ce,icon:we}))},oe=Qe.forwardRef(ue),ae=oe,le=pe(33853),re=pe(38819),se=pe(92310),ie=pe.n(se),ne=pe(2738),y=ye=>!isNaN(parseFloat(ye))&&isFinite(ye),a=pe(36355),x=pe(84966),b=function(ye,be){var Ce={};for(var Se in ye)Object.prototype.hasOwnProperty.call(ye,Se)&&be.indexOf(Se)<0&&(Ce[Se]=ye[Se]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Se=Object.getOwnPropertySymbols(ye);Pe{let ye=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ye+=1,`${be}${ye}`}})();var ve=Qe.forwardRef((ye,be)=>{const{prefixCls:Ce,className:Se,trigger:Pe,children:Be,defaultCollapsed:Ue=!1,theme:Ee="dark",style:He={},collapsible:Oe=!1,reverseArrow:ke=!1,width:Xe=200,collapsedWidth:$e=80,zeroWidthTriggerStyle:ze,breakpoint:at,onCollapse:et,onBreakpoint:it}=ye,At=b(ye,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ot}=(0,Qe.useContext)(x.Gs),[rt,lt]=(0,Qe.useState)("collapsed"in ye?ye.collapsed:Ue),[gt,yt]=(0,Qe.useState)(!1);(0,Qe.useEffect)(()=>{"collapsed"in ye&<(ye.collapsed)},[ye.collapsed]);const Tt=(Ie,_e)=>{"collapsed"in ye||lt(Ie),et==null||et(Ie,_e)},vt=(0,Qe.useRef)();vt.current=Ie=>{yt(Ie.matches),it==null||it(Ie.matches),rt!==Ie.matches&&Tt(Ie.matches,"responsive")},(0,Qe.useEffect)(()=>{function Ie(Fe){return vt.current(Fe)}let _e;if(typeof window!="undefined"){const{matchMedia:Fe}=window;if(Fe&&at&&at in ee){_e=Fe(`(max-width: ${ee[at]})`);try{_e.addEventListener("change",Ie)}catch(De){_e.addListener(Ie)}Ie(_e)}}return()=>{try{_e==null||_e.removeEventListener("change",Ie)}catch(Fe){_e==null||_e.removeListener(Ie)}}},[at]),(0,Qe.useEffect)(()=>{const Ie=de("ant-sider-");return ot.addSider(Ie),()=>ot.removeSider(Ie)},[]);const ut=()=>{Tt(!rt,"clickTrigger")},{getPrefixCls:qe}=(0,Qe.useContext)(a.E_),je=()=>{const Ie=qe("layout-sider",Ce),_e=(0,ne.Z)(At,["collapsed"]),Fe=rt?$e:Xe,De=y(Fe)?`${Fe}px`:String(Fe),Te=parseFloat(String($e||0))===0?Qe.createElement("span",{onClick:ut,className:ie()(`${Ie}-zero-width-trigger`,`${Ie}-zero-width-trigger-${ke?"right":"left"}`),style:ze},Pe||Qe.createElement(ae,null)):null,Ge={expanded:ke?Qe.createElement(re.Z,null):Qe.createElement(le.Z,null),collapsed:ke?Qe.createElement(le.Z,null):Qe.createElement(re.Z,null)}[rt?"collapsed":"expanded"],dt=Pe!==null?Te||Qe.createElement("div",{className:`${Ie}-trigger`,onClick:ut,style:{width:De}},Pe||Ge):null,mt=Object.assign(Object.assign({},He),{flex:`0 0 ${De}`,maxWidth:De,minWidth:De,width:De}),st=ie()(Ie,`${Ie}-${Ee}`,{[`${Ie}-collapsed`]:!!rt,[`${Ie}-has-trigger`]:Oe&&Pe!==null&&!Te,[`${Ie}-below`]:!!gt,[`${Ie}-zero-width`]:parseFloat(De)===0},Se);return Qe.createElement("aside",Object.assign({className:st},_e,{style:mt,ref:be}),Qe.createElement("div",{className:`${Ie}-children`},Be),Oe||gt&&Te?dt:null)},Ve=Qe.useMemo(()=>({siderCollapsed:rt}),[rt]);return Qe.createElement(te.Provider,{value:Ve},je())})},84966:function(Jt,Mt,pe){"use strict";pe.d(Mt,{VY:function(){return te},$_:function(){return ee},h4:function(){return b},Gs:function(){return ne},ZP:function(){return de}});var me=pe(94480),Qe=pe(92310),E=pe.n(Qe),we=pe(2738),fe=pe(59301),ue=pe(36355),oe=pe(83116),le=ge=>{const{componentCls:ve,bodyBg:ye,lightSiderBg:be,lightTriggerBg:Ce,lightTriggerColor:Se}=ge;return{[`${ve}-sider-light`]:{background:be,[`${ve}-sider-trigger`]:{color:Se,background:Ce},[`${ve}-sider-zero-width-trigger`]:{color:Se,background:Ce,border:`1px solid ${ye}`,borderInlineStart:0}}}};const re=ge=>{const{antCls:ve,componentCls:ye,colorText:be,triggerColor:Ce,footerBg:Se,triggerBg:Pe,headerHeight:Be,headerPadding:Ue,headerColor:Ee,footerPadding:He,triggerHeight:Oe,zeroTriggerHeight:ke,zeroTriggerWidth:Xe,motionDurationMid:$e,motionDurationSlow:ze,fontSize:at,borderRadius:et,bodyBg:it,headerBg:At,siderBg:ot}=ge;return{[ye]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:it,"&, *":{boxSizing:"border-box"},[`&${ye}-has-sider`]:{flexDirection:"row",[`> ${ye}, > ${ye}-content`]:{width:0}},[`${ye}-header, &${ye}-footer`]:{flex:"0 0 auto"},[`${ye}-sider`]:{position:"relative",minWidth:0,background:ot,transition:`all ${$e}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ve}-menu${ve}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Oe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Oe,color:Ce,lineHeight:`${Oe}px`,textAlign:"center",background:Pe,cursor:"pointer",transition:`all ${$e}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Be,insetInlineEnd:-Xe,zIndex:1,width:Xe,height:ke,color:Ce,fontSize:ge.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ot,borderStartStartRadius:0,borderStartEndRadius:et,borderEndEndRadius:et,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ze} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ze}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Xe,borderStartStartRadius:et,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:et}}}}},le(ge)),{"&-rtl":{direction:"rtl"}}),[`${ye}-header`]:{height:Be,padding:Ue,color:Ee,lineHeight:`${Be}px`,background:At,[`${ve}-menu`]:{lineHeight:"inherit"}},[`${ye}-footer`]:{padding:He,color:be,fontSize:at,background:Se},[`${ye}-content`]:{flex:"auto",minHeight:0}}};var se=(0,oe.Z)("Layout",ge=>[re(ge)],ge=>{const{colorBgLayout:ve,controlHeight:ye,controlHeightLG:be,colorText:Ce,controlHeightSM:Se,marginXXS:Pe,colorTextLightSolid:Be,colorBgContainer:Ue}=ge,Ee=be*1.25;return{colorBgHeader:"#001529",colorBgBody:ve,colorBgTrigger:"#002140",bodyBg:ve,headerBg:"#001529",headerHeight:ye*2,headerPadding:`0 ${Ee}px`,headerColor:Ce,footerPadding:`${Se}px ${Ee}px`,footerBg:ve,siderBg:"#001529",triggerHeight:be+Pe*2,triggerBg:"#002140",triggerColor:Be,zeroTriggerWidth:be,zeroTriggerHeight:be,lightSiderBg:Ue,lightTriggerBg:Ue,lightTriggerColor:Ce}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ie=function(ge,ve){var ye={};for(var be in ge)Object.prototype.hasOwnProperty.call(ge,be)&&ve.indexOf(be)<0&&(ye[be]=ge[be]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,be=Object.getOwnPropertySymbols(ge);Cenull,removeSider:()=>null}});function z(ge){let{suffixCls:ve,tagName:ye,displayName:be}=ge;return Ce=>fe.forwardRef((Pe,Be)=>fe.createElement(Ce,Object.assign({ref:Be,suffixCls:ve,tagName:ye},Pe)))}const y=fe.forwardRef((ge,ve)=>{const{prefixCls:ye,suffixCls:be,className:Ce,tagName:Se}=ge,Pe=ie(ge,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Be}=fe.useContext(ue.E_),Ue=Be("layout",ye),[Ee,He]=se(Ue),Oe=be?`${Ue}-${be}`:Ue;return Ee(fe.createElement(Se,Object.assign({className:E()(ye||Oe,Ce,He),ref:ve},Pe)))}),a=fe.forwardRef((ge,ve)=>{const{direction:ye}=fe.useContext(ue.E_),[be,Ce]=fe.useState([]),{prefixCls:Se,className:Pe,rootClassName:Be,children:Ue,hasSider:Ee,tagName:He,style:Oe}=ge,ke=ie(ge,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Xe=(0,we.Z)(ke,["suffixCls"]),{getPrefixCls:$e,layout:ze}=fe.useContext(ue.E_),at=$e("layout",Se),[et,it]=se(at),At=E()(at,{[`${at}-has-sider`]:typeof Ee=="boolean"?Ee:be.length>0,[`${at}-rtl`]:ye==="rtl"},ze==null?void 0:ze.className,Pe,Be,it),ot=fe.useMemo(()=>({siderHook:{addSider:rt=>{Ce(lt=>[].concat((0,me.Z)(lt),[rt]))},removeSider:rt=>{Ce(lt=>lt.filter(gt=>gt!==rt))}}}),[]);return et(fe.createElement(ne.Provider,{value:ot},fe.createElement(He,Object.assign({ref:ve,className:At,style:Object.assign(Object.assign({},ze==null?void 0:ze.style),Oe)},Xe),Ue)))}),x=z({tagName:"div",displayName:"Layout"})(a),b=z({suffixCls:"header",tagName:"header",displayName:"Header"})(y),ee=z({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),te=z({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var de=x},40875:function(Jt,Mt,pe){"use strict";pe.d(Mt,{J:function(){return ue}});var me=pe(59301),Qe=pe(33234),E=pe(70425),we=function(oe,ae){var le={};for(var re in oe)Object.prototype.hasOwnProperty.call(oe,re)&&ae.indexOf(re)<0&&(le[re]=oe[re]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,re=Object.getOwnPropertySymbols(oe);se{const{children:le}=oe,re=we(oe,["children"]),se=me.useContext(fe),ie=me.useMemo(()=>Object.assign(Object.assign({},se),re),[se,re.prefixCls,re.mode,re.selectable]);return me.createElement(fe.Provider,{value:ie},me.createElement(Qe.BR,null,(0,E.supportNodeRef)(le)?me.cloneElement(le,{ref:ae}):le))});Mt.Z=fe},20834:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return Ve}});var me=pe(15285),Qe=pe(59301),E=pe(45818),we=pe(92310),fe=pe.n(we),ue=pe(36355),oe=function(Ie,_e){var Fe={};for(var De in Ie)Object.prototype.hasOwnProperty.call(Ie,De)&&_e.indexOf(De)<0&&(Fe[De]=Ie[De]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,De=Object.getOwnPropertySymbols(Ie);Te{const{prefixCls:_e,className:Fe,dashed:De}=Ie,Te=oe(Ie,["prefixCls","className","dashed"]),{getPrefixCls:Ne}=Qe.useContext(ue.E_),Le=Ne("menu",_e),Ge=fe()({[`${Le}-item-divider-dashed`]:!!De},Fe);return Qe.createElement(me.iz,Object.assign({className:Ge},Te))},re=pe(11592),se=pe(2738),ie=pe(6848),ne=pe(92343),y=(0,Qe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ie=>{var _e;const{className:Fe,children:De,icon:Te,title:Ne,danger:Le}=Ie,{prefixCls:Ge,firstLevel:dt,direction:mt,disableMenuItemTitleTooltip:st,inlineCollapsed:Et}=Qe.useContext(y),Bt=Dt=>{const Rt=Qe.createElement("span",{className:`${Ge}-title-content`},De);return(!Te||(0,ne.l$)(De)&&De.type==="span")&&De&&Dt&&dt&&typeof De=="string"?Qe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},De.charAt(0)):Rt},{siderCollapsed:wt}=Qe.useContext(E.D);let Lt=Ne;typeof Ne=="undefined"?Lt=dt?De:"":Ne===!1&&(Lt="");const Ft={title:Lt};!wt&&!Et&&(Ft.title=null,Ft.open=!1);const Nt=(0,re.Z)(De).length;let bt=Qe.createElement(me.ck,Object.assign({},(0,se.Z)(Ie,["title","icon","danger"]),{className:fe()({[`${Ge}-item-danger`]:Le,[`${Ge}-item-only-child`]:(Te?Nt+1:Nt)===1},Fe),title:typeof Ne=="string"?Ne:void 0}),(0,ne.Tm)(Te,{className:fe()((0,ne.l$)(Te)?(_e=Te.props)===null||_e===void 0?void 0:_e.className:"",`${Ge}-item-icon`)}),Bt(Et));return st||(bt=Qe.createElement(ie.Z,Object.assign({},Ft,{placement:mt==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),bt)),bt},ee=Ie=>{var _e;const{popupClassName:Fe,icon:De,title:Te,theme:Ne}=Ie,Le=Qe.useContext(y),{prefixCls:Ge,inlineCollapsed:dt,theme:mt}=Le,st=(0,me.Xl)();let Et;if(!De)Et=dt&&!st.length&&Te&&typeof Te=="string"?Qe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Te.charAt(0)):Qe.createElement("span",{className:`${Ge}-title-content`},Te);else{const wt=(0,ne.l$)(Te)&&Te.type==="span";Et=Qe.createElement(Qe.Fragment,null,(0,ne.Tm)(De,{className:fe()((0,ne.l$)(De)?(_e=De.props)===null||_e===void 0?void 0:_e.className:"",`${Ge}-item-icon`)}),wt?Te:Qe.createElement("span",{className:`${Ge}-title-content`},Te))}const Bt=Qe.useMemo(()=>Object.assign(Object.assign({},Le),{firstLevel:!1}),[Le]);return Qe.createElement(y.Provider,{value:Bt},Qe.createElement(me.Wd,Object.assign({},(0,se.Z)(Ie,["icon"]),{title:Et,popupClassName:fe()(Ge,Fe,`${Ge}-${Ne||mt}`)})))},te=pe(18785),de=pe(70425),ge=pe(62892),ve=pe(40875),ye=function(Ie,_e){var Fe={};for(var De in Ie)Object.prototype.hasOwnProperty.call(Ie,De)&&_e.indexOf(De)<0&&(Fe[De]=Ie[De]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,De=Object.getOwnPropertySymbols(Ie);Te{if(_e&&typeof _e=="object"){const De=_e,{label:Te,children:Ne,key:Le,type:Ge}=De,dt=ye(De,["label","children","key","type"]),mt=Le!=null?Le:`tmp-${Fe}`;return Ne||Ge==="group"?Ge==="group"?Qe.createElement(me.BW,Object.assign({key:mt},dt,{title:Te}),be(Ne)):Qe.createElement(ee,Object.assign({key:mt},dt,{title:Te}),be(Ne)):Ge==="divider"?Qe.createElement(le,Object.assign({key:mt},dt)):Qe.createElement(x,Object.assign({key:mt},dt),Te)}return null}).filter(_e=>_e)}function Ce(Ie){return Qe.useMemo(()=>Ie&&be(Ie),[Ie])}var Se=pe(64993),Pe=pe(17313),Be=pe(8378),Ue=pe(13826),Ee=pe(29878),He=pe(83116),Oe=pe(37613),Xe=Ie=>{const{componentCls:_e,motionDurationSlow:Fe,horizontalLineHeight:De,colorSplit:Te,lineWidth:Ne,lineType:Le,itemPaddingInline:Ge}=Ie;return{[`${_e}-horizontal`]:{lineHeight:De,border:0,borderBottom:`${Ne}px ${Le} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${_e}-item, ${_e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${_e}-item:hover, > ${_e}-item-active, > ${_e}-submenu ${_e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${_e}-item, ${_e}-submenu-title`]:{transition:[`border-color ${Fe}`,`background ${Fe}`].join(",")},[`${_e}-submenu-arrow`]:{display:"none"}}}},ze=Ie=>{let{componentCls:_e,menuArrowOffset:Fe}=Ie;return{[`${_e}-rtl`]:{direction:"rtl"},[`${_e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${_e}-rtl${_e}-vertical, ${_e}-submenu-rtl ${_e}-vertical`]:{[`${_e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(45deg) translateY(${Fe})`}}}}};const at=Ie=>Object.assign({},(0,Pe.oN)(Ie));var it=(Ie,_e)=>{const{componentCls:Fe,itemColor:De,itemSelectedColor:Te,groupTitleColor:Ne,itemBg:Le,subMenuItemBg:Ge,itemSelectedBg:dt,activeBarHeight:mt,activeBarWidth:st,activeBarBorderWidth:Et,motionDurationSlow:Bt,motionEaseInOut:wt,motionEaseOut:Lt,itemPaddingInline:Ft,motionDurationMid:Nt,itemHoverColor:bt,lineType:Dt,colorSplit:Rt,itemDisabledColor:Ut,dangerItemColor:qt,dangerItemHoverColor:mn,dangerItemSelectedColor:$t,dangerItemActiveBg:rn,dangerItemSelectedBg:nn,itemHoverBg:xn,itemActiveBg:In,menuSubMenuBg:Un,horizontalItemSelectedColor:ir,horizontalItemSelectedBg:yr,horizontalItemBorderRadius:En,horizontalItemHoverBg:Dr,popupBg:ta}=Ie;return{[`${Fe}-${_e}, ${Fe}-${_e} > ${Fe}`]:{color:De,background:Le,[`&${Fe}-root:focus-visible`]:Object.assign({},at(Ie)),[`${Fe}-item-group-title`]:{color:Ne},[`${Fe}-submenu-selected`]:{[`> ${Fe}-submenu-title`]:{color:Te}},[`${Fe}-item-disabled, ${Fe}-submenu-disabled`]:{color:`${Ut} !important`},[`${Fe}-item:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{[`&:hover, > ${Fe}-submenu-title:hover`]:{color:bt}},[`&:not(${Fe}-horizontal)`]:{[`${Fe}-item:not(${Fe}-item-selected)`]:{"&:hover":{backgroundColor:xn},"&:active":{backgroundColor:In}},[`${Fe}-submenu-title`]:{"&:hover":{backgroundColor:xn},"&:active":{backgroundColor:In}}},[`${Fe}-item-danger`]:{color:qt,[`&${Fe}-item:hover`]:{[`&:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{color:mn}},[`&${Fe}-item:active`]:{background:rn}},[`${Fe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Fe}-item-selected`]:{color:Te,[`&${Fe}-item-danger`]:{color:$t},"a, a:hover":{color:"inherit"}},[`& ${Fe}-item-selected`]:{backgroundColor:dt,[`&${Fe}-item-danger`]:{backgroundColor:nn}},[`${Fe}-item, ${Fe}-submenu-title`]:{[`&:not(${Fe}-item-disabled):focus-visible`]:Object.assign({},at(Ie))},[`&${Fe}-submenu > ${Fe}`]:{backgroundColor:Un},[`&${Fe}-popup > ${Fe}`]:{backgroundColor:ta},[`&${Fe}-horizontal`]:Object.assign(Object.assign({},_e==="dark"?{borderBottom:0}:{}),{[`> ${Fe}-item, > ${Fe}-submenu`]:{top:Et,marginTop:-Et,marginBottom:0,borderRadius:En,"&::after":{position:"absolute",insetInline:Ft,bottom:0,borderBottom:`${mt}px solid transparent`,transition:`border-color ${Bt} ${wt}`,content:'""'},"&:hover, &-active, &-open":{background:Dr,"&::after":{borderBottomWidth:mt,borderBottomColor:ir}},"&-selected":{color:ir,backgroundColor:yr,"&:hover":{backgroundColor:yr},"&::after":{borderBottomWidth:mt,borderBottomColor:ir}}}}),[`&${Fe}-root`]:{[`&${Fe}-inline, &${Fe}-vertical`]:{borderInlineEnd:`${Et}px ${Dt} ${Rt}`}},[`&${Fe}-inline`]:{[`${Fe}-sub${Fe}-inline`]:{background:Ge},[`${Fe}-item, ${Fe}-submenu-title`]:Et&&st?{width:`calc(100% + ${Et}px)`}:{},[`${Fe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${st}px solid ${Te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Nt} ${Lt}`,`opacity ${Nt} ${Lt}`].join(","),content:'""'},[`&${Fe}-item-danger`]:{"&::after":{borderInlineEndColor:$t}}},[`${Fe}-selected, ${Fe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Nt} ${wt}`,`opacity ${Nt} ${wt}`].join(",")}}}}}};const At=Ie=>{const{componentCls:_e,itemHeight:Fe,itemMarginInline:De,padding:Te,menuArrowSize:Ne,marginXS:Le,itemMarginBlock:Ge}=Ie,dt=Te+Ne+Le;return{[`${_e}-item`]:{position:"relative",overflow:"hidden"},[`${_e}-item, ${_e}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`,paddingInline:Te,overflow:"hidden",textOverflow:"ellipsis",marginInline:De,marginBlock:Ge,width:`calc(100% - ${De*2}px)`},[`> ${_e}-item, > ${_e}-submenu > ${_e}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`},[`${_e}-item-group-list ${_e}-submenu-title, ${_e}-submenu-title`]:{paddingInlineEnd:dt}}};var rt=Ie=>{const{componentCls:_e,iconCls:Fe,itemHeight:De,colorTextLightSolid:Te,dropdownWidth:Ne,controlHeightLG:Le,motionDurationMid:Ge,motionEaseOut:dt,paddingXL:mt,itemMarginInline:st,fontSizeLG:Et,motionDurationSlow:Bt,paddingXS:wt,boxShadowSecondary:Lt,collapsedWidth:Ft,collapsedIconSize:Nt}=Ie,bt={height:De,lineHeight:`${De}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[_e]:{"&-inline, &-vertical":Object.assign({[`&${_e}-root`]:{boxShadow:"none"}},At(Ie))},[`${_e}-submenu-popup`]:{[`${_e}-vertical`]:Object.assign(Object.assign({},At(Ie)),{boxShadow:Lt})}},{[`${_e}-submenu-popup ${_e}-vertical${_e}-sub`]:{minWidth:Ne,maxHeight:`calc(100vh - ${Le*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${_e}-inline`]:{width:"100%",[`&${_e}-root`]:{[`${_e}-item, ${_e}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Bt}`,`background ${Bt}`,`padding ${Ge} ${dt}`].join(","),[`> ${_e}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${_e}-sub${_e}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${_e}-submenu > ${_e}-submenu-title`]:bt,[`& ${_e}-item-group-title`]:{paddingInlineStart:mt}},[`${_e}-item`]:bt}},{[`${_e}-inline-collapsed`]:{width:Ft,[`&${_e}-root`]:{[`${_e}-item, ${_e}-submenu ${_e}-submenu-title`]:{[`> ${_e}-inline-collapsed-noicon`]:{fontSize:Et,textAlign:"center"}}},[`> ${_e}-item, > ${_e}-item-group > ${_e}-item-group-list > ${_e}-item, > ${_e}-item-group > ${_e}-item-group-list > ${_e}-submenu > ${_e}-submenu-title, > ${_e}-submenu > ${_e}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Et/2}px - ${st}px)`,textOverflow:"clip",[` ${_e}-submenu-arrow, ${_e}-submenu-expand-icon `]:{opacity:0},[`${_e}-item-icon, ${Fe}`]:{margin:0,fontSize:Nt,lineHeight:`${De}px`,"+ span":{display:"inline-block",opacity:0}}},[`${_e}-item-icon, ${Fe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${_e}-item-icon, ${Fe}`]:{display:"none"},"a, a:hover":{color:Te}},[`${_e}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:wt})}}]};const lt=Ie=>{const{componentCls:_e,motionDurationSlow:Fe,motionDurationMid:De,motionEaseInOut:Te,motionEaseOut:Ne,iconCls:Le,iconSize:Ge,iconMarginInlineEnd:dt}=Ie;return{[`${_e}-item, ${_e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Fe}`,`background ${Fe}`,`padding ${Fe} ${Te}`].join(","),[`${_e}-item-icon, ${Le}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${De} ${Ne}`,`margin ${Fe} ${Te}`,`color ${Fe}`].join(","),"+ span":{marginInlineStart:dt,opacity:1,transition:[`opacity ${Fe} ${Te}`,`margin ${Fe}`,`color ${Fe}`].join(",")}},[`${_e}-item-icon`]:Object.assign({},(0,Pe.Ro)()),[`&${_e}-item-only-child`]:{[`> ${Le}, > ${_e}-item-icon`]:{marginInlineEnd:0}}},[`${_e}-item-disabled, ${_e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${_e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},gt=Ie=>{const{componentCls:_e,motionDurationSlow:Fe,motionEaseInOut:De,borderRadius:Te,menuArrowSize:Ne,menuArrowOffset:Le}=Ie;return{[`${_e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ie.margin,width:Ne,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Fe} ${De}, opacity ${Fe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ne*.6,height:Ne*.15,backgroundColor:"currentcolor",borderRadius:Te,transition:[`background ${Fe} ${De}`,`transform ${Fe} ${De}`,`top ${Fe} ${De}`,`color ${Fe} ${De}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Le})`},"&::after":{transform:`rotate(-45deg) translateY(${Le})`}}}}},yt=Ie=>{const{antCls:_e,componentCls:Fe,fontSize:De,motionDurationSlow:Te,motionDurationMid:Ne,motionEaseInOut:Le,paddingXS:Ge,padding:dt,colorSplit:mt,lineWidth:st,zIndexPopup:Et,borderRadiusLG:Bt,subMenuItemBorderRadius:wt,menuArrowSize:Lt,menuArrowOffset:Ft,lineType:Nt,menuPanelMaskInset:bt,groupTitleLineHeight:Dt,groupTitleFontSize:Rt}=Ie;return[{"":{[`${Fe}`]:Object.assign(Object.assign({},(0,Pe.dF)()),{"&-hidden":{display:"none"}})},[`${Fe}-submenu-hidden`]:{display:"none"}},{[Fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(Ie)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:De,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Fe}-item`]:{flex:"none"}},[`${Fe}-item, ${Fe}-submenu, ${Fe}-submenu-title`]:{borderRadius:Ie.itemBorderRadius},[`${Fe}-item-group-title`]:{padding:`${Ge}px ${dt}px`,fontSize:Rt,lineHeight:Dt,transition:`all ${Te}`},[`&-horizontal ${Fe}-submenu`]:{transition:[`border-color ${Te} ${Le}`,`background ${Te} ${Le}`].join(",")},[`${Fe}-submenu, ${Fe}-submenu-inline`]:{transition:[`border-color ${Te} ${Le}`,`background ${Te} ${Le}`,`padding ${Ne} ${Le}`].join(",")},[`${Fe}-submenu ${Fe}-sub`]:{cursor:"initial",transition:[`background ${Te} ${Le}`,`padding ${Te} ${Le}`].join(",")},[`${Fe}-title-content`]:{transition:`color ${Te}`},[`${Fe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Fe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:mt,borderStyle:Nt,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),lt(Ie)),{[`${Fe}-item-group`]:{[`${Fe}-item-group-list`]:{margin:0,padding:0,[`${Fe}-item, ${Fe}-submenu-title`]:{paddingInline:`${De*2}px ${dt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Et,borderRadius:Bt,boxShadow:"none",transformOrigin:"0 0",[`&${Fe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${bt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:bt},"\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:Ie.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ie.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ie.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ie.paddingXS},[`> ${Fe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Bt},lt(Ie)),gt(Ie)),{[`${Fe}-item, ${Fe}-submenu > ${Fe}-submenu-title`]:{borderRadius:wt},[`${Fe}-submenu-title::after`]:{transition:`transform ${Te} ${Le}`}})}}),gt(Ie)),{[`&-inline-collapsed ${Fe}-submenu-arrow, &-inline ${Fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ft})`},"&::after":{transform:`rotate(45deg) translateX(-${Ft})`}},[`${Fe}-submenu-open${Fe}-submenu-inline > ${Fe}-submenu-title > ${Fe}-submenu-arrow`]:{transform:`translateY(-${Lt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ft})`},"&::before":{transform:`rotate(45deg) translateX(${Ft})`}}})},{[`${_e}-layout-header`]:{[Fe]:{lineHeight:"inherit"}}}]};var Tt=(Ie,_e)=>(0,He.Z)("Menu",De=>{if(_e===!1)return[];const{colorBgElevated:Te,colorPrimary:Ne,colorTextLightSolid:Le,controlHeightLG:Ge,fontSize:dt,darkItemColor:mt,darkDangerItemColor:st,darkItemBg:Et,darkSubMenuItemBg:Bt,darkItemSelectedColor:wt,darkItemSelectedBg:Lt,darkDangerItemSelectedBg:Ft,darkItemHoverBg:Nt,darkGroupTitleColor:bt,darkItemHoverColor:Dt,darkItemDisabledColor:Rt,darkDangerItemHoverColor:Ut,darkDangerItemSelectedColor:qt,darkDangerItemActiveBg:mn}=De,$t=dt/7*5,rn=(0,Oe.TS)(De,{menuArrowSize:$t,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${$t*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Te}),nn=(0,Oe.TS)(rn,{itemColor:mt,itemHoverColor:Dt,groupTitleColor:bt,itemSelectedColor:wt,itemBg:Et,popupBg:Et,subMenuItemBg:Bt,itemActiveBg:"transparent",itemSelectedBg:Lt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Nt,itemDisabledColor:Rt,dangerItemColor:st,dangerItemHoverColor:Ut,dangerItemSelectedColor:qt,dangerItemActiveBg:mn,dangerItemSelectedBg:Ft,menuSubMenuBg:Bt,horizontalItemSelectedColor:Le,horizontalItemSelectedBg:Ne});return[yt(rn),Xe(rn),rt(rn),it(rn,"light"),it(nn,"dark"),ze(rn),(0,Be.Z)(rn),(0,Ue.oN)(rn,"slide-up"),(0,Ue.oN)(rn,"slide-down"),(0,Ee._y)(rn,"zoom-big")]},De=>{const{colorPrimary:Te,colorError:Ne,colorTextDisabled:Le,colorErrorBg:Ge,colorText:dt,colorTextDescription:mt,colorBgContainer:st,colorFillAlter:Et,colorFillContent:Bt,lineWidth:wt,lineWidthBold:Lt,controlItemBgActive:Ft,colorBgTextHover:Nt,controlHeightLG:bt,lineHeight:Dt,colorBgElevated:Rt,marginXXS:Ut,padding:qt,fontSize:mn,controlHeightSM:$t,fontSizeLG:rn,colorTextLightSolid:nn,colorErrorHover:xn}=De,In=new Se.C(nn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:De.zIndexPopupBase+50,radiusItem:De.borderRadiusLG,itemBorderRadius:De.borderRadiusLG,radiusSubMenuItem:De.borderRadiusSM,subMenuItemBorderRadius:De.borderRadiusSM,colorItemText:dt,itemColor:dt,colorItemTextHover:dt,itemHoverColor:dt,colorItemTextHoverHorizontal:Te,horizontalItemHoverColor:Te,colorGroupTitle:mt,groupTitleColor:mt,colorItemTextSelected:Te,itemSelectedColor:Te,colorItemTextSelectedHorizontal:Te,horizontalItemSelectedColor:Te,colorItemBg:st,itemBg:st,colorItemBgHover:Nt,itemHoverBg:Nt,colorItemBgActive:Bt,itemActiveBg:Ft,colorSubItemBg:Et,subMenuItemBg:Et,colorItemBgSelected:Ft,itemSelectedBg:Ft,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Lt,activeBarHeight:Lt,colorActiveBarBorderSize:wt,activeBarBorderWidth:wt,colorItemTextDisabled:Le,itemDisabledColor:Le,colorDangerItemText:Ne,dangerItemColor:Ne,colorDangerItemTextHover:Ne,dangerItemHoverColor:Ne,colorDangerItemTextSelected:Ne,dangerItemSelectedColor:Ne,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:De.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:bt,groupTitleLineHeight:Dt,collapsedWidth:bt*2,popupBg:Rt,itemMarginBlock:Ut,itemPaddingInline:qt,horizontalLineHeight:`${bt*1.15}px`,iconSize:mn,iconMarginInlineEnd:$t-mn,collapsedIconSize:rn,groupTitleFontSize:mn,darkItemDisabledColor:new Se.C(nn).setAlpha(.25).toRgbString(),darkItemColor:In,darkDangerItemColor:Ne,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:nn,darkItemSelectedBg:Te,darkDangerItemSelectedBg:Ne,darkItemHoverBg:"transparent",darkGroupTitleColor:In,darkItemHoverColor:nn,darkDangerItemHoverColor:xn,darkDangerItemSelectedColor:nn,darkDangerItemActiveBg:Ne}},{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"]]})(Ie),vt=function(Ie,_e){var Fe={};for(var De in Ie)Object.prototype.hasOwnProperty.call(Ie,De)&&_e.indexOf(De)<0&&(Fe[De]=Ie[De]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,De=Object.getOwnPropertySymbols(Ie);Te{var Fe,De;const Te=Qe.useContext(ve.Z),Ne=Te||{},{getPrefixCls:Le,getPopupContainer:Ge,direction:dt,menu:mt}=Qe.useContext(ue.E_),st=Le(),{prefixCls:Et,className:Bt,style:wt,theme:Lt="light",expandIcon:Ft,_internalDisableMenuItemTitleTooltip:Nt,inlineCollapsed:bt,siderCollapsed:Dt,items:Rt,children:Ut,rootClassName:qt,mode:mn,selectable:$t,onClick:rn,overflowedIndicatorPopupClassName:nn}=Ie,xn=vt(Ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),In=(0,se.Z)(xn,["collapsedWidth"]),Un=Ce(Rt)||Ut;(Fe=Ne.validator)===null||Fe===void 0||Fe.call(Ne,{mode:mn});const ir=(0,de.useEvent)(function(){var na;rn==null||rn.apply(void 0,arguments),(na=Ne.onClick)===null||na===void 0||na.call(Ne)}),yr=Ne.mode||mn,En=$t!=null?$t:Ne.selectable,Dr=Qe.useMemo(()=>Dt!==void 0?Dt:bt,[bt,Dt]),ta={horizontal:{motionName:`${st}-slide-up`},inline:(0,ge.Z)(st),other:{motionName:`${st}-zoom-big`}},Fr=Le("menu",Et||Ne.prefixCls),[Vr,Mr]=Tt(Fr,!Te),Er=fe()(`${Fr}-${Lt}`,mt==null?void 0:mt.className,Bt);let Oa;if(typeof Ft=="function")Oa=Ft;else if(Ft===null||Ft===!1)Oa=null;else if(Ne.expandIcon===null||Ne.expandIcon===!1)Oa=null;else{const na=Ft!=null?Ft:Ne.expandIcon;Oa=(0,ne.Tm)(na,{className:fe()(`${Fr}-submenu-expand-icon`,(0,ne.l$)(na)?(De=na.props)===null||De===void 0?void 0:De.className:"")})}const to=Qe.useMemo(()=>({prefixCls:Fr,inlineCollapsed:Dr||!1,direction:dt,firstLevel:!0,theme:Lt,mode:yr,disableMenuItemTitleTooltip:Nt}),[Fr,Dr,dt,Nt,Lt]);return Vr(Qe.createElement(ve.Z.Provider,{value:null},Qe.createElement(y.Provider,{value:to},Qe.createElement(me.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:Qe.createElement(te.Z,null),overflowedIndicatorPopupClassName:fe()(Fr,`${Fr}-${Lt}`,nn),mode:yr,selectable:En,onClick:ir},In,{inlineCollapsed:Dr,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),wt),className:Er,prefixCls:Fr,direction:dt,defaultMotions:ta,expandIcon:Oa,ref:_e,rootClassName:fe()(qt,Mr)}),Un))))});const je=(0,Qe.forwardRef)((Ie,_e)=>{const Fe=(0,Qe.useRef)(null),De=Qe.useContext(E.D);return(0,Qe.useImperativeHandle)(_e,()=>({menu:Fe.current,focus:Te=>{var Ne;(Ne=Fe.current)===null||Ne===void 0||Ne.focus(Te)}})),Qe.createElement(qe,Object.assign({ref:Fe},Ie,De))});je.Item=x,je.SubMenu=ee,je.Divider=le,je.ItemGroup=me.BW;var Ve=je},58421:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return Ne}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(Ge,dt){return Qe.createElement(fe.Z,(0,me.Z)({},Ge,{ref:dt,icon:we}))},oe=Qe.forwardRef(ue),ae=oe,le=pe(49198),re=pe(33853),se=pe(38819),ie=pe(92310),ne=pe.n(ie),z=pe(20068),y=pe(33885),a=pe(67732),x=pe(83652),b=pe(42403),ee=pe(158),te=pe(26112),de={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ge=de,ve=pe(91735),ye=function(Le){(0,b.Z)(dt,Le);var Ge=(0,ee.Z)(dt);function dt(){var mt;(0,a.Z)(this,dt);for(var st=arguments.length,Et=new Array(st),Bt=0;Bt=0||wt.relatedTarget.className.indexOf("".concat(bt,"-item"))>=0))&&Nt(mt.getValidValue()))},mt.go=function(wt){var Lt=mt.state.goInputText;Lt!==""&&(wt.keyCode===ge.ENTER||wt.type==="click")&&(mt.setState({goInputText:""}),mt.props.quickGo(mt.getValidValue()))},mt}return(0,x.Z)(dt,[{key:"getPageSizeOptions",value:function(){var st=this.props,Et=st.pageSize,Bt=st.pageSizeOptions;return Bt.some(function(wt){return wt.toString()===Et.toString()})?Bt:Bt.concat([Et.toString()]).sort(function(wt,Lt){var Ft=Number.isNaN(Number(wt))?0:Number(wt),Nt=Number.isNaN(Number(Lt))?0:Number(Lt);return Ft-Nt})}},{key:"render",value:function(){var st=this,Et=this.props,Bt=Et.pageSize,wt=Et.locale,Lt=Et.rootPrefixCls,Ft=Et.changeSize,Nt=Et.quickGo,bt=Et.goButton,Dt=Et.selectComponentClass,Rt=Et.buildOptionText,Ut=Et.selectPrefixCls,qt=Et.disabled,mn=this.state.goInputText,$t="".concat(Lt,"-options"),rn=Dt,nn=null,xn=null,In=null;if(!Ft&&!Nt)return null;var Un=this.getPageSizeOptions();if(Ft&&rn){var ir=Un.map(function(yr,En){return Qe.createElement(rn.Option,{key:En,value:yr.toString()},(Rt||st.buildOptionText)(yr))});nn=Qe.createElement(rn,{disabled:qt,prefixCls:Ut,showSearch:!1,className:"".concat($t,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Bt||Un[0]).toString(),onChange:this.changeSize,getPopupContainer:function(En){return En.parentNode},"aria-label":wt.page_size,defaultOpen:!1},ir)}return Nt&&(bt&&(In=typeof bt=="boolean"?Qe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:qt,className:"".concat($t,"-quick-jumper-button")},wt.jump_to_confirm):Qe.createElement("span",{onClick:this.go,onKeyUp:this.go},bt)),xn=Qe.createElement("div",{className:"".concat($t,"-quick-jumper")},wt.jump_to,Qe.createElement("input",{disabled:qt,type:"text",value:mn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":wt.page}),wt.page,In)),Qe.createElement("li",{className:"".concat($t)},nn,xn)}}]),dt}(Qe.Component);ye.defaultProps={pageSizeOptions:["10","20","50","100"]};var be=ye,Ce=function(Ge){var dt,mt=Ge.rootPrefixCls,st=Ge.page,Et=Ge.active,Bt=Ge.className,wt=Ge.showTitle,Lt=Ge.onClick,Ft=Ge.onKeyPress,Nt=Ge.itemRender,bt="".concat(mt,"-item"),Dt=ne()(bt,"".concat(bt,"-").concat(st),(dt={},(0,z.Z)(dt,"".concat(bt,"-active"),Et),(0,z.Z)(dt,"".concat(bt,"-disabled"),!st),(0,z.Z)(dt,Ge.className,Bt),dt)),Rt=function(){Lt(st)},Ut=function($t){Ft($t,Lt,st)},qt=Nt(st,"page",Qe.createElement("a",{rel:"nofollow"},st));return qt?Qe.createElement("li",{title:wt?st.toString():null,className:Dt,onClick:Rt,onKeyPress:Ut,tabIndex:0},qt):null},Se=Ce;function Pe(){}function Be(Le){var Ge=Number(Le);return typeof Ge=="number"&&!Number.isNaN(Ge)&&isFinite(Ge)&&Math.floor(Ge)===Ge}var Ue=function(Ge,dt,mt){return mt};function Ee(Le,Ge,dt){var mt=typeof Le=="undefined"?Ge.pageSize:Le;return Math.floor((dt.total-1)/mt)+1}var He=function(Le){(0,b.Z)(dt,Le);var Ge=(0,ee.Z)(dt);function dt(mt){var st;(0,a.Z)(this,dt),st=Ge.call(this,mt),st.paginationNode=Qe.createRef(),st.getJumpPrevPage=function(){return Math.max(1,st.state.current-(st.props.showLessItems?3:5))},st.getJumpNextPage=function(){return Math.min(Ee(void 0,st.state,st.props),st.state.current+(st.props.showLessItems?3:5))},st.getItemIcon=function(Ft,Nt){var bt=st.props.prefixCls,Dt=Ft||Qe.createElement("button",{type:"button","aria-label":Nt,className:"".concat(bt,"-item-link")});return typeof Ft=="function"&&(Dt=Qe.createElement(Ft,(0,y.Z)({},st.props))),Dt},st.isValid=function(Ft){var Nt=st.props.total;return Be(Ft)&&Ft!==st.state.current&&Be(Nt)&&Nt>0},st.shouldDisplayQuickJumper=function(){var Ft=st.props,Nt=Ft.showQuickJumper,bt=Ft.total,Dt=st.state.pageSize;return bt<=Dt?!1:Nt},st.handleKeyDown=function(Ft){(Ft.keyCode===ge.ARROW_UP||Ft.keyCode===ge.ARROW_DOWN)&&Ft.preventDefault()},st.handleKeyUp=function(Ft){var Nt=st.getValidValue(Ft),bt=st.state.currentInputValue;Nt!==bt&&st.setState({currentInputValue:Nt}),Ft.keyCode===ge.ENTER?st.handleChange(Nt):Ft.keyCode===ge.ARROW_UP?st.handleChange(Nt-1):Ft.keyCode===ge.ARROW_DOWN&&st.handleChange(Nt+1)},st.handleBlur=function(Ft){var Nt=st.getValidValue(Ft);st.handleChange(Nt)},st.changePageSize=function(Ft){var Nt=st.state.current,bt=Ee(Ft,st.state,st.props);Nt=Nt>bt?bt:Nt,bt===0&&(Nt=st.state.current),typeof Ft=="number"&&("pageSize"in st.props||st.setState({pageSize:Ft}),"current"in st.props||st.setState({current:Nt,currentInputValue:Nt})),st.props.onShowSizeChange(Nt,Ft),"onChange"in st.props&&st.props.onChange&&st.props.onChange(Nt,Ft)},st.handleChange=function(Ft){var Nt=st.props,bt=Nt.disabled,Dt=Nt.onChange,Rt=st.state,Ut=Rt.pageSize,qt=Rt.current,mn=Rt.currentInputValue;if(st.isValid(Ft)&&!bt){var $t=Ee(void 0,st.state,st.props),rn=Ft;return Ft>$t?rn=$t:Ft<1&&(rn=1),"current"in st.props||st.setState({current:rn}),rn!==mn&&st.setState({currentInputValue:rn}),Dt(rn,Ut),rn}return qt},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?bt-2:0),Rt=2;Rt=Bt?Lt=Bt:Lt=Number(Et),Lt}},{key:"getShowSizeChanger",value:function(){var st=this.props,Et=st.showSizeChanger,Bt=st.total,wt=st.totalBoundaryShowSizeChanger;return typeof Et!="undefined"?Et:Bt>wt}},{key:"render",value:function(){var st=this.props,Et=st.prefixCls,Bt=st.className,wt=st.style,Lt=st.disabled,Ft=st.hideOnSinglePage,Nt=st.total,bt=st.locale,Dt=st.showQuickJumper,Rt=st.showLessItems,Ut=st.showTitle,qt=st.showTotal,mn=st.simple,$t=st.itemRender,rn=st.showPrevNextJumpers,nn=st.jumpPrevIcon,xn=st.jumpNextIcon,In=st.selectComponentClass,Un=st.selectPrefixCls,ir=st.pageSizeOptions,yr=this.state,En=yr.current,Dr=yr.pageSize,ta=yr.currentInputValue;if(Ft===!0&&Nt<=Dr)return null;var Fr=Ee(void 0,this.state,this.props),Vr=[],Mr=null,Er=null,Oa=null,to=null,na=null,Ao=Dt&&Dt.goButton,Ga=Rt?1:2,sn=En-1>0?En-1:0,Pn=En+1Nt?Nt:En*Dr]));if(mn){Ao&&(typeof Ao=="boolean"?na=Qe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},bt.jump_to_confirm):na=Qe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ao),na=Qe.createElement("li",{title:Ut?"".concat(bt.jump_to).concat(En,"/").concat(Fr):null,className:"".concat(Et,"-simple-pager")},na));var Wr=this.renderPrev(sn);return Qe.createElement("ul",(0,me.Z)({className:ne()(Et,"".concat(Et,"-simple"),(0,z.Z)({},"".concat(Et,"-disabled"),Lt),Bt),style:wt,ref:this.paginationNode},An),xr,Wr?Qe.createElement("li",{title:Ut?bt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ne()("".concat(Et,"-prev"),(0,z.Z)({},"".concat(Et,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Wr):null,Qe.createElement("li",{title:Ut?"".concat(En,"/").concat(Fr):null,className:"".concat(Et,"-simple-pager")},Qe.createElement("input",{type:"text",value:ta,disabled:Lt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Qe.createElement("span",{className:"".concat(Et,"-slash")},"/"),Fr),Qe.createElement("li",{title:Ut?bt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ne()("".concat(Et,"-next"),(0,z.Z)({},"".concat(Et,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Pn)),na)}if(Fr<=3+Ga*2){var sa={locale:bt,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ut,itemRender:$t};Fr||Vr.push(Qe.createElement(Se,(0,me.Z)({},sa,{key:"noPager",page:1,className:"".concat(Et,"-item-disabled")})));for(var La=1;La<=Fr;La+=1){var ua=En===La;Vr.push(Qe.createElement(Se,(0,me.Z)({},sa,{key:La,page:La,active:ua})))}}else{var fa=Rt?bt.prev_3:bt.prev_5,nr=Rt?bt.next_3:bt.next_5,Bn=$t(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(nn,"prev page")),er=$t(this.getJumpNextPage(),"jump-next",this.getItemIcon(xn,"next page"));rn&&(Mr=Bn?Qe.createElement("li",{title:Ut?fa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ne()("".concat(Et,"-jump-prev"),(0,z.Z)({},"".concat(Et,"-jump-prev-custom-icon"),!!nn))},Bn):null,Er=er?Qe.createElement("li",{title:Ut?nr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ne()("".concat(Et,"-jump-next"),(0,z.Z)({},"".concat(Et,"-jump-next-custom-icon"),!!xn))},er):null),to=Qe.createElement(Se,{locale:bt,last:!0,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Fr,page:Fr,active:!1,showTitle:Ut,itemRender:$t}),Oa=Qe.createElement(Se,{locale:bt,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ut,itemRender:$t});var Zn=Math.max(1,En-Ga),kr=Math.min(En+Ga,Fr);En-1<=Ga&&(kr=1+Ga*2),Fr-En<=Ga&&(Zn=Fr-Ga*2);for(var Ca=Zn;Ca<=kr;Ca+=1){var ga=En===Ca;Vr.push(Qe.createElement(Se,{locale:bt,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ca,page:Ca,active:ga,showTitle:Ut,itemRender:$t}))}En-1>=Ga*2&&En!==3&&(Vr[0]=(0,Qe.cloneElement)(Vr[0],{className:"".concat(Et,"-item-after-jump-prev")}),Vr.unshift(Mr)),Fr-En>=Ga*2&&En!==Fr-2&&(Vr[Vr.length-1]=(0,Qe.cloneElement)(Vr[Vr.length-1],{className:"".concat(Et,"-item-before-jump-next")}),Vr.push(Er)),Zn!==1&&Vr.unshift(Oa),kr!==Fr&&Vr.push(to)}var aa=!this.hasPrev()||!Fr,on=!this.hasNext()||!Fr,Nn=this.renderPrev(sn),dn=this.renderNext(Pn);return Qe.createElement("ul",(0,me.Z)({className:ne()(Et,Bt,(0,z.Z)({},"".concat(Et,"-disabled"),Lt)),style:wt,ref:this.paginationNode},An),xr,Nn?Qe.createElement("li",{title:Ut?bt.prev_page:null,onClick:this.prev,tabIndex:aa?null:0,onKeyPress:this.runIfEnterPrev,className:ne()("".concat(Et,"-prev"),(0,z.Z)({},"".concat(Et,"-disabled"),aa)),"aria-disabled":aa},Nn):null,Vr,dn?Qe.createElement("li",{title:Ut?bt.next_page:null,onClick:this.next,tabIndex:on?null:0,onKeyPress:this.runIfEnterNext,className:ne()("".concat(Et,"-next"),(0,z.Z)({},"".concat(Et,"-disabled"),on)),"aria-disabled":on},dn):null,Qe.createElement(be,{disabled:Lt,locale:bt,rootPrefixCls:Et,selectComponentClass:In,selectPrefixCls:Un,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:En,pageSize:Dr,pageSizeOptions:ir,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ao}))}}],[{key:"getDerivedStateFromProps",value:function(st,Et){var Bt={};if("current"in st&&(Bt.current=st.current,st.current!==Et.current&&(Bt.currentInputValue=Bt.current)),"pageSize"in st&&st.pageSize!==Et.pageSize){var wt=Et.current,Lt=Ee(st.pageSize,Et,st);wt=wt>Lt?Lt:wt,"current"in st||(Bt.current=wt,Bt.currentInputValue=wt),Bt.pageSize=st.pageSize}return Bt}}]),dt}(Qe.Component);He.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Pe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Pe,locale:ve.Z,style:{},itemRender:Ue,totalBoundaryShowSizeChanger:50};var Oe=He,ke=pe(22075),Xe=pe(36355),$e=pe(19716),ze=pe(8628),at=pe(9763),et=pe(57809);const it=Le=>Qe.createElement(et.default,Object.assign({},Le,{showSearch:!0,size:"small"})),At=Le=>Qe.createElement(et.default,Object.assign({},Le,{showSearch:!0,size:"middle"}));it.Option=et.default.Option,At.Option=et.default.Option;var ot=pe(9937),rt=pe(17313),lt=pe(83116),gt=pe(37613);const yt=Le=>{const{componentCls:Ge}=Le;return{[`${Ge}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ge}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ge}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ge}-disabled`]:{cursor:"not-allowed",[`${Ge}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Le.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Le.colorBorder,backgroundColor:Le.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Le.itemActiveBgDisabled},a:{color:Le.itemActiveColorDisabled}}},[`${Ge}-item-link`]:{color:Le.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ge}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ge}-simple-pager`]:{color:Le.colorTextDisabled},[`${Ge}-jump-prev, ${Ge}-jump-next`]:{[`${Ge}-item-link-icon`]:{opacity:0},[`${Ge}-item-ellipsis`]:{opacity:1}}},[`&${Ge}-simple`]:{[`${Ge}-prev, ${Ge}-next`]:{[`&${Ge}-disabled ${Ge}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Tt=Le=>{const{componentCls:Ge}=Le;return{[`&${Ge}-mini ${Ge}-total-text, &${Ge}-mini ${Ge}-simple-pager`]:{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`},[`&${Ge}-mini ${Ge}-item`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:`${Le.itemSizeSM-2}px`},[`&${Ge}-mini:not(${Ge}-disabled) ${Ge}-item:not(${Ge}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive}},[`&${Ge}-mini ${Ge}-prev, &${Ge}-mini ${Ge}-next`]:{minWidth:Le.itemSizeSM,height:Le.itemSizeSM,margin:0,lineHeight:`${Le.itemSizeSM}px`},[`&${Ge}-mini:not(${Ge}-disabled)`]:{[`${Ge}-prev, ${Ge}-next`]:{[`&:hover ${Ge}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${Ge}-item-link`]:{backgroundColor:Le.colorBgTextActive},[`&${Ge}-disabled:hover ${Ge}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ge}-mini ${Ge}-prev ${Ge}-item-link, &${Ge}-mini ${Ge}-next ${Ge}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`}},[`&${Ge}-mini ${Ge}-jump-prev, &${Ge}-mini ${Ge}-jump-next`]:{height:Le.itemSizeSM,marginInlineEnd:0,lineHeight:`${Le.itemSizeSM}px`},[`&${Ge}-mini ${Ge}-options`]:{marginInlineStart:Le.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Le.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ot.x0)(Le)),{width:Le.paginationMiniQuickJumperInputWidth,height:Le.controlHeightSM})}}}},vt=Le=>{const{componentCls:Ge}=Le;return{[` &${Ge}-simple ${Ge}-prev, &${Ge}-simple ${Ge}-next `]:{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`,verticalAlign:"top",[`${Ge}-item-link`]:{height:Le.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive},"&::after":{height:Le.itemSizeSM,lineHeight:`${Le.itemSizeSM}px`}}},[`&${Ge}-simple ${Ge}-simple-pager`]:{display:"inline-block",height:Le.itemSizeSM,marginInlineEnd:Le.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Le.marginXS,padding:`0 ${Le.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Le.itemInputBg,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadius,outline:"none",transition:`border-color ${Le.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Le.colorPrimary},"&:focus":{borderColor:Le.colorPrimaryHover,boxShadow:`${Le.inputOutlineOffset}px 0 ${Le.controlOutlineWidth}px ${Le.controlOutline}`},"&[disabled]":{color:Le.colorTextDisabled,backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,cursor:"not-allowed"}}}}},ut=Le=>{const{componentCls:Ge}=Le;return{[`${Ge}-jump-prev, ${Ge}-jump-next`]:{outline:0,[`${Ge}-item-container`]:{position:"relative",[`${Ge}-item-link-icon`]:{color:Le.colorPrimary,fontSize:Le.fontSizeSM,opacity:0,transition:`all ${Le.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ge}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Le.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Le.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Le.paginationEllipsisTextIndent,opacity:1,transition:`all ${Le.motionDurationMid}`}},"&:hover":{[`${Ge}-item-link-icon`]:{opacity:1},[`${Ge}-item-ellipsis`]:{opacity:0}}},[` ${Ge}-prev, ${Ge}-jump-prev, ${Ge}-jump-next `]:{marginInlineEnd:Le.marginXS},[` ${Ge}-prev, ${Ge}-next, ${Ge}-jump-prev, ${Ge}-jump-next `]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,color:Le.colorText,fontFamily:Le.fontFamily,lineHeight:`${Le.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Le.borderRadius,cursor:"pointer",transition:`all ${Le.motionDurationMid}`},[`${Ge}-prev, ${Ge}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Le.colorText,cursor:"pointer",userSelect:"none"},[`${Ge}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Le.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Le.lineWidth}px ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:"none",transition:`all ${Le.motionDurationMid}`},[`&:hover ${Ge}-item-link`]:{backgroundColor:Le.colorBgTextHover},[`&:active ${Ge}-item-link`]:{backgroundColor:Le.colorBgTextActive},[`&${Ge}-disabled:hover`]:{[`${Ge}-item-link`]:{backgroundColor:"transparent"}}},[`${Ge}-slash`]:{marginInlineEnd:Le.paginationSlashMarginInlineEnd,marginInlineStart:Le.paginationSlashMarginInlineStart},[`${Ge}-options`]:{display:"inline-block",marginInlineStart:Le.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Le.controlHeight,marginInlineStart:Le.marginXS,lineHeight:`${Le.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ot.ik)(Le)),{width:Le.controlHeightLG*1.25,height:Le.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Le.marginXS,marginInlineEnd:Le.marginXS})}}}},qe=Le=>{const{componentCls:Ge}=Le;return{[`${Ge}-item`]:{display:"inline-block",minWidth:Le.itemSize,height:Le.itemSize,marginInlineEnd:Le.marginXS,fontFamily:Le.fontFamily,lineHeight:`${Le.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Le.lineWidth}px ${Le.lineType} transparent`,borderRadius:Le.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Le.paginationItemPaddingInline}px`,color:Le.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ge}-item-active)`]:{"&:hover":{transition:`all ${Le.motionDurationMid}`,backgroundColor:Le.colorBgTextHover},"&:active":{backgroundColor:Le.colorBgTextActive}},"&-active":{fontWeight:Le.fontWeightStrong,backgroundColor:Le.itemActiveBg,borderColor:Le.colorPrimary,a:{color:Le.colorPrimary},"&:hover":{borderColor:Le.colorPrimaryHover},"&:hover a":{color:Le.colorPrimaryHover}}}}},je=Le=>{const{componentCls:Ge}=Le;return{[Ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,rt.Wf)(Le)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ge}-total-text`]:{display:"inline-block",height:Le.itemSize,marginInlineEnd:Le.marginXS,lineHeight:`${Le.itemSize-2}px`,verticalAlign:"middle"}}),qe(Le)),ut(Le)),vt(Le)),Tt(Le)),yt(Le)),{[`@media only screen and (max-width: ${Le.screenLG}px)`]:{[`${Ge}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Le.screenSM}px)`]:{[`${Ge}-options`]:{display:"none"}}}),[`&${Le.componentCls}-rtl`]:{direction:"rtl"}}},Ve=Le=>{const{componentCls:Ge}=Le;return{[`${Ge}${Ge}-disabled:not(${Ge}-mini)`]:{"&, &:hover":{[`${Ge}-item-link`]:{borderColor:Le.colorBorder}},"&:focus-visible":{[`${Ge}-item-link`]:{borderColor:Le.colorBorder}},[`${Ge}-item, ${Ge}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,[`&:hover:not(${Ge}-item-active)`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,a:{color:Le.colorTextDisabled}},[`&${Ge}-item-active`]:{backgroundColor:Le.itemActiveBgDisabled}},[`${Ge}-prev, ${Ge}-next`]:{"&:hover button":{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,color:Le.colorTextDisabled},[`${Ge}-item-link`]:{backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder}}},[`${Ge}:not(${Ge}-mini)`]:{[`${Ge}-prev, ${Ge}-next`]:{"&:hover button":{borderColor:Le.colorPrimaryHover,backgroundColor:Le.itemBg},[`${Ge}-item-link`]:{backgroundColor:Le.itemLinkBg,borderColor:Le.colorBorder},[`&:hover ${Ge}-item-link`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,color:Le.colorPrimary},[`&${Ge}-disabled`]:{[`${Ge}-item-link`]:{borderColor:Le.colorBorder,color:Le.colorTextDisabled}}},[`${Ge}-item`]:{backgroundColor:Le.itemBg,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,[`&:hover:not(${Ge}-item-active)`]:{borderColor:Le.colorPrimary,backgroundColor:Le.itemBg,a:{color:Le.colorPrimary}},"&-active":{borderColor:Le.colorPrimary}}}}},Ie=Le=>{const{componentCls:Ge}=Le;return{[`${Ge}:not(${Ge}-disabled)`]:{[`${Ge}-item`]:Object.assign({},(0,rt.Qy)(Le)),[`${Ge}-jump-prev, ${Ge}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ge}-item-link-icon`]:{opacity:1},[`${Ge}-item-ellipsis`]:{opacity:0}},(0,rt.oN)(Le))},[`${Ge}-prev, ${Ge}-next`]:{[`&:focus-visible ${Ge}-item-link`]:Object.assign({},(0,rt.oN)(Le))}}}};var _e=(0,lt.Z)("Pagination",Le=>{const Ge=(0,gt.TS)(Le,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Le.marginXXS/2,paginationMiniQuickJumperInputWidth:Le.controlHeightLG*1.1,paginationItemPaddingInline:Le.marginXXS*1.5,paginationEllipsisLetterSpacing:Le.marginXXS/2,paginationSlashMarginInlineStart:Le.marginXXS,paginationSlashMarginInlineEnd:Le.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ot.e5)(Le),(0,ot.TM)(Le));return[je(Ge),Ie(Ge),Le.wireframe&&Ve(Ge)]},Le=>({itemBg:Le.colorBgContainer,itemSize:Le.controlHeight,itemSizeSM:Le.controlHeightSM,itemActiveBg:Le.colorBgContainer,itemLinkBg:Le.colorBgContainer,itemActiveColorDisabled:Le.colorTextDisabled,itemActiveBgDisabled:Le.controlItemBgActiveDisabled,itemInputBg:Le.colorBgContainer,miniOptionsSizeChangerTop:0})),Fe=function(Le,Ge){var dt={};for(var mt in Le)Object.prototype.hasOwnProperty.call(Le,mt)&&Ge.indexOf(mt)<0&&(dt[mt]=Le[mt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,mt=Object.getOwnPropertySymbols(Le);st{const{prefixCls:Ge,selectPrefixCls:dt,className:mt,rootClassName:st,style:Et,size:Bt,locale:wt,selectComponentClass:Lt,responsive:Ft,showSizeChanger:Nt}=Le,bt=Fe(Le,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Dt}=(0,ze.Z)(Ft),{getPrefixCls:Rt,direction:Ut,pagination:qt={}}=Qe.useContext(Xe.E_),mn=Rt("pagination",Ge),[$t,rn]=_e(mn),nn=Nt!=null?Nt:qt.showSizeChanger,xn=Qe.useMemo(()=>{const Fr=Qe.createElement("span",{className:`${mn}-item-ellipsis`},"\u2022\u2022\u2022"),Vr=Qe.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},Ut==="rtl"?Qe.createElement(se.Z,null):Qe.createElement(re.Z,null)),Mr=Qe.createElement("button",{className:`${mn}-item-link`,type:"button",tabIndex:-1},Ut==="rtl"?Qe.createElement(re.Z,null):Qe.createElement(se.Z,null)),Er=Qe.createElement("a",{className:`${mn}-item-link`},Qe.createElement("div",{className:`${mn}-item-container`},Ut==="rtl"?Qe.createElement(le.Z,{className:`${mn}-item-link-icon`}):Qe.createElement(ae,{className:`${mn}-item-link-icon`}),Fr)),Oa=Qe.createElement("a",{className:`${mn}-item-link`},Qe.createElement("div",{className:`${mn}-item-container`},Ut==="rtl"?Qe.createElement(ae,{className:`${mn}-item-link-icon`}):Qe.createElement(le.Z,{className:`${mn}-item-link-icon`}),Fr));return{prevIcon:Vr,nextIcon:Mr,jumpPrevIcon:Er,jumpNextIcon:Oa}},[Ut,mn]),[In]=(0,at.Z)("Pagination",ke.Z),Un=Object.assign(Object.assign({},In),wt),ir=(0,$e.Z)(Bt),yr=ir==="small"||!!(Dt&&!ir&&Ft),En=Rt("select",dt),Dr=ne()({[`${mn}-mini`]:yr,[`${mn}-rtl`]:Ut==="rtl"},qt==null?void 0:qt.className,mt,st,rn),ta=Object.assign(Object.assign({},qt==null?void 0:qt.style),Et);return $t(Qe.createElement(Oe,Object.assign({},xn,bt,{style:ta,prefixCls:mn,selectPrefixCls:En,className:Dr,selectComponentClass:Lt||(yr?it:At),locale:Un,showSizeChanger:nn})))},Ne=Te},39722:function(Jt,Mt,pe){"use strict";pe.d(Mt,{t5:function(){return re}});var me=pe(92310),Qe=pe.n(me),E=pe(55477),we=pe(59301),fe=pe(36355),ue=pe(77578),oe=pe(17356),ae=function(ie,ne){var z={};for(var y in ie)Object.prototype.hasOwnProperty.call(ie,y)&&ne.indexOf(y)<0&&(z[y]=ie[y]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,y=Object.getOwnPropertySymbols(ie);a{if(!(!ne&&!z))return we.createElement(we.Fragment,null,ne&&we.createElement("div",{className:`${ie}-title`},(0,ue.Z)(ne)),we.createElement("div",{className:`${ie}-inner-content`},(0,ue.Z)(z)))},re=ie=>{const{hashId:ne,prefixCls:z,className:y,style:a,placement:x="top",title:b,content:ee,children:te}=ie;return we.createElement("div",{className:Qe()(ne,z,`${z}-pure`,`${z}-placement-${x}`,y),style:a},we.createElement("div",{className:`${z}-arrow`}),we.createElement(E.G,Object.assign({},ie,{className:ne,prefixCls:z}),te||le(z,b,ee)))},se=ie=>{const{prefixCls:ne}=ie,z=ae(ie,["prefixCls"]),{getPrefixCls:y}=we.useContext(fe.E_),a=y("popover",ne),[x,b]=(0,oe.Z)(a);return x(we.createElement(re,Object.assign({},z,{prefixCls:a,hashId:b})))};Mt.ZP=se},17356:function(Jt,Mt,pe){"use strict";var me=pe(17313),Qe=pe(29878),E=pe(19447),we=pe(33166),fe=pe(83116),ue=pe(37613);const oe=re=>{const{componentCls:se,popoverColor:ie,minWidth:ne,fontWeightStrong:z,popoverPadding:y,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:te,colorBgElevated:de,popoverBg:ge}=re;return[{[se]:Object.assign(Object.assign({},(0,me.Wf)(re)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":de,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${se}-content`]:{position:"relative"},[`${se}-inner`]:{backgroundColor:ge,backgroundClip:"padding-box",borderRadius:b,boxShadow:a,padding:y},[`${se}-title`]:{minWidth:ne,marginBottom:te,color:x,fontWeight:z},[`${se}-inner-content`]:{color:ie}})},(0,E.ZP)(re,{colorBg:"var(--antd-arrow-background-color)"}),{[`${se}-pure`]:{position:"relative",maxWidth:"none",margin:re.sizePopupArrow,display:"inline-block",[`${se}-content`]:{display:"inline-block"}}}]},ae=re=>{const{componentCls:se}=re;return{[se]:we.i.map(ie=>{const ne=re[`${ie}6`];return{[`&${se}-${ie}`]:{"--antd-arrow-background-color":ne,[`${se}-inner`]:{backgroundColor:ne},[`${se}-arrow`]:{background:"transparent"}}}})}},le=re=>{const{componentCls:se,lineWidth:ie,lineType:ne,colorSplit:z,paddingSM:y,controlHeight:a,fontSize:x,lineHeight:b,padding:ee}=re,te=a-Math.round(x*b),de=te/2,ge=te/2-ie,ve=ee;return{[se]:{[`${se}-inner`]:{padding:0},[`${se}-title`]:{margin:0,padding:`${de}px ${ve}px ${ge}px`,borderBottom:`${ie}px ${ne} ${z}`},[`${se}-inner-content`]:{padding:`${y}px ${ve}px`}}}};Mt.Z=(0,fe.Z)("Popover",re=>{const{colorBgElevated:se,colorText:ie,wireframe:ne}=re,z=(0,ue.TS)(re,{popoverPadding:12,popoverBg:se,popoverColor:ie});return[oe(z),ae(z),ne&&le(z),(0,Qe._y)(z,"zoom-big")]},re=>({width:177,minWidth:177,zIndexPopup:re.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return Nt}});var me=pe(59301),Qe=pe(29679),E=pe(40001),we=pe(19248),fe=pe(99267),ue=pe(92310),oe=pe.n(ue),ae=pe(2738),le=pe(36355),re=pe(54476),se=pe(33885),ie=pe(75931),ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var Dt=(0,me.useRef)([]),Rt=(0,me.useRef)(null);return(0,me.useEffect)(function(){var Ut=Date.now(),qt=!1;Dt.current.forEach(function(mn){if(mn){qt=!0;var $t=mn.style;$t.transitionDuration=".3s, .3s, .3s, .06s",Rt.current&&Ut-Rt.current<100&&($t.transitionDuration="0s, 0s")}}),qt&&(Rt.current=Date.now())}),Dt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Dt){var Rt=(0,se.Z)((0,se.Z)({},ne),Dt),Ut=Rt.className,qt=Rt.percent,mn=Rt.prefixCls,$t=Rt.strokeColor,rn=Rt.strokeLinecap,nn=Rt.strokeWidth,xn=Rt.style,In=Rt.trailColor,Un=Rt.trailWidth,ir=Rt.transition,yr=(0,ie.Z)(Rt,y);delete yr.gapPosition;var En=Array.isArray(qt)?qt:[qt],Dr=Array.isArray($t)?$t:[$t],ta=z(),Fr=nn/2,Vr=100-nn/2,Mr="M ".concat(rn==="round"?Fr:0,",").concat(Fr,` L `).concat(rn==="round"?Vr:100,",").concat(Fr),Er="0 0 100 ".concat(nn),Oa=0;return me.createElement("svg",(0,re.Z)({className:oe()("".concat(mn,"-line"),Ut),viewBox:Er,preserveAspectRatio:"none",style:xn},yr),me.createElement("path",{className:"".concat(mn,"-line-trail"),d:Mr,strokeLinecap:rn,stroke:In,strokeWidth:Un||nn,fillOpacity:"0"}),En.map(function(to,na){var Ao=1;switch(rn){case"round":Ao=1-nn/100;break;case"square":Ao=1-nn/2/100;break;default:Ao=1;break}var Ga={strokeDasharray:"".concat(to*Ao,"px, 100px"),strokeDashoffset:"-".concat(Oa,"px"),transition:ir||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},sn=Dr[na]||Dr[Dr.length-1];return Oa+=to,me.createElement("path",{key:na,className:"".concat(mn,"-line-path"),d:Mr,strokeLinecap:rn,stroke:sn,strokeWidth:nn,fillOpacity:"0",ref:function(An){ta[na]=An},style:Ga})}))},x=a,b=pe(76190),ee=pe(42978),te=pe(47273),de=0,ge=(0,te.Z)();function ve(){var bt;return ge?(bt=de,de+=1):bt="TEST_OR_SSR",bt}var ye=function(bt){var Dt=me.useState(),Rt=(0,ee.Z)(Dt,2),Ut=Rt[0],qt=Rt[1];return me.useEffect(function(){qt("rc_progress_".concat(ve()))},[]),bt||Ut},be=function(Dt){var Rt=Dt.bg,Ut=Dt.children;return me.createElement("div",{style:{width:"100%",height:"100%",background:Rt}},Ut)};function Ce(bt,Dt){return Object.keys(bt).map(function(Rt){var Ut=parseFloat(Rt),qt="".concat(Math.floor(Ut*Dt),"%");return"".concat(bt[Rt]," ").concat(qt)})}var Se=me.forwardRef(function(bt,Dt){var Rt=bt.prefixCls,Ut=bt.color,qt=bt.gradientId,mn=bt.radius,$t=bt.style,rn=bt.ptg,nn=bt.strokeLinecap,xn=bt.strokeWidth,In=bt.size,Un=bt.gapDegree,ir=Ut&&(0,b.Z)(Ut)==="object",yr=ir?"#FFF":void 0,En=In/2,Dr=me.createElement("circle",{className:"".concat(Rt,"-circle-path"),r:mn,cx:En,cy:En,stroke:yr,strokeLinecap:nn,strokeWidth:xn,opacity:rn===0?0:1,style:$t,ref:Dt});if(!ir)return Dr;var ta="".concat(qt,"-conic"),Fr=Un?"".concat(180+Un/2,"deg"):"0deg",Vr=Ce(Ut,(360-Un)/360),Mr=Ce(Ut,1),Er="conic-gradient(from ".concat(Fr,", ").concat(Vr.join(", "),")"),Oa="linear-gradient(to ".concat(Un?"bottom":"top",", ").concat(Mr.join(", "),")");return me.createElement(me.Fragment,null,me.createElement("mask",{id:ta},Dr),me.createElement("foreignObject",{x:0,y:0,width:In,height:In,mask:"url(#".concat(ta,")")},me.createElement(be,{bg:Oa},me.createElement(be,{bg:Er}))))}),Pe=Se,Be=100,Ue=function(Dt,Rt,Ut,qt,mn,$t,rn,nn,xn,In){var Un=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ir=Ut/100*360*((360-$t)/360),yr=$t===0?0:{bottom:0,top:180,left:90,right:-90}[rn],En=(100-qt)/100*Rt;xn==="round"&&qt!==100&&(En+=In/2,En>=Rt&&(En=Rt-.01));var Dr=Be/2;return{stroke:typeof nn=="string"?nn:void 0,strokeDasharray:"".concat(Rt,"px ").concat(Dt),strokeDashoffset:En+Un,transform:"rotate(".concat(mn+ir+yr,"deg)"),transformOrigin:"".concat(Dr,"px ").concat(Dr,"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}},Ee=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function He(bt){var Dt=bt!=null?bt:[];return Array.isArray(Dt)?Dt:[Dt]}var Oe=function(Dt){var Rt=(0,se.Z)((0,se.Z)({},ne),Dt),Ut=Rt.id,qt=Rt.prefixCls,mn=Rt.steps,$t=Rt.strokeWidth,rn=Rt.trailWidth,nn=Rt.gapDegree,xn=nn===void 0?0:nn,In=Rt.gapPosition,Un=Rt.trailColor,ir=Rt.strokeLinecap,yr=Rt.style,En=Rt.className,Dr=Rt.strokeColor,ta=Rt.percent,Fr=(0,ie.Z)(Rt,Ee),Vr=Be/2,Mr=ye(Ut),Er="".concat(Mr,"-gradient"),Oa=Vr-$t/2,to=Math.PI*2*Oa,na=xn>0?90+xn/2:-90,Ao=to*((360-xn)/360),Ga=(0,b.Z)(mn)==="object"?mn:{count:mn,space:2},sn=Ga.count,Pn=Ga.space,An=He(ta),xr=He(Dr),Wr=xr.find(function(er){return er&&(0,b.Z)(er)==="object"}),sa=Wr&&(0,b.Z)(Wr)==="object",La=sa?"butt":ir,ua=Ue(to,Ao,0,100,na,xn,In,Un,La,$t),fa=z(),nr=function(){var Zn=0;return An.map(function(kr,Ca){var ga=xr[Ca]||xr[xr.length-1],aa=Ue(to,Ao,Zn,kr,na,xn,In,ga,La,$t);return Zn+=kr,me.createElement(Pe,{key:Ca,color:ga,ptg:kr,radius:Oa,prefixCls:qt,gradientId:Er,style:aa,strokeLinecap:La,strokeWidth:$t,gapDegree:xn,ref:function(Nn){fa[Ca]=Nn},size:Be})}).reverse()},Bn=function(){var Zn=Math.round(sn*(An[0]/100)),kr=100/sn,Ca=0;return new Array(sn).fill(null).map(function(ga,aa){var on=aa<=Zn-1?xr[0]:Un,Nn=on&&(0,b.Z)(on)==="object"?"url(#".concat(Er,")"):void 0,dn=Ue(to,Ao,Ca,kr,na,xn,In,on,"butt",$t,Pn);return Ca+=(Ao-dn.strokeDashoffset+Pn)*100/Ao,me.createElement("circle",{key:aa,className:"".concat(qt,"-circle-path"),r:Oa,cx:Vr,cy:Vr,stroke:Nn,strokeWidth:$t,opacity:1,style:dn,ref:function(mr){fa[aa]=mr}})})};return me.createElement("svg",(0,re.Z)({className:oe()("".concat(qt,"-circle"),En),viewBox:"0 0 ".concat(Be," ").concat(Be),style:yr,id:Ut,role:"presentation"},Fr),!sn&&me.createElement("circle",{className:"".concat(qt,"-circle-trail"),r:Oa,cx:Vr,cy:Vr,stroke:Un,strokeLinecap:La,strokeWidth:rn||$t,style:ua}),sn?Bn():nr())},ke=Oe,Xe={Line:x,Circle:ke},$e=pe(6848),ze=pe(30071);function at(bt){return!bt||bt<0?0:bt>100?100:bt}function et(bt){let{success:Dt,successPercent:Rt}=bt,Ut=Rt;return Dt&&"progress"in Dt&&(Ut=Dt.progress),Dt&&"percent"in Dt&&(Ut=Dt.percent),Ut}const it=bt=>{let{percent:Dt,success:Rt,successPercent:Ut}=bt;const qt=at(et({success:Rt,successPercent:Ut}));return[qt,at(at(Dt)-qt)]},At=bt=>{let{success:Dt={},strokeColor:Rt}=bt;const{strokeColor:Ut}=Dt;return[Ut||ze.presetPrimaryColors.green,Rt||null]},ot=(bt,Dt,Rt)=>{var Ut,qt,mn,$t;let rn=-1,nn=-1;if(Dt==="step"){const xn=Rt.steps,In=Rt.strokeWidth;typeof bt=="string"||typeof bt=="undefined"?(rn=bt==="small"?2:14,nn=In!=null?In:8):typeof bt=="number"?[rn,nn]=[bt,bt]:[rn=14,nn=8]=bt,rn*=xn}else if(Dt==="line"){const xn=Rt==null?void 0:Rt.strokeWidth;typeof bt=="string"||typeof bt=="undefined"?nn=xn||(bt==="small"?6:8):typeof bt=="number"?[rn,nn]=[bt,bt]:[rn=-1,nn=8]=bt}else(Dt==="circle"||Dt==="dashboard")&&(typeof bt=="string"||typeof bt=="undefined"?[rn,nn]=bt==="small"?[60,60]:[120,120]:typeof bt=="number"?[rn,nn]=[bt,bt]:(rn=(qt=(Ut=bt[0])!==null&&Ut!==void 0?Ut:bt[1])!==null&&qt!==void 0?qt:120,nn=($t=(mn=bt[0])!==null&&mn!==void 0?mn:bt[1])!==null&&$t!==void 0?$t:120));return[rn,nn]},rt=3,lt=bt=>rt/bt*100;var yt=bt=>{const{prefixCls:Dt,trailColor:Rt=null,strokeLinecap:Ut="round",gapPosition:qt,gapDegree:mn,width:$t=120,type:rn,children:nn,success:xn,size:In=$t}=bt,[Un,ir]=ot(In,"circle");let{strokeWidth:yr}=bt;yr===void 0&&(yr=Math.max(lt(Un),6));const En={width:Un,height:ir,fontSize:Un*.15+6},Dr=me.useMemo(()=>{if(mn||mn===0)return mn;if(rn==="dashboard")return 75},[mn,rn]),ta=qt||rn==="dashboard"&&"bottom"||void 0,Fr=Object.prototype.toString.call(bt.strokeColor)==="[object Object]",Vr=At({success:xn,strokeColor:bt.strokeColor}),Mr=oe()(`${Dt}-inner`,{[`${Dt}-circle-gradient`]:Fr}),Er=me.createElement(ke,{percent:it(bt),strokeWidth:yr,trailWidth:yr,strokeColor:Vr,strokeLinecap:Ut,trailColor:Rt,prefixCls:Dt,gapDegree:Dr,gapPosition:ta});return me.createElement("div",{className:Mr,style:En},Un<=20?me.createElement($e.Z,{title:nn},me.createElement("span",null,Er)):me.createElement(me.Fragment,null,Er,nn))},Tt=function(bt,Dt){var Rt={};for(var Ut in bt)Object.prototype.hasOwnProperty.call(bt,Ut)&&Dt.indexOf(Ut)<0&&(Rt[Ut]=bt[Ut]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ut=Object.getOwnPropertySymbols(bt);qt{let Dt=[];return Object.keys(bt).forEach(Rt=>{const Ut=parseFloat(Rt.replace(/%/g,""));isNaN(Ut)||Dt.push({key:Ut,value:bt[Rt]})}),Dt=Dt.sort((Rt,Ut)=>Rt.key-Ut.key),Dt.map(Rt=>{let{key:Ut,value:qt}=Rt;return`${qt} ${Ut}%`}).join(", ")},ut=(bt,Dt)=>{const{from:Rt=ze.presetPrimaryColors.blue,to:Ut=ze.presetPrimaryColors.blue,direction:qt=Dt==="rtl"?"to left":"to right"}=bt,mn=Tt(bt,["from","to","direction"]);if(Object.keys(mn).length!==0){const $t=vt(mn);return{backgroundImage:`linear-gradient(${qt}, ${$t})`}}return{backgroundImage:`linear-gradient(${qt}, ${Rt}, ${Ut})`}};var je=bt=>{const{prefixCls:Dt,direction:Rt,percent:Ut,size:qt,strokeWidth:mn,strokeColor:$t,strokeLinecap:rn="round",children:nn,trailColor:xn=null,success:In}=bt,Un=$t&&typeof $t!="string"?ut($t,Rt):{backgroundColor:$t},ir=rn==="square"||rn==="butt"?0:void 0,yr={backgroundColor:xn||void 0,borderRadius:ir},En=qt!=null?qt:[-1,mn||(qt==="small"?6:8)],[Dr,ta]=ot(En,"line",{strokeWidth:mn}),Fr=Object.assign({width:`${at(Ut)}%`,height:ta,borderRadius:ir},Un),Vr=et(bt),Mr={width:`${at(Vr)}%`,height:ta,borderRadius:ir,backgroundColor:In==null?void 0:In.strokeColor},Er={width:Dr<0?"100%":Dr,height:ta};return me.createElement(me.Fragment,null,me.createElement("div",{className:`${Dt}-outer`,style:Er},me.createElement("div",{className:`${Dt}-inner`,style:yr},me.createElement("div",{className:`${Dt}-bg`,style:Fr}),Vr!==void 0?me.createElement("div",{className:`${Dt}-success-bg`,style:Mr}):null)),nn)},Ie=bt=>{const{size:Dt,steps:Rt,percent:Ut=0,strokeWidth:qt=8,strokeColor:mn,trailColor:$t=null,prefixCls:rn,children:nn}=bt,xn=Math.round(Rt*(Ut/100)),In=Dt==="small"?2:14,Un=Dt!=null?Dt:[In,qt],[ir,yr]=ot(Un,"step",{steps:Rt,strokeWidth:qt}),En=ir/Rt,Dr=new Array(Rt);for(let ta=0;ta{const Dt=bt?"100%":"-100%";return new _e.Keyframes(`antProgress${bt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Dt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Dt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Le=bt=>{const{componentCls:Dt,iconCls:Rt}=bt;return{[Dt]:Object.assign(Object.assign({},(0,Fe.Wf)(bt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:bt.fontSize,marginInlineEnd:bt.marginXS,marginBottom:bt.marginXS},[`${Dt}-outer`]:{display:"inline-block",width:"100%"},[`&${Dt}-show-info`]:{[`${Dt}-outer`]:{marginInlineEnd:`calc(-2em - ${bt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${bt.paddingXS}px)`}},[`${Dt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:bt.remainingColor,borderRadius:bt.lineBorderRadius},[`${Dt}-inner:not(${Dt}-circle-gradient)`]:{[`${Dt}-circle-path`]:{stroke:bt.defaultColor}},[`${Dt}-success-bg, ${Dt}-bg`]:{position:"relative",backgroundColor:bt.defaultColor,borderRadius:bt.lineBorderRadius,transition:`all ${bt.motionDurationSlow} ${bt.motionEaseInOutCirc}`},[`${Dt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:bt.colorSuccess},[`${Dt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:bt.marginXS,color:bt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Rt]:{fontSize:bt.fontSize}},[`&${Dt}-status-active`]:{[`${Dt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:bt.colorBgContainer,borderRadius:bt.lineBorderRadius,opacity:0,animationName:Ne(),animationDuration:bt.progressActiveMotionDuration,animationTimingFunction:bt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Dt}-rtl${Dt}-status-active`]:{[`${Dt}-bg::before`]:{animationName:Ne(!0)}},[`&${Dt}-status-exception`]:{[`${Dt}-bg`]:{backgroundColor:bt.colorError},[`${Dt}-text`]:{color:bt.colorError}},[`&${Dt}-status-exception ${Dt}-inner:not(${Dt}-circle-gradient)`]:{[`${Dt}-circle-path`]:{stroke:bt.colorError}},[`&${Dt}-status-success`]:{[`${Dt}-bg`]:{backgroundColor:bt.colorSuccess},[`${Dt}-text`]:{color:bt.colorSuccess}},[`&${Dt}-status-success ${Dt}-inner:not(${Dt}-circle-gradient)`]:{[`${Dt}-circle-path`]:{stroke:bt.colorSuccess}}})}},Ge=bt=>{const{componentCls:Dt,iconCls:Rt}=bt;return{[Dt]:{[`${Dt}-circle-trail`]:{stroke:bt.remainingColor},[`&${Dt}-circle ${Dt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Dt}-circle ${Dt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:bt.circleTextColor,fontSize:bt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Rt]:{fontSize:`${bt.fontSize/bt.fontSizeSM}em`}},[`${Dt}-circle&-status-exception`]:{[`${Dt}-text`]:{color:bt.colorError}},[`${Dt}-circle&-status-success`]:{[`${Dt}-text`]:{color:bt.colorSuccess}}},[`${Dt}-inline-circle`]:{lineHeight:1,[`${Dt}-inner`]:{verticalAlign:"bottom"}}}},dt=bt=>{const{componentCls:Dt}=bt;return{[Dt]:{[`${Dt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:bt.progressStepMinWidth,marginInlineEnd:bt.progressStepMarginInlineEnd,backgroundColor:bt.remainingColor,transition:`all ${bt.motionDurationSlow}`,"&-active":{backgroundColor:bt.defaultColor}}}}}},mt=bt=>{const{componentCls:Dt,iconCls:Rt}=bt;return{[Dt]:{[`${Dt}-small&-line, ${Dt}-small&-line ${Dt}-text ${Rt}`]:{fontSize:bt.fontSizeSM}}}};var st=(0,De.Z)("Progress",bt=>{const Dt=bt.marginXXS/2,Rt=(0,Te.TS)(bt,{progressStepMarginInlineEnd:Dt,progressStepMinWidth:Dt,progressActiveMotionDuration:"2.4s"});return[Le(Rt),Ge(Rt),dt(Rt),mt(Rt)]},bt=>({circleTextColor:bt.colorText,defaultColor:bt.colorInfo,remainingColor:bt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Et=function(bt,Dt){var Rt={};for(var Ut in bt)Object.prototype.hasOwnProperty.call(bt,Ut)&&Dt.indexOf(Ut)<0&&(Rt[Ut]=bt[Ut]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Ut=Object.getOwnPropertySymbols(bt);qt{const{prefixCls:Rt,className:Ut,rootClassName:qt,steps:mn,strokeColor:$t,percent:rn=0,size:nn="default",showInfo:xn=!0,type:In="line",status:Un,format:ir,style:yr}=bt,En=Et(bt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Dr=me.useMemo(()=>{var An,xr;const Wr=et(bt);return parseInt(Wr!==void 0?(An=Wr!=null?Wr:0)===null||An===void 0?void 0:An.toString():(xr=rn!=null?rn:0)===null||xr===void 0?void 0:xr.toString(),10)},[rn,bt.success,bt.successPercent]),ta=me.useMemo(()=>!wt.includes(Un)&&Dr>=100?"success":Un||"normal",[Un,Dr]),{getPrefixCls:Fr,direction:Vr,progress:Mr}=me.useContext(le.E_),Er=Fr("progress",Rt),[Oa,to]=st(Er),na=me.useMemo(()=>{if(!xn)return null;const An=et(bt);let xr;const Wr=ir||(La=>`${La}%`),sa=In==="line";return ir||ta!=="exception"&&ta!=="success"?xr=Wr(at(rn),at(An)):ta==="exception"?xr=sa?me.createElement(we.Z,null):me.createElement(fe.Z,null):ta==="success"&&(xr=sa?me.createElement(Qe.Z,null):me.createElement(E.Z,null)),me.createElement("span",{className:`${Er}-text`,title:typeof xr=="string"?xr:void 0},xr)},[xn,rn,Dr,ta,In,Er,ir]),Ao=Array.isArray($t)?$t[0]:$t,Ga=typeof $t=="string"||Array.isArray($t)?$t:void 0;let sn;In==="line"?sn=mn?me.createElement(Ie,Object.assign({},bt,{strokeColor:Ga,prefixCls:Er,steps:mn}),na):me.createElement(je,Object.assign({},bt,{strokeColor:Ao,prefixCls:Er,direction:Vr}),na):(In==="circle"||In==="dashboard")&&(sn=me.createElement(yt,Object.assign({},bt,{strokeColor:Ao,prefixCls:Er,progressStatus:ta}),na));const Pn=oe()(Er,`${Er}-status-${ta}`,`${Er}-${In==="dashboard"&&"circle"||mn&&"steps"||In}`,{[`${Er}-inline-circle`]:In==="circle"&&ot(nn,"circle")[0]<=20,[`${Er}-show-info`]:xn,[`${Er}-${nn}`]:typeof nn=="string",[`${Er}-rtl`]:Vr==="rtl"},Mr==null?void 0:Mr.className,Ut,qt,to);return Oa(me.createElement("div",Object.assign({ref:Dt,style:Object.assign(Object.assign({},Mr==null?void 0:Mr.style),yr),className:Pn,role:"progressbar","aria-valuenow":Dr},(0,ae.Z)(En,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),sn))}),Nt=Ft},13570:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return at}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(it,At){return Qe.createElement(fe.Z,(0,me.Z)({},it,{ref:At,icon:we}))},oe=Qe.forwardRef(ue),ae=oe,le=pe(92310),re=pe.n(le),se=pe(20068),ie=pe(42978),ne=pe(75931),z=pe(18929),y=pe(10228),a=pe(26112);function x(et,it){var At=et.disabled,ot=et.prefixCls,rt=et.character,lt=et.characterRender,gt=et.index,yt=et.count,Tt=et.value,vt=et.allowHalf,ut=et.focused,qe=et.onHover,je=et.onClick,Ve=function(Ge){qe(Ge,gt)},Ie=function(Ge){je(Ge,gt)},_e=function(Ge){Ge.keyCode===y.Z.ENTER&&je(Ge,gt)},Fe=gt+1,De=new Set([ot]);Tt===0&>===0&&ut?De.add("".concat(ot,"-focused")):vt&&Tt+.5>=Fe&&Ttgt?"true":"false","aria-posinset":gt+1,"aria-setsize":yt,tabIndex:At?-1:0},Qe.createElement("div",{className:"".concat(ot,"-first")},Te),Qe.createElement("div",{className:"".concat(ot,"-second")},Te)));return lt&&(Ne=lt(Ne,et)),Ne}var b=Qe.forwardRef(x);function ee(){var et=Qe.useRef({});function it(ot){return et.current[ot]}function At(ot){return function(rt){et.current[ot]=rt}}return[it,At]}function te(et){var it=et.pageXOffset,At="scrollLeft";if(typeof it!="number"){var ot=et.document;it=ot.documentElement[At],typeof it!="number"&&(it=ot.body[At])}return it}function de(et){var it,At,ot=et.ownerDocument,rt=ot.body,lt=ot&&ot.documentElement,gt=et.getBoundingClientRect();return it=gt.left,At=gt.top,it-=lt.clientLeft||rt.clientLeft||0,At-=lt.clientTop||rt.clientTop||0,{left:it,top:At}}function ge(et){var it=de(et),At=et.ownerDocument,ot=At.defaultView||At.parentWindow;return it.left+=te(ot),it.left}var ve=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ye(et,it){var At,ot=et.prefixCls,rt=ot===void 0?"rc-rate":ot,lt=et.className,gt=et.defaultValue,yt=et.value,Tt=et.count,vt=Tt===void 0?5:Tt,ut=et.allowHalf,qe=ut===void 0?!1:ut,je=et.allowClear,Ve=je===void 0?!0:je,Ie=et.character,_e=Ie===void 0?"\u2605":Ie,Fe=et.characterRender,De=et.disabled,Te=et.direction,Ne=Te===void 0?"ltr":Te,Le=et.tabIndex,Ge=Le===void 0?0:Le,dt=et.autoFocus,mt=et.onHoverChange,st=et.onChange,Et=et.onFocus,Bt=et.onBlur,wt=et.onKeyDown,Lt=et.onMouseLeave,Ft=(0,ne.Z)(et,ve),Nt=ee(),bt=(0,ie.Z)(Nt,2),Dt=bt[0],Rt=bt[1],Ut=Qe.useRef(null),qt=function(){if(!De){var La;(La=Ut.current)===null||La===void 0||La.focus()}};Qe.useImperativeHandle(it,function(){return{focus:qt,blur:function(){if(!De){var La;(La=Ut.current)===null||La===void 0||La.blur()}}}});var mn=(0,z.Z)(gt||0,{value:yt}),$t=(0,ie.Z)(mn,2),rn=$t[0],nn=$t[1],xn=(0,z.Z)(null),In=(0,ie.Z)(xn,2),Un=In[0],ir=In[1],yr=function(La,ua){var fa=Ne==="rtl",nr=La+1;if(qe){var Bn=Dt(La),er=ge(Bn),Zn=Bn.clientWidth;(fa&&ua-er>Zn/2||!fa&&ua-er0&&!fa||ua===y.Z.RIGHT&&nr>0&&fa?(qe?nr-=.5:nr-=1,En(nr),La.preventDefault()):ua===y.Z.LEFT&&nr{const{componentCls:it}=et;return{[`${it}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:et.marginXS},"> div":{transition:`all ${et.motionDurationMid}, outline 0s`,"&:hover":{transform:et.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${et.lineWidth}px dashed ${et.starColor}`,transform:et.starHoverScale}},"&-first, &-second":{color:et.starBg,transition:`all ${et.motionDurationMid}`,userSelect:"none",[et.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${it}-star-first, &-half ${it}-star-second`]:{opacity:1},[`&-half ${it}-star-first, &-full ${it}-star-second`]:{color:"inherit"}}}},Oe=et=>({[`&-rtl${et.componentCls}`]:{direction:"rtl"}}),ke=et=>{const{componentCls:it}=et;return{[it]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Be.Wf)(et)),{display:"inline-block",margin:0,padding:0,color:et.starColor,fontSize:et.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${it} ${it}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),He(et)),{[`+ ${it}-text`]:{display:"inline-block",marginInlineStart:et.marginXS,fontSize:et.fontSize}}),Oe(et))}};var Xe=(0,Ue.Z)("Rate",et=>{const it=(0,Ee.TS)(et,{});return[ke(it)]},et=>({starColor:et.yellow6,starSize:et.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:et.colorFillContent})),$e=function(et,it){var At={};for(var ot in et)Object.prototype.hasOwnProperty.call(et,ot)&&it.indexOf(ot)<0&&(At[ot]=et[ot]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,ot=Object.getOwnPropertySymbols(et);rt{const{prefixCls:At,className:ot,rootClassName:rt,style:lt,tooltips:gt,character:yt=Qe.createElement(ae,null)}=et,Tt=$e(et,["prefixCls","className","rootClassName","style","tooltips","character"]),vt=(De,Te)=>{let{index:Ne}=Te;return gt?Qe.createElement(Pe.Z,{title:gt[Ne]},De):De},{getPrefixCls:ut,direction:qe,rate:je}=Qe.useContext(Se.E_),Ve=ut("rate",At),[Ie,_e]=Xe(Ve),Fe=Object.assign(Object.assign({},je==null?void 0:je.style),lt);return Ie(Qe.createElement(Ce,Object.assign({ref:it,character:yt,characterRender:vt},Tt,{className:re()(ot,rt,_e,je==null?void 0:je.className),style:Fe,prefixCls:Ve,direction:qe})))})},61621:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return _e}});var me=pe(92310),Qe=pe.n(me),E=pe(59301),we=pe(36355),fe=pe(2738),oe=Fe=>{const{prefixCls:De,className:Te,style:Ne,size:Le,shape:Ge}=Fe,dt=Qe()({[`${De}-lg`]:Le==="large",[`${De}-sm`]:Le==="small"}),mt=Qe()({[`${De}-circle`]:Ge==="circle",[`${De}-square`]:Ge==="square",[`${De}-round`]:Ge==="round"}),st=E.useMemo(()=>typeof Le=="number"?{width:Le,height:Le,lineHeight:`${Le}px`}:{},[Le]);return E.createElement("span",{className:Qe()(De,dt,mt,Te),style:Object.assign(Object.assign({},st),Ne)})},ae=pe(36237),le=pe(83116),re=pe(37613);const se=new ae.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ie=Fe=>({height:Fe,lineHeight:`${Fe}px`}),ne=Fe=>Object.assign({width:Fe},ie(Fe)),z=Fe=>({background:Fe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:se,animationDuration:Fe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Fe=>Object.assign({width:Fe*5,minWidth:Fe*5},ie(Fe)),a=Fe=>{const{skeletonAvatarCls:De,gradientFromColor:Te,controlHeight:Ne,controlHeightLG:Le,controlHeightSM:Ge}=Fe;return{[`${De}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Te},ne(Ne)),[`${De}${De}-circle`]:{borderRadius:"50%"},[`${De}${De}-lg`]:Object.assign({},ne(Le)),[`${De}${De}-sm`]:Object.assign({},ne(Ge))}},x=Fe=>{const{controlHeight:De,borderRadiusSM:Te,skeletonInputCls:Ne,controlHeightLG:Le,controlHeightSM:Ge,gradientFromColor:dt}=Fe;return{[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:dt,borderRadius:Te},y(De)),[`${Ne}-lg`]:Object.assign({},y(Le)),[`${Ne}-sm`]:Object.assign({},y(Ge))}},b=Fe=>Object.assign({width:Fe},ie(Fe)),ee=Fe=>{const{skeletonImageCls:De,imageSizeBase:Te,gradientFromColor:Ne,borderRadiusSM:Le}=Fe;return{[`${De}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ne,borderRadius:Le},b(Te*2)),{[`${De}-path`]:{fill:"#bfbfbf"},[`${De}-svg`]:Object.assign(Object.assign({},b(Te)),{maxWidth:Te*4,maxHeight:Te*4}),[`${De}-svg${De}-svg-circle`]:{borderRadius:"50%"}}),[`${De}${De}-circle`]:{borderRadius:"50%"}}},te=(Fe,De,Te)=>{const{skeletonButtonCls:Ne}=Fe;return{[`${Te}${Ne}-circle`]:{width:De,minWidth:De,borderRadius:"50%"},[`${Te}${Ne}-round`]:{borderRadius:De}}},de=Fe=>Object.assign({width:Fe*2,minWidth:Fe*2},ie(Fe)),ge=Fe=>{const{borderRadiusSM:De,skeletonButtonCls:Te,controlHeight:Ne,controlHeightLG:Le,controlHeightSM:Ge,gradientFromColor:dt}=Fe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:dt,borderRadius:De,width:Ne*2,minWidth:Ne*2},de(Ne))},te(Fe,Ne,Te)),{[`${Te}-lg`]:Object.assign({},de(Le))}),te(Fe,Le,`${Te}-lg`)),{[`${Te}-sm`]:Object.assign({},de(Ge))}),te(Fe,Ge,`${Te}-sm`))},ve=Fe=>{const{componentCls:De,skeletonAvatarCls:Te,skeletonTitleCls:Ne,skeletonParagraphCls:Le,skeletonButtonCls:Ge,skeletonInputCls:dt,skeletonImageCls:mt,controlHeight:st,controlHeightLG:Et,controlHeightSM:Bt,gradientFromColor:wt,padding:Lt,marginSM:Ft,borderRadius:Nt,titleHeight:bt,blockRadius:Dt,paragraphLiHeight:Rt,controlHeightXS:Ut,paragraphMarginTop:qt}=Fe;return{[`${De}`]:{display:"table",width:"100%",[`${De}-header`]:{display:"table-cell",paddingInlineEnd:Lt,verticalAlign:"top",[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:wt},ne(st)),[`${Te}-circle`]:{borderRadius:"50%"},[`${Te}-lg`]:Object.assign({},ne(Et)),[`${Te}-sm`]:Object.assign({},ne(Bt))},[`${De}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ne}`]:{width:"100%",height:bt,background:wt,borderRadius:Dt,[`+ ${Le}`]:{marginBlockStart:Bt}},[`${Le}`]:{padding:0,"> li":{width:"100%",height:Rt,listStyle:"none",background:wt,borderRadius:Dt,"+ li":{marginBlockStart:Ut}}},[`${Le}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${De}-content`]:{[`${Ne}, ${Le} > li`]:{borderRadius:Nt}}},[`${De}-with-avatar ${De}-content`]:{[`${Ne}`]:{marginBlockStart:Ft,[`+ ${Le}`]:{marginBlockStart:qt}}},[`${De}${De}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ge(Fe)),a(Fe)),x(Fe)),ee(Fe)),[`${De}${De}-block`]:{width:"100%",[`${Ge}`]:{width:"100%"},[`${dt}`]:{width:"100%"}},[`${De}${De}-active`]:{[` ${Ne}, ${Le} > li, ${Te}, ${Ge}, ${dt}, ${mt} `]:Object.assign({},z(Fe))}}};var ye=(0,le.Z)("Skeleton",Fe=>{const{componentCls:De}=Fe,Te=(0,re.TS)(Fe,{skeletonAvatarCls:`${De}-avatar`,skeletonTitleCls:`${De}-title`,skeletonParagraphCls:`${De}-paragraph`,skeletonButtonCls:`${De}-button`,skeletonInputCls:`${De}-input`,skeletonImageCls:`${De}-image`,imageSizeBase:Fe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Fe.gradientFromColor} 25%, ${Fe.gradientToColor} 37%, ${Fe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ve(Te)]},Fe=>{const{colorFillContent:De,colorFill:Te}=Fe,Ne=De,Le=Te;return{color:Ne,colorGradientEnd:Le,gradientFromColor:Ne,gradientToColor:Le,titleHeight:Fe.controlHeight/2,blockRadius:Fe.borderRadiusSM,paragraphMarginTop:Fe.marginLG+Fe.marginXXS,paragraphLiHeight:Fe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ce=Fe=>{const{prefixCls:De,className:Te,rootClassName:Ne,active:Le,shape:Ge="circle",size:dt="default"}=Fe,{getPrefixCls:mt}=E.useContext(we.E_),st=mt("skeleton",De),[Et,Bt]=ye(st),wt=(0,fe.Z)(Fe,["prefixCls","className"]),Lt=Qe()(st,`${st}-element`,{[`${st}-active`]:Le},Te,Ne,Bt);return Et(E.createElement("div",{className:Lt},E.createElement(oe,Object.assign({prefixCls:`${st}-avatar`,shape:Ge,size:dt},wt))))},Pe=Fe=>{const{prefixCls:De,className:Te,rootClassName:Ne,active:Le,block:Ge=!1,size:dt="default"}=Fe,{getPrefixCls:mt}=E.useContext(we.E_),st=mt("skeleton",De),[Et,Bt]=ye(st),wt=(0,fe.Z)(Fe,["prefixCls"]),Lt=Qe()(st,`${st}-element`,{[`${st}-active`]:Le,[`${st}-block`]:Ge},Te,Ne,Bt);return Et(E.createElement("div",{className:Lt},E.createElement(oe,Object.assign({prefixCls:`${st}-button`,size:dt},wt))))};const Be="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 Ee=Fe=>{const{prefixCls:De,className:Te,rootClassName:Ne,style:Le,active:Ge}=Fe,{getPrefixCls:dt}=E.useContext(we.E_),mt=dt("skeleton",De),[st,Et]=ye(mt),Bt=Qe()(mt,`${mt}-element`,{[`${mt}-active`]:Ge},Te,Ne,Et);return st(E.createElement("div",{className:Bt},E.createElement("div",{className:Qe()(`${mt}-image`,Te),style:Le},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${mt}-image-svg`},E.createElement("path",{d:Be,className:`${mt}-image-path`})))))},Oe=Fe=>{const{prefixCls:De,className:Te,rootClassName:Ne,active:Le,block:Ge,size:dt="default"}=Fe,{getPrefixCls:mt}=E.useContext(we.E_),st=mt("skeleton",De),[Et,Bt]=ye(st),wt=(0,fe.Z)(Fe,["prefixCls"]),Lt=Qe()(st,`${st}-element`,{[`${st}-active`]:Le,[`${st}-block`]:Ge},Te,Ne,Bt);return Et(E.createElement("div",{className:Lt},E.createElement(oe,Object.assign({prefixCls:`${st}-input`,size:dt},wt))))},ke=pe(54476),Xe={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"},$e=Xe,ze=pe(7657),at=function(De,Te){return E.createElement(ze.Z,(0,ke.Z)({},De,{ref:Te,icon:$e}))},et=E.forwardRef(at),it=et,ot=Fe=>{const{prefixCls:De,className:Te,rootClassName:Ne,style:Le,active:Ge,children:dt}=Fe,{getPrefixCls:mt}=E.useContext(we.E_),st=mt("skeleton",De),[Et,Bt]=ye(st),wt=Qe()(st,`${st}-element`,{[`${st}-active`]:Ge},Bt,Te,Ne),Lt=dt!=null?dt:E.createElement(it,null);return Et(E.createElement("div",{className:wt},E.createElement("div",{className:Qe()(`${st}-image`,Te),style:Le},Lt)))},rt=pe(94480),gt=Fe=>{const De=mt=>{const{width:st,rows:Et=2}=Fe;if(Array.isArray(st))return st[mt];if(Et-1===mt)return st},{prefixCls:Te,className:Ne,style:Le,rows:Ge}=Fe,dt=(0,rt.Z)(Array(Ge)).map((mt,st)=>E.createElement("li",{key:st,style:{width:De(st)}}));return E.createElement("ul",{className:Qe()(Te,Ne),style:Le},dt)},Tt=Fe=>{let{prefixCls:De,className:Te,width:Ne,style:Le}=Fe;return E.createElement("h3",{className:Qe()(De,Te),style:Object.assign({width:Ne},Le)})};function vt(Fe){return Fe&&typeof Fe=="object"?Fe:{}}function ut(Fe,De){return Fe&&!De?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function qe(Fe,De){return!Fe&&De?{width:"38%"}:Fe&&De?{width:"50%"}:{}}function je(Fe,De){const Te={};return(!Fe||!De)&&(Te.width="61%"),!Fe&&De?Te.rows=3:Te.rows=2,Te}const Ve=Fe=>{const{prefixCls:De,loading:Te,className:Ne,rootClassName:Le,style:Ge,children:dt,avatar:mt=!1,title:st=!0,paragraph:Et=!0,active:Bt,round:wt}=Fe,{getPrefixCls:Lt,direction:Ft,skeleton:Nt}=E.useContext(we.E_),bt=Lt("skeleton",De),[Dt,Rt]=ye(bt);if(Te||!("loading"in Fe)){const Ut=!!mt,qt=!!st,mn=!!Et;let $t;if(Ut){const xn=Object.assign(Object.assign({prefixCls:`${bt}-avatar`},ut(qt,mn)),vt(mt));$t=E.createElement("div",{className:`${bt}-header`},E.createElement(oe,Object.assign({},xn)))}let rn;if(qt||mn){let xn;if(qt){const Un=Object.assign(Object.assign({prefixCls:`${bt}-title`},qe(Ut,mn)),vt(st));xn=E.createElement(Tt,Object.assign({},Un))}let In;if(mn){const Un=Object.assign(Object.assign({prefixCls:`${bt}-paragraph`},je(Ut,qt)),vt(Et));In=E.createElement(gt,Object.assign({},Un))}rn=E.createElement("div",{className:`${bt}-content`},xn,In)}const nn=Qe()(bt,{[`${bt}-with-avatar`]:Ut,[`${bt}-active`]:Bt,[`${bt}-rtl`]:Ft==="rtl",[`${bt}-round`]:wt},Nt==null?void 0:Nt.className,Ne,Le,Rt);return Dt(E.createElement("div",{className:nn,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),Ge)},$t,rn))}return typeof dt!="undefined"?dt:null};Ve.Button=Pe,Ve.Avatar=Ce,Ve.Input=Oe,Ve.Image=Ee,Ve.Node=ot;var Ie=Ve,_e=Ie},31797:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return ye}});var me=pe(59301),Qe=pe(56762),E=pe(92343),we=pe(92310),fe=pe.n(we),ue=pe(36355),oe=pe(61621),le=be=>{const{value:Ce,formatter:Se,precision:Pe,decimalSeparator:Be,groupSeparator:Ue="",prefixCls:Ee}=be;let He;if(typeof Se=="function")He=Se(Ce);else{const Oe=String(Ce),ke=Oe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||Oe==="-")He=Oe;else{const Xe=ke[1];let $e=ke[2]||"0",ze=ke[4]||"";$e=$e.replace(/\B(?=(\d{3})+(?!\d))/g,Ue),typeof Pe=="number"&&(ze=ze.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),ze&&(ze=`${Be}${ze}`),He=[me.createElement("span",{key:"int",className:`${Ee}-content-value-int`},Xe,$e),ze&&me.createElement("span",{key:"decimal",className:`${Ee}-content-value-decimal`},ze)]}}return me.createElement("span",{className:`${Ee}-content-value`},He)},re=pe(17313),se=pe(83116),ie=pe(37613);const ne=be=>{const{componentCls:Ce,marginXXS:Se,padding:Pe,colorTextDescription:Be,titleFontSize:Ue,colorTextHeading:Ee,contentFontSize:He,fontFamily:Oe}=be;return{[`${Ce}`]:Object.assign(Object.assign({},(0,re.Wf)(be)),{[`${Ce}-title`]:{marginBottom:Se,color:Be,fontSize:Ue},[`${Ce}-skeleton`]:{paddingTop:Pe},[`${Ce}-content`]:{color:Ee,fontSize:He,fontFamily:Oe,[`${Ce}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ce}-content-prefix, ${Ce}-content-suffix`]:{display:"inline-block"},[`${Ce}-content-prefix`]:{marginInlineEnd:Se},[`${Ce}-content-suffix`]:{marginInlineStart:Se}}})}};var z=(0,se.Z)("Statistic",be=>{const Ce=(0,ie.TS)(be,{});return[ne(Ce)]},be=>{const{fontSizeHeading3:Ce,fontSize:Se}=be;return{titleFontSize:Se,contentFontSize:Ce}}),a=be=>{const{prefixCls:Ce,className:Se,rootClassName:Pe,style:Be,valueStyle:Ue,value:Ee=0,title:He,valueRender:Oe,prefix:ke,suffix:Xe,loading:$e=!1,onMouseEnter:ze,onMouseLeave:at,decimalSeparator:et=".",groupSeparator:it=","}=be,{getPrefixCls:At,direction:ot,statistic:rt}=me.useContext(ue.E_),lt=At("statistic",Ce),[gt,yt]=z(lt),Tt=me.createElement(le,Object.assign({decimalSeparator:et,groupSeparator:it,prefixCls:lt},be,{value:Ee})),vt=fe()(lt,{[`${lt}-rtl`]:ot==="rtl"},rt==null?void 0:rt.className,Se,Pe,yt);return gt(me.createElement("div",{className:vt,style:Object.assign(Object.assign({},rt==null?void 0:rt.style),Be),onMouseEnter:ze,onMouseLeave:at},He&&me.createElement("div",{className:`${lt}-title`},He),me.createElement(oe.Z,{paragraph:!1,loading:$e,className:`${lt}-skeleton`},me.createElement("div",{style:Ue,className:`${lt}-content`},ke&&me.createElement("span",{className:`${lt}-content-prefix`},ke),Oe?Oe(Tt):Tt,Xe&&me.createElement("span",{className:`${lt}-content-suffix`},Xe)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(be,Ce){let Se=be;const Pe=/\[[^\]]*]/g,Be=(Ce.match(Pe)||[]).map(Oe=>Oe.slice(1,-1)),Ue=Ce.replace(Pe,"[]"),Ee=x.reduce((Oe,ke)=>{let[Xe,$e]=ke;if(Oe.includes(Xe)){const ze=Math.floor(Se/$e);return Se-=ze*$e,Oe.replace(new RegExp(`${Xe}+`,"g"),at=>{const et=at.length;return ze.toString().padStart(et,"0")})}return Oe},Ue);let He=0;return Ee.replace(Pe,()=>{const Oe=Be[He];return He+=1,Oe})}function ee(be,Ce){const{format:Se=""}=Ce,Pe=new Date(be).getTime(),Be=Date.now(),Ue=Math.max(Pe-Be,0);return b(Ue,Se)}const te=1e3/30;function de(be){return new Date(be).getTime()}const ge=be=>{const{value:Ce,format:Se="HH:mm:ss",onChange:Pe,onFinish:Be}=be,Ue=(0,Qe.Z)(),Ee=me.useRef(null),He=()=>{Be==null||Be(),Ee.current&&(clearInterval(Ee.current),Ee.current=null)},Oe=()=>{const $e=de(Ce);$e>=Date.now()&&(Ee.current=setInterval(()=>{Ue(),Pe==null||Pe($e-Date.now()),$e(Oe(),()=>{Ee.current&&(clearInterval(Ee.current),Ee.current=null)}),[Ce]);const ke=($e,ze)=>ee($e,Object.assign(Object.assign({},ze),{format:Se})),Xe=$e=>(0,E.Tm)($e,{title:void 0});return me.createElement(a,Object.assign({},be,{valueRender:Xe,formatter:ke}))};var ve=me.memo(ge);a.Countdown=ve;var ye=a},15969:function(Jt,Mt,pe){"use strict";pe.d(Mt,{N:function(){return me}});const me=Qe=>({color:Qe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Qe.motionDurationSlow}`,"&:focus, &:hover":{color:Qe.colorLinkHover},"&:active":{color:Qe.colorLinkActive}})},1710:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return rg}});var me={},Qe="rc-table-internal-hook",E=pe(42978),we=pe(6089),fe=pe(34280),ue=pe(13697),oe=pe(59301),ae=pe(4676);function le(_t){var Ot=oe.createContext(void 0),Wt=function(vn){var yn=vn.value,zn=vn.children,Gn=oe.useRef(yn);Gn.current=yn;var kn=oe.useState(function(){return{getValue:function(){return Gn.current},listeners:new Set}}),lr=(0,E.Z)(kn,1),Sr=lr[0];return(0,fe.Z)(function(){(0,ae.unstable_batchedUpdates)(function(){Sr.listeners.forEach(function(Ar){Ar(yn)})})},[yn]),oe.createElement(Ot.Provider,{value:Sr},zn)};return{Context:Ot,Provider:Wt,defaultValue:_t}}function re(_t,Ot){var Wt=(0,we.Z)(typeof Ot=="function"?Ot:function(Ar){if(Ot===void 0)return Ar;if(!Array.isArray(Ot))return Ar[Ot];var ea={};return Ot.forEach(function(Gr){ea[Gr]=Ar[Gr]}),ea}),tn=oe.useContext(_t==null?void 0:_t.Context),vn=tn||{},yn=vn.listeners,zn=vn.getValue,Gn=oe.useRef();Gn.current=Wt(tn?zn():_t==null?void 0:_t.defaultValue);var kn=oe.useState({}),lr=(0,E.Z)(kn,2),Sr=lr[1];return(0,fe.Z)(function(){if(!tn)return;function Ar(ea){var Gr=Wt(ea);(0,ue.Z)(Gn.current,Gr,!0)||Sr({})}return yn.add(Ar),function(){yn.delete(Ar)}},[tn]),Gn.current}var se=pe(54476),ie=pe(8654);function ne(){var _t=oe.createContext(null);function Ot(){return oe.useContext(_t)}function Wt(vn,yn){var zn=(0,ie.Yr)(vn),Gn=function(lr,Sr){var Ar=zn?{ref:Sr}:{},ea=oe.useRef(0),Gr=oe.useRef(lr),Yr=Ot();return Yr!==null?oe.createElement(vn,(0,se.Z)({},lr,Ar)):((!yn||yn(Gr.current,lr))&&(ea.current+=1),Gr.current=lr,oe.createElement(_t.Provider,{value:ea.current},oe.createElement(vn,(0,se.Z)({},lr,Ar))))};return zn?oe.forwardRef(Gn):Gn}function tn(vn,yn){var zn=(0,ie.Yr)(vn),Gn=function(lr,Sr){var Ar=zn?{ref:Sr}:{};return Ot(),oe.createElement(vn,(0,se.Z)({},lr,Ar))};return zn?oe.memo(oe.forwardRef(Gn),yn):oe.memo(Gn,yn)}return{makeImmutable:Wt,responseImmutable:tn,useImmutableMark:Ot}}var z=ne(),y=z.makeImmutable,a=z.responseImmutable,x=z.useImmutableMark,b=ne(),ee=b.makeImmutable,te=b.responseImmutable,de=b.useImmutableMark,ge=le(),ve=ge;function ye(_t,Ot){var Wt=oe.useRef(0);Wt.current+=1;var tn=oe.useRef(_t),vn=[];Object.keys(_t||{}).map(function(zn){var Gn;(_t==null?void 0:_t[zn])!==((Gn=tn.current)===null||Gn===void 0?void 0:Gn[zn])&&vn.push(zn)}),tn.current=_t;var yn=oe.useRef([]);return vn.length&&(yn.current=vn),oe.useDebugValue(Wt.current),oe.useDebugValue(yn.current.join(", ")),Ot&&console.log("".concat(Ot,":"),Wt.current,yn.current),Wt.current}var be=null,Ce=oe.memo(function(){var _t=ye();return oe.createElement("h1",null,"Render Times: ",_t)});Ce.displayName="RenderBlock";var Se=pe(76190),Pe=pe(33885),Be=pe(20068),Ue=pe(92310),Ee=pe.n(Ue),He=pe(80547),Oe=pe(97938),ke=pe(48736),Xe=oe.createContext({renderWithProps:!1}),$e=Xe,ze="RC_TABLE_KEY";function at(_t){return _t==null?[]:Array.isArray(_t)?_t:[_t]}function et(_t){var Ot=[],Wt={};return _t.forEach(function(tn){for(var vn=tn||{},yn=vn.key,zn=vn.dataIndex,Gn=yn||at(zn).join("-")||ze;Wt[Gn];)Gn="".concat(Gn,"_next");Wt[Gn]=!0,Ot.push(Gn)}),Ot}function it(_t){return _t!=null}function At(_t){return _t&&(0,Se.Z)(_t)==="object"&&!Array.isArray(_t)&&!oe.isValidElement(_t)}function ot(_t,Ot,Wt,tn,vn,yn){var zn=oe.useContext($e),Gn=de(),kn=(0,He.Z)(function(){if(it(tn))return[tn];var lr=Ot==null||Ot===""?[]:Array.isArray(Ot)?Ot:[Ot],Sr=(0,Oe.Z)(_t,lr),Ar=Sr,ea=void 0;if(vn){var Gr=vn(Sr,_t,Wt);At(Gr)?(Ar=Gr.children,ea=Gr.props,zn.renderWithProps=!0):Ar=Gr}return[Ar,ea]},[Gn,_t,tn,Ot,vn,Wt],function(lr,Sr){if(yn){var Ar=(0,E.Z)(lr,2),ea=Ar[1],Gr=(0,E.Z)(Sr,2),Yr=Gr[1];return yn(Yr,ea)}return zn.renderWithProps?!0:!(0,ue.Z)(lr,Sr,!0)});return kn}function rt(_t,Ot,Wt,tn){var vn=_t+Ot-1;return _t<=tn&&vn>=Wt}function lt(_t,Ot){return re(ve,function(Wt){var tn=rt(_t,Ot||1,Wt.hoverStartRow,Wt.hoverEndRow);return[tn,Wt.onHover]})}var gt=function(Ot){var Wt=Ot.ellipsis,tn=Ot.rowType,vn=Ot.children,yn,zn=Wt===!0?{showTitle:!0}:Wt;return zn&&(zn.showTitle||tn==="header")&&(typeof vn=="string"||typeof vn=="number"?yn=vn.toString():oe.isValidElement(vn)&&typeof vn.props.children=="string"&&(yn=vn.props.children)),yn};function yt(_t){var Ot,Wt,tn,vn,yn,zn,Gn,kn,lr=_t.component,Sr=_t.children,Ar=_t.ellipsis,ea=_t.scope,Gr=_t.prefixCls,Yr=_t.className,ja=_t.align,ba=_t.record,_a=_t.render,wa=_t.dataIndex,Qa=_t.renderIndex,_o=_t.shouldCellUpdate,jo=_t.index,po=_t.rowType,Jo=_t.colSpan,fi=_t.rowSpan,Za=_t.fixLeft,vo=_t.fixRight,qa=_t.firstFixLeft,Ua=_t.lastFixLeft,so=_t.firstFixRight,Ho=_t.lastFixRight,_i=_t.appendNode,di=_t.additionalProps,ko=di===void 0?{}:di,Si=_t.isSticky,Gi="".concat(Gr,"-cell"),Fs=re(ve,["supportSticky","allColumnsFixedLeft"]),ns=Fs.supportSticky,Qs=Fs.allColumnsFixedLeft,el=ot(ba,wa,Qa,Sr,_a,_o),pi=(0,E.Z)(el,2),hl=pi[0],ls=pi[1],_s={},Ts=typeof Za=="number"&&ns,lu=typeof vo=="number"&&ns;Ts&&(_s.position="sticky",_s.left=Za),lu&&(_s.position="sticky",_s.right=vo);var ao=(Ot=(Wt=(tn=ls==null?void 0:ls.colSpan)!==null&&tn!==void 0?tn:ko.colSpan)!==null&&Wt!==void 0?Wt:Jo)!==null&&Ot!==void 0?Ot:1,Go=(vn=(yn=(zn=ls==null?void 0:ls.rowSpan)!==null&&zn!==void 0?zn:ko.rowSpan)!==null&&yn!==void 0?yn:fi)!==null&&vn!==void 0?vn:1,Qo=lt(jo,Go),Eo=(0,E.Z)(Qo,2),us=Eo[0],Bo=Eo[1],si=function(ka){var tu;ba&&Bo(jo,jo+Go-1),ko==null||(tu=ko.onMouseEnter)===null||tu===void 0||tu.call(ko,ka)},Zi=function(ka){var tu;ba&&Bo(-1,-1),ko==null||(tu=ko.onMouseLeave)===null||tu===void 0||tu.call(ko,ka)};if(ao===0||Go===0)return null;var Vi=(Gn=ko.title)!==null&&Gn!==void 0?Gn:gt({rowType:po,ellipsis:Ar,children:hl}),Zl=Ee()(Gi,Yr,(kn={},(0,Be.Z)(kn,"".concat(Gi,"-fix-left"),Ts&&ns),(0,Be.Z)(kn,"".concat(Gi,"-fix-left-first"),qa&&ns),(0,Be.Z)(kn,"".concat(Gi,"-fix-left-last"),Ua&&ns),(0,Be.Z)(kn,"".concat(Gi,"-fix-left-all"),Ua&&Qs&&ns),(0,Be.Z)(kn,"".concat(Gi,"-fix-right"),lu&&ns),(0,Be.Z)(kn,"".concat(Gi,"-fix-right-first"),so&&ns),(0,Be.Z)(kn,"".concat(Gi,"-fix-right-last"),Ho&&ns),(0,Be.Z)(kn,"".concat(Gi,"-ellipsis"),Ar),(0,Be.Z)(kn,"".concat(Gi,"-with-append"),_i),(0,Be.Z)(kn,"".concat(Gi,"-fix-sticky"),(Ts||lu)&&Si&&ns),(0,Be.Z)(kn,"".concat(Gi,"-row-hover"),!ls&&us),kn),ko.className,ls==null?void 0:ls.className),cl={};ja&&(cl.textAlign=ja);var Hu=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},_s),ko.style),cl),ls==null?void 0:ls.style),dl=hl;return(0,Se.Z)(dl)==="object"&&!Array.isArray(dl)&&!oe.isValidElement(dl)&&(dl=null),Ar&&(Ua||so)&&(dl=oe.createElement("span",{className:"".concat(Gi,"-content")},dl)),oe.createElement(lr,(0,se.Z)({},ls,ko,{className:Zl,style:Hu,title:Vi,scope:ea,onMouseEnter:si,onMouseLeave:Zi,colSpan:ao!==1?ao:null,rowSpan:Go!==1?Go:null}),_i,dl)}var Tt=oe.memo(yt);function vt(_t,Ot,Wt,tn,vn,yn){var zn=Wt[_t]||{},Gn=Wt[Ot]||{},kn,lr;zn.fixed==="left"?kn=tn.left[vn==="rtl"?Ot:_t]:Gn.fixed==="right"&&(lr=tn.right[vn==="rtl"?_t:Ot]);var Sr=!1,Ar=!1,ea=!1,Gr=!1,Yr=Wt[Ot+1],ja=Wt[_t-1],ba=!(yn!=null&&yn.children);if(vn==="rtl"){if(kn!==void 0){var _a=ja&&ja.fixed==="left";Gr=!_a&&ba}else if(lr!==void 0){var wa=Yr&&Yr.fixed==="right";ea=!wa&&ba}}else if(kn!==void 0){var Qa=Yr&&Yr.fixed==="left";Sr=!Qa&&ba}else if(lr!==void 0){var _o=ja&&ja.fixed==="right";Ar=!_o&&ba}return{fixLeft:kn,fixRight:lr,lastFixLeft:Sr,firstFixRight:Ar,lastFixRight:ea,firstFixLeft:Gr,isSticky:tn.isSticky}}var ut=oe.createContext({}),qe=ut;function je(_t){var Ot=_t.className,Wt=_t.index,tn=_t.children,vn=_t.colSpan,yn=vn===void 0?1:vn,zn=_t.rowSpan,Gn=_t.align,kn=re(ve,["prefixCls","direction"]),lr=kn.prefixCls,Sr=kn.direction,Ar=oe.useContext(qe),ea=Ar.scrollColumnIndex,Gr=Ar.stickyOffsets,Yr=Ar.flattenColumns,ja=Ar.columns,ba=Wt+yn-1,_a=ba+1===ea?yn+1:yn,wa=vt(Wt,Wt+_a-1,Yr,Gr,Sr,ja==null?void 0:ja[Wt]);return oe.createElement(Tt,(0,se.Z)({className:Ot,index:Wt,component:"td",prefixCls:lr,record:null,dataIndex:null,align:Gn,colSpan:_a,rowSpan:zn,render:function(){return tn}},wa))}var Ve=pe(75931),Ie=["children"];function _e(_t){var Ot=_t.children,Wt=(0,Ve.Z)(_t,Ie);return oe.createElement("tr",Wt,Ot)}function Fe(_t){var Ot=_t.children;return Ot}Fe.Row=_e,Fe.Cell=je;var De=Fe;function Te(_t){var Ot=_t.children,Wt=_t.stickyOffsets,tn=_t.flattenColumns,vn=_t.columns,yn=re(ve,"prefixCls"),zn=tn.length-1,Gn=tn[zn],kn=oe.useMemo(function(){return{stickyOffsets:Wt,flattenColumns:tn,scrollColumnIndex:Gn!=null&&Gn.scrollbar?zn:null,columns:vn}},[Gn,tn,zn,Wt,vn]);return oe.createElement(qe.Provider,{value:kn},oe.createElement("tfoot",{className:"".concat(yn,"-summary")},Ot))}var Ne=te(Te),Le=De,Ge=pe(70425),dt=pe(29301),mt=pe(29194),st=pe(24514),Et=pe(75152),Bt=pe(26112);function wt(_t,Ot,Wt,tn,vn,yn,zn){_t.push({record:Ot,indent:Wt,index:zn});var Gn=yn(Ot),kn=vn==null?void 0:vn.has(Gn);if(Ot&&Array.isArray(Ot[tn])&&kn)for(var lr=0;lr1?qa-1:0),so=1;so=0;Gn-=1){var kn=Ot[Gn],lr=Wt&&Wt[Gn],Sr=lr&&lr[xn];if(kn||Sr||zn){var Ar=Sr||{},ea=Ar.columnType,Gr=(0,Ve.Z)(Ar,Un);vn.unshift(oe.createElement("col",(0,se.Z)({key:Gn,style:{width:kn}},Gr))),zn=!0}}return oe.createElement("colgroup",null,vn)}var yr=ir,En=pe(94480),Dr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ta(_t,Ot){return(0,oe.useMemo)(function(){for(var Wt=[],tn=0;tn1?"colgroup":"col":null,ellipsis:ba.ellipsis,align:ba.align,component:ba.title?yn:zn,prefixCls:Sr,key:Gr[ja]},_a,{additionalProps:wa,rowType:"header"}))}))}Mr.displayName="HeaderRow";var Er=Mr;function Oa(_t){var Ot=[];function Wt(zn,Gn){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ot[kn]=Ot[kn]||[];var lr=Gn,Sr=zn.filter(Boolean).map(function(Ar){var ea={key:Ar.key,className:Ar.className||"",children:Ar.title,column:Ar,colStart:lr},Gr=1,Yr=Ar.children;return Yr&&Yr.length>0&&(Gr=Wt(Yr,lr,kn+1).reduce(function(ja,ba){return ja+ba},0),ea.hasSubColumns=!0),"colSpan"in Ar&&(Gr=Ar.colSpan),"rowSpan"in Ar&&(ea.rowSpan=Ar.rowSpan),ea.colSpan=Gr,ea.colEnd=ea.colStart+Gr-1,Ot[kn].push(ea),lr+=Gr,Gr});return Sr}Wt(_t,0);for(var tn=Ot.length,vn=function(Gn){Ot[Gn].forEach(function(kn){!("rowSpan"in kn)&&!kn.hasSubColumns&&(kn.rowSpan=tn-Gn)})},yn=0;yn1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ot=="number"?Ot:Ot.endsWith("%")?_t*parseFloat(Ot)/100:null}function sn(_t,Ot){return oe.useMemo(function(){if(Ot&&Ot>0){var Wt=0,tn=0;_t.forEach(function(lr){var Sr=Ga(Ot,lr.width);Sr?Wt+=Sr:tn+=1});var vn=Ot-Wt,yn=tn,zn=vn/tn,Gn=0,kn=_t.map(function(lr){var Sr=(0,Pe.Z)({},lr),Ar=Ga(Ot,Sr.width);if(Ar)Sr.width=Ar;else{var ea=Math.floor(zn);Sr.width=yn===1?vn:ea,vn-=ea,yn-=1}return Gn+=Sr.width,Sr});return[kn,Gn]}return[_t,Ot]},[_t,Ot])}var Pn=["children"],An=["fixed"];function xr(_t){return(0,Ao.Z)(_t).filter(function(Ot){return oe.isValidElement(Ot)}).map(function(Ot){var Wt=Ot.key,tn=Ot.props,vn=tn.children,yn=(0,Ve.Z)(tn,Pn),zn=(0,Pe.Z)({key:Wt},yn);return vn&&(zn.children=xr(vn)),zn})}function Wr(_t){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return _t.filter(function(Wt){return Wt&&(0,Se.Z)(Wt)==="object"}).reduce(function(Wt,tn,vn){var yn=tn.fixed,zn=yn===!0?"left":yn,Gn="".concat(Ot,"-").concat(vn),kn=tn.children;return kn&&kn.length>0?[].concat((0,En.Z)(Wt),(0,En.Z)(Wr(kn,Gn).map(function(lr){return(0,Pe.Z)({fixed:zn},lr)}))):[].concat((0,En.Z)(Wt),[(0,Pe.Z)((0,Pe.Z)({key:Gn},tn),{},{fixed:zn})])},[])}function sa(_t){for(var Ot=!0,Wt=0;Wt<_t.length;Wt+=1){var tn=_t[Wt];if(Ot&&tn.fixed!=="left")Ot=!1;else if(!Ot&&tn.fixed==="left"){warning(!1,"Index ".concat(Wt-1," of `columns` missing `fixed='left'` prop."));break}}for(var vn=!0,yn=_t.length-1;yn>=0;yn-=1){var zn=_t[yn];if(vn&&zn.fixed!=="right")vn=!1;else if(!vn&&zn.fixed==="right"){warning(!1,"Index ".concat(yn+1," of `columns` missing `fixed='right'` prop."));break}}}function La(_t){return _t.map(function(Ot){var Wt=Ot.fixed,tn=(0,Ve.Z)(Ot,An),vn=Wt;return Wt==="left"?vn="right":Wt==="right"&&(vn="left"),(0,Pe.Z)({fixed:vn},tn)})}function ua(_t,Ot){var Wt=_t.prefixCls,tn=_t.columns,vn=_t.children,yn=_t.expandable,zn=_t.expandedKeys,Gn=_t.columnTitle,kn=_t.getRowKey,lr=_t.onTriggerExpand,Sr=_t.expandIcon,Ar=_t.rowExpandable,ea=_t.expandIconColumnIndex,Gr=_t.direction,Yr=_t.expandRowByClick,ja=_t.columnWidth,ba=_t.fixed,_a=_t.scrollWidth,wa=oe.useMemo(function(){return tn||xr(vn)},[tn,vn]),Qa=oe.useMemo(function(){if(yn){var vo,qa=wa.slice();if(!qa.includes(me)){var Ua=ea||0;Ua>=0&&qa.splice(Ua,0,me)}var so=qa.indexOf(me);qa=qa.filter(function(ko,Si){return ko!==me||Si===so});var Ho=wa[so],_i;(ba==="left"||ba)&&!ea?_i="left":(ba==="right"||ba)&&ea===wa.length?_i="right":_i=Ho?Ho.fixed:null;var di=(vo={},(0,Be.Z)(vo,xn,{className:"".concat(Wt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Be.Z)(vo,"title",Gn),(0,Be.Z)(vo,"fixed",_i),(0,Be.Z)(vo,"className","".concat(Wt,"-row-expand-icon-cell")),(0,Be.Z)(vo,"width",ja),(0,Be.Z)(vo,"render",function(Si,Gi,Fs){var ns=kn(Gi,Fs),Qs=zn.has(ns),el=Ar?Ar(Gi):!0,pi=Sr({prefixCls:Wt,expanded:Qs,expandable:el,record:Gi,onExpand:lr});return Yr?oe.createElement("span",{onClick:function(ls){return ls.stopPropagation()}},pi):pi}),vo);return qa.map(function(ko){return ko===me?di:ko})}return wa.filter(function(ko){return ko!==me})},[yn,wa,kn,zn,Sr,Gr]),_o=oe.useMemo(function(){var vo=Qa;return Ot&&(vo=Ot(vo)),vo.length||(vo=[{render:function(){return null}}]),vo},[Ot,Qa,Gr]),jo=oe.useMemo(function(){return Gr==="rtl"?La(Wr(_o)):Wr(_o)},[_o,Gr,_a]),po=sn(jo,_a),Jo=(0,E.Z)(po,2),fi=Jo[0],Za=Jo[1];return[_o,fi,Za]}var fa=ua;function nr(_t){var Ot,Wt=_t.prefixCls,tn=_t.record,vn=_t.onExpand,yn=_t.expanded,zn=_t.expandable,Gn="".concat(Wt,"-row-expand-icon");if(!zn)return oe.createElement("span",{className:Ee()(Gn,"".concat(Wt,"-row-spaced"))});var kn=function(Sr){vn(tn,Sr),Sr.stopPropagation()};return oe.createElement("span",{className:Ee()(Gn,(Ot={},(0,Be.Z)(Ot,"".concat(Wt,"-row-expanded"),yn),(0,Be.Z)(Ot,"".concat(Wt,"-row-collapsed"),!yn),Ot)),onClick:kn})}function Bn(_t,Ot,Wt){var tn=[];function vn(yn){(yn||[]).forEach(function(zn,Gn){tn.push(Ot(zn,Gn)),vn(zn[Wt])})}return vn(_t),tn}function er(_t,Ot,Wt){var tn=In(_t),vn=tn.expandIcon,yn=tn.expandedRowKeys,zn=tn.defaultExpandedRowKeys,Gn=tn.defaultExpandAllRows,kn=tn.expandedRowRender,lr=tn.onExpand,Sr=tn.onExpandedRowsChange,Ar=tn.childrenColumnName,ea=vn||nr,Gr=Ar||"children",Yr=oe.useMemo(function(){return kn?"row":_t.expandable&&_t.internalHooks===Qe&&_t.expandable.__PARENT_RENDER_ICON__||Ot.some(function(jo){return jo&&(0,Se.Z)(jo)==="object"&&jo[Gr]})?"nest":!1},[!!kn,Ot]),ja=oe.useState(function(){return zn||(Gn?Bn(Ot,Wt,Gr):[])}),ba=(0,E.Z)(ja,2),_a=ba[0],wa=ba[1],Qa=oe.useMemo(function(){return new Set(yn||_a||[])},[yn,_a]),_o=oe.useCallback(function(jo){var po=Wt(jo,Ot.indexOf(jo)),Jo,fi=Qa.has(po);fi?(Qa.delete(po),Jo=(0,En.Z)(Qa)):Jo=[].concat((0,En.Z)(Qa),[po]),wa(Jo),lr&&lr(!fi,jo),Sr&&Sr(Jo)},[Wt,Qa,Ot,lr,Sr]);return[tn,Yr,Qa,ea,Gr,_o]}function Zn(_t,Ot,Wt,tn){var vn=_t.map(function(yn,zn){return vt(zn,zn,_t,Ot,Wt,tn==null?void 0:tn[zn])});return(0,He.Z)(function(){return vn},[vn],function(yn,zn){return!(0,ue.Z)(yn,zn)})}function kr(_t){var Ot=(0,oe.useRef)(_t),Wt=(0,oe.useState)({}),tn=(0,E.Z)(Wt,2),vn=tn[1],yn=(0,oe.useRef)(null),zn=(0,oe.useRef)([]);function Gn(kn){zn.current.push(kn);var lr=Promise.resolve();yn.current=lr,lr.then(function(){if(yn.current===lr){var Sr=zn.current,Ar=Ot.current;zn.current=[],Sr.forEach(function(ea){Ot.current=ea(Ot.current)}),yn.current=null,Ar!==Ot.current&&vn({})}})}return(0,oe.useEffect)(function(){return function(){yn.current=null}},[]),[Ot.current,Gn]}function Ca(_t){var Ot=(0,oe.useRef)(_t||null),Wt=(0,oe.useRef)();function tn(){window.clearTimeout(Wt.current)}function vn(zn){Ot.current=zn,tn(),Wt.current=window.setTimeout(function(){Ot.current=null,Wt.current=void 0},100)}function yn(){return Ot.current}return(0,oe.useEffect)(function(){return tn},[]),[vn,yn]}function ga(){var _t=oe.useState(-1),Ot=(0,E.Z)(_t,2),Wt=Ot[0],tn=Ot[1],vn=oe.useState(-1),yn=(0,E.Z)(vn,2),zn=yn[0],Gn=yn[1],kn=oe.useCallback(function(lr,Sr){tn(lr),Gn(Sr)},[]);return[Wt,zn,kn]}var aa=pe(47273),on=(0,aa.Z)()?window:null;function Nn(_t,Ot){var Wt=(0,Se.Z)(_t)==="object"?_t:{},tn=Wt.offsetHeader,vn=tn===void 0?0:tn,yn=Wt.offsetSummary,zn=yn===void 0?0:yn,Gn=Wt.offsetScroll,kn=Gn===void 0?0:Gn,lr=Wt.getContainer,Sr=lr===void 0?function(){return on}:lr,Ar=Sr()||on;return oe.useMemo(function(){var ea=!!_t;return{isSticky:ea,stickyClassName:ea?"".concat(Ot,"-sticky-holder"):"",offsetHeader:vn,offsetSummary:zn,offsetScroll:kn,container:Ar}},[kn,vn,zn,Ot,Ar])}function dn(_t,Ot,Wt){var tn=(0,oe.useMemo)(function(){for(var vn=[],yn=[],zn=0,Gn=0,kn=0;kn=Ar&&(ko=Ar-ea),zn({scrollLeft:ko/Ar*(Sr+2)}),wa.current.x=so.pageX},vo=function(){if(yn.current){var so=(0,gr.os)(yn.current).top,Ho=so+yn.current.offsetHeight,_i=kn===window?document.documentElement.scrollTop+window.innerHeight:(0,gr.os)(kn).top+kn.clientHeight;Ho-(0,Et.Z)()<=_i||so>=_i-Gn?_a(function(di){return(0,Pe.Z)((0,Pe.Z)({},di),{},{isHiddenScrollBar:!0})}):_a(function(di){return(0,Pe.Z)((0,Pe.Z)({},di),{},{isHiddenScrollBar:!1})})}},qa=function(so){_a(function(Ho){return(0,Pe.Z)((0,Pe.Z)({},Ho),{},{scrollLeft:so/Sr*Ar||0})})};return oe.useImperativeHandle(Wt,function(){return{setScrollLeft:qa}}),oe.useEffect(function(){var Ua=(0,sr.Z)(document.body,"mouseup",Jo,!1),so=(0,sr.Z)(document.body,"mousemove",Za,!1);return vo(),function(){Ua.remove(),so.remove()}},[ea,jo]),oe.useEffect(function(){var Ua=(0,sr.Z)(kn,"scroll",vo,!1),so=(0,sr.Z)(window,"resize",vo,!1);return function(){Ua.remove(),so.remove()}},[kn]),oe.useEffect(function(){ba.isHiddenScrollBar||_a(function(Ua){var so=yn.current;return so?(0,Pe.Z)((0,Pe.Z)({},Ua),{},{scrollLeft:so.scrollLeft/so.scrollWidth*so.clientWidth}):Ua})},[ba.isHiddenScrollBar]),Sr<=Ar||!ea||ba.isHiddenScrollBar?null:oe.createElement("div",{style:{height:(0,Et.Z)(),width:Ar,bottom:Gn},className:"".concat(lr,"-sticky-scroll")},oe.createElement("div",{onMouseDown:fi,ref:Gr,className:Ee()("".concat(lr,"-sticky-scroll-bar"),(0,Be.Z)({},"".concat(lr,"-sticky-scroll-bar-active"),jo)),style:{width:"".concat(ea,"px"),transform:"translate3d(".concat(ba.scrollLeft,"px, 0, 0)")}}))},Hn=oe.forwardRef(Ea);function qn(_t){return null}var Mo=qn;function Ja(_t){return null}var Wa=Ja,Ni="rc-table",Ur=[],pa={};function Ba(){return"No Data"}function va(_t){var Ot,Wt=(0,Pe.Z)({rowKey:"key",prefixCls:Ni,emptyText:Ba},_t),tn=Wt.prefixCls,vn=Wt.className,yn=Wt.rowClassName,zn=Wt.style,Gn=Wt.data,kn=Wt.rowKey,lr=Wt.scroll,Sr=Wt.tableLayout,Ar=Wt.direction,ea=Wt.title,Gr=Wt.footer,Yr=Wt.summary,ja=Wt.caption,ba=Wt.id,_a=Wt.showHeader,wa=Wt.components,Qa=Wt.emptyText,_o=Wt.onRow,jo=Wt.onHeaderRow,po=Wt.internalHooks,Jo=Wt.transformColumns,fi=Wt.internalRefs,Za=Wt.tailor,vo=Wt.sticky,qa=Gn||Ur,Ua=!!qa.length,so=po===Qe,Ho=oe.useCallback(function(hs,Us){return(0,Oe.Z)(wa,hs)||Us},[wa]),_i=oe.useMemo(function(){return typeof kn=="function"?kn:function(hs){var Us=hs&&hs[kn];return Us}},[kn]),di=Ho(["body"]),ko=ga(),Si=(0,E.Z)(ko,3),Gi=Si[0],Fs=Si[1],ns=Si[2],Qs=er(Wt,qa,_i),el=(0,E.Z)(Qs,6),pi=el[0],hl=el[1],ls=el[2],_s=el[3],Ts=el[4],lu=el[5],ao=lr==null?void 0:lr.x,Go=oe.useState(0),Qo=(0,E.Z)(Go,2),Eo=Qo[0],us=Qo[1],Bo=fa((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Wt),pi),{},{expandable:!!pi.expandedRowRender,columnTitle:pi.columnTitle,expandedKeys:ls,getRowKey:_i,onTriggerExpand:lu,expandIcon:_s,expandIconColumnIndex:pi.expandIconColumnIndex,direction:Ar,scrollWidth:so&&Za&&typeof ao=="number"?ao:null}),so?Jo:null),si=(0,E.Z)(Bo,3),Zi=si[0],Vi=si[1],Zl=si[2],cl=Zl!=null?Zl:ao,Hu=oe.useMemo(function(){return{columns:Zi,flattenColumns:Vi}},[Zi,Vi]),dl=oe.useRef(),wu=oe.useRef(),ka=oe.useRef(),tu=oe.useRef(),ed=oe.useRef(),cs=oe.useState(!1),Wi=(0,E.Z)(cs,2),Ys=Wi[0],bl=Wi[1],Rs=oe.useState(!1),Li=(0,E.Z)(Rs,2),Vl=Li[0],kl=Li[1],uu=kr(new Map),nu=(0,E.Z)(uu,2),ru=nu[0],_u=nu[1],gc=et(Vi),Lu=gc.map(function(hs){return ru.get(hs)}),tl=oe.useMemo(function(){return Lu},[Lu.join("_")]),Ll=Yn(tl,Vi.length,Ar),gl=lr&&it(lr.y),Js=lr&&it(cl)||!!pi.fixed,Vu=Js&&Vi.some(function(hs){var Us=hs.fixed;return Us}),lc=oe.useRef(),pc=Nn(vo,tn),Xu=pc.isSticky,qd=pc.offsetHeader,IA=pc.offsetSummary,Xi=pc.offsetScroll,js=pc.stickyClassName,Il=pc.container,Zs=oe.useMemo(function(){return Yr==null?void 0:Yr(qa)},[Yr,qa]),Ol=(gl||Xu)&&oe.isValidElement(Zs)&&Zs.type===De&&Zs.props.fixed,Rl,nl,Yu;gl&&(nl={overflowY:"scroll",maxHeight:lr.y}),Js&&(Rl={overflowX:"auto"},gl||(nl={overflowY:"hidden"}),Yu={width:cl===!0?"auto":cl,minWidth:"100%"});var $d=oe.useCallback(function(hs,Us){(0,mt.Z)(dl.current)&&_u(function(Qu){if(Qu.get(hs)!==Us){var Tc=new Map(Qu);return Tc.set(hs,Us),Tc}return Qu})},[]),eA=Ca(null),OA=(0,E.Z)(eA,2),gf=OA[0],pf=OA[1];function xd(hs,Us){Us&&(typeof Us=="function"?Us(hs):Us.scrollLeft!==hs&&(Us.scrollLeft=hs,Us.scrollLeft!==hs&&setTimeout(function(){Us.scrollLeft=hs},0)))}var Ju=(0,we.Z)(function(hs){var Us=hs.currentTarget,Qu=hs.scrollLeft,Tc=Ar==="rtl",jc=typeof Qu=="number"?Qu:Us.scrollLeft,Sh=Us||pa;if(!pf()||pf()===Sh){var Cf;gf(Sh),xd(jc,wu.current),xd(jc,ka.current),xd(jc,ed.current),xd(jc,(Cf=lc.current)===null||Cf===void 0?void 0:Cf.setScrollLeft)}var Ef=Us||wu.current;if(Ef){var Bf=Ef.scrollWidth,xf=Ef.clientWidth;if(Bf===xf){bl(!1),kl(!1);return}Tc?(bl(-jc0)):(bl(jc>0),kl(jc1?ja-so:0,_i=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Jo),kn),{},{flex:"0 0 ".concat(so,"px"),width:"".concat(so,"px"),marginRight:Ho,pointerEvents:"auto"}),di=oe.useMemo(function(){return Sr?qa<=1:Za===0||qa===0||qa>1},[qa,Za,Sr]);di?_i.visibility="hidden":Sr&&(_i.height=Ar==null?void 0:Ar(qa));var ko=di?function(){return null}:ea,Si={};return(qa===0||Za===0)&&(Si.rowSpan=1,Si.colSpan=1),oe.createElement(Tt,(0,se.Z)({className:Ee()(Yr,lr),ellipsis:Wt.ellipsis,align:Wt.align,scope:Wt.rowScope,component:"div",prefixCls:Ot.prefixCls,key:Qa,record:Gn,index:yn,renderIndex:zn,dataIndex:Gr,render:ko,shouldCellUpdate:Wt.shouldCellUpdate},_o,{appendNode:jo,additionalProps:(0,Pe.Z)((0,Pe.Z)({},po),{},{style:_i},Si)}))}var oa=Qi,mo=["data","index","className","rowKey","style","extra","getHeight"],cr=oe.forwardRef(function(_t,Ot){var Wt=_t.data,tn=_t.index,vn=_t.className,yn=_t.rowKey,zn=_t.style,Gn=_t.extra,kn=_t.getHeight,lr=(0,Ve.Z)(_t,mo),Sr=Wt.record,Ar=Wt.indent,ea=Wt.index,Gr=re(ve,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Yr=Gr.scrollX,ja=Gr.flattenColumns,ba=Gr.prefixCls,_a=Gr.fixColumn,wa=Gr.componentWidth,Qa=bt(Sr,yn,tn,Ar),_o=Qa.rowSupportExpand,jo=Qa.expanded,po=Qa.rowProps,Jo=Qa.expandedRowRender,fi=Qa.expandedRowClassName,Za;if(_o&&jo){var vo=Jo(Sr,tn,Ar+1,jo),qa=fi==null?void 0:fi(Sr,tn,Ar),Ua={};_a&&(Ua={style:(0,Be.Z)({},"--virtual-width","".concat(wa,"px"))});var so="".concat(ba,"-expanded-row-cell");Za=oe.createElement("div",{className:Ee()("".concat(ba,"-expanded-row"),"".concat(ba,"-expanded-row-level-").concat(Ar+1),qa)},oe.createElement(Tt,{component:"div",prefixCls:ba,className:Ee()(so,(0,Be.Z)({},"".concat(so,"-fixed"),_a)),additionalProps:Ua},vo))}var Ho=(0,Pe.Z)((0,Pe.Z)({},zn),{},{width:Yr});Gn&&(Ho.position="absolute",Ho.pointerEvents="none");var _i=oe.createElement("div",(0,se.Z)({},po,lr,{ref:_o?null:Ot,className:Ee()(vn,"".concat(ba,"-row"),po==null?void 0:po.className,(0,Be.Z)({},"".concat(ba,"-row-extra"),Gn)),style:(0,Pe.Z)((0,Pe.Z)({},Ho),po==null?void 0:po.style)}),ja.map(function(di,ko){return oe.createElement(oa,{key:ko,rowInfo:Qa,column:di,colIndex:ko,indent:Ar,index:tn,renderIndex:ea,record:Sr,inverse:Gn,getHeight:kn})}));return _o?oe.createElement("div",{ref:Ot},_i,Za):_i}),ma=te(cr),Ha=ma,Da=oe.forwardRef(function(_t,Ot){var Wt=_t.data,tn=_t.onScroll,vn=re(ve,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),yn=vn.flattenColumns,zn=vn.onColumnResize,Gn=vn.getRowKey,kn=vn.expandedKeys,lr=vn.prefixCls,Sr=vn.childrenColumnName,Ar=vn.emptyNode,ea=vn.scrollX,Gr=re(ii),Yr=Gr.scrollY,ja=Gr.listItemHeight,ba=oe.useRef(),_a=Lt(Wt,Sr,kn,Gn),wa=oe.useMemo(function(){var Za=0;return yn.map(function(vo){var qa=vo.width,Ua=vo.key;return Za+=qa,[Ua,qa,Za]})},[yn]),Qa=oe.useMemo(function(){return wa.map(function(Za){return Za[2]})},[wa]);oe.useEffect(function(){wa.forEach(function(Za){var vo=(0,E.Z)(Za,2),qa=vo[0],Ua=vo[1];zn(qa,Ua)})},[wa]),oe.useImperativeHandle(Ot,function(){var Za={};return Object.defineProperty(Za,"scrollLeft",{get:function(){var qa;return((qa=ba.current)===null||qa===void 0?void 0:qa.getScrollInfo().x)||0},set:function(qa){var Ua;(Ua=ba.current)===null||Ua===void 0||Ua.scrollTo({left:qa})}}),Za});var _o=function(vo,qa){var Ua,so=(Ua=_a[qa])===null||Ua===void 0?void 0:Ua.record,Ho=vo.onCell;if(Ho){var _i,di=Ho(so,qa);return(_i=di==null?void 0:di.rowSpan)!==null&&_i!==void 0?_i:1}return 1},jo=function(vo){var qa=vo.start,Ua=vo.end,so=vo.getSize,Ho=vo.offsetY;if(Ua<0)return null;for(var _i=yn.filter(function(ao){return _o(ao,qa)===0}),di=qa,ko=function(Go){if(_i=_i.filter(function(Qo){return _o(Qo,Go)===0}),!_i.length)return di=Go,"break"},Si=qa;Si>=0;Si-=1){var Gi=ko(Si);if(Gi==="break")break}for(var Fs=yn.filter(function(ao){return _o(ao,Ua)!==1}),ns=Ua,Qs=function(Go){if(Fs=Fs.filter(function(Qo){return _o(Qo,Go)!==1}),!Fs.length)return ns=Math.max(Go-1,Ua),"break"},el=Ua;el<_a.length;el+=1){var pi=Qs(el);if(pi==="break")break}for(var hl=[],ls=function(Go){var Qo=_a[Go];if(!Qo)return"continue";yn.some(function(Eo){return _o(Eo,Go)>1})&&hl.push(Go)},_s=di;_s<=ns;_s+=1)var Ts=ls(_s);var lu=hl.map(function(ao){var Go=_a[ao],Qo=Gn(Go.record,ao),Eo=function(si){var Zi=ao+si-1,Vi=Gn(_a[Zi].record,Zi),Zl=so(Qo,Vi);return Zl.bottom-Zl.top},us=so(Qo);return oe.createElement(Ha,{key:ao,data:Go,rowKey:Qo,index:ao,style:{top:-Ho+us.top},extra:!0,getHeight:Eo})});return lu},po=oe.useMemo(function(){return{columnsOffset:Qa}},[Qa]),Jo="".concat(lr,"-tbody"),fi;return _a.length?fi=oe.createElement(mi.Z,{fullHeight:!1,ref:ba,className:Ee()(Jo,"".concat(Jo,"-virtual")),height:Yr,itemHeight:ja||24,data:_a,itemKey:function(vo){return Gn(vo.record)},scrollWidth:ea,onVirtualScroll:function(vo){var qa=vo.x;tn({scrollLeft:qa})},extraRender:jo},function(Za,vo,qa){var Ua=Gn(Za.record,vo);return oe.createElement(Ha,(0,se.Z)({data:Za,rowKey:Ua,index:vo},qa))}):fi=oe.createElement("div",{className:Ee()("".concat(lr,"-placeholder"))},oe.createElement(Tt,{component:"div",prefixCls:lr},Ar)),oe.createElement(ki.Provider,{value:po},fi)}),fo=te(Da),Yo=fo,lo=function(Ot,Wt){var tn=Wt.ref,vn=Wt.onScroll;return oe.createElement(Yo,{ref:tn,data:Ot,onScroll:vn})},Wo=100;function Fi(_t){var Ot=_t.columns,Wt=_t.scroll,tn=_t.prefixCls,vn=tn===void 0?Ni:tn,yn=_t.className,zn=_t.listItemHeight,Gn=Wt||{},kn=Gn.x,lr=Gn.y;typeof kn!="number"&&(kn=((Ot||[]).length+1)*Wo),typeof lr!="number"&&(lr=500);var Sr=oe.useMemo(function(){return{scrollY:lr,listItemHeight:zn}},[lr,zn]);return oe.createElement(ii.Provider,{value:Sr},oe.createElement(Ia,(0,se.Z)({},_t,{className:Ee()(yn,"".concat(vn,"-virtual")),scroll:(0,Pe.Z)((0,Pe.Z)({},Wt),{},{x:kn}),components:{body:lo},columns:Ot,internalHooks:Qe,tailor:!0})))}function Ko(_t){return ee(Fi,_t)}var Fo=Ko(),ei=null;function bi(_t){return null}var wi=bi;function ws(_t){return null}var $i=ws,Ps=pe(2738),ms=pe(68031),gi=pe(36355),bn=pe(93891),ar=pe(19716),Rr=pe(8628),uo=pe(31724),Oo=pe(58421),ho=pe(71418),Nr=pe(88088);function pr(_t){return function(Wt){let{prefixCls:tn,onExpand:vn,record:yn,expanded:zn,expandable:Gn}=Wt;const kn=`${tn}-row-expand-icon`;return oe.createElement("button",{type:"button",onClick:lr=>{vn(yn,lr),lr.stopPropagation()},className:Ee()(kn,{[`${kn}-spaced`]:!Gn,[`${kn}-expanded`]:Gn&&zn,[`${kn}-collapsed`]:Gn&&!zn}),"aria-label":zn?_t.collapse:_t.expand,"aria-expanded":zn})}}var ur=pr;function Br(_t,Ot){return"key"in _t&&_t.key!==void 0&&_t.key!==null?_t.key:_t.dataIndex?Array.isArray(_t.dataIndex)?_t.dataIndex.join("."):_t.dataIndex:Ot}function Ta(_t,Ot){return Ot?`${Ot}-${_t}`:`${_t}`}function Qr(_t,Ot){return typeof _t=="function"?_t(Ot):_t}function bo(_t,Ot){const Wt=Qr(_t,Ot);return Object.prototype.toString.call(Wt)==="[object Object]"?"":Wt}var oo={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"},To=oo,No=pe(7657),Xo=function(Ot,Wt){return oe.createElement(No.Z,(0,se.Z)({},Ot,{ref:Wt,icon:To}))},no=oe.forwardRef(Xo),ci=no,Zo=pe(56762);function xa(_t){const Ot=oe.useRef(_t),Wt=(0,Zo.Z)();return[()=>Ot.current,tn=>{Ot.current=tn,Wt()}]}var jn=pe(3113),Dn=pe(24905),_n=pe(38854),dr=pe(64165),ha=pe(20834),ya=pe(40875),Tr=pe(5112),Ya=pe(17574),Va=pe(47472),eo=pe(92832);function zi(_t){let{value:Ot,onChange:Wt,filterSearch:tn,tablePrefixCls:vn,locale:yn}=_t;return tn?oe.createElement("div",{className:`${vn}-filter-dropdown-search`},oe.createElement(eo.default,{prefix:oe.createElement(Va.Z,null),placeholder:yn.filterSearchPlaceholder,onChange:Wt,value:Ot,htmlSize:1,className:`${vn}-filter-dropdown-search-input`})):null}var Ir=zi,ti=pe(10228);const Di=_t=>{const{keyCode:Ot}=_t;Ot===ti.Z.ENTER&&_t.stopPropagation()};var wo=oe.forwardRef((_t,Ot)=>oe.createElement("div",{className:_t.className,onClick:Wt=>Wt.stopPropagation(),onKeyDown:Di,ref:Ot},_t.children));function $r(_t){let Ot=[];return(_t||[]).forEach(Wt=>{let{value:tn,children:vn}=Wt;Ot.push(tn),vn&&(Ot=[].concat((0,En.Z)(Ot),(0,En.Z)($r(vn))))}),Ot}function Ki(_t){return _t.some(Ot=>{let{children:Wt}=Ot;return Wt})}function co(_t,Ot){return typeof Ot=="string"||typeof Ot=="number"?Ot==null?void 0:Ot.toString().toLowerCase().includes(_t.trim().toLowerCase()):!1}function Ka(_t){let{filters:Ot,prefixCls:Wt,filteredKeys:tn,filterMultiple:vn,searchValue:yn,filterSearch:zn}=_t;return Ot.map((Gn,kn)=>{const lr=String(Gn.value);if(Gn.children)return{key:lr||kn,label:Gn.text,popupClassName:`${Wt}-dropdown-submenu`,children:Ka({filters:Gn.children,prefixCls:Wt,filteredKeys:tn,filterMultiple:vn,searchValue:yn,filterSearch:zn})};const Sr=vn?Dn.default:Tr.ZP,Ar={key:Gn.value!==void 0?lr:kn,label:oe.createElement(oe.Fragment,null,oe.createElement(Sr,{checked:tn.includes(lr)}),oe.createElement("span",null,Gn.text))};return yn.trim()?typeof zn=="function"?zn(yn,Gn)?Ar:null:co(yn,Gn.text)?Ar:null:Ar})}function ks(_t){var Ot,Wt;const{tablePrefixCls:tn,prefixCls:vn,column:yn,dropdownPrefixCls:zn,columnKey:Gn,filterMultiple:kn,filterMode:lr="menu",filterSearch:Sr=!1,filterState:Ar,triggerFilter:ea,locale:Gr,children:Yr,getPopupContainer:ja}=_t,{filterDropdownOpen:ba,onFilterDropdownOpenChange:_a,filterResetToDefaultFilteredValue:wa,defaultFilteredValue:Qa,filterDropdownVisible:_o,onFilterDropdownVisibleChange:jo}=yn,[po,Jo]=oe.useState(!1),fi=!!(Ar&&(!((Ot=Ar.filteredKeys)===null||Ot===void 0)&&Ot.length||Ar.forceFiltered)),Za=Bo=>{Jo(Bo),_a==null||_a(Bo),jo==null||jo(Bo)},vo=(Wt=ba!=null?ba:_o)!==null&&Wt!==void 0?Wt:po,qa=Ar==null?void 0:Ar.filteredKeys,[Ua,so]=xa(qa||[]),Ho=Bo=>{let{selectedKeys:si}=Bo;so(si)},_i=(Bo,si)=>{let{node:Zi,checked:Vi}=si;Ho(kn?{selectedKeys:Bo}:{selectedKeys:Vi&&Zi.key?[Zi.key]:[]})};oe.useEffect(()=>{po&&Ho({selectedKeys:qa||[]})},[qa]);const[di,ko]=oe.useState([]),Si=Bo=>{ko(Bo)},[Gi,Fs]=oe.useState(""),ns=Bo=>{const{value:si}=Bo.target;Fs(si)};oe.useEffect(()=>{po||Fs("")},[po]);const Qs=Bo=>{const si=Bo&&Bo.length?Bo:null;if(si===null&&(!Ar||!Ar.filteredKeys)||(0,ue.Z)(si,Ar==null?void 0:Ar.filteredKeys,!0))return null;ea({column:yn,key:Gn,filteredKeys:si})},el=()=>{Za(!1),Qs(Ua())},pi=function(){let{confirm:Bo,closeDropdown:si}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Bo&&Qs([]),si&&Za(!1),Fs(""),so(wa?(Qa||[]).map(Zi=>String(Zi)):[])},hl=function(){let{closeDropdown:Bo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Bo&&Za(!1),Qs(Ua())},ls=Bo=>{Bo&&qa!==void 0&&so(qa||[]),Za(Bo),!Bo&&!yn.filterDropdown&&el()},_s=Ee()({[`${zn}-menu-without-submenu`]:!Ki(yn.filters||[])}),Ts=Bo=>{if(Bo.target.checked){const si=$r(yn==null?void 0:yn.filters).map(Zi=>String(Zi));so(si)}else so([])},lu=Bo=>{let{filters:si}=Bo;return(si||[]).map((Zi,Vi)=>{const Zl=String(Zi.value),cl={title:Zi.text,key:Zi.value!==void 0?Zl:Vi};return Zi.children&&(cl.children=lu({filters:Zi.children})),cl})},ao=Bo=>{var si;return Object.assign(Object.assign({},Bo),{text:Bo.title,value:Bo.key,children:((si=Bo.children)===null||si===void 0?void 0:si.map(Zi=>ao(Zi)))||[]})};let Go;if(typeof yn.filterDropdown=="function")Go=yn.filterDropdown({prefixCls:`${zn}-custom`,setSelectedKeys:Bo=>Ho({selectedKeys:Bo}),selectedKeys:Ua(),confirm:hl,clearFilters:pi,filters:yn.filters,visible:vo,close:()=>{Za(!1)}});else if(yn.filterDropdown)Go=yn.filterDropdown;else{const Bo=Ua()||[],si=()=>(yn.filters||[]).length===0?oe.createElement(dr.Z,{image:dr.Z.PRESENTED_IMAGE_SIMPLE,description:Gr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):lr==="tree"?oe.createElement(oe.Fragment,null,oe.createElement(Ir,{filterSearch:Sr,value:Gi,onChange:ns,tablePrefixCls:tn,locale:Gr}),oe.createElement("div",{className:`${tn}-filter-dropdown-tree`},kn?oe.createElement(Dn.default,{checked:Bo.length===$r(yn.filters).length,indeterminate:Bo.length>0&&Bo.length<$r(yn.filters).length,className:`${tn}-filter-dropdown-checkall`,onChange:Ts},Gr.filterCheckall):null,oe.createElement(Ya.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:kn,checkStrictly:!kn,className:`${zn}-menu`,onCheck:_i,checkedKeys:Bo,selectedKeys:Bo,showIcon:!1,treeData:lu({filters:yn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Gi.trim()?Vi=>typeof Sr=="function"?Sr(Gi,ao(Vi)):co(Gi,Vi.title):void 0}))):oe.createElement(oe.Fragment,null,oe.createElement(Ir,{filterSearch:Sr,value:Gi,onChange:ns,tablePrefixCls:tn,locale:Gr}),oe.createElement(ha.default,{selectable:!0,multiple:kn,prefixCls:`${zn}-menu`,className:_s,onSelect:Ho,onDeselect:Ho,selectedKeys:Bo,getPopupContainer:ja,openKeys:di,onOpenChange:Si,items:Ka({filters:yn.filters||[],filterSearch:Sr,prefixCls:vn,filteredKeys:Ua(),filterMultiple:kn,searchValue:Gi})})),Zi=()=>wa?(0,ue.Z)((Qa||[]).map(Vi=>String(Vi)),Bo,!0):Bo.length===0;Go=oe.createElement(oe.Fragment,null,si(),oe.createElement("div",{className:`${vn}-dropdown-btns`},oe.createElement(jn.ZP,{type:"link",size:"small",disabled:Zi(),onClick:()=>pi()},Gr.filterReset),oe.createElement(jn.ZP,{type:"primary",size:"small",onClick:el},Gr.filterConfirm)))}yn.filterDropdown&&(Go=oe.createElement(ya.J,{selectable:void 0},Go));const Qo=()=>oe.createElement(wo,{className:`${vn}-dropdown`},Go);let Eo;typeof yn.filterIcon=="function"?Eo=yn.filterIcon(fi):yn.filterIcon?Eo=yn.filterIcon:Eo=oe.createElement(ci,null);const{direction:us}=oe.useContext(gi.E_);return oe.createElement("div",{className:`${vn}-column`},oe.createElement("span",{className:`${tn}-column-title`},Yr),oe.createElement(_n.Z,{dropdownRender:Qo,trigger:["click"],open:vo,onOpenChange:ls,getPopupContainer:ja,placement:us==="rtl"?"bottomLeft":"bottomRight"},oe.createElement("span",{role:"button",tabIndex:-1,className:Ee()(`${vn}-trigger`,{active:fi}),onClick:Bo=>{Bo.stopPropagation()}},Eo)))}var mu=ks;function vu(_t,Ot,Wt){let tn=[];return(_t||[]).forEach((vn,yn)=>{var zn;const Gn=Ta(yn,Wt);if(vn.filters||"filterDropdown"in vn||"onFilter"in vn)if("filteredValue"in vn){let kn=vn.filteredValue;"filterDropdown"in vn||(kn=(zn=kn==null?void 0:kn.map(String))!==null&&zn!==void 0?zn:kn),tn.push({column:vn,key:Br(vn,Gn),filteredKeys:kn,forceFiltered:vn.filtered})}else tn.push({column:vn,key:Br(vn,Gn),filteredKeys:Ot&&vn.defaultFilteredValue?vn.defaultFilteredValue:void 0,forceFiltered:vn.filtered});"children"in vn&&(tn=[].concat((0,En.Z)(tn),(0,En.Z)(vu(vn.children,Ot,Gn))))}),tn}function Pu(_t,Ot,Wt,tn,vn,yn,zn,Gn){return Wt.map((kn,lr)=>{const Sr=Ta(lr,Gn),{filterMultiple:Ar=!0,filterMode:ea,filterSearch:Gr}=kn;let Yr=kn;if(Yr.filters||Yr.filterDropdown){const ja=Br(Yr,Sr),ba=tn.find(_a=>{let{key:wa}=_a;return ja===wa});Yr=Object.assign(Object.assign({},Yr),{title:_a=>oe.createElement(mu,{tablePrefixCls:_t,prefixCls:`${_t}-filter`,dropdownPrefixCls:Ot,column:Yr,columnKey:ja,filterState:ba,filterMultiple:Ar,filterMode:ea,filterSearch:Gr,triggerFilter:yn,locale:vn,getPopupContainer:zn},Qr(kn.title,_a))})}return"children"in Yr&&(Yr=Object.assign(Object.assign({},Yr),{children:Pu(_t,Ot,Yr.children,tn,vn,yn,zn,Sr)})),Yr})}function zl(_t){const Ot={};return _t.forEach(Wt=>{let{key:tn,filteredKeys:vn,column:yn}=Wt;const{filters:zn,filterDropdown:Gn}=yn;if(Gn)Ot[tn]=vn||null;else if(Array.isArray(vn)){const kn=$r(zn);Ot[tn]=kn.filter(lr=>vn.includes(String(lr)))}else Ot[tn]=null}),Ot}function Pc(_t,Ot){return Ot.reduce((Wt,tn)=>{const{column:{onFilter:vn,filters:yn},filteredKeys:zn}=tn;return vn&&zn&&zn.length?Wt.filter(Gn=>zn.some(kn=>{const lr=$r(yn),Sr=lr.findIndex(ea=>String(ea)===String(kn)),Ar=Sr!==-1?lr[Sr]:kn;return vn(Ar,Gn)})):Wt},_t)}const Kl=_t=>_t.flatMap(Ot=>"children"in Ot?[Ot].concat((0,En.Z)(Kl(Ot.children||[]))):[Ot]);function Os(_t){let{prefixCls:Ot,dropdownPrefixCls:Wt,mergedColumns:tn,onFilterChange:vn,getPopupContainer:yn,locale:zn}=_t;const Gn=oe.useMemo(()=>Kl(tn||[]),[tn]),[kn,lr]=oe.useState(()=>vu(Gn,!0)),Sr=oe.useMemo(()=>{const Yr=vu(Gn,!1);if(Yr.length===0)return Yr;let ja=!0,ba=!0;if(Yr.forEach(_a=>{let{filteredKeys:wa}=_a;wa!==void 0?ja=!1:ba=!1}),ja){const _a=(Gn||[]).map((wa,Qa)=>Br(wa,Ta(Qa)));return kn.filter(wa=>{let{key:Qa}=wa;return _a.includes(Qa)}).map(wa=>{const Qa=Gn[_a.findIndex(_o=>_o===wa.key)];return Object.assign(Object.assign({},wa),{column:Object.assign(Object.assign({},wa.column),Qa),forceFiltered:Qa.filtered})})}return Yr},[Gn,kn]),Ar=oe.useMemo(()=>zl(Sr),[Sr]),ea=Yr=>{const ja=Sr.filter(ba=>{let{key:_a}=ba;return _a!==Yr.key});ja.push(Yr),lr(ja),vn(zl(ja),ja)};return[Yr=>Pu(Ot,Wt,Yr,Sr,zn,ea,yn),Sr,Ar]}var oc=Os;function Xs(_t,Ot,Wt){const tn=oe.useRef({});function vn(yn){if(!tn.current||tn.current.data!==_t||tn.current.childrenColumnName!==Ot||tn.current.getRowKey!==Wt){let Gn=function(kn){kn.forEach((lr,Sr)=>{const Ar=Wt(lr,Sr);zn.set(Ar,lr),lr&&typeof lr=="object"&&Ot in lr&&Gn(lr[Ot]||[])})};const zn=new Map;Gn(_t),tn.current={data:_t,childrenColumnName:Ot,kvMap:zn,getRowKey:Wt}}return tn.current.kvMap.get(yn)}return[vn]}var ic=pe(50371),Ml=function(_t,Ot){var Wt={};for(var tn in _t)Object.prototype.hasOwnProperty.call(_t,tn)&&Ot.indexOf(tn)<0&&(Wt[tn]=_t[tn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,tn=Object.getOwnPropertySymbols(_t);vn{const yn=_t[vn];typeof yn!="function"&&(Wt[vn]=yn)}),Wt}function Vc(_t,Ot,Wt){const tn=Wt&&typeof Wt=="object"?Wt:{},{total:vn=0}=tn,yn=Ml(tn,["total"]),[zn,Gn]=(0,oe.useState)(()=>({current:"defaultCurrent"in yn?yn.defaultCurrent:1,pageSize:"defaultPageSize"in yn?yn.defaultPageSize:Gl})),kn=(0,ic.Z)(zn,yn,{total:vn>0?vn:_t}),lr=Math.ceil((vn||_t)/kn.pageSize);kn.current>lr&&(kn.current=lr||1);const Sr=(ea,Gr)=>{Gn({current:ea!=null?ea:1,pageSize:Gr||kn.pageSize})},Ar=(ea,Gr)=>{var Yr;Wt&&((Yr=Wt.onChange)===null||Yr===void 0||Yr.call(Wt,ea,Gr)),Sr(ea,Gr),Ot(ea,Gr||(kn==null?void 0:kn.pageSize))};return Wt===!1?[{},()=>{}]:[Object.assign(Object.assign({},kn),{onChange:Ar}),Sr]}var bd=Vc,Xc=pe(84105),ul=pe(35654),yu=pe(90782),sc=pe(71430),xA=pe(18929);const Al={},ku="SELECT_ALL",ro="SELECT_INVERT",Vo="SELECT_NONE",Ds=[],Wl=(_t,Ot)=>{let Wt=[];return(Ot||[]).forEach(tn=>{Wt.push(tn),tn&&typeof tn=="object"&&_t in tn&&(Wt=[].concat((0,En.Z)(Wt),(0,En.Z)(Wl(_t,tn[_t]))))}),Wt};var yl=(_t,Ot)=>{const{preserveSelectedRowKeys:Wt,selectedRowKeys:tn,defaultSelectedRowKeys:vn,getCheckboxProps:yn,onChange:zn,onSelect:Gn,onSelectAll:kn,onSelectInvert:lr,onSelectNone:Sr,onSelectMultiple:Ar,columnWidth:ea,type:Gr,selections:Yr,fixed:ja,renderCell:ba,hideSelectAll:_a,checkStrictly:wa=!0}=Ot||{},{prefixCls:Qa,data:_o,pageData:jo,getRecordByKey:po,getRowKey:Jo,expandType:fi,childrenColumnName:Za,locale:vo,getPopupContainer:qa}=_t,[Ua,so]=(0,xA.Z)(tn||vn||Ds,{value:tn}),Ho=oe.useRef(new Map),_i=(0,oe.useCallback)(ao=>{if(Wt){const Go=new Map;ao.forEach(Qo=>{let Eo=po(Qo);!Eo&&Ho.current.has(Qo)&&(Eo=Ho.current.get(Qo)),Go.set(Qo,Eo)}),Ho.current=Go}},[po,Wt]);oe.useEffect(()=>{_i(Ua)},[Ua]);const{keyEntities:di}=(0,oe.useMemo)(()=>{if(wa)return{keyEntities:null};let ao=_o;if(Wt){const Go=new Set(_o.map((Eo,us)=>Jo(Eo,us))),Qo=Array.from(Ho.current).reduce((Eo,us)=>{let[Bo,si]=us;return Go.has(Bo)?Eo:Eo.concat(si)},[]);ao=[].concat((0,En.Z)(ao),(0,En.Z)(Qo))}return(0,sc.I8)(ao,{externalGetKey:Jo,childrenPropName:Za})},[_o,Jo,wa,Za,Wt]),ko=(0,oe.useMemo)(()=>Wl(Za,jo),[Za,jo]),Si=(0,oe.useMemo)(()=>{const ao=new Map;return ko.forEach((Go,Qo)=>{const Eo=Jo(Go,Qo),us=(yn?yn(Go):null)||{};ao.set(Eo,us)}),ao},[ko,Jo,yn]),Gi=(0,oe.useCallback)(ao=>{var Go;return!!(!((Go=Si.get(Jo(ao)))===null||Go===void 0)&&Go.disabled)},[Si,Jo]),[Fs,ns]=(0,oe.useMemo)(()=>{if(wa)return[Ua||[],[]];const{checkedKeys:ao,halfCheckedKeys:Go}=(0,yu.S)(Ua,!0,di,Gi);return[ao||[],Go]},[Ua,wa,di,Gi]),Qs=(0,oe.useMemo)(()=>{const ao=Gr==="radio"?Fs.slice(0,1):Fs;return new Set(ao)},[Fs,Gr]),el=(0,oe.useMemo)(()=>Gr==="radio"?new Set:new Set(ns),[ns,Gr]),[pi,hl]=(0,oe.useState)(null);oe.useEffect(()=>{Ot||so(Ds)},[!!Ot]);const ls=(0,oe.useCallback)((ao,Go)=>{let Qo,Eo;_i(ao),Wt?(Qo=ao,Eo=ao.map(us=>Ho.current.get(us))):(Qo=[],Eo=[],ao.forEach(us=>{const Bo=po(us);Bo!==void 0&&(Qo.push(us),Eo.push(Bo))})),so(Qo),zn==null||zn(Qo,Eo,{type:Go})},[so,po,zn,Wt]),_s=(0,oe.useCallback)((ao,Go,Qo,Eo)=>{if(Gn){const us=Qo.map(Bo=>po(Bo));Gn(po(ao),Go,us,Eo)}ls(Qo,"single")},[Gn,po,ls]),Ts=(0,oe.useMemo)(()=>!Yr||_a?null:(Yr===!0?[ku,ro,Vo]:Yr).map(Go=>Go===ku?{key:"all",text:vo.selectionAll,onSelect(){ls(_o.map((Qo,Eo)=>Jo(Qo,Eo)).filter(Qo=>{const Eo=Si.get(Qo);return!(Eo!=null&&Eo.disabled)||Qs.has(Qo)}),"all")}}:Go===ro?{key:"invert",text:vo.selectInvert,onSelect(){const Qo=new Set(Qs);jo.forEach((us,Bo)=>{const si=Jo(us,Bo),Zi=Si.get(si);Zi!=null&&Zi.disabled||(Qo.has(si)?Qo.delete(si):Qo.add(si))});const Eo=Array.from(Qo);lr&&lr(Eo),ls(Eo,"invert")}}:Go===Vo?{key:"none",text:vo.selectNone,onSelect(){Sr==null||Sr(),ls(Array.from(Qs).filter(Qo=>{const Eo=Si.get(Qo);return Eo==null?void 0:Eo.disabled}),"none")}}:Go).map(Go=>Object.assign(Object.assign({},Go),{onSelect:function(){for(var Qo,Eo,us=arguments.length,Bo=new Array(us),si=0;si{var Go;if(!Ot)return ao.filter(cs=>cs!==Al);let Qo=(0,En.Z)(ao);const Eo=new Set(Qs),us=ko.map(Jo).filter(cs=>!Si.get(cs).disabled),Bo=us.every(cs=>Eo.has(cs)),si=us.some(cs=>Eo.has(cs)),Zi=()=>{const cs=[];Bo?us.forEach(Ys=>{Eo.delete(Ys),cs.push(Ys)}):us.forEach(Ys=>{Eo.has(Ys)||(Eo.add(Ys),cs.push(Ys))});const Wi=Array.from(Eo);kn==null||kn(!Bo,Wi.map(Ys=>po(Ys)),cs.map(Ys=>po(Ys))),ls(Wi,"all"),hl(null)};let Vi;if(Gr!=="radio"){let cs;if(Ts){const Li={getPopupContainer:qa,items:Ts.map((Vl,kl)=>{const{key:uu,text:nu,onSelect:ru}=Vl;return{key:uu!=null?uu:kl,onClick:()=>{ru==null||ru(us)},label:nu}})};cs=oe.createElement("div",{className:`${Qa}-selection-extra`},oe.createElement(_n.Z,{menu:Li,getPopupContainer:qa},oe.createElement("span",null,oe.createElement(Xc.Z,null))))}const Wi=ko.map((Li,Vl)=>{const kl=Jo(Li,Vl),uu=Si.get(kl)||{};return Object.assign({checked:Eo.has(kl)},uu)}).filter(Li=>{let{disabled:Vl}=Li;return Vl}),Ys=!!Wi.length&&Wi.length===ko.length,bl=Ys&&Wi.every(Li=>{let{checked:Vl}=Li;return Vl}),Rs=Ys&&Wi.some(Li=>{let{checked:Vl}=Li;return Vl});Vi=!_a&&oe.createElement("div",{className:`${Qa}-selection`},oe.createElement(Dn.default,{checked:Ys?bl:!!ko.length&&Bo,indeterminate:Ys?!bl&&Rs:!Bo&&si,onChange:Zi,disabled:ko.length===0||Ys,"aria-label":cs?"Custom selection":"Select all",skipGroup:!0}),cs)}let Zl;Gr==="radio"?Zl=(cs,Wi,Ys)=>{const bl=Jo(Wi,Ys),Rs=Eo.has(bl);return{node:oe.createElement(Tr.ZP,Object.assign({},Si.get(bl),{checked:Rs,onClick:Li=>Li.stopPropagation(),onChange:Li=>{Eo.has(bl)||_s(bl,!0,[bl],Li.nativeEvent)}})),checked:Rs}}:Zl=(cs,Wi,Ys)=>{var bl;const Rs=Jo(Wi,Ys),Li=Eo.has(Rs),Vl=el.has(Rs),kl=Si.get(Rs);let uu;return fi==="nest"?uu=Vl:uu=(bl=kl==null?void 0:kl.indeterminate)!==null&&bl!==void 0?bl:Vl,{node:oe.createElement(Dn.default,Object.assign({},kl,{indeterminate:uu,checked:Li,skipGroup:!0,onClick:nu=>nu.stopPropagation(),onChange:nu=>{let{nativeEvent:ru}=nu;const{shiftKey:_u}=ru;let gc=-1,Lu=-1;if(_u&&wa){const tl=new Set([pi,Rs]);us.some((Ll,gl)=>{if(tl.has(Ll))if(gc===-1)gc=gl;else return Lu=gl,!0;return!1})}if(Lu!==-1&&gc!==Lu&&wa){const tl=us.slice(gc,Lu+1),Ll=[];Li?tl.forEach(Js=>{Eo.has(Js)&&(Ll.push(Js),Eo.delete(Js))}):tl.forEach(Js=>{Eo.has(Js)||(Ll.push(Js),Eo.add(Js))});const gl=Array.from(Eo);Ar==null||Ar(!Li,gl.map(Js=>po(Js)),Ll.map(Js=>po(Js))),ls(gl,"multiple")}else{const tl=Fs;if(wa){const Ll=Li?(0,ul._5)(tl,Rs):(0,ul.L0)(tl,Rs);_s(Rs,!Li,Ll,ru)}else{const Ll=(0,yu.S)([].concat((0,En.Z)(tl),[Rs]),!0,di,Gi),{checkedKeys:gl,halfCheckedKeys:Js}=Ll;let Vu=gl;if(Li){const lc=new Set(gl);lc.delete(Rs),Vu=(0,yu.S)(Array.from(lc),{checked:!1,halfCheckedKeys:Js},di,Gi).checkedKeys}_s(Rs,!Li,Vu,ru)}}hl(Li?null:Rs)}})),checked:Li}};const cl=(cs,Wi,Ys)=>{const{node:bl,checked:Rs}=Zl(cs,Wi,Ys);return ba?ba(Rs,Wi,Ys,bl):bl};if(!Qo.includes(Al))if(Qo.findIndex(cs=>{var Wi;return((Wi=cs[xn])===null||Wi===void 0?void 0:Wi.columnType)==="EXPAND_COLUMN"})===0){const[cs,...Wi]=Qo;Qo=[cs,Al].concat((0,En.Z)(Wi))}else Qo=[Al].concat((0,En.Z)(Qo));const Hu=Qo.indexOf(Al);Qo=Qo.filter((cs,Wi)=>cs!==Al||Wi===Hu);const dl=Qo[Hu-1],wu=Qo[Hu+1];let ka=ja;ka===void 0&&((wu==null?void 0:wu.fixed)!==void 0?ka=wu.fixed:(dl==null?void 0:dl.fixed)!==void 0&&(ka=dl.fixed)),ka&&dl&&((Go=dl[xn])===null||Go===void 0?void 0:Go.columnType)==="EXPAND_COLUMN"&&dl.fixed===void 0&&(dl.fixed=ka);const tu=Ee()(`${Qa}-selection-col`,{[`${Qa}-selection-col-with-dropdown`]:Yr&&Gr==="checkbox"}),ed={fixed:ka,width:ea,className:`${Qa}-selection-column`,title:Ot.columnTitle||Vi,render:cl,onCell:Ot.onCell,[xn]:{className:tu}};return Qo.map(cs=>cs===Al?ed:cs)},[Jo,ko,Ot,Fs,Qs,el,ea,Ts,fi,pi,Si,Ar,_s,Gi]),Qs]},eu=pe(89489),rs=pe(59477),bu=pe(6848);const fl="ascend",fc="descend";function _c(_t){return typeof _t.sorter=="object"&&typeof _t.sorter.multiple=="number"?_t.sorter.multiple:!1}function Wd(_t){return typeof _t=="function"?_t:_t&&typeof _t=="object"&&_t.compare?_t.compare:!1}function oh(_t,Ot){return Ot?_t[_t.indexOf(Ot)+1]:_t[0]}function wd(_t,Ot,Wt){let tn=[];function vn(yn,zn){tn.push({column:yn,key:Br(yn,zn),multiplePriority:_c(yn),sortOrder:yn.sortOrder})}return(_t||[]).forEach((yn,zn)=>{const Gn=Ta(zn,Wt);yn.children?("sortOrder"in yn&&vn(yn,Gn),tn=[].concat((0,En.Z)(tn),(0,En.Z)(wd(yn.children,Ot,Gn)))):yn.sorter&&("sortOrder"in yn?vn(yn,Gn):Ot&&yn.defaultSortOrder&&tn.push({column:yn,key:Br(yn,Gn),multiplePriority:_c(yn),sortOrder:yn.defaultSortOrder}))}),tn}function ih(_t,Ot,Wt,tn,vn,yn,zn,Gn){return(Ot||[]).map((kn,lr)=>{const Sr=Ta(lr,Gn);let Ar=kn;if(Ar.sorter){const ea=Ar.sortDirections||vn,Gr=Ar.showSorterTooltip===void 0?zn:Ar.showSorterTooltip,Yr=Br(Ar,Sr),ja=Wt.find(fi=>{let{key:Za}=fi;return Za===Yr}),ba=ja?ja.sortOrder:null,_a=oh(ea,ba);let wa;if(kn.sortIcon)wa=kn.sortIcon({sortOrder:ba});else{const fi=ea.includes(fl)&&oe.createElement(rs.Z,{className:Ee()(`${_t}-column-sorter-up`,{active:ba===fl})}),Za=ea.includes(fc)&&oe.createElement(eu.Z,{className:Ee()(`${_t}-column-sorter-down`,{active:ba===fc})});wa=oe.createElement("span",{className:Ee()(`${_t}-column-sorter`,{[`${_t}-column-sorter-full`]:!!(fi&&Za)})},oe.createElement("span",{className:`${_t}-column-sorter-inner`,"aria-hidden":"true"},fi,Za))}const{cancelSort:Qa,triggerAsc:_o,triggerDesc:jo}=yn||{};let po=Qa;_a===fc?po=jo:_a===fl&&(po=_o);const Jo=typeof Gr=="object"?Gr:{title:po};Ar=Object.assign(Object.assign({},Ar),{className:Ee()(Ar.className,{[`${_t}-column-sort`]:ba}),title:fi=>{const Za=oe.createElement("div",{className:`${_t}-column-sorters`},oe.createElement("span",{className:`${_t}-column-title`},Qr(kn.title,fi)),wa);return Gr?oe.createElement(bu.Z,Object.assign({},Jo),Za):Za},onHeaderCell:fi=>{const Za=kn.onHeaderCell&&kn.onHeaderCell(fi)||{},vo=Za.onClick,qa=Za.onKeyDown;Za.onClick=Ho=>{tn({column:kn,key:Yr,sortOrder:_a,multiplePriority:_c(kn)}),vo==null||vo(Ho)},Za.onKeyDown=Ho=>{Ho.keyCode===ti.Z.ENTER&&(tn({column:kn,key:Yr,sortOrder:_a,multiplePriority:_c(kn)}),qa==null||qa(Ho))};const Ua=bo(kn.title,{}),so=Ua==null?void 0:Ua.toString();return ba?Za["aria-sort"]=ba==="ascend"?"ascending":"descending":Za["aria-label"]=so||"",Za.className=Ee()(Za.className,`${_t}-column-has-sorters`),Za.tabIndex=0,kn.ellipsis&&(Za.title=(Ua!=null?Ua:"").toString()),Za}})}return"children"in Ar&&(Ar=Object.assign(Object.assign({},Ar),{children:ih(_t,Ar.children,Wt,tn,vn,yn,zn,Sr)})),Ar})}function Ru(_t){const{column:Ot,sortOrder:Wt}=_t;return{column:Ot,order:Wt,field:Ot.dataIndex,columnKey:Ot.key}}function df(_t){const Ot=_t.filter(Wt=>{let{sortOrder:tn}=Wt;return tn}).map(Ru);return Ot.length===0&&_t.length?Object.assign(Object.assign({},Ru(_t[_t.length-1])),{column:void 0}):Ot.length<=1?Ot[0]||{}:Ot}function Af(_t,Ot,Wt){const tn=Ot.slice().sort((zn,Gn)=>Gn.multiplePriority-zn.multiplePriority),vn=_t.slice(),yn=tn.filter(zn=>{let{column:{sorter:Gn},sortOrder:kn}=zn;return Wd(Gn)&&kn});return yn.length?vn.sort((zn,Gn)=>{for(let kn=0;kn{const Gn=zn[Wt];return Gn?Object.assign(Object.assign({},zn),{[Wt]:Af(Gn,Ot,Wt)}):zn}):vn}function PA(_t){let{prefixCls:Ot,mergedColumns:Wt,onSorterChange:tn,sortDirections:vn,tableLocale:yn,showSorterTooltip:zn}=_t;const[Gn,kn]=oe.useState(wd(Wt,!0)),lr=oe.useMemo(()=>{let Yr=!0;const ja=wd(Wt,!1);if(!ja.length)return Gn;const ba=[];function _a(Qa){Yr?ba.push(Qa):ba.push(Object.assign(Object.assign({},Qa),{sortOrder:null}))}let wa=null;return ja.forEach(Qa=>{wa===null?(_a(Qa),Qa.sortOrder&&(Qa.multiplePriority===!1?Yr=!1:wa=!0)):(wa&&Qa.multiplePriority!==!1||(Yr=!1),_a(Qa))}),ba},[Wt,Gn]),Sr=oe.useMemo(()=>{const Yr=lr.map(ja=>{let{column:ba,sortOrder:_a}=ja;return{column:ba,order:_a}});return{sortColumns:Yr,sortColumn:Yr[0]&&Yr[0].column,sortOrder:Yr[0]&&Yr[0].order}},[lr]);function Ar(Yr){let ja;Yr.multiplePriority===!1||!lr.length||lr[0].multiplePriority===!1?ja=[Yr]:ja=[].concat((0,En.Z)(lr.filter(ba=>{let{key:_a}=ba;return _a!==Yr.key})),[Yr]),kn(ja),tn(df(ja),ja)}return[Yr=>ih(Ot,Yr,lr,Ar,vn,yn,zn),lr,Sr,()=>df(lr)]}function Zd(_t,Ot){return _t.map(Wt=>{const tn=Object.assign({},Wt);return tn.title=Qr(Wt.title,Ot),"children"in tn&&(tn.children=Zd(tn.children,Ot)),tn})}function Yh(_t){return[oe.useCallback(Wt=>Zd(Wt,_t),[_t])]}var sh=Uo((_t,Ot)=>{const{_renderTimes:Wt}=_t,{_renderTimes:tn}=Ot;return Wt!==tn}),Jh=Ko((_t,Ot)=>{const{_renderTimes:Wt}=_t,{_renderTimes:tn}=Ot;return Wt!==tn}),Vd=pe(64993),Yc=pe(17313),lh=pe(83116),uh=pe(37613),ch=_t=>{const{componentCls:Ot}=_t,Wt=`${_t.lineWidth}px ${_t.lineType} ${_t.tableBorderColor}`,tn=(vn,yn,zn)=>({[`&${Ot}-${vn}`]:{[`> ${Ot}-container`]:{[`> ${Ot}-content, > ${Ot}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ot}-expanded-row-fixed`]:{margin:`-${yn}px -${zn+_t.lineWidth}px`}}}}}});return{[`${Ot}-wrapper`]:{[`${Ot}${Ot}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ot}-title`]:{border:Wt,borderBottom:0},[`> ${Ot}-container`]:{borderInlineStart:Wt,borderTop:Wt,[` > ${Ot}-content, > ${Ot}-header, > ${Ot}-body, > ${Ot}-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:Wt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Wt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ot}-cell-fix-right-first::after`]:{borderInlineEnd:Wt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ot}-expanded-row-fixed`]:{margin:`-${_t.tablePaddingVertical}px -${_t.tablePaddingHorizontal+_t.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:_t.lineWidth,bottom:0,borderInlineEnd:Wt,content:'""'}}}}}},[`&${Ot}-scroll-horizontal`]:{[`> ${Ot}-container > ${Ot}-body`]:{"> table > tbody":{[` > tr${Ot}-expanded-row, > tr${Ot}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},tn("middle",_t.tablePaddingVerticalMiddle,_t.tablePaddingHorizontalMiddle)),tn("small",_t.tablePaddingVerticalSmall,_t.tablePaddingHorizontalSmall)),{[`> ${Ot}-footer`]:{border:Wt,borderTop:0}}),[`${Ot}-cell`]:{[`${Ot}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${_t.lineWidth}px 0 ${_t.lineWidth}px ${_t.tableHeaderBg}`}},[`${Ot}-bordered ${Ot}-cell-scrollbar`]:{borderInlineEnd:Wt}}}},Zu=_t=>{const{componentCls:Ot}=_t;return{[`${Ot}-wrapper`]:{[`${Ot}-cell-ellipsis`]:Object.assign(Object.assign({},Yc.vS),{wordBreak:"keep-all",[` &${Ot}-cell-fix-left-last, &${Ot}-cell-fix-right-first `]:{overflow:"visible",[`${Ot}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ot}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},$h=_t=>{const{componentCls:Ot}=_t;return{[`${Ot}-wrapper`]:{[`${Ot}-tbody > tr${Ot}-placeholder`]:{textAlign:"center",color:_t.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:_t.colorBgContainer}}}}},Lc=pe(15969),FA=_t=>{const{componentCls:Ot,antCls:Wt,controlInteractiveSize:tn,motionDurationSlow:vn,lineWidth:yn,paddingXS:zn,lineType:Gn,tableBorderColor:kn,tableExpandIconBg:lr,tableExpandColumnWidth:Sr,borderRadius:Ar,fontSize:ea,fontSizeSM:Gr,lineHeight:Yr,tablePaddingVertical:ja,tablePaddingHorizontal:ba,tableExpandedRowBg:_a,paddingXXS:wa}=_t,Qa=tn/2-yn,_o=Qa*2+yn*3,jo=`${yn}px ${Gn} ${kn}`,po=wa-yn;return{[`${Ot}-wrapper`]:{[`${Ot}-expand-icon-col`]:{width:Sr},[`${Ot}-row-expand-icon-cell`]:{textAlign:"center",[`${Ot}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ot}-row-indent`]:{height:1,float:"left"},[`${Ot}-row-expand-icon`]:Object.assign(Object.assign({},(0,Lc.N)(_t)),{position:"relative",float:"left",boxSizing:"border-box",width:_o,height:_o,padding:0,color:"inherit",lineHeight:`${_o}px`,background:lr,border:jo,borderRadius:Ar,transform:`scale(${tn/_o})`,transition:`all ${vn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${vn} ease-out`,content:'""'},"&::before":{top:Qa,insetInlineEnd:po,insetInlineStart:po,height:yn},"&::after":{top:po,bottom:po,insetInlineStart:Qa,width:yn,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"}}),[`${Ot}-row-indent + ${Ot}-row-expand-icon`]:{marginTop:(ea*Yr-yn*3)/2-Math.ceil((Gr*1.4-yn*3)/2),marginInlineEnd:zn},[`tr${Ot}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:_a}},[`${Wt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ot}-expanded-row-fixed`]:{position:"relative",margin:`-${ja}px -${ba}px`,padding:`${ja}px ${ba}px`}}}},ff=_t=>{const{componentCls:Ot,antCls:Wt,iconCls:tn,tableFilterDropdownWidth:vn,tableFilterDropdownSearchWidth:yn,paddingXXS:zn,paddingXS:Gn,colorText:kn,lineWidth:lr,lineType:Sr,tableBorderColor:Ar,tableHeaderIconColor:ea,fontSizeSM:Gr,tablePaddingHorizontal:Yr,borderRadius:ja,motionDurationSlow:ba,colorTextDescription:_a,colorPrimary:wa,tableHeaderFilterActiveBg:Qa,colorTextDisabled:_o,tableFilterDropdownBg:jo,tableFilterDropdownHeight:po,controlItemBgHover:Jo,controlItemBgActive:fi,boxShadowSecondary:Za,filterDropdownMenuBg:vo}=_t,qa=`${Wt}-dropdown`,Ua=`${Ot}-filter-dropdown`,so=`${Wt}-tree`,Ho=`${lr}px ${Sr} ${Ar}`;return[{[`${Ot}-wrapper`]:{[`${Ot}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ot}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-zn,marginInline:`${zn}px ${-Yr/2}px`,padding:`0 ${zn}px`,color:ea,fontSize:Gr,borderRadius:ja,cursor:"pointer",transition:`all ${ba}`,"&:hover":{color:_a,background:Qa},"&.active":{color:wa}}}},{[`${Wt}-dropdown`]:{[Ua]:Object.assign(Object.assign({},(0,Yc.Wf)(_t)),{minWidth:vn,backgroundColor:jo,borderRadius:ja,boxShadow:Za,overflow:"hidden",[`${qa}-menu`]:{maxHeight:po,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:vo,"&:empty::after":{display:"block",padding:`${Gn}px 0`,color:_o,fontSize:Gr,textAlign:"center",content:'"Not Found"'}},[`${Ua}-tree`]:{paddingBlock:`${Gn}px 0`,paddingInline:Gn,[so]:{padding:0},[`${so}-treenode ${so}-node-content-wrapper:hover`]:{backgroundColor:Jo},[`${so}-treenode-checkbox-checked ${so}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:fi}}},[`${Ua}-search`]:{padding:Gn,borderBottom:Ho,"&-input":{input:{minWidth:yn},[tn]:{color:_o}}},[`${Ua}-checkall`]:{width:"100%",marginBottom:zn,marginInlineStart:zn},[`${Ua}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Gn-lr}px ${Gn}px`,overflow:"hidden",borderTop:Ho}})}},{[`${Wt}-dropdown ${Ua}, ${Ua}-submenu`]:{[`${Wt}-checkbox-wrapper + span`]:{paddingInlineStart:Gn,color:kn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Jc=_t=>{const{componentCls:Ot,lineWidth:Wt,colorSplit:tn,motionDurationSlow:vn,zIndexTableFixed:yn,tableBg:zn,zIndexTableSticky:Gn}=_t,kn=tn;return{[`${Ot}-wrapper`]:{[` ${Ot}-cell-fix-left, ${Ot}-cell-fix-right `]:{position:"sticky !important",zIndex:yn,background:zn},[` ${Ot}-cell-fix-left-first::after, ${Ot}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Wt,width:30,transform:"translateX(100%)",transition:`box-shadow ${vn}`,content:'""',pointerEvents:"none"},[`${Ot}-cell-fix-left-all::after`]:{display:"none"},[` ${Ot}-cell-fix-right-first::after, ${Ot}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-Wt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${vn}`,content:'""',pointerEvents:"none"},[`${Ot}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Gn+1,width:30,transition:`box-shadow ${vn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ot}-ping-left`]:{[`&:not(${Ot}-has-fix-left) ${Ot}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${kn}`}},[` ${Ot}-cell-fix-left-first::after, ${Ot}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${kn}`},[`${Ot}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ot}-ping-right`]:{[`&:not(${Ot}-has-fix-right) ${Ot}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${kn}`}},[` ${Ot}-cell-fix-right-first::after, ${Ot}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${kn}`}}}}},Bl=_t=>{const{componentCls:Ot,antCls:Wt}=_t;return{[`${Ot}-wrapper`]:{[`${Ot}-pagination${Wt}-pagination`]:{margin:`${_t.margin}px 0`},[`${Ot}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:_t.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},qc=_t=>{const{componentCls:Ot,tableRadius:Wt}=_t;return{[`${Ot}-wrapper`]:{[Ot]:{[`${Ot}-title, ${Ot}-header`]:{borderRadius:`${Wt}px ${Wt}px 0 0`},[`${Ot}-title + ${Ot}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ot}-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:Wt,borderStartEndRadius:Wt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Wt},"> *:last-child":{borderStartEndRadius:Wt}}},"&-footer":{borderRadius:`0 0 ${Wt}px ${Wt}px`}}}}},eg=_t=>{const{componentCls:Ot}=_t;return{[`${Ot}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ot}-pagination-left`]:{justifyContent:"flex-end"},[`${Ot}-pagination-right`]:{justifyContent:"flex-start"},[`${Ot}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ot}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ot}-row-indent`]:{float:"right"}}}}},hh=_t=>{const{componentCls:Ot,antCls:Wt,iconCls:tn,fontSizeIcon:vn,padding:yn,paddingXS:zn,tableHeaderIconColor:Gn,tableHeaderIconColorHover:kn,tableSelectionColumnWidth:lr}=_t;return{[`${Ot}-wrapper`]:{[`${Ot}-selection-col`]:{width:lr,[`&${Ot}-selection-col-with-dropdown`]:{width:lr+vn+yn/4}},[`${Ot}-bordered ${Ot}-selection-col`]:{width:lr+zn*2,[`&${Ot}-selection-col-with-dropdown`]:{width:lr+vn+yn/4+zn*2}},[` table tr th${Ot}-selection-column, table tr td${Ot}-selection-column `]:{paddingInlineEnd:_t.paddingXS,paddingInlineStart:_t.paddingXS,textAlign:"center",[`${Wt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ot}-selection-column${Ot}-cell-fix-left`]:{zIndex:_t.zIndexTableFixed+1},[`table tr th${Ot}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ot}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ot}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${_t.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${_t.tablePaddingHorizontal/4}px`,[tn]:{color:Gn,fontSize:vn,verticalAlign:"baseline","&:hover":{color:kn}}}}}},LA=_t=>{const{componentCls:Ot}=_t,Wt=(tn,vn,yn,zn)=>({[`${Ot}${Ot}-${tn}`]:{fontSize:zn,[` ${Ot}-title, ${Ot}-footer, ${Ot}-cell, ${Ot}-thead > tr > th, ${Ot}-tbody > tr > th, ${Ot}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${vn}px ${yn}px`},[`${Ot}-filter-trigger`]:{marginInlineEnd:`-${yn/2}px`},[`${Ot}-expanded-row-fixed`]:{margin:`-${vn}px -${yn}px`},[`${Ot}-tbody`]:{[`${Ot}-wrapper:only-child ${Ot}`]:{marginBlock:`-${vn}px`,marginInline:`${_t.tableExpandColumnWidth-yn}px -${yn}px`}},[`${Ot}-selection-column`]:{paddingInlineStart:`${yn/4}px`}}});return{[`${Ot}-wrapper`]:Object.assign(Object.assign({},Wt("middle",_t.tablePaddingVerticalMiddle,_t.tablePaddingHorizontalMiddle,_t.tableFontSizeMiddle)),Wt("small",_t.tablePaddingVerticalSmall,_t.tablePaddingHorizontalSmall,_t.tableFontSizeSmall))}},Oc=_t=>{const{componentCls:Ot,marginXXS:Wt,fontSizeIcon:tn,tableHeaderIconColor:vn,tableHeaderIconColorHover:yn}=_t;return{[`${Ot}-wrapper`]:{[`${Ot}-thead th${Ot}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${_t.motionDurationSlow}`,"&:hover":{background:_t.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:_t.colorPrimary},[` &${Ot}-cell-fix-left:hover, &${Ot}-cell-fix-right:hover `]:{background:_t.tableFixedHeaderSortActiveBg}},[`${Ot}-thead th${Ot}-column-sort`]:{background:_t.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ot}-column-sort`]:{background:_t.tableBodySortBg},[`${Ot}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ot}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ot}-column-sorter`]:{marginInlineStart:Wt,color:vn,fontSize:0,transition:`color ${_t.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:tn,"&.active":{color:_t.colorPrimary}},[`${Ot}-column-sorter-up + ${Ot}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ot}-column-sorters:hover ${Ot}-column-sorter`]:{color:yn}}}},Fu=_t=>{const{componentCls:Ot,opacityLoading:Wt,tableScrollThumbBg:tn,tableScrollThumbBgHover:vn,tableScrollThumbSize:yn,tableScrollBg:zn,zIndexTableSticky:Gn,stickyScrollBarBorderRadius:kn}=_t,lr=`${_t.lineWidth}px ${_t.lineType} ${_t.tableBorderColor}`;return{[`${Ot}-wrapper`]:{[`${Ot}-sticky`]:{"&-holder":{position:"sticky",zIndex:Gn,background:_t.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${yn}px !important`,zIndex:Gn,display:"flex",alignItems:"center",background:zn,borderTop:lr,opacity:Wt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:yn,backgroundColor:tn,borderRadius:kn,transition:`all ${_t.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:vn}}}}}}},Cd=_t=>{const{componentCls:Ot,lineWidth:Wt,tableBorderColor:tn}=_t,vn=`${Wt}px ${_t.lineType} ${tn}`;return{[`${Ot}-wrapper`]:{[`${Ot}-summary`]:{position:"relative",zIndex:_t.zIndexTableFixed,background:_t.tableBg,"> tr":{"> th, > td":{borderBottom:vn}}},[`div${Ot}-summary`]:{boxShadow:`0 -${Wt}px 0 ${tn}`}}}},ph=_t=>{const{componentCls:Ot}=_t,Wt=`${_t.lineWidth}px ${_t.lineType} ${_t.tableBorderColor}`,tn=`${Ot}-expanded-row-cell`;return{[`${Ot}-wrapper`]:{[`${Ot}-tbody-virtual`]:{[`${Ot}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ot}-cell`]:{borderBottom:Wt},[`${Ot}-expanded-row`]:{[`${tn}${tn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${_t.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ot}-bordered`]:{[`${Ot}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Wt,position:"absolute"},[`${Ot}-cell`]:{borderInlineEnd:Wt,[`&${Ot}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-_t.lineWidth,borderInlineStart:Wt}}}}}}};const Ed=_t=>{const{componentCls:Ot,fontWeightStrong:Wt,tablePaddingVertical:tn,tablePaddingHorizontal:vn,lineWidth:yn,lineType:zn,tableBorderColor:Gn,tableFontSize:kn,tableBg:lr,tableRadius:Sr,tableHeaderTextColor:Ar,motionDurationMid:ea,tableHeaderBg:Gr,tableHeaderCellSplitColor:Yr,tableRowHoverBg:ja,tableSelectedRowBg:ba,tableSelectedRowHoverBg:_a,tableFooterTextColor:wa,tableFooterBg:Qa,paddingContentVerticalLG:_o}=_t,jo=`${yn}px ${zn} ${Gn}`;return{[`${Ot}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Yc.dF)()),{[Ot]:Object.assign(Object.assign({},(0,Yc.Wf)(_t)),{fontSize:kn,background:lr,borderRadius:`${Sr}px ${Sr}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Sr}px ${Sr}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${Ot}-cell, ${Ot}-thead > tr > th, ${Ot}-tbody > tr > th, ${Ot}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${_o}px ${vn}px`,overflowWrap:"break-word"},[`${Ot}-title`]:{padding:`${tn}px ${vn}px`},[`${Ot}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ar,fontWeight:Wt,textAlign:"start",background:Gr,borderBottom:jo,transition:`background ${ea} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ot}-selection-column):not(${Ot}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Yr,transform:"translateY(-50%)",transition:`background-color ${ea}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ot}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${ea}, border-color ${ea}`,borderBottom:jo,[` > ${Ot}-wrapper:only-child, > ${Ot}-expanded-row-fixed > ${Ot}-wrapper:only-child `]:{[Ot]:{marginBlock:`-${tn}px`,marginInline:`${_t.tableExpandColumnWidth-vn}px -${vn}px`,[`${Ot}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ar,fontWeight:Wt,textAlign:"start",background:Gr,borderBottom:jo,transition:`background ${ea} ease`},[` &${Ot}-row:hover > th, &${Ot}-row:hover > td, > th${Ot}-cell-row-hover, > td${Ot}-cell-row-hover `]:{background:ja},[`&${Ot}-row-selected`]:{"> th, > td":{background:ba},"&:hover > th, &:hover > td":{background:_a}}}},[`${Ot}-footer`]:{padding:`${tn}px ${vn}px`,color:wa,background:Qa}})}};var Yd=(0,lh.Z)("Table",_t=>{const{colorTextHeading:Ot,colorSplit:Wt,colorIcon:tn,colorIconHover:vn,opacityLoading:yn,colorBgContainer:zn,controlInteractiveSize:Gn,headerBg:kn,headerColor:lr,headerSortActiveBg:Sr,headerSortHoverBg:Ar,bodySortBg:ea,rowHoverBg:Gr,rowSelectedBg:Yr,rowSelectedHoverBg:ja,rowExpandedBg:ba,cellPaddingBlock:_a,cellPaddingInline:wa,cellPaddingBlockMD:Qa,cellPaddingInlineMD:_o,cellPaddingBlockSM:jo,cellPaddingInlineSM:po,borderColor:Jo,footerBg:fi,footerColor:Za,headerBorderRadius:vo,cellFontSize:qa,cellFontSizeMD:Ua,cellFontSizeSM:so,headerSplitColor:Ho,fixedHeaderSortActiveBg:_i,headerFilterHoverBg:di,filterDropdownBg:ko,expandIconBg:Si,selectionColumnWidth:Gi,stickyScrollBarBg:Fs}=_t,ns=new Vd.C(tn),Qs=new Vd.C(vn),el=2,pi=(0,uh.TS)(_t,{tableFontSize:qa,tableBg:zn,tableRadius:vo,tablePaddingVertical:_a,tablePaddingHorizontal:wa,tablePaddingVerticalMiddle:Qa,tablePaddingHorizontalMiddle:_o,tablePaddingVerticalSmall:jo,tablePaddingHorizontalSmall:po,tableBorderColor:Jo,tableHeaderTextColor:lr,tableHeaderBg:kn,tableFooterTextColor:Za,tableFooterBg:fi,tableHeaderCellSplitColor:Ho,tableHeaderSortBg:Sr,tableHeaderSortHoverBg:Ar,tableHeaderIconColor:ns.clone().setAlpha(ns.getAlpha()*yn).toRgbString(),tableHeaderIconColorHover:Qs.clone().setAlpha(Qs.getAlpha()*yn).toRgbString(),tableBodySortBg:ea,tableFixedHeaderSortActiveBg:_i,tableHeaderFilterActiveBg:di,tableFilterDropdownBg:ko,tableRowHoverBg:Gr,tableSelectedRowBg:Yr,tableSelectedRowHoverBg:ja,zIndexTableFixed:el,zIndexTableSticky:el+1,tableFontSizeMiddle:Ua,tableFontSizeSmall:so,tableSelectionColumnWidth:Gi,tableExpandIconBg:Si,tableExpandColumnWidth:Gn+2*_t.padding,tableExpandedRowBg:ba,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Fs,tableScrollThumbBgHover:Ot,tableScrollBg:Wt});return[Ed(pi),Bl(pi),Cd(pi),Oc(pi),ff(pi),ch(pi),qc(pi),FA(pi),Cd(pi),$h(pi),hh(pi),Jc(pi),Fu(pi),Zu(pi),LA(pi),eg(pi),ph(pi)]},_t=>{const{colorFillAlter:Ot,colorBgContainer:Wt,colorTextHeading:tn,colorFillSecondary:vn,colorFillContent:yn,controlItemBgActive:zn,controlItemBgActiveHover:Gn,padding:kn,paddingSM:lr,paddingXS:Sr,colorBorderSecondary:Ar,borderRadiusLG:ea,fontSize:Gr,controlHeight:Yr,colorTextPlaceholder:ja}=_t,ba=new Vd.C(vn).onBackground(Wt).toHexShortString(),_a=new Vd.C(yn).onBackground(Wt).toHexShortString(),wa=new Vd.C(Ot).onBackground(Wt).toHexShortString();return{headerBg:wa,headerColor:tn,headerSortActiveBg:ba,headerSortHoverBg:_a,bodySortBg:wa,rowHoverBg:wa,rowSelectedBg:zn,rowSelectedHoverBg:Gn,rowExpandedBg:Ot,cellPaddingBlock:kn,cellPaddingInline:kn,cellPaddingBlockMD:lr,cellPaddingInlineMD:Sr,cellPaddingBlockSM:Sr,cellPaddingInlineSM:Sr,borderColor:Ar,headerBorderRadius:ea,footerBg:wa,footerColor:tn,cellFontSize:Gr,cellFontSizeMD:Gr,cellFontSizeSM:Gr,headerSplitColor:Ar,fixedHeaderSortActiveBg:ba,headerFilterHoverBg:yn,filterDropdownMenuBg:Wt,filterDropdownBg:Wt,expandIconBg:Wt,selectionColumnWidth:Yr,stickyScrollBarBg:ja,stickyScrollBarBorderRadius:100}});const hf=[],Bd=(_t,Ot)=>{const{prefixCls:Wt,className:tn,rootClassName:vn,style:yn,size:zn,bordered:Gn,dropdownPrefixCls:kn,dataSource:lr,pagination:Sr,rowSelection:Ar,rowKey:ea="key",rowClassName:Gr,columns:Yr,children:ja,childrenColumnName:ba,onChange:_a,getPopupContainer:wa,loading:Qa,expandIcon:_o,expandable:jo,expandedRowRender:po,expandIconColumnIndex:Jo,indentSize:fi,scroll:Za,sortDirections:vo,locale:qa,showSorterTooltip:Ua=!0,virtual:so}=_t,Ho=oe.useMemo(()=>Yr||xr(ja),[Yr,ja]),_i=oe.useMemo(()=>Ho.some(Xi=>Xi.responsive),[Ho]),di=(0,Rr.Z)(_i),ko=oe.useMemo(()=>{const Xi=new Set(Object.keys(di).filter(js=>di[js]));return Ho.filter(js=>!js.responsive||js.responsive.some(Il=>Xi.has(Il)))},[Ho,di]),Si=(0,Ps.Z)(_t,["className","style","columns"]),{locale:Gi=uo.Z,direction:Fs,table:ns,renderEmpty:Qs,getPrefixCls:el,getPopupContainer:pi}=oe.useContext(gi.E_),hl=(0,ar.Z)(zn),ls=Object.assign(Object.assign({},Gi.Table),qa),_s=lr||hf,Ts=el("table",Wt),lu=el("dropdown",kn),ao=Object.assign({childrenColumnName:ba,expandIconColumnIndex:Jo},jo),{childrenColumnName:Go="children"}=ao,Qo=oe.useMemo(()=>_s.some(Xi=>Xi==null?void 0:Xi[Go])?"nest":po||jo&&jo.expandedRowRender?"row":null,[_s]),Eo={body:oe.useRef()},us=oe.useMemo(()=>typeof ea=="function"?ea:Xi=>Xi==null?void 0:Xi[ea],[ea]),[Bo]=Xs(_s,Go,us),si={},Zi=function(Xi,js){let Il=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Zs,Ol,Rl;const nl=Object.assign(Object.assign({},si),Xi);Il&&((Zs=si.resetPagination)===null||Zs===void 0||Zs.call(si),!((Ol=nl.pagination)===null||Ol===void 0)&&Ol.current&&(nl.pagination.current=1),Sr&&Sr.onChange&&Sr.onChange(1,(Rl=nl.pagination)===null||Rl===void 0?void 0:Rl.pageSize)),Za&&Za.scrollToFirstRowOnChange!==!1&&Eo.body.current&&(0,ms.Z)(0,{getContainer:()=>Eo.body.current}),_a==null||_a(nl.pagination,nl.filters,nl.sorter,{currentDataSource:Pc(Af(_s,nl.sorterStates,Go),nl.filterStates),action:js})},Vi=(Xi,js)=>{Zi({sorter:Xi,sorterStates:js},"sort",!1)},[Zl,cl,Hu,dl]=PA({prefixCls:Ts,mergedColumns:ko,onSorterChange:Vi,sortDirections:vo||["ascend","descend"],tableLocale:ls,showSorterTooltip:Ua}),wu=oe.useMemo(()=>Af(_s,cl,Go),[_s,cl]);si.sorter=dl(),si.sorterStates=cl;const ka=(Xi,js)=>{Zi({filters:Xi,filterStates:js},"filter",!0)},[tu,ed,cs]=oc({prefixCls:Ts,locale:ls,dropdownPrefixCls:lu,mergedColumns:ko,onFilterChange:ka,getPopupContainer:wa||pi}),Wi=Pc(wu,ed);si.filters=cs,si.filterStates=ed;const Ys=oe.useMemo(()=>{const Xi={};return Object.keys(cs).forEach(js=>{cs[js]!==null&&(Xi[js]=cs[js])}),Object.assign(Object.assign({},Hu),{filters:Xi})},[Hu,cs]),[bl]=Yh(Ys),Rs=(Xi,js)=>{Zi({pagination:Object.assign(Object.assign({},si.pagination),{current:Xi,pageSize:js})},"paginate")},[Li,Vl]=bd(Wi.length,Rs,Sr);si.pagination=Sr===!1?{}:fs(Li,Sr),si.resetPagination=Vl;const kl=oe.useMemo(()=>{if(Sr===!1||!Li.pageSize)return Wi;const{current:Xi=1,total:js,pageSize:Il=Gl}=Li;return Wi.lengthIl?Wi.slice((Xi-1)*Il,Xi*Il):Wi:Wi.slice((Xi-1)*Il,Xi*Il)},[!!Sr,Wi,Li&&Li.current,Li&&Li.pageSize,Li&&Li.total]),[uu,nu]=yl({prefixCls:Ts,data:Wi,pageData:kl,getRowKey:us,getRecordByKey:Bo,expandType:Qo,childrenColumnName:Go,locale:ls,getPopupContainer:wa||pi},Ar),ru=(Xi,js,Il)=>{let Zs;return typeof Gr=="function"?Zs=Ee()(Gr(Xi,js,Il)):Zs=Ee()(Gr),Ee()({[`${Ts}-row-selected`]:nu.has(us(Xi,js))},Zs)};ao.__PARENT_RENDER_ICON__=ao.expandIcon,ao.expandIcon=ao.expandIcon||_o||ur(ls),Qo==="nest"&&ao.expandIconColumnIndex===void 0?ao.expandIconColumnIndex=Ar?1:0:ao.expandIconColumnIndex>0&&Ar&&(ao.expandIconColumnIndex-=1),typeof ao.indentSize!="number"&&(ao.indentSize=typeof fi=="number"?fi:15);const _u=oe.useCallback(Xi=>bl(uu(tu(Zl(Xi)))),[Zl,tu,uu]);let gc,Lu;if(Sr!==!1&&(Li!=null&&Li.total)){let Xi;Li.size?Xi=Li.size:Xi=hl==="small"||hl==="middle"?"small":void 0;const js=Ol=>oe.createElement(Oo.Z,Object.assign({},Li,{className:Ee()(`${Ts}-pagination ${Ts}-pagination-${Ol}`,Li.className),size:Xi})),Il=Fs==="rtl"?"left":"right",{position:Zs}=Li;if(Zs!==null&&Array.isArray(Zs)){const Ol=Zs.find(Yu=>Yu.includes("top")),Rl=Zs.find(Yu=>Yu.includes("bottom")),nl=Zs.every(Yu=>`${Yu}`=="none");!Ol&&!Rl&&!nl&&(Lu=js(Il)),Ol&&(gc=js(Ol.toLowerCase().replace("top",""))),Rl&&(Lu=js(Rl.toLowerCase().replace("bottom","")))}else Lu=js(Il)}let tl;typeof Qa=="boolean"?tl={spinning:Qa}:typeof Qa=="object"&&(tl=Object.assign({spinning:!0},Qa));const[Ll,gl]=Yd(Ts),[,Js]=(0,Nr.Z)(),Vu=Ee()(`${Ts}-wrapper`,ns==null?void 0:ns.className,{[`${Ts}-wrapper-rtl`]:Fs==="rtl"},tn,vn,gl),lc=Object.assign(Object.assign({},ns==null?void 0:ns.style),yn),pc=qa&&qa.emptyText||(Qs==null?void 0:Qs("Table"))||oe.createElement(bn.Z,{componentName:"Table"}),Xu=so?Jh:sh,qd={},IA=oe.useMemo(()=>{const{fontSize:Xi,lineHeight:js,padding:Il,paddingXS:Zs,paddingSM:Ol}=Js,Rl=Math.floor(Xi*js);switch(hl){case"large":return Il*2+Rl;case"small":return Zs*2+Rl;default:return Ol*2+Rl}},[Js,hl]);return so&&(qd.listItemHeight=IA),Ll(oe.createElement("div",{ref:Ot,className:Vu,style:lc},oe.createElement(ho.Z,Object.assign({spinning:!1},tl),gc,oe.createElement(Xu,Object.assign({},qd,Si,{columns:ko,direction:Fs,expandable:ao,prefixCls:Ts,className:Ee()({[`${Ts}-middle`]:hl==="middle",[`${Ts}-small`]:hl==="small",[`${Ts}-bordered`]:Gn,[`${Ts}-empty`]:_s.length===0}),data:kl,rowKey:us,rowClassName:ru,emptyText:pc,internalHooks:Qe,internalRefs:Eo,transformColumns:_u})),Lu)))};var tg=oe.forwardRef(Bd);const ng=(_t,Ot)=>{const Wt=oe.useRef(0);return Wt.current+=1,oe.createElement(tg,Object.assign({},_t,{ref:Ot,_renderTimes:Wt.current}))},Nl=oe.forwardRef(ng);Nl.SELECTION_COLUMN=Al,Nl.EXPAND_COLUMN=me,Nl.SELECTION_ALL=ku,Nl.SELECTION_INVERT=ro,Nl.SELECTION_NONE=Vo,Nl.Column=wi,Nl.ColumnGroup=$i,Nl.Summary=Le;var Jd=Nl,rg=Jd},12563:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return Pe}});var me=pe(59301),Qe=pe(99267),E=pe(92310),we=pe.n(E),fe=pe(36785),ue=pe(47729),oe=pe(14088),ae=pe(36355),le=pe(17313),re=pe(37613),se=pe(83116);const ie=Be=>{const{paddingXXS:Ue,lineWidth:Ee,tagPaddingHorizontal:He,componentCls:Oe}=Be,ke=He-Ee,Xe=Ue-Ee;return{[Oe]:Object.assign(Object.assign({},(0,le.Wf)(Be)),{display:"inline-block",height:"auto",marginInlineEnd:Be.marginXS,paddingInline:ke,fontSize:Be.tagFontSize,lineHeight:Be.tagLineHeight,whiteSpace:"nowrap",background:Be.defaultBg,border:`${Be.lineWidth}px ${Be.lineType} ${Be.colorBorder}`,borderRadius:Be.borderRadiusSM,opacity:1,transition:`all ${Be.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Oe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Be.defaultColor},[`${Oe}-close-icon`]:{marginInlineStart:Xe,color:Be.colorTextDescription,fontSize:Be.tagIconSize,cursor:"pointer",transition:`all ${Be.motionDurationMid}`,"&:hover":{color:Be.colorTextHeading}},[`&${Oe}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Be.iconCls}-close, ${Be.iconCls}-close:hover`]:{color:Be.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Oe}-checkable-checked):hover`]:{color:Be.colorPrimary,backgroundColor:Be.colorFillSecondary},"&:active, &-checked":{color:Be.colorTextLightSolid},"&-checked":{backgroundColor:Be.colorPrimary,"&:hover":{backgroundColor:Be.colorPrimaryHover}},"&:active":{backgroundColor:Be.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Be.iconCls} + span, > span + ${Be.iconCls}`]:{marginInlineStart:ke}}),[`${Oe}-borderless`]:{borderColor:"transparent",background:Be.tagBorderlessBg}}},ne=Be=>{const{lineWidth:Ue,fontSizeIcon:Ee}=Be,He=Be.fontSizeSM,Oe=`${Be.lineHeightSM*He}px`;return(0,re.TS)(Be,{tagFontSize:He,tagLineHeight:Oe,tagIconSize:Ee-2*Ue,tagPaddingHorizontal:8,tagBorderlessBg:Be.colorFillTertiary})},z=Be=>({defaultBg:Be.colorFillQuaternary,defaultColor:Be.colorText});var y=(0,se.Z)("Tag",Be=>{const Ue=ne(Be);return ie(Ue)},z),a=function(Be,Ue){var Ee={};for(var He in Be)Object.prototype.hasOwnProperty.call(Be,He)&&Ue.indexOf(He)<0&&(Ee[He]=Be[He]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,He=Object.getOwnPropertySymbols(Be);Oe{const{prefixCls:Ue,style:Ee,className:He,checked:Oe,onChange:ke,onClick:Xe}=Be,$e=a(Be,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ze,tag:at}=me.useContext(ae.E_),et=lt=>{ke==null||ke(!Oe),Xe==null||Xe(lt)},it=ze("tag",Ue),[At,ot]=y(it),rt=we()(it,`${it}-checkable`,{[`${it}-checkable-checked`]:Oe},at==null?void 0:at.className,He,ot);return At(me.createElement("span",Object.assign({},$e,{style:Object.assign(Object.assign({},Ee),at==null?void 0:at.style),className:rt,onClick:et})))},ee=pe(45157);const te=Be=>(0,ee.Z)(Be,(Ue,Ee)=>{let{textColor:He,lightBorderColor:Oe,lightColor:ke,darkColor:Xe}=Ee;return{[`${Be.componentCls}-${Ue}`]:{color:He,background:ke,borderColor:Oe,"&-inverse":{color:Be.colorTextLightSolid,background:Xe,borderColor:Xe},[`&${Be.componentCls}-borderless`]:{borderColor:"transparent"}}}});var de=(0,se.b)(["Tag","preset"],Be=>{const Ue=ne(Be);return te(Ue)},z);function ge(Be){return typeof Be!="string"?Be:Be.charAt(0).toUpperCase()+Be.slice(1)}const ve=(Be,Ue,Ee)=>{const He=ge(Ee);return{[`${Be.componentCls}-${Ue}`]:{color:Be[`color${Ee}`],background:Be[`color${He}Bg`],borderColor:Be[`color${He}Border`],[`&${Be.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ye=(0,se.b)(["Tag","status"],Be=>{const Ue=ne(Be);return[ve(Ue,"success","Success"),ve(Ue,"processing","Info"),ve(Ue,"error","Error"),ve(Ue,"warning","Warning")]},z),be=function(Be,Ue){var Ee={};for(var He in Be)Object.prototype.hasOwnProperty.call(Be,He)&&Ue.indexOf(He)<0&&(Ee[He]=Be[He]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,He=Object.getOwnPropertySymbols(Be);Oe{const{prefixCls:Ee,className:He,rootClassName:Oe,style:ke,children:Xe,icon:$e,color:ze,onClose:at,closeIcon:et,closable:it,bordered:At=!0}=Be,ot=be(Be,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:rt,direction:lt,tag:gt}=me.useContext(ae.E_),[yt,Tt]=me.useState(!0);me.useEffect(()=>{"visible"in ot&&Tt(ot.visible)},[ot.visible]);const vt=(0,fe.o2)(ze),ut=(0,fe.yT)(ze),qe=vt||ut,je=Object.assign(Object.assign({backgroundColor:ze&&!qe?ze:void 0},gt==null?void 0:gt.style),ke),Ve=rt("tag",Ee),[Ie,_e]=y(Ve),Fe=we()(Ve,gt==null?void 0:gt.className,{[`${Ve}-${ze}`]:qe,[`${Ve}-has-color`]:ze&&!qe,[`${Ve}-hidden`]:!yt,[`${Ve}-rtl`]:lt==="rtl",[`${Ve}-borderless`]:!At},He,Oe,_e),De=mt=>{mt.stopPropagation(),at==null||at(mt),!mt.defaultPrevented&&Tt(!1)},[,Te]=(0,ue.Z)(it,et,mt=>mt===null?me.createElement(Qe.Z,{className:`${Ve}-close-icon`,onClick:De}):me.createElement("span",{className:`${Ve}-close-icon`,onClick:De},mt),null,!1),Ne=typeof ot.onClick=="function"||Xe&&Xe.type==="a",Le=$e||null,Ge=Le?me.createElement(me.Fragment,null,Le,Xe&&me.createElement("span",null,Xe)):Xe,dt=me.createElement("span",Object.assign({},ot,{ref:Ue,className:Fe,style:je}),Ge,Te,vt&&me.createElement(de,{key:"preset",prefixCls:Ve}),ut&&me.createElement(ye,{key:"status",prefixCls:Ve}));return Ie(Ne?me.createElement(oe.Z,{component:"Tag"},dt):dt)},Se=me.forwardRef(Ce);Se.CheckableTag=b;var Pe=Se},65615:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return mt}});var me=pe(59301),Qe=pe(33885),E=pe(54476),we=pe(76190),fe=pe(42978),ue=pe(75931),oe=pe(43403),ae=pe(35593),le=pe(92310),re=pe.n(le),se=pe(34280),ie=pe(18929),ne=pe(6089);function z(st){var Et=window.innerWidth||document.documentElement.clientWidth,Bt=window.innerHeight||document.documentElement.clientHeight,wt=st.getBoundingClientRect(),Lt=wt.top,Ft=wt.right,Nt=wt.bottom,bt=wt.left;return Lt>=0&&bt>=0&&Ft<=Et&&Nt<=Bt}function y(st,Et,Bt){var wt;return(wt=Bt!=null?Bt:Et)!==null&&wt!==void 0?wt:st===null?"center":"bottom"}function a(st,Et,Bt,wt){var Lt=(0,me.useState)(void 0),Ft=(0,fe.Z)(Lt,2),Nt=Ft[0],bt=Ft[1];(0,se.Z)(function(){var nn=typeof st=="function"?st():st;bt(nn||null)});var Dt=(0,me.useState)(null),Rt=(0,fe.Z)(Dt,2),Ut=Rt[0],qt=Rt[1],mn=(0,ne.Z)(function(){if(Nt){!z(Nt)&&Et&&Nt.scrollIntoView(wt);var nn=Nt.getBoundingClientRect(),xn=nn.left,In=nn.top,Un=nn.width,ir=nn.height,yr={left:xn,top:In,width:Un,height:ir,radius:0};qt(function(En){return JSON.stringify(En)!==JSON.stringify(yr)?yr:En})}else qt(null)}),$t=function(xn){var In;return(In=Array.isArray(Bt==null?void 0:Bt.offset)?Bt==null?void 0:Bt.offset[xn]:Bt==null?void 0:Bt.offset)!==null&&In!==void 0?In:6};(0,se.Z)(function(){return mn(),window.addEventListener("resize",mn),function(){window.removeEventListener("resize",mn)}},[Nt,Et,mn]);var rn=(0,me.useMemo)(function(){if(!Ut)return Ut;var nn=$t(0),xn=$t(1),In=(Bt==null?void 0:Bt.radius)||2;return{left:Ut.left-nn,top:Ut.top-xn,width:Ut.width+nn*2,height:Ut.height+xn*2,radius:In}},[Ut,Bt]);return[rn,Nt]}var x=pe(80402),b={fill:"transparent",pointerEvents:"auto"},ee=function(Et){var Bt=Et.prefixCls,wt=Et.rootClassName,Lt=Et.pos,Ft=Et.showMask,Nt=Et.style,bt=Nt===void 0?{}:Nt,Dt=Et.fill,Rt=Dt===void 0?"rgba(0,0,0,0.5)":Dt,Ut=Et.open,qt=Et.animated,mn=Et.zIndex,$t=(0,x.Z)(),rn="".concat(Bt,"-mask-").concat($t),nn=(0,we.Z)(qt)==="object"?qt==null?void 0:qt.placeholder:qt;return me.createElement(oe.Z,{open:Ut,autoLock:!0},me.createElement("div",{className:re()("".concat(Bt,"-mask"),wt),style:(0,Qe.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:mn,pointerEvents:"none"},bt)},Ft?me.createElement("svg",{style:{width:"100%",height:"100%"}},me.createElement("defs",null,me.createElement("mask",{id:rn},me.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),Lt&&me.createElement("rect",{x:Lt.left,y:Lt.top,rx:Lt.radius,width:Lt.width,height:Lt.height,fill:"black",className:nn?"".concat(Bt,"-placeholder-animated"):""}))),me.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:Rt,mask:"url(#".concat(rn,")")}),Lt&&me.createElement(me.Fragment,null,me.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:"100%",height:Lt.top})),me.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:Lt.left,height:"100%"})),me.createElement("rect",(0,E.Z)({},b,{x:"0",y:Lt.top+Lt.height,width:"100%",height:"calc(100vh - ".concat(Lt.top+Lt.height,"px)")})),me.createElement("rect",(0,E.Z)({},b,{x:Lt.left+Lt.width,y:"0",width:"calc(100vw - ".concat(Lt.left+Lt.width,"px)"),height:"100%"})))):null))},te=ee,de={adjustX:1,adjustY:1},ge=[0,0],ve={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function ye(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Et={};return Object.keys(ve).forEach(function(Bt){Et[Bt]=(0,Qe.Z)((0,Qe.Z)({},ve[Bt]),{},{autoArrow:st,targetOffset:ge})}),Et}var be=ye(),Ce=pe(94480);function Se(st){var Et=st.prefixCls,Bt=st.current,wt=st.total,Lt=st.title,Ft=st.description,Nt=st.onClose,bt=st.onPrev,Dt=st.onNext,Rt=st.onFinish,Ut=st.className,qt=st.closeIcon,mn=qt!==!1&&qt!==null,$t=qt!==void 0&&qt!==!0?qt:me.createElement("span",{className:"".concat(Et,"-close-x")},"\xD7");return me.createElement("div",{className:re()("".concat(Et,"-content"),Ut)},me.createElement("div",{className:"".concat(Et,"-inner")},mn&&me.createElement("button",{type:"button",onClick:Nt,"aria-label":"Close",className:"".concat(Et,"-close")},$t),me.createElement("div",{className:"".concat(Et,"-header")},me.createElement("div",{className:"".concat(Et,"-title")},Lt)),me.createElement("div",{className:"".concat(Et,"-description")},Ft),me.createElement("div",{className:"".concat(Et,"-footer")},me.createElement("div",{className:"".concat(Et,"-sliders")},wt>1?(0,Ce.Z)(Array.from({length:wt}).keys()).map(function(rn,nn){return me.createElement("span",{key:rn,className:nn===Bt?"active":""})}):null),me.createElement("div",{className:"".concat(Et,"-buttons")},Bt!==0?me.createElement("button",{className:"".concat(Et,"-prev-btn"),onClick:bt},"Prev"):null,Bt===wt-1?me.createElement("button",{className:"".concat(Et,"-finish-btn"),onClick:Rt},"Finish"):me.createElement("button",{className:"".concat(Et,"-next-btn"),onClick:Dt},"Next")))))}var Pe=function(Et){var Bt=Et.current,wt=Et.renderPanel;return me.createElement(me.Fragment,null,typeof wt=="function"?wt(Et,Bt):me.createElement(Se,Et))},Be=Pe,Ue=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],Ee={left:"50%",top:"50%",width:1,height:1},He=function(Et){var Bt=Et.prefixCls,wt=Bt===void 0?"rc-tour":Bt,Lt=Et.steps,Ft=Lt===void 0?[]:Lt,Nt=Et.defaultCurrent,bt=Et.current,Dt=Et.onChange,Rt=Et.onClose,Ut=Et.onFinish,qt=Et.open,mn=Et.mask,$t=mn===void 0?!0:mn,rn=Et.arrow,nn=rn===void 0?!0:rn,xn=Et.rootClassName,In=Et.placement,Un=Et.renderPanel,ir=Et.gap,yr=Et.animated,En=Et.scrollIntoViewOptions,Dr=En===void 0?!0:En,ta=Et.zIndex,Fr=ta===void 0?1001:ta,Vr=Et.closeIcon,Mr=(0,ue.Z)(Et,Ue),Er=me.useRef(),Oa=(0,ie.Z)(0,{value:bt,defaultValue:Nt}),to=(0,fe.Z)(Oa,2),na=to[0],Ao=to[1],Ga=(0,ie.Z)(void 0,{value:qt,postState:function(Wa){return na<0||na>=Ft.length?!1:Wa!=null?Wa:!0}}),sn=(0,fe.Z)(Ga,2),Pn=sn[0],An=sn[1],xr=me.useRef(Pn);(0,se.Z)(function(){Pn&&!xr.current&&Ao(0),xr.current=Pn},[Pn]);var Wr=Ft[na]||{},sa=Wr.target,La=Wr.placement,ua=Wr.style,fa=Wr.arrow,nr=Wr.className,Bn=Wr.mask,er=Wr.scrollIntoViewOptions,Zn=Wr.closeIcon,kr=Pn&&(Bn!=null?Bn:$t),Ca=Zn!=null?Zn:Vr,ga=er!=null?er:Dr,aa=a(sa,qt,ir,ga),on=(0,fe.Z)(aa,2),Nn=on[0],dn=on[1],Yn=y(dn,In,La),mr=dn?typeof fa=="undefined"?nn:fa:!1,wr=(0,we.Z)(mr)==="object"?mr.pointAtCenter:!1;(0,se.Z)(function(){var Ja;(Ja=Er.current)===null||Ja===void 0||Ja.forceAlign()},[wr,na]);var sr=function(Wa){Ao(Wa),Dt==null||Dt(Wa)};if(dn===void 0)return null;var gr=function(){An(!1),Rt==null||Rt(na)},Ea=function(){return me.createElement(Be,(0,E.Z)({arrow:mr,key:"content",prefixCls:wt,total:Ft.length,renderPanel:Un,onPrev:function(){sr(na-1)},onNext:function(){sr(na+1)},onClose:gr,current:na,onFinish:function(){gr(),Ut==null||Ut()},closeIcon:Ca},Ft[na]))},Hn=typeof kr=="boolean"?kr:!!kr,qn=typeof kr=="boolean"?void 0:kr,Mo=function(Wa){return Wa||dn||document.body};return me.createElement(me.Fragment,null,me.createElement(te,{zIndex:Fr,prefixCls:wt,pos:Nn,showMask:Hn,style:qn==null?void 0:qn.style,fill:qn==null?void 0:qn.color,open:Pn,animated:yr,rootClassName:xn}),me.createElement(ae.Z,(0,E.Z)({builtinPlacements:ye(wr)},Mr,{ref:Er,popupStyle:ua,popupPlacement:Yn,popupVisible:Pn,popupClassName:re()(xn,nr),prefixCls:wt,popup:Ea,forceRender:!1,destroyPopupOnHide:!0,zIndex:Fr,getTriggerDOMNode:Mo,arrow:!!mr}),me.createElement(oe.Z,{open:Pn,autoLock:!0},me.createElement("div",{className:re()(xn,"".concat(wt,"-target-placeholder")),style:(0,Qe.Z)((0,Qe.Z)({},Nn||Ee),{},{position:"fixed",pointerEvents:"none"})}))))},Oe=He,ke=Oe,Xe=pe(79676),$e=pe(36355),ze=pe(88088),at=pe(99267),et=pe(3113),it=pe(9763),At=pe(31724),ot=pe(47729);function rt(st){return st!=null}var gt=st=>{let{stepProps:Et,current:Bt,type:wt,indicatorsRender:Lt,closeIcon:Ft}=st;var Nt,bt;const{prefixCls:Dt,total:Rt=1,title:Ut,onClose:qt,onPrev:mn,onNext:$t,onFinish:rn,cover:nn,description:xn,nextButtonProps:In,prevButtonProps:Un,type:ir,className:yr,closeIcon:En}=Et,Dr=ir!=null?ir:wt,ta=En!=null?En:Ft,Fr=ta!==!1&&ta!==null,[Vr,Mr]=(0,ot.Z)(Fr,ta,Wr=>me.createElement("span",{onClick:qt,"aria-label":"Close",className:`${Dt}-close`},Wr),me.createElement(at.Z,{className:`${Dt}-close-icon`}),!0),Er=Bt===Rt-1,Oa=()=>{var Wr;mn==null||mn(),(Wr=Un==null?void 0:Un.onClick)===null||Wr===void 0||Wr.call(Un)},to=()=>{var Wr;Er?rn==null||rn():$t==null||$t(),(Wr=In==null?void 0:In.onClick)===null||Wr===void 0||Wr.call(In)},na=rt(Ut)?me.createElement("div",{className:`${Dt}-header`},me.createElement("div",{className:`${Dt}-title`},Ut)):null,Ao=rt(xn)?me.createElement("div",{className:`${Dt}-description`},xn):null,Ga=rt(nn)?me.createElement("div",{className:`${Dt}-cover`},nn):null;let sn;Lt?sn=Lt(Bt,Rt):sn=(0,Ce.Z)(Array.from({length:Rt}).keys()).map((Wr,sa)=>me.createElement("span",{key:Wr,className:re()(sa===Bt&&`${Dt}-indicator-active`,`${Dt}-indicator`)}));const Pn=Dr==="primary"?"default":"primary",An={type:"default",ghost:Dr==="primary"},[xr]=(0,it.Z)("Tour",At.Z.Tour);return me.createElement("div",{className:re()(yr,`${Dt}-content`)},me.createElement("div",{className:`${Dt}-inner`},Vr&&Mr,Ga,na,Ao,me.createElement("div",{className:`${Dt}-footer`},Rt>1&&me.createElement("div",{className:`${Dt}-indicators`},sn),me.createElement("div",{className:`${Dt}-buttons`},Bt!==0?me.createElement(et.ZP,Object.assign({},An,Un,{onClick:Oa,size:"small",className:re()(`${Dt}-prev-btn`,Un==null?void 0:Un.className)}),(Nt=Un==null?void 0:Un.children)!==null&&Nt!==void 0?Nt:xr==null?void 0:xr.Previous):null,me.createElement(et.ZP,Object.assign({type:Pn},In,{onClick:to,size:"small",className:re()(`${Dt}-next-btn`,In==null?void 0:In.className)}),(bt=In==null?void 0:In.children)!==null&&bt!==void 0?bt:Er?xr==null?void 0:xr.Finish:xr==null?void 0:xr.Next)))))},yt=pe(39722),Tt=pe(64993),vt=pe(17313),ut=pe(19447),qe=pe(83116),je=pe(37613);const Ve=st=>{const{componentCls:Et,lineHeight:Bt,padding:wt,paddingXS:Lt,borderRadius:Ft,borderRadiusXS:Nt,colorPrimary:bt,colorText:Dt,colorFill:Rt,indicatorHeight:Ut,indicatorWidth:qt,boxShadowTertiary:mn,tourZIndexPopup:$t,fontSize:rn,colorBgElevated:nn,fontWeightStrong:xn,marginXS:In,colorTextLightSolid:Un,tourBorderRadius:ir,colorWhite:yr,colorBgTextHover:En,tourCloseSize:Dr,motionDurationSlow:ta,antCls:Fr}=st;return[{[Et]:Object.assign(Object.assign({},(0,vt.Wf)(st)),{color:Dt,position:"absolute",zIndex:$t,display:"block",visibility:"visible",fontSize:rn,lineHeight:Bt,width:520,"--antd-arrow-background-color":nn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${Et}-hidden`]:{display:"none"},[`${Et}-content`]:{position:"relative"},[`${Et}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:ir,boxShadow:mn,position:"relative",backgroundColor:nn,border:"none",backgroundClip:"padding-box",[`${Et}-close`]:{position:"absolute",top:wt,insetInlineEnd:wt,color:st.colorIcon,outline:"none",width:Dr,height:Dr,borderRadius:st.borderRadiusSM,transition:`background-color ${st.motionDurationMid}, color ${st.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:st.colorIconHover,backgroundColor:st.wireframe?"transparent":st.colorFillContent}},[`${Et}-cover`]:{textAlign:"center",padding:`${wt+Dr+Lt}px ${wt}px 0`,img:{width:"100%"}},[`${Et}-header`]:{padding:`${wt}px ${wt}px ${Lt}px`,[`${Et}-title`]:{lineHeight:Bt,fontSize:rn,fontWeight:xn}},[`${Et}-description`]:{padding:`0 ${wt}px`,lineHeight:Bt,wordWrap:"break-word"},[`${Et}-footer`]:{padding:`${Lt}px ${wt}px ${wt}px`,textAlign:"end",borderRadius:`0 0 ${Nt}px ${Nt}px`,display:"flex",[`${Et}-indicators`]:{display:"inline-block",[`${Et}-indicator`]:{width:qt,height:Ut,display:"inline-block",borderRadius:"50%",background:Rt,"&:not(:last-child)":{marginInlineEnd:Ut},"&-active":{background:bt}}},[`${Et}-buttons`]:{marginInlineStart:"auto",[`${Fr}-btn`]:{marginInlineStart:In}}}},[`${Et}-primary, &${Et}-primary`]:{"--antd-arrow-background-color":bt,[`${Et}-inner`]:{color:Un,textAlign:"start",textDecoration:"none",backgroundColor:bt,borderRadius:Ft,boxShadow:mn,[`${Et}-close`]:{color:Un},[`${Et}-indicators`]:{[`${Et}-indicator`]:{background:new Tt.C(Un).setAlpha(.15).toRgbString(),"&-active":{background:Un}}},[`${Et}-prev-btn`]:{color:Un,borderColor:new Tt.C(Un).setAlpha(.15).toRgbString(),backgroundColor:bt,"&:hover":{backgroundColor:new Tt.C(Un).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${Et}-next-btn`]:{color:bt,borderColor:"transparent",background:yr,"&:hover":{background:new Tt.C(En).onBackground(yr).toRgbString()}}}}}),[`${Et}-mask`]:{[`${Et}-placeholder-animated`]:{transition:`all ${ta}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${Et}-inner`]:{borderRadius:Math.min(ir,ut.qN)}}},(0,ut.ZP)(st,{colorBg:"var(--antd-arrow-background-color)",contentRadius:ir,limitVerticalRadius:!0})]};var Ie=(0,qe.Z)("Tour",st=>{const{borderRadiusLG:Et,fontSize:Bt,lineHeight:wt}=st,Lt=(0,je.TS)(st,{tourZIndexPopup:st.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:Et,tourCloseSize:Bt*wt});return[Ve(Lt)]}),_e=pe(53487),Fe=function(st,Et){var Bt={};for(var wt in st)Object.prototype.hasOwnProperty.call(st,wt)&&Et.indexOf(wt)<0&&(Bt[wt]=st[wt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,wt=Object.getOwnPropertySymbols(st);Lt{const{prefixCls:Et,current:Bt=0,total:wt=6,className:Lt,style:Ft,type:Nt}=st,bt=Fe(st,["prefixCls","current","total","className","style","type"]),{getPrefixCls:Dt}=me.useContext($e.E_),Rt=Dt("tour",Et),[Ut,qt]=Ie(Rt);return Ut(me.createElement(yt.t5,{prefixCls:Rt,hashId:qt,className:re()(Lt,`${Rt}-pure`,Nt&&`${Rt}-${Nt}`),style:Ft},me.createElement(gt,{stepProps:Object.assign(Object.assign({},bt),{prefixCls:Rt,total:wt}),current:Bt,type:Nt})))};var Te=(0,_e.i)(De),Le=st=>{let{defaultType:Et,steps:Bt=[],current:wt,defaultCurrent:Lt}=st;var Ft;const[Nt,bt]=(0,ie.Z)(Lt,{value:wt});(0,me.useLayoutEffect)(()=>{wt!==void 0&&bt(wt)},[wt]);const Dt=typeof Nt=="number"?(Ft=Bt[Nt])===null||Ft===void 0?void 0:Ft.type:Et;return{currentMergedType:Dt!=null?Dt:Et,updateInnerCurrent:bt}},Ge=function(st,Et){var Bt={};for(var wt in st)Object.prototype.hasOwnProperty.call(st,wt)&&Et.indexOf(wt)<0&&(Bt[wt]=st[wt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,wt=Object.getOwnPropertySymbols(st);Lt{const{prefixCls:Et,current:Bt,defaultCurrent:wt,type:Lt,rootClassName:Ft,indicatorsRender:Nt,steps:bt}=st,Dt=Ge(st,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:Rt,direction:Ut}=(0,me.useContext)($e.E_),qt=Rt("tour",Et),[mn,$t]=Ie(qt),[,rn]=(0,ze.Z)(),{currentMergedType:nn,updateInnerCurrent:xn}=Le({defaultType:Lt,steps:bt,current:Bt,defaultCurrent:wt}),In=(0,Xe.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:rn.marginXXS,arrowWidth:rn.sizePopupArrow,borderRadius:rn.borderRadius}),Un=re()({[`${qt}-primary`]:nn==="primary",[`${qt}-rtl`]:Ut==="rtl"},$t,Ft),ir=(En,Dr)=>me.createElement(gt,{type:Lt,stepProps:En,current:Dr,indicatorsRender:Nt}),yr=En=>{var Dr;xn(En),(Dr=st.onChange)===null||Dr===void 0||Dr.call(st,En)};return mn(me.createElement(ke,Object.assign({},Dt,{rootClassName:Un,prefixCls:qt,current:Bt,defaultCurrent:wt,animated:!0,renderPanel:ir,builtinPlacements:In,onChange:yr,steps:bt})))};dt._InternalPanelDoNotUseOrYouWillBeFired=Te;var mt=dt},17574:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return ze}});var me=pe(60091),Qe=pe(94480),E=pe(52671),we=pe(8657),fe=pe(54476),ue=pe(59301),oe={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"},ae=oe,le=pe(7657),re=function(et,it){return ue.createElement(le.Z,(0,fe.Z)({},et,{ref:it,icon:ae}))},se=ue.forwardRef(re),ie=se,ne=pe(92310),z=pe.n(ne),y=pe(35654),a=pe(71430),x=pe(36355),b=pe(56082),ee=pe(62892),te=pe(20648);const de=4;function ge(at){const{dropPosition:et,dropLevelOffset:it,prefixCls:At,indent:ot,direction:rt="ltr"}=at,lt=rt==="ltr"?"left":"right",gt=rt==="ltr"?"right":"left",yt={[lt]:-it*ot+de,[gt]:0};switch(et){case-1:yt.top=-3;break;case 1:yt.bottom=-3;break;default:yt.bottom=-3,yt[lt]=ot+de;break}return ue.createElement("div",{style:yt,className:`${At}-drop-indicator`})}var ve=pe(71997),be=ue.forwardRef((at,et)=>{const{getPrefixCls:it,direction:At,virtual:ot,tree:rt}=ue.useContext(x.E_),{prefixCls:lt,className:gt,showIcon:yt=!1,showLine:Tt,switcherIcon:vt,blockNode:ut=!1,children:qe,checkable:je=!1,selectable:Ve=!0,draggable:Ie,motion:_e,style:Fe}=at,De=it("tree",lt),Te=it(),Ne=_e!=null?_e:Object.assign(Object.assign({},(0,ee.Z)(Te)),{motionAppear:!1}),Le=Object.assign(Object.assign({},at),{checkable:je,selectable:Ve,showIcon:yt,motion:Ne,blockNode:ut,showLine:!!Tt,dropIndicatorRender:ge}),[Ge,dt]=(0,te.ZP)(De),mt=ue.useMemo(()=>{if(!Ie)return!1;let Et={};switch(typeof Ie){case"function":Et.nodeDraggable=Ie;break;case"object":Et=Object.assign({},Ie);break;default:break}return Et.icon!==!1&&(Et.icon=Et.icon||ue.createElement(b.Z,null)),Et},[Ie]),st=Et=>ue.createElement(ve.Z,{prefixCls:De,switcherIcon:vt,treeNodeProps:Et,showLine:Tt});return Ge(ue.createElement(me.Z,Object.assign({itemHeight:20,ref:et,virtual:ot},Le,{style:Object.assign(Object.assign({},rt==null?void 0:rt.style),Fe),prefixCls:De,className:z()({[`${De}-icon-hide`]:!yt,[`${De}-block-node`]:ut,[`${De}-unselectable`]:!Ve,[`${De}-rtl`]:At==="rtl"},rt==null?void 0:rt.className,gt,dt),direction:At,checkable:je&&ue.createElement("span",{className:`${De}-checkbox-inner`}),selectable:Ve,switcherIcon:st,draggable:mt}),qe))}),Ce;(function(at){at[at.None=0]="None",at[at.Start=1]="Start",at[at.End=2]="End"})(Ce||(Ce={}));function Se(at,et){function it(At){const{key:ot,children:rt}=At;et(ot,At)!==!1&&Se(rt||[],et)}at.forEach(it)}function Pe(at){let{treeData:et,expandedKeys:it,startKey:At,endKey:ot}=at;const rt=[];let lt=Ce.None;if(At&&At===ot)return[At];if(!At||!ot)return[];function gt(yt){return yt===At||yt===ot}return Se(et,yt=>{if(lt===Ce.End)return!1;if(gt(yt)){if(rt.push(yt),lt===Ce.None)lt=Ce.Start;else if(lt===Ce.Start)return lt=Ce.End,!1}else lt===Ce.Start&&rt.push(yt);return it.includes(yt)}),rt}function Be(at,et){const it=(0,Qe.Z)(et),At=[];return Se(at,(ot,rt)=>{const lt=it.indexOf(ot);return lt!==-1&&(At.push(rt),it.splice(lt,1)),!!it.length}),At}var Ue=function(at,et){var it={};for(var At in at)Object.prototype.hasOwnProperty.call(at,At)&&et.indexOf(At)<0&&(it[At]=at[At]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,At=Object.getOwnPropertySymbols(at);ot{var{defaultExpandAll:it,defaultExpandParent:At,defaultExpandedKeys:ot}=at,rt=Ue(at,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const lt=ue.useRef(),gt=ue.useRef(),yt=()=>{const{keyEntities:mt}=(0,a.I8)(He(rt));let st;return it?st=Object.keys(mt):At?st=(0,y.r7)(rt.expandedKeys||ot||[],mt):st=rt.expandedKeys||ot,st},[Tt,vt]=ue.useState(rt.selectedKeys||rt.defaultSelectedKeys||[]),[ut,qe]=ue.useState(()=>yt());ue.useEffect(()=>{"selectedKeys"in rt&&vt(rt.selectedKeys)},[rt.selectedKeys]),ue.useEffect(()=>{"expandedKeys"in rt&&qe(rt.expandedKeys)},[rt.expandedKeys]);const je=(mt,st)=>{var Et;return"expandedKeys"in rt||qe(mt),(Et=rt.onExpand)===null||Et===void 0?void 0:Et.call(rt,mt,st)},Ve=(mt,st)=>{var Et;const{multiple:Bt}=rt,{node:wt,nativeEvent:Lt}=st,{key:Ft=""}=wt,Nt=He(rt),bt=Object.assign(Object.assign({},st),{selected:!0}),Dt=(Lt==null?void 0:Lt.ctrlKey)||(Lt==null?void 0:Lt.metaKey),Rt=Lt==null?void 0:Lt.shiftKey;let Ut;Bt&&Dt?(Ut=mt,lt.current=Ft,gt.current=Ut,bt.selectedNodes=Be(Nt,Ut)):Bt&&Rt?(Ut=Array.from(new Set([].concat((0,Qe.Z)(gt.current||[]),(0,Qe.Z)(Pe({treeData:Nt,expandedKeys:ut,startKey:Ft,endKey:lt.current}))))),bt.selectedNodes=Be(Nt,Ut)):(Ut=[Ft],lt.current=Ft,gt.current=Ut,bt.selectedNodes=Be(Nt,Ut)),(Et=rt.onSelect)===null||Et===void 0||Et.call(rt,Ut,bt),"selectedKeys"in rt||vt(Ut)},{getPrefixCls:Ie,direction:_e}=ue.useContext(x.E_),{prefixCls:Fe,className:De,showIcon:Te=!0,expandAction:Ne="click"}=rt,Le=Ue(rt,["prefixCls","className","showIcon","expandAction"]),Ge=Ie("tree",Fe),dt=z()(`${Ge}-directory`,{[`${Ge}-directory-rtl`]:_e==="rtl"},De);return ue.createElement(be,Object.assign({icon:Ee,ref:et,blockNode:!0},Le,{showIcon:Te,expandAction:Ne,prefixCls:Ge,className:dt,expandedKeys:ut,selectedKeys:Tt,onSelect:Ve,onExpand:je}))};var Xe=ue.forwardRef(Oe);const $e=be;$e.DirectoryTree=Xe,$e.TreeNode=me.O;var ze=$e},20648:function(Jt,Mt,pe){"use strict";pe.d(Mt,{TM:function(){return ne},Yk:function(){return ie}});var me=pe(36237),Qe=pe(98447),E=pe(17313),we=pe(8378),fe=pe(37613),ue=pe(83116);const oe=new me.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ae=(z,y)=>({[`.${z}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),le=(z,y)=>({[`.${z}-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:'""'}}}),re=(z,y)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:ee,nodeSelectedBg:te,nodeHoverBg:de}=y,ge=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,E.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,E.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:oe,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,E.oN)(y)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:ee,lineHeight:`${ee}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ee}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},ae(z,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:ee,margin:0,lineHeight:`${ee}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:ee/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ee/2*.8,height:ee/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ge},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ee,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${ee}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:de},[`&${a}-node-selected`]:{backgroundColor:te},[`${a}-iconEle`]:{display:"inline-block",width:ee,height:ee,lineHeight:`${ee}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${ee}px`,userSelect:"none"},le(z,y)),[`${x}.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:ee/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${ee/2}px !important`}}}}})}},se=z=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:ee}=z;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${z.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:z.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${z.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:ee,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:ee},[`${y}-node-content-wrapper`]:{color:ee,background:"transparent"}}}}}},ie=(z,y)=>{const a=`.${z}`,x=`${a}-treenode`,b=y.paddingXS/2,ee=(0,fe.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[re(z,ee),se(ee)]},ne=z=>{const{controlHeightSM:y}=z;return{titleHeight:y,nodeHoverBg:z.controlItemBgHover,nodeSelectedBg:z.controlItemBgActive}};Mt.ZP=(0,ue.Z)("Tree",(z,y)=>{let{prefixCls:a}=y;return[{[z.componentCls]:(0,Qe.C2)(`${a}-checkbox`,z)},ie(a,z),(0,we.Z)(z)]},z=>{const{colorTextLightSolid:y,colorPrimary:a}=z;return Object.assign(Object.assign({},ne(z)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Jt,Mt,pe){"use strict";pe.d(Mt,{Z:function(){return x}});var me=pe(54476),Qe=pe(59301),E={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"},we=E,fe=pe(7657),ue=function(ee,te){return Qe.createElement(fe.Z,(0,me.Z)({},ee,{ref:te,icon:we}))},oe=Qe.forwardRef(ue),ae=oe,le=pe(52671),re=pe(58617),se=pe(15075),ie=pe(43531),ne=pe(92310),z=pe.n(ne),y=pe(92343),x=b=>{const{prefixCls:ee,switcherIcon:te,treeNodeProps:de,showLine:ge}=b,{isLeaf:ve,expanded:ye,loading:be}=de;if(be)return Qe.createElement(re.Z,{className:`${ee}-switcher-loading-icon`});let Ce;if(ge&&typeof ge=="object"&&(Ce=ge.showLeafIcon),ve){if(!ge)return null;if(typeof Ce!="boolean"&&Ce){const Be=typeof Ce=="function"?Ce(de):Ce,Ue=`${ee}-switcher-line-custom-icon`;return(0,y.l$)(Be)?(0,y.Tm)(Be,{className:z()(Be.props.className||"",Ue)}):Be}return Ce?Qe.createElement(le.Z,{className:`${ee}-switcher-line-icon`}):Qe.createElement("span",{className:`${ee}-switcher-leaf-line`})}const Se=`${ee}-switcher-icon`,Pe=typeof te=="function"?te(de):te;return(0,y.l$)(Pe)?(0,y.Tm)(Pe,{className:z()(Pe.props.className||"",Se)}):Pe!==void 0?Pe:ge?ye?Qe.createElement(se.Z,{className:`${ee}-switcher-line-icon`}):Qe.createElement(ie.Z,{className:`${ee}-switcher-line-icon`}):Qe.createElement(ae,{className:Se})}},54580:function(Jt,Mt,pe){"use strict";pe.d(Mt,{default:function(){return aa}});var me=pe(59301),Qe=pe(94480),E=pe(92310),we=pe.n(E),fe=pe(54476),ue=pe(67732),oe=pe(83652),ae=pe(42403),le=pe(158),re=pe(20068),se=pe(75931),ie=pe(75044),ne=pe(76190),z=pe(3202),y=pe(26112);function a(on,Nn){var dn="cannot ".concat(on.method," ").concat(on.action," ").concat(Nn.status,"'"),Yn=new Error(dn);return Yn.status=Nn.status,Yn.method=on.method,Yn.url=on.action,Yn}function x(on){var Nn=on.responseText||on.response;if(!Nn)return Nn;try{return JSON.parse(Nn)}catch(dn){return Nn}}function b(on){var Nn=new XMLHttpRequest;on.onProgress&&Nn.upload&&(Nn.upload.onprogress=function(wr){wr.total>0&&(wr.percent=wr.loaded/wr.total*100),on.onProgress(wr)});var dn=new FormData;on.data&&Object.keys(on.data).forEach(function(mr){var wr=on.data[mr];if(Array.isArray(wr)){wr.forEach(function(sr){dn.append("".concat(mr,"[]"),sr)});return}dn.append(mr,wr)}),on.file instanceof Blob?dn.append(on.filename,on.file,on.file.name):dn.append(on.filename,on.file),Nn.onerror=function(wr){on.onError(wr)},Nn.onload=function(){return Nn.status<200||Nn.status>=300?on.onError(a(on,Nn),x(Nn)):on.onSuccess(x(Nn),Nn)},Nn.open(on.method,on.action,!0),on.withCredentials&&"withCredentials"in Nn&&(Nn.withCredentials=!0);var Yn=on.headers||{};return Yn["X-Requested-With"]!==null&&Nn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Yn).forEach(function(mr){Yn[mr]!==null&&Nn.setRequestHeader(mr,Yn[mr])}),Nn.send(dn),{abort:function(){Nn.abort()}}}var ee=+new Date,te=0;function de(){return"rc-upload-".concat(ee,"-").concat(++te)}var ge=pe(48736),ve=function(on,Nn){if(on&&Nn){var dn=Array.isArray(Nn)?Nn:Nn.split(","),Yn=on.name||"",mr=on.type||"",wr=mr.replace(/\/.*$/,"");return dn.some(function(sr){var gr=sr.trim();if(/^\*(\/\*)?$/.test(sr))return!0;if(gr.charAt(0)==="."){var Ea=Yn.toLowerCase(),Hn=gr.toLowerCase(),qn=[Hn];return(Hn===".jpg"||Hn===".jpeg")&&(qn=[".jpg",".jpeg"]),qn.some(function(Mo){return Ea.endsWith(Mo)})}return/\/\*$/.test(gr)?wr===gr.replace(/\/.*$/,""):mr===gr?!0:/^\w+$/.test(gr)?((0,ge.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(gr,"'.Skip for check.")),!0):!1})}return!0};function ye(on,Nn){var dn=on.createReader(),Yn=[];function mr(){dn.readEntries(function(wr){var sr=Array.prototype.slice.apply(wr);Yn=Yn.concat(sr);var gr=!sr.length;gr?Nn(Yn):mr()})}mr()}var be=function(Nn,dn,Yn){var mr=function wr(sr,gr){sr&&(sr.path=gr||"",sr.isFile?sr.file(function(Ea){Yn(Ea)&&(sr.fullPath&&!Ea.webkitRelativePath&&(Object.defineProperties(Ea,{webkitRelativePath:{writable:!0}}),Ea.webkitRelativePath=sr.fullPath.replace(/^\//,""),Object.defineProperties(Ea,{webkitRelativePath:{writable:!1}})),dn([Ea]))}):sr.isDirectory&&ye(sr,function(Ea){Ea.forEach(function(Hn){wr(Hn,"".concat(gr).concat(sr.name,"/"))})}))};Nn.forEach(function(wr){mr(wr.webkitGetAsEntry())})},Ce=be,Se=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Pe=function(on){(0,ae.Z)(dn,on);var Nn=(0,le.Z)(dn);function dn(){var Yn;(0,ue.Z)(this,dn);for(var mr=arguments.length,wr=new Array(mr),sr=0;sr{let{uid:wr}=mr;return wr===on.uid});return Yn===-1?dn.push(on):dn[Yn]=on,dn}function Et(on,Nn){const dn=on.uid!==void 0?"uid":"name";return Nn.filter(Yn=>Yn[dn]===on[dn])[0]}function Bt(on,Nn){const dn=on.uid!==void 0?"uid":"name",Yn=Nn.filter(mr=>mr[dn]!==on[dn]);return Yn.length===Nn.length?null:Yn}const wt=function(){const Nn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Yn=Nn[Nn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Yn)||[""])[0]},Lt=on=>on.indexOf("image/")===0,Ft=on=>{if(on.type&&!on.thumbUrl)return Lt(on.type);const Nn=on.thumbUrl||on.url||"",dn=wt(Nn);return/^data:image\//.test(Nn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(dn)?!0:!(/^data:/.test(Nn)||dn)},Nt=200;function bt(on){return new Promise(Nn=>{if(!on.type||!Lt(on.type)){Nn("");return}const dn=document.createElement("canvas");dn.width=Nt,dn.height=Nt,dn.style.cssText=`position: fixed; left: 0; top: 0; width: ${Nt}px; height: ${Nt}px; z-index: 9999; display: none;`,document.body.appendChild(dn);const Yn=dn.getContext("2d"),mr=new Image;if(mr.onload=()=>{const{width:wr,height:sr}=mr;let gr=Nt,Ea=Nt,Hn=0,qn=0;wr>sr?(Ea=sr*(Nt/wr),qn=-(Ea-gr)/2):(gr=wr*(Nt/sr),Hn=-(gr-Ea)/2),Yn.drawImage(mr,Hn,qn,gr,Ea);const Mo=dn.toDataURL();document.body.removeChild(dn),window.URL.revokeObjectURL(mr.src),Nn(Mo)},mr.crossOrigin="anonymous",on.type.startsWith("image/svg+xml")){const wr=new FileReader;wr.onload=()=>{wr.result&&(mr.src=wr.result)},wr.readAsDataURL(on)}else if(on.type.startsWith("image/gif")){const wr=new FileReader;wr.onload=()=>{wr.result&&Nn(wr.result)},wr.readAsDataURL(on)}else mr.src=window.URL.createObjectURL(on)})}var Dt=pe(26227),Rt=pe(41464),Ut=pe(15277),qt=pe(93948),mn=pe(6848),rn=me.forwardRef((on,Nn)=>{let{prefixCls:dn,className:Yn,style:mr,locale:wr,listType:sr,file:gr,items:Ea,progress:Hn,iconRender:qn,actionIconRender:Mo,itemRender:Ja,isImgUrl:Wa,showPreviewIcon:Ni,showRemoveIcon:Ur,showDownloadIcon:pa,previewIcon:Ba,removeIcon:va,downloadIcon:Uo,onPreview:Do,onDownload:Ia,onClose:mi}=on;var ii,ki;const{status:ts}=gr,[Qi,oa]=me.useState(ts);me.useEffect(()=>{ts!=="removed"&&oa(ts)},[ts]);const[mo,cr]=me.useState(!1);me.useEffect(()=>{const gi=setTimeout(()=>{cr(!0)},300);return()=>{clearTimeout(gi)}},[]);const ma=qn(gr);let Ha=me.createElement("div",{className:`${dn}-icon`},ma);if(sr==="picture"||sr==="picture-card"||sr==="picture-circle")if(Qi==="uploading"||!gr.thumbUrl&&!gr.url){const gi=we()(`${dn}-list-item-thumbnail`,{[`${dn}-list-item-file`]:Qi!=="uploading"});Ha=me.createElement("div",{className:gi},ma)}else{const gi=Wa!=null&&Wa(gr)?me.createElement("img",{src:gr.thumbUrl||gr.url,alt:gr.name,className:`${dn}-list-item-image`,crossOrigin:gr.crossOrigin}):ma,bn=we()(`${dn}-list-item-thumbnail`,{[`${dn}-list-item-file`]:Wa&&!Wa(gr)});Ha=me.createElement("a",{className:bn,onClick:ar=>Do(gr,ar),href:gr.url||gr.thumbUrl,target:"_blank",rel:"noopener noreferrer"},gi)}const Da=we()(`${dn}-list-item`,`${dn}-list-item-${Qi}`),fo=typeof gr.linkProps=="string"?JSON.parse(gr.linkProps):gr.linkProps,Yo=Ur?Mo((typeof va=="function"?va(gr):va)||me.createElement(Dt.Z,null),()=>mi(gr),dn,wr.removeFile):null,lo=pa&&Qi==="done"?Mo((typeof Uo=="function"?Uo(gr):Uo)||me.createElement(Rt.Z,null),()=>Ia(gr),dn,wr.downloadFile):null,Wo=sr!=="picture-card"&&sr!=="picture-circle"&&me.createElement("span",{key:"download-delete",className:we()(`${dn}-list-item-actions`,{picture:sr==="picture"})},lo,Yo),Fi=we()(`${dn}-list-item-name`),Ko=gr.url?[me.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Fi,title:gr.name},fo,{href:gr.url,onClick:gi=>Do(gr,gi)}),gr.name),Wo]:[me.createElement("span",{key:"view",className:Fi,onClick:gi=>Do(gr,gi),title:gr.name},gr.name),Wo],Fo={pointerEvents:"none",opacity:.5},ei=Ni?me.createElement("a",{href:gr.url||gr.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:gr.url||gr.thumbUrl?void 0:Fo,onClick:gi=>Do(gr,gi),title:wr.previewFile},typeof Ba=="function"?Ba(gr):Ba||me.createElement(Ut.Z,null)):null,bi=(sr==="picture-card"||sr==="picture-circle")&&Qi!=="uploading"&&me.createElement("span",{className:`${dn}-list-item-actions`},ei,Qi==="done"&&lo,Yo),{getPrefixCls:wi}=me.useContext($e.E_),ws=wi(),$i=me.createElement("div",{className:Da},Ha,Ko,bi,mo&&me.createElement(Te.default,{motionName:`${ws}-fade`,visible:Qi==="uploading",motionDeadline:2e3},gi=>{let{className:bn}=gi;const ar="percent"in gr?me.createElement(qt.Z,Object.assign({},Hn,{type:"line",percent:gr.percent,"aria-label":gr["aria-label"],"aria-labelledby":gr["aria-labelledby"]})):null;return me.createElement("div",{className:we()(`${dn}-list-item-progress`,bn)},ar)})),Ps=gr.response&&typeof gr.response=="string"?gr.response:((ii=gr.error)===null||ii===void 0?void 0:ii.statusText)||((ki=gr.error)===null||ki===void 0?void 0:ki.message)||wr.uploadError,ms=Qi==="error"?me.createElement(mn.Z,{title:Ps,getPopupContainer:gi=>gi.parentNode},$i):$i;return me.createElement("div",{className:we()(`${dn}-list-item-container`,Yn),style:mr,ref:Nn},Ja?Ja(ms,gr,Ea,{download:Ia.bind(null,gr),preview:Do.bind(null,gr),remove:mi.bind(null,gr)}):ms)});const nn=(on,Nn)=>{const{listType:dn="text",previewFile:Yn=bt,onPreview:mr,onDownload:wr,onRemove:sr,locale:gr,iconRender:Ea,isImageUrl:Hn=Ft,prefixCls:qn,items:Mo=[],showPreviewIcon:Ja=!0,showRemoveIcon:Wa=!0,showDownloadIcon:Ni=!1,removeIcon:Ur,previewIcon:pa,downloadIcon:Ba,progress:va={size:[-1,2],showInfo:!1},appendAction:Uo,appendActionVisible:Do=!0,itemRender:Ia,disabled:mi}=on,ii=(0,Ne.Z)(),[ki,ts]=me.useState(!1);me.useEffect(()=>{dn!=="picture"&&dn!=="picture-card"&&dn!=="picture-circle"||(Mo||[]).forEach(Fo=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Fo.originFileObj instanceof File||Fo.originFileObj instanceof Blob)||Fo.thumbUrl!==void 0||(Fo.thumbUrl="",Yn&&Yn(Fo.originFileObj).then(ei=>{Fo.thumbUrl=ei||"",ii()}))})},[dn,Mo,Yn]),me.useEffect(()=>{ts(!0)},[]);const Qi=(Fo,ei)=>{if(mr)return ei==null||ei.preventDefault(),mr(Fo)},oa=Fo=>{typeof wr=="function"?wr(Fo):Fo.url&&window.open(Fo.url)},mo=Fo=>{sr==null||sr(Fo)},cr=Fo=>{if(Ea)return Ea(Fo,dn);const ei=Fo.status==="uploading",bi=Hn&&Hn(Fo)?me.createElement(De,null):me.createElement(gt,null);let wi=ei?me.createElement(yt.Z,null):me.createElement(je,null);return dn==="picture"?wi=ei?me.createElement(yt.Z,null):bi:(dn==="picture-card"||dn==="picture-circle")&&(wi=ei?gr.uploading:bi),wi},ma=(Fo,ei,bi,wi)=>{const ws={type:"text",size:"small",title:wi,onClick:$i=>{ei(),(0,Ge.l$)(Fo)&&Fo.props.onClick&&Fo.props.onClick($i)},className:`${bi}-list-item-action`,disabled:mi};if((0,Ge.l$)(Fo)){const $i=(0,Ge.Tm)(Fo,Object.assign(Object.assign({},Fo.props),{onClick:()=>{}}));return me.createElement(dt.ZP,Object.assign({},ws,{icon:$i}))}return me.createElement(dt.ZP,Object.assign({},ws),me.createElement("span",null,Fo))};me.useImperativeHandle(Nn,()=>({handlePreview:Qi,handleDownload:oa}));const{getPrefixCls:Ha}=me.useContext($e.E_),Da=Ha("upload",qn),fo=Ha(),Yo=we()(`${Da}-list`,`${Da}-list-${dn}`),lo=(0,Qe.Z)(Mo.map(Fo=>({key:Fo.uid,file:Fo})));let Fi={motionDeadline:2e3,motionName:`${Da}-${dn==="picture-card"||dn==="picture-circle"?"animate-inline":"animate"}`,keys:lo,motionAppear:ki};const Ko=me.useMemo(()=>{const Fo=Object.assign({},(0,Le.Z)(fo));return delete Fo.onAppearEnd,delete Fo.onEnterEnd,delete Fo.onLeaveEnd,Fo},[fo]);return dn!=="picture-card"&&dn!=="picture-circle"&&(Fi=Object.assign(Object.assign({},Ko),Fi)),me.createElement("div",{className:Yo},me.createElement(Te.CSSMotionList,Object.assign({},Fi,{component:!1}),Fo=>{let{key:ei,file:bi,className:wi,style:ws}=Fo;return me.createElement(rn,{key:ei,locale:gr,prefixCls:Da,className:wi,style:ws,file:bi,items:Mo,progress:va,listType:dn,isImgUrl:Hn,showPreviewIcon:Ja,showRemoveIcon:Wa,showDownloadIcon:Ni,removeIcon:Ur,previewIcon:pa,downloadIcon:Ba,iconRender:cr,actionIconRender:ma,itemRender:Ia,onPreview:Qi,onDownload:oa,onClose:mo})}),Uo&&me.createElement(Te.default,Object.assign({},Fi,{visible:Do,forceRender:!0}),Fo=>{let{className:ei,style:bi}=Fo;return(0,Ge.Tm)(Uo,wi=>({className:we()(wi.className,ei),style:Object.assign(Object.assign(Object.assign({},bi),{pointerEvents:ei?"none":void 0}),wi.style)}))}))};var In=me.forwardRef(nn),Un=pe(17313),ir=pe(8378),yr=pe(83116),En=pe(37613),ta=on=>{const{componentCls:Nn,iconCls:dn}=on;return{[`${Nn}-wrapper`]:{[`${Nn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:on.colorFillAlter,border:`${on.lineWidth}px dashed ${on.colorBorder}`,borderRadius:on.borderRadiusLG,cursor:"pointer",transition:`border-color ${on.motionDurationSlow}`,[Nn]:{padding:`${on.padding}px 0`},[`${Nn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Nn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Nn}-disabled):hover`]:{borderColor:on.colorPrimaryHover},[`p${Nn}-drag-icon`]:{marginBottom:on.margin,[dn]:{color:on.colorPrimary,fontSize:on.uploadThumbnailSize}},[`p${Nn}-text`]:{margin:`0 0 ${on.marginXXS}px`,color:on.colorTextHeading,fontSize:on.fontSizeLG},[`p${Nn}-hint`]:{color:on.colorTextDescription,fontSize:on.fontSize},[`&${Nn}-disabled`]:{cursor:"not-allowed",[`p${Nn}-drag-icon ${dn}, p${Nn}-text, p${Nn}-hint `]:{color:on.colorTextDisabled}}}}}},Vr=on=>{const{componentCls:Nn,antCls:dn,iconCls:Yn,fontSize:mr,lineHeight:wr}=on,sr=`${Nn}-list-item`,gr=`${sr}-actions`,Ea=`${sr}-action`,Hn=Math.round(mr*wr);return{[`${Nn}-wrapper`]:{[`${Nn}-list`]:Object.assign(Object.assign({},(0,Un.dF)()),{lineHeight:on.lineHeight,[sr]:{position:"relative",height:on.lineHeight*mr,marginTop:on.marginXS,fontSize:mr,display:"flex",alignItems:"center",transition:`background-color ${on.motionDurationSlow}`,"&:hover":{backgroundColor:on.controlItemBgHover},[`${sr}-name`]:Object.assign(Object.assign({},Un.vS),{padding:`0 ${on.paddingXS}px`,lineHeight:wr,flex:"auto",transition:`all ${on.motionDurationSlow}`}),[gr]:{[Ea]:{opacity:0},[`${Ea}${dn}-btn-sm`]:{height:Hn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` ${Ea}:focus-visible, &.picture ${Ea} `]:{opacity:1},[Yn]:{color:on.actionsColor,transition:`all ${on.motionDurationSlow}`},[`&:hover ${Yn}`]:{color:on.colorText}},[`${Nn}-icon ${Yn}`]:{color:on.colorTextDescription,fontSize:mr},[`${sr}-progress`]:{position:"absolute",bottom:-on.uploadProgressOffset,width:"100%",paddingInlineStart:mr+on.paddingXS,fontSize:mr,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${sr}:hover ${Ea}`]:{opacity:1,color:on.colorText},[`${sr}-error`]:{color:on.colorError,[`${sr}-name, ${Nn}-icon ${Yn}`]:{color:on.colorError},[gr]:{[`${Yn}, ${Yn}:hover`]:{color:on.colorError},[Ea]:{opacity:1}}},[`${Nn}-list-item-container`]:{transition:`opacity ${on.motionDurationSlow}, height ${on.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Mr=pe(36237),Er=pe(1950);const Oa=new Mr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),to=new Mr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ao=on=>{const{componentCls:Nn}=on,dn=`${Nn}-animate-inline`;return[{[`${Nn}-wrapper`]:{[`${dn}-appear, ${dn}-enter, ${dn}-leave`]:{animationDuration:on.motionDurationSlow,animationTimingFunction:on.motionEaseInOutCirc,animationFillMode:"forwards"},[`${dn}-appear, ${dn}-enter`]:{animationName:Oa},[`${dn}-leave`]:{animationName:to}}},{[`${Nn}-wrapper`]:(0,Er.J$)(on)},Oa,to]},Ga=pe(30071),sn=pe(64993);const Pn=on=>{const{componentCls:Nn,iconCls:dn,uploadThumbnailSize:Yn,uploadProgressOffset:mr}=on,wr=`${Nn}-list`,sr=`${wr}-item`;return{[`${Nn}-wrapper`]:{[` ${wr}${wr}-picture, ${wr}${wr}-picture-card, ${wr}${wr}-picture-circle `]:{[sr]:{position:"relative",height:Yn+on.lineWidth*2+on.paddingXS*2,padding:on.paddingXS,border:`${on.lineWidth}px ${on.lineType} ${on.colorBorder}`,borderRadius:on.borderRadiusLG,"&:hover":{background:"transparent"},[`${sr}-thumbnail`]:Object.assign(Object.assign({},Un.vS),{width:Yn,height:Yn,lineHeight:`${Yn+on.paddingSM}px`,textAlign:"center",flex:"none",[dn]:{fontSize:on.fontSizeHeading2,color:on.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${sr}-progress`]:{bottom:mr,width:`calc(100% - ${on.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Yn+on.paddingXS}},[`${sr}-error`]:{borderColor:on.colorError,[`${sr}-thumbnail ${dn}`]:{[`svg path[fill='${Ga.blue[0]}']`]:{fill:on.colorErrorBg},[`svg path[fill='${Ga.blue.primary}']`]:{fill:on.colorError}}},[`${sr}-uploading`]:{borderStyle:"dashed",[`${sr}-name`]:{marginBottom:mr}}},[`${wr}${wr}-picture-circle ${sr}`]:{[`&, &::before, ${sr}-thumbnail`]:{borderRadius:"50%"}}}}},An=on=>{const{componentCls:Nn,iconCls:dn,fontSizeLG:Yn,colorTextLightSolid:mr}=on,wr=`${Nn}-list`,sr=`${wr}-item`,gr=on.uploadPicCardSize;return{[` ${Nn}-wrapper${Nn}-picture-card-wrapper, ${Nn}-wrapper${Nn}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,Un.dF)()),{display:"inline-block",width:"100%",[`${Nn}${Nn}-select`]:{width:gr,height:gr,marginInlineEnd:on.marginXS,marginBottom:on.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:on.colorFillAlter,border:`${on.lineWidth}px dashed ${on.colorBorder}`,borderRadius:on.borderRadiusLG,cursor:"pointer",transition:`border-color ${on.motionDurationSlow}`,[`> ${Nn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Nn}-disabled):hover`]:{borderColor:on.colorPrimary}},[`${wr}${wr}-picture-card, ${wr}${wr}-picture-circle`]:{[`${wr}-item-container`]:{display:"inline-block",width:gr,height:gr,marginBlock:`0 ${on.marginXS}px`,marginInline:`0 ${on.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[sr]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${on.paddingXS*2}px)`,height:`calc(100% - ${on.paddingXS*2}px)`,backgroundColor:on.colorBgMask,opacity:0,transition:`all ${on.motionDurationSlow}`,content:'" "'}},[`${sr}:hover`]:{[`&::before, ${sr}-actions`]:{opacity:1}},[`${sr}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${on.motionDurationSlow}`,[`${dn}-eye, ${dn}-download, ${dn}-delete`]:{zIndex:10,width:Yn,margin:`0 ${on.marginXXS}px`,fontSize:Yn,cursor:"pointer",transition:`all ${on.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${sr}-actions, ${sr}-actions:hover`]:{[`${dn}-eye, ${dn}-download, ${dn}-delete`]:{color:new sn.C(mr).setAlpha(.65).toRgbString(),"&:hover":{color:mr}}},[`${sr}-thumbnail, ${sr}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${sr}-name`]:{display:"none",textAlign:"center"},[`${sr}-file + ${sr}-name`]:{position:"absolute",bottom:on.margin,display:"block",width:`calc(100% - ${on.paddingXS*2}px)`},[`${sr}-uploading`]:{[`&${sr}`]:{backgroundColor:on.colorFillAlter},[`&::before, ${dn}-eye, ${dn}-download, ${dn}-delete`]:{display:"none"}},[`${sr}-progress`]:{bottom:on.marginXL,width:`calc(100% - ${on.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Nn}-wrapper${Nn}-picture-circle-wrapper`]:{[`${Nn}${Nn}-select`]:{borderRadius:"50%"}}}};var Wr=on=>{const{componentCls:Nn}=on;return{[`${Nn}-rtl`]:{direction:"rtl"}}};const sa=on=>{const{componentCls:Nn,colorTextDisabled:dn}=on;return{[`${Nn}-wrapper`]:Object.assign(Object.assign({},(0,Un.Wf)(on)),{[Nn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Nn}-select`]:{display:"inline-block"},[`${Nn}-disabled`]:{color:dn,cursor:"not-allowed"}})}};var La=(0,yr.Z)("Upload",on=>{const{fontSizeHeading3:Nn,fontSize:dn,lineHeight:Yn,lineWidth:mr,controlHeightLG:wr}=on,sr=Math.round(dn*Yn),gr=(0,En.TS)(on,{uploadThumbnailSize:Nn*2,uploadProgressOffset:sr/2+mr,uploadPicCardSize:wr*2.55});return[sa(gr),ta(gr),Pn(gr),An(gr),Vr(gr),Ao(gr),Wr(gr),(0,ir.Z)(gr)]},on=>({actionsColor:on.colorTextDescription})),ua=function(on,Nn,dn,Yn){function mr(wr){return wr instanceof dn?wr:new dn(function(sr){sr(wr)})}return new(dn||(dn=Promise))(function(wr,sr){function gr(qn){try{Hn(Yn.next(qn))}catch(Mo){sr(Mo)}}function Ea(qn){try{Hn(Yn.throw(qn))}catch(Mo){sr(Mo)}}function Hn(qn){qn.done?wr(qn.value):mr(qn.value).then(gr,Ea)}Hn((Yn=Yn.apply(on,Nn||[])).next())})};const fa=`__LIST_IGNORE_${Date.now()}__`,nr=(on,Nn)=>{const{fileList:dn,defaultFileList:Yn,onRemove:mr,showUploadList:wr=!0,listType:sr="text",onPreview:gr,onDownload:Ea,onChange:Hn,onDrop:qn,previewFile:Mo,disabled:Ja,locale:Wa,iconRender:Ni,isImageUrl:Ur,progress:pa,prefixCls:Ba,className:va,type:Uo="select",children:Do,style:Ia,itemRender:mi,maxCount:ii,data:ki={},multiple:ts=!1,action:Qi="",accept:oa="",supportServerRender:mo=!0,rootClassName:cr}=on,ma=me.useContext(ze.Z),Ha=Ja!=null?Ja:ma,[Da,fo]=(0,ke.Z)(Yn||[],{value:dn,postState:no=>no!=null?no:[]}),[Yo,lo]=me.useState("drop"),Wo=me.useRef(null);me.useMemo(()=>{const no=Date.now();(dn||[]).forEach((ci,Zo)=>{!ci.uid&&!Object.isFrozen(ci)&&(ci.uid=`__AUTO__${no}_${Zo}__`)})},[dn]);const Fi=(no,ci,Zo)=>{let xa=(0,Qe.Z)(ci),jn=!1;ii===1?xa=xa.slice(-1):ii&&(jn=xa.length>ii,xa=xa.slice(0,ii)),(0,Xe.flushSync)(()=>{fo(xa)});const Dn={file:no,fileList:xa};Zo&&(Dn.event=Zo),(!jn||xa.some(_n=>_n.uid===no.uid))&&(0,Xe.flushSync)(()=>{Hn==null||Hn(Dn)})},Ko=(no,ci)=>ua(void 0,void 0,void 0,function*(){const{beforeUpload:Zo,transformFile:xa}=on;let jn=no;if(Zo){const Dn=yield Zo(no,ci);if(Dn===!1)return!1;if(delete no[fa],Dn===fa)return Object.defineProperty(no,fa,{value:!0,configurable:!0}),!1;typeof Dn=="object"&&Dn&&(jn=Dn)}return xa&&(jn=yield xa(jn)),jn}),Fo=no=>{const ci=no.filter(jn=>!jn.file[fa]);if(!ci.length)return;const Zo=ci.map(jn=>mt(jn.file));let xa=(0,Qe.Z)(Da);Zo.forEach(jn=>{xa=st(jn,xa)}),Zo.forEach((jn,Dn)=>{let _n=jn;if(ci[Dn].parsedFile)jn.status="uploading";else{const{originFileObj:dr}=jn;let ha;try{ha=new File([dr],dr.name,{type:dr.type})}catch(ya){ha=new Blob([dr],{type:dr.type}),ha.name=dr.name,ha.lastModifiedDate=new Date,ha.lastModified=new Date().getTime()}ha.uid=jn.uid,_n=ha}Fi(_n,xa)})},ei=(no,ci,Zo)=>{try{typeof no=="string"&&(no=JSON.parse(no))}catch(Dn){}if(!Et(ci,Da))return;const xa=mt(ci);xa.status="done",xa.percent=100,xa.response=no,xa.xhr=Zo;const jn=st(xa,Da);Fi(xa,jn)},bi=(no,ci)=>{if(!Et(ci,Da))return;const Zo=mt(ci);Zo.status="uploading",Zo.percent=no.percent;const xa=st(Zo,Da);Fi(Zo,xa,no)},wi=(no,ci,Zo)=>{if(!Et(Zo,Da))return;const xa=mt(Zo);xa.error=no,xa.response=ci,xa.status="error";const jn=st(xa,Da);Fi(xa,jn)},ws=no=>{let ci;Promise.resolve(typeof mr=="function"?mr(no):mr).then(Zo=>{var xa;if(Zo===!1)return;const jn=Bt(no,Da);jn&&(ci=Object.assign(Object.assign({},no),{status:"removed"}),Da==null||Da.forEach(Dn=>{const _n=ci.uid!==void 0?"uid":"name";Dn[_n]===ci[_n]&&!Object.isFrozen(Dn)&&(Dn.status="removed")}),(xa=Wo.current)===null||xa===void 0||xa.abort(ci),Fi(ci,jn))})},$i=no=>{lo(no.type),no.type==="drop"&&(qn==null||qn(no))};me.useImperativeHandle(Nn,()=>({onBatchStart:Fo,onSuccess:ei,onProgress:bi,onError:wi,fileList:Da,upload:Wo.current}));const{getPrefixCls:Ps,direction:ms,upload:gi}=me.useContext($e.E_),bn=Ps("upload",Ba),ar=Object.assign(Object.assign({onBatchStart:Fo,onError:wi,onProgress:bi,onSuccess:ei},on),{data:ki,multiple:ts,action:Qi,accept:oa,supportServerRender:mo,prefixCls:bn,disabled:Ha,beforeUpload:Ko,onChange:void 0});delete ar.className,delete ar.style,(!Do||Ha)&&delete ar.id;const[Rr,uo]=La(bn),[Oo]=(0,at.Z)("Upload",et.Z.Upload),{showRemoveIcon:ho,showPreviewIcon:Nr,showDownloadIcon:pr,removeIcon:ur,previewIcon:Br,downloadIcon:Ta}=typeof wr=="boolean"?{}:wr,Qr=(no,ci)=>wr?me.createElement(In,{prefixCls:bn,listType:sr,items:Da,previewFile:Mo,onPreview:gr,onDownload:Ea,onRemove:ws,showRemoveIcon:!Ha&&ho,showPreviewIcon:Nr,showDownloadIcon:pr,removeIcon:ur,previewIcon:Br,downloadIcon:Ta,iconRender:Ni,locale:Object.assign(Object.assign({},Oo),Wa),isImageUrl:Ur,progress:pa,appendAction:no,appendActionVisible:ci,itemRender:mi,disabled:Ha}):no,bo=we()(`${bn}-wrapper`,va,cr,uo,gi==null?void 0:gi.className,{[`${bn}-rtl`]:ms==="rtl",[`${bn}-picture-card-wrapper`]:sr==="picture-card",[`${bn}-picture-circle-wrapper`]:sr==="picture-circle"}),oo=Object.assign(Object.assign({},gi==null?void 0:gi.style),Ia);if(Uo==="drag"){const no=we()(uo,bn,`${bn}-drag`,{[`${bn}-drag-uploading`]:Da.some(ci=>ci.status==="uploading"),[`${bn}-drag-hover`]:Yo==="dragover",[`${bn}-disabled`]:Ha,[`${bn}-rtl`]:ms==="rtl"});return Rr(me.createElement("span",{className:bo},me.createElement("div",{className:no,style:oo,onDrop:$i,onDragOver:$i,onDragLeave:$i},me.createElement(Oe,Object.assign({},ar,{ref:Wo,className:`${bn}-btn`}),me.createElement("div",{className:`${bn}-drag-container`},Do))),Qr()))}const To=we()(bn,`${bn}-select`,{[`${bn}-disabled`]:Ha}),Xo=(no=>me.createElement("div",{className:To,style:no},me.createElement(Oe,Object.assign({},ar,{ref:Wo}))))(Do?void 0:{display:"none"});return Rr(sr==="picture-card"||sr==="picture-circle"?me.createElement("span",{className:bo},Qr(Xo,!!Do)):me.createElement("span",{className:bo},Xo,Qr()))};var er=me.forwardRef(nr),Zn=function(on,Nn){var dn={};for(var Yn in on)Object.prototype.hasOwnProperty.call(on,Yn)&&Nn.indexOf(Yn)<0&&(dn[Yn]=on[Yn]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mr=0,Yn=Object.getOwnPropertySymbols(on);mr{var{style:dn,height:Yn}=on,mr=Zn(on,["style","height"]);return me.createElement(er,Object.assign({ref:Nn},mr,{type:"drag",style:Object.assign(Object.assign({},dn),{height:Yn})}))});const ga=er;ga.Dragger=Ca,ga.LIST_IGNORE=fa;var aa=ga},86251:function(Jt,Mt){"use strict";Mt.byteLength=oe,Mt.toByteArray=le,Mt.fromByteArray=ie;for(var pe=[],me=[],Qe=typeof Uint8Array!="undefined"?Uint8Array:Array,E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",we=0,fe=E.length;we0)throw new Error("Invalid string. Length must be a multiple of 4");var y=ne.indexOf("=");y===-1&&(y=z);var a=y===z?0:4-y%4;return[y,a]}function oe(ne){var z=ue(ne),y=z[0],a=z[1];return(y+a)*3/4-a}function ae(ne,z,y){return(z+y)*3/4-y}function le(ne){var z,y=ue(ne),a=y[0],x=y[1],b=new Qe(ae(ne,a,x)),ee=0,te=x>0?a-4:a,de;for(de=0;de>16&255,b[ee++]=z>>8&255,b[ee++]=z&255;return x===2&&(z=me[ne.charCodeAt(de)]<<2|me[ne.charCodeAt(de+1)]>>4,b[ee++]=z&255),x===1&&(z=me[ne.charCodeAt(de)]<<10|me[ne.charCodeAt(de+1)]<<4|me[ne.charCodeAt(de+2)]>>2,b[ee++]=z>>8&255,b[ee++]=z&255),b}function re(ne){return pe[ne>>18&63]+pe[ne>>12&63]+pe[ne>>6&63]+pe[ne&63]}function se(ne,z,y){for(var a,x=[],b=z;bte?te:ee+b));return a===1?(z=ne[y-1],x.push(pe[z>>2]+pe[z<<4&63]+"==")):a===2&&(z=(ne[y-2]<<8)+ne[y-1],x.push(pe[z>>10]+pe[z>>4&63]+pe[z<<2&63]+"=")),x.join("")}},19208:function(Jt,Mt,pe){"use strict";var me;var Qe=pe(86251),E=pe(67467),we=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mt.lW=ae,me=ee,Mt.h2=50;var fe=2147483647;me=fe,ae.TYPED_ARRAY_SUPPORT=ue(),!ae.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 ue(){try{var Ie=new Uint8Array(1),_e={foo:function(){return 42}};return Object.setPrototypeOf(_e,Uint8Array.prototype),Object.setPrototypeOf(Ie,_e),Ie.foo()===42}catch(Fe){return!1}}Object.defineProperty(ae.prototype,"parent",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.buffer}}),Object.defineProperty(ae.prototype,"offset",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.byteOffset}});function oe(Ie){if(Ie>fe)throw new RangeError('The value "'+Ie+'" is invalid for option "size"');var _e=new Uint8Array(Ie);return Object.setPrototypeOf(_e,ae.prototype),_e}function ae(Ie,_e,Fe){if(typeof Ie=="number"){if(typeof _e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ie(Ie)}return le(Ie,_e,Fe)}ae.poolSize=8192;function le(Ie,_e,Fe){if(typeof Ie=="string")return ne(Ie,_e);if(ArrayBuffer.isView(Ie))return y(Ie);if(Ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ie);if(qe(Ie,ArrayBuffer)||Ie&&qe(Ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(qe(Ie,SharedArrayBuffer)||Ie&&qe(Ie.buffer,SharedArrayBuffer)))return a(Ie,_e,Fe);if(typeof Ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var De=Ie.valueOf&&Ie.valueOf();if(De!=null&&De!==Ie)return ae.from(De,_e,Fe);var Te=x(Ie);if(Te)return Te;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ie[Symbol.toPrimitive]=="function")return ae.from(Ie[Symbol.toPrimitive]("string"),_e,Fe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ie)}ae.from=function(Ie,_e,Fe){return le(Ie,_e,Fe)},Object.setPrototypeOf(ae.prototype,Uint8Array.prototype),Object.setPrototypeOf(ae,Uint8Array);function re(Ie){if(typeof Ie!="number")throw new TypeError('"size" argument must be of type number');if(Ie<0)throw new RangeError('The value "'+Ie+'" is invalid for option "size"')}function se(Ie,_e,Fe){return re(Ie),Ie<=0?oe(Ie):_e!==void 0?typeof Fe=="string"?oe(Ie).fill(_e,Fe):oe(Ie).fill(_e):oe(Ie)}ae.alloc=function(Ie,_e,Fe){return se(Ie,_e,Fe)};function ie(Ie){return re(Ie),oe(Ie<0?0:b(Ie)|0)}ae.allocUnsafe=function(Ie){return ie(Ie)},ae.allocUnsafeSlow=function(Ie){return ie(Ie)};function ne(Ie,_e){if((typeof _e!="string"||_e==="")&&(_e="utf8"),!ae.isEncoding(_e))throw new TypeError("Unknown encoding: "+_e);var Fe=te(Ie,_e)|0,De=oe(Fe),Te=De.write(Ie,_e);return Te!==Fe&&(De=De.slice(0,Te)),De}function z(Ie){for(var _e=Ie.length<0?0:b(Ie.length)|0,Fe=oe(_e),De=0;De<_e;De+=1)Fe[De]=Ie[De]&255;return Fe}function y(Ie){if(qe(Ie,Uint8Array)){var _e=new Uint8Array(Ie);return a(_e.buffer,_e.byteOffset,_e.byteLength)}return z(Ie)}function a(Ie,_e,Fe){if(_e<0||Ie.byteLength<_e)throw new RangeError('"offset" is outside of buffer bounds');if(Ie.byteLength<_e+(Fe||0))throw new RangeError('"length" is outside of buffer bounds');var De;return _e===void 0&&Fe===void 0?De=new Uint8Array(Ie):Fe===void 0?De=new Uint8Array(Ie,_e):De=new Uint8Array(Ie,_e,Fe),Object.setPrototypeOf(De,ae.prototype),De}function x(Ie){if(ae.isBuffer(Ie)){var _e=b(Ie.length)|0,Fe=oe(_e);return Fe.length===0||Ie.copy(Fe,0,0,_e),Fe}if(Ie.length!==void 0)return typeof Ie.length!="number"||je(Ie.length)?oe(0):z(Ie);if(Ie.type==="Buffer"&&Array.isArray(Ie.data))return z(Ie.data)}function b(Ie){if(Ie>=fe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+fe.toString(16)+" bytes");return Ie|0}function ee(Ie){return+Ie!=Ie&&(Ie=0),ae.alloc(+Ie)}ae.isBuffer=function(_e){return _e!=null&&_e._isBuffer===!0&&_e!==ae.prototype},ae.compare=function(_e,Fe){if(qe(_e,Uint8Array)&&(_e=ae.from(_e,_e.offset,_e.byteLength)),qe(Fe,Uint8Array)&&(Fe=ae.from(Fe,Fe.offset,Fe.byteLength)),!ae.isBuffer(_e)||!ae.isBuffer(Fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(_e===Fe)return 0;for(var De=_e.length,Te=Fe.length,Ne=0,Le=Math.min(De,Te);NeTe.length?ae.from(Le).copy(Te,Ne):Uint8Array.prototype.set.call(Te,Le,Ne);else if(ae.isBuffer(Le))Le.copy(Te,Ne);else throw new TypeError('"list" argument must be an Array of Buffers');Ne+=Le.length}return Te};function te(Ie,_e){if(ae.isBuffer(Ie))return Ie.length;if(ArrayBuffer.isView(Ie)||qe(Ie,ArrayBuffer))return Ie.byteLength;if(typeof Ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ie);var Fe=Ie.length,De=arguments.length>2&&arguments[2]===!0;if(!De&&Fe===0)return 0;for(var Te=!1;;)switch(_e){case"ascii":case"latin1":case"binary":return Fe;case"utf8":case"utf-8":return gt(Ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe*2;case"hex":return Fe>>>1;case"base64":return vt(Ie).length;default:if(Te)return De?-1:gt(Ie).length;_e=(""+_e).toLowerCase(),Te=!0}}ae.byteLength=te;function de(Ie,_e,Fe){var De=!1;if((_e===void 0||_e<0)&&(_e=0),_e>this.length||((Fe===void 0||Fe>this.length)&&(Fe=this.length),Fe<=0)||(Fe>>>=0,_e>>>=0,Fe<=_e))return"";for(Ie||(Ie="utf8");;)switch(Ie){case"hex":return $e(this,_e,Fe);case"utf8":case"utf-8":return Ee(this,_e,Fe);case"ascii":return ke(this,_e,Fe);case"latin1":case"binary":return Xe(this,_e,Fe);case"base64":return Ue(this,_e,Fe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ze(this,_e,Fe);default:if(De)throw new TypeError("Unknown encoding: "+Ie);Ie=(Ie+"").toLowerCase(),De=!0}}ae.prototype._isBuffer=!0;function ge(Ie,_e,Fe){var De=Ie[_e];Ie[_e]=Ie[Fe],Ie[Fe]=De}ae.prototype.swap16=function(){var _e=this.length;if(_e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Fe=0;Fe<_e;Fe+=2)ge(this,Fe,Fe+1);return this},ae.prototype.swap32=function(){var _e=this.length;if(_e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Fe=0;Fe<_e;Fe+=4)ge(this,Fe,Fe+3),ge(this,Fe+1,Fe+2);return this},ae.prototype.swap64=function(){var _e=this.length;if(_e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Fe=0;Fe<_e;Fe+=8)ge(this,Fe,Fe+7),ge(this,Fe+1,Fe+6),ge(this,Fe+2,Fe+5),ge(this,Fe+3,Fe+4);return this},ae.prototype.toString=function(){var _e=this.length;return _e===0?"":arguments.length===0?Ee(this,0,_e):de.apply(this,arguments)},ae.prototype.toLocaleString=ae.prototype.toString,ae.prototype.equals=function(_e){if(!ae.isBuffer(_e))throw new TypeError("Argument must be a Buffer");return this===_e?!0:ae.compare(this,_e)===0},ae.prototype.inspect=function(){var _e="",Fe=Mt.h2;return _e=this.toString("hex",0,Fe).replace(/(.{2})/g,"$1 ").trim(),this.length>Fe&&(_e+=" ... "),""},we&&(ae.prototype[we]=ae.prototype.inspect),ae.prototype.compare=function(_e,Fe,De,Te,Ne){if(qe(_e,Uint8Array)&&(_e=ae.from(_e,_e.offset,_e.byteLength)),!ae.isBuffer(_e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof _e);if(Fe===void 0&&(Fe=0),De===void 0&&(De=_e?_e.length:0),Te===void 0&&(Te=0),Ne===void 0&&(Ne=this.length),Fe<0||De>_e.length||Te<0||Ne>this.length)throw new RangeError("out of range index");if(Te>=Ne&&Fe>=De)return 0;if(Te>=Ne)return-1;if(Fe>=De)return 1;if(Fe>>>=0,De>>>=0,Te>>>=0,Ne>>>=0,this===_e)return 0;for(var Le=Ne-Te,Ge=De-Fe,dt=Math.min(Le,Ge),mt=this.slice(Te,Ne),st=_e.slice(Fe,De),Et=0;Et2147483647?Fe=2147483647:Fe<-2147483648&&(Fe=-2147483648),Fe=+Fe,je(Fe)&&(Fe=Te?0:Ie.length-1),Fe<0&&(Fe=Ie.length+Fe),Fe>=Ie.length){if(Te)return-1;Fe=Ie.length-1}else if(Fe<0)if(Te)Fe=0;else return-1;if(typeof _e=="string"&&(_e=ae.from(_e,De)),ae.isBuffer(_e))return _e.length===0?-1:ye(Ie,_e,Fe,De,Te);if(typeof _e=="number")return _e=_e&255,typeof Uint8Array.prototype.indexOf=="function"?Te?Uint8Array.prototype.indexOf.call(Ie,_e,Fe):Uint8Array.prototype.lastIndexOf.call(Ie,_e,Fe):ye(Ie,[_e],Fe,De,Te);throw new TypeError("val must be string, number or Buffer")}function ye(Ie,_e,Fe,De,Te){var Ne=1,Le=Ie.length,Ge=_e.length;if(De!==void 0&&(De=String(De).toLowerCase(),De==="ucs2"||De==="ucs-2"||De==="utf16le"||De==="utf-16le")){if(Ie.length<2||_e.length<2)return-1;Ne=2,Le/=2,Ge/=2,Fe/=2}function dt(wt,Lt){return Ne===1?wt[Lt]:wt.readUInt16BE(Lt*Ne)}var mt;if(Te){var st=-1;for(mt=Fe;mtLe&&(Fe=Le-Ge),mt=Fe;mt>=0;mt--){for(var Et=!0,Bt=0;BtTe&&(De=Te)):De=Te;var Ne=_e.length;De>Ne/2&&(De=Ne/2);for(var Le=0;Le>>0,isFinite(De)?(De=De>>>0,Te===void 0&&(Te="utf8")):(Te=De,De=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ne=this.length-Fe;if((De===void 0||De>Ne)&&(De=Ne),_e.length>0&&(De<0||Fe<0)||Fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");for(var Le=!1;;)switch(Te){case"hex":return be(this,_e,Fe,De);case"utf8":case"utf-8":return Ce(this,_e,Fe,De);case"ascii":case"latin1":case"binary":return Se(this,_e,Fe,De);case"base64":return Pe(this,_e,Fe,De);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Be(this,_e,Fe,De);default:if(Le)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),Le=!0}},ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ue(Ie,_e,Fe){return _e===0&&Fe===Ie.length?Qe.fromByteArray(Ie):Qe.fromByteArray(Ie.slice(_e,Fe))}function Ee(Ie,_e,Fe){Fe=Math.min(Ie.length,Fe);for(var De=[],Te=_e;Te239?4:Ne>223?3:Ne>191?2:1;if(Te+Ge<=Fe){var dt,mt,st,Et;switch(Ge){case 1:Ne<128&&(Le=Ne);break;case 2:dt=Ie[Te+1],(dt&192)===128&&(Et=(Ne&31)<<6|dt&63,Et>127&&(Le=Et));break;case 3:dt=Ie[Te+1],mt=Ie[Te+2],(dt&192)===128&&(mt&192)===128&&(Et=(Ne&15)<<12|(dt&63)<<6|mt&63,Et>2047&&(Et<55296||Et>57343)&&(Le=Et));break;case 4:dt=Ie[Te+1],mt=Ie[Te+2],st=Ie[Te+3],(dt&192)===128&&(mt&192)===128&&(st&192)===128&&(Et=(Ne&15)<<18|(dt&63)<<12|(mt&63)<<6|st&63,Et>65535&&Et<1114112&&(Le=Et))}}Le===null?(Le=65533,Ge=1):Le>65535&&(Le-=65536,De.push(Le>>>10&1023|55296),Le=56320|Le&1023),De.push(Le),Te+=Ge}return Oe(De)}var He=4096;function Oe(Ie){var _e=Ie.length;if(_e<=He)return String.fromCharCode.apply(String,Ie);for(var Fe="",De=0;De<_e;)Fe+=String.fromCharCode.apply(String,Ie.slice(De,De+=He));return Fe}function ke(Ie,_e,Fe){var De="";Fe=Math.min(Ie.length,Fe);for(var Te=_e;TeDe)&&(Fe=De);for(var Te="",Ne=_e;NeDe&&(_e=De),Fe<0?(Fe+=De,Fe<0&&(Fe=0)):Fe>De&&(Fe=De),Fe<_e&&(Fe=_e);var Te=this.subarray(_e,Fe);return Object.setPrototypeOf(Te,ae.prototype),Te};function at(Ie,_e,Fe){if(Ie%1!==0||Ie<0)throw new RangeError("offset is not uint");if(Ie+_e>Fe)throw new RangeError("Trying to access beyond buffer length")}ae.prototype.readUintLE=ae.prototype.readUIntLE=function(_e,Fe,De){_e=_e>>>0,Fe=Fe>>>0,De||at(_e,Fe,this.length);for(var Te=this[_e],Ne=1,Le=0;++Le>>0,Fe=Fe>>>0,De||at(_e,Fe,this.length);for(var Te=this[_e+--Fe],Ne=1;Fe>0&&(Ne*=256);)Te+=this[_e+--Fe]*Ne;return Te},ae.prototype.readUint8=ae.prototype.readUInt8=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,1,this.length),this[_e]},ae.prototype.readUint16LE=ae.prototype.readUInt16LE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,2,this.length),this[_e]|this[_e+1]<<8},ae.prototype.readUint16BE=ae.prototype.readUInt16BE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,2,this.length),this[_e]<<8|this[_e+1]},ae.prototype.readUint32LE=ae.prototype.readUInt32LE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,4,this.length),(this[_e]|this[_e+1]<<8|this[_e+2]<<16)+this[_e+3]*16777216},ae.prototype.readUint32BE=ae.prototype.readUInt32BE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,4,this.length),this[_e]*16777216+(this[_e+1]<<16|this[_e+2]<<8|this[_e+3])},ae.prototype.readIntLE=function(_e,Fe,De){_e=_e>>>0,Fe=Fe>>>0,De||at(_e,Fe,this.length);for(var Te=this[_e],Ne=1,Le=0;++Le=Ne&&(Te-=Math.pow(2,8*Fe)),Te},ae.prototype.readIntBE=function(_e,Fe,De){_e=_e>>>0,Fe=Fe>>>0,De||at(_e,Fe,this.length);for(var Te=Fe,Ne=1,Le=this[_e+--Te];Te>0&&(Ne*=256);)Le+=this[_e+--Te]*Ne;return Ne*=128,Le>=Ne&&(Le-=Math.pow(2,8*Fe)),Le},ae.prototype.readInt8=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,1,this.length),this[_e]&128?(255-this[_e]+1)*-1:this[_e]},ae.prototype.readInt16LE=function(_e,Fe){_e=_e>>>0,Fe||at(_e,2,this.length);var De=this[_e]|this[_e+1]<<8;return De&32768?De|4294901760:De},ae.prototype.readInt16BE=function(_e,Fe){_e=_e>>>0,Fe||at(_e,2,this.length);var De=this[_e+1]|this[_e]<<8;return De&32768?De|4294901760:De},ae.prototype.readInt32LE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,4,this.length),this[_e]|this[_e+1]<<8|this[_e+2]<<16|this[_e+3]<<24},ae.prototype.readInt32BE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,4,this.length),this[_e]<<24|this[_e+1]<<16|this[_e+2]<<8|this[_e+3]},ae.prototype.readFloatLE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,4,this.length),E.read(this,_e,!0,23,4)},ae.prototype.readFloatBE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,4,this.length),E.read(this,_e,!1,23,4)},ae.prototype.readDoubleLE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,8,this.length),E.read(this,_e,!0,52,8)},ae.prototype.readDoubleBE=function(_e,Fe){return _e=_e>>>0,Fe||at(_e,8,this.length),E.read(this,_e,!1,52,8)};function et(Ie,_e,Fe,De,Te,Ne){if(!ae.isBuffer(Ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(_e>Te||_eIe.length)throw new RangeError("Index out of range")}ae.prototype.writeUintLE=ae.prototype.writeUIntLE=function(_e,Fe,De,Te){if(_e=+_e,Fe=Fe>>>0,De=De>>>0,!Te){var Ne=Math.pow(2,8*De)-1;et(this,_e,Fe,De,Ne,0)}var Le=1,Ge=0;for(this[Fe]=_e&255;++Ge>>0,De=De>>>0,!Te){var Ne=Math.pow(2,8*De)-1;et(this,_e,Fe,De,Ne,0)}var Le=De-1,Ge=1;for(this[Fe+Le]=_e&255;--Le>=0&&(Ge*=256);)this[Fe+Le]=_e/Ge&255;return Fe+De},ae.prototype.writeUint8=ae.prototype.writeUInt8=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,1,255,0),this[Fe]=_e&255,Fe+1},ae.prototype.writeUint16LE=ae.prototype.writeUInt16LE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,2,65535,0),this[Fe]=_e&255,this[Fe+1]=_e>>>8,Fe+2},ae.prototype.writeUint16BE=ae.prototype.writeUInt16BE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,2,65535,0),this[Fe]=_e>>>8,this[Fe+1]=_e&255,Fe+2},ae.prototype.writeUint32LE=ae.prototype.writeUInt32LE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,4,4294967295,0),this[Fe+3]=_e>>>24,this[Fe+2]=_e>>>16,this[Fe+1]=_e>>>8,this[Fe]=_e&255,Fe+4},ae.prototype.writeUint32BE=ae.prototype.writeUInt32BE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,4,4294967295,0),this[Fe]=_e>>>24,this[Fe+1]=_e>>>16,this[Fe+2]=_e>>>8,this[Fe+3]=_e&255,Fe+4},ae.prototype.writeIntLE=function(_e,Fe,De,Te){if(_e=+_e,Fe=Fe>>>0,!Te){var Ne=Math.pow(2,8*De-1);et(this,_e,Fe,De,Ne-1,-Ne)}var Le=0,Ge=1,dt=0;for(this[Fe]=_e&255;++Le>0)-dt&255;return Fe+De},ae.prototype.writeIntBE=function(_e,Fe,De,Te){if(_e=+_e,Fe=Fe>>>0,!Te){var Ne=Math.pow(2,8*De-1);et(this,_e,Fe,De,Ne-1,-Ne)}var Le=De-1,Ge=1,dt=0;for(this[Fe+Le]=_e&255;--Le>=0&&(Ge*=256);)_e<0&&dt===0&&this[Fe+Le+1]!==0&&(dt=1),this[Fe+Le]=(_e/Ge>>0)-dt&255;return Fe+De},ae.prototype.writeInt8=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,1,127,-128),_e<0&&(_e=255+_e+1),this[Fe]=_e&255,Fe+1},ae.prototype.writeInt16LE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,2,32767,-32768),this[Fe]=_e&255,this[Fe+1]=_e>>>8,Fe+2},ae.prototype.writeInt16BE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,2,32767,-32768),this[Fe]=_e>>>8,this[Fe+1]=_e&255,Fe+2},ae.prototype.writeInt32LE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,4,2147483647,-2147483648),this[Fe]=_e&255,this[Fe+1]=_e>>>8,this[Fe+2]=_e>>>16,this[Fe+3]=_e>>>24,Fe+4},ae.prototype.writeInt32BE=function(_e,Fe,De){return _e=+_e,Fe=Fe>>>0,De||et(this,_e,Fe,4,2147483647,-2147483648),_e<0&&(_e=4294967295+_e+1),this[Fe]=_e>>>24,this[Fe+1]=_e>>>16,this[Fe+2]=_e>>>8,this[Fe+3]=_e&255,Fe+4};function it(Ie,_e,Fe,De,Te,Ne){if(Fe+De>Ie.length)throw new RangeError("Index out of range");if(Fe<0)throw new RangeError("Index out of range")}function At(Ie,_e,Fe,De,Te){return _e=+_e,Fe=Fe>>>0,Te||it(Ie,_e,Fe,4,34028234663852886e22,-34028234663852886e22),E.write(Ie,_e,Fe,De,23,4),Fe+4}ae.prototype.writeFloatLE=function(_e,Fe,De){return At(this,_e,Fe,!0,De)},ae.prototype.writeFloatBE=function(_e,Fe,De){return At(this,_e,Fe,!1,De)};function ot(Ie,_e,Fe,De,Te){return _e=+_e,Fe=Fe>>>0,Te||it(Ie,_e,Fe,8,17976931348623157e292,-17976931348623157e292),E.write(Ie,_e,Fe,De,52,8),Fe+8}ae.prototype.writeDoubleLE=function(_e,Fe,De){return ot(this,_e,Fe,!0,De)},ae.prototype.writeDoubleBE=function(_e,Fe,De){return ot(this,_e,Fe,!1,De)},ae.prototype.copy=function(_e,Fe,De,Te){if(!ae.isBuffer(_e))throw new TypeError("argument should be a Buffer");if(De||(De=0),!Te&&Te!==0&&(Te=this.length),Fe>=_e.length&&(Fe=_e.length),Fe||(Fe=0),Te>0&&Te=this.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),_e.length-Fe>>0,De=De===void 0?this.length:De>>>0,_e||(_e=0);var Le;if(typeof _e=="number")for(Le=Fe;Le55295&&Fe<57344){if(!Te){if(Fe>56319){(_e-=3)>-1&&Ne.push(239,191,189);continue}else if(Le+1===De){(_e-=3)>-1&&Ne.push(239,191,189);continue}Te=Fe;continue}if(Fe<56320){(_e-=3)>-1&&Ne.push(239,191,189),Te=Fe;continue}Fe=(Te-55296<<10|Fe-56320)+65536}else Te&&(_e-=3)>-1&&Ne.push(239,191,189);if(Te=null,Fe<128){if((_e-=1)<0)break;Ne.push(Fe)}else if(Fe<2048){if((_e-=2)<0)break;Ne.push(Fe>>6|192,Fe&63|128)}else if(Fe<65536){if((_e-=3)<0)break;Ne.push(Fe>>12|224,Fe>>6&63|128,Fe&63|128)}else if(Fe<1114112){if((_e-=4)<0)break;Ne.push(Fe>>18|240,Fe>>12&63|128,Fe>>6&63|128,Fe&63|128)}else throw new Error("Invalid code point")}return Ne}function yt(Ie){for(var _e=[],Fe=0;Fe>8,Te=Fe%256,Ne.push(Te),Ne.push(De);return Ne}function vt(Ie){return Qe.toByteArray(lt(Ie))}function ut(Ie,_e,Fe,De){for(var Te=0;Te=_e.length||Te>=Ie.length);++Te)_e[Te+Fe]=Ie[Te];return Te}function qe(Ie,_e){return Ie instanceof _e||Ie!=null&&Ie.constructor!=null&&Ie.constructor.name!=null&&Ie.constructor.name===_e.name}function je(Ie){return Ie!==Ie}var Ve=function(){for(var Ie="0123456789abcdef",_e=new Array(256),Fe=0;Fe<16;++Fe)for(var De=Fe*16,Te=0;Te<16;++Te)_e[De+Te]=Ie[Fe]+Ie[Te];return _e}()},64270:function(Jt){(function(Mt,pe){Jt.exports=pe()})(this,function(){"use strict";var Mt=function(Ze,Re){return Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Je,Ye){Je.__proto__=Ye}||function(Je,Ye){for(var St in Ye)Object.prototype.hasOwnProperty.call(Ye,St)&&(Je[St]=Ye[St])},Mt(Ze,Re)};function pe(Ze,Re){if(typeof Re!="function"&&Re!==null)throw new TypeError("Class extends value "+String(Re)+" is not a constructor or null");Mt(Ze,Re);function Je(){this.constructor=Ze}Ze.prototype=Re===null?Object.create(Re):(Je.prototype=Re.prototype,new Je)}var me=function(){return me=Object.assign||function(Re){for(var Je,Ye=1,St=arguments.length;Ye0&&jt[jt.length-1])&&(Xn[0]===6||Xn[0]===2)){Je=0;continue}if(Xn[0]===3&&(!jt||Xn[1]>jt[0]&&Xn[1]=55296&&St<=56319&&Je>10)+55296,zt%1024+56320)),(St+1===Je||Ye.length>16384)&&(jt+=String.fromCharCode.apply(String,Ye),Ye.length=0)}return jt},re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ie=0;ie>4,tr[St++]=(zt&15)<<4|cn>>2,tr[St++]=(cn&3)<<6|un&63;return Xn},x=function(Ze){for(var Re=Ze.length,Je=[],Ye=0;Ye>ee,ye=1<>ee,Se=ve+Ce,Pe=Se,Be=32,Ue=Pe+Be,Ee=65536>>te,He=1<=0){if(Re<55296||Re>56319&&Re<=65535)return Je=this.index[Re>>ee],Je=(Je<>ee)],Je=(Je<>te),Je=this.index[Je],Je+=Re>>ee&Oe,Je=this.index[Je],Je=(Je<ot?(St.push(!0),cn-=ot):St.push(!1),["normal","auto","loose"].indexOf(Re)!==-1&&[8208,8211,12316,12448].indexOf(jt)!==-1)return Ye.push(zt),Je.push(Te);if(cn===yt||cn===Ve){if(zt===0)return Ye.push(zt),Je.push(Dt);var un=Je[zt-1];return Ao.indexOf(un)===-1?(Ye.push(Ye[zt-1]),Je.push(un)):(Ye.push(zt),Je.push(Dt))}if(Ye.push(zt),cn===Rt)return Je.push(Re==="strict"?mt:nn);if(cn===yr||cn===bt)return Je.push(Dt);if(cn===En)return jt>=131072&&jt<=196605||jt>=196608&&jt<=262141?Je.push(nn):Je.push(Dt);Je.push(cn)}),[Ye,Je,St]},An=function(Ze,Re,Je,Ye){var St=Ye[Je];if(Array.isArray(Ze)?Ze.indexOf(St)!==-1:Ze===St)for(var jt=Je;jt<=Ye.length;){jt++;var zt=Ye[jt];if(zt===Re)return!0;if(zt!==je)break}if(St===je)for(var jt=Je;jt>0;){jt--;var cn=Ye[jt];if(Array.isArray(Ze)?Ze.indexOf(cn)!==-1:Ze===cn)for(var un=Je;un<=Ye.length;){un++;var zt=Ye[un];if(zt===Re)return!0;if(zt!==je)break}if(cn!==je)break}return!1},xr=function(Ze,Re){for(var Je=Ze;Je>=0;){var Ye=Re[Je];if(Ye===je)Je--;else return Ye}return 0},Wr=function(Ze,Re,Je,Ye,St){if(Je[Ye]===0)return Fr;var jt=Ye-1;if(Array.isArray(St)&&St[jt]===!0)return Fr;var zt=jt-1,cn=jt+1,un=Re[jt],Xn=zt>=0?Re[zt]:0,tr=Re[cn];if(un===lt&&tr===gt)return Fr;if(Oa.indexOf(un)!==-1)return ta;if(Oa.indexOf(tr)!==-1||to.indexOf(tr)!==-1)return Fr;if(xr(jt,Re)===ut)return Vr;if(Mr.get(Ze[jt])===Ve||(un===Ut||un===qt)&&Mr.get(Ze[cn])===Ve||un===vt||tr===vt||un===qe||[je,_e,De].indexOf(un)===-1&&tr===qe||[Ne,Le,Ge,Bt,Nt].indexOf(tr)!==-1||xr(jt,Re)===st||An(Et,st,jt,Re)||An([Ne,Le],mt,jt,Re)||An(Ie,Ie,jt,Re))return Fr;if(un===je)return Vr;if(un===Et||tr===Et)return Fr;if(tr===Te||un===Te)return Vr;if([_e,De,mt].indexOf(tr)!==-1||un===Fe||Xn===rn&&sn.indexOf(un)!==-1||un===Nt&&tr===rn||tr===dt||Er.indexOf(tr)!==-1&&un===wt||Er.indexOf(un)!==-1&&tr===wt||un===Ft&&[nn,Ut,qt].indexOf(tr)!==-1||[nn,Ut,qt].indexOf(un)!==-1&&tr===Lt||Er.indexOf(un)!==-1&&na.indexOf(tr)!==-1||na.indexOf(un)!==-1&&Er.indexOf(tr)!==-1||[Ft,Lt].indexOf(un)!==-1&&(tr===wt||[st,De].indexOf(tr)!==-1&&Re[cn+1]===wt)||[st,De].indexOf(un)!==-1&&tr===wt||un===wt&&[wt,Nt,Bt].indexOf(tr)!==-1)return Fr;if([wt,Nt,Bt,Ne,Le].indexOf(tr)!==-1)for(var fr=jt;fr>=0;){var qr=Re[fr];if(qr===wt)return Fr;if([Nt,Bt].indexOf(qr)!==-1)fr--;else break}if([Ft,Lt].indexOf(tr)!==-1)for(var fr=[Ne,Le].indexOf(un)!==-1?zt:jt;fr>=0;){var qr=Re[fr];if(qr===wt)return Fr;if([Nt,Bt].indexOf(qr)!==-1)fr--;else break}if(xn===un&&[xn,In,mn,$t].indexOf(tr)!==-1||[In,mn].indexOf(un)!==-1&&[In,Un].indexOf(tr)!==-1||[Un,$t].indexOf(un)!==-1&&tr===Un||Ga.indexOf(un)!==-1&&[dt,Lt].indexOf(tr)!==-1||Ga.indexOf(tr)!==-1&&un===Ft||Er.indexOf(un)!==-1&&Er.indexOf(tr)!==-1||un===Bt&&Er.indexOf(tr)!==-1||Er.concat(wt).indexOf(un)!==-1&&tr===st&&Dr.indexOf(Ze[cn])===-1||Er.concat(wt).indexOf(tr)!==-1&&un===Le)return Fr;if(un===ir&&tr===ir){for(var Io=Je[jt],Ma=1;Io>0&&(Io--,Re[Io]===ir);)Ma++;if(Ma%2!==0)return Fr}return un===Ut&&tr===qt?Fr:Vr},sa=function(Ze,Re){Re||(Re={lineBreak:"normal",wordBreak:"normal"});var Je=Pn(Ze,Re.lineBreak),Ye=Je[0],St=Je[1],jt=Je[2];(Re.wordBreak==="break-all"||Re.wordBreak==="break-word")&&(St=St.map(function(cn){return[wt,Dt,yr].indexOf(cn)!==-1?nn:cn}));var zt=Re.wordBreak==="keep-all"?jt.map(function(cn,un){return cn&&Ze[un]>=19968&&Ze[un]<=40959}):void 0;return[Ye,St,zt]},La=function(){function Ze(Re,Je,Ye,St){this.codePoints=Re,this.required=Je===ta,this.start=Ye,this.end=St}return Ze.prototype.slice=function(){return le.apply(void 0,this.codePoints.slice(this.start,this.end))},Ze}(),ua=function(Ze,Re){var Je=ae(Ze),Ye=sa(Je,Re),St=Ye[0],jt=Ye[1],zt=Ye[2],cn=Je.length,un=0,Xn=0;return{next:function(){if(Xn>=cn)return{done:!0,value:null};for(var tr=Fr;Xn=Fi&&Ze<=57},ar=function(Ze){return Ze>=55296&&Ze<=57343},Rr=function(Ze){return bn(Ze)||Ze>=ws&&Ze<=Ps||Ze>=Ko&&Ze<=ei},uo=function(Ze){return Ze>=Ko&&Ze<=wi},Oo=function(Ze){return Ze>=ws&&Ze<=gi},ho=function(Ze){return uo(Ze)||Oo(Ze)},Nr=function(Ze){return Ze>=mi},pr=function(Ze){return Ze===Zn||Ze===ga||Ze===aa},ur=function(Ze){return ho(Ze)||Nr(Ze)||Ze===Ea},Br=function(Ze){return ur(Ze)||bn(Ze)||Ze===Hn},Ta=function(Ze){return Ze>=ma&&Ze<=Ha||Ze===Da||Ze>=fo&&Ze<=Yo||Ze===lo},Qr=function(Ze,Re){return Ze!==Ca?!1:Re!==Zn},bo=function(Ze,Re,Je){return Ze===Hn?ur(Re)||Qr(Re,Je):ur(Ze)?!0:!!(Ze===Ca&&Qr(Ze,Re))},oo=function(Ze,Re,Je){return Ze===ts||Ze===Hn?bn(Re)?!0:Re===cr&&bn(Je):bn(Ze===cr?Re:Ze)},To=function(Ze){var Re=0,Je=1;(Ze[Re]===ts||Ze[Re]===Hn)&&(Ze[Re]===Hn&&(Je=-1),Re++);for(var Ye=[];bn(Ze[Re]);)Ye.push(Ze[Re++]);var St=Ye.length?parseInt(le.apply(void 0,Ye),10):0;Ze[Re]===cr&&Re++;for(var jt=[];bn(Ze[Re]);)jt.push(Ze[Re++]);var zt=jt.length,cn=zt?parseInt(le.apply(void 0,jt),10):0;(Ze[Re]===$i||Ze[Re]===Fo)&&Re++;var un=1;(Ze[Re]===ts||Ze[Re]===Hn)&&(Ze[Re]===Hn&&(un=-1),Re++);for(var Xn=[];bn(Ze[Re]);)Xn.push(Ze[Re++]);var tr=Xn.length?parseInt(le.apply(void 0,Xn),10):0;return Je*(St+cn*Math.pow(10,-zt))*Math.pow(10,un*tr)},No={type:2},Xo={type:3},no={type:4},ci={type:13},Zo={type:8},xa={type:21},jn={type:9},Dn={type:10},_n={type:11},dr={type:12},ha={type:14},ya={type:23},Tr={type:1},Ya={type:25},Va={type:24},eo={type:26},zi={type:27},Ir={type:28},ti={type:29},Di={type:31},Ti={type:32},wo=function(){function Ze(){this._value=[]}return Ze.prototype.write=function(Re){this._value=this._value.concat(ae(Re))},Ze.prototype.read=function(){for(var Re=[],Je=this.consumeToken();Je!==Ti;)Re.push(Je),Je=this.consumeToken();return Re},Ze.prototype.consumeToken=function(){var Re=this.consumeCodePoint();switch(Re){case on:return this.consumeStringToken(on);case dn:var Je=this.peekCodePoint(0),Ye=this.peekCodePoint(1),St=this.peekCodePoint(2);if(Br(Je)||Qr(Ye,St)){var jt=bo(Je,Ye,St)?nr:fa,zt=this.consumeName();return{type:5,value:zt,flags:jt}}break;case Yn:if(this.peekCodePoint(0)===Nn)return this.consumeCodePoint(),ci;break;case wr:return this.consumeStringToken(wr);case sr:return No;case gr:return Xo;case ki:if(this.peekCodePoint(0)===Nn)return this.consumeCodePoint(),ha;break;case ts:if(oo(Re,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Re),this.consumeNumericToken();break;case Qi:return no;case Hn:var cn=Re,un=this.peekCodePoint(0),Xn=this.peekCodePoint(1);if(oo(cn,un,Xn))return this.reconsumeCodePoint(Re),this.consumeNumericToken();if(bo(cn,un,Xn))return this.reconsumeCodePoint(Re),this.consumeIdentLikeToken();if(un===Hn&&Xn===Ja)return this.consumeCodePoint(),this.consumeCodePoint(),Va;break;case cr:if(oo(Re,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Re),this.consumeNumericToken();break;case kr:if(this.peekCodePoint(0)===ki)for(this.consumeCodePoint();;){var tr=this.consumeCodePoint();if(tr===ki&&(tr=this.consumeCodePoint(),tr===kr))return this.consumeToken();if(tr===Wo)return this.consumeToken()}break;case oa:return eo;case mo:return zi;case Mo:if(this.peekCodePoint(0)===qn&&this.peekCodePoint(1)===Hn&&this.peekCodePoint(2)===Hn)return this.consumeCodePoint(),this.consumeCodePoint(),Ya;break;case Wa:var fr=this.peekCodePoint(0),qr=this.peekCodePoint(1),Io=this.peekCodePoint(2);if(bo(fr,qr,Io)){var zt=this.consumeName();return{type:7,value:zt}}break;case Ni:return Ir;case Ca:if(Qr(Re,this.peekCodePoint(0)))return this.reconsumeCodePoint(Re),this.consumeIdentLikeToken();break;case Ur:return ti;case pa:if(this.peekCodePoint(0)===Nn)return this.consumeCodePoint(),Zo;break;case Ba:return _n;case Uo:return dr;case bi:case ms:var Ma=this.peekCodePoint(0),io=this.peekCodePoint(1);return Ma===ts&&(Rr(io)||io===va)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Re),this.consumeIdentLikeToken();case Do:if(this.peekCodePoint(0)===Nn)return this.consumeCodePoint(),jn;if(this.peekCodePoint(0)===Do)return this.consumeCodePoint(),xa;break;case Ia:if(this.peekCodePoint(0)===Nn)return this.consumeCodePoint(),Dn;break;case Wo:return Ti}return pr(Re)?(this.consumeWhiteSpace(),Di):bn(Re)?(this.reconsumeCodePoint(Re),this.consumeNumericToken()):ur(Re)?(this.reconsumeCodePoint(Re),this.consumeIdentLikeToken()):{type:6,value:le(Re)}},Ze.prototype.consumeCodePoint=function(){var Re=this._value.shift();return typeof Re=="undefined"?-1:Re},Ze.prototype.reconsumeCodePoint=function(Re){this._value.unshift(Re)},Ze.prototype.peekCodePoint=function(Re){return Re>=this._value.length?-1:this._value[Re]},Ze.prototype.consumeUnicodeRangeToken=function(){for(var Re=[],Je=this.consumeCodePoint();Rr(Je)&&Re.length<6;)Re.push(Je),Je=this.consumeCodePoint();for(var Ye=!1;Je===va&&Re.length<6;)Re.push(Je),Je=this.consumeCodePoint(),Ye=!0;if(Ye){var St=parseInt(le.apply(void 0,Re.map(function(un){return un===va?Fi:un})),16),jt=parseInt(le.apply(void 0,Re.map(function(un){return un===va?Ps:un})),16);return{type:30,start:St,end:jt}}var zt=parseInt(le.apply(void 0,Re),16);if(this.peekCodePoint(0)===Hn&&Rr(this.peekCodePoint(1))){this.consumeCodePoint(),Je=this.consumeCodePoint();for(var cn=[];Rr(Je)&&cn.length<6;)cn.push(Je),Je=this.consumeCodePoint();var jt=parseInt(le.apply(void 0,cn),16);return{type:30,start:zt,end:jt}}else return{type:30,start:zt,end:zt}},Ze.prototype.consumeIdentLikeToken=function(){var Re=this.consumeName();return Re.toLowerCase()==="url"&&this.peekCodePoint(0)===sr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===sr?(this.consumeCodePoint(),{type:19,value:Re}):{type:20,value:Re}},Ze.prototype.consumeUrlToken=function(){var Re=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Wo)return{type:22,value:""};var Je=this.peekCodePoint(0);if(Je===wr||Je===on){var Ye=this.consumeStringToken(this.consumeCodePoint());return Ye.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Wo||this.peekCodePoint(0)===gr)?(this.consumeCodePoint(),{type:22,value:Ye.value}):(this.consumeBadUrlRemnants(),ya)}for(;;){var St=this.consumeCodePoint();if(St===Wo||St===gr)return{type:22,value:le.apply(void 0,Re)};if(pr(St))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Wo||this.peekCodePoint(0)===gr?(this.consumeCodePoint(),{type:22,value:le.apply(void 0,Re)}):(this.consumeBadUrlRemnants(),ya);if(St===on||St===wr||St===sr||Ta(St))return this.consumeBadUrlRemnants(),ya;if(St===Ca)if(Qr(St,this.peekCodePoint(0)))Re.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ya;else Re.push(St)}},Ze.prototype.consumeWhiteSpace=function(){for(;pr(this.peekCodePoint(0));)this.consumeCodePoint()},Ze.prototype.consumeBadUrlRemnants=function(){for(;;){var Re=this.consumeCodePoint();if(Re===gr||Re===Wo)return;Qr(Re,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ze.prototype.consumeStringSlice=function(Re){for(var Je=5e4,Ye="";Re>0;){var St=Math.min(Je,Re);Ye+=le.apply(void 0,this._value.splice(0,St)),Re-=St}return this._value.shift(),Ye},Ze.prototype.consumeStringToken=function(Re){var Je="",Ye=0;do{var St=this._value[Ye];if(St===Wo||St===void 0||St===Re)return Je+=this.consumeStringSlice(Ye),{type:0,value:Je};if(St===Zn)return this._value.splice(0,Ye),Tr;if(St===Ca){var jt=this._value[Ye+1];jt!==Wo&&jt!==void 0&&(jt===Zn?(Je+=this.consumeStringSlice(Ye),Ye=-1,this._value.shift()):Qr(St,jt)&&(Je+=this.consumeStringSlice(Ye),Je+=le(this.consumeEscapedCodePoint()),Ye=-1))}Ye++}while(!0)},Ze.prototype.consumeNumber=function(){var Re=[],Je=Bn,Ye=this.peekCodePoint(0);for((Ye===ts||Ye===Hn)&&Re.push(this.consumeCodePoint());bn(this.peekCodePoint(0));)Re.push(this.consumeCodePoint());Ye=this.peekCodePoint(0);var St=this.peekCodePoint(1);if(Ye===cr&&bn(St))for(Re.push(this.consumeCodePoint(),this.consumeCodePoint()),Je=er;bn(this.peekCodePoint(0));)Re.push(this.consumeCodePoint());Ye=this.peekCodePoint(0),St=this.peekCodePoint(1);var jt=this.peekCodePoint(2);if((Ye===$i||Ye===Fo)&&((St===ts||St===Hn)&&bn(jt)||bn(St)))for(Re.push(this.consumeCodePoint(),this.consumeCodePoint()),Je=er;bn(this.peekCodePoint(0));)Re.push(this.consumeCodePoint());return[To(Re),Je]},Ze.prototype.consumeNumericToken=function(){var Re=this.consumeNumber(),Je=Re[0],Ye=Re[1],St=this.peekCodePoint(0),jt=this.peekCodePoint(1),zt=this.peekCodePoint(2);if(bo(St,jt,zt)){var cn=this.consumeName();return{type:15,number:Je,flags:Ye,unit:cn}}return St===mr?(this.consumeCodePoint(),{type:16,number:Je,flags:Ye}):{type:17,number:Je,flags:Ye}},Ze.prototype.consumeEscapedCodePoint=function(){var Re=this.consumeCodePoint();if(Rr(Re)){for(var Je=le(Re);Rr(this.peekCodePoint(0))&&Je.length<6;)Je+=le(this.consumeCodePoint());pr(this.peekCodePoint(0))&&this.consumeCodePoint();var Ye=parseInt(Je,16);return Ye===0||ar(Ye)||Ye>1114111?ii:Ye}return Re===Wo?ii:Re},Ze.prototype.consumeName=function(){for(var Re="";;){var Je=this.consumeCodePoint();if(Br(Je))Re+=le(Je);else if(Qr(Je,this.peekCodePoint(0)))Re+=le(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Je),Re}},Ze}(),$r=function(){function Ze(Re){this._tokens=Re}return Ze.create=function(Re){var Je=new wo;return Je.write(Re),new Ze(Je.read())},Ze.parseValue=function(Re){return Ze.create(Re).parseComponentValue()},Ze.parseValues=function(Re){return Ze.create(Re).parseComponentValues()},Ze.prototype.parseComponentValue=function(){for(var Re=this.consumeToken();Re.type===31;)Re=this.consumeToken();if(Re.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Re);var Je=this.consumeComponentValue();do Re=this.consumeToken();while(Re.type===31);if(Re.type===32)return Je;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ze.prototype.parseComponentValues=function(){for(var Re=[];;){var Je=this.consumeComponentValue();if(Je.type===32)return Re;Re.push(Je),Re.push()}},Ze.prototype.consumeComponentValue=function(){var Re=this.consumeToken();switch(Re.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Re.type);case 19:return this.consumeFunction(Re)}return Re},Ze.prototype.consumeSimpleBlock=function(Re){for(var Je={type:Re,values:[]},Ye=this.consumeToken();;){if(Ye.type===32||Pc(Ye,Re))return Je;this.reconsumeToken(Ye),Je.values.push(this.consumeComponentValue()),Ye=this.consumeToken()}},Ze.prototype.consumeFunction=function(Re){for(var Je={name:Re.value,values:[],type:18};;){var Ye=this.consumeToken();if(Ye.type===32||Ye.type===3)return Je;this.reconsumeToken(Ye),Je.values.push(this.consumeComponentValue())}},Ze.prototype.consumeToken=function(){var Re=this._tokens.shift();return typeof Re=="undefined"?Ti:Re},Ze.prototype.reconsumeToken=function(Re){this._tokens.unshift(Re)},Ze}(),Ki=function(Ze){return Ze.type===15},co=function(Ze){return Ze.type===17},Ka=function(Ze){return Ze.type===20},ks=function(Ze){return Ze.type===0},mu=function(Ze,Re){return Ka(Ze)&&Ze.value===Re},vu=function(Ze){return Ze.type!==31},Pu=function(Ze){return Ze.type!==31&&Ze.type!==4},zl=function(Ze){var Re=[],Je=[];return Ze.forEach(function(Ye){if(Ye.type===4){if(Je.length===0)throw new Error("Error parsing function args, zero tokens for arg");Re.push(Je),Je=[];return}Ye.type!==31&&Je.push(Ye)}),Je.length&&Re.push(Je),Re},Pc=function(Ze,Re){return Re===11&&Ze.type===12||Re===28&&Ze.type===29?!0:Re===2&&Ze.type===3},Kl=function(Ze){return Ze.type===17||Ze.type===15},Os=function(Ze){return Ze.type===16||Kl(Ze)},oc=function(Ze){return Ze.length>1?[Ze[0],Ze[1]]:[Ze[0]]},Xs={type:17,number:0,flags:Bn},ic={type:16,number:50,flags:Bn},Ml={type:16,number:100,flags:Bn},Gl=function(Ze,Re,Je){var Ye=Ze[0],St=Ze[1];return[fs(Ye,Re),fs(typeof St!="undefined"?St:Ye,Je)]},fs=function(Ze,Re){if(Ze.type===16)return Ze.number/100*Re;if(Ki(Ze))switch(Ze.unit){case"rem":case"em":return 16*Ze.number;case"px":default:return Ze.number}return Ze.number},Vc="deg",bd="grad",Xc="rad",ul="turn",yu={name:"angle",parse:function(Ze,Re){if(Re.type===15)switch(Re.unit){case Vc:return Math.PI*Re.number/180;case bd:return Math.PI/200*Re.number;case Xc:return Re.number;case ul:return Math.PI*2*Re.number}throw new Error("Unsupported angle type")}},sc=function(Ze){return Ze.type===15&&(Ze.unit===Vc||Ze.unit===bd||Ze.unit===Xc||Ze.unit===ul)},xA=function(Ze){var Re=Ze.filter(Ka).map(function(Je){return Je.value}).join(" ");switch(Re){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xs,Xs];case"to top":case"bottom":return Al(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xs,Ml];case"to right":case"left":return Al(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ml,Ml];case"to bottom":case"top":return Al(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ml,Xs];case"to left":case"right":return Al(270)}return 0},Al=function(Ze){return Math.PI*Ze/180},ku={name:"color",parse:function(Ze,Re){if(Re.type===18){var Je=rs[Re.name];if(typeof Je=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Re.name+'"');return Je(Ze,Re.values)}if(Re.type===5){if(Re.value.length===3){var Ye=Re.value.substring(0,1),St=Re.value.substring(1,2),jt=Re.value.substring(2,3);return Ds(parseInt(Ye+Ye,16),parseInt(St+St,16),parseInt(jt+jt,16),1)}if(Re.value.length===4){var Ye=Re.value.substring(0,1),St=Re.value.substring(1,2),jt=Re.value.substring(2,3),zt=Re.value.substring(3,4);return Ds(parseInt(Ye+Ye,16),parseInt(St+St,16),parseInt(jt+jt,16),parseInt(zt+zt,16)/255)}if(Re.value.length===6){var Ye=Re.value.substring(0,2),St=Re.value.substring(2,4),jt=Re.value.substring(4,6);return Ds(parseInt(Ye,16),parseInt(St,16),parseInt(jt,16),1)}if(Re.value.length===8){var Ye=Re.value.substring(0,2),St=Re.value.substring(2,4),jt=Re.value.substring(4,6),zt=Re.value.substring(6,8);return Ds(parseInt(Ye,16),parseInt(St,16),parseInt(jt,16),parseInt(zt,16)/255)}}if(Re.type===20){var cn=fl[Re.value.toUpperCase()];if(typeof cn!="undefined")return cn}return fl.TRANSPARENT}},ro=function(Ze){return(255&Ze)===0},Vo=function(Ze){var Re=255&Ze,Je=255&Ze>>8,Ye=255&Ze>>16,St=255&Ze>>24;return Re<255?"rgba("+St+","+Ye+","+Je+","+Re/255+")":"rgb("+St+","+Ye+","+Je+")"},Ds=function(Ze,Re,Je,Ye){return(Ze<<24|Re<<16|Je<<8|Math.round(Ye*255)<<0)>>>0},Wl=function(Ze,Re){if(Ze.type===17)return Ze.number;if(Ze.type===16){var Je=Re===3?1:255;return Re===3?Ze.number/100*Je:Math.round(Ze.number/100*Je)}return 0},Fc=function(Ze,Re){var Je=Re.filter(Pu);if(Je.length===3){var Ye=Je.map(Wl),St=Ye[0],jt=Ye[1],zt=Ye[2];return Ds(St,jt,zt,1)}if(Je.length===4){var cn=Je.map(Wl),St=cn[0],jt=cn[1],zt=cn[2],un=cn[3];return Ds(St,jt,zt,un)}return 0};function yl(Ze,Re,Je){return Je<0&&(Je+=1),Je>=1&&(Je-=1),Je<1/6?(Re-Ze)*Je*6+Ze:Je<1/2?Re:Je<2/3?(Re-Ze)*6*(2/3-Je)+Ze:Ze}var eu=function(Ze,Re){var Je=Re.filter(Pu),Ye=Je[0],St=Je[1],jt=Je[2],zt=Je[3],cn=(Ye.type===17?Al(Ye.number):yu.parse(Ze,Ye))/(Math.PI*2),un=Os(St)?St.number/100:0,Xn=Os(jt)?jt.number/100:0,tr=typeof zt!="undefined"&&Os(zt)?fs(zt,1):1;if(un===0)return Ds(Xn*255,Xn*255,Xn*255,1);var fr=Xn<=.5?Xn*(un+1):Xn+un-Xn*un,qr=Xn*2-fr,Io=yl(qr,fr,cn+1/3),Ma=yl(qr,fr,cn),io=yl(qr,fr,cn-1/3);return Ds(Io*255,Ma*255,io*255,tr)},rs={hsl:eu,hsla:eu,rgb:Fc,rgba:Fc},bu=function(Ze,Re){return ku.parse(Ze,$r.create(Re).parseComponentValue())},fl={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},fc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ze,Re){return Re.map(function(Je){if(Ka(Je))switch(Je.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_c={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Wd=function(Ze,Re){var Je=ku.parse(Ze,Re[0]),Ye=Re[1];return Ye&&Os(Ye)?{color:Je,stop:Ye}:{color:Je,stop:null}},oh=function(Ze,Re){var Je=Ze[0],Ye=Ze[Ze.length-1];Je.stop===null&&(Je.stop=Xs),Ye.stop===null&&(Ye.stop=Ml);for(var St=[],jt=0,zt=0;ztjt?St.push(un):St.push(jt),jt=un}else St.push(null)}for(var Xn=null,zt=0;ztzt.optimumDistance)?{optimumCorner:cn,optimumDistance:tr}:zt},{optimumDistance:St?1/0:-1/0,optimumCorner:null}).optimumCorner},Af=function(Ze,Re,Je,Ye,St){var jt=0,zt=0;switch(Ze.size){case 0:Ze.shape===0?jt=zt=Math.min(Math.abs(Re),Math.abs(Re-Ye),Math.abs(Je),Math.abs(Je-St)):Ze.shape===1&&(jt=Math.min(Math.abs(Re),Math.abs(Re-Ye)),zt=Math.min(Math.abs(Je),Math.abs(Je-St)));break;case 2:if(Ze.shape===0)jt=zt=Math.min(Ru(Re,Je),Ru(Re,Je-St),Ru(Re-Ye,Je),Ru(Re-Ye,Je-St));else if(Ze.shape===1){var cn=Math.min(Math.abs(Je),Math.abs(Je-St))/Math.min(Math.abs(Re),Math.abs(Re-Ye)),un=df(Ye,St,Re,Je,!0),Xn=un[0],tr=un[1];jt=Ru(Xn-Re,(tr-Je)/cn),zt=cn*jt}break;case 1:Ze.shape===0?jt=zt=Math.max(Math.abs(Re),Math.abs(Re-Ye),Math.abs(Je),Math.abs(Je-St)):Ze.shape===1&&(jt=Math.max(Math.abs(Re),Math.abs(Re-Ye)),zt=Math.max(Math.abs(Je),Math.abs(Je-St)));break;case 3:if(Ze.shape===0)jt=zt=Math.max(Ru(Re,Je),Ru(Re,Je-St),Ru(Re-Ye,Je),Ru(Re-Ye,Je-St));else if(Ze.shape===1){var cn=Math.max(Math.abs(Je),Math.abs(Je-St))/Math.max(Math.abs(Re),Math.abs(Re-Ye)),fr=df(Ye,St,Re,Je,!1),Xn=fr[0],tr=fr[1];jt=Ru(Xn-Re,(tr-Je)/cn),zt=cn*jt}break}return Array.isArray(Ze.size)&&(jt=fs(Ze.size[0],Ye),zt=Ze.size.length===2?fs(Ze.size[1],St):jt),[jt,zt]},PA=function(Ze,Re){var Je=Al(180),Ye=[];return zl(Re).forEach(function(St,jt){if(jt===0){var zt=St[0];if(zt.type===20&&zt.value==="to"){Je=xA(St);return}else if(sc(zt)){Je=yu.parse(Ze,zt);return}}var cn=Wd(Ze,St);Ye.push(cn)}),{angle:Je,stops:Ye,type:1}},Zd=function(Ze,Re){var Je=Al(180),Ye=[];return zl(Re).forEach(function(St,jt){if(jt===0){var zt=St[0];if(zt.type===20&&["top","left","right","bottom"].indexOf(zt.value)!==-1){Je=xA(St);return}else if(sc(zt)){Je=(yu.parse(Ze,zt)+Al(270))%Al(360);return}}var cn=Wd(Ze,St);Ye.push(cn)}),{angle:Je,stops:Ye,type:1}},Yh=function(Ze,Re){var Je=Al(180),Ye=[],St=1,jt=0,zt=3,cn=[];return zl(Re).forEach(function(un,Xn){var tr=un[0];if(Xn===0){if(Ka(tr)&&tr.value==="linear"){St=1;return}else if(Ka(tr)&&tr.value==="radial"){St=2;return}}if(tr.type===18){if(tr.name==="from"){var fr=ku.parse(Ze,tr.values[0]);Ye.push({stop:Xs,color:fr})}else if(tr.name==="to"){var fr=ku.parse(Ze,tr.values[0]);Ye.push({stop:Ml,color:fr})}else if(tr.name==="color-stop"){var qr=tr.values.filter(Pu);if(qr.length===2){var fr=ku.parse(Ze,qr[1]),Io=qr[0];co(Io)&&Ye.push({stop:{type:16,number:Io.number*100,flags:Io.flags},color:fr})}}}}),St===1?{angle:(Je+Al(180))%Al(360),stops:Ye,type:St}:{size:zt,shape:jt,stops:Ye,position:cn,type:St}},sh="closest-side",Jh="farthest-side",Vd="closest-corner",Yc="farthest-corner",lh="circle",uh="ellipse",qh="cover",ch="contain",Es=function(Ze,Re){var Je=0,Ye=3,St=[],jt=[];return zl(Re).forEach(function(zt,cn){var un=!0;if(cn===0){var Xn=!1;un=zt.reduce(function(fr,qr){if(Xn)if(Ka(qr))switch(qr.value){case"center":return jt.push(ic),fr;case"top":case"left":return jt.push(Xs),fr;case"right":case"bottom":return jt.push(Ml),fr}else(Os(qr)||Kl(qr))&&jt.push(qr);else if(Ka(qr))switch(qr.value){case lh:return Je=0,!1;case uh:return Je=1,!1;case"at":return Xn=!0,!1;case sh:return Ye=0,!1;case qh:case Jh:return Ye=1,!1;case ch:case Vd:return Ye=2,!1;case Yc:return Ye=3,!1}else if(Kl(qr)||Os(qr))return Array.isArray(Ye)||(Ye=[]),Ye.push(qr),!1;return fr},un)}if(un){var tr=Wd(Ze,zt);St.push(tr)}}),{size:Ye,shape:Je,stops:St,position:jt,type:2}},Zu=function(Ze,Re){var Je=0,Ye=3,St=[],jt=[];return zl(Re).forEach(function(zt,cn){var un=!0;if(cn===0?un=zt.reduce(function(tr,fr){if(Ka(fr))switch(fr.value){case"center":return jt.push(ic),!1;case"top":case"left":return jt.push(Xs),!1;case"right":case"bottom":return jt.push(Ml),!1}else if(Os(fr)||Kl(fr))return jt.push(fr),!1;return tr},un):cn===1&&(un=zt.reduce(function(tr,fr){if(Ka(fr))switch(fr.value){case lh:return Je=0,!1;case uh:return Je=1,!1;case ch:case sh:return Ye=0,!1;case Jh:return Ye=1,!1;case Vd:return Ye=2,!1;case qh:case Yc:return Ye=3,!1}else if(Kl(fr)||Os(fr))return Array.isArray(Ye)||(Ye=[]),Ye.push(fr),!1;return tr},un)),un){var Xn=Wd(Ze,zt);St.push(Xn)}}),{size:Ye,shape:Je,stops:St,position:jt,type:2}},hc=function(Ze){return Ze.type===1},$h=function(Ze){return Ze.type===2},Lc={name:"image",parse:function(Ze,Re){if(Re.type===22){var Je={url:Re.value,type:0};return Ze.cache.addImage(Re.value),Je}if(Re.type===18){var Ye=FA[Re.name];if(typeof Ye=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Re.name+'"');return Ye(Ze,Re.values)}throw new Error("Unsupported image type "+Re.type)}};function dh(Ze){return!(Ze.type===20&&Ze.value==="none")&&(Ze.type!==18||!!FA[Ze.name])}var FA={"linear-gradient":PA,"-moz-linear-gradient":Zd,"-ms-linear-gradient":Zd,"-o-linear-gradient":Zd,"-webkit-linear-gradient":Zd,"radial-gradient":Es,"-moz-radial-gradient":Zu,"-ms-radial-gradient":Zu,"-o-radial-gradient":Zu,"-webkit-radial-gradient":Zu,"-webkit-gradient":Yh},Ah={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ze,Re){if(Re.length===0)return[];var Je=Re[0];return Je.type===20&&Je.value==="none"?[]:Re.filter(function(Ye){return Pu(Ye)&&dh(Ye)}).map(function(Ye){return Lc.parse(Ze,Ye)})}},ff={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ze,Re){return Re.map(function(Je){if(Ka(Je))switch(Je.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},fh={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Ze,Re){return zl(Re).map(function(Je){return Je.filter(Os)}).map(oc)}},Jc={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ze,Re){return zl(Re).map(function(Je){return Je.filter(Ka).map(function(Ye){return Ye.value}).join(" ")}).map(_A)}},_A=function(Ze){switch(Ze){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}},Bl;(function(Ze){Ze.AUTO="auto",Ze.CONTAIN="contain",Ze.COVER="cover"})(Bl||(Bl={}));var Xd={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ze,Re){return zl(Re).map(function(Je){return Je.filter(qc)})}},qc=function(Ze){return Ka(Ze)||Os(Ze)},Ic=function(Ze){return{name:"border-"+Ze+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},eg=Ic("top"),Sd=Ic("right"),hh=Ic("bottom"),$c=Ic("left"),LA=function(Ze){return{name:"border-radius-"+Ze,initialValue:"0 0",prefix:!1,type:1,parse:function(Re,Je){return oc(Je.filter(Os))}}},vm=LA("top-left"),Oc=LA("top-right"),Uu=LA("bottom-right"),Fu=LA("bottom-left"),xs=function(Ze){return{name:"border-"+Ze+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Re,Je){switch(Je){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Cd=xs("top"),gh=xs("right"),ph=xs("bottom"),Ed=xs("left"),Yd=function(Ze){return{name:"border-"+Ze+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Re,Je){return Ki(Je)?Je.number:0}}},hf=Yd("top"),Bd=Yd("right"),tg=Yd("bottom"),ng=Yd("left"),Nl={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Jd={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){case"rtl":return 1;case"ltr":default:return 0}}},rg={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ze,Re){return Re.filter(Ka).reduce(function(Je,Ye){return Je|_t(Ye.value)},0)}},_t=function(Ze){switch(Ze){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},Ot={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Wt={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Ze,Re){return Re.type===20&&Re.value==="normal"?0:Re.type===17||Re.type===15?Re.number:0}},tn;(function(Ze){Ze.NORMAL="normal",Ze.STRICT="strict"})(tn||(tn={}));var vn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){case"strict":return tn.STRICT;case"normal":default:return tn.NORMAL}}},yn={name:"line-height",initialValue:"normal",prefix:!1,type:4},zn=function(Ze,Re){return Ka(Ze)&&Ze.value==="normal"?1.2*Re:Ze.type===17?Re*Ze.number:Os(Ze)?fs(Ze,Re):Re},Gn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ze,Re){return Re.type===20&&Re.value==="none"?null:Lc.parse(Ze,Re)}},kn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){case"inside":return 0;case"outside":default:return 1}}},lr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){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}}},Sr=function(Ze){return{name:"margin-"+Ze,initialValue:"0",prefix:!1,type:4}},Ar=Sr("top"),ea=Sr("right"),Gr=Sr("bottom"),Yr=Sr("left"),ja={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ze,Re){return Re.filter(Ka).map(function(Je){switch(Je.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},ba={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){case"break-word":return"break-word";case"normal":default:return"normal"}}},_a=function(Ze){return{name:"padding-"+Ze,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},wa=_a("top"),Qa=_a("right"),_o=_a("bottom"),jo=_a("left"),po={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Jo={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(Ze,Re){switch(Re){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},fi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ze,Re){return Re.length===1&&mu(Re[0],"none")?[]:zl(Re).map(function(Je){for(var Ye={color:fl.TRANSPARENT,offsetX:Xs,offsetY:Xs,blur:Xs},St=0,jt=0;jt1?1:0],this.overflowWrap=ka(Re,ba,Je.overflowWrap),this.paddingTop=ka(Re,wa,Je.paddingTop),this.paddingRight=ka(Re,Qa,Je.paddingRight),this.paddingBottom=ka(Re,_o,Je.paddingBottom),this.paddingLeft=ka(Re,jo,Je.paddingLeft),this.paintOrder=ka(Re,Vi,Je.paintOrder),this.position=ka(Re,Jo,Je.position),this.textAlign=ka(Re,po,Je.textAlign),this.textDecorationColor=ka(Re,el,(Ye=Je.textDecorationColor)!==null&&Ye!==void 0?Ye:Je.color),this.textDecorationLine=ka(Re,pi,(St=Je.textDecorationLine)!==null&&St!==void 0?St:Je.textDecoration),this.textShadow=ka(Re,fi,Je.textShadow),this.textTransform=ka(Re,Za,Je.textTransform),this.transform=ka(Re,vo,Je.transform),this.transformOrigin=ka(Re,di,Je.transformOrigin),this.visibility=ka(Re,ko,Je.visibility),this.webkitTextStrokeColor=ka(Re,Zl,Je.webkitTextStrokeColor),this.webkitTextStrokeWidth=ka(Re,cl,Je.webkitTextStrokeWidth),this.wordBreak=ka(Re,Gi,Je.wordBreak),this.zIndex=ka(Re,Fs,Je.zIndex)}return Ze.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ze.prototype.isTransparent=function(){return ro(this.backgroundColor)},Ze.prototype.isTransformed=function(){return this.transform!==null},Ze.prototype.isPositioned=function(){return this.position!==0},Ze.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ze.prototype.isFloating=function(){return this.float!==0},Ze.prototype.isInlineLevel=function(){return ao(this.display,4)||ao(this.display,33554432)||ao(this.display,268435456)||ao(this.display,536870912)||ao(this.display,67108864)||ao(this.display,134217728)},Ze}(),dl=function(){function Ze(Re,Je){this.content=ka(Re,Go,Je.content),this.quotes=ka(Re,Bo,Je.quotes)}return Ze}(),wu=function(){function Ze(Re,Je){this.counterIncrement=ka(Re,Qo,Je.counterIncrement),this.counterReset=ka(Re,Eo,Je.counterReset)}return Ze}(),ka=function(Ze,Re,Je){var Ye=new wo,St=Je!==null&&typeof Je!="undefined"?Je.toString():Re.initialValue;Ye.write(St);var jt=new $r(Ye.read());switch(Re.type){case 2:var zt=jt.parseComponentValue();return Re.parse(Ze,Ka(zt)?zt.value:Re.initialValue);case 0:return Re.parse(Ze,jt.parseComponentValue());case 1:return Re.parse(Ze,jt.parseComponentValues());case 4:return jt.parseComponentValue();case 3:switch(Re.format){case"angle":return yu.parse(Ze,jt.parseComponentValue());case"color":return ku.parse(Ze,jt.parseComponentValue());case"image":return Lc.parse(Ze,jt.parseComponentValue());case"length":var cn=jt.parseComponentValue();return Kl(cn)?cn:Xs;case"length-percentage":var un=jt.parseComponentValue();return Os(un)?un:Xs;case"time":return ns.parse(Ze,jt.parseComponentValue())}break}},tu="data-html2canvas-debug",ed=function(Ze){var Re=Ze.getAttribute(tu);switch(Re){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},cs=function(Ze,Re){var Je=ed(Ze);return Je===1||Re===Je},Wi=function(){function Ze(Re,Je){if(this.context=Re,this.textNodes=[],this.elements=[],this.flags=0,cs(Je,3))debugger;this.styles=new Hu(Re,window.getComputedStyle(Je,null)),lg(Je)&&(this.styles.animationDuration.some(function(Ye){return Ye>0})&&(Je.style.animationDuration="0s"),this.styles.transform!==null&&(Je.style.transform="none")),this.bounds=ue(this.context,Je),cs(Je,4)&&(this.flags|=16)}return Ze}(),Ys="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",bl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Li=0;Li>4,tr[St++]=(zt&15)<<4|cn>>2,tr[St++]=(cn&3)<<6|un&63;return Xn},kl=function(Ze){for(var Re=Ze.length,Je=[],Ye=0;Ye>nu,tl=1<>nu,Js=Lu+gl,Vu=Js,lc=32,pc=Vu+lc,Xu=65536>>ru,qd=1<=0){if(Re<55296||Re>56319&&Re<=65535)return Je=this.index[Re>>nu],Je=(Je<<_u)+(Re&Ll),this.data[Je];if(Re<=65535)return Je=this.index[Lu+(Re-55296>>nu)],Je=(Je<<_u)+(Re&Ll),this.data[Je];if(Re>ru),Je=this.index[Je],Je+=Re>>nu&IA,Je=this.index[Je],Je=(Je<<_u)+(Re&Ll),this.data[Je];if(Re<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Ze}(),Ol="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rl=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),nl=0;nl=55296&&St<=56319&&Je>10)+55296,zt%1024+56320)),(St+1===Je||Ye.length>16384)&&(jt+=String.fromCharCode.apply(String,Ye),Ye.length=0)}return jt},yf=Il(Ys),vs="\xD7",MA="\xF7",vh=function(Ze){return yf.get(Ze)},ag=function(Ze,Re,Je){var Ye=Je-2,St=Re[Ye],jt=Re[Je-1],zt=Re[Je];if(jt===$d&&zt===eA)return vs;if(jt===$d||jt===eA||jt===OA||zt===$d||zt===eA||zt===OA)return MA;if(jt===xd&&[xd,Ju,mf,DA].indexOf(zt)!==-1||(jt===mf||jt===Ju)&&(zt===Ju||zt===td)||(jt===DA||jt===td)&&zt===td||zt===vf||zt===gf||zt===pf||jt===Yu)return vs;if(jt===vf&&zt===TA){for(;St===gf;)St=Re[--Ye];if(St===TA)return vs}if(jt===nd&&zt===nd){for(var cn=0;St===nd;)cn++,St=Re[--Ye];if(cn%2===0)return vs}return MA},yh=function(Ze){var Re=jA(Ze),Je=Re.length,Ye=0,St=0,jt=Re.map(vh);return{next:function(){if(Ye>=Je)return{done:!0,value:null};for(var zt=vs;Yezt.x||tr.y>zt.y;return zt=tr,Xn===0?!0:fr});return Ze.body.removeChild(Re),cn},bh=function(){return typeof new Image().crossOrigin!="undefined"},Dc=function(){return typeof new XMLHttpRequest().responseType=="string"},Sf=function(Ze){var Re=new Image,Je=Ze.createElement("canvas"),Ye=Je.getContext("2d");if(!Ye)return!1;Re.src="data:image/svg+xml,";try{Ye.drawImage(Re,0,0),Je.toDataURL()}catch(St){return!1}return!0},kA=function(Ze){return Ze[0]===0&&Ze[1]===255&&Ze[2]===0&&Ze[3]===255},wh=function(Ze){var Re=Ze.createElement("canvas"),Je=100;Re.width=Je,Re.height=Je;var Ye=Re.getContext("2d");if(!Ye)return Promise.reject(!1);Ye.fillStyle="rgb(0, 255, 0)",Ye.fillRect(0,0,Je,Je);var St=new Image,jt=Re.toDataURL();St.src=jt;var zt=tA(Je,Je,0,0,St);return Ye.fillStyle="red",Ye.fillRect(0,0,Je,Je),RA(zt).then(function(cn){Ye.drawImage(cn,0,0);var un=Ye.getImageData(0,0,Je,Je).data;Ye.fillStyle="red",Ye.fillRect(0,0,Je,Je);var Xn=Ze.createElement("div");return Xn.style.backgroundImage="url("+jt+")",Xn.style.height=Je+"px",kA(un)?RA(tA(Je,Je,0,0,Xn)):Promise.reject(!1)}).then(function(cn){return Ye.drawImage(cn,0,0),kA(Ye.getImageData(0,0,Je,Je).data)}).catch(function(){return!1})},tA=function(Ze,Re,Je,Ye,St){var jt="http://www.w3.org/2000/svg",zt=document.createElementNS(jt,"svg"),cn=document.createElementNS(jt,"foreignObject");return zt.setAttributeNS(null,"width",Ze.toString()),zt.setAttributeNS(null,"height",Re.toString()),cn.setAttributeNS(null,"width","100%"),cn.setAttributeNS(null,"height","100%"),cn.setAttributeNS(null,"x",Je.toString()),cn.setAttributeNS(null,"y",Ye.toString()),cn.setAttributeNS(null,"externalResourcesRequired","true"),zt.appendChild(cn),cn.appendChild(St),zt},RA=function(Ze){return new Promise(function(Re,Je){var Ye=new Image;Ye.onload=function(){return Re(Ye)},Ye.onerror=Je,Ye.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ze))})},Dl={get SUPPORT_RANGE_BOUNDS(){var Ze=wf(document);return Object.defineProperty(Dl,"SUPPORT_RANGE_BOUNDS",{value:Ze}),Ze},get SUPPORT_WORD_BREAKING(){var Ze=Dl.SUPPORT_RANGE_BOUNDS&&NA(document);return Object.defineProperty(Dl,"SUPPORT_WORD_BREAKING",{value:Ze}),Ze},get SUPPORT_SVG_DRAWING(){var Ze=Sf(document);return Object.defineProperty(Dl,"SUPPORT_SVG_DRAWING",{value:Ze}),Ze},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ze=typeof Array.from=="function"&&typeof window.fetch=="function"?wh(document):Promise.resolve(!1);return Object.defineProperty(Dl,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ze}),Ze},get SUPPORT_CORS_IMAGES(){var Ze=bh();return Object.defineProperty(Dl,"SUPPORT_CORS_IMAGES",{value:Ze}),Ze},get SUPPORT_RESPONSE_TYPE(){var Ze=Dc();return Object.defineProperty(Dl,"SUPPORT_RESPONSE_TYPE",{value:Ze}),Ze},get SUPPORT_CORS_XHR(){var Ze="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Dl,"SUPPORT_CORS_XHR",{value:Ze}),Ze},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ze=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Dl,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ze}),Ze}},mc=function(){function Ze(Re,Je){this.text=Re,this.bounds=Je}return Ze}(),UA=function(Ze,Re,Je,Ye){var St=Tc(Re,Je),jt=[],zt=0;return St.forEach(function(cn){if(Je.textDecorationLine.length||cn.trim().length>0)if(Dl.SUPPORT_RANGE_BOUNDS){var un=hs(Ye,zt,cn.length).getClientRects();if(un.length>1){var Xn=Us(cn),tr=0;Xn.forEach(function(qr){jt.push(new mc(qr,fe.fromDOMRectList(Ze,hs(Ye,tr+zt,qr.length).getClientRects()))),tr+=qr.length})}else jt.push(new mc(cn,fe.fromDOMRectList(Ze,un)))}else{var fr=Ye.splitText(cn.length);jt.push(new mc(cn,og(Ze,Ye))),Ye=fr}else Dl.SUPPORT_RANGE_BOUNDS||(Ye=Ye.splitText(cn.length));zt+=cn.length}),jt},og=function(Ze,Re){var Je=Re.ownerDocument;if(Je){var Ye=Je.createElement("html2canvaswrapper");Ye.appendChild(Re.cloneNode(!0));var St=Re.parentNode;if(St){St.replaceChild(Ye,Re);var jt=ue(Ze,Ye);return Ye.firstChild&&St.replaceChild(Ye.firstChild,Ye),jt}}return fe.EMPTY},hs=function(Ze,Re,Je){var Ye=Ze.ownerDocument;if(!Ye)throw new Error("Node has no owner document");var St=Ye.createRange();return St.setStart(Ze,Re),St.setEnd(Ze,Re+Je),St},Us=function(Ze){if(Dl.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Re=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Re.segment(Ze)).map(function(Je){return Je.segment})}return bf(Ze)},Qu=function(Ze,Re){if(Dl.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Je=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Je.segment(Ze)).map(function(Ye){return Ye.segment})}return Sh(Ze,Re)},Tc=function(Ze,Re){return Re.letterSpacing!==0?Us(Ze):Qu(Ze,Re)},jc=[32,160,4961,65792,65793,4153,4241],Sh=function(Ze,Re){for(var Je=ua(Ze,{lineBreak:Re.lineBreak,wordBreak:Re.overflowWrap==="break-word"?"break-word":Re.wordBreak}),Ye=[],St,jt=function(){if(St.value){var zt=St.value.slice(),cn=ae(zt),un="";cn.forEach(function(Xn){jc.indexOf(Xn)===-1?un+=le(Xn):(un.length&&Ye.push(un),Ye.push(le(Xn)),un="")}),un.length&&Ye.push(un)}};!(St=Je.next()).done;)jt();return Ye},Cf=function(){function Ze(Re,Je,Ye){this.text=Ef(Je.data,Ye.textTransform),this.textBounds=UA(Re,this.text,Ye,Je)}return Ze}(),Ef=function(Ze,Re){switch(Re){case 1:return Ze.toLowerCase();case 3:return Ze.replace(Bf,xf);case 2:return Ze.toUpperCase();default:return Ze}},Bf=/(^|\s|:|-|\(|\))([a-z])/g,xf=function(Ze,Re,Je){return Ze.length>0?Re+Je.toUpperCase():Ze},ep=function(Ze){pe(Re,Ze);function Re(Je,Ye){var St=Ze.call(this,Je,Ye)||this;return St.src=Ye.currentSrc||Ye.src,St.intrinsicWidth=Ye.naturalWidth,St.intrinsicHeight=Ye.naturalHeight,St.context.cache.addImage(St.src),St}return Re}(Wi),tp=function(Ze){pe(Re,Ze);function Re(Je,Ye){var St=Ze.call(this,Je,Ye)||this;return St.canvas=Ye,St.intrinsicWidth=Ye.width,St.intrinsicHeight=Ye.height,St}return Re}(Wi),np=function(Ze){pe(Re,Ze);function Re(Je,Ye){var St=Ze.call(this,Je,Ye)||this,jt=new XMLSerializer,zt=ue(Je,Ye);return Ye.setAttribute("width",zt.width+"px"),Ye.setAttribute("height",zt.height+"px"),St.svg="data:image/svg+xml,"+encodeURIComponent(jt.serializeToString(Ye)),St.intrinsicWidth=Ye.width.baseVal.value,St.intrinsicHeight=Ye.height.baseVal.value,St.context.cache.addImage(St.svg),St}return Re}(Wi),rp=function(Ze){pe(Re,Ze);function Re(Je,Ye){var St=Ze.call(this,Je,Ye)||this;return St.value=Ye.value,St}return Re}(Wi),ig=function(Ze){pe(Re,Ze);function Re(Je,Ye){var St=Ze.call(this,Je,Ye)||this;return St.start=Ye.start,St.reversed=typeof Ye.reversed=="boolean"&&Ye.reversed===!0,St}return Re}(Wi),rd=[{type:15,flags:0,unit:"px",number:3}],ym=[{type:16,flags:0,number:50}],bm=function(Ze){return Ze.width>Ze.height?new fe(Ze.left+(Ze.width-Ze.height)/2,Ze.top,Ze.height,Ze.height):Ze.width0)Je.textNodes.push(new Cf(Ze,St,Je.styles));else if(QA(St))if(gp(St)&&St.assignedNodes)St.assignedNodes().forEach(function(cn){return HA(Ze,cn,Je,Ye)});else{var zt=sp(Ze,St);zt.styles.isVisible()&&(wm(St,zt,Ye)?zt.flags|=4:Sm(zt.styles)&&(zt.flags|=2),_f.indexOf(St.tagName)!==-1&&(zt.flags|=8),Je.elements.push(zt),St.slot,St.shadowRoot?HA(Ze,St.shadowRoot,zt,Ye):!Lf(St)&&!cp(St)&&!Ph(St)&&HA(Ze,St,zt,Ye))}},sp=function(Ze,Re){return cg(Re)?new ep(Ze,Re):dp(Re)?new tp(Ze,Re):cp(Re)?new np(Ze,Re):Cm(Re)?new rp(Ze,Re):Em(Re)?new ig(Ze,Re):Bm(Re)?new Ff(Ze,Re):Ph(Re)?new op(Ze,Re):Lf(Re)?new sg(Ze,Re):fp(Re)?new ip(Ze,Re):new Wi(Ze,Re)},lp=function(Ze,Re){var Je=sp(Ze,Re);return Je.flags|=4,HA(Ze,Re,Je,Je),Je},wm=function(Ze,Re,Je){return Re.styles.isPositionedWithZIndex()||Re.styles.opacity<1||Re.styles.isTransformed()||ug(Ze)&&Je.styles.isTransparent()},Sm=function(Ze){return Ze.isPositioned()||Ze.isFloating()},up=function(Ze){return Ze.nodeType===Node.TEXT_NODE},QA=function(Ze){return Ze.nodeType===Node.ELEMENT_NODE},lg=function(Ze){return QA(Ze)&&typeof Ze.style!="undefined"&&!xh(Ze)},xh=function(Ze){return typeof Ze.className=="object"},Cm=function(Ze){return Ze.tagName==="LI"},Em=function(Ze){return Ze.tagName==="OL"},Bm=function(Ze){return Ze.tagName==="INPUT"},xm=function(Ze){return Ze.tagName==="HTML"},cp=function(Ze){return Ze.tagName==="svg"},ug=function(Ze){return Ze.tagName==="BODY"},dp=function(Ze){return Ze.tagName==="CANVAS"},Ap=function(Ze){return Ze.tagName==="VIDEO"},cg=function(Ze){return Ze.tagName==="IMG"},fp=function(Ze){return Ze.tagName==="IFRAME"},hp=function(Ze){return Ze.tagName==="STYLE"},dg=function(Ze){return Ze.tagName==="SCRIPT"},Lf=function(Ze){return Ze.tagName==="TEXTAREA"},Ph=function(Ze){return Ze.tagName==="SELECT"},gp=function(Ze){return Ze.tagName==="SLOT"},pp=function(Ze){return Ze.tagName.indexOf("-")>0},E0=function(){function Ze(){this.counters={}}return Ze.prototype.getCounterValue=function(Re){var Je=this.counters[Re];return Je&&Je.length?Je[Je.length-1]:1},Ze.prototype.getCounterValues=function(Re){var Je=this.counters[Re];return Je||[]},Ze.prototype.pop=function(Re){var Je=this;Re.forEach(function(Ye){return Je.counters[Ye].pop()})},Ze.prototype.parse=function(Re){var Je=this,Ye=Re.counterIncrement,St=Re.counterReset,jt=!0;Ye!==null&&Ye.forEach(function(cn){var un=Je.counters[cn.counter];un&&cn.increment!==0&&(jt=!1,un.length||un.push(1),un[Math.max(0,un.length-1)]+=cn.increment)});var zt=[];return jt&&St.forEach(function(cn){var un=Je.counters[cn.counter];zt.push(cn.counter),un||(un=Je.counters[cn.counter]=[]),un.push(cn.reset)}),zt},Ze}(),Ag={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"]},fg={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"]},Pm={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"]},mp={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"]},nA=function(Ze,Re,Je,Ye,St,jt){return ZeJe?Of(Ze,St,jt.length>0):Ye.integers.reduce(function(zt,cn,un){for(;Ze>=cn;)Ze-=cn,zt+=Ye.values[un];return zt},"")+jt},Fm=function(Ze,Re,Je,Ye){var St="";do Je||Ze--,St=Ye(Ze)+St,Ze/=Re;while(Ze*Re>=Re);return St},xl=function(Ze,Re,Je,Ye,St){var jt=Je-Re+1;return(Ze<0?"-":"")+(Fm(Math.abs(Ze),jt,Ye,function(zt){return le(Math.floor(zt%jt)+Re)})+St)},Pd=function(Ze,Re,Je){Je===void 0&&(Je=". ");var Ye=Re.length;return Fm(Math.abs(Ze),Ye,!1,function(St){return Re[Math.floor(St%Ye)]})+Je},rA=1,ad=2,od=4,If=8,id=function(Ze,Re,Je,Ye,St,jt){if(Ze<-9999||Ze>9999)return Of(Ze,4,St.length>0);var zt=Math.abs(Ze),cn=St;if(zt===0)return Re[0]+cn;for(var un=0;zt>0&&un<=4;un++){var Xn=zt%10;Xn===0&&ao(jt,rA)&&cn!==""?cn=Re[Xn]+cn:Xn>1||Xn===1&&un===0||Xn===1&&un===1&&ao(jt,ad)||Xn===1&&un===1&&ao(jt,od)&&Ze>100||Xn===1&&un>1&&ao(jt,If)?cn=Re[Xn]+(un>0?Je[un-1]:"")+cn:Xn===1&&un>0&&(cn=Je[un-1]+cn),zt=Math.floor(zt/10)}return(Ze<0?Ye:"")+cn},vp="\u5341\u767E\u5343\u842C",_m="\u62FE\u4F70\u4EDF\u842C",yp="\u30DE\u30A4\u30CA\u30B9",hg="\uB9C8\uC774\uB108\uC2A4",Of=function(Ze,Re,Je){var Ye=Je?". ":"",St=Je?"\u3001":"",jt=Je?", ":"",zt=Je?" ":"";switch(Re){case 0:return"\u2022"+zt;case 1:return"\u25E6"+zt;case 2:return"\u25FE"+zt;case 5:var cn=xl(Ze,48,57,!0,Ye);return cn.length<4?"0"+cn:cn;case 4:return Pd(Ze,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",St);case 6:return nA(Ze,1,3999,Ag,3,Ye).toLowerCase();case 7:return nA(Ze,1,3999,Ag,3,Ye);case 8:return xl(Ze,945,969,!1,Ye);case 9:return xl(Ze,97,122,!1,Ye);case 10:return xl(Ze,65,90,!1,Ye);case 11:return xl(Ze,1632,1641,!0,Ye);case 12:case 49:return nA(Ze,1,9999,fg,3,Ye);case 35:return nA(Ze,1,9999,fg,3,Ye).toLowerCase();case 13:return xl(Ze,2534,2543,!0,Ye);case 14:case 30:return xl(Ze,6112,6121,!0,Ye);case 15:return Pd(Ze,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",St);case 16:return Pd(Ze,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",St);case 17:case 48:return id(Ze,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",vp,"\u8CA0",St,ad|od|If);case 47:return id(Ze,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",_m,"\u8CA0",St,rA|ad|od|If);case 42:return id(Ze,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",vp,"\u8D1F",St,ad|od|If);case 41:return id(Ze,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",_m,"\u8D1F",St,rA|ad|od|If);case 26:return id(Ze,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",yp,St,0);case 25:return id(Ze,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",yp,St,rA|ad|od);case 31:return id(Ze,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",hg,jt,rA|ad|od);case 33:return id(Ze,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",hg,jt,0);case 32:return id(Ze,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",hg,jt,rA|ad|od);case 18:return xl(Ze,2406,2415,!0,Ye);case 20:return nA(Ze,1,19999,mp,3,Ye);case 21:return xl(Ze,2790,2799,!0,Ye);case 22:return xl(Ze,2662,2671,!0,Ye);case 22:return nA(Ze,1,10999,Pm,3,Ye);case 23:return Pd(Ze,"\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 Pd(Ze,"\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 xl(Ze,3302,3311,!0,Ye);case 28:return Pd(Ze,"\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",St);case 29:return Pd(Ze,"\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",St);case 34:return xl(Ze,3792,3801,!0,Ye);case 37:return xl(Ze,6160,6169,!0,Ye);case 38:return xl(Ze,4160,4169,!0,Ye);case 39:return xl(Ze,2918,2927,!0,Ye);case 40:return xl(Ze,1776,1785,!0,Ye);case 43:return xl(Ze,3046,3055,!0,Ye);case 44:return xl(Ze,3174,3183,!0,Ye);case 45:return xl(Ze,3664,3673,!0,Ye);case 46:return xl(Ze,3872,3881,!0,Ye);case 3:default:return xl(Ze,48,57,!0,Ye)}},bp="data-html2canvas-ignore",Lm=function(){function Ze(Re,Je,Ye){if(this.context=Re,this.options=Ye,this.scrolledElements=[],this.referenceElement=Je,this.counters=new E0,this.quoteDepth=0,!Je.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Je.ownerDocument.documentElement,!1)}return Ze.prototype.toIFrame=function(Re,Je){var Ye=this,St=Im(Re,Je);if(!St.contentWindow)return Promise.reject("Unable to find iframe window");var jt=Re.defaultView.pageXOffset,zt=Re.defaultView.pageYOffset,cn=St.contentWindow,un=cn.document,Xn=Tf(St).then(function(){return Qe(Ye,void 0,void 0,function(){var tr,fr;return E(this,function(qr){switch(qr.label){case 0:return this.scrolledElements.forEach(Cp),cn&&(cn.scrollTo(Je.left,Je.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(cn.scrollY!==Je.top||cn.scrollX!==Je.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(cn.scrollX-Je.left,cn.scrollY-Je.top,0,0))),tr=this.options.onclone,fr=this.clonedReferenceElement,typeof fr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:un.fonts&&un.fonts.ready?[4,un.fonts.ready]:[3,2];case 1:qr.sent(),qr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Om(un)]:[3,4];case 3:qr.sent(),qr.label=4;case 4:return typeof tr=="function"?[2,Promise.resolve().then(function(){return tr(un,fr)}).then(function(){return St})]:[2,St]}})})});return un.open(),un.write(Dm(document.doctype)+""),Sp(this.referenceElement.ownerDocument,jt,zt),un.replaceChild(un.adoptNode(this.documentElement),un.documentElement),un.close(),Xn},Ze.prototype.createElementClone=function(Re){if(cs(Re,2))debugger;if(dp(Re))return this.createCanvasClone(Re);if(Ap(Re))return this.createVideoClone(Re);if(hp(Re))return this.createStyleClone(Re);var Je=Re.cloneNode(!1);return cg(Je)&&(cg(Re)&&Re.currentSrc&&Re.currentSrc!==Re.src&&(Je.src=Re.currentSrc,Je.srcset=""),Je.loading==="lazy"&&(Je.loading="eager")),pp(Je)?this.createCustomElementClone(Je):Je},Ze.prototype.createCustomElementClone=function(Re){var Je=document.createElement("html2canvascustomelement");return Fh(Re.style,Je),Je},Ze.prototype.createStyleClone=function(Re){try{var Je=Re.sheet;if(Je&&Je.cssRules){var Ye=[].slice.call(Je.cssRules,0).reduce(function(jt,zt){return zt&&typeof zt.cssText=="string"?jt+zt.cssText:jt},""),St=Re.cloneNode(!1);return St.textContent=Ye,St}}catch(jt){if(this.context.logger.error("Unable to access cssRules property",jt),jt.name!=="SecurityError")throw jt}return Re.cloneNode(!1)},Ze.prototype.createCanvasClone=function(Re){var Je;if(this.options.inlineImages&&Re.ownerDocument){var Ye=Re.ownerDocument.createElement("img");try{return Ye.src=Re.toDataURL(),Ye}catch(Xn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Re)}}var St=Re.cloneNode(!1);try{St.width=Re.width,St.height=Re.height;var jt=Re.getContext("2d"),zt=St.getContext("2d");if(zt)if(!this.options.allowTaint&&jt)zt.putImageData(jt.getImageData(0,0,Re.width,Re.height),0,0);else{var cn=(Je=Re.getContext("webgl2"))!==null&&Je!==void 0?Je:Re.getContext("webgl");if(cn){var un=cn.getContextAttributes();(un==null?void 0:un.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Re)}zt.drawImage(Re,0,0)}return St}catch(Xn){this.context.logger.info("Unable to clone canvas as it is tainted",Re)}return St},Ze.prototype.createVideoClone=function(Re){var Je=Re.ownerDocument.createElement("canvas");Je.width=Re.offsetWidth,Je.height=Re.offsetHeight;var Ye=Je.getContext("2d");try{return Ye&&(Ye.drawImage(Re,0,0,Je.width,Je.height),this.options.allowTaint||Ye.getImageData(0,0,Je.width,Je.height)),Je}catch(jt){this.context.logger.info("Unable to clone video as it is tainted",Re)}var St=Re.ownerDocument.createElement("canvas");return St.width=Re.offsetWidth,St.height=Re.offsetHeight,St},Ze.prototype.appendChildNode=function(Re,Je,Ye){(!QA(Je)||!dg(Je)&&!Je.hasAttribute(bp)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Je)))&&(!this.options.copyStyles||!QA(Je)||!hp(Je))&&Re.appendChild(this.cloneNode(Je,Ye))},Ze.prototype.cloneChildNodes=function(Re,Je,Ye){for(var St=this,jt=Re.shadowRoot?Re.shadowRoot.firstChild:Re.firstChild;jt;jt=jt.nextSibling)if(QA(jt)&&gp(jt)&&typeof jt.assignedNodes=="function"){var zt=jt.assignedNodes();zt.length&&zt.forEach(function(cn){return St.appendChildNode(Je,cn,Ye)})}else this.appendChildNode(Je,jt,Ye)},Ze.prototype.cloneNode=function(Re,Je){if(up(Re))return document.createTextNode(Re.data);if(!Re.ownerDocument)return Re.cloneNode(!1);var Ye=Re.ownerDocument.defaultView;if(Ye&&QA(Re)&&(lg(Re)||xh(Re))){var St=this.createElementClone(Re);St.style.transitionProperty="none";var jt=Ye.getComputedStyle(Re),zt=Ye.getComputedStyle(Re,":before"),cn=Ye.getComputedStyle(Re,":after");this.referenceElement===Re&&lg(St)&&(this.clonedReferenceElement=St),ug(St)&&x0(St);var un=this.counters.parse(new wu(this.context,jt)),Xn=this.resolvePseudoContent(Re,St,zt,Df.BEFORE);pp(Re)&&(Je=!0),Ap(Re)||this.cloneChildNodes(Re,St,Je),Xn&&St.insertBefore(Xn,St.firstChild);var tr=this.resolvePseudoContent(Re,St,cn,Df.AFTER);return tr&&St.appendChild(tr),this.counters.pop(un),(jt&&(this.options.copyStyles||xh(Re))&&!fp(Re)||Je)&&Fh(jt,St),(Re.scrollTop!==0||Re.scrollLeft!==0)&&this.scrolledElements.push([St,Re.scrollLeft,Re.scrollTop]),(Lf(Re)||Ph(Re))&&(Lf(St)||Ph(St))&&(St.value=Re.value),St}return Re.cloneNode(!1)},Ze.prototype.resolvePseudoContent=function(Re,Je,Ye,St){var jt=this;if(Ye){var zt=Ye.content,cn=Je.ownerDocument;if(!(!cn||!zt||zt==="none"||zt==="-moz-alt-content"||Ye.display==="none")){this.counters.parse(new wu(this.context,Ye));var un=new dl(this.context,Ye),Xn=cn.createElement("html2canvaspseudoelement");Fh(Ye,Xn),un.content.forEach(function(fr){if(fr.type===0)Xn.appendChild(cn.createTextNode(fr.value));else if(fr.type===22){var qr=cn.createElement("img");qr.src=fr.value,qr.style.opacity="1",Xn.appendChild(qr)}else if(fr.type===18){if(fr.name==="attr"){var Io=fr.values.filter(Ka);Io.length&&Xn.appendChild(cn.createTextNode(Re.getAttribute(Io[0].value)||""))}else if(fr.name==="counter"){var Ma=fr.values.filter(Pu),io=Ma[0],Ui=Ma[1];if(io&&Ka(io)){var zo=jt.counters.getCounterValue(io.value),Ro=Ui&&Ka(Ui)?lr.parse(jt.context,Ui.value):3;Xn.appendChild(cn.createTextNode(Of(zo,Ro,!1)))}}else if(fr.name==="counters"){var Bi=fr.values.filter(Pu),io=Bi[0],Ji=Bi[1],Ui=Bi[2];if(io&&Ka(io)){var vi=jt.counters.getCounterValues(io.value),So=Ui&&Ka(Ui)?lr.parse(jt.context,Ui.value):3,ys=Ji&&Ji.type===0?Ji.value:"",as=vi.map(function(Ku){return Of(Ku,So,!1)}).join(ys);Xn.appendChild(cn.createTextNode(as))}}}else if(fr.type===20)switch(fr.value){case"open-quote":Xn.appendChild(cn.createTextNode(si(un.quotes,jt.quoteDepth++,!0)));break;case"close-quote":Xn.appendChild(cn.createTextNode(si(un.quotes,--jt.quoteDepth,!1)));break;default:Xn.appendChild(cn.createTextNode(fr.value))}}),Xn.className=gg+" "+_h;var tr=St===Df.BEFORE?" "+gg:" "+_h;return xh(Je)?Je.className.baseValue+=tr:Je.className+=tr,Xn}}},Ze.destroy=function(Re){return Re.parentNode?(Re.parentNode.removeChild(Re),!0):!1},Ze}(),Df;(function(Ze){Ze[Ze.BEFORE=0]="BEFORE",Ze[Ze.AFTER=1]="AFTER"})(Df||(Df={}));var Im=function(Ze,Re){var Je=Ze.createElement("iframe");return Je.className="html2canvas-container",Je.style.visibility="hidden",Je.style.position="fixed",Je.style.left="-10000px",Je.style.top="0px",Je.style.border="0",Je.width=Re.width.toString(),Je.height=Re.height.toString(),Je.scrolling="no",Je.setAttribute(bp,"true"),Ze.body.appendChild(Je),Je},wp=function(Ze){return new Promise(function(Re){if(Ze.complete){Re();return}if(!Ze.src){Re();return}Ze.onload=Re,Ze.onerror=Re})},Om=function(Ze){return Promise.all([].slice.call(Ze.images,0).map(wp))},Tf=function(Ze){return new Promise(function(Re,Je){var Ye=Ze.contentWindow;if(!Ye)return Je("No window assigned for iframe");var St=Ye.document;Ye.onload=Ze.onload=function(){Ye.onload=Ze.onload=null;var jt=setInterval(function(){St.body.childNodes.length>0&&St.readyState==="complete"&&(clearInterval(jt),Re(Ze))},50)}})},B0=["all","d","content"],Fh=function(Ze,Re){for(var Je=Ze.length-1;Je>=0;Je--){var Ye=Ze.item(Je);B0.indexOf(Ye)===-1&&Re.style.setProperty(Ye,Ze.getPropertyValue(Ye))}return Re},Dm=function(Ze){var Re="";return Ze&&(Re+=""),Re},Sp=function(Ze,Re,Je){Ze&&Ze.defaultView&&(Re!==Ze.defaultView.pageXOffset||Je!==Ze.defaultView.pageYOffset)&&Ze.defaultView.scrollTo(Re,Je)},Cp=function(Ze){var Re=Ze[0],Je=Ze[1],Ye=Ze[2];Re.scrollLeft=Je,Re.scrollTop=Ye},Ep=":before",Bp=":after",gg="___html2canvas___pseudoelement_before",_h="___html2canvas___pseudoelement_after",xp=`{ content: "" !important; display: none !important; }`,x0=function(Ze){Pp(Ze,"."+gg+Ep+xp+` .`+_h+Bp+xp)},Pp=function(Ze,Re){var Je=Ze.ownerDocument;if(Je){var Ye=Je.createElement("style");Ye.textContent=Re,Ze.appendChild(Ye)}},Fp=function(){function Ze(){}return Ze.getOrigin=function(Re){var Je=Ze._link;return Je?(Je.href=Re,Je.href=Je.href,Je.protocol+Je.hostname+Je.port):"about:blank"},Ze.isSameOrigin=function(Re){return Ze.getOrigin(Re)===Ze._origin},Ze.setContext=function(Re){Ze._link=Re.document.createElement("a"),Ze._origin=Ze.getOrigin(Re.location.href)},Ze._origin="about:blank",Ze}(),qu=function(){function Ze(Re,Je){this.context=Re,this._options=Je,this._cache={}}return Ze.prototype.addImage=function(Re){var Je=Promise.resolve();return this.has(Re)||(vg(Re)||Lh(Re))&&(this._cache[Re]=this.loadImage(Re)).catch(function(){}),Je},Ze.prototype.match=function(Re){return this._cache[Re]},Ze.prototype.loadImage=function(Re){return Qe(this,void 0,void 0,function(){var Je,Ye,St,jt,zt=this;return E(this,function(cn){switch(cn.label){case 0:return Je=Fp.isSameOrigin(Re),Ye=!jf(Re)&&this._options.useCORS===!0&&Dl.SUPPORT_CORS_IMAGES&&!Je,St=!jf(Re)&&!Je&&!vg(Re)&&typeof this._options.proxy=="string"&&Dl.SUPPORT_CORS_XHR&&!Ye,!Je&&this._options.allowTaint===!1&&!jf(Re)&&!vg(Re)&&!St&&!Ye?[2]:(jt=Re,St?[4,this.proxy(jt)]:[3,2]);case 1:jt=cn.sent(),cn.label=2;case 2:return this.context.logger.debug("Added image "+Re.substring(0,256)),[4,new Promise(function(un,Xn){var tr=new Image;tr.onload=function(){return un(tr)},tr.onerror=Xn,(Tm(jt)||Ye)&&(tr.crossOrigin="anonymous"),tr.src=jt,tr.complete===!0&&setTimeout(function(){return un(tr)},500),zt._options.imageTimeout>0&&setTimeout(function(){return Xn("Timed out ("+zt._options.imageTimeout+"ms) loading image")},zt._options.imageTimeout)})];case 3:return[2,cn.sent()]}})})},Ze.prototype.has=function(Re){return typeof this._cache[Re]!="undefined"},Ze.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ze.prototype.proxy=function(Re){var Je=this,Ye=this._options.proxy;if(!Ye)throw new Error("No proxy defined");var St=Re.substring(0,256);return new Promise(function(jt,zt){var cn=Dl.SUPPORT_RESPONSE_TYPE?"blob":"text",un=new XMLHttpRequest;un.onload=function(){if(un.status===200)if(cn==="text")jt(un.response);else{var fr=new FileReader;fr.addEventListener("load",function(){return jt(fr.result)},!1),fr.addEventListener("error",function(qr){return zt(qr)},!1),fr.readAsDataURL(un.response)}else zt("Failed to proxy resource "+St+" with status code "+un.status)},un.onerror=zt;var Xn=Ye.indexOf("?")>-1?"&":"?";if(un.open("GET",""+Ye+Xn+"url="+encodeURIComponent(Re)+"&responseType="+cn),cn!=="text"&&un instanceof XMLHttpRequest&&(un.responseType=cn),Je._options.imageTimeout){var tr=Je._options.imageTimeout;un.timeout=tr,un.ontimeout=function(){return zt("Timed out ("+tr+"ms) proxying "+St)}}un.send()})},Ze}(),pg=/^data:image\/svg\+xml/i,_p=/^data:image\/.*;base64,/i,mg=/^data:image\/.*/i,Lh=function(Ze){return Dl.SUPPORT_SVG_DRAWING||!jm(Ze)},jf=function(Ze){return mg.test(Ze)},Tm=function(Ze){return _p.test(Ze)},vg=function(Ze){return Ze.substr(0,4)==="blob"},jm=function(Ze){return Ze.substr(-3).toLowerCase()==="svg"||pg.test(Ze)},Lo=function(){function Ze(Re,Je){this.type=0,this.x=Re,this.y=Je}return Ze.prototype.add=function(Re,Je){return new Ze(this.x+Re,this.y+Je)},Ze}(),aA=function(Ze,Re,Je){return new Lo(Ze.x+(Re.x-Ze.x)*Je,Ze.y+(Re.y-Ze.y)*Je)},Ih=function(){function Ze(Re,Je,Ye,St){this.type=1,this.start=Re,this.startControl=Je,this.endControl=Ye,this.end=St}return Ze.prototype.subdivide=function(Re,Je){var Ye=aA(this.start,this.startControl,Re),St=aA(this.startControl,this.endControl,Re),jt=aA(this.endControl,this.end,Re),zt=aA(Ye,St,Re),cn=aA(St,jt,Re),un=aA(zt,cn,Re);return Je?new Ze(this.start,Ye,zt,un):new Ze(un,cn,jt,this.end)},Ze.prototype.add=function(Re,Je){return new Ze(this.start.add(Re,Je),this.startControl.add(Re,Je),this.endControl.add(Re,Je),this.end.add(Re,Je))},Ze.prototype.reverse=function(){return new Ze(this.end,this.endControl,this.startControl,this.start)},Ze}(),uc=function(Ze){return Ze.type===1},Mm=function(){function Ze(Re){var Je=Re.styles,Ye=Re.bounds,St=Gl(Je.borderTopLeftRadius,Ye.width,Ye.height),jt=St[0],zt=St[1],cn=Gl(Je.borderTopRightRadius,Ye.width,Ye.height),un=cn[0],Xn=cn[1],tr=Gl(Je.borderBottomRightRadius,Ye.width,Ye.height),fr=tr[0],qr=tr[1],Io=Gl(Je.borderBottomLeftRadius,Ye.width,Ye.height),Ma=Io[0],io=Io[1],Ui=[];Ui.push((jt+un)/Ye.width),Ui.push((Ma+fr)/Ye.width),Ui.push((zt+io)/Ye.height),Ui.push((Xn+qr)/Ye.height);var zo=Math.max.apply(Math,Ui);zo>1&&(jt/=zo,zt/=zo,un/=zo,Xn/=zo,fr/=zo,qr/=zo,Ma/=zo,io/=zo);var Ro=Ye.width-un,Bi=Ye.height-qr,Ji=Ye.width-fr,vi=Ye.height-io,So=Je.borderTopWidth,ys=Je.borderRightWidth,as=Je.borderBottomWidth,xi=Je.borderLeftWidth,$a=fs(Je.paddingTop,Re.bounds.width),Ku=fs(Je.paddingRight,Re.bounds.width),ec=fs(Je.paddingBottom,Re.bounds.width),$s=fs(Je.paddingLeft,Re.bounds.width);this.topLeftBorderDoubleOuterBox=jt>0||zt>0?pl(Ye.left+xi/3,Ye.top+So/3,jt-xi/3,zt-So/3,Vs.TOP_LEFT):new Lo(Ye.left+xi/3,Ye.top+So/3),this.topRightBorderDoubleOuterBox=jt>0||zt>0?pl(Ye.left+Ro,Ye.top+So/3,un-ys/3,Xn-So/3,Vs.TOP_RIGHT):new Lo(Ye.left+Ye.width-ys/3,Ye.top+So/3),this.bottomRightBorderDoubleOuterBox=fr>0||qr>0?pl(Ye.left+Ji,Ye.top+Bi,fr-ys/3,qr-as/3,Vs.BOTTOM_RIGHT):new Lo(Ye.left+Ye.width-ys/3,Ye.top+Ye.height-as/3),this.bottomLeftBorderDoubleOuterBox=Ma>0||io>0?pl(Ye.left+xi/3,Ye.top+vi,Ma-xi/3,io-as/3,Vs.BOTTOM_LEFT):new Lo(Ye.left+xi/3,Ye.top+Ye.height-as/3),this.topLeftBorderDoubleInnerBox=jt>0||zt>0?pl(Ye.left+xi*2/3,Ye.top+So*2/3,jt-xi*2/3,zt-So*2/3,Vs.TOP_LEFT):new Lo(Ye.left+xi*2/3,Ye.top+So*2/3),this.topRightBorderDoubleInnerBox=jt>0||zt>0?pl(Ye.left+Ro,Ye.top+So*2/3,un-ys*2/3,Xn-So*2/3,Vs.TOP_RIGHT):new Lo(Ye.left+Ye.width-ys*2/3,Ye.top+So*2/3),this.bottomRightBorderDoubleInnerBox=fr>0||qr>0?pl(Ye.left+Ji,Ye.top+Bi,fr-ys*2/3,qr-as*2/3,Vs.BOTTOM_RIGHT):new Lo(Ye.left+Ye.width-ys*2/3,Ye.top+Ye.height-as*2/3),this.bottomLeftBorderDoubleInnerBox=Ma>0||io>0?pl(Ye.left+xi*2/3,Ye.top+vi,Ma-xi*2/3,io-as*2/3,Vs.BOTTOM_LEFT):new Lo(Ye.left+xi*2/3,Ye.top+Ye.height-as*2/3),this.topLeftBorderStroke=jt>0||zt>0?pl(Ye.left+xi/2,Ye.top+So/2,jt-xi/2,zt-So/2,Vs.TOP_LEFT):new Lo(Ye.left+xi/2,Ye.top+So/2),this.topRightBorderStroke=jt>0||zt>0?pl(Ye.left+Ro,Ye.top+So/2,un-ys/2,Xn-So/2,Vs.TOP_RIGHT):new Lo(Ye.left+Ye.width-ys/2,Ye.top+So/2),this.bottomRightBorderStroke=fr>0||qr>0?pl(Ye.left+Ji,Ye.top+Bi,fr-ys/2,qr-as/2,Vs.BOTTOM_RIGHT):new Lo(Ye.left+Ye.width-ys/2,Ye.top+Ye.height-as/2),this.bottomLeftBorderStroke=Ma>0||io>0?pl(Ye.left+xi/2,Ye.top+vi,Ma-xi/2,io-as/2,Vs.BOTTOM_LEFT):new Lo(Ye.left+xi/2,Ye.top+Ye.height-as/2),this.topLeftBorderBox=jt>0||zt>0?pl(Ye.left,Ye.top,jt,zt,Vs.TOP_LEFT):new Lo(Ye.left,Ye.top),this.topRightBorderBox=un>0||Xn>0?pl(Ye.left+Ro,Ye.top,un,Xn,Vs.TOP_RIGHT):new Lo(Ye.left+Ye.width,Ye.top),this.bottomRightBorderBox=fr>0||qr>0?pl(Ye.left+Ji,Ye.top+Bi,fr,qr,Vs.BOTTOM_RIGHT):new Lo(Ye.left+Ye.width,Ye.top+Ye.height),this.bottomLeftBorderBox=Ma>0||io>0?pl(Ye.left,Ye.top+vi,Ma,io,Vs.BOTTOM_LEFT):new Lo(Ye.left,Ye.top+Ye.height),this.topLeftPaddingBox=jt>0||zt>0?pl(Ye.left+xi,Ye.top+So,Math.max(0,jt-xi),Math.max(0,zt-So),Vs.TOP_LEFT):new Lo(Ye.left+xi,Ye.top+So),this.topRightPaddingBox=un>0||Xn>0?pl(Ye.left+Math.min(Ro,Ye.width-ys),Ye.top+So,Ro>Ye.width+ys?0:Math.max(0,un-ys),Math.max(0,Xn-So),Vs.TOP_RIGHT):new Lo(Ye.left+Ye.width-ys,Ye.top+So),this.bottomRightPaddingBox=fr>0||qr>0?pl(Ye.left+Math.min(Ji,Ye.width-xi),Ye.top+Math.min(Bi,Ye.height-as),Math.max(0,fr-ys),Math.max(0,qr-as),Vs.BOTTOM_RIGHT):new Lo(Ye.left+Ye.width-ys,Ye.top+Ye.height-as),this.bottomLeftPaddingBox=Ma>0||io>0?pl(Ye.left+xi,Ye.top+Math.min(vi,Ye.height-as),Math.max(0,Ma-xi),Math.max(0,io-as),Vs.BOTTOM_LEFT):new Lo(Ye.left+xi,Ye.top+Ye.height-as),this.topLeftContentBox=jt>0||zt>0?pl(Ye.left+xi+$s,Ye.top+So+$a,Math.max(0,jt-(xi+$s)),Math.max(0,zt-(So+$a)),Vs.TOP_LEFT):new Lo(Ye.left+xi+$s,Ye.top+So+$a),this.topRightContentBox=un>0||Xn>0?pl(Ye.left+Math.min(Ro,Ye.width+xi+$s),Ye.top+So+$a,Ro>Ye.width+xi+$s?0:un-xi+$s,Xn-(So+$a),Vs.TOP_RIGHT):new Lo(Ye.left+Ye.width-(ys+Ku),Ye.top+So+$a),this.bottomRightContentBox=fr>0||qr>0?pl(Ye.left+Math.min(Ji,Ye.width-(xi+$s)),Ye.top+Math.min(Bi,Ye.height+So+$a),Math.max(0,fr-(ys+Ku)),qr-(as+ec),Vs.BOTTOM_RIGHT):new Lo(Ye.left+Ye.width-(ys+Ku),Ye.top+Ye.height-(as+ec)),this.bottomLeftContentBox=Ma>0||io>0?pl(Ye.left+xi+$s,Ye.top+vi,Math.max(0,Ma-(xi+$s)),io-(as+ec),Vs.BOTTOM_LEFT):new Lo(Ye.left+xi+$s,Ye.top+Ye.height-(as+ec))}return Ze}(),Vs;(function(Ze){Ze[Ze.TOP_LEFT=0]="TOP_LEFT",Ze[Ze.TOP_RIGHT=1]="TOP_RIGHT",Ze[Ze.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ze[Ze.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Vs||(Vs={}));var pl=function(Ze,Re,Je,Ye,St){var jt=4*((Math.sqrt(2)-1)/3),zt=Je*jt,cn=Ye*jt,un=Ze+Je,Xn=Re+Ye;switch(St){case Vs.TOP_LEFT:return new Ih(new Lo(Ze,Xn),new Lo(Ze,Xn-cn),new Lo(un-zt,Re),new Lo(un,Re));case Vs.TOP_RIGHT:return new Ih(new Lo(Ze,Re),new Lo(Ze+zt,Re),new Lo(un,Xn-cn),new Lo(un,Xn));case Vs.BOTTOM_RIGHT:return new Ih(new Lo(un,Re),new Lo(un,Re+cn),new Lo(Ze+zt,Xn),new Lo(Ze,Xn));case Vs.BOTTOM_LEFT:default:return new Ih(new Lo(un,Xn),new Lo(un-zt,Xn),new Lo(Ze,Re+cn),new Lo(Ze,Re))}},Oh=function(Ze){return[Ze.topLeftBorderBox,Ze.topRightBorderBox,Ze.bottomRightBorderBox,Ze.bottomLeftBorderBox]},P0=function(Ze){return[Ze.topLeftContentBox,Ze.topRightContentBox,Ze.bottomRightContentBox,Ze.bottomLeftContentBox]},yg=function(Ze){return[Ze.topLeftPaddingBox,Ze.topRightPaddingBox,Ze.bottomRightPaddingBox,Ze.bottomLeftPaddingBox]},Ri=function(){function Ze(Re,Je,Ye){this.offsetX=Re,this.offsetY=Je,this.matrix=Ye,this.type=0,this.target=6}return Ze}(),zA=function(){function Ze(Re,Je){this.path=Re,this.target=Je,this.type=1}return Ze}(),il=function(){function Ze(Re){this.opacity=Re,this.type=2,this.target=6}return Ze}(),bg=function(Ze){return Ze.type===0},wg=function(Ze){return Ze.type===1},Dh=function(Ze){return Ze.type===2},Fd=function(Ze,Re){return Ze.length===Re.length?Ze.some(function(Je,Ye){return Je===Re[Ye]}):!1},Lp=function(Ze,Re,Je,Ye,St){return Ze.map(function(jt,zt){switch(zt){case 0:return jt.add(Re,Je);case 1:return jt.add(Re+Ye,Je);case 2:return jt.add(Re+Ye,Je+St);case 3:return jt.add(Re,Je+St)}return jt})},Mf=function(){function Ze(Re){this.element=Re,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ze}(),Sg=function(){function Ze(Re,Je){if(this.container=Re,this.parent=Je,this.effects=[],this.curves=new Mm(this.container),this.container.styles.opacity<1&&this.effects.push(new il(this.container.styles.opacity)),this.container.styles.transform!==null){var Ye=this.container.bounds.left+this.container.styles.transformOrigin[0].number,St=this.container.bounds.top+this.container.styles.transformOrigin[1].number,jt=this.container.styles.transform;this.effects.push(new Ri(Ye,St,jt))}if(this.container.styles.overflowX!==0){var zt=Oh(this.curves),cn=yg(this.curves);Fd(zt,cn)?this.effects.push(new zA(zt,6)):(this.effects.push(new zA(zt,2)),this.effects.push(new zA(cn,4)))}}return Ze.prototype.getEffects=function(Re){for(var Je=[2,3].indexOf(this.container.styles.position)===-1,Ye=this.parent,St=this.effects.slice(0);Ye;){var jt=Ye.effects.filter(function(un){return!wg(un)});if(Je||Ye.container.styles.position!==0||!Ye.parent){if(St.unshift.apply(St,jt),Je=[2,3].indexOf(Ye.container.styles.position)===-1,Ye.container.styles.overflowX!==0){var zt=Oh(Ye.curves),cn=yg(Ye.curves);Fd(zt,cn)||St.unshift(new zA(cn,6))}}else St.unshift.apply(St,jt);Ye=Ye.parent}return St.filter(function(un){return ao(un.target,Re)})},Ze}(),Nf=function(Ze,Re,Je,Ye){Ze.container.elements.forEach(function(St){var jt=ao(St.flags,4),zt=ao(St.flags,2),cn=new Sg(St,Ze);ao(St.styles.display,2048)&&Ye.push(cn);var un=ao(St.flags,8)?[]:Ye;if(jt||zt){var Xn=jt||St.styles.isPositioned()?Je:Re,tr=new Mf(cn);if(St.styles.isPositioned()||St.styles.opacity<1||St.styles.isTransformed()){var fr=St.styles.zIndex.order;if(fr<0){var qr=0;Xn.negativeZIndex.some(function(Ma,io){return fr>Ma.element.container.styles.zIndex.order?(qr=io,!1):qr>0}),Xn.negativeZIndex.splice(qr,0,tr)}else if(fr>0){var Io=0;Xn.positiveZIndex.some(function(Ma,io){return fr>=Ma.element.container.styles.zIndex.order?(Io=io+1,!1):Io>0}),Xn.positiveZIndex.splice(Io,0,tr)}else Xn.zeroOrAutoZIndexOrTransformedOrOpacity.push(tr)}else St.styles.isFloating()?Xn.nonPositionedFloats.push(tr):Xn.nonPositionedInlineLevel.push(tr);Nf(cn,tr,jt?tr:Je,un)}else St.styles.isInlineLevel()?Re.inlineLevel.push(cn):Re.nonInlineLevel.push(cn),Nf(cn,Re,Je,un);ao(St.flags,8)&&kf(St,un)})},kf=function(Ze,Re){for(var Je=Ze instanceof ig?Ze.start:1,Ye=Ze instanceof ig?Ze.reversed:!1,St=0;St0&&Je.intrinsicHeight>0){var jt=jh(Je),zt=yg(Ye);this.path(zt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(St,0,0,Je.intrinsicWidth,Je.intrinsicHeight,jt.left,jt.top,jt.width,jt.height),this.ctx.restore()}},Re.prototype.renderNodeContent=function(Je){return Qe(this,void 0,void 0,function(){var Ye,St,jt,zt,cn,un,Ro,Ro,Xn,tr,fr,qr,Ji,Io,Ma,vi,io,Ui,zo,Ro,Bi,Ji,vi;return E(this,function(So){switch(So.label){case 0:this.applyEffects(Je.getEffects(4)),Ye=Je.container,St=Je.curves,jt=Ye.styles,zt=0,cn=Ye.textNodes,So.label=1;case 1:return zt0&&au>0&&(as=jt.ctx.createPattern(vi,"repeat"),jt.renderRepeat($a,as,Bu,Iu))):$h(tr)&&(xi=Mc(Je,Ye,[null,null,null]),$a=xi[0],Ku=xi[1],ec=xi[2],$s=xi[3],au=xi[4],sd=tr.position.length===0?[ic]:tr.position,Bu=fs(sd[0],$s),Iu=fs(sd[sd.length-1],au),iA=Af(tr,Bu,Iu,$s,au),cc=iA[0],ld=iA[1],cc>0&&ld>0&&(sA=jt.ctx.createRadialGradient(Ku+Bu,ec+Iu,0,Ku+Bu,ec+Iu,cc),oh(tr.stops,cc*2).forEach(function(jd){return sA.addColorStop(jd.stop,Vo(jd.color))}),jt.path($a),jt.ctx.fillStyle=sA,cc!==ld?(Dd=Je.bounds.left+.5*Je.bounds.width,kc=Je.bounds.top+.5*Je.bounds.height,Td=ld/cc,ud=1/Td,jt.ctx.save(),jt.ctx.translate(Dd,kc),jt.ctx.transform(1,0,0,Td,0,0),jt.ctx.translate(-Dd,-kc),jt.ctx.fillRect(Ku,ud*(ec-kc)+kc,$s,au*ud),jt.ctx.restore()):jt.ctx.fill())),WA.label=6;case 6:return Ye--,[2]}})},jt=this,zt=0,cn=Je.styles.backgroundImage.slice(0).reverse(),Xn.label=1;case 1:return zt0?tr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(tr.color,tr.width,cn,Je.curves,2)]:[3,11]):[3,13];case 4:return qr.sent(),[3,11];case 5:return tr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(tr.color,tr.width,cn,Je.curves,3)];case 6:return qr.sent(),[3,11];case 7:return tr.style!==4?[3,9]:[4,this.renderDoubleBorder(tr.color,tr.width,cn,Je.curves)];case 8:return qr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(tr.color,cn,Je.curves)];case 10:qr.sent(),qr.label=11;case 11:cn++,qr.label=12;case 12:return un++,[3,3];case 13:return[2]}})})},Re.prototype.renderDashedDottedBorder=function(Je,Ye,St,jt,zt){return Qe(this,void 0,void 0,function(){var cn,un,Xn,tr,fr,qr,Io,Ma,io,Ui,zo,Ro,Bi,Ji,vi,So,vi,So;return E(this,function(ys){return this.ctx.save(),cn=Ip(jt,St),un=cu(jt,St),zt===2&&(this.path(un),this.ctx.clip()),uc(un[0])?(Xn=un[0].start.x,tr=un[0].start.y):(Xn=un[0].x,tr=un[0].y),uc(un[1])?(fr=un[1].end.x,qr=un[1].end.y):(fr=un[1].x,qr=un[1].y),St===0||St===2?Io=Math.abs(Xn-fr):Io=Math.abs(tr-qr),this.ctx.beginPath(),zt===3?this.formatPath(cn):this.formatPath(un.slice(0,2)),Ma=Ye<3?Ye*3:Ye*2,io=Ye<3?Ye*2:Ye,zt===3&&(Ma=Ye,io=Ye),Ui=!0,Io<=Ma*2?Ui=!1:Io<=Ma*2+io?(zo=Io/(2*Ma+io),Ma*=zo,io*=zo):(Ro=Math.floor((Io+io)/(Ma+io)),Bi=(Io-Ro*Ma)/(Ro-1),Ji=(Io-(Ro+1)*Ma)/Ro,io=Ji<=0||Math.abs(io-Bi)Xe){var ze=$e;$e=Xe,Xe=ze}}else if(Pe==="l"||Pe==="landscape"){if(Pe="l",Xe>$e){var ze=$e;$e=Xe,Xe=ze}}else throw"Invalid orientation: "+Pe;var at={width:$e,height:Xe,unit:Be,k:ke};return at},le.default=be.jsPDF},"./src/plugin/pagebreaks.js":function(ae,le,re){"use strict";re.r(le);var se=re("./node_modules/core-js/modules/es.array.concat.js"),ie=re.n(se),ne=re("./node_modules/core-js/modules/es.array.slice.js"),z=re.n(ne),y=re("./node_modules/core-js/modules/es.array.join.js"),a=re.n(y),x=re("./node_modules/core-js/modules/web.dom-collections.for-each.js"),b=re.n(x),ee=re("./node_modules/core-js/modules/es.object.keys.js"),te=re.n(ee),de=re("./src/worker.js"),ge=re("./src/utils.js"),ve={toContainer:de.default.prototype.toContainer};de.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},de.default.prototype.toContainer=function(){return ve.toContainer.call(this).then(function(){var Ce=this.prop.container,Se=this.prop.pageSize.inner.px.height,Pe=[].concat(this.opt.pagebreak.mode),Be={avoidAll:Pe.indexOf("avoid-all")!==-1,css:Pe.indexOf("css")!==-1,legacy:Pe.indexOf("legacy")!==-1},Ue={},Ee=this;["before","after","avoid"].forEach(function(ke){var Xe=Be.avoidAll&&ke==="avoid";Ue[ke]=Xe?[]:[].concat(Ee.opt.pagebreak[ke]||[]),Ue[ke].length>0&&(Ue[ke]=Array.prototype.slice.call(Ce.querySelectorAll(Ue[ke].join(", "))))});var He=Ce.querySelectorAll(".html2pdf__page-break");He=Array.prototype.slice.call(He);var Oe=Ce.querySelectorAll("*");Array.prototype.forEach.call(Oe,function(Xe){var $e={before:!1,after:Be.legacy&&He.indexOf(Xe)!==-1,avoid:Be.avoidAll};if(Be.css){var ze=window.getComputedStyle(Xe),at=["always","page","left","right"],et=["avoid","avoid-page"];$e={before:$e.before||at.indexOf(ze.breakBefore||ze.pageBreakBefore)!==-1,after:$e.after||at.indexOf(ze.breakAfter||ze.pageBreakAfter)!==-1,avoid:$e.avoid||et.indexOf(ze.breakInside||ze.pageBreakInside)!==-1}}Object.keys($e).forEach(function(gt){$e[gt]=$e[gt]||Ue[gt].indexOf(Xe)!==-1});var it=Xe.getBoundingClientRect();if($e.avoid&&!$e.before){var At=Math.floor(it.top/Se),ot=Math.floor(it.bottom/Se),rt=Math.abs(it.bottom-it.top)/Se;ot!==At&&rt<=1&&($e.before=!0)}if($e.before){var lt=(0,ge.createElement)("div",{style:{display:"block",height:Se-it.top%Se+"px"}});Xe.parentNode.insertBefore(lt,Xe)}if($e.after){var lt=(0,ge.createElement)("div",{style:{display:"block",height:Se-it.bottom%Se+"px"}});Xe.parentNode.insertBefore(lt,Xe.nextSibling)}})})}},"./src/utils.js":function(ae,le,re){"use strict";re.r(le),re.d(le,{objType:function(){return Pe},createElement:function(){return Be},cloneNode:function(){return Ue},unitConvert:function(){return Ee},toPx:function(){return He}});var se=re("./node_modules/core-js/modules/es.number.constructor.js"),ie=re.n(se),ne=re("./node_modules/core-js/modules/es.symbol.js"),z=re.n(ne),y=re("./node_modules/core-js/modules/es.symbol.description.js"),a=re.n(y),x=re("./node_modules/core-js/modules/es.object.to-string.js"),b=re.n(x),ee=re("./node_modules/core-js/modules/es.symbol.iterator.js"),te=re.n(ee),de=re("./node_modules/core-js/modules/es.array.iterator.js"),ge=re.n(de),ve=re("./node_modules/core-js/modules/es.string.iterator.js"),ye=re.n(ve),be=re("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ce=re.n(be);function Se(Oe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Se=function(Xe){return typeof Xe}:Se=function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},Se(Oe)}var Pe=function(ke){var Xe=Se(ke);return Xe==="undefined"?"undefined":Xe==="string"||ke instanceof String?"string":Xe==="number"||ke instanceof Number?"number":Xe==="function"||ke instanceof Function?"function":ke&&ke.constructor===Array?"array":ke&&ke.nodeType===1?"element":Xe==="object"?"object":"unknown"},Be=function(ke,Xe){var $e=document.createElement(ke);if(Xe.className&&($e.className=Xe.className),Xe.innerHTML){$e.innerHTML=Xe.innerHTML;for(var ze=$e.getElementsByTagName("script"),at=ze.length;at-- >0;null)ze[at].parentNode.removeChild(ze[at])}for(var et in Xe.style)$e.style[et]=Xe.style[et];return $e},Ue=function Oe(ke,Xe){for(var $e=ke.nodeType===3?document.createTextNode(ke.nodeValue):ke.cloneNode(!1),ze=ke.firstChild;ze;ze=ze.nextSibling)(Xe===!0||ze.nodeType!==1||ze.nodeName!=="SCRIPT")&&$e.appendChild(Oe(ze,Xe));return ke.nodeType===1&&(ke.nodeName==="CANVAS"?($e.width=ke.width,$e.height=ke.height,$e.getContext("2d").drawImage(ke,0,0)):(ke.nodeName==="TEXTAREA"||ke.nodeName==="SELECT")&&($e.value=ke.value),$e.addEventListener("load",function(){$e.scrollTop=ke.scrollTop,$e.scrollLeft=ke.scrollLeft},!0)),$e},Ee=function(ke,Xe){if(Pe(ke)==="number")return ke*72/96/Xe;var $e={};for(var ze in ke)$e[ze]=ke[ze]*72/96/Xe;return $e},He=function(ke,Xe){return Math.floor(ke*Xe/72*96)}},"./src/worker.js":function(ae,le,re){"use strict";re.r(le);var se=re("./node_modules/core-js/modules/es.object.assign.js"),ie=re.n(se),ne=re("./node_modules/core-js/modules/es.array.map.js"),z=re.n(ne),y=re("./node_modules/core-js/modules/es.object.keys.js"),a=re.n(y),x=re("./node_modules/core-js/modules/es.array.concat.js"),b=re.n(x),ee=re("./node_modules/core-js/modules/es.object.to-string.js"),te=re.n(ee),de=re("./node_modules/core-js/modules/es.regexp.to-string.js"),ge=re.n(de),ve=re("./node_modules/core-js/modules/es.function.name.js"),ye=re.n(ve),be=re("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ce=re.n(be),Se=re("jspdf"),Pe=re.n(Se),Be=re("html2canvas"),Ue=re.n(Be),Ee=re("./src/utils.js"),He=re("./node_modules/es6-promise/dist/es6-promise.js"),Oe=re.n(He),ke=Oe().Promise,Xe=function $e(ze){var at=Object.assign($e.convert(ke.resolve()),JSON.parse(JSON.stringify($e.template))),et=$e.convert(ke.resolve(),at);return et=et.setProgress(1,$e,1,[$e]),et=et.set(ze),et};Xe.prototype=Object.create(ke.prototype),Xe.prototype.constructor=Xe,Xe.convert=function(ze,at){return ze.__proto__=at||Xe.prototype,ze},Xe.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:{}}},Xe.prototype.from=function(ze,at){function et(it){switch((0,Ee.objType)(it)){case"string":return"string";case"element":return it.nodeName.toLowerCase&&it.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(at=at||et(ze),at){case"string":return this.set({src:(0,Ee.createElement)("div",{innerHTML:ze})});case"element":return this.set({src:ze});case"canvas":return this.set({canvas:ze});case"img":return this.set({img:ze});default:return this.error("Unknown source type.")}})},Xe.prototype.to=function(ze){switch(ze){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.")}},Xe.prototype.toContainer=function(){var ze=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(ze).then(function(){var et={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},it={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};et.opacity=0;var At=(0,Ee.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Ee.createElement)("div",{className:"html2pdf__overlay",style:et}),this.prop.container=(0,Ee.createElement)("div",{className:"html2pdf__container",style:it}),this.prop.container.appendChild(At),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Xe.prototype.toCanvas=function(){var ze=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(ze).then(function(){var et=Object.assign({},this.opt.html2canvas);return delete et.onrendered,Be(this.prop.container,et)}).then(function(et){var it=this.opt.html2canvas.onrendered||function(){};it(et),this.prop.canvas=et,document.body.removeChild(this.prop.overlay)})},Xe.prototype.toImg=function(){var ze=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(ze).then(function(){var et=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=et})},Xe.prototype.toPdf=function(){var ze=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(ze).then(function(){var et=this.prop.canvas,it=this.opt,At=et.height,ot=Math.floor(et.width*this.prop.pageSize.inner.ratio),rt=Math.ceil(At/ot),lt=this.prop.pageSize.inner.height,gt=document.createElement("canvas"),yt=gt.getContext("2d");gt.width=et.width,gt.height=ot,this.prop.pdf=this.prop.pdf||new Se.jsPDF(it.jsPDF);for(var Tt=0;Tt1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-indexed-object.js"),ie=re("./node_modules/core-js/internals/to-length.js"),ne=re("./node_modules/core-js/internals/to-absolute-index.js"),z=function(y){return function(a,x,b){var ee=se(a),te=ie(ee.length),de=ne(b,te),ge;if(y&&x!=x){for(;te>de;)if(ge=ee[de++],ge!=ge)return!0}else for(;te>de;de++)if((y||de in ee)&&ee[de]===x)return y||de||0;return!y&&-1}};ae.exports={includes:z(!0),indexOf:z(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/function-bind-context.js"),ie=re("./node_modules/core-js/internals/indexed-object.js"),ne=re("./node_modules/core-js/internals/to-object.js"),z=re("./node_modules/core-js/internals/to-length.js"),y=re("./node_modules/core-js/internals/array-species-create.js"),a=[].push,x=function(b){var ee=b==1,te=b==2,de=b==3,ge=b==4,ve=b==6,ye=b==7,be=b==5||ve;return function(Ce,Se,Pe,Be){for(var Ue=ne(Ce),Ee=ie(Ue),He=se(Se,Pe,3),Oe=z(Ee.length),ke=0,Xe=Be||y,$e=ee?Xe(Ce,Oe):te||ye?Xe(Ce,0):void 0,ze,at;Oe>ke;ke++)if((be||ke in Ee)&&(ze=Ee[ke],at=He(ze,ke,Ue),b))if(ee)$e[ke]=at;else if(at)switch(b){case 3:return!0;case 5:return ze;case 6:return ke;case 2:a.call($e,ze)}else switch(b){case 4:return!1;case 7:a.call($e,ze)}return ve?-1:de||ge?ge:$e}};ae.exports={forEach:x(0),map:x(1),filter:x(2),some:x(3),every:x(4),find:x(5),findIndex:x(6),filterReject:x(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/fails.js"),ie=re("./node_modules/core-js/internals/well-known-symbol.js"),ne=re("./node_modules/core-js/internals/engine-v8-version.js"),z=ie("species");ae.exports=function(y){return ne>=51||!se(function(){var a=[],x=a.constructor={};return x[z]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/fails.js");ae.exports=function(ie,ne){var z=[][ie];return!!z&&se(function(){z.call(null,ne||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/is-object.js"),ie=re("./node_modules/core-js/internals/is-array.js"),ne=re("./node_modules/core-js/internals/well-known-symbol.js"),z=ne("species");ae.exports=function(y){var a;return ie(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||ie(a.prototype))?a=void 0:se(a)&&(a=a[z],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/array-species-constructor.js");ae.exports=function(ie,ne){return new(se(ie))(ne===0?0:ne)}},"./node_modules/core-js/internals/classof-raw.js":function(ae){var le={}.toString;ae.exports=function(re){return le.call(re).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-string-tag-support.js"),ie=re("./node_modules/core-js/internals/classof-raw.js"),ne=re("./node_modules/core-js/internals/well-known-symbol.js"),z=ne("toStringTag"),y=ie(function(){return arguments}())=="Arguments",a=function(x,b){try{return x[b]}catch(ee){}};ae.exports=se?ie:function(x){var b,ee,te;return x===void 0?"Undefined":x===null?"Null":typeof(ee=a(b=Object(x),z))=="string"?ee:y?ie(b):(te=ie(b))=="Object"&&typeof b.callee=="function"?"Arguments":te}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/has.js"),ie=re("./node_modules/core-js/internals/own-keys.js"),ne=re("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),z=re("./node_modules/core-js/internals/object-define-property.js");ae.exports=function(y,a){for(var x=ie(a),b=z.f,ee=ne.f,te=0;te"+b+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,ie=re("./node_modules/core-js/internals/object-create.js"),ne=re("./node_modules/core-js/internals/create-property-descriptor.js"),z=re("./node_modules/core-js/internals/set-to-string-tag.js"),y=re("./node_modules/core-js/internals/iterators.js"),a=function(){return this};ae.exports=function(x,b,ee){var te=b+" Iterator";return x.prototype=ie(se,{next:ne(1,ee)}),z(x,te,!1,!0),y[te]=a,x}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/descriptors.js"),ie=re("./node_modules/core-js/internals/object-define-property.js"),ne=re("./node_modules/core-js/internals/create-property-descriptor.js");ae.exports=se?function(z,y,a){return ie.f(z,y,ne(1,a))}:function(z,y,a){return z[y]=a,z}},"./node_modules/core-js/internals/create-property-descriptor.js":function(ae){ae.exports=function(le,re){return{enumerable:!(le&1),configurable:!(le&2),writable:!(le&4),value:re}}},"./node_modules/core-js/internals/create-property.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/to-property-key.js"),ie=re("./node_modules/core-js/internals/object-define-property.js"),ne=re("./node_modules/core-js/internals/create-property-descriptor.js");ae.exports=function(z,y,a){var x=se(y);x in z?ie.f(z,x,ne(0,a)):z[x]=a}},"./node_modules/core-js/internals/define-iterator.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/create-iterator-constructor.js"),ne=re("./node_modules/core-js/internals/object-get-prototype-of.js"),z=re("./node_modules/core-js/internals/object-set-prototype-of.js"),y=re("./node_modules/core-js/internals/set-to-string-tag.js"),a=re("./node_modules/core-js/internals/create-non-enumerable-property.js"),x=re("./node_modules/core-js/internals/redefine.js"),b=re("./node_modules/core-js/internals/well-known-symbol.js"),ee=re("./node_modules/core-js/internals/is-pure.js"),te=re("./node_modules/core-js/internals/iterators.js"),de=re("./node_modules/core-js/internals/iterators-core.js"),ge=de.IteratorPrototype,ve=de.BUGGY_SAFARI_ITERATORS,ye=b("iterator"),be="keys",Ce="values",Se="entries",Pe=function(){return this};ae.exports=function(Be,Ue,Ee,He,Oe,ke,Xe){ie(Ee,Ue,He);var $e=function(yt){if(yt===Oe&&At)return At;if(!ve&&yt in et)return et[yt];switch(yt){case be:return function(){return new Ee(this,yt)};case Ce:return function(){return new Ee(this,yt)};case Se:return function(){return new Ee(this,yt)}}return function(){return new Ee(this)}},ze=Ue+" Iterator",at=!1,et=Be.prototype,it=et[ye]||et["@@iterator"]||Oe&&et[Oe],At=!ve&&it||$e(Oe),ot=Ue=="Array"&&et.entries||it,rt,lt,gt;if(ot&&(rt=ne(ot.call(new Be)),ge!==Object.prototype&&rt.next&&(!ee&&ne(rt)!==ge&&(z?z(rt,ge):typeof rt[ye]!="function"&&a(rt,ye,Pe)),y(rt,ze,!0,!0),ee&&(te[ze]=Pe))),Oe==Ce&&it&&it.name!==Ce&&(at=!0,At=function(){return it.call(this)}),(!ee||Xe)&&et[ye]!==At&&a(et,ye,At),te[Ue]=At,Oe)if(lt={values:$e(Ce),keys:ke?At:$e(be),entries:$e(Se)},Xe)for(gt in lt)(ve||at||!(gt in et))&&x(et,gt,lt[gt]);else se({target:Ue,proto:!0,forced:ve||at},lt);return lt}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/path.js"),ie=re("./node_modules/core-js/internals/has.js"),ne=re("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),z=re("./node_modules/core-js/internals/object-define-property.js").f;ae.exports=function(y){var a=se.Symbol||(se.Symbol={});ie(a,y)||z(a,y,{value:ne.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/fails.js");ae.exports=!se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/is-object.js"),ne=se.document,z=ie(ne)&&ie(ne.createElement);ae.exports=function(y){return z?ne.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(ae){ae.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(ae,le,re){var se=re("./node_modules/core-js/internals/get-built-in.js");ae.exports=se("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/engine-user-agent.js"),ne=se.process,z=se.Deno,y=ne&&ne.versions||z&&z.version,a=y&&y.v8,x,b;a?(x=a.split("."),b=x[0]<4?1:x[0]+x[1]):ie&&(x=ie.match(/Edge\/(\d+)/),(!x||x[1]>=74)&&(x=ie.match(/Chrome\/(\d+)/),x&&(b=x[1]))),ae.exports=b&&+b},"./node_modules/core-js/internals/enum-bug-keys.js":function(ae){ae.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,ne=re("./node_modules/core-js/internals/create-non-enumerable-property.js"),z=re("./node_modules/core-js/internals/redefine.js"),y=re("./node_modules/core-js/internals/set-global.js"),a=re("./node_modules/core-js/internals/copy-constructor-properties.js"),x=re("./node_modules/core-js/internals/is-forced.js");ae.exports=function(b,ee){var te=b.target,de=b.global,ge=b.stat,ve,ye,be,Ce,Se,Pe;if(de?ye=se:ge?ye=se[te]||y(te,{}):ye=(se[te]||{}).prototype,ye)for(be in ee){if(Se=ee[be],b.noTargetGet?(Pe=ie(ye,be),Ce=Pe&&Pe.value):Ce=ye[be],ve=x(de?be:te+(ge?".":"#")+be,b.forced),!ve&&Ce!==void 0){if(typeof Se==typeof Ce)continue;a(Se,Ce)}(b.sham||Ce&&Ce.sham)&&ne(Se,"sham",!0),z(ye,be,Se,b)}}},"./node_modules/core-js/internals/fails.js":function(ae){ae.exports=function(le){try{return!!le()}catch(re){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/a-function.js");ae.exports=function(ie,ne,z){if(se(ie),ne===void 0)return ie;switch(z){case 0:return function(){return ie.call(ne)};case 1:return function(y){return ie.call(ne,y)};case 2:return function(y,a){return ie.call(ne,y,a)};case 3:return function(y,a,x){return ie.call(ne,y,a,x)}}return function(){return ie.apply(ne,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=function(ne){return typeof ne=="function"?ne:void 0};ae.exports=function(ne,z){return arguments.length<2?ie(se[ne]):se[ne]&&se[ne][z]}},"./node_modules/core-js/internals/global.js":function(ae){var le=function(re){return re&&re.Math==Math&&re};ae.exports=le(typeof globalThis=="object"&&globalThis)||le(typeof window=="object"&&window)||le(typeof self=="object"&&self)||le(typeof pe.g=="object"&&pe.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-object.js"),ie={}.hasOwnProperty;ae.exports=Object.hasOwn||function(z,y){return ie.call(se(z),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(ae){ae.exports={}},"./node_modules/core-js/internals/html.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/get-built-in.js");ae.exports=se("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/descriptors.js"),ie=re("./node_modules/core-js/internals/fails.js"),ne=re("./node_modules/core-js/internals/document-create-element.js");ae.exports=!se&&!ie(function(){return Object.defineProperty(ne("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/fails.js"),ie=re("./node_modules/core-js/internals/classof-raw.js"),ne="".split;ae.exports=se(function(){return!Object("z").propertyIsEnumerable(0)})?function(z){return ie(z)=="String"?ne.call(z,""):Object(z)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/is-object.js"),ie=re("./node_modules/core-js/internals/object-set-prototype-of.js");ae.exports=function(ne,z,y){var a,x;return ie&&typeof(a=z.constructor)=="function"&&a!==y&&se(x=a.prototype)&&x!==y.prototype&&ie(ne,x),ne}},"./node_modules/core-js/internals/inspect-source.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/shared-store.js"),ie=Function.toString;typeof se.inspectSource!="function"&&(se.inspectSource=function(ne){return ie.call(ne)}),ae.exports=se.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/native-weak-map.js"),ie=re("./node_modules/core-js/internals/global.js"),ne=re("./node_modules/core-js/internals/is-object.js"),z=re("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=re("./node_modules/core-js/internals/has.js"),a=re("./node_modules/core-js/internals/shared-store.js"),x=re("./node_modules/core-js/internals/shared-key.js"),b=re("./node_modules/core-js/internals/hidden-keys.js"),ee="Object already initialized",te=ie.WeakMap,de,ge,ve,ye=function(Ee){return ve(Ee)?ge(Ee):de(Ee,{})},be=function(Ee){return function(He){var Oe;if(!ne(He)||(Oe=ge(He)).type!==Ee)throw TypeError("Incompatible receiver, "+Ee+" required");return Oe}};if(se||a.state){var Ce=a.state||(a.state=new te),Se=Ce.get,Pe=Ce.has,Be=Ce.set;de=function(Ee,He){if(Pe.call(Ce,Ee))throw new TypeError(ee);return He.facade=Ee,Be.call(Ce,Ee,He),He},ge=function(Ee){return Se.call(Ce,Ee)||{}},ve=function(Ee){return Pe.call(Ce,Ee)}}else{var Ue=x("state");b[Ue]=!0,de=function(Ee,He){if(y(Ee,Ue))throw new TypeError(ee);return He.facade=Ee,z(Ee,Ue,He),He},ge=function(Ee){return y(Ee,Ue)?Ee[Ue]:{}},ve=function(Ee){return y(Ee,Ue)}}ae.exports={set:de,get:ge,has:ve,enforce:ye,getterFor:be}},"./node_modules/core-js/internals/is-array.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/classof-raw.js");ae.exports=Array.isArray||function(ne){return se(ne)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/fails.js"),ie=/#|\.prototype\./,ne=function(b,ee){var te=y[z(b)];return te==x?!0:te==a?!1:typeof ee=="function"?se(ee):!!ee},z=ne.normalize=function(b){return String(b).replace(ie,".").toLowerCase()},y=ne.data={},a=ne.NATIVE="N",x=ne.POLYFILL="P";ae.exports=ne},"./node_modules/core-js/internals/is-object.js":function(ae){ae.exports=function(le){return typeof le=="object"?le!==null:typeof le=="function"}},"./node_modules/core-js/internals/is-pure.js":function(ae){ae.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/get-built-in.js"),ie=re("./node_modules/core-js/internals/use-symbol-as-uid.js");ae.exports=ie?function(ne){return typeof ne=="symbol"}:function(ne){var z=se("Symbol");return typeof z=="function"&&Object(ne)instanceof z}},"./node_modules/core-js/internals/iterators-core.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/fails.js"),ie=re("./node_modules/core-js/internals/object-get-prototype-of.js"),ne=re("./node_modules/core-js/internals/create-non-enumerable-property.js"),z=re("./node_modules/core-js/internals/has.js"),y=re("./node_modules/core-js/internals/well-known-symbol.js"),a=re("./node_modules/core-js/internals/is-pure.js"),x=y("iterator"),b=!1,ee=function(){return this},te,de,ge;[].keys&&(ge=[].keys(),"next"in ge?(de=ie(ie(ge)),de!==Object.prototype&&(te=de)):b=!0);var ve=te==null||se(function(){var ye={};return te[x].call(ye)!==ye});ve&&(te={}),(!a||ve)&&!z(te,x)&&ne(te,x,ee),ae.exports={IteratorPrototype:te,BUGGY_SAFARI_ITERATORS:b}},"./node_modules/core-js/internals/iterators.js":function(ae){ae.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/engine-v8-version.js"),ie=re("./node_modules/core-js/internals/fails.js");ae.exports=!!Object.getOwnPropertySymbols&&!ie(function(){var ne=Symbol();return!String(ne)||!(Object(ne)instanceof Symbol)||!Symbol.sham&&se&&se<41})},"./node_modules/core-js/internals/native-weak-map.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/inspect-source.js"),ne=se.WeakMap;ae.exports=typeof ne=="function"&&/native code/.test(ie(ne))},"./node_modules/core-js/internals/object-assign.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/descriptors.js"),ie=re("./node_modules/core-js/internals/fails.js"),ne=re("./node_modules/core-js/internals/object-keys.js"),z=re("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=re("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=re("./node_modules/core-js/internals/to-object.js"),x=re("./node_modules/core-js/internals/indexed-object.js"),b=Object.assign,ee=Object.defineProperty;ae.exports=!b||ie(function(){if(se&&b({b:1},b(ee({},"a",{enumerable:!0,get:function(){ee(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var te={},de={},ge=Symbol(),ve="abcdefghijklmnopqrst";return te[ge]=7,ve.split("").forEach(function(ye){de[ye]=ye}),b({},te)[ge]!=7||ne(b({},de)).join("")!=ve})?function(de,ge){for(var ve=a(de),ye=arguments.length,be=1,Ce=z.f,Se=y.f;ye>be;)for(var Pe=x(arguments[be++]),Be=Ce?ne(Pe).concat(Ce(Pe)):ne(Pe),Ue=Be.length,Ee=0,He;Ue>Ee;)He=Be[Ee++],(!se||Se.call(Pe,He))&&(ve[He]=Pe[He]);return ve}:b},"./node_modules/core-js/internals/object-create.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/an-object.js"),ie=re("./node_modules/core-js/internals/object-define-properties.js"),ne=re("./node_modules/core-js/internals/enum-bug-keys.js"),z=re("./node_modules/core-js/internals/hidden-keys.js"),y=re("./node_modules/core-js/internals/html.js"),a=re("./node_modules/core-js/internals/document-create-element.js"),x=re("./node_modules/core-js/internals/shared-key.js"),b=">",ee="<",te="prototype",de="script",ge=x("IE_PROTO"),ve=function(){},ye=function(Be){return ee+de+b+Be+ee+"/"+de+b},be=function(Be){Be.write(ye("")),Be.close();var Ue=Be.parentWindow.Object;return Be=null,Ue},Ce=function(){var Be=a("iframe"),Ue="java"+de+":",Ee;if(Be.style)return Be.style.display="none",y.appendChild(Be),Be.src=String(Ue),Ee=Be.contentWindow.document,Ee.open(),Ee.write(ye("document.F=Object")),Ee.close(),Ee.F},Se,Pe=function(){try{Se=new ActiveXObject("htmlfile")}catch(Ue){}Pe=document.domain&&Se?be(Se):Ce()||be(Se);for(var Be=ne.length;Be--;)delete Pe[te][ne[Be]];return Pe()};z[ge]=!0,ae.exports=Object.create||function(Ue,Ee){var He;return Ue!==null?(ve[te]=se(Ue),He=new ve,ve[te]=null,He[ge]=Ue):He=Pe(),Ee===void 0?He:ie(He,Ee)}},"./node_modules/core-js/internals/object-define-properties.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/descriptors.js"),ie=re("./node_modules/core-js/internals/object-define-property.js"),ne=re("./node_modules/core-js/internals/an-object.js"),z=re("./node_modules/core-js/internals/object-keys.js");ae.exports=se?Object.defineProperties:function(a,x){ne(a);for(var b=z(x),ee=b.length,te=0,de;ee>te;)ie.f(a,de=b[te++],x[de]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/descriptors.js"),ie=re("./node_modules/core-js/internals/ie8-dom-define.js"),ne=re("./node_modules/core-js/internals/an-object.js"),z=re("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;le.f=se?y:function(x,b,ee){if(ne(x),b=z(b),ne(ee),ie)try{return y(x,b,ee)}catch(te){}if("get"in ee||"set"in ee)throw TypeError("Accessors not supported");return"value"in ee&&(x[b]=ee.value),x}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/descriptors.js"),ie=re("./node_modules/core-js/internals/object-property-is-enumerable.js"),ne=re("./node_modules/core-js/internals/create-property-descriptor.js"),z=re("./node_modules/core-js/internals/to-indexed-object.js"),y=re("./node_modules/core-js/internals/to-property-key.js"),a=re("./node_modules/core-js/internals/has.js"),x=re("./node_modules/core-js/internals/ie8-dom-define.js"),b=Object.getOwnPropertyDescriptor;le.f=se?b:function(te,de){if(te=z(te),de=y(de),x)try{return b(te,de)}catch(ge){}if(a(te,de))return ne(!ie.f.call(te,de),te[de])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-indexed-object.js"),ie=re("./node_modules/core-js/internals/object-get-own-property-names.js").f,ne={}.toString,z=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return ie(a)}catch(x){return z.slice()}};ae.exports.f=function(x){return z&&ne.call(x)=="[object Window]"?y(x):ie(se(x))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/object-keys-internal.js"),ie=re("./node_modules/core-js/internals/enum-bug-keys.js"),ne=ie.concat("length","prototype");le.f=Object.getOwnPropertyNames||function(y){return se(y,ne)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(ae,le){le.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/has.js"),ie=re("./node_modules/core-js/internals/to-object.js"),ne=re("./node_modules/core-js/internals/shared-key.js"),z=re("./node_modules/core-js/internals/correct-prototype-getter.js"),y=ne("IE_PROTO"),a=Object.prototype;ae.exports=z?Object.getPrototypeOf:function(x){return x=ie(x),se(x,y)?x[y]:typeof x.constructor=="function"&&x instanceof x.constructor?x.constructor.prototype:x instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/has.js"),ie=re("./node_modules/core-js/internals/to-indexed-object.js"),ne=re("./node_modules/core-js/internals/array-includes.js").indexOf,z=re("./node_modules/core-js/internals/hidden-keys.js");ae.exports=function(y,a){var x=ie(y),b=0,ee=[],te;for(te in x)!se(z,te)&&se(x,te)&&ee.push(te);for(;a.length>b;)se(x,te=a[b++])&&(~ne(ee,te)||ee.push(te));return ee}},"./node_modules/core-js/internals/object-keys.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/object-keys-internal.js"),ie=re("./node_modules/core-js/internals/enum-bug-keys.js");ae.exports=Object.keys||function(z){return se(z,ie)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(ae,le){"use strict";var re={}.propertyIsEnumerable,se=Object.getOwnPropertyDescriptor,ie=se&&!re.call({1:2},1);le.f=ie?function(z){var y=se(this,z);return!!y&&y.enumerable}:re},"./node_modules/core-js/internals/object-set-prototype-of.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/an-object.js"),ie=re("./node_modules/core-js/internals/a-possible-prototype.js");ae.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ne=!1,z={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(z,[]),ne=z instanceof Array}catch(a){}return function(x,b){return se(x),ie(b),ne?y.call(x,b):x.__proto__=b,x}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/to-string-tag-support.js"),ie=re("./node_modules/core-js/internals/classof.js");ae.exports=se?{}.toString:function(){return"[object "+ie(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/is-object.js");ae.exports=function(ie,ne){var z,y;if(ne==="string"&&typeof(z=ie.toString)=="function"&&!se(y=z.call(ie))||typeof(z=ie.valueOf)=="function"&&!se(y=z.call(ie))||ne!=="string"&&typeof(z=ie.toString)=="function"&&!se(y=z.call(ie)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/get-built-in.js"),ie=re("./node_modules/core-js/internals/object-get-own-property-names.js"),ne=re("./node_modules/core-js/internals/object-get-own-property-symbols.js"),z=re("./node_modules/core-js/internals/an-object.js");ae.exports=se("Reflect","ownKeys")||function(a){var x=ie.f(z(a)),b=ne.f;return b?x.concat(b(a)):x}},"./node_modules/core-js/internals/path.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js");ae.exports=se},"./node_modules/core-js/internals/redefine.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/create-non-enumerable-property.js"),ne=re("./node_modules/core-js/internals/has.js"),z=re("./node_modules/core-js/internals/set-global.js"),y=re("./node_modules/core-js/internals/inspect-source.js"),a=re("./node_modules/core-js/internals/internal-state.js"),x=a.get,b=a.enforce,ee=String(String).split("String");(ae.exports=function(te,de,ge,ve){var ye=ve?!!ve.unsafe:!1,be=ve?!!ve.enumerable:!1,Ce=ve?!!ve.noTargetGet:!1,Se;if(typeof ge=="function"&&(typeof de=="string"&&!ne(ge,"name")&&ie(ge,"name",de),Se=b(ge),Se.source||(Se.source=ee.join(typeof de=="string"?de:""))),te===se){be?te[de]=ge:z(de,ge);return}else ye?!Ce&&te[de]&&(be=!0):delete te[de];be?te[de]=ge:ie(te,de,ge)})(Function.prototype,"toString",function(){return typeof this=="function"&&x(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/an-object.js");ae.exports=function(){var ie=se(this),ne="";return ie.global&&(ne+="g"),ie.ignoreCase&&(ne+="i"),ie.multiline&&(ne+="m"),ie.dotAll&&(ne+="s"),ie.unicode&&(ne+="u"),ie.sticky&&(ne+="y"),ne}},"./node_modules/core-js/internals/require-object-coercible.js":function(ae){ae.exports=function(le){if(le==null)throw TypeError("Can't call method on "+le);return le}},"./node_modules/core-js/internals/set-global.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js");ae.exports=function(ie,ne){try{Object.defineProperty(se,ie,{value:ne,configurable:!0,writable:!0})}catch(z){se[ie]=ne}return ne}},"./node_modules/core-js/internals/set-to-string-tag.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/object-define-property.js").f,ie=re("./node_modules/core-js/internals/has.js"),ne=re("./node_modules/core-js/internals/well-known-symbol.js"),z=ne("toStringTag");ae.exports=function(y,a,x){y&&!ie(y=x?y:y.prototype,z)&&se(y,z,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/shared.js"),ie=re("./node_modules/core-js/internals/uid.js"),ne=se("keys");ae.exports=function(z){return ne[z]||(ne[z]=ie(z))}},"./node_modules/core-js/internals/shared-store.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/set-global.js"),ne="__core-js_shared__",z=se[ne]||ie(ne,{});ae.exports=z},"./node_modules/core-js/internals/shared.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/is-pure.js"),ie=re("./node_modules/core-js/internals/shared-store.js");(ae.exports=function(ne,z){return ie[ne]||(ie[ne]=z!==void 0?z:{})})("versions",[]).push({version:"3.16.0",mode:se?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/fails.js");ae.exports=function(ie){return se(function(){var ne=""[ie]('"');return ne!==ne.toLowerCase()||ne.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-integer.js"),ie=re("./node_modules/core-js/internals/to-string.js"),ne=re("./node_modules/core-js/internals/require-object-coercible.js"),z=function(y){return function(a,x){var b=ie(ne(a)),ee=se(x),te=b.length,de,ge;return ee<0||ee>=te?y?"":void 0:(de=b.charCodeAt(ee),de<55296||de>56319||ee+1===te||(ge=b.charCodeAt(ee+1))<56320||ge>57343?y?b.charAt(ee):de:y?b.slice(ee,ee+2):(de-55296<<10)+(ge-56320)+65536)}};ae.exports={codeAt:z(!1),charAt:z(!0)}},"./node_modules/core-js/internals/string-trim.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/require-object-coercible.js"),ie=re("./node_modules/core-js/internals/to-string.js"),ne=re("./node_modules/core-js/internals/whitespaces.js"),z="["+ne+"]",y=RegExp("^"+z+z+"*"),a=RegExp(z+z+"*$"),x=function(b){return function(ee){var te=ie(se(ee));return b&1&&(te=te.replace(y,"")),b&2&&(te=te.replace(a,"")),te}};ae.exports={start:x(1),end:x(2),trim:x(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-integer.js"),ie=Math.max,ne=Math.min;ae.exports=function(z,y){var a=se(z);return a<0?ie(a+y,0):ne(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/indexed-object.js"),ie=re("./node_modules/core-js/internals/require-object-coercible.js");ae.exports=function(ne){return se(ie(ne))}},"./node_modules/core-js/internals/to-integer.js":function(ae){var le=Math.ceil,re=Math.floor;ae.exports=function(se){return isNaN(se=+se)?0:(se>0?re:le)(se)}},"./node_modules/core-js/internals/to-length.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-integer.js"),ie=Math.min;ae.exports=function(ne){return ne>0?ie(se(ne),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/require-object-coercible.js");ae.exports=function(ie){return Object(se(ie))}},"./node_modules/core-js/internals/to-primitive.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/is-object.js"),ie=re("./node_modules/core-js/internals/is-symbol.js"),ne=re("./node_modules/core-js/internals/ordinary-to-primitive.js"),z=re("./node_modules/core-js/internals/well-known-symbol.js"),y=z("toPrimitive");ae.exports=function(a,x){if(!se(a)||ie(a))return a;var b=a[y],ee;if(b!==void 0){if(x===void 0&&(x="default"),ee=b.call(a,x),!se(ee)||ie(ee))return ee;throw TypeError("Can't convert object to primitive value")}return x===void 0&&(x="number"),ne(a,x)}},"./node_modules/core-js/internals/to-property-key.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-primitive.js"),ie=re("./node_modules/core-js/internals/is-symbol.js");ae.exports=function(ne){var z=se(ne,"string");return ie(z)?z:String(z)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/well-known-symbol.js"),ie=se("toStringTag"),ne={};ne[ie]="z",ae.exports=String(ne)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/is-symbol.js");ae.exports=function(ie){if(se(ie))throw TypeError("Cannot convert a Symbol value to a string");return String(ie)}},"./node_modules/core-js/internals/uid.js":function(ae){var le=0,re=Math.random();ae.exports=function(se){return"Symbol("+String(se===void 0?"":se)+")_"+(++le+re).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/native-symbol.js");ae.exports=se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/well-known-symbol.js");le.f=se},"./node_modules/core-js/internals/well-known-symbol.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/shared.js"),ne=re("./node_modules/core-js/internals/has.js"),z=re("./node_modules/core-js/internals/uid.js"),y=re("./node_modules/core-js/internals/native-symbol.js"),a=re("./node_modules/core-js/internals/use-symbol-as-uid.js"),x=ie("wks"),b=se.Symbol,ee=a?b:b&&b.withoutSetter||z;ae.exports=function(te){return(!ne(x,te)||!(y||typeof x[te]=="string"))&&(y&&ne(b,te)?x[te]=b[te]:x[te]=ee("Symbol."+te)),x[te]}},"./node_modules/core-js/internals/whitespaces.js":function(ae){ae.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(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/fails.js"),ne=re("./node_modules/core-js/internals/is-array.js"),z=re("./node_modules/core-js/internals/is-object.js"),y=re("./node_modules/core-js/internals/to-object.js"),a=re("./node_modules/core-js/internals/to-length.js"),x=re("./node_modules/core-js/internals/create-property.js"),b=re("./node_modules/core-js/internals/array-species-create.js"),ee=re("./node_modules/core-js/internals/array-method-has-species-support.js"),te=re("./node_modules/core-js/internals/well-known-symbol.js"),de=re("./node_modules/core-js/internals/engine-v8-version.js"),ge=te("isConcatSpreadable"),ve=9007199254740991,ye="Maximum allowed index exceeded",be=de>=51||!ie(function(){var Be=[];return Be[ge]=!1,Be.concat()[0]!==Be}),Ce=ee("concat"),Se=function(Be){if(!z(Be))return!1;var Ue=Be[ge];return Ue!==void 0?!!Ue:ne(Be)},Pe=!be||!Ce;se({target:"Array",proto:!0,forced:Pe},{concat:function(Ue){var Ee=y(this),He=b(Ee,0),Oe=0,ke,Xe,$e,ze,at;for(ke=-1,$e=arguments.length;ke<$e;ke++)if(at=ke===-1?Ee:arguments[ke],Se(at)){if(ze=a(at.length),Oe+ze>ve)throw TypeError(ye);for(Xe=0;Xe=ve)throw TypeError(ye);x(He,Oe++,at)}return He.length=Oe,He}})},"./node_modules/core-js/modules/es.array.iterator.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/to-indexed-object.js"),ie=re("./node_modules/core-js/internals/add-to-unscopables.js"),ne=re("./node_modules/core-js/internals/iterators.js"),z=re("./node_modules/core-js/internals/internal-state.js"),y=re("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",x=z.set,b=z.getterFor(a);ae.exports=y(Array,"Array",function(ee,te){x(this,{type:a,target:se(ee),index:0,kind:te})},function(){var ee=b(this),te=ee.target,de=ee.kind,ge=ee.index++;return!te||ge>=te.length?(ee.target=void 0,{value:void 0,done:!0}):de=="keys"?{value:ge,done:!1}:de=="values"?{value:te[ge],done:!1}:{value:[ge,te[ge]],done:!1}},"values"),ne.Arguments=ne.Array,ie("keys"),ie("values"),ie("entries")},"./node_modules/core-js/modules/es.array.join.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/indexed-object.js"),ne=re("./node_modules/core-js/internals/to-indexed-object.js"),z=re("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=ie!=Object,x=z("join",",");se({target:"Array",proto:!0,forced:a||!x},{join:function(ee){return y.call(ne(this),ee===void 0?",":ee)}})},"./node_modules/core-js/modules/es.array.map.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/array-iteration.js").map,ne=re("./node_modules/core-js/internals/array-method-has-species-support.js"),z=ne("map");se({target:"Array",proto:!0,forced:!z},{map:function(a){return ie(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/is-object.js"),ne=re("./node_modules/core-js/internals/is-array.js"),z=re("./node_modules/core-js/internals/to-absolute-index.js"),y=re("./node_modules/core-js/internals/to-length.js"),a=re("./node_modules/core-js/internals/to-indexed-object.js"),x=re("./node_modules/core-js/internals/create-property.js"),b=re("./node_modules/core-js/internals/well-known-symbol.js"),ee=re("./node_modules/core-js/internals/array-method-has-species-support.js"),te=ee("slice"),de=b("species"),ge=[].slice,ve=Math.max;se({target:"Array",proto:!0,forced:!te},{slice:function(be,Ce){var Se=a(this),Pe=y(Se.length),Be=z(be,Pe),Ue=z(Ce===void 0?Pe:Ce,Pe),Ee,He,Oe;if(ne(Se)&&(Ee=Se.constructor,typeof Ee=="function"&&(Ee===Array||ne(Ee.prototype))?Ee=void 0:ie(Ee)&&(Ee=Ee[de],Ee===null&&(Ee=void 0)),Ee===Array||Ee===void 0))return ge.call(Se,Be,Ue);for(He=new(Ee===void 0?Array:Ee)(ve(Ue-Be,0)),Oe=0;Be2){if($e=be($e),ze=$e.charCodeAt(0),ze===43||ze===45){if(at=$e.charCodeAt(2),at===88||at===120)return NaN}else if(ze===48){switch($e.charCodeAt(1)){case 66:case 98:et=2,it=49;break;case 79:case 111:et=8,it=55;break;default:return+$e}for(At=$e.slice(2),ot=At.length,rt=0;rtit)return NaN;return parseInt(At,et)}}return+$e};if(ne(Ce,!Se(" 0o1")||!Se("0b1")||Se("+0x1"))){for(var Ee=function($e){var ze=arguments.length<1?0:$e,at=this;return at instanceof Ee&&(Be?te(function(){Pe.valueOf.call(at)}):a(at)!=Ce)?x(new Se(Ue(ze)),at,Ee):Ue(ze)},He=se?ge(Se):"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(","),Oe=0,ke;He.length>Oe;Oe++)y(Se,ke=He[Oe])&&!y(Ee,ke)&&ye(Ee,ke,ve(Se,ke));Ee.prototype=Pe,Pe.constructor=Ee,z(ie,Ce,Ee)}},"./node_modules/core-js/modules/es.object.assign.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/object-assign.js");se({target:"Object",stat:!0,forced:Object.assign!==ie},{assign:ie})},"./node_modules/core-js/modules/es.object.keys.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/to-object.js"),ne=re("./node_modules/core-js/internals/object-keys.js"),z=re("./node_modules/core-js/internals/fails.js"),y=z(function(){ne(1)});se({target:"Object",stat:!0,forced:y},{keys:function(x){return ne(ie(x))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/to-string-tag-support.js"),ie=re("./node_modules/core-js/internals/redefine.js"),ne=re("./node_modules/core-js/internals/object-to-string.js");se||ie(Object.prototype,"toString",ne,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/redefine.js"),ie=re("./node_modules/core-js/internals/an-object.js"),ne=re("./node_modules/core-js/internals/to-string.js"),z=re("./node_modules/core-js/internals/fails.js"),y=re("./node_modules/core-js/internals/regexp-flags.js"),a="toString",x=RegExp.prototype,b=x[a],ee=z(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),te=b.name!=a;(ee||te)&&se(RegExp.prototype,a,function(){var ge=ie(this),ve=ne(ge.source),ye=ge.flags,be=ne(ye===void 0&&ge instanceof RegExp&&!("flags"in x)?y.call(ge):ye);return"/"+ve+"/"+be},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/string-multibyte.js").charAt,ie=re("./node_modules/core-js/internals/to-string.js"),ne=re("./node_modules/core-js/internals/internal-state.js"),z=re("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=ne.set,x=ne.getterFor(y);z(String,"String",function(b){a(this,{type:y,string:ie(b),index:0})},function(){var ee=x(this),te=ee.string,de=ee.index,ge;return de>=te.length?{value:void 0,done:!0}:(ge=se(te,de),ee.index+=ge.length,{value:ge,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/create-html.js"),ne=re("./node_modules/core-js/internals/string-html-forced.js");se({target:"String",proto:!0,forced:ne("link")},{link:function(y){return ie(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/descriptors.js"),ne=re("./node_modules/core-js/internals/global.js"),z=re("./node_modules/core-js/internals/has.js"),y=re("./node_modules/core-js/internals/is-object.js"),a=re("./node_modules/core-js/internals/object-define-property.js").f,x=re("./node_modules/core-js/internals/copy-constructor-properties.js"),b=ne.Symbol;if(ie&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var ee={},te=function(){var Ce=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Se=this instanceof te?new b(Ce):Ce===void 0?b():b(Ce);return Ce===""&&(ee[Se]=!0),Se};x(te,b);var de=te.prototype=b.prototype;de.constructor=te;var ge=de.toString,ve=String(b("test"))=="Symbol(test)",ye=/^Symbol\((.*)\)[^)]+$/;a(de,"description",{configurable:!0,get:function(){var Ce=y(this)?this.valueOf():this,Se=ge.call(Ce);if(z(ee,Ce))return"";var Pe=ve?Se.slice(7,-1):Se.replace(ye,"$1");return Pe===""?void 0:Pe}}),se({global:!0,forced:!0},{Symbol:te})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/define-well-known-symbol.js");se("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(ae,le,re){"use strict";var se=re("./node_modules/core-js/internals/export.js"),ie=re("./node_modules/core-js/internals/global.js"),ne=re("./node_modules/core-js/internals/get-built-in.js"),z=re("./node_modules/core-js/internals/is-pure.js"),y=re("./node_modules/core-js/internals/descriptors.js"),a=re("./node_modules/core-js/internals/native-symbol.js"),x=re("./node_modules/core-js/internals/fails.js"),b=re("./node_modules/core-js/internals/has.js"),ee=re("./node_modules/core-js/internals/is-array.js"),te=re("./node_modules/core-js/internals/is-object.js"),de=re("./node_modules/core-js/internals/is-symbol.js"),ge=re("./node_modules/core-js/internals/an-object.js"),ve=re("./node_modules/core-js/internals/to-object.js"),ye=re("./node_modules/core-js/internals/to-indexed-object.js"),be=re("./node_modules/core-js/internals/to-property-key.js"),Ce=re("./node_modules/core-js/internals/to-string.js"),Se=re("./node_modules/core-js/internals/create-property-descriptor.js"),Pe=re("./node_modules/core-js/internals/object-create.js"),Be=re("./node_modules/core-js/internals/object-keys.js"),Ue=re("./node_modules/core-js/internals/object-get-own-property-names.js"),Ee=re("./node_modules/core-js/internals/object-get-own-property-names-external.js"),He=re("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Oe=re("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ke=re("./node_modules/core-js/internals/object-define-property.js"),Xe=re("./node_modules/core-js/internals/object-property-is-enumerable.js"),$e=re("./node_modules/core-js/internals/create-non-enumerable-property.js"),ze=re("./node_modules/core-js/internals/redefine.js"),at=re("./node_modules/core-js/internals/shared.js"),et=re("./node_modules/core-js/internals/shared-key.js"),it=re("./node_modules/core-js/internals/hidden-keys.js"),At=re("./node_modules/core-js/internals/uid.js"),ot=re("./node_modules/core-js/internals/well-known-symbol.js"),rt=re("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),lt=re("./node_modules/core-js/internals/define-well-known-symbol.js"),gt=re("./node_modules/core-js/internals/set-to-string-tag.js"),yt=re("./node_modules/core-js/internals/internal-state.js"),Tt=re("./node_modules/core-js/internals/array-iteration.js").forEach,vt=et("hidden"),ut="Symbol",qe="prototype",je=ot("toPrimitive"),Ve=yt.set,Ie=yt.getterFor(ut),_e=Object[qe],Fe=ie.Symbol,De=ne("JSON","stringify"),Te=Oe.f,Ne=ke.f,Le=Ee.f,Ge=Xe.f,dt=at("symbols"),mt=at("op-symbols"),st=at("string-to-symbol-registry"),Et=at("symbol-to-string-registry"),Bt=at("wks"),wt=ie.QObject,Lt=!wt||!wt[qe]||!wt[qe].findChild,Ft=y&&x(function(){return Pe(Ne({},"a",{get:function(){return Ne(this,"a",{value:7}).a}})).a!=7})?function(nn,xn,In){var Un=Te(_e,xn);Un&&delete _e[xn],Ne(nn,xn,In),Un&&nn!==_e&&Ne(_e,xn,Un)}:Ne,Nt=function(nn,xn){var In=dt[nn]=Pe(Fe[qe]);return Ve(In,{type:ut,tag:nn,description:xn}),y||(In.description=xn),In},bt=function(xn,In,Un){xn===_e&&bt(mt,In,Un),ge(xn);var ir=be(In);return ge(Un),b(dt,ir)?(Un.enumerable?(b(xn,vt)&&xn[vt][ir]&&(xn[vt][ir]=!1),Un=Pe(Un,{enumerable:Se(0,!1)})):(b(xn,vt)||Ne(xn,vt,Se(1,{})),xn[vt][ir]=!0),Ft(xn,ir,Un)):Ne(xn,ir,Un)},Dt=function(xn,In){ge(xn);var Un=ye(In),ir=Be(Un).concat($t(Un));return Tt(ir,function(yr){(!y||Ut.call(Un,yr))&&bt(xn,yr,Un[yr])}),xn},Rt=function(xn,In){return In===void 0?Pe(xn):Dt(Pe(xn),In)},Ut=function(xn){var In=be(xn),Un=Ge.call(this,In);return this===_e&&b(dt,In)&&!b(mt,In)?!1:Un||!b(this,In)||!b(dt,In)||b(this,vt)&&this[vt][In]?Un:!0},qt=function(xn,In){var Un=ye(xn),ir=be(In);if(!(Un===_e&&b(dt,ir)&&!b(mt,ir))){var yr=Te(Un,ir);return yr&&b(dt,ir)&&!(b(Un,vt)&&Un[vt][ir])&&(yr.enumerable=!0),yr}},mn=function(xn){var In=Le(ye(xn)),Un=[];return Tt(In,function(ir){!b(dt,ir)&&!b(it,ir)&&Un.push(ir)}),Un},$t=function(xn){var In=xn===_e,Un=Le(In?mt:ye(xn)),ir=[];return Tt(Un,function(yr){b(dt,yr)&&(!In||b(_e,yr))&&ir.push(dt[yr])}),ir};if(a||(Fe=function(){if(this instanceof Fe)throw TypeError("Symbol is not a constructor");var xn=!arguments.length||arguments[0]===void 0?void 0:Ce(arguments[0]),In=At(xn),Un=function(ir){this===_e&&Un.call(mt,ir),b(this,vt)&&b(this[vt],In)&&(this[vt][In]=!1),Ft(this,In,Se(1,ir))};return y&&Lt&&Ft(_e,In,{configurable:!0,set:Un}),Nt(In,xn)},ze(Fe[qe],"toString",function(){return Ie(this).tag}),ze(Fe,"withoutSetter",function(nn){return Nt(At(nn),nn)}),Xe.f=Ut,ke.f=bt,Oe.f=qt,Ue.f=Ee.f=mn,He.f=$t,rt.f=function(nn){return Nt(ot(nn),nn)},y&&(Ne(Fe[qe],"description",{configurable:!0,get:function(){return Ie(this).description}}),z||ze(_e,"propertyIsEnumerable",Ut,{unsafe:!0}))),se({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:Fe}),Tt(Be(Bt),function(nn){lt(nn)}),se({target:ut,stat:!0,forced:!a},{for:function(nn){var xn=Ce(nn);if(b(st,xn))return st[xn];var In=Fe(xn);return st[xn]=In,Et[In]=xn,In},keyFor:function(xn){if(!de(xn))throw TypeError(xn+" is not a symbol");if(b(Et,xn))return Et[xn]},useSetter:function(){Lt=!0},useSimple:function(){Lt=!1}}),se({target:"Object",stat:!0,forced:!a,sham:!y},{create:Rt,defineProperty:bt,defineProperties:Dt,getOwnPropertyDescriptor:qt}),se({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:mn,getOwnPropertySymbols:$t}),se({target:"Object",stat:!0,forced:x(function(){He.f(1)})},{getOwnPropertySymbols:function(xn){return He.f(ve(xn))}}),De){var rn=!a||x(function(){var nn=Fe();return De([nn])!="[null]"||De({a:nn})!="{}"||De(Object(nn))!="{}"});se({target:"JSON",stat:!0,forced:rn},{stringify:function(xn,In,Un){for(var ir=[xn],yr=1,En;arguments.length>yr;)ir.push(arguments[yr++]);if(En=In,!(!te(In)&&xn===void 0||de(xn)))return ee(In)||(In=function(Dr,ta){if(typeof En=="function"&&(ta=En.call(this,Dr,ta)),!de(ta))return ta}),ir[1]=In,De.apply(null,ir)}})}Fe[qe][je]||$e(Fe[qe],je,Fe[qe].valueOf),gt(Fe,ut),it[vt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/dom-iterables.js"),ne=re("./node_modules/core-js/internals/array-for-each.js"),z=re("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in ie){var a=se[y],x=a&&a.prototype;if(x&&x.forEach!==ne)try{z(x,"forEach",ne)}catch(b){x.forEach=ne}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(ae,le,re){var se=re("./node_modules/core-js/internals/global.js"),ie=re("./node_modules/core-js/internals/dom-iterables.js"),ne=re("./node_modules/core-js/modules/es.array.iterator.js"),z=re("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=re("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),x=y("toStringTag"),b=ne.values;for(var ee in ie){var te=se[ee],de=te&&te.prototype;if(de){if(de[a]!==b)try{z(de,a,b)}catch(ve){de[a]=b}if(de[x]||z(de,x,ee),ie[ee]){for(var ge in ne)if(de[ge]!==ne[ge])try{z(de,ge,ne[ge])}catch(ve){de[ge]=ne[ge]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(ae){(function(le,re){ae.exports=re()})(this,function(){"use strict";function le(wt){var Lt=typeof wt;return wt!==null&&(Lt==="object"||Lt==="function")}function re(wt){return typeof wt=="function"}var se=void 0;Array.isArray?se=Array.isArray:se=function(wt){return Object.prototype.toString.call(wt)==="[object Array]"};var ie=se,ne=0,z=void 0,y=void 0,a=function(Lt,Ft){Be[ne]=Lt,Be[ne+1]=Ft,ne+=2,ne===2&&(y?y(Ue):He())};function x(wt){y=wt}function b(wt){a=wt}var ee=typeof window!="undefined"?window:void 0,te=ee||{},de=te.MutationObserver||te.WebKitMutationObserver,ge=typeof self=="undefined"&&typeof me!="undefined"&&{}.toString.call(me)==="[object process]",ve=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function ye(){return function(){return me.nextTick(Ue)}}function be(){return typeof z!="undefined"?function(){z(Ue)}:Pe()}function Ce(){var wt=0,Lt=new de(Ue),Ft=document.createTextNode("");return Lt.observe(Ft,{characterData:!0}),function(){Ft.data=wt=++wt%2}}function Se(){var wt=new MessageChannel;return wt.port1.onmessage=Ue,function(){return wt.port2.postMessage(0)}}function Pe(){var wt=setTimeout;return function(){return wt(Ue,1)}}var Be=new Array(1e3);function Ue(){for(var wt=0;wt>1,re=-7,se=Qe?we-1:0,ie=Qe?-1:1,ne=pe[me+se];for(se+=ie,fe=ne&(1<<-re)-1,ne>>=-re,re+=oe;re>0;fe=fe*256+pe[me+se],se+=ie,re-=8);for(ue=fe&(1<<-re)-1,fe>>=-re,re+=E;re>0;ue=ue*256+pe[me+se],se+=ie,re-=8);if(fe===0)fe=1-le;else{if(fe===ae)return ue?NaN:(ne?-1:1)*(1/0);ue=ue+Math.pow(2,E),fe=fe-le}return(ne?-1:1)*ue*Math.pow(2,fe-E)},Mt.write=function(pe,me,Qe,E,we,fe){var ue,oe,ae,le=fe*8-we-1,re=(1<>1,ie=we===23?Math.pow(2,-24)-Math.pow(2,-77):0,ne=E?0:fe-1,z=E?1:-1,y=me<0||me===0&&1/me<0?1:0;for(me=Math.abs(me),isNaN(me)||me===1/0?(oe=isNaN(me)?1:0,ue=re):(ue=Math.floor(Math.log(me)/Math.LN2),me*(ae=Math.pow(2,-ue))<1&&(ue--,ae*=2),ue+se>=1?me+=ie/ae:me+=ie*Math.pow(2,1-se),me*ae>=2&&(ue++,ae/=2),ue+se>=re?(oe=0,ue=re):ue+se>=1?(oe=(me*ae-1)*Math.pow(2,we),ue=ue+se):(oe=me*Math.pow(2,se-1)*Math.pow(2,we),ue=0));we>=8;pe[Qe+ne]=oe&255,ne+=z,oe/=256,we-=8);for(ue=ue<0;pe[Qe+ne]=ue&255,ne+=z,ue/=256,le-=8);pe[Qe+ne-z]|=y*128}},24334:function(Jt,Mt,pe){var me,Qe;(function(E,we){Jt.exports=we(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof pe.g!="undefined"?pe.g:this,function(E){"use strict";E=E||{};var we=E.Base64,fe="2.6.4",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=function(Ee){for(var He={},Oe=0,ke=Ee.length;Oe>>6)+ae(128|He&63):ae(224|He>>>12&15)+ae(128|He>>>6&63)+ae(128|He&63)}else{var He=65536+(Ee.charCodeAt(0)-55296)*1024+(Ee.charCodeAt(1)-56320);return ae(240|He>>>18&7)+ae(128|He>>>12&63)+ae(128|He>>>6&63)+ae(128|He&63)}},re=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,se=function(Ee){return Ee.replace(re,le)},ie=function(Ee){var He=[0,2,1][Ee.length%3],Oe=Ee.charCodeAt(0)<<16|(Ee.length>1?Ee.charCodeAt(1):0)<<8|(Ee.length>2?Ee.charCodeAt(2):0),ke=[ue.charAt(Oe>>>18),ue.charAt(Oe>>>12&63),He>=2?"=":ue.charAt(Oe>>>6&63),He>=1?"=":ue.charAt(Oe&63)];return ke.join("")},ne=E.btoa&&typeof E.btoa=="function"?function(Ee){return E.btoa(Ee)}:function(Ee){if(Ee.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ee.replace(/[\s\S]{1,3}/g,ie)},z=function(Ee){return ne(se(String(Ee)))},y=function(Ee){return Ee.replace(/[+\/]/g,function(He){return He=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ee,He){return He?y(z(Ee)):z(Ee)},x=function(Ee){return a(Ee,!0)},b;E.Uint8Array&&(b=function(Ee,He){for(var Oe="",ke=0,Xe=Ee.length;ke>>18)+ue.charAt(et>>>12&63)+(typeof ze!="undefined"?ue.charAt(et>>>6&63):"=")+(typeof at!="undefined"?ue.charAt(et&63):"=")}return He?y(Oe):Oe});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Ee){switch(Ee.length){case 4:var He=(7&Ee.charCodeAt(0))<<18|(63&Ee.charCodeAt(1))<<12|(63&Ee.charCodeAt(2))<<6|63&Ee.charCodeAt(3),Oe=He-65536;return ae((Oe>>>10)+55296)+ae((Oe&1023)+56320);case 3:return ae((15&Ee.charCodeAt(0))<<12|(63&Ee.charCodeAt(1))<<6|63&Ee.charCodeAt(2));default:return ae((31&Ee.charCodeAt(0))<<6|63&Ee.charCodeAt(1))}},de=function(Ee){return Ee.replace(ee,te)},ge=function(Ee){var He=Ee.length,Oe=He%4,ke=(He>0?oe[Ee.charAt(0)]<<18:0)|(He>1?oe[Ee.charAt(1)]<<12:0)|(He>2?oe[Ee.charAt(2)]<<6:0)|(He>3?oe[Ee.charAt(3)]:0),Xe=[ae(ke>>>16),ae(ke>>>8&255),ae(ke&255)];return Xe.length-=[0,0,2,1][Oe],Xe.join("")},ve=E.atob&&typeof E.atob=="function"?function(Ee){return E.atob(Ee)}:function(Ee){return Ee.replace(/\S{1,4}/g,ge)},ye=function(Ee){return ve(String(Ee).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(Ee){return de(ve(Ee))},Ce=function(Ee){return String(Ee).replace(/[-_]/g,function(He){return He=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Se=function(Ee){return be(Ce(Ee))},Pe;E.Uint8Array&&(Pe=function(Ee){return Uint8Array.from(ye(Ce(Ee)),function(He){return He.charCodeAt(0)})});var Be=function(){var Ee=E.Base64;return E.Base64=we,Ee};if(E.Base64={VERSION:fe,atob:ye,btoa:ne,fromBase64:Se,toBase64:a,utob:se,encode:a,encodeURI:x,btou:de,decode:Se,noConflict:Be,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var Ue=function(Ee){return{value:Ee,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ue(function(){return Se(this)})),Object.defineProperty(String.prototype,"toBase64",Ue(function(Ee){return a(this,Ee)})),Object.defineProperty(String.prototype,"toBase64URI",Ue(function(){return a(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),Jt.exports?Jt.exports.Base64=E.Base64:(me=[],Qe=function(){return E.Base64}.apply(Mt,me),Qe!==void 0&&(Jt.exports=Qe)),{Base64:E.Base64}})},53307:function(Jt,Mt,pe){"use strict";pe.r(Mt),pe.d(Mt,{AcroForm:function(){return ec},AcroFormAppearance:function(){return $a},AcroFormButton:function(){return Bi},AcroFormCheckBox:function(){return ys},AcroFormChoiceField:function(){return io},AcroFormComboBox:function(){return zo},AcroFormEditBox:function(){return Ro},AcroFormListBox:function(){return Ui},AcroFormPasswordField:function(){return xi},AcroFormPushButton:function(){return Ji},AcroFormRadioButton:function(){return vi},AcroFormTextField:function(){return as},GState:function(){return Uf},ShadingPattern:function(){return Ld},TilingPattern:function(){return Id},default:function(){return ri},jsPDF:function(){return ri}});var me=pe(76190),Qe={},E=function(ce,he,Ae,xe,Me){var Ke=new Worker(Qe[he]||(Qe[he]=URL.createObjectURL(new Blob([ce+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Ke.onmessage=function(ct){var nt=ct.data,ft=nt.$e$;if(ft){var pt=new Error(ft[0]);pt.code=ft[1],pt.stack=ft[2],Me(pt,null)}else Me(null,nt)},Ke.postMessage(Ae,xe),Ke},we=Uint8Array,fe=Uint16Array,ue=Int32Array,oe=new we([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]),ae=new we([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]),le=new we([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),re=function(ce,he){for(var Ae=new fe(31),xe=0;xe<31;++xe)Ae[xe]=he+=1<>1|(b&21845)<<1;ee=(ee&52428)>>2|(ee&13107)<<2,ee=(ee&61680)>>4|(ee&3855)<<4,x[b]=((ee&65280)>>8|(ee&255)<<8)>>1}for(var te=function(ce,he,Ae){for(var xe=ce.length,Me=0,Ke=new fe(he);Me>ft]=pt}else for(nt=new fe(xe),Me=0;Me>15-ce[Me]);return nt},de=new we(288),b=0;b<144;++b)de[b]=8;for(var b=144;b<256;++b)de[b]=9;for(var b=256;b<280;++b)de[b]=7;for(var b=280;b<288;++b)de[b]=8;for(var ge=new we(32),b=0;b<32;++b)ge[b]=5;var ve=te(de,9,0),ye=null,be=te(ge,5,0),Ce=null,Se=function(ce){for(var he=ce[0],Ae=1;Aehe&&(he=ce[Ae]);return he},Pe=function(ce,he,Ae){var xe=he/8|0;return(ce[xe]|ce[xe+1]<<8)>>(he&7)&Ae},Be=function(ce,he){var Ae=he/8|0;return(ce[Ae]|ce[Ae+1]<<8|ce[Ae+2]<<16)>>(he&7)},Ue=function(ce){return(ce+7)/8|0},Ee=function(ce,he,Ae){return(he==null||he<0)&&(he=0),(Ae==null||Ae>ce.length)&&(Ae=ce.length),new we(ce.subarray(he,Ae))},He={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},Oe=["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"],ke=function(ce,he,Ae){var xe=new Error(he||Oe[ce]);if(xe.code=ce,Error.captureStackTrace&&Error.captureStackTrace(xe,ke),!Ae)throw xe;return xe},Xe=function(ce,he,Ae,xe){var Me=ce.length,Ke=xe?xe.length:0;if(!Me||he.f&&!he.l)return Ae||new we(0);var ct=!Ae,nt=ct||he.i!=2,ft=he.i;ct&&(Ae=new we(Me*3));var pt=function(za){var xo=Ae.length;if(za>xo){var Co=new we(Math.max(xo*2,za));Co.set(Ae),Ae=Co}},Pt=he.f||0,kt=he.p||0,Kt=he.b||0,xt=he.l,fn=he.d,ln=he.m,hn=he.n,Yt=Me*8;do{if(!xt){Pt=Pe(ce,kt,1);var Wn=Pe(ce,kt+1,3);if(kt+=3,Wn)if(Wn==1)xt=ye,fn=Ce,ln=9,hn=5;else if(Wn==2){var ia=Pe(ce,kt,31)+257,zr=Pe(ce,kt+10,15)+4,$n=ia+Pe(ce,kt+5,31)+1;kt+=14;for(var On=new we($n),vr=new we(19),Xt=0;Xt>4;if(Mn<16)On[Xt++]=Mn;else{var Hr=0,Zr=0;for(Mn==16?(Zr=3+Pe(ce,kt,3),kt+=2,Hr=On[Xt-1]):Mn==17?(Zr=3+Pe(ce,kt,7),kt+=3):Mn==18&&(Zr=11+Pe(ce,kt,127),kt+=7);Zr--;)On[Xt++]=Hr}}var _r=On.subarray(0,ia),Jr=On.subarray(ia);ln=Se(_r),hn=Se(Jr),xt=te(_r,ln,1),fn=te(Jr,hn,1)}else ke(1);else{var Mn=Ue(kt)+4,Ln=ce[Mn-4]|ce[Mn-3]<<8,Or=Mn+Ln;if(Or>Me){ft&&ke(0);break}nt&&pt(Kt+Ln),Ae.set(ce.subarray(Mn,Or),Kt),he.b=Kt+=Ln,he.p=kt=Or*8,he.f=Pt;continue}if(kt>Yt){ft&&ke(0);break}}nt&&pt(Kt+131072);for(var Xa=(1<>4;if(kt+=Hr&15,kt>Yt){ft&&ke(0);break}if(Hr||ke(2),Fn<256)Ae[Kt++]=Fn;else if(Fn==256){Vt=kt,xt=null;break}else{var Tn=Fn-254;if(Fn>264){var Xt=Fn-257,Vn=oe[Xt];Tn=Pe(ce,kt,(1<>4;or||ke(3),kt+=or&15;var Jr=y[Cr];if(Cr>3){var Vn=ae[Cr];Jr+=Be(ce,kt)&(1<Yt){ft&&ke(0);break}nt&&pt(Kt+131072);var Kr=Kt+Tn;if(Kt>8},ze=function(ce,he,Ae){Ae<<=he&7;var xe=he/8|0;ce[xe]|=Ae,ce[xe+1]|=Ae>>8,ce[xe+2]|=Ae>>16},at=function(ce,he){for(var Ae=[],xe=0;xeKt&&(Kt=Ke[xe].s);var xt=new fe(Kt+1),fn=et(Ae[Pt-1],xt,0);if(fn>he){var xe=0,ln=0,hn=fn-he,Yt=1<he)ln+=Yt-(1<>=hn;ln>0;){var Mn=Ke[xe].s;xt[Mn]=0&&ln;--xe){var Ln=Ke[xe].s;xt[Ln]==he&&(--xt[Ln],++ln)}fn=he}return{t:new we(xt),l:fn}},et=function(ce,he,Ae){return ce.s==-1?Math.max(et(ce.l,he,Ae+1),et(ce.r,he,Ae+1)):he[ce.s]=Ae},it=function(ce){for(var he=ce.length;he&&!ce[--he];);for(var Ae=new fe(++he),xe=0,Me=ce[0],Ke=1,ct=function(ft){Ae[xe++]=ft},nt=1;nt<=he;++nt)if(ce[nt]==Me&&nt!=he)++Ke;else{if(!Me&&Ke>2){for(;Ke>138;Ke-=138)ct(32754);Ke>2&&(ct(Ke>10?Ke-11<<5|28690:Ke-3<<5|12305),Ke=0)}else if(Ke>3){for(ct(Me),--Ke;Ke>6;Ke-=6)ct(8304);Ke>2&&(ct(Ke-3<<5|8208),Ke=0)}for(;Ke--;)ct(Me);Ke=1,Me=ce[nt]}return{c:Ae.subarray(0,xe),n:he}},At=function(ce,he){for(var Ae=0,xe=0;xe>8,ce[Me+2]=ce[Me]^255,ce[Me+3]=ce[Me+1]^255;for(var Ke=0;Ke4&&!vr[le[gn-1]];--gn);var Kn=pt+5<<3,Rn=At(Me,de)+At(Ke,ge)+ct,jr=At(Me,Kt)+At(Ke,ln)+ct+14+3*gn+At(zr,vr)+2*zr[16]+3*zr[17]+7*zr[18];if(ft>=0&&Kn<=Rn&&Kn<=jr)return ot(he,Pt,ce.subarray(ft,ft+pt));var Hr,Zr,_r,Jr;if($e(he,Pt,1+(jr15&&($e(he,Pt,Fn[$n]>>5&127),Pt+=Fn[$n]>>12)}}else Hr=ve,Zr=de,_r=be,Jr=ge;for(var $n=0;$n255){var Tn=Vn>>18&31;ze(he,Pt,Hr[Tn+257]),Pt+=Zr[Tn+257],Tn>7&&($e(he,Pt,Vn>>23&31),Pt+=oe[Tn]);var or=Vn&31;ze(he,Pt,_r[or]),Pt+=Jr[or],or>3&&(ze(he,Pt,Vn>>5&8191),Pt+=ae[or])}else ze(he,Pt,Hr[Vn]),Pt+=Zr[Vn]}return ze(he,Pt,Hr[256]),Pt+Zr[256]},lt=new ue([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),gt=new we(0),yt=function(ce,he,Ae,xe,Me,Ke){var ct=Ke.z||ce.length,nt=new we(xe+ct+5*(1+Math.ceil(ct/7e3))+Me),ft=nt.subarray(xe,nt.length-Me),pt=Ke.l,Pt=(Ke.r||0)&7;if(he){Pt&&(ft[0]=Ke.r>>3);for(var kt=lt[he-1],Kt=kt>>13,xt=kt&8191,fn=(1<7e3||vr>24576)&&(Hr>423||!pt)){Pt=rt(ce,ft,0,Ln,Or,ia,$n,vr,gn,On-gn,Pt),vr=zr=$n=0,gn=On;for(var Zr=0;Zr<286;++Zr)Or[Zr]=0;for(var Zr=0;Zr<30;++Zr)ia[Zr]=0}var _r=2,Jr=0,Xa=xt,Sa=Rn-jr&32767;if(Hr>2&&Kn==Mn(On-Sa))for(var Vt=Math.min(Kt,Hr)-1,Fn=Math.min(32767,On),Tn=Math.min(258,Hr);Sa<=Fn&&--Xa&&Rn!=jr;){if(ce[On+_r]==ce[On+_r-Sa]){for(var Vn=0;Vn_r){if(_r=Vn,Jr=Sa,Vn>Vt)break;for(var or=Math.min(Sa,Vn-2),Cr=0,Zr=0;ZrCr&&(Cr=Aa,jr=Kr)}}}Rn=jr,jr=ln[Rn],Sa+=Rn-jr&32767}if(Jr){Ln[vr++]=268435456|ne[_r]<<18|a[Jr];var za=ne[_r]&31,xo=a[Jr]&31;$n+=oe[za]+ae[xo],++Or[257+za],++ia[xo],Xt=On+_r,++zr}else Ln[vr++]=ce[On],++Or[ce[On]]}}for(On=Math.max(On,Xt);On=ct&&(ft[Pt/8|0]=pt,Co=ct),Pt=ot(ft,Pt+1,ce.subarray(On,Co))}Ke.i=ct}return Ee(nt,0,xe+Ue(Pt)+Me)},Tt=null,vt=function(){var ce=-1;return{p:function(he){for(var Ae=ce,xe=0;xe>>8;ce=Ae},d:function(){return~ce}}},ut=function(){var ce=1,he=0;return{p:function(Ae){for(var xe=ce,Me=he,Ke=Ae.length|0,ct=0;ct!=Ke;){for(var nt=Math.min(ct+2655,Ke);ct>16),Me=(Me&65535)+15*(Me>>16)}ce=xe,he=Me},d:function(){return ce%=65521,he%=65521,(ce&255)<<24|(ce&65280)<<8|(he&255)<<8|he>>8}}},qe=function(ce,he,Ae,xe,Me){if(!Me&&(Me={l:1},he.dictionary)){var Ke=he.dictionary.subarray(-32768),ct=new we(Ke.length+ce.length);ct.set(Ke),ct.set(ce,Ke.length),ce=ct,Me.w=Ke.length}return yt(ce,he.level==null?6:he.level,he.mem==null?Me.l?Math.ceil(Math.max(8,Math.min(13,Math.log(ce.length)))*1.5):20:12+he.mem,Ae,xe,Me)},je=function(ce,he){var Ae={};for(var xe in ce)Ae[xe]=ce[xe];for(var xe in he)Ae[xe]=he[xe];return Ae},Ve=function(ce,he,Ae){for(var xe=ce(),Me=ce.toString(),Ke=Me.slice(Me.indexOf("[")+1,Me.lastIndexOf("]")).replace(/\s+/g,"").split(","),ct=0;ct>>0},Nt=function(ce,he){return Ft(ce,he)+Ft(ce,he+4)*4294967296},bt=function(ce,he,Ae){for(;Ae;++he)ce[he]=Ae,Ae>>>=8},Dt=function(ce,he){var Ae=he.filename;if(ce[0]=31,ce[1]=139,ce[2]=8,ce[8]=he.level<2?4:he.level==9?2:0,ce[9]=3,he.mtime!=0&&bt(ce,4,Math.floor(new Date(he.mtime||Date.now())/1e3)),Ae){ce[3]=8;for(var xe=0;xe<=Ae.length;++xe)ce[xe+10]=Ae.charCodeAt(xe)}},Rt=function(ce){(ce[0]!=31||ce[1]!=139||ce[2]!=8)&&ke(6,"invalid gzip data");var he=ce[3],Ae=10;he&4&&(Ae+=(ce[10]|ce[11]<<8)+2);for(var xe=(he>>3&1)+(he>>4&1);xe>0;xe-=!ce[Ae++]);return Ae+(he&2)},Ut=function(ce){var he=ce.length;return(ce[he-4]|ce[he-3]<<8|ce[he-2]<<16|ce[he-1]<<24)>>>0},qt=function(ce){return 10+(ce.filename?ce.filename.length+1:0)},mn=function(ce,he){var Ae=he.level,xe=Ae==0?0:Ae<6?1:Ae==9?3:2;if(ce[0]=120,ce[1]=xe<<6|(he.dictionary&&32),ce[1]|=31-(ce[0]<<8|ce[1])%31,he.dictionary){var Me=ut();Me.p(he.dictionary),bt(ce,2,Me.d())}},$t=function(ce,he){return((ce[0]&15)!=8||ce[0]>>4>7||(ce[0]<<8|ce[1])%31)&&ke(6,"invalid zlib data"),(ce[1]>>5&1)==+!he&&ke(6,"invalid zlib data: "+(ce[1]&32?"need":"unexpected")+" dictionary"),(ce[1]>>3&4)+2};function rn(ce,he){return typeof ce=="function"&&(he=ce,ce={}),this.ondata=he,ce}var nn=null,xn=null;function In(ce,he,Ae){return Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7),Et(ce,he,[Te],function(xe){return mt(Un(xe.data[0],xe.data[1]))},0,Ae)}function Un(ce,he){return qe(ce,he||{},0,0)}var ir=null,yr=null;function En(ce,he,Ae){return Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7),Et(ce,he,[De],function(xe){return mt(Dr(xe.data[0],st(xe.data[1])))},1,Ae)}function Dr(ce,he){return Xe(ce,{i:2},he&&he.out,he&&he.dictionary)}var ta=null,Fr=null;function Vr(ce,he,Ae){return Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7),Et(ce,he,[Te,Ne,function(){return[Mr]}],function(xe){return mt(Mr(xe.data[0],xe.data[1]))},2,Ae)}function Mr(ce,he){he||(he={});var Ae=vt(),xe=ce.length;Ae.p(ce);var Me=qe(ce,he,qt(he),8),Ke=Me.length;return Dt(Me,he),bt(Me,Ke-8,Ae.d()),bt(Me,Ke-4,xe),Me}var Er=null,Oa=null;function to(ce,he,Ae){return Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7),Et(ce,he,[De,Le,function(){return[na]}],function(xe){return mt(na(xe.data[0],xe.data[1]))},3,Ae)}function na(ce,he){var Ae=Rt(ce);return Ae+8>ce.length&&ke(6,"invalid gzip data"),Xe(ce.subarray(Ae,-8),{i:2},he&&he.out||new we(Ut(ce)),he&&he.dictionary)}var Ao=null,Ga=null;function sn(ce,he,Ae){return Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7),Et(ce,he,[Te,Ge,function(){return[Pn]}],function(xe){return mt(Pn(xe.data[0],xe.data[1]))},4,Ae)}function Pn(ce,he){he||(he={});var Ae=ut();Ae.p(ce);var xe=qe(ce,he,he.dictionary?6:2,4);return mn(xe,he),bt(xe,xe.length-4,Ae.d()),xe}var An=null,xr=null;function Wr(ce,he,Ae){return Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7),Et(ce,he,[De,dt,function(){return[sa]}],function(xe){return mt(sa(xe.data[0],st(xe.data[1])))},5,Ae)}function sa(ce,he){return Xe(ce.subarray($t(ce,he&&he.dictionary),-4),{i:2},he&&he.out,he&&he.dictionary)}var La=null,ua=null;function fa(ce,he,Ae){return Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7),ce[0]==31&&ce[1]==139&&ce[2]==8?to(ce,he,Ae):(ce[0]&15)!=8||ce[0]>>4>7||(ce[0]<<8|ce[1])%31?En(ce,he,Ae):Wr(ce,he,Ae)}function nr(ce,he){return ce[0]==31&&ce[1]==139&&ce[2]==8?na(ce,he):(ce[0]&15)!=8||ce[0]>>4>7||(ce[0]<<8|ce[1])%31?Dr(ce,he):sa(ce,he)}var Bn=function(ce,he,Ae,xe){for(var Me in ce){var Ke=ce[Me],ct=he+Me,nt=xe;Array.isArray(Ke)&&(nt=je(xe,Ke[1]),Ke=Ke[0]),Ke instanceof we?Ae[ct]=[Ke,nt]:(Ae[ct+="/"]=[new we(0),nt],Bn(Ke,ct,Ae,xe))}},er=typeof TextEncoder!="undefined"&&new TextEncoder,Zn=typeof TextDecoder!="undefined"&&new TextDecoder,kr=0;try{Zn.decode(gt,{stream:!0}),kr=1}catch(ce){}var Ca=function(ce){for(var he="",Ae=0;;){var xe=ce[Ae++],Me=(xe>127)+(xe>223)+(xe>239);if(Ae+Me>ce.length)return{s:he,r:Ee(ce,Ae-1)};Me?Me==3?(xe=((xe&15)<<18|(ce[Ae++]&63)<<12|(ce[Ae++]&63)<<6|ce[Ae++]&63)-65536,he+=String.fromCharCode(55296|xe>>10,56320|xe&1023)):Me&1?he+=String.fromCharCode((xe&31)<<6|ce[Ae++]&63):he+=String.fromCharCode((xe&15)<<12|(ce[Ae++]&63)<<6|ce[Ae++]&63):he+=String.fromCharCode(xe)}},ga=null,aa=null;function on(ce,he){if(he){for(var Ae=new we(ce.length),xe=0;xe>1)),ct=0,nt=function(Pt){Ke[ct++]=Pt},xe=0;xeKe.length){var ft=new we(ct+8+(Me-xe<<1));ft.set(Ke),Ke=ft}var pt=ce.charCodeAt(xe);pt<128||he?nt(pt):pt<2048?(nt(192|pt>>6),nt(128|pt&63)):pt>55295&&pt<57344?(pt=65536+(pt&1047552)|ce.charCodeAt(++xe)&1023,nt(240|pt>>18),nt(128|pt>>12&63),nt(128|pt>>6&63),nt(128|pt&63)):(nt(224|pt>>12),nt(128|pt>>6&63),nt(128|pt&63))}return Ee(Ke,0,ct)}function Nn(ce,he){if(he){for(var Ae="",xe=0;xe65535&&ke(9),he+=xe+4}return he},gr=function(ce,he,Ae,xe,Me,Ke,ct,nt){var ft=xe.length,pt=Ae.extra,Pt=nt&&nt.length,kt=sr(pt);bt(ce,he,ct!=null?33639248:67324752),he+=4,ct!=null&&(ce[he++]=20,ce[he++]=Ae.os),ce[he]=20,he+=2,ce[he++]=Ae.flag<<1|(Ke<0&&8),ce[he++]=Me&&8,ce[he++]=Ae.compression&255,ce[he++]=Ae.compression>>8;var Kt=new Date(Ae.mtime==null?Date.now():Ae.mtime),xt=Kt.getFullYear()-1980;if((xt<0||xt>119)&&ke(10),bt(ce,he,xt<<25|Kt.getMonth()+1<<21|Kt.getDate()<<16|Kt.getHours()<<11|Kt.getMinutes()<<5|Kt.getSeconds()>>1),he+=4,Ke!=-1&&(bt(ce,he,Ae.crc),bt(ce,he+4,Ke<0?-Ke-2:Ke),bt(ce,he+8,Ae.size)),bt(ce,he+12,ft),bt(ce,he+14,kt),he+=16,ct!=null&&(bt(ce,he,Pt),bt(ce,he+6,Ae.attrs),bt(ce,he+10,ct),he+=14),ce.set(xe,he),he+=ft,kt)for(var fn in pt){var ln=pt[fn],hn=ln.length;bt(ce,he,+fn),bt(ce,he+2,hn),ce.set(ln,he+4),he+=4+hn}return Pt&&(ce.set(nt,he),he+=Pt),he},Ea=function(ce,he,Ae,xe,Me){bt(ce,he,101010256),bt(ce,he+8,Ae),bt(ce,he+10,Ae),bt(ce,he+12,xe),bt(ce,he+16,Me)},Hn=null,qn=null,Mo=null,Ja=null;function Wa(ce,he,Ae){Ae||(Ae=he,he={}),typeof Ae!="function"&&ke(7);var xe={};Bn(ce,"",xe,he);var Me=Object.keys(xe),Ke=Me.length,ct=0,nt=0,ft=Ke,pt=new Array(Ke),Pt=[],kt=function(){for(var hn=0;hn65535&&Rn(ke(11,0,1),null),!Kn)Rn(null,Mn);else if(ia<16e4)try{Rn(null,Un(Mn,Ln))}catch(jr){Rn(jr,null)}else Pt.push(In(Mn,Ln,Rn))},ln=0;ln65535&&ke(11);var Yt=Pt?Un(ft,pt):ft,Wn=Yt.length,Mn=vt();Mn.p(ft),xe.push(je(pt,{size:ft.length,crc:Mn.d(),c:Yt,f:kt,m:fn,u:Kt!=ct.length||fn&&xt.length!=ln,o:Me,compression:Pt})),Me+=30+Kt+hn+Wn,Ke+=76+2*(Kt+hn)+(ln||0)+Wn}for(var Ln=new we(Ke+22),Or=Me,ia=Ke-Me,zr=0;zr65558)return ct(ke(13,0,1),null),Me;var ft=Lt(ce,nt+8);if(ft){var pt=ft,Pt=Ft(ce,nt+16),kt=Pt==4294967295||pt==65535;if(kt){var Kt=Ft(ce,nt-12);kt=Ft(ce,Kt)==101075792,kt&&(pt=ft=Ft(ce,Kt+32),Pt=Ft(ce,Kt+48))}for(var xt=he&&he.filter,fn=function(hn){var Yt=mr(ce,Pt,kt),Wn=Yt[0],Mn=Yt[1],Ln=Yt[2],Or=Yt[3],ia=Yt[4],zr=Yt[5],$n=Yn(ce,zr);Pt=ia;var On=function(Xt,gn){Xt?(Me(),ct(Xt,null)):(gn&&(Ke[Or]=gn),--ft||ct(null,Ke))};if(!xt||xt({name:Or,size:Mn,originalSize:Ln,compression:Wn}))if(!Wn)On(null,Ee(ce,$n,$n+Mn));else if(Wn==8){var vr=ce.subarray($n,$n+Mn);if(Ln<524288||Mn>.8*Ln)try{On(null,Dr(vr,{out:new we(Ln)}))}catch(Xt){On(Xt,null)}else xe.push(En(vr,{size:Ln},On))}else On(ke(14,"unknown compression type "+Wn,1),null);else On(null,null)},ln=0;ln65558)&&ke(13);var Me=Lt(ce,xe+8);if(!Me)return{};var Ke=Ft(ce,xe+16),ct=Ke==4294967295||Me==65535;if(ct){var nt=Ft(ce,xe-12);ct=Ft(ce,nt)==101075792,ct&&(Me=Ft(ce,nt+32),Ke=Ft(ce,nt+48))}for(var ft=he&&he.filter,pt=0;pt{const ce=new Uint8Array(4),he=new Uint32Array(ce.buffer);return!((he[0]=1)&ce[0])})(),mo={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 cr{constructor(he=Qi,Ae={}){Ws(this,"buffer");Ws(this,"byteLength");Ws(this,"byteOffset");Ws(this,"length");Ws(this,"offset");Ws(this,"lastWrittenByte");Ws(this,"littleEndian");Ws(this,"_data");Ws(this,"_mark");Ws(this,"_marks");let xe=!1;typeof he=="number"?he=new ArrayBuffer(he):(xe=!0,this.lastWrittenByte=he.byteLength);const Me=Ae.offset?Ae.offset>>>0:0,Ke=he.byteLength-Me;let ct=Me;(ArrayBuffer.isView(he)||he instanceof cr)&&(he.byteLength!==he.buffer.byteLength&&(ct=he.byteOffset+Me),he=he.buffer),xe?this.lastWrittenByte=Ke:this.lastWrittenByte=0,this.buffer=he,this.length=Ke,this.byteLength=Ke,this.byteOffset=ct,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,ct,Ke),this._mark=0,this._marks=[]}available(he=1){return this.offset+he<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(he=1){return this.offset+=he,this}back(he=1){return this.offset-=he,this}seek(he){return this.offset=he,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 he=this._marks.pop();if(he===void 0)throw new Error("Mark stack empty");return this.seek(he),this}rewind(){return this.offset=0,this}ensureAvailable(he=1){if(!this.available(he)){const xe=(this.offset+he)*2,Me=new Uint8Array(xe);Me.set(new Uint8Array(this.buffer)),this.buffer=Me.buffer,this.length=xe,this.byteLength=xe,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(he=1){return this.readArray(he,"uint8")}readArray(he,Ae){const xe=mo[Ae].BYTES_PER_ELEMENT*he,Me=this.byteOffset+this.offset,Ke=this.buffer.slice(Me,Me+xe);if(this.littleEndian===oa&&Ae!=="uint8"&&Ae!=="int8"){const nt=new Uint8Array(this.buffer.slice(Me,Me+xe));nt.reverse();const ft=new mo[Ae](nt.buffer);return this.offset+=xe,ft.reverse(),ft}const ct=new mo[Ae](Ke);return this.offset+=xe,ct}readInt16(){const he=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,he}readUint16(){const he=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,he}readInt32(){const he=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,he}readUint32(){const he=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,he}readFloat32(){const he=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,he}readFloat64(){const he=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,he}readBigInt64(){const he=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,he}readBigUint64(){const he=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,he}readChar(){return String.fromCharCode(this.readInt8())}readChars(he=1){let Ae="";for(let xe=0;xethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const ma=4,Ha=0,Da=1,fo=2;function Yo(ce){let he=ce.length;for(;--he>=0;)ce[he]=0}const lo=0,Wo=1,Fi=2,Ko=3,Fo=258,ei=29,bi=256,wi=bi+1+ei,ws=30,$i=19,Ps=2*wi+1,ms=15,gi=16,bn=7,ar=256,Rr=16,uo=17,Oo=18,ho=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]),Nr=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]),pr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ur=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Br=512,Ta=new Array((wi+2)*2);Yo(Ta);const Qr=new Array(ws*2);Yo(Qr);const bo=new Array(Br);Yo(bo);const oo=new Array(Fo-Ko+1);Yo(oo);const To=new Array(ei);Yo(To);const No=new Array(ws);Yo(No);function Xo(ce,he,Ae,xe,Me){this.static_tree=ce,this.extra_bits=he,this.extra_base=Ae,this.elems=xe,this.max_length=Me,this.has_stree=ce&&ce.length}let no,ci,Zo;function xa(ce,he){this.dyn_tree=ce,this.max_code=0,this.stat_desc=he}const jn=ce=>ce<256?bo[ce]:bo[256+(ce>>>7)],Dn=(ce,he)=>{ce.pending_buf[ce.pending++]=he&255,ce.pending_buf[ce.pending++]=he>>>8&255},_n=(ce,he,Ae)=>{ce.bi_valid>gi-Ae?(ce.bi_buf|=he<>gi-ce.bi_valid,ce.bi_valid+=Ae-gi):(ce.bi_buf|=he<{_n(ce,Ae[he*2],Ae[he*2+1])},ha=(ce,he)=>{let Ae=0;do Ae|=ce&1,ce>>>=1,Ae<<=1;while(--he>0);return Ae>>>1},ya=ce=>{ce.bi_valid===16?(Dn(ce,ce.bi_buf),ce.bi_buf=0,ce.bi_valid=0):ce.bi_valid>=8&&(ce.pending_buf[ce.pending++]=ce.bi_buf&255,ce.bi_buf>>=8,ce.bi_valid-=8)},Tr=(ce,he)=>{const Ae=he.dyn_tree,xe=he.max_code,Me=he.stat_desc.static_tree,Ke=he.stat_desc.has_stree,ct=he.stat_desc.extra_bits,nt=he.stat_desc.extra_base,ft=he.stat_desc.max_length;let pt,Pt,kt,Kt,xt,fn,ln=0;for(Kt=0;Kt<=ms;Kt++)ce.bl_count[Kt]=0;for(Ae[ce.heap[ce.heap_max]*2+1]=0,pt=ce.heap_max+1;ptft&&(Kt=ft,ln++),Ae[Pt*2+1]=Kt,!(Pt>xe)&&(ce.bl_count[Kt]++,xt=0,Pt>=nt&&(xt=ct[Pt-nt]),fn=Ae[Pt*2],ce.opt_len+=fn*(Kt+xt),Ke&&(ce.static_len+=fn*(Me[Pt*2+1]+xt)));if(ln!==0){do{for(Kt=ft-1;ce.bl_count[Kt]===0;)Kt--;ce.bl_count[Kt]--,ce.bl_count[Kt+1]+=2,ce.bl_count[ft]--,ln-=2}while(ln>0);for(Kt=ft;Kt!==0;Kt--)for(Pt=ce.bl_count[Kt];Pt!==0;)kt=ce.heap[--pt],!(kt>xe)&&(Ae[kt*2+1]!==Kt&&(ce.opt_len+=(Kt-Ae[kt*2+1])*Ae[kt*2],Ae[kt*2+1]=Kt),Pt--)}},Ya=(ce,he,Ae)=>{const xe=new Array(ms+1);let Me=0,Ke,ct;for(Ke=1;Ke<=ms;Ke++)Me=Me+Ae[Ke-1]<<1,xe[Ke]=Me;for(ct=0;ct<=he;ct++){let nt=ce[ct*2+1];nt!==0&&(ce[ct*2]=ha(xe[nt]++,nt))}},Va=()=>{let ce,he,Ae,xe,Me;const Ke=new Array(ms+1);for(Ae=0,xe=0;xe>=7;xe{let he;for(he=0;he{ce.bi_valid>8?Dn(ce,ce.bi_buf):ce.bi_valid>0&&(ce.pending_buf[ce.pending++]=ce.bi_buf),ce.bi_buf=0,ce.bi_valid=0},Ir=(ce,he,Ae,xe)=>{const Me=he*2,Ke=Ae*2;return ce[Me]{const xe=ce.heap[Ae];let Me=Ae<<1;for(;Me<=ce.heap_len&&(Me{let xe,Me,Ke=0,ct,nt;if(ce.sym_next!==0)do xe=ce.pending_buf[ce.sym_buf+Ke++]&255,xe+=(ce.pending_buf[ce.sym_buf+Ke++]&255)<<8,Me=ce.pending_buf[ce.sym_buf+Ke++],xe===0?dr(ce,Me,he):(ct=oo[Me],dr(ce,ct+bi+1,he),nt=ho[ct],nt!==0&&(Me-=To[ct],_n(ce,Me,nt)),xe--,ct=jn(xe),dr(ce,ct,Ae),nt=Nr[ct],nt!==0&&(xe-=No[ct],_n(ce,xe,nt)));while(Ke{const Ae=he.dyn_tree,xe=he.stat_desc.static_tree,Me=he.stat_desc.has_stree,Ke=he.stat_desc.elems;let ct,nt,ft=-1,pt;for(ce.heap_len=0,ce.heap_max=Ps,ct=0;ct>1;ct>=1;ct--)ti(ce,Ae,ct);pt=Ke;do ct=ce.heap[1],ce.heap[1]=ce.heap[ce.heap_len--],ti(ce,Ae,1),nt=ce.heap[1],ce.heap[--ce.heap_max]=ct,ce.heap[--ce.heap_max]=nt,Ae[pt*2]=Ae[ct*2]+Ae[nt*2],ce.depth[pt]=(ce.depth[ct]>=ce.depth[nt]?ce.depth[ct]:ce.depth[nt])+1,Ae[ct*2+1]=Ae[nt*2+1]=pt,ce.heap[1]=pt++,ti(ce,Ae,1);while(ce.heap_len>=2);ce.heap[--ce.heap_max]=ce.heap[1],Tr(ce,he),Ya(Ae,ft,ce.bl_count)},wo=(ce,he,Ae)=>{let xe,Me=-1,Ke,ct=he[0*2+1],nt=0,ft=7,pt=4;for(ct===0&&(ft=138,pt=3),he[(Ae+1)*2+1]=65535,xe=0;xe<=Ae;xe++)Ke=ct,ct=he[(xe+1)*2+1],!(++nt{let xe,Me=-1,Ke,ct=he[0*2+1],nt=0,ft=7,pt=4;for(ct===0&&(ft=138,pt=3),xe=0;xe<=Ae;xe++)if(Ke=ct,ct=he[(xe+1)*2+1],!(++nt{let he;for(wo(ce,ce.dyn_ltree,ce.l_desc.max_code),wo(ce,ce.dyn_dtree,ce.d_desc.max_code),Ti(ce,ce.bl_desc),he=$i-1;he>=3&&ce.bl_tree[ur[he]*2+1]===0;he--);return ce.opt_len+=3*(he+1)+5+5+4,he},co=(ce,he,Ae,xe)=>{let Me;for(_n(ce,he-257,5),_n(ce,Ae-1,5),_n(ce,xe-4,4),Me=0;Me{let he=4093624447,Ae;for(Ae=0;Ae<=31;Ae++,he>>>=1)if(he&1&&ce.dyn_ltree[Ae*2]!==0)return Ha;if(ce.dyn_ltree[9*2]!==0||ce.dyn_ltree[10*2]!==0||ce.dyn_ltree[13*2]!==0)return Da;for(Ae=32;Ae{ks||(Va(),ks=!0),ce.l_desc=new xa(ce.dyn_ltree,no),ce.d_desc=new xa(ce.dyn_dtree,ci),ce.bl_desc=new xa(ce.bl_tree,Zo),ce.bi_buf=0,ce.bi_valid=0,eo(ce)},vu=(ce,he,Ae,xe)=>{_n(ce,(lo<<1)+(xe?1:0),3),zi(ce),Dn(ce,Ae),Dn(ce,~Ae),Ae&&ce.pending_buf.set(ce.window.subarray(he,he+Ae),ce.pending),ce.pending+=Ae},Pu=ce=>{_n(ce,Wo<<1,3),dr(ce,ar,Ta),ya(ce)},zl=(ce,he,Ae,xe)=>{let Me,Ke,ct=0;ce.level>0?(ce.strm.data_type===fo&&(ce.strm.data_type=Ka(ce)),Ti(ce,ce.l_desc),Ti(ce,ce.d_desc),ct=Ki(ce),Me=ce.opt_len+3+7>>>3,Ke=ce.static_len+3+7>>>3,Ke<=Me&&(Me=Ke)):Me=Ke=Ae+5,Ae+4<=Me&&he!==-1?vu(ce,he,Ae,xe):ce.strategy===ma||Ke===Me?(_n(ce,(Wo<<1)+(xe?1:0),3),Di(ce,Ta,Qr)):(_n(ce,(Fi<<1)+(xe?1:0),3),co(ce,ce.l_desc.max_code+1,ce.d_desc.max_code+1,ct+1),Di(ce,ce.dyn_ltree,ce.dyn_dtree)),eo(ce),xe&&zi(ce)},Pc=(ce,he,Ae)=>(ce.pending_buf[ce.sym_buf+ce.sym_next++]=he,ce.pending_buf[ce.sym_buf+ce.sym_next++]=he>>8,ce.pending_buf[ce.sym_buf+ce.sym_next++]=Ae,he===0?ce.dyn_ltree[Ae*2]++:(ce.matches++,he--,ce.dyn_ltree[(oo[Ae]+bi+1)*2]++,ce.dyn_dtree[jn(he)*2]++),ce.sym_next===ce.sym_end);var Kl=mu,Os=vu,oc=zl,Xs=Pc,ic=Pu,Ml={_tr_init:Kl,_tr_stored_block:Os,_tr_flush_block:oc,_tr_tally:Xs,_tr_align:ic},fs=(ce,he,Ae,xe)=>{let Me=ce&65535|0,Ke=ce>>>16&65535|0,ct=0;for(;Ae!==0;){ct=Ae>2e3?2e3:Ae,Ae-=ct;do Me=Me+he[xe++]|0,Ke=Ke+Me|0;while(--ct);Me%=65521,Ke%=65521}return Me|Ke<<16|0};const Vc=()=>{let ce,he=[];for(var Ae=0;Ae<256;Ae++){ce=Ae;for(var xe=0;xe<8;xe++)ce=ce&1?3988292384^ce>>>1:ce>>>1;he[Ae]=ce}return he},bd=new Uint32Array(Vc());var ul=(ce,he,Ae,xe)=>{const Me=bd,Ke=xe+Ae;ce^=-1;for(let ct=xe;ct>>8^Me[(ce^he[ct])&255];return ce^-1},yu={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"},sc={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:xA,_tr_stored_block:Al,_tr_flush_block:ku,_tr_tally:ro,_tr_align:Vo}=Ml,{Z_NO_FLUSH:Ds,Z_PARTIAL_FLUSH:Wl,Z_FULL_FLUSH:Fc,Z_FINISH:yl,Z_BLOCK:eu,Z_OK:rs,Z_STREAM_END:bu,Z_STREAM_ERROR:fl,Z_DATA_ERROR:fc,Z_BUF_ERROR:_c,Z_DEFAULT_COMPRESSION:Wd,Z_FILTERED:oh,Z_HUFFMAN_ONLY:wd,Z_RLE:ih,Z_FIXED:Ru,Z_DEFAULT_STRATEGY:df,Z_UNKNOWN:Af,Z_DEFLATED:PA}=sc,Zd=9,Yh=15,sh=8,Yc=256+1+29,lh=30,uh=19,qh=2*Yc+1,ch=15,Es=3,Zu=258,hc=Zu+Es+1,$h=32,Lc=42,dh=57,FA=69,Ah=73,ff=91,fh=103,Jc=113,_A=666,Bl=1,Xd=2,qc=3,Ic=4,eg=3,Sd=(ce,he)=>(ce.msg=yu[he],he),hh=ce=>ce*2-(ce>4?9:0),$c=ce=>{let he=ce.length;for(;--he>=0;)ce[he]=0},LA=ce=>{let he,Ae,xe,Me=ce.w_size;he=ce.hash_size,xe=he;do Ae=ce.head[--xe],ce.head[xe]=Ae>=Me?Ae-Me:0;while(--he);he=Me,xe=he;do Ae=ce.prev[--xe],ce.prev[xe]=Ae>=Me?Ae-Me:0;while(--he)};let Oc=(ce,he,Ae)=>(he<{const he=ce.state;let Ae=he.pending;Ae>ce.avail_out&&(Ae=ce.avail_out),Ae!==0&&(ce.output.set(he.pending_buf.subarray(he.pending_out,he.pending_out+Ae),ce.next_out),ce.next_out+=Ae,he.pending_out+=Ae,ce.total_out+=Ae,ce.avail_out-=Ae,he.pending-=Ae,he.pending===0&&(he.pending_out=0))},Fu=(ce,he)=>{ku(ce,ce.block_start>=0?ce.block_start:-1,ce.strstart-ce.block_start,he),ce.block_start=ce.strstart,Uu(ce.strm)},xs=(ce,he)=>{ce.pending_buf[ce.pending++]=he},Cd=(ce,he)=>{ce.pending_buf[ce.pending++]=he>>>8&255,ce.pending_buf[ce.pending++]=he&255},gh=(ce,he,Ae,xe)=>{let Me=ce.avail_in;return Me>xe&&(Me=xe),Me===0?0:(ce.avail_in-=Me,he.set(ce.input.subarray(ce.next_in,ce.next_in+Me),Ae),ce.state.wrap===1?ce.adler=fs(ce.adler,he,Me,Ae):ce.state.wrap===2&&(ce.adler=ul(ce.adler,he,Me,Ae)),ce.next_in+=Me,ce.total_in+=Me,Me)},ph=(ce,he)=>{let Ae=ce.max_chain_length,xe=ce.strstart,Me,Ke,ct=ce.prev_length,nt=ce.nice_match;const ft=ce.strstart>ce.w_size-hc?ce.strstart-(ce.w_size-hc):0,pt=ce.window,Pt=ce.w_mask,kt=ce.prev,Kt=ce.strstart+Zu;let xt=pt[xe+ct-1],fn=pt[xe+ct];ce.prev_length>=ce.good_match&&(Ae>>=2),nt>ce.lookahead&&(nt=ce.lookahead);do if(Me=he,!(pt[Me+ct]!==fn||pt[Me+ct-1]!==xt||pt[Me]!==pt[xe]||pt[++Me]!==pt[xe+1])){xe+=2,Me++;do;while(pt[++xe]===pt[++Me]&&pt[++xe]===pt[++Me]&&pt[++xe]===pt[++Me]&&pt[++xe]===pt[++Me]&&pt[++xe]===pt[++Me]&&pt[++xe]===pt[++Me]&&pt[++xe]===pt[++Me]&&pt[++xe]===pt[++Me]&&xect){if(ce.match_start=he,ct=Ke,Ke>=nt)break;xt=pt[xe+ct-1],fn=pt[xe+ct]}}while((he=kt[he&Pt])>ft&&--Ae!==0);return ct<=ce.lookahead?ct:ce.lookahead},Ed=ce=>{const he=ce.w_size;let Ae,xe,Me;do{if(xe=ce.window_size-ce.lookahead-ce.strstart,ce.strstart>=he+(he-hc)&&(ce.window.set(ce.window.subarray(he,he+he-xe),0),ce.match_start-=he,ce.strstart-=he,ce.block_start-=he,ce.insert>ce.strstart&&(ce.insert=ce.strstart),LA(ce),xe+=he),ce.strm.avail_in===0)break;if(Ae=gh(ce.strm,ce.window,ce.strstart+ce.lookahead,xe),ce.lookahead+=Ae,ce.lookahead+ce.insert>=Es)for(Me=ce.strstart-ce.insert,ce.ins_h=ce.window[Me],ce.ins_h=Oc(ce,ce.ins_h,ce.window[Me+1]);ce.insert&&(ce.ins_h=Oc(ce,ce.ins_h,ce.window[Me+Es-1]),ce.prev[Me&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=Me,Me++,ce.insert--,!(ce.lookahead+ce.insert{let Ae=ce.pending_buf_size-5>ce.w_size?ce.w_size:ce.pending_buf_size-5,xe,Me,Ke,ct=0,nt=ce.strm.avail_in;do{if(xe=65535,Ke=ce.bi_valid+42>>3,ce.strm.avail_outMe+ce.strm.avail_in&&(xe=Me+ce.strm.avail_in),xe>Ke&&(xe=Ke),xe>8,ce.pending_buf[ce.pending-2]=~xe,ce.pending_buf[ce.pending-1]=~xe>>8,Uu(ce.strm),Me&&(Me>xe&&(Me=xe),ce.strm.output.set(ce.window.subarray(ce.block_start,ce.block_start+Me),ce.strm.next_out),ce.strm.next_out+=Me,ce.strm.avail_out-=Me,ce.strm.total_out+=Me,ce.block_start+=Me,xe-=Me),xe&&(gh(ce.strm,ce.strm.output,ce.strm.next_out,xe),ce.strm.next_out+=xe,ce.strm.avail_out-=xe,ce.strm.total_out+=xe)}while(ct===0);return nt-=ce.strm.avail_in,nt&&(nt>=ce.w_size?(ce.matches=2,ce.window.set(ce.strm.input.subarray(ce.strm.next_in-ce.w_size,ce.strm.next_in),0),ce.strstart=ce.w_size,ce.insert=ce.strstart):(ce.window_size-ce.strstart<=nt&&(ce.strstart-=ce.w_size,ce.window.set(ce.window.subarray(ce.w_size,ce.w_size+ce.strstart),0),ce.matches<2&&ce.matches++,ce.insert>ce.strstart&&(ce.insert=ce.strstart)),ce.window.set(ce.strm.input.subarray(ce.strm.next_in-nt,ce.strm.next_in),ce.strstart),ce.strstart+=nt,ce.insert+=nt>ce.w_size-ce.insert?ce.w_size-ce.insert:nt),ce.block_start=ce.strstart),ce.high_waterKe&&ce.block_start>=ce.w_size&&(ce.block_start-=ce.w_size,ce.strstart-=ce.w_size,ce.window.set(ce.window.subarray(ce.w_size,ce.w_size+ce.strstart),0),ce.matches<2&&ce.matches++,Ke+=ce.w_size,ce.insert>ce.strstart&&(ce.insert=ce.strstart)),Ke>ce.strm.avail_in&&(Ke=ce.strm.avail_in),Ke&&(gh(ce.strm,ce.window,ce.strstart,Ke),ce.strstart+=Ke,ce.insert+=Ke>ce.w_size-ce.insert?ce.w_size-ce.insert:Ke),ce.high_water>3,Ke=ce.pending_buf_size-Ke>65535?65535:ce.pending_buf_size-Ke,Ae=Ke>ce.w_size?ce.w_size:Ke,Me=ce.strstart-ce.block_start,(Me>=Ae||(Me||he===yl)&&he!==Ds&&ce.strm.avail_in===0&&Me<=Ke)&&(xe=Me>Ke?Ke:Me,ct=he===yl&&ce.strm.avail_in===0&&xe===Me?1:0,Al(ce,ce.block_start,xe,ct),ce.block_start+=xe,Uu(ce.strm)),ct?qc:Bl)},hf=(ce,he)=>{let Ae,xe;for(;;){if(ce.lookahead=Es&&(ce.ins_h=Oc(ce,ce.ins_h,ce.window[ce.strstart+Es-1]),Ae=ce.prev[ce.strstart&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ce.strstart),Ae!==0&&ce.strstart-Ae<=ce.w_size-hc&&(ce.match_length=ph(ce,Ae)),ce.match_length>=Es)if(xe=ro(ce,ce.strstart-ce.match_start,ce.match_length-Es),ce.lookahead-=ce.match_length,ce.match_length<=ce.max_lazy_match&&ce.lookahead>=Es){ce.match_length--;do ce.strstart++,ce.ins_h=Oc(ce,ce.ins_h,ce.window[ce.strstart+Es-1]),Ae=ce.prev[ce.strstart&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ce.strstart;while(--ce.match_length!==0);ce.strstart++}else ce.strstart+=ce.match_length,ce.match_length=0,ce.ins_h=ce.window[ce.strstart],ce.ins_h=Oc(ce,ce.ins_h,ce.window[ce.strstart+1]);else xe=ro(ce,0,ce.window[ce.strstart]),ce.lookahead--,ce.strstart++;if(xe&&(Fu(ce,!1),ce.strm.avail_out===0))return Bl}return ce.insert=ce.strstart{let Ae,xe,Me;for(;;){if(ce.lookahead=Es&&(ce.ins_h=Oc(ce,ce.ins_h,ce.window[ce.strstart+Es-1]),Ae=ce.prev[ce.strstart&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ce.strstart),ce.prev_length=ce.match_length,ce.prev_match=ce.match_start,ce.match_length=Es-1,Ae!==0&&ce.prev_length4096)&&(ce.match_length=Es-1)),ce.prev_length>=Es&&ce.match_length<=ce.prev_length){Me=ce.strstart+ce.lookahead-Es,xe=ro(ce,ce.strstart-1-ce.prev_match,ce.prev_length-Es),ce.lookahead-=ce.prev_length-1,ce.prev_length-=2;do++ce.strstart<=Me&&(ce.ins_h=Oc(ce,ce.ins_h,ce.window[ce.strstart+Es-1]),Ae=ce.prev[ce.strstart&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ce.strstart);while(--ce.prev_length!==0);if(ce.match_available=0,ce.match_length=Es-1,ce.strstart++,xe&&(Fu(ce,!1),ce.strm.avail_out===0))return Bl}else if(ce.match_available){if(xe=ro(ce,0,ce.window[ce.strstart-1]),xe&&Fu(ce,!1),ce.strstart++,ce.lookahead--,ce.strm.avail_out===0)return Bl}else ce.match_available=1,ce.strstart++,ce.lookahead--}return ce.match_available&&(xe=ro(ce,0,ce.window[ce.strstart-1]),ce.match_available=0),ce.insert=ce.strstart{let Ae,xe,Me,Ke;const ct=ce.window;for(;;){if(ce.lookahead<=Zu){if(Ed(ce),ce.lookahead<=Zu&&he===Ds)return Bl;if(ce.lookahead===0)break}if(ce.match_length=0,ce.lookahead>=Es&&ce.strstart>0&&(Me=ce.strstart-1,xe=ct[Me],xe===ct[++Me]&&xe===ct[++Me]&&xe===ct[++Me])){Ke=ce.strstart+Zu;do;while(xe===ct[++Me]&&xe===ct[++Me]&&xe===ct[++Me]&&xe===ct[++Me]&&xe===ct[++Me]&&xe===ct[++Me]&&xe===ct[++Me]&&xe===ct[++Me]&&Mece.lookahead&&(ce.match_length=ce.lookahead)}if(ce.match_length>=Es?(Ae=ro(ce,1,ce.match_length-Es),ce.lookahead-=ce.match_length,ce.strstart+=ce.match_length,ce.match_length=0):(Ae=ro(ce,0,ce.window[ce.strstart]),ce.lookahead--,ce.strstart++),Ae&&(Fu(ce,!1),ce.strm.avail_out===0))return Bl}return ce.insert=0,he===yl?(Fu(ce,!0),ce.strm.avail_out===0?qc:Ic):ce.sym_next&&(Fu(ce,!1),ce.strm.avail_out===0)?Bl:Xd},ng=(ce,he)=>{let Ae;for(;;){if(ce.lookahead===0&&(Ed(ce),ce.lookahead===0)){if(he===Ds)return Bl;break}if(ce.match_length=0,Ae=ro(ce,0,ce.window[ce.strstart]),ce.lookahead--,ce.strstart++,Ae&&(Fu(ce,!1),ce.strm.avail_out===0))return Bl}return ce.insert=0,he===yl?(Fu(ce,!0),ce.strm.avail_out===0?qc:Ic):ce.sym_next&&(Fu(ce,!1),ce.strm.avail_out===0)?Bl:Xd};function Nl(ce,he,Ae,xe,Me){this.good_length=ce,this.max_lazy=he,this.nice_length=Ae,this.max_chain=xe,this.func=Me}const Jd=[new Nl(0,0,0,0,Yd),new Nl(4,4,8,4,hf),new Nl(4,5,16,8,hf),new Nl(4,6,32,32,hf),new Nl(4,4,16,16,Bd),new Nl(8,16,32,32,Bd),new Nl(8,16,128,128,Bd),new Nl(8,32,128,256,Bd),new Nl(32,128,258,1024,Bd),new Nl(32,258,258,4096,Bd)],rg=ce=>{ce.window_size=2*ce.w_size,$c(ce.head),ce.max_lazy_match=Jd[ce.level].max_lazy,ce.good_match=Jd[ce.level].good_length,ce.nice_match=Jd[ce.level].nice_length,ce.max_chain_length=Jd[ce.level].max_chain,ce.strstart=0,ce.block_start=0,ce.lookahead=0,ce.insert=0,ce.match_length=ce.prev_length=Es-1,ce.match_available=0,ce.ins_h=0};function _t(){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=PA,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(qh*2),this.dyn_dtree=new Uint16Array((2*lh+1)*2),this.bl_tree=new Uint16Array((2*uh+1)*2),$c(this.dyn_ltree),$c(this.dyn_dtree),$c(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(ch+1),this.heap=new Uint16Array(2*Yc+1),$c(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Yc+1),$c(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 Ot=ce=>{if(!ce)return 1;const he=ce.state;return!he||he.strm!==ce||he.status!==Lc&&he.status!==dh&&he.status!==FA&&he.status!==Ah&&he.status!==ff&&he.status!==fh&&he.status!==Jc&&he.status!==_A?1:0},Wt=ce=>{if(Ot(ce))return Sd(ce,fl);ce.total_in=ce.total_out=0,ce.data_type=Af;const he=ce.state;return he.pending=0,he.pending_out=0,he.wrap<0&&(he.wrap=-he.wrap),he.status=he.wrap===2?dh:he.wrap?Lc:Jc,ce.adler=he.wrap===2?0:1,he.last_flush=-2,xA(he),rs},tn=ce=>{const he=Wt(ce);return he===rs&&rg(ce.state),he},vn=(ce,he)=>Ot(ce)||ce.state.wrap!==2?fl:(ce.state.gzhead=he,rs),yn=(ce,he,Ae,xe,Me,Ke)=>{if(!ce)return fl;let ct=1;if(he===Wd&&(he=6),xe<0?(ct=0,xe=-xe):xe>15&&(ct=2,xe-=16),Me<1||Me>Zd||Ae!==PA||xe<8||xe>15||he<0||he>9||Ke<0||Ke>Ru||xe===8&&ct!==1)return Sd(ce,fl);xe===8&&(xe=9);const nt=new _t;return ce.state=nt,nt.strm=ce,nt.status=Lc,nt.wrap=ct,nt.gzhead=null,nt.w_bits=xe,nt.w_size=1<yn(ce,he,PA,Yh,sh,df),Gn=(ce,he)=>{if(Ot(ce)||he>eu||he<0)return ce?Sd(ce,fl):fl;const Ae=ce.state;if(!ce.output||ce.avail_in!==0&&!ce.input||Ae.status===_A&&he!==yl)return Sd(ce,ce.avail_out===0?_c:fl);const xe=Ae.last_flush;if(Ae.last_flush=he,Ae.pending!==0){if(Uu(ce),ce.avail_out===0)return Ae.last_flush=-1,rs}else if(ce.avail_in===0&&hh(he)<=hh(xe)&&he!==yl)return Sd(ce,_c);if(Ae.status===_A&&ce.avail_in!==0)return Sd(ce,_c);if(Ae.status===Lc&&Ae.wrap===0&&(Ae.status=Jc),Ae.status===Lc){let Me=PA+(Ae.w_bits-8<<4)<<8,Ke=-1;if(Ae.strategy>=wd||Ae.level<2?Ke=0:Ae.level<6?Ke=1:Ae.level===6?Ke=2:Ke=3,Me|=Ke<<6,Ae.strstart!==0&&(Me|=$h),Me+=31-Me%31,Cd(Ae,Me),Ae.strstart!==0&&(Cd(Ae,ce.adler>>>16),Cd(Ae,ce.adler&65535)),ce.adler=1,Ae.status=Jc,Uu(ce),Ae.pending!==0)return Ae.last_flush=-1,rs}if(Ae.status===dh){if(ce.adler=0,xs(Ae,31),xs(Ae,139),xs(Ae,8),Ae.gzhead)xs(Ae,(Ae.gzhead.text?1:0)+(Ae.gzhead.hcrc?2:0)+(Ae.gzhead.extra?4:0)+(Ae.gzhead.name?8:0)+(Ae.gzhead.comment?16:0)),xs(Ae,Ae.gzhead.time&255),xs(Ae,Ae.gzhead.time>>8&255),xs(Ae,Ae.gzhead.time>>16&255),xs(Ae,Ae.gzhead.time>>24&255),xs(Ae,Ae.level===9?2:Ae.strategy>=wd||Ae.level<2?4:0),xs(Ae,Ae.gzhead.os&255),Ae.gzhead.extra&&Ae.gzhead.extra.length&&(xs(Ae,Ae.gzhead.extra.length&255),xs(Ae,Ae.gzhead.extra.length>>8&255)),Ae.gzhead.hcrc&&(ce.adler=ul(ce.adler,Ae.pending_buf,Ae.pending,0)),Ae.gzindex=0,Ae.status=FA;else if(xs(Ae,0),xs(Ae,0),xs(Ae,0),xs(Ae,0),xs(Ae,0),xs(Ae,Ae.level===9?2:Ae.strategy>=wd||Ae.level<2?4:0),xs(Ae,eg),Ae.status=Jc,Uu(ce),Ae.pending!==0)return Ae.last_flush=-1,rs}if(Ae.status===FA){if(Ae.gzhead.extra){let Me=Ae.pending,Ke=(Ae.gzhead.extra.length&65535)-Ae.gzindex;for(;Ae.pending+Ke>Ae.pending_buf_size;){let nt=Ae.pending_buf_size-Ae.pending;if(Ae.pending_buf.set(Ae.gzhead.extra.subarray(Ae.gzindex,Ae.gzindex+nt),Ae.pending),Ae.pending=Ae.pending_buf_size,Ae.gzhead.hcrc&&Ae.pending>Me&&(ce.adler=ul(ce.adler,Ae.pending_buf,Ae.pending-Me,Me)),Ae.gzindex+=nt,Uu(ce),Ae.pending!==0)return Ae.last_flush=-1,rs;Me=0,Ke-=nt}let ct=new Uint8Array(Ae.gzhead.extra);Ae.pending_buf.set(ct.subarray(Ae.gzindex,Ae.gzindex+Ke),Ae.pending),Ae.pending+=Ke,Ae.gzhead.hcrc&&Ae.pending>Me&&(ce.adler=ul(ce.adler,Ae.pending_buf,Ae.pending-Me,Me)),Ae.gzindex=0}Ae.status=Ah}if(Ae.status===Ah){if(Ae.gzhead.name){let Me=Ae.pending,Ke;do{if(Ae.pending===Ae.pending_buf_size){if(Ae.gzhead.hcrc&&Ae.pending>Me&&(ce.adler=ul(ce.adler,Ae.pending_buf,Ae.pending-Me,Me)),Uu(ce),Ae.pending!==0)return Ae.last_flush=-1,rs;Me=0}Ae.gzindexMe&&(ce.adler=ul(ce.adler,Ae.pending_buf,Ae.pending-Me,Me)),Ae.gzindex=0}Ae.status=ff}if(Ae.status===ff){if(Ae.gzhead.comment){let Me=Ae.pending,Ke;do{if(Ae.pending===Ae.pending_buf_size){if(Ae.gzhead.hcrc&&Ae.pending>Me&&(ce.adler=ul(ce.adler,Ae.pending_buf,Ae.pending-Me,Me)),Uu(ce),Ae.pending!==0)return Ae.last_flush=-1,rs;Me=0}Ae.gzindexMe&&(ce.adler=ul(ce.adler,Ae.pending_buf,Ae.pending-Me,Me))}Ae.status=fh}if(Ae.status===fh){if(Ae.gzhead.hcrc){if(Ae.pending+2>Ae.pending_buf_size&&(Uu(ce),Ae.pending!==0))return Ae.last_flush=-1,rs;xs(Ae,ce.adler&255),xs(Ae,ce.adler>>8&255),ce.adler=0}if(Ae.status=Jc,Uu(ce),Ae.pending!==0)return Ae.last_flush=-1,rs}if(ce.avail_in!==0||Ae.lookahead!==0||he!==Ds&&Ae.status!==_A){let Me=Ae.level===0?Yd(Ae,he):Ae.strategy===wd?ng(Ae,he):Ae.strategy===ih?tg(Ae,he):Jd[Ae.level].func(Ae,he);if((Me===qc||Me===Ic)&&(Ae.status=_A),Me===Bl||Me===qc)return ce.avail_out===0&&(Ae.last_flush=-1),rs;if(Me===Xd&&(he===Wl?Vo(Ae):he!==eu&&(Al(Ae,0,0,!1),he===Fc&&($c(Ae.head),Ae.lookahead===0&&(Ae.strstart=0,Ae.block_start=0,Ae.insert=0))),Uu(ce),ce.avail_out===0))return Ae.last_flush=-1,rs}return he!==yl?rs:Ae.wrap<=0?bu:(Ae.wrap===2?(xs(Ae,ce.adler&255),xs(Ae,ce.adler>>8&255),xs(Ae,ce.adler>>16&255),xs(Ae,ce.adler>>24&255),xs(Ae,ce.total_in&255),xs(Ae,ce.total_in>>8&255),xs(Ae,ce.total_in>>16&255),xs(Ae,ce.total_in>>24&255)):(Cd(Ae,ce.adler>>>16),Cd(Ae,ce.adler&65535)),Uu(ce),Ae.wrap>0&&(Ae.wrap=-Ae.wrap),Ae.pending!==0?rs:bu)},kn=ce=>{if(Ot(ce))return fl;const he=ce.state.status;return ce.state=null,he===Jc?Sd(ce,fc):rs},lr=(ce,he)=>{let Ae=he.length;if(Ot(ce))return fl;const xe=ce.state,Me=xe.wrap;if(Me===2||Me===1&&xe.status!==Lc||xe.lookahead)return fl;if(Me===1&&(ce.adler=fs(ce.adler,he,Ae,0)),xe.wrap=0,Ae>=xe.w_size){Me===0&&($c(xe.head),xe.strstart=0,xe.block_start=0,xe.insert=0);let ft=new Uint8Array(xe.w_size);ft.set(he.subarray(Ae-xe.w_size,Ae),0),he=ft,Ae=xe.w_size}const Ke=ce.avail_in,ct=ce.next_in,nt=ce.input;for(ce.avail_in=Ae,ce.next_in=0,ce.input=he,Ed(xe);xe.lookahead>=Es;){let ft=xe.strstart,pt=xe.lookahead-(Es-1);do xe.ins_h=Oc(xe,xe.ins_h,xe.window[ft+Es-1]),xe.prev[ft&xe.w_mask]=xe.head[xe.ins_h],xe.head[xe.ins_h]=ft,ft++;while(--pt);xe.strstart=ft,xe.lookahead=Es-1,Ed(xe)}return xe.strstart+=xe.lookahead,xe.block_start=xe.strstart,xe.insert=xe.lookahead,xe.lookahead=0,xe.match_length=xe.prev_length=Es-1,xe.match_available=0,ce.next_in=ct,ce.input=nt,ce.avail_in=Ke,xe.wrap=Me,rs};var Sr=zn,Ar=yn,ea=tn,Gr=Wt,Yr=vn,ja=Gn,ba=kn,_a=lr,wa="pako deflate (from Nodeca project)",Qa={deflateInit:Sr,deflateInit2:Ar,deflateReset:ea,deflateResetKeep:Gr,deflateSetHeader:Yr,deflate:ja,deflateEnd:ba,deflateSetDictionary:_a,deflateInfo:wa};const _o=(ce,he)=>Object.prototype.hasOwnProperty.call(ce,he);var jo=function(ce){const he=Array.prototype.slice.call(arguments,1);for(;he.length;){const Ae=he.shift();if(Ae){if(typeof Ae!="object")throw new TypeError(Ae+"must be non-object");for(const xe in Ae)_o(Ae,xe)&&(ce[xe]=Ae[xe])}}return ce},po=ce=>{let he=0;for(let xe=0,Me=ce.length;xe=252?6:ce>=248?5:ce>=240?4:ce>=224?3:ce>=192?2:1;Za[254]=Za[254]=1;var vo=ce=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(ce);let he,Ae,xe,Me,Ke,ct=ce.length,nt=0;for(Me=0;Me>>6,he[Ke++]=128|Ae&63):Ae<65536?(he[Ke++]=224|Ae>>>12,he[Ke++]=128|Ae>>>6&63,he[Ke++]=128|Ae&63):(he[Ke++]=240|Ae>>>18,he[Ke++]=128|Ae>>>12&63,he[Ke++]=128|Ae>>>6&63,he[Ke++]=128|Ae&63);return he};const qa=(ce,he)=>{if(he<65534&&ce.subarray&&fi)return String.fromCharCode.apply(null,ce.length===he?ce:ce.subarray(0,he));let Ae="";for(let xe=0;xe{const Ae=he||ce.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(ce.subarray(0,he));let xe,Me;const Ke=new Array(Ae*2);for(Me=0,xe=0;xe4){Ke[Me++]=65533,xe+=nt-1;continue}for(ct&=nt===2?31:nt===3?15:7;nt>1&&xe1){Ke[Me++]=65533;continue}ct<65536?Ke[Me++]=ct:(ct-=65536,Ke[Me++]=55296|ct>>10&1023,Ke[Me++]=56320|ct&1023)}return qa(Ke,Me)},so=(ce,he)=>{he=he||ce.length,he>ce.length&&(he=ce.length);let Ae=he-1;for(;Ae>=0&&(ce[Ae]&192)===128;)Ae--;return Ae<0||Ae===0?he:Ae+Za[ce[Ae]]>he?Ae:he},Ho={string2buf:vo,buf2string:Ua,utf8border:so};function _i(){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 di=_i;const ko=Object.prototype.toString,{Z_NO_FLUSH:Si,Z_SYNC_FLUSH:Gi,Z_FULL_FLUSH:Fs,Z_FINISH:ns,Z_OK:Qs,Z_STREAM_END:el,Z_DEFAULT_COMPRESSION:pi,Z_DEFAULT_STRATEGY:hl,Z_DEFLATED:ls}=sc;function _s(ce){this.options=Jo.assign({level:pi,method:ls,chunkSize:16384,windowBits:15,memLevel:8,strategy:hl},ce||{});let he=this.options;he.raw&&he.windowBits>0?he.windowBits=-he.windowBits:he.gzip&&he.windowBits>0&&he.windowBits<16&&(he.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new di,this.strm.avail_out=0;let Ae=Qa.deflateInit2(this.strm,he.level,he.method,he.windowBits,he.memLevel,he.strategy);if(Ae!==Qs)throw new Error(yu[Ae]);if(he.header&&Qa.deflateSetHeader(this.strm,he.header),he.dictionary){let xe;if(typeof he.dictionary=="string"?xe=Ho.string2buf(he.dictionary):ko.call(he.dictionary)==="[object ArrayBuffer]"?xe=new Uint8Array(he.dictionary):xe=he.dictionary,Ae=Qa.deflateSetDictionary(this.strm,xe),Ae!==Qs)throw new Error(yu[Ae]);this._dict_set=!0}}_s.prototype.push=function(ce,he){const Ae=this.strm,xe=this.options.chunkSize;let Me,Ke;if(this.ended)return!1;for(he===~~he?Ke=he:Ke=he===!0?ns:Si,typeof ce=="string"?Ae.input=Ho.string2buf(ce):ko.call(ce)==="[object ArrayBuffer]"?Ae.input=new Uint8Array(ce):Ae.input=ce,Ae.next_in=0,Ae.avail_in=Ae.input.length;;){if(Ae.avail_out===0&&(Ae.output=new Uint8Array(xe),Ae.next_out=0,Ae.avail_out=xe),(Ke===Gi||Ke===Fs)&&Ae.avail_out<=6){this.onData(Ae.output.subarray(0,Ae.next_out)),Ae.avail_out=0;continue}if(Me=Qa.deflate(Ae,Ke),Me===el)return Ae.next_out>0&&this.onData(Ae.output.subarray(0,Ae.next_out)),Me=Qa.deflateEnd(this.strm),this.onEnd(Me),this.ended=!0,Me===Qs;if(Ae.avail_out===0){this.onData(Ae.output);continue}if(Ke>0&&Ae.next_out>0){this.onData(Ae.output.subarray(0,Ae.next_out)),Ae.avail_out=0;continue}if(Ae.avail_in===0)break}return!0},_s.prototype.onData=function(ce){this.chunks.push(ce)},_s.prototype.onEnd=function(ce){ce===Qs&&(this.result=Jo.flattenChunks(this.chunks)),this.chunks=[],this.err=ce,this.msg=this.strm.msg};function Ts(ce,he){const Ae=new _s(he);if(Ae.push(ce,!0),Ae.err)throw Ae.msg||yu[Ae.err];return Ae.result}function lu(ce,he){return he=he||{},he.raw=!0,Ts(ce,he)}function ao(ce,he){return he=he||{},he.gzip=!0,Ts(ce,he)}var Go=_s,Qo=Ts,Eo=lu,us=ao,Bo=sc,si={Deflate:Go,deflate:Qo,deflateRaw:Eo,gzip:us,constants:Bo};const Zi=16209,Vi=16191;var Zl=function(he,Ae){let xe,Me,Ke,ct,nt,ft,pt,Pt,kt,Kt,xt,fn,ln,hn,Yt,Wn,Mn,Ln,Or,ia,zr,$n,On,vr;const Xt=he.state;xe=he.next_in,On=he.input,Me=xe+(he.avail_in-5),Ke=he.next_out,vr=he.output,ct=Ke-(Ae-he.avail_out),nt=Ke+(he.avail_out-257),ft=Xt.dmax,pt=Xt.wsize,Pt=Xt.whave,kt=Xt.wnext,Kt=Xt.window,xt=Xt.hold,fn=Xt.bits,ln=Xt.lencode,hn=Xt.distcode,Yt=(1<>>24,xt>>>=Ln,fn-=Ln,Ln=Mn>>>16&255,Ln===0)vr[Ke++]=Mn&65535;else if(Ln&16){Or=Mn&65535,Ln&=15,Ln&&(fn>>=Ln,fn-=Ln),fn<15&&(xt+=On[xe++]<>>24,xt>>>=Ln,fn-=Ln,Ln=Mn>>>16&255,Ln&16){if(ia=Mn&65535,Ln&=15,fnft){he.msg="invalid distance too far back",Xt.mode=Zi;break e}if(xt>>>=Ln,fn-=Ln,Ln=Ke-ct,ia>Ln){if(Ln=ia-Ln,Ln>Pt&&Xt.sane){he.msg="invalid distance too far back",Xt.mode=Zi;break e}if(zr=0,$n=Kt,kt===0){if(zr+=pt-Ln,Ln2;)vr[Ke++]=$n[zr++],vr[Ke++]=$n[zr++],vr[Ke++]=$n[zr++],Or-=3;Or&&(vr[Ke++]=$n[zr++],Or>1&&(vr[Ke++]=$n[zr++]))}else{zr=Ke-ia;do vr[Ke++]=vr[zr++],vr[Ke++]=vr[zr++],vr[Ke++]=vr[zr++],Or-=3;while(Or>2);Or&&(vr[Ke++]=vr[zr++],Or>1&&(vr[Ke++]=vr[zr++]))}}else if(Ln&64){he.msg="invalid distance code",Xt.mode=Zi;break e}else{Mn=hn[(Mn&65535)+(xt&(1<>3,xe-=Or,fn-=Or<<3,xt&=(1<{const ft=nt.bits;let pt=0,Pt=0,kt=0,Kt=0,xt=0,fn=0,ln=0,hn=0,Yt=0,Wn=0,Mn,Ln,Or,ia,zr,$n=null,On;const vr=new Uint16Array(cl+1),Xt=new Uint16Array(cl+1);let gn=null,Kn,Rn,jr;for(pt=0;pt<=cl;pt++)vr[pt]=0;for(Pt=0;Pt=1&&vr[Kt]===0;Kt--);if(xt>Kt&&(xt=Kt),Kt===0)return Me[Ke++]=1<<24|64<<16|0,Me[Ke++]=1<<24|64<<16|0,nt.bits=1,0;for(kt=1;kt0&&(ce===wu||Kt!==1))return-1;for(Xt[1]=0,pt=1;ptHu||ce===tu&&Yt>dl)return 1;for(;;){Kn=pt-ln,ct[Pt]+1=On?(Rn=gn[ct[Pt]-On],jr=$n[ct[Pt]-On]):(Rn=96,jr=0),Mn=1<>ln)+Ln]=Kn<<24|Rn<<16|jr|0;while(Ln!==0);for(Mn=1<>=1;if(Mn!==0?(Wn&=Mn-1,Wn+=Mn):Wn=0,Pt++,--vr[pt]===0){if(pt===Kt)break;pt=he[Ae+ct[Pt]]}if(pt>xt&&(Wn&ia)!==Or){for(ln===0&&(ln=xt),zr+=kt,fn=pt-ln,hn=1<Hu||ce===tu&&Yt>dl)return 1;Or=Wn&ia,Me[Or]=xt<<24|fn<<16|zr-Ke|0}}return Wn!==0&&(Me[zr+Wn]=pt-ln<<24|64<<16|0),nt.bits=xt,0};const Li=0,Vl=1,kl=2,{Z_FINISH:uu,Z_BLOCK:nu,Z_TREES:ru,Z_OK:_u,Z_STREAM_END:gc,Z_NEED_DICT:Lu,Z_STREAM_ERROR:tl,Z_DATA_ERROR:Ll,Z_MEM_ERROR:gl,Z_BUF_ERROR:Js,Z_DEFLATED:Vu}=sc,lc=16180,pc=16181,Xu=16182,qd=16183,IA=16184,Xi=16185,js=16186,Il=16187,Zs=16188,Ol=16189,Rl=16190,nl=16191,Yu=16192,$d=16193,eA=16194,OA=16195,gf=16196,pf=16197,xd=16198,Ju=16199,td=16200,mf=16201,DA=16202,vf=16203,TA=16204,nd=16205,jA=16206,mh=16207,yf=16208,vs=16209,MA=16210,vh=16211,ag=852,yh=592,wf=15,NA=ce=>(ce>>>24&255)+(ce>>>8&65280)+((ce&65280)<<8)+((ce&255)<<24);function bh(){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 Dc=ce=>{if(!ce)return 1;const he=ce.state;return!he||he.strm!==ce||he.modevh?1:0},Sf=ce=>{if(Dc(ce))return tl;const he=ce.state;return ce.total_in=ce.total_out=he.total=0,ce.msg="",he.wrap&&(ce.adler=he.wrap&1),he.mode=lc,he.last=0,he.havedict=0,he.flags=-1,he.dmax=32768,he.head=null,he.hold=0,he.bits=0,he.lencode=he.lendyn=new Int32Array(ag),he.distcode=he.distdyn=new Int32Array(yh),he.sane=1,he.back=-1,_u},kA=ce=>{if(Dc(ce))return tl;const he=ce.state;return he.wsize=0,he.whave=0,he.wnext=0,Sf(ce)},wh=(ce,he)=>{let Ae;if(Dc(ce))return tl;const xe=ce.state;return he<0?(Ae=0,he=-he):(Ae=(he>>4)+5,he<48&&(he&=15)),he&&(he<8||he>15)?tl:(xe.window!==null&&xe.wbits!==he&&(xe.window=null),xe.wrap=Ae,xe.wbits=he,kA(ce))},tA=(ce,he)=>{if(!ce)return tl;const Ae=new bh;ce.state=Ae,Ae.strm=ce,Ae.window=null,Ae.mode=lc;const xe=wh(ce,he);return xe!==_u&&(ce.state=null),xe},RA=ce=>tA(ce,wf);let Dl=!0,mc,UA;const og=ce=>{if(Dl){mc=new Int32Array(512),UA=new Int32Array(32);let he=0;for(;he<144;)ce.lens[he++]=8;for(;he<256;)ce.lens[he++]=9;for(;he<280;)ce.lens[he++]=7;for(;he<288;)ce.lens[he++]=8;for(Rs(Vl,ce.lens,0,288,mc,0,ce.work,{bits:9}),he=0;he<32;)ce.lens[he++]=5;Rs(kl,ce.lens,0,32,UA,0,ce.work,{bits:5}),Dl=!1}ce.lencode=mc,ce.lenbits=9,ce.distcode=UA,ce.distbits=5},hs=(ce,he,Ae,xe)=>{let Me;const Ke=ce.state;return Ke.window===null&&(Ke.wsize=1<=Ke.wsize?(Ke.window.set(he.subarray(Ae-Ke.wsize,Ae),0),Ke.wnext=0,Ke.whave=Ke.wsize):(Me=Ke.wsize-Ke.wnext,Me>xe&&(Me=xe),Ke.window.set(he.subarray(Ae-xe,Ae-xe+Me),Ke.wnext),xe-=Me,xe?(Ke.window.set(he.subarray(Ae-xe,Ae),0),Ke.wnext=xe,Ke.whave=Ke.wsize):(Ke.wnext+=Me,Ke.wnext===Ke.wsize&&(Ke.wnext=0),Ke.whave{let Ae,xe,Me,Ke,ct,nt,ft,pt,Pt,kt,Kt,xt,fn,ln,hn=0,Yt,Wn,Mn,Ln,Or,ia,zr,$n;const On=new Uint8Array(4);let vr,Xt;const gn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Dc(ce)||!ce.output||!ce.input&&ce.avail_in!==0)return tl;Ae=ce.state,Ae.mode===nl&&(Ae.mode=Yu),ct=ce.next_out,Me=ce.output,ft=ce.avail_out,Ke=ce.next_in,xe=ce.input,nt=ce.avail_in,pt=Ae.hold,Pt=Ae.bits,kt=nt,Kt=ft,$n=_u;e:for(;;)switch(Ae.mode){case lc:if(Ae.wrap===0){Ae.mode=Yu;break}for(;Pt<16;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>8&255,Ae.check=ul(Ae.check,On,2,0),pt=0,Pt=0,Ae.mode=pc;break}if(Ae.head&&(Ae.head.done=!1),!(Ae.wrap&1)||(((pt&255)<<8)+(pt>>8))%31){ce.msg="incorrect header check",Ae.mode=vs;break}if((pt&15)!==Vu){ce.msg="unknown compression method",Ae.mode=vs;break}if(pt>>>=4,Pt-=4,zr=(pt&15)+8,Ae.wbits===0&&(Ae.wbits=zr),zr>15||zr>Ae.wbits){ce.msg="invalid window size",Ae.mode=vs;break}Ae.dmax=1<>8&1),Ae.flags&512&&Ae.wrap&4&&(On[0]=pt&255,On[1]=pt>>>8&255,Ae.check=ul(Ae.check,On,2,0)),pt=0,Pt=0,Ae.mode=Xu;case Xu:for(;Pt<32;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>8&255,On[2]=pt>>>16&255,On[3]=pt>>>24&255,Ae.check=ul(Ae.check,On,4,0)),pt=0,Pt=0,Ae.mode=qd;case qd:for(;Pt<16;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>8),Ae.flags&512&&Ae.wrap&4&&(On[0]=pt&255,On[1]=pt>>>8&255,Ae.check=ul(Ae.check,On,2,0)),pt=0,Pt=0,Ae.mode=IA;case IA:if(Ae.flags&1024){for(;Pt<16;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>8&255,Ae.check=ul(Ae.check,On,2,0)),pt=0,Pt=0}else Ae.head&&(Ae.head.extra=null);Ae.mode=Xi;case Xi:if(Ae.flags&1024&&(xt=Ae.length,xt>nt&&(xt=nt),xt&&(Ae.head&&(zr=Ae.head.extra_len-Ae.length,Ae.head.extra||(Ae.head.extra=new Uint8Array(Ae.head.extra_len)),Ae.head.extra.set(xe.subarray(Ke,Ke+xt),zr)),Ae.flags&512&&Ae.wrap&4&&(Ae.check=ul(Ae.check,xe,xt,Ke)),nt-=xt,Ke+=xt,Ae.length-=xt),Ae.length))break e;Ae.length=0,Ae.mode=js;case js:if(Ae.flags&2048){if(nt===0)break e;xt=0;do zr=xe[Ke+xt++],Ae.head&&zr&&Ae.length<65536&&(Ae.head.name+=String.fromCharCode(zr));while(zr&&xt>9&1,Ae.head.done=!0),ce.adler=Ae.check=0,Ae.mode=nl;break;case Ol:for(;Pt<32;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>=Pt&7,Pt-=Pt&7,Ae.mode=jA;break}for(;Pt<3;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>=1,Pt-=1,pt&3){case 0:Ae.mode=$d;break;case 1:if(og(Ae),Ae.mode=Ju,he===ru){pt>>>=2,Pt-=2;break e}break;case 2:Ae.mode=gf;break;case 3:ce.msg="invalid block type",Ae.mode=vs}pt>>>=2,Pt-=2;break;case $d:for(pt>>>=Pt&7,Pt-=Pt&7;Pt<32;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>16^65535)){ce.msg="invalid stored block lengths",Ae.mode=vs;break}if(Ae.length=pt&65535,pt=0,Pt=0,Ae.mode=eA,he===ru)break e;case eA:Ae.mode=OA;case OA:if(xt=Ae.length,xt){if(xt>nt&&(xt=nt),xt>ft&&(xt=ft),xt===0)break e;Me.set(xe.subarray(Ke,Ke+xt),ct),nt-=xt,Ke+=xt,ft-=xt,ct+=xt,Ae.length-=xt;break}Ae.mode=nl;break;case gf:for(;Pt<14;){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>=5,Pt-=5,Ae.ndist=(pt&31)+1,pt>>>=5,Pt-=5,Ae.ncode=(pt&15)+4,pt>>>=4,Pt-=4,Ae.nlen>286||Ae.ndist>30){ce.msg="too many length or distance symbols",Ae.mode=vs;break}Ae.have=0,Ae.mode=pf;case pf:for(;Ae.have>>=3,Pt-=3}for(;Ae.have<19;)Ae.lens[gn[Ae.have++]]=0;if(Ae.lencode=Ae.lendyn,Ae.lenbits=7,vr={bits:Ae.lenbits},$n=Rs(Li,Ae.lens,0,19,Ae.lencode,0,Ae.work,vr),Ae.lenbits=vr.bits,$n){ce.msg="invalid code lengths set",Ae.mode=vs;break}Ae.have=0,Ae.mode=xd;case xd:for(;Ae.have>>24,Wn=hn>>>16&255,Mn=hn&65535,!(Yt<=Pt);){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>=Yt,Pt-=Yt,Ae.lens[Ae.have++]=Mn;else{if(Mn===16){for(Xt=Yt+2;Pt>>=Yt,Pt-=Yt,Ae.have===0){ce.msg="invalid bit length repeat",Ae.mode=vs;break}zr=Ae.lens[Ae.have-1],xt=3+(pt&3),pt>>>=2,Pt-=2}else if(Mn===17){for(Xt=Yt+3;Pt>>=Yt,Pt-=Yt,zr=0,xt=3+(pt&7),pt>>>=3,Pt-=3}else{for(Xt=Yt+7;Pt>>=Yt,Pt-=Yt,zr=0,xt=11+(pt&127),pt>>>=7,Pt-=7}if(Ae.have+xt>Ae.nlen+Ae.ndist){ce.msg="invalid bit length repeat",Ae.mode=vs;break}for(;xt--;)Ae.lens[Ae.have++]=zr}}if(Ae.mode===vs)break;if(Ae.lens[256]===0){ce.msg="invalid code -- missing end-of-block",Ae.mode=vs;break}if(Ae.lenbits=9,vr={bits:Ae.lenbits},$n=Rs(Vl,Ae.lens,0,Ae.nlen,Ae.lencode,0,Ae.work,vr),Ae.lenbits=vr.bits,$n){ce.msg="invalid literal/lengths set",Ae.mode=vs;break}if(Ae.distbits=6,Ae.distcode=Ae.distdyn,vr={bits:Ae.distbits},$n=Rs(kl,Ae.lens,Ae.nlen,Ae.ndist,Ae.distcode,0,Ae.work,vr),Ae.distbits=vr.bits,$n){ce.msg="invalid distances set",Ae.mode=vs;break}if(Ae.mode=Ju,he===ru)break e;case Ju:Ae.mode=td;case td:if(nt>=6&&ft>=258){ce.next_out=ct,ce.avail_out=ft,ce.next_in=Ke,ce.avail_in=nt,Ae.hold=pt,Ae.bits=Pt,Zl(ce,Kt),ct=ce.next_out,Me=ce.output,ft=ce.avail_out,Ke=ce.next_in,xe=ce.input,nt=ce.avail_in,pt=Ae.hold,Pt=Ae.bits,Ae.mode===nl&&(Ae.back=-1);break}for(Ae.back=0;hn=Ae.lencode[pt&(1<>>24,Wn=hn>>>16&255,Mn=hn&65535,!(Yt<=Pt);){if(nt===0)break e;nt--,pt+=xe[Ke++]<>Ln)],Yt=hn>>>24,Wn=hn>>>16&255,Mn=hn&65535,!(Ln+Yt<=Pt);){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>=Ln,Pt-=Ln,Ae.back+=Ln}if(pt>>>=Yt,Pt-=Yt,Ae.back+=Yt,Ae.length=Mn,Wn===0){Ae.mode=nd;break}if(Wn&32){Ae.back=-1,Ae.mode=nl;break}if(Wn&64){ce.msg="invalid literal/length code",Ae.mode=vs;break}Ae.extra=Wn&15,Ae.mode=mf;case mf:if(Ae.extra){for(Xt=Ae.extra;Pt>>=Ae.extra,Pt-=Ae.extra,Ae.back+=Ae.extra}Ae.was=Ae.length,Ae.mode=DA;case DA:for(;hn=Ae.distcode[pt&(1<>>24,Wn=hn>>>16&255,Mn=hn&65535,!(Yt<=Pt);){if(nt===0)break e;nt--,pt+=xe[Ke++]<>Ln)],Yt=hn>>>24,Wn=hn>>>16&255,Mn=hn&65535,!(Ln+Yt<=Pt);){if(nt===0)break e;nt--,pt+=xe[Ke++]<>>=Ln,Pt-=Ln,Ae.back+=Ln}if(pt>>>=Yt,Pt-=Yt,Ae.back+=Yt,Wn&64){ce.msg="invalid distance code",Ae.mode=vs;break}Ae.offset=Mn,Ae.extra=Wn&15,Ae.mode=vf;case vf:if(Ae.extra){for(Xt=Ae.extra;Pt>>=Ae.extra,Pt-=Ae.extra,Ae.back+=Ae.extra}if(Ae.offset>Ae.dmax){ce.msg="invalid distance too far back",Ae.mode=vs;break}Ae.mode=TA;case TA:if(ft===0)break e;if(xt=Kt-ft,Ae.offset>xt){if(xt=Ae.offset-xt,xt>Ae.whave&&Ae.sane){ce.msg="invalid distance too far back",Ae.mode=vs;break}xt>Ae.wnext?(xt-=Ae.wnext,fn=Ae.wsize-xt):fn=Ae.wnext-xt,xt>Ae.length&&(xt=Ae.length),ln=Ae.window}else ln=Me,fn=ct-Ae.offset,xt=Ae.length;xt>ft&&(xt=ft),ft-=xt,Ae.length-=xt;do Me[ct++]=ln[fn++];while(--xt);Ae.length===0&&(Ae.mode=td);break;case nd:if(ft===0)break e;Me[ct++]=Ae.length,ft--,Ae.mode=td;break;case jA:if(Ae.wrap){for(;Pt<32;){if(nt===0)break e;nt--,pt|=xe[Ke++]<{if(Dc(ce))return tl;let he=ce.state;return he.window&&(he.window=null),ce.state=null,_u},Tc=(ce,he)=>{if(Dc(ce))return tl;const Ae=ce.state;return Ae.wrap&2?(Ae.head=he,he.done=!1,_u):tl},jc=(ce,he)=>{const Ae=he.length;let xe,Me,Ke;return Dc(ce)||(xe=ce.state,xe.wrap!==0&&xe.mode!==Rl)?tl:xe.mode===Rl&&(Me=1,Me=fs(Me,he,Ae,0),Me!==xe.check)?Ll:(Ke=hs(ce,he,Ae,Ae),Ke?(xe.mode=MA,gl):(xe.havedict=1,_u))};var Sh=kA,Cf=wh,Ef=Sf,Bf=RA,xf=tA,ep=Us,tp=Qu,np=Tc,rp=jc,ig="pako inflate (from Nodeca project)",rd={inflateReset:Sh,inflateReset2:Cf,inflateResetKeep:Ef,inflateInit:Bf,inflateInit2:xf,inflate:ep,inflateEnd:tp,inflateGetHeader:np,inflateSetDictionary:rp,inflateInfo:ig};function ym(){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 bm=ym;const ap=Object.prototype.toString,{Z_NO_FLUSH:Ch,Z_FINISH:Eh,Z_OK:Pf,Z_STREAM_END:Bh,Z_NEED_DICT:Ff,Z_STREAM_ERROR:op,Z_DATA_ERROR:sg,Z_MEM_ERROR:ip}=sc;function _f(ce){this.options=Jo.assign({chunkSize:1024*64,windowBits:15,to:""},ce||{});const he=this.options;he.raw&&he.windowBits>=0&&he.windowBits<16&&(he.windowBits=-he.windowBits,he.windowBits===0&&(he.windowBits=-15)),he.windowBits>=0&&he.windowBits<16&&!(ce&&ce.windowBits)&&(he.windowBits+=32),he.windowBits>15&&he.windowBits<48&&(he.windowBits&15||(he.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new di,this.strm.avail_out=0;let Ae=rd.inflateInit2(this.strm,he.windowBits);if(Ae!==Pf)throw new Error(yu[Ae]);if(this.header=new bm,rd.inflateGetHeader(this.strm,this.header),he.dictionary&&(typeof he.dictionary=="string"?he.dictionary=Ho.string2buf(he.dictionary):ap.call(he.dictionary)==="[object ArrayBuffer]"&&(he.dictionary=new Uint8Array(he.dictionary)),he.raw&&(Ae=rd.inflateSetDictionary(this.strm,he.dictionary),Ae!==Pf)))throw new Error(yu[Ae])}_f.prototype.push=function(ce,he){const Ae=this.strm,xe=this.options.chunkSize,Me=this.options.dictionary;let Ke,ct,nt;if(this.ended)return!1;for(he===~~he?ct=he:ct=he===!0?Eh:Ch,ap.call(ce)==="[object ArrayBuffer]"?Ae.input=new Uint8Array(ce):Ae.input=ce,Ae.next_in=0,Ae.avail_in=Ae.input.length;;){for(Ae.avail_out===0&&(Ae.output=new Uint8Array(xe),Ae.next_out=0,Ae.avail_out=xe),Ke=rd.inflate(Ae,ct),Ke===Ff&&Me&&(Ke=rd.inflateSetDictionary(Ae,Me),Ke===Pf?Ke=rd.inflate(Ae,ct):Ke===sg&&(Ke=Ff));Ae.avail_in>0&&Ke===Bh&&Ae.state.wrap>0&&ce[Ae.next_in]!==0;)rd.inflateReset(Ae),Ke=rd.inflate(Ae,ct);switch(Ke){case op:case sg:case Ff:case ip:return this.onEnd(Ke),this.ended=!0,!1}if(nt=Ae.avail_out,Ae.next_out&&(Ae.avail_out===0||Ke===Bh))if(this.options.to==="string"){let ft=Ho.utf8border(Ae.output,Ae.next_out),pt=Ae.next_out-ft,Pt=Ho.buf2string(Ae.output,ft);Ae.next_out=pt,Ae.avail_out=xe-pt,pt&&Ae.output.set(Ae.output.subarray(ft,ft+pt),0),this.onData(Pt)}else this.onData(Ae.output.length===Ae.next_out?Ae.output:Ae.output.subarray(0,Ae.next_out));if(!(Ke===Pf&&nt===0)){if(Ke===Bh)return Ke=rd.inflateEnd(this.strm),this.onEnd(Ke),this.ended=!0,!0;if(Ae.avail_in===0)break}}return!0},_f.prototype.onData=function(ce){this.chunks.push(ce)},_f.prototype.onEnd=function(ce){ce===Pf&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Jo.flattenChunks(this.chunks)),this.chunks=[],this.err=ce,this.msg=this.strm.msg};function HA(ce,he){const Ae=new _f(he);if(Ae.push(ce),Ae.err)throw Ae.msg||yu[Ae.err];return Ae.result}function sp(ce,he){return he=he||{},he.raw=!0,HA(ce,he)}var lp=_f,wm=HA,Sm=sp,up=HA,QA=sc,lg={Inflate:lp,inflate:wm,inflateRaw:Sm,ungzip:up,constants:QA};const{Deflate:xh,deflate:Cm,deflateRaw:Em,gzip:Bm}=si,{Inflate:xm,inflate:cp,inflateRaw:ug,ungzip:dp}=lg;var Ap=xh,cg=Cm,fp=Em,hp=Bm,dg=xm,Lf=cp,Ph=ug,gp=dp,pp=sc,E0={Deflate:Ap,deflate:cg,deflateRaw:fp,gzip:hp,Inflate:dg,inflate:Lf,inflateRaw:Ph,ungzip:gp,constants:pp};const Ag=[];for(let ce=0;ce<256;ce++){let he=ce;for(let Ae=0;Ae<8;Ae++)he&1?he=3988292384^he>>>1:he=he>>>1;Ag[ce]=he}const fg=4294967295;function Pm(ce,he,Ae){let xe=ce;for(let Me=0;Me>>8;return xe}function mp(ce,he){return(Pm(fg,ce,he)^fg)>>>0}function nA(ce,he,Ae){const xe=ce.readUint32(),Me=mp(new Uint8Array(ce.buffer,ce.byteOffset+ce.offset-he-4,he),he);if(Me!==xe)throw new Error(`CRC mismatch for chunk ${Ae}. Expected ${xe}, found ${Me}`)}function Fm(ce,he){ce.writeUint32(mp(new Uint8Array(ce.buffer,ce.byteOffset+ce.offset-he,he),he))}function xl(ce,he,Ae){for(let xe=0;xe>1)&255}else{for(;Ke>1)&255;for(;Ke>1)&255}}function od(ce,he,Ae,xe,Me){let Ke=0;if(Ae.length===0){for(;Ke=Ae||ia>=xe))for(let zr=0;zr>8&255}const bp=new Uint16Array([255]),Df=new Uint8Array(bp.buffer)[0]===255,Im=new Uint8Array(0);function wp(ce){const{data:he,width:Ae,height:xe,channels:Me,depth:Ke}=ce,ct=Math.ceil(Ke/8)*Me,nt=Math.ceil(Ke/8*Me*Ae),ft=new Uint8Array(xe*nt);let pt=Im,Pt=0,kt,Kt;for(let xt=0;xt>8&255}const Tf=Uint8Array.of(137,80,78,71,13,10,26,10);function B0(ce){ce.writeBytes(Tf)}function Fh(ce){if(!Dm(ce.readBytes(Tf.length)))throw new Error("wrong PNG signature")}function Dm(ce){if(ce.length79)throw new Error("keyword length must be between 1 and 79")}const gg=/^[\u0000-\u00FF]*$/;function _h(ce){if(!gg.test(ce))throw new Error("invalid latin1 text")}function xp(ce,he,Ae){const xe=Pp(he);ce[xe]=Fp(he,Ae-xe.length-1)}function x0(ce,he,Ae){Bp(he),_h(Ae);const xe=he.length+1+Ae.length;ce.writeUint32(xe),ce.writeChars(Sp),ce.writeChars(he),ce.writeByte(Cp),ce.writeChars(Ae),writeCrc(ce,xe+4)}function Pp(ce){for(ce.mark();ce.readByte()!==Cp;);const he=ce.offset;ce.reset();const Ae=Ep.decode(ce.readBytes(he-ce.offset-1));return ce.skip(1),Bp(Ae),Ae}function Fp(ce,he){return Ep.decode(ce.readBytes(he))}const qu={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},pg={UNKNOWN:-1,DEFLATE:0},_p={UNKNOWN:-1,ADAPTIVE:0},mg={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Lh={NONE:0,BACKGROUND:1,PREVIOUS:2},jf={SOURCE:0,OVER:1};class Tm extends cr{constructor(Ae,xe={}){super(Ae);Ws(this,"_checkCrc");Ws(this,"_inflator");Ws(this,"_png");Ws(this,"_apng");Ws(this,"_end");Ws(this,"_hasPalette");Ws(this,"_palette");Ws(this,"_hasTransparency");Ws(this,"_transparency");Ws(this,"_compressionMethod");Ws(this,"_filterMethod");Ws(this,"_interlaceMethod");Ws(this,"_colorType");Ws(this,"_isAnimated");Ws(this,"_numberOfFrames");Ws(this,"_numberOfPlays");Ws(this,"_frames");Ws(this,"_writingDataChunks");const{checkCrc:Me=!1}=xe;this._checkCrc=Me,this._inflator=new dg,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=pg.UNKNOWN,this._filterMethod=_p.UNKNOWN,this._interlaceMethod=mg.UNKNOWN,this._colorType=qu.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Fh(this);!this._end;){const Ae=this.readUint32(),xe=this.readChars(4);this.decodeChunk(Ae,xe)}return this.decodeImage(),this._png}decodeApng(){for(Fh(this);!this._end;){const Ae=this.readUint32(),xe=this.readChars(4);this.decodeApngChunk(Ae,xe)}return this.decodeApngImage(),this._apng}decodeChunk(Ae,xe){const Me=this.offset;switch(xe){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(Ae);break;case"IDAT":this.decodeIDAT(Ae);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(Ae);break;case"iCCP":this.decodeiCCP(Ae);break;case Sp:xp(this._png.text,this,Ae);break;case"pHYs":this.decodepHYs();break;default:this.skip(Ae);break}if(this.offset-Me!==Ae)throw new Error(`Length mismatch while decoding chunk ${xe}`);this._checkCrc?nA(this,Ae+4,xe):this.skip(4)}decodeApngChunk(Ae,xe){const Me=this.offset;switch(xe!=="fdAT"&&xe!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),xe){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(Ae);break;default:this.decodeChunk(Ae,xe),this.offset=Me+Ae;break}if(this.offset-Me!==Ae)throw new Error(`Length mismatch while decoding chunk ${xe}`);this._checkCrc?nA(this,Ae+4,xe):this.skip(4)}decodeIHDR(){const Ae=this._png;Ae.width=this.readUint32(),Ae.height=this.readUint32(),Ae.depth=vg(this.readUint8());const xe=this.readUint8();this._colorType=xe;let Me;switch(xe){case qu.GREYSCALE:Me=1;break;case qu.TRUECOLOUR:Me=3;break;case qu.INDEXED_COLOUR:Me=1;break;case qu.GREYSCALE_ALPHA:Me=2;break;case qu.TRUECOLOUR_ALPHA:Me=4;break;case qu.UNKNOWN:default:throw new Error(`Unknown color type: ${xe}`)}if(this._png.channels=Me,this._compressionMethod=this.readUint8(),this._compressionMethod!==pg.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 Ae={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(Ae)}decodePLTE(Ae){if(Ae%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${Ae}`);const xe=Ae/3;this._hasPalette=!0;const Me=[];this._palette=Me;for(let Ke=0;Kethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${Ae/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(Ae/2);for(let xe=0;xethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${Ae} vs ${this._palette.length})`);let xe=0;for(;xe{const ft=((ct+xe.yOffset)*this._png.width+xe.xOffset+nt)*this._png.channels,pt=(ct*xe.width+nt)*this._png.channels;return{index:ft,frameIndex:pt}};switch(xe.blendOp){case jf.SOURCE:for(let ct=0;ctxe.at(-1)!==255);this.writeUint32(Ae.length),this.writeChars("tRNS");for(const xe of Ae)this.writeByte(xe.at(-1));writeCrc(this,4+Ae.length)}encodeIDAT(Ae){this.writeUint32(Ae.length),this.writeChars("IDAT"),this.writeBytes(Ae),writeCrc(this,Ae.length+4)}encodeData(){const{width:Ae,height:xe,channels:Me,depth:Ke,data:ct}=this._png,nt=Ke<=8?Math.ceil(Ae*Ke/8)*Me:Math.ceil(Ae*Ke/8*Me/2),ft=new IOBuffer().setBigEndian();let pt=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let Kt=0;Kt0)return ce;throw new TypeError(`${he} must be a positive integer`)}function Ih(ce,he){const{channels:Ae=4,depth:xe=8}=ce;if(Ae!==4&&Ae!==3&&Ae!==2&&Ae!==1)throw new RangeError(`unsupported number of channels: ${Ae}`);const Me={channels:Ae,depth:xe,colorType:ColorType.UNKNOWN};switch(Ae){case 4:Me.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:Me.colorType=ColorType.TRUECOLOUR;break;case 1:he?Me.colorType=ColorType.INDEXED_COLOUR:Me.colorType=ColorType.GREYSCALE;break;case 2:Me.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return Me}function uc(ce,he,Ae,xe){for(let Me=0;Me>8&255),Ae.writeByte(Mn&255)}}return xe}function Vs(ce,he,Ae,xe){for(let Me=0;Me=200&&he.status<=299}function Dh(ce){try{ce.dispatchEvent(new MouseEvent("click"))}catch(Ae){var he=document.createEvent("MouseEvents");he.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),ce.dispatchEvent(he)}}var Fd=Ri.saveAs||((typeof window=="undefined"?"undefined":(0,me.Z)(window))!=="object"||window!==Ri?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(ce,he,Ae){var xe=Ri.URL||Ri.webkitURL,Me=document.createElement("a");he=he||ce.name||"download",Me.download=he,Me.rel="noopener",typeof ce=="string"?(Me.href=ce,Me.origin!==location.origin?wg(Me.href)?bg(ce,he,Ae):Dh(Me,Me.target="_blank"):Dh(Me)):(Me.href=xe.createObjectURL(ce),setTimeout(function(){xe.revokeObjectURL(Me.href)},4e4),setTimeout(function(){Dh(Me)},0))}:"msSaveOrOpenBlob"in navigator?function(ce,he,Ae){if(he=he||ce.name||"download",typeof ce=="string")if(wg(ce))bg(ce,he,Ae);else{var xe=document.createElement("a");xe.href=ce,xe.target="_blank",setTimeout(function(){Dh(xe)})}else navigator.msSaveOrOpenBlob(function(Me,Ke){return Ke===void 0?Ke={autoBom:!1}:(0,me.Z)(Ke)!=="object"&&(il.warn("Deprecated: Expected third argument to be a object"),Ke={autoBom:!Ke}),Ke.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Me.type)?new Blob(["\uFEFF",Me],{type:Me.type}):Me}(ce,Ae),he)}:function(ce,he,Ae,xe){if((xe=xe||open("","_blank"))&&(xe.document.title=xe.document.body.innerText="downloading..."),typeof ce=="string")return bg(ce,he,Ae);var Me=ce.type==="application/octet-stream",Ke=/constructor/i.test(Ri.HTMLElement)||Ri.safari,ct=/CriOS\/[\d]+/.test(navigator.userAgent);if((ct||Me&&Ke)&&(typeof FileReader=="undefined"?"undefined":(0,me.Z)(FileReader))==="object"){var nt=new FileReader;nt.onloadend=function(){var Pt=nt.result;Pt=ct?Pt:Pt.replace(/^data:[^;]*;/,"data:attachment/file;"),xe?xe.location.href=Pt:location=Pt,xe=null},nt.readAsDataURL(ce)}else{var ft=Ri.URL||Ri.webkitURL,pt=ft.createObjectURL(ce);xe?xe.location=pt:location.href=pt,xe=null,setTimeout(function(){ft.revokeObjectURL(pt)},4e4)}});function Lp(ce){var he;ce=ce||"",this.ok=!1,ce.charAt(0)=="#"&&(ce=ce.substr(1,6)),ce={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"}[ce=(ce=ce.replace(/ /g,"")).toLowerCase()]||ce;for(var Ae=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(nt){return[parseInt(nt[1]),parseInt(nt[2]),parseInt(nt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(nt){return[parseInt(nt[1],16),parseInt(nt[2],16),parseInt(nt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(nt){return[parseInt(nt[1]+nt[1],16),parseInt(nt[2]+nt[2],16),parseInt(nt[3]+nt[3],16)]}}],xe=0;xe255?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 nt=this.r.toString(16),ft=this.g.toString(16),pt=this.b.toString(16);return nt.length==1&&(nt="0"+nt),ft.length==1&&(ft="0"+ft),pt.length==1&&(pt="0"+pt),"#"+nt+ft+pt}}var Mf=Ri.atob.bind(Ri),Sg=Ri.btoa.bind(Ri);function Nf(ce,he){var Ae=ce[0],xe=ce[1],Me=ce[2],Ke=ce[3];Ae=Su(Ae,xe,Me,Ke,he[0],7,-680876936),Ke=Su(Ke,Ae,xe,Me,he[1],12,-389564586),Me=Su(Me,Ke,Ae,xe,he[2],17,606105819),xe=Su(xe,Me,Ke,Ae,he[3],22,-1044525330),Ae=Su(Ae,xe,Me,Ke,he[4],7,-176418897),Ke=Su(Ke,Ae,xe,Me,he[5],12,1200080426),Me=Su(Me,Ke,Ae,xe,he[6],17,-1473231341),xe=Su(xe,Me,Ke,Ae,he[7],22,-45705983),Ae=Su(Ae,xe,Me,Ke,he[8],7,1770035416),Ke=Su(Ke,Ae,xe,Me,he[9],12,-1958414417),Me=Su(Me,Ke,Ae,xe,he[10],17,-42063),xe=Su(xe,Me,Ke,Ae,he[11],22,-1990404162),Ae=Su(Ae,xe,Me,Ke,he[12],7,1804603682),Ke=Su(Ke,Ae,xe,Me,he[13],12,-40341101),Me=Su(Me,Ke,Ae,xe,he[14],17,-1502002290),Ae=cu(Ae,xe=Su(xe,Me,Ke,Ae,he[15],22,1236535329),Me,Ke,he[1],5,-165796510),Ke=cu(Ke,Ae,xe,Me,he[6],9,-1069501632),Me=cu(Me,Ke,Ae,xe,he[11],14,643717713),xe=cu(xe,Me,Ke,Ae,he[0],20,-373897302),Ae=cu(Ae,xe,Me,Ke,he[5],5,-701558691),Ke=cu(Ke,Ae,xe,Me,he[10],9,38016083),Me=cu(Me,Ke,Ae,xe,he[15],14,-660478335),xe=cu(xe,Me,Ke,Ae,he[4],20,-405537848),Ae=cu(Ae,xe,Me,Ke,he[9],5,568446438),Ke=cu(Ke,Ae,xe,Me,he[14],9,-1019803690),Me=cu(Me,Ke,Ae,xe,he[3],14,-187363961),xe=cu(xe,Me,Ke,Ae,he[8],20,1163531501),Ae=cu(Ae,xe,Me,Ke,he[13],5,-1444681467),Ke=cu(Ke,Ae,xe,Me,he[2],9,-51403784),Me=cu(Me,Ke,Ae,xe,he[7],14,1735328473),Ae=Cu(Ae,xe=cu(xe,Me,Ke,Ae,he[12],20,-1926607734),Me,Ke,he[5],4,-378558),Ke=Cu(Ke,Ae,xe,Me,he[8],11,-2022574463),Me=Cu(Me,Ke,Ae,xe,he[11],16,1839030562),xe=Cu(xe,Me,Ke,Ae,he[14],23,-35309556),Ae=Cu(Ae,xe,Me,Ke,he[1],4,-1530992060),Ke=Cu(Ke,Ae,xe,Me,he[4],11,1272893353),Me=Cu(Me,Ke,Ae,xe,he[7],16,-155497632),xe=Cu(xe,Me,Ke,Ae,he[10],23,-1094730640),Ae=Cu(Ae,xe,Me,Ke,he[13],4,681279174),Ke=Cu(Ke,Ae,xe,Me,he[0],11,-358537222),Me=Cu(Me,Ke,Ae,xe,he[3],16,-722521979),xe=Cu(xe,Me,Ke,Ae,he[6],23,76029189),Ae=Cu(Ae,xe,Me,Ke,he[9],4,-640364487),Ke=Cu(Ke,Ae,xe,Me,he[12],11,-421815835),Me=Cu(Me,Ke,Ae,xe,he[15],16,530742520),Ae=Eu(Ae,xe=Cu(xe,Me,Ke,Ae,he[2],23,-995338651),Me,Ke,he[0],6,-198630844),Ke=Eu(Ke,Ae,xe,Me,he[7],10,1126891415),Me=Eu(Me,Ke,Ae,xe,he[14],15,-1416354905),xe=Eu(xe,Me,Ke,Ae,he[5],21,-57434055),Ae=Eu(Ae,xe,Me,Ke,he[12],6,1700485571),Ke=Eu(Ke,Ae,xe,Me,he[3],10,-1894986606),Me=Eu(Me,Ke,Ae,xe,he[10],15,-1051523),xe=Eu(xe,Me,Ke,Ae,he[1],21,-2054922799),Ae=Eu(Ae,xe,Me,Ke,he[8],6,1873313359),Ke=Eu(Ke,Ae,xe,Me,he[15],10,-30611744),Me=Eu(Me,Ke,Ae,xe,he[6],15,-1560198380),xe=Eu(xe,Me,Ke,Ae,he[13],21,1309151649),Ae=Eu(Ae,xe,Me,Ke,he[4],6,-145523070),Ke=Eu(Ke,Ae,xe,Me,he[11],10,-1120210379),Me=Eu(Me,Ke,Ae,xe,he[2],15,718787259),xe=Eu(xe,Me,Ke,Ae,he[9],21,-343485551),ce[0]=Mc(Ae,ce[0]),ce[1]=Mc(xe,ce[1]),ce[2]=Mc(Me,ce[2]),ce[3]=Mc(Ke,ce[3])}function kf(ce,he,Ae,xe,Me,Ke){return he=Mc(Mc(he,ce),Mc(xe,Ke)),Mc(he<>>32-Me,Ae)}function Su(ce,he,Ae,xe,Me,Ke,ct){return kf(he&Ae|~he&xe,ce,he,Me,Ke,ct)}function cu(ce,he,Ae,xe,Me,Ke,ct){return kf(he&xe|Ae&~xe,ce,he,Me,Ke,ct)}function Cu(ce,he,Ae,xe,Me,Ke,ct){return kf(he^Ae^xe,ce,he,Me,Ke,ct)}function Eu(ce,he,Ae,xe,Me,Ke,ct){return kf(Ae^(he|~xe),ce,he,Me,Ke,ct)}function Ip(ce){var he,Ae=ce.length,xe=[1732584193,-271733879,-1732584194,271733878];for(he=64;he<=ce.length;he+=64)Nf(xe,Th(ce.substring(he-64,he)));ce=ce.substring(he-64);var Me=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(he=0;he>2]|=ce.charCodeAt(he)<<(he%4<<3);if(Me[he>>2]|=128<<(he%4<<3),he>55)for(Nf(xe,Me),he=0;he<16;he++)Me[he]=0;return Me[14]=8*Ae,Nf(xe,Me),xe}function Th(ce){var he,Ae=[];for(he=0;he<64;he+=4)Ae[he>>2]=ce.charCodeAt(he)+(ce.charCodeAt(he+1)<<8)+(ce.charCodeAt(he+2)<<16)+(ce.charCodeAt(he+3)<<24);return Ae}var $u="0123456789abcdef".split("");function Op(ce){for(var he="",Ae=0;Ae<4;Ae++)he+=$u[ce>>8*Ae+4&15]+$u[ce>>8*Ae&15];return he}function jh(ce){return String.fromCharCode(255&ce,(65280&ce)>>8,(16711680&ce)>>16,(4278190080&ce)>>24)}function Cg(ce){return Ip(ce).map(jh).join("")}var Nm=function(ce){for(var he=0;he>16)+(he>>16)+(Ae>>16)<<16|65535&Ae}return ce+he&4294967295}function _d(ce,he){var Ae,xe,Me,Ke;if(ce!==Ae){for(var ct=(Me=ce,Ke=1+(256/ce.length|0),new Array(Ke+1).join(Me)),nt=[],ft=0;ft<256;ft++)nt[ft]=ft;var pt=0;for(ft=0;ft<256;ft++){var Pt=nt[ft];pt=(pt+Pt+ct.charCodeAt(ft))%256,nt[ft]=nt[pt],nt[pt]=Pt}Ae=ce,xe=nt}else nt=xe;var kt=he.length,Kt=0,xt=0,fn="";for(ft=0;ft\x80/\f\xA9\xFEdSiz";var Ke=(he+this.padding).substr(0,32),ct=(Ae+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ke,ct),this.P=-(1+(255^Me)),this.encryptionKey=Cg(Ke+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(xe)).substr(0,5),this.U=_d(this.encryptionKey,this.padding)}function vc(ce){if(/[^\u0000-\u00ff]/.test(ce))throw new Error("Invalid PDF Name Object: "+ce+", Only accept ASCII characters.");for(var he="",Ae=ce.length,xe=0;xe126?"#"+("0"+Me.toString(16)).slice(-2):ce[xe]}return he}function Dp(ce){if((0,me.Z)(ce)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var he={};this.subscribe=function(Ae,xe,Me){if(Me=Me||!1,typeof Ae!="string"||typeof xe!="function"||typeof Me!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");he.hasOwnProperty(Ae)||(he[Ae]={});var Ke=Math.random().toString(35);return he[Ae][Ke]=[xe,!!Me],Ke},this.unsubscribe=function(Ae){for(var xe in he)if(he[xe][Ae])return delete he[xe][Ae],Object.keys(he[xe]).length===0&&delete he[xe],!0;return!1},this.publish=function(Ae){if(he.hasOwnProperty(Ae)){var xe=Array.prototype.slice.call(arguments,1),Me=[];for(var Ke in he[Ae]){var ct=he[Ae][Ke];try{ct[0].apply(ce,xe)}catch(nt){Ri.console&&il.error("jsPDF PubSub Error",nt.message,nt)}ct[1]&&Me.push(Ke)}Me.length&&Me.forEach(this.unsubscribe)}},this.getTopics=function(){return he}}function Uf(ce){if(!(this instanceof Uf))return new Uf(ce);var he="opacity,stroke-opacity".split(",");for(var Ae in ce)ce.hasOwnProperty(Ae)&&he.indexOf(Ae)>=0&&(this[Ae]=ce[Ae]);this.id="",this.objectNumber=-1}function Eg(ce,he){this.gState=ce,this.matrix=he,this.id="",this.objectNumber=-1}function Ld(ce,he,Ae,xe,Me){if(!(this instanceof Ld))return new Ld(ce,he,Ae,xe,Me);this.type=ce==="axial"?2:3,this.coords=he,this.colors=Ae,Eg.call(this,xe,Me)}function Id(ce,he,Ae,xe,Me){if(!(this instanceof Id))return new Id(ce,he,Ae,xe,Me);this.boundingBox=ce,this.xStep=he,this.yStep=Ae,this.stream="",this.cloneIndex=0,Eg.call(this,xe,Me)}function ri(ce){var he,Ae=typeof arguments[0]=="string"?arguments[0]:"p",xe=arguments[1],Me=arguments[2],Ke=arguments[3],ct=[],nt=1,ft=16,pt="S",Pt=null;(0,me.Z)(ce=ce||{})==="object"&&(Ae=ce.orientation,xe=ce.unit||xe,Me=ce.format||Me,Ke=ce.compress||ce.compressPdf||Ke,(Pt=ce.encryption||null)!==null&&(Pt.userPassword=Pt.userPassword||"",Pt.ownerPassword=Pt.ownerPassword||"",Pt.userPermissions=Pt.userPermissions||[]),nt=typeof ce.userUnit=="number"?Math.abs(ce.userUnit):1,ce.precision!==void 0&&(he=ce.precision),ce.floatPrecision!==void 0&&(ft=ce.floatPrecision),pt=ce.defaultPathOperation||"S"),ct=ce.filters||(Ke===!0?["FlateEncode"]:ct),xe=xe||"mm",Ae=(""+(Ae||"P")).toLowerCase();var kt=ce.putOnlyUsedFonts||!1,Kt={},xt={internal:{},__private__:{}};xt.__private__.PubSub=Dp;var fn="1.3",ln=xt.__private__.getPdfVersion=function(){return fn};xt.__private__.setPdfVersion=function(ht){fn=ht};var hn={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]};xt.__private__.getPageFormats=function(){return hn};var Yt=xt.__private__.getPageFormat=function(ht){return hn[ht]};Me=Me||"a4";var Wn="compat",Mn="advanced",Ln=Wn;function Or(){this.saveGraphicsState(),pn(new Mi(ds,0,0,-ds,0,Xf()*ds).toString()+" cm"),this.setFontSize(this.getFontSize()/ds),pt="n",Ln=Mn}function ia(){this.restoreGraphicsState(),pt="S",Ln=Wn}var zr=xt.__private__.combineFontStyleAndFontWeight=function(ht,Ht){if(ht=="bold"&&Ht=="normal"||ht=="bold"&&Ht==400||ht=="normal"&&Ht=="italic"||ht=="bold"&&Ht=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Ht&&(ht=Ht==400||Ht==="normal"?ht==="italic"?"italic":"normal":Ht!=700&&Ht!=="bold"||ht!=="normal"?(Ht==700?"bold":Ht)+""+ht:"bold"),ht};xt.advancedAPI=function(ht){var Ht=Ln===Wn;return Ht&&Or.call(this),typeof ht!="function"||(ht(this),Ht&&ia.call(this)),this},xt.compatAPI=function(ht){var Ht=Ln===Mn;return Ht&&ia.call(this),typeof ht!="function"||(ht(this),Ht&&Or.call(this)),this},xt.isAdvancedAPI=function(){return Ln===Mn};var $n,On=function(ht){if(Ln!==Mn)throw new Error(ht+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},vr=xt.roundToPrecision=xt.__private__.roundToPrecision=function(ht,Ht){var Cn=he||Ht;if(isNaN(ht)||isNaN(Cn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ht.toFixed(Cn).replace(/0+$/,"")};$n=xt.hpf=xt.__private__.hpf=typeof ft=="number"?function(ht){if(isNaN(ht))throw new Error("Invalid argument passed to jsPDF.hpf");return vr(ht,ft)}:ft==="smart"?function(ht){if(isNaN(ht))throw new Error("Invalid argument passed to jsPDF.hpf");return vr(ht,ht>-1&&ht<1?16:5)}:function(ht){if(isNaN(ht))throw new Error("Invalid argument passed to jsPDF.hpf");return vr(ht,16)};var Xt=xt.f2=xt.__private__.f2=function(ht){if(isNaN(ht))throw new Error("Invalid argument passed to jsPDF.f2");return vr(ht,2)},gn=xt.__private__.f3=function(ht){if(isNaN(ht))throw new Error("Invalid argument passed to jsPDF.f3");return vr(ht,3)},Kn=xt.scale=xt.__private__.scale=function(ht){if(isNaN(ht))throw new Error("Invalid argument passed to jsPDF.scale");return Ln===Wn?ht*ds:Ln===Mn?ht:void 0},Rn=function(ht){return Kn(function(Ht){return Ln===Wn?Xf()-Ht:Ln===Mn?Ht:void 0}(ht))};xt.__private__.setPrecision=xt.setPrecision=function(ht){typeof parseInt(ht,10)=="number"&&(he=parseInt(ht,10))};var jr,Hr="00000000000000000000000000000000",Zr=xt.__private__.getFileId=function(){return Hr},_r=xt.__private__.setFileId=function(ht){return Hr=ht!==void 0&&/^[a-fA-F0-9]{32}$/.test(ht)?ht.toUpperCase():Hr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Pt!==null&&(du=new KA(Pt.userPermissions,Pt.userPassword,Pt.ownerPassword,Hr)),Hr};xt.setFileId=function(ht){return _r(ht),this},xt.getFileId=function(){return Zr()};var Jr=xt.__private__.convertDateToPDFDate=function(ht){var Ht=ht.getTimezoneOffset(),Cn=Ht<0?"+":"-",Qn=Math.floor(Math.abs(Ht/60)),hr=Math.abs(Ht%60),ca=[Cn,Tn(Qn),"'",Tn(hr),"'"].join("");return["D:",ht.getFullYear(),Tn(ht.getMonth()+1),Tn(ht.getDate()),Tn(ht.getHours()),Tn(ht.getMinutes()),Tn(ht.getSeconds()),ca].join("")},Xa=xt.__private__.convertPDFDateToDate=function(ht){var Ht=parseInt(ht.substr(2,4),10),Cn=parseInt(ht.substr(6,2),10)-1,Qn=parseInt(ht.substr(8,2),10),hr=parseInt(ht.substr(10,2),10),ca=parseInt(ht.substr(12,2),10),Pa=parseInt(ht.substr(14,2),10);return new Date(Ht,Cn,Qn,hr,ca,Pa,0)},Sa=xt.__private__.setCreationDate=function(ht){var Ht;if(ht===void 0&&(ht=new Date),ht instanceof Date)Ht=Jr(ht);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(ht))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Ht=ht}return jr=Ht},Vt=xt.__private__.getCreationDate=function(ht){var Ht=jr;return ht==="jsDate"&&(Ht=Xa(jr)),Ht};xt.setCreationDate=function(ht){return Sa(ht),this},xt.getCreationDate=function(ht){return Vt(ht)};var Fn,Tn=xt.__private__.padd2=function(ht){return("0"+parseInt(ht)).slice(-2)},Vn=xt.__private__.padd2Hex=function(ht){return("00"+(ht=ht.toString())).substr(ht.length)},or=0,Cr=[],Kr=[],Xr=0,Aa=[],za=[],xo=!1,Co=Kr;xt.__private__.setCustomOutputDestination=function(ht){xo=!0,Co=ht};var yi=function(ht){xo||(Co=ht)};xt.__private__.resetCustomOutputDestination=function(){xo=!1,Co=Kr};var pn=xt.__private__.out=function(ht){return ht=ht.toString(),Xr+=ht.length+1,Co.push(ht),Co},Po=xt.__private__.write=function(ht){return pn(arguments.length===1?ht.toString():Array.prototype.join.call(arguments," "))},bs=xt.__private__.getArrayBuffer=function(ht){for(var Ht=ht.length,Cn=new ArrayBuffer(Ht),Qn=new Uint8Array(Cn);Ht--;)Qn[Ht]=ht.charCodeAt(Ht);return Cn},Ii=[["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]];xt.__private__.getStandardFonts=function(){return Ii};var Na=ce.fontSize||16;xt.__private__.setFontSize=xt.setFontSize=function(ht){return Na=Ln===Mn?ht/ds:ht,this};var Oi,$o=xt.__private__.getFontSize=xt.getFontSize=function(){return Ln===Wn?Na:Na*ds},Pi=ce.R2L||!1;xt.__private__.setR2L=xt.setR2L=function(ht){return Pi=ht,this},xt.__private__.getR2L=xt.getR2L=function(){return Pi};var Ci,rl=xt.__private__.setZoomMode=function(ht){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ht))Oi=ht;else if(isNaN(ht)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(ht)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ht+'" is not recognized.');Oi=ht}else Oi=parseInt(ht,10)};xt.__private__.getZoomMode=function(){return Oi};var Ls,os=xt.__private__.setPageMode=function(ht){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ht)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ht+'" is not recognized.');Ci=ht};xt.__private__.getPageMode=function(){return Ci};var Ms=xt.__private__.setLayoutMode=function(ht){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ht)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ht+'" is not recognized.');Ls=ht};xt.__private__.getLayoutMode=function(){return Ls},xt.__private__.setDisplayMode=xt.setDisplayMode=function(ht,Ht,Cn){return rl(ht),Ms(Ht),os(Cn),this};var Is={title:"",subject:"",author:"",keywords:"",creator:""};xt.__private__.getDocumentProperty=function(ht){if(Object.keys(Is).indexOf(ht)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Is[ht]},xt.__private__.getDocumentProperties=function(){return Is},xt.__private__.setDocumentProperties=xt.setProperties=xt.setDocumentProperties=function(ht){for(var Ht in Is)Is.hasOwnProperty(Ht)&&ht[Ht]&&(Is[Ht]=ht[Ht]);return this},xt.__private__.setDocumentProperty=function(ht,Ht){if(Object.keys(Is).indexOf(ht)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Is[ht]=Ht};var li,ds,hi,Xl,zs,Ss={},Cs={},Fl=[],Ei={},wl={},Hi={},is={},_l=null,Bs=0,ji=[],al=new Dp(xt),Hf=ce.hotfixes||[],Gu={},lA={},Nd=[],Mi=function ht(Ht,Cn,Qn,hr,ca,Pa){if(!(this instanceof ht))return new ht(Ht,Cn,Qn,hr,ca,Pa);isNaN(Ht)&&(Ht=1),isNaN(Cn)&&(Cn=0),isNaN(Qn)&&(Qn=0),isNaN(hr)&&(hr=1),isNaN(ca)&&(ca=0),isNaN(Pa)&&(Pa=0),this._matrix=[Ht,Cn,Qn,hr,ca,Pa]};Object.defineProperty(Mi.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ht){this._matrix[0]=ht}}),Object.defineProperty(Mi.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ht){this._matrix[1]=ht}}),Object.defineProperty(Mi.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ht){this._matrix[2]=ht}}),Object.defineProperty(Mi.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ht){this._matrix[3]=ht}}),Object.defineProperty(Mi.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ht){this._matrix[4]=ht}}),Object.defineProperty(Mi.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ht){this._matrix[5]=ht}}),Object.defineProperty(Mi.prototype,"a",{get:function(){return this._matrix[0]},set:function(ht){this._matrix[0]=ht}}),Object.defineProperty(Mi.prototype,"b",{get:function(){return this._matrix[1]},set:function(ht){this._matrix[1]=ht}}),Object.defineProperty(Mi.prototype,"c",{get:function(){return this._matrix[2]},set:function(ht){this._matrix[2]=ht}}),Object.defineProperty(Mi.prototype,"d",{get:function(){return this._matrix[3]},set:function(ht){this._matrix[3]=ht}}),Object.defineProperty(Mi.prototype,"e",{get:function(){return this._matrix[4]},set:function(ht){this._matrix[4]=ht}}),Object.defineProperty(Mi.prototype,"f",{get:function(){return this._matrix[5]},set:function(ht){this._matrix[5]=ht}}),Object.defineProperty(Mi.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Mi.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Mi.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Mi.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Mi.prototype.join=function(ht){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map($n).join(ht)},Mi.prototype.multiply=function(ht){var Ht=ht.sx*this.sx+ht.shy*this.shx,Cn=ht.sx*this.shy+ht.shy*this.sy,Qn=ht.shx*this.sx+ht.sy*this.shx,hr=ht.shx*this.shy+ht.sy*this.sy,ca=ht.tx*this.sx+ht.ty*this.shx+this.tx,Pa=ht.tx*this.shy+ht.ty*this.sy+this.ty;return new Mi(Ht,Cn,Qn,hr,ca,Pa)},Mi.prototype.decompose=function(){var ht=this.sx,Ht=this.shy,Cn=this.shx,Qn=this.sy,hr=this.tx,ca=this.ty,Pa=Math.sqrt(ht*ht+Ht*Ht),ni=(ht/=Pa)*Cn+(Ht/=Pa)*Qn;Cn-=ht*ni,Qn-=Ht*ni;var ui=Math.sqrt(Cn*Cn+Qn*Qn);return ni/=ui,ht*(Qn/=ui)>16&255,Qn=ui>>8&255,hr=255&ui}if(Qn===void 0||ca===void 0&&Cn===Qn&&Qn===hr)Ht=typeof Cn=="string"?Cn+" "+Pa[0]:ht.precision===2?Xt(Cn/255)+" "+Pa[0]:gn(Cn/255)+" "+Pa[0];else if(ca===void 0||(0,me.Z)(ca)==="object"){if(ca&&!isNaN(ca.a)&&ca.a===0)return["1.","1.","1.",Pa[1]].join(" ");Ht=typeof Cn=="string"?[Cn,Qn,hr,Pa[1]].join(" "):ht.precision===2?[Xt(Cn/255),Xt(Qn/255),Xt(hr/255),Pa[1]].join(" "):[gn(Cn/255),gn(Qn/255),gn(hr/255),Pa[1]].join(" ")}else Ht=typeof Cn=="string"?[Cn,Qn,hr,ca,Pa[2]].join(" "):ht.precision===2?[Xt(Cn),Xt(Qn),Xt(hr),Xt(ca),Pa[2]].join(" "):[gn(Cn),gn(Qn),gn(hr),gn(ca),Pa[2]].join(" ");return Ht},hd=xt.__private__.getFilters=function(){return ct},Hc=xt.__private__.putStream=function(ht){var Ht=(ht=ht||{}).data||"",Cn=ht.filters||hd(),Qn=ht.alreadyAppliedFilters||[],hr=ht.addLength1||!1,ca=Ht.length,Pa=ht.objectId,ni=function(Au){return Au};if(Pt!==null&&Pa===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Pt!==null&&(ni=du.encryptor(Pa,0));var ui={};Cn===!0&&(Cn=["FlateEncode"]);var qi=ht.additionalKeyValues||[],As=(ui=ri.API.processDataByFilters!==void 0?ri.API.processDataByFilters(Ht,Cn):{data:Ht,reverseChain:[]}).reverseChain+(Array.isArray(Qn)?Qn.join(" "):Qn.toString());if(ui.data.length!==0&&(qi.push({key:"Length",value:ui.data.length}),hr===!0&&qi.push({key:"Length1",value:ca})),As.length!=0)if(As.split("/").length-1==1)qi.push({key:"Filter",value:As});else{qi.push({key:"Filter",value:"["+As+"]"});for(var Ks=0;Ks>"),ui.data.length!==0&&(pn("stream"),pn(ni(ui.data)),pn("endstream"))},zf=xt.__private__.putPage=function(ht){var Ht=ht.number,Cn=ht.data,Qn=ht.objId,hr=ht.contentsObjId;Ou(Qn,!0),pn("<>"),pn("endobj");var ca=Cn.join(` `);return Ln===Mn&&(ca+=` Q`),Ou(hr,!0),Hc({data:ca,filters:hd(),objectId:hr}),pn("endobj"),Qn},Rd=xt.__private__.putPages=function(){var ht,Ht,Cn=[];for(ht=1;ht<=Bs;ht++)ji[ht].objId=xu(),ji[ht].contentsObjId=xu();for(ht=1;ht<=Bs;ht++)Cn.push(zf({number:ht,data:za[ht],objId:ji[ht].objId,contentsObjId:ji[ht].contentsObjId,mediaBox:ji[ht].mediaBox,cropBox:ji[ht].cropBox,bleedBox:ji[ht].bleedBox,trimBox:ji[ht].trimBox,artBox:ji[ht].artBox,userUnit:ji[ht].userUnit,rootDictionaryObjId:VA,resourceDictionaryObjId:Ad}));Ou(VA,!0),pn("<>"),pn("endobj"),al.publish("postPutPages")},Kf=function(ht){al.publish("putFont",{font:ht,out:pn,newObject:Ul,putStream:Hc}),ht.isAlreadyPutted!==!0&&(ht.objectNumber=Ul(),pn("<<"),pn("/Type /Font"),pn("/BaseFont /"+vc(ht.postScriptName)),pn("/Subtype /Type1"),typeof ht.encoding=="string"&&pn("/Encoding /"+ht.encoding),pn("/FirstChar 32"),pn("/LastChar 255"),pn(">>"),pn("endobj"))},Nh=function(ht){ht.objectNumber=Ul();var Ht=[];Ht.push({key:"Type",value:"/XObject"}),Ht.push({key:"Subtype",value:"/Form"}),Ht.push({key:"BBox",value:"["+[$n(ht.x),$n(ht.y),$n(ht.x+ht.width),$n(ht.y+ht.height)].join(" ")+"]"}),Ht.push({key:"Matrix",value:"["+ht.matrix.toString()+"]"});var Cn=ht.pages[1].join(` `);Hc({data:Cn,additionalKeyValues:Ht,objectId:ht.objectNumber}),pn("endobj")},kh=function(ht,Ht){Ht||(Ht=21);var Cn=Ul(),Qn=function(Pa,ni){var ui,qi=[],As=1/(ni-1);for(ui=0;ui<1;ui+=As)qi.push(ui);if(qi.push(1),Pa[0].offset!=0){var Ks={offset:0,color:Pa[0].color};Pa.unshift(Ks)}if(Pa[Pa.length-1].offset!=1){var jl={offset:1,color:Pa[Pa.length-1].color};Pa.push(jl)}for(var iu="",Sl=0,Au=0;AuPa[Sl+1].offset;)Sl++;var su=Pa[Sl].offset,Du=(ui-su)/(Pa[Sl+1].offset-su),vA=Pa[Sl].color,pd=Pa[Sl+1].color;iu+=Vn(Math.round((1-Du)*vA[0]+Du*pd[0]).toString(16))+Vn(Math.round((1-Du)*vA[1]+Du*pd[1]).toString(16))+Vn(Math.round((1-Du)*vA[2]+Du*pd[2]).toString(16))}return iu.trim()}(ht.colors,Ht),hr=[];hr.push({key:"FunctionType",value:"0"}),hr.push({key:"Domain",value:"[0.0 1.0]"}),hr.push({key:"Size",value:"["+Ht+"]"}),hr.push({key:"BitsPerSample",value:"8"}),hr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),hr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Hc({data:Qn,additionalKeyValues:hr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Cn}),pn("endobj"),ht.objectNumber=Ul(),pn("<< /ShadingType "+ht.type),pn("/ColorSpace /DeviceRGB");var ca="/Coords ["+$n(parseFloat(ht.coords[0]))+" "+$n(parseFloat(ht.coords[1]))+" ";ht.type===2?ca+=$n(parseFloat(ht.coords[2]))+" "+$n(parseFloat(ht.coords[3])):ca+=$n(parseFloat(ht.coords[2]))+" "+$n(parseFloat(ht.coords[3]))+" "+$n(parseFloat(ht.coords[4]))+" "+$n(parseFloat(ht.coords[5])),pn(ca+="]"),ht.matrix&&pn("/Matrix ["+ht.matrix.toString()+"]"),pn("/Function "+Cn+" 0 R"),pn("/Extend [true true]"),pn(">>"),pn("endobj")},Rh=function(ht,Ht){var Cn=xu(),Qn=Ul();Ht.push({resourcesOid:Cn,objectOid:Qn}),ht.objectNumber=Qn;var hr=[];hr.push({key:"Type",value:"/Pattern"}),hr.push({key:"PatternType",value:"1"}),hr.push({key:"PaintType",value:"1"}),hr.push({key:"TilingType",value:"1"}),hr.push({key:"BBox",value:"["+ht.boundingBox.map($n).join(" ")+"]"}),hr.push({key:"XStep",value:$n(ht.xStep)}),hr.push({key:"YStep",value:$n(ht.yStep)}),hr.push({key:"Resources",value:Cn+" 0 R"}),ht.matrix&&hr.push({key:"Matrix",value:"["+ht.matrix.toString()+"]"}),Hc({data:ht.stream,additionalKeyValues:hr,objectId:ht.objectNumber}),pn("endobj")},Km=function(ht){for(var Ht in ht.objectNumber=Ul(),pn("<<"),ht)switch(Ht){case"opacity":pn("/ca "+Xt(ht[Ht]));break;case"stroke-opacity":pn("/CA "+Xt(ht[Ht]))}pn(">>"),pn("endobj")},xg=function(ht){Ou(ht.resourcesOid,!0),pn("<<"),pn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var Ht in pn("/Font <<"),Ss)Ss.hasOwnProperty(Ht)&&(kt===!1||kt===!0&&Kt.hasOwnProperty(Ht))&&pn("/"+Ht+" "+Ss[Ht].objectNumber+" 0 R");pn(">>")}(),function(){if(Object.keys(Ei).length>0){for(var Ht in pn("/Shading <<"),Ei)Ei.hasOwnProperty(Ht)&&Ei[Ht]instanceof Ld&&Ei[Ht].objectNumber>=0&&pn("/"+Ht+" "+Ei[Ht].objectNumber+" 0 R");al.publish("putShadingPatternDict"),pn(">>")}}(),function(Ht){if(Object.keys(Ei).length>0){for(var Cn in pn("/Pattern <<"),Ei)Ei.hasOwnProperty(Cn)&&Ei[Cn]instanceof xt.TilingPattern&&Ei[Cn].objectNumber>=0&&Ei[Cn].objectNumber>")}}(ht.objectOid),function(){if(Object.keys(Hi).length>0){var Ht;for(Ht in pn("/ExtGState <<"),Hi)Hi.hasOwnProperty(Ht)&&Hi[Ht].objectNumber>=0&&pn("/"+Ht+" "+Hi[Ht].objectNumber+" 0 R");al.publish("putGStateDict"),pn(">>")}}(),function(){for(var Ht in pn("/XObject <<"),Gu)Gu.hasOwnProperty(Ht)&&Gu[Ht].objectNumber>=0&&pn("/"+Ht+" "+Gu[Ht].objectNumber+" 0 R");al.publish("putXobjectDict"),pn(">>")}(),pn(">>"),pn("endobj")},Mp=function(ht){Cs[ht.fontName]=Cs[ht.fontName]||{},Cs[ht.fontName][ht.fontStyle]=ht.id},Np=function(ht,Ht,Cn,Qn,hr){var ca={id:"F"+(Object.keys(Ss).length+1).toString(10),postScriptName:ht,fontName:Ht,fontStyle:Cn,encoding:Qn,isStandardFont:hr||!1,metadata:{}};return al.publish("addFont",{font:ca,instance:this}),Ss[ca.id]=ca,Mp(ca),ca.id},Qc=xt.__private__.pdfEscape=xt.pdfEscape=function(ht,Ht){return function(Cn,Qn){var hr,ca,Pa,ni,ui,qi,As,Ks,jl;if(Pa=(Qn=Qn||{}).sourceEncoding||"Unicode",ui=Qn.outputEncoding,(Qn.autoencode||ui)&&Ss[li].metadata&&Ss[li].metadata[Pa]&&Ss[li].metadata[Pa].encoding&&(ni=Ss[li].metadata[Pa].encoding,!ui&&Ss[li].encoding&&(ui=Ss[li].encoding),!ui&&ni.codePages&&(ui=ni.codePages[0]),typeof ui=="string"&&(ui=ni[ui]),ui)){for(As=!1,qi=[],hr=0,ca=Cn.length;hr>8&&(As=!0);Cn=qi.join("")}for(hr=Cn.length;As===void 0&&hr!==0;)Cn.charCodeAt(hr-1)>>8&&(As=!0),hr--;if(!As)return Cn;for(qi=Qn.noBOM?[]:[254,255],hr=0,ca=Cn.length;hr>8)>>8)throw new Error("Character at position "+hr+" of string '"+Cn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");qi.push(jl),qi.push(Ks-(jl<<8))}return String.fromCharCode.apply(void 0,qi)}(ht,Ht).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Pg=xt.__private__.beginPage=function(ht){za[++Bs]=[],ji[Bs]={objId:0,contentsObjId:0,userUnit:Number(nt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ht[0]),topRightY:Number(ht[1])}},Rp(Bs),yi(za[Fn])},kp=function(ht,Ht){var Cn,Qn,hr;switch(Ae=Ht||Ae,typeof ht=="string"&&(Cn=Yt(ht.toLowerCase()),Array.isArray(Cn)&&(Qn=Cn[0],hr=Cn[1])),Array.isArray(ht)&&(Qn=ht[0]*ds,hr=ht[1]*ds),isNaN(Qn)&&(Qn=Me[0],hr=Me[1]),(Qn>14400||hr>14400)&&(il.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Qn=Math.min(14400,Qn),hr=Math.min(14400,hr)),Me=[Qn,hr],Ae.substr(0,1)){case"l":hr>Qn&&(Me=[hr,Qn]);break;case"p":Qn>hr&&(Me=[hr,Qn])}Pg(Me),es(Lg),pn(zh),Og!==0&&pn(Og+" J"),Dg!==0&&pn(Dg+" j"),al.publish("addPage",{pageNumber:Bs})},Fg=function(ht){ht>0&&ht<=Bs&&(za.splice(ht,1),ji.splice(ht,1),Bs--,Fn>Bs&&(Fn=Bs),this.setPage(Fn))},Rp=function(ht){ht>0&&ht<=Bs&&(Fn=ht)},Up=xt.__private__.getNumberOfPages=xt.getNumberOfPages=function(){return za.length-1},Hp=function(ht,Ht,Cn){var Qn,hr=void 0;return Cn=Cn||{},ht=ht!==void 0?ht:Ss[li].fontName,Ht=Ht!==void 0?Ht:Ss[li].fontStyle,Qn=ht.toLowerCase(),Cs[Qn]!==void 0&&Cs[Qn][Ht]!==void 0?hr=Cs[Qn][Ht]:Cs[ht]!==void 0&&Cs[ht][Ht]!==void 0?hr=Cs[ht][Ht]:Cn.disableWarning===!1&&il.warn("Unable to look up font label for font '"+ht+"', '"+Ht+"'. Refer to getFontList() for available fonts."),hr||Cn.noFallback||(hr=Cs.times[Ht])==null&&(hr=Cs.times.normal),hr},Ud=xt.__private__.putInfo=function(){var ht=Ul(),Ht=function(Qn){return Qn};for(var Cn in Pt!==null&&(Ht=du.encryptor(ht,0)),pn("<<"),pn("/Producer ("+Qc(Ht("jsPDF "+ri.version))+")"),Is)Is.hasOwnProperty(Cn)&&Is[Cn]&&pn("/"+Cn.substr(0,1).toUpperCase()+Cn.substr(1)+" ("+Qc(Ht(Is[Cn]))+")");pn("/CreationDate ("+Qc(Ht(jr))+")"),pn(">>"),pn("endobj")},Uh=xt.__private__.putCatalog=function(ht){var Ht=(ht=ht||{}).rootDictionaryObjId||VA;switch(Ul(),pn("<<"),pn("/Type /Catalog"),pn("/Pages "+Ht+" 0 R"),Oi||(Oi="fullwidth"),Oi){case"fullwidth":pn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":pn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":pn("/OpenAction [3 0 R /Fit]");break;case"original":pn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Cn=""+Oi;Cn.substr(Cn.length-1)==="%"&&(Oi=parseInt(Oi)/100),typeof Oi=="number"&&pn("/OpenAction [3 0 R /XYZ null null "+Xt(Oi)+"]")}switch(Ls||(Ls="continuous"),Ls){case"continuous":pn("/PageLayout /OneColumn");break;case"single":pn("/PageLayout /SinglePage");break;case"two":case"twoleft":pn("/PageLayout /TwoColumnLeft");break;case"tworight":pn("/PageLayout /TwoColumnRight")}Ci&&pn("/PageMode /"+Ci),al.publish("putCatalog"),pn(">>"),pn("endobj")},Gm=xt.__private__.putTrailer=function(){pn("trailer"),pn("<<"),pn("/Size "+(or+1)),pn("/Root "+or+" 0 R"),pn("/Info "+(or-1)+" 0 R"),Pt!==null&&pn("/Encrypt "+du.oid+" 0 R"),pn("/ID [ <"+Hr+"> <"+Hr+"> ]"),pn(">>")},ou=xt.__private__.putHeader=function(){pn("%PDF-"+fn),pn("%\xBA\xDF\xAC\xE0")},Qp=xt.__private__.putXRef=function(){var ht="0000000000";pn("xref"),pn("0 "+(or+1)),pn("0000000000 65535 f ");for(var Ht=1;Ht<=or;Ht++)typeof Cr[Ht]=="function"?pn((ht+Cr[Ht]()).slice(-10)+" 00000 n "):Cr[Ht]!==void 0?pn((ht+Cr[Ht]).slice(-10)+" 00000 n "):pn("0000000000 00000 n ")},Hd=xt.__private__.buildDocument=function(){var ht;or=0,Xr=0,Kr=[],Cr=[],Aa=[],VA=xu(),Ad=xu(),yi(Kr),al.publish("buildDocument"),ou(),Rd(),function(){al.publish("putAdditionalObjects");for(var Cn=0;Cn"),pn("/O <"+du.toHexString(du.O)+">"),pn("/P "+du.P),pn(">>"),pn("endobj")),Ud(),Uh();var Ht=Xr;return Qp(),Gm(),pn("startxref"),pn(""+Ht),pn("%%EOF"),yi(za[Fn]),Kr.join(` `)},Hh=xt.__private__.getBlob=function(ht){return new Blob([bs(ht)],{type:"application/pdf"})},zp=xt.output=xt.__private__.output=(Uc=function(ht,Ht){switch(typeof(Ht=Ht||{})=="string"?Ht={filename:Ht}:Ht.filename=Ht.filename||"generated.pdf",ht){case void 0:return Hd();case"save":xt.save(Ht.filename);break;case"arraybuffer":return bs(Hd());case"blob":return Hh(Hd());case"bloburi":case"bloburl":if(Ri.URL!==void 0&&typeof Ri.URL.createObjectURL=="function")return Ri.URL&&Ri.URL.createObjectURL(Hh(Hd()))||void 0;il.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Cn="",Qn=Hd();try{Cn=Sg(Qn)}catch(iu){Cn=Sg(unescape(encodeURIComponent(Qn)))}return"data:application/pdf;filename="+Ht.filename+";base64,"+Cn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ri)==="[object Window]"){var hr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ca=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Ht.pdfObjectUrl&&(hr=Ht.pdfObjectUrl,ca="");var Pa='