!(function(){var Cy=Object.defineProperty,By=Object.defineProperties;var Sy=Object.getOwnPropertyDescriptors;var Wv=Object.getOwnPropertySymbols;var M1=Object.prototype.hasOwnProperty,_1=Object.prototype.propertyIsEnumerable;var Cp=Math.pow,h1=(Tn,Xt,ce)=>Xt in Tn?Cy(Tn,Xt,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Tn[Xt]=ce,np=(Tn,Xt)=>{for(var ce in Xt||(Xt={}))M1.call(Xt,ce)&&h1(Tn,ce,Xt[ce]);if(Wv)for(var ce of Wv(Xt))_1.call(Xt,ce)&&h1(Tn,ce,Xt[ce]);return Tn},p1=(Tn,Xt)=>By(Tn,Sy(Xt));var I1=(Tn,Xt)=>{var ce={};for(var he in Tn)M1.call(Tn,he)&&Xt.indexOf(he)<0&&(ce[he]=Tn[he]);if(Tn!=null&&Wv)for(var he of Wv(Tn))Xt.indexOf(he)<0&&_1.call(Tn,he)&&(ce[he]=Tn[he]);return ce};var bc=(Tn,Xt,ce)=>h1(Tn,typeof Xt!="symbol"?Xt+"":Xt,ce);var Um=(Tn,Xt,ce)=>new Promise((he,Me)=>{var Ue=Le=>{try{Ne(ce.next(Le))}catch(ve){Me(ve)}},At=Le=>{try{Ne(ce.throw(Le))}catch(ve){Me(ve)}},Ne=Le=>Le.done?he(Le.value):Promise.resolve(Le.value).then(Ue,At);Ne((ce=ce.apply(Tn,Xt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[55330],{27812:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},89489:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},59477:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},40001:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},26227:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},49198:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},84105:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},18785:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},87169:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},73331:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},15277:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},52671:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},8657:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},56082:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},33853:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},15075:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},62772:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},43531:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},61485:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},38819:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},47472:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},95869:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},87395:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},22054:function(){"use strict"},68305:function(){"use strict"},2375:function(Tn,Xt){"use strict";Xt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},75354: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 Tn={},Xt="5.0",ce={},he=null,Me=!1,Ue=!1,At=null,Ne=!1,Le=null,ve=null,Ae=0;Ae4?parseFloat(St):5};Tn.setHTML5Codebase=function(St,Qt){ve=St,at(St,Qt)},Tn.setJavaCodebase=Tn.setJavaCodebaseVersion=Tn.isCompiledInstalled=Tn.setPreCompiledScriptPath=Tn.setPreCompiledResourcePath=function(){},Tn.setHTML5CodebaseVersion=function(St,Qt){var cn=parseFloat(St);if(cn!==NaN&&cn<5){console.log("The GeoGebra HTML5 codebase version "+cn+" is deprecated. Using version latest instead.");return}Le=St,je(St,Qt)},Tn.getHTML5CodebaseVersion=function(){return Oe},Tn.getParameters=function(){return ce},Tn.setFontsCSSURL=function(St){Ke=St},Tn.setGiacJSURL=function(St){},Tn.setJNLPFile=function(St){fe=St},Tn.setJNLPBaseDir=function(St){},Tn.inject=function(){function St(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Qt="auto",cn=ce.id,Nn,fn=!1,Ln=0;Ln=5)return!0;var St=Tn.getAppletObject();return St&&typeof St.recalculateEnvironments=="function"?(St.recalculateEnvironments(),!0):!1},Tn.startAnimation=function(){var St=Tn.getAppletObject();return St&&typeof St.startAnimation=="function"?(St.startAnimation(),!0):!1},Tn.stopAnimation=function(){var St=Tn.getAppletObject();return St&&typeof St.stopAnimation=="function"?(St.stopAnimation(),!0):!1},Tn.getAppletObject=function(){var St=ce.id!==void 0?ce.id:"ggbApplet";return window[St]},Tn.resize=function(){};var xt=function(St,Qt,cn){var Nn=document.createElement("param");Nn.setAttribute("name",Qt),Nn.setAttribute("value",cn),St.appendChild(Nn)},Je=function(St){return St&&St!=="false"},Lt=function(St,Qt,cn){We(Oe)<=4.2&&(cn=!0);var Nn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Oe||ggbHTML5LoadedCodebaseIsWebSimple&&!ke)&&(Nn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var fn=document.createElement("div");fn.classList.add("appletParameters","notranslate");var Ln=Qt.width,Cn=Qt.height;if(Qt.disableAutoScale=Qt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Qt.disableAutoScale,Qt.width!==void 0)if(We(Oe)<=4.4)Je(Qt.showToolBar)&&(Qt.height-=7),Je(Qt.showAlgebraInput)&&(Qt.height-=37),Qt.width<605&&Je(Qt.showToolBar)&&(Qt.width=605,Ln=605);else{var Bn=100;(Je(Qt.showToolBar)||Je(Qt.showMenuBar))&&(Qt.hasOwnProperty("customToolBar")&&(Qt.customToolbar=Qt.customToolBar),Bn=Je(Qt.showMenuBar)?245:155),Ln=5?(Qt.appletOnLoad=function(kt){var $t=St.querySelector(".ggb_preview");$t&&$t.parentNode.removeChild($t),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Fe),window.GGBT_wsf_view&&$(window).trigger("resize"),Se(kt)},ie||Fe.appendChild(ae)):fn.appendChild(ae),Fe.appendChild(fn),ie||St.appendChild(Fe),setTimeout(function(){Tn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(fn),St.appendChild(se),Qt.appletOnLoad=function(kt){Tn.resize(),Se(kt)}}function oe(kt,$t){$t&&typeof $t.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(kt,$t.appletOnLoad):renderGGBElement(kt),Yt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$t)}function Ye(kt,$t){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:kt,params:$t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Sn){oe(Sn.article,Sn.params)}),html5AppletsToProcess=null)},We(Oe)<5&&(kt.className+=" geogebraweb")):oe(kt,$t)}if(Nn){scriptLoadStarted=!0;for(var vt=0;vt0?(gn.remove(),Fe.attr("id","fullscreencontent").show(),jQuery(Se).append(Fe),window.dispatchEvent(new Event("resize"))):Lt(gn,Qt,!1),window.GGBT_wsf_view.launchFullScreen(Se)}else _e=Nn,Lt(St,Qt,!1);if(!window.GGBT_wsf_view)for(Cn=0;CnSt/4*3&&(gn=St/4*3),Se=gn/5.8,Bn.setAttribute("src",Pe),Bn.setAttribute("width",gn),Bn.setAttribute("height",Se);var Fe=(St-gn)/2,ie=(Qt-Se)/2;Bn.style.left=Fe+"px",Bn.style.top=ie+"px",fn.appendChild(Bn)}}return fn.appendChild(Cn),fn},wt=function(St){return St=St.toLowerCase(),St==="html5"||St==="screenshot"?St:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],je=function(St,Qt){if(Oe=St,Qt){at(Oe,!0);return}var cn=!Me;if(cn){var Nn=We(Oe);!isNaN(Nn)&&Nn<4.4&&(cn=!1)}var fn,Ln;window.location.protocol.substr(0,4)==="http"?fn=window.location.protocol:fn="http:";var Cn=Oe.indexOf("//");Cn>0?Ln=Oe:Cn===0?Ln=fn+Oe:Ln="https://www.geogebra.org/apps/5.2.814.0/";for(var Bn in it)if(Oe.slice(it[Bn].length*-1)===it[Bn]||Oe.slice((it[Bn].length+1)*-1)===it[Bn]+"/"){at(Ln,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&cn&&!he.is3D&&!he.AV&&!he.SV&&!he.CV&&!he.EV2&&!he.CP&&!he.PC&&!he.DA&&!he.FI&&!he.PV&&!Je(ce.showToolBar)&&!Je(ce.showMenuBar)&&!Je(ce.showAlgebraInput)&&!Je(ce.enableRightClick)&&(!ce.appName||ce.appName=="classic")?Ln+="webSimple/":Ln+="web3d/",at(Ln,!1)},at=function(St,Qt){if(St.requirejs){ze=St;return}St.slice(-1)!=="/"&&(St+="/"),ze=St,Qt===null&&(Qt=St.indexOf("http")===-1),Be=Qt,He="web.nocache.js",ke=!1;var cn=ze.split("/");cn.length>1&&(!Qt&&cn[cn.length-2]==="webSimple"?(He="webSimple.nocache.js",ke=!0):it.indexOf(cn[cn.length-2])>=0&&(He=cn[cn.length-2]+".nocache.js")),cn=St.split("/"),Oe=cn[cn.length-3],Oe.substr(0,4)==="test"?Oe=Oe.substr(4,1)+"."+Oe.substr(5,1):(Oe.substr(0,3)==="war"||Oe.substr(0,4)==="beta")&&(Oe="5.0");var Nn=parseFloat(Oe);Nn!==NaN&&Nn<5&&St.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Nn+" is deprecated. Using version latest instead."),je("5.0",Qt))},Yt=function(St,Qt){window.console&&window.console.log&&(!Qt||typeof Qt.showLogging=="undefined"||Qt.showLogging&&Qt.showLogging!=="false")&&console.log(St)};ce.material_id!==void 0?rt(Vt):Vt();function Vt(){var St=Xt;Le!==null?St=Le:parseFloat(St)<5&&(St="5.0"),je(St,!1),ve!==null&&at(ve,Be),Ne=!0}return Tn},GGBAppletUtils=function(){"use strict";function Tn(){return window.GGBT_wsf_edit!==void 0}function Xt(Ne,Le){Le!=1?(Ne.style.transformOrigin="0% 0% 0px",Ne.style.webkitTransformOrigin="0% 0% 0px",Ne.style.transform="scale("+Le+","+Le+")",Ne.style.webkitTransform="scale("+Le+","+Le+")",Ne.style.maxWidth="initial",Ne.querySelector(".ggb_preview")!==null&&(Ne.querySelector(".ggb_preview").style.maxWidth="initial"),Ne.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ne.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ne.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ne.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ne.style.transform="none",Ne.style.webkitTransform="none")}function ce(Ne,Le,ve,Ae,we,fe){var ze=null;if(fe!=null&&fe!="")for(var Be=Ne.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+fe+" ")>-1){ze=Be;break}else Be=Be.parentNode;var _e=0,Oe=0,He=0,ke=0,Te=0,Pe=0,Xe=0;if(ze)_e=ze.offsetWidth,Oe=Math.max(Ae?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(_e=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),He=_e):(_e=window.innerWidth,Oe=window.innerHeight,He=window.innerWidth),Ne){var Ke=Ne.getBoundingClientRect();Ke.left>0&&Ke.left<=_e&&(we===void 0||!we)&&(document.dir==="rtl"?(Te=_e-Ke.width-Ke.left,Pe=He<=480?10:30):(Pe=Ke.left,Te=He<=480?10:30),ke=Pe+Te)}if(Ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var qe=Ne.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ke=40,Xe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ke=0,Xe=40)}}return Ne&&((ve===void 0||!ve)&&Le>0&&Le+ke<_e?_e=Le:_e-=ke,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ve===void 0||!ve)&&(Oe-=Xe)),{width:_e,height:Oe}}function he(Ne,Le,ve,Ae,we){if(Ne.isScreenshoGenerator)return 1;var fe=Ae!==void 0&&Ae,ze=Ne.noScaleMargin!=null&&Ne.noScaleMargin,Be=function(qe){return qe&&qe!=="false"},_e=Be(Ne.autoHeight),Oe=ce(Le,Ne.width,ve,_e,fe&&window.GGBT_wsf_view||ze,we),He=parseInt(Oe.width),ke=Ne.width,Te=Ne.height;if(ke===void 0){var Pe=Le.querySelector(".appletParameters");Pe&&(ke=Pe.offsetWidth,Te=Pe.offsetHeight)}var Xe=He/ke,Ke=fe?1:Oe.height/Te;return ve!==void 0&&!ve&&(Xe=Math.min(1,Xe),Ke=Math.min(1,Ke)),Math.min(Xe,Ke)}function Me(Ne,Le,ve){var Ae=1,we,fe=!1;if(Ne.hasOwnProperty("allowUpscale")&&(fe=Ne.allowUpscale),Ne.hasOwnProperty("scale")&&(Ae=parseFloat(Ne.scale),(isNaN(Ae)||Ae===null||Ae===0)&&(Ae=1),Ae>1&&(fe=!0)),Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(Ne.hasOwnProperty("disableAutoScale")&&Ne.disableAutoScale))we=he(Ne,Le,fe,ve,Ne.scaleContainerClass);else return Ae;return fe&&(!Ne.hasOwnProperty("scale")||Ae===1)?we:Math.min(Ae,we)}function Ue(Ne){var Le=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Ae=Ne.getBoundingClientRect(),we=(Le-Ae.width)/2,fe=(ve-Ae.height)/2;fe<0&&(fe=0),Ne.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(we<40?Ne.style.left="40px":Ne.style.left=we+"px",Ne.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Ne.style.top="40px":Ne.style.top=fe+"px",Ne.style.left=we+"px")}function At(Ne,Le){var ve=Ne.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Le.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ne)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var Ae=Me(Le,Ne);Tn()&&ve.setAttribute("data-param-scale",Ae);for(var we=null,fe=0;fe=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(Tn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Tn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Tn){var Xt=c[Tn];return Xt==null?null:Xt},r=d,webModule.__errFn=e}function B(){function Tn(Ne){var Le=Ne.lastIndexOf(rb);Le==-1&&(Le=Ne.length);var ve=Ne.indexOf(sb);ve==-1&&(ve=Ne.length);var Ae=Ne.lastIndexOf(tb,Math.min(ve,Le));return Ae>=O?Ne.substring(O,Ae+P):W}function Xt(Ne){if(!Ne.match(/^\w+:\/\//)){var Le=o.createElement(ub);Le.src=Ne+vb,Ne=Tn(Le.src)}return Ne}function ce(){var Ne=__gwt_getMetaProperty(wb);return Ne!=null?Ne:W}function he(){for(var Ne=o.getElementsByTagName(_),Le=O;LeO?Ne[Ne.length-P].href:W}function Ue(){var Ne=o.location;return Ne.href==Ne.protocol+zb+Ne.host+Ne.pathname+Ne.search+Ne.hash}var At=ce();return At==W&&(At=he()),At==W&&(At=Me()),At==W&&Ue()&&(At=Tn(o.location.href)),At=Xt(At),At}function C(Tn){return Tn.match(/^\//)||Tn.match(/^[a-zA-Z]+:\/\//)?Tn:webModule.__moduleBase+Tn}function D(){var Tn=[],Xt=O,ce=[],he=[];function Me(Ne){var Le=he[Ne](),ve=ce[Ne];if(Le in ve)return Le;var Ae=[];for(var we in ve)Ae[ve[we]]=we;throw r&&r(Ne,Ae,Le),null}if(__gwt_isKnownPropertyValue=function(Ne,Le){return Le in ce[Ne]},webModule.__getPropMap=function(){var Ne={};for(var Le in ce)ce.hasOwnProperty(Le)&&(Ne[Le]=Me(Le));return Ne},webModule.__computePropValue=Me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ue;try{Ue=Cb;var At=Ue.indexOf(Db);At!=-1&&(Xt=parseInt(Ue.substring(At+P),$),Ue=Ue.substring(O,At))}catch(Ne){}return webModule.__softPermutationId=Xt,C(Ue+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})()},32546:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Ax:function(){return At},Ds:function(){return Ne},KI:function(){return ve},SI:function(){return Ue},f1:function(){return Me}});var he=ce(42684);function Me(Ae){let we=!0;if(Ae.length>0){for(let fe=0;feZe in We?ze(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:$e}):We[Ze]=$e,ke=(We,Ze)=>{for(var $e in Ze||(Ze={}))_e.call(Ze,$e)&&He(We,$e,Ze[$e]);if(Be)for(var $e of Be(Ze))Oe.call(Ze,$e)&&He(We,$e,Ze[$e]);return We};const Te=(We={})=>{var Ze,$e,rt,ht;let dt=(Ze=We==null?void 0:We.emotion)==null?void 0:Ze.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),xt=($e=We==null?void 0:We.focus)==null?void 0:$e.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Je=(rt=We==null?void 0:We.action)==null?void 0:rt.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Lt=(ht=We==null?void 0:We.intention)==null?void 0:ht.map(Re=>ke({value:Re==null?void 0:Re.rate},Re));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:dt||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:xt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Je||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Lt||[]}]},Pe=({className:We,dataSource:Ze=[],col:$e=4,right:rt,bottom:ht=23,precision:dt=0,wrapWidth:xt=1200})=>{const Je=(Re="",Rt,Ft="--")=>Re?(Re==null?void 0:Re.length)>Rt?(Re==null?void 0:Re.slice(0,Rt-1))+"...":Re:Ft,Lt=Math.floor((xt-($e-1)*rt)/$e);return he.createElement("div",{className:At()(Me.list,We)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((Re,Rt)=>{const{cover_pic:Ft,created_at:bt,emotion:Tt,action:wt,intention:it,focus:je}=Re;return he.createElement("div",{key:Rt,className:Me.wrap,style:{width:Lt,marginRight:(1+Rt)%$e===0?0:rt+dt,marginBottom:ht}},he.createElement("div",{className:Me.img},he.createElement("img",{src:`${fe.Z.API_SERVER}${Ft}`}),he.createElement("div",{className:Me.tips},he.createElement("div",null,he.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),he.createElement("span",null,bt))),he.createElement("div",{className:Me.footer},he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-biaoqing"}),he.createElement("span",null,"\u8868\u60C5\uFF1A",he.createElement(Le.Z,{title:Tt},he.createElement("span",{className:"c-grey-333"},Je(Tt,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-hangwei"}),he.createElement("span",null,"\u884C\u4E3A\uFF1A",he.createElement(Le.Z,{title:wt},he.createElement("span",{className:"c-grey-333"},Je(wt,4)))))),he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-yitu"}),he.createElement("span",null,"\u610F\u56FE\uFF1A",he.createElement(Le.Z,{title:it},he.createElement("span",{className:"c-grey-333"},Je(it,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-zhuangtai"}),he.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",he.createElement(Le.Z,{title:je},he.createElement("span",{className:"c-grey-333"},Je(je,3))))))))})))},Xe=({className:We,style:Ze,title:$e,hideBar:rt=!1,children:ht,customText:dt="",noDataText:xt="",emptyData:Je=[],loading:Lt,actionAnalysis:Re})=>{var Rt,Ft;const bt=((Rt=Je==null?void 0:Je[0])==null?void 0:Rt.every(wt=>{var it;return!((it=wt==null?void 0:wt.data)!=null&&it.length)}))&&!((Ft=Je==null?void 0:Je[1])!=null&&Ft.length)||!Re,Tt=Re?xt:dt;return he.createElement(ve.Z,{loading:Lt,active:!0},bt&&he.createElement("div",{className:At()(Me.noData,We),style:Ze},!!$e&&he.createElement("div",{className:Me.title},!rt&&he.createElement("b",null),he.createElement("span",null,$e)),he.createElement("div",{className:Me.itemWrap},he.createElement(we.Z,{customText:Tt}))),!bt&&ht)};var qe=({className:We,style:Ze,data:$e=[],title:rt,hideBar:ht=!1,loading:dt=!1})=>he.createElement("div",{className:At()(Me.analysis,We),style:Ze},!!rt&&he.createElement("div",{className:Me.title},!ht&&he.createElement("b",null),he.createElement("span",null,rt)),he.createElement(Ae.Z,{spinning:dt},he.createElement("div",{className:Me.itemWrap},$e==null?void 0:$e.map((xt,Je)=>he.createElement("div",{className:Me.item,key:Je},he.createElement(Ne.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:xt==null?void 0:xt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Lt){for(let Re in xt==null?void 0:xt.data)if(Lt==(xt==null?void 0:xt.data[Re].name))return Lt+" "+(xt==null?void 0:xt.data[Re].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:xt==null?void 0:xt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:xt==null?void 0:xt.data}]},style:{height:145}}))))))},98400:function(Tn,Xt,ce){"use strict";var he=ce(86204),Me=ce.n(he),Ue=Object.defineProperty,At=(Ae,we,fe)=>we in Ae?Ue(Ae,we,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Ae[we]=fe,Ne=(Ae,we,fe)=>At(Ae,typeof we!="symbol"?we+"":we,fe),Le=(Ae,we,fe)=>new Promise((ze,Be)=>{var _e=ke=>{try{He(fe.next(ke))}catch(Te){Be(Te)}},Oe=ke=>{try{He(fe.throw(ke))}catch(Te){Be(Te)}},He=ke=>ke.done?ze(ke.value):Promise.resolve(ke.value).then(_e,Oe);He((fe=fe.apply(Ae,we)).next())});class ve extends he.EventEmitter{constructor(we,fe){super(),Ne(this,"url"),Ne(this,"body"),Ne(this,"fullContent",""),Ne(this,"controller",null),Ne(this,"buffer",""),this.url=we,this.body=fe}startStream(){return Le(this,null,function*(){this.controller=new AbortController;const{signal:we}=this.controller;try{const fe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:we});if(!fe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${fe.status}`);const ze=fe.headers.get("content-type");if(!ze)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ze.includes("application/json")){const Oe=yield fe.json();this.emit("error",Oe);return}if(!ze.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Be=fe.body.getReader(),_e=new TextDecoder("utf-8");for(;;){const{done:Oe,value:He}=yield Be.read();if(Oe)break;const ke=_e.decode(He,{stream:!0});this.buffer+=ke;const Te=this.buffer.split(` `);this.buffer=Te.pop()||"";for(const Pe of Te)if(Pe.startsWith("data:")){const Xe=Pe.slice(5).trim();if(Xe==="[DONE]")break;try{const Ke=JSON.parse(Xe);Ke.data&&this.handleData(Ke.data)}catch(Ke){this.buffer=Pe+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ke)}}}this.emit("done",this.fullContent)}catch(fe){fe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",fe.message)}})}handleData(we){we.content&&(this.fullContent+=we.content,this.emit("data",{chunk:we,full:this.fullContent}))}cancelRequest(){var we;(we=this.controller)==null||we.abort()}}Xt.Z=ve},18997:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ze}});var he=ce(59301),Me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ue=ce(92310),At=ce.n(Ue),Ne=ce(71418),Le=ce(2859),ve=ce(58661),Ae=ce(85333),we=(Be,_e,Oe)=>new Promise((He,ke)=>{var Te=Ke=>{try{Xe(Oe.next(Ke))}catch(qe){ke(qe)}},Pe=Ke=>{try{Xe(Oe.throw(Ke))}catch(qe){ke(qe)}},Xe=Ke=>Ke.done?He(Ke.value):Promise.resolve(Ke.value).then(Te,Pe);Xe((Oe=Oe.apply(Be,_e)).next())}),ze=({data:Be,className:_e,fullWidth:Oe,style:He={},onClose:ke,onOk:Te,showFullTools:Pe,noAssociationId:Xe})=>{const Ke=(0,he.useRef)(null),qe=(0,he.useRef)(null),We=(0,he.useRef)(null),Ze=(0,he.useRef)(null),[$e,rt]=(0,he.useState)(!1),[ht,dt]=(0,he.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,he.useEffect)(()=>{We.current||(We.current=document.createElement("style"),document.head.appendChild(We.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),We.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&xt()):(document.body.removeAttribute("data-custom"),We.current&&(document.head.removeChild(We.current),We.current=null))},[Be==null?void 0:Be.visible]);const xt=()=>we(void 0,null,function*(){rt(!0),dt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ft=yield(0,Ae.ZJ)(Be==null?void 0:Be.src);Ke.current.src="",Ke.current.src=Ft,Ke.current.onload=function(){Rt()},rt(!1),dt("")}),Je=()=>{document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",ke()},Lt=Ft=>we(void 0,null,function*(){rt(!0),dt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const bt=yield(0,ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:Ft.dataUrl}});bt!=null&&bt.id&&!Xe?(yield(0,ve.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:bt==null?void 0:bt.id,settings:JSON.stringify(Ft.state)}})).status===0&&Te():bt!=null&&bt.id&&Te(bt),document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",rt(!1),dt("")}),Re=()=>{const Ft=document.querySelector('a[href="https://markerjs.com/"]');Ft&&Ft.parentNode&&(Ft.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Tt=>{const wt=document.querySelector(Tt.name);wt&&wt.setAttribute("title",Tt.title)})},Rt=()=>{qe.current=new Le.hP(Ke.current),qe.current.targetRoot=Ze.current,qe.current.addEventListener("render",Lt),qe.current.addEventListener("beforeclose",Je),Pe&&(qe.current.availableMarkerTypes=qe.current.ALL_MARKER_TYPES,qe.current.uiStyleSettings.redoButtonVisible=!0,qe.current.uiStyleSettings.notesButtonVisible=!0,qe.current.uiStyleSettings.zoomButtonVisible=!0,qe.current.uiStyleSettings.zoomOutButtonVisible=!0,qe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=qe.current.uiStyleSettings,qe.current.show(),Be!=null&&Be.snapshotData&&qe.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Re()},300)};return he.createElement(he.Fragment,null,(Be==null?void 0:Be.visible)&&he.createElement(Ne.Z,{spinning:$e,tip:ht,style:{position:"absolute"}},he.createElement("div",{ref:Ze,className:At()(Me.imageDimensions,_e,Oe?Me.fullWidth:""),style:He},he.createElement("img",{className:Me.img,ref:Ke}))))}},80802:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(95237),Ue=ce(43604),At=ce(99313),Ne=ce(3113),Le=ce(58997),ve=ce(2375),Ae=ce(48136),we=ce(59301);const fe=(0,he.forwardRef)(({callback:ze,showSaveButton:Be,value:_e=""},Oe)=>{const He=(0,he.useRef)(),ke=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Te=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],Pe=qe=>{He.current.setValue(He.current.getValue()+" "+qe.value+" ")},Xe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:we.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},ke.map((qe,We)=>we.createElement(Ue.Z,{flex:"110px",className:ve.Z.item},we.createElement("div",null,we.createElement(Le.Z,{value:`$$${qe.value}$$`}),qe.name),we.createElement("div",{className:ve.Z.children},qe.children.map((Ze,$e)=>we.createElement("div",{key:$e},we.createElement("h1",null,Ze.name),we.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>we.createElement(Ue.Z,{key:ht,onClick:()=>Pe(rt),className:ve.Z.diamond},we.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:we.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},Te.map((qe,We)=>we.createElement(Ue.Z,{flex:"110px",className:ve.Z.item},we.createElement("div",null,we.createElement(Le.Z,{value:"`$$"+qe.value+"$$`"}),qe.name),we.createElement("div",{className:ve.Z.children},qe.children.map((Ze,$e)=>we.createElement("div",{key:$e},Ze.name&&we.createElement("h1",null,Ze.name),we.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>we.createElement(Ue.Z,{key:ht,onClick:()=>Pe(rt),className:ve.Z.diamond},we.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))}],Ke=()=>{var qe=document.createElement("div");qe.innerHTML=He.current.getValue();var We=qe.innerText;return ze&&ze(We),We};return(0,he.useImperativeHandle)(Oe,()=>({getData:Ke})),we.createElement("div",{className:ve.Z.mathWrap},we.createElement(At.default,{defaultActiveKey:"1",items:Xe}),we.createElement("math-field",{locale:"zh_cn",className:ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:He,style:{width:800,marginTop:30,fontSize:18}},_e||""),Be&&we.createElement("div",{className:ve.Z.button},we.createElement(Ne.ZP,{size:"large",onClick:Ke,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Xt.Z=fe},28849:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Lt}});var he=ce(59301),Me=ce(44225),Ue=ce(43418),At=ce(78241),Ne=ce(8591),Le=ce(71418),ve=ce(17574),Ae=ce(95237),we=ce(43604),fe=ce(6848),ze=ce(92832),Be={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},_e=ce(78162),Oe=ce(31914),He=ce(61648),ke=ce(93351),Te=Object.defineProperty,Pe=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ze=(Re,Rt,Ft)=>Rt in Re?Te(Re,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Re[Rt]=Ft,$e=(Re,Rt)=>{for(var Ft in Rt||(Rt={}))qe.call(Rt,Ft)&&Ze(Re,Ft,Rt[Ft]);if(Ke)for(var Ft of Ke(Rt))We.call(Rt,Ft)&&Ze(Re,Ft,Rt[Ft]);return Re},rt=(Re,Rt)=>Pe(Re,Xe(Rt)),ht=(Re,Rt)=>{var Ft={};for(var bt in Re)qe.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&Ke)for(var bt of Ke(Re))Rt.indexOf(bt)<0&&We.call(Re,bt)&&(Ft[bt]=Re[bt]);return Ft},dt=(Re,Rt,Ft)=>new Promise((bt,Tt)=>{var wt=at=>{try{je(Ft.next(at))}catch(Yt){Tt(Yt)}},it=at=>{try{je(Ft.throw(at))}catch(Yt){Tt(Yt)}},je=at=>at.done?bt(at.value):Promise.resolve(at.value).then(wt,it);je((Ft=Ft.apply(Re,Rt)).next())});const xt=(Re=[])=>Re==null?void 0:Re.map(Rt=>rt($e({},Rt),{title:(Rt==null?void 0:Rt.value)||"",key:Rt==null?void 0:Rt.id,isLeaf:!0})),Je=Re=>{var Rt=Re,{user:Ft,children:bt,isShowComponent:Tt=!0,ModalProps:wt={},onDataSelect:it}=Rt,je=ht(Rt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[at,Yt]=Ue.default.useModal(),[Vt]=At.default.useForm(),[St,Qt]=(0,he.useState)([]),[cn,Nn]=(0,he.useState)(!1),[fn,Ln]=(0,he.useState)(!1),[,Cn,Bn,gn]=(0,_e.U)(Oe.qE,{page:1,limit:9999}),[,,Se]=(0,_e.U)(Oe.V8,{}),[,,Fe]=(0,_e.U)(Oe.B$,{}),[,,ie]=(0,_e.U)(Oe.DH,{}),[,,ae]=(0,_e.U)(Oe.bJ,{}),se=()=>{Nn(!1),Vt.resetFields(),Ln(!1)},oe=vt=>dt(void 0,null,function*(){const{node:et,dragNode:lt,event:Pt}=vt,Mt=vt.node.pos.split("-"),kt=vt.dropPosition-Number(Mt[Mt.length-1]);if(kt==0){Ne.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(kt==1&&(lt==null?void 0:lt.item_index)==(et==null?void 0:et.item_index)+1){Ne.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const $t=yield ae({id:lt==null?void 0:lt.key,position:kt==-1?1:(lt==null?void 0:lt.item_index)>(et==null?void 0:et.item_index)?(et==null?void 0:et.item_index)+1:et==null?void 0:et.item_index});($t==null?void 0:$t.status)===0&&(Ne.ZP.success("\u79FB\u52A8\u6210\u529F"),Bn({},!0))}),Ye=vt=>dt(void 0,null,function*(){let et={};fn?et=yield Fe($e({},vt)):et=yield ie($e({},vt)),(et==null?void 0:et.status)==0&&(Ne.ZP.success((et==null?void 0:et.message)||(fn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Bn({},!0),se())});return(0,he.useEffect)(()=>{wt!=null&&wt.open&&Bn({},!0)},[wt==null?void 0:wt.open]),(0,he.useEffect)(()=>{var vt;Qt(xt((vt=gn==null?void 0:gn.data)==null?void 0:vt.list))},[gn]),Tt?he.createElement(he.Fragment,null,Yt,bt,he.createElement(Ue.default,$e({},$e({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},wt)),he.createElement(Le.Z,{spinning:Cn},(St==null?void 0:St.length)>0?he.createElement(he.Fragment,null,he.createElement(ve.default.DirectoryTree,{height:500,className:Be.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:it,treeData:St,onDrop:oe,titleRender:vt=>he.createElement(he.Fragment,null,he.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},vt==null?void 0:vt.title),he.createElement("div",{className:`${Be.EditDom}`},he.createElement(Ae.Z,{wrap:!1,align:"middle",gutter:16},he.createElement(we.Z,null,he.createElement(fe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},he.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Be.currentPrimary}`}))),he.createElement(we.Z,null,he.createElement(fe.Z,{title:"\u7F16\u8F91"},he.createElement("i",{className:`iconfont icon-bianji11 font12 ${Be.currentPrimary}`,onClick:et=>{et.stopPropagation(),Vt.setFieldsValue($e({},vt)),Nn(!0)}}))),he.createElement(we.Z,null,he.createElement(fe.Z,{title:"\u5220\u9664"},he.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Be.currentDelete}`,onClick:et=>{et.stopPropagation(),at.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>dt(void 0,null,function*(){const lt=yield Se({id:vt==null?void 0:vt.key});(lt==null?void 0:lt.status)==0&&(Ne.ZP.success((lt==null?void 0:lt.message)||"\u5220\u9664\u6210\u529F"),Bn({},!0))})})}}))))))}),he.createElement(ke.op,{className:"ml20 mt20",icon:he.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Ln(!0),Nn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):he.createElement(He.Z,{styles:{margin:"30px auto"},customText:he.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",he.createElement("a",{onClick:()=>{Ln(!0),Nn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),he.createElement(Ue.default,{title:fn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:cn,okText:fn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{Vt.submit()}},he.createElement(At.default,{form:Vt,onFinish:Ye},fn&&he.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"),he.createElement(At.default.Item,{hidden:!0,name:"id"}),he.createElement(At.default.Item,{className:"mt10",name:"value"},he.createElement(ze.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var Lt=(0,Me.connect)(({loading:Re,user:Rt})=>({user:Rt,loading:Re.effects}))(Je)},67824:function(Tn,Xt,ce){"use strict";ce.d(Xt,{h:function(){return qe}});var he=ce(59301),Me=ce(57809),Ue=ce(78241),At=ce(3113),Ne=ce(89780),Le=ce.n(Ne),ve=ce(22054),Ae=ce(68305),we=Object.defineProperty,fe=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,He=(We,Ze,$e)=>Ze in We?we(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:$e}):We[Ze]=$e,ke=(We,Ze)=>{for(var $e in Ze||(Ze={}))_e.call(Ze,$e)&&He(We,$e,Ze[$e]);if(Be)for(var $e of Be(Ze))Oe.call(Ze,$e)&&He(We,$e,Ze[$e]);return We},Te=(We,Ze)=>fe(We,ze(Ze));const Pe=Me.default.Option,Xe={labelCol:{span:4},wrapperCol:{span:20}},Ke={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"]};Xt.Z=({callback:We,onCancel:Ze})=>{const[$e,rt]=(0,he.useState)("python");function ht(xt){rt(Ke[xt][1])}function dt(xt){We(xt)}return he.createElement(Ue.default,Te(ke({},Xe),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:dt,style:{width:500}}),he.createElement(Ue.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(Me.default,{getPopupContainer:xt=>xt.parentNode,onChange:ht},Object.keys(Ke).map(xt=>he.createElement(Pe,{key:xt,value:xt},Ke[xt][0])))),he.createElement(Ue.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(qe,{mode:$e})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(At.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(At.ZP,{type:"ghost",onClick:Ze},"\u53D6\u6D88")))};function qe({value:We,onChange:Ze,mode:$e,options:rt={}}){const ht=(0,he.useRef)(),[dt,xt]=(0,he.useState)();return(0,he.useEffect)(()=>{if(dt){let Je=function(Lt){const Re=Lt.getValue();Ze&&Ze(Re)};return dt.on("change",Je),()=>{dt.off("change",Je)}}},[dt,Ze]),(0,he.useEffect)(()=>{dt&&dt.setOption("mode",$e)},[dt,$e]),(0,he.useEffect)(()=>{dt&&(We!==dt.getValue()||We==="")&&setTimeout(()=>{dt.setValue(We||"")},300)},[dt,We]),(0,he.useEffect)(()=>{if(ht.current&&!dt){const Je=Le().fromTextArea(ht.current,ke({mode:$e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},rt));xt(Je)}},[ht.current,dt]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:ht}))}},74972:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ro}});var he=ce(59301),Me=ce(89780),Ue=ce.n(Me),At=ce(76374),Ne=ce(22054),Le=ce(6313),ve=ce(25717),Ae=ce(99498),we=ce(25419),fe=ce(67549),ze=ce(58997),Be=({value:Pi="",className:Ii,showTextOnly:Si,showLines:gi,style:Ea={}})=>{const Fn=(0,he.useMemo)(()=>"",[Pi]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:Fn}}))},_e=ce(59301),Oe=Object.defineProperty,He=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Ke=(Pi,Ii,Si)=>Ii in Pi?Oe(Pi,Ii,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Ii]=Si,qe=(Pi,Ii)=>{for(var Si in Ii||(Ii={}))Pe.call(Ii,Si)&&Ke(Pi,Si,Ii[Si]);if(Te)for(var Si of Te(Ii))Xe.call(Ii,Si)&&Ke(Pi,Si,Ii[Si]);return Pi},We=(Pi,Ii)=>He(Pi,ke(Ii));let Ze=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function $e({onActionCallback:Pi,title:Ii,icon:Si,actionName:gi,className:Ea="",children:Fn}){function Dt(){Pi(gi)}return _e.createElement("a",{title:Ii,className:Ea,onClick:Dt},_e.createElement("i",{className:`${Si}`}),Fn)}var rt=({watch:Pi,showNullButton:Ii,showNullProgramButton:Si,onActionCallback:gi,fullScreen:Ea,insertTemp:Fn,hidetoolBar:Dt,extraUse:Gt})=>{const Zt=[...Ze,{title:`${Pi?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Pi?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return _e.createElement("ul",{className:"markdown-toolbar-container"},!Dt&&Zt.map((jt,on)=>_e.createElement("li",{key:on},jt.actionName?_e.createElement($e,We(qe({},jt),{onActionCallback:gi})):_e.createElement("span",{className:"v-line"}))),Ii?_e.createElement("li",null,_e.createElement($e,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Si?_e.createElement(_e.Fragment,null,_e.createElement("li",null,_e.createElement($e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),_e.createElement("li",null,_e.createElement($e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Fn&&_e.createElement("li",null,_e.createElement($e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Fn}`,onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Gt&&_e.createElement("li",null,Gt),_e.createElement("li",{className:"btn-full-screen"},_e.createElement($e,{icon:`${Ea?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ea?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:gi})))},ht=ce(62488),dt=ce(78241),xt=ce(92832),Je=ce(3113),Lt=Object.defineProperty,Re=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,wt=(Pi,Ii,Si)=>Ii in Pi?Lt(Pi,Ii,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Ii]=Si,it=(Pi,Ii)=>{for(var Si in Ii||(Ii={}))bt.call(Ii,Si)&&wt(Pi,Si,Ii[Si]);if(Ft)for(var Si of Ft(Ii))Tt.call(Ii,Si)&&wt(Pi,Si,Ii[Si]);return Pi},je=(Pi,Ii)=>Re(Pi,Rt(Ii));const at={labelCol:{span:4},wrapperCol:{span:20}};var Yt=({callback:Pi,onCancel:Ii})=>{function Si(gi){Pi(gi)}return he.createElement(dt.default,je(it({},at),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Si,style:{width:500}}),he.createElement(dt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},he.createElement(xt.default,null)),he.createElement(dt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},he.createElement(xt.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Je.ZP,{type:"ghost",onClick:Ii},"\u53D6\u6D88")))},Vt=ce(67824),St=ce(22477),Qt=ce(43418),cn=ce(95237),Nn=ce(18997),fn=ce(59301),Ln=({callback:Pi,onCancel:Ii})=>{const Si=document.createElement("canvas"),gi=Si.getContext("2d");Si.width=1e3,Si.height=800,gi.fillStyle="#ffffff",gi.fillRect(0,0,Si.width,Si.height);const Ea=Si.toDataURL("image/png");return fn.createElement(Qt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},fn.createElement(cn.Z,{style:{height:"100vh"}},fn.createElement(Nn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ea,visible:!0,title:String(Date.now())},onOk:Fn=>{Pi({src:Fn.url})},onClose:Ii})))},Cn=ce(43428),Bn=ce(43604),gn=ce(8591),Se={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=ce(59301),ae=(0,he.forwardRef)(({onCancel:Pi,editImgId:Ii,callback:Si},gi)=>{let Ea=(0,he.useRef)(),Fn=(0,he.useRef)(),Dt=(0,he.useRef)(),Gt=(0,he.useRef)(!1);const Zt=(0,he.useRef)(!1);console.log("ref:",gi);const[jt,on]=(0,he.useState)(0),[Mn,ir]=(0,he.useState)("100vh");return(0,he.useEffect)(()=>{on(1);try{indexedDB.databases().then(qn=>{qn.forEach(pr=>indexedDB.deleteDatabase(pr.name))})}catch(qn){}},[]),(0,he.useImperativeHandle)(gi,()=>({setHeight:ir})),Fe.createElement("div",{ref:Zt,className:"body-overflow-initial"},Fe.createElement(Cn.Z,{width:"100vw",height:Mn,footer:null,closable:!0,placement:"bottom",open:!!jt,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Se.drawerWrap}`,onClose:()=>{window.saveDrawData(qn=>{Si({src:`/api/attachments/${qn}`,id:qn})})},title:Fe.createElement(cn.Z,{align:"middle"},Fe.createElement(Bn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(Bn.Z,{onClick:()=>{ir(Mn==="60px"?"100vh":"60px")}},Fe.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),Fe.createElement(Bn.Z,{onClick:()=>{window.saveDrawData(qn=>{if(qn===null){gn.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}gn.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Si({src:`/api/attachments/${qn}`,id:qn,disabledClose:!0})})}},Fe.createElement(Je.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},Fe.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Ii||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Fn})))}),se=ce(42684),oe=ce(5112),Ye=ce(5871);const vt=oe.ZP.Group,et={margin:"0 8px"};var lt=({callback:Pi,onCancel:Ii})=>{function Si(gi){Pi(gi)}return he.createElement(dt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Si},he.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},he.createElement("span",{style:et},"\u5355\u5143\u683C\u6570\uFF1A"),he.createElement("span",{style:et},"\u884C\u6570"),he.createElement(dt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},he.createElement(Ye.Z,null)),he.createElement("span",{style:et},"\u5217\u6570"),he.createElement(dt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},he.createElement(Ye.Z,null))),he.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},he.createElement("span",{style:et},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),he.createElement(dt.default.Item,{name:"align"},he.createElement(vt,null,he.createElement(oe.ZP,{value:"default"},he.createElement("i",{className:"fa fa-align-justify"})),he.createElement(oe.ZP,{value:"left"},he.createElement("i",{className:"fa fa-align-left"})),he.createElement(oe.ZP,{value:"center"},he.createElement("i",{className:"fa fa-align-center"})),he.createElement(oe.ZP,{value:"right"},he.createElement("i",{className:"fa fa-align-right"}))))),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Je.ZP,{type:"ghost",onClick:Ii},"\u53D6\u6D88")))},Pt=ce(78673),Mt=ce(75354),kt=ce.n(Mt),Sn=(0,he.forwardRef)(({use3d:Pi,width:Ii,height:Si,callback:gi,showSaveButton:Ea},Fn)=>{const Dt=(0,he.useRef)(),Gt=(0,he.useRef)(),[Zt,jt]=(0,he.useState)(!1),on=(0,he.useRef)({id:Dt,appName:"graphing",width:Ii||1e3,height:Si||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,he.useEffect)(()=>{Gt.current=new(kt())(on.current,!0),window.onload=function(){Gt.current.inject("applet_container")}},[]);const Mn=()=>{var ir=window.ggbApplet.getPNGBase64(1,!0,72);return gi&&gi(ir),ir};return(0,he.useEffect)(()=>{on.current.appName=Zt?"3D":"graphing",Gt.current.inject("applet_container")},[Zt]),(0,he.useEffect)(()=>{jt(Pi)},[Pi]),(0,he.useImperativeHandle)(Fn,()=>({getImgData:Mn})),he.createElement(he.Fragment,null,he.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Dt}),he.createElement(cn.Z,{align:"middle"},he.createElement(Bn.Z,{flex:1},he.createElement(Pt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Zt,onChange:ir=>jt(ir)})),he.createElement(Bn.Z,null,he.createElement(Je.ZP,{size:"large",onClick:Mn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Bt=ce(80802),nn=ce(1012);const tn="link",zt="upload-image",pt="add-flowchart",Wt="draw-image",vn="add-flowchart",xn="code-block",Wn="add-table",br="------------",Lr={default:br,left:`:${br}`,center:`:${br}:`,right:`${br}:`};var jr=ce(8204),Qr=(Pi,Ii,Si)=>new Promise((gi,Ea)=>{var Fn=Zt=>{try{Gt(Si.next(Zt))}catch(jt){Ea(jt)}},Dt=Zt=>{try{Gt(Si.throw(Zt))}catch(jt){Ea(jt)}},Gt=Zt=>Zt.done?gi(Zt.value):Promise.resolve(Zt.value).then(Fn,Dt);Gt((Si=Si.apply(Pi,Ii)).next())});function vr(){}let Ar=0;const Tr=1e4,Bi="\u2581",$i="@\u2581\u2581@",mi="@\u2581@",Mi=` **\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`,pa=["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 Dr(Pi){return/^\d+$/.test(Pi)?`${Pi}px`:Pi}const no=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ki={[no+"-B"]:"bold",[no+"-I"]:"italic"},Co={[tn]:"\u6DFB\u52A0\u94FE\u63A5",[xn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[zt]:"\u6DFB\u52A0\u56FE\u7247",[Wt]:"\u6DFB\u52A0\u753B\u56FE",[pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Wn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ro=({defaultValue:Pi="",onChange:Ii,width:Si="100%",height:gi=400,miniToolbar:Ea=!1,isFocus:Fn=!1,watch:Dt,insertTemp:Gt,mode:Zt="markdown",id:jt="markdown-editor-id",showResizeBar:on=!1,noStorage:Mn=!1,showNullButton:ir=!1,showNullProgramButton:qn=!1,hidetoolBar:pr=!1,fullScreen:Gr=!1,onBlur:Zr,onCMBeforeChange:$r,onFullScreen:Xn,className:Or="",disablePaste:ki=!1,disabled:vi=!1,disabledFill:Zi=!1,placeholder:xi="",values:Ca="",extraUse:si,onAddBlank:oa})=>{const[mn,mr]=(0,he.useState)(null),[dr,Wr]=(0,he.useState)(Pi),[wr,Mr]=(0,he.useState)(Dt),[Fr,ui]=(0,he.useState)(Gr),[yi,Hi]=(0,he.useState)(""),[Oa,Qa]=(0,he.useState)(0),[oo,La]=(0,he.useState)(gi),[Da,po]=(0,he.useState)(!1),Za=(0,he.useRef)((0,nn.Z)()),io=(0,he.useRef)(!1),va=(0,he.useRef)(),[ka,Xa]=(0,he.useState)(0),[Pa,ao]=(0,he.useState)(0),us=(0,he.useRef)(),Ya=(0,he.useRef)(),fi=(0,he.useRef)(),Rr=(0,he.useRef)(),Ra=(0,he.useRef)(),_a=(0,he.useRef)(),Va=()=>Qr(void 0,null,function*(){var ma;const sa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Za.current}});(ma=sa==null?void 0:sa.attachments)!=null&&ma.length&&(console.log("cm:",mn,us),sa.attachments.map(ra=>{ra.content_type.indexOf("image")>-1?mn.replaceSelection(`![,](/api/attachments/${ra.id}?type=${ra.content_type})`):ra.content_type.indexOf("video")>-1?mn.replaceSelection(``):ra.content_type.indexOf("pdf")>-1?mn.replaceSelection(`${ra.name}`):mn.replaceSelection(`[${ra.name}](${se.Z.API_SERVER}/api/attachments/${ra.id}?type=${ra.content_type})`)}))});(0,he.useEffect)(()=>{const ma=window.scrollY||window.pageYOffset;Wr(Ca),mn==null||mn.setValue(Ca),window.scrollTo(0,ma)},[Ca]),(0,he.useEffect)(()=>{Xn==null||Xn(Fr)},[Fr]),(0,he.useEffect)(()=>{if(us.current){let ma=function(ra,ua){var cs;if(ki){ua.preventDefault();return}const Ps=ua.clipboardData;if(Ps){const jo=Ps.types.toString(),xs=Ps.items;if(jo==="Files"||Ps.types.indexOf("Files")>-1){if(ua.preventDefault(),Zt=="stex")return;try{let Cs=xs[1];((cs=xs[0])==null?void 0:cs.kind)==="file"&&(Cs=xs[0]);const $s=Cs.getAsFile(),ru=$s.name.split(".").pop();(0,St.I)($s,or=>{var Qn,Nr,Di;or.id?((Qn=$s==null?void 0:$s.type)==null?void 0:Qn.indexOf("image"))>-1?sa.replaceSelection(``):((Nr=$s==null?void 0:$s.type)==null?void 0:Nr.indexOf("video"))>-1?sa.replaceSelection(``):((Di=$s==null?void 0:$s.type)==null?void 0:Di.indexOf("pdf"))>-1?sa.replaceSelection(`${$s.name}`):pa.includes(ru)?sa.replaceSelection(`${$s.name}`):sa.replaceSelection(`[${$s.name}](/api/attachments/${or.id}?type=${or.content_type})`):(or==null?void 0:or.status)===401&&(gn.ZP.warning((or==null?void 0:or.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Cs){gn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const sa=Ue().fromTextArea(us.current,{mode:Zt,lineNumbers:!Ea,lineWrapping:!0,value:Pi,autoCloseTags:!qn,autoCloseBrackets:!0});return sa.on("keyup",function(ra,ua){ua.keyCode===8&&(ra.getValue()==""?sa.setOption("placeholder",xi):sa.setOption("placeholder",null))}),sa.on("keydown",function(ra,ua){if(ua.keyCode===8){var cs=go(ra);cs&&ua.preventDefault()}}),Fn&&sa.focus(),sa.on("paste",ma),sa.on("dragleave",function(ra,ua){Ya.current.classList.remove("mouse-hover-md")}),vi&&sa.on("beforeChange",function(ra,ua){(ua.origin==="paste"||ua.origin==="+input")&&ua.cancel()}),mr(sa),()=>{sa.off("paste",ma)}}},[]);const Mo=(0,he.useCallback)(()=>{if(Ya.current)try{}catch(ma){console.log(ma,"---- to set md editor body height")}},[oo,Ya,Fr]);(0,he.useEffect)(()=>{function ma(){let sa=new At.Z(ra=>{for(let ua of ra)(ua.target.offsetHeight>0||ua.target.offsetWidth>0)&&(Mo(),mn.setSize("100%","100%"),mn.refresh())});return sa.observe(us.current.parentElement),sa}if(mn){const sa=ma();return()=>{var ra,ua;(ra=us.current)!=null&&ra.parentElement&&sa.unobserve((ua=us.current)==null?void 0:ua.parentElement)}}},[mn,Mo]),(0,he.useEffect)(()=>{if(mn){let ma=[];for(const[sa,ra]of Object.entries(Ki)){let ua={[sa]:()=>{As(ra)}};ma.push(ua),mn.addKeyMap(ua)}return va.current=setInterval(()=>{io.current&&Va()},4e3),()=>{clearInterval(va.current);for(let sa of ma)mn.removeKeyMap(sa)}}},[mn]),(0,he.useEffect)(()=>{Gr!==Fr&&ui(Gr)},[Gr]),(0,jr.Z)(()=>{if(!Mn&&Oa>0){let ma=new Date().getTime(),sa=window.sessionStorage.getItem(jt);ma>=Oa+Tr&&(!sa||sa!==dr)&&(window.sessionStorage.setItem(jt,dr),po(!0))}},Tr),(0,he.useEffect)(()=>{Mr(Dt)},[mn,Dt]),(0,he.useEffect)(()=>{mn&&Fn&&mn.focus()},[mn,Fn]),(0,he.useEffect)(()=>{if(wr&&mn){let ma=function(ra){let ua=ra.target;if(Rr.current){let cs=ua.scrollTop/ua.scrollHeight;Rr.current.scrollTop=Rr.current.scrollHeight*cs}};const sa=mn.getScrollerElement();return sa.addEventListener("scroll",ma),()=>{sa.removeEventListener("scroll",ma)}}},[mn,wr]),(0,he.useEffect)(()=>{if(mn&&$r){let ma=function(sa,ra){$r(sa,ra)};return mn.on("beforeChange",ma),()=>{mn.off("beforeChange",ma)}}},[mn,$r]),(0,he.useEffect)(()=>{if(mn&&Zr){let ma=function(){Zr(mn.getValue())};return mn.on("blur",ma),()=>{mn.off("blur",ma)}}},[mn,Zr]);function go(ma,sa){var ra=ma.getDoc(),ua=ra.getCursor(),cs=ra.getLine(ua.line),Ps=cs.charAt(ua.ch-1),jo=cs.lastIndexOf("@\u2581@",ua.ch),xs=cs.lastIndexOf("@\u2581\u2581@",ua.ch),Cs=jo>xs?jo:xs,$s=jo>xs?3:4;if($i.indexOf(Ps)===-1)return null;if(console.log("change1:",sa,ma,cs,ua,Cs,jo,xs,Ps),Cs>=0&&ua.ch-Cs<5){var ru=Cs+$s;return ra.replaceRange("",{line:ua.line,ch:Cs},{line:ua.line,ch:ru}),{line:ua.line,ch:ru}}return null}(0,he.useEffect)(()=>{if(mn){let ma=function(sa,ra){const ua=sa.getValue();Wr(ua),Qa(new Date().getTime()),sa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ii&&(qn?Ii(ua,er(ua)):Ii(ua))};return mn.on("change",ma),()=>{mn.off("change",ma)}}},[mn,Ii]),(0,he.useEffect)(()=>{if(mn)if(Pi==null)mn.setValue(""),Wr("");else{const ma=window.scrollY||window.pageYOffset;Pi!==mn.getValue()&&(mn.setValue(Pi),Wr(Pi),mn.setCursor(vi?1:mn.lineCount(),0),window.scrollTo(0,ma))}},[mn,Pi]);const As=(0,he.useCallback)(ma=>{const sa=mn.getCursor(),ra=mn.getSelection();let ua=ra.split(` `);switch(ma){case"bold":return mn.replaceSelection("**"+ra+"**"),ra===""&&mn.setCursor(sa.line,sa.ch+2),mn.focus();case"italic":return mn.replaceSelection("*"+ra+"*"),ra===""&&mn.setCursor(sa.line,sa.ch+1),mn.focus();case"code":return mn.replaceSelection("`"+ra+"`"),ra===""&&mn.setCursor(sa.line,sa.ch+1),mn.focus();case"inline-latex":return Hi("inline-latex"),mn.focus();case"latex":return mn.replaceSelection("```latex\n"+ra+"\n```"),mn.setCursor(sa.line+1,ra.length+1),mn.focus();case"line-break":return mn.replaceSelection(`
`),mn.focus();case"list-ul":return ra===""?mn.replaceSelection("- "+ra):mn.replaceSelection(ua.map(cs=>cs===""?"":`- ${cs}`).join(` `)),mn.focus();case"list-ol":return ra===""?mn.replaceSelection("1. "+ra):mn.replaceSelection(ua.map((cs,Ps)=>cs===""?"":`${Ps+1}. ${cs}`).join(` `)),mn.focus();case"add-null-ch":oa==null||oa();return;case"add-signal":return ra===""&&mn.setCursor(sa.line,sa.ch),mn.replaceSelection(mi),mn.focus();case"add-multiple":return ra===""&&mn.setCursor(sa.line,sa.ch),mn.replaceSelection($i),mn.focus();case"inster-template-1":return ra===""&&mn.setCursor(sa.line,sa.ch),mn.replaceSelection(Mi),mn.focus();case"eraser":return mn.setValue(""),mn.focus();case"trigger-watch":return Mr(!wr),mn.focus();case"trigger-full-screen":return ui(!Fr),mn.focus();case tn:Hi(tn);return;case xn:Hi(xn);return;case zt:Hi(zt);return;case Wt:Hi(Wt);return;case"maths-latex":Hi("maths-latex");return;case pt:Ra.current="",sessionStorage.removeItem("file_id"),Hi(pt);return;case Wn:Hi(Wn);return;default:throw new Error}},[mn,wr,Fr]),_o=(0,he.useCallback)((ma,sa)=>{var ra,ua,cs,Ps,jo,xs;Hi("");const{src:Cs,alt:$s,id:ru}=ma||{};switch(yi){case tn:const{title:Io,link:lr}=ma;return mn.replaceSelection(`[${Io}](${lr})`),mn.focus();case xn:const{language:Jn,content:Un}=ma;return mn.replaceSelection(["```"+Jn,Un,"```"].join(` `)),mn.focus();case"maths-latex":for(var or=atob(ma),Qn=new Uint8Array(or.length),Nr=0;Nr{Ji.id?mn.replaceSelection(`![,](/api/attachments/${Ji.id}?type=${Ji.content_type})`):(Ji==null?void 0:Ji.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":mn.replaceSelection("`$$"+ma+"$$`");break;case vn:if(!ru)return;mn.focus(),mn.getValue().indexOf(Cs)===-1?mn.replaceSelection(`
${$s||
`):document.getElementById(ru).src=se.Z.API_SERVER+Cs+"?t="+Date.now();try{setTimeout(()=>{Zr(mn.getValue())},100)}catch(Ji){}break;case zt:case Wt:const cr=sa,Ur=(cs=(ua=(ra=cr==null?void 0:cr.name)==null?void 0:ra.split("."))==null?void 0:ua.pop)==null?void 0:cs.call(ua);return((Ps=cr==null?void 0:cr.type)==null?void 0:Ps.indexOf("image"))>-1||!(cr!=null&&cr.type)?cr!=null&&cr.align||cr!=null&&cr.width?mn.replaceSelection(`

${$s||

`):mn.replaceSelection(`${$s||`):((jo=cr==null?void 0:cr.type)==null?void 0:jo.indexOf("video"))>-1?mn.replaceSelection(``):((xs=cr==null?void 0:cr.type)==null?void 0:xs.indexOf("pdf"))>-1?mn.replaceSelection(`${cr.name}`):pa.includes(Ur)?mn.replaceSelection(`${cr.name}`):mn.replaceSelection(`[${cr.name}](${Cs})`),mn.focus();case Wn:const{row:bi,col:xr,align:Hr}=ma;let ji=` `;for(let Ji=0;Ji{switch(yi){case tn:return he.createElement(Yt,{callback:_o,onCancel:Sa});case xn:return he.createElement(Vt.Z,{callback:_o,onCancel:Sa});case zt:return he.createElement(St.Z,{callback:_o,onCancel:Sa});case pt:return he.createElement(ae,{editImgId:Ra.current,callback:_o,onCancel:Sa});case Wn:return he.createElement(lt,{callback:_o,onCancel:Sa});case"maths-latex":return he.createElement(Sn,{showSaveButton:!0,callback:_o});case"inline-latex":return he.createElement(Bt.Z,{showSaveButton:!0,callback:_o});default:return null}},[yi]);function Sa(){Hi("")}(0,he.useEffect)(()=>{if(fi.current){let ma=function(jo){cs=!0,Ps=jo.pageY},sa=function(){cs=!1},ra=function(jo){if(cs){let xs=jo.pageY-Ps;xs<0&&(xs=0),xs>300&&(xs=300);let Cs=gi+xs+"px";La(Cs)}},ua=fi.current,cs=!1,Ps=0;return ua.addEventListener("mousedown",ma),document.addEventListener("mousemove",ra),document.addEventListener("mouseup",sa),()=>{ua.removeEventListener("mousedown",ma),document.removeEventListener("mousemove",ra),document.removeEventListener("mouseup",sa)}}},[mn,fi]),(0,he.useEffect)(()=>{La(gi)},[gi]);const xa=Dr(Si),Bo=Dr(oo),So={width:xa,height:Bo},Ms=(0,he.useMemo)(()=>{if(Oa){let ma=new Date(Oa),sa=ma.getHours(),ra=ma.getMinutes(),ua=ma.getSeconds();return sa=sa<10?"0"+sa:sa,ra=ra<10?"0"+ra:ra,ua=ua<10?"0"+ua:ua,`${sa}:${ra}:${ua}`}return 0},[Oa]),er=ma=>{const sa=[];if(qn){let ra=-1;ma=ma.replace(/(@▁▁@|@▁@)/g,function(ua,cs,Ps){sa.push({multiLine:ua!==mi})})}return sa};function Qs(){window.sessionStorage.removeItem(jt),po(!1),Qa(0)}function fs(){po(!1),Qa(0),mn.setValue(window.sessionStorage.getItem(jt))}(0,he.useEffect)(()=>{Co[yi]&&yi!==Wt&&yi!==pt&&setTimeout(()=>{const ma=document.getElementsByClassName("markdown-popup-form")[0],sa=window.innerWidth/2-ma.offsetWidth/2,ra=window.innerHeight/2-ma.offsetHeight/2;Xa(sa),ao(ra)},0)},[yi]);const Zs=ma=>{ma.preventDefault();const sa=ma.clientX-ka,ra=ma.clientY-Pa;document.body.onmousemove=ua=>{let cs=ua.clientX-sa,Ps=ua.clientY-ra;const jo=document.getElementsByClassName("markdown-popup-form")[0],xs=window.innerWidth-jo.offsetWidth,Cs=window.innerHeight-jo.offsetHeight;cs=Math.max(0,Math.min(cs,xs)),Ps=Math.max(0,Math.min(Ps,Cs)),qs(ua.clientX,ua.clientY,sa,ra)&&(Xa(cs),ao(Ps))},document.body.onmouseup=function(){document.body.onmousemove=null}},qs=(ma,sa,ra,ua)=>{const cs=document.body.clientHeight,Ps=document.body.clientWidth;return ma<20&&ra>ma||ma>Ps-20&&rasa||sa>cs-20&&ua{var sa;Ra.current=ma,(sa=_a.current)==null||sa.setHeight("100vh"),setTimeout(()=>{Hi("add-flowchart")},150)}})):null))),on?he.createElement("a",{ref:fi,className:"editor-resize"}):null,yi===Wt&&he.createElement(Ln,{callback:_o,onCancel:Sa}),yi===pt&&he.createElement(ae,{ref:_a,editImgId:Ra.current,callback:_o,onCancel:Sa}),he.createElement(ht.Z,null,Co[yi]&&yi!==Wt&&yi!==pt?he.createElement(Qt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ka,top:Pa},title:he.createElement("div",{style:{cursor:"move"},onMouseDown:Zs},Co[yi]),open:!0,onCancel:Sa,footer:null,destroyOnClose:!0,width:yi===pt?"1200px":null,height:yi===pt?"80vh":null,className:"markdown-popup-form"},Js):null))}},22477:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return $e},I:function(){return ht}});var he=ce(78241),Me=ce(8591),Ue=ce(92832),At=ce(81327),Ne=ce(5871),Le=ce(5112),ve=ce(3113),Ae=ce(32546),we=ce(59301),fe=ce(36466),ze=ce(59301),Be=Object.defineProperty,_e=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Pe=(dt,xt,Je)=>xt in dt?Be(dt,xt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):dt[xt]=Je,Xe=(dt,xt)=>{for(var Je in xt||(xt={}))ke.call(xt,Je)&&Pe(dt,Je,xt[Je]);if(He)for(var Je of He(xt))Te.call(xt,Je)&&Pe(dt,Je,xt[Je]);return dt},Ke=(dt,xt)=>_e(dt,Oe(xt));const{useForm:qe}=he.default,We={width:280,marginRight:10},Ze={labelCol:{span:5},wrapperCol:{span:19}};var $e=({callback:dt,onCancel:xt})=>{const[Je]=qe();let Lt=(0,we.useRef)();function Re(bt){Lt.current.width=Je.getFieldValue("width"),Lt.current.align=Je.getFieldValue("align"),dt(bt,Lt.current)}function Rt(bt,Tt){if(bt.status===-1){Me.ZP.error(bt.message);return}Je.setFieldsValue({src:`/api/attachments/${bt.id}`,type:Tt.type})}function Ft(bt){let Tt=bt.target.files[0];Lt.current=Tt,ht(Tt,Rt)}return ze.createElement(he.default,Ke(Xe({form:Je},Ze),{className:"upload-image-panel",onFinish:Re,style:{width:470,overflow:"hidden"}}),ze.createElement(he.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(he.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(Ue.default,{style:We})),ze.createElement(rt,{onFileChange:Ft}))),ze.createElement(he.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(Ue.default,{style:{width:264}})),ze.createElement(he.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(At.Z,null,ze.createElement(he.default.Item,{name:"width",style:{margin:0}},ze.createElement(Ne.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(he.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Le.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ze.createElement("aside",null,ze.createElement(he.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(ve.ZP,{type:"default",onClick:xt},"\u53D6\u6D88"))))};function rt({onFileChange:dt}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:dt}))}function ht(dt,xt){if(!dt)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,fe.bg)())throw Me.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Je=new FormData;Je.append("editormd-image-file",dt),Je.append("file_param_name","editormd-image-file"),Je.append("byxhr","true");var Lt=new window.XMLHttpRequest;Lt.withCredentials=!0,Lt.addEventListener("load",function(Re){xt(JSON.parse(Re.target.responseText),dt)},!1),Lt.addEventListener("error",function(Re){console.error(Re)},!1),Lt.open("POST",`${Ae.KI}/api/attachments.json`),Lt.send(Je)}},62488:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ue}});var he=ce(59301),Me=ce(4676);class Ue extends he.Component{constructor(Ne){super(Ne);const Le=window.document;this.node=Le.createElement("div"),Le.body.appendChild(this.node)}render(){const{children:Ne}=this.props;return(0,Me.createPortal)(Ne,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},88276:function(Tn,Xt,ce){"use strict";ce.d(Xt,{i:function(){return Ze},Z:function(){return rt}});var he={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"},Me=ce(71418),Ue=ce(6848),At=ce(93948),Ne=ce(92310),Le=ce.n(Ne),ve=ce(85333),Ae=ce(61648),we=ce(36466),fe=ce(79005),ze=ce(20345),Be=ce(47027),_e=ce(31081),Oe=ce(75309),He=ce(71979),ke=ce(47558),Te=ce(42922),Pe=ce(66832),Xe=ce(96593),Ke=ce(19664),qe=ce(91833),We=ce(59301);const Ze=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:fe,swimg:ze},{name:"101\u8BA1\u5212",ptimg:Be,swimg:_e},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Oe,swimg:He},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ke,swimg:Te},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Pe,swimg:Xe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ke,swimg:qe}];var rt=({className:ht,dataSource:dt=[],col:xt=4,right:Je,bottom:Lt=23,precision:Re=0,wrapWidth:Rt=1200,trackEventItems:Ft,loading:bt,onRemove:Tt=()=>{},isCurrent:wt=!0,showAlias:it=!1,showProgress:je=!1})=>{const at=Math.floor((Rt-(xt-1)*Je)/xt),Yt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Vt=>(window.ENV==="build"&&(Vt.ptimg=`/react/build${Vt.ptimg}`,Vt.swimg=`/react/build${Vt.swimg}`),Vt));return We.createElement(Me.Z,{spinning:bt},We.createElement("div",{className:Le()(he.list,ht)},!!(dt!=null&&dt.length)&&(dt==null?void 0:dt.map((Vt,St)=>{var Qt,cn,Nn,fn,Ln,Cn;const{name:Bn,id:gn,identifier:Se,featured:Fe,school_name:ie,image_url:ae,excellent:se,is_plan:oe}=Vt;return We.createElement("div",{key:gn,className:wt&&je?he.wrapisCurrent:he.wrap,style:{width:at,marginRight:(1+St)%xt===0?0:Je+Re,marginBottom:Lt}},We.createElement("a",{className:he.li,onClick:Ye=>{Ye.preventDefault(),Ye.stopPropagation(),Ft&&(0,ve.L9)([Ft]),(0,ve.xg)(`/paths/${Se}`)}},We.createElement("div",{className:he.img},We.createElement("img",{className:he.cover,src:`${ae}`}),wt&&(0,we.bg)()&&(Vt==null?void 0:Vt.studying)&&We.createElement("div",{className:`${he.movebq} user-path-items`,onClick:Ye=>{Ye.stopPropagation(),Tt(Vt)}},We.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),We.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Qt=Vt==null?void 0:Vt.subject_tags)==null?void 0:Qt.map((Ye,vt)=>{var et,lt;if(vt===0){const Mt=(et=Yt.find(kt=>kt.name==Ye))==null?void 0:et.swimg;return We.createElement("img",{className:he.sign,src:Mt,style:{left:"-4px"}})}const Pt=(lt=Yt.find(Mt=>Mt.name==Ye))==null?void 0:lt.ptimg;return We.createElement("img",{className:he.sign,src:Pt,style:{left:`${48+52*(vt-1)+2*vt}px`}})}),We.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Vt==null?void 0:Vt.excellent)&&We.createElement("div",{className:he.bq},"\u5F00\u653E\u8BFE\u7A0B"))),We.createElement("div",{className:he.name},We.createElement(Ue.Z,{title:it&&(Vt!=null&&Vt.excellent_alias_name)?We.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Bn}`,We.createElement("br",null),We.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Vt==null?void 0:Vt.excellent_alias_name}`)):Bn},We.createElement("span",{className:he.e},it&&(Vt==null?void 0:Vt.excellent_alias_name)||Bn))),wt&&je&&((cn=Vt==null?void 0:Vt.progress)==null?void 0:cn.all_score)!=0&&We.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},We.createElement(At.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Nn=Vt==null?void 0:Vt.progress)==null?void 0:Nn.my_score)/((fn=Vt==null?void 0:Vt.progress)==null?void 0:fn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ln=Vt==null?void 0:Vt.progress)==null?void 0:Ln.my_score,"/",(Cn=Vt==null?void 0:Vt.progress)==null?void 0:Cn.all_score),(!wt||!je)&&We.createElement("div",{className:he.tags},We.createElement("div",null,We.createElement(Ue.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),We.createElement("span",null,Vt.stages_count))),We.createElement(Ue.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),We.createElement("span",null,Vt.members_count)))))))})),!dt.length&&We.createElement(Ae.Z,null)))}},92090:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Le}});var he=ce(59301),Me={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ue=ce(92310),At=ce.n(Ue),Le=({dataSource:ve=[],value:Ae,onChange:we,className:fe,style:ze={}})=>he.createElement("div",{style:ze,className:At()(Me.tabs,fe)},ve.map(Be=>he.createElement("span",{onClick:()=>we(Be.id),className:Ae===Be.id?Me.active:"",key:Be.id},Be.name)))},93351:function(Tn,Xt,ce){"use strict";ce.d(Xt,{jL:function(){return Ne},w9:function(){return no},vv:function(){return Ea},dN:function(){return Pi},QD:function(){return va},cQ:function(){return oe.Z},vg:function(){return mi},Oz:function(){return Qr},op:function(){return oo},O5:function(){return So},_b:function(){return Ya},t7:function(){return xt},tT:function(){return Re},Gi:function(){return Zr},YG:function(){return Zt},Ed:function(){return pr},kT:function(){return Mn},qp:function(){return Te},Um:function(){return Ze},K3:function(){return Ke},vr:function(){return Pa},qE:function(){return po},Je:function(){return bt},wb:function(){return fn},rC:function(){return se},lB:function(){return Bn},cq:function(){return Zi},kO:function(){return oa},tp:function(){return $e.Z},Si:function(){return Qs},k8:function(){return Io},Du:function(){return cs}});var he=ce(59301),Me={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"},Ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwM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TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ne=({dataSource:lr=[],img:Jn,imgWidth:Un=346,title:cr,sunTitle:Ur,bannerExtraContent:bi})=>he.createElement("div",{className:Me.banner},he.createElement("div",{className:Me.content},he.createElement("aside",null,he.createElement("p",null,he.createElement("b",null,cr),he.createElement("span",null,Ur)),lr.length>0&&he.createElement("div",{className:Me.btns},lr.map((xr,Hr)=>he.createElement("div",{key:Hr,onClick:xr.click},xr.name,xr.sign?he.createElement("img",{src:Ue,width:39}):null))),bi),Jn&&he.createElement("img",{style:{marginTop:33,marginRight:38},src:Jn,width:Un}))),Le={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ve=ce(92310),Ae=ce.n(ve),we=ce(78267),fe=Object.defineProperty,ze=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Oe=(lr,Jn,Un)=>Jn in lr?fe(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,He=(lr,Jn)=>{for(var Un in Jn||(Jn={}))Be.call(Jn,Un)&&Oe(lr,Un,Jn[Un]);if(ze)for(var Un of ze(Jn))_e.call(Jn,Un)&&Oe(lr,Un,Jn[Un]);return lr},Te=({dataSource:lr=[],value:Jn,onChange:Un,onTitleChange:cr,className:Ur,title:bi,titleWidth:xr=41,style:Hr={},fontColor:ji="#6A7283",showCount:Ji,classNameActive:ca,styleItem:Xr={}})=>{const[Ni,ia]=(0,he.useState)(0),[Ma,Oi]=(0,he.useState)(!1),da=(0,he.useRef)(null),Lo=(0,he.useRef)(null);return(0,he.useEffect)(()=>{var co;lr.length!==0&&(((co=da==null?void 0:da.current)==null?void 0:co.clientHeight)>97?ia(1):ia(0)),lr.length===0&&ia(0),Oi(!1)},[lr]),he.createElement("div",{className:Ae()(Le.row,Ur),style:Hr},he.createElement("div",{onClick:(0,we.throttle)(()=>cr==null?void 0:cr(),2e3),style:{width:xr,marginTop:Ma?12:4},className:`${Le.title} ${cr?"current":""}`},bi),he.createElement("div",{className:Ma?`${Le.tagsWrap} ${Le.tagsBorderWrap}`:Le.tagsWrap},he.createElement("div",{className:Le.bar,ref:Lo,style:Ni>0?{height:Ni===1?97:"auto",overflow:Ni===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},he.createElement("div",{className:Le.tag,ref:da},lr==null?void 0:lr.map(co=>he.createElement("span",{onClick:()=>Un(co.id),key:co.id,style:He(He({color:ji},Xr),(co==null?void 0:co.style)||{}),className:Jn===co.id?Ae()(ca||Le.active,co.classNameActive):""},he.createElement("span",{title:co.name,className:Le.name},co.name),!!Ji&&he.createElement("span",{className:Le.num},co.count))))),!!Ni&&he.createElement(he.Fragment,null,Ni===1?he.createElement("div",{onClick:()=>{var co;ia(2),((co=da==null?void 0:da.current)==null?void 0:co.clientHeight)>245?Oi(!0):Oi(!1)},className:Le.action},"\u5C55\u5F00",he.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):he.createElement("div",{onClick:()=>{Lo.current.scrollTop=0,ia(1),Oi(!1)},className:Le.action},"\u6536\u8D77",he.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Pe={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"},Ke=({dataSource:lr=[],value:Jn,onChange:Un,onTitleChange:cr,className:Ur,title:bi,titleWidth:xr=41,style:Hr={},fontColor:ji="#6A7283",showCount:Ji,expand:ca=!0})=>{const[Xr,Ni]=(0,he.useState)(0),[ia,Ma]=(0,he.useState)(!1),Oi=(0,he.useRef)(null),da=(0,he.useRef)(null),[Lo,co]=(0,he.useState)(ca);return he.createElement("div",{className:Ae()(Pe.row,Ur),style:Hr},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,we.throttle)(()=>cr==null?void 0:cr(),2e3),style:{width:xr,marginTop:ia?12:4},className:`${Pe.title} ${cr?"current":""}`},bi),he.createElement("i",{className:`iconfont ${Lo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Lo?8:10},onClick:()=>co(!Lo)})),Lo&&he.createElement("div",{className:ia?`${Pe.tagsWrap} ${Pe.tagsBorderWrap}`:Pe.tagsWrap},he.createElement("div",{className:Pe.fenge}),he.createElement("div",{className:Pe.bar,ref:da},he.createElement("div",{className:Pe.tag,ref:Oi},lr==null?void 0:lr.map(To=>he.createElement("span",{onClick:()=>Un(To.id),key:To.id,style:{color:ji},className:Jn===To.id?Pe.active:""},he.createElement("span",{title:To.name,className:Pe.name},To.name),!!Ji&&he.createElement("span",{className:Pe.num},To.count)))))))},qe={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"},Ze=({dataSource:lr=[],value:Jn,onChange:Un,onTitleChange:cr,className:Ur,title:bi,titleWidth:xr=41,style:Hr={},fontColor:ji="#fff",showCount:Ji,expand:ca=!0})=>{const[Xr,Ni]=(0,he.useState)(0),[ia,Ma]=(0,he.useState)(!1),Oi=(0,he.useRef)(null),da=(0,he.useRef)(null),[Lo,co]=(0,he.useState)(ca);return he.createElement("div",{className:Ae()(qe.row,Ur),style:Hr},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,we.throttle)(()=>cr==null?void 0:cr(),2e3),style:{width:xr},className:`${qe.title} ${cr?"current":""}`},bi),he.createElement("i",{className:`iconfont ${Lo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Lo?"#00DDC7":"#037F74",fontSize:Lo?10:12},onClick:()=>co(!Lo)})),Lo&&he.createElement("div",{className:ia?`${qe.tagsWrap} ${qe.tagsBorderWrap}`:qe.tagsWrap},he.createElement("div",{className:qe.bar,ref:da},he.createElement("div",{className:qe.tag,ref:Oi},lr==null?void 0:lr.map(To=>he.createElement("span",{onClick:()=>Un(To.id),key:To.id,style:{color:ji},className:Jn===To.id?qe.active:""},he.createElement("span",{title:To.name,className:qe.name},To.name),!!Ji&&he.createElement("span",{className:qe.num},To.count)))))))},$e=ce(92090),rt={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"},ht=ce(92832),xt=({dataSource:lr=[],value:Jn="",onChange:Un,onInputChange:cr=()=>{},className:Ur,style:bi={},placeholder:xr,allowClear:Hr=!1})=>{var ji;const[Ji,ca]=(0,he.useState)(""),[Xr,Ni]=(0,he.useState)("");(0,he.useEffect)(()=>{var Oi;let da=Jn;(Oi=JSON.stringify(Jn))!=null&&Oi.includes("{")&&(ca(Jn.id),da=Jn.value||"");try{Ni(decodeURIComponent(da||""))}catch(Lo){Ni(decodeURIComponent(da||""))}},[Jn]);const ia=()=>{Un(encodeURIComponent(Xr),Ji||null)},Ma=Oi=>{Oi!==Ji&&(ca(Oi),Un(encodeURIComponent(Xr),Oi))};return he.createElement("div",{className:Ae()(rt.input,Ur),style:bi},!!lr.length&&he.createElement("div",{className:rt.dropdown},he.createElement("div",{className:rt.text},(ji=lr.find(Oi=>Oi.id===Ji))==null?void 0:ji.name,he.createElement("i",{className:"iconfont icon-zhankai4"}),he.createElement("b",{className:rt.b1}),he.createElement("b",{className:rt.b2})),he.createElement("div",{className:rt.menu},lr.map((Oi,da)=>he.createElement("div",{key:da,onClick:()=>Ma(Oi.id)},Oi.name)))),he.createElement(ht.default,{onPressEnter:ia,value:Xr,onChange:Oi=>{Ni(Oi.target.value),cr(encodeURIComponent(Oi.target.value),Ji||null)},bordered:!1,placeholder:xr}),he.createElement("i",{onClick:ia,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Je={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"},Re=({dataSource:lr=[],value:Jn="",onChange:Un,onInputChange:cr=()=>{},className:Ur,style:bi={},placeholder:xr,allowClear:Hr=!1})=>{var ji;const[Ji,ca]=(0,he.useState)(""),[Xr,Ni]=(0,he.useState)("");(0,he.useEffect)(()=>{var Oi;let da=Jn;(Oi=JSON.stringify(Jn))!=null&&Oi.includes("{")&&(ca(Jn.id),da=Jn.value||"");try{Ni(decodeURIComponent(da||""))}catch(Lo){Ni(decodeURIComponent(da||""))}},[Jn]);const ia=()=>{Un(encodeURIComponent(Xr),Ji||null)},Ma=Oi=>{Oi!==Ji&&(ca(Oi),Un(encodeURIComponent(Xr),Oi))};return he.createElement("div",{className:Ae()(Je.input,Ur),style:bi},!!lr.length&&he.createElement("div",{className:Je.dropdown},he.createElement("div",{className:Je.text},(ji=lr.find(Oi=>Oi.id===Ji))==null?void 0:ji.name,he.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),he.createElement("div",{className:Je.menu},lr.map((Oi,da)=>he.createElement("div",{key:da,onClick:()=>Ma(Oi.id)},Oi.name)))),he.createElement(ht.default,{onPressEnter:ia,value:Xr,onChange:Oi=>{Ni(Oi.target.value),cr(encodeURIComponent(Oi.target.value),Ji||null)},bordered:!1,placeholder:xr}),he.createElement("i",{onClick:ia,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Rt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},bt=({value:lr,onChange:Jn,className:Un,total:cr,pageSize:Ur,style:bi={}})=>{const xr=lr<2,Hr=lr>=Math.ceil(cr/Ur);return cr<=Ur?he.createElement(he.Fragment,null):he.createElement("div",{className:Ae()(Rt.quickPager,Un),style:bi},he.createElement("div",{onClick:()=>{xr||Jn(lr-1,"prev")},className:xr?Rt.disabled:""},"\u4E0A\u4E00\u9875"),he.createElement("div",{onClick:()=>{Hr||Jn(lr+1,"next")},className:Hr?Rt.disabled:""},"\u4E0B\u4E00\u9875"))},Tt={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"},wt=ce(71418),it=ce(6848),je=ce(13570),at=ce(42684),Yt=ce(85333),Vt=ce(96908),St=ce(57177),Qt=ce(81378),cn=ce(61648),fn=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji})=>{const Ji=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:ji},he.createElement("div",{className:Ae()(Tt.list,lr)},!!Jn.length&&Jn.map((ca,Xr)=>{const{name:Ni,id:ia,identifier:Ma,power:Oi,cover_image_id:da,pic:Lo}=ca;return he.createElement("div",{className:Tt.wrap,key:ia,style:{width:Ji,marginRight:(1+Xr)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/shixuns/${Ma}/challenges`,className:Tt.li,onClick:co=>{co.preventDefault(),Hr&&(0,Yt.L9)([Hr]),Oi&&(0,Yt.xg)(`/shixuns/${Ma}/challenges`)}},he.createElement("div",{className:Tt.img},he.createElement("img",{className:Tt.cover,src:`${Lo}`}),ca.is_jupyter&&he.createElement("img",{className:Tt.sign,src:Vt}),ca.is_jupyter_lab&&he.createElement("img",{className:Tt.sign,src:St}),ca.is_unity_3d&&he.createElement("img",{className:Tt.sign,src:Qt})),he.createElement("div",{className:Tt.name},he.createElement(it.Z,{title:Ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Tt.e},Ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:Tt.tags},he.createElement(it.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,ca.challenges_count))),!!ca.myshixuns_count&&he.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,ca.myshixuns_count))),he.createElement(it.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,ca.level))),he.createElement("div",{className:Tt.rate},he.createElement(je.Z,{allowHalf:!0,disabled:!0,defaultValue:ca.score_info}),he.createElement("span",null,"\xA0",ca.score_info?`${ca.score_info}\u5206`:"5\u5206")))),!Oi&&he.createElement("div",{className:Tt.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&he.createElement(cn.Z,null)))},Ln={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"},Bn=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,wrapClassName:Hr,trackEventItems:ji,loading:Ji})=>{const ca=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:Ji},he.createElement("div",{className:Ae()(Ln.list,lr)},!!Jn.length&&Jn.map((Xr,Ni)=>{const{name:ia,id:Ma,identifier:Oi,power:da,cover_image_id:Lo,pic:co}=Xr;return he.createElement("div",{className:Ae()(Ln.wrap,Hr),key:Ma,style:{width:ca,marginRight:(1+Ni)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/shixuns/${Oi}/challenges`,className:Ln.li,onClick:To=>{To.preventDefault(),ji&&(0,Yt.L9)([ji]),da&&(0,Yt.xg)(`/shixuns/${Oi}/challenges`)}},he.createElement("img",{src:ce(47621),className:Ln.titleBg}),he.createElement("div",{className:Ln.name},he.createElement(it.Z,{title:ia||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Ln.e},ia||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Ln.img},he.createElement("img",{className:Ln.cover,src:Lo?`${at.Z.API_SERVER}/api/attachments/${Lo}`:`${at.Z.IMG_SERVER+co}`}),Xr.is_jupyter&&he.createElement("div",{className:Ln.bq},"Jupyter"),Xr.is_jupyter_lab&&he.createElement("div",{className:Ln.bq},"JupyterLab"),Xr.is_unity_3d&&he.createElement("div",{className:Ln.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),he.createElement("div",{className:"mt20 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Ln.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:Ln.value},Xr.myshixuns_count)),he.createElement("div",null,he.createElement("span",{className:Ln.text},"\u56F0\u96BE\u7B49\u7EA7"),he.createElement("span",{className:Ln.value},Xr.level))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Ln.text},"\u5173\u5361\u6570"),he.createElement("span",{className:Ln.value},Xr.challenges_count)),he.createElement("div",{className:Ln.rate},he.createElement(je.Z,{allowHalf:!0,disabled:!0,defaultValue:Xr.score_info}),he.createElement("span",{className:Ln.value,style:{color:"#FF9C00"}},"\xA0",Xr.score_info?`${Xr.score_info}\u5206`:"5\u5206"))))),!da&&he.createElement("div",{className:Ln.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&he.createElement(cn.Z,null)))},gn={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"},Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVW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,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji,wrapClassName:Ji,imgClassName:ca})=>{const Xr=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:ji},he.createElement("div",{className:Ae()(gn.list,lr)},!!Jn.length&&Jn.map((Ni,ia)=>{const{name:Ma,id:Oi,identifier:da,power:Lo,cover_image_id:co,pic:To}=Ni;return he.createElement("div",{className:Ae()(gn.wrap,Ji),key:Oi,style:{width:Xr,marginRight:(1+ia)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/shixuns/${da}/challenges`,className:gn.li,onClick:hs=>{hs.preventDefault(),Hr&&(0,Yt.L9)([Hr]),Lo&&(0,Yt.xg)(`/shixuns/${da}/challenges`)}},he.createElement("div",{className:Ae()(gn.img,ca)},he.createElement("img",{className:gn.cover,src:co?`${at.Z.API_SERVER}/api/attachments/${co}`:`${at.Z.IMG_SERVER+To}`}),Ni.is_jupyter&&he.createElement("img",{className:gn.sign,src:Se}),Ni.is_jupyter_lab&&he.createElement("img",{className:gn.sign,src:Fe}),Ni.is_unity_3d&&he.createElement("img",{className:gn.sign,src:ie})),he.createElement("div",{className:gn.name},he.createElement(it.Z,{title:Ma||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:gn.e},Ma||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:gn.tags},he.createElement(it.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,Ni.challenges_count))),!!Ni.myshixuns_count&&he.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,Ni.myshixuns_count))),he.createElement(it.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,Ni.level))),he.createElement("div",{className:gn.rate},he.createElement(je.Z,{allowHalf:!0,disabled:!0,defaultValue:Ni.score_info}),he.createElement("span",null,"\xA0",Ni.score_info?`${Ni.score_info}\u5206`:"5\u5206")))),!Lo&&he.createElement("div",{className:gn.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&he.createElement(cn.Z,null)))},oe=ce(88276),Ye={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"},vt=ce(79005),et=ce(20345),lt=ce(47027),Pt=ce(31081),Mt=ce(75309),kt=ce(71979),$t=ce(47558),Sn=ce(42922),Bt=ce(66832),nn=ce(96593),tn=ce(19664),zt=ce(91833),pt=Object.defineProperty,Wt=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Wn=(lr,Jn,Un)=>Jn in lr?pt(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,br=(lr,Jn)=>{for(var Un in Jn||(Jn={}))vn.call(Jn,Un)&&Wn(lr,Un,Jn[Un]);if(Wt)for(var Un of Wt(Jn))xn.call(Jn,Un)&&Wn(lr,Un,Jn[Un]);return lr};const Lr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:vt,swimg:et},{name:"101\u8BA1\u5212",ptimg:lt,swimg:Pt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Mt,swimg:kt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Bt,swimg:nn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:tn,swimg:zt}];var Qr=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji,wrapClassName:Ji,imgClassName:ca,isArrow:Xr=!1,imgStyle:Ni={}})=>{const ia=Math.floor((xr-(Un-1)*cr)/Un),[Ma,Oi]=(0,he.useState)(),[da,Lo]=(0,he.useState)(),co=hs=>Oi(hs),To=()=>Oi(-1);return he.createElement(wt.Z,{spinning:ji},he.createElement("div",{className:Ae()(Ye.list,lr)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((hs,Bu)=>{var gu;const{name:Su,id:Cr,identifier:yr,featured:Eu,school_name:mo,image_url:Qo,excellent:Nl,is_plan:el}=hs;return he.createElement("div",{key:Cr,className:Ae()(Ye.wrap,Ji),style:{width:ia,marginRight:(1+Bu)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/paths/${yr}`,className:Ye.li,onClick:_l=>{_l.preventDefault(),Hr&&(0,Yt.L9)([Hr]),(0,Yt.xg)(`/paths/${yr}`)}},he.createElement("img",{src:ce(39057),className:Ye.titleBg}),he.createElement("div",{className:Ye.name},he.createElement(it.Z,{title:Su},he.createElement("span",{className:Ye.e,style:{color:Xr&&Ma===Bu?"#145DFF":"#000000"},onMouseEnter:()=>{co(Bu)},onMouseLeave:To},Su))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Ae()(Ye.img,ca)},he.createElement("img",{className:Ye.cover,style:br({},Ni),src:`${at.Z.IMG_SERVER+Qo}`}),(gu=hs==null?void 0:hs.subject_tags)==null?void 0:gu.map((_l,al)=>{var vu,Bs;if(al===0){const kc=(vu=Lr.find(qa=>qa.name==_l))==null?void 0:vu.swimg;return he.createElement("img",{className:Ye.sign,src:kc,style:{left:"-4px"}})}const fl=(Bs=Lr.find(kc=>kc.name==_l))==null?void 0:Bs.ptimg;return he.createElement("img",{className:Ye.sign,src:fl,style:{left:`${48+52*(al-1)+2*al}px`}})}),he.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(hs==null?void 0:hs.excellent)&&he.createElement("div",{className:Ye.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Ye.text},"\u7AE0\u8282\u6570"),he.createElement("span",{className:Ye.value},hs.stages_count)),he.createElement("div",null,he.createElement("span",{className:Ye.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:Ye.value},hs.members_count))))))})),!Jn.length&&he.createElement(cn.Z,null)))},vr={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"},Ar=ce(36466),Tr=ce(59301);const Bi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:vt,swimg:et},{name:"101\u8BA1\u5212",ptimg:lt,swimg:Pt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Mt,swimg:kt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Bt,swimg:nn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:tn,swimg:zt}];var mi=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji,onRemove:Ji=()=>{},isCurrent:ca=!0,showAlias:Xr=!1,wrapClassName:Ni,imgClassName:ia})=>{const Ma=Math.floor((xr-(Un-1)*cr)/Un),Oi=[{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(da=>(window.ENV==="build"&&(da.ptimg=`/react/build${da.ptimg}`,da.swimg=`/react/build${da.swimg}`),da));return Tr.createElement(wt.Z,{spinning:ji},Tr.createElement("div",{className:Ae()(vr.list,lr)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((da,Lo)=>{var co;const{name:To,id:hs,identifier:Bu,featured:gu,school_name:Su,image_url:Cr,excellent:yr,is_plan:Eu}=da;return Tr.createElement("div",{key:hs,className:Ae()(vr.wrap,Ni),style:{width:Ma,marginRight:(1+Lo)%Un===0?0:cr+bi,marginBottom:Ur}},Tr.createElement("a",{className:vr.li,onClick:mo=>{mo.preventDefault(),mo.stopPropagation(),Hr&&(0,Yt.L9)([Hr]),(0,Yt.xg)(`/paths/${Bu}`)}},Tr.createElement("div",{className:Ae()(vr.img,ia)},Tr.createElement("img",{className:vr.cover,src:`${at.Z.IMG_SERVER+Cr}`}),ca&&(0,Ar.bg)()&&(da==null?void 0:da.studying)&&Tr.createElement("div",{className:`${vr.movebq} user-path-items`,onClick:mo=>{mo.stopPropagation(),Ji(da)}},Tr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Tr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(co=da==null?void 0:da.subject_tags)==null?void 0:co.map((mo,Qo)=>{var Nl,el;if(Qo===0){const al=(Nl=Oi.find(vu=>vu.name==mo))==null?void 0:Nl.swimg;return Tr.createElement("img",{className:vr.sign,src:al,style:{left:"-4px"}})}const _l=(el=Oi.find(al=>al.name==mo))==null?void 0:el.ptimg;return Tr.createElement("img",{className:vr.sign,src:_l,style:{left:`${48+52*(Qo-1)+2*Qo}px`}})}),Tr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(da==null?void 0:da.excellent)&&Tr.createElement("div",{className:vr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Tr.createElement("div",{className:vr.name},Tr.createElement(it.Z,{title:Xr&&(da!=null&&da.excellent_alias_name)?Tr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${To}`,Tr.createElement("br",null),Tr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${da==null?void 0:da.excellent_alias_name}`)):To},Tr.createElement("span",{className:vr.e},Xr&&(da==null?void 0:da.excellent_alias_name)||To))),Tr.createElement("div",{className:vr.tags},Tr.createElement("div",null,Tr.createElement(it.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Tr.createElement("span",null,Tr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Tr.createElement("span",null,da.stages_count))),Tr.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Tr.createElement("span",null,Tr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Tr.createElement("span",null,da.members_count)))))))})),!Jn.length&&Tr.createElement(cn.Z,null)))},Mi={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},pa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j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kRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Dr=ce(59301),no=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji})=>{const Ji=Math.floor((xr-(Un-1)*cr)/Un);return Dr.createElement(wt.Z,{spinning:ji},Dr.createElement("div",{className:Ae()(Mi.list,lr)},!!Jn.length&&Jn.map((ca,Xr)=>{const{subject_identifier:Ni,id:ia,identifier:Ma,power:Oi}=ca,da=ca.is_public!=0&&ca.is_public;return Dr.createElement("div",{className:Mi.wrap,key:ia,style:{width:Ji,marginRight:(1+Xr)%Un===0?0:cr+bi,marginBottom:Ur}},Dr.createElement("a",{className:Mi.li,onClick:Lo=>{Lo.preventDefault(),Hr&&(0,Yt.L9)([Hr]),(0,Yt.xg)(ca.first_category_url)}},Dr.createElement("div",{className:Mi.top},Dr.createElement(it.Z,{title:ca.name},Dr.createElement("div",{className:Mi.name},ca.name)),Dr.createElement("img",{className:Mi.img,src:at.Z.IMG_SERVER+"/images/"+ca.avatar_url}),Dr.createElement("div",{className:Mi.text,title:ca.creator},ca.creator),Ni&&Dr.createElement("div",{className:Mi.btns},Dr.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Dr.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),da&&Dr.createElement("div",{className:Mi.sign},"\u516C\u5F00")),Dr.createElement("div",{className:Mi.bottom},ca.visits>0&&Dr.createElement(it.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Dr.createElement("span",null,Dr.createElement("i",{className:"iconfont icon-liulanyan"}),Dr.createElement("span",null,ca.visits))),ca.course_members_count>0&&Dr.createElement(it.Z,{title:"\u6210\u5458",placement:"bottom"},Dr.createElement("span",null,Dr.createElement("i",{className:"iconfont icon-chengyuan"}),ca.course_members_count)),ca.tasks_count>0&&Dr.createElement(it.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Dr.createElement("span",null,Dr.createElement("i",{className:"iconfont icon-zuoye"}),ca.tasks_count)),ca.is_end?Dr.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Dr.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ca.is_accessible&&Dr.createElement("div",{className:Mi.lockWrap},Dr.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Dr.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&Dr.createElement(cn.Z,null)))},Ki={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"},Co="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+D6JHHbgfTSRostdj7TnAuWL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FsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Pi=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,wrapClassName:Hr,trackEventItems:ji,loading:Ji})=>{const ca=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:Ji},he.createElement("div",{className:Ae()(Ki.list,lr)},!!Jn.length&&Jn.map((Xr,Ni)=>{const{subject_identifier:ia,id:Ma,identifier:Oi,power:da}=Xr,Lo=Xr.is_public!=0&&Xr.is_public;return he.createElement("div",{className:Ae()(`${Ki.wrap} ${Xr.is_accessible?"":Ki.warpStyle}`,Hr),key:Ma,style:{width:ca,marginRight:(1+Ni)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{className:Ki.li,onClick:co=>{co.preventDefault(),ji&&(0,Yt.L9)([ji]),(0,Yt.xg)(Xr.first_category_url)}},he.createElement("div",{className:Ki.creator},he.createElement("img",{className:Ki.img,src:at.Z.IMG_SERVER+"/images/"+Xr.avatar_url}),he.createElement("div",{className:Ki.text,title:Xr.creator},Xr.creator)),he.createElement("div",{className:Ki.top},he.createElement(it.Z,{title:Xr.name},he.createElement("div",{className:Ki.name},Xr.name)),Lo&&he.createElement("div",{className:Ki.sign},"\u516C\u5F00")),he.createElement("div",{className:Ki.middle},he.createElement("div",{className:Ki.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:Ki.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:Ki.value},(Xr==null?void 0:Xr.visits)||0)),he.createElement("div",null,he.createElement("span",{className:Ki.text},"\u6210\u5458"),he.createElement("span",{className:Ki.value},(Xr==null?void 0:Xr.course_members_count)||0))),he.createElement("div",{className:Ki.row},he.createElement("div",null,he.createElement("span",{className:Ki.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:Ki.value},(Xr==null?void 0:Xr.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:Ki.text},"\u72B6\u6001"),Xr.is_end?he.createElement("span",{className:Ki.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:Ki.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ia&&he.createElement("div",{className:Ki.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Xr.is_accessible&&he.createElement("div",{className:Ki.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&he.createElement(cn.Z,null)))},Ii={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"},Si="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+ZbWhnEBX8P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kWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ea=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,wrapClassName:Hr,trackEventItems:ji,loading:Ji})=>{const ca=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:Ji},he.createElement("div",{className:Ae()(Ii.list,lr)},!!Jn.length&&Jn.map((Xr,Ni)=>{const{subject_identifier:ia,id:Ma,identifier:Oi,power:da}=Xr,Lo=Xr.is_public!=0&&Xr.is_public;return he.createElement("div",{className:Ae()(`${Ii.wrap} ${Xr.is_accessible?"":Ii.warpStyle}`,Hr),key:Ma,style:{width:ca,marginRight:(1+Ni)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{className:Ii.li,onClick:co=>{co.preventDefault(),ji&&(0,Yt.L9)([ji]),(0,Yt.xg)(Xr.first_category_url)}},he.createElement("div",{className:Ii.creator},he.createElement("img",{className:Ii.img,src:at.Z.IMG_SERVER+"/images/"+Xr.avatar_url}),he.createElement("div",{className:Ii.text,title:Xr.creator},Xr.creator)),he.createElement("div",{className:Ii.top},he.createElement(it.Z,{title:Xr.name},he.createElement("div",{className:Ii.name},Xr.name)),Lo&&he.createElement("div",{className:Ii.sign})),he.createElement("div",{className:Ii.middle},he.createElement("div",{className:Ii.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:Ii.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:Ii.value},(Xr==null?void 0:Xr.visits)||0)),he.createElement("div",null,he.createElement("span",{className:Ii.text},"\u6210\u5458"),he.createElement("span",{className:Ii.value},(Xr==null?void 0:Xr.course_members_count)||0))),he.createElement("div",{className:Ii.row},he.createElement("div",null,he.createElement("span",{className:Ii.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:Ii.value},(Xr==null?void 0:Xr.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:Ii.text},"\u72B6\u6001"),Xr.is_end?he.createElement("span",{className:Ii.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:Ii.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ia&&he.createElement("div",{className:Ii.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Xr.is_accessible&&he.createElement("div",{className:Ii.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&he.createElement(cn.Z,null)))},Fn={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"},Dt=ce(44225),Zt=({dataSource:lr=[],value:Jn,onChange:Un,className:cr,style:Ur={},tabBarExtraContent:bi})=>he.createElement("div",{className:Ae()(Fn.tabs,cr),style:Ur},he.createElement("div",{className:Fn.tabsWrap},lr.map((xr,Hr)=>he.createElement("aside",{className:Fn.tab,onClick:()=>{Un(xr.id),xr.link&&Dt.history.push(xr.link)},key:Hr},he.createElement("div",{className:Jn===xr.id?Fn.active:""},xr.name),(xr==null?void 0:xr.resetCount)==null&&(xr==null?void 0:xr.total)!==void 0&&he.createElement("span",null,"\uFF08",xr==null?void 0:xr.total,"\uFF09"),(xr==null?void 0:xr.resetCount)!==void 0&&(xr==null?void 0:xr.total)!==void 0&&he.createElement(it.Z,{title:(xr==null?void 0:xr.tip)!=null?xr==null?void 0:xr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},xr==null?void 0:xr.resetCount),"/",he.createElement("span",null,xr==null?void 0:xr.total),"\uFF09"))))),he.createElement("div",{className:Fn.tabBar},bi)),jt={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"},Mn=({dataSource:lr=[],value:Jn,onChange:Un,className:cr,style:Ur={},tabBarExtraContent:bi})=>he.createElement("div",{className:Ae()(jt.tabs,cr),style:Ur},he.createElement("div",{className:jt.tabsWrap},lr.map((xr,Hr)=>he.createElement("aside",{className:jt.tab,onClick:()=>{Un(xr.id),xr.link&&Dt.history.push(xr.link)},key:Hr},he.createElement("div",{className:Jn===xr.id?jt.active:""},xr.name),(xr==null?void 0:xr.resetCount)==null&&(xr==null?void 0:xr.total)!==void 0&&he.createElement("span",null,"\uFF08",xr==null?void 0:xr.total,"\uFF09"),(xr==null?void 0:xr.resetCount)!==void 0&&(xr==null?void 0:xr.total)!==void 0&&he.createElement(it.Z,{title:(xr==null?void 0:xr.tip)!=null?xr==null?void 0:xr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},xr==null?void 0:xr.resetCount),"/",he.createElement("span",null,xr==null?void 0:xr.total),"\uFF09"))))),he.createElement("div",{className:jt.tabBar},bi)),ir={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"},pr=({dataSource:lr=[],value:Jn,onChange:Un,className:cr,style:Ur={},tabBarExtraContent:bi})=>he.createElement("div",{className:Ae()(ir.tabs,cr),style:Ur},he.createElement("div",{className:ir.tabsWrap},lr.map((xr,Hr)=>he.createElement("aside",{className:`${ir.tab} ${Jn===xr.id?ir.active:""}`,onClick:()=>{Un(xr.id),xr.link&&Dt.history.push(xr.link)},key:Hr},he.createElement("div",null,xr.name),(xr==null?void 0:xr.resetCount)==null&&(xr==null?void 0:xr.total)!==void 0&&he.createElement("span",null,"\uFF08",xr==null?void 0:xr.total,"\uFF09"),(xr==null?void 0:xr.resetCount)!==void 0&&(xr==null?void 0:xr.total)!==void 0&&he.createElement(it.Z,{title:(xr==null?void 0:xr.tip)!=null?xr==null?void 0:xr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},xr==null?void 0:xr.resetCount),"/",he.createElement("span",null,xr==null?void 0:xr.total),"\uFF09"))))),he.createElement("div",{className:ir.tabBar},bi)),Zr=({className:lr,style:Jn={},children:Un})=>he.createElement("div",{className:Ae()(lr),style:Jn},Un),$r={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Xn=ce(38854),Or=ce(20834);const ki=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Zi=({sortValue:lr,dropValue:Jn,className:Un,onSort:cr,onDrop:Ur,dataSource:bi=ki})=>{var xr;return he.createElement("div",{className:Ae()($r.orderWrap,Un)},he.createElement(Xn.Z,{dropdownRender:()=>he.createElement(Or.default,null,bi.map((Hr,ji)=>he.createElement(Or.default.Item,{key:ji,onClick:()=>Ur(Hr.id)},Hr.name)))},he.createElement("span",{className:$r.orderTextWrap},(xr=bi.find(Hr=>Jn===Hr.id))==null?void 0:xr.name)),he.createElement("span",{className:$r.orderIconWrap},he.createElement("span",{className:$r.orderAsc},he.createElement("i",{className:lr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${$r.cursorPointer} ${$r.active}`:`iconfont icon-sanjiaoxing-up font12 ${$r.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")})),he.createElement("span",{className:$r.orderDesc},he.createElement("i",{className:lr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${$r.cursorPointer} ${$r.active}`:`iconfont icon-sanjiaoxing-down font12 ${$r.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")}))))},xi={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 Ca=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var oa=({sortValue:lr,dropValue:Jn,className:Un,onSort:cr,onDrop:Ur,dataSource:bi=Ca})=>{var xr;return he.createElement("div",{className:Ae()(xi.orderWrap,Un)},he.createElement(Xn.Z,{dropdownRender:()=>he.createElement(Or.default,null,bi.map((Hr,ji)=>he.createElement(Or.default.Item,{key:ji,onClick:()=>Ur(Hr.id)},Hr.name)))},he.createElement("span",{className:xi.orderTextWrap},(xr=bi.find(Hr=>Jn===Hr.id))==null?void 0:xr.name)),he.createElement("span",{className:xi.orderIconWrap},he.createElement("span",{className:xi.orderAsc},he.createElement("i",{className:lr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${xi.cursorPointer} ${xi.active}`:`iconfont icon-sanjiaoxing-up font12 ${xi.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")})),he.createElement("span",{className:xi.orderDesc},he.createElement("i",{className:lr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${xi.cursorPointer} ${xi.active}`:`iconfont icon-sanjiaoxing-down font12 ${xi.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")}))))},mn={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"},mr=ce(3113),dr=ce(66911),Wr=Object.defineProperty,wr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,Fr=Object.prototype.propertyIsEnumerable,ui=(lr,Jn,Un)=>Jn in lr?Wr(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,yi=(lr,Jn)=>{for(var Un in Jn||(Jn={}))Mr.call(Jn,Un)&&ui(lr,Un,Jn[Un]);if(wr)for(var Un of wr(Jn))Fr.call(Jn,Un)&&ui(lr,Un,Jn[Un]);return lr},Hi=(lr,Jn)=>{var Un={};for(var cr in lr)Mr.call(lr,cr)&&Jn.indexOf(cr)<0&&(Un[cr]=lr[cr]);if(lr!=null&&wr)for(var cr of wr(lr))Jn.indexOf(cr)<0&&Fr.call(lr,cr)&&(Un[cr]=lr[cr]);return Un},Oa=(lr,Jn,Un)=>new Promise((cr,Ur)=>{var bi=ji=>{try{Hr(Un.next(ji))}catch(Ji){Ur(Ji)}},xr=ji=>{try{Hr(Un.throw(ji))}catch(Ji){Ur(Ji)}},Hr=ji=>ji.done?cr(ji.value):Promise.resolve(ji.value).then(bi,xr);Hr((Un=Un.apply(lr,Jn)).next())}),oo=lr=>{var Jn=lr,{className:Un,style:cr,children:Ur,loading:bi=!1,openLoading:xr,onClick:Hr=()=>{},size:ji="middle",shape:Ji="round",theme:ca}=Jn,Xr=Hi(Jn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Ni,ia]=(0,he.useState)(!1),Ma=(0,he.useMemo)(()=>{switch(ca){case dr.Fy.THEMEONE:return mn.ThemeOne;case dr.Fy.DEFAULT:default:return mn.btn}},[ca]);return he.createElement(mr.ZP,yi({onClick:(0,we.throttle)(Oi=>Oa(void 0,null,function*(){xr&&ia(!0);try{yield Hr(Oi)}catch(da){console.log("error",da)}xr&&ia(!1)}),2e3,{leading:!0,trailing:!1}),className:Ae()(Ma,mn[`${ji}-${Ji}`],Un),style:cr,size:ji,shape:Ji,loading:Ni||bi},Xr),Ur)},La={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"},po=({className:lr,style:Jn,children:Un=null,onClick:cr,title:Ur})=>he.createElement("div",{className:Ae()(La.head,lr),style:Jn},he.createElement("span",{className:"primary-hover",onClick:cr},he.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),he.createElement("b",{title:Ur},Ur),he.createElement("div",{className:La.node},Un)),Za={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"},va=({confirmShow:lr=!0,confirmTitle:Jn,confirmClick:Un,cancelShow:cr=!0,cancelTitle:Ur,cancelClick:bi,className:xr,style:Hr,confirmLoading:ji=!1})=>he.createElement("div",{className:Ae()(Za.btns,xr),style:Hr},lr&&he.createElement(mr.ZP,{loading:ji,onClick:Un,type:"primary",className:Za.confirm},Jn),cr&&he.createElement(mr.ZP,{onClick:bi,className:Za.cancel},Ur)),ka={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"},Pa=({className:lr,style:Jn={},LeftContent:Un,children:cr,RightContent:Ur})=>he.createElement("div",{className:Ae()(ka.fixedBottom,lr),style:Jn},he.createElement("div",{className:ka.wrap},he.createElement("div",{className:ka.left},Un),he.createElement("div",{className:ka.center},cr),he.createElement("div",{className:ka.right},Ur))),ao={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"},Ya=({className:lr,style:Jn={},dataSource:Un=[]})=>he.createElement("div",{className:Ae()(ao.crumbs,lr),style:Jn},Un.map((cr,Ur)=>UrDt.history.push(cr.path)},cr.name):he.createElement("span",null,cr.name),he.createElement("span",null,"\xA0",">","\xA0")):he.createElement("span",{key:Ur,style:{color:"#5F6368"}},cr.name))),fi=ce(31797),Rr=Object.defineProperty,Ra=Object.defineProperties,_a=Object.getOwnPropertyDescriptors,Va=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,go=Object.prototype.propertyIsEnumerable,As=(lr,Jn,Un)=>Jn in lr?Rr(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,_o=(lr,Jn)=>{for(var Un in Jn||(Jn={}))Mo.call(Jn,Un)&&As(lr,Un,Jn[Un]);if(Va)for(var Un of Va(Jn))go.call(Jn,Un)&&As(lr,Un,Jn[Un]);return lr},Js=(lr,Jn)=>Ra(lr,_a(Jn)),Sa=(lr,Jn)=>{var Un={};for(var cr in lr)Mo.call(lr,cr)&&Jn.indexOf(cr)<0&&(Un[cr]=lr[cr]);if(lr!=null&&Va)for(var cr of Va(lr))Jn.indexOf(cr)<0&&go.call(lr,cr)&&(Un[cr]=lr[cr]);return Un};const{Countdown:xa}=fi.default;var So=lr=>{var Jn=lr,{onChange:Un}=Jn,cr=Sa(Jn,["onChange"]);const[Ur,bi]=(0,he.useState)(null);(0,he.useEffect)(()=>{typeof Ur=="number"&&Ur>=0&&Un(Ur)},[Ur]);const xr=Hr=>{const ji=Math.floor(Hr/1e3);bi(ji)};return he.createElement(xa,Js(_o({},cr),{onChange:xr}))},Ms={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Qs=({DataProps:lr,className:Jn,style:Un={}})=>{var cr;return he.createElement("div",{className:Ae()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Ms.ClassRoomItem,Jn),style:Un,onClick:()=>{(0,Yt.xg)(lr==null?void 0:lr.first_category_url)}},he.createElement("div",{className:"flex flex-col item-center"},he.createElement("img",{src:`${(cr=at.Z)==null?void 0:cr.IMG_SERVER}/images/${lr==null?void 0:lr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(lr==null?void 0:lr.subject_identifier)&&he.createElement("div",{className:"mt-40px"},he.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),he.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},he.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(lr!=null&&lr.is_public)&&he.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),he.createElement("span",{className:Ae()("text-16px font-medium",Ms.TitleDom)},lr==null?void 0:lr.name)),he.createElement("div",{className:"c-grey-333 font-medium"},lr==null?void 0:lr.creator),he.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",lr==null?void 0:lr.course_members_count),he.createElement("div",{className:"c-grey-333 flex item-center justify-between"},he.createElement("div",null,"\u4F5C\u4E1A\uFF1A",lr==null?void 0:lr.tasks_count),lr!=null&&lr.is_end?he.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):he.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},fs=Object.defineProperty,Zs=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable,sa=(lr,Jn,Un)=>Jn in lr?fs(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,ra=(lr,Jn)=>{for(var Un in Jn||(Jn={}))qs.call(Jn,Un)&&sa(lr,Un,Jn[Un]);if(Zs)for(var Un of Zs(Jn))ma.call(Jn,Un)&&sa(lr,Un,Jn[Un]);return lr},cs=({DataProps:lr=[],selectValue:Jn,onChange:Un,className:cr,style:Ur={},extra:bi,classNameItem:xr,styleItem:Hr={},barHidden:ji})=>{const[Ji,ca]=(0,he.useState)();return(0,he.useEffect)(()=>{ca(Array.isArray(Jn)?Jn:[Jn])},[Jn]),he.createElement("div",{className:Ae()("flex px-20px py-10px gap-40px",cr),style:ra({borderBottom:"1px solid #D3F0FF"},Ur)},lr==null?void 0:lr.map(Xr=>he.createElement("div",{key:Xr==null?void 0:Xr.id,className:Ae()("flex item-center justify-center current c-grey-333 text-16 relative",xr,Xr==null?void 0:Xr.className),style:ra(ra({color:Ji!=null&&Ji.includes(Xr==null?void 0:Xr.id)?"#1890FF":"",minWidth:88},Hr),(Xr==null?void 0:Xr.style)||{}),onClick:Ni=>{Un==null||Un({domEvent:Ni,item:Xr}),Xr!=null&&Xr.link&&Dt.history.push(Xr==null?void 0:Xr.link)}},Xr==null?void 0:Xr.name,!ji&&(Ji==null?void 0:Ji.includes(Xr==null?void 0:Xr.id))&&he.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),he.createElement("div",{className:"ml-auto"},bi))},Ps=Object.defineProperty,jo=Object.defineProperties,xs=Object.getOwnPropertyDescriptors,Cs=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,or=(lr,Jn,Un)=>Jn in lr?Ps(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,Qn=(lr,Jn)=>{for(var Un in Jn||(Jn={}))$s.call(Jn,Un)&&or(lr,Un,Jn[Un]);if(Cs)for(var Un of Cs(Jn))ru.call(Jn,Un)&&or(lr,Un,Jn[Un]);return lr},Nr=(lr,Jn)=>jo(lr,xs(Jn)),Io=({value:lr,onChange:Jn,onInputChange:Un,className:cr,style:Ur={},InputProps:bi})=>{const[xr,Hr]=(0,he.useState)(lr);return he.createElement("div",{className:Ae()("flex item-center rounded-full px-10px py-2px",cr),style:Qn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Ur)},he.createElement(ht.default,Nr(Qn({bordered:!1},bi),{onChange:ji=>{Hr(ji.target.value),Un==null||Un(encodeURIComponent(ji.target.value))},onPressEnter:ji=>{Jn==null||Jn({domEvent:ji,item:{value:xr}})}})),he.createElement("img",{className:"h-22px current",src:ce(25365),height:22,onClick:ji=>{Jn==null||Jn({domEvent:ji,item:{value:xr}})}}))}},8204:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});var he=ce(59301);function Me(Ue,At){const Ne=(0,he.useRef)();(0,he.useEffect)(()=>{Ne.current=Ue}),(0,he.useEffect)(()=>{function Le(){Ne.current()}if(At!==null){let ve=setInterval(Le,At);return()=>clearInterval(ve)}},[At])}},78912:function(Tn,Xt,ce){"use strict";var he=ce(43418),Me=ce(8591),Ue=ce(58661),At=ce(44225),Ne=ce(36466),Le=ce(59301),ve=(we,fe,ze)=>new Promise((Be,_e)=>{var Oe=Te=>{try{ke(ze.next(Te))}catch(Pe){_e(Pe)}},He=Te=>{try{ke(ze.throw(Te))}catch(Pe){_e(Pe)}},ke=Te=>Te.done?Be(Te.value):Promise.resolve(Te.value).then(Oe,He);ke((ze=ze.apply(we,fe)).next())});const Ae=({shixunHomeworks:we,classroomList:fe,dispatch:ze})=>{const Be=(0,At.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:we.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Oe,He,ke;if((0,Ne.Rm)()&&!((_e=fe.AssistantObject.practice)!=null&&_e.can_redo)){Me.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Te=yield(0,Ue.ZP)(`/api/myshixuns/${we.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:we.actionTabs.homework_common_id}});if(Te.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),ze({type:"shixunHomeworks/setActionTabs",payload:{}});const Pe=(He=(Oe=Te==null?void 0:Te.new_works)==null?void 0:Oe.find(Xe=>`${Xe.homework_common_id}`===Be.categoryId))==null?void 0:He.id;if((0,Ne.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;At.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Pe}/comment`)}}),onCancel:()=>{ze({type:"shixunHomeworks/setActionTabs",payload:{}})}},Le.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Le.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Xt.Z=(0,At.connect)(({shixunHomeworks:we,classroomList:fe})=>({shixunHomeworks:we,classroomList:fe}))(Ae)},24221:function(Tn,Xt,ce){"use strict";ce.r(Xt),ce.d(Xt,{default:function(){return ru}});var he=ce(66911),Me=ce(59301),Ue=ce(44225),At=ce(66649),Ne=ce.n(At),Le=ce(86129),ve=ce.n(Le),Ae=ce(58661),we=ce(43418),fe=ce(8591),ze=ce(61621),Be=ce(66104),_e=ce(3113),Oe=ce(6848),He=ce(92832),ke=ce(28103),Te=ce(95237),Pe=ce(43604),Xe=ce(1710),Ke=ce(57809),qe=ce(58421),We=ce(95869),Ze=ce(87169),$e=ce(26227),rt=ce(42684),ht=ce(36466),dt=ce(85333),xt=ce(42441),Je={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},Lt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Re=({shixunHomeworks:or,data:Qn,globalSetting:Nr,loading:Di,dispatch:Io})=>{var lr;const{shixunWorkReport:Jn}=or;let Un=((lr=Qn==null?void 0:Qn.efficiency_list)==null?void 0:lr.length)-parseInt(Qn==null?void 0:Qn.myself_eff[0]);const cr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(bi){return bi.name===Jn.username?"\u59D3\u540D\uFF1A"+Jn.username+"
\u5B66\u53F7\uFF1A "+Jn.user_id+"
\u6548\u7387\uFF1A"+(Qn==null?void 0:Qn.myself_eff[1]):bi.name+":"+bi.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Qn==null?void 0:Qn.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Jn.username,xAxis:Un,yAxis:Qn==null?void 0:Qn.myself_eff[1],value:Qn==null?void 0:Qn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Ur=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(bi){var xr=bi.value;if(bi.name===Jn.username)return"\u59D3\u540D\uFF1A"+Jn.username+"
\u5B66\u53F7\uFF1A "+Jn.user_id+"
\u5F97\u5206\uFF1A"+(Qn==null?void 0:Qn.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Lt,data:Qn==null?void 0:Qn.consume_list,symbolSize:function(bi){return Math.round(bi[2])},markPoint:{data:[{name:Jn.username,xAxis:Qn==null?void 0:Qn.myself_object[0],yAxis:Qn==null?void 0:Qn.myself_object[1],value:Qn==null?void 0:Qn.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:cr()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:Je.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[0]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Me.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Me.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:Ur()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:Je.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_object[1]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Me.createElement("br",null)))))))};var Rt=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects}))(Re),Ft=ce(84897),bt=ce(5871),Tt=({defaultValue:or,onBlur:Qn,max:Nr,className:Di="game-score"})=>{const[Io,lr]=(0,Me.useState)(or);(0,Me.useEffect)(()=>{lr(or)},[or]);function Jn(cr){lr(cr)}function Un(){Io!==or&&Qn(Io>Nr?Nr:Io)}return Me.createElement(bt.Z,{max:Nr,min:0,className:Di,value:Io,onChange:Jn,onBlur:Un})},wt=ce(74972),it={md:"md___GIQyK"},je=ce(59301),at=Object.defineProperty,Yt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,Nn=(or,Qn,Nr)=>Qn in or?at(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,fn=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Qt.call(Qn,Nr)&&Nn(or,Nr,Qn[Nr]);if(St)for(var Nr of St(Qn))cn.call(Qn,Nr)&&Nn(or,Nr,Qn[Nr]);return or},Ln=(or,Qn)=>Yt(or,Vt(Qn));const Cn=Ke.default.Option,Bn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var gn=(or=>(or[or.SET_PATH=0]="SET_PATH",or[or.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",or))(gn||{});function Se(or,Qn){switch(Qn.type){case 0:return Ln(fn({},or),{selectedPath:Qn.payload});case 1:return Ln(fn({},or),{passedContent:Qn.payload});default:throw new Error}}var Fe=({path:or,game_id:Qn,onPathChange:Nr,autoHeight:Di,diff_code_count:Io,data:lr,game_codes_cn:Jn})=>{var Un,cr,Ur,bi;const xr=or.split("\uFF1B").filter(ia=>!!ia),[Hr,ji]=(0,Me.useReducer)(Se,{selectedPath:xr[0],passedContent:{language:"python",content:""}}),{selectedPath:Ji,passedContent:ca}=Hr;function Xr(ia){ji({type:0,payload:ia})}const Ni={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return je.createElement(je.Fragment,null,je.createElement("h2",null," ",je.createElement("span",null,Jn,je.createElement(Oe.Z,{title:je.createElement("div",null,je.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),je.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),je.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),je.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},je.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Io&&je.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Io),je.createElement("span",null,je.createElement(Ke.default,{style:{width:200},value:Ji,onChange:Xr}," ",xr.map(ia=>je.createElement(Cn,{key:ia,value:ia},ia))," "))," "),(Ji==null?void 0:Ji.split(".")[1])==="md"&&je.createElement(wt.Z,{height:300,autoHeight:Di,defaultValue:((cr=(Un=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Un[0])==null?void 0:cr.content)||"",className:it.md}),(Ji==null?void 0:Ji.split(".")[1])!=="md"&&je.createElement(Ft.ZP,{height:300,language:ca.language,value:((bi=(Ur=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Ur[0])==null?void 0:bi.content)||"",autoHeight:Di,theme:"default",isCopy:!0,options:Bn}))},ie=ce(30450),ae=ce(96249),se=ce.n(ae),oe=Object.defineProperty,Ye=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,lt=(or,Qn,Nr)=>Qn in or?oe(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Pt=(or,Qn)=>{for(var Nr in Qn||(Qn={}))vt.call(Qn,Nr)&<(or,Nr,Qn[Nr]);if(Ye)for(var Nr of Ye(Qn))et.call(Qn,Nr)&<(or,Nr,Qn[Nr]);return or},Mt=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const kt=({shixunHomeworks:or,autoHeight:Qn,classroomList:Nr,dispatch:Di})=>{var Io,lr,Jn,Un,cr,Ur,bi;const{shixunWorkReport:xr}=or,{stage_list:Hr,work_id:ji}=xr,[Ji,ca]=(0,Me.useState)(!1),[Xr,Ni]=(0,Me.useState)(!0),[ia,Ma]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),Oi=(0,Me.useRef)(null),[da,Lo]=(0,Me.useState)(!1),co=(mo,Qo)=>{var Nl;const{clientWidth:el,clientHeight:_l}=window.document.documentElement,al=(Nl=Oi.current)==null?void 0:Nl.getBoundingClientRect();al&&Ma({left:-al.left+Qo.x,right:el-(al.right-Qo.x),top:-al.top+Qo.y,bottom:_l-(al.bottom-Qo.y)})},To=(0,Ue.useParams)(),hs=(0,ht.GJ)(),Bu={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(To)},[]);const gu=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(mo,Qo,Nl)=>Me.createElement("div",null,mo,Qo.is_work_end_evaluate&&Me.createElement(dt.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:mo=>Ne()(mo).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(mo,Qo)=>Me.createElement("span",{className:"c-blue current",onClick:()=>Mt(void 0,null,function*(){var Nl,el;const _l=yield(0,ie.Lk)(Qo.game_identifier,{path:(el=(Nl=Qo.path)==null?void 0:Nl.replace(/\;/g,";"))==null?void 0:el.split(";")[0],query_index:Qo.query_index,homework_common_id:To.categoryId});(_l==null?void 0:_l.status)===0&&(Lo(_l),ca(!0))})},Qo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Su=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(mo,Qo)=>{var Nl;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((Nl=Qo==null?void 0:Qo.user)==null?void 0:Nl.image_url)}),mo)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:mo=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",mo,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:mo=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",mo,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:mo=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",mo?Ne()(mo).format("YYYY-MM-DD HH:mm"):"--")}];function Cr(mo,Qo){return Mt(this,null,function*(){const{challenge_id:Nl}=Hr[mo],el=yield Di({type:"shixunHomeworks/changeScore",payload:{categoryId:To.homeworkId,type:"report",score:Qo,challenge_id:Nl}});yield Di({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},To)}),el.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function yr(mo,Qo){return(0,Ae.U2)(`student_works/${ji}/rep_passed_content.json`,{path:Qo,game_id:mo})}const Eu=xr.shixun_detail;return Me.createElement(Me.Fragment,null,Eu==null?void 0:Eu.map(function(mo,Qo){var Nl,el;return Me.createElement("div",{key:Qo},Me.createElement("aside",{className:"pl30 pr30",key:Qo},Me.createElement("div",{className:`${Je.shixunTitle} mt10`},Me.createElement("div",null,Me.createElement("span",{className:"fa fa-code "}),Me.createElement("strong",{className:"c-black"},"\u7B2C",Qo+1,"\u5173 ",Me.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${To.coursesId}/${To.categoryId}/${mo.game_identifier}`},mo.subject))),hs?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(Tt,{className:"game-score",max:Hr[Qo].game_score_full,defaultValue:Hr[Qo].game_score,onBlur:_l=>{var al;if((0,ht.Rm)()&&!((al=Nr.AssistantObject.practice)!=null&&al.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Cr(Qo,_l)}})):null),Me.createElement("div",{className:"font16 mt10"},mo.st===0&&(mo.path?typeof(mo==null?void 0:mo.game_codes_cn)=="string"?Me.createElement("aside",{className:Je.shixunWrp},Me.createElement(Fe,{game_codes_cn:mo==null?void 0:mo.game_codes_cn,autoHeight:Qn,path:mo.path,game_id:mo.id,data:mo.game_codes,diff_code_count:mo.diff_code_count,onPathChange:yr})):Me.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),mo.st===1&&(mo.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Me.createElement("aside",{className:"mt10 font16"},(Nl=mo.outputs)!=null&&Nl.length?Me.createElement(Xe.default,{columns:gu,pagination:{hideOnSinglePage:!0},dataSource:mo.outputs.map(_l=>Pt(Pt({},mo),_l))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10 font16"},((el=mo==null?void 0:mo.adjust_review_score_list)==null?void 0:el.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Xe.default,{columns:Su,pagination:{hideOnSinglePage:!0},dataSource:mo.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(we.default,{open:Ji,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Lo({}),ca(!1)},onCancel:()=>{Lo({}),ca(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Xr&&Ni(!1)},onMouseOut:()=>{Ni(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:mo=>Me.createElement(se(),{disabled:Xr,bounds:ia,nodeRef:Oi,onStart:(Qo,Nl)=>co(Qo,Nl)},Me.createElement("div",{ref:Oi},mo))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((Io=da==null?void 0:da.data)==null?void 0:Io.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Me.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Me.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Me.createElement("div",{style:{color:((lr=da==null?void 0:da.data)==null?void 0:lr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Jn=da==null?void 0:da.data)==null?void 0:Jn.output_detail)),Me.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ne()((Un=da==null?void 0:da.data)==null?void 0:Un.created_at).format("YYYY-MM-DD HH:mm:ss"))),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(cr=da==null?void 0:da.data)==null?void 0:cr.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ur=da==null?void 0:da.data)==null?void 0:Ur.ts_mem,"mb")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((bi=da==null?void 0:da.data)==null?void 0:bi.test_set_passed_rate)*100,"%")))),Me.createElement(Ft.ZP,{height:500,autoHeight:Qn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((da==null?void 0:da.content)||""))),options:Bu})))};var $t=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr,classroomList:Di})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects,classroomList:Di}))(kt),Sn=ce(78241),Bt={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},nn=ce(28849),tn=ce(59301),zt=Object.defineProperty,pt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,xn=(or,Qn,Nr)=>Qn in or?zt(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Wn=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Wt.call(Qn,Nr)&&xn(or,Nr,Qn[Nr]);if(pt)for(var Nr of pt(Qn))vn.call(Qn,Nr)&&xn(or,Nr,Qn[Nr]);return or},br=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const Lr=({shixunHomeworks:or,dispatch:Qn,classroomList:Nr})=>{const{shixunWorkReport:Di}=or,Io=(0,Ue.useParams)(),[lr,Jn]=(0,Me.useState)(!1),[Un]=Sn.default.useForm(),[cr,Ur]=we.default.useModal(),[bi,xr]=(0,Me.useState)(!1),[Hr,ji]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var Xr,Ni,ia,Ma;or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Un.setFieldsValue({comment:(Ni=(Xr=or.actionTabs.selectArrs)==null?void 0:Xr.data)==null?void 0:Ni.work_comment,hidden_comment:(Ma=(ia=or.actionTabs.selectArrs)==null?void 0:ia.data)==null?void 0:Ma.work_comment_hidden})},[or.actionTabs.key]);const Ji=()=>br(void 0,null,function*(){const Xr=Un.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${Io.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Xr.hidden_comment,comment:Xr.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Un.resetFields(),Qn({type:"shixunHomeworks/setActionTabs",payload:{}}),Qn({type:"shixunHomeworks/getShixunWorkReport",payload:Wn({},Io)}))}),ca=[{title:"\u5173\u5361",dataIndex:"name",render:(Xr,Ni,ia)=>ia+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Xr,Ni,ia)=>tn.createElement("div",null,Xr,Ni.complete_status===4&&tn.createElement(dt.vA,{status:Ni.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Xr=>Xr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Xr,Ni)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Ni.game_score_full)!==parseFloat(Xr)?"#E30000":"#53C41B"}},Xr),"/",Ni.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Xr,Ni)=>(0,ht.GJ)()?tn.createElement(Tt,{max:Ni.game_score_full,defaultValue:parseFloat(Xr),onBlur:ia=>br(void 0,null,function*(){var Ma,Oi;if((0,ht.Rm)()&&!((Ma=Nr.AssistantObject.practice)!=null&&Ma.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const da=yield Qn({type:"shixunHomeworks/changeScore",payload:{categoryId:Io.homeworkId,type:"report",score:ia,challenge_id:Ni.challenge_id}});(Oi=or==null?void 0:or.actionTabs)==null||Oi.fn(),yield Qn({type:"shixunHomeworks/getShixunWorkReport",payload:Wn({},Io)}),da.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Xr}];return tn.createElement(tn.Fragment,null,Ur,tn.createElement(we.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>br(void 0,null,function*(){var Xr;if((0,ht.Rm)()&&!((Xr=Nr.AssistantObject.practice)!=null&&Xr.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ni=Un.getFieldsValue();JSON.stringify(Ni)==="{}"||Ni.hidden_comment===""&&Ni.comment===""?Jn(!0):Ji()}),onCancel:()=>{Qn({type:"shixunHomeworks/setActionTabs",payload:{}})}},tn.createElement(Te.Z,{justify:"space-between",className:Bt.info},tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u59D3\u540D"),tn.createElement("span",{className:Bt.blackContent},Di==null?void 0:Di.username)),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u5B66\u53F7"),tn.createElement("span",{className:Bt.blackContent},(Di==null?void 0:Di.student_id)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u73ED\u7EA7"),tn.createElement("span",{className:Bt.blackContent},(Di==null?void 0:Di.group_name)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u5173\u5361\u5F97\u5206"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.challenge_score)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u6548\u7387\u5206"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.eff_score)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u8865\u4EA4\u6263\u5206"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.late_penalty)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.work_score)||"--"))),tn.createElement(Sn.default,{form:Un,onChange:()=>{lr&&Jn(!1)}},tn.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Pe.Z,null,tn.createElement("div",{className:`${Bt.inputLabel} ${Bt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Pe.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:bi,onCancel:()=>{xr(!1)}},onDataSelect:(Xr,Ni)=>br(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({comment:Ma==null?void 0:Ma.value}),xr(!1)};if(Un.getFieldValue("comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{xr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"comment"},tn.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),tn.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Pe.Z,null,tn.createElement("div",{className:`${Bt.inputLabel} ${Bt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Pe.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Hr,onCancel:()=>{ji(!1)}},onDataSelect:(Xr,Ni)=>br(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({hidden_comment:Ma==null?void 0:Ma.value}),ji(!1)};if(Un.getFieldValue("hidden_comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{ji(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"hidden_comment"},tn.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),lr&&tn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),tn.createElement("div",{className:Bt.tableTitle},"\u5173\u5361\u6210\u7EE9"),tn.createElement(Xe.default,{className:Bt.scoreTable,dataSource:Di.stage_list,rowKey:"challenge_id",pagination:!1,columns:ca,scroll:{x:"max-content"}})))};var jr=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn})=>({shixunHomeworks:or,classroomList:Qn}))(Lr),Qr=ce(48429),vr=ce(58997),Ar=ce(70973),Tr=ce(44164),Bi=ce.n(Tr),$i={wrap:"wrap___rFTBy",line:"line___kZzhh"},mi=ce(54772),pa=({detailData:or})=>{var Qn;return Me.createElement("div",{className:$i.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(or),(or==null?void 0:or.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Me.createElement(mi.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,mi.Uf)(or)}),!!((Qn=or==null?void 0:or.photos)!=null&&Qn.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:$i.line}),Me.createElement(mi._s,{dataSource:or==null?void 0:or.photos,right:21,col:4,wrapWidth:1140}))))},Dr=ce(94537),_n=ce(59301),no=Object.defineProperty,Ki=Object.defineProperties,Co=Object.getOwnPropertyDescriptors,ro=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Si=(or,Qn,Nr)=>Qn in or?no(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,gi=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Pi.call(Qn,Nr)&&Si(or,Nr,Qn[Nr]);if(ro)for(var Nr of ro(Qn))Ii.call(Qn,Nr)&&Si(or,Nr,Qn[Nr]);return or},Ea=(or,Qn)=>Ki(or,Co(Qn)),Fn=(or,Qn)=>{var Nr={};for(var Di in or)Pi.call(or,Di)&&Qn.indexOf(Di)<0&&(Nr[Di]=or[Di]);if(or!=null&&ro)for(var Di of ro(or))Qn.indexOf(Di)<0&&Ii.call(or,Di)&&(Nr[Di]=or[Di]);return Nr},Dt=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const Gt=or=>{var Qn=or,{shixunHomeworks:Nr,classroomList:Di,globalSetting:Io,loading:lr,user:Jn,dispatch:Un}=Qn,cr=Fn(Qn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ur,bi,xr;const[Hr,ji]=(0,Me.useState)(gi({},(0,Ue.useParams)())),Ji=(0,Ue.useParams)(),[ca,Xr]=(0,Me.useState)({page:1,page_size:10}),Ni=(0,Ue.useLocation)(),[]=(0,Me.useState)([]),[ia,Ma]=(0,Me.useState)(),Oi=(0,Me.useRef)(),[da,Lo]=(0,Me.useState)(!1),[co,To]=(0,Me.useState)(!0),[hs,Bu]=(0,Me.useState)(!1),[gu,Su]=(0,Me.useState)(!1),{shixunWorkReport:Cr}=Nr,[yr,Eu]=(0,Me.useState)(),[mo,Qo]=(0,Me.useState)([]),[Nl,el]=(0,Me.useState)(),[_l,al]=(0,Me.useState)("all"),vu=(0,ht.GJ)(),[Bs,fl]=(0,Me.useState)(new(ve())),[kc,qa]=(0,Me.useState)(0),[Ho,Do]=(0,Me.useState)(!1),[zo,ys]=(0,Me.useState)(!1),[bs,Ds]=(0,Me.useState)(!1),[ol,Vs]=(0,Me.useState)(""),[Ol,ac]=(0,Me.useState)(!1),[ad,Fu]=(0,Me.useState)(!0),[oc,sc]=(0,Me.useState)(0),wc=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Kl=(0,Me.useRef)(),$d=()=>Dt(void 0,null,function*(){(Jn.userInfo.is_teacher||Jn.userInfo.admin)&&(ac(!0),Fu(!1))});(0,Me.useEffect)(()=>{var Aa;(0,ht.Rm)()&&Di.AssistantObject.practice&&!((Aa=Di.AssistantObject.practice)!=null&&Aa.can_view)&&Ue.history.replace("/403")},[(Ur=Di.AssistantObject.practice)==null?void 0:Ur.can_view]),(0,Me.useEffect)(()=>{$d(),console.log("\u6253\u5370\u7684------",Cr),Kl.current=Cr==null?void 0:Cr.next_student_work_id,Vs(Cr.repeat_minus_score)},[Cr,Jn]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Cr.work_score),sc(Cr.work_score)},[Cr.work_score,ol]),(0,Me.useEffect)(()=>(Un({type:"globalSetting/footerToggle",payload:!1}),()=>{Un({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var Aa;if(Cr){let $o=[];(Aa=Cr==null?void 0:Cr.target_test_sets)==null||Aa.map((_i,rs)=>{var Eo;(Eo=_i==null?void 0:_i.targets)==null||Eo.map((tu,lc)=>{var Kc;tu.name=_i==null?void 0:_i.name,tu.total_target_score=_i==null?void 0:_i.total_target_score,tu.actual_target_score=_i==null?void 0:_i.actual_target_score,tu.rowSpan=lc===0?(Kc=_i==null?void 0:_i.targets)==null?void 0:Kc.length:0,tu.order=rs+1,$o.push(tu)})}),Eu($o),(0,ht.Rm)()&&Un({type:"classroomList/getAssistantPermissions",payload:{course_id:Hr.coursesId}})}},[Cr]),(0,Me.useEffect)(()=>{Nr.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Cr==null?void 0:Cr.students_count)>0&&!co&&setTimeout(()=>{Id("all")},800)},[Cr==null?void 0:Cr.homework_common_id,co]),(0,Me.useEffect)(()=>{ji(gi({},Ji))},[Ni.pathname]);const Hd=()=>{document.body.scrollIntoView()},wd=Aa=>{ca.page=Aa,Xr(gi({},ca)),eA(ca,_l)},eA=(Aa,$o)=>Dt(void 0,null,function*(){Bu(!0);const _i=yield(0,Ae.ZP)(`/api/student_works/${Hr==null?void 0:Hr.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Ea(gi({},Aa),{challenge_id:$o=="all"?null:$o})});(_i==null?void 0:_i.status)===0&&(Qo(_i==null?void 0:_i.list),el(_i==null?void 0:_i.count)),Bu(!1)});function Mc(){return Dt(this,null,function*(){wc.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const bA=()=>{document.querySelectorAll("canvas").forEach(Aa=>{(!Aa.clientWidth||!Aa.clientHeight)&&Aa.remove()})},$u=Aa=>Dt(void 0,null,function*(){const $o=yield(0,Ar.t1)({homeworkId:Aa||Hr.homeworkId});Ma($o==null?void 0:$o.data)}),Id=Aa=>Dt(void 0,null,function*(){var $o,_i,rs,Eo;let tu=0,lc;lc=we.default.info({width:460,title:_n.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",_n.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:_n.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",_n.createElement("span",{className:"c-blue"},tu+1),"/",Aa!=="all"?1:Cr==null?void 0:Cr.students_count,_n.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Je.modal,onOk:()=>{}});const Kc={margin:[0,0],filename:`${Cr!=null&&Cr.student_id&&(Cr==null?void 0:Cr.student_id)!="--"?Cr==null?void 0:Cr.student_id:""}${Cr.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Pc=Bs.folder(Cr==null?void 0:Cr.shixun_name);function wA(xd){return Dt(this,null,function*(){yield $u(xd||Kl.current);const Il=yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi({homeworkId:xd||Kl.current},wc.current||{})});Kl.current=Il==null?void 0:Il.next_student_work_id,Hd(),tu++,setTimeout(()=>Dt(this,null,function*(){var Ld,Cl,Du,Uu;bA();const hl=Pc.folder(`${Il==null?void 0:Il.group_name}`).folder(`${Il!=null&&Il.student_id&&(Il==null?void 0:Il.student_id)!="--"?Il.student_id+"+":""}${Il==null?void 0:Il.username}`),fc=document.querySelector("#export-all").children;let uc=Bi()();for(let _c=0;_cDt(this,null,function*(){_c0&&((Du=(Cl=Il==null?void 0:Il.shixun_detail)==null?void 0:Cl.filter(_c=>{var ec;return((ec=_c==null?void 0:_c.game_codes)==null?void 0:ec.length)>0}))==null?void 0:Du.length)>0){const _c=hl.folder("\u4EE3\u7801\u6587\u4EF6");(Uu=Il==null?void 0:Il.shixun_detail)==null||Uu.map((ec,Wc)=>{var Vu,jd;if(((Vu=ec==null?void 0:ec.game_codes)==null?void 0:Vu.length)>0){const Sh=_c.folder(`\u7B2C${Wc+1}\u5173-${ec.subject}-${ec.id}`);(jd=ec==null?void 0:ec.game_codes)==null||jd.map(od=>{Sh.file(`${od.filename}.txt`,od==null?void 0:od.content)})}})}lc.update({content:_n.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",_n.createElement("span",{className:"c-blue"},tu),"/",Il==null?void 0:Il.students_count,_n.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),tu==(Il==null?void 0:Il.students_count)?(lc.destroy(),yl()):wA()}),2200)})}if(Aa!=="all"||(Cr==null?void 0:Cr.students_count)<2){bA(),Hd();const xd=Oi.current.children;let Il=Bi()();const Cl=Pc.folder(`${Cr==null?void 0:Cr.group_name}`).folder(`${Cr!=null&&Cr.student_id&&(Cr==null?void 0:Cr.student_id)!="--"?(Cr==null?void 0:Cr.student_id)+"+":""}${Cr==null?void 0:Cr.username}`);for(let Du=0;DuDt(void 0,null,function*(){Du0&&((rs=(_i=Cr==null?void 0:Cr.shixun_detail)==null?void 0:_i.filter(Du=>{var Uu;return((Uu=Du==null?void 0:Du.game_codes)==null?void 0:Uu.length)>0}))==null?void 0:rs.length)>0){const Du=Cl.folder("\u4EE3\u7801\u6587\u4EF6");(Eo=Cr==null?void 0:Cr.shixun_detail)==null||Eo.map((Uu,Jl)=>{var hl,fc;if(((hl=Uu==null?void 0:Uu.game_codes)==null?void 0:hl.length)>0){const uc=Du.folder(`\u7B2C${Jl+1}\u5173-${Uu.subject}-${Uu.id}`);(fc=Uu==null?void 0:Uu.game_codes)==null||fc.map(_c=>{uc.file(`${_c.filename}.txt`,_c==null?void 0:_c.content)})}})}lc.destroy(),yl();return}else wA(Cr==null?void 0:Cr.first_student_work_id)}),yl=()=>{Bs.generateAsync({type:"blob"}).then(function(Aa){console.log(Cr,"shixunWorkReport");const $o=document.createElement("a");$o.href=window.URL.createObjectURL(Aa),$o.download=(Cr==null?void 0:Cr.shixun_name)+".zip",document.body.appendChild($o);const _i=document.createEvent("MouseEvents");_i.initEvent("click",!1,!1),$o.dispatchEvent(_i),document.body.removeChild($o),fl(new(ve()))}),Su(!1)};(0,Me.useEffect)(()=>{bl()},[Hr.homeworkId]);const bl=()=>Dt(void 0,null,function*(){yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}),$u(),(0,ht.GJ)()&&Mc(),To(!1)}),Hl=[{title:"\u5173\u5361",dataIndex:"name",render:(Aa,$o,_i)=>_i+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Aa,$o,_i)=>_n.createElement("div",null,Aa,$o.complete_status===4&&_n.createElement(dt.vA,{status:$o.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Aa,$o,_i)=>Aa||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Aa=>Aa?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Aa,$o)=>_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.myself_experience)!==parseFloat(Aa)?"red":"green"}},$o.myself_experience),"/",Aa)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Aa,$o)=>_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.game_score_full)!==parseFloat(Aa)?"red":"green"}},Aa),"/",$o.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Aa,$o)=>vu?_n.createElement(Tt,{max:$o.game_score_full,defaultValue:parseFloat(Aa),onBlur:_i=>Dt(void 0,null,function*(){var rs;if((0,ht.Rm)()&&!((rs=Di.AssistantObject.practice)!=null&&rs.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Eo=yield Un({type:"shixunHomeworks/changeScore",payload:{categoryId:Hr.homeworkId,type:"report",score:_i,challenge_id:$o.challenge_id}});eA({page:1,page_size:10},"all"),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}),Eo.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Aa}];let zc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Aa,$o,_i)=>({children:Aa,props:{rowSpan:$o.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Aa,$o,_i)=>({children:Aa,props:{rowSpan:$o.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Aa,$o,_i)=>_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.actual_test_score)!==parseFloat(Aa)?"red":"green"}},$o.actual_test_score),"/",Aa)},{title:"\u6307\u6807\u603B\u5206",render:(Aa,$o,_i)=>({children:_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.actual_target_score)!==parseFloat(Aa)?"red":"green"}},$o.actual_target_score),"/",Aa),props:{rowSpan:$o.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Ac=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Aa=>_n.createElement("span",null,Aa?Ne()(Aa).format("YYYY-MM-DD HH:mm"):"--")}],hd=Aa=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Aa==="next"?Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${Cr==null?void 0:Cr.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${Cr==null?void 0:Cr.pre_student_work_id}/comment`)},200)},Tc=Aa=>{Vs(""),Aa.target.value&&(console.log("\u8FDB\u6765",Cr),Aa.target.value=Aa.target.value>Cr.repeat_setting_score?Cr.repeat_setting_score:Aa.target.value,Vs(Aa.target.value))},Ru=()=>Dt(void 0,null,function*(){const Aa=yield(0,Ae.ZP)(`/api/student_works/${Cr==null?void 0:Cr.work_id}/update_repeat_score`,{method:"put",body:{score:ol}});yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}),Aa.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return _n.createElement("section",{style:{minHeight:"100vh",background:`url(${ce(26528)}) center / cover no-repeat`}},_n.createElement("div",{className:"edu-container pb-60px"},_n.createElement(ze.Z,{loading:lr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Cr.course_id&&_n.createElement("section",{className:"animated fadeIn pt-10px"},Cr.category&&_n.createElement(Be.Z,{separator:">",items:[{title:_n.createElement(Ue.Link,{to:`/classrooms/${Cr.course_id}/shixun_homework`}," ",Cr.course_name)},{title:_n.createElement(Ue.Link,{to:`/classrooms/${Cr.course_id}/shixun_homework/${Cr.category.main?"":Cr.category.category_id}`}," ",Cr.category.category_name)},{title:_n.createElement(Ue.Link,{to:`/classrooms/${Cr.course_id}/shixun_homework/${Cr.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Cr.username}]}),_n.createElement("div",{className:"mt20 flex item-center gap-10px"},_n.createElement("strong",{className:"font20"}," ",Cr==null?void 0:Cr.homework_name," "),_n.createElement(dt.VV,{temporary:!0,status:Cr.homework_status}),_n.createElement("div",{className:"ml-auto flex item-center gap-10px"},Cr.view_tpi&&_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Aa,$o;(0,dt.xg)(`/tasks/${Cr==null?void 0:Cr.course_id}/${Cr==null?void 0:Cr.homework_common_id}/${($o=(Aa=Cr==null?void 0:Cr.shixun_detail)==null?void 0:Aa[0])==null?void 0:$o.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,ht.GJ)()&&Cr.homework_end===!1&&!!Cr.myshixun_id&&_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>Dt(void 0,null,function*(){yield Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Cr.myshixun_identifier},homework_common_id:Ji.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Aa;if((0,ht.Rm)()&&!((Aa=Di.AssistantObject.practice)!=null&&Aa.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Id("")},loading:da},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(Cr==null?void 0:Cr.students_count)>1&&_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Aa;if((0,ht.Rm)()&&!((Aa=Di.AssistantObject.practice)!=null&&Aa.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}we.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:_n.createElement(Oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:_n.createElement(Oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Id("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Dr.jj)({categoryId:Hr.categoryId,coursesId:Hr.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),_n.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},_n.createElement("div",{id:"export-all",ref:Oi},_n.createElement("div",{id:"export-all-1"},_n.createElement("div",{className:"flex item-center"},_n.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,ht.GJ)()&&_n.createElement(_e.ZP,{className:`ml-auto rounded-4px ${Je.NewButtonStyle}`,type:"primary",icon:_n.createElement(We.Z,{rev:void 0}),onClick:()=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Cr.user_id,data:gi({},Cr)},fn:()=>eA({page:1,page_size:10},"all")}})}}," ",Cr.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),_n.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},_n.createElement("div",{className:"flex flex-col justify-center item-center"},_n.createElement("div",{className:"flex flex-col item-center"},_n.createElement("img",{className:"h-56px w-56px rounded-full",src:`${rt.Z.IMG_SERVER}/images/${Cr.image_url}`,alt:Cr.username}),_n.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},_n.createElement(dt.vA,{status:Cr.compelete_status}))),_n.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Cr.username),_n.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",_n.createElement("span",{className:"ml10 c-grey-333"},Cr.student_id||"--")),_n.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",_n.createElement("span",{className:"ml10 c-grey-333"},Cr.group_name||"--"))),_n.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},_n.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-red"},Cr.complete_count||"--"),"/",_n.createElement("span",{className:"c-red"},Cr.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-red"},Cr.current_complete_count||"--"),"/",_n.createElement("span",{className:"c-red"},Cr.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Cr&&Cr.efficiency===null?"--":Cr&&Cr.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Cr&&Cr.max_efficiency===null?"--":Cr&&Cr.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-orange"},Cr.challenge_score),"/",_n.createElement("span",{className:"c-light-black"},Cr.challenge_score_full)),hidden:!(Cr!=null&&Cr.eff_score_full)},{title:"\u6548\u7387\u5206",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-orange"},Cr.eff_score),"/",_n.createElement("span",{className:"c-light-black"},Cr.eff_score_full)),hidden:!(Cr!=null&&Cr.eff_score_full)}].map((Aa,$o)=>!(Aa!=null&&Aa.hidden)&&_n.createElement("div",{key:$o,className:"flex flex-col item-center gap-10px"},_n.createElement("div",{className:"text-16px"},Aa==null?void 0:Aa.children),_n.createElement("div",{style:{color:"#8E8E8E"}},Aa==null?void 0:Aa.title)))),_n.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Cr&&Cr.passed_time===null||Cr&&Cr.passed_time==="--"?"--":Ne()(Cr&&Cr.passed_time).format("YYYY-MM-DD HH:mm")},{title:_n.createElement(_n.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",_n.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Aa=>{Do(!0)}})),children:Cr==null?void 0:Cr.human_training_time_rules},{title:_n.createElement(_n.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",_n.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Aa=>{ys(!0)}})),children:Cr==null?void 0:Cr.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Cr.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Cr&&Cr.passed_time===null||Cr&&Cr.passed_time==="--"?"--":Ne()(Cr&&Cr.passed_time).format("YYYY-MM-DD HH:mm")},{title:_n.createElement(_n.Fragment,null," \u67E5\u91CD\u6263\u5206",Cr!=null&&Cr.review_rate?_n.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Cr!=null&&Cr.review_id&&Ol&&(localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push(`/classrooms/:coursesId/shixun_homework/${Hr.categoryId}/review_detail/${Cr==null?void 0:Cr.review_id}`))}}," ",Cr.review_rate.toFixed(1),"% "):_n.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:_n.createElement(_n.Fragment,null,(Cr==null?void 0:Cr.repeat_minus_score)!==0?"- -":_n.createElement(_n.Fragment,null,Ol?_n.createElement(_n.Fragment,null,_n.createElement(He.default,{style:{width:"45px",height:"22px"},value:ol,onChange:Aa=>{Tc(Aa)},onBlur:Ru,disabled:ad})," / ",Cr==null?void 0:Cr.repeat_setting_score):_n.createElement(_n.Fragment,null," ",Cr==null?void 0:Cr.repeat_minus_score," / ",Cr==null?void 0:Cr.repeat_setting_score," "))),hidden:!(Cr!=null&&Cr.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Cr.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-orange"},oc),"/",_n.createElement("span",{className:"c-light-black"},Cr.all_work_score))}].map((Aa,$o)=>!(Aa!=null&&Aa.hidden)&&_n.createElement("div",{key:$o,className:"flex flex-col item-center gap-10px"},_n.createElement("div",{className:"text-16px"},Aa==null?void 0:Aa.children),_n.createElement("div",{style:{color:"#8E8E8E"}},Aa==null?void 0:Aa.title))))),_n.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${ce(55541)}) center / cover no-repeat`}},Cr.overall_appraisal)),_n.createElement(ke.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Cr.work_comment_hidden||Cr.work_comment)&&_n.createElement("div",null,_n.createElement(Te.Z,{align:"middle"},_n.createElement(Pe.Z,{flex:1},_n.createElement("h1",{className:Je.title},"\u70B9\u8BC4\u5185\u5BB9")),_n.createElement(Pe.Z,{className:"pr30"},(0,ht.GJ)()&&_n.createElement(_e.ZP,{onClick:()=>Dt(void 0,null,function*(){we.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:_n.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Dt(this,null,function*(){(yield(0,Ar.gZ)({comment_id:Cr.comment_id,homeworkId:Hr.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}))})}})})},_n.createElement($e.Z,null),"\u5220\u9664"))),_n.createElement(ke.Z,{style:{margin:0}}),Cr.work_comment&&_n.createElement("aside",{className:"pl30 pr30 mt20"},_n.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),_n.createElement("br",null),_n.createElement(vr.Z,{value:Cr.work_comment})),Cr.work_comment_hidden&&_n.createElement("aside",{className:"pl30 pr30 mt20"},_n.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),_n.createElement("br",null),_n.createElement(vr.Z,{value:Cr.work_comment_hidden}))),(Cr==null?void 0:Cr.action_analysis)&&_n.createElement(pa,{detailData:Cr}),_n.createElement("div",{className:Je.score},_n.createElement("h1",{className:Je.title},"\u9636\u6BB5\u6210\u7EE9"),(Cr==null?void 0:Cr.adjust_review_score_count)>0&&(0,ht.GJ)()&&_n.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{Ds(!0),eA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Cr==null?void 0:Cr.adjust_review_score_count,"\u6B21\uFF09")),_n.createElement(Xe.default,{className:Je.TableStyle,dataSource:Cr.stage_list,rowKey:Aa=>Aa==null?void 0:Aa.challenge_id,pagination:!1,columns:Hl}),((bi=Cr==null?void 0:Cr.target_test_sets)==null?void 0:bi.length)>0&&_n.createElement("div",null,_n.createElement("h1",{className:Je.title},"\u6307\u6807\u6210\u7EE9"),_n.createElement(Xe.default,{className:Je.TableStyle,dataSource:yr,rowKey:Aa=>Aa==null?void 0:Aa.challenge_id,pagination:!1,bordered:!0,columns:zc})),(Cr==null?void 0:Cr.work_description)&&_n.createElement(_n.Fragment,null,_n.createElement("h1",{className:Je.title},"\u4E2A\u4EBA\u603B\u7ED3"),_n.createElement(vr.Z,{value:Cr==null?void 0:Cr.work_description})),_n.createElement("h1",{className:Je.title},"\u56FE\u5F62\u7EDF\u8BA1"),_n.createElement(Rt,{data:ia}),_n.createElement("h1",{className:Je.title},"\u5B9E\u8BAD\u8BE6\u60C5")),_n.createElement($t,{autoHeight:gu}))))),(0,ht.GJ)()&&_n.createElement("aside",{className:`sticky ${Je.footerBar}`},_n.createElement("aside",{className:"edu-container flex item-center"},_n.createElement(Ue.Link,{className:Je.exitComment,to:`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),_n.createElement("div",{className:"ml-auto flex item-center gap-20px"},_n.createElement(_e.ZP,{disabled:!(Cr!=null&&Cr.pre_student_work_id),onClick:()=>hd()},"\u4E0A\u4E00\u4E2A"),_n.createElement(_e.ZP,{disabled:!(Cr!=null&&Cr.next_student_work_id),onClick:()=>hd("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&_n.createElement(_e.ZP,{className:Je.NewButtonStyle,type:"primary",onClick:()=>Dt(void 0,null,function*(){Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Cr.user_id,data:gi({},Cr)},fn:()=>eA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),_n.createElement(jr,null),_n.createElement(Qr.Z,null),_n.createElement(we.default,{open:Ho,width:860,centered:!0,onCancel:()=>{Do(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},_n.createElement("div",{style:{color:"#333333",fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),_n.createElement("br",null),_n.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"),_n.createElement("br",null),_n.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"),_n.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 "),_n.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")),_n.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),_n.createElement("br",null),_n.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 "),_n.createElement("br",null),_n.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"),_n.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 "),_n.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"),_n.createElement("br",null),_n.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")),_n.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),_n.createElement("br",null),_n.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")),_n.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),_n.createElement("br",null),_n.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"))),_n.createElement(we.default,{open:zo,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ys(!1)},width:600},_n.createElement("div",{style:{fontWeight:400,color:"#333333"}},_n.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",_n.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),_n.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",_n.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"),_n.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",_n.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"))),_n.createElement(we.default,{open:bs,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{al("all"),Ds(!1)},destroyOnClose:!0,width:900},_n.createElement("div",{style:{fontWeight:400,color:"#333333"}},_n.createElement("div",null,_n.createElement("span",null,"\u5173\u5361\uFF1A"),_n.createElement(Ke.default,{style:{width:300},value:_l,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Aa=>Dt(void 0,null,function*(){al(Aa),eA({page:1,page_size:10},Aa)})},_n.createElement(Ke.default.Option,{value:"all"}," \u5168\u90E8 "),(xr=Cr==null?void 0:Cr.stage_list)==null?void 0:xr.map((Aa,$o)=>_n.createElement(Ke.default.Option,{key:$o,value:Aa==null?void 0:Aa.challenge_id},"\u7B2C",(0,dt.EM)($o+1),"\u5173")))),_n.createElement("div",{className:"mt20"},_n.createElement(Xe.default,{dataSource:mo,rowKey:Aa=>Aa==null?void 0:Aa.id,pagination:!1,columns:Ac,loading:hs})),_n.createElement("div",{className:Je.footer},_n.createElement("div",null,_n.createElement("span",{style:{color:"#656F87"}},"\u5171",_n.createElement("span",{className:"c-light-primary"},Nl),"\u6761\u6570\u636E")),_n.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(ca==null?void 0:ca.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Nl,onChange:wd})))))};var Zt=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn,loading:Nr,globalSetting:Di,user:Io})=>({shixunHomeworks:or,classroomList:Qn,globalSetting:Di,loading:Nr.effects,user:Io}))(Gt),jt=ce(27812),on={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy"},Mn={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const ir=({shixunHomeworks:or,data:Qn,globalSetting:Nr,loading:Di,dispatch:Io})=>{var lr;const{shixunWorkReport:Jn}=or;let Un=((lr=Qn==null?void 0:Qn.efficiency_list)==null?void 0:lr.length)-parseInt(Qn==null?void 0:Qn.myself_eff[0]);const cr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(bi){return bi.name===Jn.username?"\u59D3\u540D\uFF1A"+Jn.username+"
\u5B66\u53F7\uFF1A "+Jn.user_id+"
\u6548\u7387\uFF1A"+(Qn==null?void 0:Qn.myself_eff[1]):bi.name+":"+bi.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Qn==null?void 0:Qn.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Jn.username,xAxis:Un,yAxis:Qn==null?void 0:Qn.myself_eff[1],value:Qn==null?void 0:Qn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Ur=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(bi){var xr=bi.value;if(bi.name===Jn.username)return"\u59D3\u540D\uFF1A"+Jn.username+"
\u5B66\u53F7\uFF1A "+Jn.user_id+"
\u5F97\u5206\uFF1A"+(Qn==null?void 0:Qn.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Mn,data:Qn==null?void 0:Qn.consume_list,symbolSize:function(bi){return Math.round(bi[2])},markPoint:{data:[{name:Jn.username,xAxis:Qn==null?void 0:Qn.myself_object[0],yAxis:Qn==null?void 0:Qn.myself_object[1],value:Qn==null?void 0:Qn.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:cr()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:on.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[0]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Me.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Me.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:Ur()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:on.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_object[1]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Me.createElement("br",null)))))))};var qn=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects}))(ir),pr=({defaultValue:or,onBlur:Qn,max:Nr,className:Di="game-score"})=>{const[Io,lr]=(0,Me.useState)(or);(0,Me.useEffect)(()=>{lr(or)},[or]);function Jn(cr){lr(cr)}function Un(){Io!==or&&Qn(Io>Nr?Nr:Io)}return Me.createElement(bt.Z,{max:Nr,min:0,className:Di,value:Io,onChange:Jn,onBlur:Un})},Gr={md:"md___TEmcT"},Zr=ce(59301),$r=Object.defineProperty,Xn=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,ki=Object.getOwnPropertySymbols,vi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,xi=(or,Qn,Nr)=>Qn in or?$r(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Ca=(or,Qn)=>{for(var Nr in Qn||(Qn={}))vi.call(Qn,Nr)&&xi(or,Nr,Qn[Nr]);if(ki)for(var Nr of ki(Qn))Zi.call(Qn,Nr)&&xi(or,Nr,Qn[Nr]);return or},si=(or,Qn)=>Xn(or,Or(Qn));const oa=Ke.default.Option,mn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var mr=(or=>(or[or.SET_PATH=0]="SET_PATH",or[or.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",or))(mr||{});function dr(or,Qn){switch(Qn.type){case 0:return si(Ca({},or),{selectedPath:Qn.payload});case 1:return si(Ca({},or),{passedContent:Qn.payload});default:throw new Error}}var Wr=({path:or,game_id:Qn,onPathChange:Nr,autoHeight:Di,diff_code_count:Io,data:lr,game_codes_cn:Jn})=>{var Un,cr,Ur,bi;const xr=or.split("\uFF1B").filter(ia=>!!ia),[Hr,ji]=(0,Me.useReducer)(dr,{selectedPath:xr[0],passedContent:{language:"python",content:""}}),{selectedPath:Ji,passedContent:ca}=Hr;function Xr(ia){ji({type:0,payload:ia})}const Ni={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Zr.createElement(Zr.Fragment,null,Zr.createElement("h2",null," ",Zr.createElement("span",null,Jn,Zr.createElement(Oe.Z,{title:Zr.createElement("div",null,Zr.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Zr.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Zr.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Zr.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Zr.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Io&&Zr.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Io),Zr.createElement("span",null,Zr.createElement(Ke.default,{style:{width:200},value:Ji,onChange:Xr}," ",xr.map(ia=>Zr.createElement(oa,{key:ia,value:ia},ia))," "))," "),(Ji==null?void 0:Ji.split(".")[1])==="md"&&Zr.createElement(wt.Z,{height:300,autoHeight:Di,defaultValue:((cr=(Un=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Un[0])==null?void 0:cr.content)||"",className:Gr.md}),(Ji==null?void 0:Ji.split(".")[1])!=="md"&&Zr.createElement(Ft.ZP,{height:300,language:ca.language,value:((bi=(Ur=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Ur[0])==null?void 0:bi.content)||"",autoHeight:Di,theme:"default",isCopy:!0,options:mn}))},wr=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,yi=(or,Qn,Nr)=>Qn in or?wr(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Hi=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Fr.call(Qn,Nr)&&yi(or,Nr,Qn[Nr]);if(Mr)for(var Nr of Mr(Qn))ui.call(Qn,Nr)&&yi(or,Nr,Qn[Nr]);return or};const Oa=or=>React.createElement("svg",Hi({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},or),React.createElement("path",{d:"M512 327.68c245.76 0 445.44 153.6 445.44 348.16C957.44 870.4 757.76 1024 512 1024c-245.76-5.12-445.44-153.6-445.44-348.16 0-194.56 199.68-348.16 445.44-348.16z",fill:"#DBDCFF"}),React.createElement("path",{d:"M645.12 947.2c117.76-10.24 158.72-143.36 163.84-266.24 0-128-128-174.08-291.84-174.08-163.84 0-291.84 46.08-291.84 174.08 0 112.64 35.84 240.64 143.36 261.12 30.72 5.12 261.12 10.24 276.48 5.12z",fill:"#111ACC"}),React.createElement("path",{d:"M404.48 686.08c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c-5.12-10.24 10.24-25.6 25.6-25.6zm220.16 0c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c0-10.24 10.24-25.6 25.6-25.6z",fill:"#FFF"}),React.createElement("path",{d:"M916.48 527.36c56.32 0 107.52 71.68 107.52 153.6 0 87.04-61.44 153.6-117.76 153.6 0 0 51.2-76.8 51.2-158.72s-40.96-148.48-40.96-148.48zm-808.96 5.12-5.12 5.12c-10.24 20.48-35.84 76.8-35.84 138.24 0 76.8 35.84 138.24 51.2 158.72C61.44 834.56 0 768 0 680.96c0-81.92 51.2-148.48 107.52-148.48z",fill:"#8187FF"}),React.createElement("path",{d:"M512 0c20.48 0 30.72 15.36 30.72 30.72v220.16c0 20.48-15.36 30.72-30.72 30.72s-30.72-10.24-30.72-30.72V30.72C481.28 15.36 496.64 0 512 0z",fill:"#701CDC"}),React.createElement("path",{d:"M384 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-35.84-15.36-35.84-30.72V76.8c0-20.48 15.36-30.72 35.84-30.72z",fill:"#371CDC"}),React.createElement("path",{d:"M645.12 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72V76.8c0-20.48 15.36-30.72 30.72-30.72z",fill:"#AB2FF0"}),React.createElement("path",{d:"M250.88 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-35.84-10.24-35.84-30.72v-40.96c0-20.48 15.36-35.84 35.84-35.84z",fill:"#6D57F2"}),React.createElement("path",{d:"M778.24 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72v-40.96c0-20.48 15.36-35.84 30.72-35.84z",fill:"#C86FFA"}));var Qa="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI3LjY4YzI0NS43NiAwIDQ0NS40NCAxNTMuNiA0NDUuNDQgMzQ4LjE2Qzk1Ny40NCA4NzAuNCA3NTcuNzYgMTAyNCA1MTIgMTAyNGMtMjQ1Ljc2LTUuMTItNDQ1LjQ0LTE1My42LTQ0NS40NC0zNDguMTYgMC0xOTQuNTYgMTk5LjY4LTM0OC4xNiA0NDUuNDQtMzQ4LjE2e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NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",oo=ce(98400),La=Object.defineProperty,Da=Object.defineProperties,po=Object.getOwnPropertyDescriptors,Za=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,ka=(or,Qn,Nr)=>Qn in or?La(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Xa=(or,Qn)=>{for(var Nr in Qn||(Qn={}))io.call(Qn,Nr)&&ka(or,Nr,Qn[Nr]);if(Za)for(var Nr of Za(Qn))va.call(Qn,Nr)&&ka(or,Nr,Qn[Nr]);return or},Pa=(or,Qn)=>Da(or,po(Qn)),ao=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const us=({shixunHomeworks:or,autoHeight:Qn,classroomList:Nr,dispatch:Di})=>{var Io,lr,Jn,Un,cr,Ur,bi,xr;const{shixunWorkReport:Hr}=or,{stage_list:ji,work_id:Ji,ai_code_evaluation_promote:ca}=Hr,[Xr,Ni]=(0,Me.useState)(!1),[ia,Ma]=(0,Me.useState)(!0),[Oi,da]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),Lo=(0,Me.useRef)(null),[co,To]=(0,Me.useState)(!1),[hs,Bu]=(0,Me.useState)(""),gu=(0,Me.useRef)(null),Su=(qa,Ho)=>{var Do;const{clientWidth:zo,clientHeight:ys}=window.document.documentElement,bs=(Do=Lo.current)==null?void 0:Do.getBoundingClientRect();bs&&da({left:-bs.left+Ho.x,right:zo-(bs.right-Ho.x),top:-bs.top+Ho.y,bottom:ys-(bs.bottom-Ho.y)})},Cr=(0,Ue.useParams)(),yr=(0,ht.GJ)(),Eu={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(Cr)},[]);const mo=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(qa,Ho,Do)=>Me.createElement("div",null,qa,Ho.is_work_end_evaluate&&Me.createElement(dt.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:qa=>Ne()(qa).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(qa,Ho)=>Me.createElement("span",{className:"c-blue current",onClick:()=>ao(void 0,null,function*(){var Do,zo;const ys=yield(0,ie.Lk)(Ho.game_identifier,{path:(zo=(Do=Ho.path)==null?void 0:Do.replace(/\;/g,";"))==null?void 0:zo.split(";")[0],query_index:Ho.query_index,homework_common_id:Cr.categoryId});(ys==null?void 0:ys.status)===0&&(To(ys),Ni(!0))})},Ho.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Qo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(qa,Ho)=>{var Do;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((Do=Ho==null?void 0:Ho.user)==null?void 0:Do.image_url)}),qa)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:qa=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",qa,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:qa=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",qa,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:qa=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",qa?Ne()(qa).format("YYYY-MM-DD HH:mm"):"--")}];function Nl(qa,Ho){return ao(this,null,function*(){const{challenge_id:Do}=ji[qa],zo=yield Di({type:"shixunHomeworks/changeScore",payload:{categoryId:Cr.homeworkId,type:"report",score:Ho,challenge_id:Do}});yield Di({type:"shixunHomeworks/getShixunWorkReport",payload:Xa({},Cr)}),zo.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function el(qa,Ho){return(0,Ae.U2)(`student_works/${Ji}/rep_passed_content.json`,{path:Ho,game_id:qa})}const[_l,al]=(0,Me.useState)((Io=Hr==null?void 0:Hr.shixun_detail)==null?void 0:Io.map(qa=>Pa(Xa({},qa),{commentEdit:!1}))),vu=qa=>qa.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[Bs,fl]=(0,Me.useState)(!1),kc=(qa,Ho)=>ao(void 0,null,function*(){var Do,zo;fl(!0),gu.current=new oo.Z(rt.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-max",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:ca,shixun_id:Hr==null?void 0:Hr.myshixun_identifier,game_id:qa==null?void 0:qa.id,source:"shixun",is_chat:!1,type:9,description:qa==null?void 0:qa.challenge_description,query:(zo=(Do=qa==null?void 0:qa.game_codes)==null?void 0:Do[0])==null?void 0:zo.content,homework_common_id:Cr.categoryId}),yield new Promise((ys,bs)=>{gu.current.on("data",Ds=>{const ol=[..._l];ol[Ho].comment=vu(Ds==null?void 0:Ds.full),al(ol)}),gu.current.on("done",()=>ao(void 0,null,function*(){var Ds;fl(!1);const ol=[..._l],Vs=yield(0,Ae.ZP)(`/api/student_works/${Cr==null?void 0:Cr.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:qa==null?void 0:qa.challenge_id,comment:ol[Ho].comment}});if((Vs==null?void 0:Vs.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Ol=[..._l];Ol[Ho].comment_updated_at=(Ds=Vs==null?void 0:Vs.data)==null?void 0:Ds.comment_updated_at,al(Ol)}})),gu.current.startStream()})});return Me.createElement(Me.Fragment,null,_l==null?void 0:_l.map(function(qa,Ho){var Do,zo;return Me.createElement("div",{key:Ho},Me.createElement("aside",{className:"pl30 pr30",key:Ho},Me.createElement("div",{className:`${on.shixunTitle} mt10`},Me.createElement("div",null,Me.createElement("span",{className:"fa fa-code "}),Me.createElement("strong",{className:"c-black"},"\u7B2C",Ho+1,"\u5173 ",Me.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${Cr.coursesId}/${Cr.categoryId}/${qa.game_identifier}`},qa.subject))),yr?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(pr,{className:"game-score",max:ji[Ho].game_score_full,defaultValue:ji[Ho].game_score,onBlur:ys=>{var bs;if((0,ht.Rm)()&&!((bs=Nr.AssistantObject.practice)!=null&&bs.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nl(Ho,ys)}})):null),Me.createElement("div",{className:"font16 mt10"},qa.st===0&&(qa.path?typeof(qa==null?void 0:qa.game_codes_cn)=="string"?Me.createElement("aside",{className:on.shixunWrp},Me.createElement(Wr,{game_codes_cn:qa==null?void 0:qa.game_codes_cn,autoHeight:Qn,path:qa.path,game_id:qa.id,data:qa.game_codes,diff_code_count:qa.diff_code_count,onPathChange:el})):Me.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),qa.st===1&&(qa.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Me.createElement("aside",{className:"mt10 font16"},(Do=qa.outputs)!=null&&Do.length?Me.createElement(Xe.default,{columns:mo,pagination:{hideOnSinglePage:!0},dataSource:qa.outputs.map(ys=>Xa(Xa({},qa),ys))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10"},Me.createElement("div",null,Me.createElement("div",{style:{display:"flex",alignItems:"center"}},Me.createElement("strong",{className:"c-black font14"},"\u4EE3\u7801\u8BC4\u4EF7"),!(qa!=null&&qa.commentEdit)&&!(0,ht.dE)()&&(qa!=null&&qa.comment?Me.createElement(Me.Fragment,null,Me.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",qa!=null&&qa.comment_updated_at?Ne()(qa==null?void 0:qa.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),Me.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>ao(this,null,function*(){Bs?fe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):we.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u662F\u5426\u91CD\u65B0\u751F\u6210\u8BC4\u8BBA\uFF1F",okText:"\u786E\u8BA4",icon:null,cancelText:"\u53D6\u6D88",onOk:()=>ao(this,null,function*(){kc(qa,Ho)})})})},Me.createElement("i",{className:"iconfont icon-zhongxinshengcheng1 mr8 font14"}),"\u91CD\u65B0\u751F\u6210")):Me.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"auto",cursor:"pointer"},onClick:()=>ao(this,null,function*(){Bs?fe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):kc(qa,Ho)})},Me.createElement("img",{src:Qa,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(qa!=null&&qa.commentEdit)&&!(0,ht.dE)()&&Me.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const ys=[..._l];ys[Ho].commentEdit=!0,al(ys),Bu(qa==null?void 0:qa.comment)}},Me.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(qa==null?void 0:qa.commentEdit)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:on.pj_close,onClick:()=>{const ys=[..._l];ys[Ho].commentEdit=!1,al(ys)}},"\u53D6\u6D88"),Me.createElement("div",{className:on.pj_save,onClick:()=>ao(this,null,function*(){var ys;const bs=yield(0,Ae.ZP)(`/api/student_works/${Cr==null?void 0:Cr.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:qa==null?void 0:qa.challenge_id,comment:hs}});if((bs==null?void 0:bs.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Ds=[..._l];Ds[Ho].commentEdit=!1,Ds[Ho].comment=hs,Ds[Ho].comment_updated_at=(ys=bs==null?void 0:bs.data)==null?void 0:ys.comment_updated_at,al(Ds)}})},"\u4FDD\u5B58"))),!(qa!=null&&qa.commentEdit)&&Me.createElement("div",{className:on.pingjia},qa!=null&&qa.comment?Me.createElement(vr.Z,{value:qa==null?void 0:qa.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(qa==null?void 0:qa.commentEdit)&&Me.createElement(He.default.TextArea,{defaultValue:hs,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:ys=>Bu(ys.target.value)}))),Me.createElement("aside",{className:"mt10 font16"},((zo=qa==null?void 0:qa.adjust_review_score_list)==null?void 0:zo.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Xe.default,{columns:Qo,pagination:{hideOnSinglePage:!0},dataSource:qa.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(we.default,{open:Xr,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{To({}),Ni(!1)},onCancel:()=>{To({}),Ni(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ia&&Ma(!1)},onMouseOut:()=>{Ma(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:qa=>Me.createElement(se(),{disabled:ia,bounds:Oi,nodeRef:Lo,onStart:(Ho,Do)=>Su(Ho,Do)},Me.createElement("div",{ref:Lo},qa))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((lr=co==null?void 0:co.data)==null?void 0:lr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Me.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Me.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Me.createElement("div",{style:{color:((Jn=co==null?void 0:co.data)==null?void 0:Jn.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Un=co==null?void 0:co.data)==null?void 0:Un.output_detail)),Me.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ne()((cr=co==null?void 0:co.data)==null?void 0:cr.created_at).format("YYYY-MM-DD HH:mm:ss"))),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ur=co==null?void 0:co.data)==null?void 0:Ur.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(bi=co==null?void 0:co.data)==null?void 0:bi.ts_mem,"mb")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((xr=co==null?void 0:co.data)==null?void 0:xr.test_set_passed_rate)*100,"%")))),Me.createElement(Ft.ZP,{height:500,autoHeight:Qn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((co==null?void 0:co.content)||""))),options:Eu})))};var Ya=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr,classroomList:Di})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects,classroomList:Di}))(us),fi={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Rr=ce(59301),Ra=Object.defineProperty,_a=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable,go=(or,Qn,Nr)=>Qn in or?Ra(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,As=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Va.call(Qn,Nr)&&go(or,Nr,Qn[Nr]);if(_a)for(var Nr of _a(Qn))Mo.call(Qn,Nr)&&go(or,Nr,Qn[Nr]);return or},_o=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const Js=({shixunHomeworks:or,dispatch:Qn,classroomList:Nr})=>{const{shixunWorkReport:Di}=or,Io=(0,Ue.useParams)(),[lr,Jn]=(0,Me.useState)(!1),[Un]=Sn.default.useForm(),[cr,Ur]=we.default.useModal(),[bi,xr]=(0,Me.useState)(!1),[Hr,ji]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var Xr,Ni,ia,Ma;or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Un.setFieldsValue({comment:(Ni=(Xr=or.actionTabs.selectArrs)==null?void 0:Xr.data)==null?void 0:Ni.work_comment,hidden_comment:(Ma=(ia=or.actionTabs.selectArrs)==null?void 0:ia.data)==null?void 0:Ma.work_comment_hidden})},[or.actionTabs.key]);const Ji=()=>_o(void 0,null,function*(){const Xr=Un.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${Io.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Xr.hidden_comment,comment:Xr.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Un.resetFields(),Qn({type:"shixunHomeworks/setActionTabs",payload:{}}),Qn({type:"shixunHomeworks/getShixunWorkReport",payload:As({},Io)}))}),ca=[{title:"\u5173\u5361",dataIndex:"name",render:(Xr,Ni,ia)=>ia+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Xr,Ni,ia)=>Rr.createElement("div",null,Xr,Ni.complete_status===4&&Rr.createElement(dt.vA,{status:Ni.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Xr=>Xr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Xr,Ni)=>Rr.createElement("div",null,Rr.createElement("span",{style:{color:parseFloat(Ni.game_score_full)!==parseFloat(Xr)?"#E30000":"#53C41B"}},Xr),"/",Ni.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Xr,Ni)=>(0,ht.GJ)()?Rr.createElement(pr,{max:Ni.game_score_full,defaultValue:parseFloat(Xr),onBlur:ia=>_o(void 0,null,function*(){var Ma,Oi;if((0,ht.Rm)()&&!((Ma=Nr.AssistantObject.practice)!=null&&Ma.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const da=yield Qn({type:"shixunHomeworks/changeScore",payload:{categoryId:Io.homeworkId,type:"report",score:ia,challenge_id:Ni.challenge_id}});(Oi=or==null?void 0:or.actionTabs)==null||Oi.fn(),yield Qn({type:"shixunHomeworks/getShixunWorkReport",payload:As({},Io)}),da.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Xr}];return Rr.createElement(Rr.Fragment,null,Ur,Rr.createElement(we.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>_o(void 0,null,function*(){var Xr;if((0,ht.Rm)()&&!((Xr=Nr.AssistantObject.practice)!=null&&Xr.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ni=Un.getFieldsValue();JSON.stringify(Ni)==="{}"||Ni.hidden_comment===""&&Ni.comment===""?Jn(!0):Ji()}),onCancel:()=>{Qn({type:"shixunHomeworks/setActionTabs",payload:{}})}},Rr.createElement(Te.Z,{justify:"space-between",className:fi.info},Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u59D3\u540D"),Rr.createElement("span",{className:fi.blackContent},Di==null?void 0:Di.username)),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u5B66\u53F7"),Rr.createElement("span",{className:fi.blackContent},(Di==null?void 0:Di.student_id)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u73ED\u7EA7"),Rr.createElement("span",{className:fi.blackContent},(Di==null?void 0:Di.group_name)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u5173\u5361\u5F97\u5206"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.challenge_score)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u6548\u7387\u5206"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.eff_score)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u8865\u4EA4\u6263\u5206"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.late_penalty)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.work_score)||"--"))),Rr.createElement(Sn.default,{form:Un,onChange:()=>{lr&&Jn(!1)}},Rr.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},Rr.createElement(Pe.Z,null,Rr.createElement("div",{className:`${fi.inputLabel} ${fi.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Rr.createElement(Pe.Z,null,Rr.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:bi,onCancel:()=>{xr(!1)}},onDataSelect:(Xr,Ni)=>_o(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({comment:Ma==null?void 0:Ma.value}),xr(!1)};if(Un.getFieldValue("comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},Rr.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:Rr.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{xr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Rr.createElement(Sn.default.Item,{name:"comment"},Rr.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Rr.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},Rr.createElement(Pe.Z,null,Rr.createElement("div",{className:`${fi.inputLabel} ${fi.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Rr.createElement(Pe.Z,null,Rr.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Hr,onCancel:()=>{ji(!1)}},onDataSelect:(Xr,Ni)=>_o(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({hidden_comment:Ma==null?void 0:Ma.value}),ji(!1)};if(Un.getFieldValue("hidden_comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},Rr.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:Rr.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{ji(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Rr.createElement(Sn.default.Item,{name:"hidden_comment"},Rr.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),lr&&Rr.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Rr.createElement("div",{className:fi.tableTitle},"\u5173\u5361\u6210\u7EE9"),Rr.createElement(Xe.default,{className:fi.scoreTable,dataSource:Di.stage_list,rowKey:"challenge_id",pagination:!1,columns:ca,scroll:{x:"max-content"}})))};var Sa=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn})=>({shixunHomeworks:or,classroomList:Qn}))(Js),xa=ce(78912),Bo={wrap:"wrap___LZOi9",line:"line___oju0L"},Ms=({detailData:or})=>{var Qn;return Me.createElement("div",{className:Bo.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(or),(or==null?void 0:or.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Me.createElement(mi.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,mi.Uf)(or)}),!!((Qn=or==null?void 0:or.photos)!=null&&Qn.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:Bo.line}),Me.createElement(mi._s,{dataSource:or==null?void 0:or.photos,right:21,col:4,wrapWidth:1140}))))},er=ce(59301),Qs=Object.defineProperty,fs=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,qs=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,sa=Object.prototype.propertyIsEnumerable,ra=(or,Qn,Nr)=>Qn in or?Qs(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,ua=(or,Qn)=>{for(var Nr in Qn||(Qn={}))ma.call(Qn,Nr)&&ra(or,Nr,Qn[Nr]);if(qs)for(var Nr of qs(Qn))sa.call(Qn,Nr)&&ra(or,Nr,Qn[Nr]);return or},cs=(or,Qn)=>fs(or,Zs(Qn)),Ps=(or,Qn)=>{var Nr={};for(var Di in or)ma.call(or,Di)&&Qn.indexOf(Di)<0&&(Nr[Di]=or[Di]);if(or!=null&&qs)for(var Di of qs(or))Qn.indexOf(Di)<0&&sa.call(or,Di)&&(Nr[Di]=or[Di]);return Nr},jo=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const xs=or=>{var Qn=or,{shixunHomeworks:Nr,classroomList:Di,globalSetting:Io,loading:lr,user:Jn,dispatch:Un}=Qn,cr=Ps(Qn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ur,bi,xr;const[Hr,ji]=(0,Me.useState)(ua({},(0,Ue.useParams)())),Ji=(0,Ue.useParams)(),[ca,Xr]=(0,Me.useState)({page:1,page_size:10}),Ni=(0,Ue.useLocation)(),[]=(0,Me.useState)([]),[ia,Ma]=(0,Me.useState)(),Oi=(0,Me.useRef)(),da=(0,Me.useRef)(),[Lo,co]=(0,Me.useState)(!1),[To,hs]=(0,Me.useState)(!0),[Bu,gu]=(0,Me.useState)(!1),[Su,Cr]=(0,Me.useState)(!1),{shixunWorkReport:yr}=Nr,[Eu,mo]=(0,Me.useState)(),[Qo,Nl]=(0,Me.useState)([]),[el,_l]=(0,Me.useState)(),[al,vu]=(0,Me.useState)("all"),Bs=(0,ht.GJ)(),[fl,kc]=(0,Me.useState)(new(ve())),[qa,Ho]=(0,Me.useState)(0),[Do,zo]=(0,Me.useState)(!1),[ys,bs]=(0,Me.useState)(!1),[Ds,ol]=(0,Me.useState)(!1),[Vs,Ol]=(0,Me.useState)(""),[ac,ad]=(0,Me.useState)(!1),[Fu,oc]=(0,Me.useState)(!0),[sc,wc]=(0,Me.useState)(0),Kl=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),$d=(0,Me.useRef)(),Hd=()=>jo(void 0,null,function*(){(Jn.userInfo.is_teacher||Jn.userInfo.admin)&&(ad(!0),oc(!1))});(0,Me.useEffect)(()=>{var _i;(0,ht.Rm)()&&Di.AssistantObject.practice&&!((_i=Di.AssistantObject.practice)!=null&&_i.can_view)&&Ue.history.replace("/403")},[(Ur=Di.AssistantObject.practice)==null?void 0:Ur.can_view]),(0,Me.useEffect)(()=>{Hd(),console.log("\u6253\u5370\u7684------",yr),$d.current=yr==null?void 0:yr.next_student_work_id,Ol(yr.repeat_minus_score)},[yr,Jn]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",yr.work_score),wc(yr.work_score)},[yr.work_score,Vs]),(0,Me.useEffect)(()=>(Un({type:"globalSetting/footerToggle",payload:!1}),()=>{Un({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var _i;if(yr){let rs=[];(_i=yr==null?void 0:yr.target_test_sets)==null||_i.map((Eo,tu)=>{var lc;(lc=Eo==null?void 0:Eo.targets)==null||lc.map((Kc,Pc)=>{var wA;Kc.name=Eo==null?void 0:Eo.name,Kc.total_target_score=Eo==null?void 0:Eo.total_target_score,Kc.actual_target_score=Eo==null?void 0:Eo.actual_target_score,Kc.rowSpan=Pc===0?(wA=Eo==null?void 0:Eo.targets)==null?void 0:wA.length:0,Kc.order=tu+1,rs.push(Kc)})}),mo(rs),(0,ht.Rm)()&&Un({type:"classroomList/getAssistantPermissions",payload:{course_id:Hr.coursesId}})}},[yr]),(0,Me.useEffect)(()=>{Nr.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(yr==null?void 0:yr.students_count)>0&&!To&&setTimeout(()=>{bl("all")},800)},[yr==null?void 0:yr.homework_common_id,To]),(0,Me.useEffect)(()=>{ji(ua({},Ji))},[Ni.pathname]);const wd=()=>{document.body.scrollIntoView()},eA=_i=>{ca.page=_i,Xr(ua({},ca)),Mc(ca,al)},Mc=(_i,rs)=>jo(void 0,null,function*(){gu(!0);const Eo=yield(0,Ae.ZP)(`/api/student_works/${Hr==null?void 0:Hr.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:cs(ua({},_i),{challenge_id:rs=="all"?null:rs})});(Eo==null?void 0:Eo.status)===0&&(Nl(Eo==null?void 0:Eo.list),_l(Eo==null?void 0:Eo.count)),gu(!1)});function bA(){return jo(this,null,function*(){Kl.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const $u=()=>{document.querySelectorAll("canvas").forEach(_i=>{(!_i.clientWidth||!_i.clientHeight)&&_i.remove()})},Id=()=>{Oi.current.offsetHeight>62e3?Cr(!1):Cr(!0)},yl=_i=>jo(void 0,null,function*(){const rs=yield(0,Ar.t1)({homeworkId:_i||Hr.homeworkId});Ma(rs==null?void 0:rs.data)}),bl=_i=>jo(void 0,null,function*(){var rs,Eo,tu,lc;let Kc=0,Pc;Pc=we.default.info({width:460,title:er.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",er.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:er.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",er.createElement("span",{className:"c-blue"},Kc+1),"/",_i!=="all"?1:yr==null?void 0:yr.students_count,er.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:on.modal,onOk:()=>{}});const wA={margin:[0,0],filename:`${yr!=null&&yr.student_id&&(yr==null?void 0:yr.student_id)!="--"?yr==null?void 0:yr.student_id:""}${yr.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},xd=fl.folder(yr==null?void 0:yr.shixun_name);function Il(Ld){return jo(this,null,function*(){yield yl(Ld||$d.current);const Cl=yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua({homeworkId:Ld||$d.current},Kl.current||{})});$d.current=Cl==null?void 0:Cl.next_student_work_id,wd(),Kc++,setTimeout(()=>jo(this,null,function*(){var Du,Uu,Jl,hl;$u();const uc=xd.folder(`${Cl==null?void 0:Cl.group_name}`).folder(`${Cl!=null&&Cl.student_id&&(Cl==null?void 0:Cl.student_id)!="--"?Cl.student_id+"+":""}${Cl==null?void 0:Cl.username}`),_c=document.querySelector("#export-all").children;let ec=Bi()();for(let Wc=0;Wc<_c.length;Wc++)yield ec.set(wA).from(_c[Wc]).toContainer().toCanvas().toPdf().get("pdf").then(Vu=>jo(this,null,function*(){Wc<_c.length-1&&(yield Vu.addPage())}));if(uc.file(`${Cl!=null&&Cl.student_id&&(Cl==null?void 0:Cl.student_id)!="--"?Cl.student_id+"+":""}${Cl==null?void 0:Cl.username}.pdf`,ec.output("blob")),((Du=Cl==null?void 0:Cl.shixun_detail)==null?void 0:Du.length)>0&&((Jl=(Uu=Cl==null?void 0:Cl.shixun_detail)==null?void 0:Uu.filter(Wc=>{var Vu;return((Vu=Wc==null?void 0:Wc.game_codes)==null?void 0:Vu.length)>0}))==null?void 0:Jl.length)>0){const Wc=uc.folder("\u4EE3\u7801\u6587\u4EF6");(hl=Cl==null?void 0:Cl.shixun_detail)==null||hl.map((Vu,jd)=>{var Sh,od;if(((Sh=Vu==null?void 0:Vu.game_codes)==null?void 0:Sh.length)>0){const Dd=Wc.folder(`\u7B2C${jd+1}\u5173-${Vu.subject}-${Vu.id}`);(od=Vu==null?void 0:Vu.game_codes)==null||od.map(xc=>{Dd.file(`${xc.filename}.txt`,xc==null?void 0:xc.content)})}})}Pc.update({content:er.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",er.createElement("span",{className:"c-blue"},Kc),"/",Cl==null?void 0:Cl.students_count,er.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Kc==(Cl==null?void 0:Cl.students_count)?(Pc.destroy(),Hl()):Il()}),2200)})}if(_i!=="all"||(yr==null?void 0:yr.students_count)<2){$u(),wd();const Ld=da.current.children;let Cl=Bi()();const Uu=xd.folder(`${yr==null?void 0:yr.group_name}`).folder(`${yr!=null&&yr.student_id&&(yr==null?void 0:yr.student_id)!="--"?(yr==null?void 0:yr.student_id)+"+":""}${yr==null?void 0:yr.username}`);for(let Jl=0;Jljo(void 0,null,function*(){Jl0&&((tu=(Eo=yr==null?void 0:yr.shixun_detail)==null?void 0:Eo.filter(Jl=>{var hl;return((hl=Jl==null?void 0:Jl.game_codes)==null?void 0:hl.length)>0}))==null?void 0:tu.length)>0){const Jl=Uu.folder("\u4EE3\u7801\u6587\u4EF6");(lc=yr==null?void 0:yr.shixun_detail)==null||lc.map((hl,fc)=>{var uc,_c;if(((uc=hl==null?void 0:hl.game_codes)==null?void 0:uc.length)>0){const ec=Jl.folder(`\u7B2C${fc+1}\u5173-${hl.subject}-${hl.id}`);(_c=hl==null?void 0:hl.game_codes)==null||_c.map(Wc=>{ec.file(`${Wc.filename}.txt`,Wc==null?void 0:Wc.content)})}})}Pc.destroy(),Hl();return}else Il(yr==null?void 0:yr.first_student_work_id)}),Hl=()=>{fl.generateAsync({type:"blob"}).then(function(_i){console.log(yr,"shixunWorkReport");const rs=document.createElement("a");rs.href=window.URL.createObjectURL(_i),rs.download=(yr==null?void 0:yr.shixun_name)+".zip",document.body.appendChild(rs);const Eo=document.createEvent("MouseEvents");Eo.initEvent("click",!1,!1),rs.dispatchEvent(Eo),document.body.removeChild(rs),kc(new(ve()))}),Cr(!1)};(0,Me.useEffect)(()=>{zc()},[Hr.homeworkId]);const zc=()=>jo(void 0,null,function*(){hs(!0),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}),yl(),(0,ht.GJ)()&&bA(),hs(!1)}),Ac=[{title:"\u5173\u5361",dataIndex:"name",render:(_i,rs,Eo)=>Eo+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(_i,rs,Eo)=>er.createElement("div",null,_i,rs.complete_status===4&&er.createElement(dt.vA,{status:rs.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(_i,rs,Eo)=>_i||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:_i=>_i?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(_i,rs)=>er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.myself_experience)!==parseFloat(_i)?"red":"green"}},rs.myself_experience),"/",_i)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(_i,rs)=>er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.game_score_full)!==parseFloat(_i)?"red":"green"}},_i),"/",rs.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(_i,rs)=>Bs?er.createElement(pr,{max:rs.game_score_full,defaultValue:parseFloat(_i),onBlur:Eo=>jo(void 0,null,function*(){var tu;if((0,ht.Rm)()&&!((tu=Di.AssistantObject.practice)!=null&&tu.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const lc=yield Un({type:"shixunHomeworks/changeScore",payload:{categoryId:Hr.homeworkId,type:"report",score:Eo,challenge_id:rs.challenge_id}});Mc({page:1,page_size:10},"all"),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}),lc.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):_i}];let hd=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(_i,rs,Eo)=>({children:_i,props:{rowSpan:rs.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(_i,rs,Eo)=>({children:_i,props:{rowSpan:rs.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(_i,rs,Eo)=>er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.actual_test_score)!==parseFloat(_i)?"red":"green"}},rs.actual_test_score),"/",_i)},{title:"\u6307\u6807\u603B\u5206",render:(_i,rs,Eo)=>({children:er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.actual_target_score)!==parseFloat(_i)?"red":"green"}},rs.actual_target_score),"/",_i),props:{rowSpan:rs.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Tc=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:_i=>er.createElement("span",null,_i?Ne()(_i).format("YYYY-MM-DD HH:mm"):"--")}],Ru=_i=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{_i==="next"?Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${yr==null?void 0:yr.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${yr==null?void 0:yr.pre_student_work_id}/comment`)},200)},Aa=_i=>{Ol(""),_i.target.value&&(console.log("\u8FDB\u6765",yr),_i.target.value=_i.target.value>yr.repeat_setting_score?yr.repeat_setting_score:_i.target.value,Ol(_i.target.value))},$o=()=>jo(void 0,null,function*(){const _i=yield(0,Ae.ZP)(`/api/student_works/${yr==null?void 0:yr.work_id}/update_repeat_score`,{method:"put",body:{score:Vs}});yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}),_i.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return er.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},er.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},er.createElement(ze.Z,{loading:lr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},er.createElement("div",{className:"edu-container"},yr.course_id&&er.createElement("section",{className:"animated fadeIn"},er.createElement("aside",{className:""},yr.category&&er.createElement(Be.Z,{separator:">"},er.createElement(Be.Z.Item,null,er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework`},yr.course_name)),er.createElement(Be.Z.Item,null,er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework/${yr.category.main?"":yr.category.category_id}`},yr.category.category_name)),er.createElement(Be.Z.Item,null,er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework/${yr.homework_common_id}/detail${(0,ht.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),er.createElement(Be.Z.Item,null,yr.username))),er.createElement("aside",{className:[on.title1,"mt20"].join(" ")},er.createElement(Te.Z,{align:"middle"},er.createElement(Pe.Z,{flex:1},er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework/${yr.homework_common_id}/detail`},er.createElement(jt.Z,{className:"font16 c-black"})),er.createElement("strong",{className:"font20 ml5"},yr==null?void 0:yr.homework_name),er.createElement(dt.VV,{temporary:!0,status:yr.homework_status})),er.createElement(Pe.Z,{className:on.title1_right},yr.view_tpi&&!(yr!=null&&yr.need_reservation)&&er.createElement(_e.ZP,{onClick:()=>{var _i,rs;(0,dt.xg)(`/tasks/${yr==null?void 0:yr.course_id}/${yr==null?void 0:yr.homework_common_id}/${(rs=(_i=yr==null?void 0:yr.shixun_detail)==null?void 0:_i[0])==null?void 0:rs.game_identifier}`)}},er.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,ht.GJ)()&&yr.homework_end===!1&&!!yr.myshixun_id&&er.createElement(_e.ZP,{className:"ml10",onClick:()=>jo(void 0,null,function*(){yield Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:yr.myshixun_identifier},homework_common_id:Ji.categoryId}})})},er.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),er.createElement(_e.ZP,{className:"ml10",onClick:()=>{var _i;if((0,ht.Rm)()&&!((_i=Di.AssistantObject.practice)!=null&&_i.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bl("")},loading:Lo},er.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(yr==null?void 0:yr.students_count)>1&&er.createElement(_e.ZP,{className:"ml10",onClick:()=>{var _i;if((0,ht.Rm)()&&!((_i=Di.AssistantObject.practice)!=null&&_i.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}we.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:er.createElement(Oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:er.createElement(Oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{bl("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Dr.jj)({categoryId:Hr.categoryId,coursesId:Hr.coursesId},"shixun_report")}}})}},er.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),er.createElement("aside",{className:"mt30 relative"})),er.createElement("aside",{className:"edu-container bg-white",ref:Oi},er.createElement("div",{id:"export-all",ref:da},er.createElement("div",{id:"export-all-1"},er.createElement("div",{className:on.title},er.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),er.createElement("div",null,(0,ht.GJ)()&&er.createElement(_e.ZP,{className:"mr20",type:"primary",onClick:()=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:yr.user_id,data:ua({},yr)},fn:()=>Mc({page:1,page_size:10},"all")}})}},er.createElement(We.Z,null),yr.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),er.createElement(ke.Z,{style:{marginTop:0}}),er.createElement(Te.Z,{className:"pl30 pr30"},er.createElement(Pe.Z,null,er.createElement("img",{className:on.userPic,src:`${rt.Z.IMG_SERVER}/images/${yr.image_url}`,alt:yr.username})),er.createElement(Pe.Z,null,er.createElement("span",{className:"font16 ml40"},yr.username),er.createElement(dt.vA,{status:yr.compelete_status}),er.createElement("ul",{className:on.userInfo},er.createElement("li",null,"\u5B66\u53F7\uFF1A",yr.student_id||"--"),er.createElement("li",null,"\u5206\u73ED\uFF1A",yr.group_name||"--"),er.createElement("br",null),er.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",er.createElement("span",{className:"c-red"},yr.complete_count),"/",er.createElement("span",{className:"c-red"},yr.challenges_count)),er.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",er.createElement("span",{className:"c-red"},yr.current_complete_count||"-"),"/",er.createElement("span",{className:"c-red"},yr.challenges_count)),er.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",yr&&yr.efficiency===null?"--":yr&&yr.efficiency),er.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",yr&&yr.max_efficiency===null?"--":yr&&yr.max_efficiency))),er.createElement("ul",{className:[on.listItem,"mt10"].join(" ")},er.createElement("li",null,er.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),er.createElement("div",{className:"c-light-black mt20"},yr&&yr.passed_time===null||yr&&yr.passed_time==="--"?"--":Ne()(yr&&yr.passed_time).format("YYYY-MM-DD HH:mm"))),er.createElement("li",null,er.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",er.createElement("i",{onClick:_i=>{_i.stopPropagation(),_i.preventDefault(),zo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),er.createElement("div",{className:"c-light-black mt20"},yr==null?void 0:yr.human_training_time_rules)),er.createElement("li",null,er.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",er.createElement("i",{onClick:_i=>{_i.stopPropagation(),_i.preventDefault(),bs(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),er.createElement("div",{className:"c-light-black mt20"},yr.time_consuming)),er.createElement("li",null,er.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),er.createElement("div",{className:"mt20"},yr.evaluate_count)),(yr==null?void 0:yr.eff_score_full)&&er.createElement(er.Fragment,null,er.createElement("li",null,er.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},yr.challenge_score),"/",er.createElement("span",{className:"c-light-black"},yr.challenge_score_full))),er.createElement("li",null,er.createElement("strong",null,"\u6548\u7387\u5206"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},yr.eff_score),"/",er.createElement("span",{className:"c-light-black"},yr.eff_score_full)))),(yr==null?void 0:yr.have_repeat)&&(yr==null?void 0:yr.repeat_minus_score)!==0&&er.createElement("li",{style:{position:"relative"}},er.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},er.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),er.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},yr!=null&&yr.review_rate?er.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(yr!=null&&yr.review_id&&ac)localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Hr.categoryId}/review_detail/${yr==null?void 0:yr.review_id}`});else return}},yr.review_rate.toFixed(1),"%"):er.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),ac?er.createElement("div",{className:"mt20"},er.createElement(He.default,{style:{width:"45px",height:"22px"},value:Vs,onChange:_i=>{Aa(_i)},onBlur:$o,disabled:Fu})," / ",yr==null?void 0:yr.repeat_setting_score):er.createElement("div",{className:"mt20"},yr==null?void 0:yr.repeat_minus_score," / ",yr==null?void 0:yr.repeat_setting_score)),console.log("sssssssssssssssssssssss",yr==null?void 0:yr.have_repeat,yr==null?void 0:yr.repeat_minus_score),(yr==null?void 0:yr.have_repeat)&&(yr==null?void 0:yr.repeat_minus_score)===0&&er.createElement("li",null,er.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),er.createElement("div",{className:"mt20"}," - -")),!(yr!=null&&yr.have_repeat)&&er.createElement("li",null,er.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),er.createElement("div",{className:"mt20"}," - -")),er.createElement("li",null,er.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),er.createElement("div",{className:"mt20"},er.createElement("span",null,yr.late_penalty||"- -"))),er.createElement("li",null,er.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},sc),"/",er.createElement("span",{className:"c-light-black"},yr.all_work_score))),er.createElement("li",null,er.createElement("strong",null,"\u603B\u8BC4"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},yr.overall_appraisal))))),er.createElement(ke.Z,{style:{margin:0}}),(yr.work_comment_hidden||yr.work_comment)&&er.createElement("div",null,er.createElement(Te.Z,{align:"middle"},er.createElement(Pe.Z,{flex:1},er.createElement("h1",{className:on.title},"\u70B9\u8BC4\u5185\u5BB9")),er.createElement(Pe.Z,{className:"pr30"},(0,ht.GJ)()&&er.createElement(_e.ZP,{onClick:()=>jo(void 0,null,function*(){we.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:er.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return jo(this,null,function*(){(yield(0,Ar.gZ)({comment_id:yr.comment_id,homeworkId:Hr.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}))})}})})},er.createElement($e.Z,null),"\u5220\u9664"))),er.createElement(ke.Z,{style:{margin:0}}),yr.work_comment&&er.createElement("aside",{className:"pl30 pr30 mt20"},er.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),er.createElement("br",null),er.createElement(vr.Z,{value:yr.work_comment})),yr.work_comment_hidden&&er.createElement("aside",{className:"pl30 pr30 mt20"},er.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),er.createElement("br",null),er.createElement(vr.Z,{value:yr.work_comment_hidden}))),(yr==null?void 0:yr.action_analysis)&&er.createElement(Ms,{detailData:yr}),er.createElement("div",{className:on.score},er.createElement("h1",{className:on.title},"\u9636\u6BB5\u6210\u7EE9"),(yr==null?void 0:yr.adjust_review_score_count)>0&&(0,ht.GJ)()&&er.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ol(!0),Mc({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",yr==null?void 0:yr.adjust_review_score_count,"\u6B21\uFF09")),er.createElement("aside",{className:"pl30 pr30"},er.createElement(Xe.default,{dataSource:yr.stage_list,rowKey:_i=>_i==null?void 0:_i.challenge_id,pagination:!1,columns:Ac})),((bi=yr==null?void 0:yr.target_test_sets)==null?void 0:bi.length)>0&&er.createElement("div",null,er.createElement("h1",{className:on.title},"\u6307\u6807\u6210\u7EE9"),er.createElement("aside",{className:"pl30 pr30"},er.createElement(Xe.default,{dataSource:Eu,rowKey:_i=>_i==null?void 0:_i.challenge_id,pagination:!1,bordered:!0,columns:hd}))),(yr==null?void 0:yr.work_description)&&er.createElement(er.Fragment,null,er.createElement("h1",{className:on.title},"\u4E2A\u4EBA\u603B\u7ED3"),er.createElement("aside",{className:"pl30 pr30"},er.createElement(vr.Z,{value:yr==null?void 0:yr.work_description}))),er.createElement("h1",{className:on.title},"\u56FE\u5F62\u7EDF\u8BA1"),er.createElement(qn,{data:ia}),er.createElement("h1",{className:on.title},"\u5B9E\u8BAD\u8BE6\u60C5")),er.createElement(Ya,{autoHeight:Su}))),(0,ht.GJ)()&&er.createElement("aside",{className:`${on.footerBar} ${Lo?on.footerBarStatic:""}`},er.createElement("aside",{className:"edu-container"},er.createElement(Te.Z,{align:"middle"},er.createElement(Pe.Z,{flex:"1"},er.createElement(Ue.Link,{className:on.exitComment,to:`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),er.createElement(Pe.Z,{flex:"1",className:"tr"},er.createElement(_e.ZP,{type:"default",disabled:!(yr!=null&&yr.pre_student_work_id),onClick:()=>Ru()},"\u4E0A\u4E00\u4E2A"),er.createElement(_e.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(yr!=null&&yr.next_student_work_id),onClick:()=>Ru("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&er.createElement(_e.ZP,{type:"primary",onClick:()=>jo(void 0,null,function*(){Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:yr.user_id,data:ua({},yr)},fn:()=>Mc({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),er.createElement(Sa,null),er.createElement(xa.Z,null),er.createElement(we.default,{open:Do,width:860,centered:!0,onCancel:()=>{zo(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},er.createElement("div",{style:{color:"#333333",fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),er.createElement("br",null),er.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"),er.createElement("br",null),er.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"),er.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 "),er.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")),er.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),er.createElement("br",null),er.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 "),er.createElement("br",null),er.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"),er.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 "),er.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"),er.createElement("br",null),er.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")),er.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),er.createElement("br",null),er.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")),er.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),er.createElement("br",null),er.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"))),er.createElement(we.default,{open:ys,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{bs(!1)},width:600},er.createElement("div",{style:{fontWeight:400,color:"#333333"}},er.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",er.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),er.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",er.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"),er.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",er.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"))),er.createElement(we.default,{open:Ds,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{vu("all"),ol(!1)},destroyOnClose:!0,width:900},er.createElement("div",{style:{fontWeight:400,color:"#333333"}},er.createElement("div",null,er.createElement("span",null,"\u5173\u5361\uFF1A"),er.createElement(Ke.default,{style:{width:300},value:al,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:_i=>jo(void 0,null,function*(){vu(_i),Mc({page:1,page_size:10},_i)})},er.createElement(Ke.default.Option,{value:"all"}," \u5168\u90E8 "),(xr=yr==null?void 0:yr.stage_list)==null?void 0:xr.map((_i,rs)=>er.createElement(Ke.default.Option,{key:rs,value:_i==null?void 0:_i.challenge_id},"\u7B2C",(0,dt.EM)(rs+1),"\u5173")))),er.createElement("div",{className:"mt20"},er.createElement(Xe.default,{dataSource:Qo,rowKey:_i=>_i==null?void 0:_i.id,pagination:!1,columns:Tc,loading:Bu})),er.createElement("div",{className:on.footer},er.createElement("div",null,er.createElement("span",{style:{color:"#656F87"}},"\u5171",er.createElement("span",{className:"c-light-primary"},el),"\u6761\u6570\u636E")),er.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(ca==null?void 0:ca.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:el,onChange:eA})))))};var Cs=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn,loading:Nr,globalSetting:Di,user:Io})=>({shixunHomeworks:or,classroomList:Qn,globalSetting:Di,loading:Nr.effects,user:Io}))(xs);const $s=({globalSetting:or})=>{var Qn;switch(Number((Qn=or==null?void 0:or.setting)==null?void 0:Qn.theme)){case he.Fy.THEMEONE:return Me.createElement(Zt,null);case he.Fy.DEFAULT:default:return Me.createElement(Cs,null)}};var ru=(0,Ue.connect)(({globalSetting:or})=>({globalSetting:or}))($s)},48429:function(Tn,Xt,ce){"use strict";var he=ce(43418),Me=ce(8591),Ue=ce(58661),At=ce(44225),Ne=ce(36466),Le=ce(59301),ve=(we,fe,ze)=>new Promise((Be,_e)=>{var Oe=Te=>{try{ke(ze.next(Te))}catch(Pe){_e(Pe)}},He=Te=>{try{ke(ze.throw(Te))}catch(Pe){_e(Pe)}},ke=Te=>Te.done?Be(Te.value):Promise.resolve(Te.value).then(Oe,He);ke((ze=ze.apply(we,fe)).next())});const Ae=({shixunHomeworks:we,classroomList:fe,dispatch:ze})=>{const Be=(0,At.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:we.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Oe,He,ke;if((0,Ne.Rm)()&&!((_e=fe.AssistantObject.practice)!=null&&_e.can_redo)){Me.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Te=yield(0,Ue.ZP)(`/api/myshixuns/${we.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:we.actionTabs.homework_common_id}});if(Te.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),ze({type:"shixunHomeworks/setActionTabs",payload:{}});const Pe=(He=(Oe=Te==null?void 0:Te.new_works)==null?void 0:Oe.find(Xe=>`${Xe.homework_common_id}`===Be.categoryId))==null?void 0:He.id;if((0,Ne.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;At.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Pe}/comment`)}}),onCancel:()=>{ze({type:"shixunHomeworks/setActionTabs",payload:{}})}},Le.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Le.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Xt.Z=(0,At.connect)(({shixunHomeworks:we,classroomList:fe})=>({shixunHomeworks:we,classroomList:fe}))(Ae)},94537:function(Tn,Xt,ce){"use strict";ce.d(Xt,{AD:function(){return Rt},BA:function(){return Fe},D9:function(){return je},Hp:function(){return Ze},IM:function(){return Yt},Iy:function(){return $e},KM:function(){return Se},KU:function(){return cn},MJ:function(){return rt},Ne:function(){return at},ON:function(){return fn},Uj:function(){return Bn},VY:function(){return Qt},YO:function(){return Cn},YX:function(){return Ln},Zn:function(){return He},_g:function(){return Ke},_k:function(){return wt},c6:function(){return Lt},cr:function(){return ke},eV:function(){return Re},fi:function(){return Te},gh:function(){return xt},hS:function(){return Vt},iA:function(){return Pe},j6:function(){return qe},je:function(){return Tt},jj:function(){return We},kS:function(){return Nn},o6:function(){return Je},pO:function(){return gn},rQ:function(){return Ft},sA:function(){return dt},xm:function(){return it},xo:function(){return St},y8:function(){return bt},yd:function(){return Xe}});var he=ce(30450),Me=ce(44225),Ue=ce(85333),At=ce(8591),Ne=ce(42684),Le=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,fe=(ie,ae,se)=>ae in ie?Le(ie,ae,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ae]=se,ze=(ie,ae)=>{for(var se in ae||(ae={}))Ae.call(ae,se)&&fe(ie,se,ae[se]);if(ve)for(var se of ve(ae))we.call(ae,se)&&fe(ie,se,ae[se]);return ie},Be=(ie,ae,se)=>new Promise((oe,Ye)=>{var vt=Pt=>{try{lt(se.next(Pt))}catch(Mt){Ye(Mt)}},et=Pt=>{try{lt(se.throw(Pt))}catch(Mt){Ye(Mt)}},lt=Pt=>Pt.done?oe(Pt.value):Promise.resolve(Pt.value).then(vt,et);lt((se=se.apply(ie,ae)).next())});const _e=()=>{(0,Me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Oe=()=>{(0,Me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},He=ie=>Be(void 0,null,function*(){_e(),(yield(0,he.YR)(ze({},ie))).status===0&&(yield(0,Ue.QH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_couser_info.json`,query:ie}))),Oe()}),ke=ie=>Be(void 0,null,function*(){const ae=yield(0,he.yS)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_member_act_score`);else{if(ae.status===-2)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_member_act_score`))}}),Te=ie=>Be(void 0,null,function*(){const ae=yield(0,he.W0)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_score`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_score`))}}),Pe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Nl)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`))}}),Xe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.IU)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/export_star_user`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/export_star_user`))}}),Ke=ie=>Be(void 0,null,function*(){const ae=yield(0,he.td)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ae.status===-2)return ae;if(ae.status===-3)(0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else if(ae.status===-4)return ae}}),qe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.QX)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_homework`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_homework`))}}),We=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.o_)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),Ze=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.ZL)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),$e=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.aP)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),rt=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.vV)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),ht=ie=>Be(void 0,null,function*(){_e(),(yield exportCourseWorkListAppendix(ze({},ie))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ie.categoryId}/works_list.zip`,query:ie}))),Oe()}),dt=ie=>Be(void 0,null,function*(){_e(),yield(0,Ue.QH)("",Ne.Z.API_SERVER+`/api/polls/${ie.categoryId}/commit_result.xlsx`),Oe()}),xt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/attendances/export_xlsx_data.xlsx`,query:ie}))}),Je=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/video_study_statics.xlsx`,query:ie}))}),Lt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_video_study.xlsx`,query:ie}))}),Re=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_course_students_info.xlsx`,query:ie}))}),Rt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ie}))}),Ft=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ie}))}),bt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ie}))}),Tt=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Uy)(ze({},ie));ae.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/exercise_score,export_exercise_users`)):ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/exercise_score,export_exercise_users`))}),wt=ie=>Be(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/export_records/${ie.id}.xlsx`,query:ie}))}),it=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ie}))}),je=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie==null?void 0:ie.coursesId}/${ie.menuKey}_statistic.xlsx?${ie.checkedList.map(ae=>`course_group_id[]=${ae}`).join("&")}`,query:ie}))}),at=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_training_objectives.xlsx`,query:ie}))}),Yt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)(ie==null?void 0:ie.name,(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ie}))}),Vt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_courses.xlsx`,query:ie}))}),St=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_graduation_requirements.xlsx`,query:ie}))}),Qt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ie}))}),cn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/exercises/${ie.categoryId}/rank_list.xlsx`,query:ie}))}),Nn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ie}))}),fn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/examination_banks/${ie.id}.json`,query:ie}))}),Ln=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/exercises/${ie.categoryId}.json`,query:ie}))}),Cn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/polls/${ie==null?void 0:ie.id}/commit_result.json`,query:ie}))}),Bn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ie}))}),gn=(ie,ae)=>Be(void 0,null,function*(){yield(0,Ue.FH)(ae||"",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/exercises/${ie==null?void 0:ie.exercise_id}/consult_exercise.json`,query:ie}))}),Se=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/competitions/${ie==null?void 0:ie.identifier}/competition_commit_records/member_works.xlsx`,query:ie}))}),Fe=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie==null?void 0:ie.coursesId}/group_homeworks/import_group_template.xlsx`,query:ie}))})},78162:function(Tn,Xt,ce){"use strict";ce.d(Xt,{U:function(){return we}});var he=ce(59301),Me=Object.defineProperty,Ue=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Le=(fe,ze,Be)=>ze in fe?Me(fe,ze,{enumerable:!0,configurable:!0,writable:!0,value:Be}):fe[ze]=Be,ve=(fe,ze)=>{for(var Be in ze||(ze={}))At.call(ze,Be)&&Le(fe,Be,ze[Be]);if(Ue)for(var Be of Ue(ze))Ne.call(ze,Be)&&Le(fe,Be,ze[Be]);return fe},Ae=(fe,ze,Be)=>new Promise((_e,Oe)=>{var He=Pe=>{try{Te(Be.next(Pe))}catch(Xe){Oe(Xe)}},ke=Pe=>{try{Te(Be.throw(Pe))}catch(Xe){Oe(Xe)}},Te=Pe=>Pe.done?_e(Pe.value):Promise.resolve(Pe.value).then(He,ke);Te((Be=Be.apply(fe,ze)).next())});function we(fe,ze){const[Be,_e]=(0,he.useState)(ze),[Oe,He]=(0,he.useState)(!1),[ke,Te]=(0,he.useState)();return[Be,Oe,(Xe,Ke=!1)=>Ae(this,null,function*(){const qe=Ke?ze:ve(ve({},Be),Xe);He(!0),_e(qe);const We=yield fe(qe);return He(!1),Te(We),We}),ke,Te]}},50371:function(Tn,Xt){"use strict";function ce(){const he=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Me=1;Me{const Ne=Ue[At];Ne!==void 0&&(he[At]=Ne)})}return he}Xt.Z=ce},13845:function(Tn,Xt,ce){"use strict";ce.d(Xt,{F:function(){return he},Z:function(){return Me}});function he(Ue){return Ue!=null&&Ue===Ue.window}function Me(Ue,At){var Ne,Le;if(typeof window=="undefined")return 0;const ve=At?"scrollTop":"scrollLeft";let Ae=0;return he(Ue)?Ae=Ue[At?"pageYOffset":"pageXOffset"]:Ue instanceof Document?Ae=Ue.documentElement[ve]:(Ue instanceof HTMLElement||Ue)&&(Ae=Ue[ve]),Ue&&!he(Ue)&&typeof Ae!="number"&&(Ae=(Le=((Ne=Ue.ownerDocument)!==null&&Ne!==void 0?Ne:Ue).documentElement)===null||Le===void 0?void 0:Le[ve]),Ae}},56762:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});var he=ce(59301);function Me(){const[,Ue]=he.useReducer(At=>At+1,0);return Ue}},68031:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return At}});var he=ce(16089);function Me(Ne,Le,ve,Ae){const we=ve-Le;return Ne/=Ae/2,Ne<1?we/2*Ne*Ne*Ne+Le:we/2*((Ne-=2)*Ne*Ne+2)+Le}var Ue=ce(13845);function At(Ne){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:Ae,duration:we=450}=Le,fe=ve(),ze=(0,Ue.Z)(fe,!0),Be=Date.now(),_e=()=>{const He=Date.now()-Be,ke=Me(He>we?we:He,ze,Ne,we);(0,Ue.F)(fe)?fe.scrollTo(window.pageXOffset,ke):fe instanceof Document||fe.constructor.name==="HTMLDocument"?fe.documentElement.scrollTop=ke:fe.scrollTop=ke,Heve||Le},66104:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Rt}});var he=ce(92310),Me=ce.n(he),Ue=ce(11592),At=ce(26112),Ne=ce(59301),Le=ce(92343),ve=ce(36355),Ae=ce(84105),we=ce(91857);const fe=Ft=>{let{children:bt}=Ft;const{getPrefixCls:Tt}=Ne.useContext(ve.E_),wt=Tt("breadcrumb");return Ne.createElement("li",{className:`${wt}-separator`,"aria-hidden":"true"},bt===""?bt:bt||"/")};fe.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=fe,Be=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);itbt[it]||wt)}function Oe(Ft,bt,Tt,wt){if(Tt==null)return null;const{className:it,onClick:je}=bt,at=Be(bt,["className","onClick"]),Yt=Object.assign(Object.assign({},(0,At.Z)(at,{data:!0,aria:!0})),{onClick:je});return wt!==void 0?Ne.createElement("a",Object.assign({},Yt,{className:Me()(`${Ft}-link`,it),href:wt}),Tt):Ne.createElement("span",Object.assign({},Yt,{className:Me()(`${Ft}-link`,it)}),Tt)}function He(Ft,bt){return(wt,it,je,at,Yt)=>{if(bt)return bt(wt,it,je,at);const Vt=_e(wt,it);return Oe(Ft,wt,Vt,Yt)}}var ke=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);it{const{prefixCls:bt,separator:Tt="/",children:wt,menu:it,overlay:je,dropdownProps:at,href:Yt}=Ft,St=(Qt=>{if(it||je){const cn=Object.assign({},at);if(it){const Nn=it||{},{items:fn}=Nn,Ln=ke(Nn,["items"]);cn.menu=Object.assign(Object.assign({},Ln),{items:fn==null?void 0:fn.map((Cn,Bn)=>{var{key:gn,title:Se,label:Fe,path:ie}=Cn,ae=ke(Cn,["key","title","label","path"]);let se=Fe!=null?Fe:Se;return ie&&(se=Ne.createElement("a",{href:`${Yt}${ie}`},se)),Object.assign(Object.assign({},ae),{key:gn!=null?gn:Bn,label:se})})})}else je&&(cn.overlay=je);return Ne.createElement(we.Z,Object.assign({placement:"bottom"},cn),Ne.createElement("span",{className:`${bt}-overlay-link`},Qt,Ne.createElement(Ae.Z,null)))}return Qt})(wt);return St!=null?Ne.createElement(Ne.Fragment,null,Ne.createElement("li",null,St),Tt&&Ne.createElement(ze,null,Tt)):null},Pe=Ft=>{const{prefixCls:bt,children:Tt,href:wt}=Ft,it=ke(Ft,["prefixCls","children","href"]),{getPrefixCls:je}=Ne.useContext(ve.E_),at=je("breadcrumb",bt);return Ne.createElement(Te,Object.assign({},it,{prefixCls:at}),Oe(at,it,Tt,wt))};Pe.__ANT_BREADCRUMB_ITEM=!0;var Xe=Pe,Ke=ce(17313),qe=ce(83116),We=ce(37613);const Ze=Ft=>{const{componentCls:bt,iconCls:Tt}=Ft;return{[bt]:Object.assign(Object.assign({},(0,Ke.Wf)(Ft)),{color:Ft.itemColor,fontSize:Ft.fontSize,[Tt]:{fontSize:Ft.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ft.linkColor,transition:`color ${Ft.motionDurationMid}`,padding:`0 ${Ft.paddingXXS}px`,borderRadius:Ft.borderRadiusSM,height:Ft.lineHeight*Ft.fontSize,display:"inline-block",marginInline:-Ft.marginXXS,"&:hover":{color:Ft.linkHoverColor,backgroundColor:Ft.colorBgTextHover}},(0,Ke.Qy)(Ft)),"li:last-child":{color:Ft.lastItemColor},[`${bt}-separator`]:{marginInline:Ft.separatorMargin,color:Ft.separatorColor},[`${bt}-link`]:{[` > ${Tt} + span, > ${Tt} + a `]:{marginInlineStart:Ft.marginXXS}},[`${bt}-overlay-link`]:{borderRadius:Ft.borderRadiusSM,height:Ft.lineHeight*Ft.fontSize,display:"inline-block",padding:`0 ${Ft.paddingXXS}px`,marginInline:-Ft.marginXXS,[`> ${Tt}`]:{marginInlineStart:Ft.marginXXS,fontSize:Ft.fontSizeIcon},"&:hover":{color:Ft.linkHoverColor,backgroundColor:Ft.colorBgTextHover,a:{color:Ft.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ft.componentCls}-rtl`]:{direction:"rtl"}})}};var $e=(0,qe.Z)("Breadcrumb",Ft=>{const bt=(0,We.TS)(Ft,{});return[Ze(bt)]},Ft=>({itemColor:Ft.colorTextDescription,lastItemColor:Ft.colorText,iconFontSize:Ft.fontSize,linkColor:Ft.colorTextDescription,linkHoverColor:Ft.colorText,separatorColor:Ft.colorTextDescription,separatorMargin:Ft.marginXS})),rt=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);it{var{breadcrumbName:at}=je,Yt=rt(je,["breadcrumbName"]);return Object.assign(Object.assign({},Yt),{title:at})})}),it}function dt(Ft,bt){return(0,Ne.useMemo)(()=>Ft||(bt?bt.map(ht):null),[Ft,bt])}var xt=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);it{if(bt===void 0)return bt;let Tt=(bt||"").replace(/^\//,"");return Object.keys(Ft).forEach(wt=>{Tt=Tt.replace(`:${wt}`,Ft[wt])}),Tt},Lt=Ft=>{const{prefixCls:bt,separator:Tt="/",style:wt,className:it,rootClassName:je,routes:at,items:Yt,children:Vt,itemRender:St,params:Qt={}}=Ft,cn=xt(Ft,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Nn,direction:fn,breadcrumb:Ln}=Ne.useContext(ve.E_);let Cn;const Bn=Nn("breadcrumb",bt),[gn,Se]=$e(Bn),Fe=dt(Yt,at),ie=He(Bn,St);if(Fe&&Fe.length>0){const oe=[],Ye=Yt||at;Cn=Fe.map((vt,et)=>{const{path:lt,key:Pt,type:Mt,menu:kt,overlay:$t,onClick:Sn,className:Bt,separator:nn,dropdownProps:tn}=vt,zt=Je(Qt,lt);zt!==void 0&&oe.push(zt);const pt=Pt!=null?Pt:et;if(Mt==="separator")return Ne.createElement(ze,{key:pt},nn);const Wt={},vn=et===Fe.length-1;kt?Wt.menu=kt:$t&&(Wt.overlay=$t);let{href:xn}=vt;return oe.length&&zt!==void 0&&(xn=`#/${oe.join("/")}`),Ne.createElement(Te,Object.assign({key:pt},Wt,(0,At.Z)(vt,{data:!0,aria:!0}),{className:Bt,dropdownProps:tn,href:xn,separator:vn?"":Tt,onClick:Sn,prefixCls:Bn}),ie(vt,Qt,Ye,oe,xn))})}else if(Vt){const oe=(0,Ue.Z)(Vt).length;Cn=(0,Ue.Z)(Vt).map((Ye,vt)=>{if(!Ye)return Ye;const et=vt===oe-1;return(0,Le.Tm)(Ye,{separator:et?"":Tt,key:vt})})}const ae=Me()(Bn,Ln==null?void 0:Ln.className,{[`${Bn}-rtl`]:fn==="rtl"},it,je,Se),se=Object.assign(Object.assign({},Ln==null?void 0:Ln.style),wt);return gn(Ne.createElement("nav",Object.assign({className:ae,style:se},cn),Ne.createElement("ol",null,Cn)))};Lt.Item=Xe,Lt.Separator=ze;var Re=Lt,Rt=Re},24905:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return $e}});var he=ce(92310),Me=ce.n(he),Ue=ce(5630),At=ce(59301),Ne=ce(36355),Le=ce(1684),ve=ce(32441),we=At.createContext(null),fe=ce(98447),ze=ce(14088),Be=ce(4572),_e=function(rt,ht){var dt={};for(var xt in rt)Object.prototype.hasOwnProperty.call(rt,xt)&&ht.indexOf(xt)<0&&(dt[xt]=rt[xt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,xt=Object.getOwnPropertySymbols(rt);Je{var dt;const{prefixCls:xt,className:Je,rootClassName:Lt,children:Re,indeterminate:Rt=!1,style:Ft,onMouseEnter:bt,onMouseLeave:Tt,skipGroup:wt=!1,disabled:it}=rt,je=_e(rt,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Yt,checkbox:Vt}=At.useContext(Ne.E_),St=At.useContext(we),{isFormItemInput:Qt}=At.useContext(ve.aM),cn=At.useContext(Le.Z),Nn=(dt=(St==null?void 0:St.disabled)||it)!==null&&dt!==void 0?dt:cn,fn=At.useRef(je.value);At.useEffect(()=>{St==null||St.registerValue(je.value)},[]),At.useEffect(()=>{if(!wt)return je.value!==fn.current&&(St==null||St.cancelValue(fn.current),St==null||St.registerValue(je.value),fn.current=je.value),()=>St==null?void 0:St.cancelValue(je.value)},[je.value]);const Ln=at("checkbox",xt),[Cn,Bn]=(0,fe.ZP)(Ln),gn=Object.assign({},je);St&&!wt&&(gn.onChange=function(){je.onChange&&je.onChange.apply(je,arguments),St.toggleOption&&St.toggleOption({label:Re,value:je.value})},gn.name=St.name,gn.checked=St.value.includes(je.value));const Se=Me()(`${Ln}-wrapper`,{[`${Ln}-rtl`]:Yt==="rtl",[`${Ln}-wrapper-checked`]:gn.checked,[`${Ln}-wrapper-disabled`]:Nn,[`${Ln}-wrapper-in-form-item`]:Qt},Vt==null?void 0:Vt.className,Je,Lt,Bn),Fe=Me()({[`${Ln}-indeterminate`]:Rt},Be.A,Bn),ie=Rt?"mixed":void 0;return Cn(At.createElement(ze.Z,{component:"Checkbox",disabled:Nn},At.createElement("label",{className:Se,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),Ft),onMouseEnter:bt,onMouseLeave:Tt},At.createElement(Ue.Z,Object.assign({"aria-checked":ie},gn,{prefixCls:Ln,className:Fe,disabled:Nn,ref:ht})),Re!==void 0&&At.createElement("span",null,Re))))};var ke=At.forwardRef(Oe),Te=ce(77654),Pe=ce(2738),Xe=function(rt,ht){var dt={};for(var xt in rt)Object.prototype.hasOwnProperty.call(rt,xt)&&ht.indexOf(xt)<0&&(dt[xt]=rt[xt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,xt=Object.getOwnPropertySymbols(rt);Je{const{defaultValue:dt,children:xt,options:Je=[],prefixCls:Lt,className:Re,rootClassName:Rt,style:Ft,onChange:bt}=rt,Tt=Xe(rt,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:wt,direction:it}=At.useContext(Ne.E_),[je,at]=At.useState(Tt.value||dt||[]),[Yt,Vt]=At.useState([]);At.useEffect(()=>{"value"in Tt&&at(Tt.value||[])},[Tt.value]);const St=At.useMemo(()=>Je.map(ae=>typeof ae=="string"||typeof ae=="number"?{label:ae,value:ae}:ae),[Je]),Qt=ae=>{Vt(se=>se.filter(oe=>oe!==ae))},cn=ae=>{Vt(se=>[].concat((0,Te.Z)(se),[ae]))},Nn=ae=>{const se=je.indexOf(ae.value),oe=(0,Te.Z)(je);se===-1?oe.push(ae.value):oe.splice(se,1),"value"in Tt||at(oe),bt==null||bt(oe.filter(Ye=>Yt.includes(Ye)).sort((Ye,vt)=>{const et=St.findIndex(Pt=>Pt.value===Ye),lt=St.findIndex(Pt=>Pt.value===vt);return et-lt}))},fn=wt("checkbox",Lt),Ln=`${fn}-group`,[Cn,Bn]=(0,fe.ZP)(fn),gn=(0,Pe.Z)(Tt,["value","disabled"]),Se=Je.length?St.map(ae=>At.createElement(ke,{prefixCls:fn,key:ae.value.toString(),disabled:"disabled"in ae?ae.disabled:Tt.disabled,value:ae.value,checked:je.includes(ae.value),onChange:ae.onChange,className:`${Ln}-item`,style:ae.style,title:ae.title},ae.label)):xt,Fe={toggleOption:Nn,value:je,disabled:Tt.disabled,name:Tt.name,registerValue:cn,cancelValue:Qt},ie=Me()(Ln,{[`${Ln}-rtl`]:it==="rtl"},Re,Rt,Bn);return Cn(At.createElement("div",Object.assign({className:ie,style:Ft},gn,{ref:ht}),At.createElement(we.Provider,{value:Fe},Se)))},qe=At.forwardRef(Ke);var We=At.memo(qe);const Ze=ke;Ze.Group=We,Ze.__ANT_CHECKBOX=!0;var $e=Ze},98447:function(Tn,Xt,ce){"use strict";ce.d(Xt,{C2:function(){return Ne}});var he=ce(17313),Me=ce(37613),Ue=ce(83116);const At=Le=>{const{checkboxCls:ve}=Le,Ae=`${ve}-wrapper`;return[{[`${ve}-group`]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{display:"inline-flex",flexWrap:"wrap",columnGap:Le.marginXS,[`> ${Le.antCls}-row`]:{flex:1}}),[Ae]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{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}}}),[ve]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Le.borderRadiusSM,alignSelf:"center",[`${ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ve}-inner`]:Object.assign({},(0,he.oN)(Le))},[`${ve}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Le.checkboxSize,height:Le.checkboxSize,direction:"ltr",backgroundColor:Le.colorBgContainer,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadiusSM,borderCollapse:"separate",transition:`all ${Le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Le.checkboxSize/14*5,height:Le.checkboxSize/14*8,border:`${Le.lineWidthBold}px solid ${Le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Le.motionDurationFast} ${Le.motionEaseInBack}, opacity ${Le.motionDurationFast}`}},"& + span":{paddingInlineStart:Le.paddingXS,paddingInlineEnd:Le.paddingXS}})},{[` ${Ae}:not(${Ae}-disabled), ${ve}:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{borderColor:Le.colorPrimary}},[`${Ae}:not(${Ae}-disabled)`]:{[`&:hover ${ve}-checked:not(${ve}-disabled) ${ve}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ve}-checked:not(${ve}-disabled):after`]:{borderColor:Le.colorPrimaryHover}}},{[`${ve}-checked`]:{[`${ve}-inner`]:{backgroundColor:Le.colorPrimary,borderColor:Le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Le.motionDurationMid} ${Le.motionEaseOutBack} ${Le.motionDurationFast}`}}},[` ${Ae}-checked:not(${Ae}-disabled), ${ve}-checked:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"}}},{[ve]:{"&-indeterminate":{[`${ve}-inner`]:{backgroundColor:Le.colorBgContainer,borderColor:Le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Le.fontSizeLG/2,height:Le.fontSizeLG/2,backgroundColor:Le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ae}-disabled`]:{cursor:"not-allowed"},[`${ve}-disabled`]:{[`&, ${ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ve}-inner`]:{background:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,"&:after":{borderColor:Le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Le.colorTextDisabled},[`&${ve}-indeterminate ${ve}-inner::after`]:{background:Le.colorTextDisabled}}}]};function Ne(Le,ve){const Ae=(0,Me.TS)(ve,{checkboxCls:`.${Le}`,checkboxSize:ve.controlInteractiveSize});return[At(Ae)]}Xt.ZP=(0,Ue.Z)("Checkbox",(Le,ve)=>{let{prefixCls:Ae}=ve;return[Ne(Ae,Le)]})},93891:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(36355),Ue=ce(64165);const At=Ne=>{const{componentName:Le}=Ne,{getPrefixCls:ve}=(0,he.useContext)(Me.E_),Ae=ve("empty");switch(Le){case"Table":case"List":return he.createElement(Ue.Z,{image:Ue.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return he.createElement(Ue.Z,{image:Ue.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ae}-small`});default:return he.createElement(Ue.Z,null)}};Xt.Z=At},28103:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Be}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(17313),Le=ce(83116),ve=ce(37613);const Ae=_e=>{const{componentCls:Oe,sizePaddingEdgeHorizontal:He,colorSplit:ke,lineWidth:Te,textPaddingInline:Pe,orientationMargin:Xe,verticalMarginInline:Ke}=_e;return{[Oe]:Object.assign(Object.assign({},(0,Ne.Wf)(_e)),{borderBlockStart:`${Te}px solid ${ke}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Ke,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Te}px solid ${ke}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${_e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${_e.dividerHorizontalWithTextGutterMargin}px 0`,color:_e.colorTextHeading,fontWeight:500,fontSize:_e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ke}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Te}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Oe}-with-text-left`]:{"&::before":{width:`${Xe*100}%`},"&::after":{width:`${100-Xe*100}%`}},[`&-horizontal${Oe}-with-text-right`]:{"&::before":{width:`${100-Xe*100}%`},"&::after":{width:`${Xe*100}%`}},[`${Oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Pe},"&-dashed":{background:"none",borderColor:ke,borderStyle:"dashed",borderWidth:`${Te}px 0 0`},[`&-horizontal${Oe}-with-text${Oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Oe}-dashed`]:{borderInlineStartWidth:Te,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Oe}-with-text`]:{color:_e.colorText,fontWeight:"normal",fontSize:_e.fontSize},[`&-horizontal${Oe}-with-text-left${Oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Oe}-inner-text`]:{paddingInlineStart:He}},[`&-horizontal${Oe}-with-text-right${Oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Oe}-inner-text`]:{paddingInlineEnd:He}}})}};var we=(0,Le.Z)("Divider",_e=>{const Oe=(0,ve.TS)(_e,{dividerHorizontalWithTextGutterMargin:_e.margin,dividerHorizontalGutterMargin:_e.marginLG,sizePaddingEdgeHorizontal:0});return[Ae(Oe)]},_e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_e.marginXS})),fe=function(_e,Oe){var He={};for(var ke in _e)Object.prototype.hasOwnProperty.call(_e,ke)&&Oe.indexOf(ke)<0&&(He[ke]=_e[ke]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ke=Object.getOwnPropertySymbols(_e);Te{const{getPrefixCls:Oe,direction:He,divider:ke}=Ue.useContext(At.E_),{prefixCls:Te,type:Pe="horizontal",orientation:Xe="center",orientationMargin:Ke,className:qe,rootClassName:We,children:Ze,dashed:$e,plain:rt,style:ht}=_e,dt=fe(_e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xt=Oe("divider",Te),[Je,Lt]=we(xt),Re=Xe.length>0?`-${Xe}`:Xe,Rt=!!Ze,Ft=Xe==="left"&&Ke!=null,bt=Xe==="right"&&Ke!=null,Tt=Me()(xt,ke==null?void 0:ke.className,Lt,`${xt}-${Pe}`,{[`${xt}-with-text`]:Rt,[`${xt}-with-text${Re}`]:Rt,[`${xt}-dashed`]:!!$e,[`${xt}-plain`]:!!rt,[`${xt}-rtl`]:He==="rtl",[`${xt}-no-default-orientation-margin-left`]:Ft,[`${xt}-no-default-orientation-margin-right`]:bt},qe,We),wt=Ue.useMemo(()=>typeof Ke=="number"?Ke:/^\d+$/.test(Ke)?Number(Ke):Ke,[Ke]),it=Object.assign(Object.assign({},Ft&&{marginLeft:wt}),bt&&{marginRight:wt});return Je(Ue.createElement("div",Object.assign({className:Tt,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),ht)},dt,{role:"separator"}),Ze&&Pe!=="vertical"&&Ue.createElement("span",{className:`${xt}-inner-text`,style:it},Ze)))}},43428:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Cn}});var he=ce(92310),Me=ce.n(he),Ue=ce(85899),At=ce(72190),Ne=ce(43403),Le=ce(34280),ve=ce(59301),Ae=ve.createContext(null),we=ve.createContext({}),fe=Ae,ze=ce(18642),Be=ce(60499),_e=ce(77900),Oe=ce(10228),He=ce(26112),ke=ce(70425),Te=function(gn){var Se=gn.prefixCls,Fe=gn.className,ie=gn.style,ae=gn.children,se=gn.containerRef,oe=gn.id,Ye=gn.onMouseEnter,vt=gn.onMouseOver,et=gn.onMouseLeave,lt=gn.onClick,Pt=gn.onKeyDown,Mt=gn.onKeyUp,kt={onMouseEnter:Ye,onMouseOver:vt,onMouseLeave:et,onClick:lt,onKeyDown:Pt,onKeyUp:Mt},$t=ve.useContext(we),Sn=$t.panel,Bt=(0,ke.useComposeRef)(Sn,se);return ve.createElement(ve.Fragment,null,ve.createElement("div",(0,Be.Z)({id:oe,className:Me()("".concat(Se,"-content"),Fe),style:(0,Ue.Z)({},ie),"aria-modal":"true",role:"dialog",ref:Bt},kt),ae))},Pe=Te,Xe=ce(48736);function Ke(Bn){return typeof Bn=="string"&&String(Number(Bn))===Bn?((0,Xe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Bn)):Bn}function qe(Bn){warning(!("wrapperClassName"in Bn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Bn.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var We={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Ze(Bn,gn){var Se,Fe,ie,ae,se=Bn.prefixCls,oe=Bn.open,Ye=Bn.placement,vt=Bn.inline,et=Bn.push,lt=Bn.forceRender,Pt=Bn.autoFocus,Mt=Bn.keyboard,kt=Bn.rootClassName,$t=Bn.rootStyle,Sn=Bn.zIndex,Bt=Bn.className,nn=Bn.id,tn=Bn.style,zt=Bn.motion,pt=Bn.width,Wt=Bn.height,vn=Bn.children,xn=Bn.contentWrapperStyle,Wn=Bn.mask,br=Bn.maskClosable,Lr=Bn.maskMotion,jr=Bn.maskClassName,Qr=Bn.maskStyle,vr=Bn.afterOpenChange,Ar=Bn.onClose,Tr=Bn.onMouseEnter,Bi=Bn.onMouseOver,$i=Bn.onMouseLeave,mi=Bn.onClick,Mi=Bn.onKeyDown,pa=Bn.onKeyUp,Dr=ve.useRef(),_n=ve.useRef(),no=ve.useRef();ve.useImperativeHandle(gn,function(){return Dr.current});var Ki=function(qn){var pr=qn.keyCode,Gr=qn.shiftKey;switch(pr){case Oe.Z.TAB:{if(pr===Oe.Z.TAB){if(!Gr&&document.activeElement===no.current){var Zr;(Zr=_n.current)===null||Zr===void 0||Zr.focus({preventScroll:!0})}else if(Gr&&document.activeElement===_n.current){var $r;($r=no.current)===null||$r===void 0||$r.focus({preventScroll:!0})}}break}case Oe.Z.ESC:{Ar&&Mt&&(qn.stopPropagation(),Ar(qn));break}}};ve.useEffect(function(){if(oe&&Pt){var ir;(ir=Dr.current)===null||ir===void 0||ir.focus({preventScroll:!0})}},[oe]);var Co=ve.useState(!1),ro=(0,At.Z)(Co,2),Pi=ro[0],Ii=ro[1],Si=ve.useContext(fe),gi;et===!1?gi={distance:0}:et===!0?gi={}:gi=et||{};var Ea=(Se=(Fe=(ie=gi)===null||ie===void 0?void 0:ie.distance)!==null&&Fe!==void 0?Fe:Si==null?void 0:Si.pushDistance)!==null&&Se!==void 0?Se:180,Fn=ve.useMemo(function(){return{pushDistance:Ea,push:function(){Ii(!0)},pull:function(){Ii(!1)}}},[Ea]);ve.useEffect(function(){if(oe){var ir;Si==null||(ir=Si.push)===null||ir===void 0||ir.call(Si)}else{var qn;Si==null||(qn=Si.pull)===null||qn===void 0||qn.call(Si)}},[oe]),ve.useEffect(function(){return function(){var ir;Si==null||(ir=Si.pull)===null||ir===void 0||ir.call(Si)}},[]);var Dt=Wn&&ve.createElement(_e.default,(0,Be.Z)({key:"mask"},Lr,{visible:oe}),function(ir,qn){var pr=ir.className,Gr=ir.style;return ve.createElement("div",{className:Me()("".concat(se,"-mask"),pr,jr),style:(0,Ue.Z)((0,Ue.Z)({},Gr),Qr),onClick:br&&oe?Ar:void 0,ref:qn})}),Gt=typeof zt=="function"?zt(Ye):zt,Zt={};if(Pi&&Ea)switch(Ye){case"top":Zt.transform="translateY(".concat(Ea,"px)");break;case"bottom":Zt.transform="translateY(".concat(-Ea,"px)");break;case"left":Zt.transform="translateX(".concat(Ea,"px)");break;default:Zt.transform="translateX(".concat(-Ea,"px)");break}Ye==="left"||Ye==="right"?Zt.width=Ke(pt):Zt.height=Ke(Wt);var jt={onMouseEnter:Tr,onMouseOver:Bi,onMouseLeave:$i,onClick:mi,onKeyDown:Mi,onKeyUp:pa},on=ve.createElement(_e.default,(0,Be.Z)({key:"panel"},Gt,{visible:oe,forceRender:lt,onVisibleChanged:function(qn){vr==null||vr(qn)},removeOnLeave:!1,leavedClassName:"".concat(se,"-content-wrapper-hidden")}),function(ir,qn){var pr=ir.className,Gr=ir.style;return ve.createElement("div",(0,Be.Z)({className:Me()("".concat(se,"-content-wrapper"),pr),style:(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},Zt),Gr),xn)},(0,He.Z)(Bn,{data:!0})),ve.createElement(Pe,(0,Be.Z)({id:nn,containerRef:qn,prefixCls:se,className:Bt,style:tn},jt),vn))}),Mn=(0,Ue.Z)({},$t);return Sn&&(Mn.zIndex=Sn),ve.createElement(fe.Provider,{value:Fn},ve.createElement("div",{className:Me()(se,"".concat(se,"-").concat(Ye),kt,(ae={},(0,ze.Z)(ae,"".concat(se,"-open"),oe),(0,ze.Z)(ae,"".concat(se,"-inline"),vt),ae)),style:Mn,tabIndex:-1,ref:Dr,onKeyDown:Ki},Dt,ve.createElement("div",{tabIndex:0,ref:_n,style:We,"aria-hidden":"true","data-sentinel":"start"}),on,ve.createElement("div",{tabIndex:0,ref:no,style:We,"aria-hidden":"true","data-sentinel":"end"})))}var $e=ve.forwardRef(Ze),rt=$e,ht=function(gn){var Se=gn.open,Fe=Se===void 0?!1:Se,ie=gn.prefixCls,ae=ie===void 0?"rc-drawer":ie,se=gn.placement,oe=se===void 0?"right":se,Ye=gn.autoFocus,vt=Ye===void 0?!0:Ye,et=gn.keyboard,lt=et===void 0?!0:et,Pt=gn.width,Mt=Pt===void 0?378:Pt,kt=gn.mask,$t=kt===void 0?!0:kt,Sn=gn.maskClosable,Bt=Sn===void 0?!0:Sn,nn=gn.getContainer,tn=gn.forceRender,zt=gn.afterOpenChange,pt=gn.destroyOnClose,Wt=gn.onMouseEnter,vn=gn.onMouseOver,xn=gn.onMouseLeave,Wn=gn.onClick,br=gn.onKeyDown,Lr=gn.onKeyUp,jr=gn.panelRef,Qr=ve.useState(!1),vr=(0,At.Z)(Qr,2),Ar=vr[0],Tr=vr[1],Bi=ve.useState(!1),$i=(0,At.Z)(Bi,2),mi=$i[0],Mi=$i[1];(0,Le.Z)(function(){Mi(!0)},[]);var pa=mi?Fe:!1,Dr=ve.useRef(),_n=ve.useRef();(0,Le.Z)(function(){pa&&(_n.current=document.activeElement)},[pa]);var no=function(Ii){var Si;if(Tr(Ii),zt==null||zt(Ii),!Ii&&_n.current&&!((Si=Dr.current)!==null&&Si!==void 0&&Si.contains(_n.current))){var gi;(gi=_n.current)===null||gi===void 0||gi.focus({preventScroll:!0})}},Ki=ve.useMemo(function(){return{panel:jr}},[jr]);if(!tn&&!Ar&&!pa&&pt)return null;var Co={onMouseEnter:Wt,onMouseOver:vn,onMouseLeave:xn,onClick:Wn,onKeyDown:br,onKeyUp:Lr},ro=(0,Ue.Z)((0,Ue.Z)({},gn),{},{open:pa,prefixCls:ae,placement:oe,autoFocus:vt,keyboard:lt,width:Mt,mask:$t,maskClosable:Bt,inline:nn===!1,afterOpenChange:no,ref:Dr},Co);return ve.createElement(we.Provider,{value:Ki},ve.createElement(Ne.Z,{open:pa||tn||Ar,autoDestroy:!1,getContainer:nn,autoLock:$t&&(pa||Ar)},ve.createElement(rt,ro)))},dt=ht,xt=dt,Je=ce(62892),Lt=ce(36355),Re=ce(32441),Rt=ce(47729),bt=Bn=>{const{prefixCls:gn,title:Se,footer:Fe,extra:ie,closeIcon:ae,closable:se,onClose:oe,headerStyle:Ye,drawerStyle:vt,bodyStyle:et,footerStyle:lt,children:Pt}=Bn,Mt=ve.useCallback(nn=>ve.createElement("button",{type:"button",onClick:oe,"aria-label":"Close",className:`${gn}-close`},nn),[oe]),[kt,$t]=(0,Rt.Z)(se,ae,Mt,void 0,!0),Sn=ve.useMemo(()=>!Se&&!kt?null:ve.createElement("div",{style:Ye,className:Me()(`${gn}-header`,{[`${gn}-header-close-only`]:kt&&!Se&&!ie})},ve.createElement("div",{className:`${gn}-header-title`},$t,Se&&ve.createElement("div",{className:`${gn}-title`},Se)),ie&&ve.createElement("div",{className:`${gn}-extra`},ie)),[kt,$t,ie,Ye,gn,Se]),Bt=ve.useMemo(()=>{if(!Fe)return null;const nn=`${gn}-footer`;return ve.createElement("div",{className:nn,style:lt},Fe)},[Fe,lt,gn]);return ve.createElement("div",{className:`${gn}-wrapper-body`,style:vt},Sn,ve.createElement("div",{className:`${gn}-body`,style:et},Pt),Bt)},Tt=ce(33234),wt=ce(83116),it=ce(37613),at=Bn=>{const{componentCls:gn,motionDurationSlow:Se}=Bn,Fe={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Se}`}}};return{[gn]:{[`${gn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Se}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${gn}-panel-motion`]:{"&-left":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Yt=Bn=>{const{componentCls:gn,zIndexPopup:Se,colorBgMask:Fe,colorBgElevated:ie,motionDurationSlow:ae,motionDurationMid:se,padding:oe,paddingLG:Ye,fontSizeLG:vt,lineHeightLG:et,lineWidth:lt,lineType:Pt,colorSplit:Mt,marginSM:kt,colorIcon:$t,colorIconHover:Sn,colorText:Bt,fontWeightStrong:nn,footerPaddingBlock:tn,footerPaddingInline:zt}=Bn,pt=`${gn}-content-wrapper`;return{[gn]:{position:"fixed",inset:0,zIndex:Se,pointerEvents:"none","&-pure":{position:"relative",background:ie,[`&${gn}-left`]:{boxShadow:Bn.boxShadowDrawerLeft},[`&${gn}-right`]:{boxShadow:Bn.boxShadowDrawerRight},[`&${gn}-top`]:{boxShadow:Bn.boxShadowDrawerUp},[`&${gn}-bottom`]:{boxShadow:Bn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${gn}-mask`]:{position:"absolute",inset:0,zIndex:Se,background:Fe,pointerEvents:"auto"},[pt]:{position:"absolute",zIndex:Se,maxWidth:"100vw",transition:`all ${ae}`,"&-hidden":{display:"none"}},[`&-left > ${pt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Bn.boxShadowDrawerLeft},[`&-right > ${pt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Bn.boxShadowDrawerRight},[`&-top > ${pt}`]:{top:0,insetInline:0,boxShadow:Bn.boxShadowDrawerUp},[`&-bottom > ${pt}`]:{bottom:0,insetInline:0,boxShadow:Bn.boxShadowDrawerDown},[`${gn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ie,pointerEvents:"auto"},[`${gn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${gn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${oe}px ${Ye}px`,fontSize:vt,lineHeight:et,borderBottom:`${lt}px ${Pt} ${Mt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${gn}-extra`]:{flex:"none"},[`${gn}-close`]:{display:"inline-block",marginInlineEnd:kt,color:$t,fontWeight:nn,fontSize:vt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${se}`,textRendering:"auto","&:focus, &:hover":{color:Sn,textDecoration:"none"}},[`${gn}-title`]:{flex:1,margin:0,color:Bt,fontWeight:Bn.fontWeightStrong,fontSize:vt,lineHeight:et},[`${gn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ye,overflow:"auto"},[`${gn}-footer`]:{flexShrink:0,padding:`${tn}px ${zt}px`,borderTop:`${lt}px ${Pt} ${Mt}`},"&-rtl":{direction:"rtl"}}}};var Vt=(0,wt.Z)("Drawer",Bn=>{const gn=(0,it.TS)(Bn,{});return[Yt(gn),at(gn)]},Bn=>({zIndexPopup:Bn.zIndexPopupBase,footerPaddingBlock:Bn.paddingXS,footerPaddingInline:Bn.padding})),St=ce(11575),Qt=function(Bn,gn){var Se={};for(var Fe in Bn)Object.prototype.hasOwnProperty.call(Bn,Fe)&&gn.indexOf(Fe)<0&&(Se[Fe]=Bn[Fe]);if(Bn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Fe=Object.getOwnPropertySymbols(Bn);ie{var gn;const{rootClassName:Se,width:Fe,height:ie,size:ae="default",mask:se=!0,push:oe=Nn,open:Ye,afterOpenChange:vt,onClose:et,prefixCls:lt,getContainer:Pt,style:Mt,className:kt,visible:$t,afterVisibleChange:Sn}=Bn,Bt=Qt(Bn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:nn,getPrefixCls:tn,direction:zt,drawer:pt}=ve.useContext(Lt.E_),Wt=tn("drawer",lt),[vn,xn]=Vt(Wt),Wn=Pt===void 0&&nn?()=>nn(document.body):Pt,br=Me()({"no-mask":!se,[`${Wt}-rtl`]:zt==="rtl"},Se,xn),Lr=ve.useMemo(()=>Fe!=null?Fe:ae==="large"?736:378,[Fe,ae]),jr=ve.useMemo(()=>ie!=null?ie:ae==="large"?736:378,[ie,ae]),Qr={motionName:(0,Je.m)(Wt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},vr=Tr=>({motionName:(0,Je.m)(Wt,`panel-motion-${Tr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ar=(0,St.H)();return vn(ve.createElement(Tt.BR,null,ve.createElement(Re.Ux,{status:!0,override:!0},ve.createElement(xt,Object.assign({prefixCls:Wt,onClose:et,maskMotion:Qr,motion:vr},Bt,{open:Ye!=null?Ye:$t,mask:se,push:oe,width:Lr,height:jr,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),Mt),className:Me()(pt==null?void 0:pt.className,kt),rootClassName:br,getContainer:Wn,afterOpenChange:vt!=null?vt:Sn,panelRef:Ar}),ve.createElement(bt,Object.assign({prefixCls:Wt},Bt,{onClose:et}))))))},Ln=Bn=>{const{prefixCls:gn,style:Se,className:Fe,placement:ie="right"}=Bn,ae=Qt(Bn,["prefixCls","style","className","placement"]),{getPrefixCls:se}=ve.useContext(Lt.E_),oe=se("drawer",gn),[Ye,vt]=Vt(oe),et=Me()(oe,`${oe}-pure`,`${oe}-${ie}`,vt,Fe);return Ye(ve.createElement("div",{className:et,style:Se},ve.createElement(bt,Object.assign({prefixCls:oe},ae))))};fn._InternalPanelDoNotUseOrYouWillBeFired=Ln;var Cn=fn},91857:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(38819),Ue=ce(92310),At=ce.n(Ue),Ne=ce(31561),Le=ce(70425),ve=ce(18929),Ae=ce(2738),we=ce(79676),fe=ce(53487),ze=ce(92343),Be=ce(36355),_e=ce(20834),Oe=ce(40875),He=ce(70305),ke=ce(47211);const Te=null,Pe=We=>{const{menu:Ze,arrow:$e,prefixCls:rt,children:ht,trigger:dt,disabled:xt,dropdownRender:Je,getPopupContainer:Lt,overlayClassName:Re,rootClassName:Rt,open:Ft,onOpenChange:bt,visible:Tt,onVisibleChange:wt,mouseEnterDelay:it=.15,mouseLeaveDelay:je=.1,autoAdjustOverflow:at=!0,placement:Yt="",overlay:Vt,transitionName:St}=We,{getPopupContainer:Qt,getPrefixCls:cn,direction:Nn}=he.useContext(Be.E_),fn=he.useMemo(()=>{const kt=cn();return St!==void 0?St:Yt.includes("top")?`${kt}-slide-down`:`${kt}-slide-up`},[cn,Yt,St]),Ln=he.useMemo(()=>Yt?Yt.includes("Center")?Yt.slice(0,Yt.indexOf("Center")):Yt:Nn==="rtl"?"bottomRight":"bottomLeft",[Yt,Nn]),Cn=cn("dropdown",rt),[Bn,gn]=(0,ke.Z)(Cn),[,Se]=(0,He.Z)(),Fe=he.Children.only(ht),ie=(0,ze.Tm)(Fe,{className:At()(`${Cn}-trigger`,{[`${Cn}-rtl`]:Nn==="rtl"},Fe.props.className),disabled:xt}),ae=xt?[]:dt;let se;ae&&ae.includes("contextMenu")&&(se=!0);const[oe,Ye]=(0,ve.Z)(!1,{value:Ft!=null?Ft:Tt}),vt=(0,Le.useEvent)(kt=>{bt==null||bt(kt),wt==null||wt(kt),Ye(kt)}),et=At()(Re,Rt,gn,{[`${Cn}-rtl`]:Nn==="rtl"}),lt=(0,we.Z)({arrowPointAtCenter:typeof $e=="object"&&$e.pointAtCenter,autoAdjustOverflow:at,offset:Se.marginXXS,arrowWidth:$e?Se.sizePopupArrow:0,borderRadius:Se.borderRadius}),Pt=he.useCallback(()=>{Ye(!1)},[]),Mt=()=>{let kt;return Ze!=null&&Ze.items?kt=he.createElement(_e.default,Object.assign({},Ze)):typeof Vt=="function"?kt=Vt():kt=Vt,Je&&(kt=Je(kt)),kt=he.Children.only(typeof kt=="string"?he.createElement("span",null,kt):kt),he.createElement(Oe.J,{prefixCls:`${Cn}-menu`,expandIcon:he.createElement("span",{className:`${Cn}-menu-submenu-arrow`},he.createElement(Me.Z,{className:`${Cn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:$t=>{let{mode:Sn}=$t}},kt)};return Bn(he.createElement(Ne.Z,Object.assign({alignPoint:se},(0,Ae.Z)(We,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:je,visible:oe,builtinPlacements:lt,arrow:!!$e,overlayClassName:et,prefixCls:Cn,getPopupContainer:Lt||Qt,transitionName:fn,trigger:ae,overlay:Mt,placement:Ln,onVisibleChange:vt}),ie))};function Xe(We){return Object.assign(Object.assign({},We),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ke=(0,fe.Z)(Pe,"dropdown",We=>We,Xe),qe=We=>he.createElement(Ke,Object.assign({},We),he.createElement("span",null));Pe._InternalPanelDoNotUseOrYouWillBeFired=qe,Xt.Z=Pe},38854:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return He}});var he=ce(91857),Me=ce(92310),Ue=ce.n(Me),At=ce(59301),Ne=ce(18785),Le=ce(3113),ve=ce(36355),Ae=ce(81327),we=ce(33234),fe=ce(47211),ze=function(ke,Te){var Pe={};for(var Xe in ke)Object.prototype.hasOwnProperty.call(ke,Xe)&&Te.indexOf(Xe)<0&&(Pe[Xe]=ke[Xe]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,Xe=Object.getOwnPropertySymbols(ke);Ke{const{getPopupContainer:Te,getPrefixCls:Pe,direction:Xe}=At.useContext(ve.E_),{prefixCls:Ke,type:qe="default",danger:We,disabled:Ze,loading:$e,onClick:rt,htmlType:ht,children:dt,className:xt,menu:Je,arrow:Lt,autoFocus:Re,overlay:Rt,trigger:Ft,align:bt,open:Tt,onOpenChange:wt,placement:it,getPopupContainer:je,href:at,icon:Yt=At.createElement(Ne.Z,null),title:Vt,buttonsRender:St=Mt=>Mt,mouseEnterDelay:Qt,mouseLeaveDelay:cn,overlayClassName:Nn,overlayStyle:fn,destroyPopupOnHide:Ln,dropdownRender:Cn}=ke,Bn=ze(ke,["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"]),gn=Pe("dropdown",Ke),Se=`${gn}-button`,[Fe,ie]=(0,fe.Z)(gn),ae={menu:Je,arrow:Lt,autoFocus:Re,align:bt,disabled:Ze,trigger:Ze?[]:Ft,onOpenChange:wt,getPopupContainer:je||Te,mouseEnterDelay:Qt,mouseLeaveDelay:cn,overlayClassName:Nn,overlayStyle:fn,destroyPopupOnHide:Ln,dropdownRender:Cn},{compactSize:se,compactItemClassnames:oe}=(0,we.ri)(gn,Xe),Ye=Ue()(Se,oe,xt,ie);"overlay"in ke&&(ae.overlay=Rt),"open"in ke&&(ae.open=Tt),"placement"in ke?ae.placement=it:ae.placement=Xe==="rtl"?"bottomLeft":"bottomRight";const vt=At.createElement(Le.ZP,{type:qe,danger:We,disabled:Ze,loading:$e,onClick:rt,htmlType:ht,href:at,title:Vt},dt),et=At.createElement(Le.ZP,{type:qe,danger:We,icon:Yt}),[lt,Pt]=St([vt,et]);return Fe(At.createElement(Ae.Z.Compact,Object.assign({className:Ye,size:se,block:!0},Bn),lt,At.createElement(he.Z,Object.assign({},ae),Pt)))};Be.__ANT_BUTTON=!0;var _e=Be;const Oe=he.Z;Oe.Button=_e;var He=Oe},47211:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ze}});var he=ce(17313),Me=ce(13826),Ue=ce(92899),At=ce(29878),Ne=ce(19447),Le=ce(83116),ve=ce(37613),we=Be=>{const{componentCls:_e,menuCls:Oe,colorError:He,colorTextLightSolid:ke}=Be,Te=`${Oe}-item`;return{[`${_e}, ${_e}-menu-submenu`]:{[`${Oe} ${Te}`]:{[`&${Te}-danger:not(${Te}-disabled)`]:{color:He,"&:hover":{color:ke,backgroundColor:He}}}}}};const fe=Be=>{const{componentCls:_e,menuCls:Oe,zIndexPopup:He,dropdownArrowDistance:ke,sizePopupArrow:Te,antCls:Pe,iconCls:Xe,motionDurationMid:Ke,dropdownPaddingVertical:qe,fontSize:We,dropdownEdgeChildPadding:Ze,colorTextDisabled:$e,fontSizeIcon:rt,controlPaddingHorizontal:ht,colorBgElevated:dt}=Be;return[{[_e]:Object.assign(Object.assign({},(0,he.Wf)(Be)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:He,display:"block","&::before":{position:"absolute",insetBlock:-ke+Te/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Pe}-btn`]:{[`& > ${Xe}-down, & > ${Pe}-btn-icon > ${Xe}-down`]:{fontSize:rt}},[`${_e}-wrap`]:{position:"relative",[`${Pe}-btn > ${Xe}-down`]:{fontSize:rt},[`${Xe}-down::before`]:{transition:`transform ${Ke}`}},[`${_e}-wrap-open`]:{[`${Xe}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Pe}-slide-down-enter${Pe}-slide-down-enter-active${_e}-placement-bottomLeft, &${Pe}-slide-down-appear${Pe}-slide-down-appear-active${_e}-placement-bottomLeft, &${Pe}-slide-down-enter${Pe}-slide-down-enter-active${_e}-placement-bottom, &${Pe}-slide-down-appear${Pe}-slide-down-appear-active${_e}-placement-bottom, &${Pe}-slide-down-enter${Pe}-slide-down-enter-active${_e}-placement-bottomRight, &${Pe}-slide-down-appear${Pe}-slide-down-appear-active${_e}-placement-bottomRight`]:{animationName:Me.fJ},[`&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${_e}-placement-topLeft, &${Pe}-slide-up-appear${Pe}-slide-up-appear-active${_e}-placement-topLeft, &${Pe}-slide-up-enter${Pe}-slide-up-enter-active${_e}-placement-top, &${Pe}-slide-up-appear${Pe}-slide-up-appear-active${_e}-placement-top, &${Pe}-slide-up-enter${Pe}-slide-up-enter-active${_e}-placement-topRight, &${Pe}-slide-up-appear${Pe}-slide-up-appear-active${_e}-placement-topRight`]:{animationName:Me.Qt},[`&${Pe}-slide-down-leave${Pe}-slide-down-leave-active${_e}-placement-bottomLeft, &${Pe}-slide-down-leave${Pe}-slide-down-leave-active${_e}-placement-bottom, &${Pe}-slide-down-leave${Pe}-slide-down-leave-active${_e}-placement-bottomRight`]:{animationName:Me.Uw},[`&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${_e}-placement-topLeft, &${Pe}-slide-up-leave${Pe}-slide-up-leave-active${_e}-placement-top, &${Pe}-slide-up-leave${Pe}-slide-up-leave-active${_e}-placement-topRight`]:{animationName:Me.ly}})},(0,Ne.ZP)(Be,{colorBg:dt,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${_e} ${Oe}`]:{position:"relative",margin:0},[`${Oe}-submenu-popup`]:{position:"absolute",zIndex:He,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${_e}, ${_e}-menu-submenu`]:{[Oe]:Object.assign(Object.assign({padding:Ze,listStyleType:"none",backgroundColor:dt,backgroundClip:"padding-box",borderRadius:Be.borderRadiusLG,outline:"none",boxShadow:Be.boxShadowSecondary},(0,he.Qy)(Be)),{[`${Oe}-item-group-title`]:{padding:`${qe}px ${ht}px`,color:Be.colorTextDescription,transition:`all ${Ke}`},[`${Oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Oe}-item-icon`]:{minWidth:We,marginInlineEnd:Be.marginXS,fontSize:Be.fontSizeSM},[`${Oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Ke}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Oe}-item, ${Oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${qe}px ${ht}px`,color:Be.colorText,fontWeight:"normal",fontSize:We,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${Ke}`,borderRadius:Be.borderRadiusSM,"&:hover, &-active":{backgroundColor:Be.controlItemBgHover}},(0,he.Qy)(Be)),{"&-selected":{color:Be.colorPrimary,backgroundColor:Be.controlItemBgActive,"&:hover, &-active":{backgroundColor:Be.controlItemBgActiveHover}},"&-disabled":{color:$e,cursor:"not-allowed","&:hover":{color:$e,backgroundColor:dt,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Be.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Be.colorSplit},[`${_e}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Be.paddingXS,[`${_e}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Be.colorTextDescription,fontSize:rt,fontStyle:"normal"}}}),[`${Oe}-item-group-list`]:{margin:`0 ${Be.marginXS}px`,padding:0,listStyle:"none"},[`${Oe}-submenu-title`]:{paddingInlineEnd:ht+Be.fontSizeSM},[`${Oe}-submenu-vertical`]:{position:"relative"},[`${Oe}-submenu${Oe}-submenu-disabled ${_e}-menu-submenu-title`]:{[`&, ${_e}-menu-submenu-arrow-icon`]:{color:$e,backgroundColor:dt,cursor:"not-allowed"}},[`${Oe}-submenu-selected ${_e}-menu-submenu-title`]:{color:Be.colorPrimary}})}},[(0,Me.oN)(Be,"slide-up"),(0,Me.oN)(Be,"slide-down"),(0,Ue.Fm)(Be,"move-up"),(0,Ue.Fm)(Be,"move-down"),(0,At._y)(Be,"zoom-big")]]};var ze=(0,Le.Z)("Dropdown",(Be,_e)=>{let{rootPrefixCls:Oe}=_e;const{marginXXS:He,sizePopupArrow:ke,controlHeight:Te,fontSize:Pe,lineHeight:Xe,paddingXXS:Ke,componentCls:qe,borderRadiusLG:We}=Be,Ze=(Te-Pe*Xe)/2,{dropdownArrowOffset:$e}=(0,Ne.fS)({contentRadius:We}),rt=(0,ve.TS)(Be,{menuCls:`${qe}-menu`,rootPrefixCls:Oe,dropdownArrowDistance:ke/2+He,dropdownArrowOffset:$e,dropdownPaddingVertical:Ze,dropdownEdgeChildPadding:Ke});return[fe(rt),we(rt)]},Be=>({zIndexPopup:Be.zIndexPopupBase+50}))},64165:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ke}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(9763),Le=ce(64993),ve=ce(70305),we=()=>{const[,qe]=(0,ve.Z)(),Ze=new Le.C(qe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Ue.createElement("svg",{style:Ze,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Ue.createElement("g",{fill:"none",fillRule:"evenodd"},Ue.createElement("g",{transform:"translate(24 31.67)"},Ue.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Ue.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),Ue.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),Ue.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),Ue.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),Ue.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),Ue.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Ue.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Ue.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ze=()=>{const[,qe]=(0,ve.Z)(),{colorFill:We,colorFillTertiary:Ze,colorFillQuaternary:$e,colorBgContainer:rt}=qe,{borderColor:ht,shadowColor:dt,contentColor:xt}=(0,Ue.useMemo)(()=>({borderColor:new Le.C(We).onBackground(rt).toHexShortString(),shadowColor:new Le.C(Ze).onBackground(rt).toHexShortString(),contentColor:new Le.C($e).onBackground(rt).toHexShortString()}),[We,Ze,$e,rt]);return Ue.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Ue.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Ue.createElement("ellipse",{fill:dt,cx:"32",cy:"33",rx:"32",ry:"7"}),Ue.createElement("g",{fillRule:"nonzero",stroke:ht},Ue.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),Ue.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:xt}))))},Be=ce(83116),_e=ce(37613);const Oe=qe=>{const{componentCls:We,margin:Ze,marginXS:$e,marginXL:rt,fontSize:ht,lineHeight:dt}=qe;return{[We]:{marginInline:$e,fontSize:ht,lineHeight:dt,textAlign:"center",[`${We}-image`]:{height:qe.emptyImgHeight,marginBottom:$e,opacity:qe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${We}-description`]:{color:qe.colorText},[`${We}-footer`]:{marginTop:Ze},"&-normal":{marginBlock:rt,color:qe.colorTextDisabled,[`${We}-description`]:{color:qe.colorTextDisabled},[`${We}-image`]:{height:qe.emptyImgHeightMD}},"&-small":{marginBlock:$e,color:qe.colorTextDisabled,[`${We}-image`]:{height:qe.emptyImgHeightSM}}}}};var He=(0,Be.Z)("Empty",qe=>{const{componentCls:We,controlHeightLG:Ze}=qe,$e=(0,_e.TS)(qe,{emptyImgCls:`${We}-img`,emptyImgHeight:Ze*2.5,emptyImgHeightMD:Ze,emptyImgHeightSM:Ze*.875});return[Oe($e)]}),ke=function(qe,We){var Ze={};for(var $e in qe)Object.prototype.hasOwnProperty.call(qe,$e)&&We.indexOf($e)<0&&(Ze[$e]=qe[$e]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,$e=Object.getOwnPropertySymbols(qe);rt<$e.length;rt++)We.indexOf($e[rt])<0&&Object.prototype.propertyIsEnumerable.call(qe,$e[rt])&&(Ze[$e[rt]]=qe[$e[rt]]);return Ze};const Te=Ue.createElement(we,null),Pe=Ue.createElement(ze,null),Xe=qe=>{var{className:We,rootClassName:Ze,prefixCls:$e,image:rt=Te,description:ht,children:dt,imageStyle:xt,style:Je}=qe,Lt=ke(qe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Re,direction:Rt,empty:Ft}=Ue.useContext(At.E_),bt=Re("empty",$e),[Tt,wt]=He(bt),[it]=(0,Ne.Z)("Empty"),je=typeof ht!="undefined"?ht:it==null?void 0:it.description,at=typeof je=="string"?je:"empty";let Yt=null;return typeof rt=="string"?Yt=Ue.createElement("img",{alt:at,src:rt}):Yt=rt,Tt(Ue.createElement("div",Object.assign({className:Me()(wt,bt,Ft==null?void 0:Ft.className,{[`${bt}-normal`]:rt===Pe,[`${bt}-rtl`]:Rt==="rtl"},We,Ze),style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),Je)},Lt),Ue.createElement("div",{className:`${bt}-image`,style:xt},Yt),je&&Ue.createElement("div",{className:`${bt}-description`},je),dt&&Ue.createElement("div",{className:`${bt}-footer`},dt)))};Xe.PRESENTED_IMAGE_DEFAULT=Te,Xe.PRESENTED_IMAGE_SIMPLE=Pe;var Ke=Xe},78241:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Ea}});var he=ce(77654),Me=ce(92310),Ue=ce.n(Me),At=ce(77900),Ne=ce(59301),Le=ce(62892),ve=ce(32441);function Ae(Fn){const[Dt,Gt]=Ne.useState(Fn);return Ne.useEffect(()=>{const Zt=setTimeout(()=>{Gt(Fn)},Fn.length?0:10);return()=>{clearTimeout(Zt)}},[Fn]),Dt}var we=ce(17313),fe=ce(29878),ze=ce(8378),Be=ce(37613),_e=ce(83116),He=Fn=>{const{componentCls:Dt}=Fn,Gt=`${Dt}-show-help`,Zt=`${Dt}-show-help-item`;return{[Gt]:{transition:`opacity ${Fn.motionDurationSlow} ${Fn.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Zt]:{overflow:"hidden",transition:`height ${Fn.motionDurationSlow} ${Fn.motionEaseInOut}, opacity ${Fn.motionDurationSlow} ${Fn.motionEaseInOut}, transform ${Fn.motionDurationSlow} ${Fn.motionEaseInOut} !important`,[`&${Zt}-appear, &${Zt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Zt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ke=Fn=>({legend:{display:"block",width:"100%",marginBottom:Fn.marginLG,padding:0,color:Fn.colorTextDescription,fontSize:Fn.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Fn.lineWidth}px ${Fn.lineType} ${Fn.colorBorder}`},label:{fontSize:Fn.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Fn.controlOutlineWidth}px ${Fn.controlOutline}`},output:{display:"block",paddingTop:15,color:Fn.colorText,fontSize:Fn.fontSize,lineHeight:Fn.lineHeight}}),Te=(Fn,Dt)=>{const{formItemCls:Gt}=Fn;return{[Gt]:{[`${Gt}-label > label`]:{height:Dt},[`${Gt}-control-input`]:{minHeight:Dt}}}},Pe=Fn=>{const{componentCls:Dt}=Fn;return{[Fn.componentCls]:Object.assign(Object.assign(Object.assign({},(0,we.Wf)(Fn)),ke(Fn)),{[`${Dt}-text`]:{display:"inline-block",paddingInlineEnd:Fn.paddingSM},"&-small":Object.assign({},Te(Fn,Fn.controlHeightSM)),"&-large":Object.assign({},Te(Fn,Fn.controlHeightLG))})}},Xe=Fn=>{const{formItemCls:Dt,iconCls:Gt,componentCls:Zt,rootPrefixCls:jt,labelRequiredMarkColor:on,labelColor:Mn,labelFontSize:ir,labelHeight:qn,labelColonMarginInlineStart:pr,labelColonMarginInlineEnd:Gr,itemMarginBottom:Zr}=Fn;return{[Dt]:Object.assign(Object.assign({},(0,we.Wf)(Fn)),{marginBottom:Zr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${jt}-row`]:{display:"none"},"&-has-warning":{[`${Dt}-split`]:{color:Fn.colorError}},"&-has-error":{[`${Dt}-split`]:{color:Fn.colorWarning}},[`${Dt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Fn.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:qn,color:Mn,fontSize:ir,[`> ${Gt}`]:{fontSize:Fn.fontSize,verticalAlign:"top"},[`&${Dt}-required:not(${Dt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Fn.marginXXS,color:on,fontSize:Fn.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Zt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-optional`]:{display:"inline-block",marginInlineStart:Fn.marginXXS,color:Fn.colorTextDescription,[`${Zt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-tooltip`]:{color:Fn.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Fn.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:pr,marginInlineEnd:Gr},[`&${Dt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Dt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${jt}-col-'"]):not([class*="' ${jt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Fn.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Dt]:{"&-explain, &-extra":{clear:"both",color:Fn.colorTextDescription,fontSize:Fn.fontSize,lineHeight:Fn.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Fn.controlHeightSM,transition:`color ${Fn.motionDurationMid} ${Fn.motionEaseOut}`},"&-explain":{"&-error":{color:Fn.colorError},"&-warning":{color:Fn.colorWarning}}},[`&-with-help ${Dt}-explain`]:{height:"auto",opacity:1},[`${Dt}-feedback-icon`]:{fontSize:Fn.fontSize,textAlign:"center",visibility:"visible",animationName:fe.kr,animationDuration:Fn.motionDurationMid,animationTimingFunction:Fn.motionEaseOutBack,pointerEvents:"none","&-success":{color:Fn.colorSuccess},"&-error":{color:Fn.colorError},"&-warning":{color:Fn.colorWarning},"&-validating":{color:Fn.colorPrimary}}})}},Ke=Fn=>{const{componentCls:Dt,formItemCls:Gt}=Fn;return{[`${Dt}-horizontal`]:{[`${Gt}-label`]:{flexGrow:0},[`${Gt}-control`]:{flex:"1 1 0",minWidth:0},[`${Gt}-label[class$='-24'], ${Gt}-label[class*='-24 ']`]:{[`& + ${Gt}-control`]:{minWidth:"unset"}}}}},qe=Fn=>{const{componentCls:Dt,formItemCls:Gt}=Fn;return{[`${Dt}-inline`]:{display:"flex",flexWrap:"wrap",[Gt]:{flex:"none",marginInlineEnd:Fn.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Gt}-label, > ${Gt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Gt}-label`]:{flex:"none"},[`${Dt}-text`]:{display:"inline-block"},[`${Gt}-has-feedback`]:{display:"inline-block"}}}}},We=Fn=>({padding:Fn.verticalLabelPadding,margin:Fn.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Ze=Fn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Zt}=Fn;return{[`${Gt} ${Gt}-label`]:We(Fn),[Dt]:{[Gt]:{flexWrap:"wrap",[`${Gt}-label, ${Gt}-control`]:{[`&:not([class*=" ${Zt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},$e=Fn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Zt}=Fn;return{[`${Dt}-vertical`]:{[Gt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Dt}-item-control`]:{width:"100%"}}},[`${Dt}-vertical ${Gt}-label, .${Zt}-col-24${Gt}-label, .${Zt}-col-xl-24${Gt}-label`]:We(Fn),[`@media (max-width: ${Fn.screenXSMax}px)`]:[Ze(Fn),{[Dt]:{[`.${Zt}-col-xs-24${Gt}-label`]:We(Fn)}}],[`@media (max-width: ${Fn.screenSMMax}px)`]:{[Dt]:{[`.${Zt}-col-sm-24${Gt}-label`]:We(Fn)}},[`@media (max-width: ${Fn.screenMDMax}px)`]:{[Dt]:{[`.${Zt}-col-md-24${Gt}-label`]:We(Fn)}},[`@media (max-width: ${Fn.screenLGMax}px)`]:{[Dt]:{[`.${Zt}-col-lg-24${Gt}-label`]:We(Fn)}}}},rt=(Fn,Dt)=>(0,Be.TS)(Fn,{formItemCls:`${Fn.componentCls}-item`,rootPrefixCls:Dt});var ht=(0,_e.Z)("Form",(Fn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Zt=rt(Fn,Gt);return[Pe(Zt),Xe(Zt),He(Zt),Ke(Zt),qe(Zt),$e(Zt),(0,ze.Z)(Zt),fe.kr]},Fn=>({labelRequiredMarkColor:Fn.colorError,labelColor:Fn.colorTextHeading,labelFontSize:Fn.fontSize,labelHeight:Fn.controlHeight,labelColonMarginInlineStart:Fn.marginXXS/2,labelColonMarginInlineEnd:Fn.marginXS,itemMarginBottom:Fn.marginLG,verticalLabelPadding:`0 0 ${Fn.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const dt=[];function xt(Fn,Dt,Gt){let Zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Fn=="string"?Fn:`${Dt}-${Zt}`,error:Fn,errorStatus:Gt}}var Lt=Fn=>{let{help:Dt,helpStatus:Gt,errors:Zt=dt,warnings:jt=dt,className:on,fieldId:Mn,onVisibleChanged:ir}=Fn;const{prefixCls:qn}=Ne.useContext(ve.Rk),pr=`${qn}-item-explain`,[,Gr]=ht(qn),Zr=(0,Ne.useMemo)(()=>(0,Le.Z)(qn),[qn]),$r=Ae(Zt),Xn=Ae(jt),Or=Ne.useMemo(()=>Dt!=null?[xt(Dt,"help",Gt)]:[].concat((0,he.Z)($r.map((vi,Zi)=>xt(vi,"error","error",Zi))),(0,he.Z)(Xn.map((vi,Zi)=>xt(vi,"warning","warning",Zi)))),[Dt,Gt,$r,Xn]),ki={};return Mn&&(ki.id=`${Mn}_help`),Ne.createElement(At.default,{motionDeadline:Zr.motionDeadline,motionName:`${qn}-show-help`,visible:!!Or.length,onVisibleChanged:ir},vi=>{const{className:Zi,style:xi}=vi;return Ne.createElement("div",Object.assign({},ki,{className:Ue()(pr,Zi,on,Gr),style:xi,role:"alert"}),Ne.createElement(At.CSSMotionList,Object.assign({keys:Or},(0,Le.Z)(qn),{motionName:`${qn}-show-help-item`,component:!1}),Ca=>{const{key:si,error:oa,errorStatus:mn,className:mr,style:dr}=Ca;return Ne.createElement("div",{key:si,className:Ue()(mr,{[`${pr}-${mn}`]:mn}),style:dr},oa)}))})},Re=ce(95013),Rt=ce(36355),Ft=ce(1684),bt=ce(52946),Tt=ce(19716),wt=ce(16722);const it=["parentNode"],je="form_item";function at(Fn){return Fn===void 0||Fn===!1?[]:Array.isArray(Fn)?Fn:[Fn]}function Yt(Fn,Dt){if(!Fn.length)return;const Gt=Fn.join("_");return Dt?`${Dt}_${Gt}`:it.includes(Gt)?`${je}_${Gt}`:Gt}function Vt(Fn,Dt,Gt,Zt,jt,on){let Mn=Zt;return on!==void 0?Mn=on:Gt.validating?Mn="validating":Fn.length?Mn="error":Dt.length?Mn="warning":(Gt.touched||jt&&Gt.validated)&&(Mn="success"),Mn}function St(Fn){return at(Fn).join("_")}function Qt(Fn){const[Dt]=(0,Re.useForm)(),Gt=Ne.useRef({}),Zt=Ne.useMemo(()=>Fn!=null?Fn:Object.assign(Object.assign({},Dt),{__INTERNAL__:{itemRef:jt=>on=>{const Mn=St(jt);on?Gt.current[Mn]=on:delete Gt.current[Mn]}},scrollToField:function(jt){let on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Mn=at(jt),ir=Yt(Mn,Zt.__INTERNAL__.name),qn=ir?document.getElementById(ir):null;qn&&(0,wt.Z)(qn,Object.assign({scrollMode:"if-needed",block:"nearest"},on))},getFieldInstance:jt=>{const on=St(jt);return Gt.current[on]}}),[Fn,Dt]);return[Zt]}var cn=ce(28726),Nn=function(Fn,Dt){var Gt={};for(var Zt in Fn)Object.prototype.hasOwnProperty.call(Fn,Zt)&&Dt.indexOf(Zt)<0&&(Gt[Zt]=Fn[Zt]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Zt=Object.getOwnPropertySymbols(Fn);jt{const Gt=Ne.useContext(Ft.Z),{getPrefixCls:Zt,direction:jt,form:on}=Ne.useContext(Rt.E_),{prefixCls:Mn,className:ir,rootClassName:qn,size:pr,disabled:Gr=Gt,form:Zr,colon:$r,labelAlign:Xn,labelWrap:Or,labelCol:ki,wrapperCol:vi,hideRequiredMark:Zi,layout:xi="horizontal",scrollToFirstError:Ca,requiredMark:si,onFinishFailed:oa,name:mn,style:mr,feedbackIcons:dr}=Fn,Wr=Nn(Fn,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),wr=(0,Tt.Z)(pr),Mr=Ne.useContext(cn.Z),Fr=(0,Ne.useMemo)(()=>si!==void 0?si:on&&on.requiredMark!==void 0?on.requiredMark:!Zi,[Zi,si,on]),ui=$r!=null?$r:on==null?void 0:on.colon,yi=Zt("form",Mn),[Hi,Oa]=ht(yi),Qa=Ue()(yi,`${yi}-${xi}`,{[`${yi}-hide-required-mark`]:Fr===!1,[`${yi}-rtl`]:jt==="rtl",[`${yi}-${wr}`]:wr},Oa,on==null?void 0:on.className,ir,qn),[oo]=Qt(Zr),{__INTERNAL__:La}=oo;La.name=mn;const Da=(0,Ne.useMemo)(()=>({name:mn,labelAlign:Xn,labelCol:ki,labelWrap:Or,wrapperCol:vi,vertical:xi==="vertical",colon:ui,requiredMark:Fr,itemRef:La.itemRef,form:oo,feedbackIcons:dr}),[mn,Xn,ki,vi,xi,ui,Fr,oo,dr]);Ne.useImperativeHandle(Dt,()=>oo);const po=(io,va)=>{if(io){let ka={block:"nearest"};typeof io=="object"&&(ka=io),oo.scrollToField(va,ka)}},Za=io=>{if(oa==null||oa(io),io.errorFields.length){const va=io.errorFields[0].name;if(Ca!==void 0){po(Ca,va);return}on&&on.scrollToFirstError!==void 0&&po(on.scrollToFirstError,va)}};return Hi(Ne.createElement(Ft.n,{disabled:Gr},Ne.createElement(bt.q,{size:wr},Ne.createElement(ve.RV,Object.assign({},{validateMessages:Mr}),Ne.createElement(ve.q3.Provider,{value:Da},Ne.createElement(Re.default,Object.assign({id:mn},Wr,{name:mn,onFinishFailed:Za,form:oo,style:Object.assign(Object.assign({},on==null?void 0:on.style),mr),className:Qa})))))))};var Cn=Ne.forwardRef(fn),Bn=ce(41799),gn=ce(8654),Se=ce(92343),Fe=ce(11592);function ie(Fn){if(typeof Fn=="function")return Fn;const Dt=(0,Fe.Z)(Fn);return Dt.length<=1?Dt[0]:Dt}const ae=()=>{const{status:Fn,errors:Dt=[],warnings:Gt=[]}=(0,Ne.useContext)(ve.aM);return{status:Fn,errors:Dt,warnings:Gt}};ae.Context=ve.aM;var se=ae,oe=ce(16089);function Ye(Fn){const[Dt,Gt]=Ne.useState(Fn),Zt=(0,Ne.useRef)(null),jt=(0,Ne.useRef)([]),on=(0,Ne.useRef)(!1);Ne.useEffect(()=>(on.current=!1,()=>{on.current=!0,oe.Z.cancel(Zt.current),Zt.current=null}),[]);function Mn(ir){on.current||(Zt.current===null&&(jt.current=[],Zt.current=(0,oe.Z)(()=>{Zt.current=null,Gt(qn=>{let pr=qn;return jt.current.forEach(Gr=>{pr=Gr(pr)}),pr})})),jt.current.push(ir))}return[Dt,Mn]}function vt(){const{itemRef:Fn}=Ne.useContext(ve.q3),Dt=Ne.useRef({});function Gt(Zt,jt){const on=jt&&typeof jt=="object"&&jt.ref,Mn=Zt.join("_");return(Dt.current.name!==Mn||Dt.current.originRef!==on)&&(Dt.current.name=Mn,Dt.current.originRef=on,Dt.current.ref=(0,gn.sQ)(Fn(Zt),on)),Dt.current.ref}return Gt}var et=ce(29194),lt=ce(34280),Pt=ce(2738),Mt=ce(27382),kt=ce(37028);const $t=Fn=>{const{formItemCls:Dt}=Fn;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Dt}-control`]:{display:"flex"}}}};var Sn=(0,_e.b)(["Form","item-item"],(Fn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Zt=rt(Fn,Gt);return[$t(Zt)]}),nn=Fn=>{const{prefixCls:Dt,status:Gt,wrapperCol:Zt,children:jt,errors:on,warnings:Mn,_internalItemRender:ir,extra:qn,help:pr,fieldId:Gr,marginBottom:Zr,onErrorVisibleChanged:$r}=Fn,Xn=`${Dt}-item`,Or=Ne.useContext(ve.q3),ki=Zt||Or.wrapperCol||{},vi=Ue()(`${Xn}-control`,ki.className),Zi=Ne.useMemo(()=>Object.assign({},Or),[Or]);delete Zi.labelCol,delete Zi.wrapperCol;const xi=Ne.createElement("div",{className:`${Xn}-control-input`},Ne.createElement("div",{className:`${Xn}-control-input-content`},jt)),Ca=Ne.useMemo(()=>({prefixCls:Dt,status:Gt}),[Dt,Gt]),si=Zr!==null||on.length||Mn.length?Ne.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Ne.createElement(ve.Rk.Provider,{value:Ca},Ne.createElement(Lt,{fieldId:Gr,errors:on,warnings:Mn,help:pr,helpStatus:Gt,className:`${Xn}-explain-connected`,onVisibleChanged:$r})),!!Zr&&Ne.createElement("div",{style:{width:0,height:Zr}})):null,oa={};Gr&&(oa.id=`${Gr}_extra`);const mn=qn?Ne.createElement("div",Object.assign({},oa,{className:`${Xn}-extra`}),qn):null,mr=ir&&ir.mark==="pro_table_render"&&ir.render?ir.render(Fn,{input:xi,errorList:si,extra:mn}):Ne.createElement(Ne.Fragment,null,xi,si,mn);return Ne.createElement(ve.q3.Provider,{value:Zi},Ne.createElement(kt.Z,Object.assign({},ki,{className:vi}),mr),Ne.createElement(Sn,{prefixCls:Dt}))},tn=ce(61485),zt=ce(31724),pt=ce(9763),Wt=ce(6848),vn=function(Fn,Dt){var Gt={};for(var Zt in Fn)Object.prototype.hasOwnProperty.call(Fn,Zt)&&Dt.indexOf(Zt)<0&&(Gt[Zt]=Fn[Zt]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Zt=Object.getOwnPropertySymbols(Fn);jt{let{prefixCls:Dt,label:Gt,htmlFor:Zt,labelCol:jt,labelAlign:on,colon:Mn,required:ir,requiredMark:qn,tooltip:pr}=Fn;var Gr;const[Zr]=(0,pt.Z)("Form"),{vertical:$r,labelAlign:Xn,labelCol:Or,labelWrap:ki,colon:vi}=Ne.useContext(ve.q3);if(!Gt)return null;const Zi=jt||Or||{},xi=on||Xn,Ca=`${Dt}-item-label`,si=Ue()(Ca,xi==="left"&&`${Ca}-left`,Zi.className,{[`${Ca}-wrap`]:!!ki});let oa=Gt;const mn=Mn===!0||vi!==!1&&Mn!==!1;mn&&!$r&&typeof Gt=="string"&&Gt.trim()!==""&&(oa=Gt.replace(/[:|:]\s*$/,""));const dr=xn(pr);if(dr){const{icon:Fr=Ne.createElement(tn.Z,null)}=dr,ui=vn(dr,["icon"]),yi=Ne.createElement(Wt.Z,Object.assign({},ui),Ne.cloneElement(Fr,{className:`${Dt}-item-tooltip`,title:""}));oa=Ne.createElement(Ne.Fragment,null,oa,yi)}const Wr=qn==="optional",wr=typeof qn=="function";wr?oa=qn(oa,{required:!!ir}):Wr&&!ir&&(oa=Ne.createElement(Ne.Fragment,null,oa,Ne.createElement("span",{className:`${Dt}-item-optional`,title:""},(Zr==null?void 0:Zr.optional)||((Gr=zt.Z.Form)===null||Gr===void 0?void 0:Gr.optional))));const Mr=Ue()({[`${Dt}-item-required`]:ir,[`${Dt}-item-required-mark-optional`]:Wr||wr,[`${Dt}-item-no-colon`]:!mn});return Ne.createElement(kt.Z,Object.assign({},Zi,{className:si}),Ne.createElement("label",{htmlFor:Zt,className:Mr,title:typeof Gt=="string"?Gt:""},oa))},Lr=ce(29679),jr=ce(19248),Qr=ce(96512),vr=ce(58617);const Ar={success:Lr.Z,warning:Qr.Z,error:jr.Z,validating:vr.Z};function Tr(Fn){let{children:Dt,errors:Gt,warnings:Zt,hasFeedback:jt,validateStatus:on,prefixCls:Mn,meta:ir,noStyle:qn}=Fn;const pr=`${Mn}-item`,{feedbackIcons:Gr}=Ne.useContext(ve.q3),Zr=Vt(Gt,Zt,ir,null,!!jt,on),{isFormItemInput:$r,status:Xn}=Ne.useContext(ve.aM),Or=Ne.useMemo(()=>{var ki;let vi;if(jt){const Ca=jt!==!0&&jt.icons||Gr,si=Zr&&((ki=Ca==null?void 0:Ca({status:Zr,errors:Gt,warnings:Zt}))===null||ki===void 0?void 0:ki[Zr]),oa=Zr&&Ar[Zr];vi=si!==!1&&oa?Ne.createElement("span",{className:Ue()(`${pr}-feedback-icon`,`${pr}-feedback-icon-${Zr}`)},si||Ne.createElement(oa,null)):null}let Zi=!0,xi=Zr||"";return qn&&(Zi=$r,xi=(Zr!=null?Zr:Xn)||""),{status:xi,errors:Gt,warnings:Zt,hasFeedback:!!jt,feedbackIcon:vi,isFormItemInput:Zi}},[Zr,jt,qn,$r,Xn]);return Ne.createElement(ve.aM.Provider,{value:Or},Dt)}var Bi=function(Fn,Dt){var Gt={};for(var Zt in Fn)Object.prototype.hasOwnProperty.call(Fn,Zt)&&Dt.indexOf(Zt)<0&&(Gt[Zt]=Fn[Zt]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Zt=Object.getOwnPropertySymbols(Fn);jt{if(dr&&si.current){const Oa=getComputedStyle(si.current);Mr(parseInt(Oa.marginBottom,10))}},[dr,Wr]);const Fr=Oa=>{Oa||Mr(null)},yi=function(){let Oa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Qa=Oa?oa:pr.errors,oo=Oa?mn:pr.warnings;return Vt(Qa,oo,pr,"",!!Gr,qn)}(),Hi=Ue()(xi,Gt,Zt,{[`${xi}-with-help`]:mr||oa.length||mn.length,[`${xi}-has-feedback`]:yi&&Gr,[`${xi}-has-success`]:yi==="success",[`${xi}-has-warning`]:yi==="warning",[`${xi}-has-error`]:yi==="error",[`${xi}-is-validating`]:yi==="validating",[`${xi}-hidden`]:Zr});return Ne.createElement("div",{className:Hi,style:jt,ref:si},Ne.createElement(Mt.Z,Object.assign({className:`${xi}-row`},(0,Pt.Z)(Zi,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),Ne.createElement(br,Object.assign({htmlFor:Xn},Fn,{requiredMark:Ca,required:Or!=null?Or:ki,prefixCls:Dt})),Ne.createElement(nn,Object.assign({},Fn,pr,{errors:oa,warnings:mn,prefixCls:Dt,status:yi,help:on,marginBottom:wr,onErrorVisibleChanged:Fr}),Ne.createElement(ve.qI.Provider,{value:vi},Ne.createElement(Tr,{prefixCls:Dt,meta:pr,errors:pr.errors,warnings:pr.warnings,hasFeedback:Gr,validateStatus:yi},$r)))),!!wr&&Ne.createElement("div",{className:`${xi}-margin-offset`,style:{marginBottom:-wr}}))}const mi="__SPLIT__",Mi=null,pa=Ne.memo(Fn=>{let{children:Dt}=Fn;return Dt},(Fn,Dt)=>Fn.value===Dt.value&&Fn.update===Dt.update&&Fn.childProps.length===Dt.childProps.length&&Fn.childProps.every((Gt,Zt)=>Gt===Dt.childProps[Zt]));function Dr(Fn){return Fn!=null}function _n(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function no(Fn){const{name:Dt,noStyle:Gt,className:Zt,dependencies:jt,prefixCls:on,shouldUpdate:Mn,rules:ir,children:qn,required:pr,label:Gr,messageVariables:Zr,trigger:$r="onChange",validateTrigger:Xn,hidden:Or,help:ki}=Fn,{getPrefixCls:vi}=Ne.useContext(Rt.E_),{name:Zi}=Ne.useContext(ve.q3),xi=ie(qn),Ca=typeof xi=="function",si=Ne.useContext(ve.qI),{validateTrigger:oa}=Ne.useContext(Re.FieldContext),mn=Xn!==void 0?Xn:oa,mr=Dr(Dt),dr=vi("form",on),[Wr,wr]=ht(dr),Mr=Ne.useContext(Re.ListContext),Fr=Ne.useRef(),[ui,yi]=Ye({}),[Hi,Oa]=(0,Bn.Z)(()=>_n()),Qa=va=>{const ka=Mr==null?void 0:Mr.getKey(va.name);if(Oa(va.destroy?_n():va,!0),Gt&&ki!==!1&&si){let Xa=va.name;if(va.destroy)Xa=Fr.current||Xa;else if(ka!==void 0){const[Pa,ao]=ka;Xa=[Pa].concat((0,he.Z)(ao)),Fr.current=Xa}si(va,Xa)}},oo=(va,ka)=>{yi(Xa=>{const Pa=Object.assign({},Xa),us=[].concat((0,he.Z)(va.name.slice(0,-1)),(0,he.Z)(ka)).join(mi);return va.destroy?delete Pa[us]:Pa[us]=va,Pa})},[La,Da]=Ne.useMemo(()=>{const va=(0,he.Z)(Hi.errors),ka=(0,he.Z)(Hi.warnings);return Object.values(ui).forEach(Xa=>{va.push.apply(va,(0,he.Z)(Xa.errors||[])),ka.push.apply(ka,(0,he.Z)(Xa.warnings||[]))}),[va,ka]},[ui,Hi.errors,Hi.warnings]),po=vt();function Za(va,ka,Xa){return Gt&&!Or?Ne.createElement(Tr,{prefixCls:dr,hasFeedback:Fn.hasFeedback,validateStatus:Fn.validateStatus,meta:Hi,errors:La,warnings:Da,noStyle:!0},va):Ne.createElement($i,Object.assign({key:"row"},Fn,{className:Ue()(Zt,wr),prefixCls:dr,fieldId:ka,isRequired:Xa,errors:La,warnings:Da,meta:Hi,onSubItemMetaChange:oo}),va)}if(!mr&&!Ca&&!jt)return Wr(Za(xi));let io={};return typeof Gr=="string"?io.label=Gr:Dt&&(io.label=String(Dt)),Zr&&(io=Object.assign(Object.assign({},io),Zr)),Wr(Ne.createElement(Re.Field,Object.assign({},Fn,{messageVariables:io,trigger:$r,validateTrigger:mn,onMetaChange:Qa}),(va,ka,Xa)=>{const Pa=at(Dt).length&&ka?ka.name:[],ao=Yt(Pa,Zi),us=pr!==void 0?pr:!!(ir&&ir.some(Rr=>{if(Rr&&typeof Rr=="object"&&Rr.required&&!Rr.warningOnly)return!0;if(typeof Rr=="function"){const Ra=Rr(Xa);return Ra&&Ra.required&&!Ra.warningOnly}return!1})),Ya=Object.assign({},va);let fi=null;if(Array.isArray(xi)&&mr)fi=xi;else if(!(Ca&&(!(Mn||jt)||mr))){if(!(jt&&!Ca&&!mr))if((0,Se.l$)(xi)){const Rr=Object.assign(Object.assign({},xi.props),Ya);if(Rr.id||(Rr.id=ao),ki||La.length>0||Da.length>0||Fn.extra){const Va=[];(ki||La.length>0)&&Va.push(`${ao}_help`),Fn.extra&&Va.push(`${ao}_extra`),Rr["aria-describedby"]=Va.join(" ")}La.length>0&&(Rr["aria-invalid"]="true"),us&&(Rr["aria-required"]="true"),(0,gn.Yr)(xi)&&(Rr.ref=po(Pa,xi)),new Set([].concat((0,he.Z)(at($r)),(0,he.Z)(at(mn)))).forEach(Va=>{Rr[Va]=function(){for(var Mo,go,As,_o,Js,Sa=arguments.length,xa=new Array(Sa),Bo=0;Bo{var{prefixCls:Dt,children:Gt}=Fn,Zt=ro(Fn,["prefixCls","children"]);const{getPrefixCls:jt}=Ne.useContext(Rt.E_),on=jt("form",Dt),Mn=Ne.useMemo(()=>({prefixCls:on,status:"error"}),[on]);return Ne.createElement(Re.List,Object.assign({},Zt),(ir,qn,pr)=>Ne.createElement(ve.Rk.Provider,{value:Mn},Gt(ir.map(Gr=>Object.assign(Object.assign({},Gr),{fieldKey:Gr.key})),qn,{errors:pr.errors,warnings:pr.warnings})))};function Si(){const{form:Fn}=(0,Ne.useContext)(ve.q3);return Fn}const gi=Cn;gi.Item=Co,gi.List=Ii,gi.ErrorList=Lt,gi.useForm=Qt,gi.useFormInstance=Si,gi.useWatch=Re.useWatch,gi.Provider=ve.RV,gi.create=()=>{};var Ea=gi},8628:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(34280),Ue=ce(56762),At=ce(69507);function Ne(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,he.useRef)({}),Ae=(0,Ue.Z)(),we=(0,At.ZP)();return(0,Me.Z)(()=>{const fe=we.subscribe(ze=>{ve.current=ze,Le&&Ae()});return()=>we.unsubscribe(fe)},[]),ve.current}Xt.Z=Ne},5871:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return tn}});var he=ce(84105),Me=ce(87395),Ue=ce(92310),At=ce.n(Ue),Ne=ce(60499),Le=ce(18642),ve=ce(43749),Ae=ce(72190),we=ce(42244),fe=ce(38705),ze=ce(17212);function Be(){return typeof BigInt=="function"}function _e(zt){return!zt&&zt!==0&&!Number.isNaN(zt)||!String(zt).trim()}function Oe(zt){var pt=zt.trim(),Wt=pt.startsWith("-");Wt&&(pt=pt.slice(1)),pt=pt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),pt.startsWith(".")&&(pt="0".concat(pt));var vn=pt||"0",xn=vn.split("."),Wn=xn[0]||"0",br=xn[1]||"0";Wn==="0"&&br==="0"&&(Wt=!1);var Lr=Wt?"-":"";return{negative:Wt,negativeStr:Lr,trimStr:vn,integerStr:Wn,decimalStr:br,fullStr:"".concat(Lr).concat(vn)}}function He(zt){var pt=String(zt);return!Number.isNaN(Number(pt))&&pt.includes("e")}function ke(zt){var pt=String(zt);if(He(zt)){var Wt=Number(pt.slice(pt.indexOf("e-")+2)),vn=pt.match(/\.(\d+)/);return vn!=null&&vn[1]&&(Wt+=vn[1].length),Wt}return pt.includes(".")&&Pe(pt)?pt.length-pt.indexOf(".")-1:0}function Te(zt){var pt=String(zt);if(He(zt)){if(zt>Number.MAX_SAFE_INTEGER)return String(Be()?BigInt(zt).toString():Number.MAX_SAFE_INTEGER);if(zt0&&arguments[0]!==void 0?arguments[0]:!0;return Wt?this.isInvalidate()?"":Oe("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),zt}(),Ke=function(){function zt(pt){if((0,fe.Z)(this,zt),(0,Le.Z)(this,"origin",""),(0,Le.Z)(this,"number",void 0),(0,Le.Z)(this,"empty",void 0),_e(pt)){this.empty=!0;return}this.origin=String(pt),this.number=Number(pt)}return(0,ze.Z)(zt,[{key:"negate",value:function(){return new zt(-this.toNumber())}},{key:"add",value:function(Wt){if(this.isInvalidate())return new zt(Wt);var vn=Number(Wt);if(Number.isNaN(vn))return this;var xn=this.number+vn;if(xn>Number.MAX_SAFE_INTEGER)return new zt(Number.MAX_SAFE_INTEGER);if(xnNumber.MAX_SAFE_INTEGER)return new zt(Number.MAX_SAFE_INTEGER);if(xn0&&arguments[0]!==void 0?arguments[0]:!0;return Wt?this.isInvalidate()?"":Te(this.number):this.origin}}]),zt}();function qe(zt){return Be()?new Xe(zt):new Ke(zt)}function We(zt,pt,Wt){var vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(zt==="")return"";var xn=Oe(zt),Wn=xn.negativeStr,br=xn.integerStr,Lr=xn.decimalStr,jr="".concat(pt).concat(Lr),Qr="".concat(Wn).concat(br);if(Wt>=0){var vr=Number(Lr[Wt]);if(vr>=5&&!vn){var Ar=qe(zt).add("".concat(Wn,"0.").concat("0".repeat(Wt)).concat(10-vr));return We(Ar.toString(),pt,Wt,vn)}return Wt===0?Qr:"".concat(Qr).concat(pt).concat(Lr.padEnd(Wt,"0").slice(0,Wt))}return jr===".0"?Qr:"".concat(Qr).concat(jr)}var Ze=qe,$e=ce(93681),rt=ce(34280),ht=ce(8654),dt=ce(59301),xt=ce(48736);function Je(zt,pt){var Wt=(0,dt.useRef)(null);function vn(){try{var Wn=zt.selectionStart,br=zt.selectionEnd,Lr=zt.value,jr=Lr.substring(0,Wn),Qr=Lr.substring(br);Wt.current={start:Wn,end:br,value:Lr,beforeTxt:jr,afterTxt:Qr}}catch(vr){}}function xn(){if(zt&&Wt.current&&pt)try{var Wn=zt.value,br=Wt.current,Lr=br.beforeTxt,jr=br.afterTxt,Qr=br.start,vr=Wn.length;if(Wn.endsWith(jr))vr=Wn.length-Wt.current.afterTxt.length;else if(Wn.startsWith(Lr))vr=Lr.length;else{var Ar=Lr[Qr-1],Tr=Wn.indexOf(Ar,Qr-1);Tr!==-1&&(vr=Tr+1)}zt.setSelectionRange(vr,vr)}catch(Bi){(0,xt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Bi.message))}}return[vn,xn]}var Lt=ce(49658),Re=function(){var pt=(0,dt.useState)(!1),Wt=(0,Ae.Z)(pt,2),vn=Wt[0],xn=Wt[1];return(0,rt.Z)(function(){xn((0,Lt.Z)())},[]),vn},Rt=Re,Ft=ce(16089),bt=200,Tt=600;function wt(zt){var pt=zt.prefixCls,Wt=zt.upNode,vn=zt.downNode,xn=zt.upDisabled,Wn=zt.downDisabled,br=zt.onStep,Lr=dt.useRef(),jr=dt.useRef([]),Qr=dt.useRef();Qr.current=br;var vr=function(){clearTimeout(Lr.current)},Ar=function(_n,no){_n.preventDefault(),vr(),Qr.current(no);function Ki(){Qr.current(no),Lr.current=setTimeout(Ki,bt)}Lr.current=setTimeout(Ki,Tt)};dt.useEffect(function(){return function(){vr(),jr.current.forEach(function(Dr){return Ft.Z.cancel(Dr)})}},[]);var Tr=Rt();if(Tr)return null;var Bi="".concat(pt,"-handler"),$i=At()(Bi,"".concat(Bi,"-up"),(0,Le.Z)({},"".concat(Bi,"-up-disabled"),xn)),mi=At()(Bi,"".concat(Bi,"-down"),(0,Le.Z)({},"".concat(Bi,"-down-disabled"),Wn)),Mi=function(){return jr.current.push((0,Ft.Z)(vr))},pa={unselectable:"on",role:"button",onMouseUp:Mi,onMouseLeave:Mi};return dt.createElement("div",{className:"".concat(Bi,"-wrap")},dt.createElement("span",(0,Ne.Z)({},pa,{onMouseDown:function(_n){Ar(_n,!0)},"aria-label":"Increase Value","aria-disabled":xn,className:$i}),Wt||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-up-inner")})),dt.createElement("span",(0,Ne.Z)({},pa,{onMouseDown:function(_n){Ar(_n,!1)},"aria-label":"Decrease Value","aria-disabled":Wn,className:mi}),vn||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-down-inner")})))}function it(zt){var pt=typeof zt=="number"?Te(zt):Oe(zt).fullStr,Wt=pt.includes(".");return Wt?Oe(pt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:zt+"0"}var je=ce(5643),at=function(){var zt=(0,dt.useRef)(0),pt=function(){Ft.Z.cancel(zt.current)};return(0,dt.useEffect)(function(){return pt},[]),function(Wt){pt(),zt.current=(0,Ft.Z)(function(){Wt()})}},Yt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Vt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],St=function(pt,Wt){return pt||Wt.isEmpty()?Wt.toString():Wt.toNumber()},Qt=function(pt){var Wt=Ze(pt);return Wt.isInvalidate()?null:Wt},cn=dt.forwardRef(function(zt,pt){var Wt,vn=zt.prefixCls,xn=vn===void 0?"rc-input-number":vn,Wn=zt.className,br=zt.style,Lr=zt.min,jr=zt.max,Qr=zt.step,vr=Qr===void 0?1:Qr,Ar=zt.defaultValue,Tr=zt.value,Bi=zt.disabled,$i=zt.readOnly,mi=zt.upHandler,Mi=zt.downHandler,pa=zt.keyboard,Dr=zt.controls,_n=Dr===void 0?!0:Dr,no=zt.classNames,Ki=zt.stringMode,Co=zt.parser,ro=zt.formatter,Pi=zt.precision,Ii=zt.decimalSeparator,Si=zt.onChange,gi=zt.onInput,Ea=zt.onPressEnter,Fn=zt.onStep,Dt=(0,we.Z)(zt,Yt),Gt="".concat(xn,"-input"),Zt=dt.useRef(null),jt=dt.useState(!1),on=(0,Ae.Z)(jt,2),Mn=on[0],ir=on[1],qn=dt.useRef(!1),pr=dt.useRef(!1),Gr=dt.useRef(!1),Zr=dt.useState(function(){return Ze(Tr!=null?Tr:Ar)}),$r=(0,Ae.Z)(Zr,2),Xn=$r[0],Or=$r[1];function ki(fi){Tr===void 0&&Or(fi)}var vi=dt.useCallback(function(fi,Rr){if(!Rr)return Pi>=0?Pi:Math.max(ke(fi),ke(vr))},[Pi,vr]),Zi=dt.useCallback(function(fi){var Rr=String(fi);if(Co)return Co(Rr);var Ra=Rr;return Ii&&(Ra=Ra.replace(Ii,".")),Ra.replace(/[^\w.-]+/g,"")},[Co,Ii]),xi=dt.useRef(""),Ca=dt.useCallback(function(fi,Rr){if(ro)return ro(fi,{userTyping:Rr,input:String(xi.current)});var Ra=typeof fi=="number"?Te(fi):fi;if(!Rr){var _a=vi(Ra,Rr);if(Pe(Ra)&&(Ii||_a>=0)){var Va=Ii||".";Ra=We(Ra,Va,_a)}}return Ra},[ro,vi,Ii]),si=dt.useState(function(){var fi=Ar!=null?Ar:Tr;return Xn.isInvalidate()&&["string","number"].includes((0,ve.Z)(fi))?Number.isNaN(fi)?"":fi:Ca(Xn.toString(),!1)}),oa=(0,Ae.Z)(si,2),mn=oa[0],mr=oa[1];xi.current=mn;function dr(fi,Rr){mr(Ca(fi.isInvalidate()?fi.toString(!1):fi.toString(!Rr),Rr))}var Wr=dt.useMemo(function(){return Qt(jr)},[jr,Pi]),wr=dt.useMemo(function(){return Qt(Lr)},[Lr,Pi]),Mr=dt.useMemo(function(){return!Wr||!Xn||Xn.isInvalidate()?!1:Wr.lessEquals(Xn)},[Wr,Xn]),Fr=dt.useMemo(function(){return!wr||!Xn||Xn.isInvalidate()?!1:Xn.lessEquals(wr)},[wr,Xn]),ui=Je(Zt.current,Mn),yi=(0,Ae.Z)(ui,2),Hi=yi[0],Oa=yi[1],Qa=function(Rr){return Wr&&!Rr.lessEquals(Wr)?Wr:wr&&!wr.lessEquals(Rr)?wr:null},oo=function(Rr){return!Qa(Rr)},La=function(Rr,Ra){var _a=Rr,Va=oo(_a)||_a.isEmpty();if(!_a.isEmpty()&&!Ra&&(_a=Qa(_a)||_a,Va=!0),!$i&&!Bi&&Va){var Mo=_a.toString(),go=vi(Mo,Ra);return go>=0&&(_a=Ze(We(Mo,".",go)),oo(_a)||(_a=Ze(We(Mo,".",go,!0)))),_a.equals(Xn)||(ki(_a),Si==null||Si(_a.isEmpty()?null:St(Ki,_a)),Tr===void 0&&dr(_a,Ra)),_a}return Xn},Da=at(),po=function fi(Rr){if(Hi(),xi.current=Rr,mr(Rr),!pr.current){var Ra=Zi(Rr),_a=Ze(Ra);_a.isNaN()||La(_a,!0)}gi==null||gi(Rr),Da(function(){var Va=Rr;Co||(Va=Rr.replace(/。/g,".")),Va!==Rr&&fi(Va)})},Za=function(){pr.current=!0},io=function(){pr.current=!1,po(Zt.current.value)},va=function(Rr){po(Rr.target.value)},ka=function(Rr){var Ra;if(!(Rr&&Mr||!Rr&&Fr)){qn.current=!1;var _a=Ze(Gr.current?it(vr):vr);Rr||(_a=_a.negate());var Va=(Xn||Ze(0)).add(_a.toString()),Mo=La(Va,!1);Fn==null||Fn(St(Ki,Mo),{offset:Gr.current?it(vr):vr,type:Rr?"up":"down"}),(Ra=Zt.current)===null||Ra===void 0||Ra.focus()}},Xa=function(Rr){var Ra=Ze(Zi(mn)),_a=Ra;Ra.isNaN()?_a=La(Xn,Rr):_a=La(Ra,Rr),Tr!==void 0?dr(Xn,!1):_a.isNaN()||dr(_a,!1)},Pa=function(){qn.current=!0},ao=function(Rr){var Ra=Rr.key,_a=Rr.shiftKey;qn.current=!0,Gr.current=_a,Ra==="Enter"&&(pr.current||(qn.current=!1),Xa(!1),Ea==null||Ea(Rr)),pa!==!1&&!pr.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ra)&&(ka(Ra==="Up"||Ra==="ArrowUp"),Rr.preventDefault())},us=function(){qn.current=!1,Gr.current=!1},Ya=function(){Xa(!1),ir(!1),qn.current=!1};return(0,rt.o)(function(){Xn.isInvalidate()||dr(Xn,!1)},[Pi]),(0,rt.o)(function(){var fi=Ze(Tr);Or(fi);var Rr=Ze(Zi(mn));(!fi.equals(Rr)||!qn.current||ro)&&dr(fi,qn.current)},[Tr]),(0,rt.o)(function(){ro&&Oa()},[mn]),dt.createElement("div",{className:At()(xn,no==null?void 0:no.input,Wn,(Wt={},(0,Le.Z)(Wt,"".concat(xn,"-focused"),Mn),(0,Le.Z)(Wt,"".concat(xn,"-disabled"),Bi),(0,Le.Z)(Wt,"".concat(xn,"-readonly"),$i),(0,Le.Z)(Wt,"".concat(xn,"-not-a-number"),Xn.isNaN()),(0,Le.Z)(Wt,"".concat(xn,"-out-of-range"),!Xn.isInvalidate()&&!oo(Xn)),Wt)),style:br,onFocus:function(){ir(!0)},onBlur:Ya,onKeyDown:ao,onKeyUp:us,onCompositionStart:Za,onCompositionEnd:io,onBeforeInput:Pa},_n&&dt.createElement(wt,{prefixCls:xn,upNode:mi,downNode:Mi,upDisabled:Mr,downDisabled:Fr,onStep:ka}),dt.createElement("div",{className:"".concat(Gt,"-wrap")},dt.createElement("input",(0,Ne.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Lr,"aria-valuemax":jr,"aria-valuenow":Xn.isInvalidate()?null:Xn.toString(),step:vr},Dt,{ref:(0,ht.sQ)(Zt,pt),className:Gt,value:mn,onChange:va,disabled:Bi,readOnly:$i}))))}),Nn=dt.forwardRef(function(zt,pt){var Wt=zt.disabled,vn=zt.style,xn=zt.prefixCls,Wn=zt.value,br=zt.prefix,Lr=zt.suffix,jr=zt.addonBefore,Qr=zt.addonAfter,vr=zt.classes,Ar=zt.className,Tr=zt.classNames,Bi=(0,we.Z)(zt,Vt),$i=dt.useRef(null),mi=function(pa){$i.current&&(0,je.nH)($i.current,pa)};return dt.createElement($e.BaseInput,{inputElement:dt.createElement(cn,(0,Ne.Z)({prefixCls:xn,disabled:Wt,classNames:Tr,ref:(0,ht.sQ)($i,pt)},Bi)),className:Ar,triggerFocus:mi,prefixCls:xn,value:Wn,disabled:Wt,style:vn,prefix:br,suffix:Lr,addonAfter:Qr,addonBefore:jr,classes:vr,classNames:Tr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Nn.displayName="InputNumber";var fn=Nn,Ln=fn,Cn=ce(19080),Bn=ce(36355),gn=ce(92736),Se=ce(1684),Fe=ce(19716),ie=ce(32441),ae=ce(33234),se=ce(9937),oe=ce(17313),Ye=ce(74207),vt=ce(83116),et=ce(37613);const lt=(zt,pt)=>{let{componentCls:Wt,borderRadiusSM:vn,borderRadiusLG:xn}=zt;const Wn=pt==="lg"?xn:vn;return{[`&-${pt}`]:{[`${Wt}-handler-wrap`]:{borderStartEndRadius:Wn,borderEndEndRadius:Wn},[`${Wt}-handler-up`]:{borderStartEndRadius:Wn},[`${Wt}-handler-down`]:{borderEndEndRadius:Wn}}}},Pt=zt=>{const{componentCls:pt,lineWidth:Wt,lineType:vn,colorBorder:xn,borderRadius:Wn,fontSizeLG:br,controlHeightLG:Lr,controlHeightSM:jr,colorError:Qr,paddingInlineSM:vr,colorTextDescription:Ar,motionDurationMid:Tr,handleHoverColor:Bi,paddingInline:$i,paddingBlock:mi,handleBg:Mi,handleActiveBg:pa,colorTextDisabled:Dr,borderRadiusSM:_n,borderRadiusLG:no,controlWidth:Ki,handleVisible:Co,handleBorderColor:ro}=zt;return[{[pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(zt)),(0,se.ik)(zt)),(0,se.bi)(zt,pt)),{display:"inline-block",width:Ki,margin:0,padding:0,border:`${Wt}px ${vn} ${xn}`,borderRadius:Wn,"&-rtl":{direction:"rtl",[`${pt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:br,borderRadius:no,[`input${pt}-input`]:{height:Lr-2*Wt}},"&-sm":{padding:0,borderRadius:_n,[`input${pt}-input`]:{height:jr-2*Wt,padding:`0 ${vr}px`}},"&:hover":Object.assign({},(0,se.pU)(zt)),"&-focused":Object.assign({},(0,se.M1)(zt)),"&-out-of-range":{[`${pt}-input-wrap`]:{input:{color:Qr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(zt)),(0,se.s7)(zt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${pt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${pt}-group-addon`]:{borderRadius:no,fontSize:zt.fontSizeLG}},"&-sm":{[`${pt}-group-addon`]:{borderRadius:_n}},[`${pt}-wrapper-disabled > ${pt}-group-addon`]:Object.assign({},(0,se.Xy)(zt))}}),[`&-disabled ${pt}-input`]:{cursor:"not-allowed"},[pt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(zt)),{width:"100%",padding:`${mi}px ${$i}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Wn,outline:0,transition:`all ${Tr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,se.nz)(zt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[pt]:Object.assign(Object.assign(Object.assign({[`&:hover ${pt}-handler-wrap, &-focused ${pt}-handler-wrap`]:{opacity:1},[`${pt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:zt.handleWidth,height:"100%",background:Mi,borderStartStartRadius:0,borderStartEndRadius:Wn,borderEndEndRadius:Wn,borderEndStartRadius:0,opacity:Co===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Tr} linear ${Tr}`,[`${pt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${pt}-handler-up-inner, ${pt}-handler-down-inner `]:{marginInlineEnd:0,fontSize:zt.handleFontSize}}},[`${pt}-handler`]:{height:"50%",overflow:"hidden",color:Ar,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Wt}px ${vn} ${ro}`,transition:`all ${Tr} linear`,"&:active":{background:pa},"&:hover":{height:"60%",[` ${pt}-handler-up-inner, ${pt}-handler-down-inner `]:{color:Bi}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,oe.Ro)()),{color:Ar,transition:`all ${Tr} linear`,userSelect:"none"})},[`${pt}-handler-up`]:{borderStartEndRadius:Wn},[`${pt}-handler-down`]:{borderBlockStart:`${Wt}px ${vn} ${ro}`,borderEndEndRadius:Wn}},lt(zt,"lg")),lt(zt,"sm")),{"&-disabled, &-readonly":{[`${pt}-handler-wrap`]:{display:"none"},[`${pt}-input`]:{color:"inherit"}},[` ${pt}-handler-up-disabled, ${pt}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${pt}-handler-up-disabled:hover &-handler-up-inner, ${pt}-handler-down-disabled:hover &-handler-down-inner `]:{color:Dr}})},{[`${pt}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${pt}-handler-down`]:{borderBlockStartWidth:0}}}]},Mt=zt=>{const{componentCls:pt,paddingBlock:Wt,paddingInline:vn,inputAffixPadding:xn,controlWidth:Wn,borderRadiusLG:br,borderRadiusSM:Lr}=zt;return{[`${pt}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,se.ik)(zt)),(0,se.bi)(zt,`${pt}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Wn,padding:0,paddingInlineStart:vn,"&-lg":{borderRadius:br},"&-sm":{borderRadius:Lr},[`&:not(${pt}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,se.pU)(zt)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${pt}-disabled`]:{background:"transparent"},[`> div${pt}`]:{width:"100%",border:"none",outline:"none",[`&${pt}-focused`]:{boxShadow:"none !important"}},[`input${pt}-input`]:{padding:`${Wt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${pt}-handler-wrap`]:{zIndex:2},[pt]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:xn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:vn,marginInlineStart:xn}}})}};var kt=(0,vt.Z)("InputNumber",zt=>{const pt=(0,et.TS)(zt,(0,se.e5)(zt));return[Pt(pt),Mt(pt),(0,Ye.c)(pt)]},zt=>Object.assign(Object.assign({},(0,se.TM)(zt)),{controlWidth:90,handleWidth:zt.controlHeightSM-zt.lineWidth*2,handleFontSize:zt.fontSize/2,handleVisible:"auto",handleActiveBg:zt.colorFillAlter,handleBg:zt.colorBgContainer,handleHoverColor:zt.colorPrimary,handleBorderColor:zt.colorBorder})),$t=function(zt,pt){var Wt={};for(var vn in zt)Object.prototype.hasOwnProperty.call(zt,vn)&&pt.indexOf(vn)<0&&(Wt[vn]=zt[vn]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,vn=Object.getOwnPropertySymbols(zt);xn{const{getPrefixCls:Wt,direction:vn}=dt.useContext(Bn.E_),xn=dt.useRef(null);dt.useImperativeHandle(pt,()=>xn.current);const{className:Wn,rootClassName:br,size:Lr,disabled:jr,prefixCls:Qr,addonBefore:vr,addonAfter:Ar,prefix:Tr,bordered:Bi=!0,readOnly:$i,status:mi,controls:Mi}=zt,pa=$t(zt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Dr=Wt("input-number",Qr),[_n,no]=kt(Dr),{compactSize:Ki,compactItemClassnames:Co}=(0,ae.ri)(Dr,vn);let ro=dt.createElement(Me.Z,{className:`${Dr}-handler-up-inner`}),Pi=dt.createElement(he.Z,{className:`${Dr}-handler-down-inner`});const Ii=typeof Mi=="boolean"?Mi:void 0;typeof Mi=="object"&&(ro=typeof Mi.upIcon=="undefined"?ro:dt.createElement("span",{className:`${Dr}-handler-up-inner`},Mi.upIcon),Pi=typeof Mi.downIcon=="undefined"?Pi:dt.createElement("span",{className:`${Dr}-handler-down-inner`},Mi.downIcon));const{hasFeedback:Si,status:gi,isFormItemInput:Ea,feedbackIcon:Fn}=dt.useContext(ie.aM),Dt=(0,Cn.F)(gi,mi),Gt=(0,Fe.Z)(qn=>{var pr;return(pr=Lr!=null?Lr:Ki)!==null&&pr!==void 0?pr:qn}),Zt=dt.useContext(Se.Z),jt=jr!=null?jr:Zt,on=At()({[`${Dr}-lg`]:Gt==="large",[`${Dr}-sm`]:Gt==="small",[`${Dr}-rtl`]:vn==="rtl",[`${Dr}-borderless`]:!Bi,[`${Dr}-in-form-item`]:Ea},(0,Cn.Z)(Dr,Dt),Co,no),Mn=`${Dr}-group`,ir=dt.createElement(Ln,Object.assign({ref:xn,disabled:jt,className:At()(Wn,br),upHandler:ro,downHandler:Pi,prefixCls:Dr,readOnly:$i,controls:Ii,prefix:Tr,suffix:Si&&Fn,addonAfter:Ar&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},Ar)),addonBefore:vr&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},vr)),classNames:{input:on},classes:{affixWrapper:At()((0,Cn.Z)(`${Dr}-affix-wrapper`,Dt,Si),{[`${Dr}-affix-wrapper-sm`]:Gt==="small",[`${Dr}-affix-wrapper-lg`]:Gt==="large",[`${Dr}-affix-wrapper-rtl`]:vn==="rtl",[`${Dr}-affix-wrapper-borderless`]:!Bi},no),wrapper:At()({[`${Mn}-rtl`]:vn==="rtl",[`${Dr}-wrapper-disabled`]:jt},no),group:At()({[`${Dr}-group-wrapper-sm`]:Gt==="small",[`${Dr}-group-wrapper-lg`]:Gt==="large",[`${Dr}-group-wrapper-rtl`]:vn==="rtl"},(0,Cn.Z)(`${Dr}-group-wrapper`,Dt,Si),no)}},pa));return _n(ir)}),Bt=Sn,nn=zt=>dt.createElement(gn.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},dt.createElement(Sn,Object.assign({},zt)));Bt._InternalPanelDoNotUseOrYouWillBeFired=nn;var tn=Bt},9432:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Xe},n:function(){return Te}});var he=ce(19248),Me=ce(92310),Ue=ce.n(Me),At=ce(93681),Ne=ce(8654),Le=ce(59301),ve=ce(19080),Ae=ce(36355),we=ce(1684),fe=ce(19716),ze=ce(32441),Be=ce(33234),_e=ce(59412),Oe=ce(9937);function He(Ke){return!!(Ke.prefix||Ke.suffix||Ke.allowClear)}var ke=function(Ke,qe){var We={};for(var Ze in Ke)Object.prototype.hasOwnProperty.call(Ke,Ze)&&qe.indexOf(Ze)<0&&(We[Ze]=Ke[Ze]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ze=Object.getOwnPropertySymbols(Ke);$e{var We;const{prefixCls:Ze,bordered:$e=!0,status:rt,size:ht,disabled:dt,onBlur:xt,onFocus:Je,suffix:Lt,allowClear:Re,addonAfter:Rt,addonBefore:Ft,className:bt,style:Tt,styles:wt,rootClassName:it,onChange:je,classNames:at}=Ke,Yt=ke(Ke,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Vt,direction:St,input:Qt}=Le.useContext(Ae.E_),cn=Vt("input",Ze),Nn=(0,Le.useRef)(null),[fn,Ln]=(0,Oe.ZP)(cn),{compactSize:Cn,compactItemClassnames:Bn}=(0,Be.ri)(cn,St),gn=(0,fe.Z)(Sn=>{var Bt;return(Bt=ht!=null?ht:Cn)!==null&&Bt!==void 0?Bt:Sn}),Se=Le.useContext(we.Z),Fe=dt!=null?dt:Se,{status:ie,hasFeedback:ae,feedbackIcon:se}=(0,Le.useContext)(ze.aM),oe=(0,ve.F)(ie,rt),Ye=He(Ke)||!!ae,vt=(0,Le.useRef)(Ye);(0,Le.useEffect)(()=>{var Sn;Ye&&vt.current,vt.current=Ye},[Ye]);const et=(0,_e.Z)(Nn,!0),lt=Sn=>{et(),xt==null||xt(Sn)},Pt=Sn=>{et(),Je==null||Je(Sn)},Mt=Sn=>{et(),je==null||je(Sn)},kt=(ae||Lt)&&Le.createElement(Le.Fragment,null,Lt,ae&&se);let $t;return typeof Re=="object"&&(Re!=null&&Re.clearIcon)?$t=Re:Re&&($t={clearIcon:Le.createElement(he.Z,null)}),fn(Le.createElement(At.default,Object.assign({ref:(0,Ne.sQ)(qe,Nn),prefixCls:cn,autoComplete:Qt==null?void 0:Qt.autoComplete},Yt,{disabled:Fe,onBlur:lt,onFocus:Pt,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Tt),styles:Object.assign(Object.assign({},Qt==null?void 0:Qt.styles),wt),suffix:kt,allowClear:$t,className:Ue()(bt,it,Bn,Qt==null?void 0:Qt.className),onChange:Mt,addonAfter:Rt&&Le.createElement(Be.BR,null,Le.createElement(ze.Ux,{override:!0,status:!0},Rt)),addonBefore:Ft&&Le.createElement(Be.BR,null,Le.createElement(ze.Ux,{override:!0,status:!0},Ft)),classNames:Object.assign(Object.assign(Object.assign({},at),Qt==null?void 0:Qt.classNames),{input:Ue()({[`${cn}-sm`]:gn==="small",[`${cn}-lg`]:gn==="large",[`${cn}-rtl`]:St==="rtl",[`${cn}-borderless`]:!$e},!Ye&&(0,ve.Z)(cn,oe),at==null?void 0:at.input,(We=Qt==null?void 0:Qt.classNames)===null||We===void 0?void 0:We.input,Ln)}),classes:{affixWrapper:Ue()({[`${cn}-affix-wrapper-sm`]:gn==="small",[`${cn}-affix-wrapper-lg`]:gn==="large",[`${cn}-affix-wrapper-rtl`]:St==="rtl",[`${cn}-affix-wrapper-borderless`]:!$e},(0,ve.Z)(`${cn}-affix-wrapper`,oe,ae),Ln),wrapper:Ue()({[`${cn}-group-rtl`]:St==="rtl"},Ln),group:Ue()({[`${cn}-group-wrapper-sm`]:gn==="small",[`${cn}-group-wrapper-lg`]:gn==="large",[`${cn}-group-wrapper-rtl`]:St==="rtl",[`${cn}-group-wrapper-disabled`]:Fe},(0,ve.Z)(`${cn}-group-wrapper`,oe,ae),Ln)}})))})},1643:function(Tn,Xt,ce){"use strict";var he=ce(19248),Me=ce(92310),Ue=ce.n(Me),At=ce(9296),Ne=ce(59301),Le=ce(19080),ve=ce(36355),Ae=ce(1684),we=ce(19716),fe=ce(32441),ze=ce(9432),Be=ce(9937),_e=function(He,ke){var Te={};for(var Pe in He)Object.prototype.hasOwnProperty.call(He,Pe)&&ke.indexOf(Pe)<0&&(Te[Pe]=He[Pe]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Pe=Object.getOwnPropertySymbols(He);Xe{const{prefixCls:Te,bordered:Pe=!0,size:Xe,disabled:Ke,status:qe,allowClear:We,showCount:Ze,classNames:$e,rootClassName:rt,className:ht}=He,dt=_e(He,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:xt,direction:Je}=Ne.useContext(ve.E_),Lt=(0,we.Z)(Xe),Re=Ne.useContext(Ae.Z),Rt=Ke!=null?Ke:Re,{status:Ft,hasFeedback:bt,feedbackIcon:Tt}=Ne.useContext(fe.aM),wt=(0,Le.F)(Ft,qe),it=Ne.useRef(null);Ne.useImperativeHandle(ke,()=>{var St;return{resizableTextArea:(St=it.current)===null||St===void 0?void 0:St.resizableTextArea,focus:Qt=>{var cn,Nn;(0,ze.n)((Nn=(cn=it.current)===null||cn===void 0?void 0:cn.resizableTextArea)===null||Nn===void 0?void 0:Nn.textArea,Qt)},blur:()=>{var Qt;return(Qt=it.current)===null||Qt===void 0?void 0:Qt.blur()}}});const je=xt("input",Te);let at;typeof We=="object"&&(We!=null&&We.clearIcon)?at=We:We&&(at={clearIcon:Ne.createElement(he.Z,null)});const[Yt,Vt]=(0,Be.ZP)(je);return Yt(Ne.createElement(At.default,Object.assign({},dt,{disabled:Rt,allowClear:at,className:Ue()(ht,rt),classes:{affixWrapper:Ue()(`${je}-textarea-affix-wrapper`,{[`${je}-affix-wrapper-rtl`]:Je==="rtl",[`${je}-affix-wrapper-borderless`]:!Pe,[`${je}-affix-wrapper-sm`]:Lt==="small",[`${je}-affix-wrapper-lg`]:Lt==="large",[`${je}-textarea-show-count`]:Ze},(0,Le.Z)(`${je}-affix-wrapper`,wt),Vt)},classNames:Object.assign(Object.assign({},$e),{textarea:Ue()({[`${je}-borderless`]:!Pe,[`${je}-sm`]:Lt==="small",[`${je}-lg`]:Lt==="large"},(0,Le.Z)(je,wt),Vt,$e==null?void 0:$e.textarea)}),prefixCls:je,suffix:bt&&Ne.createElement("span",{className:`${je}-textarea-suffix`},Tt),showCount:Ze,ref:it})))});Xt.Z=Oe},59412:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});var he=ce(59301);function Me(Ue,At){const Ne=(0,he.useRef)([]),Le=()=>{Ne.current.push(setTimeout(()=>{var ve,Ae,we,fe;!((ve=Ue.current)===null||ve===void 0)&&ve.input&&((Ae=Ue.current)===null||Ae===void 0?void 0:Ae.input.getAttribute("type"))==="password"&&(!((we=Ue.current)===null||we===void 0)&&we.input.hasAttribute("value"))&&((fe=Ue.current)===null||fe===void 0||fe.input.removeAttribute("value"))}))};return(0,he.useEffect)(()=>(At&&Le(),()=>Ne.current.forEach(ve=>{ve&&clearTimeout(ve)})),[]),Le}},92832:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Lt}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(32441),Le=ce(9937),Ae=Re=>{const{getPrefixCls:Rt,direction:Ft}=(0,Ue.useContext)(At.E_),{prefixCls:bt,className:Tt}=Re,wt=Rt("input-group",bt),it=Rt("input"),[je,at]=(0,Le.ZP)(it),Yt=Me()(wt,{[`${wt}-lg`]:Re.size==="large",[`${wt}-sm`]:Re.size==="small",[`${wt}-compact`]:Re.compact,[`${wt}-rtl`]:Ft==="rtl"},at,Tt),Vt=(0,Ue.useContext)(Ne.aM),St=(0,Ue.useMemo)(()=>Object.assign(Object.assign({},Vt),{isFormItemInput:!1}),[Vt]);return je(Ue.createElement("span",{className:Yt,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},Ue.createElement(Ne.aM.Provider,{value:St},Re.children)))},we=ce(9432),fe=ce(73331),ze=ce(15277),Be=ce(2738),_e=ce(8654),Oe=ce(59412),He=function(Re,Rt){var Ft={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);TtRe?Ue.createElement(ze.Z,null):Ue.createElement(fe.Z,null),Te={click:"onClick",hover:"onMouseOver"};var Xe=Ue.forwardRef((Re,Rt)=>{const{visibilityToggle:Ft=!0}=Re,bt=typeof Ft=="object"&&Ft.visible!==void 0,[Tt,wt]=(0,Ue.useState)(()=>bt?Ft.visible:!1),it=(0,Ue.useRef)(null);Ue.useEffect(()=>{bt&&wt(Ft.visible)},[bt,Ft]);const je=(0,Oe.Z)(it),at=()=>{const{disabled:Fe}=Re;Fe||(Tt&&je(),wt(ie=>{var ae;const se=!ie;return typeof Ft=="object"&&((ae=Ft.onVisibleChange)===null||ae===void 0||ae.call(Ft,se)),se}))},Yt=Fe=>{const{action:ie="click",iconRender:ae=ke}=Re,se=Te[ie]||"",oe=ae(Tt),Ye={[se]:at,className:`${Fe}-icon`,key:"passwordIcon",onMouseDown:vt=>{vt.preventDefault()},onMouseUp:vt=>{vt.preventDefault()}};return Ue.cloneElement(Ue.isValidElement(oe)?oe:Ue.createElement("span",null,oe),Ye)},{className:Vt,prefixCls:St,inputPrefixCls:Qt,size:cn}=Re,Nn=He(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:fn}=Ue.useContext(At.E_),Ln=fn("input",Qt),Cn=fn("input-password",St),Bn=Ft&&Yt(Cn),gn=Me()(Cn,Vt,{[`${Cn}-${cn}`]:!!cn}),Se=Object.assign(Object.assign({},(0,Be.Z)(Nn,["suffix","iconRender","visibilityToggle"])),{type:Tt?"text":"password",className:gn,prefixCls:Ln,suffix:Bn});return cn&&(Se.size=cn),Ue.createElement(we.Z,Object.assign({ref:(0,_e.sQ)(Rt,it)},Se))}),Ke=ce(47472),qe=ce(92343),We=ce(3113),Ze=ce(19716),$e=ce(33234),rt=function(Re,Rt){var Ft={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt{const{prefixCls:Ft,inputPrefixCls:bt,className:Tt,size:wt,suffix:it,enterButton:je=!1,addonAfter:at,loading:Yt,disabled:Vt,onSearch:St,onChange:Qt,onCompositionStart:cn,onCompositionEnd:Nn}=Re,fn=rt(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ln,direction:Cn}=Ue.useContext(At.E_),Bn=Ue.useRef(!1),gn=Ln("input-search",Ft),Se=Ln("input",bt),{compactSize:Fe}=(0,$e.ri)(gn,Cn),ie=(0,Ze.Z)(nn=>{var tn;return(tn=wt!=null?wt:Fe)!==null&&tn!==void 0?tn:nn}),ae=Ue.useRef(null),se=nn=>{nn&&nn.target&&nn.type==="click"&&St&&St(nn.target.value,nn,{source:"clear"}),Qt&&Qt(nn)},oe=nn=>{var tn;document.activeElement===((tn=ae.current)===null||tn===void 0?void 0:tn.input)&&nn.preventDefault()},Ye=nn=>{var tn,zt;St&&St((zt=(tn=ae.current)===null||tn===void 0?void 0:tn.input)===null||zt===void 0?void 0:zt.value,nn,{source:"input"})},vt=nn=>{Bn.current||Yt||Ye(nn)},et=typeof je=="boolean"?Ue.createElement(Ke.Z,null):null,lt=`${gn}-button`;let Pt;const Mt=je||{},kt=Mt.type&&Mt.type.__ANT_BUTTON===!0;kt||Mt.type==="button"?Pt=(0,qe.Tm)(Mt,Object.assign({onMouseDown:oe,onClick:nn=>{var tn,zt;(zt=(tn=Mt==null?void 0:Mt.props)===null||tn===void 0?void 0:tn.onClick)===null||zt===void 0||zt.call(tn,nn),Ye(nn)},key:"enterButton"},kt?{className:lt,size:ie}:{})):Pt=Ue.createElement(We.ZP,{className:lt,type:je?"primary":void 0,size:ie,disabled:Vt,key:"enterButton",onMouseDown:oe,onClick:Ye,loading:Yt,icon:et},je),at&&(Pt=[Pt,(0,qe.Tm)(at,{key:"addonAfter"})]);const $t=Me()(gn,{[`${gn}-rtl`]:Cn==="rtl",[`${gn}-${ie}`]:!!ie,[`${gn}-with-button`]:!!je},Tt),Sn=nn=>{Bn.current=!0,cn==null||cn(nn)},Bt=nn=>{Bn.current=!1,Nn==null||Nn(nn)};return Ue.createElement(we.Z,Object.assign({ref:(0,_e.sQ)(ae,Rt),onPressEnter:vt},fn,{size:ie,onCompositionStart:Sn,onCompositionEnd:Bt,prefixCls:Se,addonAfter:Pt,suffix:it,onChange:se,className:$t,disabled:Vt}))}),xt=ce(1643);const Je=we.Z;Je.Group=Ae,Je.Search=dt,Je.TextArea=xt.Z,Je.Password=Xe;var Lt=Je},9937:function(Tn,Xt,ce){"use strict";ce.d(Xt,{M1:function(){return ve},TM:function(){return qe},Xy:function(){return Ae},bi:function(){return ze},e5:function(){return Ke},ik:function(){return Be},nz:function(){return Ne},pU:function(){return Le},s7:function(){return _e},x0:function(){return fe}});var he=ce(17313),Me=ce(74207),Ue=ce(37613),At=ce(83116);const Ne=We=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:We,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Le=We=>({borderColor:We.hoverBorderColor}),ve=We=>({borderColor:We.activeBorderColor,boxShadow:We.activeShadow,outline:0}),Ae=We=>({color:We.colorTextDisabled,backgroundColor:We.colorBgContainerDisabled,borderColor:We.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Le((0,Ue.TS)(We,{hoverBorderColor:We.colorBorder})))}),we=We=>{const{paddingBlockLG:Ze,fontSizeLG:$e,lineHeightLG:rt,borderRadiusLG:ht,paddingInlineLG:dt}=We;return{padding:`${Ze}px ${dt}px`,fontSize:$e,lineHeight:rt,borderRadius:ht}},fe=We=>({padding:`${We.paddingBlockSM}px ${We.paddingInlineSM}px`,borderRadius:We.borderRadiusSM}),ze=(We,Ze)=>{const{componentCls:$e,colorError:rt,colorWarning:ht,errorActiveShadow:dt,warningActiveShadow:xt,colorErrorBorderHover:Je,colorWarningBorderHover:Lt}=We;return{[`&-status-error:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:rt,"&:hover":{borderColor:Je},"&:focus, &-focused":Object.assign({},ve((0,Ue.TS)(We,{activeBorderColor:rt,activeShadow:dt}))),[`${$e}-prefix, ${$e}-suffix`]:{color:rt}},[`&-status-warning:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:ht,"&:hover":{borderColor:Lt},"&:focus, &-focused":Object.assign({},ve((0,Ue.TS)(We,{activeBorderColor:ht,activeShadow:xt}))),[`${$e}-prefix, ${$e}-suffix`]:{color:ht}}}},Be=We=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${We.paddingBlock}px ${We.paddingInline}px`,color:We.colorText,fontSize:We.fontSize,lineHeight:We.lineHeight,backgroundColor:We.colorBgContainer,backgroundImage:"none",borderWidth:We.lineWidth,borderStyle:We.lineType,borderColor:We.colorBorder,borderRadius:We.borderRadius,transition:`all ${We.motionDurationMid}`},Ne(We.colorTextPlaceholder)),{"&:hover":Object.assign({},Le(We)),"&:focus, &-focused":Object.assign({},ve(We)),"&-disabled, &[disabled]":Object.assign({},Ae(We)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:We.controlHeight,lineHeight:We.lineHeight,verticalAlign:"bottom",transition:`all ${We.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},we(We)),"&-sm":Object.assign({},fe(We)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),_e=We=>{const{componentCls:Ze,antCls:$e}=We;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:We.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${Ze}, &-lg > ${Ze}-group-addon`]:Object.assign({},we(We)),[`&-sm ${Ze}, &-sm > ${Ze}-group-addon`]:Object.assign({},fe(We)),[`&-lg ${$e}-select-single ${$e}-select-selector`]:{height:We.controlHeightLG},[`&-sm ${$e}-select-single ${$e}-select-selector`]:{height:We.controlHeightSM},[`> ${Ze}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${Ze}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${We.paddingInline}px`,color:We.colorText,fontWeight:"normal",fontSize:We.fontSize,textAlign:"center",backgroundColor:We.colorFillAlter,border:`${We.lineWidth}px ${We.lineType} ${We.colorBorder}`,borderRadius:We.borderRadius,transition:`all ${We.motionDurationSlow}`,lineHeight:1,[`${$e}-select`]:{margin:`-${We.paddingBlock+1}px -${We.paddingInline}px`,[`&${$e}-select-single:not(${$e}-select-customize-input)`]:{[`${$e}-select-selector`]:{backgroundColor:"inherit",border:`${We.lineWidth}px ${We.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${$e}-select-selector`]:{color:We.colorPrimary}}},[`${$e}-cascader-picker`]:{margin:`-9px -${We.paddingInline}px`,backgroundColor:"transparent",[`${$e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${Ze}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${Ze}-search-with-button &`]:{zIndex:0}}},[`> ${Ze}:first-child, ${Ze}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ze}-affix-wrapper`]:{[`&:not(:first-child) ${Ze}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${Ze}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ze}:last-child, ${Ze}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${Ze}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ze}-search &`]:{borderStartStartRadius:We.borderRadius,borderEndStartRadius:We.borderRadius}},[`&:not(:first-child), ${Ze}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${Ze}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,he.dF)()),{[`${Ze}-group-addon, ${Ze}-group-wrap, > ${Ze}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:We.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${Ze}-affix-wrapper, & > ${Ze}-number-affix-wrapper, & > ${$e}-picker-range `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-We.lineWidth,borderInlineEndWidth:We.lineWidth},[`${Ze}`]:{float:"none"},[`& > ${$e}-select > ${$e}-select-selector, & > ${$e}-select-auto-complete ${Ze}, & > ${$e}-cascader-picker ${Ze}, & > ${Ze}-group-wrapper ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${$e}-select-focused`]:{zIndex:1},[`& > ${$e}-select > ${$e}-select-arrow`]:{zIndex:1},[`& > *:first-child, & > ${$e}-select:first-child > ${$e}-select-selector, & > ${$e}-select-auto-complete:first-child ${Ze}, & > ${$e}-cascader-picker:first-child ${Ze}`]:{borderStartStartRadius:We.borderRadius,borderEndStartRadius:We.borderRadius},[`& > *:last-child, & > ${$e}-select:last-child > ${$e}-select-selector, & > ${$e}-cascader-picker:last-child ${Ze}, & > ${$e}-cascader-picker-focused:last-child ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderStartEndRadius:We.borderRadius,borderEndEndRadius:We.borderRadius},[`& > ${$e}-select-auto-complete ${Ze}`]:{verticalAlign:"top"},[`${Ze}-group-wrapper + ${Ze}-group-wrapper`]:{marginInlineStart:-We.lineWidth,[`${Ze}-affix-wrapper`]:{borderRadius:0}},[`${Ze}-group-wrapper:not(:last-child)`]:{[`&${Ze}-search > ${Ze}-group`]:{[`& > ${Ze}-group-addon > ${Ze}-search-button`]:{borderRadius:0},[`& > ${Ze}`]:{borderStartStartRadius:We.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:We.borderRadius}}}})}},Oe=We=>{const{componentCls:Ze,controlHeightSM:$e,lineWidth:rt}=We,dt=($e-rt*2-16)/2;return{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(We)),Be(We)),ze(We,Ze)),{'&[type="color"]':{height:We.controlHeight,[`&${Ze}-lg`]:{height:We.controlHeightLG},[`&${Ze}-sm`]:{height:$e,paddingTop:dt,paddingBottom:dt}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},He=We=>{const{componentCls:Ze}=We;return{[`${Ze}-clear-icon`]:{margin:0,color:We.colorTextQuaternary,fontSize:We.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${We.motionDurationSlow}`,"&:hover":{color:We.colorTextTertiary},"&:active":{color:We.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${We.inputAffixPadding}px`}}}},ke=We=>{const{componentCls:Ze,inputAffixPadding:$e,colorTextDescription:rt,motionDurationSlow:ht,colorIcon:dt,colorIconHover:xt,iconCls:Je}=We;return{[`${Ze}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Be(We)),{display:"inline-flex",[`&:not(${Ze}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Le(We)),{zIndex:1,[`${Ze}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${Ze}[disabled]`]:{background:"transparent"}},[`> input${Ze}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Ze}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:We.paddingXS}},"&-show-count-suffix":{color:rt},"&-show-count-has-suffix":{marginInlineEnd:We.paddingXXS},"&-prefix":{marginInlineEnd:$e},"&-suffix":{marginInlineStart:$e}}}),He(We)),{[`${Je}${Ze}-password-icon`]:{color:dt,cursor:"pointer",transition:`all ${ht}`,"&:hover":{color:xt}}}),ze(We,`${Ze}-affix-wrapper`))}},Te=We=>{const{componentCls:Ze,colorError:$e,colorWarning:rt,borderRadiusLG:ht,borderRadiusSM:dt}=We;return{[`${Ze}-group`]:Object.assign(Object.assign(Object.assign({},(0,he.Wf)(We)),_e(We)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${Ze}-group-addon`]:{borderRadius:ht,fontSize:We.fontSizeLG}},"&-sm":{[`${Ze}-group-addon`]:{borderRadius:dt}},"&-status-error":{[`${Ze}-group-addon`]:{color:$e,borderColor:$e}},"&-status-warning":{[`${Ze}-group-addon`]:{color:rt,borderColor:rt}},"&-disabled":{[`${Ze}-group-addon`]:Object.assign({},Ae(We))},[`&:not(${Ze}-compact-first-item):not(${Ze}-compact-last-item)${Ze}-compact-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderRadius:0}},[`&:not(${Ze}-compact-last-item)${Ze}-compact-first-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ze}-compact-first-item)${Ze}-compact-last-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Pe=We=>{const{componentCls:Ze,antCls:$e}=We,rt=`${Ze}-search`;return{[rt]:{[`${Ze}`]:{"&:hover, &:focus":{borderColor:We.colorPrimaryHover,[`+ ${Ze}-group-addon ${rt}-button:not(${$e}-btn-primary)`]:{borderInlineStartColor:We.colorPrimaryHover}}},[`${Ze}-affix-wrapper`]:{borderRadius:0},[`${Ze}-lg`]:{lineHeight:We.lineHeightLG-2e-4},[`> ${Ze}-group`]:{[`> ${Ze}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${rt}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:We.borderRadius,borderEndEndRadius:We.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${rt}-button:not(${$e}-btn-primary)`]:{color:We.colorTextDescription,"&:hover":{color:We.colorPrimaryHover},"&:active":{color:We.colorPrimaryActive},[`&${$e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${rt}-button`]:{height:We.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${rt}-button`]:{height:We.controlHeightLG},[`&-small ${rt}-button`]:{height:We.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${Ze}-compact-item`]:{[`&:not(${Ze}-compact-last-item)`]:{[`${Ze}-group-addon`]:{[`${Ze}-search-button`]:{marginInlineEnd:-We.lineWidth,borderRadius:0}}},[`&:not(${Ze}-compact-first-item)`]:{[`${Ze},${Ze}-affix-wrapper`]:{borderRadius:0}},[`> ${Ze}-group-addon ${Ze}-search-button, > ${Ze}, ${Ze}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${Ze}-affix-wrapper-focused`]:{zIndex:2}}}}},Xe=We=>{const{componentCls:Ze,paddingLG:$e}=We,rt=`${Ze}-textarea`;return{[rt]:{position:"relative","&-show-count":{[`> ${Ze}`]:{height:"100%"},[`${Ze}-data-count`]:{position:"absolute",bottom:-We.fontSize*We.lineHeight,insetInlineEnd:0,color:We.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${Ze}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${rt}-has-feedback`]:{[`${Ze}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${Ze}-affix-wrapper`]:{padding:0,[`> textarea${Ze}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${Ze}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Ze}-clear-icon`]:{position:"absolute",insetInlineEnd:We.paddingXS,insetBlockStart:We.paddingXS},[`${rt}-suffix`]:{position:"absolute",top:0,insetInlineEnd:We.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function Ke(We){return(0,Ue.TS)(We,{inputAffixPadding:We.paddingXXS})}const qe=We=>{const{controlHeight:Ze,fontSize:$e,lineHeight:rt,lineWidth:ht,controlHeightSM:dt,controlHeightLG:xt,fontSizeLG:Je,lineHeightLG:Lt,paddingSM:Re,controlPaddingHorizontalSM:Rt,controlPaddingHorizontal:Ft,colorFillAlter:bt,colorPrimaryHover:Tt,controlOutlineWidth:wt,controlOutline:it,colorErrorOutline:je,colorWarningOutline:at}=We;return{paddingBlock:Math.max(Math.round((Ze-$e*rt)/2*10)/10-ht,3),paddingBlockSM:Math.max(Math.round((dt-$e*rt)/2*10)/10-ht,0),paddingBlockLG:Math.ceil((xt-Je*Lt)/2*10)/10-ht,paddingInline:Re-ht,paddingInlineSM:Rt-ht,paddingInlineLG:Ft-ht,addonBg:bt,activeBorderColor:Tt,hoverBorderColor:Tt,activeShadow:`0 0 0 ${wt}px ${it}`,errorActiveShadow:`0 0 0 ${wt}px ${je}`,warningActiveShadow:`0 0 0 ${wt}px ${at}`}};Xt.ZP=(0,At.Z)("Input",We=>{const Ze=(0,Ue.TS)(We,Ke(We));return[Oe(Ze),Xe(Ze),ke(Ze),Te(Ze),Pe(Ze),(0,Me.c)(Ze)]},qe)},45818:function(Tn,Xt,ce){"use strict";ce.d(Xt,{D:function(){return Ke},Z:function(){return Ze}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(rt,ht){return Me.createElement(Ne.Z,(0,he.Z)({},rt,{ref:ht,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(33853),fe=ce(38819),ze=ce(92310),Be=ce.n(ze),_e=ce(2738),He=$e=>!isNaN(parseFloat($e))&&isFinite($e),ke=ce(36355),Te=ce(84966),Pe=function($e,rt){var ht={};for(var dt in $e)Object.prototype.hasOwnProperty.call($e,dt)&&rt.indexOf(dt)<0&&(ht[dt]=$e[dt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,dt=Object.getOwnPropertySymbols($e);xt{let $e=0;return function(){let rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return $e+=1,`${rt}${$e}`}})();var Ze=Me.forwardRef(($e,rt)=>{const{prefixCls:ht,className:dt,trigger:xt,children:Je,defaultCollapsed:Lt=!1,theme:Re="dark",style:Rt={},collapsible:Ft=!1,reverseArrow:bt=!1,width:Tt=200,collapsedWidth:wt=80,zeroWidthTriggerStyle:it,breakpoint:je,onCollapse:at,onBreakpoint:Yt}=$e,Vt=Pe($e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:St}=(0,Me.useContext)(Te.Gs),[Qt,cn]=(0,Me.useState)("collapsed"in $e?$e.collapsed:Lt),[Nn,fn]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{"collapsed"in $e&&cn($e.collapsed)},[$e.collapsed]);const Ln=(ie,ae)=>{"collapsed"in $e||cn(ie),at==null||at(ie,ae)},Cn=(0,Me.useRef)();Cn.current=ie=>{fn(ie.matches),Yt==null||Yt(ie.matches),Qt!==ie.matches&&Ln(ie.matches,"responsive")},(0,Me.useEffect)(()=>{function ie(se){return Cn.current(se)}let ae;if(typeof window!="undefined"){const{matchMedia:se}=window;if(se&&je&&je in Xe){ae=se(`(max-width: ${Xe[je]})`);try{ae.addEventListener("change",ie)}catch(oe){ae.addListener(ie)}ie(ae)}}return()=>{try{ae==null||ae.removeEventListener("change",ie)}catch(se){ae==null||ae.removeListener(ie)}}},[je]),(0,Me.useEffect)(()=>{const ie=qe("ant-sider-");return St.addSider(ie),()=>St.removeSider(ie)},[]);const Bn=()=>{Ln(!Qt,"clickTrigger")},{getPrefixCls:gn}=(0,Me.useContext)(ke.E_),Se=()=>{const ie=gn("layout-sider",ht),ae=(0,_e.Z)(Vt,["collapsed"]),se=Qt?wt:Tt,oe=He(se)?`${se}px`:String(se),Ye=parseFloat(String(wt||0))===0?Me.createElement("span",{onClick:Bn,className:Be()(`${ie}-zero-width-trigger`,`${ie}-zero-width-trigger-${bt?"right":"left"}`),style:it},xt||Me.createElement(Ae,null)):null,lt={expanded:bt?Me.createElement(fe.Z,null):Me.createElement(we.Z,null),collapsed:bt?Me.createElement(we.Z,null):Me.createElement(fe.Z,null)}[Qt?"collapsed":"expanded"],Pt=xt!==null?Ye||Me.createElement("div",{className:`${ie}-trigger`,onClick:Bn,style:{width:oe}},xt||lt):null,Mt=Object.assign(Object.assign({},Rt),{flex:`0 0 ${oe}`,maxWidth:oe,minWidth:oe,width:oe}),kt=Be()(ie,`${ie}-${Re}`,{[`${ie}-collapsed`]:!!Qt,[`${ie}-has-trigger`]:Ft&&xt!==null&&!Ye,[`${ie}-below`]:!!Nn,[`${ie}-zero-width`]:parseFloat(oe)===0},dt);return Me.createElement("aside",Object.assign({className:kt},ae,{style:Mt,ref:rt}),Me.createElement("div",{className:`${ie}-children`},Je),Ft||Nn&&Ye?Pt:null)},Fe=Me.useMemo(()=>({siderCollapsed:Qt}),[Qt]);return Me.createElement(Ke.Provider,{value:Fe},Se())})},84966:function(Tn,Xt,ce){"use strict";ce.d(Xt,{VY:function(){return Ke},$_:function(){return Xe},h4:function(){return Pe},Gs:function(){return _e},ZP:function(){return qe}});var he=ce(77654),Me=ce(92310),Ue=ce.n(Me),At=ce(2738),Ne=ce(59301),Le=ce(36355),ve=ce(83116),we=We=>{const{componentCls:Ze,bodyBg:$e,lightSiderBg:rt,lightTriggerBg:ht,lightTriggerColor:dt}=We;return{[`${Ze}-sider-light`]:{background:rt,[`${Ze}-sider-trigger`]:{color:dt,background:ht},[`${Ze}-sider-zero-width-trigger`]:{color:dt,background:ht,border:`1px solid ${$e}`,borderInlineStart:0}}}};const fe=We=>{const{antCls:Ze,componentCls:$e,colorText:rt,triggerColor:ht,footerBg:dt,triggerBg:xt,headerHeight:Je,headerPadding:Lt,headerColor:Re,footerPadding:Rt,triggerHeight:Ft,zeroTriggerHeight:bt,zeroTriggerWidth:Tt,motionDurationMid:wt,motionDurationSlow:it,fontSize:je,borderRadius:at,bodyBg:Yt,headerBg:Vt,siderBg:St}=We;return{[$e]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Yt,"&, *":{boxSizing:"border-box"},[`&${$e}-has-sider`]:{flexDirection:"row",[`> ${$e}, > ${$e}-content`]:{width:0}},[`${$e}-header, &${$e}-footer`]:{flex:"0 0 auto"},[`${$e}-sider`]:{position:"relative",minWidth:0,background:St,transition:`all ${wt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ze}-menu${Ze}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ft},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ft,color:ht,lineHeight:`${Ft}px`,textAlign:"center",background:xt,cursor:"pointer",transition:`all ${wt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Je,insetInlineEnd:-Tt,zIndex:1,width:Tt,height:bt,color:ht,fontSize:We.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:St,borderStartStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Tt,borderStartStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:at}}}}},we(We)),{"&-rtl":{direction:"rtl"}}),[`${$e}-header`]:{height:Je,padding:Lt,color:Re,lineHeight:`${Je}px`,background:Vt,[`${Ze}-menu`]:{lineHeight:"inherit"}},[`${$e}-footer`]:{padding:Rt,color:rt,fontSize:je,background:dt},[`${$e}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,ve.Z)("Layout",We=>[fe(We)],We=>{const{colorBgLayout:Ze,controlHeight:$e,controlHeightLG:rt,colorText:ht,controlHeightSM:dt,marginXXS:xt,colorTextLightSolid:Je,colorBgContainer:Lt}=We,Re=rt*1.25;return{colorBgHeader:"#001529",colorBgBody:Ze,colorBgTrigger:"#002140",bodyBg:Ze,headerBg:"#001529",headerHeight:$e*2,headerPadding:`0 ${Re}px`,headerColor:ht,footerPadding:`${dt}px ${Re}px`,footerBg:Ze,siderBg:"#001529",triggerHeight:rt+xt*2,triggerBg:"#002140",triggerColor:Je,zeroTriggerWidth:rt,zeroTriggerHeight:rt,lightSiderBg:Lt,lightTriggerBg:Lt,lightTriggerColor:ht}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Be=function(We,Ze){var $e={};for(var rt in We)Object.prototype.hasOwnProperty.call(We,rt)&&Ze.indexOf(rt)<0&&($e[rt]=We[rt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,rt=Object.getOwnPropertySymbols(We);htnull,removeSider:()=>null}});function Oe(We){let{suffixCls:Ze,tagName:$e,displayName:rt}=We;return ht=>Ne.forwardRef((xt,Je)=>Ne.createElement(ht,Object.assign({ref:Je,suffixCls:Ze,tagName:$e},xt)))}const He=Ne.forwardRef((We,Ze)=>{const{prefixCls:$e,suffixCls:rt,className:ht,tagName:dt}=We,xt=Be(We,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Je}=Ne.useContext(Le.E_),Lt=Je("layout",$e),[Re,Rt]=ze(Lt),Ft=rt?`${Lt}-${rt}`:Lt;return Re(Ne.createElement(dt,Object.assign({className:Ue()($e||Ft,ht,Rt),ref:Ze},xt)))}),ke=Ne.forwardRef((We,Ze)=>{const{direction:$e}=Ne.useContext(Le.E_),[rt,ht]=Ne.useState([]),{prefixCls:dt,className:xt,rootClassName:Je,children:Lt,hasSider:Re,tagName:Rt,style:Ft}=We,bt=Be(We,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Tt=(0,At.Z)(bt,["suffixCls"]),{getPrefixCls:wt,layout:it}=Ne.useContext(Le.E_),je=wt("layout",dt),[at,Yt]=ze(je),Vt=Ue()(je,{[`${je}-has-sider`]:typeof Re=="boolean"?Re:rt.length>0,[`${je}-rtl`]:$e==="rtl"},it==null?void 0:it.className,xt,Je,Yt),St=Ne.useMemo(()=>({siderHook:{addSider:Qt=>{ht(cn=>[].concat((0,he.Z)(cn),[Qt]))},removeSider:Qt=>{ht(cn=>cn.filter(Nn=>Nn!==Qt))}}}),[]);return at(Ne.createElement(_e.Provider,{value:St},Ne.createElement(Rt,Object.assign({ref:Ze,className:Vt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Ft)},Tt),Lt)))}),Te=Oe({tagName:"div",displayName:"Layout"})(ke),Pe=Oe({suffixCls:"header",tagName:"header",displayName:"Header"})(He),Xe=Oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(He),Ke=Oe({suffixCls:"content",tagName:"main",displayName:"Content"})(He);var qe=Te},40875:function(Tn,Xt,ce){"use strict";ce.d(Xt,{J:function(){return Le}});var he=ce(59301),Me=ce(33234),Ue=ce(70425),At=function(ve,Ae){var we={};for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&Ae.indexOf(fe)<0&&(we[fe]=ve[fe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,fe=Object.getOwnPropertySymbols(ve);ze{const{children:we}=ve,fe=At(ve,["children"]),ze=he.useContext(Ne),Be=he.useMemo(()=>Object.assign(Object.assign({},ze),fe),[ze,fe.prefixCls,fe.mode,fe.selectable]);return he.createElement(Ne.Provider,{value:Be},he.createElement(Me.BR,null,(0,Ue.supportNodeRef)(we)?he.cloneElement(we,{ref:Ae}):we))});Xt.Z=Ne},20834:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Fe}});var he=ce(15285),Me=ce(59301),Ue=ce(45818),At=ce(92310),Ne=ce.n(At),Le=ce(36355),ve=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,oe=Object.getOwnPropertySymbols(ie);Ye{const{prefixCls:ae,className:se,dashed:oe}=ie,Ye=ve(ie,["prefixCls","className","dashed"]),{getPrefixCls:vt}=Me.useContext(Le.E_),et=vt("menu",ae),lt=Ne()({[`${et}-item-divider-dashed`]:!!oe},se);return Me.createElement(he.iz,Object.assign({className:lt},Ye))},fe=ce(11592),ze=ce(2738),Be=ce(6848),_e=ce(92343),He=(0,Me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Te=ie=>{var ae;const{className:se,children:oe,icon:Ye,title:vt,danger:et}=ie,{prefixCls:lt,firstLevel:Pt,direction:Mt,disableMenuItemTitleTooltip:kt,inlineCollapsed:$t}=Me.useContext(He),Sn=Wt=>{const vn=Me.createElement("span",{className:`${lt}-title-content`},oe);return(!Ye||(0,_e.l$)(oe)&&oe.type==="span")&&oe&&Wt&&Pt&&typeof oe=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},oe.charAt(0)):vn},{siderCollapsed:Bt}=Me.useContext(Ue.D);let nn=vt;typeof vt=="undefined"?nn=Pt?oe:"":vt===!1&&(nn="");const tn={title:nn};!Bt&&!$t&&(tn.title=null,tn.open=!1);const zt=(0,fe.Z)(oe).length;let pt=Me.createElement(he.ck,Object.assign({},(0,ze.Z)(ie,["title","icon","danger"]),{className:Ne()({[`${lt}-item-danger`]:et,[`${lt}-item-only-child`]:(Ye?zt+1:zt)===1},se),title:typeof vt=="string"?vt:void 0}),(0,_e.Tm)(Ye,{className:Ne()((0,_e.l$)(Ye)?(ae=Ye.props)===null||ae===void 0?void 0:ae.className:"",`${lt}-item-icon`)}),Sn($t));return kt||(pt=Me.createElement(Be.Z,Object.assign({},tn,{placement:Mt==="rtl"?"left":"right",overlayClassName:`${lt}-inline-collapsed-tooltip`}),pt)),pt},Xe=ie=>{var ae;const{popupClassName:se,icon:oe,title:Ye,theme:vt}=ie,et=Me.useContext(He),{prefixCls:lt,inlineCollapsed:Pt,theme:Mt}=et,kt=(0,he.Xl)();let $t;if(!oe)$t=Pt&&!kt.length&&Ye&&typeof Ye=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},Ye.charAt(0)):Me.createElement("span",{className:`${lt}-title-content`},Ye);else{const Bt=(0,_e.l$)(Ye)&&Ye.type==="span";$t=Me.createElement(Me.Fragment,null,(0,_e.Tm)(oe,{className:Ne()((0,_e.l$)(oe)?(ae=oe.props)===null||ae===void 0?void 0:ae.className:"",`${lt}-item-icon`)}),Bt?Ye:Me.createElement("span",{className:`${lt}-title-content`},Ye))}const Sn=Me.useMemo(()=>Object.assign(Object.assign({},et),{firstLevel:!1}),[et]);return Me.createElement(He.Provider,{value:Sn},Me.createElement(he.Wd,Object.assign({},(0,ze.Z)(ie,["icon"]),{title:$t,popupClassName:Ne()(lt,se,`${lt}-${vt||Mt}`)})))},Ke=ce(18785),qe=ce(70425),We=ce(62892),Ze=ce(40875),$e=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,oe=Object.getOwnPropertySymbols(ie);Ye{if(ae&&typeof ae=="object"){const oe=ae,{label:Ye,children:vt,key:et,type:lt}=oe,Pt=$e(oe,["label","children","key","type"]),Mt=et!=null?et:`tmp-${se}`;return vt||lt==="group"?lt==="group"?Me.createElement(he.BW,Object.assign({key:Mt},Pt,{title:Ye}),rt(vt)):Me.createElement(Xe,Object.assign({key:Mt},Pt,{title:Ye}),rt(vt)):lt==="divider"?Me.createElement(we,Object.assign({key:Mt},Pt)):Me.createElement(Te,Object.assign({key:Mt},Pt),Ye)}return null}).filter(ae=>ae)}function ht(ie){return Me.useMemo(()=>ie&&rt(ie),[ie])}var dt=ce(64993),xt=ce(17313),Je=ce(8378),Lt=ce(13826),Re=ce(29878),Rt=ce(83116),Ft=ce(37613),Tt=ie=>{const{componentCls:ae,motionDurationSlow:se,horizontalLineHeight:oe,colorSplit:Ye,lineWidth:vt,lineType:et,itemPaddingInline:lt}=ie;return{[`${ae}-horizontal`]:{lineHeight:oe,border:0,borderBottom:`${vt}px ${et} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ae}-item, ${ae}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:lt},[`> ${ae}-item:hover, > ${ae}-item-active, > ${ae}-submenu ${ae}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ae}-item, ${ae}-submenu-title`]:{transition:[`border-color ${se}`,`background ${se}`].join(",")},[`${ae}-submenu-arrow`]:{display:"none"}}}},it=ie=>{let{componentCls:ae,menuArrowOffset:se}=ie;return{[`${ae}-rtl`]:{direction:"rtl"},[`${ae}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ae}-rtl${ae}-vertical, ${ae}-submenu-rtl ${ae}-vertical`]:{[`${ae}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${se})`},"&::after":{transform:`rotate(45deg) translateY(${se})`}}}}};const je=ie=>Object.assign({},(0,xt.oN)(ie));var Yt=(ie,ae)=>{const{componentCls:se,itemColor:oe,itemSelectedColor:Ye,groupTitleColor:vt,itemBg:et,subMenuItemBg:lt,itemSelectedBg:Pt,activeBarHeight:Mt,activeBarWidth:kt,activeBarBorderWidth:$t,motionDurationSlow:Sn,motionEaseInOut:Bt,motionEaseOut:nn,itemPaddingInline:tn,motionDurationMid:zt,itemHoverColor:pt,lineType:Wt,colorSplit:vn,itemDisabledColor:xn,dangerItemColor:Wn,dangerItemHoverColor:br,dangerItemSelectedColor:Lr,dangerItemActiveBg:jr,dangerItemSelectedBg:Qr,itemHoverBg:vr,itemActiveBg:Ar,menuSubMenuBg:Tr,horizontalItemSelectedColor:Bi,horizontalItemSelectedBg:$i,horizontalItemBorderRadius:mi,horizontalItemHoverBg:Mi,popupBg:pa}=ie;return{[`${se}-${ae}, ${se}-${ae} > ${se}`]:{color:oe,background:et,[`&${se}-root:focus-visible`]:Object.assign({},je(ie)),[`${se}-item-group-title`]:{color:vt},[`${se}-submenu-selected`]:{[`> ${se}-submenu-title`]:{color:Ye}},[`${se}-item-disabled, ${se}-submenu-disabled`]:{color:`${xn} !important`},[`${se}-item:not(${se}-item-selected):not(${se}-submenu-selected)`]:{[`&:hover, > ${se}-submenu-title:hover`]:{color:pt}},[`&:not(${se}-horizontal)`]:{[`${se}-item:not(${se}-item-selected)`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:Ar}},[`${se}-submenu-title`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:Ar}}},[`${se}-item-danger`]:{color:Wn,[`&${se}-item:hover`]:{[`&:not(${se}-item-selected):not(${se}-submenu-selected)`]:{color:br}},[`&${se}-item:active`]:{background:jr}},[`${se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${se}-item-selected`]:{color:Ye,[`&${se}-item-danger`]:{color:Lr},"a, a:hover":{color:"inherit"}},[`& ${se}-item-selected`]:{backgroundColor:Pt,[`&${se}-item-danger`]:{backgroundColor:Qr}},[`${se}-item, ${se}-submenu-title`]:{[`&:not(${se}-item-disabled):focus-visible`]:Object.assign({},je(ie))},[`&${se}-submenu > ${se}`]:{backgroundColor:Tr},[`&${se}-popup > ${se}`]:{backgroundColor:pa},[`&${se}-horizontal`]:Object.assign(Object.assign({},ae==="dark"?{borderBottom:0}:{}),{[`> ${se}-item, > ${se}-submenu`]:{top:$t,marginTop:-$t,marginBottom:0,borderRadius:mi,"&::after":{position:"absolute",insetInline:tn,bottom:0,borderBottom:`${Mt}px solid transparent`,transition:`border-color ${Sn} ${Bt}`,content:'""'},"&:hover, &-active, &-open":{background:Mi,"&::after":{borderBottomWidth:Mt,borderBottomColor:Bi}},"&-selected":{color:Bi,backgroundColor:$i,"&:hover":{backgroundColor:$i},"&::after":{borderBottomWidth:Mt,borderBottomColor:Bi}}}}),[`&${se}-root`]:{[`&${se}-inline, &${se}-vertical`]:{borderInlineEnd:`${$t}px ${Wt} ${vn}`}},[`&${se}-inline`]:{[`${se}-sub${se}-inline`]:{background:lt},[`${se}-item, ${se}-submenu-title`]:$t&&kt?{width:`calc(100% + ${$t}px)`}:{},[`${se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${kt}px solid ${Ye}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${zt} ${nn}`,`opacity ${zt} ${nn}`].join(","),content:'""'},[`&${se}-item-danger`]:{"&::after":{borderInlineEndColor:Lr}}},[`${se}-selected, ${se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${zt} ${Bt}`,`opacity ${zt} ${Bt}`].join(",")}}}}}};const Vt=ie=>{const{componentCls:ae,itemHeight:se,itemMarginInline:oe,padding:Ye,menuArrowSize:vt,marginXS:et,itemMarginBlock:lt}=ie,Pt=Ye+vt+et;return{[`${ae}-item`]:{position:"relative",overflow:"hidden"},[`${ae}-item, ${ae}-submenu-title`]:{height:se,lineHeight:`${se}px`,paddingInline:Ye,overflow:"hidden",textOverflow:"ellipsis",marginInline:oe,marginBlock:lt,width:`calc(100% - ${oe*2}px)`},[`> ${ae}-item, > ${ae}-submenu > ${ae}-submenu-title`]:{height:se,lineHeight:`${se}px`},[`${ae}-item-group-list ${ae}-submenu-title, ${ae}-submenu-title`]:{paddingInlineEnd:Pt}}};var Qt=ie=>{const{componentCls:ae,iconCls:se,itemHeight:oe,colorTextLightSolid:Ye,dropdownWidth:vt,controlHeightLG:et,motionDurationMid:lt,motionEaseOut:Pt,paddingXL:Mt,itemMarginInline:kt,fontSizeLG:$t,motionDurationSlow:Sn,paddingXS:Bt,boxShadowSecondary:nn,collapsedWidth:tn,collapsedIconSize:zt}=ie,pt={height:oe,lineHeight:`${oe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ae]:{"&-inline, &-vertical":Object.assign({[`&${ae}-root`]:{boxShadow:"none"}},Vt(ie))},[`${ae}-submenu-popup`]:{[`${ae}-vertical`]:Object.assign(Object.assign({},Vt(ie)),{boxShadow:nn})}},{[`${ae}-submenu-popup ${ae}-vertical${ae}-sub`]:{minWidth:vt,maxHeight:`calc(100vh - ${et*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ae}-inline`]:{width:"100%",[`&${ae}-root`]:{[`${ae}-item, ${ae}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Sn}`,`background ${Sn}`,`padding ${lt} ${Pt}`].join(","),[`> ${ae}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ae}-sub${ae}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ae}-submenu > ${ae}-submenu-title`]:pt,[`& ${ae}-item-group-title`]:{paddingInlineStart:Mt}},[`${ae}-item`]:pt}},{[`${ae}-inline-collapsed`]:{width:tn,[`&${ae}-root`]:{[`${ae}-item, ${ae}-submenu ${ae}-submenu-title`]:{[`> ${ae}-inline-collapsed-noicon`]:{fontSize:$t,textAlign:"center"}}},[`> ${ae}-item, > ${ae}-item-group > ${ae}-item-group-list > ${ae}-item, > ${ae}-item-group > ${ae}-item-group-list > ${ae}-submenu > ${ae}-submenu-title, > ${ae}-submenu > ${ae}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${$t/2}px - ${kt}px)`,textOverflow:"clip",[` ${ae}-submenu-arrow, ${ae}-submenu-expand-icon `]:{opacity:0},[`${ae}-item-icon, ${se}`]:{margin:0,fontSize:zt,lineHeight:`${oe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ae}-item-icon, ${se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ae}-item-icon, ${se}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${ae}-item-group-title`]:Object.assign(Object.assign({},xt.vS),{paddingInline:Bt})}}]};const cn=ie=>{const{componentCls:ae,motionDurationSlow:se,motionDurationMid:oe,motionEaseInOut:Ye,motionEaseOut:vt,iconCls:et,iconSize:lt,iconMarginInlineEnd:Pt}=ie;return{[`${ae}-item, ${ae}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${se}`,`background ${se}`,`padding ${se} ${Ye}`].join(","),[`${ae}-item-icon, ${et}`]:{minWidth:lt,fontSize:lt,transition:[`font-size ${oe} ${vt}`,`margin ${se} ${Ye}`,`color ${se}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${se} ${Ye}`,`margin ${se}`,`color ${se}`].join(",")}},[`${ae}-item-icon`]:Object.assign({},(0,xt.Ro)()),[`&${ae}-item-only-child`]:{[`> ${et}, > ${ae}-item-icon`]:{marginInlineEnd:0}}},[`${ae}-item-disabled, ${ae}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ae}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Nn=ie=>{const{componentCls:ae,motionDurationSlow:se,motionEaseInOut:oe,borderRadius:Ye,menuArrowSize:vt,menuArrowOffset:et}=ie;return{[`${ae}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ie.margin,width:vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${se} ${oe}, opacity ${se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:vt*.6,height:vt*.15,backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${se} ${oe}`,`transform ${se} ${oe}`,`top ${se} ${oe}`,`color ${se} ${oe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${et})`},"&::after":{transform:`rotate(-45deg) translateY(${et})`}}}}},fn=ie=>{const{antCls:ae,componentCls:se,fontSize:oe,motionDurationSlow:Ye,motionDurationMid:vt,motionEaseInOut:et,paddingXS:lt,padding:Pt,colorSplit:Mt,lineWidth:kt,zIndexPopup:$t,borderRadiusLG:Sn,subMenuItemBorderRadius:Bt,menuArrowSize:nn,menuArrowOffset:tn,lineType:zt,menuPanelMaskInset:pt,groupTitleLineHeight:Wt,groupTitleFontSize:vn}=ie;return[{"":{[`${se}`]:Object.assign(Object.assign({},(0,xt.dF)()),{"&-hidden":{display:"none"}})},[`${se}-submenu-hidden`]:{display:"none"}},{[se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xt.Wf)(ie)),(0,xt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:oe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ye} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${se}-item`]:{flex:"none"}},[`${se}-item, ${se}-submenu, ${se}-submenu-title`]:{borderRadius:ie.itemBorderRadius},[`${se}-item-group-title`]:{padding:`${lt}px ${Pt}px`,fontSize:vn,lineHeight:Wt,transition:`all ${Ye}`},[`&-horizontal ${se}-submenu`]:{transition:[`border-color ${Ye} ${et}`,`background ${Ye} ${et}`].join(",")},[`${se}-submenu, ${se}-submenu-inline`]:{transition:[`border-color ${Ye} ${et}`,`background ${Ye} ${et}`,`padding ${vt} ${et}`].join(",")},[`${se}-submenu ${se}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${et}`,`padding ${Ye} ${et}`].join(",")},[`${se}-title-content`]:{transition:`color ${Ye}`},[`${se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Mt,borderStyle:zt,borderWidth:0,borderTopWidth:kt,marginBlock:kt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),cn(ie)),{[`${se}-item-group`]:{[`${se}-item-group-list`]:{margin:0,padding:0,[`${se}-item, ${se}-submenu-title`]:{paddingInline:`${oe*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$t,borderRadius:Sn,boxShadow:"none",transformOrigin:"0 0",[`&${se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${pt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:pt},"\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},[`> ${se}`]:Object.assign(Object.assign(Object.assign({borderRadius:Sn},cn(ie)),Nn(ie)),{[`${se}-item, ${se}-submenu > ${se}-submenu-title`]:{borderRadius:Bt},[`${se}-submenu-title::after`]:{transition:`transform ${Ye} ${et}`}})}}),Nn(ie)),{[`&-inline-collapsed ${se}-submenu-arrow, &-inline ${se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${tn})`},"&::after":{transform:`rotate(45deg) translateX(-${tn})`}},[`${se}-submenu-open${se}-submenu-inline > ${se}-submenu-title > ${se}-submenu-arrow`]:{transform:`translateY(-${nn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${tn})`},"&::before":{transform:`rotate(45deg) translateX(${tn})`}}})},{[`${ae}-layout-header`]:{[se]:{lineHeight:"inherit"}}}]};var Ln=(ie,ae)=>(0,Rt.Z)("Menu",oe=>{if(ae===!1)return[];const{colorBgElevated:Ye,colorPrimary:vt,colorTextLightSolid:et,controlHeightLG:lt,fontSize:Pt,darkItemColor:Mt,darkDangerItemColor:kt,darkItemBg:$t,darkSubMenuItemBg:Sn,darkItemSelectedColor:Bt,darkItemSelectedBg:nn,darkDangerItemSelectedBg:tn,darkItemHoverBg:zt,darkGroupTitleColor:pt,darkItemHoverColor:Wt,darkItemDisabledColor:vn,darkDangerItemHoverColor:xn,darkDangerItemSelectedColor:Wn,darkDangerItemActiveBg:br}=oe,Lr=Pt/7*5,jr=(0,Ft.TS)(oe,{menuArrowSize:Lr,menuHorizontalHeight:lt*1.15,menuArrowOffset:`${Lr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ye}),Qr=(0,Ft.TS)(jr,{itemColor:Mt,itemHoverColor:Wt,groupTitleColor:pt,itemSelectedColor:Bt,itemBg:$t,popupBg:$t,subMenuItemBg:Sn,itemActiveBg:"transparent",itemSelectedBg:nn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:zt,itemDisabledColor:vn,dangerItemColor:kt,dangerItemHoverColor:xn,dangerItemSelectedColor:Wn,dangerItemActiveBg:br,dangerItemSelectedBg:tn,menuSubMenuBg:Sn,horizontalItemSelectedColor:et,horizontalItemSelectedBg:vt});return[fn(jr),Tt(jr),Qt(jr),Yt(jr,"light"),Yt(Qr,"dark"),it(jr),(0,Je.Z)(jr),(0,Lt.oN)(jr,"slide-up"),(0,Lt.oN)(jr,"slide-down"),(0,Re._y)(jr,"zoom-big")]},oe=>{const{colorPrimary:Ye,colorError:vt,colorTextDisabled:et,colorErrorBg:lt,colorText:Pt,colorTextDescription:Mt,colorBgContainer:kt,colorFillAlter:$t,colorFillContent:Sn,lineWidth:Bt,lineWidthBold:nn,controlItemBgActive:tn,colorBgTextHover:zt,controlHeightLG:pt,lineHeight:Wt,colorBgElevated:vn,marginXXS:xn,padding:Wn,fontSize:br,controlHeightSM:Lr,fontSizeLG:jr,colorTextLightSolid:Qr,colorErrorHover:vr}=oe,Ar=new dt.C(Qr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:oe.zIndexPopupBase+50,radiusItem:oe.borderRadiusLG,itemBorderRadius:oe.borderRadiusLG,radiusSubMenuItem:oe.borderRadiusSM,subMenuItemBorderRadius:oe.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:Ye,horizontalItemHoverColor:Ye,colorGroupTitle:Mt,groupTitleColor:Mt,colorItemTextSelected:Ye,itemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:kt,itemBg:kt,colorItemBgHover:zt,itemHoverBg:zt,colorItemBgActive:Sn,itemActiveBg:tn,colorSubItemBg:$t,subMenuItemBg:$t,colorItemBgSelected:tn,itemSelectedBg:tn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:nn,activeBarHeight:nn,colorActiveBarBorderSize:Bt,activeBarBorderWidth:Bt,colorItemTextDisabled:et,itemDisabledColor:et,colorDangerItemText:vt,dangerItemColor:vt,colorDangerItemTextHover:vt,dangerItemHoverColor:vt,colorDangerItemTextSelected:vt,dangerItemSelectedColor:vt,colorDangerItemBgActive:lt,dangerItemActiveBg:lt,colorDangerItemBgSelected:lt,dangerItemSelectedBg:lt,itemMarginInline:oe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:pt,groupTitleLineHeight:Wt,collapsedWidth:pt*2,popupBg:vn,itemMarginBlock:xn,itemPaddingInline:Wn,horizontalLineHeight:`${pt*1.15}px`,iconSize:br,iconMarginInlineEnd:Lr-br,collapsedIconSize:jr,groupTitleFontSize:br,darkItemDisabledColor:new dt.C(Qr).setAlpha(.25).toRgbString(),darkItemColor:Ar,darkDangerItemColor:vt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Qr,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:vt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ar,darkItemHoverColor:Qr,darkDangerItemHoverColor:vr,darkDangerItemSelectedColor:Qr,darkDangerItemActiveBg:vt}},{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),Cn=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,oe=Object.getOwnPropertySymbols(ie);Ye{var se,oe;const Ye=Me.useContext(Ze.Z),vt=Ye||{},{getPrefixCls:et,getPopupContainer:lt,direction:Pt,menu:Mt}=Me.useContext(Le.E_),kt=et(),{prefixCls:$t,className:Sn,style:Bt,theme:nn="light",expandIcon:tn,_internalDisableMenuItemTitleTooltip:zt,inlineCollapsed:pt,siderCollapsed:Wt,items:vn,children:xn,rootClassName:Wn,mode:br,selectable:Lr,onClick:jr,overflowedIndicatorPopupClassName:Qr}=ie,vr=Cn(ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ar=(0,ze.Z)(vr,["collapsedWidth"]),Tr=ht(vn)||xn;(se=vt.validator)===null||se===void 0||se.call(vt,{mode:br});const Bi=(0,qe.useEvent)(function(){var Pi;jr==null||jr.apply(void 0,arguments),(Pi=vt.onClick)===null||Pi===void 0||Pi.call(vt)}),$i=vt.mode||br,mi=Lr!=null?Lr:vt.selectable,Mi=Me.useMemo(()=>Wt!==void 0?Wt:pt,[pt,Wt]),pa={horizontal:{motionName:`${kt}-slide-up`},inline:(0,We.Z)(kt),other:{motionName:`${kt}-zoom-big`}},Dr=et("menu",$t||vt.prefixCls),[_n,no]=Ln(Dr,!Ye),Ki=Ne()(`${Dr}-${nn}`,Mt==null?void 0:Mt.className,Sn);let Co;if(typeof tn=="function")Co=tn;else if(tn===null||tn===!1)Co=null;else if(vt.expandIcon===null||vt.expandIcon===!1)Co=null;else{const Pi=tn!=null?tn:vt.expandIcon;Co=(0,_e.Tm)(Pi,{className:Ne()(`${Dr}-submenu-expand-icon`,(0,_e.l$)(Pi)?(oe=Pi.props)===null||oe===void 0?void 0:oe.className:"")})}const ro=Me.useMemo(()=>({prefixCls:Dr,inlineCollapsed:Mi||!1,direction:Pt,firstLevel:!0,theme:nn,mode:$i,disableMenuItemTitleTooltip:zt}),[Dr,Mi,Pt,zt,nn]);return _n(Me.createElement(Ze.Z.Provider,{value:null},Me.createElement(He.Provider,{value:ro},Me.createElement(he.ZP,Object.assign({getPopupContainer:lt,overflowedIndicator:Me.createElement(Ke.Z,null),overflowedIndicatorPopupClassName:Ne()(Dr,`${Dr}-${nn}`,Qr),mode:$i,selectable:mi,onClick:Bi},Ar,{inlineCollapsed:Mi,style:Object.assign(Object.assign({},Mt==null?void 0:Mt.style),Bt),className:Ki,prefixCls:Dr,direction:Pt,defaultMotions:pa,expandIcon:Co,ref:ae,rootClassName:Ne()(Wn,no)}),Tr))))});const Se=(0,Me.forwardRef)((ie,ae)=>{const se=(0,Me.useRef)(null),oe=Me.useContext(Ue.D);return(0,Me.useImperativeHandle)(ae,()=>({menu:se.current,focus:Ye=>{var vt;(vt=se.current)===null||vt===void 0||vt.focus(Ye)}})),Me.createElement(gn,Object.assign({ref:se},ie,oe))});Se.Item=Te,Se.SubMenu=Xe,Se.Divider=we,Se.ItemGroup=he.BW;var Fe=Se},58421:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return vt}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(lt,Pt){return Me.createElement(Ne.Z,(0,he.Z)({},lt,{ref:Pt,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(49198),fe=ce(33853),ze=ce(38819),Be=ce(92310),_e=ce.n(Be),Oe=ce(18642),He=ce(85899),ke=ce(38705),Te=ce(17212),Pe=ce(39153),Xe=ce(55401),Ke=ce(26112),qe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},We=qe,Ze=ce(91735),$e=function(et){(0,Pe.Z)(Pt,et);var lt=(0,Xe.Z)(Pt);function Pt(){var Mt;(0,ke.Z)(this,Pt);for(var kt=arguments.length,$t=new Array(kt),Sn=0;Sn=0||Bt.relatedTarget.className.indexOf("".concat(pt,"-item"))>=0))&&zt(Mt.getValidValue()))},Mt.go=function(Bt){var nn=Mt.state.goInputText;nn!==""&&(Bt.keyCode===We.ENTER||Bt.type==="click")&&(Mt.setState({goInputText:""}),Mt.props.quickGo(Mt.getValidValue()))},Mt}return(0,Te.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var kt=this.props,$t=kt.pageSize,Sn=kt.pageSizeOptions;return Sn.some(function(Bt){return Bt.toString()===$t.toString()})?Sn:Sn.concat([$t.toString()]).sort(function(Bt,nn){var tn=Number.isNaN(Number(Bt))?0:Number(Bt),zt=Number.isNaN(Number(nn))?0:Number(nn);return tn-zt})}},{key:"render",value:function(){var kt=this,$t=this.props,Sn=$t.pageSize,Bt=$t.locale,nn=$t.rootPrefixCls,tn=$t.changeSize,zt=$t.quickGo,pt=$t.goButton,Wt=$t.selectComponentClass,vn=$t.buildOptionText,xn=$t.selectPrefixCls,Wn=$t.disabled,br=this.state.goInputText,Lr="".concat(nn,"-options"),jr=Wt,Qr=null,vr=null,Ar=null;if(!tn&&!zt)return null;var Tr=this.getPageSizeOptions();if(tn&&jr){var Bi=Tr.map(function($i,mi){return Me.createElement(jr.Option,{key:mi,value:$i.toString()},(vn||kt.buildOptionText)($i))});Qr=Me.createElement(jr,{disabled:Wn,prefixCls:xn,showSearch:!1,className:"".concat(Lr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Sn||Tr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(mi){return mi.parentNode},"aria-label":Bt.page_size,defaultOpen:!1},Bi)}return zt&&(pt&&(Ar=typeof pt=="boolean"?Me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Wn,className:"".concat(Lr,"-quick-jumper-button")},Bt.jump_to_confirm):Me.createElement("span",{onClick:this.go,onKeyUp:this.go},pt)),vr=Me.createElement("div",{className:"".concat(Lr,"-quick-jumper")},Bt.jump_to,Me.createElement("input",{disabled:Wn,type:"text",value:br,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Bt.page}),Bt.page,Ar)),Me.createElement("li",{className:"".concat(Lr)},Qr,vr)}}]),Pt}(Me.Component);$e.defaultProps={pageSizeOptions:["10","20","50","100"]};var rt=$e,ht=function(lt){var Pt,Mt=lt.rootPrefixCls,kt=lt.page,$t=lt.active,Sn=lt.className,Bt=lt.showTitle,nn=lt.onClick,tn=lt.onKeyPress,zt=lt.itemRender,pt="".concat(Mt,"-item"),Wt=_e()(pt,"".concat(pt,"-").concat(kt),(Pt={},(0,Oe.Z)(Pt,"".concat(pt,"-active"),$t),(0,Oe.Z)(Pt,"".concat(pt,"-disabled"),!kt),(0,Oe.Z)(Pt,lt.className,Sn),Pt)),vn=function(){nn(kt)},xn=function(Lr){tn(Lr,nn,kt)},Wn=zt(kt,"page",Me.createElement("a",{rel:"nofollow"},kt));return Wn?Me.createElement("li",{title:Bt?kt.toString():null,className:Wt,onClick:vn,onKeyPress:xn,tabIndex:0},Wn):null},dt=ht;function xt(){}function Je(et){var lt=Number(et);return typeof lt=="number"&&!Number.isNaN(lt)&&isFinite(lt)&&Math.floor(lt)===lt}var Lt=function(lt,Pt,Mt){return Mt};function Re(et,lt,Pt){var Mt=typeof et=="undefined"?lt.pageSize:et;return Math.floor((Pt.total-1)/Mt)+1}var Rt=function(et){(0,Pe.Z)(Pt,et);var lt=(0,Xe.Z)(Pt);function Pt(Mt){var kt;(0,ke.Z)(this,Pt),kt=lt.call(this,Mt),kt.paginationNode=Me.createRef(),kt.getJumpPrevPage=function(){return Math.max(1,kt.state.current-(kt.props.showLessItems?3:5))},kt.getJumpNextPage=function(){return Math.min(Re(void 0,kt.state,kt.props),kt.state.current+(kt.props.showLessItems?3:5))},kt.getItemIcon=function(tn,zt){var pt=kt.props.prefixCls,Wt=tn||Me.createElement("button",{type:"button","aria-label":zt,className:"".concat(pt,"-item-link")});return typeof tn=="function"&&(Wt=Me.createElement(tn,(0,He.Z)({},kt.props))),Wt},kt.isValid=function(tn){var zt=kt.props.total;return Je(tn)&&tn!==kt.state.current&&Je(zt)&&zt>0},kt.shouldDisplayQuickJumper=function(){var tn=kt.props,zt=tn.showQuickJumper,pt=tn.total,Wt=kt.state.pageSize;return pt<=Wt?!1:zt},kt.handleKeyDown=function(tn){(tn.keyCode===We.ARROW_UP||tn.keyCode===We.ARROW_DOWN)&&tn.preventDefault()},kt.handleKeyUp=function(tn){var zt=kt.getValidValue(tn),pt=kt.state.currentInputValue;zt!==pt&&kt.setState({currentInputValue:zt}),tn.keyCode===We.ENTER?kt.handleChange(zt):tn.keyCode===We.ARROW_UP?kt.handleChange(zt-1):tn.keyCode===We.ARROW_DOWN&&kt.handleChange(zt+1)},kt.handleBlur=function(tn){var zt=kt.getValidValue(tn);kt.handleChange(zt)},kt.changePageSize=function(tn){var zt=kt.state.current,pt=Re(tn,kt.state,kt.props);zt=zt>pt?pt:zt,pt===0&&(zt=kt.state.current),typeof tn=="number"&&("pageSize"in kt.props||kt.setState({pageSize:tn}),"current"in kt.props||kt.setState({current:zt,currentInputValue:zt})),kt.props.onShowSizeChange(zt,tn),"onChange"in kt.props&&kt.props.onChange&&kt.props.onChange(zt,tn)},kt.handleChange=function(tn){var zt=kt.props,pt=zt.disabled,Wt=zt.onChange,vn=kt.state,xn=vn.pageSize,Wn=vn.current,br=vn.currentInputValue;if(kt.isValid(tn)&&!pt){var Lr=Re(void 0,kt.state,kt.props),jr=tn;return tn>Lr?jr=Lr:tn<1&&(jr=1),"current"in kt.props||kt.setState({current:jr}),jr!==br&&kt.setState({currentInputValue:jr}),Wt(jr,xn),jr}return Wn},kt.prev=function(){kt.hasPrev()&&kt.handleChange(kt.state.current-1)},kt.next=function(){kt.hasNext()&&kt.handleChange(kt.state.current+1)},kt.jumpPrev=function(){kt.handleChange(kt.getJumpPrevPage())},kt.jumpNext=function(){kt.handleChange(kt.getJumpNextPage())},kt.hasPrev=function(){return kt.state.current>1},kt.hasNext=function(){return kt.state.current2?pt-2:0),vn=2;vn=Sn?nn=Sn:nn=Number($t),nn}},{key:"getShowSizeChanger",value:function(){var kt=this.props,$t=kt.showSizeChanger,Sn=kt.total,Bt=kt.totalBoundaryShowSizeChanger;return typeof $t!="undefined"?$t:Sn>Bt}},{key:"render",value:function(){var kt=this.props,$t=kt.prefixCls,Sn=kt.className,Bt=kt.style,nn=kt.disabled,tn=kt.hideOnSinglePage,zt=kt.total,pt=kt.locale,Wt=kt.showQuickJumper,vn=kt.showLessItems,xn=kt.showTitle,Wn=kt.showTotal,br=kt.simple,Lr=kt.itemRender,jr=kt.showPrevNextJumpers,Qr=kt.jumpPrevIcon,vr=kt.jumpNextIcon,Ar=kt.selectComponentClass,Tr=kt.selectPrefixCls,Bi=kt.pageSizeOptions,$i=this.state,mi=$i.current,Mi=$i.pageSize,pa=$i.currentInputValue;if(tn===!0&&zt<=Mi)return null;var Dr=Re(void 0,this.state,this.props),_n=[],no=null,Ki=null,Co=null,ro=null,Pi=null,Ii=Wt&&Wt.goButton,Si=vn?1:2,gi=mi-1>0?mi-1:0,Ea=mi+1zt?zt:mi*Mi]));if(br){Ii&&(typeof Ii=="boolean"?Pi=Me.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pt.jump_to_confirm):Pi=Me.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ii),Pi=Me.createElement("li",{title:xn?"".concat(pt.jump_to).concat(mi,"/").concat(Dr):null,className:"".concat($t,"-simple-pager")},Pi));var Gt=this.renderPrev(gi);return Me.createElement("ul",(0,he.Z)({className:_e()($t,"".concat($t,"-simple"),(0,Oe.Z)({},"".concat($t,"-disabled"),nn),Sn),style:Bt,ref:this.paginationNode},Fn),Dt,Gt?Me.createElement("li",{title:xn?pt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Oe.Z)({},"".concat($t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Gt):null,Me.createElement("li",{title:xn?"".concat(mi,"/").concat(Dr):null,className:"".concat($t,"-simple-pager")},Me.createElement("input",{type:"text",value:pa,disabled:nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Me.createElement("span",{className:"".concat($t,"-slash")},"/"),Dr),Me.createElement("li",{title:xn?pt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Oe.Z)({},"".concat($t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ea)),Pi)}if(Dr<=3+Si*2){var Zt={locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:xn,itemRender:Lr};Dr||_n.push(Me.createElement(dt,(0,he.Z)({},Zt,{key:"noPager",page:1,className:"".concat($t,"-item-disabled")})));for(var jt=1;jt<=Dr;jt+=1){var on=mi===jt;_n.push(Me.createElement(dt,(0,he.Z)({},Zt,{key:jt,page:jt,active:on})))}}else{var Mn=vn?pt.prev_3:pt.prev_5,ir=vn?pt.next_3:pt.next_5,qn=Lr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Qr,"prev page")),pr=Lr(this.getJumpNextPage(),"jump-next",this.getItemIcon(vr,"next page"));jr&&(no=qn?Me.createElement("li",{title:xn?Mn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:_e()("".concat($t,"-jump-prev"),(0,Oe.Z)({},"".concat($t,"-jump-prev-custom-icon"),!!Qr))},qn):null,Ki=pr?Me.createElement("li",{title:xn?ir:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:_e()("".concat($t,"-jump-next"),(0,Oe.Z)({},"".concat($t,"-jump-next-custom-icon"),!!vr))},pr):null),ro=Me.createElement(dt,{locale:pt,last:!0,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Dr,page:Dr,active:!1,showTitle:xn,itemRender:Lr}),Co=Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:xn,itemRender:Lr});var Gr=Math.max(1,mi-Si),Zr=Math.min(mi+Si,Dr);mi-1<=Si&&(Zr=1+Si*2),Dr-mi<=Si&&(Gr=Dr-Si*2);for(var $r=Gr;$r<=Zr;$r+=1){var Xn=mi===$r;_n.push(Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$r,page:$r,active:Xn,showTitle:xn,itemRender:Lr}))}mi-1>=Si*2&&mi!==3&&(_n[0]=(0,Me.cloneElement)(_n[0],{className:"".concat($t,"-item-after-jump-prev")}),_n.unshift(no)),Dr-mi>=Si*2&&mi!==Dr-2&&(_n[_n.length-1]=(0,Me.cloneElement)(_n[_n.length-1],{className:"".concat($t,"-item-before-jump-next")}),_n.push(Ki)),Gr!==1&&_n.unshift(Co),Zr!==Dr&&_n.push(ro)}var Or=!this.hasPrev()||!Dr,ki=!this.hasNext()||!Dr,vi=this.renderPrev(gi),Zi=this.renderNext(Ea);return Me.createElement("ul",(0,he.Z)({className:_e()($t,Sn,(0,Oe.Z)({},"".concat($t,"-disabled"),nn)),style:Bt,ref:this.paginationNode},Fn),Dt,vi?Me.createElement("li",{title:xn?pt.prev_page:null,onClick:this.prev,tabIndex:Or?null:0,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Oe.Z)({},"".concat($t,"-disabled"),Or)),"aria-disabled":Or},vi):null,_n,Zi?Me.createElement("li",{title:xn?pt.next_page:null,onClick:this.next,tabIndex:ki?null:0,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Oe.Z)({},"".concat($t,"-disabled"),ki)),"aria-disabled":ki},Zi):null,Me.createElement(rt,{disabled:nn,locale:pt,rootPrefixCls:$t,selectComponentClass:Ar,selectPrefixCls:Tr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:mi,pageSize:Mi,pageSizeOptions:Bi,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ii}))}}],[{key:"getDerivedStateFromProps",value:function(kt,$t){var Sn={};if("current"in kt&&(Sn.current=kt.current,kt.current!==$t.current&&(Sn.currentInputValue=Sn.current)),"pageSize"in kt&&kt.pageSize!==$t.pageSize){var Bt=$t.current,nn=Re(kt.pageSize,$t,kt);Bt=Bt>nn?nn:Bt,"current"in kt||(Sn.current=Bt,Sn.currentInputValue=Bt),Sn.pageSize=kt.pageSize}return Sn}}]),Pt}(Me.Component);Rt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:xt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:xt,locale:Ze.Z,style:{},itemRender:Lt,totalBoundaryShowSizeChanger:50};var Ft=Rt,bt=ce(22075),Tt=ce(36355),wt=ce(19716),it=ce(8628),je=ce(9763),at=ce(57809);const Yt=et=>Me.createElement(at.default,Object.assign({},et,{showSearch:!0,size:"small"})),Vt=et=>Me.createElement(at.default,Object.assign({},et,{showSearch:!0,size:"middle"}));Yt.Option=at.default.Option,Vt.Option=at.default.Option;var St=ce(9937),Qt=ce(17313),cn=ce(83116),Nn=ce(37613);const fn=et=>{const{componentCls:lt}=et;return{[`${lt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${lt}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${lt}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed"}}},[`&${lt}-disabled`]:{cursor:"not-allowed",[`${lt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:et.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:et.colorBorder,backgroundColor:et.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:et.itemActiveBgDisabled},a:{color:et.itemActiveColorDisabled}}},[`${lt}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${lt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${lt}-simple-pager`]:{color:et.colorTextDisabled},[`${lt}-jump-prev, ${lt}-jump-next`]:{[`${lt}-item-link-icon`]:{opacity:0},[`${lt}-item-ellipsis`]:{opacity:1}}},[`&${lt}-simple`]:{[`${lt}-prev, ${lt}-next`]:{[`&${lt}-disabled ${lt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ln=et=>{const{componentCls:lt}=et;return{[`&${lt}-mini ${lt}-total-text, &${lt}-mini ${lt}-simple-pager`]:{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`},[`&${lt}-mini ${lt}-item`]:{minWidth:et.itemSizeSM,height:et.itemSizeSM,margin:0,lineHeight:`${et.itemSizeSM-2}px`},[`&${lt}-mini:not(${lt}-disabled) ${lt}-item:not(${lt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive}},[`&${lt}-mini ${lt}-prev, &${lt}-mini ${lt}-next`]:{minWidth:et.itemSizeSM,height:et.itemSizeSM,margin:0,lineHeight:`${et.itemSizeSM}px`},[`&${lt}-mini:not(${lt}-disabled)`]:{[`${lt}-prev, ${lt}-next`]:{[`&:hover ${lt}-item-link`]:{backgroundColor:et.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:et.colorBgTextActive},[`&${lt}-disabled:hover ${lt}-item-link`]:{backgroundColor:"transparent"}}},[` &${lt}-mini ${lt}-prev ${lt}-item-link, &${lt}-mini ${lt}-next ${lt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`}},[`&${lt}-mini ${lt}-jump-prev, &${lt}-mini ${lt}-jump-next`]:{height:et.itemSizeSM,marginInlineEnd:0,lineHeight:`${et.itemSizeSM}px`},[`&${lt}-mini ${lt}-options`]:{marginInlineStart:et.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:et.miniOptionsSizeChangerTop},"&-quick-jumper":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,St.x0)(et)),{width:et.paginationMiniQuickJumperInputWidth,height:et.controlHeightSM})}}}},Cn=et=>{const{componentCls:lt}=et;return{[` &${lt}-simple ${lt}-prev, &${lt}-simple ${lt}-next `]:{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`,verticalAlign:"top",[`${lt}-item-link`]:{height:et.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive},"&::after":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`}}},[`&${lt}-simple ${lt}-simple-pager`]:{display:"inline-block",height:et.itemSizeSM,marginInlineEnd:et.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:et.marginXS,padding:`0 ${et.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:et.itemInputBg,border:`${et.lineWidth}px ${et.lineType} ${et.colorBorder}`,borderRadius:et.borderRadius,outline:"none",transition:`border-color ${et.motionDurationMid}`,color:"inherit","&:hover":{borderColor:et.colorPrimary},"&:focus":{borderColor:et.colorPrimaryHover,boxShadow:`${et.inputOutlineOffset}px 0 ${et.controlOutlineWidth}px ${et.controlOutline}`},"&[disabled]":{color:et.colorTextDisabled,backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,cursor:"not-allowed"}}}}},Bn=et=>{const{componentCls:lt}=et;return{[`${lt}-jump-prev, ${lt}-jump-next`]:{outline:0,[`${lt}-item-container`]:{position:"relative",[`${lt}-item-link-icon`]:{color:et.colorPrimary,fontSize:et.fontSizeSM,opacity:0,transition:`all ${et.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${lt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:et.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:et.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:et.paginationEllipsisTextIndent,opacity:1,transition:`all ${et.motionDurationMid}`}},"&:hover":{[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}}},[` ${lt}-prev, ${lt}-jump-prev, ${lt}-jump-next `]:{marginInlineEnd:et.marginXS},[` ${lt}-prev, ${lt}-next, ${lt}-jump-prev, ${lt}-jump-next `]:{display:"inline-block",minWidth:et.itemSize,height:et.itemSize,color:et.colorText,fontFamily:et.fontFamily,lineHeight:`${et.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:et.borderRadius,cursor:"pointer",transition:`all ${et.motionDurationMid}`},[`${lt}-prev, ${lt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:et.colorText,cursor:"pointer",userSelect:"none"},[`${lt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:et.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${et.lineWidth}px ${et.lineType} transparent`,borderRadius:et.borderRadius,outline:"none",transition:`all ${et.motionDurationMid}`},[`&:hover ${lt}-item-link`]:{backgroundColor:et.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:et.colorBgTextActive},[`&${lt}-disabled:hover`]:{[`${lt}-item-link`]:{backgroundColor:"transparent"}}},[`${lt}-slash`]:{marginInlineEnd:et.paginationSlashMarginInlineEnd,marginInlineStart:et.paginationSlashMarginInlineStart},[`${lt}-options`]:{display:"inline-block",marginInlineStart:et.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:et.controlHeight,marginInlineStart:et.marginXS,lineHeight:`${et.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,St.ik)(et)),{width:et.controlHeightLG*1.25,height:et.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:et.marginXS,marginInlineEnd:et.marginXS})}}}},gn=et=>{const{componentCls:lt}=et;return{[`${lt}-item`]:{display:"inline-block",minWidth:et.itemSize,height:et.itemSize,marginInlineEnd:et.marginXS,fontFamily:et.fontFamily,lineHeight:`${et.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${et.lineWidth}px ${et.lineType} transparent`,borderRadius:et.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${et.paginationItemPaddingInline}px`,color:et.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${lt}-item-active)`]:{"&:hover":{transition:`all ${et.motionDurationMid}`,backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive}},"&-active":{fontWeight:et.fontWeightStrong,backgroundColor:et.itemActiveBg,borderColor:et.colorPrimary,a:{color:et.colorPrimary},"&:hover":{borderColor:et.colorPrimaryHover},"&:hover a":{color:et.colorPrimaryHover}}}}},Se=et=>{const{componentCls:lt}=et;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qt.Wf)(et)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${lt}-total-text`]:{display:"inline-block",height:et.itemSize,marginInlineEnd:et.marginXS,lineHeight:`${et.itemSize-2}px`,verticalAlign:"middle"}}),gn(et)),Bn(et)),Cn(et)),Ln(et)),fn(et)),{[`@media only screen and (max-width: ${et.screenLG}px)`]:{[`${lt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${et.screenSM}px)`]:{[`${lt}-options`]:{display:"none"}}}),[`&${et.componentCls}-rtl`]:{direction:"rtl"}}},Fe=et=>{const{componentCls:lt}=et;return{[`${lt}${lt}-disabled:not(${lt}-mini)`]:{"&, &:hover":{[`${lt}-item-link`]:{borderColor:et.colorBorder}},"&:focus-visible":{[`${lt}-item-link`]:{borderColor:et.colorBorder}},[`${lt}-item, ${lt}-item-link`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,[`&:hover:not(${lt}-item-active)`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,a:{color:et.colorTextDisabled}},[`&${lt}-item-active`]:{backgroundColor:et.itemActiveBgDisabled}},[`${lt}-prev, ${lt}-next`]:{"&:hover button":{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,color:et.colorTextDisabled},[`${lt}-item-link`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder}}},[`${lt}:not(${lt}-mini)`]:{[`${lt}-prev, ${lt}-next`]:{"&:hover button":{borderColor:et.colorPrimaryHover,backgroundColor:et.itemBg},[`${lt}-item-link`]:{backgroundColor:et.itemLinkBg,borderColor:et.colorBorder},[`&:hover ${lt}-item-link`]:{borderColor:et.colorPrimary,backgroundColor:et.itemBg,color:et.colorPrimary},[`&${lt}-disabled`]:{[`${lt}-item-link`]:{borderColor:et.colorBorder,color:et.colorTextDisabled}}},[`${lt}-item`]:{backgroundColor:et.itemBg,border:`${et.lineWidth}px ${et.lineType} ${et.colorBorder}`,[`&:hover:not(${lt}-item-active)`]:{borderColor:et.colorPrimary,backgroundColor:et.itemBg,a:{color:et.colorPrimary}},"&-active":{borderColor:et.colorPrimary}}}}},ie=et=>{const{componentCls:lt}=et;return{[`${lt}:not(${lt}-disabled)`]:{[`${lt}-item`]:Object.assign({},(0,Qt.Qy)(et)),[`${lt}-jump-prev, ${lt}-jump-next`]:{"&:focus-visible":Object.assign({[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}},(0,Qt.oN)(et))},[`${lt}-prev, ${lt}-next`]:{[`&:focus-visible ${lt}-item-link`]:Object.assign({},(0,Qt.oN)(et))}}}};var ae=(0,cn.Z)("Pagination",et=>{const lt=(0,Nn.TS)(et,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:et.marginXXS/2,paginationMiniQuickJumperInputWidth:et.controlHeightLG*1.1,paginationItemPaddingInline:et.marginXXS*1.5,paginationEllipsisLetterSpacing:et.marginXXS/2,paginationSlashMarginInlineStart:et.marginXXS,paginationSlashMarginInlineEnd:et.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,St.e5)(et),(0,St.TM)(et));return[Se(lt),ie(lt),et.wireframe&&Fe(lt)]},et=>({itemBg:et.colorBgContainer,itemSize:et.controlHeight,itemSizeSM:et.controlHeightSM,itemActiveBg:et.colorBgContainer,itemLinkBg:et.colorBgContainer,itemActiveColorDisabled:et.colorTextDisabled,itemActiveBgDisabled:et.controlItemBgActiveDisabled,itemInputBg:et.colorBgContainer,miniOptionsSizeChangerTop:0})),se=function(et,lt){var Pt={};for(var Mt in et)Object.prototype.hasOwnProperty.call(et,Mt)&<.indexOf(Mt)<0&&(Pt[Mt]=et[Mt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,Mt=Object.getOwnPropertySymbols(et);kt{const{prefixCls:lt,selectPrefixCls:Pt,className:Mt,rootClassName:kt,style:$t,size:Sn,locale:Bt,selectComponentClass:nn,responsive:tn,showSizeChanger:zt}=et,pt=se(et,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Wt}=(0,it.Z)(tn),{getPrefixCls:vn,direction:xn,pagination:Wn={}}=Me.useContext(Tt.E_),br=vn("pagination",lt),[Lr,jr]=ae(br),Qr=zt!=null?zt:Wn.showSizeChanger,vr=Me.useMemo(()=>{const Dr=Me.createElement("span",{className:`${br}-item-ellipsis`},"\u2022\u2022\u2022"),_n=Me.createElement("button",{className:`${br}-item-link`,type:"button",tabIndex:-1},xn==="rtl"?Me.createElement(ze.Z,null):Me.createElement(fe.Z,null)),no=Me.createElement("button",{className:`${br}-item-link`,type:"button",tabIndex:-1},xn==="rtl"?Me.createElement(fe.Z,null):Me.createElement(ze.Z,null)),Ki=Me.createElement("a",{className:`${br}-item-link`},Me.createElement("div",{className:`${br}-item-container`},xn==="rtl"?Me.createElement(we.Z,{className:`${br}-item-link-icon`}):Me.createElement(Ae,{className:`${br}-item-link-icon`}),Dr)),Co=Me.createElement("a",{className:`${br}-item-link`},Me.createElement("div",{className:`${br}-item-container`},xn==="rtl"?Me.createElement(Ae,{className:`${br}-item-link-icon`}):Me.createElement(we.Z,{className:`${br}-item-link-icon`}),Dr));return{prevIcon:_n,nextIcon:no,jumpPrevIcon:Ki,jumpNextIcon:Co}},[xn,br]),[Ar]=(0,je.Z)("Pagination",bt.Z),Tr=Object.assign(Object.assign({},Ar),Bt),Bi=(0,wt.Z)(Sn),$i=Bi==="small"||!!(Wt&&!Bi&&tn),mi=vn("select",Pt),Mi=_e()({[`${br}-mini`]:$i,[`${br}-rtl`]:xn==="rtl"},Wn==null?void 0:Wn.className,Mt,kt,jr),pa=Object.assign(Object.assign({},Wn==null?void 0:Wn.style),$t);return Lr(Me.createElement(Ft,Object.assign({},vr,pt,{style:pa,prefixCls:br,selectPrefixCls:mi,className:Mi,selectComponentClass:nn||($i?Yt:Vt),locale:Tr,showSizeChanger:Qr})))},vt=Ye},93948:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return zt}});var he=ce(59301),Me=ce(29679),Ue=ce(40001),At=ce(19248),Ne=ce(99267),Le=ce(92310),ve=ce.n(Le),Ae=ce(2738),we=ce(36355),fe=ce(60499),ze=ce(85899),Be=ce(42244),_e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Oe=function(){var Wt=(0,he.useRef)([]),vn=(0,he.useRef)(null);return(0,he.useEffect)(function(){var xn=Date.now(),Wn=!1;Wt.current.forEach(function(br){if(br){Wn=!0;var Lr=br.style;Lr.transitionDuration=".3s, .3s, .3s, .06s",vn.current&&xn-vn.current<100&&(Lr.transitionDuration="0s, 0s")}}),Wn&&(vn.current=Date.now())}),Wt.current},He=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ke=function(Wt){var vn=(0,ze.Z)((0,ze.Z)({},_e),Wt),xn=vn.className,Wn=vn.percent,br=vn.prefixCls,Lr=vn.strokeColor,jr=vn.strokeLinecap,Qr=vn.strokeWidth,vr=vn.style,Ar=vn.trailColor,Tr=vn.trailWidth,Bi=vn.transition,$i=(0,Be.Z)(vn,He);delete $i.gapPosition;var mi=Array.isArray(Wn)?Wn:[Wn],Mi=Array.isArray(Lr)?Lr:[Lr],pa=Oe(),Dr=Qr/2,_n=100-Qr/2,no="M ".concat(jr==="round"?Dr:0,",").concat(Dr,` L `).concat(jr==="round"?_n:100,",").concat(Dr),Ki="0 0 100 ".concat(Qr),Co=0;return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(br,"-line"),xn),viewBox:Ki,preserveAspectRatio:"none",style:vr},$i),he.createElement("path",{className:"".concat(br,"-line-trail"),d:no,strokeLinecap:jr,stroke:Ar,strokeWidth:Tr||Qr,fillOpacity:"0"}),mi.map(function(ro,Pi){var Ii=1;switch(jr){case"round":Ii=1-Qr/100;break;case"square":Ii=1-Qr/2/100;break;default:Ii=1;break}var Si={strokeDasharray:"".concat(ro*Ii,"px, 100px"),strokeDashoffset:"-".concat(Co,"px"),transition:Bi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},gi=Mi[Pi]||Mi[Mi.length-1];return Co+=ro,he.createElement("path",{key:Pi,className:"".concat(br,"-line-path"),d:no,strokeLinecap:jr,stroke:gi,strokeWidth:Qr,fillOpacity:"0",ref:function(Fn){pa[Pi]=Fn},style:Si})}))},Te=ke,Pe=ce(43749),Xe=ce(72190),Ke=ce(47273),qe=0,We=(0,Ke.Z)();function Ze(){var pt;return We?(pt=qe,qe+=1):pt="TEST_OR_SSR",pt}var $e=function(pt){var Wt=he.useState(),vn=(0,Xe.Z)(Wt,2),xn=vn[0],Wn=vn[1];return he.useEffect(function(){Wn("rc_progress_".concat(Ze()))},[]),pt||xn},rt=function(Wt){var vn=Wt.bg,xn=Wt.children;return he.createElement("div",{style:{width:"100%",height:"100%",background:vn}},xn)};function ht(pt,Wt){return Object.keys(pt).map(function(vn){var xn=parseFloat(vn),Wn="".concat(Math.floor(xn*Wt),"%");return"".concat(pt[vn]," ").concat(Wn)})}var dt=he.forwardRef(function(pt,Wt){var vn=pt.prefixCls,xn=pt.color,Wn=pt.gradientId,br=pt.radius,Lr=pt.style,jr=pt.ptg,Qr=pt.strokeLinecap,vr=pt.strokeWidth,Ar=pt.size,Tr=pt.gapDegree,Bi=xn&&(0,Pe.Z)(xn)==="object",$i=Bi?"#FFF":void 0,mi=Ar/2,Mi=he.createElement("circle",{className:"".concat(vn,"-circle-path"),r:br,cx:mi,cy:mi,stroke:$i,strokeLinecap:Qr,strokeWidth:vr,opacity:jr===0?0:1,style:Lr,ref:Wt});if(!Bi)return Mi;var pa="".concat(Wn,"-conic"),Dr=Tr?"".concat(180+Tr/2,"deg"):"0deg",_n=ht(xn,(360-Tr)/360),no=ht(xn,1),Ki="conic-gradient(from ".concat(Dr,", ").concat(_n.join(", "),")"),Co="linear-gradient(to ".concat(Tr?"bottom":"top",", ").concat(no.join(", "),")");return he.createElement(he.Fragment,null,he.createElement("mask",{id:pa},Mi),he.createElement("foreignObject",{x:0,y:0,width:Ar,height:Ar,mask:"url(#".concat(pa,")")},he.createElement(rt,{bg:Co},he.createElement(rt,{bg:Ki}))))}),xt=dt,Je=100,Lt=function(Wt,vn,xn,Wn,br,Lr,jr,Qr,vr,Ar){var Tr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Bi=xn/100*360*((360-Lr)/360),$i=Lr===0?0:{bottom:0,top:180,left:90,right:-90}[jr],mi=(100-Wn)/100*vn;vr==="round"&&Wn!==100&&(mi+=Ar/2,mi>=vn&&(mi=vn-.01));var Mi=Je/2;return{stroke:typeof Qr=="string"?Qr:void 0,strokeDasharray:"".concat(vn,"px ").concat(Wt),strokeDashoffset:mi+Tr,transform:"rotate(".concat(br+Bi+$i,"deg)"),transformOrigin:"".concat(Mi,"px ").concat(Mi,"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}},Re=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Rt(pt){var Wt=pt!=null?pt:[];return Array.isArray(Wt)?Wt:[Wt]}var Ft=function(Wt){var vn=(0,ze.Z)((0,ze.Z)({},_e),Wt),xn=vn.id,Wn=vn.prefixCls,br=vn.steps,Lr=vn.strokeWidth,jr=vn.trailWidth,Qr=vn.gapDegree,vr=Qr===void 0?0:Qr,Ar=vn.gapPosition,Tr=vn.trailColor,Bi=vn.strokeLinecap,$i=vn.style,mi=vn.className,Mi=vn.strokeColor,pa=vn.percent,Dr=(0,Be.Z)(vn,Re),_n=Je/2,no=$e(xn),Ki="".concat(no,"-gradient"),Co=_n-Lr/2,ro=Math.PI*2*Co,Pi=vr>0?90+vr/2:-90,Ii=ro*((360-vr)/360),Si=(0,Pe.Z)(br)==="object"?br:{count:br,space:2},gi=Si.count,Ea=Si.space,Fn=Rt(pa),Dt=Rt(Mi),Gt=Dt.find(function(pr){return pr&&(0,Pe.Z)(pr)==="object"}),Zt=Gt&&(0,Pe.Z)(Gt)==="object",jt=Zt?"butt":Bi,on=Lt(ro,Ii,0,100,Pi,vr,Ar,Tr,jt,Lr),Mn=Oe(),ir=function(){var Gr=0;return Fn.map(function(Zr,$r){var Xn=Dt[$r]||Dt[Dt.length-1],Or=Lt(ro,Ii,Gr,Zr,Pi,vr,Ar,Xn,jt,Lr);return Gr+=Zr,he.createElement(xt,{key:$r,color:Xn,ptg:Zr,radius:Co,prefixCls:Wn,gradientId:Ki,style:Or,strokeLinecap:jt,strokeWidth:Lr,gapDegree:vr,ref:function(vi){Mn[$r]=vi},size:Je})}).reverse()},qn=function(){var Gr=Math.round(gi*(Fn[0]/100)),Zr=100/gi,$r=0;return new Array(gi).fill(null).map(function(Xn,Or){var ki=Or<=Gr-1?Dt[0]:Tr,vi=ki&&(0,Pe.Z)(ki)==="object"?"url(#".concat(Ki,")"):void 0,Zi=Lt(ro,Ii,$r,Zr,Pi,vr,Ar,ki,"butt",Lr,Ea);return $r+=(Ii-Zi.strokeDashoffset+Ea)*100/Ii,he.createElement("circle",{key:Or,className:"".concat(Wn,"-circle-path"),r:Co,cx:_n,cy:_n,stroke:vi,strokeWidth:Lr,opacity:1,style:Zi,ref:function(Ca){Mn[Or]=Ca}})})};return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(Wn,"-circle"),mi),viewBox:"0 0 ".concat(Je," ").concat(Je),style:$i,id:xn,role:"presentation"},Dr),!gi&&he.createElement("circle",{className:"".concat(Wn,"-circle-trail"),r:Co,cx:_n,cy:_n,stroke:Tr,strokeLinecap:jt,strokeWidth:jr||Lr,style:on}),gi?qn():ir())},bt=Ft,Tt={Line:Te,Circle:bt},wt=ce(6848),it=ce(30071);function je(pt){return!pt||pt<0?0:pt>100?100:pt}function at(pt){let{success:Wt,successPercent:vn}=pt,xn=vn;return Wt&&"progress"in Wt&&(xn=Wt.progress),Wt&&"percent"in Wt&&(xn=Wt.percent),xn}const Yt=pt=>{let{percent:Wt,success:vn,successPercent:xn}=pt;const Wn=je(at({success:vn,successPercent:xn}));return[Wn,je(je(Wt)-Wn)]},Vt=pt=>{let{success:Wt={},strokeColor:vn}=pt;const{strokeColor:xn}=Wt;return[xn||it.presetPrimaryColors.green,vn||null]},St=(pt,Wt,vn)=>{var xn,Wn,br,Lr;let jr=-1,Qr=-1;if(Wt==="step"){const vr=vn.steps,Ar=vn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?(jr=pt==="small"?2:14,Qr=Ar!=null?Ar:8):typeof pt=="number"?[jr,Qr]=[pt,pt]:[jr=14,Qr=8]=pt,jr*=vr}else if(Wt==="line"){const vr=vn==null?void 0:vn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?Qr=vr||(pt==="small"?6:8):typeof pt=="number"?[jr,Qr]=[pt,pt]:[jr=-1,Qr=8]=pt}else(Wt==="circle"||Wt==="dashboard")&&(typeof pt=="string"||typeof pt=="undefined"?[jr,Qr]=pt==="small"?[60,60]:[120,120]:typeof pt=="number"?[jr,Qr]=[pt,pt]:(jr=(Wn=(xn=pt[0])!==null&&xn!==void 0?xn:pt[1])!==null&&Wn!==void 0?Wn:120,Qr=(Lr=(br=pt[0])!==null&&br!==void 0?br:pt[1])!==null&&Lr!==void 0?Lr:120));return[jr,Qr]},Qt=3,cn=pt=>Qt/pt*100;var fn=pt=>{const{prefixCls:Wt,trailColor:vn=null,strokeLinecap:xn="round",gapPosition:Wn,gapDegree:br,width:Lr=120,type:jr,children:Qr,success:vr,size:Ar=Lr}=pt,[Tr,Bi]=St(Ar,"circle");let{strokeWidth:$i}=pt;$i===void 0&&($i=Math.max(cn(Tr),6));const mi={width:Tr,height:Bi,fontSize:Tr*.15+6},Mi=he.useMemo(()=>{if(br||br===0)return br;if(jr==="dashboard")return 75},[br,jr]),pa=Wn||jr==="dashboard"&&"bottom"||void 0,Dr=Object.prototype.toString.call(pt.strokeColor)==="[object Object]",_n=Vt({success:vr,strokeColor:pt.strokeColor}),no=ve()(`${Wt}-inner`,{[`${Wt}-circle-gradient`]:Dr}),Ki=he.createElement(bt,{percent:Yt(pt),strokeWidth:$i,trailWidth:$i,strokeColor:_n,strokeLinecap:xn,trailColor:vn,prefixCls:Wt,gapDegree:Mi,gapPosition:pa});return he.createElement("div",{className:no,style:mi},Tr<=20?he.createElement(wt.Z,{title:Qr},he.createElement("span",null,Ki)):he.createElement(he.Fragment,null,Ki,Qr))},Ln=function(pt,Wt){var vn={};for(var xn in pt)Object.prototype.hasOwnProperty.call(pt,xn)&&Wt.indexOf(xn)<0&&(vn[xn]=pt[xn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,xn=Object.getOwnPropertySymbols(pt);Wn{let Wt=[];return Object.keys(pt).forEach(vn=>{const xn=parseFloat(vn.replace(/%/g,""));isNaN(xn)||Wt.push({key:xn,value:pt[vn]})}),Wt=Wt.sort((vn,xn)=>vn.key-xn.key),Wt.map(vn=>{let{key:xn,value:Wn}=vn;return`${Wn} ${xn}%`}).join(", ")},Bn=(pt,Wt)=>{const{from:vn=it.presetPrimaryColors.blue,to:xn=it.presetPrimaryColors.blue,direction:Wn=Wt==="rtl"?"to left":"to right"}=pt,br=Ln(pt,["from","to","direction"]);if(Object.keys(br).length!==0){const Lr=Cn(br);return{backgroundImage:`linear-gradient(${Wn}, ${Lr})`}}return{backgroundImage:`linear-gradient(${Wn}, ${vn}, ${xn})`}};var Se=pt=>{const{prefixCls:Wt,direction:vn,percent:xn,size:Wn,strokeWidth:br,strokeColor:Lr,strokeLinecap:jr="round",children:Qr,trailColor:vr=null,success:Ar}=pt,Tr=Lr&&typeof Lr!="string"?Bn(Lr,vn):{backgroundColor:Lr},Bi=jr==="square"||jr==="butt"?0:void 0,$i={backgroundColor:vr||void 0,borderRadius:Bi},mi=Wn!=null?Wn:[-1,br||(Wn==="small"?6:8)],[Mi,pa]=St(mi,"line",{strokeWidth:br}),Dr=Object.assign({width:`${je(xn)}%`,height:pa,borderRadius:Bi},Tr),_n=at(pt),no={width:`${je(_n)}%`,height:pa,borderRadius:Bi,backgroundColor:Ar==null?void 0:Ar.strokeColor},Ki={width:Mi<0?"100%":Mi,height:pa};return he.createElement(he.Fragment,null,he.createElement("div",{className:`${Wt}-outer`,style:Ki},he.createElement("div",{className:`${Wt}-inner`,style:$i},he.createElement("div",{className:`${Wt}-bg`,style:Dr}),_n!==void 0?he.createElement("div",{className:`${Wt}-success-bg`,style:no}):null)),Qr)},ie=pt=>{const{size:Wt,steps:vn,percent:xn=0,strokeWidth:Wn=8,strokeColor:br,trailColor:Lr=null,prefixCls:jr,children:Qr}=pt,vr=Math.round(vn*(xn/100)),Ar=Wt==="small"?2:14,Tr=Wt!=null?Wt:[Ar,Wn],[Bi,$i]=St(Tr,"step",{steps:vn,strokeWidth:Wn}),mi=Bi/vn,Mi=new Array(vn);for(let pa=0;pa{const Wt=pt?"100%":"-100%";return new ae.Keyframes(`antProgress${pt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Wt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Wt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},et=pt=>{const{componentCls:Wt,iconCls:vn}=pt;return{[Wt]:Object.assign(Object.assign({},(0,se.Wf)(pt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:pt.fontSize,marginInlineEnd:pt.marginXS,marginBottom:pt.marginXS},[`${Wt}-outer`]:{display:"inline-block",width:"100%"},[`&${Wt}-show-info`]:{[`${Wt}-outer`]:{marginInlineEnd:`calc(-2em - ${pt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${pt.paddingXS}px)`}},[`${Wt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:pt.remainingColor,borderRadius:pt.lineBorderRadius},[`${Wt}-inner:not(${Wt}-circle-gradient)`]:{[`${Wt}-circle-path`]:{stroke:pt.defaultColor}},[`${Wt}-success-bg, ${Wt}-bg`]:{position:"relative",backgroundColor:pt.defaultColor,borderRadius:pt.lineBorderRadius,transition:`all ${pt.motionDurationSlow} ${pt.motionEaseInOutCirc}`},[`${Wt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:pt.colorSuccess},[`${Wt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:pt.marginXS,color:pt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[vn]:{fontSize:pt.fontSize}},[`&${Wt}-status-active`]:{[`${Wt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:pt.colorBgContainer,borderRadius:pt.lineBorderRadius,opacity:0,animationName:vt(),animationDuration:pt.progressActiveMotionDuration,animationTimingFunction:pt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Wt}-rtl${Wt}-status-active`]:{[`${Wt}-bg::before`]:{animationName:vt(!0)}},[`&${Wt}-status-exception`]:{[`${Wt}-bg`]:{backgroundColor:pt.colorError},[`${Wt}-text`]:{color:pt.colorError}},[`&${Wt}-status-exception ${Wt}-inner:not(${Wt}-circle-gradient)`]:{[`${Wt}-circle-path`]:{stroke:pt.colorError}},[`&${Wt}-status-success`]:{[`${Wt}-bg`]:{backgroundColor:pt.colorSuccess},[`${Wt}-text`]:{color:pt.colorSuccess}},[`&${Wt}-status-success ${Wt}-inner:not(${Wt}-circle-gradient)`]:{[`${Wt}-circle-path`]:{stroke:pt.colorSuccess}}})}},lt=pt=>{const{componentCls:Wt,iconCls:vn}=pt;return{[Wt]:{[`${Wt}-circle-trail`]:{stroke:pt.remainingColor},[`&${Wt}-circle ${Wt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Wt}-circle ${Wt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:pt.circleTextColor,fontSize:pt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[vn]:{fontSize:`${pt.fontSize/pt.fontSizeSM}em`}},[`${Wt}-circle&-status-exception`]:{[`${Wt}-text`]:{color:pt.colorError}},[`${Wt}-circle&-status-success`]:{[`${Wt}-text`]:{color:pt.colorSuccess}}},[`${Wt}-inline-circle`]:{lineHeight:1,[`${Wt}-inner`]:{verticalAlign:"bottom"}}}},Pt=pt=>{const{componentCls:Wt}=pt;return{[Wt]:{[`${Wt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:pt.progressStepMinWidth,marginInlineEnd:pt.progressStepMarginInlineEnd,backgroundColor:pt.remainingColor,transition:`all ${pt.motionDurationSlow}`,"&-active":{backgroundColor:pt.defaultColor}}}}}},Mt=pt=>{const{componentCls:Wt,iconCls:vn}=pt;return{[Wt]:{[`${Wt}-small&-line, ${Wt}-small&-line ${Wt}-text ${vn}`]:{fontSize:pt.fontSizeSM}}}};var kt=(0,oe.Z)("Progress",pt=>{const Wt=pt.marginXXS/2,vn=(0,Ye.TS)(pt,{progressStepMarginInlineEnd:Wt,progressStepMinWidth:Wt,progressActiveMotionDuration:"2.4s"});return[et(vn),lt(vn),Pt(vn),Mt(vn)]},pt=>({circleTextColor:pt.colorText,defaultColor:pt.colorInfo,remainingColor:pt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),$t=function(pt,Wt){var vn={};for(var xn in pt)Object.prototype.hasOwnProperty.call(pt,xn)&&Wt.indexOf(xn)<0&&(vn[xn]=pt[xn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,xn=Object.getOwnPropertySymbols(pt);Wn{const{prefixCls:vn,className:xn,rootClassName:Wn,steps:br,strokeColor:Lr,percent:jr=0,size:Qr="default",showInfo:vr=!0,type:Ar="line",status:Tr,format:Bi,style:$i}=pt,mi=$t(pt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Mi=he.useMemo(()=>{var Fn,Dt;const Gt=at(pt);return parseInt(Gt!==void 0?(Fn=Gt!=null?Gt:0)===null||Fn===void 0?void 0:Fn.toString():(Dt=jr!=null?jr:0)===null||Dt===void 0?void 0:Dt.toString(),10)},[jr,pt.success,pt.successPercent]),pa=he.useMemo(()=>!Bt.includes(Tr)&&Mi>=100?"success":Tr||"normal",[Tr,Mi]),{getPrefixCls:Dr,direction:_n,progress:no}=he.useContext(we.E_),Ki=Dr("progress",vn),[Co,ro]=kt(Ki),Pi=he.useMemo(()=>{if(!vr)return null;const Fn=at(pt);let Dt;const Gt=Bi||(jt=>`${jt}%`),Zt=Ar==="line";return Bi||pa!=="exception"&&pa!=="success"?Dt=Gt(je(jr),je(Fn)):pa==="exception"?Dt=Zt?he.createElement(At.Z,null):he.createElement(Ne.Z,null):pa==="success"&&(Dt=Zt?he.createElement(Me.Z,null):he.createElement(Ue.Z,null)),he.createElement("span",{className:`${Ki}-text`,title:typeof Dt=="string"?Dt:void 0},Dt)},[vr,jr,Mi,pa,Ar,Ki,Bi]),Ii=Array.isArray(Lr)?Lr[0]:Lr,Si=typeof Lr=="string"||Array.isArray(Lr)?Lr:void 0;let gi;Ar==="line"?gi=br?he.createElement(ie,Object.assign({},pt,{strokeColor:Si,prefixCls:Ki,steps:br}),Pi):he.createElement(Se,Object.assign({},pt,{strokeColor:Ii,prefixCls:Ki,direction:_n}),Pi):(Ar==="circle"||Ar==="dashboard")&&(gi=he.createElement(fn,Object.assign({},pt,{strokeColor:Ii,prefixCls:Ki,progressStatus:pa}),Pi));const Ea=ve()(Ki,`${Ki}-status-${pa}`,`${Ki}-${Ar==="dashboard"&&"circle"||br&&"steps"||Ar}`,{[`${Ki}-inline-circle`]:Ar==="circle"&&St(Qr,"circle")[0]<=20,[`${Ki}-show-info`]:vr,[`${Ki}-${Qr}`]:typeof Qr=="string",[`${Ki}-rtl`]:_n==="rtl"},no==null?void 0:no.className,xn,Wn,ro);return Co(he.createElement("div",Object.assign({ref:Wt,style:Object.assign(Object.assign({},no==null?void 0:no.style),$i),className:Ea,role:"progressbar","aria-valuenow":Mi},(0,Ae.Z)(mi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),gi))}),zt=tn},5112:function(Tn,Xt,ce){"use strict";ce.d(Xt,{ZP:function(){return it}});var he=ce(92310),Me=ce.n(he),Ue=ce(18929),At=ce(26112),Ne=ce(59301),Le=ce(36355),ve=ce(19716);const Ae=Ne.createContext(null),we=Ae.Provider;var fe=Ae;const ze=Ne.createContext(null),Be=ze.Provider;var _e=ce(5630),Oe=ce(8654),He=ce(1684),ke=ce(32441),Te=ce(17313),Pe=ce(83116),Xe=ce(37613);const Ke=je=>{const{componentCls:at,antCls:Yt}=je,Vt=`${at}-group`;return{[Vt]:Object.assign(Object.assign({},(0,Te.Wf)(je)),{display:"inline-block",fontSize:0,[`&${Vt}-rtl`]:{direction:"rtl"},[`${Yt}-badge ${Yt}-badge-count`]:{zIndex:1},[`> ${Yt}-badge:not(:first-child) > ${Yt}-button-wrapper`]:{borderInlineStart:"none"}})}},qe=je=>{const{componentCls:at,wrapperMarginInlineEnd:Yt,colorPrimary:Vt,radioSize:St,motionDurationSlow:Qt,motionDurationMid:cn,motionEaseInOutCirc:Nn,colorBgContainer:fn,colorBorder:Ln,lineWidth:Cn,dotSize:Bn,colorBgContainerDisabled:gn,colorTextDisabled:Se,paddingXS:Fe,dotColorDisabled:ie,lineType:ae,radioDotDisabledSize:se,wireframe:oe,colorWhite:Ye}=je,vt=`${at}-inner`;return{[`${at}-wrapper`]:Object.assign(Object.assign({},(0,Te.Wf)(je)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Yt,cursor:"pointer",[`&${at}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:je.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${at}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Cn}px ${ae} ${Vt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[at]:Object.assign(Object.assign({},(0,Te.Wf)(je)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${at}-wrapper:hover &, &:hover ${vt}`]:{borderColor:Vt},[`${at}-input:focus-visible + ${vt}`]:Object.assign({},(0,Te.oN)(je)),[`${at}:hover::after, ${at}-wrapper:hover &::after`]:{visibility:"visible"},[`${at}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:St,height:St,marginBlockStart:St/-2,marginInlineStart:St/-2,backgroundColor:oe?Vt:Ye,borderBlockStart:0,borderInlineStart:0,borderRadius:St,transform:"scale(0)",opacity:0,transition:`all ${Qt} ${Nn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:St,height:St,backgroundColor:fn,borderColor:Ln,borderStyle:"solid",borderWidth:Cn,borderRadius:"50%",transition:`all ${cn}`},[`${at}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${at}-checked`]:{[vt]:{borderColor:Vt,backgroundColor:oe?fn:Vt,"&::after":{transform:`scale(${Bn/St})`,opacity:1,transition:`all ${Qt} ${Nn}`}}},[`${at}-disabled`]:{cursor:"not-allowed",[vt]:{backgroundColor:gn,borderColor:Ln,cursor:"not-allowed","&::after":{backgroundColor:ie}},[`${at}-input`]:{cursor:"not-allowed"},[`${at}-disabled + span`]:{color:Se,cursor:"not-allowed"},[`&${at}-checked`]:{[vt]:{"&::after":{transform:`scale(${se/St})`}}}},[`span${at} + *`]:{paddingInlineStart:Fe,paddingInlineEnd:Fe}})}},We=je=>{const{buttonColor:at,controlHeight:Yt,componentCls:Vt,lineWidth:St,lineType:Qt,colorBorder:cn,motionDurationSlow:Nn,motionDurationMid:fn,buttonPaddingInline:Ln,fontSize:Cn,buttonBg:Bn,fontSizeLG:gn,controlHeightLG:Se,controlHeightSM:Fe,paddingXS:ie,borderRadius:ae,borderRadiusSM:se,borderRadiusLG:oe,buttonCheckedBg:Ye,buttonSolidCheckedColor:vt,colorTextDisabled:et,colorBgContainerDisabled:lt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:Mt,colorPrimary:kt,colorPrimaryHover:$t,colorPrimaryActive:Sn,buttonSolidCheckedBg:Bt,buttonSolidCheckedHoverBg:nn,buttonSolidCheckedActiveBg:tn}=je;return{[`${Vt}-button-wrapper`]:{position:"relative",display:"inline-block",height:Yt,margin:0,paddingInline:Ln,paddingBlock:0,color:at,fontSize:Cn,lineHeight:`${Yt-St*2}px`,background:Bn,border:`${St}px ${Qt} ${cn}`,borderBlockStartWidth:St+.02,borderInlineStartWidth:0,borderInlineEndWidth:St,cursor:"pointer",transition:[`color ${fn}`,`background ${fn}`,`box-shadow ${fn}`].join(","),a:{color:at},[`> ${Vt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-St,insetInlineStart:-St,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:St,paddingInline:0,backgroundColor:cn,transition:`background-color ${Nn}`,content:'""'}},"&:first-child":{borderInlineStart:`${St}px ${Qt} ${cn}`,borderStartStartRadius:ae,borderEndStartRadius:ae},"&:last-child":{borderStartEndRadius:ae,borderEndEndRadius:ae},"&:first-child:last-child":{borderRadius:ae},[`${Vt}-group-large &`]:{height:Se,fontSize:gn,lineHeight:`${Se-St*2}px`,"&:first-child":{borderStartStartRadius:oe,borderEndStartRadius:oe},"&:last-child":{borderStartEndRadius:oe,borderEndEndRadius:oe}},[`${Vt}-group-small &`]:{height:Fe,paddingInline:ie-St,paddingBlock:0,lineHeight:`${Fe-St*2}px`,"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},"&:hover":{position:"relative",color:kt},"&:has(:focus-visible)":Object.assign({},(0,Te.oN)(je)),[`${Vt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Vt}-button-wrapper-disabled)`]:{zIndex:1,color:kt,background:Ye,borderColor:kt,"&::before":{backgroundColor:kt},"&:first-child":{borderColor:kt},"&:hover":{color:$t,borderColor:$t,"&::before":{backgroundColor:$t}},"&:active":{color:Sn,borderColor:Sn,"&::before":{backgroundColor:Sn}}},[`${Vt}-group-solid &-checked:not(${Vt}-button-wrapper-disabled)`]:{color:vt,background:Bt,borderColor:Bt,"&:hover":{color:vt,background:nn,borderColor:nn},"&:active":{color:vt,background:tn,borderColor:tn}},"&-disabled":{color:et,backgroundColor:lt,borderColor:cn,cursor:"not-allowed","&:first-child, &:hover":{color:et,backgroundColor:lt,borderColor:cn}},[`&-disabled${Vt}-button-wrapper-checked`]:{color:Mt,backgroundColor:Pt,borderColor:cn,boxShadow:"none"}}}},Ze=je=>je-4*2;var $e=(0,Pe.Z)("Radio",je=>{const{controlOutline:at,controlOutlineWidth:Yt,radioSize:Vt}=je,St=`0 0 0 ${Yt}px ${at}`,Qt=St,cn=Ze(Vt),Nn=(0,Xe.TS)(je,{radioDotDisabledSize:cn,radioFocusShadow:St,radioButtonFocusShadow:Qt});return[Ke(Nn),qe(Nn),We(Nn)]},je=>{const{wireframe:at,padding:Yt,marginXS:Vt,lineWidth:St,fontSizeLG:Qt,colorText:cn,colorBgContainer:Nn,colorTextDisabled:fn,controlItemBgActiveDisabled:Ln,colorTextLightSolid:Cn,colorPrimary:Bn,colorPrimaryHover:gn,colorPrimaryActive:Se}=je,Fe=4,ie=Qt,ae=at?Ze(ie):ie-(Fe+St)*2;return{radioSize:ie,dotSize:ae,dotColorDisabled:fn,buttonSolidCheckedColor:Cn,buttonSolidCheckedBg:Bn,buttonSolidCheckedHoverBg:gn,buttonSolidCheckedActiveBg:Se,buttonBg:Nn,buttonCheckedBg:Nn,buttonColor:cn,buttonCheckedBgDisabled:Ln,buttonCheckedColorDisabled:fn,buttonPaddingInline:Yt-St,wrapperMarginInlineEnd:Vt}}),rt=ce(14088),ht=ce(4572),dt=function(je,at){var Yt={};for(var Vt in je)Object.prototype.hasOwnProperty.call(je,Vt)&&at.indexOf(Vt)<0&&(Yt[Vt]=je[Vt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(je);St{var Yt,Vt;const St=Ne.useContext(fe),Qt=Ne.useContext(ze),{getPrefixCls:cn,direction:Nn,radio:fn}=Ne.useContext(Le.E_),Ln=Ne.useRef(null),Cn=(0,Oe.sQ)(at,Ln),{isFormItemInput:Bn}=Ne.useContext(ke.aM),gn=Sn=>{var Bt,nn;(Bt=je.onChange)===null||Bt===void 0||Bt.call(je,Sn),(nn=St==null?void 0:St.onChange)===null||nn===void 0||nn.call(St,Sn)},{prefixCls:Se,className:Fe,rootClassName:ie,children:ae,style:se}=je,oe=dt(je,["prefixCls","className","rootClassName","children","style"]),Ye=cn("radio",Se),vt=((St==null?void 0:St.optionType)||Qt)==="button",et=vt?`${Ye}-button`:Ye,[lt,Pt]=$e(Ye),Mt=Object.assign({},oe),kt=Ne.useContext(He.Z);St&&(Mt.name=St.name,Mt.onChange=gn,Mt.checked=je.value===St.value,Mt.disabled=(Yt=Mt.disabled)!==null&&Yt!==void 0?Yt:St.disabled),Mt.disabled=(Vt=Mt.disabled)!==null&&Vt!==void 0?Vt:kt;const $t=Me()(`${et}-wrapper`,{[`${et}-wrapper-checked`]:Mt.checked,[`${et}-wrapper-disabled`]:Mt.disabled,[`${et}-wrapper-rtl`]:Nn==="rtl",[`${et}-wrapper-in-form-item`]:Bn},fn==null?void 0:fn.className,Fe,ie,Pt);return lt(Ne.createElement(rt.Z,{component:"Radio",disabled:Mt.disabled},Ne.createElement("label",{className:$t,style:Object.assign(Object.assign({},fn==null?void 0:fn.style),se),onMouseEnter:je.onMouseEnter,onMouseLeave:je.onMouseLeave},Ne.createElement(_e.Z,Object.assign({},Mt,{className:Me()(Mt.className,!vt&&ht.A),type:"radio",prefixCls:et,ref:Cn})),ae!==void 0?Ne.createElement("span",null,ae):null)))};var Lt=Ne.forwardRef(xt);const Re=Ne.forwardRef((je,at)=>{const{getPrefixCls:Yt,direction:Vt}=Ne.useContext(Le.E_),[St,Qt]=(0,Ue.Z)(je.defaultValue,{value:je.value}),cn=Bt=>{const nn=St,tn=Bt.target.value;"value"in je||Qt(tn);const{onChange:zt}=je;zt&&tn!==nn&&zt(Bt)},{prefixCls:Nn,className:fn,rootClassName:Ln,options:Cn,buttonStyle:Bn="outline",disabled:gn,children:Se,size:Fe,style:ie,id:ae,onMouseEnter:se,onMouseLeave:oe,onFocus:Ye,onBlur:vt}=je,et=Yt("radio",Nn),lt=`${et}-group`,[Pt,Mt]=$e(et);let kt=Se;Cn&&Cn.length>0&&(kt=Cn.map(Bt=>typeof Bt=="string"||typeof Bt=="number"?Ne.createElement(Lt,{key:Bt.toString(),prefixCls:et,disabled:gn,value:Bt,checked:St===Bt},Bt):Ne.createElement(Lt,{key:`radio-group-value-options-${Bt.value}`,prefixCls:et,disabled:Bt.disabled||gn,value:Bt.value,checked:St===Bt.value,title:Bt.title,style:Bt.style},Bt.label)));const $t=(0,ve.Z)(Fe),Sn=Me()(lt,`${lt}-${Bn}`,{[`${lt}-${$t}`]:$t,[`${lt}-rtl`]:Vt==="rtl"},fn,Ln,Mt);return Pt(Ne.createElement("div",Object.assign({},(0,At.Z)(je,{aria:!0,data:!0}),{className:Sn,style:ie,onMouseEnter:se,onMouseLeave:oe,onFocus:Ye,onBlur:vt,id:ae,ref:at}),Ne.createElement(we,{value:{onChange:cn,value:St,disabled:je.disabled,name:je.name,optionType:je.optionType}},kt)))});var Rt=Ne.memo(Re),Ft=function(je,at){var Yt={};for(var Vt in je)Object.prototype.hasOwnProperty.call(je,Vt)&&at.indexOf(Vt)<0&&(Yt[Vt]=je[Vt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(je);St{const{getPrefixCls:Yt}=Ne.useContext(Le.E_),{prefixCls:Vt}=je,St=Ft(je,["prefixCls"]),Qt=Yt("radio",Vt);return Ne.createElement(Be,{value:"button"},Ne.createElement(Lt,Object.assign({prefixCls:Qt},St,{type:"radio",ref:at})))};var Tt=Ne.forwardRef(bt);const wt=Lt;wt.Button=Tt,wt.Group=Rt,wt.__ANT_RADIO=!0;var it=wt},13570:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return je}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},At=Ue,Ne=ce(85221),Le=function(Yt,Vt){return Me.createElement(Ne.Z,(0,he.Z)({},Yt,{ref:Vt,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(92310),fe=ce.n(we),ze=ce(18642),Be=ce(72190),_e=ce(42244),Oe=ce(18929),He=ce(10228),ke=ce(26112);function Te(at,Yt){var Vt=at.disabled,St=at.prefixCls,Qt=at.character,cn=at.characterRender,Nn=at.index,fn=at.count,Ln=at.value,Cn=at.allowHalf,Bn=at.focused,gn=at.onHover,Se=at.onClick,Fe=function(lt){gn(lt,Nn)},ie=function(lt){Se(lt,Nn)},ae=function(lt){lt.keyCode===He.Z.ENTER&&Se(lt,Nn)},se=Nn+1,oe=new Set([St]);Ln===0&&Nn===0&&Bn?oe.add("".concat(St,"-focused")):Cn&&Ln+.5>=se&&LnNn?"true":"false","aria-posinset":Nn+1,"aria-setsize":fn,tabIndex:Vt?-1:0},Me.createElement("div",{className:"".concat(St,"-first")},Ye),Me.createElement("div",{className:"".concat(St,"-second")},Ye)));return cn&&(vt=cn(vt,at)),vt}var Pe=Me.forwardRef(Te);function Xe(){var at=Me.useRef({});function Yt(St){return at.current[St]}function Vt(St){return function(Qt){at.current[St]=Qt}}return[Yt,Vt]}function Ke(at){var Yt=at.pageXOffset,Vt="scrollLeft";if(typeof Yt!="number"){var St=at.document;Yt=St.documentElement[Vt],typeof Yt!="number"&&(Yt=St.body[Vt])}return Yt}function qe(at){var Yt,Vt,St=at.ownerDocument,Qt=St.body,cn=St&&St.documentElement,Nn=at.getBoundingClientRect();return Yt=Nn.left,Vt=Nn.top,Yt-=cn.clientLeft||Qt.clientLeft||0,Vt-=cn.clientTop||Qt.clientTop||0,{left:Yt,top:Vt}}function We(at){var Yt=qe(at),Vt=at.ownerDocument,St=Vt.defaultView||Vt.parentWindow;return Yt.left+=Ke(St),Yt.left}var Ze=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function $e(at,Yt){var Vt,St=at.prefixCls,Qt=St===void 0?"rc-rate":St,cn=at.className,Nn=at.defaultValue,fn=at.value,Ln=at.count,Cn=Ln===void 0?5:Ln,Bn=at.allowHalf,gn=Bn===void 0?!1:Bn,Se=at.allowClear,Fe=Se===void 0?!0:Se,ie=at.character,ae=ie===void 0?"\u2605":ie,se=at.characterRender,oe=at.disabled,Ye=at.direction,vt=Ye===void 0?"ltr":Ye,et=at.tabIndex,lt=et===void 0?0:et,Pt=at.autoFocus,Mt=at.onHoverChange,kt=at.onChange,$t=at.onFocus,Sn=at.onBlur,Bt=at.onKeyDown,nn=at.onMouseLeave,tn=(0,_e.Z)(at,Ze),zt=Xe(),pt=(0,Be.Z)(zt,2),Wt=pt[0],vn=pt[1],xn=Me.useRef(null),Wn=function(){if(!oe){var jt;(jt=xn.current)===null||jt===void 0||jt.focus()}};Me.useImperativeHandle(Yt,function(){return{focus:Wn,blur:function(){if(!oe){var jt;(jt=xn.current)===null||jt===void 0||jt.blur()}}}});var br=(0,Oe.Z)(Nn||0,{value:fn}),Lr=(0,Be.Z)(br,2),jr=Lr[0],Qr=Lr[1],vr=(0,Oe.Z)(null),Ar=(0,Be.Z)(vr,2),Tr=Ar[0],Bi=Ar[1],$i=function(jt,on){var Mn=vt==="rtl",ir=jt+1;if(gn){var qn=Wt(jt),pr=We(qn),Gr=qn.clientWidth;(Mn&&on-pr>Gr/2||!Mn&&on-pr0&&!Mn||on===He.Z.RIGHT&&ir>0&&Mn?(gn?ir-=.5:ir-=1,mi(ir),jt.preventDefault()):on===He.Z.LEFT&&ir{const{componentCls:Yt}=at;return{[`${Yt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:at.marginXS},"> div":{transition:`all ${at.motionDurationMid}, outline 0s`,"&:hover":{transform:at.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${at.lineWidth}px dashed ${at.starColor}`,transform:at.starHoverScale}},"&-first, &-second":{color:at.starBg,transition:`all ${at.motionDurationMid}`,userSelect:"none",[at.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Yt}-star-first, &-half ${Yt}-star-second`]:{opacity:1},[`&-half ${Yt}-star-first, &-full ${Yt}-star-second`]:{color:"inherit"}}}},Ft=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),bt=at=>{const{componentCls:Yt}=at;return{[Yt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Je.Wf)(at)),{display:"inline-block",margin:0,padding:0,color:at.starColor,fontSize:at.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Yt} ${Yt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Rt(at)),{[`+ ${Yt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),Ft(at))}};var Tt=(0,Lt.Z)("Rate",at=>{const Yt=(0,Re.TS)(at,{});return[bt(Yt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),wt=function(at,Yt){var Vt={};for(var St in at)Object.prototype.hasOwnProperty.call(at,St)&&Yt.indexOf(St)<0&&(Vt[St]=at[St]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,St=Object.getOwnPropertySymbols(at);Qt{const{prefixCls:Vt,className:St,rootClassName:Qt,style:cn,tooltips:Nn,character:fn=Me.createElement(Ae,null)}=at,Ln=wt(at,["prefixCls","className","rootClassName","style","tooltips","character"]),Cn=(oe,Ye)=>{let{index:vt}=Ye;return Nn?Me.createElement(xt.Z,{title:Nn[vt]},oe):oe},{getPrefixCls:Bn,direction:gn,rate:Se}=Me.useContext(dt.E_),Fe=Bn("rate",Vt),[ie,ae]=Tt(Fe),se=Object.assign(Object.assign({},Se==null?void 0:Se.style),cn);return ie(Me.createElement(ht,Object.assign({ref:Yt,character:fn,characterRender:Cn},Ln,{className:fe()(St,Qt,ae,Se==null?void 0:Se.className),style:se,prefixCls:Fe,direction:gn})))})},57809:function(Tn,Xt,ce){"use strict";var he=ce(92310),Me=ce.n(he),Ue=ce(77861),At=ce(2738),Ne=ce(59301),Le=ce(53487),ve=ce(62892),Ae=ce(19080),we=ce(36355),fe=ce(1684),ze=ce(93891),Be=ce(19716),_e=ce(32441),Oe=ce(33234),He=ce(14154),ke=ce(58582),Te=ce(84443),Pe=ce(66339),Xe=function($e,rt){var ht={};for(var dt in $e)Object.prototype.hasOwnProperty.call($e,dt)&&rt.indexOf(dt)<0&&(ht[dt]=$e[dt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,dt=Object.getOwnPropertySymbols($e);xt{var ht,{prefixCls:dt,bordered:xt=!0,className:Je,rootClassName:Lt,getPopupContainer:Re,popupClassName:Rt,dropdownClassName:Ft,listHeight:bt=256,placement:Tt,listItemHeight:wt=24,size:it,disabled:je,notFoundContent:at,status:Yt,builtinPlacements:Vt,dropdownMatchSelectWidth:St,popupMatchSelectWidth:Qt,direction:cn,style:Nn,allowClear:fn}=$e,Ln=Xe($e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Cn,getPrefixCls:Bn,renderEmpty:gn,direction:Se,virtual:Fe,popupMatchSelectWidth:ie,popupOverflow:ae,select:se}=Ne.useContext(we.E_),oe=Bn("select",dt),Ye=Bn(),vt=cn!=null?cn:Se,{compactSize:et,compactItemClassnames:lt}=(0,Oe.ri)(oe,vt),[Pt,Mt]=(0,He.Z)(oe),kt=Ne.useMemo(()=>{const{mode:pa}=Ln;if(pa!=="combobox")return pa===Ke?"combobox":pa},[Ln.mode]),$t=kt==="multiple"||kt==="tags",Sn=(0,Te.Z)(Ln.suffixIcon,Ln.showArrow),Bt=(ht=Qt!=null?Qt:St)!==null&&ht!==void 0?ht:ie,{status:nn,hasFeedback:tn,isFormItemInput:zt,feedbackIcon:pt}=Ne.useContext(_e.aM),Wt=(0,Ae.F)(nn,Yt);let vn;at!==void 0?vn=at:kt==="combobox"?vn=null:vn=(gn==null?void 0:gn("Select"))||Ne.createElement(ze.Z,{componentName:"Select"});const{suffixIcon:xn,itemIcon:Wn,removeIcon:br,clearIcon:Lr}=(0,Pe.Z)(Object.assign(Object.assign({},Ln),{multiple:$t,hasFeedback:tn,feedbackIcon:pt,showSuffixIcon:Sn,prefixCls:oe,showArrow:Ln.showArrow,componentName:"Select"})),jr=fn===!0?{clearIcon:Lr}:fn,Qr=(0,At.Z)(Ln,["suffixIcon","itemIcon"]),vr=Me()(Rt||Ft,{[`${oe}-dropdown-${vt}`]:vt==="rtl"},Lt,Mt),Ar=(0,Be.Z)(pa=>{var Dr;return(Dr=it!=null?it:et)!==null&&Dr!==void 0?Dr:pa}),Tr=Ne.useContext(fe.Z),Bi=je!=null?je:Tr,$i=Me()({[`${oe}-lg`]:Ar==="large",[`${oe}-sm`]:Ar==="small",[`${oe}-rtl`]:vt==="rtl",[`${oe}-borderless`]:!xt,[`${oe}-in-form-item`]:zt},(0,Ae.Z)(oe,Wt,tn),lt,se==null?void 0:se.className,Je,Lt,Mt),mi=Ne.useMemo(()=>Tt!==void 0?Tt:vt==="rtl"?"bottomRight":"bottomLeft",[Tt,vt]),Mi=(0,ke.Z)(Vt,ae);return Pt(Ne.createElement(Ue.ZP,Object.assign({ref:rt,virtual:Fe,showSearch:se==null?void 0:se.showSearch},Qr,{style:Object.assign(Object.assign({},se==null?void 0:se.style),Nn),dropdownMatchSelectWidth:Bt,builtinPlacements:Mi,transitionName:(0,ve.m)(Ye,"slide-up",Ln.transitionName),listHeight:bt,listItemHeight:wt,mode:kt,prefixCls:oe,placement:mi,direction:vt,suffixIcon:xn,menuItemSelectedIcon:Wn,removeIcon:br,allowClear:jr,notFoundContent:vn,className:$i,getPopupContainer:Re||Cn,dropdownClassName:vr,disabled:Bi})))},We=Ne.forwardRef(qe),Ze=(0,Le.Z)(We);We.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ke,We.Option=Ue.Wx,We.OptGroup=Ue.Xo,We._InternalPanelDoNotUseOrYouWillBeFired=Ze,Xt.default=We},14154:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return We}});var he=ce(17313),Me=ce(74207),Ue=ce(37613),At=ce(83116),Ne=ce(13826),Le=ce(92899);const ve=Ze=>{const{optionHeight:$e,optionFontSize:rt,optionLineHeight:ht,optionPadding:dt}=Ze;return{position:"relative",display:"block",minHeight:$e,padding:dt,color:Ze.colorText,fontWeight:"normal",fontSize:rt,lineHeight:ht,boxSizing:"border-box"}};var we=Ze=>{const{antCls:$e,componentCls:rt}=Ze,ht=`${rt}-item`,dt=`&${$e}-slide-up-enter${$e}-slide-up-enter-active`,xt=`&${$e}-slide-up-appear${$e}-slide-up-appear-active`,Je=`&${$e}-slide-up-leave${$e}-slide-up-leave-active`,Lt=`${rt}-dropdown-placement-`;return[{[`${rt}-dropdown`]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{position:"absolute",top:-9999,zIndex:Ze.zIndexPopup,boxSizing:"border-box",padding:Ze.paddingXXS,overflow:"hidden",fontSize:Ze.fontSize,fontVariant:"initial",backgroundColor:Ze.colorBgElevated,borderRadius:Ze.borderRadiusLG,outline:"none",boxShadow:Ze.boxShadowSecondary,[` ${dt}${Lt}bottomLeft, ${xt}${Lt}bottomLeft `]:{animationName:Ne.fJ},[` ${dt}${Lt}topLeft, ${xt}${Lt}topLeft, ${dt}${Lt}topRight, ${xt}${Lt}topRight `]:{animationName:Ne.Qt},[`${Je}${Lt}bottomLeft`]:{animationName:Ne.Uw},[` ${Je}${Lt}topLeft, ${Je}${Lt}topRight `]:{animationName:Ne.ly},"&-hidden":{display:"none"},[`${ht}`]:Object.assign(Object.assign({},ve(Ze)),{cursor:"pointer",transition:`background ${Ze.motionDurationSlow} ease`,borderRadius:Ze.borderRadiusSM,"&-group":{color:Ze.colorTextDescription,fontSize:Ze.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},he.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ht}-option-disabled)`]:{backgroundColor:Ze.optionActiveBg},[`&-selected:not(${ht}-option-disabled)`]:{color:Ze.optionSelectedColor,fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg,[`${ht}-option-state`]:{color:Ze.colorPrimary}},"&-disabled":{[`&${ht}-option-selected`]:{backgroundColor:Ze.colorBgContainerDisabled},color:Ze.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Ze.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,Ne.oN)(Ze,"slide-up"),(0,Ne.oN)(Ze,"slide-down"),(0,Le.Fm)(Ze,"move-up"),(0,Le.Fm)(Ze,"move-down")]};const fe=2,ze=Ze=>{let{controlHeightSM:$e,controlHeight:rt,lineWidth:ht}=Ze;const dt=(rt-$e)/2-ht,xt=Math.ceil(dt/2);return[dt,xt]};function Be(Ze,$e){const{componentCls:rt,iconCls:ht}=Ze,dt=`${rt}-selection-overflow`,xt=Ze.multipleSelectItemHeight,[Je]=ze(Ze),Lt=$e?`${rt}-${$e}`:"";return{[`${rt}-multiple${Lt}`]:{fontSize:Ze.fontSize,[dt]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${rt}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Je-fe}px ${fe*2}px`,borderRadius:Ze.borderRadius,[`${rt}-show-search&`]:{cursor:"text"},[`${rt}-disabled&`]:{background:Ze.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${fe}px 0`,lineHeight:`${xt}px`,visibility:"hidden",content:'"\\a0"'}},[` &${rt}-show-arrow ${rt}-selector, &${rt}-allow-clear ${rt}-selector `]:{paddingInlineEnd:Ze.fontSizeIcon+Ze.controlPaddingHorizontal},[`${rt}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:xt,marginTop:fe,marginBottom:fe,lineHeight:`${xt-Ze.lineWidth*2}px`,background:Ze.multipleItemBg,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.multipleItemBorderColor}`,borderRadius:Ze.borderRadiusSM,cursor:"default",transition:`font-size ${Ze.motionDurationSlow}, line-height ${Ze.motionDurationSlow}, height ${Ze.motionDurationSlow}`,userSelect:"none",marginInlineEnd:fe*2,paddingInlineStart:Ze.paddingXS,paddingInlineEnd:Ze.paddingXS/2,[`${rt}-disabled&`]:{color:Ze.multipleItemColorDisabled,borderColor:Ze.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:Ze.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,he.Ro)()),{display:"inline-flex",alignItems:"center",color:Ze.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ht}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze.colorIconHover}})},[`${dt}-item + ${dt}-item`]:{[`${rt}-selection-search`]:{marginInlineStart:0}},[`${rt}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:Ze.inputPaddingHorizontalBase-Je,"\n &-input,\n &-mirror\n ":{height:xt,fontFamily:Ze.fontFamily,lineHeight:`${xt}px`,transition:`all ${Ze.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${rt}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:Ze.inputPaddingHorizontalBase,insetInlineEnd:Ze.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${Ze.motionDurationSlow}`}}}}var Oe=Ze=>{const{componentCls:$e}=Ze,rt=(0,Ue.TS)(Ze,{controlHeight:Ze.controlHeightSM,multipleSelectItemHeight:Ze.controlHeightXS,borderRadius:Ze.borderRadiusSM,borderRadiusSM:Ze.borderRadiusXS}),ht=(0,Ue.TS)(Ze,{fontSize:Ze.fontSizeLG,controlHeight:Ze.controlHeightLG,multipleSelectItemHeight:Ze.multipleItemHeightLG,borderRadius:Ze.borderRadiusLG,borderRadiusSM:Ze.borderRadius}),[,dt]=ze(Ze);return[Be(Ze),Be(rt,"sm"),{[`${$e}-multiple${$e}-sm`]:{[`${$e}-selection-placeholder`]:{insetInline:Ze.controlPaddingHorizontalSM-Ze.lineWidth},[`${$e}-selection-search`]:{marginInlineStart:dt}}},Be(ht,"lg")]};function He(Ze,$e){const{componentCls:rt,inputPaddingHorizontalBase:ht,borderRadius:dt}=Ze,xt=Ze.controlHeight-Ze.lineWidth*2,Je=Math.ceil(Ze.fontSize*1.25),Lt=$e?`${rt}-${$e}`:"";return{[`${rt}-single${Lt}`]:{fontSize:Ze.fontSize,[`${rt}-selector`]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{display:"flex",borderRadius:dt,[`${rt}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ht,insetInlineEnd:ht,bottom:0,"&-input":{width:"100%"}},[` ${rt}-selection-item, ${rt}-selection-placeholder `]:{padding:0,lineHeight:`${xt}px`,transition:`all ${Ze.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${xt}px`}},[`${rt}-selection-item`]:{position:"relative",userSelect:"none"},[`${rt}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${rt}-selection-item:after`,`${rt}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${rt}-show-arrow ${rt}-selection-item, &${rt}-show-arrow ${rt}-selection-placeholder `]:{paddingInlineEnd:Je},[`&${rt}-open ${rt}-selection-item`]:{color:Ze.colorTextPlaceholder},[`&:not(${rt}-customize-input)`]:{[`${rt}-selector`]:{width:"100%",height:Ze.controlHeight,padding:`0 ${ht}px`,[`${rt}-selection-search-input`]:{height:xt},"&:after":{lineHeight:`${xt}px`}}},[`&${rt}-customize-input`]:{[`${rt}-selector`]:{"&:after":{display:"none"},[`${rt}-selection-search`]:{position:"static",width:"100%"},[`${rt}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ht}px`,"&:after":{display:"none"}}}}}}}function ke(Ze){const{componentCls:$e}=Ze,rt=Ze.controlPaddingHorizontalSM-Ze.lineWidth;return[He(Ze),He((0,Ue.TS)(Ze,{controlHeight:Ze.controlHeightSM,borderRadius:Ze.borderRadiusSM}),"sm"),{[`${$e}-single${$e}-sm`]:{[`&:not(${$e}-customize-input)`]:{[`${$e}-selection-search`]:{insetInlineStart:rt,insetInlineEnd:rt},[`${$e}-selector`]:{padding:`0 ${rt}px`},[`&${$e}-show-arrow ${$e}-selection-search`]:{insetInlineEnd:rt+Ze.fontSize*1.5},[` &${$e}-show-arrow ${$e}-selection-item, &${$e}-show-arrow ${$e}-selection-placeholder `]:{paddingInlineEnd:Ze.fontSize*1.5}}}},He((0,Ue.TS)(Ze,{controlHeight:Ze.singleItemHeightLG,fontSize:Ze.fontSizeLG,borderRadius:Ze.borderRadiusLG}),"lg")]}const Te=Ze=>{const{componentCls:$e,selectorBg:rt}=Ze;return{position:"relative",backgroundColor:rt,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorBorder}`,transition:`all ${Ze.motionDurationMid} ${Ze.motionEaseInOut}`,input:{cursor:"pointer"},[`${$e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${$e}-disabled&`]:{color:Ze.colorTextDisabled,background:Ze.colorBgContainerDisabled,cursor:"not-allowed",[`${$e}-multiple&`]:{background:Ze.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Pe=function(Ze,$e){let rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ht,borderHoverColor:dt,outlineColor:xt,antCls:Je}=$e,Lt=rt?{[`${ht}-selector`]:{borderColor:dt}}:{};return{[Ze]:{[`&:not(${ht}-disabled):not(${ht}-customize-input):not(${Je}-pagination-size-changer)`]:Object.assign(Object.assign({},Lt),{[`${ht}-focused& ${ht}-selector`]:{borderColor:dt,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${xt}`,outline:0},[`&:hover ${ht}-selector`]:{borderColor:dt}})}}},Xe=Ze=>{const{componentCls:$e}=Ze;return{[`${$e}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Ke=Ze=>{const{componentCls:$e,inputPaddingHorizontalBase:rt,iconCls:ht}=Ze;return{[$e]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${$e}-customize-input) ${$e}-selector`]:Object.assign(Object.assign({},Te(Ze)),Xe(Ze)),[`${$e}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},he.vS),[`${$e}-selection-placeholder`]:Object.assign(Object.assign({},he.vS),{flex:1,color:Ze.colorTextPlaceholder,pointerEvents:"none"}),[`${$e}-arrow`]:Object.assign(Object.assign({},(0,he.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:rt,height:Ze.fontSizeIcon,marginTop:-Ze.fontSizeIcon/2,color:Ze.colorTextQuaternary,fontSize:Ze.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ht]:{verticalAlign:"top",transition:`transform ${Ze.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$e}-suffix)`]:{pointerEvents:"auto"}},[`${$e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:rt,zIndex:1,display:"inline-block",width:Ze.fontSizeIcon,height:Ze.fontSizeIcon,marginTop:-Ze.fontSizeIcon/2,color:Ze.colorTextQuaternary,fontSize:Ze.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:Ze.clearBg,cursor:"pointer",opacity:0,transition:`color ${Ze.motionDurationMid} ease, opacity ${Ze.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Ze.colorTextTertiary}},"&:hover":{[`${$e}-clear`]:{opacity:1}}}),[`${$e}-has-feedback`]:{[`${$e}-clear`]:{insetInlineEnd:rt+Ze.fontSize+Ze.paddingXS}}}},qe=Ze=>{const{componentCls:$e}=Ze;return[{[$e]:{[`&-borderless ${$e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${$e}-in-form-item`]:{width:"100%"}}},Ke(Ze),ke(Ze),Oe(Ze),we(Ze),{[`${$e}-rtl`]:{direction:"rtl"}},Pe($e,(0,Ue.TS)(Ze,{borderHoverColor:Ze.colorPrimaryHover,outlineColor:Ze.controlOutline})),Pe(`${$e}-status-error`,(0,Ue.TS)(Ze,{borderHoverColor:Ze.colorErrorHover,outlineColor:Ze.colorErrorOutline}),!0),Pe(`${$e}-status-warning`,(0,Ue.TS)(Ze,{borderHoverColor:Ze.colorWarningHover,outlineColor:Ze.colorWarningOutline}),!0),(0,Me.c)(Ze,{borderElCls:`${$e}-selector`,focusElCls:`${$e}-focused`})]};var We=(0,At.Z)("Select",(Ze,$e)=>{let{rootPrefixCls:rt}=$e;const ht=(0,Ue.TS)(Ze,{rootPrefixCls:rt,inputPaddingHorizontalBase:Ze.paddingSM-1,multipleSelectItemHeight:Ze.multipleItemHeight});return[qe(ht)]},Ze=>{const{fontSize:$e,lineHeight:rt,controlHeight:ht,controlPaddingHorizontal:dt,zIndexPopupBase:xt,colorText:Je,fontWeightStrong:Lt,controlItemBgActive:Re,controlItemBgHover:Rt,colorBgContainer:Ft,colorFillSecondary:bt,controlHeightLG:Tt,controlHeightSM:wt,colorBgContainerDisabled:it,colorTextDisabled:je}=Ze;return{zIndexPopup:xt+50,optionSelectedColor:Je,optionSelectedFontWeight:Lt,optionSelectedBg:Re,optionActiveBg:Rt,optionPadding:`${(ht-$e*rt)/2}px ${dt}px`,optionFontSize:$e,optionLineHeight:rt,optionHeight:ht,selectorBg:Ft,clearBg:Ft,singleItemHeightLG:Tt,multipleItemBg:bt,multipleItemBorderColor:"transparent",multipleItemHeight:wt,multipleItemHeightLG:ht,multipleSelectorBgDisabled:it,multipleItemColorDisabled:je,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});const he=Ue=>{const Ne={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ue==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Ne),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ne),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ne),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ne),{points:["br","tr"],offset:[0,-4]})}};function Me(Ue,At){return Ue||he(At)}},84443:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return he}});function he(Me,Ue){return Ue!==void 0?Ue:Me!==null}},66339:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(40001),Me=ce(19248),Ue=ce(99267),At=ce(84105),Ne=ce(58617),Le=ce(47472),ve=ce(59301);function Ae(we){let{suffixIcon:fe,clearIcon:ze,menuItemSelectedIcon:Be,removeIcon:_e,loading:Oe,multiple:He,hasFeedback:ke,prefixCls:Te,showSuffixIcon:Pe,feedbackIcon:Xe,showArrow:Ke,componentName:qe}=we;const We=ze!=null?ze:ve.createElement(Me.Z,null),Ze=dt=>fe===null&&!ke&&!Ke?null:ve.createElement(ve.Fragment,null,Pe!==!1&&dt,ke&&Xe);let $e=null;if(fe!==void 0)$e=Ze(fe);else if(Oe)$e=Ze(ve.createElement(Ne.Z,{spin:!0}));else{const dt=`${Te}-suffix`;$e=xt=>{let{open:Je,showSearch:Lt}=xt;return Ze(Je&&Lt?ve.createElement(Le.Z,{className:dt}):ve.createElement(At.Z,{className:dt}))}}let rt=null;Be!==void 0?rt=Be:He?rt=ve.createElement(he.Z,null):rt=null;let ht=null;return _e!==void 0?ht=_e:ht=ve.createElement(Ue.Z,null),{clearIcon:We,suffixIcon:$e,itemIcon:rt,removeIcon:ht}}},61621:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ae}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(2738),ve=se=>{const{prefixCls:oe,className:Ye,style:vt,size:et,shape:lt}=se,Pt=Me()({[`${oe}-lg`]:et==="large",[`${oe}-sm`]:et==="small"}),Mt=Me()({[`${oe}-circle`]:lt==="circle",[`${oe}-square`]:lt==="square",[`${oe}-round`]:lt==="round"}),kt=Ue.useMemo(()=>typeof et=="number"?{width:et,height:et,lineHeight:`${et}px`}:{},[et]);return Ue.createElement("span",{className:Me()(oe,Pt,Mt,Ye),style:Object.assign(Object.assign({},kt),vt)})},Ae=ce(36237),we=ce(83116),fe=ce(37613);const ze=new Ae.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Be=se=>({height:se,lineHeight:`${se}px`}),_e=se=>Object.assign({width:se},Be(se)),Oe=se=>({background:se.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ze,animationDuration:se.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),He=se=>Object.assign({width:se*5,minWidth:se*5},Be(se)),ke=se=>{const{skeletonAvatarCls:oe,gradientFromColor:Ye,controlHeight:vt,controlHeightLG:et,controlHeightSM:lt}=se;return{[`${oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye},_e(vt)),[`${oe}${oe}-circle`]:{borderRadius:"50%"},[`${oe}${oe}-lg`]:Object.assign({},_e(et)),[`${oe}${oe}-sm`]:Object.assign({},_e(lt))}},Te=se=>{const{controlHeight:oe,borderRadiusSM:Ye,skeletonInputCls:vt,controlHeightLG:et,controlHeightSM:lt,gradientFromColor:Pt}=se;return{[`${vt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:Ye},He(oe)),[`${vt}-lg`]:Object.assign({},He(et)),[`${vt}-sm`]:Object.assign({},He(lt))}},Pe=se=>Object.assign({width:se},Be(se)),Xe=se=>{const{skeletonImageCls:oe,imageSizeBase:Ye,gradientFromColor:vt,borderRadiusSM:et}=se;return{[`${oe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:vt,borderRadius:et},Pe(Ye*2)),{[`${oe}-path`]:{fill:"#bfbfbf"},[`${oe}-svg`]:Object.assign(Object.assign({},Pe(Ye)),{maxWidth:Ye*4,maxHeight:Ye*4}),[`${oe}-svg${oe}-svg-circle`]:{borderRadius:"50%"}}),[`${oe}${oe}-circle`]:{borderRadius:"50%"}}},Ke=(se,oe,Ye)=>{const{skeletonButtonCls:vt}=se;return{[`${Ye}${vt}-circle`]:{width:oe,minWidth:oe,borderRadius:"50%"},[`${Ye}${vt}-round`]:{borderRadius:oe}}},qe=se=>Object.assign({width:se*2,minWidth:se*2},Be(se)),We=se=>{const{borderRadiusSM:oe,skeletonButtonCls:Ye,controlHeight:vt,controlHeightLG:et,controlHeightSM:lt,gradientFromColor:Pt}=se;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:oe,width:vt*2,minWidth:vt*2},qe(vt))},Ke(se,vt,Ye)),{[`${Ye}-lg`]:Object.assign({},qe(et))}),Ke(se,et,`${Ye}-lg`)),{[`${Ye}-sm`]:Object.assign({},qe(lt))}),Ke(se,lt,`${Ye}-sm`))},Ze=se=>{const{componentCls:oe,skeletonAvatarCls:Ye,skeletonTitleCls:vt,skeletonParagraphCls:et,skeletonButtonCls:lt,skeletonInputCls:Pt,skeletonImageCls:Mt,controlHeight:kt,controlHeightLG:$t,controlHeightSM:Sn,gradientFromColor:Bt,padding:nn,marginSM:tn,borderRadius:zt,titleHeight:pt,blockRadius:Wt,paragraphLiHeight:vn,controlHeightXS:xn,paragraphMarginTop:Wn}=se;return{[`${oe}`]:{display:"table",width:"100%",[`${oe}-header`]:{display:"table-cell",paddingInlineEnd:nn,verticalAlign:"top",[`${Ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Bt},_e(kt)),[`${Ye}-circle`]:{borderRadius:"50%"},[`${Ye}-lg`]:Object.assign({},_e($t)),[`${Ye}-sm`]:Object.assign({},_e(Sn))},[`${oe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${vt}`]:{width:"100%",height:pt,background:Bt,borderRadius:Wt,[`+ ${et}`]:{marginBlockStart:Sn}},[`${et}`]:{padding:0,"> li":{width:"100%",height:vn,listStyle:"none",background:Bt,borderRadius:Wt,"+ li":{marginBlockStart:xn}}},[`${et}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${oe}-content`]:{[`${vt}, ${et} > li`]:{borderRadius:zt}}},[`${oe}-with-avatar ${oe}-content`]:{[`${vt}`]:{marginBlockStart:tn,[`+ ${et}`]:{marginBlockStart:Wn}}},[`${oe}${oe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},We(se)),ke(se)),Te(se)),Xe(se)),[`${oe}${oe}-block`]:{width:"100%",[`${lt}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${oe}${oe}-active`]:{[` ${vt}, ${et} > li, ${Ye}, ${lt}, ${Pt}, ${Mt} `]:Object.assign({},Oe(se))}}};var $e=(0,we.Z)("Skeleton",se=>{const{componentCls:oe}=se,Ye=(0,fe.TS)(se,{skeletonAvatarCls:`${oe}-avatar`,skeletonTitleCls:`${oe}-title`,skeletonParagraphCls:`${oe}-paragraph`,skeletonButtonCls:`${oe}-button`,skeletonInputCls:`${oe}-input`,skeletonImageCls:`${oe}-image`,imageSizeBase:se.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${se.gradientFromColor} 25%, ${se.gradientToColor} 37%, ${se.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Ze(Ye)]},se=>{const{colorFillContent:oe,colorFill:Ye}=se,vt=oe,et=Ye;return{color:vt,colorGradientEnd:et,gradientFromColor:vt,gradientToColor:et,titleHeight:se.controlHeight/2,blockRadius:se.borderRadiusSM,paragraphMarginTop:se.marginLG+se.marginXXS,paragraphLiHeight:se.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ht=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,active:et,shape:lt="circle",size:Pt="default"}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=(0,Ne.Z)(se,["prefixCls","className"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:et},Ye,vt,Sn);return $t(Ue.createElement("div",{className:nn},Ue.createElement(ve,Object.assign({prefixCls:`${kt}-avatar`,shape:lt,size:Pt},Bt))))},xt=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,active:et,block:lt=!1,size:Pt="default"}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=(0,Ne.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:et,[`${kt}-block`]:lt},Ye,vt,Sn);return $t(Ue.createElement("div",{className:nn},Ue.createElement(ve,Object.assign({prefixCls:`${kt}-button`,size:Pt},Bt))))};const Je="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 Re=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,style:et,active:lt}=se,{getPrefixCls:Pt}=Ue.useContext(At.E_),Mt=Pt("skeleton",oe),[kt,$t]=$e(Mt),Sn=Me()(Mt,`${Mt}-element`,{[`${Mt}-active`]:lt},Ye,vt,$t);return kt(Ue.createElement("div",{className:Sn},Ue.createElement("div",{className:Me()(`${Mt}-image`,Ye),style:et},Ue.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Mt}-image-svg`},Ue.createElement("path",{d:Je,className:`${Mt}-image-path`})))))},Ft=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,active:et,block:lt,size:Pt="default"}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=(0,Ne.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:et,[`${kt}-block`]:lt},Ye,vt,Sn);return $t(Ue.createElement("div",{className:nn},Ue.createElement(ve,Object.assign({prefixCls:`${kt}-input`,size:Pt},Bt))))},bt=ce(60499),Tt={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"},wt=Tt,it=ce(85221),je=function(oe,Ye){return Ue.createElement(it.Z,(0,bt.Z)({},oe,{ref:Ye,icon:wt}))},at=Ue.forwardRef(je),Yt=at,St=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,style:et,active:lt,children:Pt}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=Me()(kt,`${kt}-element`,{[`${kt}-active`]:lt},Sn,Ye,vt),nn=Pt!=null?Pt:Ue.createElement(Yt,null);return $t(Ue.createElement("div",{className:Bt},Ue.createElement("div",{className:Me()(`${kt}-image`,Ye),style:et},nn)))},Qt=ce(77654),Nn=se=>{const oe=Mt=>{const{width:kt,rows:$t=2}=se;if(Array.isArray(kt))return kt[Mt];if($t-1===Mt)return kt},{prefixCls:Ye,className:vt,style:et,rows:lt}=se,Pt=(0,Qt.Z)(Array(lt)).map((Mt,kt)=>Ue.createElement("li",{key:kt,style:{width:oe(kt)}}));return Ue.createElement("ul",{className:Me()(Ye,vt),style:et},Pt)},Ln=se=>{let{prefixCls:oe,className:Ye,width:vt,style:et}=se;return Ue.createElement("h3",{className:Me()(oe,Ye),style:Object.assign({width:vt},et)})};function Cn(se){return se&&typeof se=="object"?se:{}}function Bn(se,oe){return se&&!oe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function gn(se,oe){return!se&&oe?{width:"38%"}:se&&oe?{width:"50%"}:{}}function Se(se,oe){const Ye={};return(!se||!oe)&&(Ye.width="61%"),!se&&oe?Ye.rows=3:Ye.rows=2,Ye}const Fe=se=>{const{prefixCls:oe,loading:Ye,className:vt,rootClassName:et,style:lt,children:Pt,avatar:Mt=!1,title:kt=!0,paragraph:$t=!0,active:Sn,round:Bt}=se,{getPrefixCls:nn,direction:tn,skeleton:zt}=Ue.useContext(At.E_),pt=nn("skeleton",oe),[Wt,vn]=$e(pt);if(Ye||!("loading"in se)){const xn=!!Mt,Wn=!!kt,br=!!$t;let Lr;if(xn){const vr=Object.assign(Object.assign({prefixCls:`${pt}-avatar`},Bn(Wn,br)),Cn(Mt));Lr=Ue.createElement("div",{className:`${pt}-header`},Ue.createElement(ve,Object.assign({},vr)))}let jr;if(Wn||br){let vr;if(Wn){const Tr=Object.assign(Object.assign({prefixCls:`${pt}-title`},gn(xn,br)),Cn(kt));vr=Ue.createElement(Ln,Object.assign({},Tr))}let Ar;if(br){const Tr=Object.assign(Object.assign({prefixCls:`${pt}-paragraph`},Se(xn,Wn)),Cn($t));Ar=Ue.createElement(Nn,Object.assign({},Tr))}jr=Ue.createElement("div",{className:`${pt}-content`},vr,Ar)}const Qr=Me()(pt,{[`${pt}-with-avatar`]:xn,[`${pt}-active`]:Sn,[`${pt}-rtl`]:tn==="rtl",[`${pt}-round`]:Bt},zt==null?void 0:zt.className,vt,et,vn);return Wt(Ue.createElement("div",{className:Qr,style:Object.assign(Object.assign({},zt==null?void 0:zt.style),lt)},Lr,jr))}return typeof Pt!="undefined"?Pt:null};Fe.Button=xt,Fe.Avatar=ht,Fe.Input=Ft,Fe.Image=Re,Fe.Node=St;var ie=Fe,ae=ie},31797:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return $e}});var he=ce(59301),Me=ce(56762),Ue=ce(92343),At=ce(92310),Ne=ce.n(At),Le=ce(36355),ve=ce(61621),we=rt=>{const{value:ht,formatter:dt,precision:xt,decimalSeparator:Je,groupSeparator:Lt="",prefixCls:Re}=rt;let Rt;if(typeof dt=="function")Rt=dt(ht);else{const Ft=String(ht),bt=Ft.match(/^(-?)(\d*)(\.(\d+))?$/);if(!bt||Ft==="-")Rt=Ft;else{const Tt=bt[1];let wt=bt[2]||"0",it=bt[4]||"";wt=wt.replace(/\B(?=(\d{3})+(?!\d))/g,Lt),typeof xt=="number"&&(it=it.padEnd(xt,"0").slice(0,xt>0?xt:0)),it&&(it=`${Je}${it}`),Rt=[he.createElement("span",{key:"int",className:`${Re}-content-value-int`},Tt,wt),it&&he.createElement("span",{key:"decimal",className:`${Re}-content-value-decimal`},it)]}}return he.createElement("span",{className:`${Re}-content-value`},Rt)},fe=ce(17313),ze=ce(83116),Be=ce(37613);const _e=rt=>{const{componentCls:ht,marginXXS:dt,padding:xt,colorTextDescription:Je,titleFontSize:Lt,colorTextHeading:Re,contentFontSize:Rt,fontFamily:Ft}=rt;return{[`${ht}`]:Object.assign(Object.assign({},(0,fe.Wf)(rt)),{[`${ht}-title`]:{marginBottom:dt,color:Je,fontSize:Lt},[`${ht}-skeleton`]:{paddingTop:xt},[`${ht}-content`]:{color:Re,fontSize:Rt,fontFamily:Ft,[`${ht}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ht}-content-prefix, ${ht}-content-suffix`]:{display:"inline-block"},[`${ht}-content-prefix`]:{marginInlineEnd:dt},[`${ht}-content-suffix`]:{marginInlineStart:dt}}})}};var Oe=(0,ze.Z)("Statistic",rt=>{const ht=(0,Be.TS)(rt,{});return[_e(ht)]},rt=>{const{fontSizeHeading3:ht,fontSize:dt}=rt;return{titleFontSize:dt,contentFontSize:ht}}),ke=rt=>{const{prefixCls:ht,className:dt,rootClassName:xt,style:Je,valueStyle:Lt,value:Re=0,title:Rt,valueRender:Ft,prefix:bt,suffix:Tt,loading:wt=!1,onMouseEnter:it,onMouseLeave:je,decimalSeparator:at=".",groupSeparator:Yt=","}=rt,{getPrefixCls:Vt,direction:St,statistic:Qt}=he.useContext(Le.E_),cn=Vt("statistic",ht),[Nn,fn]=Oe(cn),Ln=he.createElement(we,Object.assign({decimalSeparator:at,groupSeparator:Yt,prefixCls:cn},rt,{value:Re})),Cn=Ne()(cn,{[`${cn}-rtl`]:St==="rtl"},Qt==null?void 0:Qt.className,dt,xt,fn);return Nn(he.createElement("div",{className:Cn,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Je),onMouseEnter:it,onMouseLeave:je},Rt&&he.createElement("div",{className:`${cn}-title`},Rt),he.createElement(ve.Z,{paragraph:!1,loading:wt,className:`${cn}-skeleton`},he.createElement("div",{style:Lt,className:`${cn}-content`},bt&&he.createElement("span",{className:`${cn}-content-prefix`},bt),Ft?Ft(Ln):Ln,Tt&&he.createElement("span",{className:`${cn}-content-suffix`},Tt)))))};const Te=[["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 Pe(rt,ht){let dt=rt;const xt=/\[[^\]]*]/g,Je=(ht.match(xt)||[]).map(Ft=>Ft.slice(1,-1)),Lt=ht.replace(xt,"[]"),Re=Te.reduce((Ft,bt)=>{let[Tt,wt]=bt;if(Ft.includes(Tt)){const it=Math.floor(dt/wt);return dt-=it*wt,Ft.replace(new RegExp(`${Tt}+`,"g"),je=>{const at=je.length;return it.toString().padStart(at,"0")})}return Ft},Lt);let Rt=0;return Re.replace(xt,()=>{const Ft=Je[Rt];return Rt+=1,Ft})}function Xe(rt,ht){const{format:dt=""}=ht,xt=new Date(rt).getTime(),Je=Date.now(),Lt=Math.max(xt-Je,0);return Pe(Lt,dt)}const Ke=1e3/30;function qe(rt){return new Date(rt).getTime()}const We=rt=>{const{value:ht,format:dt="HH:mm:ss",onChange:xt,onFinish:Je}=rt,Lt=(0,Me.Z)(),Re=he.useRef(null),Rt=()=>{Je==null||Je(),Re.current&&(clearInterval(Re.current),Re.current=null)},Ft=()=>{const wt=qe(ht);wt>=Date.now()&&(Re.current=setInterval(()=>{Lt(),xt==null||xt(wt-Date.now()),wt(Ft(),()=>{Re.current&&(clearInterval(Re.current),Re.current=null)}),[ht]);const bt=(wt,it)=>Xe(wt,Object.assign(Object.assign({},it),{format:dt})),Tt=wt=>(0,Ue.Tm)(wt,{title:void 0});return he.createElement(ke,Object.assign({},rt,{valueRender:Tt,formatter:bt}))};var Ze=he.memo(We);ke.Countdown=Ze;var $e=ke},8378:function(Tn,Xt){"use strict";const ce=he=>({[he.componentCls]:{[`${he.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${he.motionDurationMid} ${he.motionEaseInOut}, opacity ${he.motionDurationMid} ${he.motionEaseInOut} !important`}},[`${he.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${he.motionDurationMid} ${he.motionEaseInOut}, opacity ${he.motionDurationMid} ${he.motionEaseInOut} !important`}}});Xt.Z=ce},92899:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Fm:function(){return Be}});var he=ce(36237),Me=ce(95406);const Ue=new he.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),At=new he.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Ne=new he.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Le=new he.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ve=new he.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ae=new he.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),we=new he.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),fe=new he.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),ze={"move-up":{inKeyframes:we,outKeyframes:fe},"move-down":{inKeyframes:Ue,outKeyframes:At},"move-left":{inKeyframes:Ne,outKeyframes:Le},"move-right":{inKeyframes:ve,outKeyframes:Ae}},Be=(_e,Oe)=>{const{antCls:He}=_e,ke=`${He}-${Oe}`,{inKeyframes:Te,outKeyframes:Pe}=ze[Oe];return[(0,Me.R)(ke,Te,Pe,_e.motionDurationMid),{[` ${ke}-enter, ${ke}-appear `]:{opacity:0,animationTimingFunction:_e.motionEaseOutCirc},[`${ke}-leave`]:{animationTimingFunction:_e.motionEaseInOutCirc}}]}},13826:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Qt:function(){return Ne},Uw:function(){return At},fJ:function(){return Ue},ly:function(){return Le},oN:function(){return Be}});var he=ce(36237),Me=ce(95406);const Ue=new he.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),At=new he.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ne=new he.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Le=new he.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ve=new he.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Ae=new he.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),we=new he.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),fe=new he.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),ze={"slide-up":{inKeyframes:Ue,outKeyframes:At},"slide-down":{inKeyframes:Ne,outKeyframes:Le},"slide-left":{inKeyframes:ve,outKeyframes:Ae},"slide-right":{inKeyframes:we,outKeyframes:fe}},Be=(_e,Oe)=>{const{antCls:He}=_e,ke=`${He}-${Oe}`,{inKeyframes:Te,outKeyframes:Pe}=ze[Oe];return[(0,Me.R)(ke,Te,Pe,_e.motionDurationMid),{[` ${ke}-enter, ${ke}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:_e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${ke}-leave`]:{animationTimingFunction:_e.motionEaseInQuint}}]}},15969:function(Tn,Xt,ce){"use strict";ce.d(Xt,{N:function(){return he}});const he=Me=>({color:Me.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Me.motionDurationSlow}`,"&:focus, &:hover":{color:Me.colorLinkHover},"&:active":{color:Me.colorLinkActive}})},78673:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Lt}});var he=ce(58617),Me=ce(92310),Ue=ce.n(Me),At=ce(60499),Ne=ce(18642),Le=ce(72190),ve=ce(42244),Ae=ce(59301),we=ce(18929),fe=ce(10228),ze=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Be=Ae.forwardRef(function(Re,Rt){var Ft,bt=Re.prefixCls,Tt=bt===void 0?"rc-switch":bt,wt=Re.className,it=Re.checked,je=Re.defaultChecked,at=Re.disabled,Yt=Re.loadingIcon,Vt=Re.checkedChildren,St=Re.unCheckedChildren,Qt=Re.onClick,cn=Re.onChange,Nn=Re.onKeyDown,fn=(0,ve.Z)(Re,ze),Ln=(0,we.Z)(!1,{value:it,defaultValue:je}),Cn=(0,Le.Z)(Ln,2),Bn=Cn[0],gn=Cn[1];function Se(se,oe){var Ye=Bn;return at||(Ye=se,gn(Ye),cn==null||cn(Ye,oe)),Ye}function Fe(se){se.which===fe.Z.LEFT?Se(!1,se):se.which===fe.Z.RIGHT&&Se(!0,se),Nn==null||Nn(se)}function ie(se){var oe=Se(!Bn,se);Qt==null||Qt(oe,se)}var ae=Ue()(Tt,wt,(Ft={},(0,Ne.Z)(Ft,"".concat(Tt,"-checked"),Bn),(0,Ne.Z)(Ft,"".concat(Tt,"-disabled"),at),Ft));return Ae.createElement("button",(0,At.Z)({},fn,{type:"button",role:"switch","aria-checked":Bn,disabled:at,className:ae,ref:Rt,onKeyDown:Fe,onClick:ie}),Yt,Ae.createElement("span",{className:"".concat(Tt,"-inner")},Ae.createElement("span",{className:"".concat(Tt,"-inner-checked")},Vt),Ae.createElement("span",{className:"".concat(Tt,"-inner-unchecked")},St)))});Be.displayName="Switch";var _e=Be,Oe=ce(14088),He=ce(36355),ke=ce(1684),Te=ce(19716),Pe=ce(64993),Xe=ce(17313),Ke=ce(83116),qe=ce(37613);const We=Re=>{const{componentCls:Rt,trackHeightSM:Ft,trackPadding:bt,trackMinWidthSM:Tt,innerMinMarginSM:wt,innerMaxMarginSM:it,handleSizeSM:je}=Re,at=`${Rt}-inner`;return{[Rt]:{[`&${Rt}-small`]:{minWidth:Tt,height:Ft,lineHeight:`${Ft}px`,[`${Rt}-inner`]:{paddingInlineStart:it,paddingInlineEnd:wt,[`${at}-checked`]:{marginInlineStart:`calc(-100% + ${je+bt*2}px - ${it*2}px)`,marginInlineEnd:`calc(100% - ${je+bt*2}px + ${it*2}px)`},[`${at}-unchecked`]:{marginTop:-Ft,marginInlineStart:0,marginInlineEnd:0}},[`${Rt}-handle`]:{width:je,height:je},[`${Rt}-loading-icon`]:{top:(je-Re.switchLoadingIconSize)/2,fontSize:Re.switchLoadingIconSize},[`&${Rt}-checked`]:{[`${Rt}-inner`]:{paddingInlineStart:wt,paddingInlineEnd:it,[`${at}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${at}-unchecked`]:{marginInlineStart:`calc(100% - ${je+bt*2}px + ${it*2}px)`,marginInlineEnd:`calc(-100% + ${je+bt*2}px - ${it*2}px)`}},[`${Rt}-handle`]:{insetInlineStart:`calc(100% - ${je+bt}px)`}},[`&:not(${Rt}-disabled):active`]:{[`&:not(${Rt}-checked) ${at}`]:{[`${at}-unchecked`]:{marginInlineStart:Re.marginXXS/2,marginInlineEnd:-Re.marginXXS/2}},[`&${Rt}-checked ${at}`]:{[`${at}-checked`]:{marginInlineStart:-Re.marginXXS/2,marginInlineEnd:Re.marginXXS/2}}}}}}},Ze=Re=>{const{componentCls:Rt,handleSize:Ft}=Re;return{[Rt]:{[`${Rt}-loading-icon${Re.iconCls}`]:{position:"relative",top:(Ft-Re.fontSize)/2,color:Re.switchLoadingIconColor,verticalAlign:"top"},[`&${Rt}-checked ${Rt}-loading-icon`]:{color:Re.switchColor}}}},$e=Re=>{const{componentCls:Rt,motion:Ft,trackPadding:bt,handleBg:Tt,handleShadow:wt,handleSize:it}=Re,je=`${Rt}-handle`;return{[Rt]:{[je]:{position:"absolute",top:bt,insetInlineStart:bt,width:it,height:it,transition:`all ${Re.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Tt,borderRadius:it/2,boxShadow:wt,transition:`all ${Re.switchDuration} ease-in-out`,content:'""'}},[`&${Rt}-checked ${je}`]:{insetInlineStart:`calc(100% - ${it+bt}px)`},[`&:not(${Rt}-disabled):active`]:Ft?{[`${je}::before`]:{insetInlineEnd:Re.switchHandleActiveInset,insetInlineStart:0},[`&${Rt}-checked ${je}::before`]:{insetInlineEnd:0,insetInlineStart:Re.switchHandleActiveInset}}:{}}}},rt=Re=>{const{componentCls:Rt,trackHeight:Ft,trackPadding:bt,innerMinMargin:Tt,innerMaxMargin:wt,handleSize:it}=Re,je=`${Rt}-inner`;return{[Rt]:{[je]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:wt,paddingInlineEnd:Tt,transition:`padding-inline-start ${Re.switchDuration} ease-in-out, padding-inline-end ${Re.switchDuration} ease-in-out`,[`${je}-checked, ${je}-unchecked`]:{display:"block",color:Re.colorTextLightSolid,fontSize:Re.fontSizeSM,transition:`margin-inline-start ${Re.switchDuration} ease-in-out, margin-inline-end ${Re.switchDuration} ease-in-out`,pointerEvents:"none"},[`${je}-checked`]:{marginInlineStart:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`,marginInlineEnd:`calc(100% - ${it+bt*2}px + ${wt*2}px)`},[`${je}-unchecked`]:{marginTop:-Ft,marginInlineStart:0,marginInlineEnd:0}},[`&${Rt}-checked ${je}`]:{paddingInlineStart:Tt,paddingInlineEnd:wt,[`${je}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${je}-unchecked`]:{marginInlineStart:`calc(100% - ${it+bt*2}px + ${wt*2}px)`,marginInlineEnd:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`}},[`&:not(${Rt}-disabled):active`]:{[`&:not(${Rt}-checked) ${je}`]:{[`${je}-unchecked`]:{marginInlineStart:bt*2,marginInlineEnd:-bt*2}},[`&${Rt}-checked ${je}`]:{[`${je}-checked`]:{marginInlineStart:-bt*2,marginInlineEnd:bt*2}}}}}},ht=Re=>{const{componentCls:Rt,trackHeight:Ft,trackMinWidth:bt}=Re;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(Re)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:bt,height:Ft,lineHeight:`${Ft}px`,verticalAlign:"middle",background:Re.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Rt}-disabled)`]:{background:Re.colorTextTertiary}}),(0,Xe.Qy)(Re)),{[`&${Rt}-checked`]:{background:Re.switchColor,[`&:hover:not(${Rt}-disabled)`]:{background:Re.colorPrimaryHover}},[`&${Rt}-loading, &${Rt}-disabled`]:{cursor:"not-allowed",opacity:Re.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Rt}-rtl`]:{direction:"rtl"}})}};var dt=(0,Ke.Z)("Switch",Re=>{const Rt=(0,qe.TS)(Re,{switchDuration:Re.motionDurationMid,switchColor:Re.colorPrimary,switchDisabledOpacity:Re.opacityLoading,switchLoadingIconSize:Re.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Re.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ht(Rt),rt(Rt),$e(Rt),Ze(Rt),We(Rt)]},Re=>{const{fontSize:Rt,lineHeight:Ft,controlHeight:bt,colorWhite:Tt}=Re,wt=Rt*Ft,it=bt/2,je=2,at=wt-je*2,Yt=it-je*2;return{trackHeight:wt,trackHeightSM:it,trackMinWidth:at*2+je*4,trackMinWidthSM:Yt*2+je*2,trackPadding:je,handleBg:Tt,handleSize:at,handleSizeSM:Yt,handleShadow:`0 2px 4px 0 ${new Pe.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:at/2,innerMaxMargin:at+je+je*2,innerMinMarginSM:Yt/2,innerMaxMarginSM:Yt+je+je*2}}),xt=function(Re,Rt){var Ft={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt{const{prefixCls:Ft,size:bt,disabled:Tt,loading:wt,className:it,rootClassName:je,style:at}=Re,Yt=xt(Re,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Vt,direction:St,switch:Qt}=Ae.useContext(He.E_),cn=Ae.useContext(ke.Z),Nn=(Tt!=null?Tt:cn)||wt,fn=Vt("switch",Ft),Ln=Ae.createElement("div",{className:`${fn}-handle`},wt&&Ae.createElement(he.Z,{className:`${fn}-loading-icon`})),[Cn,Bn]=dt(fn),gn=(0,Te.Z)(bt),Se=Ue()(Qt==null?void 0:Qt.className,{[`${fn}-small`]:gn==="small",[`${fn}-loading`]:wt,[`${fn}-rtl`]:St==="rtl"},it,je,Bn),Fe=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),at);return Cn(Ae.createElement(Oe.Z,{component:"Switch"},Ae.createElement(_e,Object.assign({},Yt,{prefixCls:fn,className:Se,style:Fe,disabled:Nn,ref:Rt,loadingIcon:Ln}))))});Je.__ANT_SWITCH=!0;var Lt=Je},1710:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return ip}});var he={},Me="rc-table-internal-hook",Ue=ce(72190),At=ce(6089),Ne=ce(34280),Le=ce(13697),ve=ce(59301),Ae=ce(4676);function we(Nt){var Ut=ve.createContext(void 0),An=function(Vn){var On=Vn.value,gr=Vn.children,fr=ve.useRef(On);fr.current=On;var ur=ve.useState(function(){return{getValue:function(){return fr.current},listeners:new Set}}),Jr=(0,Ue.Z)(ur,1),hi=Jr[0];return(0,Ne.Z)(function(){(0,Ae.unstable_batchedUpdates)(function(){hi.listeners.forEach(function(ni){ni(On)})})},[On]),ve.createElement(Ut.Provider,{value:hi},gr)};return{Context:Ut,Provider:An,defaultValue:Nt}}function fe(Nt,Ut){var An=(0,At.Z)(typeof Ut=="function"?Ut:function(ni){if(Ut===void 0)return ni;if(!Array.isArray(Ut))return ni[Ut];var qi={};return Ut.forEach(function(Qi){qi[Qi]=ni[Qi]}),qi}),En=ve.useContext(Nt==null?void 0:Nt.Context),Vn=En||{},On=Vn.listeners,gr=Vn.getValue,fr=ve.useRef();fr.current=An(En?gr():Nt==null?void 0:Nt.defaultValue);var ur=ve.useState({}),Jr=(0,Ue.Z)(ur,2),hi=Jr[1];return(0,Ne.Z)(function(){if(!En)return;function ni(qi){var Qi=An(qi);(0,Le.Z)(fr.current,Qi,!0)||hi({})}return On.add(ni),function(){On.delete(ni)}},[En]),fr.current}var ze=ce(60499),Be=ce(8654);function _e(){var Nt=ve.createContext(null);function Ut(){return ve.useContext(Nt)}function An(Vn,On){var gr=(0,Be.Yr)(Vn),fr=function(Jr,hi){var ni=gr?{ref:hi}:{},qi=ve.useRef(0),Qi=ve.useRef(Jr),Vi=Ut();return Vi!==null?ve.createElement(Vn,(0,ze.Z)({},Jr,ni)):((!On||On(Qi.current,Jr))&&(qi.current+=1),Qi.current=Jr,ve.createElement(Nt.Provider,{value:qi.current},ve.createElement(Vn,(0,ze.Z)({},Jr,ni))))};return gr?ve.forwardRef(fr):fr}function En(Vn,On){var gr=(0,Be.Yr)(Vn),fr=function(Jr,hi){var ni=gr?{ref:hi}:{};return Ut(),ve.createElement(Vn,(0,ze.Z)({},Jr,ni))};return gr?ve.memo(ve.forwardRef(fr),On):ve.memo(fr,On)}return{makeImmutable:An,responseImmutable:En,useImmutableMark:Ut}}var Oe=_e(),He=Oe.makeImmutable,ke=Oe.responseImmutable,Te=Oe.useImmutableMark,Pe=_e(),Xe=Pe.makeImmutable,Ke=Pe.responseImmutable,qe=Pe.useImmutableMark,We=we(),Ze=We;function $e(Nt,Ut){var An=ve.useRef(0);An.current+=1;var En=ve.useRef(Nt),Vn=[];Object.keys(Nt||{}).map(function(gr){var fr;(Nt==null?void 0:Nt[gr])!==((fr=En.current)===null||fr===void 0?void 0:fr[gr])&&Vn.push(gr)}),En.current=Nt;var On=ve.useRef([]);return Vn.length&&(On.current=Vn),ve.useDebugValue(An.current),ve.useDebugValue(On.current.join(", ")),Ut&&console.log("".concat(Ut,":"),An.current,On.current),An.current}var rt=null,ht=ve.memo(function(){var Nt=$e();return ve.createElement("h1",null,"Render Times: ",Nt)});ht.displayName="RenderBlock";var dt=ce(43749),xt=ce(85899),Je=ce(18642),Lt=ce(92310),Re=ce.n(Lt),Rt=ce(80547),Ft=ce(97938),bt=ce(48736),Tt=ve.createContext({renderWithProps:!1}),wt=Tt,it="RC_TABLE_KEY";function je(Nt){return Nt==null?[]:Array.isArray(Nt)?Nt:[Nt]}function at(Nt){var Ut=[],An={};return Nt.forEach(function(En){for(var Vn=En||{},On=Vn.key,gr=Vn.dataIndex,fr=On||je(gr).join("-")||it;An[fr];)fr="".concat(fr,"_next");An[fr]=!0,Ut.push(fr)}),Ut}function Yt(Nt){return Nt!=null}function Vt(Nt){return Nt&&(0,dt.Z)(Nt)==="object"&&!Array.isArray(Nt)&&!ve.isValidElement(Nt)}function St(Nt,Ut,An,En,Vn,On){var gr=ve.useContext(wt),fr=qe(),ur=(0,Rt.Z)(function(){if(Yt(En))return[En];var Jr=Ut==null||Ut===""?[]:Array.isArray(Ut)?Ut:[Ut],hi=(0,Ft.Z)(Nt,Jr),ni=hi,qi=void 0;if(Vn){var Qi=Vn(hi,Nt,An);Vt(Qi)?(ni=Qi.children,qi=Qi.props,gr.renderWithProps=!0):ni=Qi}return[ni,qi]},[fr,Nt,En,Ut,Vn,An],function(Jr,hi){if(On){var ni=(0,Ue.Z)(Jr,2),qi=ni[1],Qi=(0,Ue.Z)(hi,2),Vi=Qi[1];return On(Vi,qi)}return gr.renderWithProps?!0:!(0,Le.Z)(Jr,hi,!0)});return ur}function Qt(Nt,Ut,An,En){var Vn=Nt+Ut-1;return Nt<=En&&Vn>=An}function cn(Nt,Ut){return fe(Ze,function(An){var En=Qt(Nt,Ut||1,An.hoverStartRow,An.hoverEndRow);return[En,An.onHover]})}var Nn=function(Ut){var An=Ut.ellipsis,En=Ut.rowType,Vn=Ut.children,On,gr=An===!0?{showTitle:!0}:An;return gr&&(gr.showTitle||En==="header")&&(typeof Vn=="string"||typeof Vn=="number"?On=Vn.toString():ve.isValidElement(Vn)&&typeof Vn.props.children=="string"&&(On=Vn.props.children)),On};function fn(Nt){var Ut,An,En,Vn,On,gr,fr,ur,Jr=Nt.component,hi=Nt.children,ni=Nt.ellipsis,qi=Nt.scope,Qi=Nt.prefixCls,Vi=Nt.className,ja=Nt.align,Fa=Nt.record,Ta=Nt.render,Ia=Nt.dataIndex,$a=Nt.renderIndex,Ko=Nt.shouldCellUpdate,Jo=Nt.index,Fo=Nt.rowType,ss=Nt.colSpan,_s=Nt.rowSpan,lo=Nt.fixLeft,Oo=Nt.fixRight,vo=Nt.firstFixLeft,Ba=Nt.lastFixLeft,bo=Nt.firstFixRight,is=Nt.lastFixRight,tl=Nt.appendNode,as=Nt.additionalProps,za=as===void 0?{}:as,gs=Nt.isSticky,Ns="".concat(Qi,"-cell"),jl=fe(Ze,["supportSticky","allColumnsFixedLeft"]),Ll=jl.supportSticky,ku=jl.allColumnsFixedLeft,Mu=St(Fa,Ia,$a,hi,Ta,Ko),Is=(0,Ue.Z)(Mu,2),cc=Is[0],wl=Is[1],du={},Au=typeof lo=="number"&&Ll,Ic=typeof Oo=="number"&⋘Au&&(du.position="sticky",du.left=lo),Ic&&(du.position="sticky",du.right=Oo);var wo=(Ut=(An=(En=wl==null?void 0:wl.colSpan)!==null&&En!==void 0?En:za.colSpan)!==null&&An!==void 0?An:ss)!==null&&Ut!==void 0?Ut:1,es=(Vn=(On=(gr=wl==null?void 0:wl.rowSpan)!==null&&gr!==void 0?gr:za.rowSpan)!==null&&On!==void 0?On:_s)!==null&&Vn!==void 0?Vn:1,ts=cn(Jo,es),Po=(0,Ue.Z)(ts,2),Tl=Po[0],Wo=Po[1],Ss=function(Ja){var Rc;Fa&&Wo(Jo,Jo+es-1),za==null||(Rc=za.onMouseEnter)===null||Rc===void 0||Rc.call(za,Ja)},sl=function(Ja){var Rc;Fa&&Wo(-1,-1),za==null||(Rc=za.onMouseLeave)===null||Rc===void 0||Rc.call(za,Ja)};if(wo===0||es===0)return null;var pl=(fr=za.title)!==null&&fr!==void 0?fr:Nn({rowType:Fo,ellipsis:ni,children:cc}),td=Re()(Ns,Vi,(ur={},(0,Je.Z)(ur,"".concat(Ns,"-fix-left"),Au&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-left-first"),vo&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-left-last"),Ba&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-left-all"),Ba&&ku&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-right"),Ic&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-right-first"),bo&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-right-last"),is&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-ellipsis"),ni),(0,Je.Z)(ur,"".concat(Ns,"-with-append"),tl),(0,Je.Z)(ur,"".concat(Ns,"-fix-sticky"),(Au||Ic)&&gs&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-row-hover"),!wl&&Tl),ur),za.className,wl==null?void 0:wl.className),Gu={};ja&&(Gu.textAlign=ja);var Qd=(0,xt.Z)((0,xt.Z)((0,xt.Z)((0,xt.Z)({},du),za.style),Gu),wl==null?void 0:wl.style),tc=cc;return(0,dt.Z)(tc)==="object"&&!Array.isArray(tc)&&!ve.isValidElement(tc)&&(tc=null),ni&&(Ba||bo)&&(tc=ve.createElement("span",{className:"".concat(Ns,"-content")},tc)),ve.createElement(Jr,(0,ze.Z)({},wl,za,{className:td,style:Qd,title:pl,scope:qi,onMouseEnter:Ss,onMouseLeave:sl,colSpan:wo!==1?wo:null,rowSpan:es!==1?es:null}),tl,tc)}var Ln=ve.memo(fn);function Cn(Nt,Ut,An,En,Vn,On){var gr=An[Nt]||{},fr=An[Ut]||{},ur,Jr;gr.fixed==="left"?ur=En.left[Vn==="rtl"?Ut:Nt]:fr.fixed==="right"&&(Jr=En.right[Vn==="rtl"?Nt:Ut]);var hi=!1,ni=!1,qi=!1,Qi=!1,Vi=An[Ut+1],ja=An[Nt-1],Fa=!(On!=null&&On.children);if(Vn==="rtl"){if(ur!==void 0){var Ta=ja&&ja.fixed==="left";Qi=!Ta&&Fa}else if(Jr!==void 0){var Ia=Vi&&Vi.fixed==="right";qi=!Ia&&Fa}}else if(ur!==void 0){var $a=Vi&&Vi.fixed==="left";hi=!$a&&Fa}else if(Jr!==void 0){var Ko=ja&&ja.fixed==="right";ni=!Ko&&Fa}return{fixLeft:ur,fixRight:Jr,lastFixLeft:hi,firstFixRight:ni,lastFixRight:qi,firstFixLeft:Qi,isSticky:En.isSticky}}var Bn=ve.createContext({}),gn=Bn;function Se(Nt){var Ut=Nt.className,An=Nt.index,En=Nt.children,Vn=Nt.colSpan,On=Vn===void 0?1:Vn,gr=Nt.rowSpan,fr=Nt.align,ur=fe(Ze,["prefixCls","direction"]),Jr=ur.prefixCls,hi=ur.direction,ni=ve.useContext(gn),qi=ni.scrollColumnIndex,Qi=ni.stickyOffsets,Vi=ni.flattenColumns,ja=ni.columns,Fa=An+On-1,Ta=Fa+1===qi?On+1:On,Ia=Cn(An,An+Ta-1,Vi,Qi,hi,ja==null?void 0:ja[An]);return ve.createElement(Ln,(0,ze.Z)({className:Ut,index:An,component:"td",prefixCls:Jr,record:null,dataIndex:null,align:fr,colSpan:Ta,rowSpan:gr,render:function(){return En}},Ia))}var Fe=ce(42244),ie=["children"];function ae(Nt){var Ut=Nt.children,An=(0,Fe.Z)(Nt,ie);return ve.createElement("tr",An,Ut)}function se(Nt){var Ut=Nt.children;return Ut}se.Row=ae,se.Cell=Se;var oe=se;function Ye(Nt){var Ut=Nt.children,An=Nt.stickyOffsets,En=Nt.flattenColumns,Vn=Nt.columns,On=fe(Ze,"prefixCls"),gr=En.length-1,fr=En[gr],ur=ve.useMemo(function(){return{stickyOffsets:An,flattenColumns:En,scrollColumnIndex:fr!=null&&fr.scrollbar?gr:null,columns:Vn}},[fr,En,gr,An,Vn]);return ve.createElement(gn.Provider,{value:ur},ve.createElement("tfoot",{className:"".concat(On,"-summary")},Ut))}var vt=Ke(Ye),et=oe,lt=ce(70425),Pt=ce(29301),Mt=ce(29194),kt=ce(24514),$t=ce(75152),Sn=ce(26112);function Bt(Nt,Ut,An,En,Vn,On,gr){Nt.push({record:Ut,indent:An,index:gr});var fr=On(Ut),ur=Vn==null?void 0:Vn.has(fr);if(Ut&&Array.isArray(Ut[En])&&ur)for(var Jr=0;Jr1?vo-1:0),bo=1;bo=0;fr-=1){var ur=Ut[fr],Jr=An&&An[fr],hi=Jr&&Jr[vr];if(ur||hi||gr){var ni=hi||{},qi=ni.columnType,Qi=(0,Fe.Z)(ni,Tr);Vn.unshift(ve.createElement("col",(0,ze.Z)({key:fr,style:{width:ur}},Qi))),gr=!0}}return ve.createElement("colgroup",null,Vn)}var $i=Bi,mi=ce(77654),Mi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function pa(Nt,Ut){return(0,ve.useMemo)(function(){for(var An=[],En=0;En1?"colgroup":"col":null,ellipsis:Fa.ellipsis,align:Fa.align,component:Fa.title?On:gr,prefixCls:hi,key:Qi[ja]},Ta,{additionalProps:Ia,rowType:"header"}))}))}no.displayName="HeaderRow";var Ki=no;function Co(Nt){var Ut=[];function An(gr,fr){var ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ut[ur]=Ut[ur]||[];var Jr=fr,hi=gr.filter(Boolean).map(function(ni){var qi={key:ni.key,className:ni.className||"",children:ni.title,column:ni,colStart:Jr},Qi=1,Vi=ni.children;return Vi&&Vi.length>0&&(Qi=An(Vi,Jr,ur+1).reduce(function(ja,Fa){return ja+Fa},0),qi.hasSubColumns=!0),"colSpan"in ni&&(Qi=ni.colSpan),"rowSpan"in ni&&(qi.rowSpan=ni.rowSpan),qi.colSpan=Qi,qi.colEnd=qi.colStart+Qi-1,Ut[ur].push(qi),Jr+=Qi,Qi});return hi}An(Nt,0);for(var En=Ut.length,Vn=function(fr){Ut[fr].forEach(function(ur){!("rowSpan"in ur)&&!ur.hasSubColumns&&(ur.rowSpan=En-fr)})},On=0;On1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ut=="number"?Ut:Ut.endsWith("%")?Nt*parseFloat(Ut)/100:null}function gi(Nt,Ut){return ve.useMemo(function(){if(Ut&&Ut>0){var An=0,En=0;Nt.forEach(function(Jr){var hi=Si(Ut,Jr.width);hi?An+=hi:En+=1});var Vn=Ut-An,On=En,gr=Vn/En,fr=0,ur=Nt.map(function(Jr){var hi=(0,xt.Z)({},Jr),ni=Si(Ut,hi.width);if(ni)hi.width=ni;else{var qi=Math.floor(gr);hi.width=On===1?Vn:qi,Vn-=qi,On-=1}return fr+=hi.width,hi});return[ur,fr]}return[Nt,Ut]},[Nt,Ut])}var Ea=["children"],Fn=["fixed"];function Dt(Nt){return(0,Ii.Z)(Nt).filter(function(Ut){return ve.isValidElement(Ut)}).map(function(Ut){var An=Ut.key,En=Ut.props,Vn=En.children,On=(0,Fe.Z)(En,Ea),gr=(0,xt.Z)({key:An},On);return Vn&&(gr.children=Dt(Vn)),gr})}function Gt(Nt){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Nt.filter(function(An){return An&&(0,dt.Z)(An)==="object"}).reduce(function(An,En,Vn){var On=En.fixed,gr=On===!0?"left":On,fr="".concat(Ut,"-").concat(Vn),ur=En.children;return ur&&ur.length>0?[].concat((0,mi.Z)(An),(0,mi.Z)(Gt(ur,fr).map(function(Jr){return(0,xt.Z)({fixed:gr},Jr)}))):[].concat((0,mi.Z)(An),[(0,xt.Z)((0,xt.Z)({key:fr},En),{},{fixed:gr})])},[])}function Zt(Nt){for(var Ut=!0,An=0;An=0;On-=1){var gr=Nt[On];if(Vn&&gr.fixed!=="right")Vn=!1;else if(!Vn&&gr.fixed==="right"){warning(!1,"Index ".concat(On+1," of `columns` missing `fixed='right'` prop."));break}}}function jt(Nt){return Nt.map(function(Ut){var An=Ut.fixed,En=(0,Fe.Z)(Ut,Fn),Vn=An;return An==="left"?Vn="right":An==="right"&&(Vn="left"),(0,xt.Z)({fixed:Vn},En)})}function on(Nt,Ut){var An=Nt.prefixCls,En=Nt.columns,Vn=Nt.children,On=Nt.expandable,gr=Nt.expandedKeys,fr=Nt.columnTitle,ur=Nt.getRowKey,Jr=Nt.onTriggerExpand,hi=Nt.expandIcon,ni=Nt.rowExpandable,qi=Nt.expandIconColumnIndex,Qi=Nt.direction,Vi=Nt.expandRowByClick,ja=Nt.columnWidth,Fa=Nt.fixed,Ta=Nt.scrollWidth,Ia=ve.useMemo(function(){return En||Dt(Vn)},[En,Vn]),$a=ve.useMemo(function(){if(On){var Oo,vo=Ia.slice();if(!vo.includes(he)){var Ba=qi||0;Ba>=0&&vo.splice(Ba,0,he)}var bo=vo.indexOf(he);vo=vo.filter(function(za,gs){return za!==he||gs===bo});var is=Ia[bo],tl;(Fa==="left"||Fa)&&!qi?tl="left":(Fa==="right"||Fa)&&qi===Ia.length?tl="right":tl=is?is.fixed:null;var as=(Oo={},(0,Je.Z)(Oo,vr,{className:"".concat(An,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Je.Z)(Oo,"title",fr),(0,Je.Z)(Oo,"fixed",tl),(0,Je.Z)(Oo,"className","".concat(An,"-row-expand-icon-cell")),(0,Je.Z)(Oo,"width",ja),(0,Je.Z)(Oo,"render",function(gs,Ns,jl){var Ll=ur(Ns,jl),ku=gr.has(Ll),Mu=ni?ni(Ns):!0,Is=hi({prefixCls:An,expanded:ku,expandable:Mu,record:Ns,onExpand:Jr});return Vi?ve.createElement("span",{onClick:function(wl){return wl.stopPropagation()}},Is):Is}),Oo);return vo.map(function(za){return za===he?as:za})}return Ia.filter(function(za){return za!==he})},[On,Ia,ur,gr,hi,Qi]),Ko=ve.useMemo(function(){var Oo=$a;return Ut&&(Oo=Ut(Oo)),Oo.length||(Oo=[{render:function(){return null}}]),Oo},[Ut,$a,Qi]),Jo=ve.useMemo(function(){return Qi==="rtl"?jt(Gt(Ko)):Gt(Ko)},[Ko,Qi,Ta]),Fo=gi(Jo,Ta),ss=(0,Ue.Z)(Fo,2),_s=ss[0],lo=ss[1];return[Ko,_s,lo]}var Mn=on;function ir(Nt){var Ut,An=Nt.prefixCls,En=Nt.record,Vn=Nt.onExpand,On=Nt.expanded,gr=Nt.expandable,fr="".concat(An,"-row-expand-icon");if(!gr)return ve.createElement("span",{className:Re()(fr,"".concat(An,"-row-spaced"))});var ur=function(hi){Vn(En,hi),hi.stopPropagation()};return ve.createElement("span",{className:Re()(fr,(Ut={},(0,Je.Z)(Ut,"".concat(An,"-row-expanded"),On),(0,Je.Z)(Ut,"".concat(An,"-row-collapsed"),!On),Ut)),onClick:ur})}function qn(Nt,Ut,An){var En=[];function Vn(On){(On||[]).forEach(function(gr,fr){En.push(Ut(gr,fr)),Vn(gr[An])})}return Vn(Nt),En}function pr(Nt,Ut,An){var En=Ar(Nt),Vn=En.expandIcon,On=En.expandedRowKeys,gr=En.defaultExpandedRowKeys,fr=En.defaultExpandAllRows,ur=En.expandedRowRender,Jr=En.onExpand,hi=En.onExpandedRowsChange,ni=En.childrenColumnName,qi=Vn||ir,Qi=ni||"children",Vi=ve.useMemo(function(){return ur?"row":Nt.expandable&&Nt.internalHooks===Me&&Nt.expandable.__PARENT_RENDER_ICON__||Ut.some(function(Jo){return Jo&&(0,dt.Z)(Jo)==="object"&&Jo[Qi]})?"nest":!1},[!!ur,Ut]),ja=ve.useState(function(){return gr||(fr?qn(Ut,An,Qi):[])}),Fa=(0,Ue.Z)(ja,2),Ta=Fa[0],Ia=Fa[1],$a=ve.useMemo(function(){return new Set(On||Ta||[])},[On,Ta]),Ko=ve.useCallback(function(Jo){var Fo=An(Jo,Ut.indexOf(Jo)),ss,_s=$a.has(Fo);_s?($a.delete(Fo),ss=(0,mi.Z)($a)):ss=[].concat((0,mi.Z)($a),[Fo]),Ia(ss),Jr&&Jr(!_s,Jo),hi&&hi(ss)},[An,$a,Ut,Jr,hi]);return[En,Vi,$a,qi,Qi,Ko]}function Gr(Nt,Ut,An,En){var Vn=Nt.map(function(On,gr){return Cn(gr,gr,Nt,Ut,An,En==null?void 0:En[gr])});return(0,Rt.Z)(function(){return Vn},[Vn],function(On,gr){return!(0,Le.Z)(On,gr)})}function Zr(Nt){var Ut=(0,ve.useRef)(Nt),An=(0,ve.useState)({}),En=(0,Ue.Z)(An,2),Vn=En[1],On=(0,ve.useRef)(null),gr=(0,ve.useRef)([]);function fr(ur){gr.current.push(ur);var Jr=Promise.resolve();On.current=Jr,Jr.then(function(){if(On.current===Jr){var hi=gr.current,ni=Ut.current;gr.current=[],hi.forEach(function(qi){Ut.current=qi(Ut.current)}),On.current=null,ni!==Ut.current&&Vn({})}})}return(0,ve.useEffect)(function(){return function(){On.current=null}},[]),[Ut.current,fr]}function $r(Nt){var Ut=(0,ve.useRef)(Nt||null),An=(0,ve.useRef)();function En(){window.clearTimeout(An.current)}function Vn(gr){Ut.current=gr,En(),An.current=window.setTimeout(function(){Ut.current=null,An.current=void 0},100)}function On(){return Ut.current}return(0,ve.useEffect)(function(){return En},[]),[Vn,On]}function Xn(){var Nt=ve.useState(-1),Ut=(0,Ue.Z)(Nt,2),An=Ut[0],En=Ut[1],Vn=ve.useState(-1),On=(0,Ue.Z)(Vn,2),gr=On[0],fr=On[1],ur=ve.useCallback(function(Jr,hi){En(Jr),fr(hi)},[]);return[An,gr,ur]}var Or=ce(47273),ki=(0,Or.Z)()?window:null;function vi(Nt,Ut){var An=(0,dt.Z)(Nt)==="object"?Nt:{},En=An.offsetHeader,Vn=En===void 0?0:En,On=An.offsetSummary,gr=On===void 0?0:On,fr=An.offsetScroll,ur=fr===void 0?0:fr,Jr=An.getContainer,hi=Jr===void 0?function(){return ki}:Jr,ni=hi()||ki;return ve.useMemo(function(){var qi=!!Nt;return{isSticky:qi,stickyClassName:qi?"".concat(Ut,"-sticky-holder"):"",offsetHeader:Vn,offsetSummary:gr,offsetScroll:ur,container:ni}},[ur,Vn,gr,Ut,ni])}function Zi(Nt,Ut,An){var En=(0,ve.useMemo)(function(){for(var Vn=[],On=[],gr=0,fr=0,ur=0;ur=ni&&(za=ni-qi),gr({scrollLeft:za/ni*(hi+2)}),Ia.current.x=bo.pageX},Oo=function(){if(On.current){var bo=(0,mn.os)(On.current).top,is=bo+On.current.offsetHeight,tl=ur===window?document.documentElement.scrollTop+window.innerHeight:(0,mn.os)(ur).top+ur.clientHeight;is-(0,$t.Z)()<=tl||bo>=tl-fr?Ta(function(as){return(0,xt.Z)((0,xt.Z)({},as),{},{isHiddenScrollBar:!0})}):Ta(function(as){return(0,xt.Z)((0,xt.Z)({},as),{},{isHiddenScrollBar:!1})})}},vo=function(bo){Ta(function(is){return(0,xt.Z)((0,xt.Z)({},is),{},{scrollLeft:bo/hi*ni||0})})};return ve.useImperativeHandle(An,function(){return{setScrollLeft:vo}}),ve.useEffect(function(){var Ba=(0,oa.Z)(document.body,"mouseup",ss,!1),bo=(0,oa.Z)(document.body,"mousemove",lo,!1);return Oo(),function(){Ba.remove(),bo.remove()}},[qi,Jo]),ve.useEffect(function(){var Ba=(0,oa.Z)(ur,"scroll",Oo,!1),bo=(0,oa.Z)(window,"resize",Oo,!1);return function(){Ba.remove(),bo.remove()}},[ur]),ve.useEffect(function(){Fa.isHiddenScrollBar||Ta(function(Ba){var bo=On.current;return bo?(0,xt.Z)((0,xt.Z)({},Ba),{},{scrollLeft:bo.scrollLeft/bo.scrollWidth*bo.clientWidth}):Ba})},[Fa.isHiddenScrollBar]),hi<=ni||!qi||Fa.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,$t.Z)(),width:ni,bottom:fr},className:"".concat(Jr,"-sticky-scroll")},ve.createElement("div",{onMouseDown:_s,ref:Qi,className:Re()("".concat(Jr,"-sticky-scroll-bar"),(0,Je.Z)({},"".concat(Jr,"-sticky-scroll-bar-active"),Jo)),style:{width:"".concat(qi,"px"),transform:"translate3d(".concat(Fa.scrollLeft,"px, 0, 0)")}}))},dr=ve.forwardRef(mr);function Wr(Nt){return null}var wr=Wr;function Mr(Nt){return null}var Fr=Mr,ui="rc-table",yi=[],Hi={};function Oa(){return"No Data"}function Qa(Nt){var Ut,An=(0,xt.Z)({rowKey:"key",prefixCls:ui,emptyText:Oa},Nt),En=An.prefixCls,Vn=An.className,On=An.rowClassName,gr=An.style,fr=An.data,ur=An.rowKey,Jr=An.scroll,hi=An.tableLayout,ni=An.direction,qi=An.title,Qi=An.footer,Vi=An.summary,ja=An.caption,Fa=An.id,Ta=An.showHeader,Ia=An.components,$a=An.emptyText,Ko=An.onRow,Jo=An.onHeaderRow,Fo=An.internalHooks,ss=An.transformColumns,_s=An.internalRefs,lo=An.tailor,Oo=An.sticky,vo=fr||yi,Ba=!!vo.length,bo=Fo===Me,is=ve.useCallback(function(Sl,Zl){return(0,Ft.Z)(Ia,Sl)||Zl},[Ia]),tl=ve.useMemo(function(){return typeof ur=="function"?ur:function(Sl){var Zl=Sl&&Sl[ur];return Zl}},[ur]),as=is(["body"]),za=Xn(),gs=(0,Ue.Z)(za,3),Ns=gs[0],jl=gs[1],Ll=gs[2],ku=pr(An,vo,tl),Mu=(0,Ue.Z)(ku,6),Is=Mu[0],cc=Mu[1],wl=Mu[2],du=Mu[3],Au=Mu[4],Ic=Mu[5],wo=Jr==null?void 0:Jr.x,es=ve.useState(0),ts=(0,Ue.Z)(es,2),Po=ts[0],Tl=ts[1],Wo=Mn((0,xt.Z)((0,xt.Z)((0,xt.Z)({},An),Is),{},{expandable:!!Is.expandedRowRender,columnTitle:Is.columnTitle,expandedKeys:wl,getRowKey:tl,onTriggerExpand:Ic,expandIcon:du,expandIconColumnIndex:Is.expandIconColumnIndex,direction:ni,scrollWidth:bo&&lo&&typeof wo=="number"?wo:null}),bo?ss:null),Ss=(0,Ue.Z)(Wo,3),sl=Ss[0],pl=Ss[1],td=Ss[2],Gu=td!=null?td:wo,Qd=ve.useMemo(function(){return{columns:sl,flattenColumns:pl}},[sl,pl]),tc=ve.useRef(),zd=ve.useRef(),Ja=ve.useRef(),Rc=ve.useRef(),YA=ve.useRef(),xl=ve.useState(!1),la=(0,Ue.Z)(xl,2),Wl=la[0],Cc=la[1],Iu=ve.useState(!1),ps=(0,Ue.Z)(Iu,2),$l=ps[0],Uc=ps[1],Nd=Zr(new Map),Cd=(0,Ue.Z)(Nd,2),Hc=Cd[0],Yu=Cd[1],CA=at(pl),Zc=CA.map(function(Sl){return Hc.get(Sl)}),Xu=ve.useMemo(function(){return Zc},[Zc.join("_")]),jc=xi(Xu,pl.length,ni),Nu=Jr&&Yt(Jr.y),Hu=Jr&&Yt(Gu)||!!Is.fixed,ld=Hu&&pl.some(function(Sl){var Zl=Sl.fixed;return Zl}),dA=ve.useRef(),Kd=vi(Oo,En),BA=Kd.isSticky,XA=Kd.offsetHeader,Eh=Kd.offsetSummary,Bl=Kd.offsetScroll,au=Kd.stickyClassName,Lc=Kd.container,ou=ve.useMemo(function(){return Vi==null?void 0:Vi(vo)},[Vi,vo]),Bc=(Nu||BA)&&ve.isValidElement(ou)&&ou.type===oe&&ou.props.fixed,Dc,nc,SA;Nu&&(nc={overflowY:"scroll",maxHeight:Jr.y}),Hu&&(Dc={overflowX:"auto"},Nu||(nc={overflowY:"hidden"}),SA={width:Gu===!0?"auto":Gu,minWidth:"100%"});var ah=ve.useCallback(function(Sl,Zl){(0,Mt.Z)(tc.current)&&Yu(function(Bd){if(Bd.get(Sl)!==Zl){var $A=new Map(Bd);return $A.set(Sl,Zl),$A}return Bd})},[]),EA=$r(null),FA=(0,Ue.Z)(EA,2),ml=FA[0],ju=FA[1];function AA(Sl,Zl){Zl&&(typeof Zl=="function"?Zl(Sl):Zl.scrollLeft!==Sl&&(Zl.scrollLeft=Sl,Zl.scrollLeft!==Sl&&setTimeout(function(){Zl.scrollLeft=Sl},0)))}var kA=(0,At.Z)(function(Sl){var Zl=Sl.currentTarget,Bd=Sl.scrollLeft,$A=ni==="rtl",ef=typeof Bd=="number"?Bd:Zl.scrollLeft,_0=Zl||Hi;if(!ju()||ju()===_0){var Nc;ml(_0),AA(ef,zd.current),AA(ef,Ja.current),AA(ef,YA.current),AA(ef,(Nc=dA.current)===null||Nc===void 0?void 0:Nc.setScrollLeft)}var LA=Zl||zd.current;if(LA){var I0=LA.scrollWidth,Bf=LA.clientWidth;if(I0===Bf){Cc(!1),Uc(!1);return}$A?(Cc(-ef0)):(Cc(ef>0),Uc(ef1?ja-bo:0,tl=(0,xt.Z)((0,xt.Z)((0,xt.Z)({},ss),ur),{},{flex:"0 0 ".concat(bo,"px"),width:"".concat(bo,"px"),marginRight:is,pointerEvents:"auto"}),as=ve.useMemo(function(){return hi?vo<=1:lo===0||vo===0||vo>1},[vo,lo,hi]);as?tl.visibility="hidden":hi&&(tl.height=ni==null?void 0:ni(vo));var za=as?function(){return null}:qi,gs={};return(vo===0||lo===0)&&(gs.rowSpan=1,gs.colSpan=1),ve.createElement(Ln,(0,ze.Z)({className:Re()(Vi,Jr),ellipsis:An.ellipsis,align:An.align,scope:An.rowScope,component:"div",prefixCls:Ut.prefixCls,key:$a,record:fr,index:On,renderIndex:gr,dataIndex:Qi,render:za,shouldCellUpdate:An.shouldCellUpdate},Ko,{appendNode:Jo,additionalProps:(0,xt.Z)((0,xt.Z)({},Fo),{},{style:tl},gs)}))}var Xa=ka,Pa=["data","index","className","rowKey","style","extra","getHeight"],ao=ve.forwardRef(function(Nt,Ut){var An=Nt.data,En=Nt.index,Vn=Nt.className,On=Nt.rowKey,gr=Nt.style,fr=Nt.extra,ur=Nt.getHeight,Jr=(0,Fe.Z)(Nt,Pa),hi=An.record,ni=An.indent,qi=An.index,Qi=fe(Ze,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Vi=Qi.scrollX,ja=Qi.flattenColumns,Fa=Qi.prefixCls,Ta=Qi.fixColumn,Ia=Qi.componentWidth,$a=pt(hi,On,En,ni),Ko=$a.rowSupportExpand,Jo=$a.expanded,Fo=$a.rowProps,ss=$a.expandedRowRender,_s=$a.expandedRowClassName,lo;if(Ko&&Jo){var Oo=ss(hi,En,ni+1,Jo),vo=_s==null?void 0:_s(hi,En,ni),Ba={};Ta&&(Ba={style:(0,Je.Z)({},"--virtual-width","".concat(Ia,"px"))});var bo="".concat(Fa,"-expanded-row-cell");lo=ve.createElement("div",{className:Re()("".concat(Fa,"-expanded-row"),"".concat(Fa,"-expanded-row-level-").concat(ni+1),vo)},ve.createElement(Ln,{component:"div",prefixCls:Fa,className:Re()(bo,(0,Je.Z)({},"".concat(bo,"-fixed"),Ta)),additionalProps:Ba},Oo))}var is=(0,xt.Z)((0,xt.Z)({},gr),{},{width:Vi});fr&&(is.position="absolute",is.pointerEvents="none");var tl=ve.createElement("div",(0,ze.Z)({},Fo,Jr,{ref:Ko?null:Ut,className:Re()(Vn,"".concat(Fa,"-row"),Fo==null?void 0:Fo.className,(0,Je.Z)({},"".concat(Fa,"-row-extra"),fr)),style:(0,xt.Z)((0,xt.Z)({},is),Fo==null?void 0:Fo.style)}),ja.map(function(as,za){return ve.createElement(Xa,{key:za,rowInfo:$a,column:as,colIndex:za,indent:ni,index:En,renderIndex:qi,record:hi,inverse:fr,getHeight:ur})}));return Ko?ve.createElement("div",{ref:Ut},tl,lo):tl}),us=Ke(ao),Ya=us,fi=ve.forwardRef(function(Nt,Ut){var An=Nt.data,En=Nt.onScroll,Vn=fe(Ze,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),On=Vn.flattenColumns,gr=Vn.onColumnResize,fr=Vn.getRowKey,ur=Vn.expandedKeys,Jr=Vn.prefixCls,hi=Vn.childrenColumnName,ni=Vn.emptyNode,qi=Vn.scrollX,Qi=fe(Za),Vi=Qi.scrollY,ja=Qi.listItemHeight,Fa=ve.useRef(),Ta=nn(An,hi,ur,fr),Ia=ve.useMemo(function(){var lo=0;return On.map(function(Oo){var vo=Oo.width,Ba=Oo.key;return lo+=vo,[Ba,vo,lo]})},[On]),$a=ve.useMemo(function(){return Ia.map(function(lo){return lo[2]})},[Ia]);ve.useEffect(function(){Ia.forEach(function(lo){var Oo=(0,Ue.Z)(lo,2),vo=Oo[0],Ba=Oo[1];gr(vo,Ba)})},[Ia]),ve.useImperativeHandle(Ut,function(){var lo={};return Object.defineProperty(lo,"scrollLeft",{get:function(){var vo;return((vo=Fa.current)===null||vo===void 0?void 0:vo.getScrollInfo().x)||0},set:function(vo){var Ba;(Ba=Fa.current)===null||Ba===void 0||Ba.scrollTo({left:vo})}}),lo});var Ko=function(Oo,vo){var Ba,bo=(Ba=Ta[vo])===null||Ba===void 0?void 0:Ba.record,is=Oo.onCell;if(is){var tl,as=is(bo,vo);return(tl=as==null?void 0:as.rowSpan)!==null&&tl!==void 0?tl:1}return 1},Jo=function(Oo){var vo=Oo.start,Ba=Oo.end,bo=Oo.getSize,is=Oo.offsetY;if(Ba<0)return null;for(var tl=On.filter(function(wo){return Ko(wo,vo)===0}),as=vo,za=function(es){if(tl=tl.filter(function(ts){return Ko(ts,es)===0}),!tl.length)return as=es,"break"},gs=vo;gs>=0;gs-=1){var Ns=za(gs);if(Ns==="break")break}for(var jl=On.filter(function(wo){return Ko(wo,Ba)!==1}),Ll=Ba,ku=function(es){if(jl=jl.filter(function(ts){return Ko(ts,es)!==1}),!jl.length)return Ll=Math.max(es-1,Ba),"break"},Mu=Ba;Mu1})&&cc.push(es)},du=as;du<=Ll;du+=1)var Au=wl(du);var Ic=cc.map(function(wo){var es=Ta[wo],ts=fr(es.record,wo),Po=function(Ss){var sl=wo+Ss-1,pl=fr(Ta[sl].record,sl),td=bo(ts,pl);return td.bottom-td.top},Tl=bo(ts);return ve.createElement(Ya,{key:wo,data:es,rowKey:ts,index:wo,style:{top:-is+Tl.top},extra:!0,getHeight:Po})});return Ic},Fo=ve.useMemo(function(){return{columnsOffset:$a}},[$a]),ss="".concat(Jr,"-tbody"),_s;return Ta.length?_s=ve.createElement(po.Z,{fullHeight:!1,ref:Fa,className:Re()(ss,"".concat(ss,"-virtual")),height:Vi,itemHeight:ja||24,data:Ta,itemKey:function(Oo){return fr(Oo.record)},scrollWidth:qi,onVirtualScroll:function(Oo){var vo=Oo.x;En({scrollLeft:vo})},extraRender:Jo},function(lo,Oo,vo){var Ba=fr(lo.record,Oo);return ve.createElement(Ya,(0,ze.Z)({data:lo,rowKey:Ba,index:Oo},vo))}):_s=ve.createElement("div",{className:Re()("".concat(Jr,"-placeholder"))},ve.createElement(Ln,{component:"div",prefixCls:Jr},ni)),ve.createElement(io.Provider,{value:Fo},_s)}),Rr=Ke(fi),Ra=Rr,_a=function(Ut,An){var En=An.ref,Vn=An.onScroll;return ve.createElement(Ra,{ref:En,data:Ut,onScroll:Vn})},Va=100;function Mo(Nt){var Ut=Nt.columns,An=Nt.scroll,En=Nt.prefixCls,Vn=En===void 0?ui:En,On=Nt.className,gr=Nt.listItemHeight,fr=An||{},ur=fr.x,Jr=fr.y;typeof ur!="number"&&(ur=((Ut||[]).length+1)*Va),typeof Jr!="number"&&(Jr=500);var hi=ve.useMemo(function(){return{scrollY:Jr,listItemHeight:gr}},[Jr,gr]);return ve.createElement(Za.Provider,{value:hi},ve.createElement(Da,(0,ze.Z)({},Nt,{className:Re()(On,"".concat(Vn,"-virtual")),scroll:(0,xt.Z)((0,xt.Z)({},An),{},{x:ur}),components:{body:_a},columns:Ut,internalHooks:Me,tailor:!0})))}function go(Nt){return Xe(Mo,Nt)}var As=go(),_o=null;function Js(Nt){return null}var Sa=Js;function xa(Nt){return null}var Bo=xa,So=ce(2738),Ms=ce(68031),er=ce(36355),Qs=ce(93891),fs=ce(19716),Zs=ce(8628),qs=ce(31724),ma=ce(58421),sa=ce(71418),ra=ce(70305);function ua(Nt){return function(An){let{prefixCls:En,onExpand:Vn,record:On,expanded:gr,expandable:fr}=An;const ur=`${En}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:Jr=>{Vn(On,Jr),Jr.stopPropagation()},className:Re()(ur,{[`${ur}-spaced`]:!fr,[`${ur}-expanded`]:fr&&gr,[`${ur}-collapsed`]:fr&&!gr}),"aria-label":gr?Nt.collapse:Nt.expand,"aria-expanded":gr})}}var cs=ua;function Ps(Nt,Ut){return"key"in Nt&&Nt.key!==void 0&&Nt.key!==null?Nt.key:Nt.dataIndex?Array.isArray(Nt.dataIndex)?Nt.dataIndex.join("."):Nt.dataIndex:Ut}function jo(Nt,Ut){return Ut?`${Ut}-${Nt}`:`${Nt}`}function xs(Nt,Ut){return typeof Nt=="function"?Nt(Ut):Nt}function Cs(Nt,Ut){const An=xs(Nt,Ut);return Object.prototype.toString.call(An)==="[object Object]"?"":An}var $s={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"},ru=$s,or=ce(85221),Qn=function(Ut,An){return ve.createElement(or.Z,(0,ze.Z)({},Ut,{ref:An,icon:ru}))},Nr=ve.forwardRef(Qn),Di=Nr,Io=ce(56762);function lr(Nt){const Ut=ve.useRef(Nt),An=(0,Io.Z)();return[()=>Ut.current,En=>{Ut.current=En,An()}]}var Jn=ce(3113),Un=ce(24905),cr=ce(38854),Ur=ce(64165),bi=ce(20834),xr=ce(40875),Hr=ce(5112),ji=ce(17574),Ji=ce(47472),ca=ce(92832);function Xr(Nt){let{value:Ut,onChange:An,filterSearch:En,tablePrefixCls:Vn,locale:On}=Nt;return En?ve.createElement("div",{className:`${Vn}-filter-dropdown-search`},ve.createElement(ca.default,{prefix:ve.createElement(Ji.Z,null),placeholder:On.filterSearchPlaceholder,onChange:An,value:Ut,htmlSize:1,className:`${Vn}-filter-dropdown-search-input`})):null}var Ni=Xr,ia=ce(10228);const Ma=Nt=>{const{keyCode:Ut}=Nt;Ut===ia.Z.ENTER&&Nt.stopPropagation()};var da=ve.forwardRef((Nt,Ut)=>ve.createElement("div",{className:Nt.className,onClick:An=>An.stopPropagation(),onKeyDown:Ma,ref:Ut},Nt.children));function Lo(Nt){let Ut=[];return(Nt||[]).forEach(An=>{let{value:En,children:Vn}=An;Ut.push(En),Vn&&(Ut=[].concat((0,mi.Z)(Ut),(0,mi.Z)(Lo(Vn))))}),Ut}function co(Nt){return Nt.some(Ut=>{let{children:An}=Ut;return An})}function To(Nt,Ut){return typeof Ut=="string"||typeof Ut=="number"?Ut==null?void 0:Ut.toString().toLowerCase().includes(Nt.trim().toLowerCase()):!1}function hs(Nt){let{filters:Ut,prefixCls:An,filteredKeys:En,filterMultiple:Vn,searchValue:On,filterSearch:gr}=Nt;return Ut.map((fr,ur)=>{const Jr=String(fr.value);if(fr.children)return{key:Jr||ur,label:fr.text,popupClassName:`${An}-dropdown-submenu`,children:hs({filters:fr.children,prefixCls:An,filteredKeys:En,filterMultiple:Vn,searchValue:On,filterSearch:gr})};const hi=Vn?Un.default:Hr.ZP,ni={key:fr.value!==void 0?Jr:ur,label:ve.createElement(ve.Fragment,null,ve.createElement(hi,{checked:En.includes(Jr)}),ve.createElement("span",null,fr.text))};return On.trim()?typeof gr=="function"?gr(On,fr)?ni:null:To(On,fr.text)?ni:null:ni})}function Bu(Nt){var Ut,An;const{tablePrefixCls:En,prefixCls:Vn,column:On,dropdownPrefixCls:gr,columnKey:fr,filterMultiple:ur,filterMode:Jr="menu",filterSearch:hi=!1,filterState:ni,triggerFilter:qi,locale:Qi,children:Vi,getPopupContainer:ja}=Nt,{filterDropdownOpen:Fa,onFilterDropdownOpenChange:Ta,filterResetToDefaultFilteredValue:Ia,defaultFilteredValue:$a,filterDropdownVisible:Ko,onFilterDropdownVisibleChange:Jo}=On,[Fo,ss]=ve.useState(!1),_s=!!(ni&&(!((Ut=ni.filteredKeys)===null||Ut===void 0)&&Ut.length||ni.forceFiltered)),lo=Wo=>{ss(Wo),Ta==null||Ta(Wo),Jo==null||Jo(Wo)},Oo=(An=Fa!=null?Fa:Ko)!==null&&An!==void 0?An:Fo,vo=ni==null?void 0:ni.filteredKeys,[Ba,bo]=lr(vo||[]),is=Wo=>{let{selectedKeys:Ss}=Wo;bo(Ss)},tl=(Wo,Ss)=>{let{node:sl,checked:pl}=Ss;is(ur?{selectedKeys:Wo}:{selectedKeys:pl&&sl.key?[sl.key]:[]})};ve.useEffect(()=>{Fo&&is({selectedKeys:vo||[]})},[vo]);const[as,za]=ve.useState([]),gs=Wo=>{za(Wo)},[Ns,jl]=ve.useState(""),Ll=Wo=>{const{value:Ss}=Wo.target;jl(Ss)};ve.useEffect(()=>{Fo||jl("")},[Fo]);const ku=Wo=>{const Ss=Wo&&Wo.length?Wo:null;if(Ss===null&&(!ni||!ni.filteredKeys)||(0,Le.Z)(Ss,ni==null?void 0:ni.filteredKeys,!0))return null;qi({column:On,key:fr,filteredKeys:Ss})},Mu=()=>{lo(!1),ku(Ba())},Is=function(){let{confirm:Wo,closeDropdown:Ss}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Wo&&ku([]),Ss&&lo(!1),jl(""),bo(Ia?($a||[]).map(sl=>String(sl)):[])},cc=function(){let{closeDropdown:Wo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Wo&&lo(!1),ku(Ba())},wl=Wo=>{Wo&&vo!==void 0&&bo(vo||[]),lo(Wo),!Wo&&!On.filterDropdown&&Mu()},du=Re()({[`${gr}-menu-without-submenu`]:!co(On.filters||[])}),Au=Wo=>{if(Wo.target.checked){const Ss=Lo(On==null?void 0:On.filters).map(sl=>String(sl));bo(Ss)}else bo([])},Ic=Wo=>{let{filters:Ss}=Wo;return(Ss||[]).map((sl,pl)=>{const td=String(sl.value),Gu={title:sl.text,key:sl.value!==void 0?td:pl};return sl.children&&(Gu.children=Ic({filters:sl.children})),Gu})},wo=Wo=>{var Ss;return Object.assign(Object.assign({},Wo),{text:Wo.title,value:Wo.key,children:((Ss=Wo.children)===null||Ss===void 0?void 0:Ss.map(sl=>wo(sl)))||[]})};let es;if(typeof On.filterDropdown=="function")es=On.filterDropdown({prefixCls:`${gr}-custom`,setSelectedKeys:Wo=>is({selectedKeys:Wo}),selectedKeys:Ba(),confirm:cc,clearFilters:Is,filters:On.filters,visible:Oo,close:()=>{lo(!1)}});else if(On.filterDropdown)es=On.filterDropdown;else{const Wo=Ba()||[],Ss=()=>(On.filters||[]).length===0?ve.createElement(Ur.Z,{image:Ur.Z.PRESENTED_IMAGE_SIMPLE,description:Qi.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Jr==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(Ni,{filterSearch:hi,value:Ns,onChange:Ll,tablePrefixCls:En,locale:Qi}),ve.createElement("div",{className:`${En}-filter-dropdown-tree`},ur?ve.createElement(Un.default,{checked:Wo.length===Lo(On.filters).length,indeterminate:Wo.length>0&&Wo.lengthtypeof hi=="function"?hi(Ns,wo(pl)):To(Ns,pl.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(Ni,{filterSearch:hi,value:Ns,onChange:Ll,tablePrefixCls:En,locale:Qi}),ve.createElement(bi.default,{selectable:!0,multiple:ur,prefixCls:`${gr}-menu`,className:du,onSelect:is,onDeselect:is,selectedKeys:Wo,getPopupContainer:ja,openKeys:as,onOpenChange:gs,items:hs({filters:On.filters||[],filterSearch:hi,prefixCls:Vn,filteredKeys:Ba(),filterMultiple:ur,searchValue:Ns})})),sl=()=>Ia?(0,Le.Z)(($a||[]).map(pl=>String(pl)),Wo,!0):Wo.length===0;es=ve.createElement(ve.Fragment,null,Ss(),ve.createElement("div",{className:`${Vn}-dropdown-btns`},ve.createElement(Jn.ZP,{type:"link",size:"small",disabled:sl(),onClick:()=>Is()},Qi.filterReset),ve.createElement(Jn.ZP,{type:"primary",size:"small",onClick:Mu},Qi.filterConfirm)))}On.filterDropdown&&(es=ve.createElement(xr.J,{selectable:void 0},es));const ts=()=>ve.createElement(da,{className:`${Vn}-dropdown`},es);let Po;typeof On.filterIcon=="function"?Po=On.filterIcon(_s):On.filterIcon?Po=On.filterIcon:Po=ve.createElement(Di,null);const{direction:Tl}=ve.useContext(er.E_);return ve.createElement("div",{className:`${Vn}-column`},ve.createElement("span",{className:`${En}-column-title`},Vi),ve.createElement(cr.Z,{dropdownRender:ts,trigger:["click"],open:Oo,onOpenChange:wl,getPopupContainer:ja,placement:Tl==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:Re()(`${Vn}-trigger`,{active:_s}),onClick:Wo=>{Wo.stopPropagation()}},Po)))}var gu=Bu;function Su(Nt,Ut,An){let En=[];return(Nt||[]).forEach((Vn,On)=>{var gr;const fr=jo(On,An);if(Vn.filters||"filterDropdown"in Vn||"onFilter"in Vn)if("filteredValue"in Vn){let ur=Vn.filteredValue;"filterDropdown"in Vn||(ur=(gr=ur==null?void 0:ur.map(String))!==null&&gr!==void 0?gr:ur),En.push({column:Vn,key:Ps(Vn,fr),filteredKeys:ur,forceFiltered:Vn.filtered})}else En.push({column:Vn,key:Ps(Vn,fr),filteredKeys:Ut&&Vn.defaultFilteredValue?Vn.defaultFilteredValue:void 0,forceFiltered:Vn.filtered});"children"in Vn&&(En=[].concat((0,mi.Z)(En),(0,mi.Z)(Su(Vn.children,Ut,fr))))}),En}function Cr(Nt,Ut,An,En,Vn,On,gr,fr){return An.map((ur,Jr)=>{const hi=jo(Jr,fr),{filterMultiple:ni=!0,filterMode:qi,filterSearch:Qi}=ur;let Vi=ur;if(Vi.filters||Vi.filterDropdown){const ja=Ps(Vi,hi),Fa=En.find(Ta=>{let{key:Ia}=Ta;return ja===Ia});Vi=Object.assign(Object.assign({},Vi),{title:Ta=>ve.createElement(gu,{tablePrefixCls:Nt,prefixCls:`${Nt}-filter`,dropdownPrefixCls:Ut,column:Vi,columnKey:ja,filterState:Fa,filterMultiple:ni,filterMode:qi,filterSearch:Qi,triggerFilter:On,locale:Vn,getPopupContainer:gr},xs(ur.title,Ta))})}return"children"in Vi&&(Vi=Object.assign(Object.assign({},Vi),{children:Cr(Nt,Ut,Vi.children,En,Vn,On,gr,hi)})),Vi})}function yr(Nt){const Ut={};return Nt.forEach(An=>{let{key:En,filteredKeys:Vn,column:On}=An;const{filters:gr,filterDropdown:fr}=On;if(fr)Ut[En]=Vn||null;else if(Array.isArray(Vn)){const ur=Lo(gr);Ut[En]=ur.filter(Jr=>Vn.includes(String(Jr)))}else Ut[En]=null}),Ut}function Eu(Nt,Ut){return Ut.reduce((An,En)=>{const{column:{onFilter:Vn,filters:On},filteredKeys:gr}=En;return Vn&&gr&&gr.length?An.filter(fr=>gr.some(ur=>{const Jr=Lo(On),hi=Jr.findIndex(qi=>String(qi)===String(ur)),ni=hi!==-1?Jr[hi]:ur;return Vn(ni,fr)})):An},Nt)}const mo=Nt=>Nt.flatMap(Ut=>"children"in Ut?[Ut].concat((0,mi.Z)(mo(Ut.children||[]))):[Ut]);function Qo(Nt){let{prefixCls:Ut,dropdownPrefixCls:An,mergedColumns:En,onFilterChange:Vn,getPopupContainer:On,locale:gr}=Nt;const fr=ve.useMemo(()=>mo(En||[]),[En]),[ur,Jr]=ve.useState(()=>Su(fr,!0)),hi=ve.useMemo(()=>{const Vi=Su(fr,!1);if(Vi.length===0)return Vi;let ja=!0,Fa=!0;if(Vi.forEach(Ta=>{let{filteredKeys:Ia}=Ta;Ia!==void 0?ja=!1:Fa=!1}),ja){const Ta=(fr||[]).map((Ia,$a)=>Ps(Ia,jo($a)));return ur.filter(Ia=>{let{key:$a}=Ia;return Ta.includes($a)}).map(Ia=>{const $a=fr[Ta.findIndex(Ko=>Ko===Ia.key)];return Object.assign(Object.assign({},Ia),{column:Object.assign(Object.assign({},Ia.column),$a),forceFiltered:$a.filtered})})}return Vi},[fr,ur]),ni=ve.useMemo(()=>yr(hi),[hi]),qi=Vi=>{const ja=hi.filter(Fa=>{let{key:Ta}=Fa;return Ta!==Vi.key});ja.push(Vi),Jr(ja),Vn(yr(ja),ja)};return[Vi=>Cr(Ut,An,Vi,hi,gr,qi,On),hi,ni]}var Nl=Qo;function el(Nt,Ut,An){const En=ve.useRef({});function Vn(On){if(!En.current||En.current.data!==Nt||En.current.childrenColumnName!==Ut||En.current.getRowKey!==An){let fr=function(ur){ur.forEach((Jr,hi)=>{const ni=An(Jr,hi);gr.set(ni,Jr),Jr&&typeof Jr=="object"&&Ut in Jr&&fr(Jr[Ut]||[])})};const gr=new Map;fr(Nt),En.current={data:Nt,childrenColumnName:Ut,kvMap:gr,getRowKey:An}}return En.current.kvMap.get(On)}return[Vn]}var _l=ce(50371),al=function(Nt,Ut){var An={};for(var En in Nt)Object.prototype.hasOwnProperty.call(Nt,En)&&Ut.indexOf(En)<0&&(An[En]=Nt[En]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vn=0,En=Object.getOwnPropertySymbols(Nt);Vn{const On=Nt[Vn];typeof On!="function"&&(An[Vn]=On)}),An}function fl(Nt,Ut,An){const En=An&&typeof An=="object"?An:{},{total:Vn=0}=En,On=al(En,["total"]),[gr,fr]=(0,ve.useState)(()=>({current:"defaultCurrent"in On?On.defaultCurrent:1,pageSize:"defaultPageSize"in On?On.defaultPageSize:vu})),ur=(0,_l.Z)(gr,On,{total:Vn>0?Vn:Nt}),Jr=Math.ceil((Vn||Nt)/ur.pageSize);ur.current>Jr&&(ur.current=Jr||1);const hi=(qi,Qi)=>{fr({current:qi!=null?qi:1,pageSize:Qi||ur.pageSize})},ni=(qi,Qi)=>{var Vi;An&&((Vi=An.onChange)===null||Vi===void 0||Vi.call(An,qi,Qi)),hi(qi,Qi),Ut(qi,Qi||(ur==null?void 0:ur.pageSize))};return An===!1?[{},()=>{}]:[Object.assign(Object.assign({},ur),{onChange:ni}),hi]}var kc=fl,qa=ce(84105),Ho=ce(35654),Do=ce(90782),zo=ce(71430),ys=ce(18929);const bs={},Ds="SELECT_ALL",ol="SELECT_INVERT",Vs="SELECT_NONE",Ol=[],ac=(Nt,Ut)=>{let An=[];return(Ut||[]).forEach(En=>{An.push(En),En&&typeof En=="object"&&Nt in En&&(An=[].concat((0,mi.Z)(An),(0,mi.Z)(ac(Nt,En[Nt]))))}),An};var Fu=(Nt,Ut)=>{const{preserveSelectedRowKeys:An,selectedRowKeys:En,defaultSelectedRowKeys:Vn,getCheckboxProps:On,onChange:gr,onSelect:fr,onSelectAll:ur,onSelectInvert:Jr,onSelectNone:hi,onSelectMultiple:ni,columnWidth:qi,type:Qi,selections:Vi,fixed:ja,renderCell:Fa,hideSelectAll:Ta,checkStrictly:Ia=!0}=Ut||{},{prefixCls:$a,data:Ko,pageData:Jo,getRecordByKey:Fo,getRowKey:ss,expandType:_s,childrenColumnName:lo,locale:Oo,getPopupContainer:vo}=Nt,[Ba,bo]=(0,ys.Z)(En||Vn||Ol,{value:En}),is=ve.useRef(new Map),tl=(0,ve.useCallback)(wo=>{if(An){const es=new Map;wo.forEach(ts=>{let Po=Fo(ts);!Po&&is.current.has(ts)&&(Po=is.current.get(ts)),es.set(ts,Po)}),is.current=es}},[Fo,An]);ve.useEffect(()=>{tl(Ba)},[Ba]);const{keyEntities:as}=(0,ve.useMemo)(()=>{if(Ia)return{keyEntities:null};let wo=Ko;if(An){const es=new Set(Ko.map((Po,Tl)=>ss(Po,Tl))),ts=Array.from(is.current).reduce((Po,Tl)=>{let[Wo,Ss]=Tl;return es.has(Wo)?Po:Po.concat(Ss)},[]);wo=[].concat((0,mi.Z)(wo),(0,mi.Z)(ts))}return(0,zo.I8)(wo,{externalGetKey:ss,childrenPropName:lo})},[Ko,ss,Ia,lo,An]),za=(0,ve.useMemo)(()=>ac(lo,Jo),[lo,Jo]),gs=(0,ve.useMemo)(()=>{const wo=new Map;return za.forEach((es,ts)=>{const Po=ss(es,ts),Tl=(On?On(es):null)||{};wo.set(Po,Tl)}),wo},[za,ss,On]),Ns=(0,ve.useCallback)(wo=>{var es;return!!(!((es=gs.get(ss(wo)))===null||es===void 0)&&es.disabled)},[gs,ss]),[jl,Ll]=(0,ve.useMemo)(()=>{if(Ia)return[Ba||[],[]];const{checkedKeys:wo,halfCheckedKeys:es}=(0,Do.S)(Ba,!0,as,Ns);return[wo||[],es]},[Ba,Ia,as,Ns]),ku=(0,ve.useMemo)(()=>{const wo=Qi==="radio"?jl.slice(0,1):jl;return new Set(wo)},[jl,Qi]),Mu=(0,ve.useMemo)(()=>Qi==="radio"?new Set:new Set(Ll),[Ll,Qi]),[Is,cc]=(0,ve.useState)(null);ve.useEffect(()=>{Ut||bo(Ol)},[!!Ut]);const wl=(0,ve.useCallback)((wo,es)=>{let ts,Po;tl(wo),An?(ts=wo,Po=wo.map(Tl=>is.current.get(Tl))):(ts=[],Po=[],wo.forEach(Tl=>{const Wo=Fo(Tl);Wo!==void 0&&(ts.push(Tl),Po.push(Wo))})),bo(ts),gr==null||gr(ts,Po,{type:es})},[bo,Fo,gr,An]),du=(0,ve.useCallback)((wo,es,ts,Po)=>{if(fr){const Tl=ts.map(Wo=>Fo(Wo));fr(Fo(wo),es,Tl,Po)}wl(ts,"single")},[fr,Fo,wl]),Au=(0,ve.useMemo)(()=>!Vi||Ta?null:(Vi===!0?[Ds,ol,Vs]:Vi).map(es=>es===Ds?{key:"all",text:Oo.selectionAll,onSelect(){wl(Ko.map((ts,Po)=>ss(ts,Po)).filter(ts=>{const Po=gs.get(ts);return!(Po!=null&&Po.disabled)||ku.has(ts)}),"all")}}:es===ol?{key:"invert",text:Oo.selectInvert,onSelect(){const ts=new Set(ku);Jo.forEach((Tl,Wo)=>{const Ss=ss(Tl,Wo),sl=gs.get(Ss);sl!=null&&sl.disabled||(ts.has(Ss)?ts.delete(Ss):ts.add(Ss))});const Po=Array.from(ts);Jr&&Jr(Po),wl(Po,"invert")}}:es===Vs?{key:"none",text:Oo.selectNone,onSelect(){hi==null||hi(),wl(Array.from(ku).filter(ts=>{const Po=gs.get(ts);return Po==null?void 0:Po.disabled}),"none")}}:es).map(es=>Object.assign(Object.assign({},es),{onSelect:function(){for(var ts,Po,Tl=arguments.length,Wo=new Array(Tl),Ss=0;Ss{var es;if(!Ut)return wo.filter(xl=>xl!==bs);let ts=(0,mi.Z)(wo);const Po=new Set(ku),Tl=za.map(ss).filter(xl=>!gs.get(xl).disabled),Wo=Tl.every(xl=>Po.has(xl)),Ss=Tl.some(xl=>Po.has(xl)),sl=()=>{const xl=[];Wo?Tl.forEach(Wl=>{Po.delete(Wl),xl.push(Wl)}):Tl.forEach(Wl=>{Po.has(Wl)||(Po.add(Wl),xl.push(Wl))});const la=Array.from(Po);ur==null||ur(!Wo,la.map(Wl=>Fo(Wl)),xl.map(Wl=>Fo(Wl))),wl(la,"all"),cc(null)};let pl;if(Qi!=="radio"){let xl;if(Au){const ps={getPopupContainer:vo,items:Au.map(($l,Uc)=>{const{key:Nd,text:Cd,onSelect:Hc}=$l;return{key:Nd!=null?Nd:Uc,onClick:()=>{Hc==null||Hc(Tl)},label:Cd}})};xl=ve.createElement("div",{className:`${$a}-selection-extra`},ve.createElement(cr.Z,{menu:ps,getPopupContainer:vo},ve.createElement("span",null,ve.createElement(qa.Z,null))))}const la=za.map((ps,$l)=>{const Uc=ss(ps,$l),Nd=gs.get(Uc)||{};return Object.assign({checked:Po.has(Uc)},Nd)}).filter(ps=>{let{disabled:$l}=ps;return $l}),Wl=!!la.length&&la.length===za.length,Cc=Wl&&la.every(ps=>{let{checked:$l}=ps;return $l}),Iu=Wl&&la.some(ps=>{let{checked:$l}=ps;return $l});pl=!Ta&&ve.createElement("div",{className:`${$a}-selection`},ve.createElement(Un.default,{checked:Wl?Cc:!!za.length&&Wo,indeterminate:Wl?!Cc&&Iu:!Wo&&Ss,onChange:sl,disabled:za.length===0||Wl,"aria-label":xl?"Custom selection":"Select all",skipGroup:!0}),xl)}let td;Qi==="radio"?td=(xl,la,Wl)=>{const Cc=ss(la,Wl),Iu=Po.has(Cc);return{node:ve.createElement(Hr.ZP,Object.assign({},gs.get(Cc),{checked:Iu,onClick:ps=>ps.stopPropagation(),onChange:ps=>{Po.has(Cc)||du(Cc,!0,[Cc],ps.nativeEvent)}})),checked:Iu}}:td=(xl,la,Wl)=>{var Cc;const Iu=ss(la,Wl),ps=Po.has(Iu),$l=Mu.has(Iu),Uc=gs.get(Iu);let Nd;return _s==="nest"?Nd=$l:Nd=(Cc=Uc==null?void 0:Uc.indeterminate)!==null&&Cc!==void 0?Cc:$l,{node:ve.createElement(Un.default,Object.assign({},Uc,{indeterminate:Nd,checked:ps,skipGroup:!0,onClick:Cd=>Cd.stopPropagation(),onChange:Cd=>{let{nativeEvent:Hc}=Cd;const{shiftKey:Yu}=Hc;let CA=-1,Zc=-1;if(Yu&&Ia){const Xu=new Set([Is,Iu]);Tl.some((jc,Nu)=>{if(Xu.has(jc))if(CA===-1)CA=Nu;else return Zc=Nu,!0;return!1})}if(Zc!==-1&&CA!==Zc&&Ia){const Xu=Tl.slice(CA,Zc+1),jc=[];ps?Xu.forEach(Hu=>{Po.has(Hu)&&(jc.push(Hu),Po.delete(Hu))}):Xu.forEach(Hu=>{Po.has(Hu)||(jc.push(Hu),Po.add(Hu))});const Nu=Array.from(Po);ni==null||ni(!ps,Nu.map(Hu=>Fo(Hu)),jc.map(Hu=>Fo(Hu))),wl(Nu,"multiple")}else{const Xu=jl;if(Ia){const jc=ps?(0,Ho._5)(Xu,Iu):(0,Ho.L0)(Xu,Iu);du(Iu,!ps,jc,Hc)}else{const jc=(0,Do.S)([].concat((0,mi.Z)(Xu),[Iu]),!0,as,Ns),{checkedKeys:Nu,halfCheckedKeys:Hu}=jc;let ld=Nu;if(ps){const dA=new Set(Nu);dA.delete(Iu),ld=(0,Do.S)(Array.from(dA),{checked:!1,halfCheckedKeys:Hu},as,Ns).checkedKeys}du(Iu,!ps,ld,Hc)}}cc(ps?null:Iu)}})),checked:ps}};const Gu=(xl,la,Wl)=>{const{node:Cc,checked:Iu}=td(xl,la,Wl);return Fa?Fa(Iu,la,Wl,Cc):Cc};if(!ts.includes(bs))if(ts.findIndex(xl=>{var la;return((la=xl[vr])===null||la===void 0?void 0:la.columnType)==="EXPAND_COLUMN"})===0){const[xl,...la]=ts;ts=[xl,bs].concat((0,mi.Z)(la))}else ts=[bs].concat((0,mi.Z)(ts));const Qd=ts.indexOf(bs);ts=ts.filter((xl,la)=>xl!==bs||la===Qd);const tc=ts[Qd-1],zd=ts[Qd+1];let Ja=ja;Ja===void 0&&((zd==null?void 0:zd.fixed)!==void 0?Ja=zd.fixed:(tc==null?void 0:tc.fixed)!==void 0&&(Ja=tc.fixed)),Ja&&tc&&((es=tc[vr])===null||es===void 0?void 0:es.columnType)==="EXPAND_COLUMN"&&tc.fixed===void 0&&(tc.fixed=Ja);const Rc=Re()(`${$a}-selection-col`,{[`${$a}-selection-col-with-dropdown`]:Vi&&Qi==="checkbox"}),YA={fixed:Ja,width:qi,className:`${$a}-selection-column`,title:Ut.columnTitle||pl,render:Gu,onCell:Ut.onCell,[vr]:{className:Rc}};return ts.map(xl=>xl===bs?YA:xl)},[ss,za,Ut,jl,ku,Mu,qi,Au,_s,Is,gs,ni,du,Ns]),ku]},oc=ce(89489),sc=ce(59477),wc=ce(6848);const Kl="ascend",$d="descend";function Hd(Nt){return typeof Nt.sorter=="object"&&typeof Nt.sorter.multiple=="number"?Nt.sorter.multiple:!1}function wd(Nt){return typeof Nt=="function"?Nt:Nt&&typeof Nt=="object"&&Nt.compare?Nt.compare:!1}function eA(Nt,Ut){return Ut?Nt[Nt.indexOf(Ut)+1]:Nt[0]}function Mc(Nt,Ut,An){let En=[];function Vn(On,gr){En.push({column:On,key:Ps(On,gr),multiplePriority:Hd(On),sortOrder:On.sortOrder})}return(Nt||[]).forEach((On,gr)=>{const fr=jo(gr,An);On.children?("sortOrder"in On&&Vn(On,fr),En=[].concat((0,mi.Z)(En),(0,mi.Z)(Mc(On.children,Ut,fr)))):On.sorter&&("sortOrder"in On?Vn(On,fr):Ut&&On.defaultSortOrder&&En.push({column:On,key:Ps(On,fr),multiplePriority:Hd(On),sortOrder:On.defaultSortOrder}))}),En}function bA(Nt,Ut,An,En,Vn,On,gr,fr){return(Ut||[]).map((ur,Jr)=>{const hi=jo(Jr,fr);let ni=ur;if(ni.sorter){const qi=ni.sortDirections||Vn,Qi=ni.showSorterTooltip===void 0?gr:ni.showSorterTooltip,Vi=Ps(ni,hi),ja=An.find(_s=>{let{key:lo}=_s;return lo===Vi}),Fa=ja?ja.sortOrder:null,Ta=eA(qi,Fa);let Ia;if(ur.sortIcon)Ia=ur.sortIcon({sortOrder:Fa});else{const _s=qi.includes(Kl)&&ve.createElement(sc.Z,{className:Re()(`${Nt}-column-sorter-up`,{active:Fa===Kl})}),lo=qi.includes($d)&&ve.createElement(oc.Z,{className:Re()(`${Nt}-column-sorter-down`,{active:Fa===$d})});Ia=ve.createElement("span",{className:Re()(`${Nt}-column-sorter`,{[`${Nt}-column-sorter-full`]:!!(_s&&lo)})},ve.createElement("span",{className:`${Nt}-column-sorter-inner`,"aria-hidden":"true"},_s,lo))}const{cancelSort:$a,triggerAsc:Ko,triggerDesc:Jo}=On||{};let Fo=$a;Ta===$d?Fo=Jo:Ta===Kl&&(Fo=Ko);const ss=typeof Qi=="object"?Qi:{title:Fo};ni=Object.assign(Object.assign({},ni),{className:Re()(ni.className,{[`${Nt}-column-sort`]:Fa}),title:_s=>{const lo=ve.createElement("div",{className:`${Nt}-column-sorters`},ve.createElement("span",{className:`${Nt}-column-title`},xs(ur.title,_s)),Ia);return Qi?ve.createElement(wc.Z,Object.assign({},ss),lo):lo},onHeaderCell:_s=>{const lo=ur.onHeaderCell&&ur.onHeaderCell(_s)||{},Oo=lo.onClick,vo=lo.onKeyDown;lo.onClick=is=>{En({column:ur,key:Vi,sortOrder:Ta,multiplePriority:Hd(ur)}),Oo==null||Oo(is)},lo.onKeyDown=is=>{is.keyCode===ia.Z.ENTER&&(En({column:ur,key:Vi,sortOrder:Ta,multiplePriority:Hd(ur)}),vo==null||vo(is))};const Ba=Cs(ur.title,{}),bo=Ba==null?void 0:Ba.toString();return Fa?lo["aria-sort"]=Fa==="ascend"?"ascending":"descending":lo["aria-label"]=bo||"",lo.className=Re()(lo.className,`${Nt}-column-has-sorters`),lo.tabIndex=0,ur.ellipsis&&(lo.title=(Ba!=null?Ba:"").toString()),lo}})}return"children"in ni&&(ni=Object.assign(Object.assign({},ni),{children:bA(Nt,ni.children,An,En,Vn,On,gr,hi)})),ni})}function $u(Nt){const{column:Ut,sortOrder:An}=Nt;return{column:Ut,order:An,field:Ut.dataIndex,columnKey:Ut.key}}function Id(Nt){const Ut=Nt.filter(An=>{let{sortOrder:En}=An;return En}).map($u);return Ut.length===0&&Nt.length?Object.assign(Object.assign({},$u(Nt[Nt.length-1])),{column:void 0}):Ut.length<=1?Ut[0]||{}:Ut}function yl(Nt,Ut,An){const En=Ut.slice().sort((gr,fr)=>fr.multiplePriority-gr.multiplePriority),Vn=Nt.slice(),On=En.filter(gr=>{let{column:{sorter:fr},sortOrder:ur}=gr;return wd(fr)&&ur});return On.length?Vn.sort((gr,fr)=>{for(let ur=0;ur{const fr=gr[An];return fr?Object.assign(Object.assign({},gr),{[An]:yl(fr,Ut,An)}):gr}):Vn}function bl(Nt){let{prefixCls:Ut,mergedColumns:An,onSorterChange:En,sortDirections:Vn,tableLocale:On,showSorterTooltip:gr}=Nt;const[fr,ur]=ve.useState(Mc(An,!0)),Jr=ve.useMemo(()=>{let Vi=!0;const ja=Mc(An,!1);if(!ja.length)return fr;const Fa=[];function Ta($a){Vi?Fa.push($a):Fa.push(Object.assign(Object.assign({},$a),{sortOrder:null}))}let Ia=null;return ja.forEach($a=>{Ia===null?(Ta($a),$a.sortOrder&&($a.multiplePriority===!1?Vi=!1:Ia=!0)):(Ia&&$a.multiplePriority!==!1||(Vi=!1),Ta($a))}),Fa},[An,fr]),hi=ve.useMemo(()=>{const Vi=Jr.map(ja=>{let{column:Fa,sortOrder:Ta}=ja;return{column:Fa,order:Ta}});return{sortColumns:Vi,sortColumn:Vi[0]&&Vi[0].column,sortOrder:Vi[0]&&Vi[0].order}},[Jr]);function ni(Vi){let ja;Vi.multiplePriority===!1||!Jr.length||Jr[0].multiplePriority===!1?ja=[Vi]:ja=[].concat((0,mi.Z)(Jr.filter(Fa=>{let{key:Ta}=Fa;return Ta!==Vi.key})),[Vi]),ur(ja),En(Id(ja),ja)}return[Vi=>bA(Ut,Vi,Jr,ni,Vn,On,gr),Jr,hi,()=>Id(Jr)]}function Hl(Nt,Ut){return Nt.map(An=>{const En=Object.assign({},An);return En.title=xs(An.title,Ut),"children"in En&&(En.children=Hl(En.children,Ut)),En})}function zc(Nt){return[ve.useCallback(An=>Hl(An,Nt),[Nt])]}var Ac=oo((Nt,Ut)=>{const{_renderTimes:An}=Nt,{_renderTimes:En}=Ut;return An!==En}),hd=go((Nt,Ut)=>{const{_renderTimes:An}=Nt,{_renderTimes:En}=Ut;return An!==En}),Tc=ce(64993),Ru=ce(17313),Aa=ce(83116),$o=ce(37613),rs=Nt=>{const{componentCls:Ut}=Nt,An=`${Nt.lineWidth}px ${Nt.lineType} ${Nt.tableBorderColor}`,En=(Vn,On,gr)=>({[`&${Ut}-${Vn}`]:{[`> ${Ut}-container`]:{[`> ${Ut}-content, > ${Ut}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ut}-expanded-row-fixed`]:{margin:`-${On}px -${gr+Nt.lineWidth}px`}}}}}});return{[`${Ut}-wrapper`]:{[`${Ut}${Ut}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ut}-title`]:{border:An,borderBottom:0},[`> ${Ut}-container`]:{borderInlineStart:An,borderTop:An,[` > ${Ut}-content, > ${Ut}-header, > ${Ut}-body, > ${Ut}-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:An},"> thead":{"> tr:not(:last-child) > th":{borderBottom:An},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ut}-cell-fix-right-first::after`]:{borderInlineEnd:An}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ut}-expanded-row-fixed`]:{margin:`-${Nt.tablePaddingVertical}px -${Nt.tablePaddingHorizontal+Nt.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Nt.lineWidth,bottom:0,borderInlineEnd:An,content:'""'}}}}}},[`&${Ut}-scroll-horizontal`]:{[`> ${Ut}-container > ${Ut}-body`]:{"> table > tbody":{[` > tr${Ut}-expanded-row, > tr${Ut}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},En("middle",Nt.tablePaddingVerticalMiddle,Nt.tablePaddingHorizontalMiddle)),En("small",Nt.tablePaddingVerticalSmall,Nt.tablePaddingHorizontalSmall)),{[`> ${Ut}-footer`]:{border:An,borderTop:0}}),[`${Ut}-cell`]:{[`${Ut}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Nt.lineWidth}px 0 ${Nt.lineWidth}px ${Nt.tableHeaderBg}`}},[`${Ut}-bordered ${Ut}-cell-scrollbar`]:{borderInlineEnd:An}}}},tu=Nt=>{const{componentCls:Ut}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-cell-ellipsis`]:Object.assign(Object.assign({},Ru.vS),{wordBreak:"keep-all",[` &${Ut}-cell-fix-left-last, &${Ut}-cell-fix-right-first `]:{overflow:"visible",[`${Ut}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ut}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Kc=Nt=>{const{componentCls:Ut}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-tbody > tr${Ut}-placeholder`]:{textAlign:"center",color:Nt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Nt.colorBgContainer}}}}},Pc=ce(15969),xd=Nt=>{const{componentCls:Ut,antCls:An,controlInteractiveSize:En,motionDurationSlow:Vn,lineWidth:On,paddingXS:gr,lineType:fr,tableBorderColor:ur,tableExpandIconBg:Jr,tableExpandColumnWidth:hi,borderRadius:ni,fontSize:qi,fontSizeSM:Qi,lineHeight:Vi,tablePaddingVertical:ja,tablePaddingHorizontal:Fa,tableExpandedRowBg:Ta,paddingXXS:Ia}=Nt,$a=En/2-On,Ko=$a*2+On*3,Jo=`${On}px ${fr} ${ur}`,Fo=Ia-On;return{[`${Ut}-wrapper`]:{[`${Ut}-expand-icon-col`]:{width:hi},[`${Ut}-row-expand-icon-cell`]:{textAlign:"center",[`${Ut}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ut}-row-indent`]:{height:1,float:"left"},[`${Ut}-row-expand-icon`]:Object.assign(Object.assign({},(0,Pc.N)(Nt)),{position:"relative",float:"left",boxSizing:"border-box",width:Ko,height:Ko,padding:0,color:"inherit",lineHeight:`${Ko}px`,background:Jr,border:Jo,borderRadius:ni,transform:`scale(${En/Ko})`,transition:`all ${Vn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Vn} ease-out`,content:'""'},"&::before":{top:$a,insetInlineEnd:Fo,insetInlineStart:Fo,height:On},"&::after":{top:Fo,bottom:Fo,insetInlineStart:$a,width:On,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"}}),[`${Ut}-row-indent + ${Ut}-row-expand-icon`]:{marginTop:(qi*Vi-On*3)/2-Math.ceil((Qi*1.4-On*3)/2),marginInlineEnd:gr},[`tr${Ut}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ta}},[`${An}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ut}-expanded-row-fixed`]:{position:"relative",margin:`-${ja}px -${Fa}px`,padding:`${ja}px ${Fa}px`}}}},Ld=Nt=>{const{componentCls:Ut,antCls:An,iconCls:En,tableFilterDropdownWidth:Vn,tableFilterDropdownSearchWidth:On,paddingXXS:gr,paddingXS:fr,colorText:ur,lineWidth:Jr,lineType:hi,tableBorderColor:ni,tableHeaderIconColor:qi,fontSizeSM:Qi,tablePaddingHorizontal:Vi,borderRadius:ja,motionDurationSlow:Fa,colorTextDescription:Ta,colorPrimary:Ia,tableHeaderFilterActiveBg:$a,colorTextDisabled:Ko,tableFilterDropdownBg:Jo,tableFilterDropdownHeight:Fo,controlItemBgHover:ss,controlItemBgActive:_s,boxShadowSecondary:lo,filterDropdownMenuBg:Oo}=Nt,vo=`${An}-dropdown`,Ba=`${Ut}-filter-dropdown`,bo=`${An}-tree`,is=`${Jr}px ${hi} ${ni}`;return[{[`${Ut}-wrapper`]:{[`${Ut}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ut}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-gr,marginInline:`${gr}px ${-Vi/2}px`,padding:`0 ${gr}px`,color:qi,fontSize:Qi,borderRadius:ja,cursor:"pointer",transition:`all ${Fa}`,"&:hover":{color:Ta,background:$a},"&.active":{color:Ia}}}},{[`${An}-dropdown`]:{[Ba]:Object.assign(Object.assign({},(0,Ru.Wf)(Nt)),{minWidth:Vn,backgroundColor:Jo,borderRadius:ja,boxShadow:lo,overflow:"hidden",[`${vo}-menu`]:{maxHeight:Fo,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Oo,"&:empty::after":{display:"block",padding:`${fr}px 0`,color:Ko,fontSize:Qi,textAlign:"center",content:'"Not Found"'}},[`${Ba}-tree`]:{paddingBlock:`${fr}px 0`,paddingInline:fr,[bo]:{padding:0},[`${bo}-treenode ${bo}-node-content-wrapper:hover`]:{backgroundColor:ss},[`${bo}-treenode-checkbox-checked ${bo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:_s}}},[`${Ba}-search`]:{padding:fr,borderBottom:is,"&-input":{input:{minWidth:On},[En]:{color:Ko}}},[`${Ba}-checkall`]:{width:"100%",marginBottom:gr,marginInlineStart:gr},[`${Ba}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${fr-Jr}px ${fr}px`,overflow:"hidden",borderTop:is}})}},{[`${An}-dropdown ${Ba}, ${Ba}-submenu`]:{[`${An}-checkbox-wrapper + span`]:{paddingInlineStart:fr,color:ur},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Du=Nt=>{const{componentCls:Ut,lineWidth:An,colorSplit:En,motionDurationSlow:Vn,zIndexTableFixed:On,tableBg:gr,zIndexTableSticky:fr}=Nt,ur=En;return{[`${Ut}-wrapper`]:{[` ${Ut}-cell-fix-left, ${Ut}-cell-fix-right `]:{position:"sticky !important",zIndex:On,background:gr},[` ${Ut}-cell-fix-left-first::after, ${Ut}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-An,width:30,transform:"translateX(100%)",transition:`box-shadow ${Vn}`,content:'""',pointerEvents:"none"},[`${Ut}-cell-fix-left-all::after`]:{display:"none"},[` ${Ut}-cell-fix-right-first::after, ${Ut}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-An,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Vn}`,content:'""',pointerEvents:"none"},[`${Ut}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:fr+1,width:30,transition:`box-shadow ${Vn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ut}-ping-left`]:{[`&:not(${Ut}-has-fix-left) ${Ut}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${ur}`}},[` ${Ut}-cell-fix-left-first::after, ${Ut}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${ur}`},[`${Ut}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ut}-ping-right`]:{[`&:not(${Ut}-has-fix-right) ${Ut}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${ur}`}},[` ${Ut}-cell-fix-right-first::after, ${Ut}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${ur}`}}}}},Jl=Nt=>{const{componentCls:Ut,antCls:An}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-pagination${An}-pagination`]:{margin:`${Nt.margin}px 0`},[`${Ut}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Nt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},fc=Nt=>{const{componentCls:Ut,tableRadius:An}=Nt;return{[`${Ut}-wrapper`]:{[Ut]:{[`${Ut}-title, ${Ut}-header`]:{borderRadius:`${An}px ${An}px 0 0`},[`${Ut}-title + ${Ut}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ut}-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:An,borderStartEndRadius:An,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:An},"> *:last-child":{borderStartEndRadius:An}}},"&-footer":{borderRadius:`0 0 ${An}px ${An}px`}}}}},_c=Nt=>{const{componentCls:Ut}=Nt;return{[`${Ut}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ut}-pagination-left`]:{justifyContent:"flex-end"},[`${Ut}-pagination-right`]:{justifyContent:"flex-start"},[`${Ut}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ut}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ut}-row-indent`]:{float:"right"}}}}},Wc=Nt=>{const{componentCls:Ut,antCls:An,iconCls:En,fontSizeIcon:Vn,padding:On,paddingXS:gr,tableHeaderIconColor:fr,tableHeaderIconColorHover:ur,tableSelectionColumnWidth:Jr}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-selection-col`]:{width:Jr,[`&${Ut}-selection-col-with-dropdown`]:{width:Jr+Vn+On/4}},[`${Ut}-bordered ${Ut}-selection-col`]:{width:Jr+gr*2,[`&${Ut}-selection-col-with-dropdown`]:{width:Jr+Vn+On/4+gr*2}},[` table tr th${Ut}-selection-column, table tr td${Ut}-selection-column `]:{paddingInlineEnd:Nt.paddingXS,paddingInlineStart:Nt.paddingXS,textAlign:"center",[`${An}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ut}-selection-column${Ut}-cell-fix-left`]:{zIndex:Nt.zIndexTableFixed+1},[`table tr th${Ut}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ut}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ut}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Nt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Nt.tablePaddingHorizontal/4}px`,[En]:{color:fr,fontSize:Vn,verticalAlign:"baseline","&:hover":{color:ur}}}}}},jd=Nt=>{const{componentCls:Ut}=Nt,An=(En,Vn,On,gr)=>({[`${Ut}${Ut}-${En}`]:{fontSize:gr,[` ${Ut}-title, ${Ut}-footer, ${Ut}-cell, ${Ut}-thead > tr > th, ${Ut}-tbody > tr > th, ${Ut}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${Vn}px ${On}px`},[`${Ut}-filter-trigger`]:{marginInlineEnd:`-${On/2}px`},[`${Ut}-expanded-row-fixed`]:{margin:`-${Vn}px -${On}px`},[`${Ut}-tbody`]:{[`${Ut}-wrapper:only-child ${Ut}`]:{marginBlock:`-${Vn}px`,marginInline:`${Nt.tableExpandColumnWidth-On}px -${On}px`}},[`${Ut}-selection-column`]:{paddingInlineStart:`${On/4}px`}}});return{[`${Ut}-wrapper`]:Object.assign(Object.assign({},An("middle",Nt.tablePaddingVerticalMiddle,Nt.tablePaddingHorizontalMiddle,Nt.tableFontSizeMiddle)),An("small",Nt.tablePaddingVerticalSmall,Nt.tablePaddingHorizontalSmall,Nt.tableFontSizeSmall))}},od=Nt=>{const{componentCls:Ut,marginXXS:An,fontSizeIcon:En,tableHeaderIconColor:Vn,tableHeaderIconColorHover:On}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-thead th${Ut}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Nt.motionDurationSlow}`,"&:hover":{background:Nt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Nt.colorPrimary},[` &${Ut}-cell-fix-left:hover, &${Ut}-cell-fix-right:hover `]:{background:Nt.tableFixedHeaderSortActiveBg}},[`${Ut}-thead th${Ut}-column-sort`]:{background:Nt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ut}-column-sort`]:{background:Nt.tableBodySortBg},[`${Ut}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ut}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ut}-column-sorter`]:{marginInlineStart:An,color:Vn,fontSize:0,transition:`color ${Nt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:En,"&.active":{color:Nt.colorPrimary}},[`${Ut}-column-sorter-up + ${Ut}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ut}-column-sorters:hover ${Ut}-column-sorter`]:{color:On}}}},xc=Nt=>{const{componentCls:Ut,opacityLoading:An,tableScrollThumbBg:En,tableScrollThumbBgHover:Vn,tableScrollThumbSize:On,tableScrollBg:gr,zIndexTableSticky:fr,stickyScrollBarBorderRadius:ur}=Nt,Jr=`${Nt.lineWidth}px ${Nt.lineType} ${Nt.tableBorderColor}`;return{[`${Ut}-wrapper`]:{[`${Ut}-sticky`]:{"&-holder":{position:"sticky",zIndex:fr,background:Nt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${On}px !important`,zIndex:fr,display:"flex",alignItems:"center",background:gr,borderTop:Jr,opacity:An,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:On,backgroundColor:En,borderRadius:ur,transition:`all ${Nt.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Vn}}}}}}},uA=Nt=>{const{componentCls:Ut,lineWidth:An,tableBorderColor:En}=Nt,Vn=`${An}px ${Nt.lineType} ${En}`;return{[`${Ut}-wrapper`]:{[`${Ut}-summary`]:{position:"relative",zIndex:Nt.zIndexTableFixed,background:Nt.tableBg,"> tr":{"> th, > td":{borderBottom:Vn}}},[`div${Ut}-summary`]:{boxShadow:`0 -${An}px 0 ${En}`}}}},GA=Nt=>{const{componentCls:Ut}=Nt,An=`${Nt.lineWidth}px ${Nt.lineType} ${Nt.tableBorderColor}`,En=`${Ut}-expanded-row-cell`;return{[`${Ut}-wrapper`]:{[`${Ut}-tbody-virtual`]:{[`${Ut}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ut}-cell`]:{borderBottom:An},[`${Ut}-expanded-row`]:{[`${En}${En}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Nt.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ut}-bordered`]:{[`${Ut}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:An,position:"absolute"},[`${Ut}-cell`]:{borderInlineEnd:An,[`&${Ut}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Nt.lineWidth,borderInlineStart:An}}}}}}};const sd=Nt=>{const{componentCls:Ut,fontWeightStrong:An,tablePaddingVertical:En,tablePaddingHorizontal:Vn,lineWidth:On,lineType:gr,tableBorderColor:fr,tableFontSize:ur,tableBg:Jr,tableRadius:hi,tableHeaderTextColor:ni,motionDurationMid:qi,tableHeaderBg:Qi,tableHeaderCellSplitColor:Vi,tableRowHoverBg:ja,tableSelectedRowBg:Fa,tableSelectedRowHoverBg:Ta,tableFooterTextColor:Ia,tableFooterBg:$a,paddingContentVerticalLG:Ko}=Nt,Jo=`${On}px ${gr} ${fr}`;return{[`${Ut}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ru.dF)()),{[Ut]:Object.assign(Object.assign({},(0,Ru.Wf)(Nt)),{fontSize:ur,background:Jr,borderRadius:`${hi}px ${hi}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${hi}px ${hi}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${Ut}-cell, ${Ut}-thead > tr > th, ${Ut}-tbody > tr > th, ${Ut}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${Ko}px ${Vn}px`,overflowWrap:"break-word"},[`${Ut}-title`]:{padding:`${En}px ${Vn}px`},[`${Ut}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ni,fontWeight:An,textAlign:"start",background:Qi,borderBottom:Jo,transition:`background ${qi} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ut}-selection-column):not(${Ut}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Vi,transform:"translateY(-50%)",transition:`background-color ${qi}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ut}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${qi}, border-color ${qi}`,borderBottom:Jo,[` > ${Ut}-wrapper:only-child, > ${Ut}-expanded-row-fixed > ${Ut}-wrapper:only-child `]:{[Ut]:{marginBlock:`-${En}px`,marginInline:`${Nt.tableExpandColumnWidth-Vn}px -${Vn}px`,[`${Ut}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ni,fontWeight:An,textAlign:"start",background:Qi,borderBottom:Jo,transition:`background ${qi} ease`},[` &${Ut}-row:hover > th, &${Ut}-row:hover > td, > th${Ut}-cell-row-hover, > td${Ut}-cell-row-hover `]:{background:ja},[`&${Ut}-row-selected`]:{"> th, > td":{background:Fa},"&:hover > th, &:hover > td":{background:Ta}}}},[`${Ut}-footer`]:{padding:`${En}px ${Vn}px`,color:Ia,background:$a}})}};var xA=(0,Aa.Z)("Table",Nt=>{const{colorTextHeading:Ut,colorSplit:An,colorIcon:En,colorIconHover:Vn,opacityLoading:On,colorBgContainer:gr,controlInteractiveSize:fr,headerBg:ur,headerColor:Jr,headerSortActiveBg:hi,headerSortHoverBg:ni,bodySortBg:qi,rowHoverBg:Qi,rowSelectedBg:Vi,rowSelectedHoverBg:ja,rowExpandedBg:Fa,cellPaddingBlock:Ta,cellPaddingInline:Ia,cellPaddingBlockMD:$a,cellPaddingInlineMD:Ko,cellPaddingBlockSM:Jo,cellPaddingInlineSM:Fo,borderColor:ss,footerBg:_s,footerColor:lo,headerBorderRadius:Oo,cellFontSize:vo,cellFontSizeMD:Ba,cellFontSizeSM:bo,headerSplitColor:is,fixedHeaderSortActiveBg:tl,headerFilterHoverBg:as,filterDropdownBg:za,expandIconBg:gs,selectionColumnWidth:Ns,stickyScrollBarBg:jl}=Nt,Ll=new Tc.C(En),ku=new Tc.C(Vn),Mu=2,Is=(0,$o.TS)(Nt,{tableFontSize:vo,tableBg:gr,tableRadius:Oo,tablePaddingVertical:Ta,tablePaddingHorizontal:Ia,tablePaddingVerticalMiddle:$a,tablePaddingHorizontalMiddle:Ko,tablePaddingVerticalSmall:Jo,tablePaddingHorizontalSmall:Fo,tableBorderColor:ss,tableHeaderTextColor:Jr,tableHeaderBg:ur,tableFooterTextColor:lo,tableFooterBg:_s,tableHeaderCellSplitColor:is,tableHeaderSortBg:hi,tableHeaderSortHoverBg:ni,tableHeaderIconColor:Ll.clone().setAlpha(Ll.getAlpha()*On).toRgbString(),tableHeaderIconColorHover:ku.clone().setAlpha(ku.getAlpha()*On).toRgbString(),tableBodySortBg:qi,tableFixedHeaderSortActiveBg:tl,tableHeaderFilterActiveBg:as,tableFilterDropdownBg:za,tableRowHoverBg:Qi,tableSelectedRowBg:Vi,tableSelectedRowHoverBg:ja,zIndexTableFixed:Mu,zIndexTableSticky:Mu+1,tableFontSizeMiddle:Ba,tableFontSizeSmall:bo,tableSelectionColumnWidth:Ns,tableExpandIconBg:gs,tableExpandColumnWidth:fr+2*Nt.padding,tableExpandedRowBg:Fa,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:jl,tableScrollThumbBgHover:Ut,tableScrollBg:An});return[sd(Is),Jl(Is),uA(Is),od(Is),Ld(Is),rs(Is),fc(Is),xd(Is),uA(Is),Kc(Is),Wc(Is),Du(Is),xc(Is),tu(Is),jd(Is),_c(Is),GA(Is)]},Nt=>{const{colorFillAlter:Ut,colorBgContainer:An,colorTextHeading:En,colorFillSecondary:Vn,colorFillContent:On,controlItemBgActive:gr,controlItemBgActiveHover:fr,padding:ur,paddingSM:Jr,paddingXS:hi,colorBorderSecondary:ni,borderRadiusLG:qi,fontSize:Qi,controlHeight:Vi,colorTextPlaceholder:ja}=Nt,Fa=new Tc.C(Vn).onBackground(An).toHexShortString(),Ta=new Tc.C(On).onBackground(An).toHexShortString(),Ia=new Tc.C(Ut).onBackground(An).toHexShortString();return{headerBg:Ia,headerColor:En,headerSortActiveBg:Fa,headerSortHoverBg:Ta,bodySortBg:Ia,rowHoverBg:Ia,rowSelectedBg:gr,rowSelectedHoverBg:fr,rowExpandedBg:Ut,cellPaddingBlock:ur,cellPaddingInline:ur,cellPaddingBlockMD:Jr,cellPaddingInlineMD:hi,cellPaddingBlockSM:hi,cellPaddingInlineSM:hi,borderColor:ni,headerBorderRadius:qi,footerBg:Ia,footerColor:En,cellFontSize:Qi,cellFontSizeMD:Qi,cellFontSizeSM:Qi,headerSplitColor:ni,fixedHeaderSortActiveBg:Fa,headerFilterHoverBg:On,filterDropdownMenuBg:An,filterDropdownBg:An,expandIconBg:An,selectionColumnWidth:Vi,stickyScrollBarBg:ja,stickyScrollBarBorderRadius:100}});const ih=[],bf=(Nt,Ut)=>{const{prefixCls:An,className:En,rootClassName:Vn,style:On,size:gr,bordered:fr,dropdownPrefixCls:ur,dataSource:Jr,pagination:hi,rowSelection:ni,rowKey:qi="key",rowClassName:Qi,columns:Vi,children:ja,childrenColumnName:Fa,onChange:Ta,getPopupContainer:Ia,loading:$a,expandIcon:Ko,expandable:Jo,expandedRowRender:Fo,expandIconColumnIndex:ss,indentSize:_s,scroll:lo,sortDirections:Oo,locale:vo,showSorterTooltip:Ba=!0,virtual:bo}=Nt,is=ve.useMemo(()=>Vi||Dt(ja),[Vi,ja]),tl=ve.useMemo(()=>is.some(Bl=>Bl.responsive),[is]),as=(0,Zs.Z)(tl),za=ve.useMemo(()=>{const Bl=new Set(Object.keys(as).filter(au=>as[au]));return is.filter(au=>!au.responsive||au.responsive.some(Lc=>Bl.has(Lc)))},[is,as]),gs=(0,So.Z)(Nt,["className","style","columns"]),{locale:Ns=qs.Z,direction:jl,table:Ll,renderEmpty:ku,getPrefixCls:Mu,getPopupContainer:Is}=ve.useContext(er.E_),cc=(0,fs.Z)(gr),wl=Object.assign(Object.assign({},Ns.Table),vo),du=Jr||ih,Au=Mu("table",An),Ic=Mu("dropdown",ur),wo=Object.assign({childrenColumnName:Fa,expandIconColumnIndex:ss},Jo),{childrenColumnName:es="children"}=wo,ts=ve.useMemo(()=>du.some(Bl=>Bl==null?void 0:Bl[es])?"nest":Fo||Jo&&Jo.expandedRowRender?"row":null,[du]),Po={body:ve.useRef()},Tl=ve.useMemo(()=>typeof qi=="function"?qi:Bl=>Bl==null?void 0:Bl[qi],[qi]),[Wo]=el(du,es,Tl),Ss={},sl=function(Bl,au){let Lc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ou,Bc,Dc;const nc=Object.assign(Object.assign({},Ss),Bl);Lc&&((ou=Ss.resetPagination)===null||ou===void 0||ou.call(Ss),!((Bc=nc.pagination)===null||Bc===void 0)&&Bc.current&&(nc.pagination.current=1),hi&&hi.onChange&&hi.onChange(1,(Dc=nc.pagination)===null||Dc===void 0?void 0:Dc.pageSize)),lo&&lo.scrollToFirstRowOnChange!==!1&&Po.body.current&&(0,Ms.Z)(0,{getContainer:()=>Po.body.current}),Ta==null||Ta(nc.pagination,nc.filters,nc.sorter,{currentDataSource:Eu(yl(du,nc.sorterStates,es),nc.filterStates),action:au})},pl=(Bl,au)=>{sl({sorter:Bl,sorterStates:au},"sort",!1)},[td,Gu,Qd,tc]=bl({prefixCls:Au,mergedColumns:za,onSorterChange:pl,sortDirections:Oo||["ascend","descend"],tableLocale:wl,showSorterTooltip:Ba}),zd=ve.useMemo(()=>yl(du,Gu,es),[du,Gu]);Ss.sorter=tc(),Ss.sorterStates=Gu;const Ja=(Bl,au)=>{sl({filters:Bl,filterStates:au},"filter",!0)},[Rc,YA,xl]=Nl({prefixCls:Au,locale:wl,dropdownPrefixCls:Ic,mergedColumns:za,onFilterChange:Ja,getPopupContainer:Ia||Is}),la=Eu(zd,YA);Ss.filters=xl,Ss.filterStates=YA;const Wl=ve.useMemo(()=>{const Bl={};return Object.keys(xl).forEach(au=>{xl[au]!==null&&(Bl[au]=xl[au])}),Object.assign(Object.assign({},Qd),{filters:Bl})},[Qd,xl]),[Cc]=zc(Wl),Iu=(Bl,au)=>{sl({pagination:Object.assign(Object.assign({},Ss.pagination),{current:Bl,pageSize:au})},"paginate")},[ps,$l]=kc(la.length,Iu,hi);Ss.pagination=hi===!1?{}:Bs(ps,hi),Ss.resetPagination=$l;const Uc=ve.useMemo(()=>{if(hi===!1||!ps.pageSize)return la;const{current:Bl=1,total:au,pageSize:Lc=vu}=ps;return la.lengthLc?la.slice((Bl-1)*Lc,Bl*Lc):la:la.slice((Bl-1)*Lc,Bl*Lc)},[!!hi,la,ps&&ps.current,ps&&ps.pageSize,ps&&ps.total]),[Nd,Cd]=Fu({prefixCls:Au,data:la,pageData:Uc,getRowKey:Tl,getRecordByKey:Wo,expandType:ts,childrenColumnName:es,locale:wl,getPopupContainer:Ia||Is},ni),Hc=(Bl,au,Lc)=>{let ou;return typeof Qi=="function"?ou=Re()(Qi(Bl,au,Lc)):ou=Re()(Qi),Re()({[`${Au}-row-selected`]:Cd.has(Tl(Bl,au))},ou)};wo.__PARENT_RENDER_ICON__=wo.expandIcon,wo.expandIcon=wo.expandIcon||Ko||cs(wl),ts==="nest"&&wo.expandIconColumnIndex===void 0?wo.expandIconColumnIndex=ni?1:0:wo.expandIconColumnIndex>0&&ni&&(wo.expandIconColumnIndex-=1),typeof wo.indentSize!="number"&&(wo.indentSize=typeof _s=="number"?_s:15);const Yu=ve.useCallback(Bl=>Cc(Nd(Rc(td(Bl)))),[td,Rc,Nd]);let CA,Zc;if(hi!==!1&&(ps!=null&&ps.total)){let Bl;ps.size?Bl=ps.size:Bl=cc==="small"||cc==="middle"?"small":void 0;const au=Bc=>ve.createElement(ma.Z,Object.assign({},ps,{className:Re()(`${Au}-pagination ${Au}-pagination-${Bc}`,ps.className),size:Bl})),Lc=jl==="rtl"?"left":"right",{position:ou}=ps;if(ou!==null&&Array.isArray(ou)){const Bc=ou.find(SA=>SA.includes("top")),Dc=ou.find(SA=>SA.includes("bottom")),nc=ou.every(SA=>`${SA}`=="none");!Bc&&!Dc&&!nc&&(Zc=au(Lc)),Bc&&(CA=au(Bc.toLowerCase().replace("top",""))),Dc&&(Zc=au(Dc.toLowerCase().replace("bottom","")))}else Zc=au(Lc)}let Xu;typeof $a=="boolean"?Xu={spinning:$a}:typeof $a=="object"&&(Xu=Object.assign({spinning:!0},$a));const[jc,Nu]=xA(Au),[,Hu]=(0,ra.Z)(),ld=Re()(`${Au}-wrapper`,Ll==null?void 0:Ll.className,{[`${Au}-wrapper-rtl`]:jl==="rtl"},En,Vn,Nu),dA=Object.assign(Object.assign({},Ll==null?void 0:Ll.style),On),Kd=vo&&vo.emptyText||(ku==null?void 0:ku("Table"))||ve.createElement(Qs.Z,{componentName:"Table"}),BA=bo?hd:Ac,XA={},Eh=ve.useMemo(()=>{const{fontSize:Bl,lineHeight:au,padding:Lc,paddingXS:ou,paddingSM:Bc}=Hu,Dc=Math.floor(Bl*au);switch(cc){case"large":return Lc*2+Dc;case"small":return ou*2+Dc;default:return Bc*2+Dc}},[Hu,cc]);return bo&&(XA.listItemHeight=Eh),jc(ve.createElement("div",{ref:Ut,className:ld,style:dA},ve.createElement(sa.Z,Object.assign({spinning:!1},Xu),CA,ve.createElement(BA,Object.assign({},XA,gs,{columns:za,direction:jl,expandable:wo,prefixCls:Au,className:Re()({[`${Au}-middle`]:cc==="middle",[`${Au}-small`]:cc==="small",[`${Au}-bordered`]:fr,[`${Au}-empty`]:du.length===0}),data:Uc,rowKey:Tl,rowClassName:Hc,emptyText:Kd,internalHooks:Me,internalRefs:Po,transformColumns:Yu})),Zc)))};var M0=ve.forwardRef(bf);const rp=(Nt,Ut)=>{const An=ve.useRef(0);return An.current+=1,ve.createElement(M0,Object.assign({},Nt,{ref:Ut,_renderTimes:An.current}))},hc=ve.forwardRef(rp);hc.SELECTION_COLUMN=bs,hc.EXPAND_COLUMN=he,hc.SELECTION_ALL=Ds,hc.SELECTION_INVERT=ol,hc.SELECTION_NONE=Vs,hc.Column=Sa,hc.ColumnGroup=Bo,hc.Summary=et;var cA=hc,ip=cA},99313:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Fn}});var he=ce(99267),Me=ce(18785),Ue=ce(62772),At=ce(92310),Ne=ce.n(At),Le=ce(60499),ve=ce(18642),Ae=ce(85899),we=ce(72190),fe=ce(43749),ze=ce(42244),Be=ce(59301),_e=ce(49658),Oe=ce(18929),He=ce(77900),ke=(0,Be.createContext)(null),Te=Be.forwardRef(function(Dt,Gt){var Zt=Dt.prefixCls,jt=Dt.className,on=Dt.style,Mn=Dt.id,ir=Dt.active,qn=Dt.tabKey,pr=Dt.children;return Be.createElement("div",{id:Mn&&"".concat(Mn,"-panel-").concat(qn),role:"tabpanel",tabIndex:ir?0:-1,"aria-labelledby":Mn&&"".concat(Mn,"-tab-").concat(qn),"aria-hidden":!ir,style:on,className:Ne()(Zt,ir&&"".concat(Zt,"-active"),jt),ref:Gt},pr)}),Pe=Te,Xe=["key","forceRender","style","className"];function Ke(Dt){var Gt=Dt.id,Zt=Dt.activeKey,jt=Dt.animated,on=Dt.tabPosition,Mn=Dt.destroyInactiveTabPane,ir=Be.useContext(ke),qn=ir.prefixCls,pr=ir.tabs,Gr=jt.tabPane,Zr="".concat(qn,"-tabpane");return Be.createElement("div",{className:Ne()("".concat(qn,"-content-holder"))},Be.createElement("div",{className:Ne()("".concat(qn,"-content"),"".concat(qn,"-content-").concat(on),(0,ve.Z)({},"".concat(qn,"-content-animated"),Gr))},pr.map(function($r){var Xn=$r.key,Or=$r.forceRender,ki=$r.style,vi=$r.className,Zi=(0,ze.Z)($r,Xe),xi=Xn===Zt;return Be.createElement(He.default,(0,Le.Z)({key:Xn,visible:xi,forceRender:Or,removeOnLeave:!!Mn,leavedClassName:"".concat(Zr,"-hidden")},jt.tabPaneMotion),function(Ca,si){var oa=Ca.style,mn=Ca.className;return Be.createElement(Pe,(0,Le.Z)({},Zi,{prefixCls:Zr,id:Gt,tabKey:Xn,animated:Gr,active:xi,style:(0,Ae.Z)((0,Ae.Z)({},ki),oa),className:Ne()(vi,mn),ref:si}))})})))}var qe=ce(77654),We=ce(29301),Ze=ce(6089),$e=ce(8654),rt={width:0,height:0,left:0,top:0};function ht(Dt,Gt,Zt){return(0,Be.useMemo)(function(){for(var jt,on=new Map,Mn=Gt.get((jt=Dt[0])===null||jt===void 0?void 0:jt.key)||rt,ir=Mn.left+Mn.width,qn=0;qnHi?(ui=Mr,mr.current="x"):(ui=Fr,mr.current="y"),Gt(-ui,-ui)&&wr.preventDefault()}var Wr=(0,Be.useRef)(null);Wr.current={onTouchStart:si,onTouchMove:oa,onTouchEnd:mn,onWheel:dr},Be.useEffect(function(){function wr(yi){Wr.current.onTouchStart(yi)}function Mr(yi){Wr.current.onTouchMove(yi)}function Fr(yi){Wr.current.onTouchEnd(yi)}function ui(yi){Wr.current.onWheel(yi)}return document.addEventListener("touchmove",Mr,{passive:!1}),document.addEventListener("touchend",Fr,{passive:!1}),Dt.current.addEventListener("touchstart",wr,{passive:!1}),Dt.current.addEventListener("wheel",ui),function(){document.removeEventListener("touchmove",Mr),document.removeEventListener("touchend",Fr)}},[])}var Ft=ce(34280);function bt(Dt){var Gt=(0,Be.useState)(0),Zt=(0,we.Z)(Gt,2),jt=Zt[0],on=Zt[1],Mn=(0,Be.useRef)(0),ir=(0,Be.useRef)();return ir.current=Dt,(0,Ft.o)(function(){var qn;(qn=ir.current)===null||qn===void 0||qn.call(ir)},[jt]),function(){Mn.current===jt&&(Mn.current+=1,on(Mn.current))}}function Tt(Dt){var Gt=(0,Be.useRef)([]),Zt=(0,Be.useState)({}),jt=(0,we.Z)(Zt,2),on=jt[1],Mn=(0,Be.useRef)(typeof Dt=="function"?Dt():Dt),ir=bt(function(){var pr=Mn.current;Gt.current.forEach(function(Gr){pr=Gr(pr)}),Gt.current=[],Mn.current=pr,on({})});function qn(pr){Gt.current.push(pr),ir()}return[Mn.current,qn]}var wt={width:0,height:0,left:0,top:0,right:0};function it(Dt,Gt,Zt,jt,on,Mn,ir){var qn=ir.tabs,pr=ir.tabPosition,Gr=ir.rtl,Zr,$r,Xn;return["top","bottom"].includes(pr)?(Zr="width",$r=Gr?"right":"left",Xn=Math.abs(Zt)):(Zr="height",$r="top",Xn=-Zt),(0,Be.useMemo)(function(){if(!qn.length)return[0,0];for(var Or=qn.length,ki=Or,vi=0;viXn+Gt){ki=vi-1;break}}for(var xi=0,Ca=Or-1;Ca>=0;Ca-=1){var si=Dt.get(qn[Ca].key)||wt;if(si[$r]=ki?[0,0]:[xi,ki]},[Dt,Gt,jt,on,Mn,Xn,pr,qn.map(function(Or){return Or.key}).join("_"),Gr])}function je(Dt){var Gt;return Dt instanceof Map?(Gt={},Dt.forEach(function(Zt,jt){Gt[jt]=Zt})):Gt=Dt,JSON.stringify(Gt)}var at="TABS_DQ";function Yt(Dt){return String(Dt).replace(/"/g,at)}function Vt(Dt,Gt,Zt,jt){return!(!Zt||jt||Dt===!1||Dt===void 0&&(Gt===!1||Gt===null))}function St(Dt,Gt){var Zt=Dt.prefixCls,jt=Dt.editable,on=Dt.locale,Mn=Dt.style;return!jt||jt.showAdd===!1?null:Be.createElement("button",{ref:Gt,type:"button",className:"".concat(Zt,"-nav-add"),style:Mn,"aria-label":(on==null?void 0:on.addAriaLabel)||"Add tab",onClick:function(qn){jt.onEdit("add",{event:qn})}},jt.addIcon||"+")}var Qt=Be.forwardRef(St),cn=Be.forwardRef(function(Dt,Gt){var Zt=Dt.position,jt=Dt.prefixCls,on=Dt.extra;if(!on)return null;var Mn,ir={};return(0,fe.Z)(on)==="object"&&!Be.isValidElement(on)?ir=on:ir.right=on,Zt==="right"&&(Mn=ir.right),Zt==="left"&&(Mn=ir.left),Mn?Be.createElement("div",{className:"".concat(jt,"-extra-content"),ref:Gt},Mn):null}),Nn=cn,fn=ce(31561),Ln=ce(15285),Cn=ce(10228);function Bn(Dt,Gt){var Zt=Dt.prefixCls,jt=Dt.id,on=Dt.tabs,Mn=Dt.locale,ir=Dt.mobile,qn=Dt.moreIcon,pr=qn===void 0?"More":qn,Gr=Dt.moreTransitionName,Zr=Dt.style,$r=Dt.className,Xn=Dt.editable,Or=Dt.tabBarGutter,ki=Dt.rtl,vi=Dt.removeAriaLabel,Zi=Dt.onTabClick,xi=Dt.getPopupContainer,Ca=Dt.popupClassName,si=(0,Be.useState)(!1),oa=(0,we.Z)(si,2),mn=oa[0],mr=oa[1],dr=(0,Be.useState)(null),Wr=(0,we.Z)(dr,2),wr=Wr[0],Mr=Wr[1],Fr="".concat(jt,"-more-popup"),ui="".concat(Zt,"-dropdown"),yi=wr!==null?"".concat(Fr,"-").concat(wr):null,Hi=Mn==null?void 0:Mn.dropdownAriaLabel;function Oa(io,va){io.preventDefault(),io.stopPropagation(),Xn.onEdit("remove",{key:va,event:io})}var Qa=Be.createElement(Ln.ZP,{onClick:function(va){var ka=va.key,Xa=va.domEvent;Zi(ka,Xa),mr(!1)},prefixCls:"".concat(ui,"-menu"),id:Fr,tabIndex:-1,role:"listbox","aria-activedescendant":yi,selectedKeys:[wr],"aria-label":Hi!==void 0?Hi:"expanded dropdown"},on.map(function(io){var va=io.closable,ka=io.disabled,Xa=io.closeIcon,Pa=io.key,ao=io.label,us=Vt(va,Xa,Xn,ka);return Be.createElement(Ln.sN,{key:Pa,id:"".concat(Fr,"-").concat(Pa),role:"option","aria-controls":jt&&"".concat(jt,"-panel-").concat(Pa),disabled:ka},Be.createElement("span",null,ao),us&&Be.createElement("button",{type:"button","aria-label":vi||"remove",tabIndex:0,className:"".concat(ui,"-menu-item-remove"),onClick:function(fi){fi.stopPropagation(),Oa(fi,Pa)}},Xa||Xn.removeIcon||"\xD7"))}));function oo(io){for(var va=on.filter(function(us){return!us.disabled}),ka=va.findIndex(function(us){return us.key===wr})||0,Xa=va.length,Pa=0;PaOi?"left":"right"})}),Hi=(0,we.Z)(yi,2),Oa=Hi[0],Qa=Hi[1],oo=dt(0,function(Ma,Oi){!ui&&si&&si({direction:Ma>Oi?"top":"bottom"})}),La=(0,we.Z)(oo,2),Da=La[0],po=La[1],Za=(0,Be.useState)([0,0]),io=(0,we.Z)(Za,2),va=io[0],ka=io[1],Xa=(0,Be.useState)([0,0]),Pa=(0,we.Z)(Xa,2),ao=Pa[0],us=Pa[1],Ya=(0,Be.useState)([0,0]),fi=(0,we.Z)(Ya,2),Rr=fi[0],Ra=fi[1],_a=(0,Be.useState)([0,0]),Va=(0,we.Z)(_a,2),Mo=Va[0],go=Va[1],As=Tt(new Map),_o=(0,we.Z)(As,2),Js=_o[0],Sa=_o[1],xa=ht(Mn,Js,ao[0]),Bo=Ye(va,ui),So=Ye(ao,ui),Ms=Ye(Rr,ui),er=Ye(Mo,ui),Qs=Boma?ma:Ma}var ra=(0,Be.useRef)(),ua=(0,Be.useState)(),cs=(0,we.Z)(ua,2),Ps=cs[0],jo=cs[1];function xs(){jo(Date.now())}function Cs(){window.clearTimeout(ra.current)}Rt(Wr,function(Ma,Oi){function da(Lo,co){Lo(function(To){var hs=sa(To+co);return hs})}return Qs?(ui?da(Qa,Ma):da(po,Oi),Cs(),xs(),!0):!1}),(0,Be.useEffect)(function(){return Cs(),Ps&&(ra.current=window.setTimeout(function(){jo(0)},100)),Cs},[Ps]);var $s=it(xa,fs,ui?Oa:Da,So,Ms,er,(0,Ae.Z)((0,Ae.Z)({},Dt),{},{tabs:Mn})),ru=(0,we.Z)($s,2),or=ru[0],Qn=ru[1],Nr=(0,Ze.Z)(function(){var Ma=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zr,Oi=xa.get(Ma)||{width:0,height:0,left:0,right:0,top:0};if(ui){var da=Oa;$r?Oi.rightOa+fs&&(da=Oi.right+Oi.width-fs):Oi.left<-Oa?da=-Oi.left:Oi.left+Oi.width>-Oa+fs&&(da=-(Oi.left+Oi.width-fs)),po(0),Qa(sa(da))}else{var Lo=Da;Oi.top<-Da?Lo=-Oi.top:Oi.top+Oi.height>-Da+fs&&(Lo=-(Oi.top+Oi.height-fs)),Qa(0),po(sa(Lo))}}),Di={};vi==="top"||vi==="bottom"?Di[$r?"marginRight":"marginLeft"]=Zi:Di.marginTop=Zi;var Io=Mn.map(function(Ma,Oi){var da=Ma.key;return Be.createElement(Fe,{id:pr,prefixCls:on,key:da,tab:Ma,style:Oi===0?void 0:Di,closable:Ma.closable,editable:Or,active:da===Zr,renderWrapper:xi,removeAriaLabel:ki==null?void 0:ki.removeAriaLabel,onClick:function(co){Ca(da,co)},onFocus:function(){Nr(da),xs(),Wr.current&&($r||(Wr.current.scrollLeft=0),Wr.current.scrollTop=0)}})}),lr=function(){return Sa(function(){var Oi=new Map;return Mn.forEach(function(da){var Lo,co=da.key,To=(Lo=wr.current)===null||Lo===void 0?void 0:Lo.querySelector('[data-node-key="'.concat(Yt(co),'"]'));To&&Oi.set(co,{width:To.offsetWidth,height:To.offsetHeight,left:To.offsetLeft,top:To.offsetTop})}),Oi})};(0,Be.useEffect)(function(){lr()},[Mn.map(function(Ma){return Ma.key}).join("_")]);var Jn=bt(function(){var Ma=oe(mn),Oi=oe(mr),da=oe(dr);ka([Ma[0]-Oi[0]-da[0],Ma[1]-Oi[1]-da[1]]);var Lo=oe(Fr);Ra(Lo);var co=oe(Mr);go(co);var To=oe(wr);us([To[0]-Lo[0],To[1]-Lo[1]]),lr()}),Un=Mn.slice(0,or),cr=Mn.slice(Qn+1),Ur=[].concat((0,qe.Z)(Un),(0,qe.Z)(cr)),bi=xa.get(Zr),xr=se({activeTabOffset:bi,horizontal:ui,rtl:$r,indicatorSize:oa}),Hr=xr.style;(0,Be.useEffect)(function(){Nr()},[Zr,qs,ma,je(bi),je(xa),ui]),(0,Be.useEffect)(function(){Jn()},[$r]);var ji=!!Ur.length,Ji="".concat(on,"-nav-wrap"),ca,Xr,Ni,ia;return ui?$r?(Xr=Oa>0,ca=Oa!==ma):(ca=Oa<0,Xr=Oa!==qs):(Ni=Da<0,ia=Da!==qs),Be.createElement(We.Z,{onResize:Jn},Be.createElement("div",{ref:(0,$e.x1)(Gt,mn),role:"tablist",className:Ne()("".concat(on,"-nav"),ir),style:qn,onKeyDown:function(){xs()}},Be.createElement(Nn,{ref:mr,position:"left",extra:Xn,prefixCls:on}),Be.createElement(We.Z,{onResize:Jn},Be.createElement("div",{className:Ne()(Ji,(Zt={},(0,ve.Z)(Zt,"".concat(Ji,"-ping-left"),ca),(0,ve.Z)(Zt,"".concat(Ji,"-ping-right"),Xr),(0,ve.Z)(Zt,"".concat(Ji,"-ping-top"),Ni),(0,ve.Z)(Zt,"".concat(Ji,"-ping-bottom"),ia),Zt)),ref:Wr},Be.createElement(We.Z,{onResize:Jn},Be.createElement("div",{ref:wr,className:"".concat(on,"-nav-list"),style:{transform:"translate(".concat(Oa,"px, ").concat(Da,"px)"),transition:Ps?"none":void 0}},Io,Be.createElement(Qt,{ref:Fr,prefixCls:on,locale:ki,editable:Or,style:(0,Ae.Z)((0,Ae.Z)({},Io.length===0?void 0:Di),{},{visibility:ji?"hidden":null})}),Be.createElement("div",{className:Ne()("".concat(on,"-ink-bar"),(0,ve.Z)({},"".concat(on,"-ink-bar-animated"),Gr.inkBar)),style:Hr}))))),Be.createElement(gn,(0,Le.Z)({},Dt,{removeAriaLabel:ki==null?void 0:ki.removeAriaLabel,ref:Mr,prefixCls:on,tabs:Ur,className:!ji&&Zs,tabMoving:!!Ps})),Be.createElement(Nn,{ref:dr,position:"right",extra:Xn,prefixCls:on})))}var et=Be.forwardRef(vt),lt=["renderTabBar"],Pt=["label","key"];function Mt(Dt){var Gt=Dt.renderTabBar,Zt=(0,ze.Z)(Dt,lt),jt=Be.useContext(ke),on=jt.tabs;if(Gt){var Mn=(0,Ae.Z)((0,Ae.Z)({},Zt),{},{panes:on.map(function(ir){var qn=ir.label,pr=ir.key,Gr=(0,ze.Z)(ir,Pt);return Be.createElement(Pe,(0,Le.Z)({tab:qn,key:pr,tabKey:pr},Gr))})});return Gt(Mn,et)}return Be.createElement(et,Zt)}var kt=ce(48736);function $t(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Gt;return Dt===!1?Gt={inkBar:!1,tabPane:!1}:Dt===!0?Gt={inkBar:!0,tabPane:!1}:Gt=(0,Ae.Z)({inkBar:!0},(0,fe.Z)(Dt)==="object"?Dt:{}),Gt.tabPaneMotion&&Gt.tabPane===void 0&&(Gt.tabPane=!0),!Gt.tabPaneMotion&&Gt.tabPane&&(Gt.tabPane=!1),Gt}var Sn=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Bt=0;function nn(Dt,Gt){var Zt,jt=Dt.id,on=Dt.prefixCls,Mn=on===void 0?"rc-tabs":on,ir=Dt.className,qn=Dt.items,pr=Dt.direction,Gr=Dt.activeKey,Zr=Dt.defaultActiveKey,$r=Dt.editable,Xn=Dt.animated,Or=Dt.tabPosition,ki=Or===void 0?"top":Or,vi=Dt.tabBarGutter,Zi=Dt.tabBarStyle,xi=Dt.tabBarExtraContent,Ca=Dt.locale,si=Dt.moreIcon,oa=Dt.moreTransitionName,mn=Dt.destroyInactiveTabPane,mr=Dt.renderTabBar,dr=Dt.onChange,Wr=Dt.onTabClick,wr=Dt.onTabScroll,Mr=Dt.getPopupContainer,Fr=Dt.popupClassName,ui=Dt.indicatorSize,yi=(0,ze.Z)(Dt,Sn),Hi=Be.useMemo(function(){return(qn||[]).filter(function(go){return go&&(0,fe.Z)(go)==="object"&&"key"in go})},[qn]),Oa=pr==="rtl",Qa=$t(Xn),oo=(0,Be.useState)(!1),La=(0,we.Z)(oo,2),Da=La[0],po=La[1];(0,Be.useEffect)(function(){po((0,_e.Z)())},[]);var Za=(0,Oe.Z)(function(){var go;return(go=Hi[0])===null||go===void 0?void 0:go.key},{value:Gr,defaultValue:Zr}),io=(0,we.Z)(Za,2),va=io[0],ka=io[1],Xa=(0,Be.useState)(function(){return Hi.findIndex(function(go){return go.key===va})}),Pa=(0,we.Z)(Xa,2),ao=Pa[0],us=Pa[1];(0,Be.useEffect)(function(){var go=Hi.findIndex(function(_o){return _o.key===va});if(go===-1){var As;go=Math.max(0,Math.min(ao,Hi.length-1)),ka((As=Hi[go])===null||As===void 0?void 0:As.key)}us(go)},[Hi.map(function(go){return go.key}).join("_"),va,ao]);var Ya=(0,Oe.Z)(null,{value:jt}),fi=(0,we.Z)(Ya,2),Rr=fi[0],Ra=fi[1];(0,Be.useEffect)(function(){jt||(Ra("rc-tabs-".concat(Bt)),Bt+=1)},[]);function _a(go,As){Wr==null||Wr(go,As);var _o=go!==va;ka(go),_o&&(dr==null||dr(go))}var Va={id:Rr,activeKey:va,animated:Qa,tabPosition:ki,rtl:Oa,mobile:Da},Mo=(0,Ae.Z)((0,Ae.Z)({},Va),{},{editable:$r,locale:Ca,moreIcon:si,moreTransitionName:oa,tabBarGutter:vi,onTabClick:_a,onTabScroll:wr,extra:xi,style:Zi,panes:null,getPopupContainer:Mr,popupClassName:Fr,indicatorSize:ui});return Be.createElement(ke.Provider,{value:{tabs:Hi,prefixCls:Mn}},Be.createElement("div",(0,Le.Z)({ref:Gt,id:jt,className:Ne()(Mn,"".concat(Mn,"-").concat(ki),(Zt={},(0,ve.Z)(Zt,"".concat(Mn,"-mobile"),Da),(0,ve.Z)(Zt,"".concat(Mn,"-editable"),$r),(0,ve.Z)(Zt,"".concat(Mn,"-rtl"),Oa),Zt),ir)},yi),Be.createElement(Mt,(0,Le.Z)({},Mo,{renderTabBar:mr})),Be.createElement(Ke,(0,Le.Z)({destroyInactiveTabPane:mn},Va,{animated:Qa}))))}var tn=Be.forwardRef(nn),zt=tn,pt=zt,Wt=ce(36355),vn=ce(19716),Wn=()=>null,br=ce(62892);const Lr={motionAppear:!1,motionEnter:!0,motionLeave:!0};function jr(Dt){let Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Zt;return Gt===!1?Zt={inkBar:!1,tabPane:!1}:Gt===!0?Zt={inkBar:!0,tabPane:!0}:Zt=Object.assign({inkBar:!0},typeof Gt=="object"?Gt:{}),Zt.tabPane&&(Zt.tabPaneMotion=Object.assign(Object.assign({},Lr),{motionName:(0,br.m)(Dt,"switch")})),Zt}var Qr=ce(11592),vr=function(Dt,Gt){var Zt={};for(var jt in Dt)Object.prototype.hasOwnProperty.call(Dt,jt)&&Gt.indexOf(jt)<0&&(Zt[jt]=Dt[jt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,jt=Object.getOwnPropertySymbols(Dt);onGt)}function Tr(Dt,Gt){if(Dt)return Dt;const Zt=(0,Qr.Z)(Gt).map(jt=>{if(Be.isValidElement(jt)){const{key:on,props:Mn}=jt,ir=Mn||{},{tab:qn}=ir,pr=vr(ir,["tab"]);return Object.assign(Object.assign({key:String(on)},pr),{label:qn})}return null});return Ar(Zt)}var Bi=ce(17313),$i=ce(83116),mi=ce(37613),Mi=ce(13826),Dr=Dt=>{const{componentCls:Gt,motionDurationSlow:Zt}=Dt;return[{[Gt]:{[`${Gt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Zt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Zt}`}}}}},[(0,Mi.oN)(Dt,"slide-up"),(0,Mi.oN)(Dt,"slide-down")]]};const _n=Dt=>{const{componentCls:Gt,tabsCardPadding:Zt,cardBg:jt,cardGutter:on,colorBorderSecondary:Mn,itemSelectedColor:ir}=Dt;return{[`${Gt}-card`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{margin:0,padding:Zt,background:jt,border:`${Dt.lineWidth}px ${Dt.lineType} ${Mn}`,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`},[`${Gt}-tab-active`]:{color:ir,background:Dt.colorBgContainer},[`${Gt}-ink-bar`]:{visibility:"hidden"}},[`&${Gt}-top, &${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginLeft:{_skip_check_:!0,value:`${on}px`}}}},[`&${Gt}-top`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:`${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0 0`},[`${Gt}-tab-active`]:{borderBottomColor:Dt.colorBgContainer}}},[`&${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:`0 0 ${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px`},[`${Gt}-tab-active`]:{borderTopColor:Dt.colorBgContainer}}},[`&${Gt}-left, &${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginTop:`${on}px`}}},[`&${Gt}-left`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Dt.borderRadiusLG}px 0 0 ${Dt.borderRadiusLG}px`}},[`${Gt}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Dt.colorBgContainer}}}},[`&${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0`}},[`${Gt}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Dt.colorBgContainer}}}}}}},no=Dt=>{const{componentCls:Gt,itemHoverColor:Zt,dropdownEdgeChildVerticalPadding:jt}=Dt;return{[`${Gt}-dropdown`]:Object.assign(Object.assign({},(0,Bi.Wf)(Dt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Dt.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Gt}-dropdown-menu`]:{maxHeight:Dt.tabsDropdownHeight,margin:0,padding:`${jt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Dt.colorBgContainer,backgroundClip:"padding-box",borderRadius:Dt.borderRadiusLG,outline:"none",boxShadow:Dt.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Bi.vS),{display:"flex",alignItems:"center",minWidth:Dt.tabsDropdownWidth,margin:0,padding:`${Dt.paddingXXS}px ${Dt.paddingSM}px`,color:Dt.colorText,fontWeight:"normal",fontSize:Dt.fontSize,lineHeight:Dt.lineHeight,cursor:"pointer",transition:`all ${Dt.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Dt.marginSM},color:Dt.colorTextDescription,fontSize:Dt.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Zt}},"&:hover":{background:Dt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Dt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ki=Dt=>{const{componentCls:Gt,margin:Zt,colorBorderSecondary:jt,horizontalMargin:on,verticalItemPadding:Mn,verticalItemMargin:ir}=Dt;return{[`${Gt}-top, ${Gt}-bottom`]:{flexDirection:"column",[`> ${Gt}-nav, > div > ${Gt}-nav`]:{margin:on,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Dt.lineWidth}px ${Dt.lineType} ${jt}`,content:"''"},[`${Gt}-ink-bar`]:{height:Dt.lineWidthBold,"&-animated":{transition:`width ${Dt.motionDurationSlow}, left ${Dt.motionDurationSlow}, right ${Dt.motionDurationSlow}`}},[`${Gt}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Dt.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowTabsOverflowRight},[`&${Gt}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Gt}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Gt}-top`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{"&::before":{bottom:0},[`${Gt}-ink-bar`]:{bottom:0}}},[`${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{order:1,marginTop:`${Zt}px`,marginBottom:0,"&::before":{top:0},[`${Gt}-ink-bar`]:{top:0}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{order:0}},[`${Gt}-left, ${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{flexDirection:"column",minWidth:Dt.controlHeight*1.25,[`${Gt}-tab`]:{padding:Mn,textAlign:"center"},[`${Gt}-tab + ${Gt}-tab`]:{margin:ir},[`${Gt}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Dt.controlHeight},"&::before":{top:0,boxShadow:Dt.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Dt.boxShadowTabsOverflowBottom},[`&${Gt}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Gt}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Gt}-ink-bar`]:{width:Dt.lineWidthBold,"&-animated":{transition:`height ${Dt.motionDurationSlow}, top ${Dt.motionDurationSlow}`}},[`${Gt}-nav-list, ${Gt}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Gt}-left`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Dt.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`},[`> ${Gt}-content > ${Gt}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Dt.paddingLG}}}},[`${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{order:1,[`${Gt}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Dt.lineWidth},borderRight:{_skip_check_:!0,value:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`},[`> ${Gt}-content > ${Gt}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Dt.paddingLG}}}}}},Co=Dt=>{const{componentCls:Gt,cardPaddingSM:Zt,cardPaddingLG:jt,horizontalItemPaddingSM:on,horizontalItemPaddingLG:Mn}=Dt;return{[Gt]:{"&-small":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:on,fontSize:Dt.titleFontSizeSM}}},"&-large":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:Mn,fontSize:Dt.titleFontSizeLG}}}},[`${Gt}-card`]:{[`&${Gt}-small`]:{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:Zt}},[`&${Gt}-bottom`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:`0 0 ${Dt.borderRadius}px ${Dt.borderRadius}px`}},[`&${Gt}-top`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:`${Dt.borderRadius}px ${Dt.borderRadius}px 0 0`}},[`&${Gt}-right`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Dt.borderRadius}px ${Dt.borderRadius}px 0`}}},[`&${Gt}-left`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Dt.borderRadius}px 0 0 ${Dt.borderRadius}px`}}}},[`&${Gt}-large`]:{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:jt}}}}}},ro=Dt=>{const{componentCls:Gt,itemActiveColor:Zt,itemHoverColor:jt,iconCls:on,tabsHorizontalItemMargin:Mn,horizontalItemPadding:ir,itemSelectedColor:qn,itemColor:pr}=Dt,Gr=`${Gt}-tab`;return{[Gr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:ir,fontSize:Dt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:pr,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Zt}},(0,Bi.Qy)(Dt)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Dt.marginXXS},marginLeft:{_skip_check_:!0,value:Dt.marginXS},color:Dt.colorTextDescription,fontSize:Dt.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Dt.motionDurationSlow}`,"&:hover":{color:Dt.colorTextHeading}},"&:hover":{color:jt},[`&${Gr}-active ${Gr}-btn`]:{color:qn,textShadow:Dt.tabsActiveTextShadow},[`&${Gr}-disabled`]:{color:Dt.colorTextDisabled,cursor:"not-allowed"},[`&${Gr}-disabled ${Gr}-btn, &${Gr}-disabled ${Gt}-remove`]:{"&:focus, &:active":{color:Dt.colorTextDisabled}},[`& ${Gr}-remove ${on}`]:{margin:0},[on]:{marginRight:{_skip_check_:!0,value:Dt.marginSM}}},[`${Gr} + ${Gr}`]:{margin:{_skip_check_:!0,value:Mn}}}},Pi=Dt=>{const{componentCls:Gt,tabsHorizontalItemMarginRTL:Zt,iconCls:jt,cardGutter:on}=Dt;return{[`${Gt}-rtl`]:{direction:"rtl",[`${Gt}-nav`]:{[`${Gt}-tab`]:{margin:{_skip_check_:!0,value:Zt},[`${Gt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[jt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Dt.marginSM}px`}},[`${Gt}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Dt.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Dt.marginXXS}px`},[jt]:{margin:0}}}},[`&${Gt}-left`]:{[`> ${Gt}-nav`]:{order:1},[`> ${Gt}-content-holder`]:{order:0}},[`&${Gt}-right`]:{[`> ${Gt}-nav`]:{order:0},[`> ${Gt}-content-holder`]:{order:1}},[`&${Gt}-card${Gt}-top, &${Gt}-card${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginRight:{_skip_check_:!0,value:on},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Gt}-dropdown-rtl`]:{direction:"rtl"},[`${Gt}-menu-item`]:{[`${Gt}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Ii=Dt=>{const{componentCls:Gt,tabsCardPadding:Zt,cardHeight:jt,cardGutter:on,itemHoverColor:Mn,itemActiveColor:ir,colorBorderSecondary:qn}=Dt;return{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Bi.Wf)(Dt)),{display:"flex",[`> ${Gt}-nav, > div > ${Gt}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Gt}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${Dt.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Gt}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Dt.motionDurationSlow}`},[`${Gt}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Gt}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Gt}-nav-more`]:{position:"relative",padding:Zt,background:"transparent",border:0,color:Dt.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Dt.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Gt}-nav-add`]:Object.assign({minWidth:jt,marginLeft:{_skip_check_:!0,value:on},padding:`0 ${Dt.paddingXS}px`,background:"transparent",border:`${Dt.lineWidth}px ${Dt.lineType} ${qn}`,borderRadius:`${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Dt.colorText,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`,"&:hover":{color:Mn},"&:active, &:focus:not(:focus-visible)":{color:ir}},(0,Bi.Qy)(Dt))},[`${Gt}-extra-content`]:{flex:"none"},[`${Gt}-ink-bar`]:{position:"absolute",background:Dt.inkBarColor,pointerEvents:"none"}}),ro(Dt)),{[`${Gt}-content`]:{position:"relative",width:"100%"},[`${Gt}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Gt}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Gt}-centered`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-nav-wrap`]:{[`&:not([class*='${Gt}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Si=(0,$i.Z)("Tabs",Dt=>{const Gt=(0,mi.TS)(Dt,{tabsCardPadding:Dt.cardPadding||`${(Dt.cardHeight-Math.round(Dt.fontSize*Dt.lineHeight))/2-Dt.lineWidth}px ${Dt.padding}px`,dropdownEdgeChildVerticalPadding:Dt.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Dt.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Dt.horizontalItemGutter}px`});return[Co(Gt),Pi(Gt),Ki(Gt),no(Gt),_n(Gt),Ii(Gt),Dr(Gt)]},Dt=>{const Gt=Dt.controlHeightLG;return{zIndexPopup:Dt.zIndexPopupBase+50,cardBg:Dt.colorFillAlter,cardHeight:Gt,cardPadding:"",cardPaddingSM:`${Dt.paddingXXS*1.5}px ${Dt.padding}px`,cardPaddingLG:`${Dt.paddingXS}px ${Dt.padding}px ${Dt.paddingXXS*1.5}px`,titleFontSize:Dt.fontSize,titleFontSizeLG:Dt.fontSizeLG,titleFontSizeSM:Dt.fontSize,inkBarColor:Dt.colorPrimary,horizontalMargin:`0 0 ${Dt.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Dt.paddingSM}px 0`,horizontalItemPaddingSM:`${Dt.paddingXS}px 0`,horizontalItemPaddingLG:`${Dt.padding}px 0`,verticalItemPadding:`${Dt.paddingXS}px ${Dt.paddingLG}px`,verticalItemMargin:`${Dt.margin}px 0 0 0`,itemColor:Dt.colorText,itemSelectedColor:Dt.colorPrimary,itemHoverColor:Dt.colorPrimaryHover,itemActiveColor:Dt.colorPrimaryActive,cardGutter:Dt.marginXXS/2}}),gi=function(Dt,Gt){var Zt={};for(var jt in Dt)Object.prototype.hasOwnProperty.call(Dt,jt)&&Gt.indexOf(jt)<0&&(Zt[jt]=Dt[jt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,jt=Object.getOwnPropertySymbols(Dt);on{const{type:Gt,className:Zt,rootClassName:jt,size:on,onEdit:Mn,hideAdd:ir,centered:qn,addIcon:pr,popupClassName:Gr,children:Zr,items:$r,animated:Xn,style:Or,indicatorSize:ki}=Dt,vi=gi(Dt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Zi,moreIcon:xi=Be.createElement(Me.Z,null)}=vi,{direction:Ca,tabs:si,getPrefixCls:oa,getPopupContainer:mn}=Be.useContext(Wt.E_),mr=oa("tabs",Zi),[dr,Wr]=Si(mr);let wr;Gt==="editable-card"&&(wr={onEdit:(Oa,Qa)=>{let{key:oo,event:La}=Qa;Mn==null||Mn(Oa==="add"?La:oo,Oa)},removeIcon:Be.createElement(he.Z,null),addIcon:pr||Be.createElement(Ue.Z,null),showAdd:ir!==!0});const Mr=oa(),Fr=Tr($r,Zr),ui=jr(mr,Xn),yi=(0,vn.Z)(on),Hi=Object.assign(Object.assign({},si==null?void 0:si.style),Or);return dr(Be.createElement(pt,Object.assign({direction:Ca,getPopupContainer:mn,moreTransitionName:`${Mr}-slide-up`},vi,{items:Fr,className:Ne()({[`${mr}-${yi}`]:yi,[`${mr}-card`]:["card","editable-card"].includes(Gt),[`${mr}-editable-card`]:Gt==="editable-card",[`${mr}-centered`]:qn},si==null?void 0:si.className,Zt,jt,Wr),popupClassName:Ne()(Gr,Wr),style:Hi,editable:wr,moreIcon:xi,prefixCls:mr,animated:ui,indicatorSize:ki!=null?ki:si==null?void 0:si.indicatorSize})))};Ea.TabPane=Wn;var Fn=Ea},17574:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return it}});var he=ce(38028),Me=ce(77654),Ue=ce(52671),At=ce(8657),Ne=ce(60499),Le=ce(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Ae=ve,we=ce(85221),fe=function(at,Yt){return Le.createElement(we.Z,(0,Ne.Z)({},at,{ref:Yt,icon:Ae}))},ze=Le.forwardRef(fe),Be=ze,_e=ce(92310),Oe=ce.n(_e),He=ce(35654),ke=ce(71430),Te=ce(36355),Pe=ce(56082),Xe=ce(62892),Ke=ce(20648);const qe=4;function We(je){const{dropPosition:at,dropLevelOffset:Yt,prefixCls:Vt,indent:St,direction:Qt="ltr"}=je,cn=Qt==="ltr"?"left":"right",Nn=Qt==="ltr"?"right":"left",fn={[cn]:-Yt*St+qe,[Nn]:0};switch(at){case-1:fn.top=-3;break;case 1:fn.bottom=-3;break;default:fn.bottom=-3,fn[cn]=St+qe;break}return Le.createElement("div",{style:fn,className:`${Vt}-drop-indicator`})}var Ze=ce(71997),rt=Le.forwardRef((je,at)=>{const{getPrefixCls:Yt,direction:Vt,virtual:St,tree:Qt}=Le.useContext(Te.E_),{prefixCls:cn,className:Nn,showIcon:fn=!1,showLine:Ln,switcherIcon:Cn,blockNode:Bn=!1,children:gn,checkable:Se=!1,selectable:Fe=!0,draggable:ie,motion:ae,style:se}=je,oe=Yt("tree",cn),Ye=Yt(),vt=ae!=null?ae:Object.assign(Object.assign({},(0,Xe.Z)(Ye)),{motionAppear:!1}),et=Object.assign(Object.assign({},je),{checkable:Se,selectable:Fe,showIcon:fn,motion:vt,blockNode:Bn,showLine:!!Ln,dropIndicatorRender:We}),[lt,Pt]=(0,Ke.ZP)(oe),Mt=Le.useMemo(()=>{if(!ie)return!1;let $t={};switch(typeof ie){case"function":$t.nodeDraggable=ie;break;case"object":$t=Object.assign({},ie);break;default:break}return $t.icon!==!1&&($t.icon=$t.icon||Le.createElement(Pe.Z,null)),$t},[ie]),kt=$t=>Le.createElement(Ze.Z,{prefixCls:oe,switcherIcon:Cn,treeNodeProps:$t,showLine:Ln});return lt(Le.createElement(he.Z,Object.assign({itemHeight:20,ref:at,virtual:St},et,{style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),se),prefixCls:oe,className:Oe()({[`${oe}-icon-hide`]:!fn,[`${oe}-block-node`]:Bn,[`${oe}-unselectable`]:!Fe,[`${oe}-rtl`]:Vt==="rtl"},Qt==null?void 0:Qt.className,Nn,Pt),direction:Vt,checkable:Se&&Le.createElement("span",{className:`${oe}-checkbox-inner`}),selectable:Fe,switcherIcon:kt,draggable:Mt}),gn))}),ht;(function(je){je[je.None=0]="None",je[je.Start=1]="Start",je[je.End=2]="End"})(ht||(ht={}));function dt(je,at){function Yt(Vt){const{key:St,children:Qt}=Vt;at(St,Vt)!==!1&&dt(Qt||[],at)}je.forEach(Yt)}function xt(je){let{treeData:at,expandedKeys:Yt,startKey:Vt,endKey:St}=je;const Qt=[];let cn=ht.None;if(Vt&&Vt===St)return[Vt];if(!Vt||!St)return[];function Nn(fn){return fn===Vt||fn===St}return dt(at,fn=>{if(cn===ht.End)return!1;if(Nn(fn)){if(Qt.push(fn),cn===ht.None)cn=ht.Start;else if(cn===ht.Start)return cn=ht.End,!1}else cn===ht.Start&&Qt.push(fn);return Yt.includes(fn)}),Qt}function Je(je,at){const Yt=(0,Me.Z)(at),Vt=[];return dt(je,(St,Qt)=>{const cn=Yt.indexOf(St);return cn!==-1&&(Vt.push(Qt),Yt.splice(cn,1)),!!Yt.length}),Vt}var Lt=function(je,at){var Yt={};for(var Vt in je)Object.prototype.hasOwnProperty.call(je,Vt)&&at.indexOf(Vt)<0&&(Yt[Vt]=je[Vt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(je);St{var{defaultExpandAll:Yt,defaultExpandParent:Vt,defaultExpandedKeys:St}=je,Qt=Lt(je,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const cn=Le.useRef(),Nn=Le.useRef(),fn=()=>{const{keyEntities:Mt}=(0,ke.I8)(Rt(Qt));let kt;return Yt?kt=Object.keys(Mt):Vt?kt=(0,He.r7)(Qt.expandedKeys||St||[],Mt):kt=Qt.expandedKeys||St,kt},[Ln,Cn]=Le.useState(Qt.selectedKeys||Qt.defaultSelectedKeys||[]),[Bn,gn]=Le.useState(()=>fn());Le.useEffect(()=>{"selectedKeys"in Qt&&Cn(Qt.selectedKeys)},[Qt.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in Qt&&gn(Qt.expandedKeys)},[Qt.expandedKeys]);const Se=(Mt,kt)=>{var $t;return"expandedKeys"in Qt||gn(Mt),($t=Qt.onExpand)===null||$t===void 0?void 0:$t.call(Qt,Mt,kt)},Fe=(Mt,kt)=>{var $t;const{multiple:Sn}=Qt,{node:Bt,nativeEvent:nn}=kt,{key:tn=""}=Bt,zt=Rt(Qt),pt=Object.assign(Object.assign({},kt),{selected:!0}),Wt=(nn==null?void 0:nn.ctrlKey)||(nn==null?void 0:nn.metaKey),vn=nn==null?void 0:nn.shiftKey;let xn;Sn&&Wt?(xn=Mt,cn.current=tn,Nn.current=xn,pt.selectedNodes=Je(zt,xn)):Sn&&vn?(xn=Array.from(new Set([].concat((0,Me.Z)(Nn.current||[]),(0,Me.Z)(xt({treeData:zt,expandedKeys:Bn,startKey:tn,endKey:cn.current}))))),pt.selectedNodes=Je(zt,xn)):(xn=[tn],cn.current=tn,Nn.current=xn,pt.selectedNodes=Je(zt,xn)),($t=Qt.onSelect)===null||$t===void 0||$t.call(Qt,xn,pt),"selectedKeys"in Qt||Cn(xn)},{getPrefixCls:ie,direction:ae}=Le.useContext(Te.E_),{prefixCls:se,className:oe,showIcon:Ye=!0,expandAction:vt="click"}=Qt,et=Lt(Qt,["prefixCls","className","showIcon","expandAction"]),lt=ie("tree",se),Pt=Oe()(`${lt}-directory`,{[`${lt}-directory-rtl`]:ae==="rtl"},oe);return Le.createElement(rt,Object.assign({icon:Re,ref:at,blockNode:!0},et,{showIcon:Ye,expandAction:vt,prefixCls:lt,className:Pt,expandedKeys:Bn,selectedKeys:Ln,onSelect:Fe,onExpand:Se}))};var Tt=Le.forwardRef(Ft);const wt=rt;wt.DirectoryTree=Tt,wt.TreeNode=he.O;var it=wt},20648:function(Tn,Xt,ce){"use strict";ce.d(Xt,{TM:function(){return _e},Yk:function(){return Be}});var he=ce(36237),Me=ce(98447),Ue=ce(17313),At=ce(8378),Ne=ce(37613),Le=ce(83116);const ve=new he.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ae=(Oe,He)=>({[`.${Oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${He.motionDurationSlow}`}}}),we=(Oe,He)=>({[`.${Oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:He.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${He.lineWidthBold}px solid ${He.colorPrimary}`,borderRadius:"50%",content:'""'}}}),fe=(Oe,He)=>{const{treeCls:ke,treeNodeCls:Te,treeNodePadding:Pe,titleHeight:Xe,nodeSelectedBg:Ke,nodeHoverBg:qe}=He,We=He.paddingXS;return{[ke]:Object.assign(Object.assign({},(0,Ue.Wf)(He)),{background:He.colorBgContainer,borderRadius:He.borderRadius,transition:`background-color ${He.motionDurationSlow}`,[`&${ke}-rtl`]:{[`${ke}-switcher`]:{"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ke}-active-focused)`]:Object.assign({},(0,Ue.oN)(He)),[`${ke}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ke}-block-node`]:{[`${ke}-list-holder-inner`]:{alignItems:"stretch",[`${ke}-node-content-wrapper`]:{flex:"auto"},[`${Te}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Pe,insetInlineStart:0,border:`1px solid ${He.colorPrimary}`,opacity:0,animationName:ve,animationDuration:He.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Te}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Pe}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ke}-node-content-wrapper`]:{color:He.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ke}-node-content-wrapper`]:Object.assign({},(0,Ue.oN)(He)),[`&:not(${Te}-disabled).filter-node ${ke}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ke}-draggable-icon`]:{flexShrink:0,width:Xe,lineHeight:`${Xe}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${He.motionDurationSlow}`,[`${Te}:hover &`]:{opacity:.45}},[`&${Te}-disabled`]:{[`${ke}-draggable-icon`]:{visibility:"hidden"}}}},[`${ke}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Xe}},[`${ke}-draggable-icon`]:{visibility:"hidden"},[`${ke}-switcher`]:Object.assign(Object.assign({},Ae(Oe,He)),{position:"relative",flex:"none",alignSelf:"stretch",width:Xe,margin:0,lineHeight:`${Xe}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:He.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Xe/2,bottom:-Pe,marginInlineStart:-1,borderInlineEnd:`1px solid ${He.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Xe/2*.8,height:Xe/2,borderBottom:`1px solid ${He.colorBorder}`,content:'""'}}}),[`${ke}-checkbox`]:{top:"initial",marginInlineEnd:We},[`${ke}-node-content-wrapper, ${ke}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Xe,margin:0,padding:`0 ${He.paddingXS/2}px`,color:"inherit",lineHeight:`${Xe}px`,background:"transparent",borderRadius:He.borderRadius,cursor:"pointer",transition:`all ${He.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:qe},[`&${ke}-node-selected`]:{backgroundColor:Ke},[`${ke}-iconEle`]:{display:"inline-block",width:Xe,height:Xe,lineHeight:`${Xe}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ke}-unselectable ${ke}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ke}-node-content-wrapper`]:Object.assign({lineHeight:`${Xe}px`,userSelect:"none"},we(Oe,He)),[`${Te}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${He.colorPrimary}`}},"&-show-line":{[`${ke}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Xe/2,bottom:-Pe,borderInlineEnd:`1px solid ${He.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ke}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Te}-leaf-last`]:{[`${ke}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Xe/2}px !important`}}}}})}},ze=Oe=>{const{treeCls:He,treeNodeCls:ke,treeNodePadding:Te,directoryNodeSelectedBg:Pe,directoryNodeSelectedColor:Xe}=Oe;return{[`${He}${He}-directory`]:{[ke]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Te,insetInlineStart:0,transition:`background-color ${Oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Oe.controlItemBgHover}},"> *":{zIndex:1},[`${He}-switcher`]:{transition:`color ${Oe.motionDurationMid}`},[`${He}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${He}-node-selected`]:{color:Xe,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Pe},[`${He}-switcher`]:{color:Xe},[`${He}-node-content-wrapper`]:{color:Xe,background:"transparent"}}}}}},Be=(Oe,He)=>{const ke=`.${Oe}`,Te=`${ke}-treenode`,Pe=He.paddingXS/2,Xe=(0,Ne.TS)(He,{treeCls:ke,treeNodeCls:Te,treeNodePadding:Pe});return[fe(Oe,Xe),ze(Xe)]},_e=Oe=>{const{controlHeightSM:He}=Oe;return{titleHeight:He,nodeHoverBg:Oe.controlItemBgHover,nodeSelectedBg:Oe.controlItemBgActive}};Xt.ZP=(0,Le.Z)("Tree",(Oe,He)=>{let{prefixCls:ke}=He;return[{[Oe.componentCls]:(0,Me.C2)(`${ke}-checkbox`,Oe)},Be(ke,Oe),(0,At.Z)(Oe)]},Oe=>{const{colorTextLightSolid:He,colorPrimary:ke}=Oe;return Object.assign(Object.assign({},_e(Oe)),{directoryNodeSelectedColor:He,directoryNodeSelectedBg:ke})})},71997:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Te}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},At=Ue,Ne=ce(85221),Le=function(Xe,Ke){return Me.createElement(Ne.Z,(0,he.Z)({},Xe,{ref:Ke,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(52671),fe=ce(58617),ze=ce(15075),Be=ce(43531),_e=ce(92310),Oe=ce.n(_e),He=ce(92343),Te=Pe=>{const{prefixCls:Xe,switcherIcon:Ke,treeNodeProps:qe,showLine:We}=Pe,{isLeaf:Ze,expanded:$e,loading:rt}=qe;if(rt)return Me.createElement(fe.Z,{className:`${Xe}-switcher-loading-icon`});let ht;if(We&&typeof We=="object"&&(ht=We.showLeafIcon),Ze){if(!We)return null;if(typeof ht!="boolean"&&ht){const Je=typeof ht=="function"?ht(qe):ht,Lt=`${Xe}-switcher-line-custom-icon`;return(0,He.l$)(Je)?(0,He.Tm)(Je,{className:Oe()(Je.props.className||"",Lt)}):Je}return ht?Me.createElement(we.Z,{className:`${Xe}-switcher-line-icon`}):Me.createElement("span",{className:`${Xe}-switcher-leaf-line`})}const dt=`${Xe}-switcher-icon`,xt=typeof Ke=="function"?Ke(qe):Ke;return(0,He.l$)(xt)?(0,He.Tm)(xt,{className:Oe()(xt.props.className||"",dt)}):xt!==void 0?xt:We?$e?Me.createElement(ze.Z,{className:`${Xe}-switcher-line-icon`}):Me.createElement(Be.Z,{className:`${Xe}-switcher-line-icon`}):Me.createElement(Ae,{className:dt})}},86251:function(Tn,Xt){"use strict";Xt.byteLength=ve,Xt.toByteArray=we,Xt.fromByteArray=Be;for(var ce=[],he=[],Me=typeof Uint8Array!="undefined"?Uint8Array:Array,Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",At=0,Ne=Ue.length;At0)throw new Error("Invalid string. Length must be a multiple of 4");var He=_e.indexOf("=");He===-1&&(He=Oe);var ke=He===Oe?0:4-He%4;return[He,ke]}function ve(_e){var Oe=Le(_e),He=Oe[0],ke=Oe[1];return(He+ke)*3/4-ke}function Ae(_e,Oe,He){return(Oe+He)*3/4-He}function we(_e){var Oe,He=Le(_e),ke=He[0],Te=He[1],Pe=new Me(Ae(_e,ke,Te)),Xe=0,Ke=Te>0?ke-4:ke,qe;for(qe=0;qe>16&255,Pe[Xe++]=Oe>>8&255,Pe[Xe++]=Oe&255;return Te===2&&(Oe=he[_e.charCodeAt(qe)]<<2|he[_e.charCodeAt(qe+1)]>>4,Pe[Xe++]=Oe&255),Te===1&&(Oe=he[_e.charCodeAt(qe)]<<10|he[_e.charCodeAt(qe+1)]<<4|he[_e.charCodeAt(qe+2)]>>2,Pe[Xe++]=Oe>>8&255,Pe[Xe++]=Oe&255),Pe}function fe(_e){return ce[_e>>18&63]+ce[_e>>12&63]+ce[_e>>6&63]+ce[_e&63]}function ze(_e,Oe,He){for(var ke,Te=[],Pe=Oe;PeKe?Ke:Xe+Pe));return ke===1?(Oe=_e[He-1],Te.push(ce[Oe>>2]+ce[Oe<<4&63]+"==")):ke===2&&(Oe=(_e[He-2]<<8)+_e[He-1],Te.push(ce[Oe>>10]+ce[Oe>>4&63]+ce[Oe<<2&63]+"=")),Te.join("")}},19208:function(Tn,Xt,ce){"use strict";var he;var Me=ce(86251),Ue=ce(67467),At=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Xt.lW=Ae,he=Xe,Xt.h2=50;var Ne=2147483647;he=Ne,Ae.TYPED_ARRAY_SUPPORT=Le(),!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 Le(){try{var ie=new Uint8Array(1),ae={foo:function(){return 42}};return Object.setPrototypeOf(ae,Uint8Array.prototype),Object.setPrototypeOf(ie,ae),ie.foo()===42}catch(se){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 ve(ie){if(ie>Ne)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ae=new Uint8Array(ie);return Object.setPrototypeOf(ae,Ae.prototype),ae}function Ae(ie,ae,se){if(typeof ie=="number"){if(typeof ae=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Be(ie)}return we(ie,ae,se)}Ae.poolSize=8192;function we(ie,ae,se){if(typeof ie=="string")return _e(ie,ae);if(ArrayBuffer.isView(ie))return He(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(gn(ie,ArrayBuffer)||ie&&gn(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(gn(ie,SharedArrayBuffer)||ie&&gn(ie.buffer,SharedArrayBuffer)))return ke(ie,ae,se);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var oe=ie.valueOf&&ie.valueOf();if(oe!=null&&oe!==ie)return Ae.from(oe,ae,se);var Ye=Te(ie);if(Ye)return Ye;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return Ae.from(ie[Symbol.toPrimitive]("string"),ae,se);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,ae,se){return we(ie,ae,se)},Object.setPrototypeOf(Ae.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ae,Uint8Array);function fe(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 ze(ie,ae,se){return fe(ie),ie<=0?ve(ie):ae!==void 0?typeof se=="string"?ve(ie).fill(ae,se):ve(ie).fill(ae):ve(ie)}Ae.alloc=function(ie,ae,se){return ze(ie,ae,se)};function Be(ie){return fe(ie),ve(ie<0?0:Pe(ie)|0)}Ae.allocUnsafe=function(ie){return Be(ie)},Ae.allocUnsafeSlow=function(ie){return Be(ie)};function _e(ie,ae){if((typeof ae!="string"||ae==="")&&(ae="utf8"),!Ae.isEncoding(ae))throw new TypeError("Unknown encoding: "+ae);var se=Ke(ie,ae)|0,oe=ve(se),Ye=oe.write(ie,ae);return Ye!==se&&(oe=oe.slice(0,Ye)),oe}function Oe(ie){for(var ae=ie.length<0?0:Pe(ie.length)|0,se=ve(ae),oe=0;oe=Ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ne.toString(16)+" bytes");return ie|0}function Xe(ie){return+ie!=ie&&(ie=0),Ae.alloc(+ie)}Ae.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==Ae.prototype},Ae.compare=function(ae,se){if(gn(ae,Uint8Array)&&(ae=Ae.from(ae,ae.offset,ae.byteLength)),gn(se,Uint8Array)&&(se=Ae.from(se,se.offset,se.byteLength)),!Ae.isBuffer(ae)||!Ae.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===se)return 0;for(var oe=ae.length,Ye=se.length,vt=0,et=Math.min(oe,Ye);vtYe.length?Ae.from(et).copy(Ye,vt):Uint8Array.prototype.set.call(Ye,et,vt);else if(Ae.isBuffer(et))et.copy(Ye,vt);else throw new TypeError('"list" argument must be an Array of Buffers');vt+=et.length}return Ye};function Ke(ie,ae){if(Ae.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||gn(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 se=ie.length,oe=arguments.length>2&&arguments[2]===!0;if(!oe&&se===0)return 0;for(var Ye=!1;;)switch(ae){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return Nn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return Cn(ie).length;default:if(Ye)return oe?-1:Nn(ie).length;ae=(""+ae).toLowerCase(),Ye=!0}}Ae.byteLength=Ke;function qe(ie,ae,se){var oe=!1;if((ae===void 0||ae<0)&&(ae=0),ae>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,ae>>>=0,se<=ae))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return wt(this,ae,se);case"utf8":case"utf-8":return Re(this,ae,se);case"ascii":return bt(this,ae,se);case"latin1":case"binary":return Tt(this,ae,se);case"base64":return Lt(this,ae,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,ae,se);default:if(oe)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),oe=!0}}Ae.prototype._isBuffer=!0;function We(ie,ae,se){var oe=ie[ae];ie[ae]=ie[se],ie[se]=oe}Ae.prototype.swap16=function(){var ae=this.length;if(ae%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;sese&&(ae+=" ... "),""},At&&(Ae.prototype[At]=Ae.prototype.inspect),Ae.prototype.compare=function(ae,se,oe,Ye,vt){if(gn(ae,Uint8Array)&&(ae=Ae.from(ae,ae.offset,ae.byteLength)),!Ae.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ae);if(se===void 0&&(se=0),oe===void 0&&(oe=ae?ae.length:0),Ye===void 0&&(Ye=0),vt===void 0&&(vt=this.length),se<0||oe>ae.length||Ye<0||vt>this.length)throw new RangeError("out of range index");if(Ye>=vt&&se>=oe)return 0;if(Ye>=vt)return-1;if(se>=oe)return 1;if(se>>>=0,oe>>>=0,Ye>>>=0,vt>>>=0,this===ae)return 0;for(var et=vt-Ye,lt=oe-se,Pt=Math.min(et,lt),Mt=this.slice(Ye,vt),kt=ae.slice(se,oe),$t=0;$t2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,Se(se)&&(se=Ye?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Ye)return-1;se=ie.length-1}else if(se<0)if(Ye)se=0;else return-1;if(typeof ae=="string"&&(ae=Ae.from(ae,oe)),Ae.isBuffer(ae))return ae.length===0?-1:$e(ie,ae,se,oe,Ye);if(typeof ae=="number")return ae=ae&255,typeof Uint8Array.prototype.indexOf=="function"?Ye?Uint8Array.prototype.indexOf.call(ie,ae,se):Uint8Array.prototype.lastIndexOf.call(ie,ae,se):$e(ie,[ae],se,oe,Ye);throw new TypeError("val must be string, number or Buffer")}function $e(ie,ae,se,oe,Ye){var vt=1,et=ie.length,lt=ae.length;if(oe!==void 0&&(oe=String(oe).toLowerCase(),oe==="ucs2"||oe==="ucs-2"||oe==="utf16le"||oe==="utf-16le")){if(ie.length<2||ae.length<2)return-1;vt=2,et/=2,lt/=2,se/=2}function Pt(Bt,nn){return vt===1?Bt[nn]:Bt.readUInt16BE(nn*vt)}var Mt;if(Ye){var kt=-1;for(Mt=se;Mtet&&(se=et-lt),Mt=se;Mt>=0;Mt--){for(var $t=!0,Sn=0;SnYe&&(oe=Ye)):oe=Ye;var vt=ae.length;oe>vt/2&&(oe=vt/2);for(var et=0;et>>0,isFinite(oe)?(oe=oe>>>0,Ye===void 0&&(Ye="utf8")):(Ye=oe,oe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var vt=this.length-se;if((oe===void 0||oe>vt)&&(oe=vt),ae.length>0&&(oe<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ye||(Ye="utf8");for(var et=!1;;)switch(Ye){case"hex":return rt(this,ae,se,oe);case"utf8":case"utf-8":return ht(this,ae,se,oe);case"ascii":case"latin1":case"binary":return dt(this,ae,se,oe);case"base64":return xt(this,ae,se,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Je(this,ae,se,oe);default:if(et)throw new TypeError("Unknown encoding: "+Ye);Ye=(""+Ye).toLowerCase(),et=!0}},Ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lt(ie,ae,se){return ae===0&&se===ie.length?Me.fromByteArray(ie):Me.fromByteArray(ie.slice(ae,se))}function Re(ie,ae,se){se=Math.min(ie.length,se);for(var oe=[],Ye=ae;Ye239?4:vt>223?3:vt>191?2:1;if(Ye+lt<=se){var Pt,Mt,kt,$t;switch(lt){case 1:vt<128&&(et=vt);break;case 2:Pt=ie[Ye+1],(Pt&192)===128&&($t=(vt&31)<<6|Pt&63,$t>127&&(et=$t));break;case 3:Pt=ie[Ye+1],Mt=ie[Ye+2],(Pt&192)===128&&(Mt&192)===128&&($t=(vt&15)<<12|(Pt&63)<<6|Mt&63,$t>2047&&($t<55296||$t>57343)&&(et=$t));break;case 4:Pt=ie[Ye+1],Mt=ie[Ye+2],kt=ie[Ye+3],(Pt&192)===128&&(Mt&192)===128&&(kt&192)===128&&($t=(vt&15)<<18|(Pt&63)<<12|(Mt&63)<<6|kt&63,$t>65535&&$t<1114112&&(et=$t))}}et===null?(et=65533,lt=1):et>65535&&(et-=65536,oe.push(et>>>10&1023|55296),et=56320|et&1023),oe.push(et),Ye+=lt}return Ft(oe)}var Rt=4096;function Ft(ie){var ae=ie.length;if(ae<=Rt)return String.fromCharCode.apply(String,ie);for(var se="",oe=0;oeoe)&&(se=oe);for(var Ye="",vt=ae;vtoe&&(ae=oe),se<0?(se+=oe,se<0&&(se=0)):se>oe&&(se=oe),sese)throw new RangeError("Trying to access beyond buffer length")}Ae.prototype.readUintLE=Ae.prototype.readUIntLE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=this[ae],vt=1,et=0;++et>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=this[ae+--se],vt=1;se>0&&(vt*=256);)Ye+=this[ae+--se]*vt;return Ye},Ae.prototype.readUint8=Ae.prototype.readUInt8=function(ae,se){return ae=ae>>>0,se||je(ae,1,this.length),this[ae]},Ae.prototype.readUint16LE=Ae.prototype.readUInt16LE=function(ae,se){return ae=ae>>>0,se||je(ae,2,this.length),this[ae]|this[ae+1]<<8},Ae.prototype.readUint16BE=Ae.prototype.readUInt16BE=function(ae,se){return ae=ae>>>0,se||je(ae,2,this.length),this[ae]<<8|this[ae+1]},Ae.prototype.readUint32LE=Ae.prototype.readUInt32LE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+this[ae+3]*16777216},Ae.prototype.readUint32BE=Ae.prototype.readUInt32BE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),this[ae]*16777216+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},Ae.prototype.readIntLE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=this[ae],vt=1,et=0;++et=vt&&(Ye-=Math.pow(2,8*se)),Ye},Ae.prototype.readIntBE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=se,vt=1,et=this[ae+--Ye];Ye>0&&(vt*=256);)et+=this[ae+--Ye]*vt;return vt*=128,et>=vt&&(et-=Math.pow(2,8*se)),et},Ae.prototype.readInt8=function(ae,se){return ae=ae>>>0,se||je(ae,1,this.length),this[ae]&128?(255-this[ae]+1)*-1:this[ae]},Ae.prototype.readInt16LE=function(ae,se){ae=ae>>>0,se||je(ae,2,this.length);var oe=this[ae]|this[ae+1]<<8;return oe&32768?oe|4294901760:oe},Ae.prototype.readInt16BE=function(ae,se){ae=ae>>>0,se||je(ae,2,this.length);var oe=this[ae+1]|this[ae]<<8;return oe&32768?oe|4294901760:oe},Ae.prototype.readInt32LE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},Ae.prototype.readInt32BE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},Ae.prototype.readFloatLE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),Ue.read(this,ae,!0,23,4)},Ae.prototype.readFloatBE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),Ue.read(this,ae,!1,23,4)},Ae.prototype.readDoubleLE=function(ae,se){return ae=ae>>>0,se||je(ae,8,this.length),Ue.read(this,ae,!0,52,8)},Ae.prototype.readDoubleBE=function(ae,se){return ae=ae>>>0,se||je(ae,8,this.length),Ue.read(this,ae,!1,52,8)};function at(ie,ae,se,oe,Ye,vt){if(!Ae.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ae>Ye||aeie.length)throw new RangeError("Index out of range")}Ae.prototype.writeUintLE=Ae.prototype.writeUIntLE=function(ae,se,oe,Ye){if(ae=+ae,se=se>>>0,oe=oe>>>0,!Ye){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var et=1,lt=0;for(this[se]=ae&255;++lt>>0,oe=oe>>>0,!Ye){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var et=oe-1,lt=1;for(this[se+et]=ae&255;--et>=0&&(lt*=256);)this[se+et]=ae/lt&255;return se+oe},Ae.prototype.writeUint8=Ae.prototype.writeUInt8=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,1,255,0),this[se]=ae&255,se+1},Ae.prototype.writeUint16LE=Ae.prototype.writeUInt16LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,65535,0),this[se]=ae&255,this[se+1]=ae>>>8,se+2},Ae.prototype.writeUint16BE=Ae.prototype.writeUInt16BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,65535,0),this[se]=ae>>>8,this[se+1]=ae&255,se+2},Ae.prototype.writeUint32LE=Ae.prototype.writeUInt32LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,4294967295,0),this[se+3]=ae>>>24,this[se+2]=ae>>>16,this[se+1]=ae>>>8,this[se]=ae&255,se+4},Ae.prototype.writeUint32BE=Ae.prototype.writeUInt32BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,4294967295,0),this[se]=ae>>>24,this[se+1]=ae>>>16,this[se+2]=ae>>>8,this[se+3]=ae&255,se+4},Ae.prototype.writeIntLE=function(ae,se,oe,Ye){if(ae=+ae,se=se>>>0,!Ye){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var et=0,lt=1,Pt=0;for(this[se]=ae&255;++et>0)-Pt&255;return se+oe},Ae.prototype.writeIntBE=function(ae,se,oe,Ye){if(ae=+ae,se=se>>>0,!Ye){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var et=oe-1,lt=1,Pt=0;for(this[se+et]=ae&255;--et>=0&&(lt*=256);)ae<0&&Pt===0&&this[se+et+1]!==0&&(Pt=1),this[se+et]=(ae/lt>>0)-Pt&255;return se+oe},Ae.prototype.writeInt8=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,1,127,-128),ae<0&&(ae=255+ae+1),this[se]=ae&255,se+1},Ae.prototype.writeInt16LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,32767,-32768),this[se]=ae&255,this[se+1]=ae>>>8,se+2},Ae.prototype.writeInt16BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,32767,-32768),this[se]=ae>>>8,this[se+1]=ae&255,se+2},Ae.prototype.writeInt32LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,2147483647,-2147483648),this[se]=ae&255,this[se+1]=ae>>>8,this[se+2]=ae>>>16,this[se+3]=ae>>>24,se+4},Ae.prototype.writeInt32BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[se]=ae>>>24,this[se+1]=ae>>>16,this[se+2]=ae>>>8,this[se+3]=ae&255,se+4};function Yt(ie,ae,se,oe,Ye,vt){if(se+oe>ie.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function Vt(ie,ae,se,oe,Ye){return ae=+ae,se=se>>>0,Ye||Yt(ie,ae,se,4,34028234663852886e22,-34028234663852886e22),Ue.write(ie,ae,se,oe,23,4),se+4}Ae.prototype.writeFloatLE=function(ae,se,oe){return Vt(this,ae,se,!0,oe)},Ae.prototype.writeFloatBE=function(ae,se,oe){return Vt(this,ae,se,!1,oe)};function St(ie,ae,se,oe,Ye){return ae=+ae,se=se>>>0,Ye||Yt(ie,ae,se,8,17976931348623157e292,-17976931348623157e292),Ue.write(ie,ae,se,oe,52,8),se+8}Ae.prototype.writeDoubleLE=function(ae,se,oe){return St(this,ae,se,!0,oe)},Ae.prototype.writeDoubleBE=function(ae,se,oe){return St(this,ae,se,!1,oe)},Ae.prototype.copy=function(ae,se,oe,Ye){if(!Ae.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(oe||(oe=0),!Ye&&Ye!==0&&(Ye=this.length),se>=ae.length&&(se=ae.length),se||(se=0),Ye>0&&Ye=this.length)throw new RangeError("Index out of range");if(Ye<0)throw new RangeError("sourceEnd out of bounds");Ye>this.length&&(Ye=this.length),ae.length-se>>0,oe=oe===void 0?this.length:oe>>>0,ae||(ae=0);var et;if(typeof ae=="number")for(et=se;et55295&&se<57344){if(!Ye){if(se>56319){(ae-=3)>-1&&vt.push(239,191,189);continue}else if(et+1===oe){(ae-=3)>-1&&vt.push(239,191,189);continue}Ye=se;continue}if(se<56320){(ae-=3)>-1&&vt.push(239,191,189),Ye=se;continue}se=(Ye-55296<<10|se-56320)+65536}else Ye&&(ae-=3)>-1&&vt.push(239,191,189);if(Ye=null,se<128){if((ae-=1)<0)break;vt.push(se)}else if(se<2048){if((ae-=2)<0)break;vt.push(se>>6|192,se&63|128)}else if(se<65536){if((ae-=3)<0)break;vt.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((ae-=4)<0)break;vt.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return vt}function fn(ie){for(var ae=[],se=0;se>8,Ye=se%256,vt.push(Ye),vt.push(oe);return vt}function Cn(ie){return Me.toByteArray(cn(ie))}function Bn(ie,ae,se,oe){for(var Ye=0;Ye=ae.length||Ye>=ie.length);++Ye)ae[Ye+se]=ie[Ye];return Ye}function gn(ie,ae){return ie instanceof ae||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ae.name}function Se(ie){return ie!==ie}var Fe=function(){for(var ie="0123456789abcdef",ae=new Array(256),se=0;se<16;++se)for(var oe=se*16,Ye=0;Ye<16;++Ye)ae[oe+Ye]=ie[se]+ie[Ye];return ae}()},14625:function(Tn){function Xt(he){var Me,Ue,At="";if(typeof he=="string"||typeof he=="number")At+=he;else if(typeof he=="object")if(Array.isArray(he)){var Ne=he.length;for(Me=0;Me`,triples:"",explode:"[]{}"},Ue=he.Pos;he.defineOption("autoCloseBrackets",!1,function(He,ke,Te){Te&&Te!=he.Init&&(He.removeKeyMap(Ne),He.state.closeBrackets=null),ke&&(Le(At(ke,"pairs")),He.state.closeBrackets=ke,He.addKeyMap(Ne))});function At(He,ke){return ke=="pairs"&&typeof He=="string"?He:typeof He=="object"&&He[ke]!=null?He[ke]:Me[ke]}var Ne={Backspace:we,Enter:fe};function Le(He){for(var ke=0;ke=0;Xe--){var qe=Pe[Xe].head;He.replaceRange("",Ue(qe.line,qe.ch-1),Ue(qe.line,qe.ch+1),"+delete")}}function fe(He){var ke=Ae(He),Te=ke&&At(ke,"explode");if(!Te||He.getOption("disableInput"))return he.Pass;for(var Pe=He.listSelections(),Xe=0;Xe0;return{anchor:new Ue(He.anchor.line,He.anchor.ch+(ke?-1:1)),head:new Ue(He.head.line,He.head.ch+(ke?1:-1))}}function Be(He,ke){var Te=Ae(He);if(!Te||He.getOption("disableInput"))return he.Pass;var Pe=At(Te,"pairs"),Xe=Pe.indexOf(ke);if(Xe==-1)return he.Pass;for(var Ke=At(Te,"closeBefore"),qe=At(Te,"triples"),We=Pe.charAt(Xe+1)==ke,Ze=He.listSelections(),$e=Xe%2==0,rt,ht=0;ht=0&&He.getRange(xt,Ue(xt.line,xt.ch+3))==ke+ke+ke?Je="skipThree":Je="skip";else if(We&&xt.ch>1&&qe.indexOf(ke)>=0&&He.getRange(Ue(xt.line,xt.ch-2),xt)==ke+ke){if(xt.ch>2&&/\bstring/.test(He.getTokenTypeAt(Ue(xt.line,xt.ch-2))))return he.Pass;Je="addFour"}else if(We){var Re=xt.ch==0?" ":He.getRange(Ue(xt.line,xt.ch-1),xt);if(!he.isWordChar(Lt)&&Re!=ke&&!he.isWordChar(Re))Je="both";else return he.Pass}else if($e&&(Lt.length===0||/\s/.test(Lt)||Ke.indexOf(Lt)>-1))Je="both";else return he.Pass;if(!rt)rt=Je;else if(rt!=Je)return he.Pass}var Rt=Xe%2?Pe.charAt(Xe-1):ke,Ft=Xe%2?ke:Pe.charAt(Xe+1);He.operation(function(){if(rt=="skip")He.execCommand("goCharRight");else if(rt=="skipThree")for(var bt=0;bt<3;bt++)He.execCommand("goCharRight");else if(rt=="surround"){for(var Tt=He.getSelections(),bt=0;bt'"]=function(_e){return At(_e)}),we.addKeyMap(Be)}});var Me=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ue=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function At(we){if(we.getOption("disableInput"))return he.Pass;for(var fe=we.listSelections(),ze=[],Be=we.getOption("autoCloseTags"),_e=0;_eOe.ch&&(Xe=Xe.slice(0,Xe.length-He.end+Oe.ch));var Ze=Xe.toLowerCase();if(!Xe||He.type=="string"&&(He.end!=Oe.ch||!/[\"\']/.test(He.string.charAt(He.string.length-1))||He.string.length==1)||He.type=="tag"&&Pe.close||He.string.indexOf("/")==Oe.ch-He.start-1||qe&&ve(qe,Ze)>-1||Ae(we,ke.mode.xmlCurrentContext&&ke.mode.xmlCurrentContext(Te)||[],Xe,Oe,!0))return he.Pass;var $e=typeof Be=="object"&&Be.emptyTags;if($e&&ve($e,Xe)>-1){ze[_e]={text:"/>",newPos:he.Pos(Oe.line,Oe.ch+2)};continue}var rt=We&&ve(We,Ze)>-1;ze[_e]={indent:rt,text:">"+(rt?` `:"")+"",newPos:rt?he.Pos(Oe.line+1,0):he.Pos(Oe.line,Oe.ch+1)}}for(var ht=typeof Be=="object"&&Be.dontIndentOnAutoClose,_e=fe.length-1;_e>=0;_e--){var dt=ze[_e];we.replaceRange(dt.text,fe[_e].head,fe[_e].anchor,"+insert");var xt=we.listSelections().slice(0);xt[_e]={head:dt.newPos,anchor:dt.newPos},we.setSelections(xt),!ht&&dt.indent&&(we.indentLine(dt.newPos.line,null,!0),we.indentLine(dt.newPos.line+1,null,!0))}}function Ne(we,fe){for(var ze=we.listSelections(),Be=[],_e=fe?"/":""&&(qe+=">"),Be[ke]=qe}if(we.replaceSelections(Be),ze=we.listSelections(),!He)for(var ke=0;ke=0&&fe[Te]==ze;Te--)++ke;Be=He.to;for(var Te=1;Te=Te.max))return Te.ch=0,Te.text=Te.cm.getLine(++Te.line),!0}function fe(Te){if(!(Te.line<=Te.min))return Te.text=Te.cm.getLine(--Te.line),Te.ch=Te.text.length,!0}function ze(Te){for(;;){var Pe=Te.text.indexOf(">",Te.ch);if(Pe==-1){if(we(Te))continue;return}if(!Ae(Te,Pe+1)){Te.ch=Pe+1;continue}var Xe=Te.text.lastIndexOf("/",Pe),Ke=Xe>-1&&!/\S/.test(Te.text.slice(Xe+1,Pe));return Te.ch=Pe+1,Ke?"selfClose":"regular"}}function Be(Te){for(;;){var Pe=Te.ch?Te.text.lastIndexOf("<",Te.ch-1):-1;if(Pe==-1){if(fe(Te))continue;return}if(!Ae(Te,Pe+1)){Te.ch=Pe;continue}Le.lastIndex=Pe,Te.ch=Pe;var Xe=Le.exec(Te.text);if(Xe&&Xe.index==Pe)return Xe}}function _e(Te){for(;;){Le.lastIndex=Te.ch;var Pe=Le.exec(Te.text);if(!Pe){if(we(Te))continue;return}if(!Ae(Te,Pe.index+1)){Te.ch=Pe.index+1;continue}return Te.ch=Pe.index+Pe[0].length,Pe}}function Oe(Te){for(;;){var Pe=Te.ch?Te.text.lastIndexOf(">",Te.ch-1):-1;if(Pe==-1){if(fe(Te))continue;return}if(!Ae(Te,Pe+1)){Te.ch=Pe;continue}var Xe=Te.text.lastIndexOf("/",Pe),Ke=Xe>-1&&!/\S/.test(Te.text.slice(Xe+1,Pe));return Te.ch=Pe+1,Ke?"selfClose":"regular"}}function He(Te,Pe){for(var Xe=[];;){var Ke=_e(Te),qe,We=Te.line,Ze=Te.ch-(Ke?Ke[0].length:0);if(!Ke||!(qe=ze(Te)))return;if(qe!="selfClose")if(Ke[1]){for(var $e=Xe.length-1;$e>=0;--$e)if(Xe[$e]==Ke[2]){Xe.length=$e;break}if($e<0&&(!Pe||Pe==Ke[2]))return{tag:Ke[2],from:Me(We,Ze),to:Me(Te.line,Te.ch)}}else Xe.push(Ke[2])}}function ke(Te,Pe){for(var Xe=[];;){var Ke=Oe(Te);if(!Ke)return;if(Ke=="selfClose"){Be(Te);continue}var qe=Te.line,We=Te.ch,Ze=Be(Te);if(!Ze)return;if(Ze[1])Xe.push(Ze[2]);else{for(var $e=Xe.length-1;$e>=0;--$e)if(Xe[$e]==Ze[2]){Xe.length=$e;break}if($e<0&&(!Pe||Pe==Ze[2]))return{tag:Ze[2],from:Me(Te.line,Te.ch),to:Me(qe,We)}}}}he.registerHelper("fold","xml",function(Te,Pe){for(var Xe=new ve(Te,Pe.line,0);;){var Ke=_e(Xe);if(!Ke||Xe.line!=Pe.line)return;var qe=ze(Xe);if(!qe)return;if(!Ke[1]&&qe!="selfClose"){var We=Me(Xe.line,Xe.ch),Ze=He(Xe,Ke[2]);return Ze&&Ue(Ze.from,We)>0?{from:We,to:Ze.from}:null}}}),he.findMatchingTag=function(Te,Pe,Xe){var Ke=new ve(Te,Pe.line,Pe.ch,Xe);if(!(Ke.text.indexOf(">")==-1&&Ke.text.indexOf("<")==-1)){var qe=ze(Ke),We=qe&&Me(Ke.line,Ke.ch),Ze=qe&&Be(Ke);if(!(!qe||!Ze||Ue(Ke,Pe)>0)){var $e={from:Me(Ke.line,Ke.ch),to:We,tag:Ze[2]};return qe=="selfClose"?{open:$e,close:null,at:"open"}:Ze[1]?{open:ke(Ke,Ze[2]),close:$e,at:"close"}:(Ke=new ve(Te,We.line,We.ch,Xe),{open:$e,close:He(Ke,Ze[2]),at:"open"})}}},he.findEnclosingTag=function(Te,Pe,Xe,Ke){for(var qe=new ve(Te,Pe.line,Pe.ch,Xe);;){var We=ke(qe,Ke);if(!We)break;var Ze=new ve(Te,Pe.line,Pe.ch,Xe),$e=He(Ze,We.tag);if($e)return{open:We,close:$e}}},he.scanForClosingTag=function(Te,Pe,Xe,Ke){var qe=new ve(Te,Pe.line,Pe.ch,Ke?{from:0,to:Ke}:null);return He(qe,Xe)}})},89780:function(Tn){(function(Xt,ce){Tn.exports=ce()})(this,function(){"use strict";var Xt=navigator.userAgent,ce=navigator.platform,he=/gecko\/\d/i.test(Xt),Me=/MSIE \d/.test(Xt),Ue=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Xt),At=/Edge\/(\d+)/.exec(Xt),Ne=Me||Ue||At,Le=Ne&&(Me?document.documentMode||6:+(At||Ue)[1]),ve=!At&&/WebKit\//.test(Xt),Ae=ve&&/Qt\/\d+\.\d+/.test(Xt),we=!At&&/Chrome\//.test(Xt),fe=/Opera\//.test(Xt),ze=/Apple Computer/.test(navigator.vendor),Be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Xt),_e=/PhantomJS/.test(Xt),Oe=!At&&/AppleWebKit/.test(Xt)&&/Mobile\/\w+/.test(Xt),He=/Android/.test(Xt),ke=Oe||He||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Xt),Te=Oe||/Mac/.test(ce),Pe=/\bCrOS\b/.test(Xt),Xe=/win/i.test(ce),Ke=fe&&Xt.match(/Version\/(\d*\.\d*)/);Ke&&(Ke=Number(Ke[1])),Ke&&Ke>=15&&(fe=!1,ve=!0);var qe=Te&&(Ae||fe&&(Ke==null||Ke<12.11)),We=he||Ne&&Le>=9;function Ze(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var $e=function(x,ee){var ue=x.className,le=Ze(ee).exec(ue);if(le){var me=ue.slice(le.index+le[0].length);x.className=ue.slice(0,le.index)+(me?le[1]+me:"")}};function rt(x){for(var ee=x.childNodes.length;ee>0;--ee)x.removeChild(x.firstChild);return x}function ht(x,ee){return rt(x).appendChild(ee)}function dt(x,ee,ue,le){var me=document.createElement(x);if(ue&&(me.className=ue),le&&(me.style.cssText=le),typeof ee=="string")me.appendChild(document.createTextNode(ee));else if(ee)for(var Ve=0;Ve=ee)return mt+(ee-Ve);mt+=It-Ve,mt+=ue-mt%ue,Ve=It+1}}var je=function(){this.id=null,this.f=null,this.time=0,this.handler=Tt(this.onTimeout,this)};je.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},je.prototype.set=function(x,ee){this.f=ee;var ue=+new Date+x;(!this.id||ue=ee)return le+Math.min(mt,ee-me);if(me+=Ve-le,me+=ue-me%ue,le=Ve+1,me>=ee)return le}}var fn=[""];function Ln(x){for(;fn.length<=x;)fn.push(Cn(fn)+" ");return fn[x]}function Cn(x){return x[x.length-1]}function Bn(x,ee){for(var ue=[],le=0;le"\x80"&&(x.toUpperCase()!=x.toLowerCase()||ie.test(x))}function se(x,ee){return ee?ee.source.indexOf("\\w")>-1&&ae(x)?!0:ee.test(x):ae(x)}function oe(x){for(var ee in x)if(x.hasOwnProperty(ee)&&x[ee])return!1;return!0}var Ye=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function vt(x){return x.charCodeAt(0)>=768&&Ye.test(x)}function et(x,ee,ue){for(;(ue<0?ee>0:eeue?-1:1;;){if(ee==ue)return ee;var me=(ee+ue)/2,Ve=le<0?Math.ceil(me):Math.floor(me);if(Ve==ee)return x(Ve)?ee:ue;x(Ve)?ue=Ve:ee=Ve+le}}function Pt(x,ee,ue,le){if(!x)return le(ee,ue,"ltr",0);for(var me=!1,Ve=0;Veee||ee==ue&&mt.to==ee)&&(le(Math.max(mt.from,ee),Math.min(mt.to,ue),mt.level==1?"rtl":"ltr",Ve),me=!0)}me||le(ee,ue,"ltr")}var Mt=null;function kt(x,ee,ue){var le;Mt=null;for(var me=0;meee)return me;Ve.to==ee&&(Ve.from!=Ve.to&&ue=="before"?le=me:Mt=me),Ve.from==ee&&(Ve.from!=Ve.to&&ue!="before"?le=me:Mt=me)}return le!=null?le:Mt}var $t=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ee="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ue(Jt){return Jt<=247?x.charAt(Jt):1424<=Jt&&Jt<=1524?"R":1536<=Jt&&Jt<=1785?ee.charAt(Jt-1536):1774<=Jt&&Jt<=2220?"r":8192<=Jt&&Jt<=8203?"w":Jt==8204?"b":"L"}var le=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,me=/[stwN]/,Ve=/[LRr]/,mt=/[Lb1n]/,It=/[1n]/;function Ht(Jt,zn,tr){this.level=Jt,this.from=zn,this.to=tr}return function(Jt,zn){var tr=zn=="ltr"?"L":"R";if(Jt.length==0||zn=="ltr"&&!le.test(Jt))return!1;for(var ei=Jt.length,Kr=[],Ri=0;Ri-1&&(le[ee]=me.slice(0,Ve).concat(me.slice(Ve+1)))}}}function pt(x,ee){var ue=tn(x,ee);if(ue.length)for(var le=Array.prototype.slice.call(arguments,2),me=0;me0}function Wn(x){x.prototype.on=function(ee,ue){nn(this,ee,ue)},x.prototype.off=function(ee,ue){zt(this,ee,ue)}}function br(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Lr(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function jr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Qr(x){br(x),Lr(x)}function vr(x){return x.target||x.srcElement}function Ar(x){var ee=x.which;return ee==null&&(x.button&1?ee=1:x.button&2?ee=3:x.button&4&&(ee=2)),Te&&x.ctrlKey&&ee==1&&(ee=3),ee}var Tr=function(){if(Ne&&Le<9)return!1;var x=dt("div");return"draggable"in x||"dragDrop"in x}(),Bi;function $i(x){if(Bi==null){var ee=dt("span","\u200B");ht(x,dt("span",[ee,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Bi=ee.offsetWidth<=1&&ee.offsetHeight>2&&!(Ne&&Le<8))}var ue=Bi?dt("span","\u200B"):dt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ue.setAttribute("cm-text",""),ue}var mi;function Mi(x){if(mi!=null)return mi;var ee=ht(x,document.createTextNode("A\u062EA")),ue=Je(ee,0,1).getBoundingClientRect(),le=Je(ee,1,2).getBoundingClientRect();return rt(x),!ue||ue.left==ue.right?!1:mi=le.right-ue.right<3}var pa=` b`.split(/\n/).length!=3?function(x){for(var ee=0,ue=[],le=x.length;ee<=le;){var me=x.indexOf(` `,ee);me==-1&&(me=x.length);var Ve=x.slice(ee,x.charAt(me-1)=="\r"?me-1:me),mt=Ve.indexOf("\r");mt!=-1?(ue.push(Ve.slice(0,mt)),ee+=mt+1):(ue.push(Ve),ee=me+1)}return ue}:function(x){return x.split(/\r\n?|\n/)},Dr=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(ee){return!1}}:function(x){var ee;try{ee=x.ownerDocument.selection.createRange()}catch(ue){}return!ee||ee.parentElement()!=x?!1:ee.compareEndPoints("StartToEnd",ee)!=0},_n=function(){var x=dt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),no=null;function Ki(x){if(no!=null)return no;var ee=ht(x,dt("span","x")),ue=ee.getBoundingClientRect(),le=Je(ee,0,1).getBoundingClientRect();return no=Math.abs(ue.left-le.left)>1}var Co={},ro={};function Pi(x,ee){arguments.length>2&&(ee.dependencies=Array.prototype.slice.call(arguments,2)),Co[x]=ee}function Ii(x,ee){ro[x]=ee}function Si(x){if(typeof x=="string"&&ro.hasOwnProperty(x))x=ro[x];else if(x&&typeof x.name=="string"&&ro.hasOwnProperty(x.name)){var ee=ro[x.name];typeof ee=="string"&&(ee={name:ee}),x=Fe(ee,x),x.name=ee.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Si("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Si("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function gi(x,ee){ee=Si(ee);var ue=Co[ee.name];if(!ue)return gi(x,"text/plain");var le=ue(x,ee);if(Ea.hasOwnProperty(ee.name)){var me=Ea[ee.name];for(var Ve in me)me.hasOwnProperty(Ve)&&(le.hasOwnProperty(Ve)&&(le["_"+Ve]=le[Ve]),le[Ve]=me[Ve])}if(le.name=ee.name,ee.helperType&&(le.helperType=ee.helperType),ee.modeProps)for(var mt in ee.modeProps)le[mt]=ee.modeProps[mt];return le}var Ea={};function Fn(x,ee){var ue=Ea.hasOwnProperty(x)?Ea[x]:Ea[x]={};wt(ee,ue)}function Dt(x,ee){if(ee===!0)return ee;if(x.copyState)return x.copyState(ee);var ue={};for(var le in ee){var me=ee[le];me instanceof Array&&(me=me.concat([])),ue[le]=me}return ue}function Gt(x,ee){for(var ue;x.innerMode&&(ue=x.innerMode(ee),!(!ue||ue.mode==x));)ee=ue.state,x=ue.mode;return ue||{mode:x,state:ee}}function Zt(x,ee,ue){return x.startState?x.startState(ee,ue):!0}var jt=function(x,ee,ue){this.pos=this.start=0,this.string=x,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ue};jt.prototype.eol=function(){return this.pos>=this.string.length},jt.prototype.sol=function(){return this.pos==this.lineStart},jt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},jt.prototype.next=function(){if(this.posee},jt.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},jt.prototype.skipToEnd=function(){this.pos=this.string.length},jt.prototype.skipTo=function(x){var ee=this.string.indexOf(x,this.pos);if(ee>-1)return this.pos=ee,!0},jt.prototype.backUp=function(x){this.pos-=x},jt.prototype.column=function(){return this.lastColumnPos0?null:(Ve&&ee!==!1&&(this.pos+=Ve[0].length),Ve)}},jt.prototype.current=function(){return this.string.slice(this.start,this.pos)},jt.prototype.hideFirstChars=function(x,ee){this.lineStart+=x;try{return ee()}finally{this.lineStart-=x}},jt.prototype.lookAhead=function(x){var ee=this.lineOracle;return ee&&ee.lookAhead(x)},jt.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function on(x,ee){if(ee-=x.first,ee<0||ee>=x.size)throw new Error("There is no line "+(ee+x.first)+" in the document.");for(var ue=x;!ue.lines;)for(var le=0;;++le){var me=ue.children[le],Ve=me.chunkSize();if(ee=x.first&&eeue?Xn(ue,on(x,ue).text.length):oa(ee,on(x,ee.line).text.length)}function oa(x,ee){var ue=x.ch;return ue==null||ue>ee?Xn(x.line,ee):ue<0?Xn(x.line,0):x}function mn(x,ee){for(var ue=[],le=0;lethis.maxLookAhead&&(this.maxLookAhead=x),ee},dr.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var ee=this.baseTokens[this.baseTokenPos+1];return{type:ee&&ee.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},dr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},dr.fromSaved=function(x,ee,ue){return ee instanceof mr?new dr(x,Dt(x.mode,ee.state),ue,ee.lookAhead):new dr(x,Dt(x.mode,ee),ue)},dr.prototype.save=function(x){var ee=x!==!1?Dt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new mr(ee,this.maxLookAhead):ee};function Wr(x,ee,ue,le){var me=[x.state.modeGen],Ve={};oo(x,ee.text,x.doc.mode,ue,function(Jt,zn){return me.push(Jt,zn)},Ve,le);for(var mt=ue.state,It=function(Jt){ue.baseTokens=me;var zn=x.state.overlays[Jt],tr=1,ei=0;ue.state=!0,oo(x,ee.text,zn.mode,ue,function(Kr,Ri){for(var ga=tr;eiKr&&me.splice(tr,1,Kr,me[tr+1],Ga),tr+=2,ei=Math.min(Kr,Ga)}if(Ri)if(zn.opaque)me.splice(ga,tr-ga,Kr,"overlay "+Ri),tr=ga+2;else for(;gax.options.maxHighlightLength&&Dt(x.doc.mode,le.state),Ve=Wr(x,ee,le);me&&(le.state=me),ee.stateAfter=le.save(!me),ee.styles=Ve.styles,Ve.classes?ee.styleClasses=Ve.classes:ee.styleClasses&&(ee.styleClasses=null),ue===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return ee.styles}function Mr(x,ee,ue){var le=x.doc,me=x.display;if(!le.mode.startState)return new dr(le,!0,ee);var Ve=La(x,ee,ue),mt=Ve>le.first&&on(le,Ve-1).stateAfter,It=mt?dr.fromSaved(le,mt,Ve):new dr(le,Zt(le.mode),Ve);return le.iter(Ve,ee,function(Ht){Fr(x,Ht.text,It);var Jt=It.line;Ht.stateAfter=Jt==ee-1||Jt%5==0||Jt>=me.viewFrom&&Jtee.start)return Ve}throw new Error("Mode "+x.name+" failed to advance stream.")}var Hi=function(x,ee,ue){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=ee||null,this.state=ue};function Oa(x,ee,ue,le){var me=x.doc,Ve=me.mode,mt;ee=si(me,ee);var It=on(me,ee.line),Ht=Mr(x,ee.line,ue),Jt=new jt(It.text,x.options.tabSize,Ht),zn;for(le&&(zn=[]);(le||Jt.posx.options.maxHighlightLength?(It=!1,mt&&Fr(x,ee,le,zn.pos),zn.pos=ee.length,tr=null):tr=Qa(yi(ue,zn,le.state,ei),Ve),ei){var Kr=ei[0].name;Kr&&(tr="m-"+(tr?Kr+" "+tr:Kr))}if(!It||Jt!=tr){for(;Htmt;--It){if(It<=Ve.first)return Ve.first;var Ht=on(Ve,It-1),Jt=Ht.stateAfter;if(Jt&&(!ue||It+(Jt instanceof mr?Jt.lookAhead:0)<=Ve.modeFrontier))return It;var zn=it(Ht.text,null,x.options.tabSize);(me==null||le>zn)&&(me=It-1,le=zn)}return me}function Da(x,ee){if(x.modeFrontier=Math.min(x.modeFrontier,ee),!(x.highlightFrontierue;le--){var me=on(x,le).stateAfter;if(me&&(!(me instanceof mr)||le+me.lookAhead=ee:Ve.to>ee);(le||(le=[])).push(new ka(mt,Ve.from,Ht?null:Ve.to))}}return le}function Ya(x,ee,ue){var le;if(x)for(var me=0;me=ee:Ve.to>ee);if(It||Ve.from==ee&&mt.type=="bookmark"&&(!ue||Ve.marker.insertLeft)){var Ht=Ve.from==null||(mt.inclusiveLeft?Ve.from<=ee:Ve.from0&&It)for(var Ro=0;Ro0)){var zn=[Ht,1],tr=Or(Jt.from,It.from),ei=Or(Jt.to,It.to);(tr<0||!mt.inclusiveLeft&&!tr)&&zn.push({from:Jt.from,to:It.from}),(ei>0||!mt.inclusiveRight&&!ei)&&zn.push({from:It.to,to:Jt.to}),me.splice.apply(me,zn),Ht+=zn.length-3}}return me}function _a(x){var ee=x.markedSpans;if(ee){for(var ue=0;ueee)&&(!le||As(le,Ve.marker)<0)&&(le=Ve.marker)}return le}function Bo(x,ee,ue,le,me){var Ve=on(x,ee),mt=Za&&Ve.markedSpans;if(mt)for(var It=0;It=0&&tr<=0||zn<=0&&tr>=0)&&(zn<=0&&(Ht.marker.inclusiveRight&&me.inclusiveLeft?Or(Jt.to,ue)>=0:Or(Jt.to,ue)>0)||zn>=0&&(Ht.marker.inclusiveRight&&me.inclusiveLeft?Or(Jt.from,le)<=0:Or(Jt.from,le)<0)))return!0}}}function So(x){for(var ee;ee=Js(x);)x=ee.find(-1,!0).line;return x}function Ms(x){for(var ee;ee=Sa(x);)x=ee.find(1,!0).line;return x}function er(x){for(var ee,ue;ee=Sa(x);)x=ee.find(1,!0).line,(ue||(ue=[])).push(x);return ue}function Qs(x,ee){var ue=on(x,ee),le=So(ue);return ue==le?ee:pr(le)}function fs(x,ee){if(ee>x.lastLine())return ee;var ue=on(x,ee),le;if(!Zs(x,ue))return ee;for(;le=Sa(ue);)ue=le.find(1,!0).line;return pr(ue)+1}function Zs(x,ee){var ue=Za&&ee.markedSpans;if(ue){for(var le=void 0,me=0;meee.maxLineLength&&(ee.maxLineLength=me,ee.maxLine=le)})}var ua=function(x,ee,ue){this.text=x,Va(this,ee),this.height=ue?ue(this):1};ua.prototype.lineNo=function(){return pr(this)},Wn(ua);function cs(x,ee,ue,le){x.text=ee,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),_a(x),Va(x,ue);var me=le?le(x):1;me!=x.height&&qn(x,me)}function Ps(x){x.parent=null,_a(x)}var jo={},xs={};function Cs(x,ee){if(!x||/^\s*$/.test(x))return null;var ue=ee.addModeClass?xs:jo;return ue[x]||(ue[x]=x.replace(/\S+/g,"cm-$&"))}function $s(x,ee){var ue=xt("span",null,null,ve?"padding-right: .1px":null),le={pre:xt("pre",[ue],"CodeMirror-line"),content:ue,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};ee.measure={};for(var me=0;me<=(ee.rest?ee.rest.length:0);me++){var Ve=me?ee.rest[me-1]:ee.line,mt=void 0;le.pos=0,le.addToken=or,Mi(x.display.measure)&&(mt=Sn(Ve,x.doc.direction))&&(le.addToken=Nr(le.addToken,mt)),le.map=[];var It=ee!=x.display.externalMeasured&&pr(Ve);Io(Ve,le,wr(x,Ve,It)),Ve.styleClasses&&(Ve.styleClasses.bgClass&&(le.bgClass=Ft(Ve.styleClasses.bgClass,le.bgClass||"")),Ve.styleClasses.textClass&&(le.textClass=Ft(Ve.styleClasses.textClass,le.textClass||""))),le.map.length==0&&le.map.push(0,0,le.content.appendChild($i(x.display.measure))),me==0?(ee.measure.map=le.map,ee.measure.cache={}):((ee.measure.maps||(ee.measure.maps=[])).push(le.map),(ee.measure.caches||(ee.measure.caches=[])).push({}))}if(ve){var Ht=le.content.lastChild;(/\bcm-tab\b/.test(Ht.className)||Ht.querySelector&&Ht.querySelector(".cm-tab"))&&(le.content.className="cm-tab-wrap-hack")}return pt(x,"renderLine",x,ee.line,le.pre),le.pre.className&&(le.textClass=Ft(le.pre.className,le.textClass||"")),le}function ru(x){var ee=dt("span","\u2022","cm-invalidchar");return ee.title="\\u"+x.charCodeAt(0).toString(16),ee.setAttribute("aria-label",ee.title),ee}function or(x,ee,ue,le,me,Ve,mt){if(ee){var It=x.splitSpaces?Qn(ee,x.trailingSpace):ee,Ht=x.cm.state.specialChars,Jt=!1,zn;if(!Ht.test(ee))x.col+=ee.length,zn=document.createTextNode(It),x.map.push(x.pos,x.pos+ee.length,zn),Ne&&Le<9&&(Jt=!0),x.pos+=ee.length;else{zn=document.createDocumentFragment();for(var tr=0;;){Ht.lastIndex=tr;var ei=Ht.exec(ee),Kr=ei?ei.index-tr:ee.length-tr;if(Kr){var Ri=document.createTextNode(It.slice(tr,tr+Kr));Ne&&Le<9?zn.appendChild(dt("span",[Ri])):zn.appendChild(Ri),x.map.push(x.pos,x.pos+Kr,Ri),x.col+=Kr,x.pos+=Kr}if(!ei)break;tr+=Kr+1;var ga=void 0;if(ei[0]==" "){var Ga=x.cm.options.tabSize,yo=Ga-x.col%Ga;ga=zn.appendChild(dt("span",Ln(yo),"cm-tab")),ga.setAttribute("role","presentation"),ga.setAttribute("cm-text"," "),x.col+=yo}else ei[0]=="\r"||ei[0]==` `?(ga=zn.appendChild(dt("span",ei[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ga.setAttribute("cm-text",ei[0]),x.col+=1):(ga=x.cm.options.specialCharPlaceholder(ei[0]),ga.setAttribute("cm-text",ei[0]),Ne&&Le<9?zn.appendChild(dt("span",[ga])):zn.appendChild(ga),x.col+=1);x.map.push(x.pos,x.pos+1,ga),x.pos++}}if(x.trailingSpace=It.charCodeAt(ee.length-1)==32,ue||le||me||Jt||Ve||mt){var ko=ue||"";le&&(ko+=le),me&&(ko+=me);var Ao=dt("span",[zn],ko,Ve);if(mt)for(var Ro in mt)mt.hasOwnProperty(Ro)&&Ro!="style"&&Ro!="class"&&Ao.setAttribute(Ro,mt[Ro]);return x.content.appendChild(Ao)}x.content.appendChild(zn)}}function Qn(x,ee){if(x.length>1&&!/ /.test(x))return x;for(var ue=ee,le="",me=0;meJt&&tr.from<=Jt));ei++);if(tr.to>=zn)return x(ue,le,me,Ve,mt,It,Ht);x(ue,le.slice(0,tr.to-Jt),me,Ve,null,It,Ht),Ve=null,le=le.slice(tr.to-Jt),Jt=tr.to}}}function Di(x,ee,ue,le){var me=!le&&ue.widgetNode;me&&x.map.push(x.pos,x.pos+ee,me),!le&&x.cm.display.input.needsContentAttribute&&(me||(me=x.content.appendChild(document.createElement("span"))),me.setAttribute("cm-marker",ue.id)),me&&(x.cm.display.input.setUneditable(me),x.content.appendChild(me)),x.pos+=ee,x.trailingSpace=!1}function Io(x,ee,ue){var le=x.markedSpans,me=x.text,Ve=0;if(!le){for(var mt=1;mtHt||Rs.collapsed&&ws.to==Ht&&ws.from==Ht)){if(ws.to!=null&&ws.to!=Ht&&Kr>ws.to&&(Kr=ws.to,ga=""),Rs.className&&(Ri+=" "+Rs.className),Rs.css&&(ei=(ei?ei+";":"")+Rs.css),Rs.startStyle&&ws.from==Ht&&(Ga+=" "+Rs.startStyle),Rs.endStyle&&ws.to==Kr&&(Ro||(Ro=[])).push(Rs.endStyle,ws.to),Rs.title&&((ko||(ko={})).title=Rs.title),Rs.attributes)for(var zu in Rs.attributes)(ko||(ko={}))[zu]=Rs.attributes[zu];Rs.collapsed&&(!yo||As(yo.marker,Rs)<0)&&(yo=ws)}else ws.from>Ht&&Kr>ws.from&&(Kr=ws.from)}if(Ro)for(var pd=0;pd=It)break;for(var Od=Math.min(It,Kr);;){if(zn){var Sd=Ht+zn.length;if(!yo){var cd=Sd>Od?zn.slice(0,Od-Ht):zn;ee.addToken(ee,cd,tr?tr+Ri:Ri,Ga,Ht+cd.length==Kr?ga:"",ei,ko)}if(Sd>=Od){zn=zn.slice(Od-Ht),Ht=Od;break}Ht=Sd,Ga=""}zn=me.slice(Ve,Ve=ue[Jt++]),tr=Cs(ue[Jt++],ee.cm.options)}}}function lr(x,ee,ue){this.line=ee,this.rest=er(ee),this.size=this.rest?pr(Cn(this.rest))-ue+1:1,this.node=this.text=null,this.hidden=Zs(x,ee)}function Jn(x,ee,ue){for(var le=[],me,Ve=ee;Ve2&&Ve.push((Ht.bottom+Jt.top)/2-ue.top)}}Ve.push(ue.bottom-ue.top)}}function el(x,ee,ue){if(x.line==ee)return{map:x.measure.map,cache:x.measure.cache};for(var le=0;leue)return{map:x.measure.maps[me],cache:x.measure.caches[me],before:!0}}function _l(x,ee){ee=So(ee);var ue=pr(ee),le=x.display.externalMeasured=new lr(x.doc,ee,ue);le.lineN=ue;var me=le.built=$s(x,le);return le.text=me.pre,ht(x.display.lineMeasure,me.pre),le}function al(x,ee,ue,le){return fl(x,Bs(x,ee),ue,le)}function vu(x,ee){if(ee>=x.display.viewFrom&&ee=ue.lineN&&eeee)&&(Ve=Ht-It,me=Ve-1,ee>=Ht&&(mt="right")),me!=null){if(le=x[Jt+2],It==Ht&&ue==(le.insertLeft?"left":"right")&&(mt=ue),ue=="left"&&me==0)for(;Jt&&x[Jt-2]==x[Jt-3]&&x[Jt-1].insertLeft;)le=x[(Jt-=3)+2],mt="left";if(ue=="right"&&me==Ht-It)for(;Jt=0&&(ue=x[me]).left==ue.right;me--);return ue}function Do(x,ee,ue,le){var me=qa(ee.map,ue,le),Ve=me.node,mt=me.start,It=me.end,Ht=me.collapse,Jt;if(Ve.nodeType==3){for(var zn=0;zn<4;zn++){for(;mt&&vt(ee.line.text.charAt(me.coverStart+mt));)--mt;for(;me.coverStart+It0&&(Ht=le="right");var tr;x.options.lineWrapping&&(tr=Ve.getClientRects()).length>1?Jt=tr[le=="right"?tr.length-1:0]:Jt=Ve.getBoundingClientRect()}if(Ne&&Le<9&&!mt&&(!Jt||!Jt.left&&!Jt.right)){var ei=Ve.parentNode.getClientRects()[0];ei?Jt={left:ei.left,right:ei.left+yl(x.display),top:ei.top,bottom:ei.bottom}:Jt=kc}for(var Kr=Jt.top-ee.rect.top,Ri=Jt.bottom-ee.rect.top,ga=(Kr+Ri)/2,Ga=ee.view.measure.heights,yo=0;yo=le.text.length?(Ht=le.text.length,Jt="before"):Ht<=0&&(Ht=0,Jt="after"),!It)return mt(Jt=="before"?Ht-1:Ht,Jt=="before");function zn(Ri,ga,Ga){var yo=It[ga],ko=yo.level==1;return mt(Ga?Ri-1:Ri,ko!=Ga)}var tr=kt(It,Ht,Jt),ei=Mt,Kr=zn(Ht,tr,Jt=="before");return ei!=null&&(Kr.other=zn(Ht,ei,Jt!="before")),Kr}function sc(x,ee){var ue=0;ee=si(x.doc,ee),x.options.lineWrapping||(ue=yl(x.display)*ee.ch);var le=on(x.doc,ee.line),me=ma(le)+Su(x.display);return{left:ue,right:ue,top:me,bottom:me+le.height}}function wc(x,ee,ue,le,me){var Ve=Xn(x,ee,ue);return Ve.xRel=me,le&&(Ve.outside=le),Ve}function Kl(x,ee,ue){var le=x.doc;if(ue+=x.display.viewOffset,ue<0)return wc(le.first,0,null,-1,-1);var me=Gr(le,ue),Ve=le.first+le.size-1;if(me>Ve)return wc(le.first+le.size-1,on(le,Ve).text.length,null,1,1);ee<0&&(ee=0);for(var mt=on(le,me);;){var It=eA(x,mt,me,ee,ue),Ht=xa(mt,It.ch+(It.xRel>0||It.outside>0?1:0));if(!Ht)return It;var Jt=Ht.find(1);if(Jt.line==me)return Jt;mt=on(le,me=Jt.line)}}function $d(x,ee,ue,le){le-=Ol(ee);var me=ee.text.length,Ve=lt(function(mt){return fl(x,ue,mt-1).bottom<=le},me,0);return me=lt(function(mt){return fl(x,ue,mt).top>le},Ve,me),{begin:Ve,end:me}}function Hd(x,ee,ue,le){ue||(ue=Bs(x,ee));var me=ac(x,ee,fl(x,ue,le),"line").top;return $d(x,ee,ue,me)}function wd(x,ee,ue,le){return x.bottom<=ue?!1:x.top>ue?!0:(le?x.left:x.right)>ee}function eA(x,ee,ue,le,me){me-=ma(ee);var Ve=Bs(x,ee),mt=Ol(ee),It=0,Ht=ee.text.length,Jt=!0,zn=Sn(ee,x.doc.direction);if(zn){var tr=(x.options.lineWrapping?bA:Mc)(x,ee,ue,Ve,zn,le,me);Jt=tr.level!=1,It=Jt?tr.from:tr.to-1,Ht=Jt?tr.to:tr.from-1}var ei=null,Kr=null,Ri=lt(function(ms){var ws=fl(x,Ve,ms);return ws.top+=mt,ws.bottom+=mt,wd(ws,le,me,!1)?(ws.top<=me&&ws.left<=le&&(ei=ms,Kr=ws),!0):!1},It,Ht),ga,Ga,yo=!1;if(Kr){var ko=le-Kr.left=Ro.bottom?1:0}return Ri=et(ee.text,Ri,1),wc(ue,Ri,Ga,yo,le-ga)}function Mc(x,ee,ue,le,me,Ve,mt){var It=lt(function(tr){var ei=me[tr],Kr=ei.level!=1;return wd(oc(x,Xn(ue,Kr?ei.to:ei.from,Kr?"before":"after"),"line",ee,le),Ve,mt,!0)},0,me.length-1),Ht=me[It];if(It>0){var Jt=Ht.level!=1,zn=oc(x,Xn(ue,Jt?Ht.from:Ht.to,Jt?"after":"before"),"line",ee,le);wd(zn,Ve,mt,!0)&&zn.top>mt&&(Ht=me[It-1])}return Ht}function bA(x,ee,ue,le,me,Ve,mt){var It=$d(x,ee,le,mt),Ht=It.begin,Jt=It.end;/\s/.test(ee.text.charAt(Jt-1))&&Jt--;for(var zn=null,tr=null,ei=0;ei=Jt||Kr.to<=Ht)){var Ri=Kr.level!=1,ga=fl(x,le,Ri?Math.min(Jt,Kr.to)-1:Math.max(Ht,Kr.from)).right,Ga=gaGa)&&(zn=Kr,tr=Ga)}}return zn||(zn=me[me.length-1]),zn.fromJt&&(zn={from:zn.from,to:Jt,level:zn.level}),zn}var $u;function Id(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if($u==null){$u=dt("pre",null,"CodeMirror-line-like");for(var ee=0;ee<49;++ee)$u.appendChild(document.createTextNode("x")),$u.appendChild(dt("br"));$u.appendChild(document.createTextNode("x"))}ht(x.measure,$u);var ue=$u.offsetHeight/50;return ue>3&&(x.cachedTextHeight=ue),rt(x.measure),ue||1}function yl(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var ee=dt("span","xxxxxxxxxx"),ue=dt("pre",[ee],"CodeMirror-line-like");ht(x.measure,ue);var le=ee.getBoundingClientRect(),me=(le.right-le.left)/10;return me>2&&(x.cachedCharWidth=me),me||10}function bl(x){for(var ee=x.display,ue={},le={},me=ee.gutters.clientLeft,Ve=ee.gutters.firstChild,mt=0;Ve;Ve=Ve.nextSibling,++mt){var It=x.display.gutterSpecs[mt].className;ue[It]=Ve.offsetLeft+Ve.clientLeft+me,le[It]=Ve.clientWidth}return{fixedPos:Hl(ee),gutterTotalWidth:ee.gutters.offsetWidth,gutterLeft:ue,gutterWidth:le,wrapperWidth:ee.wrapper.clientWidth}}function Hl(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function zc(x){var ee=Id(x.display),ue=x.options.lineWrapping,le=ue&&Math.max(5,x.display.scroller.clientWidth/yl(x.display)-3);return function(me){if(Zs(x.doc,me))return 0;var Ve=0;if(me.widgets)for(var mt=0;mt0&&(Jt=on(x.doc,Ht.line).text).length==Ht.ch){var zn=it(Jt,Jt.length,x.options.tabSize)-Jt.length;Ht=Xn(Ht.line,Math.max(0,Math.round((Ve-yr(x.display).left)/yl(x.display))-zn))}return Ht}function Tc(x,ee){if(ee>=x.display.viewTo||(ee-=x.display.viewFrom,ee<0))return null;for(var ue=x.display.view,le=0;leee)&&(me.updateLineNumbers=ee),x.curOp.viewChanged=!0,ee>=me.viewTo)Za&&Qs(x.doc,ee)me.viewFrom?$o(x):(me.viewFrom+=le,me.viewTo+=le);else if(ee<=me.viewFrom&&ue>=me.viewTo)$o(x);else if(ee<=me.viewFrom){var Ve=_i(x,ue,ue+le,1);Ve?(me.view=me.view.slice(Ve.index),me.viewFrom=Ve.lineN,me.viewTo+=le):$o(x)}else if(ue>=me.viewTo){var mt=_i(x,ee,ee,-1);mt?(me.view=me.view.slice(0,mt.index),me.viewTo=mt.lineN):$o(x)}else{var It=_i(x,ee,ee,-1),Ht=_i(x,ue,ue+le,1);It&&Ht?(me.view=me.view.slice(0,It.index).concat(Jn(x,It.lineN,Ht.lineN)).concat(me.view.slice(Ht.index)),me.viewTo+=le):$o(x)}var Jt=me.externalMeasured;Jt&&(ue=me.lineN&&ee=le.viewTo)){var Ve=le.view[Tc(x,ee)];if(Ve.node!=null){var mt=Ve.changes||(Ve.changes=[]);at(mt,ue)==-1&&mt.push(ue)}}}function $o(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function _i(x,ee,ue,le){var me=Tc(x,ee),Ve,mt=x.display.view;if(!Za||ue==x.doc.first+x.doc.size)return{index:me,lineN:ue};for(var It=x.display.viewFrom,Ht=0;Ht0){if(me==mt.length-1)return null;Ve=It+mt[me].size-ee,me++}else Ve=It-ee;ee+=Ve,ue+=Ve}for(;Qs(x.doc,ue)!=ue;){if(me==(le<0?0:mt.length-1))return null;ue+=le*mt[me-(le<0?1:0)].size,me+=le}return{index:me,lineN:ue}}function rs(x,ee,ue){var le=x.display,me=le.view;me.length==0||ee>=le.viewTo||ue<=le.viewFrom?(le.view=Jn(x,ee,ue),le.viewFrom=ee):(le.viewFrom>ee?le.view=Jn(x,ee,le.viewFrom).concat(le.view):le.viewFromue&&(le.view=le.view.slice(0,Tc(x,ue)))),le.viewTo=ue}function Eo(x){for(var ee=x.display.view,ue=0,le=0;le=x.display.viewTo||It.to().line0?ee.blinker=setInterval(function(){x.hasFocus()||Du(x),ee.cursorDiv.style.visibility=(ue=!ue)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(ee.cursorDiv.style.visibility="hidden")}}function Il(x){x.state.focused||(x.display.input.focus(),Cl(x))}function Ld(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Du(x))},100)}function Cl(x,ee){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(pt(x,"focus",x,ee),x.state.focused=!0,Rt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),ve&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),xd(x))}function Du(x,ee){x.state.delayingBlurEvent||(x.state.focused&&(pt(x,"blur",x,ee),x.state.focused=!1,$e(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function Uu(x){for(var ee=x.display,ue=ee.lineDiv.offsetTop,le=0;le.005||zn<-.005)&&(qn(me.line,mt),Jl(me.line),me.rest))for(var tr=0;trx.display.sizerWidth){var ei=Math.ceil(It/yl(x.display));ei>x.display.maxLineLength&&(x.display.maxLineLength=ei,x.display.maxLine=me.line,x.display.maxLineChanged=!0)}}}}function Jl(x){if(x.widgets)for(var ee=0;ee=mt&&(Ve=Gr(ee,ma(on(ee,Ht))-x.wrapper.clientHeight),mt=Ht)}return{from:Ve,to:Math.max(mt,Ve+1)}}function fc(x,ee){if(!Wt(x,"scrollCursorIntoView")){var ue=x.display,le=ue.sizer.getBoundingClientRect(),me=null;if(ee.top+le.top<0?me=!0:ee.bottom+le.top>(window.innerHeight||document.documentElement.clientHeight)&&(me=!1),me!=null&&!_e){var Ve=dt("div","\u200B",null,`position: absolute; top: `+(ee.top-ue.viewOffset-Su(x.display))+`px; height: `+(ee.bottom-ee.top+Eu(x)+ue.barHeight)+`px; left: `+ee.left+"px; width: "+Math.max(2,ee.right-ee.left)+"px;");x.display.lineSpace.appendChild(Ve),Ve.scrollIntoView(me),x.display.lineSpace.removeChild(Ve)}}}function uc(x,ee,ue,le){le==null&&(le=0);var me;!x.options.lineWrapping&&ee==ue&&(ee=ee.ch?Xn(ee.line,ee.sticky=="before"?ee.ch-1:ee.ch,"after"):ee,ue=ee.sticky=="before"?Xn(ee.line,ee.ch+1,"before"):ee);for(var Ve=0;Ve<5;Ve++){var mt=!1,It=oc(x,ee),Ht=!ue||ue==ee?It:oc(x,ue);me={left:Math.min(It.left,Ht.left),top:Math.min(It.top,Ht.top)-le,right:Math.max(It.left,Ht.left),bottom:Math.max(It.bottom,Ht.bottom)+le};var Jt=ec(x,me),zn=x.doc.scrollTop,tr=x.doc.scrollLeft;if(Jt.scrollTop!=null&&(xc(x,Jt.scrollTop),Math.abs(x.doc.scrollTop-zn)>1&&(mt=!0)),Jt.scrollLeft!=null&&(uA(x,Jt.scrollLeft),Math.abs(x.doc.scrollLeft-tr)>1&&(mt=!0)),!mt)break}return me}function _c(x,ee){var ue=ec(x,ee);ue.scrollTop!=null&&xc(x,ue.scrollTop),ue.scrollLeft!=null&&uA(x,ue.scrollLeft)}function ec(x,ee){var ue=x.display,le=Id(x.display);ee.top<0&&(ee.top=0);var me=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ue.scroller.scrollTop,Ve=Qo(x),mt={};ee.bottom-ee.top>Ve&&(ee.bottom=ee.top+Ve);var It=x.doc.height+Cr(ue),Ht=ee.topIt-le;if(ee.topme+Ve){var zn=Math.min(ee.top,(Jt?It:ee.bottom)-Ve);zn!=me&&(mt.scrollTop=zn)}var tr=x.options.fixedGutter?0:ue.gutters.offsetWidth,ei=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ue.scroller.scrollLeft-tr,Kr=mo(x)-ue.gutters.offsetWidth,Ri=ee.right-ee.left>Kr;return Ri&&(ee.right=ee.left+Kr),ee.left<10?mt.scrollLeft=0:ee.leftKr+ei-3&&(mt.scrollLeft=ee.right+(Ri?0:10)-Kr),mt}function Wc(x,ee){ee!=null&&(od(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+ee)}function Vu(x){od(x);var ee=x.getCursor();x.curOp.scrollToPos={from:ee,to:ee,margin:x.options.cursorScrollMargin}}function jd(x,ee,ue){(ee!=null||ue!=null)&&od(x),ee!=null&&(x.curOp.scrollLeft=ee),ue!=null&&(x.curOp.scrollTop=ue)}function Sh(x,ee){od(x),x.curOp.scrollToPos=ee}function od(x){var ee=x.curOp.scrollToPos;if(ee){x.curOp.scrollToPos=null;var ue=sc(x,ee.from),le=sc(x,ee.to);Dd(x,ue,le,ee.margin)}}function Dd(x,ee,ue,le){var me=ec(x,{left:Math.min(ee.left,ue.left),top:Math.min(ee.top,ue.top)-le,right:Math.max(ee.right,ue.right),bottom:Math.max(ee.bottom,ue.bottom)+le});jd(x,me.scrollLeft,me.scrollTop)}function xc(x,ee){Math.abs(x.doc.scrollTop-ee)<2||(he||Ta(x,{top:ee}),iu(x,ee,!0),he&&Ta(x),Jr(x,100))}function iu(x,ee,ue){ee=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,ee)),!(x.display.scroller.scrollTop==ee&&!ue)&&(x.doc.scrollTop=ee,x.display.scrollbars.setScrollTop(ee),x.display.scroller.scrollTop!=ee&&(x.display.scroller.scrollTop=ee))}function uA(x,ee,ue,le){ee=Math.max(0,Math.min(ee,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ue?ee==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-ee)<2)&&!le)&&(x.doc.scrollLeft=ee,Jo(x),x.display.scroller.scrollLeft!=ee&&(x.display.scroller.scrollLeft=ee),x.display.scrollbars.setScrollLeft(ee))}function yf(x){var ee=x.display,ue=ee.gutters.offsetWidth,le=Math.round(x.doc.height+Cr(x.display));return{clientHeight:ee.scroller.clientHeight,viewHeight:ee.wrapper.clientHeight,scrollWidth:ee.scroller.scrollWidth,clientWidth:ee.scroller.clientWidth,viewWidth:ee.wrapper.clientWidth,barLeft:x.options.fixedGutter?ue:0,docHeight:le,scrollHeight:le+Eu(x)+ee.barHeight,nativeBarWidth:ee.nativeBarWidth,gutterWidth:ue}}var GA=function(x,ee,ue){this.cm=ue;var le=this.vert=dt("div",[dt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),me=this.horiz=dt("div",[dt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");le.tabIndex=me.tabIndex=-1,x(le),x(me),nn(le,"scroll",function(){le.clientHeight&&ee(le.scrollTop,"vertical")}),nn(me,"scroll",function(){me.clientWidth&&ee(me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Ne&&Le<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};GA.prototype.update=function(x){var ee=x.scrollWidth>x.clientWidth+1,ue=x.scrollHeight>x.clientHeight+1,le=x.nativeBarWidth;if(ue){this.vert.style.display="block",this.vert.style.bottom=ee?le+"px":"0";var me=x.viewHeight-(ee?le:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+me)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ee){this.horiz.style.display="block",this.horiz.style.right=ue?le+"px":"0",this.horiz.style.left=x.barLeft+"px";var Ve=x.viewWidth-x.barLeft-(ue?le:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+Ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(le==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ue?le:0,bottom:ee?le:0}},GA.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},GA.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},GA.prototype.zeroWidthHack=function(){var x=Te&&!Be?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new je,this.disableVert=new je},GA.prototype.enableZeroWidthBar=function(x,ee,ue){x.style.pointerEvents="auto";function le(){var me=x.getBoundingClientRect(),Ve=ue=="vert"?document.elementFromPoint(me.right-1,(me.top+me.bottom)/2):document.elementFromPoint((me.right+me.left)/2,me.bottom-1);Ve!=x?x.style.pointerEvents="none":ee.set(1e3,le)}ee.set(1e3,le)},GA.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var sd=function(){};sd.prototype.update=function(){return{bottom:0,right:0}},sd.prototype.setScrollLeft=function(){},sd.prototype.setScrollTop=function(){},sd.prototype.clear=function(){};function xA(x,ee){ee||(ee=yf(x));var ue=x.display.barWidth,le=x.display.barHeight;ih(x,ee);for(var me=0;me<4&&ue!=x.display.barWidth||le!=x.display.barHeight;me++)ue!=x.display.barWidth&&x.options.lineWrapping&&Uu(x),ih(x,yf(x)),ue=x.display.barWidth,le=x.display.barHeight}function ih(x,ee){var ue=x.display,le=ue.scrollbars.update(ee);ue.sizer.style.paddingRight=(ue.barWidth=le.right)+"px",ue.sizer.style.paddingBottom=(ue.barHeight=le.bottom)+"px",ue.heightForcer.style.borderBottom=le.bottom+"px solid transparent",le.right&&le.bottom?(ue.scrollbarFiller.style.display="block",ue.scrollbarFiller.style.height=le.bottom+"px",ue.scrollbarFiller.style.width=le.right+"px"):ue.scrollbarFiller.style.display="",le.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ue.gutterFiller.style.display="block",ue.gutterFiller.style.height=le.bottom+"px",ue.gutterFiller.style.width=ee.gutterWidth+"px"):ue.gutterFiller.style.display=""}var bf={native:GA,null:sd};function M0(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&$e(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new bf[x.options.scrollbarStyle](function(ee){x.display.wrapper.insertBefore(ee,x.display.scrollbarFiller),nn(ee,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),ee.setAttribute("cm-not-content","true")},function(ee,ue){ue=="horizontal"?uA(x,ee):xc(x,ee)},x),x.display.scrollbars.addClass&&Rt(x.display.wrapper,x.display.scrollbars.addClass)}var rp=0;function hc(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++rp},cr(x.curOp)}function cA(x){var ee=x.curOp;ee&&bi(ee,function(ue){for(var le=0;le=ue.viewTo)||ue.maxLineChanged&&ee.options.lineWrapping,x.update=x.mustUpdate&&new ni(ee,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Ut(x){x.updatedDisplay=x.mustUpdate&&ja(x.cm,x.update)}function An(x){var ee=x.cm,ue=ee.display;x.updatedDisplay&&Uu(ee),x.barMeasure=yf(ee),ue.maxLineChanged&&!ee.options.lineWrapping&&(x.adjustWidthTo=al(ee,ue.maxLine,ue.maxLine.text.length).left+3,ee.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ue.scroller.clientWidth,ue.sizer.offsetLeft+x.adjustWidthTo+Eu(ee)+ee.display.barWidth),x.maxScrollLeft=Math.max(0,ue.sizer.offsetLeft+x.adjustWidthTo-mo(ee))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ue.input.prepareSelection())}function En(x){var ee=x.cm;x.adjustWidthTo!=null&&(ee.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft=x.display.viewTo)){var ue=+new Date+x.options.workTime,le=Mr(x,ee.highlightFrontier),me=[];ee.iter(le.line,Math.min(ee.first+ee.size,x.display.viewTo+500),function(Ve){if(le.line>=x.display.viewFrom){var mt=Ve.styles,It=Ve.text.length>x.options.maxHighlightLength?Dt(ee.mode,le.state):null,Ht=Wr(x,Ve,le,!0);It&&(le.state=It),Ve.styles=Ht.styles;var Jt=Ve.styleClasses,zn=Ht.classes;zn?Ve.styleClasses=zn:Jt&&(Ve.styleClasses=null);for(var tr=!mt||mt.length!=Ve.styles.length||Jt!=zn&&(!Jt||!zn||Jt.bgClass!=zn.bgClass||Jt.textClass!=zn.textClass),ei=0;!tr&&eiue)return Jr(x,x.options.workDelay),!0}),ee.highlightFrontier=le.line,ee.modeFrontier=Math.max(ee.modeFrontier,le.line),me.length&&On(x,function(){for(var Ve=0;Ve=ue.viewFrom&&ee.visible.to<=ue.viewTo&&(ue.updateLineNumbers==null||ue.updateLineNumbers>=ue.viewTo)&&ue.renderedView==ue.view&&Eo(x)==0)return!1;Fo(x)&&($o(x),ee.dims=bl(x));var me=le.first+le.size,Ve=Math.max(ee.visible.from-x.options.viewportMargin,le.first),mt=Math.min(me,ee.visible.to+x.options.viewportMargin);ue.viewFrommt&&ue.viewTo-mt<20&&(mt=Math.min(me,ue.viewTo)),Za&&(Ve=Qs(x.doc,Ve),mt=fs(x.doc,mt));var It=Ve!=ue.viewFrom||mt!=ue.viewTo||ue.lastWrapHeight!=ee.wrapperHeight||ue.lastWrapWidth!=ee.wrapperWidth;rs(x,Ve,mt),ue.viewOffset=ma(on(x.doc,ue.viewFrom)),x.display.mover.style.top=ue.viewOffset+"px";var Ht=Eo(x);if(!It&&Ht==0&&!ee.force&&ue.renderedView==ue.view&&(ue.updateLineNumbers==null||ue.updateLineNumbers>=ue.viewTo))return!1;var Jt=Qi(x);return Ht>4&&(ue.lineDiv.style.display="none"),Ia(x,ue.updateLineNumbers,ee.dims),Ht>4&&(ue.lineDiv.style.display=""),ue.renderedView=ue.view,Vi(Jt),rt(ue.cursorDiv),rt(ue.selectionDiv),ue.gutters.style.height=ue.sizer.style.minHeight=0,It&&(ue.lastWrapHeight=ee.wrapperHeight,ue.lastWrapWidth=ee.wrapperWidth,Jr(x,400)),ue.updateLineNumbers=null,!0}function Fa(x,ee){for(var ue=ee.viewport,le=!0;;le=!1){if(!le||!x.options.lineWrapping||ee.oldDisplayWidth==mo(x)){if(ue&&ue.top!=null&&(ue={top:Math.min(x.doc.height+Cr(x.display)-Qo(x),ue.top)}),ee.visible=hl(x.display,x.doc,ue),ee.visible.from>=x.display.viewFrom&&ee.visible.to<=x.display.viewTo)break}else le&&(ee.visible=hl(x.display,x.doc,ue));if(!ja(x,ee))break;Uu(x);var me=yf(x);tu(x),xA(x,me),Ko(x,me),ee.force=!1}ee.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(ee.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Ta(x,ee){var ue=new ni(x,ee);if(ja(x,ue)){Uu(x),Fa(x,ue);var le=yf(x);tu(x),xA(x,le),Ko(x,le),ue.finish()}}function Ia(x,ee,ue){var le=x.display,me=x.options.lineNumbers,Ve=le.lineDiv,mt=Ve.firstChild;function It(Ri){var ga=Ri.nextSibling;return ve&&Te&&x.display.currentWheelTarget==Ri?Ri.style.display="none":Ri.parentNode.removeChild(Ri),ga}for(var Ht=le.view,Jt=le.viewFrom,zn=0;zn-1&&(Kr=!1),Ji(x,tr,Jt,ue)),Kr&&(rt(tr.lineNumber),tr.lineNumber.appendChild(document.createTextNode($r(x.options,Jt)))),mt=tr.node.nextSibling}Jt+=tr.size}for(;mt;)mt=It(mt)}function $a(x){var ee=x.gutters.offsetWidth;x.sizer.style.marginLeft=ee+"px"}function Ko(x,ee){x.display.sizer.style.minHeight=ee.docHeight+"px",x.display.heightForcer.style.top=ee.docHeight+"px",x.display.gutters.style.height=ee.docHeight+x.display.barHeight+Eu(x)+"px"}function Jo(x){var ee=x.display,ue=ee.view;if(!(!ee.alignWidgets&&(!ee.gutters.firstChild||!x.options.fixedGutter))){for(var le=Hl(ee)-ee.scroller.scrollLeft+x.doc.scrollLeft,me=ee.gutters.offsetWidth,Ve=le+"px",mt=0;mtmt.clientWidth,Ht=mt.scrollHeight>mt.clientHeight;if(le&&It||me&&Ht){if(me&&Te&&ve){e:for(var Jt=ee.target,zn=Ve.view;Jt!=mt;Jt=Jt.parentNode)for(var tr=0;tr=0&&Or(x,le.to())<=0)return ue}return-1};var za=function(x,ee){this.anchor=x,this.head=ee};za.prototype.from=function(){return xi(this.anchor,this.head)},za.prototype.to=function(){return Zi(this.anchor,this.head)},za.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function gs(x,ee,ue){var le=x&&x.options.selectionsMayTouch,me=ee[ue];ee.sort(function(ei,Kr){return Or(ei.from(),Kr.from())}),ue=at(ee,me);for(var Ve=1;Ve0:Ht>=0){var Jt=xi(It.from(),mt.from()),zn=Zi(It.to(),mt.to()),tr=It.empty()?mt.from()==mt.head:It.from()==It.head;Ve<=ue&&--ue,ee.splice(--Ve,2,new za(tr?zn:Jt,tr?Jt:zn))}}return new as(ee,ue)}function Ns(x,ee){return new as([new za(x,ee||x)],0)}function jl(x){return x.text?Xn(x.from.line+x.text.length-1,Cn(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Ll(x,ee){if(Or(x,ee.from)<0)return x;if(Or(x,ee.to)<=0)return jl(ee);var ue=x.line+ee.text.length-(ee.to.line-ee.from.line)-1,le=x.ch;return x.line==ee.to.line&&(le+=jl(ee).ch-ee.to.ch),Xn(ue,le)}function ku(x,ee){for(var ue=[],le=0;le1&&x.remove(It.line+1,Ri-1),x.insert(It.line+1,yo)}Hr(x,"change",x,ee)}function Ic(x,ee,ue){function le(me,Ve,mt){if(me.linked)for(var It=0;It1&&!x.done[x.done.length-2].ranges)return x.done.pop(),Cn(x.done)}function sl(x,ee,ue,le){var me=x.history;me.undone.length=0;var Ve=+new Date,mt,It;if((me.lastOp==le||me.lastOrigin==ee.origin&&ee.origin&&(ee.origin.charAt(0)=="+"&&me.lastModTime>Ve-(x.cm?x.cm.options.historyEventDelay:500)||ee.origin.charAt(0)=="*"))&&(mt=Ss(me,me.lastOp==le)))It=Cn(mt.changes),Or(ee.from,ee.to)==0&&Or(ee.from,It.to)==0?It.to=jl(ee):mt.changes.push(Tl(x,ee));else{var Ht=Cn(me.done);for((!Ht||!Ht.ranges)&&Gu(x.sel,me.done),mt={changes:[Tl(x,ee)],generation:me.generation},me.done.push(mt);me.done.length>me.undoDepth;)me.done.shift(),me.done[0].ranges||me.done.shift()}me.done.push(ue),me.generation=++me.maxGeneration,me.lastModTime=me.lastSelTime=Ve,me.lastOp=me.lastSelOp=le,me.lastOrigin=me.lastSelOrigin=ee.origin,It||pt(x,"historyAdded")}function pl(x,ee,ue,le){var me=ee.charAt(0);return me=="*"||me=="+"&&ue.ranges.length==le.ranges.length&&ue.somethingSelected()==le.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function td(x,ee,ue,le){var me=x.history,Ve=le&&le.origin;ue==me.lastSelOp||Ve&&me.lastSelOrigin==Ve&&(me.lastModTime==me.lastSelTime&&me.lastOrigin==Ve||pl(x,Ve,Cn(me.done),ee))?me.done[me.done.length-1]=ee:Gu(ee,me.done),me.lastSelTime=+new Date,me.lastSelOrigin=Ve,me.lastSelOp=ue,le&&le.clearRedo!==!1&&Wo(me.undone)}function Gu(x,ee){var ue=Cn(ee);ue&&ue.ranges&&ue.equals(x)||ee.push(x)}function Qd(x,ee,ue,le){var me=ee["spans_"+x.id],Ve=0;x.iter(Math.max(x.first,ue),Math.min(x.first+x.size,le),function(mt){mt.markedSpans&&((me||(me=ee["spans_"+x.id]={}))[Ve]=mt.markedSpans),++Ve})}function tc(x){if(!x)return null;for(var ee,ue=0;ue-1&&(Cn(It)[tr]=Jt[tr],delete Jt[tr])}}return le}function YA(x,ee,ue,le){if(le){var me=x.anchor;if(ue){var Ve=Or(ee,me)<0;Ve!=Or(ue,me)<0?(me=ee,ee=ue):Ve!=Or(ee,ue)<0&&(ee=ue)}return new za(me,ee)}else return new za(ue||ee,ee)}function xl(x,ee,ue,le,me){me==null&&(me=x.cm&&(x.cm.display.shift||x.extend)),$l(x,new as([YA(x.sel.primary(),ee,ue,me)],0),le)}function la(x,ee,ue){for(var le=[],me=x.cm&&(x.cm.display.shift||x.extend),Ve=0;Ve=ee.ch:It.to>ee.ch))){if(me&&(pt(Ht,"beforeCursorEnter"),Ht.explicitlyCleared))if(Ve.markedSpans){--mt;continue}else break;if(!Ht.atomic)continue;if(ue){var tr=Ht.find(le<0?1:-1),ei=void 0;if((le<0?zn:Jt)&&(tr=Zc(x,tr,-le,tr&&tr.line==ee.line?Ve:null)),tr&&tr.line==ee.line&&(ei=Or(tr,ue))&&(le<0?ei<0:ei>0))return Yu(x,tr,ee,le,me)}var Kr=Ht.find(le<0?-1:1);return(le<0?Jt:zn)&&(Kr=Zc(x,Kr,le,Kr.line==ee.line?Ve:null)),Kr?Yu(x,Kr,ee,le,me):null}}return ee}function CA(x,ee,ue,le,me){var Ve=le||1,mt=Yu(x,ee,ue,Ve,me)||!me&&Yu(x,ee,ue,Ve,!0)||Yu(x,ee,ue,-Ve,me)||!me&&Yu(x,ee,ue,-Ve,!0);return mt||(x.cantEdit=!0,Xn(x.first,0))}function Zc(x,ee,ue,le){return ue<0&&ee.ch==0?ee.line>x.first?si(x,Xn(ee.line-1)):null:ue>0&&ee.ch==(le||on(x,ee.line)).text.length?ee.line=0;--me)Hu(x,{from:le[me].from,to:le[me].to,text:me?[""]:ee.text,origin:ee.origin});else Hu(x,ee)}}function Hu(x,ee){if(!(ee.text.length==1&&ee.text[0]==""&&Or(ee.from,ee.to)==0)){var ue=ku(x,ee);sl(x,ee,ue,x.cm?x.cm.curOp.id:NaN),Kd(x,ee,ue,fi(x,ee));var le=[];Ic(x,function(me,Ve){!Ve&&at(le,me.history)==-1&&(au(me.history,ee),le.push(me.history)),Kd(me,ee,null,fi(me,ee))})}}function ld(x,ee,ue){var le=x.cm&&x.cm.state.suppressEdits;if(!(le&&!ue)){for(var me=x.history,Ve,mt=x.sel,It=ee=="undo"?me.done:me.undone,Ht=ee=="undo"?me.undone:me.done,Jt=0;Jt=0;--Kr){var Ri=ei(Kr);if(Ri)return Ri.v}}}}function dA(x,ee){if(ee!=0&&(x.first+=ee,x.sel=new as(Bn(x.sel.ranges,function(me){return new za(Xn(me.anchor.line+ee,me.anchor.ch),Xn(me.head.line+ee,me.head.ch))}),x.sel.primIndex),x.cm)){Ru(x.cm,x.first,x.first-ee,ee);for(var ue=x.cm.display,le=ue.viewFrom;lex.lastLine())){if(ee.from.lineVe&&(ee={from:ee.from,to:Xn(Ve,on(x,Ve).text.length),text:[ee.text[0]],origin:ee.origin}),ee.removed=Mn(x,ee.from,ee.to),ue||(ue=ku(x,ee)),x.cm?BA(x.cm,ee,le):Au(x,ee,le),Uc(x,ue,St),x.cantEdit&&CA(x,Xn(x.firstLine(),0))&&(x.cantEdit=!1)}}function BA(x,ee,ue){var le=x.doc,me=x.display,Ve=ee.from,mt=ee.to,It=!1,Ht=Ve.line;x.options.lineWrapping||(Ht=pr(So(on(le,Ve.line))),le.iter(Ht,mt.line+1,function(Kr){if(Kr==me.maxLine)return It=!0,!0})),le.sel.contains(ee.from,ee.to)>-1&&vn(x),Au(le,ee,ue,zc(x)),x.options.lineWrapping||(le.iter(Ht,Ve.line+ee.text.length,function(Kr){var Ri=sa(Kr);Ri>me.maxLineLength&&(me.maxLine=Kr,me.maxLineLength=Ri,me.maxLineChanged=!0,It=!1)}),It&&(x.curOp.updateMaxLine=!0)),Da(le,Ve.line),Jr(x,400);var Jt=ee.text.length-(mt.line-Ve.line)-1;ee.full?Ru(x):Ve.line==mt.line&&ee.text.length==1&&!du(x.doc,ee)?Aa(x,Ve.line,"text"):Ru(x,Ve.line,mt.line+1,Jt);var zn=xn(x,"changes"),tr=xn(x,"change");if(tr||zn){var ei={from:Ve,to:mt,text:ee.text,removed:ee.removed,origin:ee.origin};tr&&Hr(x,"change",x,ei),zn&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(ei)}x.display.selForContextMenu=null}function XA(x,ee,ue,le,me){var Ve;le||(le=ue),Or(le,ue)<0&&(Ve=[le,ue],ue=Ve[0],le=Ve[1]),typeof ee=="string"&&(ee=x.splitLines(ee)),Nu(x,{from:ue,to:le,text:ee,origin:me})}function Eh(x,ee,ue,le){ue1||!(this.children[0]instanceof ou))){var It=[];this.collapse(It),this.children=[new ou(It)],this.children[0].parent=this}},collapse:function(x){for(var ee=0;ee50){for(var mt=me.lines.length%25+25,It=mt;It10);x.parent.maybeSpill()}},iterN:function(x,ee,ue){for(var le=0;lex.display.maxLineLength&&(x.display.maxLine=Jt,x.display.maxLineLength=zn,x.display.maxLineChanged=!0)}le!=null&&x&&this.collapsed&&Ru(x,le,me+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Cd(x.doc)),x&&Hr(x,"markerCleared",x,this,le,me),ee&&cA(x),this.parent&&this.parent.clear()}},EA.prototype.find=function(x,ee){x==null&&this.type=="bookmark"&&(x=1);for(var ue,le,me=0;me0||mt==0&&Ve.clearWhenEmpty!==!1)return Ve;if(Ve.replacedWith&&(Ve.collapsed=!0,Ve.widgetNode=xt("span",[Ve.replacedWith],"CodeMirror-widget"),le.handleMouseEvents||Ve.widgetNode.setAttribute("cm-ignore-events","true"),le.insertLeft&&(Ve.widgetNode.insertLeft=!0)),Ve.collapsed){if(Bo(x,ee.line,ee,ue,Ve)||ee.line!=ue.line&&Bo(x,ue.line,ee,ue,Ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");va()}Ve.addToHistory&&sl(x,{from:ee,to:ue,origin:"markText"},x.sel,NaN);var It=ee.line,Ht=x.cm,Jt;if(x.iter(It,ue.line+1,function(tr){Ht&&Ve.collapsed&&!Ht.options.lineWrapping&&So(tr)==Ht.display.maxLine&&(Jt=!0),Ve.collapsed&&It!=ee.line&&qn(tr,0),ao(tr,new ka(Ve,It==ee.line?ee.ch:null,It==ue.line?ue.ch:null)),++It}),Ve.collapsed&&x.iter(ee.line,ue.line+1,function(tr){Zs(x,tr)&&qn(tr,0)}),Ve.clearOnEnter&&nn(Ve,"beforeCursorEnter",function(){return Ve.clear()}),Ve.readOnly&&(io(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),Ve.collapsed&&(Ve.id=++ah,Ve.atomic=!0),Ht){if(Jt&&(Ht.curOp.updateMaxLine=!0),Ve.collapsed)Ru(Ht,ee.line,ue.line+1);else if(Ve.className||Ve.startStyle||Ve.endStyle||Ve.css||Ve.attributes||Ve.title)for(var zn=ee.line;zn<=ue.line;zn++)Aa(Ht,zn,"text");Ve.atomic&&Cd(Ht.doc),Hr(Ht,"markerAdded",Ht,Ve)}return Ve}var ml=function(x,ee){this.markers=x,this.primary=ee;for(var ue=0;ue=0;Ht--)Nu(this,le[Ht]);It?ps(this,It):this.cm&&Vu(this.cm)}),undo:ur(function(){ld(this,"undo")}),redo:ur(function(){ld(this,"redo")}),undoSelection:ur(function(){ld(this,"undo",!0)}),redoSelection:ur(function(){ld(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,ee=0,ue=0,le=0;le=x.ch)&&ee.push(me.marker.parent||me.marker)}return ee},findMarks:function(x,ee,ue){x=si(this,x),ee=si(this,ee);var le=[],me=x.line;return this.iter(x.line,ee.line+1,function(Ve){var mt=Ve.markedSpans;if(mt)for(var It=0;It=Ht.to||Ht.from==null&&me!=x.line||Ht.from!=null&&me==ee.line&&Ht.from>=ee.ch)&&(!ue||ue(Ht.marker))&&le.push(Ht.marker.parent||Ht.marker)}++me}),le},getAllMarks:function(){var x=[];return this.iter(function(ee){var ue=ee.markedSpans;if(ue)for(var le=0;lex)return ee=x,!0;x-=Ve,++ue}),si(this,Xn(ue,ee))},indexFromPos:function(x){x=si(this,x);var ee=x.ch;if(x.lineee&&(ee=x.from),x.to!=null&&x.to-1){ee.state.draggingText(x),setTimeout(function(){return ee.display.input.focus()},20);return}try{var zn=x.dataTransfer.getData("Text");if(zn){var tr;if(ee.state.draggingText&&!ee.state.draggingText.copy&&(tr=ee.listSelections()),Uc(ee.doc,Ns(ue,ue)),tr)for(var ei=0;ei=0;It--)XA(x.doc,"",le[It].from,le[It].to,"+delete");Vu(x)})}function Vc(x,ee,ue){var le=et(x.text,ee+ue,ue);return le<0||le>x.text.length?null:le}function qA(x,ee,ue){var le=Vc(x,ee.ch,ue);return le==null?null:new Xn(ee.line,le,ue<0?"after":"before")}function Sl(x,ee,ue,le,me){if(x){ee.doc.direction=="rtl"&&(me=-me);var Ve=Sn(ue,ee.doc.direction);if(Ve){var mt=me<0?Cn(Ve):Ve[0],It=me<0==(mt.level==1),Ht=It?"after":"before",Jt;if(mt.level>0||ee.doc.direction=="rtl"){var zn=Bs(ee,ue);Jt=me<0?ue.text.length-1:0;var tr=fl(ee,zn,Jt).top;Jt=lt(function(ei){return fl(ee,zn,ei).top==tr},me<0==(mt.level==1)?mt.from:mt.to-1,Jt),Ht=="before"&&(Jt=Vc(ue,Jt,1))}else Jt=me<0?mt.to:mt.from;return new Xn(le,Jt,Ht)}}return new Xn(le,me<0?ue.text.length:0,me<0?"before":"after")}function Zl(x,ee,ue,le){var me=Sn(ee,x.doc.direction);if(!me)return qA(ee,ue,le);ue.ch>=ee.text.length?(ue.ch=ee.text.length,ue.sticky="before"):ue.ch<=0&&(ue.ch=0,ue.sticky="after");var Ve=kt(me,ue.ch,ue.sticky),mt=me[Ve];if(x.doc.direction=="ltr"&&mt.level%2==0&&(le>0?mt.to>ue.ch:mt.from=mt.from&&ei>=zn.begin)){var Kr=tr?"before":"after";return new Xn(ue.line,ei,Kr)}}var Ri=function(yo,ko,Ao){for(var Ro=function(zu,pd){return pd?new Xn(ue.line,It(zu,1),"before"):new Xn(ue.line,zu,"after")};yo>=0&&yo0==(ms.level!=1),Rs=ws?Ao.begin:It(Ao.end,-1);if(ms.from<=Rs&&Rs0?zn.end:It(zn.begin,-1);return Ga!=null&&!(le>0&&Ga==ee.text.length)&&(ga=Ri(le>0?0:me.length-1,le,Jt(Ga)),ga)?ga:null}var Bd={selectAll:Xu,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),St)},killLine:function(x){return nd(x,function(ee){if(ee.empty()){var ue=on(x.doc,ee.head.line).text.length;return ee.head.ch==ue&&ee.head.line0)me=new Xn(me.line,me.ch+1),x.replaceRange(Ve.charAt(me.ch-1)+Ve.charAt(me.ch-2),Xn(me.line,me.ch-2),me,"+transpose");else if(me.line>x.doc.first){var mt=on(x.doc,me.line-1).text;mt&&(me=new Xn(me.line,1),x.replaceRange(Ve.charAt(0)+x.doc.lineSeparator()+mt.charAt(mt.length-1),Xn(me.line-1,mt.length-1),me,"+transpose"))}}ue.push(new za(me,me))}x.setSelections(ue)})},newlineAndIndent:function(x){return On(x,function(){for(var ee=x.listSelections(),ue=ee.length-1;ue>=0;ue--)x.replaceRange(x.doc.lineSeparator(),ee[ue].anchor,ee[ue].head,"+input");ee=x.listSelections();for(var le=0;lex&&Or(ee,this.pos)==0&&ue==this.button};var tf,Tf;function op(x,ee){var ue=+new Date;return Tf&&Tf.compare(ue,x,ee)?(tf=Tf=null,"triple"):tf&&tf.compare(ue,x,ee)?(Tf=new r0(ue,x,ee),tf=null,"double"):(tf=new r0(ue,x,ee),Tf=null,"single")}function rd(x){var ee=this,ue=ee.display;if(!(Wt(ee,x)||ue.activeTouch&&ue.input.supportsTouch())){if(ue.input.ensurePolled(),ue.shift=x.shiftKey,gu(ue,x)){ve||(ue.scroller.draggable=!1,setTimeout(function(){return ue.scroller.draggable=!0},100));return}if(!Wd(ee,x)){var le=hd(ee,x),me=Ar(x),Ve=le?op(le,me):"single";window.focus(),me==1&&ee.state.selectingText&&ee.state.selectingText(x),!(le&&Pf(ee,me,le,Ve,x))&&(me==1?le?D0(ee,le,Ve,x):vr(x)==ue.scroller&&br(x):me==2?(le&&xl(ee.doc,le),setTimeout(function(){return ue.input.focus()},20)):me==3&&(We?ee.display.input.onContextMenu(x):Ld(ee)))}}}function Pf(x,ee,ue,le,me){var Ve="Click";return le=="double"?Ve="Double"+Ve:le=="triple"&&(Ve="Triple"+Ve),Ve=(ee==1?"Left":ee==2?"Middle":"Right")+Ve,Bf(x,IA(Ve,me),me,function(mt){if(typeof mt=="string"&&(mt=Bd[mt]),!mt)return!1;var It=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),It=mt(x,ue)!=Vt}finally{x.state.suppressEdits=!1}return It})}function i0(x,ee,ue){var le=x.getOption("configureMouse"),me=le?le(x,ee,ue):{};if(me.unit==null){var Ve=Pe?ue.shiftKey&&ue.metaKey:ue.altKey;me.unit=Ve?"rectangle":ee=="single"?"char":ee=="double"?"word":"line"}return(me.extend==null||x.doc.extend)&&(me.extend=x.doc.extend||ue.shiftKey),me.addNew==null&&(me.addNew=Te?ue.metaKey:ue.ctrlKey),me.moveOnDrag==null&&(me.moveOnDrag=!(Te?ue.altKey:ue.ctrlKey)),me}function D0(x,ee,ue,le){Ne?setTimeout(Tt(Il,x),0):x.curOp.focus=Re();var me=i0(x,ue,le),Ve=x.doc.sel,mt;x.options.dragDrop&&Tr&&!x.isReadOnly()&&ue=="single"&&(mt=Ve.contains(ee))>-1&&(Or((mt=Ve.ranges[mt]).from(),ee)<0||ee.xRel>0)&&(Or(mt.to(),ee)>0||ee.xRel<0)?N0(x,le,ee,me):sp(x,le,ee,me)}function N0(x,ee,ue,le){var me=x.display,Ve=!1,mt=gr(x,function(Jt){ve&&(me.scroller.draggable=!1),x.state.draggingText=!1,zt(me.wrapper.ownerDocument,"mouseup",mt),zt(me.wrapper.ownerDocument,"mousemove",It),zt(me.scroller,"dragstart",Ht),zt(me.scroller,"drop",mt),Ve||(br(Jt),le.addNew||xl(x.doc,ue,null,null,le.extend),ve&&!ze||Ne&&Le==9?setTimeout(function(){me.wrapper.ownerDocument.body.focus({preventScroll:!0}),me.input.focus()},20):me.input.focus())}),It=function(Jt){Ve=Ve||Math.abs(ee.clientX-Jt.clientX)+Math.abs(ee.clientY-Jt.clientY)>=10},Ht=function(){return Ve=!0};ve&&(me.scroller.draggable=!0),x.state.draggingText=mt,mt.copy=!le.moveOnDrag,me.scroller.dragDrop&&me.scroller.dragDrop(),nn(me.wrapper.ownerDocument,"mouseup",mt),nn(me.wrapper.ownerDocument,"mousemove",It),nn(me.scroller,"dragstart",Ht),nn(me.scroller,"drop",mt),Ld(x),setTimeout(function(){return me.input.focus()},20)}function Lh(x,ee,ue){if(ue=="char")return new za(ee,ee);if(ue=="word")return x.findWordAt(ee);if(ue=="line")return new za(Xn(ee.line,0),si(x.doc,Xn(ee.line+1,0)));var le=ue(x,ee);return new za(le.from,le.to)}function sp(x,ee,ue,le){var me=x.display,Ve=x.doc;br(ee);var mt,It,Ht=Ve.sel,Jt=Ht.ranges;if(le.addNew&&!le.extend?(It=Ve.sel.contains(ue),It>-1?mt=Jt[It]:mt=new za(ue,ue)):(mt=Ve.sel.primary(),It=Ve.sel.primIndex),le.unit=="rectangle")le.addNew||(mt=new za(ue,ue)),ue=hd(x,ee,!0,!0),It=-1;else{var zn=Lh(x,ue,le.unit);le.extend?mt=YA(mt,zn.anchor,zn.head,le.extend):mt=zn}le.addNew?It==-1?(It=Jt.length,$l(Ve,gs(x,Jt.concat([mt]),It),{scroll:!1,origin:"*mouse"})):Jt.length>1&&Jt[It].empty()&&le.unit=="char"&&!le.extend?($l(Ve,gs(x,Jt.slice(0,It).concat(Jt.slice(It+1)),0),{scroll:!1,origin:"*mouse"}),Ht=Ve.sel):Wl(Ve,It,mt,Qt):(It=0,$l(Ve,new as([mt],0),Qt),Ht=Ve.sel);var tr=ue;function ei(Ao){if(Or(tr,Ao)!=0)if(tr=Ao,le.unit=="rectangle"){for(var Ro=[],ms=x.options.tabSize,ws=it(on(Ve,ue.line).text,ue.ch,ms),Rs=it(on(Ve,Ao.line).text,Ao.ch,ms),zu=Math.min(ws,Rs),pd=Math.max(ws,Rs),Sc=Math.min(ue.line,Ao.line),Od=Math.min(x.lastLine(),Math.max(ue.line,Ao.line));Sc<=Od;Sc++){var Sd=on(Ve,Sc).text,cd=Nn(Sd,zu,ms);zu==pd?Ro.push(new za(Xn(Sc,cd),Xn(Sc,cd))):Sd.length>cd&&Ro.push(new za(Xn(Sc,cd),Xn(Sc,Nn(Sd,pd,ms))))}Ro.length||Ro.push(new za(ue,ue)),$l(Ve,gs(x,Ht.ranges.slice(0,It).concat(Ro),It),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Ao)}else{var Zd=mt,rl=Lh(x,Ao,le.unit),uo=Zd.anchor,Ju;Or(rl.anchor,uo)>0?(Ju=rl.head,uo=xi(Zd.from(),rl.anchor)):(Ju=rl.anchor,uo=Zi(Zd.to(),rl.head));var Ec=Ht.ranges.slice(0);Ec[It]=Bp(x,new za(si(Ve,uo),Ju)),$l(Ve,gs(x,Ec,It),Qt)}}var Kr=me.wrapper.getBoundingClientRect(),Ri=0;function ga(Ao){var Ro=++Ri,ms=hd(x,Ao,!0,le.unit=="rectangle");if(ms)if(Or(ms,tr)!=0){x.curOp.focus=Re(),ei(ms);var ws=hl(me,Ve);(ms.line>=ws.to||ms.lineKr.bottom?20:0;Rs&&setTimeout(gr(x,function(){Ri==Ro&&(me.scroller.scrollTop+=Rs,ga(Ao))}),50)}}function Ga(Ao){x.state.selectingText=!1,Ri=1/0,Ao&&(br(Ao),me.input.focus()),zt(me.wrapper.ownerDocument,"mousemove",yo),zt(me.wrapper.ownerDocument,"mouseup",ko),Ve.history.lastSelOrigin=null}var yo=gr(x,function(Ao){Ao.buttons===0||!Ar(Ao)?Ga(Ao):ga(Ao)}),ko=gr(x,Ga);x.state.selectingText=ko,nn(me.wrapper.ownerDocument,"mousemove",yo),nn(me.wrapper.ownerDocument,"mouseup",ko)}function Bp(x,ee){var ue=ee.anchor,le=ee.head,me=on(x.doc,ue.line);if(Or(ue,le)==0&&ue.sticky==le.sticky)return ee;var Ve=Sn(me);if(!Ve)return ee;var mt=kt(Ve,ue.ch,ue.sticky),It=Ve[mt];if(It.from!=ue.ch&&It.to!=ue.ch)return ee;var Ht=mt+(It.from==ue.ch==(It.level!=1)?0:1);if(Ht==0||Ht==Ve.length)return ee;var Jt;if(le.line!=ue.line)Jt=(le.line-ue.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var zn=kt(Ve,le.ch,le.sticky),tr=zn-mt||(le.ch-ue.ch)*(It.level==1?-1:1);zn==Ht-1||zn==Ht?Jt=tr<0:Jt=tr>0}var ei=Ve[Ht+(Jt?-1:0)],Kr=Jt==(ei.level==1),Ri=Kr?ei.from:ei.to,ga=Kr?"after":"before";return ue.ch==Ri&&ue.sticky==ga?ee:new za(new Xn(ue.line,Ri,ga),le)}function O0(x,ee,ue,le){var me,Ve;if(ee.touches)me=ee.touches[0].clientX,Ve=ee.touches[0].clientY;else try{me=ee.clientX,Ve=ee.clientY}catch(ei){return!1}if(me>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;le&&br(ee);var mt=x.display,It=mt.lineDiv.getBoundingClientRect();if(Ve>It.bottom||!xn(x,ue))return jr(ee);Ve-=It.top-mt.viewOffset;for(var Ht=0;Ht=me){var zn=Gr(x.doc,Ve),tr=x.display.gutterSpecs[Ht];return pt(x,ue,x,zn,tr.className,ee),jr(ee)}}}function Wd(x,ee){return O0(x,ee,"gutterClick",!0)}function Rf(x,ee){gu(x.display,ee)||Dh(x,ee)||Wt(x,ee,"contextmenu")||We||x.display.input.onContextMenu(ee)}function Dh(x,ee){return xn(x,"gutterContextMenu")?O0(x,ee,"gutterContextMenu",!1):!1}function T0(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ds(x)}var Af={toString:function(){return"CodeMirror.Init"}},lm={},lp={};function Hm(x){var ee=x.optionHandlers;function ue(le,me,Ve,mt){x.defaults[le]=me,Ve&&(ee[le]=mt?function(It,Ht,Jt){Jt!=Af&&Ve(It,Ht,Jt)}:Ve)}x.defineOption=ue,x.Init=Af,ue("value","",function(le,me){return le.setValue(me)},!0),ue("mode",null,function(le,me){le.doc.modeOption=me,cc(le)},!0),ue("indentUnit",2,cc,!0),ue("indentWithTabs",!1),ue("smartIndent",!0),ue("tabSize",4,function(le){wl(le),Ds(le),Ru(le)},!0),ue("lineSeparator",null,function(le,me){if(le.doc.lineSep=me,!!me){var Ve=[],mt=le.doc.first;le.doc.iter(function(Ht){for(var Jt=0;;){var zn=Ht.text.indexOf(me,Jt);if(zn==-1)break;Jt=zn+me.length,Ve.push(Xn(mt,zn))}mt++});for(var It=Ve.length-1;It>=0;It--)XA(le.doc,me,Ve[It],Xn(Ve[It].line,Ve[It].ch+me.length))}}),ue("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(le,me,Ve){le.state.specialChars=new RegExp(me.source+(me.test(" ")?"":"| "),"g"),Ve!=Af&&le.refresh()}),ue("specialCharPlaceholder",ru,function(le){return le.refresh()},!0),ue("electricChars",!0),ue("inputStyle",ke?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ue("spellcheck",!1,function(le,me){return le.getInputField().spellcheck=me},!0),ue("autocorrect",!1,function(le,me){return le.getInputField().autocorrect=me},!0),ue("autocapitalize",!1,function(le,me){return le.getInputField().autocapitalize=me},!0),ue("rtlMoveVisually",!Xe),ue("wholeLineUpdateBefore",!0),ue("theme","default",function(le){T0(le),lo(le)},!0),ue("keyMap","default",function(le,me,Ve){var mt=fu(me),It=Ve!=Af&&fu(Ve);It&&It.detach&&It.detach(le,mt),mt.attach&&mt.attach(le,It||null)}),ue("extraKeys",null),ue("configureMouse",null),ue("lineWrapping",!1,Sp,!0),ue("gutters",[],function(le,me){le.display.gutterSpecs=ss(me,le.options.lineNumbers),lo(le)},!0),ue("fixedGutter",!0,function(le,me){le.display.gutters.style.left=me?Hl(le.display)+"px":"0",le.refresh()},!0),ue("coverGutterNextToScrollbar",!1,function(le){return xA(le)},!0),ue("scrollbarStyle","native",function(le){M0(le),xA(le),le.display.scrollbars.setScrollTop(le.doc.scrollTop),le.display.scrollbars.setScrollLeft(le.doc.scrollLeft)},!0),ue("lineNumbers",!1,function(le,me){le.display.gutterSpecs=ss(le.options.gutters,me),lo(le)},!0),ue("firstLineNumber",1,lo,!0),ue("lineNumberFormatter",function(le){return le},lo,!0),ue("showCursorWhenSelecting",!1,tu,!0),ue("resetSelectionOnContextMenu",!0),ue("lineWiseCopyCut",!0),ue("pasteLinesPerSelection",!0),ue("selectionsMayTouch",!1),ue("readOnly",!1,function(le,me){me=="nocursor"&&(Du(le),le.display.input.blur()),le.display.input.readOnlyChanged(me)}),ue("screenReaderLabel",null,function(le,me){me=me===""?null:me,le.display.input.screenReaderLabelChanged(me)}),ue("disableInput",!1,function(le,me){me||le.display.input.reset()},!0),ue("dragDrop",!0,jm),ue("allowDropFileTypes",null),ue("cursorBlinkRate",530),ue("cursorScrollMargin",0),ue("cursorHeight",1,tu,!0),ue("singleCursorHeightPerLine",!0,tu,!0),ue("workTime",100),ue("workDelay",100),ue("flattenSpans",!0,wl,!0),ue("addModeClass",!1,wl,!0),ue("pollInterval",100),ue("undoDepth",200,function(le,me){return le.doc.history.undoDepth=me}),ue("historyEventDelay",1250),ue("viewportMargin",10,function(le){return le.refresh()},!0),ue("maxHighlightLength",1e4,wl,!0),ue("moveInputWithCursor",!0,function(le,me){me||le.display.input.resetPosition()}),ue("tabindex",null,function(le,me){return le.display.input.getField().tabIndex=me||""}),ue("autofocus",null),ue("direction","ltr",function(le,me){return le.doc.setDirection(me)},!0),ue("phrases",null)}function jm(x,ee,ue){var le=ue&&ue!=Af;if(!ee!=!le){var me=x.display.dragFunctions,Ve=ee?nn:zt;Ve(x.display.scroller,"dragstart",me.start),Ve(x.display.scroller,"dragenter",me.enter),Ve(x.display.scroller,"dragover",me.over),Ve(x.display.scroller,"dragleave",me.leave),Ve(x.display.scroller,"drop",me.drop)}}function Sp(x){x.options.lineWrapping?(Rt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):($e(x.display.wrapper,"CodeMirror-wrap"),ra(x)),Ac(x),Ru(x),Ds(x),setTimeout(function(){return xA(x)},100)}function zs(x,ee){var ue=this;if(!(this instanceof zs))return new zs(x,ee);this.options=ee=ee?wt(ee):{},wt(lm,ee,!1);var le=ee.value;typeof le=="string"?le=new pc(le,ee.mode,null,ee.lineSeparator,ee.direction):ee.mode&&(le.modeOption=ee.mode),this.doc=le;var me=new zs.inputStyles[ee.inputStyle](this),Ve=this.display=new Oo(x,le,me,ee);Ve.wrapper.CodeMirror=this,T0(this),ee.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),M0(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new je,keySeq:null,specialChars:null},ee.autofocus&&!ke&&Ve.input.focus(),Ne&&Le<11&&setTimeout(function(){return ue.display.input.reset(!0)},20),um(this),sh(),hc(this),this.curOp.forceUpdate=!0,wo(this,le),ee.autofocus&&!ke||this.hasFocus()?setTimeout(function(){ue.hasFocus()&&!ue.state.focused&&Cl(ue)},20):Du(this);for(var mt in lp)lp.hasOwnProperty(mt)&&lp[mt](this,ee[mt],Af);Fo(this),ee.finishInit&&ee.finishInit(this);for(var It=0;It20*20}nn(ee.scroller,"touchstart",function(Ht){if(!Wt(x,Ht)&&!Ve(Ht)&&!Wd(x,Ht)){ee.input.ensurePolled(),clearTimeout(ue);var Jt=+new Date;ee.activeTouch={start:Jt,moved:!1,prev:Jt-le.end<=300?le:null},Ht.touches.length==1&&(ee.activeTouch.left=Ht.touches[0].pageX,ee.activeTouch.top=Ht.touches[0].pageY)}}),nn(ee.scroller,"touchmove",function(){ee.activeTouch&&(ee.activeTouch.moved=!0)}),nn(ee.scroller,"touchend",function(Ht){var Jt=ee.activeTouch;if(Jt&&!gu(ee,Ht)&&Jt.left!=null&&!Jt.moved&&new Date-Jt.start<300){var zn=x.coordsChar(ee.activeTouch,"page"),tr;!Jt.prev||mt(Jt,Jt.prev)?tr=new za(zn,zn):!Jt.prev.prev||mt(Jt,Jt.prev.prev)?tr=x.findWordAt(zn):tr=new za(Xn(zn.line,0),si(x.doc,Xn(zn.line+1,0))),x.setSelection(tr.anchor,tr.head),x.focus(),br(Ht)}me()}),nn(ee.scroller,"touchcancel",me),nn(ee.scroller,"scroll",function(){ee.scroller.clientHeight&&(xc(x,ee.scroller.scrollTop),uA(x,ee.scroller.scrollLeft,!0),pt(x,"scroll",x))}),nn(ee.scroller,"mousewheel",function(Ht){return tl(x,Ht)}),nn(ee.scroller,"DOMMouseScroll",function(Ht){return tl(x,Ht)}),nn(ee.wrapper,"scroll",function(){return ee.wrapper.scrollTop=ee.wrapper.scrollLeft=0}),ee.dragFunctions={enter:function(Ht){Wt(x,Ht)||Qr(Ht)},over:function(Ht){Wt(x,Ht)||(oh(x,Ht),Qr(Ht))},start:function(Ht){return Df(x,Ht)},drop:gr(x,t0),leave:function(Ht){Wt(x,Ht)||Nf(x)}};var It=ee.input.getField();nn(It,"keyup",function(Ht){return om.call(x,Ht)}),nn(It,"keydown",gr(x,Ih)),nn(It,"keypress",gr(x,sm)),nn(It,"focus",function(Ht){return Cl(x,Ht)}),nn(It,"blur",function(Ht){return Du(x,Ht)})}var up=[];zs.defineInitHook=function(x){return up.push(x)};function TA(x,ee,ue,le){var me=x.doc,Ve;ue==null&&(ue="add"),ue=="smart"&&(me.mode.indent?Ve=Mr(x,ee).state:ue="prev");var mt=x.options.tabSize,It=on(me,ee),Ht=it(It.text,null,mt);It.stateAfter&&(It.stateAfter=null);var Jt=It.text.match(/^\s*/)[0],zn;if(!le&&!/\S/.test(It.text))zn=0,ue="not";else if(ue=="smart"&&(zn=me.mode.indent(Ve,It.text.slice(Jt.length),It.text),zn==Vt||zn>150)){if(!le)return;ue="prev"}ue=="prev"?ee>me.first?zn=it(on(me,ee-1).text,null,mt):zn=0:ue=="add"?zn=Ht+x.options.indentUnit:ue=="subtract"?zn=Ht-x.options.indentUnit:typeof ue=="number"&&(zn=Ht+ue),zn=Math.max(0,zn);var tr="",ei=0;if(x.options.indentWithTabs)for(var Kr=Math.floor(zn/mt);Kr;--Kr)ei+=mt,tr+=" ";if(eimt,Ht=pa(ee),Jt=null;if(It&&le.ranges.length>1)if(nf&&nf.text.join(` `)==ee){if(le.ranges.length%nf.text.length==0){Jt=[];for(var zn=0;zn=0;ei--){var Kr=le.ranges[ei],Ri=Kr.from(),ga=Kr.to();Kr.empty()&&(ue&&ue>0?Ri=Xn(Ri.line,Ri.ch-ue):x.state.overwrite&&!It?ga=Xn(ga.line,Math.min(on(Ve,ga.line).text.length,ga.ch+Cn(Ht).length)):It&&nf&&nf.lineWise&&nf.text.join(` `)==Ht.join(` `)&&(Ri=ga=Xn(Ri.line,0)));var Ga={from:Ri,to:ga,text:Jt?Jt[ei%Jt.length]:Ht,origin:me||(It?"paste":x.state.cutIncoming>mt?"cut":"+input")};Nu(x.doc,Ga),Hr(x,"inputRead",x,Ga)}ee&&!It&&a0(x,ee),Vu(x),x.curOp.updateInput<2&&(x.curOp.updateInput=tr),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Nh(x,ee){var ue=x.clipboardData&&x.clipboardData.getData("Text");if(ue)return x.preventDefault(),!ee.isReadOnly()&&!ee.options.disableInput&&On(ee,function(){return P0(ee,ue,0,null,"paste")}),!0}function a0(x,ee){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ue=x.doc.sel,le=ue.ranges.length-1;le>=0;le--){var me=ue.ranges[le];if(!(me.head.ch>100||le&&ue.ranges[le-1].head.line==me.head.line)){var Ve=x.getModeAt(me.head),mt=!1;if(Ve.electricChars){for(var It=0;It-1){mt=TA(x,me.head.line,"smart");break}}else Ve.electricInput&&Ve.electricInput.test(on(x.doc,me.head.line).text.slice(0,me.head.ch))&&(mt=TA(x,me.head.line,"smart"));mt&&Hr(x,"electricInput",x,me.head.line)}}}function Oh(x){for(var ee=[],ue=[],le=0;leVe&&(TA(this,It.head.line,le,!0),Ve=It.head.line,mt==this.doc.sel.primIndex&&Vu(this));else{var Ht=It.from(),Jt=It.to(),zn=Math.max(Ve,Ht.line);Ve=Math.min(this.lastLine(),Jt.line-(Jt.ch?0:1))+1;for(var tr=zn;tr0&&Wl(this.doc,mt,new za(Ht,ei[mt].to()),St)}}}),getTokenAt:function(le,me){return Oa(this,le,me)},getLineTokens:function(le,me){return Oa(this,Xn(le),me,!0)},getTokenTypeAt:function(le){le=si(this.doc,le);var me=wr(this,on(this.doc,le.line)),Ve=0,mt=(me.length-1)/2,It=le.ch,Ht;if(It==0)Ht=me[2];else for(;;){var Jt=Ve+mt>>1;if((Jt?me[Jt*2-1]:0)>=It)mt=Jt;else if(me[Jt*2+1]Ht&&(le=Ht,mt=!0),It=on(this.doc,le)}else It=le;return ac(this,It,{top:0,left:0},me||"page",Ve||mt).top+(mt?this.doc.height-ma(It):0)},defaultTextHeight:function(){return Id(this.display)},defaultCharWidth:function(){return yl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(le,me,Ve,mt,It){var Ht=this.display;le=oc(this,si(this.doc,le));var Jt=le.bottom,zn=le.left;if(me.style.position="absolute",me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(me),Ht.sizer.appendChild(me),mt=="over")Jt=le.top;else if(mt=="above"||mt=="near"){var tr=Math.max(Ht.wrapper.clientHeight,this.doc.height),ei=Math.max(Ht.sizer.clientWidth,Ht.lineSpace.clientWidth);(mt=="above"||le.bottom+me.offsetHeight>tr)&&le.top>me.offsetHeight?Jt=le.top-me.offsetHeight:le.bottom+me.offsetHeight<=tr&&(Jt=le.bottom),zn+me.offsetWidth>ei&&(zn=ei-me.offsetWidth)}me.style.top=Jt+"px",me.style.left=me.style.right="",It=="right"?(zn=Ht.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(It=="left"?zn=0:It=="middle"&&(zn=(Ht.sizer.clientWidth-me.offsetWidth)/2),me.style.left=zn+"px"),Ve&&_c(this,{left:zn,top:Jt,right:zn+me.offsetWidth,bottom:Jt+me.offsetHeight})},triggerOnKeyDown:fr(Ih),triggerOnKeyPress:fr(sm),triggerOnKeyUp:om,triggerOnMouseDown:fr(rd),execCommand:function(le){if(Bd.hasOwnProperty(le))return Bd[le].call(null,this)},triggerElectric:fr(function(le){a0(this,le)}),findPosH:function(le,me,Ve,mt){var It=1;me<0&&(It=-1,me=-me);for(var Ht=si(this.doc,le),Jt=0;Jt0&&zn(Ve.charAt(mt-1));)--mt;for(;It.5||this.options.lineWrapping)&&Ac(this),pt(this,"refresh",this)}),swapDoc:fr(function(le){var me=this.doc;return me.cm=null,this.state.selectingText&&this.state.selectingText(),wo(this,le),Ds(this),this.display.input.reset(),jd(this,le.scrollLeft,le.scrollTop),this.curOp.forceScroll=!0,Hr(this,"swapDoc",this,me),me}),phrase:function(le){var me=this.options.phrases;return me&&Object.prototype.hasOwnProperty.call(me,le)?me[le]:le},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Wn(x),x.registerHelper=function(le,me,Ve){ue.hasOwnProperty(le)||(ue[le]=x[le]={_global:[]}),ue[le][me]=Ve},x.registerGlobalHelper=function(le,me,Ve,mt){x.registerHelper(le,me,mt),ue[le]._global.push({pred:Ve,val:mt})}}function o0(x,ee,ue,le,me){var Ve=ee,mt=ue,It=on(x,ee.line),Ht=me&&x.direction=="rtl"?-ue:ue;function Jt(){var ko=ee.line+Ht;return ko=x.first+x.size?!1:(ee=new Xn(ko,ee.ch,ee.sticky),It=on(x,ko))}function zn(ko){var Ao;if(le=="codepoint"){var Ro=It.text.charCodeAt(ee.ch+(le>0?0:-1));isNaN(Ro)?Ao=null:Ao=new Xn(ee.line,Math.max(0,Math.min(It.text.length,ee.ch+ue*(Ro>=55296&&Ro<56320?2:1))),-ue)}else me?Ao=Zl(x.cm,It,ee,ue):Ao=qA(It,ee,ue);if(Ao==null)if(!ko&&Jt())ee=Sl(me,x.cm,It,ee.line,Ht);else return!1;else ee=Ao;return!0}if(le=="char"||le=="codepoint")zn();else if(le=="column")zn(!0);else if(le=="word"||le=="group")for(var tr=null,ei=le=="group",Kr=x.cm&&x.cm.getHelper(ee,"wordChars"),Ri=!0;!(ue<0&&!zn(!Ri));Ri=!1){var ga=It.text.charAt(ee.ch)||` `,Ga=se(ga,Kr)?"w":ei&&ga==` `?"n":!ei||/\s/.test(ga)?null:"p";if(ei&&!Ri&&!Ga&&(Ga="s"),tr&&tr!=Ga){ue<0&&(ue=1,zn(),ee.sticky="after");break}if(Ga&&(tr=Ga),ue>0&&!zn(!Ri))break}var yo=CA(x,ee,Ve,mt,!0);return ki(Ve,yo)&&(yo.hitSide=!0),yo}function dm(x,ee,ue,le){var me=x.doc,Ve=ee.left,mt;if(le=="page"){var It=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ht=Math.max(It-.5*Id(x.display),3);mt=(ue>0?ee.bottom:ee.top)+ue*Ht}else le=="line"&&(mt=ue>0?ee.bottom+3:ee.top-3);for(var Jt;Jt=Kl(x,Ve,mt),!!Jt.outside;){if(ue<0?mt<=0:mt>=me.height){Jt.hitSide=!0;break}mt+=ue*5}return Jt}var Qu=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new je,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Qu.prototype.init=function(x){var ee=this,ue=this,le=ue.cm,me=ue.div=x.lineDiv;Ep(me,le.options.spellcheck,le.options.autocorrect,le.options.autocapitalize);function Ve(It){for(var Ht=It.target;Ht;Ht=Ht.parentNode){if(Ht==me)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ht.className))break}return!1}nn(me,"paste",function(It){!Ve(It)||Wt(le,It)||Nh(It,le)||Le<=11&&setTimeout(gr(le,function(){return ee.updateFromDOM()}),20)}),nn(me,"compositionstart",function(It){ee.composing={data:It.data,done:!1}}),nn(me,"compositionupdate",function(It){ee.composing||(ee.composing={data:It.data,done:!1})}),nn(me,"compositionend",function(It){ee.composing&&(It.data!=ee.composing.data&&ee.readFromDOMSoon(),ee.composing.done=!0)}),nn(me,"touchstart",function(){return ue.forceCompositionEnd()}),nn(me,"input",function(){ee.composing||ee.readFromDOMSoon()});function mt(It){if(!(!Ve(It)||Wt(le,It))){if(le.somethingSelected())Uf({lineWise:!1,text:le.getSelections()}),It.type=="cut"&&le.replaceSelection("",null,"cut");else if(le.options.lineWiseCopyCut){var Ht=Oh(le);Uf({lineWise:!0,text:Ht.text}),It.type=="cut"&&le.operation(function(){le.setSelections(Ht.ranges,0,St),le.replaceSelection("",null,"cut")})}else return;if(It.clipboardData){It.clipboardData.clearData();var Jt=nf.text.join(` `);if(It.clipboardData.setData("Text",Jt),It.clipboardData.getData("Text")==Jt){It.preventDefault();return}}var zn=cm(),tr=zn.firstChild;le.display.lineSpace.insertBefore(zn,le.display.lineSpace.firstChild),tr.value=nf.text.join(` `);var ei=document.activeElement;bt(tr),setTimeout(function(){le.display.lineSpace.removeChild(zn),ei.focus(),ei==me&&ue.showPrimarySelection()},50)}}nn(me,"copy",mt),nn(me,"cut",mt)},Qu.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Qu.prototype.prepareSelection=function(){var x=lc(this.cm,!1);return x.focus=document.activeElement==this.div,x},Qu.prototype.showSelection=function(x,ee){!x||!this.cm.display.view.length||((x.focus||ee)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Qu.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Qu.prototype.showPrimarySelection=function(){var x=this.getSelection(),ee=this.cm,ue=ee.doc.sel.primary(),le=ue.from(),me=ue.to();if(ee.display.viewTo==ee.display.viewFrom||le.line>=ee.display.viewTo||me.line=ee.display.viewFrom&&ch(ee,le)||{node:It[0].measure.map[2],offset:0},Jt=me.linex.firstLine()&&(le=Xn(le.line-1,on(x.doc,le.line-1).length)),me.ch==on(x.doc,me.line).text.length&&me.lineee.viewTo-1)return!1;var Ve,mt,It;le.line==ee.viewFrom||(Ve=Tc(x,le.line))==0?(mt=pr(ee.view[0].line),It=ee.view[0].node):(mt=pr(ee.view[Ve].line),It=ee.view[Ve-1].node.nextSibling);var Ht=Tc(x,me.line),Jt,zn;if(Ht==ee.view.length-1?(Jt=ee.viewTo-1,zn=ee.lineDiv.lastChild):(Jt=pr(ee.view[Ht+1].line)-1,zn=ee.view[Ht+1].node.previousSibling),!It)return!1;for(var tr=x.doc.splitLines(dh(x,It,zn,mt,Jt)),ei=Mn(x.doc,Xn(mt,0),Xn(Jt,on(x.doc,Jt).text.length));tr.length>1&&ei.length>1;)if(Cn(tr)==Cn(ei))tr.pop(),ei.pop(),Jt--;else if(tr[0]==ei[0])tr.shift(),ei.shift(),mt++;else break;for(var Kr=0,Ri=0,ga=tr[0],Ga=ei[0],yo=Math.min(ga.length,Ga.length);Krle.ch&&ko.charCodeAt(ko.length-Ri-1)==Ao.charCodeAt(Ao.length-Ri-1);)Kr--,Ri++;tr[tr.length-1]=ko.slice(0,ko.length-Ri).replace(/^\u200b+/,""),tr[0]=tr[0].slice(Kr).replace(/\u200b+$/,"");var ms=Xn(mt,Kr),ws=Xn(Jt,ei.length?Cn(ei).length-Ri:0);if(tr.length>1||tr[0]||Or(ms,ws))return XA(x.doc,tr,ms,ws,"+input"),!0},Qu.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qu.prototype.reset=function(){this.forceCompositionEnd()},Qu.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qu.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},Qu.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&On(this.cm,function(){return Ru(x.cm)})},Qu.prototype.setUneditable=function(x){x.contentEditable="false"},Qu.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||gr(this.cm,P0)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Qu.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Qu.prototype.onContextMenu=function(){},Qu.prototype.resetPosition=function(){},Qu.prototype.needsContentAttribute=!0;function ch(x,ee){var ue=vu(x,ee.line);if(!ue||ue.hidden)return null;var le=on(x.doc,ee.line),me=el(ue,le,ee.line),Ve=Sn(le,x.doc.direction),mt="left";if(Ve){var It=kt(Ve,ee.ch);mt=It%2?"right":"left"}var Ht=qa(me.map,ee.ch,mt);return Ht.offset=Ht.collapse=="right"?Ht.end:Ht.start,Ht}function Qm(x){for(var ee=x;ee;ee=ee.parentNode)if(/CodeMirror-gutter-wrapper/.test(ee.className))return!0;return!1}function mc(x,ee){return ee&&(x.bad=!0),x}function dh(x,ee,ue,le,me){var Ve="",mt=!1,It=x.doc.lineSeparator(),Ht=!1;function Jt(Kr){return function(Ri){return Ri.id==Kr}}function zn(){mt&&(Ve+=It,Ht&&(Ve+=It),mt=Ht=!1)}function tr(Kr){Kr&&(zn(),Ve+=Kr)}function ei(Kr){if(Kr.nodeType==1){var Ri=Kr.getAttribute("cm-text");if(Ri){tr(Ri);return}var ga=Kr.getAttribute("cm-marker"),Ga;if(ga){var yo=x.findMarks(Xn(le,0),Xn(me+1,0),Jt(+ga));yo.length&&(Ga=yo[0].find(0))&&tr(Mn(x.doc,Ga.from,Ga.to).join(It));return}if(Kr.getAttribute("contenteditable")=="false")return;var ko=/^(pre|div|p|li|table|br)$/i.test(Kr.nodeName);if(!/^br$/i.test(Kr.nodeName)&&Kr.textContent.length==0)return;ko&&zn();for(var Ao=0;Ao=9&&ee.hasSelection&&(ee.hasSelection=null),ue.poll()}),nn(me,"paste",function(mt){Wt(le,mt)||Nh(mt,le)||(le.state.pasteIncoming=+new Date,ue.fastPoll())});function Ve(mt){if(!Wt(le,mt)){if(le.somethingSelected())Uf({lineWise:!1,text:le.getSelections()});else if(le.options.lineWiseCopyCut){var It=Oh(le);Uf({lineWise:!0,text:It.text}),mt.type=="cut"?le.setSelections(It.ranges,null,St):(ue.prevInput="",me.value=It.text.join(` `),bt(me))}else return;mt.type=="cut"&&(le.state.cutIncoming=+new Date)}}nn(me,"cut",Ve),nn(me,"copy",Ve),nn(x.scroller,"paste",function(mt){if(!(gu(x,mt)||Wt(le,mt))){if(!me.dispatchEvent){le.state.pasteIncoming=+new Date,ue.focus();return}var It=new Event("paste");It.clipboardData=mt.clipboardData,me.dispatchEvent(It)}}),nn(x.lineSpace,"selectstart",function(mt){gu(x,mt)||br(mt)}),nn(me,"compositionstart",function(){var mt=le.getCursor("from");ue.composing&&ue.composing.range.clear(),ue.composing={start:mt,range:le.markText(mt,le.getCursor("to"),{className:"CodeMirror-composing"})}}),nn(me,"compositionend",function(){ue.composing&&(ue.poll(),ue.composing.range.clear(),ue.composing=null)})},su.prototype.createField=function(x){this.wrapper=cm(),this.textarea=this.wrapper.firstChild},su.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},su.prototype.prepareSelection=function(){var x=this.cm,ee=x.display,ue=x.doc,le=lc(x);if(x.options.moveInputWithCursor){var me=oc(x,ue.sel.primary().head,"div"),Ve=ee.wrapper.getBoundingClientRect(),mt=ee.lineDiv.getBoundingClientRect();le.teTop=Math.max(0,Math.min(ee.wrapper.clientHeight-10,me.top+mt.top-Ve.top)),le.teLeft=Math.max(0,Math.min(ee.wrapper.clientWidth-10,me.left+mt.left-Ve.left))}return le},su.prototype.showSelection=function(x){var ee=this.cm,ue=ee.display;ht(ue.cursorDiv,x.cursors),ht(ue.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},su.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var ee=this.cm;if(ee.somethingSelected()){this.prevInput="";var ue=ee.getSelection();this.textarea.value=ue,ee.state.focused&&bt(this.textarea),Ne&&Le>=9&&(this.hasSelection=ue)}else x||(this.prevInput=this.textarea.value="",Ne&&Le>=9&&(this.hasSelection=null))}},su.prototype.getField=function(){return this.textarea},su.prototype.supportsTouch=function(){return!1},su.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ke||Re()!=this.textarea))try{this.textarea.focus()}catch(x){}},su.prototype.blur=function(){this.textarea.blur()},su.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},su.prototype.receivedFocus=function(){this.slowPoll()},su.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},su.prototype.fastPoll=function(){var x=!1,ee=this;ee.pollingFast=!0;function ue(){var le=ee.poll();!le&&!x?(x=!0,ee.polling.set(60,ue)):(ee.pollingFast=!1,ee.slowPoll())}ee.polling.set(20,ue)},su.prototype.poll=function(){var x=this,ee=this.cm,ue=this.textarea,le=this.prevInput;if(this.contextMenuPending||!ee.state.focused||Dr(ue)&&!le&&!this.composing||ee.isReadOnly()||ee.options.disableInput||ee.state.keySeq)return!1;var me=ue.value;if(me==le&&!ee.somethingSelected())return!1;if(Ne&&Le>=9&&this.hasSelection===me||Te&&/[\uf700-\uf7ff]/.test(me))return ee.display.input.reset(),!1;if(ee.doc.sel==ee.display.selForContextMenu){var Ve=me.charCodeAt(0);if(Ve==8203&&!le&&(le="\u200B"),Ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,It=Math.min(le.length,me.length);mt1e3||me.indexOf(` `)>-1?ue.value=x.prevInput="":x.prevInput=me,x.composing&&(x.composing.range.clear(),x.composing.range=ee.markText(x.composing.start,ee.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},su.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},su.prototype.onKeyPress=function(){Ne&&Le>=9&&(this.hasSelection=null),this.fastPoll()},su.prototype.onContextMenu=function(x){var ee=this,ue=ee.cm,le=ue.display,me=ee.textarea;ee.contextMenuPending&&ee.contextMenuPending();var Ve=hd(ue,x),mt=le.scroller.scrollTop;if(!Ve||fe)return;var It=ue.options.resetSelectionOnContextMenu;It&&ue.doc.sel.contains(Ve)==-1&&gr(ue,$l)(ue.doc,Ns(Ve),St);var Ht=me.style.cssText,Jt=ee.wrapper.style.cssText,zn=ee.wrapper.offsetParent.getBoundingClientRect();ee.wrapper.style.cssText="position: static",me.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(x.clientY-zn.top-5)+"px; left: "+(x.clientX-zn.left-5)+`px; z-index: 1000; background: `+(Ne?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var tr;ve&&(tr=window.scrollY),le.input.focus(),ve&&window.scrollTo(null,tr),le.input.reset(),ue.somethingSelected()||(me.value=ee.prevInput=" "),ee.contextMenuPending=Kr,le.selForContextMenu=ue.doc.sel,clearTimeout(le.detectingSelectAll);function ei(){if(me.selectionStart!=null){var ga=ue.somethingSelected(),Ga="\u200B"+(ga?me.value:"");me.value="\u21DA",me.value=Ga,ee.prevInput=ga?"":"\u200B",me.selectionStart=1,me.selectionEnd=Ga.length,le.selForContextMenu=ue.doc.sel}}function Kr(){if(ee.contextMenuPending==Kr&&(ee.contextMenuPending=!1,ee.wrapper.style.cssText=Jt,me.style.cssText=Ht,Ne&&Le<9&&le.scrollbars.setScrollTop(le.scroller.scrollTop=mt),me.selectionStart!=null)){(!Ne||Ne&&Le<9)&&ei();var ga=0,Ga=function(){le.selForContextMenu==ue.doc.sel&&me.selectionStart==0&&me.selectionEnd>0&&ee.prevInput=="\u200B"?gr(ue,Xu)(ue):ga++<10?le.detectingSelectAll=setTimeout(Ga,500):(le.selForContextMenu=null,le.input.reset())};le.detectingSelectAll=setTimeout(Ga,200)}}if(Ne&&Le>=9&&ei(),We){Qr(x);var Ri=function(){zt(window,"mouseup",Ri),setTimeout(Kr,20)};nn(window,"mouseup",Ri)}else setTimeout(Kr,50)},su.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},su.prototype.setUneditable=function(){},su.prototype.needsContentAttribute=!1;function ff(x,ee){if(ee=ee?wt(ee):{},ee.value=x.value,!ee.tabindex&&x.tabIndex&&(ee.tabindex=x.tabIndex),!ee.placeholder&&x.placeholder&&(ee.placeholder=x.placeholder),ee.autofocus==null){var ue=Re();ee.autofocus=ue==x||x.getAttribute("autofocus")!=null&&ue==document.body}function le(){x.value=It.getValue()}var me;if(x.form&&(nn(x.form,"submit",le),!ee.leaveSubmitMethodAlone)){var Ve=x.form;me=Ve.submit;try{var mt=Ve.submit=function(){le(),Ve.submit=me,Ve.submit(),Ve.submit=mt}}catch(Ht){}}ee.finishInit=function(Ht){Ht.save=le,Ht.getTextArea=function(){return x},Ht.toTextArea=function(){Ht.toTextArea=isNaN,le(),x.parentNode.removeChild(Ht.getWrapperElement()),x.style.display="",x.form&&(zt(x.form,"submit",le),!ee.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=me))}},x.style.display="none";var It=zs(function(Ht){return x.parentNode.insertBefore(Ht,x.nextSibling)},ee);return It}function DA(x){x.off=zt,x.on=nn,x.wheelEventPixels=is,x.Doc=pc,x.splitLines=pa,x.countColumn=it,x.findColumn=Nn,x.isWordChar=ae,x.Pass=Vt,x.signal=pt,x.Line=ua,x.changeEnd=jl,x.scrollbarModel=bf,x.Pos=Xn,x.cmpPos=Or,x.modes=Co,x.mimeModes=ro,x.resolveMode=Si,x.getMode=gi,x.modeExtensions=Ea,x.extendMode=Fn,x.copyState=Dt,x.startState=Zt,x.innerMode=Gt,x.commands=Bd,x.keyMap=Ou,x.keyName=JA,x.isModifierKey=uh,x.lookupKey=_A,x.normalizeKeyMap=Mh,x.StringStream=jt,x.SharedTextMarker=ml,x.TextMarker=EA,x.LineWidget=Dc,x.e_preventDefault=br,x.e_stopPropagation=Lr,x.e_stop=Qr,x.addClass=Rt,x.contains=Lt,x.rmClass=$e,x.keyNames=MA}Hm(zs),R0(zs);var Ff="iter insert remove copy getEditor constructor".split(" ");for(var rf in pc.prototype)pc.prototype.hasOwnProperty(rf)&&at(Ff,rf)<0&&(zs.prototype[rf]=function(x){return function(){return x.apply(this.doc,arguments)}}(pc.prototype[rf]));return Wn(pc),zs.inputStyles={textarea:su,contenteditable:Qu},zs.defineMode=function(x){!zs.defaults.mode&&x!="null"&&(zs.defaults.mode=x),Pi.apply(this,arguments)},zs.defineMIME=Ii,zs.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),zs.defineMIME("text/plain","null"),zs.defineExtension=function(x,ee){zs.prototype[x]=ee},zs.defineDocExtension=function(x,ee){pc.prototype[x]=ee},zs.fromTextArea=ff,DA(zs),zs.version="5.58.2",zs})},25419:function(Tn,Xt,ce){(function(he){he(ce(89780),ce(15525),ce(98101))})(function(he){"use strict";he.defineMode("markdown",function(Me,Ue){var At=he.getMode(Me,"text/html"),Ne=At.name=="null";function Le(it){if(he.findModeByName){var je=he.findModeByName(it);je&&(it=je.mime||je.mimes[0])}var at=he.getMode(Me,it);return at.name=="null"?null:at}Ue.highlightFormatting===void 0&&(Ue.highlightFormatting=!1),Ue.maxBlockquoteDepth===void 0&&(Ue.maxBlockquoteDepth=0),Ue.taskLists===void 0&&(Ue.taskLists=!1),Ue.strikethrough===void 0&&(Ue.strikethrough=!1),Ue.emoji===void 0&&(Ue.emoji=!1),Ue.fencedCodeBlockHighlighting===void 0&&(Ue.fencedCodeBlockHighlighting=!0),Ue.fencedCodeBlockDefaultMode===void 0&&(Ue.fencedCodeBlockDefaultMode="text/plain"),Ue.xml===void 0&&(Ue.xml=!0),Ue.tokenTypeOverrides===void 0&&(Ue.tokenTypeOverrides={});var ve={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ae in ve)ve.hasOwnProperty(Ae)&&Ue.tokenTypeOverrides[Ae]&&(ve[Ae]=Ue.tokenTypeOverrides[Ae]);var we=/^([*\-_])(?:\s*\1){2,}\s*$/,fe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,ze=/^\[(x| )\](?=\s)/i,Be=Ue.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,_e=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Oe=/^[^#!\[\]*_\\<>` "'(~:]+/,He=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ke=/^\s*\[[^\]]+?\]:.*$/,Te=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Pe=" ";function Xe(it,je,at){return je.f=je.inline=at,at(it,je)}function Ke(it,je,at){return je.f=je.block=at,at(it,je)}function qe(it){return!it||!/\S/.test(it.string)}function We(it){if(it.linkTitle=!1,it.linkHref=!1,it.linkText=!1,it.em=!1,it.strong=!1,it.strikethrough=!1,it.quote=0,it.indentedCode=!1,it.f==$e){var je=Ne;if(!je){var at=he.innerMode(At,it.htmlState);je=at.mode.name=="xml"&&at.state.tagStart===null&&!at.state.context&&at.state.tokenize.isInText}je&&(it.f=xt,it.block=Ze,it.htmlState=null)}return it.trailingSpace=0,it.trailingSpaceNewLine=!1,it.prevLine=it.thisLine,it.thisLine={stream:null},null}function Ze(it,je){var at=it.column()===je.indentation,Yt=qe(je.prevLine.stream),Vt=je.indentedCode,St=je.prevLine.hr,Qt=je.list!==!1,cn=(je.listStack[je.listStack.length-1]||0)+3;je.indentedCode=!1;var Nn=je.indentation;if(je.indentationDiff===null&&(je.indentationDiff=je.indentation,Qt)){for(je.list=null;Nn=4&&(Vt||je.prevLine.fencedCodeEnd||je.prevLine.header||Yt))return it.skipToEnd(),je.indentedCode=!0,ve.code;if(it.eatSpace())return null;if(at&&je.indentation<=cn&&(Cn=it.match(Be))&&Cn[1].length<=6)return je.quote=0,je.header=Cn[1].length,je.thisLine.header=!0,Ue.highlightFormatting&&(je.formatting="header"),je.f=je.inline,ht(je);if(je.indentation<=cn&&it.eat(">"))return je.quote=at?1:je.quote+1,Ue.highlightFormatting&&(je.formatting="quote"),it.eatSpace(),ht(je);if(!Ln&&!je.setext&&at&&je.indentation<=cn&&(Cn=it.match(fe))){var Bn=Cn[1]?"ol":"ul";return je.indentation=Nn+it.current().length,je.list=!0,je.quote=0,je.listStack.push(je.indentation),je.em=!1,je.strong=!1,je.code=!1,je.strikethrough=!1,Ue.taskLists&&it.match(ze,!1)&&(je.taskList=!0),je.f=je.inline,Ue.highlightFormatting&&(je.formatting=["list","list-"+Bn]),ht(je)}else{if(at&&je.indentation<=cn&&(Cn=it.match(He,!0)))return je.quote=0,je.fencedEndRE=new RegExp(Cn[1]+"+ *$"),je.localMode=Ue.fencedCodeBlockHighlighting&&Le(Cn[2]||Ue.fencedCodeBlockDefaultMode),je.localMode&&(je.localState=he.startState(je.localMode)),je.f=je.block=rt,Ue.highlightFormatting&&(je.formatting="code-block"),je.code=-1,ht(je);if(je.setext||(!fn||!Qt)&&!je.quote&&je.list===!1&&!je.code&&!Ln&&!ke.test(it.string)&&(Cn=it.lookAhead(1))&&(Cn=Cn.match(_e)))return je.setext?(je.header=je.setext,je.setext=0,it.skipToEnd(),Ue.highlightFormatting&&(je.formatting="header")):(je.header=Cn[0].charAt(0)=="="?1:2,je.setext=je.header),je.thisLine.header=!0,je.f=je.inline,ht(je);if(Ln)return it.skipToEnd(),je.hr=!0,je.thisLine.hr=!0,ve.hr;if(it.peek()==="[")return Xe(it,je,Ft)}return Xe(it,je,je.inline)}function $e(it,je){var at=At.token(it,je.htmlState);if(!Ne){var Yt=he.innerMode(At,je.htmlState);(Yt.mode.name=="xml"&&Yt.state.tagStart===null&&!Yt.state.context&&Yt.state.tokenize.isInText||je.md_inside&&it.current().indexOf(">")>-1)&&(je.f=xt,je.block=Ze,je.htmlState=null)}return at}function rt(it,je){var at=je.listStack[je.listStack.length-1]||0,Yt=je.indentation=it.quote?je.push(ve.formatting+"-"+it.formatting[at]+"-"+it.quote):je.push("error"))}if(it.taskOpen)return je.push("meta"),je.length?je.join(" "):null;if(it.taskClosed)return je.push("property"),je.length?je.join(" "):null;if(it.linkHref?je.push(ve.linkHref,"url"):(it.strong&&je.push(ve.strong),it.em&&je.push(ve.em),it.strikethrough&&je.push(ve.strikethrough),it.emoji&&je.push(ve.emoji),it.linkText&&je.push(ve.linkText),it.code&&je.push(ve.code),it.image&&je.push(ve.image),it.imageAltText&&je.push(ve.imageAltText,"link"),it.imageMarker&&je.push(ve.imageMarker)),it.header&&je.push(ve.header,ve.header+"-"+it.header),it.quote&&(je.push(ve.quote),!Ue.maxBlockquoteDepth||Ue.maxBlockquoteDepth>=it.quote?je.push(ve.quote+"-"+it.quote):je.push(ve.quote+"-"+Ue.maxBlockquoteDepth)),it.list!==!1){var Yt=(it.listStack.length-1)%3;Yt?Yt===1?je.push(ve.list2):je.push(ve.list3):je.push(ve.list1)}return it.trailingSpaceNewLine?je.push("trailing-space-new-line"):it.trailingSpace&&je.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),je.length?je.join(" "):null}function dt(it,je){if(it.match(Oe,!0))return ht(je)}function xt(it,je){var at=je.text(it,je);if(typeof at!="undefined")return at;if(je.list)return je.list=null,ht(je);if(je.taskList){var Yt=it.match(ze,!0)[1]===" ";return Yt?je.taskOpen=!0:je.taskClosed=!0,Ue.highlightFormatting&&(je.formatting="task"),je.taskList=!1,ht(je)}if(je.taskOpen=!1,je.taskClosed=!1,je.header&&it.match(/^#+$/,!0))return Ue.highlightFormatting&&(je.formatting="header"),ht(je);var Vt=it.next();if(je.linkTitle){je.linkTitle=!1;var St=Vt;Vt==="("&&(St=")"),St=(St+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Qt="^\\s*(?:[^"+St+"\\\\]+|\\\\\\\\|\\\\.)"+St;if(it.match(new RegExp(Qt),!0))return ve.linkHref}if(Vt==="`"){var cn=je.formatting;Ue.highlightFormatting&&(je.formatting="code"),it.eatWhile("`");var Nn=it.current().length;if(je.code==0&&(!je.quote||Nn==1))return je.code=Nn,ht(je);if(Nn==je.code){var fn=ht(je);return je.code=0,fn}else return je.formatting=cn,ht(je)}else if(je.code)return ht(je);if(Vt==="\\"&&(it.next(),Ue.highlightFormatting)){var Ln=ht(je),Cn=ve.formatting+"-escape";return Ln?Ln+" "+Cn:Cn}if(Vt==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return je.imageMarker=!0,je.image=!0,Ue.highlightFormatting&&(je.formatting="image"),ht(je);if(Vt==="["&&je.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return je.imageMarker=!1,je.imageAltText=!0,Ue.highlightFormatting&&(je.formatting="image"),ht(je);if(Vt==="]"&&je.imageAltText){Ue.highlightFormatting&&(je.formatting="image");var Ln=ht(je);return je.imageAltText=!1,je.image=!1,je.inline=je.f=Lt,Ln}if(Vt==="["&&!je.image)return je.linkText&&it.match(/^.*?\]/)||(je.linkText=!0,Ue.highlightFormatting&&(je.formatting="link")),ht(je);if(Vt==="]"&&je.linkText){Ue.highlightFormatting&&(je.formatting="link");var Ln=ht(je);return je.linkText=!1,je.inline=je.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?Lt:xt,Ln}if(Vt==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){je.f=je.inline=Je,Ue.highlightFormatting&&(je.formatting="link");var Ln=ht(je);return Ln?Ln+=" ":Ln="",Ln+ve.linkInline}if(Vt==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){je.f=je.inline=Je,Ue.highlightFormatting&&(je.formatting="link");var Ln=ht(je);return Ln?Ln+=" ":Ln="",Ln+ve.linkEmail}if(Ue.xml&&Vt==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Bn=it.string.indexOf(">",it.pos);if(Bn!=-1){var gn=it.string.substring(it.start,Bn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(gn)&&(je.md_inside=!0)}return it.backUp(1),je.htmlState=he.startState(At),Ke(it,je,$e)}if(Ue.xml&&Vt==="<"&&it.match(/^\/\w*?>/))return je.md_inside=!1,"tag";if(Vt==="*"||Vt==="_"){for(var Se=1,Fe=it.pos==1?" ":it.string.charAt(it.pos-2);Se<3&&it.eat(Vt);)Se++;var ie=it.peek()||" ",ae=!/\s/.test(ie)&&(!Te.test(ie)||/\s/.test(Fe)||Te.test(Fe)),se=!/\s/.test(Fe)&&(!Te.test(Fe)||/\s/.test(ie)||Te.test(ie)),oe=null,Ye=null;if(Se%2&&(!je.em&&ae&&(Vt==="*"||!se||Te.test(Fe))?oe=!0:je.em==Vt&&se&&(Vt==="*"||!ae||Te.test(ie))&&(oe=!1)),Se>1&&(!je.strong&&ae&&(Vt==="*"||!se||Te.test(Fe))?Ye=!0:je.strong==Vt&&se&&(Vt==="*"||!ae||Te.test(ie))&&(Ye=!1)),Ye!=null||oe!=null){Ue.highlightFormatting&&(je.formatting=oe==null?"strong":Ye==null?"em":"strong em"),oe===!0&&(je.em=Vt),Ye===!0&&(je.strong=Vt);var fn=ht(je);return oe===!1&&(je.em=!1),Ye===!1&&(je.strong=!1),fn}}else if(Vt===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return ht(je);it.backUp(1)}if(Ue.strikethrough){if(Vt==="~"&&it.eatWhile(Vt)){if(je.strikethrough){Ue.highlightFormatting&&(je.formatting="strikethrough");var fn=ht(je);return je.strikethrough=!1,fn}else if(it.match(/^[^\s]/,!1))return je.strikethrough=!0,Ue.highlightFormatting&&(je.formatting="strikethrough"),ht(je)}else if(Vt===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return ht(je);it.backUp(2)}}if(Ue.emoji&&Vt===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){je.emoji=!0,Ue.highlightFormatting&&(je.formatting="emoji");var vt=ht(je);return je.emoji=!1,vt}return Vt===" "&&(it.match(/^ +$/,!1)?je.trailingSpace++:je.trailingSpace&&(je.trailingSpaceNewLine=!0)),ht(je)}function Je(it,je){var at=it.next();if(at===">"){je.f=je.inline=xt,Ue.highlightFormatting&&(je.formatting="link");var Yt=ht(je);return Yt?Yt+=" ":Yt="",Yt+ve.linkInline}return it.match(/^[^>]+/,!0),ve.linkInline}function Lt(it,je){if(it.eatSpace())return null;var at=it.next();return at==="("||at==="["?(je.f=je.inline=Rt(at==="("?")":"]"),Ue.highlightFormatting&&(je.formatting="link-string"),je.linkHref=!0,ht(je)):"error"}var Re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Rt(it){return function(je,at){var Yt=je.next();if(Yt===it){at.f=at.inline=xt,Ue.highlightFormatting&&(at.formatting="link-string");var Vt=ht(at);return at.linkHref=!1,Vt}return je.match(Re[it]),at.linkHref=!0,ht(at)}}function Ft(it,je){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(je.f=bt,it.next(),Ue.highlightFormatting&&(je.formatting="link"),je.linkText=!0,ht(je)):Xe(it,je,xt)}function bt(it,je){if(it.match(/^\]:/,!0)){je.f=je.inline=Tt,Ue.highlightFormatting&&(je.formatting="link");var at=ht(je);return je.linkText=!1,at}return it.match(/^([^\]\\]|\\.)+/,!0),ve.linkText}function Tt(it,je){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?je.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),je.f=je.inline=xt,ve.linkHref+" url")}var wt={startState:function(){return{f:Ze,prevLine:{stream:null},thisLine:{stream:null},block:Ze,htmlState:null,indentation:0,inline:xt,text:dt,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(it){return{f:it.f,prevLine:it.prevLine,thisLine:it.thisLine,block:it.block,htmlState:it.htmlState&&he.copyState(At,it.htmlState),indentation:it.indentation,localMode:it.localMode,localState:it.localMode?he.copyState(it.localMode,it.localState):null,inline:it.inline,text:it.text,formatting:!1,linkText:it.linkText,linkTitle:it.linkTitle,linkHref:it.linkHref,code:it.code,em:it.em,strong:it.strong,strikethrough:it.strikethrough,emoji:it.emoji,header:it.header,setext:it.setext,hr:it.hr,taskList:it.taskList,list:it.list,listStack:it.listStack.slice(0),quote:it.quote,indentedCode:it.indentedCode,trailingSpace:it.trailingSpace,trailingSpaceNewLine:it.trailingSpaceNewLine,md_inside:it.md_inside,fencedEndRE:it.fencedEndRE}},token:function(it,je){if(je.formatting=!1,it!=je.thisLine.stream){if(je.header=0,je.hr=!1,it.match(/^\s*$/,!0))return We(je),null;if(je.prevLine=je.thisLine,je.thisLine={stream:it},je.taskList=!1,je.trailingSpace=0,je.trailingSpaceNewLine=!1,!je.localState&&(je.f=je.block,je.f!=$e)){var at=it.match(/^\s*/,!0)[0].replace(/\t/g,Pe).length;if(je.indentation=at,je.indentationDiff=null,at>0)return null}}return je.f(it,je)},innerMode:function(it){return it.block==$e?{state:it.htmlState,mode:At}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:wt}},indent:function(it,je,at){return it.block==$e&&At.indent?At.indent(it.htmlState,je,at):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,je,at):he.Pass},blankLine:We,getType:ht,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return wt},"xml"),he.defineMIME("text/markdown","markdown"),he.defineMIME("text/x-markdown","markdown")})},98101:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){"use strict";he.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Me=0;Me-1&&At.substring(ve+1,At.length);if(Ae)return he.findModeByExtension(Ae)},he.findModeByName=function(At){At=At.toLowerCase();for(var Ne=0;Ne0?Oe.cmdState[Oe.cmdState.length-1]:null}function Le(Oe){var He=Oe.cmdState.pop();He&&He.closeBracket()}function ve(Oe){for(var He=Oe.cmdState,ke=He.length-1;ke>=0;ke--){var Te=He[ke];if(Te.name!="DEFAULT")return Te}return{styleIdentifier:function(){return null}}}function Ae(Oe,He,ke){return function(){this.name=Oe,this.bracketNo=0,this.style=He,this.styles=ke,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var we={};we.importmodule=Ae("importmodule","tag",["string","builtin"]),we.documentclass=Ae("documentclass","tag",["","atom"]),we.usepackage=Ae("usepackage","tag",["atom"]),we.begin=Ae("begin","tag",["atom"]),we.end=Ae("end","tag",["atom"]),we.label=Ae("label","tag",["atom"]),we.ref=Ae("ref","tag",["atom"]),we.eqref=Ae("eqref","tag",["atom"]),we.cite=Ae("cite","tag",["atom"]),we.bibitem=Ae("bibitem","tag",["atom"]),we.Bibitem=Ae("Bibitem","tag",["atom"]),we.RBibitem=Ae("RBibitem","tag",["atom"]),we.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function fe(Oe,He){Oe.f=He}function ze(Oe,He){var ke;if(Oe.match(/^\\[a-zA-Z@]+/)){var Te=Oe.current().slice(1);return ke=we.hasOwnProperty(Te)?we[Te]:we.DEFAULT,ke=new ke,At(He,ke),fe(He,_e),ke.style}if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/\\]/))return"tag";if(Oe.match("\\["))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"\\]")}),"keyword";if(Oe.match("\\("))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"\\)")}),"keyword";if(Oe.match("$$"))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"$$")}),"keyword";if(Oe.match("$"))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"$")}),"keyword";var Pe=Oe.next();if(Pe=="%")return Oe.skipToEnd(),"comment";if(Pe=="}"||Pe=="]"){if(ke=Ne(He),ke)ke.closeBracket(Pe),fe(He,_e);else return"error";return"bracket"}else return Pe=="{"||Pe=="["?(ke=we.DEFAULT,ke=new ke,At(He,ke),"bracket"):/\d/.test(Pe)?(Oe.eatWhile(/[\w.%]/),"atom"):(Oe.eatWhile(/[\w\-_]/),ke=ve(He),ke.name=="begin"&&(ke.argument=Oe.current()),ke.styleIdentifier())}function Be(Oe,He,ke){if(Oe.eatSpace())return null;if(ke&&Oe.match(ke))return fe(He,ze),"keyword";if(Oe.match(/^\\[a-zA-Z@]+/))return"tag";if(Oe.match(/^[a-zA-Z]+/))return"variable-2";if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/]/)||Oe.match(/^[\^_&]/))return"tag";if(Oe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Oe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Te=Oe.next();return Te=="{"||Te=="}"||Te=="["||Te=="]"||Te=="("||Te==")"?"bracket":Te=="%"?(Oe.skipToEnd(),"comment"):"error"}function _e(Oe,He){var ke=Oe.peek(),Te;return ke=="{"||ke=="["?(Te=Ne(He),Te.openBracket(ke),Oe.eat(ke),fe(He,ze),"bracket"):/[ \t\r]/.test(ke)?(Oe.eat(ke),null):(fe(He,ze),Le(He),ze(Oe,He))}return{startState:function(){var Oe=Ue.inMathMode?function(He,ke){return Be(He,ke)}:ze;return{cmdState:[],f:Oe}},copyState:function(Oe){return{cmdState:Oe.cmdState.slice(),f:Oe.f}},token:function(Oe,He){return He.f(Oe,He)},blankLine:function(Oe){Oe.f=ze,Oe.cmdState.length=0},lineComment:"%"}}),he.defineMIME("text/x-stex","stex"),he.defineMIME("text/x-latex","stex")})},15525:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){"use strict";var Me={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Ue={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};he.defineMode("xml",function(At,Ne){var Le=At.indentUnit,ve={},Ae=Ne.htmlMode?Me:Ue;for(var we in Ae)ve[we]=Ae[we];for(var we in Ne)ve[we]=Ne[we];var fe,ze;function Be(Je,Lt){function Re(bt){return Lt.tokenize=bt,bt(Je,Lt)}var Rt=Je.next();if(Rt=="<")return Je.eat("!")?Je.eat("[")?Je.match("CDATA[")?Re(He("atom","]]>")):null:Je.match("--")?Re(He("comment","-->")):Je.match("DOCTYPE",!0,!0)?(Je.eatWhile(/[\w\._\-]/),Re(ke(1))):null:Je.eat("?")?(Je.eatWhile(/[\w\._\-]/),Lt.tokenize=He("meta","?>"),"meta"):(fe=Je.eat("/")?"closeTag":"openTag",Lt.tokenize=_e,"tag bracket");if(Rt=="&"){var Ft;return Je.eat("#")?Je.eat("x")?Ft=Je.eatWhile(/[a-fA-F\d]/)&&Je.eat(";"):Ft=Je.eatWhile(/[\d]/)&&Je.eat(";"):Ft=Je.eatWhile(/[\w\.\-:]/)&&Je.eat(";"),Ft?"atom":"error"}else return Je.eatWhile(/[^&<]/),null}Be.isInText=!0;function _e(Je,Lt){var Re=Je.next();if(Re==">"||Re=="/"&&Je.eat(">"))return Lt.tokenize=Be,fe=Re==">"?"endTag":"selfcloseTag","tag bracket";if(Re=="=")return fe="equals",null;if(Re=="<"){Lt.tokenize=Be,Lt.state=Ke,Lt.tagName=Lt.tagStart=null;var Rt=Lt.tokenize(Je,Lt);return Rt?Rt+" tag error":"tag error"}else return/[\'\"]/.test(Re)?(Lt.tokenize=Oe(Re),Lt.stringStartCol=Je.column(),Lt.tokenize(Je,Lt)):(Je.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Oe(Je){var Lt=function(Re,Rt){for(;!Re.eol();)if(Re.next()==Je){Rt.tokenize=_e;break}return"string"};return Lt.isInAttribute=!0,Lt}function He(Je,Lt){return function(Re,Rt){for(;!Re.eol();){if(Re.match(Lt)){Rt.tokenize=Be;break}Re.next()}return Je}}function ke(Je){return function(Lt,Re){for(var Rt;(Rt=Lt.next())!=null;){if(Rt=="<")return Re.tokenize=ke(Je+1),Re.tokenize(Lt,Re);if(Rt==">")if(Je==1){Re.tokenize=Be;break}else return Re.tokenize=ke(Je-1),Re.tokenize(Lt,Re)}return"meta"}}function Te(Je,Lt,Re){this.prev=Je.context,this.tagName=Lt,this.indent=Je.indented,this.startOfLine=Re,(ve.doNotIndent.hasOwnProperty(Lt)||Je.context&&Je.context.noIndent)&&(this.noIndent=!0)}function Pe(Je){Je.context&&(Je.context=Je.context.prev)}function Xe(Je,Lt){for(var Re;;){if(!Je.context||(Re=Je.context.tagName,!ve.contextGrabbers.hasOwnProperty(Re)||!ve.contextGrabbers[Re].hasOwnProperty(Lt)))return;Pe(Je)}}function Ke(Je,Lt,Re){return Je=="openTag"?(Re.tagStart=Lt.column(),qe):Je=="closeTag"?We:Ke}function qe(Je,Lt,Re){return Je=="word"?(Re.tagName=Lt.current(),ze="tag",rt):ve.allowMissingTagName&&Je=="endTag"?(ze="tag bracket",rt(Je,Lt,Re)):(ze="error",qe)}function We(Je,Lt,Re){if(Je=="word"){var Rt=Lt.current();return Re.context&&Re.context.tagName!=Rt&&ve.implicitlyClosed.hasOwnProperty(Re.context.tagName)&&Pe(Re),Re.context&&Re.context.tagName==Rt||ve.matchClosing===!1?(ze="tag",Ze):(ze="tag error",$e)}else return ve.allowMissingTagName&&Je=="endTag"?(ze="tag bracket",Ze(Je,Lt,Re)):(ze="error",$e)}function Ze(Je,Lt,Re){return Je!="endTag"?(ze="error",Ze):(Pe(Re),Ke)}function $e(Je,Lt,Re){return ze="error",Ze(Je,Lt,Re)}function rt(Je,Lt,Re){if(Je=="word")return ze="attribute",ht;if(Je=="endTag"||Je=="selfcloseTag"){var Rt=Re.tagName,Ft=Re.tagStart;return Re.tagName=Re.tagStart=null,Je=="selfcloseTag"||ve.autoSelfClosers.hasOwnProperty(Rt)?Xe(Re,Rt):(Xe(Re,Rt),Re.context=new Te(Re,Rt,Ft==Re.indented)),Ke}return ze="error",rt}function ht(Je,Lt,Re){return Je=="equals"?dt:(ve.allowMissing||(ze="error"),rt(Je,Lt,Re))}function dt(Je,Lt,Re){return Je=="string"?xt:Je=="word"&&ve.allowUnquoted?(ze="string",rt):(ze="error",rt(Je,Lt,Re))}function xt(Je,Lt,Re){return Je=="string"?xt:rt(Je,Lt,Re)}return{startState:function(Je){var Lt={tokenize:Be,state:Ke,indented:Je||0,tagName:null,tagStart:null,context:null};return Je!=null&&(Lt.baseIndent=Je),Lt},token:function(Je,Lt){if(!Lt.tagName&&Je.sol()&&(Lt.indented=Je.indentation()),Je.eatSpace())return null;fe=null;var Re=Lt.tokenize(Je,Lt);return(Re||fe)&&Re!="comment"&&(ze=null,Lt.state=Lt.state(fe||Re,Je,Lt),ze&&(Re=ze=="error"?Re+" error":ze)),Re},indent:function(Je,Lt,Re){var Rt=Je.context;if(Je.tokenize.isInAttribute)return Je.tagStart==Je.indented?Je.stringStartCol+1:Je.indented+Le;if(Rt&&Rt.noIndent)return he.Pass;if(Je.tokenize!=_e&&Je.tokenize!=Be)return Re?Re.match(/^(\s*)/)[0].length:0;if(Je.tagName)return ve.multilineTagIndentPastTag!==!1?Je.tagStart+Je.tagName.length+2:Je.tagStart+Le*(ve.multilineTagIndentFactor||1);if(ve.alignCDATA&&/$/,blockCommentStart:"",configuration:ve.htmlMode?"html":"xml",helperType:ve.htmlMode?"html":"xml",skipAttribute:function(Je){Je.state==dt&&(Je.state=rt)},xmlCurrentTag:function(Je){return Je.tagName?{name:Je.tagName,close:Je.type=="closeTag"}:null},xmlCurrentContext:function(Je){for(var Lt=[],Re=Je.context;Re;Re=Re.prev)Re.tagName&&Lt.push(Re.tagName);return Lt.reverse()}}}),he.defineMIME("text/xml","xml"),he.defineMIME("application/xml","xml"),he.mimeModes.hasOwnProperty("text/html")||he.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;var he=Object.assign||function(ke){for(var Te=1;Te0&&(rt=qe[0]),rt instanceof Error)throw rt;var ht=new Error("Unhandled error."+(rt?" ("+rt.message+")":""));throw ht.context=rt,ht}var dt=$e[Ke];if(dt===void 0)return!1;if(typeof dt=="function")ce(dt,this,qe);else for(var xt=dt.length,Je=_e(dt,xt),We=0;We0&&rt.length>Ze&&!rt.warned){rt.warned=!0;var ht=new Error("Possible EventEmitter memory leak detected. "+rt.length+" "+String(Ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");ht.name="MaxListenersExceededWarning",ht.emitter=Xe,ht.type=Ke,ht.count=rt.length,Me(ht)}return Xe}At.prototype.addListener=function(Ke,qe){return Ae(this,Ke,qe,!1)},At.prototype.on=At.prototype.addListener,At.prototype.prependListener=function(Ke,qe){return Ae(this,Ke,qe,!0)};function we(){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 fe(Xe,Ke,qe){var We={fired:!1,wrapFn:void 0,target:Xe,type:Ke,listener:qe},Ze=we.bind(We);return Ze.listener=qe,We.wrapFn=Ze,Ze}At.prototype.once=function(Ke,qe){return Le(qe),this.on(Ke,fe(this,Ke,qe)),this},At.prototype.prependOnceListener=function(Ke,qe){return Le(qe),this.prependListener(Ke,fe(this,Ke,qe)),this},At.prototype.removeListener=function(Ke,qe){var We,Ze,$e,rt,ht;if(Le(qe),Ze=this._events,Ze===void 0)return this;if(We=Ze[Ke],We===void 0)return this;if(We===qe||We.listener===qe)--this._eventsCount===0?this._events=Object.create(null):(delete Ze[Ke],Ze.removeListener&&this.emit("removeListener",Ke,We.listener||qe));else if(typeof We!="function"){for($e=-1,rt=We.length-1;rt>=0;rt--)if(We[rt]===qe||We[rt].listener===qe){ht=We[rt].listener,$e=rt;break}if($e<0)return this;$e===0?We.shift():Oe(We,$e),We.length===1&&(Ze[Ke]=We[0]),Ze.removeListener!==void 0&&this.emit("removeListener",Ke,ht||qe)}return this},At.prototype.off=At.prototype.removeListener,At.prototype.removeAllListeners=function(Ke){var qe,We,Ze;if(We=this._events,We===void 0)return this;if(We.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):We[Ke]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete We[Ke]),this;if(arguments.length===0){var $e=Object.keys(We),rt;for(Ze=0;Ze<$e.length;++Ze)rt=$e[Ze],rt!=="removeListener"&&this.removeAllListeners(rt);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(qe=We[Ke],typeof qe=="function")this.removeListener(Ke,qe);else if(qe!==void 0)for(Ze=qe.length-1;Ze>=0;Ze--)this.removeListener(Ke,qe[Ze]);return this};function ze(Xe,Ke,qe){var We=Xe._events;if(We===void 0)return[];var Ze=We[Ke];return Ze===void 0?[]:typeof Ze=="function"?qe?[Ze.listener||Ze]:[Ze]:qe?He(Ze):_e(Ze,Ze.length)}At.prototype.listeners=function(Ke){return ze(this,Ke,!0)},At.prototype.rawListeners=function(Ke){return ze(this,Ke,!1)},At.listenerCount=function(Xe,Ke){return typeof Xe.listenerCount=="function"?Xe.listenerCount(Ke):Be.call(Xe,Ke)},At.prototype.listenerCount=Be;function Be(Xe){var Ke=this._events;if(Ke!==void 0){var qe=Ke[Xe];if(typeof qe=="function")return 1;if(qe!==void 0)return qe.length}return 0}At.prototype.eventNames=function(){return this._eventsCount>0?he(this._events):[]};function _e(Xe,Ke){for(var qe=new Array(Ke),We=0;We0&&Kt[Kt.length-1])&&(zr[0]===6||zr[0]===2)){De=0;continue}if(zr[0]===3&&(!Kt||zr[1]>Kt[0]&&zr[1]=55296&&yt<=56319&&De>10)+55296,un%1024+56320)),(yt+1===De||Ie.length>16384)&&(Kt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return Kt},fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Be=0;Be>4,qr[yt++]=(un&15)<<4|Pn>>2,qr[yt++]=(Pn&3)<<6|Rn&63;return zr},Te=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie>Xe,$e=1<>Xe,dt=Ze+ht,xt=dt,Je=32,Lt=xt+Je,Re=65536>>Ke,Rt=1<=0){if(be<55296||be>56319&&be<=65535)return De=this.index[be>>Xe],De=(De<>Xe)],De=(De<>Ke),De=this.index[De],De+=be>>Xe&Ft,De=this.index[De],De=(De<St?(yt.push(!0),Pn-=St):yt.push(!1),["normal","auto","loose"].indexOf(be)!==-1&&[8208,8211,12316,12448].indexOf(Kt)!==-1)return Ie.push(un),De.push(Ye);if(Pn===fn||Pn===Fe){if(un===0)return Ie.push(un),De.push(Wt);var Rn=De[un-1];return Ii.indexOf(Rn)===-1?(Ie.push(Ie[un-1]),De.push(Rn)):(Ie.push(un),De.push(Wt))}if(Ie.push(un),Pn===vn)return De.push(be==="strict"?Mt:Qr);if(Pn===$i||Pn===pt)return De.push(Wt);if(Pn===mi)return Kt>=131072&&Kt<=196605||Kt>=196608&&Kt<=262141?De.push(Qr):De.push(Wt);De.push(Pn)}),[Ie,De,yt]},Fn=function(Ee,be,De,Ie){var yt=Ie[De];if(Array.isArray(Ee)?Ee.indexOf(yt)!==-1:Ee===yt)for(var Kt=De;Kt<=Ie.length;){Kt++;var un=Ie[Kt];if(un===be)return!0;if(un!==Se)break}if(yt===Se)for(var Kt=De;Kt>0;){Kt--;var Pn=Ie[Kt];if(Array.isArray(Ee)?Ee.indexOf(Pn)!==-1:Ee===Pn)for(var Rn=De;Rn<=Ie.length;){Rn++;var un=Ie[Rn];if(un===be)return!0;if(un!==Se)break}if(Pn!==Se)break}return!1},Dt=function(Ee,be){for(var De=Ee;De>=0;){var Ie=be[De];if(Ie===Se)De--;else return Ie}return 0},Gt=function(Ee,be,De,Ie,yt){if(De[Ie]===0)return Dr;var Kt=Ie-1;if(Array.isArray(yt)&&yt[Kt]===!0)return Dr;var un=Kt-1,Pn=Kt+1,Rn=be[Kt],zr=un>=0?be[un]:0,qr=be[Pn];if(Rn===cn&&qr===Nn)return Dr;if(Co.indexOf(Rn)!==-1)return pa;if(Co.indexOf(qr)!==-1||ro.indexOf(qr)!==-1)return Dr;if(Dt(Kt,be)===Bn)return _n;if(no.get(Ee[Kt])===Fe||(Rn===xn||Rn===Wn)&&no.get(Ee[Pn])===Fe||Rn===Cn||qr===Cn||Rn===gn||[Se,ae,oe].indexOf(Rn)===-1&&qr===gn||[vt,et,lt,Sn,zt].indexOf(qr)!==-1||Dt(Kt,be)===kt||Fn($t,kt,Kt,be)||Fn([vt,et],Mt,Kt,be)||Fn(ie,ie,Kt,be))return Dr;if(Rn===Se)return _n;if(Rn===$t||qr===$t)return Dr;if(qr===Ye||Rn===Ye)return _n;if([ae,oe,Mt].indexOf(qr)!==-1||Rn===se||zr===jr&&gi.indexOf(Rn)!==-1||Rn===zt&&qr===jr||qr===Pt||Ki.indexOf(qr)!==-1&&Rn===Bt||Ki.indexOf(Rn)!==-1&&qr===Bt||Rn===tn&&[Qr,xn,Wn].indexOf(qr)!==-1||[Qr,xn,Wn].indexOf(Rn)!==-1&&qr===nn||Ki.indexOf(Rn)!==-1&&Pi.indexOf(qr)!==-1||Pi.indexOf(Rn)!==-1&&Ki.indexOf(qr)!==-1||[tn,nn].indexOf(Rn)!==-1&&(qr===Bt||[kt,oe].indexOf(qr)!==-1&&be[Pn+1]===Bt)||[kt,oe].indexOf(Rn)!==-1&&qr===Bt||Rn===Bt&&[Bt,zt,Sn].indexOf(qr)!==-1)return Dr;if([Bt,zt,Sn,vt,et].indexOf(qr)!==-1)for(var ri=Kt;ri>=0;){var ea=be[ri];if(ea===Bt)return Dr;if([zt,Sn].indexOf(ea)!==-1)ri--;else break}if([tn,nn].indexOf(qr)!==-1)for(var ri=[vt,et].indexOf(Rn)!==-1?un:Kt;ri>=0;){var ea=be[ri];if(ea===Bt)return Dr;if([zt,Sn].indexOf(ea)!==-1)ri--;else break}if(vr===Rn&&[vr,Ar,br,Lr].indexOf(qr)!==-1||[Ar,br].indexOf(Rn)!==-1&&[Ar,Tr].indexOf(qr)!==-1||[Tr,Lr].indexOf(Rn)!==-1&&qr===Tr||Si.indexOf(Rn)!==-1&&[Pt,nn].indexOf(qr)!==-1||Si.indexOf(qr)!==-1&&Rn===tn||Ki.indexOf(Rn)!==-1&&Ki.indexOf(qr)!==-1||Rn===Sn&&Ki.indexOf(qr)!==-1||Ki.concat(Bt).indexOf(Rn)!==-1&&qr===kt&&Mi.indexOf(Ee[Pn])===-1||Ki.concat(Bt).indexOf(qr)!==-1&&Rn===et)return Dr;if(Rn===Bi&&qr===Bi){for(var ns=De[Kt],eo=1;ns>0&&(ns--,be[ns]===Bi);)eo++;if(eo%2!==0)return Dr}return Rn===xn&&qr===Wn?Dr:_n},Zt=function(Ee,be){be||(be={lineBreak:"normal",wordBreak:"normal"});var De=Ea(Ee,be.lineBreak),Ie=De[0],yt=De[1],Kt=De[2];(be.wordBreak==="break-all"||be.wordBreak==="break-word")&&(yt=yt.map(function(Pn){return[Bt,Wt,$i].indexOf(Pn)!==-1?Qr:Pn}));var un=be.wordBreak==="keep-all"?Kt.map(function(Pn,Rn){return Pn&&Ee[Rn]>=19968&&Ee[Rn]<=40959}):void 0;return[Ie,yt,un]},jt=function(){function Ee(be,De,Ie,yt){this.codePoints=be,this.required=De===pa,this.start=Ie,this.end=yt}return Ee.prototype.slice=function(){return we.apply(void 0,this.codePoints.slice(this.start,this.end))},Ee}(),on=function(Ee,be){var De=Ae(Ee),Ie=Zt(De,be),yt=Ie[0],Kt=Ie[1],un=Ie[2],Pn=De.length,Rn=0,zr=0;return{next:function(){if(zr>=Pn)return{done:!0,value:null};for(var qr=Dr;zr=Mo&&Ee<=57},fs=function(Ee){return Ee>=55296&&Ee<=57343},Zs=function(Ee){return Qs(Ee)||Ee>=xa&&Ee<=So||Ee>=go&&Ee<=_o},qs=function(Ee){return Ee>=go&&Ee<=Sa},ma=function(Ee){return Ee>=xa&&Ee<=er},sa=function(Ee){return qs(Ee)||ma(Ee)},ra=function(Ee){return Ee>=po},ua=function(Ee){return Ee===Gr||Ee===Xn||Ee===Or},cs=function(Ee){return sa(Ee)||ra(Ee)||Ee===mr},Ps=function(Ee){return cs(Ee)||Qs(Ee)||Ee===dr},jo=function(Ee){return Ee>=us&&Ee<=Ya||Ee===fi||Ee>=Rr&&Ee<=Ra||Ee===_a},xs=function(Ee,be){return Ee!==$r?!1:be!==Gr},Cs=function(Ee,be,De){return Ee===dr?cs(be)||xs(be,De):cs(Ee)?!0:!!(Ee===$r&&xs(Ee,be))},$s=function(Ee,be,De){return Ee===va||Ee===dr?Qs(be)?!0:be===ao&&Qs(De):Qs(Ee===ao?be:Ee)},ru=function(Ee){var be=0,De=1;(Ee[be]===va||Ee[be]===dr)&&(Ee[be]===dr&&(De=-1),be++);for(var Ie=[];Qs(Ee[be]);)Ie.push(Ee[be++]);var yt=Ie.length?parseInt(we.apply(void 0,Ie),10):0;Ee[be]===ao&&be++;for(var Kt=[];Qs(Ee[be]);)Kt.push(Ee[be++]);var un=Kt.length,Pn=un?parseInt(we.apply(void 0,Kt),10):0;(Ee[be]===Bo||Ee[be]===As)&&be++;var Rn=1;(Ee[be]===va||Ee[be]===dr)&&(Ee[be]===dr&&(Rn=-1),be++);for(var zr=[];Qs(Ee[be]);)zr.push(Ee[be++]);var qr=zr.length?parseInt(we.apply(void 0,zr),10):0;return De*(yt+Pn*Math.pow(10,-un))*Math.pow(10,Rn*qr)},or={type:2},Qn={type:3},Nr={type:4},Di={type:13},Io={type:8},lr={type:21},Jn={type:9},Un={type:10},cr={type:11},Ur={type:12},bi={type:14},xr={type:23},Hr={type:1},ji={type:25},Ji={type:24},ca={type:26},Xr={type:27},Ni={type:28},ia={type:29},Ma={type:31},Oi={type:32},da=function(){function Ee(){this._value=[]}return Ee.prototype.write=function(be){this._value=this._value.concat(Ae(be))},Ee.prototype.read=function(){for(var be=[],De=this.consumeToken();De!==Oi;)be.push(De),De=this.consumeToken();return be},Ee.prototype.consumeToken=function(){var be=this.consumeCodePoint();switch(be){case ki:return this.consumeStringToken(ki);case Zi:var De=this.peekCodePoint(0),Ie=this.peekCodePoint(1),yt=this.peekCodePoint(2);if(Ps(De)||xs(Ie,yt)){var Kt=Cs(De,Ie,yt)?ir:Mn,un=this.consumeName();return{type:5,value:un,flags:Kt}}break;case xi:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Di;break;case si:return this.consumeStringToken(si);case oa:return or;case mn:return Qn;case io:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),bi;break;case va:if($s(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case ka:return Nr;case dr:var Pn=be,Rn=this.peekCodePoint(0),zr=this.peekCodePoint(1);if($s(Pn,Rn,zr))return this.reconsumeCodePoint(be),this.consumeNumericToken();if(Cs(Pn,Rn,zr))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();if(Rn===dr&&zr===Mr)return this.consumeCodePoint(),this.consumeCodePoint(),Ji;break;case ao:if($s(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case Zr:if(this.peekCodePoint(0)===io)for(this.consumeCodePoint();;){var qr=this.consumeCodePoint();if(qr===io&&(qr=this.consumeCodePoint(),qr===Zr))return this.consumeToken();if(qr===Va)return this.consumeToken()}break;case Xa:return ca;case Pa:return Xr;case wr:if(this.peekCodePoint(0)===Wr&&this.peekCodePoint(1)===dr&&this.peekCodePoint(2)===dr)return this.consumeCodePoint(),this.consumeCodePoint(),ji;break;case Fr:var ri=this.peekCodePoint(0),ea=this.peekCodePoint(1),ns=this.peekCodePoint(2);if(Cs(ri,ea,ns)){var un=this.consumeName();return{type:7,value:un}}break;case ui:return Ni;case $r:if(xs(be,this.peekCodePoint(0)))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();break;case yi:return ia;case Hi:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Io;break;case Oa:return cr;case oo:return Ur;case Js:case Ms:var eo=this.peekCodePoint(0),No=this.peekCodePoint(1);return eo===va&&(Zs(No)||No===Qa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(be),this.consumeIdentLikeToken();case La:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Jn;if(this.peekCodePoint(0)===La)return this.consumeCodePoint(),lr;break;case Da:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Un;break;case Va:return Oi}return ua(be)?(this.consumeWhiteSpace(),Ma):Qs(be)?(this.reconsumeCodePoint(be),this.consumeNumericToken()):cs(be)?(this.reconsumeCodePoint(be),this.consumeIdentLikeToken()):{type:6,value:we(be)}},Ee.prototype.consumeCodePoint=function(){var be=this._value.shift();return typeof be=="undefined"?-1:be},Ee.prototype.reconsumeCodePoint=function(be){this._value.unshift(be)},Ee.prototype.peekCodePoint=function(be){return be>=this._value.length?-1:this._value[be]},Ee.prototype.consumeUnicodeRangeToken=function(){for(var be=[],De=this.consumeCodePoint();Zs(De)&&be.length<6;)be.push(De),De=this.consumeCodePoint();for(var Ie=!1;De===Qa&&be.length<6;)be.push(De),De=this.consumeCodePoint(),Ie=!0;if(Ie){var yt=parseInt(we.apply(void 0,be.map(function(Rn){return Rn===Qa?Mo:Rn})),16),Kt=parseInt(we.apply(void 0,be.map(function(Rn){return Rn===Qa?So:Rn})),16);return{type:30,start:yt,end:Kt}}var un=parseInt(we.apply(void 0,be),16);if(this.peekCodePoint(0)===dr&&Zs(this.peekCodePoint(1))){this.consumeCodePoint(),De=this.consumeCodePoint();for(var Pn=[];Zs(De)&&Pn.length<6;)Pn.push(De),De=this.consumeCodePoint();var Kt=parseInt(we.apply(void 0,Pn),16);return{type:30,start:un,end:Kt}}else return{type:30,start:un,end:un}},Ee.prototype.consumeIdentLikeToken=function(){var be=this.consumeName();return be.toLowerCase()==="url"&&this.peekCodePoint(0)===oa?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===oa?(this.consumeCodePoint(),{type:19,value:be}):{type:20,value:be}},Ee.prototype.consumeUrlToken=function(){var be=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Va)return{type:22,value:""};var De=this.peekCodePoint(0);if(De===si||De===ki){var Ie=this.consumeStringToken(this.consumeCodePoint());return Ie.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Va||this.peekCodePoint(0)===mn)?(this.consumeCodePoint(),{type:22,value:Ie.value}):(this.consumeBadUrlRemnants(),xr)}for(;;){var yt=this.consumeCodePoint();if(yt===Va||yt===mn)return{type:22,value:we.apply(void 0,be)};if(ua(yt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Va||this.peekCodePoint(0)===mn?(this.consumeCodePoint(),{type:22,value:we.apply(void 0,be)}):(this.consumeBadUrlRemnants(),xr);if(yt===ki||yt===si||yt===oa||jo(yt))return this.consumeBadUrlRemnants(),xr;if(yt===$r)if(xs(yt,this.peekCodePoint(0)))be.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),xr;else be.push(yt)}},Ee.prototype.consumeWhiteSpace=function(){for(;ua(this.peekCodePoint(0));)this.consumeCodePoint()},Ee.prototype.consumeBadUrlRemnants=function(){for(;;){var be=this.consumeCodePoint();if(be===mn||be===Va)return;xs(be,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ee.prototype.consumeStringSlice=function(be){for(var De=5e4,Ie="";be>0;){var yt=Math.min(De,be);Ie+=we.apply(void 0,this._value.splice(0,yt)),be-=yt}return this._value.shift(),Ie},Ee.prototype.consumeStringToken=function(be){var De="",Ie=0;do{var yt=this._value[Ie];if(yt===Va||yt===void 0||yt===be)return De+=this.consumeStringSlice(Ie),{type:0,value:De};if(yt===Gr)return this._value.splice(0,Ie),Hr;if(yt===$r){var Kt=this._value[Ie+1];Kt!==Va&&Kt!==void 0&&(Kt===Gr?(De+=this.consumeStringSlice(Ie),Ie=-1,this._value.shift()):xs(yt,Kt)&&(De+=this.consumeStringSlice(Ie),De+=we(this.consumeEscapedCodePoint()),Ie=-1))}Ie++}while(!0)},Ee.prototype.consumeNumber=function(){var be=[],De=qn,Ie=this.peekCodePoint(0);for((Ie===va||Ie===dr)&&be.push(this.consumeCodePoint());Qs(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0);var yt=this.peekCodePoint(1);if(Ie===ao&&Qs(yt))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=pr;Qs(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0),yt=this.peekCodePoint(1);var Kt=this.peekCodePoint(2);if((Ie===Bo||Ie===As)&&((yt===va||yt===dr)&&Qs(Kt)||Qs(yt)))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=pr;Qs(this.peekCodePoint(0));)be.push(this.consumeCodePoint());return[ru(be),De]},Ee.prototype.consumeNumericToken=function(){var be=this.consumeNumber(),De=be[0],Ie=be[1],yt=this.peekCodePoint(0),Kt=this.peekCodePoint(1),un=this.peekCodePoint(2);if(Cs(yt,Kt,un)){var Pn=this.consumeName();return{type:15,number:De,flags:Ie,unit:Pn}}return yt===Ca?(this.consumeCodePoint(),{type:16,number:De,flags:Ie}):{type:17,number:De,flags:Ie}},Ee.prototype.consumeEscapedCodePoint=function(){var be=this.consumeCodePoint();if(Zs(be)){for(var De=we(be);Zs(this.peekCodePoint(0))&&De.length<6;)De+=we(this.consumeCodePoint());ua(this.peekCodePoint(0))&&this.consumeCodePoint();var Ie=parseInt(De,16);return Ie===0||fs(Ie)||Ie>1114111?Za:Ie}return be===Va?Za:be},Ee.prototype.consumeName=function(){for(var be="";;){var De=this.consumeCodePoint();if(Ps(De))be+=we(De);else if(xs(De,this.peekCodePoint(0)))be+=we(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(De),be}},Ee}(),Lo=function(){function Ee(be){this._tokens=be}return Ee.create=function(be){var De=new da;return De.write(be),new Ee(De.read())},Ee.parseValue=function(be){return Ee.create(be).parseComponentValue()},Ee.parseValues=function(be){return Ee.create(be).parseComponentValues()},Ee.prototype.parseComponentValue=function(){for(var be=this.consumeToken();be.type===31;)be=this.consumeToken();if(be.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(be);var De=this.consumeComponentValue();do be=this.consumeToken();while(be.type===31);if(be.type===32)return De;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ee.prototype.parseComponentValues=function(){for(var be=[];;){var De=this.consumeComponentValue();if(De.type===32)return be;be.push(De),be.push()}},Ee.prototype.consumeComponentValue=function(){var be=this.consumeToken();switch(be.type){case 11:case 28:case 2:return this.consumeSimpleBlock(be.type);case 19:return this.consumeFunction(be)}return be},Ee.prototype.consumeSimpleBlock=function(be){for(var De={type:be,values:[]},Ie=this.consumeToken();;){if(Ie.type===32||Eu(Ie,be))return De;this.reconsumeToken(Ie),De.values.push(this.consumeComponentValue()),Ie=this.consumeToken()}},Ee.prototype.consumeFunction=function(be){for(var De={name:be.value,values:[],type:18};;){var Ie=this.consumeToken();if(Ie.type===32||Ie.type===3)return De;this.reconsumeToken(Ie),De.values.push(this.consumeComponentValue())}},Ee.prototype.consumeToken=function(){var be=this._tokens.shift();return typeof be=="undefined"?Oi:be},Ee.prototype.reconsumeToken=function(be){this._tokens.unshift(be)},Ee}(),co=function(Ee){return Ee.type===15},To=function(Ee){return Ee.type===17},hs=function(Ee){return Ee.type===20},Bu=function(Ee){return Ee.type===0},gu=function(Ee,be){return hs(Ee)&&Ee.value===be},Su=function(Ee){return Ee.type!==31},Cr=function(Ee){return Ee.type!==31&&Ee.type!==4},yr=function(Ee){var be=[],De=[];return Ee.forEach(function(Ie){if(Ie.type===4){if(De.length===0)throw new Error("Error parsing function args, zero tokens for arg");be.push(De),De=[];return}Ie.type!==31&&De.push(Ie)}),De.length&&be.push(De),be},Eu=function(Ee,be){return be===11&&Ee.type===12||be===28&&Ee.type===29?!0:be===2&&Ee.type===3},mo=function(Ee){return Ee.type===17||Ee.type===15},Qo=function(Ee){return Ee.type===16||mo(Ee)},Nl=function(Ee){return Ee.length>1?[Ee[0],Ee[1]]:[Ee[0]]},el={type:17,number:0,flags:qn},_l={type:16,number:50,flags:qn},al={type:16,number:100,flags:qn},vu=function(Ee,be,De){var Ie=Ee[0],yt=Ee[1];return[Bs(Ie,be),Bs(typeof yt!="undefined"?yt:Ie,De)]},Bs=function(Ee,be){if(Ee.type===16)return Ee.number/100*be;if(co(Ee))switch(Ee.unit){case"rem":case"em":return 16*Ee.number;case"px":default:return Ee.number}return Ee.number},fl="deg",kc="grad",qa="rad",Ho="turn",Do={name:"angle",parse:function(Ee,be){if(be.type===15)switch(be.unit){case fl:return Math.PI*be.number/180;case kc:return Math.PI/200*be.number;case qa:return be.number;case Ho:return Math.PI*2*be.number}throw new Error("Unsupported angle type")}},zo=function(Ee){return Ee.type===15&&(Ee.unit===fl||Ee.unit===kc||Ee.unit===qa||Ee.unit===Ho)},ys=function(Ee){var be=Ee.filter(hs).map(function(De){return De.value}).join(" ");switch(be){case"to bottom right":case"to right bottom":case"left top":case"top left":return[el,el];case"to top":case"bottom":return bs(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[el,al];case"to right":case"left":return bs(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[al,al];case"to bottom":case"top":return bs(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[al,el];case"to left":case"right":return bs(270)}return 0},bs=function(Ee){return Math.PI*Ee/180},Ds={name:"color",parse:function(Ee,be){if(be.type===18){var De=sc[be.name];if(typeof De=="undefined")throw new Error('Attempting to parse an unsupported color function "'+be.name+'"');return De(Ee,be.values)}if(be.type===5){if(be.value.length===3){var Ie=be.value.substring(0,1),yt=be.value.substring(1,2),Kt=be.value.substring(2,3);return Ol(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(Kt+Kt,16),1)}if(be.value.length===4){var Ie=be.value.substring(0,1),yt=be.value.substring(1,2),Kt=be.value.substring(2,3),un=be.value.substring(3,4);return Ol(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(Kt+Kt,16),parseInt(un+un,16)/255)}if(be.value.length===6){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),Kt=be.value.substring(4,6);return Ol(parseInt(Ie,16),parseInt(yt,16),parseInt(Kt,16),1)}if(be.value.length===8){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),Kt=be.value.substring(4,6),un=be.value.substring(6,8);return Ol(parseInt(Ie,16),parseInt(yt,16),parseInt(Kt,16),parseInt(un,16)/255)}}if(be.type===20){var Pn=Kl[be.value.toUpperCase()];if(typeof Pn!="undefined")return Pn}return Kl.TRANSPARENT}},ol=function(Ee){return(255&Ee)===0},Vs=function(Ee){var be=255&Ee,De=255&Ee>>8,Ie=255&Ee>>16,yt=255&Ee>>24;return be<255?"rgba("+yt+","+Ie+","+De+","+be/255+")":"rgb("+yt+","+Ie+","+De+")"},Ol=function(Ee,be,De,Ie){return(Ee<<24|be<<16|De<<8|Math.round(Ie*255)<<0)>>>0},ac=function(Ee,be){if(Ee.type===17)return Ee.number;if(Ee.type===16){var De=be===3?1:255;return be===3?Ee.number/100*De:Math.round(Ee.number/100*De)}return 0},ad=function(Ee,be){var De=be.filter(Cr);if(De.length===3){var Ie=De.map(ac),yt=Ie[0],Kt=Ie[1],un=Ie[2];return Ol(yt,Kt,un,1)}if(De.length===4){var Pn=De.map(ac),yt=Pn[0],Kt=Pn[1],un=Pn[2],Rn=Pn[3];return Ol(yt,Kt,un,Rn)}return 0};function Fu(Ee,be,De){return De<0&&(De+=1),De>=1&&(De-=1),De<1/6?(be-Ee)*De*6+Ee:De<1/2?be:De<2/3?(be-Ee)*6*(2/3-De)+Ee:Ee}var oc=function(Ee,be){var De=be.filter(Cr),Ie=De[0],yt=De[1],Kt=De[2],un=De[3],Pn=(Ie.type===17?bs(Ie.number):Do.parse(Ee,Ie))/(Math.PI*2),Rn=Qo(yt)?yt.number/100:0,zr=Qo(Kt)?Kt.number/100:0,qr=typeof un!="undefined"&&Qo(un)?Bs(un,1):1;if(Rn===0)return Ol(zr*255,zr*255,zr*255,1);var ri=zr<=.5?zr*(Rn+1):zr+Rn-zr*Rn,ea=zr*2-ri,ns=Fu(ea,ri,Pn+1/3),eo=Fu(ea,ri,Pn),No=Fu(ea,ri,Pn-1/3);return Ol(ns*255,eo*255,No*255,qr)},sc={hsl:oc,hsla:oc,rgb:ad,rgba:ad},wc=function(Ee,be){return Ds.parse(Ee,Lo.create(be).parseComponentValue())},Kl={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},$d={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(hs(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Hd={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wd=function(Ee,be){var De=Ds.parse(Ee,be[0]),Ie=be[1];return Ie&&Qo(Ie)?{color:De,stop:Ie}:{color:De,stop:null}},eA=function(Ee,be){var De=Ee[0],Ie=Ee[Ee.length-1];De.stop===null&&(De.stop=el),Ie.stop===null&&(Ie.stop=al);for(var yt=[],Kt=0,un=0;unKt?yt.push(Rn):yt.push(Kt),Kt=Rn}else yt.push(null)}for(var zr=null,un=0;unun.optimumDistance)?{optimumCorner:Pn,optimumDistance:qr}:un},{optimumDistance:yt?1/0:-1/0,optimumCorner:null}).optimumCorner},yl=function(Ee,be,De,Ie,yt){var Kt=0,un=0;switch(Ee.size){case 0:Ee.shape===0?Kt=un=Math.min(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(Kt=Math.min(Math.abs(be),Math.abs(be-Ie)),un=Math.min(Math.abs(De),Math.abs(De-yt)));break;case 2:if(Ee.shape===0)Kt=un=Math.min($u(be,De),$u(be,De-yt),$u(be-Ie,De),$u(be-Ie,De-yt));else if(Ee.shape===1){var Pn=Math.min(Math.abs(De),Math.abs(De-yt))/Math.min(Math.abs(be),Math.abs(be-Ie)),Rn=Id(Ie,yt,be,De,!0),zr=Rn[0],qr=Rn[1];Kt=$u(zr-be,(qr-De)/Pn),un=Pn*Kt}break;case 1:Ee.shape===0?Kt=un=Math.max(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(Kt=Math.max(Math.abs(be),Math.abs(be-Ie)),un=Math.max(Math.abs(De),Math.abs(De-yt)));break;case 3:if(Ee.shape===0)Kt=un=Math.max($u(be,De),$u(be,De-yt),$u(be-Ie,De),$u(be-Ie,De-yt));else if(Ee.shape===1){var Pn=Math.max(Math.abs(De),Math.abs(De-yt))/Math.max(Math.abs(be),Math.abs(be-Ie)),ri=Id(Ie,yt,be,De,!1),zr=ri[0],qr=ri[1];Kt=$u(zr-be,(qr-De)/Pn),un=Pn*Kt}break}return Array.isArray(Ee.size)&&(Kt=Bs(Ee.size[0],Ie),un=Ee.size.length===2?Bs(Ee.size[1],yt):Kt),[Kt,un]},bl=function(Ee,be){var De=bs(180),Ie=[];return yr(be).forEach(function(yt,Kt){if(Kt===0){var un=yt[0];if(un.type===20&&un.value==="to"){De=ys(yt);return}else if(zo(un)){De=Do.parse(Ee,un);return}}var Pn=wd(Ee,yt);Ie.push(Pn)}),{angle:De,stops:Ie,type:1}},Hl=function(Ee,be){var De=bs(180),Ie=[];return yr(be).forEach(function(yt,Kt){if(Kt===0){var un=yt[0];if(un.type===20&&["top","left","right","bottom"].indexOf(un.value)!==-1){De=ys(yt);return}else if(zo(un)){De=(Do.parse(Ee,un)+bs(270))%bs(360);return}}var Pn=wd(Ee,yt);Ie.push(Pn)}),{angle:De,stops:Ie,type:1}},zc=function(Ee,be){var De=bs(180),Ie=[],yt=1,Kt=0,un=3,Pn=[];return yr(be).forEach(function(Rn,zr){var qr=Rn[0];if(zr===0){if(hs(qr)&&qr.value==="linear"){yt=1;return}else if(hs(qr)&&qr.value==="radial"){yt=2;return}}if(qr.type===18){if(qr.name==="from"){var ri=Ds.parse(Ee,qr.values[0]);Ie.push({stop:el,color:ri})}else if(qr.name==="to"){var ri=Ds.parse(Ee,qr.values[0]);Ie.push({stop:al,color:ri})}else if(qr.name==="color-stop"){var ea=qr.values.filter(Cr);if(ea.length===2){var ri=Ds.parse(Ee,ea[1]),ns=ea[0];To(ns)&&Ie.push({stop:{type:16,number:ns.number*100,flags:ns.flags},color:ri})}}}}),yt===1?{angle:(De+bs(180))%bs(360),stops:Ie,type:yt}:{size:un,shape:Kt,stops:Ie,position:Pn,type:yt}},Ac="closest-side",hd="farthest-side",Tc="closest-corner",Ru="farthest-corner",Aa="circle",$o="ellipse",_i="cover",rs="contain",Eo=function(Ee,be){var De=0,Ie=3,yt=[],Kt=[];return yr(be).forEach(function(un,Pn){var Rn=!0;if(Pn===0){var zr=!1;Rn=un.reduce(function(ri,ea){if(zr)if(hs(ea))switch(ea.value){case"center":return Kt.push(_l),ri;case"top":case"left":return Kt.push(el),ri;case"right":case"bottom":return Kt.push(al),ri}else(Qo(ea)||mo(ea))&&Kt.push(ea);else if(hs(ea))switch(ea.value){case Aa:return De=0,!1;case $o:return De=1,!1;case"at":return zr=!0,!1;case Ac:return Ie=0,!1;case _i:case hd:return Ie=1,!1;case rs:case Tc:return Ie=2,!1;case Ru:return Ie=3,!1}else if(mo(ea)||Qo(ea))return Array.isArray(Ie)||(Ie=[]),Ie.push(ea),!1;return ri},Rn)}if(Rn){var qr=wd(Ee,un);yt.push(qr)}}),{size:Ie,shape:De,stops:yt,position:Kt,type:2}},tu=function(Ee,be){var De=0,Ie=3,yt=[],Kt=[];return yr(be).forEach(function(un,Pn){var Rn=!0;if(Pn===0?Rn=un.reduce(function(qr,ri){if(hs(ri))switch(ri.value){case"center":return Kt.push(_l),!1;case"top":case"left":return Kt.push(el),!1;case"right":case"bottom":return Kt.push(al),!1}else if(Qo(ri)||mo(ri))return Kt.push(ri),!1;return qr},Rn):Pn===1&&(Rn=un.reduce(function(qr,ri){if(hs(ri))switch(ri.value){case Aa:return De=0,!1;case $o:return De=1,!1;case rs:case Ac:return Ie=0,!1;case hd:return Ie=1,!1;case Tc:return Ie=2,!1;case _i:case Ru:return Ie=3,!1}else if(mo(ri)||Qo(ri))return Array.isArray(Ie)||(Ie=[]),Ie.push(ri),!1;return qr},Rn)),Rn){var zr=wd(Ee,un);yt.push(zr)}}),{size:Ie,shape:De,stops:yt,position:Kt,type:2}},lc=function(Ee){return Ee.type===1},Kc=function(Ee){return Ee.type===2},Pc={name:"image",parse:function(Ee,be){if(be.type===22){var De={url:be.value,type:0};return Ee.cache.addImage(be.value),De}if(be.type===18){var Ie=xd[be.name];if(typeof Ie=="undefined")throw new Error('Attempting to parse an unsupported image function "'+be.name+'"');return Ie(Ee,be.values)}throw new Error("Unsupported image type "+be.type)}};function wA(Ee){return!(Ee.type===20&&Ee.value==="none")&&(Ee.type!==18||!!xd[Ee.name])}var xd={"linear-gradient":bl,"-moz-linear-gradient":Hl,"-ms-linear-gradient":Hl,"-o-linear-gradient":Hl,"-webkit-linear-gradient":Hl,"radial-gradient":Eo,"-moz-radial-gradient":tu,"-ms-radial-gradient":tu,"-o-radial-gradient":tu,"-webkit-radial-gradient":tu,"-webkit-gradient":zc},Il={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){if(be.length===0)return[];var De=be[0];return De.type===20&&De.value==="none"?[]:be.filter(function(Ie){return Cr(Ie)&&wA(Ie)}).map(function(Ie){return Pc.parse(Ee,Ie)})}},Ld={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(hs(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Cl={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Ee,be){return yr(be).map(function(De){return De.filter(Qo)}).map(Nl)}},Du={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ee,be){return yr(be).map(function(De){return De.filter(hs).map(function(Ie){return Ie.value}).join(" ")}).map(Uu)}},Uu=function(Ee){switch(Ee){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}},Jl;(function(Ee){Ee.AUTO="auto",Ee.CONTAIN="contain",Ee.COVER="cover"})(Jl||(Jl={}));var hl={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ee,be){return yr(be).map(function(De){return De.filter(fc)})}},fc=function(Ee){return hs(Ee)||Qo(Ee)},uc=function(Ee){return{name:"border-"+Ee+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},_c=uc("top"),ec=uc("right"),Wc=uc("bottom"),Vu=uc("left"),jd=function(Ee){return{name:"border-radius-"+Ee,initialValue:"0 0",prefix:!1,type:1,parse:function(be,De){return Nl(De.filter(Qo))}}},Sh=jd("top-left"),od=jd("top-right"),Dd=jd("bottom-right"),xc=jd("bottom-left"),iu=function(Ee){return{name:"border-"+Ee+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(be,De){switch(De){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},uA=iu("top"),yf=iu("right"),GA=iu("bottom"),sd=iu("left"),xA=function(Ee){return{name:"border-"+Ee+"-width",initialValue:"0",type:0,prefix:!1,parse:function(be,De){return co(De)?De.number:0}}},ih=xA("top"),bf=xA("right"),M0=xA("bottom"),rp=xA("left"),hc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"rtl":return 1;case"ltr":default:return 0}}},ip={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ee,be){return be.filter(hs).reduce(function(De,Ie){return De|Nt(Ie.value)},0)}},Nt=function(Ee){switch(Ee){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},Ut={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},An={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Ee,be){return be.type===20&&be.value==="normal"?0:be.type===17||be.type===15?be.number:0}},En;(function(Ee){Ee.NORMAL="normal",Ee.STRICT="strict"})(En||(En={}));var Vn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"strict":return En.STRICT;case"normal":default:return En.NORMAL}}},On={name:"line-height",initialValue:"normal",prefix:!1,type:4},gr=function(Ee,be){return hs(Ee)&&Ee.value==="normal"?1.2*be:Ee.type===17?be*Ee.number:Qo(Ee)?Bs(Ee,be):be},fr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ee,be){return be.type===20&&be.value==="none"?null:Pc.parse(Ee,be)}},ur={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"inside":return 0;case"outside":default:return 1}}},Jr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){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}}},hi=function(Ee){return{name:"margin-"+Ee,initialValue:"0",prefix:!1,type:4}},ni=hi("top"),qi=hi("right"),Qi=hi("bottom"),Vi=hi("left"),ja={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ee,be){return be.filter(hs).map(function(De){switch(De.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Fa={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ta=function(Ee){return{name:"padding-"+Ee,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Ia=Ta("top"),$a=Ta("right"),Ko=Ta("bottom"),Jo=Ta("left"),Fo={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ss={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},_s={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.length===1&&gu(be[0],"none")?[]:yr(be).map(function(De){for(var Ie={color:Kl.TRANSPARENT,offsetX:el,offsetY:el,blur:el},yt=0,Kt=0;Kt1?1:0],this.overflowWrap=Ja(be,Fa,De.overflowWrap),this.paddingTop=Ja(be,Ia,De.paddingTop),this.paddingRight=Ja(be,$a,De.paddingRight),this.paddingBottom=Ja(be,Ko,De.paddingBottom),this.paddingLeft=Ja(be,Jo,De.paddingLeft),this.paintOrder=Ja(be,pl,De.paintOrder),this.position=Ja(be,ss,De.position),this.textAlign=Ja(be,Fo,De.textAlign),this.textDecorationColor=Ja(be,Mu,(Ie=De.textDecorationColor)!==null&&Ie!==void 0?Ie:De.color),this.textDecorationLine=Ja(be,Is,(yt=De.textDecorationLine)!==null&&yt!==void 0?yt:De.textDecoration),this.textShadow=Ja(be,_s,De.textShadow),this.textTransform=Ja(be,lo,De.textTransform),this.transform=Ja(be,Oo,De.transform),this.transformOrigin=Ja(be,as,De.transformOrigin),this.visibility=Ja(be,za,De.visibility),this.webkitTextStrokeColor=Ja(be,td,De.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ja(be,Gu,De.webkitTextStrokeWidth),this.wordBreak=Ja(be,Ns,De.wordBreak),this.zIndex=Ja(be,jl,De.zIndex)}return Ee.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ee.prototype.isTransparent=function(){return ol(this.backgroundColor)},Ee.prototype.isTransformed=function(){return this.transform!==null},Ee.prototype.isPositioned=function(){return this.position!==0},Ee.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ee.prototype.isFloating=function(){return this.float!==0},Ee.prototype.isInlineLevel=function(){return wo(this.display,4)||wo(this.display,33554432)||wo(this.display,268435456)||wo(this.display,536870912)||wo(this.display,67108864)||wo(this.display,134217728)},Ee}(),tc=function(){function Ee(be,De){this.content=Ja(be,es,De.content),this.quotes=Ja(be,Wo,De.quotes)}return Ee}(),zd=function(){function Ee(be,De){this.counterIncrement=Ja(be,ts,De.counterIncrement),this.counterReset=Ja(be,Po,De.counterReset)}return Ee}(),Ja=function(Ee,be,De){var Ie=new da,yt=De!==null&&typeof De!="undefined"?De.toString():be.initialValue;Ie.write(yt);var Kt=new Lo(Ie.read());switch(be.type){case 2:var un=Kt.parseComponentValue();return be.parse(Ee,hs(un)?un.value:be.initialValue);case 0:return be.parse(Ee,Kt.parseComponentValue());case 1:return be.parse(Ee,Kt.parseComponentValues());case 4:return Kt.parseComponentValue();case 3:switch(be.format){case"angle":return Do.parse(Ee,Kt.parseComponentValue());case"color":return Ds.parse(Ee,Kt.parseComponentValue());case"image":return Pc.parse(Ee,Kt.parseComponentValue());case"length":var Pn=Kt.parseComponentValue();return mo(Pn)?Pn:el;case"length-percentage":var Rn=Kt.parseComponentValue();return Qo(Rn)?Rn:el;case"time":return Ll.parse(Ee,Kt.parseComponentValue())}break}},Rc="data-html2canvas-debug",YA=function(Ee){var be=Ee.getAttribute(Rc);switch(be){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},xl=function(Ee,be){var De=YA(Ee);return De===1||be===De},la=function(){function Ee(be,De){if(this.context=be,this.textNodes=[],this.elements=[],this.flags=0,xl(De,3))debugger;this.styles=new Qd(be,window.getComputedStyle(De,null)),T0(De)&&(this.styles.animationDuration.some(function(Ie){return Ie>0})&&(De.style.animationDuration="0s"),this.styles.transform!==null&&(De.style.transform="none")),this.bounds=Le(this.context,De),xl(De,4)&&(this.flags|=16)}return Ee}(),Wl="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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AAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Cc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Iu=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ps=0;ps>4,qr[yt++]=(un&15)<<4|Pn>>2,qr[yt++]=(Pn&3)<<6|Rn&63;return zr},Uc=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie>Cd,Xu=1<>Cd,Hu=Zc+Nu,ld=Hu,dA=32,Kd=ld+dA,BA=65536>>Hc,XA=1<=0){if(be<55296||be>56319&&be<=65535)return De=this.index[be>>Cd],De=(De<>Cd)],De=(De<>Hc),De=this.index[De],De+=be>>Cd&Eh,De=this.index[De],De=(De<=55296&&yt<=56319&&De>10)+55296,un%1024+56320)),(yt+1===De||Ie.length>16384)&&(Kt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return Kt},wf=Lc(Wl),Li="\xD7",sh="\xF7",kh=function(Ee){return wf.get(Ee)},n0=function(Ee,be,De){var Ie=De-2,yt=be[Ie],Kt=be[De-1],un=be[De];if(Kt===ah&&un===EA)return Li;if(Kt===ah||Kt===EA||Kt===FA||un===ah||un===EA||un===FA)return sh;if(Kt===AA&&[AA,kA,e0,pc].indexOf(un)!==-1||(Kt===e0||Kt===kA)&&(un===kA||un===ud)||(Kt===pc||Kt===ud)&&un===ud||un===Fh||un===ml||un===ju||Kt===SA)return Li;if(Kt===Fh&&un===t0){for(;yt===ml;)yt=be[--Ie];if(yt===t0)return Li}if(Kt===Df&&un===Df){for(var Pn=0;yt===Df;)Pn++,yt=be[--Ie];if(Pn%2===0)return Li}return sh},MA=function(Ee){var be=oh(Ee),De=be.length,Ie=0,yt=0,Kt=be.map(kh);return{next:function(){if(Ie>=De)return{done:!0,value:null};for(var un=Li;Ieun.x||qr.y>un.y;return un=qr,zr===0?!0:ri});return Ee.body.removeChild(be),Pn},Ou=function(){return typeof new Image().crossOrigin!="undefined"},Cf=function(){return typeof new XMLHttpRequest().responseType=="string"},Mh=function(Ee){var be=new Image,De=Ee.createElement("canvas"),Ie=De.getContext("2d");if(!Ie)return!1;be.src="data:image/svg+xml,";try{Ie.drawImage(be,0,0),De.toDataURL()}catch(yt){return!1}return!0},_A=function(Ee){return Ee[0]===0&&Ee[1]===255&&Ee[2]===0&&Ee[3]===255},uh=function(Ee){var be=Ee.createElement("canvas"),De=100;be.width=De,be.height=De;var Ie=be.getContext("2d");if(!Ie)return Promise.reject(!1);Ie.fillStyle="rgb(0, 255, 0)",Ie.fillRect(0,0,De,De);var yt=new Image,Kt=be.toDataURL();yt.src=Kt;var un=IA(De,De,0,0,yt);return Ie.fillStyle="red",Ie.fillRect(0,0,De,De),JA(un).then(function(Pn){Ie.drawImage(Pn,0,0);var Rn=Ie.getImageData(0,0,De,De).data;Ie.fillStyle="red",Ie.fillRect(0,0,De,De);var zr=Ee.createElement("div");return zr.style.backgroundImage="url("+Kt+")",zr.style.height=De+"px",_A(Rn)?JA(IA(De,De,0,0,zr)):Promise.reject(!1)}).then(function(Pn){return Ie.drawImage(Pn,0,0),_A(Ie.getImageData(0,0,De,De).data)}).catch(function(){return!1})},IA=function(Ee,be,De,Ie,yt){var Kt="http://www.w3.org/2000/svg",un=document.createElementNS(Kt,"svg"),Pn=document.createElementNS(Kt,"foreignObject");return un.setAttributeNS(null,"width",Ee.toString()),un.setAttributeNS(null,"height",be.toString()),Pn.setAttributeNS(null,"width","100%"),Pn.setAttributeNS(null,"height","100%"),Pn.setAttributeNS(null,"x",De.toString()),Pn.setAttributeNS(null,"y",Ie.toString()),Pn.setAttributeNS(null,"externalResourcesRequired","true"),un.appendChild(Pn),Pn.appendChild(yt),un},JA=function(Ee){return new Promise(function(be,De){var Ie=new Image;Ie.onload=function(){return be(Ie)},Ie.onerror=De,Ie.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ee))})},fu={get SUPPORT_RANGE_BOUNDS(){var Ee=lh(document);return Object.defineProperty(fu,"SUPPORT_RANGE_BOUNDS",{value:Ee}),Ee},get SUPPORT_WORD_BREAKING(){var Ee=fu.SUPPORT_RANGE_BOUNDS&&xf(document);return Object.defineProperty(fu,"SUPPORT_WORD_BREAKING",{value:Ee}),Ee},get SUPPORT_SVG_DRAWING(){var Ee=Mh(document);return Object.defineProperty(fu,"SUPPORT_SVG_DRAWING",{value:Ee}),Ee},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ee=typeof Array.from=="function"&&typeof window.fetch=="function"?uh(document):Promise.resolve(!1);return Object.defineProperty(fu,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ee}),Ee},get SUPPORT_CORS_IMAGES(){var Ee=Ou();return Object.defineProperty(fu,"SUPPORT_CORS_IMAGES",{value:Ee}),Ee},get SUPPORT_RESPONSE_TYPE(){var Ee=Cf();return Object.defineProperty(fu,"SUPPORT_RESPONSE_TYPE",{value:Ee}),Ee},get SUPPORT_CORS_XHR(){var Ee="withCredentials"in new XMLHttpRequest;return Object.defineProperty(fu,"SUPPORT_CORS_XHR",{value:Ee}),Ee},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ee=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(fu,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ee}),Ee}},nd=function(){function Ee(be,De){this.text=be,this.bounds=De}return Ee}(),Vc=function(Ee,be,De,Ie){var yt=$A(be,De),Kt=[],un=0;return yt.forEach(function(Pn){if(De.textDecorationLine.length||Pn.trim().length>0)if(fu.SUPPORT_RANGE_BOUNDS){var Rn=Sl(Ie,un,Pn.length).getClientRects();if(Rn.length>1){var zr=Zl(Pn),qr=0;zr.forEach(function(ea){Kt.push(new nd(ea,Ne.fromDOMRectList(Ee,Sl(Ie,qr+un,ea.length).getClientRects()))),qr+=ea.length})}else Kt.push(new nd(Pn,Ne.fromDOMRectList(Ee,Rn)))}else{var ri=Ie.splitText(Pn.length);Kt.push(new nd(Pn,qA(Ee,Ie))),Ie=ri}else fu.SUPPORT_RANGE_BOUNDS||(Ie=Ie.splitText(Pn.length));un+=Pn.length}),Kt},qA=function(Ee,be){var De=be.ownerDocument;if(De){var Ie=De.createElement("html2canvaswrapper");Ie.appendChild(be.cloneNode(!0));var yt=be.parentNode;if(yt){yt.replaceChild(Ie,be);var Kt=Le(Ee,Ie);return Ie.firstChild&&yt.replaceChild(Ie.firstChild,Ie),Kt}}return Ne.EMPTY},Sl=function(Ee,be,De){var Ie=Ee.ownerDocument;if(!Ie)throw new Error("Node has no owner document");var yt=Ie.createRange();return yt.setStart(Ee,be),yt.setEnd(Ee,be+De),yt},Zl=function(Ee){if(fu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var be=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(be.segment(Ee)).map(function(De){return De.segment})}return Of(Ee)},Bd=function(Ee,be){if(fu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var De=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(De.segment(Ee)).map(function(Ie){return Ie.segment})}return _0(Ee,be)},$A=function(Ee,be){return be.letterSpacing!==0?Zl(Ee):Bd(Ee,be)},ef=[32,160,4961,65792,65793,4153,4241],_0=function(Ee,be){for(var De=on(Ee,{lineBreak:be.lineBreak,wordBreak:be.overflowWrap==="break-word"?"break-word":be.wordBreak}),Ie=[],yt,Kt=function(){if(yt.value){var un=yt.value.slice(),Pn=Ae(un),Rn="";Pn.forEach(function(zr){ef.indexOf(zr)===-1?Rn+=we(zr):(Rn.length&&Ie.push(Rn),Ie.push(we(zr)),Rn="")}),Rn.length&&Ie.push(Rn)}};!(yt=De.next()).done;)Kt();return Ie},Nc=function(){function Ee(be,De,Ie){this.text=LA(De.data,Ie.textTransform),this.textBounds=Vc(be,this.text,Ie,De)}return Ee}(),LA=function(Ee,be){switch(be){case 1:return Ee.toLowerCase();case 3:return Ee.replace(I0,Bf);case 2:return Ee.toUpperCase();default:return Ee}},I0=/(^|\s|:|-|\(|\))([a-z])/g,Bf=function(Ee,be,De){return Ee.length>0?be+De.toUpperCase():Ee},L0=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.src=Ie.currentSrc||Ie.src,yt.intrinsicWidth=Ie.naturalWidth,yt.intrinsicHeight=Ie.naturalHeight,yt.context.cache.addImage(yt.src),yt}return be}(la),Vl=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.canvas=Ie,yt.intrinsicWidth=Ie.width,yt.intrinsicHeight=Ie.height,yt}return be}(la),_h=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this,Kt=new XMLSerializer,un=Le(De,Ie);return Ie.setAttribute("width",un.width+"px"),Ie.setAttribute("height",un.height+"px"),yt.svg="data:image/svg+xml,"+encodeURIComponent(Kt.serializeToString(Ie)),yt.intrinsicWidth=Ie.width.baseVal.value,yt.intrinsicHeight=Ie.height.baseVal.value,yt.context.cache.addImage(yt.svg),yt}return be}(la),Sf=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.value=Ie.value,yt}return be}(la),Ih=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.start=Ie.start,yt.reversed=typeof Ie.reversed=="boolean"&&Ie.reversed===!0,yt}return be}(la),Ei=[{type:15,flags:0,unit:"px",number:3}],om=[{type:16,flags:0,number:50}],sm=function(Ee){return Ee.width>Ee.height?new Ne(Ee.left+(Ee.width-Ee.height)/2,Ee.top,Ee.height,Ee.height):Ee.width0)De.textNodes.push(new Nc(Ee,yt,De.styles));else if(Dh(yt))if(Oh(yt)&&yt.assignedNodes)yt.assignedNodes().forEach(function(Pn){return Lh(Ee,Pn,De,Ie)});else{var un=sp(Ee,yt);un.styles.isVisible()&&(O0(yt,un,Ie)?un.flags|=4:Wd(un.styles)&&(un.flags|=2),N0.indexOf(yt.tagName)!==-1&&(un.flags|=8),De.elements.push(un),yt.slot,yt.shadowRoot?Lh(Ee,yt.shadowRoot,un,Ie):!Nh(yt)&&!Sp(yt)&&!a0(yt)&&Lh(Ee,yt,un,Ie))}},sp=function(Ee,be){return TA(be)?new L0(Ee,be):um(be)?new Vl(Ee,be):Sp(be)?new _h(Ee,be):lm(be)?new Sf(Ee,be):lp(be)?new Ih(Ee,be):Hm(be)?new rd(Ee,be):a0(be)?new Pf(Ee,be):Nh(be)?new i0(Ee,be):nf(be)?new D0(Ee,be):new la(Ee,be)},Bp=function(Ee,be){var De=sp(Ee,be);return De.flags|=4,Lh(Ee,be,De,De),De},O0=function(Ee,be,De){return be.styles.isPositionedWithZIndex()||be.styles.opacity<1||be.styles.isTransformed()||zs(Ee)&&De.styles.isTransparent()},Wd=function(Ee){return Ee.isPositioned()||Ee.isFloating()},Rf=function(Ee){return Ee.nodeType===Node.TEXT_NODE},Dh=function(Ee){return Ee.nodeType===Node.ELEMENT_NODE},T0=function(Ee){return Dh(Ee)&&typeof Ee.style!="undefined"&&!Af(Ee)},Af=function(Ee){return typeof Ee.className=="object"},lm=function(Ee){return Ee.tagName==="LI"},lp=function(Ee){return Ee.tagName==="OL"},Hm=function(Ee){return Ee.tagName==="INPUT"},jm=function(Ee){return Ee.tagName==="HTML"},Sp=function(Ee){return Ee.tagName==="svg"},zs=function(Ee){return Ee.tagName==="BODY"},um=function(Ee){return Ee.tagName==="CANVAS"},up=function(Ee){return Ee.tagName==="VIDEO"},TA=function(Ee){return Ee.tagName==="IMG"},nf=function(Ee){return Ee.tagName==="IFRAME"},Uf=function(Ee){return Ee.tagName==="STYLE"},P0=function(Ee){return Ee.tagName==="SCRIPT"},Nh=function(Ee){return Ee.tagName==="TEXTAREA"},a0=function(Ee){return Ee.tagName==="SELECT"},Oh=function(Ee){return Ee.tagName==="SLOT"},Ep=function(Ee){return Ee.tagName.indexOf("-")>0},cm=function(){function Ee(){this.counters={}}return Ee.prototype.getCounterValue=function(be){var De=this.counters[be];return De&&De.length?De[De.length-1]:1},Ee.prototype.getCounterValues=function(be){var De=this.counters[be];return De||[]},Ee.prototype.pop=function(be){var De=this;be.forEach(function(Ie){return De.counters[Ie].pop()})},Ee.prototype.parse=function(be){var De=this,Ie=be.counterIncrement,yt=be.counterReset,Kt=!0;Ie!==null&&Ie.forEach(function(Pn){var Rn=De.counters[Pn.counter];Rn&&Pn.increment!==0&&(Kt=!1,Rn.length||Rn.push(1),Rn[Math.max(0,Rn.length-1)]+=Pn.increment)});var un=[];return Kt&&yt.forEach(function(Pn){var Rn=De.counters[Pn.counter];un.push(Pn.counter),Rn||(Rn=De.counters[Pn.counter]=[]),Rn.push(Pn.reset)}),un},Ee}(),R0={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"]},o0={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"]},dm={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"]},Qu={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"]},ch=function(Ee,be,De,Ie,yt,Kt){return EeDe?ue(Ee,yt,Kt.length>0):Ie.integers.reduce(function(un,Pn,Rn){for(;Ee>=Pn;)Ee-=Pn,un+=Ie.values[Rn];return un},"")+Kt},Qm=function(Ee,be,De,Ie){var yt="";do De||Ee--,yt=Ie(Ee)+yt,Ee/=be;while(Ee*be>=be);return yt},mc=function(Ee,be,De,Ie,yt){var Kt=De-be+1;return(Ee<0?"-":"")+(Qm(Math.abs(Ee),Kt,Ie,function(un){return we(Math.floor(un%Kt)+be)})+yt)},dh=function(Ee,be,De){De===void 0&&(De=". ");var Ie=be.length;return Qm(Math.abs(Ee),Ie,!1,function(yt){return be[Math.floor(yt%Ie)]})+De},Ef=1,Hf=2,su=4,ff=8,DA=function(Ee,be,De,Ie,yt,Kt){if(Ee<-9999||Ee>9999)return ue(Ee,4,yt.length>0);var un=Math.abs(Ee),Pn=yt;if(un===0)return be[0]+Pn;for(var Rn=0;un>0&&Rn<=4;Rn++){var zr=un%10;zr===0&&wo(Kt,Ef)&&Pn!==""?Pn=be[zr]+Pn:zr>1||zr===1&&Rn===0||zr===1&&Rn===1&&wo(Kt,Hf)||zr===1&&Rn===1&&wo(Kt,su)&&Ee>100||zr===1&&Rn>1&&wo(Kt,ff)?Pn=be[zr]+(Rn>0?De[Rn-1]:"")+Pn:zr===1&&Rn>0&&(Pn=De[Rn-1]+Pn),un=Math.floor(un/10)}return(Ee<0?Ie:"")+Pn},Ff="\u5341\u767E\u5343\u842C",rf="\u62FE\u4F70\u4EDF\u842C",x="\u30DE\u30A4\u30CA\u30B9",ee="\uB9C8\uC774\uB108\uC2A4",ue=function(Ee,be,De){var Ie=De?". ":"",yt=De?"\u3001":"",Kt=De?", ":"",un=De?" ":"";switch(be){case 0:return"\u2022"+un;case 1:return"\u25E6"+un;case 2:return"\u25FE"+un;case 5:var Pn=mc(Ee,48,57,!0,Ie);return Pn.length<4?"0"+Pn:Pn;case 4:return dh(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",yt);case 6:return ch(Ee,1,3999,R0,3,Ie).toLowerCase();case 7:return ch(Ee,1,3999,R0,3,Ie);case 8:return mc(Ee,945,969,!1,Ie);case 9:return mc(Ee,97,122,!1,Ie);case 10:return mc(Ee,65,90,!1,Ie);case 11:return mc(Ee,1632,1641,!0,Ie);case 12:case 49:return ch(Ee,1,9999,o0,3,Ie);case 35:return ch(Ee,1,9999,o0,3,Ie).toLowerCase();case 13:return mc(Ee,2534,2543,!0,Ie);case 14:case 30:return mc(Ee,6112,6121,!0,Ie);case 15:return dh(Ee,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",yt);case 16:return dh(Ee,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",yt);case 17:case 48:return DA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ff,"\u8CA0",yt,Hf|su|ff);case 47:return DA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",rf,"\u8CA0",yt,Ef|Hf|su|ff);case 42:return DA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ff,"\u8D1F",yt,Hf|su|ff);case 41:return DA(Ee,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",rf,"\u8D1F",yt,Ef|Hf|su|ff);case 26:return DA(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",x,yt,0);case 25:return DA(Ee,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",x,yt,Ef|Hf|su);case 31:return DA(Ee,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ee,Kt,Ef|Hf|su);case 33:return DA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ee,Kt,0);case 32:return DA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ee,Kt,Ef|Hf|su);case 18:return mc(Ee,2406,2415,!0,Ie);case 20:return ch(Ee,1,19999,Qu,3,Ie);case 21:return mc(Ee,2790,2799,!0,Ie);case 22:return mc(Ee,2662,2671,!0,Ie);case 22:return ch(Ee,1,10999,dm,3,Ie);case 23:return dh(Ee,"\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 dh(Ee,"\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 mc(Ee,3302,3311,!0,Ie);case 28:return dh(Ee,"\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",yt);case 29:return dh(Ee,"\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",yt);case 34:return mc(Ee,3792,3801,!0,Ie);case 37:return mc(Ee,6160,6169,!0,Ie);case 38:return mc(Ee,4160,4169,!0,Ie);case 39:return mc(Ee,2918,2927,!0,Ie);case 40:return mc(Ee,1776,1785,!0,Ie);case 43:return mc(Ee,3046,3055,!0,Ie);case 44:return mc(Ee,3174,3183,!0,Ie);case 45:return mc(Ee,3664,3673,!0,Ie);case 46:return mc(Ee,3872,3881,!0,Ie);case 3:default:return mc(Ee,48,57,!0,Ie)}},le="data-html2canvas-ignore",me=function(){function Ee(be,De,Ie){if(this.context=be,this.options=Ie,this.scrolledElements=[],this.referenceElement=De,this.counters=new cm,this.quoteDepth=0,!De.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(De.ownerDocument.documentElement,!1)}return Ee.prototype.toIFrame=function(be,De){var Ie=this,yt=mt(be,De);if(!yt.contentWindow)return Promise.reject("Unable to find iframe window");var Kt=be.defaultView.pageXOffset,un=be.defaultView.pageYOffset,Pn=yt.contentWindow,Rn=Pn.document,zr=Jt(yt).then(function(){return Me(Ie,void 0,void 0,function(){var qr,ri;return Ue(this,function(ea){switch(ea.label){case 0:return this.scrolledElements.forEach(Ri),Pn&&(Pn.scrollTo(De.left,De.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Pn.scrollY!==De.top||Pn.scrollX!==De.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Pn.scrollX-De.left,Pn.scrollY-De.top,0,0))),qr=this.options.onclone,ri=this.clonedReferenceElement,typeof ri=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Rn.fonts&&Rn.fonts.ready?[4,Rn.fonts.ready]:[3,2];case 1:ea.sent(),ea.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ht(Rn)]:[3,4];case 3:ea.sent(),ea.label=4;case 4:return typeof qr=="function"?[2,Promise.resolve().then(function(){return qr(Rn,ri)}).then(function(){return yt})]:[2,yt]}})})});return Rn.open(),Rn.write(ei(document.doctype)+""),Kr(this.referenceElement.ownerDocument,Kt,un),Rn.replaceChild(Rn.adoptNode(this.documentElement),Rn.documentElement),Rn.close(),zr},Ee.prototype.createElementClone=function(be){if(xl(be,2))debugger;if(um(be))return this.createCanvasClone(be);if(up(be))return this.createVideoClone(be);if(Uf(be))return this.createStyleClone(be);var De=be.cloneNode(!1);return TA(De)&&(TA(be)&&be.currentSrc&&be.currentSrc!==be.src&&(De.src=be.currentSrc,De.srcset=""),De.loading==="lazy"&&(De.loading="eager")),Ep(De)?this.createCustomElementClone(De):De},Ee.prototype.createCustomElementClone=function(be){var De=document.createElement("html2canvascustomelement");return tr(be.style,De),De},Ee.prototype.createStyleClone=function(be){try{var De=be.sheet;if(De&&De.cssRules){var Ie=[].slice.call(De.cssRules,0).reduce(function(Kt,un){return un&&typeof un.cssText=="string"?Kt+un.cssText:Kt},""),yt=be.cloneNode(!1);return yt.textContent=Ie,yt}}catch(Kt){if(this.context.logger.error("Unable to access cssRules property",Kt),Kt.name!=="SecurityError")throw Kt}return be.cloneNode(!1)},Ee.prototype.createCanvasClone=function(be){var De;if(this.options.inlineImages&&be.ownerDocument){var Ie=be.ownerDocument.createElement("img");try{return Ie.src=be.toDataURL(),Ie}catch(zr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",be)}}var yt=be.cloneNode(!1);try{yt.width=be.width,yt.height=be.height;var Kt=be.getContext("2d"),un=yt.getContext("2d");if(un)if(!this.options.allowTaint&&Kt)un.putImageData(Kt.getImageData(0,0,be.width,be.height),0,0);else{var Pn=(De=be.getContext("webgl2"))!==null&&De!==void 0?De:be.getContext("webgl");if(Pn){var Rn=Pn.getContextAttributes();(Rn==null?void 0:Rn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",be)}un.drawImage(be,0,0)}return yt}catch(zr){this.context.logger.info("Unable to clone canvas as it is tainted",be)}return yt},Ee.prototype.createVideoClone=function(be){var De=be.ownerDocument.createElement("canvas");De.width=be.offsetWidth,De.height=be.offsetHeight;var Ie=De.getContext("2d");try{return Ie&&(Ie.drawImage(be,0,0,De.width,De.height),this.options.allowTaint||Ie.getImageData(0,0,De.width,De.height)),De}catch(Kt){this.context.logger.info("Unable to clone video as it is tainted",be)}var yt=be.ownerDocument.createElement("canvas");return yt.width=be.offsetWidth,yt.height=be.offsetHeight,yt},Ee.prototype.appendChildNode=function(be,De,Ie){(!Dh(De)||!P0(De)&&!De.hasAttribute(le)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(De)))&&(!this.options.copyStyles||!Dh(De)||!Uf(De))&&be.appendChild(this.cloneNode(De,Ie))},Ee.prototype.cloneChildNodes=function(be,De,Ie){for(var yt=this,Kt=be.shadowRoot?be.shadowRoot.firstChild:be.firstChild;Kt;Kt=Kt.nextSibling)if(Dh(Kt)&&Oh(Kt)&&typeof Kt.assignedNodes=="function"){var un=Kt.assignedNodes();un.length&&un.forEach(function(Pn){return yt.appendChildNode(De,Pn,Ie)})}else this.appendChildNode(De,Kt,Ie)},Ee.prototype.cloneNode=function(be,De){if(Rf(be))return document.createTextNode(be.data);if(!be.ownerDocument)return be.cloneNode(!1);var Ie=be.ownerDocument.defaultView;if(Ie&&Dh(be)&&(T0(be)||Af(be))){var yt=this.createElementClone(be);yt.style.transitionProperty="none";var Kt=Ie.getComputedStyle(be),un=Ie.getComputedStyle(be,":before"),Pn=Ie.getComputedStyle(be,":after");this.referenceElement===be&&T0(yt)&&(this.clonedReferenceElement=yt),zs(yt)&&Ro(yt);var Rn=this.counters.parse(new zd(this.context,Kt)),zr=this.resolvePseudoContent(be,yt,un,Ve.BEFORE);Ep(be)&&(De=!0),up(be)||this.cloneChildNodes(be,yt,De),zr&&yt.insertBefore(zr,yt.firstChild);var qr=this.resolvePseudoContent(be,yt,Pn,Ve.AFTER);return qr&&yt.appendChild(qr),this.counters.pop(Rn),(Kt&&(this.options.copyStyles||Af(be))&&!nf(be)||De)&&tr(Kt,yt),(be.scrollTop!==0||be.scrollLeft!==0)&&this.scrolledElements.push([yt,be.scrollLeft,be.scrollTop]),(Nh(be)||a0(be))&&(Nh(yt)||a0(yt))&&(yt.value=be.value),yt}return be.cloneNode(!1)},Ee.prototype.resolvePseudoContent=function(be,De,Ie,yt){var Kt=this;if(Ie){var un=Ie.content,Pn=De.ownerDocument;if(!(!Pn||!un||un==="none"||un==="-moz-alt-content"||Ie.display==="none")){this.counters.parse(new zd(this.context,Ie));var Rn=new tc(this.context,Ie),zr=Pn.createElement("html2canvaspseudoelement");tr(Ie,zr),Rn.content.forEach(function(ri){if(ri.type===0)zr.appendChild(Pn.createTextNode(ri.value));else if(ri.type===22){var ea=Pn.createElement("img");ea.src=ri.value,ea.style.opacity="1",zr.appendChild(ea)}else if(ri.type===18){if(ri.name==="attr"){var ns=ri.values.filter(hs);ns.length&&zr.appendChild(Pn.createTextNode(be.getAttribute(ns[0].value)||""))}else if(ri.name==="counter"){var eo=ri.values.filter(Cr),No=eo[0],El=eo[1];if(No&&hs(No)){var ds=Kt.counters.getCounterValue(No.value),ls=El&&hs(El)?Jr.parse(Kt.context,El.value):3;zr.appendChild(Pn.createTextNode(ue(ds,ls,!1)))}}else if(ri.name==="counters"){var dl=ri.values.filter(Cr),No=dl[0],zl=dl[1],El=dl[2];if(No&&hs(No)){var nl=Kt.counters.getCounterValues(No.value),Yo=El&&hs(El)?Jr.parse(Kt.context,El.value):3,uu=zl&&zl.type===0?zl.value:"",Dl=nl.map(function(nA){return ue(nA,Yo,!1)}).join(uu);zr.appendChild(Pn.createTextNode(Dl))}}}else if(ri.type===20)switch(ri.value){case"open-quote":zr.appendChild(Pn.createTextNode(Ss(Rn.quotes,Kt.quoteDepth++,!0)));break;case"close-quote":zr.appendChild(Pn.createTextNode(Ss(Rn.quotes,--Kt.quoteDepth,!1)));break;default:zr.appendChild(Pn.createTextNode(ri.value))}}),zr.className=yo+" "+ko;var qr=yt===Ve.BEFORE?" "+yo:" "+ko;return Af(De)?De.className.baseValue+=qr:De.className+=qr,zr}}},Ee.destroy=function(be){return be.parentNode?(be.parentNode.removeChild(be),!0):!1},Ee}(),Ve;(function(Ee){Ee[Ee.BEFORE=0]="BEFORE",Ee[Ee.AFTER=1]="AFTER"})(Ve||(Ve={}));var mt=function(Ee,be){var De=Ee.createElement("iframe");return De.className="html2canvas-container",De.style.visibility="hidden",De.style.position="fixed",De.style.left="-10000px",De.style.top="0px",De.style.border="0",De.width=be.width.toString(),De.height=be.height.toString(),De.scrolling="no",De.setAttribute(le,"true"),Ee.body.appendChild(De),De},It=function(Ee){return new Promise(function(be){if(Ee.complete){be();return}if(!Ee.src){be();return}Ee.onload=be,Ee.onerror=be})},Ht=function(Ee){return Promise.all([].slice.call(Ee.images,0).map(It))},Jt=function(Ee){return new Promise(function(be,De){var Ie=Ee.contentWindow;if(!Ie)return De("No window assigned for iframe");var yt=Ie.document;Ie.onload=Ee.onload=function(){Ie.onload=Ee.onload=null;var Kt=setInterval(function(){yt.body.childNodes.length>0&&yt.readyState==="complete"&&(clearInterval(Kt),be(Ee))},50)}})},zn=["all","d","content"],tr=function(Ee,be){for(var De=Ee.length-1;De>=0;De--){var Ie=Ee.item(De);zn.indexOf(Ie)===-1&&be.style.setProperty(Ie,Ee.getPropertyValue(Ie))}return be},ei=function(Ee){var be="";return Ee&&(be+=""),be},Kr=function(Ee,be,De){Ee&&Ee.defaultView&&(be!==Ee.defaultView.pageXOffset||De!==Ee.defaultView.pageYOffset)&&Ee.defaultView.scrollTo(be,De)},Ri=function(Ee){var be=Ee[0],De=Ee[1],Ie=Ee[2];be.scrollLeft=De,be.scrollTop=Ie},ga=":before",Ga=":after",yo="___html2canvas___pseudoelement_before",ko="___html2canvas___pseudoelement_after",Ao=`{ content: "" !important; display: none !important; }`,Ro=function(Ee){ms(Ee,"."+yo+ga+Ao+` .`+ko+Ga+Ao)},ms=function(Ee,be){var De=Ee.ownerDocument;if(De){var Ie=De.createElement("style");Ie.textContent=be,Ee.appendChild(Ie)}},ws=function(){function Ee(){}return Ee.getOrigin=function(be){var De=Ee._link;return De?(De.href=be,De.href=De.href,De.protocol+De.hostname+De.port):"about:blank"},Ee.isSameOrigin=function(be){return Ee.getOrigin(be)===Ee._origin},Ee.setContext=function(be){Ee._link=be.document.createElement("a"),Ee._origin=Ee.getOrigin(be.location.href)},Ee._origin="about:blank",Ee}(),Rs=function(){function Ee(be,De){this.context=be,this._options=De,this._cache={}}return Ee.prototype.addImage=function(be){var De=Promise.resolve();return this.has(be)||(Zd(be)||Od(be))&&(this._cache[be]=this.loadImage(be)).catch(function(){}),De},Ee.prototype.match=function(be){return this._cache[be]},Ee.prototype.loadImage=function(be){return Me(this,void 0,void 0,function(){var De,Ie,yt,Kt,un=this;return Ue(this,function(Pn){switch(Pn.label){case 0:return De=ws.isSameOrigin(be),Ie=!Sd(be)&&this._options.useCORS===!0&&fu.SUPPORT_CORS_IMAGES&&!De,yt=!Sd(be)&&!De&&!Zd(be)&&typeof this._options.proxy=="string"&&fu.SUPPORT_CORS_XHR&&!Ie,!De&&this._options.allowTaint===!1&&!Sd(be)&&!Zd(be)&&!yt&&!Ie?[2]:(Kt=be,yt?[4,this.proxy(Kt)]:[3,2]);case 1:Kt=Pn.sent(),Pn.label=2;case 2:return this.context.logger.debug("Added image "+be.substring(0,256)),[4,new Promise(function(Rn,zr){var qr=new Image;qr.onload=function(){return Rn(qr)},qr.onerror=zr,(cd(Kt)||Ie)&&(qr.crossOrigin="anonymous"),qr.src=Kt,qr.complete===!0&&setTimeout(function(){return Rn(qr)},500),un._options.imageTimeout>0&&setTimeout(function(){return zr("Timed out ("+un._options.imageTimeout+"ms) loading image")},un._options.imageTimeout)})];case 3:return[2,Pn.sent()]}})})},Ee.prototype.has=function(be){return typeof this._cache[be]!="undefined"},Ee.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ee.prototype.proxy=function(be){var De=this,Ie=this._options.proxy;if(!Ie)throw new Error("No proxy defined");var yt=be.substring(0,256);return new Promise(function(Kt,un){var Pn=fu.SUPPORT_RESPONSE_TYPE?"blob":"text",Rn=new XMLHttpRequest;Rn.onload=function(){if(Rn.status===200)if(Pn==="text")Kt(Rn.response);else{var ri=new FileReader;ri.addEventListener("load",function(){return Kt(ri.result)},!1),ri.addEventListener("error",function(ea){return un(ea)},!1),ri.readAsDataURL(Rn.response)}else un("Failed to proxy resource "+yt+" with status code "+Rn.status)},Rn.onerror=un;var zr=Ie.indexOf("?")>-1?"&":"?";if(Rn.open("GET",""+Ie+zr+"url="+encodeURIComponent(be)+"&responseType="+Pn),Pn!=="text"&&Rn instanceof XMLHttpRequest&&(Rn.responseType=Pn),De._options.imageTimeout){var qr=De._options.imageTimeout;Rn.timeout=qr,Rn.ontimeout=function(){return un("Timed out ("+qr+"ms) proxying "+yt)}}Rn.send()})},Ee}(),zu=/^data:image\/svg\+xml/i,pd=/^data:image\/.*;base64,/i,Sc=/^data:image\/.*/i,Od=function(Ee){return fu.SUPPORT_SVG_DRAWING||!rl(Ee)},Sd=function(Ee){return Sc.test(Ee)},cd=function(Ee){return pd.test(Ee)},Zd=function(Ee){return Ee.substr(0,4)==="blob"},rl=function(Ee){return Ee.substr(-3).toLowerCase()==="svg"||zu.test(Ee)},uo=function(){function Ee(be,De){this.type=0,this.x=be,this.y=De}return Ee.prototype.add=function(be,De){return new Ee(this.x+be,this.y+De)},Ee}(),Ju=function(Ee,be,De){return new uo(Ee.x+(be.x-Ee.x)*De,Ee.y+(be.y-Ee.y)*De)},Ec=function(){function Ee(be,De,Ie,yt){this.type=1,this.start=be,this.startControl=De,this.endControl=Ie,this.end=yt}return Ee.prototype.subdivide=function(be,De){var Ie=Ju(this.start,this.startControl,be),yt=Ju(this.startControl,this.endControl,be),Kt=Ju(this.endControl,this.end,be),un=Ju(Ie,yt,be),Pn=Ju(yt,Kt,be),Rn=Ju(un,Pn,be);return De?new Ee(this.start,Ie,un,Rn):new Ee(Rn,Pn,Kt,this.end)},Ee.prototype.add=function(be,De){return new Ee(this.start.add(be,De),this.startControl.add(be,De),this.endControl.add(be,De),this.end.add(be,De))},Ee.prototype.reverse=function(){return new Ee(this.end,this.endControl,this.startControl,this.start)},Ee}(),Lu=function(Ee){return Ee.type===1},Th=function(){function Ee(be){var De=be.styles,Ie=be.bounds,yt=vu(De.borderTopLeftRadius,Ie.width,Ie.height),Kt=yt[0],un=yt[1],Pn=vu(De.borderTopRightRadius,Ie.width,Ie.height),Rn=Pn[0],zr=Pn[1],qr=vu(De.borderBottomRightRadius,Ie.width,Ie.height),ri=qr[0],ea=qr[1],ns=vu(De.borderBottomLeftRadius,Ie.width,Ie.height),eo=ns[0],No=ns[1],El=[];El.push((Kt+Rn)/Ie.width),El.push((eo+ri)/Ie.width),El.push((un+No)/Ie.height),El.push((zr+ea)/Ie.height);var ds=Math.max.apply(Math,El);ds>1&&(Kt/=ds,un/=ds,Rn/=ds,zr/=ds,ri/=ds,ea/=ds,eo/=ds,No/=ds);var ls=Ie.width-Rn,dl=Ie.height-ea,zl=Ie.width-ri,nl=Ie.height-No,Yo=De.borderTopWidth,uu=De.borderRightWidth,Dl=De.borderBottomWidth,Al=De.borderLeftWidth,xo=Bs(De.paddingTop,be.bounds.width),nA=Bs(De.paddingRight,be.bounds.width),HA=Bs(De.paddingBottom,be.bounds.width),eu=Bs(De.paddingLeft,be.bounds.width);this.topLeftBorderDoubleOuterBox=Kt>0||un>0?Ql(Ie.left+Al/3,Ie.top+Yo/3,Kt-Al/3,un-Yo/3,Pl.TOP_LEFT):new uo(Ie.left+Al/3,Ie.top+Yo/3),this.topRightBorderDoubleOuterBox=Kt>0||un>0?Ql(Ie.left+ls,Ie.top+Yo/3,Rn-uu/3,zr-Yo/3,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu/3,Ie.top+Yo/3),this.bottomRightBorderDoubleOuterBox=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri-uu/3,ea-Dl/3,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu/3,Ie.top+Ie.height-Dl/3),this.bottomLeftBorderDoubleOuterBox=eo>0||No>0?Ql(Ie.left+Al/3,Ie.top+nl,eo-Al/3,No-Dl/3,Pl.BOTTOM_LEFT):new uo(Ie.left+Al/3,Ie.top+Ie.height-Dl/3),this.topLeftBorderDoubleInnerBox=Kt>0||un>0?Ql(Ie.left+Al*2/3,Ie.top+Yo*2/3,Kt-Al*2/3,un-Yo*2/3,Pl.TOP_LEFT):new uo(Ie.left+Al*2/3,Ie.top+Yo*2/3),this.topRightBorderDoubleInnerBox=Kt>0||un>0?Ql(Ie.left+ls,Ie.top+Yo*2/3,Rn-uu*2/3,zr-Yo*2/3,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu*2/3,Ie.top+Yo*2/3),this.bottomRightBorderDoubleInnerBox=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri-uu*2/3,ea-Dl*2/3,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu*2/3,Ie.top+Ie.height-Dl*2/3),this.bottomLeftBorderDoubleInnerBox=eo>0||No>0?Ql(Ie.left+Al*2/3,Ie.top+nl,eo-Al*2/3,No-Dl*2/3,Pl.BOTTOM_LEFT):new uo(Ie.left+Al*2/3,Ie.top+Ie.height-Dl*2/3),this.topLeftBorderStroke=Kt>0||un>0?Ql(Ie.left+Al/2,Ie.top+Yo/2,Kt-Al/2,un-Yo/2,Pl.TOP_LEFT):new uo(Ie.left+Al/2,Ie.top+Yo/2),this.topRightBorderStroke=Kt>0||un>0?Ql(Ie.left+ls,Ie.top+Yo/2,Rn-uu/2,zr-Yo/2,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu/2,Ie.top+Yo/2),this.bottomRightBorderStroke=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri-uu/2,ea-Dl/2,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu/2,Ie.top+Ie.height-Dl/2),this.bottomLeftBorderStroke=eo>0||No>0?Ql(Ie.left+Al/2,Ie.top+nl,eo-Al/2,No-Dl/2,Pl.BOTTOM_LEFT):new uo(Ie.left+Al/2,Ie.top+Ie.height-Dl/2),this.topLeftBorderBox=Kt>0||un>0?Ql(Ie.left,Ie.top,Kt,un,Pl.TOP_LEFT):new uo(Ie.left,Ie.top),this.topRightBorderBox=Rn>0||zr>0?Ql(Ie.left+ls,Ie.top,Rn,zr,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width,Ie.top),this.bottomRightBorderBox=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri,ea,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width,Ie.top+Ie.height),this.bottomLeftBorderBox=eo>0||No>0?Ql(Ie.left,Ie.top+nl,eo,No,Pl.BOTTOM_LEFT):new uo(Ie.left,Ie.top+Ie.height),this.topLeftPaddingBox=Kt>0||un>0?Ql(Ie.left+Al,Ie.top+Yo,Math.max(0,Kt-Al),Math.max(0,un-Yo),Pl.TOP_LEFT):new uo(Ie.left+Al,Ie.top+Yo),this.topRightPaddingBox=Rn>0||zr>0?Ql(Ie.left+Math.min(ls,Ie.width-uu),Ie.top+Yo,ls>Ie.width+uu?0:Math.max(0,Rn-uu),Math.max(0,zr-Yo),Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu,Ie.top+Yo),this.bottomRightPaddingBox=ri>0||ea>0?Ql(Ie.left+Math.min(zl,Ie.width-Al),Ie.top+Math.min(dl,Ie.height-Dl),Math.max(0,ri-uu),Math.max(0,ea-Dl),Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu,Ie.top+Ie.height-Dl),this.bottomLeftPaddingBox=eo>0||No>0?Ql(Ie.left+Al,Ie.top+Math.min(nl,Ie.height-Dl),Math.max(0,eo-Al),Math.max(0,No-Dl),Pl.BOTTOM_LEFT):new uo(Ie.left+Al,Ie.top+Ie.height-Dl),this.topLeftContentBox=Kt>0||un>0?Ql(Ie.left+Al+eu,Ie.top+Yo+xo,Math.max(0,Kt-(Al+eu)),Math.max(0,un-(Yo+xo)),Pl.TOP_LEFT):new uo(Ie.left+Al+eu,Ie.top+Yo+xo),this.topRightContentBox=Rn>0||zr>0?Ql(Ie.left+Math.min(ls,Ie.width+Al+eu),Ie.top+Yo+xo,ls>Ie.width+Al+eu?0:Rn-Al+eu,zr-(Yo+xo),Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-(uu+nA),Ie.top+Yo+xo),this.bottomRightContentBox=ri>0||ea>0?Ql(Ie.left+Math.min(zl,Ie.width-(Al+eu)),Ie.top+Math.min(dl,Ie.height+Yo+xo),Math.max(0,ri-(uu+nA)),ea-(Dl+HA),Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-(uu+nA),Ie.top+Ie.height-(Dl+HA)),this.bottomLeftContentBox=eo>0||No>0?Ql(Ie.left+Al+eu,Ie.top+nl,Math.max(0,eo-(Al+eu)),No-(Dl+HA),Pl.BOTTOM_LEFT):new uo(Ie.left+Al+eu,Ie.top+Ie.height-(Dl+HA))}return Ee}(),Pl;(function(Ee){Ee[Ee.TOP_LEFT=0]="TOP_LEFT",Ee[Ee.TOP_RIGHT=1]="TOP_RIGHT",Ee[Ee.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ee[Ee.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Pl||(Pl={}));var Ql=function(Ee,be,De,Ie,yt){var Kt=4*((Math.sqrt(2)-1)/3),un=De*Kt,Pn=Ie*Kt,Rn=Ee+De,zr=be+Ie;switch(yt){case Pl.TOP_LEFT:return new Ec(new uo(Ee,zr),new uo(Ee,zr-Pn),new uo(Rn-un,be),new uo(Rn,be));case Pl.TOP_RIGHT:return new Ec(new uo(Ee,be),new uo(Ee+un,be),new uo(Rn,zr-Pn),new uo(Rn,zr));case Pl.BOTTOM_RIGHT:return new Ec(new uo(Rn,be),new uo(Rn,be+Pn),new uo(Ee+un,zr),new uo(Ee,zr));case Pl.BOTTOM_LEFT:default:return new Ec(new uo(Rn,zr),new uo(Rn-un,zr),new uo(Ee,be+Pn),new uo(Ee,be))}},lu=function(Ee){return[Ee.topLeftBorderBox,Ee.topRightBorderBox,Ee.bottomRightBorderBox,Ee.bottomLeftBorderBox]},Ed=function(Ee){return[Ee.topLeftContentBox,Ee.topRightContentBox,Ee.bottomRightContentBox,Ee.bottomLeftContentBox]},s0=function(Ee){return[Ee.topLeftPaddingBox,Ee.topRightPaddingBox,Ee.bottomRightPaddingBox,Ee.bottomLeftPaddingBox]},Us=function(){function Ee(be,De,Ie){this.offsetX=be,this.offsetY=De,this.matrix=Ie,this.type=0,this.target=6}return Ee}(),PA=function(){function Ee(be,De){this.path=be,this.target=De,this.type=1}return Ee}(),hu=function(){function Ee(be){this.opacity=be,this.type=2,this.target=6}return Ee}(),Gc=function(Ee){return Ee.type===0},jf=function(Ee){return Ee.type===1},dd=function(Ee){return Ee.type===2},Ph=function(Ee,be){return Ee.length===be.length?Ee.some(function(De,Ie){return De===be[Ie]}):!1},zm=function(Ee,be,De,Ie,yt){return Ee.map(function(Kt,un){switch(un){case 0:return Kt.add(be,De);case 1:return Kt.add(be+Ie,De);case 2:return Kt.add(be+Ie,De+yt);case 3:return Kt.add(be,De+yt)}return Kt})},ba=function(){function Ee(be){this.element=be,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ee}(),gc=function(){function Ee(be,De){if(this.container=be,this.parent=De,this.effects=[],this.curves=new Th(this.container),this.container.styles.opacity<1&&this.effects.push(new hu(this.container.styles.opacity)),this.container.styles.transform!==null){var Ie=this.container.bounds.left+this.container.styles.transformOrigin[0].number,yt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Kt=this.container.styles.transform;this.effects.push(new Us(Ie,yt,Kt))}if(this.container.styles.overflowX!==0){var un=lu(this.curves),Pn=s0(this.curves);Ph(un,Pn)?this.effects.push(new PA(un,6)):(this.effects.push(new PA(un,2)),this.effects.push(new PA(Pn,4)))}}return Ee.prototype.getEffects=function(be){for(var De=[2,3].indexOf(this.container.styles.position)===-1,Ie=this.parent,yt=this.effects.slice(0);Ie;){var Kt=Ie.effects.filter(function(Rn){return!jf(Rn)});if(De||Ie.container.styles.position!==0||!Ie.parent){if(yt.unshift.apply(yt,Kt),De=[2,3].indexOf(Ie.container.styles.position)===-1,Ie.container.styles.overflowX!==0){var un=lu(Ie.curves),Pn=s0(Ie.curves);Ph(un,Pn)||yt.unshift(new PA(Pn,6))}}else yt.unshift.apply(yt,Kt);Ie=Ie.parent}return yt.filter(function(Rn){return wo(Rn.target,be)})},Ee}(),Am=function(Ee,be,De,Ie){Ee.container.elements.forEach(function(yt){var Kt=wo(yt.flags,4),un=wo(yt.flags,2),Pn=new gc(yt,Ee);wo(yt.styles.display,2048)&&Ie.push(Pn);var Rn=wo(yt.flags,8)?[]:Ie;if(Kt||un){var zr=Kt||yt.styles.isPositioned()?De:be,qr=new ba(Pn);if(yt.styles.isPositioned()||yt.styles.opacity<1||yt.styles.isTransformed()){var ri=yt.styles.zIndex.order;if(ri<0){var ea=0;zr.negativeZIndex.some(function(eo,No){return ri>eo.element.container.styles.zIndex.order?(ea=No,!1):ea>0}),zr.negativeZIndex.splice(ea,0,qr)}else if(ri>0){var ns=0;zr.positiveZIndex.some(function(eo,No){return ri>=eo.element.container.styles.zIndex.order?(ns=No+1,!1):ns>0}),zr.positiveZIndex.splice(ns,0,qr)}else zr.zeroOrAutoZIndexOrTransformedOrOpacity.push(qr)}else yt.styles.isFloating()?zr.nonPositionedFloats.push(qr):zr.nonPositionedInlineLevel.push(qr);Am(Pn,qr,Kt?qr:De,Rn)}else yt.styles.isInlineLevel()?be.inlineLevel.push(Pn):be.nonInlineLevel.push(Pn),Am(Pn,be,De,Rn);wo(yt.flags,8)&&fm(yt,Rn)})},fm=function(Ee,be){for(var De=Ee instanceof Ih?Ee.start:1,Ie=Ee instanceof Ih?Ee.reversed:!1,yt=0;yt0&&De.intrinsicHeight>0){var Kt=md(De),un=s0(Ie);this.path(un),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(yt,0,0,De.intrinsicWidth,De.intrinsicHeight,Kt.left,Kt.top,Kt.width,Kt.height),this.ctx.restore()}},be.prototype.renderNodeContent=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,Kt,un,Pn,Rn,ls,ls,zr,qr,ri,ea,zl,ns,eo,nl,No,El,ds,ls,dl,zl,nl;return Ue(this,function(Yo){switch(Yo.label){case 0:this.applyEffects(De.getEffects(4)),Ie=De.container,yt=De.curves,Kt=Ie.styles,un=0,Pn=Ie.textNodes,Yo.label=1;case 1:return un0&&rA>0&&(Dl=Kt.ctx.createPattern(nl,"repeat"),Kt.renderRepeat(xo,Dl,OA,jA))):Kc(qr)&&(Al=NA(De,Ie,[null,null,null]),xo=Al[0],nA=Al[1],HA=Al[2],eu=Al[3],rA=Al[4],Uh=qr.position.length===0?[_l]:qr.position,OA=Bs(Uh[0],eu),jA=Bs(Uh[Uh.length-1],rA),zf=yl(qr,OA,jA,eu,rA),Mf=zf[0],Kf=zf[1],Mf>0&&Kf>0&&(fh=Kt.ctx.createRadialGradient(nA+OA,HA+jA,0,nA+OA,HA+jA,Mf),eA(qr.stops,Mf*2).forEach(function(hA){return fh.addColorStop(hA.stop,Vs(hA.color))}),Kt.path(xo),Kt.ctx.fillStyle=fh,Mf!==Kf?(of=De.bounds.left+.5*De.bounds.width,hh=De.bounds.top+.5*De.bounds.height,d0=Kf/Mf,_f=1/d0,Kt.ctx.save(),Kt.ctx.translate(of,hh),Kt.ctx.transform(1,0,0,d0,0,0),Kt.ctx.translate(-of,-hh),Kt.ctx.fillRect(nA,_f*(HA-hh)+hh,eu,rA*_f),Kt.ctx.restore()):Kt.ctx.fill())),Hh.label=6;case 6:return Ie--,[2]}})},Kt=this,un=0,Pn=De.styles.backgroundImage.slice(0).reverse(),zr.label=1;case 1:return un0?qr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(qr.color,qr.width,Pn,De.curves,2)]:[3,11]):[3,13];case 4:return ea.sent(),[3,11];case 5:return qr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(qr.color,qr.width,Pn,De.curves,3)];case 6:return ea.sent(),[3,11];case 7:return qr.style!==4?[3,9]:[4,this.renderDoubleBorder(qr.color,qr.width,Pn,De.curves)];case 8:return ea.sent(),[3,11];case 9:return[4,this.renderSolidBorder(qr.color,Pn,De.curves)];case 10:ea.sent(),ea.label=11;case 11:Pn++,ea.label=12;case 12:return Rn++,[3,3];case 13:return[2]}})})},be.prototype.renderDashedDottedBorder=function(De,Ie,yt,Kt,un){return Me(this,void 0,void 0,function(){var Pn,Rn,zr,qr,ri,ea,ns,eo,No,El,ds,ls,dl,zl,nl,Yo,nl,Yo;return Ue(this,function(uu){return this.ctx.save(),Pn=fg(Kt,yt),Rn=tA(Kt,yt),un===2&&(this.path(Rn),this.ctx.clip()),Lu(Rn[0])?(zr=Rn[0].start.x,qr=Rn[0].start.y):(zr=Rn[0].x,qr=Rn[0].y),Lu(Rn[1])?(ri=Rn[1].end.x,ea=Rn[1].end.y):(ri=Rn[1].x,ea=Rn[1].y),yt===0||yt===2?ns=Math.abs(zr-ri):ns=Math.abs(qr-ea),this.ctx.beginPath(),un===3?this.formatPath(Pn):this.formatPath(Rn.slice(0,2)),eo=Ie<3?Ie*3:Ie*2,No=Ie<3?Ie*2:Ie,un===3&&(eo=Ie,No=Ie),El=!0,ns<=eo*2?El=!1:ns<=eo*2+No?(ds=ns/(2*eo+No),eo*=ds,No*=ds):(ls=Math.floor((ns+No)/(eo+No)),dl=(ns-ls*eo)/(ls-1),zl=(ns-(ls+1)*eo)/ls,No=zl<=0||Math.abs(No-dl)Tt){var it=wt;wt=Tt,Tt=it}}else if(xt==="l"||xt==="landscape"){if(xt="l",Tt>wt){var it=wt;wt=Tt,Tt=it}}else throw"Invalid orientation: "+xt;var je={width:wt,height:Tt,unit:Je,k:bt};return je},we.default=rt.jsPDF},"./src/plugin/pagebreaks.js":function(Ae,we,fe){"use strict";fe.r(we);var ze=fe("./node_modules/core-js/modules/es.array.concat.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.array.slice.js"),Oe=fe.n(_e),He=fe("./node_modules/core-js/modules/es.array.join.js"),ke=fe.n(He),Te=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Pe=fe.n(Te),Xe=fe("./node_modules/core-js/modules/es.object.keys.js"),Ke=fe.n(Xe),qe=fe("./src/worker.js"),We=fe("./src/utils.js"),Ze={toContainer:qe.default.prototype.toContainer};qe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},qe.default.prototype.toContainer=function(){return Ze.toContainer.call(this).then(function(){var ht=this.prop.container,dt=this.prop.pageSize.inner.px.height,xt=[].concat(this.opt.pagebreak.mode),Je={avoidAll:xt.indexOf("avoid-all")!==-1,css:xt.indexOf("css")!==-1,legacy:xt.indexOf("legacy")!==-1},Lt={},Re=this;["before","after","avoid"].forEach(function(bt){var Tt=Je.avoidAll&&bt==="avoid";Lt[bt]=Tt?[]:[].concat(Re.opt.pagebreak[bt]||[]),Lt[bt].length>0&&(Lt[bt]=Array.prototype.slice.call(ht.querySelectorAll(Lt[bt].join(", "))))});var Rt=ht.querySelectorAll(".html2pdf__page-break");Rt=Array.prototype.slice.call(Rt);var Ft=ht.querySelectorAll("*");Array.prototype.forEach.call(Ft,function(Tt){var wt={before:!1,after:Je.legacy&&Rt.indexOf(Tt)!==-1,avoid:Je.avoidAll};if(Je.css){var it=window.getComputedStyle(Tt),je=["always","page","left","right"],at=["avoid","avoid-page"];wt={before:wt.before||je.indexOf(it.breakBefore||it.pageBreakBefore)!==-1,after:wt.after||je.indexOf(it.breakAfter||it.pageBreakAfter)!==-1,avoid:wt.avoid||at.indexOf(it.breakInside||it.pageBreakInside)!==-1}}Object.keys(wt).forEach(function(Nn){wt[Nn]=wt[Nn]||Lt[Nn].indexOf(Tt)!==-1});var Yt=Tt.getBoundingClientRect();if(wt.avoid&&!wt.before){var Vt=Math.floor(Yt.top/dt),St=Math.floor(Yt.bottom/dt),Qt=Math.abs(Yt.bottom-Yt.top)/dt;St!==Vt&&Qt<=1&&(wt.before=!0)}if(wt.before){var cn=(0,We.createElement)("div",{style:{display:"block",height:dt-Yt.top%dt+"px"}});Tt.parentNode.insertBefore(cn,Tt)}if(wt.after){var cn=(0,We.createElement)("div",{style:{display:"block",height:dt-Yt.bottom%dt+"px"}});Tt.parentNode.insertBefore(cn,Tt.nextSibling)}})})}},"./src/utils.js":function(Ae,we,fe){"use strict";fe.r(we),fe.d(we,{objType:function(){return xt},createElement:function(){return Je},cloneNode:function(){return Lt},unitConvert:function(){return Re},toPx:function(){return Rt}});var ze=fe("./node_modules/core-js/modules/es.number.constructor.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.symbol.js"),Oe=fe.n(_e),He=fe("./node_modules/core-js/modules/es.symbol.description.js"),ke=fe.n(He),Te=fe("./node_modules/core-js/modules/es.object.to-string.js"),Pe=fe.n(Te),Xe=fe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ke=fe.n(Xe),qe=fe("./node_modules/core-js/modules/es.array.iterator.js"),We=fe.n(qe),Ze=fe("./node_modules/core-js/modules/es.string.iterator.js"),$e=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),ht=fe.n(rt);function dt(Ft){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(Tt){return typeof Tt}:dt=function(Tt){return Tt&&typeof Symbol=="function"&&Tt.constructor===Symbol&&Tt!==Symbol.prototype?"symbol":typeof Tt},dt(Ft)}var xt=function(bt){var Tt=dt(bt);return Tt==="undefined"?"undefined":Tt==="string"||bt instanceof String?"string":Tt==="number"||bt instanceof Number?"number":Tt==="function"||bt instanceof Function?"function":bt&&bt.constructor===Array?"array":bt&&bt.nodeType===1?"element":Tt==="object"?"object":"unknown"},Je=function(bt,Tt){var wt=document.createElement(bt);if(Tt.className&&(wt.className=Tt.className),Tt.innerHTML){wt.innerHTML=Tt.innerHTML;for(var it=wt.getElementsByTagName("script"),je=it.length;je-- >0;null)it[je].parentNode.removeChild(it[je])}for(var at in Tt.style)wt.style[at]=Tt.style[at];return wt},Lt=function Ft(bt,Tt){for(var wt=bt.nodeType===3?document.createTextNode(bt.nodeValue):bt.cloneNode(!1),it=bt.firstChild;it;it=it.nextSibling)(Tt===!0||it.nodeType!==1||it.nodeName!=="SCRIPT")&&wt.appendChild(Ft(it,Tt));return bt.nodeType===1&&(bt.nodeName==="CANVAS"?(wt.width=bt.width,wt.height=bt.height,wt.getContext("2d").drawImage(bt,0,0)):(bt.nodeName==="TEXTAREA"||bt.nodeName==="SELECT")&&(wt.value=bt.value),wt.addEventListener("load",function(){wt.scrollTop=bt.scrollTop,wt.scrollLeft=bt.scrollLeft},!0)),wt},Re=function(bt,Tt){if(xt(bt)==="number")return bt*72/96/Tt;var wt={};for(var it in bt)wt[it]=bt[it]*72/96/Tt;return wt},Rt=function(bt,Tt){return Math.floor(bt*Tt/72*96)}},"./src/worker.js":function(Ae,we,fe){"use strict";fe.r(we);var ze=fe("./node_modules/core-js/modules/es.object.assign.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.array.map.js"),Oe=fe.n(_e),He=fe("./node_modules/core-js/modules/es.object.keys.js"),ke=fe.n(He),Te=fe("./node_modules/core-js/modules/es.array.concat.js"),Pe=fe.n(Te),Xe=fe("./node_modules/core-js/modules/es.object.to-string.js"),Ke=fe.n(Xe),qe=fe("./node_modules/core-js/modules/es.regexp.to-string.js"),We=fe.n(qe),Ze=fe("./node_modules/core-js/modules/es.function.name.js"),$e=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ht=fe.n(rt),dt=fe("jspdf"),xt=fe.n(dt),Je=fe("html2canvas"),Lt=fe.n(Je),Re=fe("./src/utils.js"),Rt=fe("./node_modules/es6-promise/dist/es6-promise.js"),Ft=fe.n(Rt),bt=Ft().Promise,Tt=function wt(it){var je=Object.assign(wt.convert(bt.resolve()),JSON.parse(JSON.stringify(wt.template))),at=wt.convert(bt.resolve(),je);return at=at.setProgress(1,wt,1,[wt]),at=at.set(it),at};Tt.prototype=Object.create(bt.prototype),Tt.prototype.constructor=Tt,Tt.convert=function(it,je){return it.__proto__=je||Tt.prototype,it},Tt.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:{}}},Tt.prototype.from=function(it,je){function at(Yt){switch((0,Re.objType)(Yt)){case"string":return"string";case"element":return Yt.nodeName.toLowerCase&&Yt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(je=je||at(it),je){case"string":return this.set({src:(0,Re.createElement)("div",{innerHTML:it})});case"element":return this.set({src:it});case"canvas":return this.set({canvas:it});case"img":return this.set({img:it});default:return this.error("Unknown source type.")}})},Tt.prototype.to=function(it){switch(it){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.")}},Tt.prototype.toContainer=function(){var it=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(it).then(function(){var at={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Yt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};at.opacity=0;var Vt=(0,Re.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Re.createElement)("div",{className:"html2pdf__overlay",style:at}),this.prop.container=(0,Re.createElement)("div",{className:"html2pdf__container",style:Yt}),this.prop.container.appendChild(Vt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Tt.prototype.toCanvas=function(){var it=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(it).then(function(){var at=Object.assign({},this.opt.html2canvas);return delete at.onrendered,Je(this.prop.container,at)}).then(function(at){var Yt=this.opt.html2canvas.onrendered||function(){};Yt(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},Tt.prototype.toImg=function(){var it=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(it).then(function(){var at=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=at})},Tt.prototype.toPdf=function(){var it=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(it).then(function(){var at=this.prop.canvas,Yt=this.opt,Vt=at.height,St=Math.floor(at.width*this.prop.pageSize.inner.ratio),Qt=Math.ceil(Vt/St),cn=this.prop.pageSize.inner.height,Nn=document.createElement("canvas"),fn=Nn.getContext("2d");Nn.width=at.width,Nn.height=St,this.prop.pdf=this.prop.pdf||new dt.jsPDF(Yt.jsPDF);for(var Ln=0;Ln1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/to-length.js"),_e=fe("./node_modules/core-js/internals/to-absolute-index.js"),Oe=function(He){return function(ke,Te,Pe){var Xe=ze(ke),Ke=Be(Xe.length),qe=_e(Pe,Ke),We;if(He&&Te!=Te){for(;Ke>qe;)if(We=Xe[qe++],We!=We)return!0}else for(;Ke>qe;qe++)if((He||qe in Xe)&&Xe[qe]===Te)return He||qe||0;return!He&&-1}};Ae.exports={includes:Oe(!0),indexOf:Oe(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/function-bind-context.js"),Be=fe("./node_modules/core-js/internals/indexed-object.js"),_e=fe("./node_modules/core-js/internals/to-object.js"),Oe=fe("./node_modules/core-js/internals/to-length.js"),He=fe("./node_modules/core-js/internals/array-species-create.js"),ke=[].push,Te=function(Pe){var Xe=Pe==1,Ke=Pe==2,qe=Pe==3,We=Pe==4,Ze=Pe==6,$e=Pe==7,rt=Pe==5||Ze;return function(ht,dt,xt,Je){for(var Lt=_e(ht),Re=Be(Lt),Rt=ze(dt,xt,3),Ft=Oe(Re.length),bt=0,Tt=Je||He,wt=Xe?Tt(ht,Ft):Ke||$e?Tt(ht,0):void 0,it,je;Ft>bt;bt++)if((rt||bt in Re)&&(it=Re[bt],je=Rt(it,bt,Lt),Pe))if(Xe)wt[bt]=je;else if(je)switch(Pe){case 3:return!0;case 5:return it;case 6:return bt;case 2:ke.call(wt,it)}else switch(Pe){case 4:return!1;case 7:ke.call(wt,it)}return Ze?-1:qe||We?We:wt}};Ae.exports={forEach:Te(0),map:Te(1),filter:Te(2),some:Te(3),every:Te(4),find:Te(5),findIndex:Te(6),filterReject:Te(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/well-known-symbol.js"),_e=fe("./node_modules/core-js/internals/engine-v8-version.js"),Oe=Be("species");Ae.exports=function(He){return _e>=51||!ze(function(){var ke=[],Te=ke.constructor={};return Te[Oe]=function(){return{foo:1}},ke[He](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be,_e){var Oe=[][Be];return!!Oe&&ze(function(){Oe.call(null,_e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/is-array.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=_e("species");Ae.exports=function(He){var ke;return Be(He)&&(ke=He.constructor,typeof ke=="function"&&(ke===Array||Be(ke.prototype))?ke=void 0:ze(ke)&&(ke=ke[Oe],ke===null&&(ke=void 0))),ke===void 0?Array:ke}},"./node_modules/core-js/internals/array-species-create.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/array-species-constructor.js");Ae.exports=function(Be,_e){return new(ze(Be))(_e===0?0:_e)}},"./node_modules/core-js/internals/classof-raw.js":function(Ae){var we={}.toString;Ae.exports=function(fe){return we.call(fe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/classof-raw.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=_e("toStringTag"),He=Be(function(){return arguments}())=="Arguments",ke=function(Te,Pe){try{return Te[Pe]}catch(Xe){}};Ae.exports=ze?Be:function(Te){var Pe,Xe,Ke;return Te===void 0?"Undefined":Te===null?"Null":typeof(Xe=ke(Pe=Object(Te),Oe))=="string"?Xe:He?Be(Pe):(Ke=Be(Pe))=="Object"&&typeof Pe.callee=="function"?"Arguments":Ke}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/own-keys.js"),_e=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Oe=fe("./node_modules/core-js/internals/object-define-property.js");Ae.exports=function(He,ke){for(var Te=Be(ke),Pe=Oe.f,Xe=_e.f,Ke=0;Ke"+Pe+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Be=fe("./node_modules/core-js/internals/object-create.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js"),Oe=fe("./node_modules/core-js/internals/set-to-string-tag.js"),He=fe("./node_modules/core-js/internals/iterators.js"),ke=function(){return this};Ae.exports=function(Te,Pe,Xe){var Ke=Pe+" Iterator";return Te.prototype=Be(ze,{next:_e(1,Xe)}),Oe(Te,Ke,!1,!0),He[Ke]=ke,Te}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js");Ae.exports=ze?function(Oe,He,ke){return Be.f(Oe,He,_e(1,ke))}:function(Oe,He,ke){return Oe[He]=ke,Oe}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Ae){Ae.exports=function(we,fe){return{enumerable:!(we&1),configurable:!(we&2),writable:!(we&4),value:fe}}},"./node_modules/core-js/internals/create-property.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/to-property-key.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js");Ae.exports=function(Oe,He,ke){var Te=ze(He);Te in Oe?Be.f(Oe,Te,_e(0,ke)):Oe[Te]=ke}},"./node_modules/core-js/internals/define-iterator.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/create-iterator-constructor.js"),_e=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),Oe=fe("./node_modules/core-js/internals/object-set-prototype-of.js"),He=fe("./node_modules/core-js/internals/set-to-string-tag.js"),ke=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Te=fe("./node_modules/core-js/internals/redefine.js"),Pe=fe("./node_modules/core-js/internals/well-known-symbol.js"),Xe=fe("./node_modules/core-js/internals/is-pure.js"),Ke=fe("./node_modules/core-js/internals/iterators.js"),qe=fe("./node_modules/core-js/internals/iterators-core.js"),We=qe.IteratorPrototype,Ze=qe.BUGGY_SAFARI_ITERATORS,$e=Pe("iterator"),rt="keys",ht="values",dt="entries",xt=function(){return this};Ae.exports=function(Je,Lt,Re,Rt,Ft,bt,Tt){Be(Re,Lt,Rt);var wt=function(fn){if(fn===Ft&&Vt)return Vt;if(!Ze&&fn in at)return at[fn];switch(fn){case rt:return function(){return new Re(this,fn)};case ht:return function(){return new Re(this,fn)};case dt:return function(){return new Re(this,fn)}}return function(){return new Re(this)}},it=Lt+" Iterator",je=!1,at=Je.prototype,Yt=at[$e]||at["@@iterator"]||Ft&&at[Ft],Vt=!Ze&&Yt||wt(Ft),St=Lt=="Array"&&at.entries||Yt,Qt,cn,Nn;if(St&&(Qt=_e(St.call(new Je)),We!==Object.prototype&&Qt.next&&(!Xe&&_e(Qt)!==We&&(Oe?Oe(Qt,We):typeof Qt[$e]!="function"&&ke(Qt,$e,xt)),He(Qt,it,!0,!0),Xe&&(Ke[it]=xt))),Ft==ht&&Yt&&Yt.name!==ht&&(je=!0,Vt=function(){return Yt.call(this)}),(!Xe||Tt)&&at[$e]!==Vt&&ke(at,$e,Vt),Ke[Lt]=Vt,Ft)if(cn={values:wt(ht),keys:bt?Vt:wt(rt),entries:wt(dt)},Tt)for(Nn in cn)(Ze||je||!(Nn in at))&&Te(at,Nn,cn[Nn]);else ze({target:Lt,proto:!0,forced:Ze||je},cn);return cn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/path.js"),Be=fe("./node_modules/core-js/internals/has.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Oe=fe("./node_modules/core-js/internals/object-define-property.js").f;Ae.exports=function(He){var ke=ze.Symbol||(ze.Symbol={});Be(ke,He)||Oe(ke,He,{value:_e.f(He)})}},"./node_modules/core-js/internals/descriptors.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!ze(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/is-object.js"),_e=ze.document,Oe=Be(_e)&&Be(_e.createElement);Ae.exports=function(He){return Oe?_e.createElement(He):{}}},"./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,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=ze("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/engine-user-agent.js"),_e=ze.process,Oe=ze.Deno,He=_e&&_e.versions||Oe&&Oe.version,ke=He&&He.v8,Te,Pe;ke?(Te=ke.split("."),Pe=Te[0]<4?1:Te[0]+Te[1]):Be&&(Te=Be.match(/Edge\/(\d+)/),(!Te||Te[1]>=74)&&(Te=Be.match(/Chrome\/(\d+)/),Te&&(Pe=Te[1]))),Ae.exports=Pe&&+Pe},"./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,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,_e=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Oe=fe("./node_modules/core-js/internals/redefine.js"),He=fe("./node_modules/core-js/internals/set-global.js"),ke=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Te=fe("./node_modules/core-js/internals/is-forced.js");Ae.exports=function(Pe,Xe){var Ke=Pe.target,qe=Pe.global,We=Pe.stat,Ze,$e,rt,ht,dt,xt;if(qe?$e=ze:We?$e=ze[Ke]||He(Ke,{}):$e=(ze[Ke]||{}).prototype,$e)for(rt in Xe){if(dt=Xe[rt],Pe.noTargetGet?(xt=Be($e,rt),ht=xt&&xt.value):ht=$e[rt],Ze=Te(qe?rt:Ke+(We?".":"#")+rt,Pe.forced),!Ze&&ht!==void 0){if(typeof dt==typeof ht)continue;ke(dt,ht)}(Pe.sham||ht&&ht.sham)&&_e(dt,"sham",!0),Oe($e,rt,dt,Pe)}}},"./node_modules/core-js/internals/fails.js":function(Ae){Ae.exports=function(we){try{return!!we()}catch(fe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/a-function.js");Ae.exports=function(Be,_e,Oe){if(ze(Be),_e===void 0)return Be;switch(Oe){case 0:return function(){return Be.call(_e)};case 1:return function(He){return Be.call(_e,He)};case 2:return function(He,ke){return Be.call(_e,He,ke)};case 3:return function(He,ke,Te){return Be.call(_e,He,ke,Te)}}return function(){return Be.apply(_e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=function(_e){return typeof _e=="function"?_e:void 0};Ae.exports=function(_e,Oe){return arguments.length<2?Be(ze[_e]):ze[_e]&&ze[_e][Oe]}},"./node_modules/core-js/internals/global.js":function(Ae){var we=function(fe){return fe&&fe.Math==Math&&fe};Ae.exports=we(typeof globalThis=="object"&&globalThis)||we(typeof window=="object"&&window)||we(typeof self=="object"&&self)||we(typeof ce.g=="object"&&ce.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-object.js"),Be={}.hasOwnProperty;Ae.exports=Object.hasOwn||function(Oe,He){return Be.call(ze(Oe),He)}},"./node_modules/core-js/internals/hidden-keys.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/html.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=ze("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/document-create-element.js");Ae.exports=!ze&&!Be(function(){return Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/classof-raw.js"),_e="".split;Ae.exports=ze(function(){return!Object("z").propertyIsEnumerable(0)})?function(Oe){return Be(Oe)=="String"?_e.call(Oe,""):Object(Oe)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/object-set-prototype-of.js");Ae.exports=function(_e,Oe,He){var ke,Te;return Be&&typeof(ke=Oe.constructor)=="function"&&ke!==He&&ze(Te=ke.prototype)&&Te!==He.prototype&&Be(_e,Te),_e}},"./node_modules/core-js/internals/inspect-source.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/shared-store.js"),Be=Function.toString;typeof ze.inspectSource!="function"&&(ze.inspectSource=function(_e){return Be.call(_e)}),Ae.exports=ze.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/native-weak-map.js"),Be=fe("./node_modules/core-js/internals/global.js"),_e=fe("./node_modules/core-js/internals/is-object.js"),Oe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),He=fe("./node_modules/core-js/internals/has.js"),ke=fe("./node_modules/core-js/internals/shared-store.js"),Te=fe("./node_modules/core-js/internals/shared-key.js"),Pe=fe("./node_modules/core-js/internals/hidden-keys.js"),Xe="Object already initialized",Ke=Be.WeakMap,qe,We,Ze,$e=function(Re){return Ze(Re)?We(Re):qe(Re,{})},rt=function(Re){return function(Rt){var Ft;if(!_e(Rt)||(Ft=We(Rt)).type!==Re)throw TypeError("Incompatible receiver, "+Re+" required");return Ft}};if(ze||ke.state){var ht=ke.state||(ke.state=new Ke),dt=ht.get,xt=ht.has,Je=ht.set;qe=function(Re,Rt){if(xt.call(ht,Re))throw new TypeError(Xe);return Rt.facade=Re,Je.call(ht,Re,Rt),Rt},We=function(Re){return dt.call(ht,Re)||{}},Ze=function(Re){return xt.call(ht,Re)}}else{var Lt=Te("state");Pe[Lt]=!0,qe=function(Re,Rt){if(He(Re,Lt))throw new TypeError(Xe);return Rt.facade=Re,Oe(Re,Lt,Rt),Rt},We=function(Re){return He(Re,Lt)?Re[Lt]:{}},Ze=function(Re){return He(Re,Lt)}}Ae.exports={set:qe,get:We,has:Ze,enforce:$e,getterFor:rt}},"./node_modules/core-js/internals/is-array.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/classof-raw.js");Ae.exports=Array.isArray||function(_e){return ze(_e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js"),Be=/#|\.prototype\./,_e=function(Pe,Xe){var Ke=He[Oe(Pe)];return Ke==Te?!0:Ke==ke?!1:typeof Xe=="function"?ze(Xe):!!Xe},Oe=_e.normalize=function(Pe){return String(Pe).replace(Be,".").toLowerCase()},He=_e.data={},ke=_e.NATIVE="N",Te=_e.POLYFILL="P";Ae.exports=_e},"./node_modules/core-js/internals/is-object.js":function(Ae){Ae.exports=function(we){return typeof we=="object"?we!==null:typeof we=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Ae){Ae.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js"),Be=fe("./node_modules/core-js/internals/use-symbol-as-uid.js");Ae.exports=Be?function(_e){return typeof _e=="symbol"}:function(_e){var Oe=ze("Symbol");return typeof Oe=="function"&&Object(_e)instanceof Oe}},"./node_modules/core-js/internals/iterators-core.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),_e=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Oe=fe("./node_modules/core-js/internals/has.js"),He=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=fe("./node_modules/core-js/internals/is-pure.js"),Te=He("iterator"),Pe=!1,Xe=function(){return this},Ke,qe,We;[].keys&&(We=[].keys(),"next"in We?(qe=Be(Be(We)),qe!==Object.prototype&&(Ke=qe)):Pe=!0);var Ze=Ke==null||ze(function(){var $e={};return Ke[Te].call($e)!==$e});Ze&&(Ke={}),(!ke||Ze)&&!Oe(Ke,Te)&&_e(Ke,Te,Xe),Ae.exports={IteratorPrototype:Ke,BUGGY_SAFARI_ITERATORS:Pe}},"./node_modules/core-js/internals/iterators.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/engine-v8-version.js"),Be=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!!Object.getOwnPropertySymbols&&!Be(function(){var _e=Symbol();return!String(_e)||!(Object(_e)instanceof Symbol)||!Symbol.sham&&ze&&ze<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/inspect-source.js"),_e=ze.WeakMap;Ae.exports=typeof _e=="function"&&/native code/.test(Be(_e))},"./node_modules/core-js/internals/object-assign.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/object-keys.js"),Oe=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),He=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ke=fe("./node_modules/core-js/internals/to-object.js"),Te=fe("./node_modules/core-js/internals/indexed-object.js"),Pe=Object.assign,Xe=Object.defineProperty;Ae.exports=!Pe||Be(function(){if(ze&&Pe({b:1},Pe(Xe({},"a",{enumerable:!0,get:function(){Xe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Ke={},qe={},We=Symbol(),Ze="abcdefghijklmnopqrst";return Ke[We]=7,Ze.split("").forEach(function($e){qe[$e]=$e}),Pe({},Ke)[We]!=7||_e(Pe({},qe)).join("")!=Ze})?function(qe,We){for(var Ze=ke(qe),$e=arguments.length,rt=1,ht=Oe.f,dt=He.f;$e>rt;)for(var xt=Te(arguments[rt++]),Je=ht?_e(xt).concat(ht(xt)):_e(xt),Lt=Je.length,Re=0,Rt;Lt>Re;)Rt=Je[Re++],(!ze||dt.call(xt,Rt))&&(Ze[Rt]=xt[Rt]);return Ze}:Pe},"./node_modules/core-js/internals/object-create.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/an-object.js"),Be=fe("./node_modules/core-js/internals/object-define-properties.js"),_e=fe("./node_modules/core-js/internals/enum-bug-keys.js"),Oe=fe("./node_modules/core-js/internals/hidden-keys.js"),He=fe("./node_modules/core-js/internals/html.js"),ke=fe("./node_modules/core-js/internals/document-create-element.js"),Te=fe("./node_modules/core-js/internals/shared-key.js"),Pe=">",Xe="<",Ke="prototype",qe="script",We=Te("IE_PROTO"),Ze=function(){},$e=function(Je){return Xe+qe+Pe+Je+Xe+"/"+qe+Pe},rt=function(Je){Je.write($e("")),Je.close();var Lt=Je.parentWindow.Object;return Je=null,Lt},ht=function(){var Je=ke("iframe"),Lt="java"+qe+":",Re;if(Je.style)return Je.style.display="none",He.appendChild(Je),Je.src=String(Lt),Re=Je.contentWindow.document,Re.open(),Re.write($e("document.F=Object")),Re.close(),Re.F},dt,xt=function(){try{dt=new ActiveXObject("htmlfile")}catch(Lt){}xt=document.domain&&dt?rt(dt):ht()||rt(dt);for(var Je=_e.length;Je--;)delete xt[Ke][_e[Je]];return xt()};Oe[We]=!0,Ae.exports=Object.create||function(Lt,Re){var Rt;return Lt!==null?(Ze[Ke]=ze(Lt),Rt=new Ze,Ze[Ke]=null,Rt[We]=Lt):Rt=xt(),Re===void 0?Rt:Be(Rt,Re)}},"./node_modules/core-js/internals/object-define-properties.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/an-object.js"),Oe=fe("./node_modules/core-js/internals/object-keys.js");Ae.exports=ze?Object.defineProperties:function(ke,Te){_e(ke);for(var Pe=Oe(Te),Xe=Pe.length,Ke=0,qe;Xe>Ke;)Be.f(ke,qe=Pe[Ke++],Te[qe]);return ke}},"./node_modules/core-js/internals/object-define-property.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/ie8-dom-define.js"),_e=fe("./node_modules/core-js/internals/an-object.js"),Oe=fe("./node_modules/core-js/internals/to-property-key.js"),He=Object.defineProperty;we.f=ze?He:function(Te,Pe,Xe){if(_e(Te),Pe=Oe(Pe),_e(Xe),Be)try{return He(Te,Pe,Xe)}catch(Ke){}if("get"in Xe||"set"in Xe)throw TypeError("Accessors not supported");return"value"in Xe&&(Te[Pe]=Xe.value),Te}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js"),Oe=fe("./node_modules/core-js/internals/to-indexed-object.js"),He=fe("./node_modules/core-js/internals/to-property-key.js"),ke=fe("./node_modules/core-js/internals/has.js"),Te=fe("./node_modules/core-js/internals/ie8-dom-define.js"),Pe=Object.getOwnPropertyDescriptor;we.f=ze?Pe:function(Ke,qe){if(Ke=Oe(Ke),qe=He(qe),Te)try{return Pe(Ke,qe)}catch(We){}if(ke(Ke,qe))return _e(!Be.f.call(Ke,qe),Ke[qe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-names.js").f,_e={}.toString,Oe=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],He=function(ke){try{return Be(ke)}catch(Te){return Oe.slice()}};Ae.exports.f=function(Te){return Oe&&_e.call(Te)=="[object Window]"?He(Te):Be(ze(Te))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/object-keys-internal.js"),Be=fe("./node_modules/core-js/internals/enum-bug-keys.js"),_e=Be.concat("length","prototype");we.f=Object.getOwnPropertyNames||function(He){return ze(He,_e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Ae,we){we.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/to-object.js"),_e=fe("./node_modules/core-js/internals/shared-key.js"),Oe=fe("./node_modules/core-js/internals/correct-prototype-getter.js"),He=_e("IE_PROTO"),ke=Object.prototype;Ae.exports=Oe?Object.getPrototypeOf:function(Te){return Te=Be(Te),ze(Te,He)?Te[He]:typeof Te.constructor=="function"&&Te instanceof Te.constructor?Te.constructor.prototype:Te instanceof Object?ke:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/to-indexed-object.js"),_e=fe("./node_modules/core-js/internals/array-includes.js").indexOf,Oe=fe("./node_modules/core-js/internals/hidden-keys.js");Ae.exports=function(He,ke){var Te=Be(He),Pe=0,Xe=[],Ke;for(Ke in Te)!ze(Oe,Ke)&&ze(Te,Ke)&&Xe.push(Ke);for(;ke.length>Pe;)ze(Te,Ke=ke[Pe++])&&(~_e(Xe,Ke)||Xe.push(Ke));return Xe}},"./node_modules/core-js/internals/object-keys.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/object-keys-internal.js"),Be=fe("./node_modules/core-js/internals/enum-bug-keys.js");Ae.exports=Object.keys||function(Oe){return ze(Oe,Be)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Ae,we){"use strict";var fe={}.propertyIsEnumerable,ze=Object.getOwnPropertyDescriptor,Be=ze&&!fe.call({1:2},1);we.f=Be?function(Oe){var He=ze(this,Oe);return!!He&&He.enumerable}:fe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/an-object.js"),Be=fe("./node_modules/core-js/internals/a-possible-prototype.js");Ae.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _e=!1,Oe={},He;try{He=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,He.call(Oe,[]),_e=Oe instanceof Array}catch(ke){}return function(Te,Pe){return ze(Te),Be(Pe),_e?He.call(Te,Pe):Te.__proto__=Pe,Te}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/classof.js");Ae.exports=ze?{}.toString:function(){return"[object "+Be(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be,_e){var Oe,He;if(_e==="string"&&typeof(Oe=Be.toString)=="function"&&!ze(He=Oe.call(Be))||typeof(Oe=Be.valueOf)=="function"&&!ze(He=Oe.call(Be))||_e!=="string"&&typeof(Oe=Be.toString)=="function"&&!ze(He=Oe.call(Be)))return He;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),_e=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Oe=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=ze("Reflect","ownKeys")||function(ke){var Te=Be.f(Oe(ke)),Pe=_e.f;return Pe?Te.concat(Pe(ke)):Te}},"./node_modules/core-js/internals/path.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js");Ae.exports=ze},"./node_modules/core-js/internals/redefine.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),_e=fe("./node_modules/core-js/internals/has.js"),Oe=fe("./node_modules/core-js/internals/set-global.js"),He=fe("./node_modules/core-js/internals/inspect-source.js"),ke=fe("./node_modules/core-js/internals/internal-state.js"),Te=ke.get,Pe=ke.enforce,Xe=String(String).split("String");(Ae.exports=function(Ke,qe,We,Ze){var $e=Ze?!!Ze.unsafe:!1,rt=Ze?!!Ze.enumerable:!1,ht=Ze?!!Ze.noTargetGet:!1,dt;if(typeof We=="function"&&(typeof qe=="string"&&!_e(We,"name")&&Be(We,"name",qe),dt=Pe(We),dt.source||(dt.source=Xe.join(typeof qe=="string"?qe:""))),Ke===ze){rt?Ke[qe]=We:Oe(qe,We);return}else $e?!ht&&Ke[qe]&&(rt=!0):delete Ke[qe];rt?Ke[qe]=We:Be(Ke,qe,We)})(Function.prototype,"toString",function(){return typeof this=="function"&&Te(this).source||He(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=function(){var Be=ze(this),_e="";return Be.global&&(_e+="g"),Be.ignoreCase&&(_e+="i"),Be.multiline&&(_e+="m"),Be.dotAll&&(_e+="s"),Be.unicode&&(_e+="u"),Be.sticky&&(_e+="y"),_e}},"./node_modules/core-js/internals/require-object-coercible.js":function(Ae){Ae.exports=function(we){if(we==null)throw TypeError("Can't call method on "+we);return we}},"./node_modules/core-js/internals/set-global.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js");Ae.exports=function(Be,_e){try{Object.defineProperty(ze,Be,{value:_e,configurable:!0,writable:!0})}catch(Oe){ze[Be]=_e}return _e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/object-define-property.js").f,Be=fe("./node_modules/core-js/internals/has.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=_e("toStringTag");Ae.exports=function(He,ke,Te){He&&!Be(He=Te?He:He.prototype,Oe)&&ze(He,Oe,{configurable:!0,value:ke})}},"./node_modules/core-js/internals/shared-key.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/shared.js"),Be=fe("./node_modules/core-js/internals/uid.js"),_e=ze("keys");Ae.exports=function(Oe){return _e[Oe]||(_e[Oe]=Be(Oe))}},"./node_modules/core-js/internals/shared-store.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/set-global.js"),_e="__core-js_shared__",Oe=ze[_e]||Be(_e,{});Ae.exports=Oe},"./node_modules/core-js/internals/shared.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-pure.js"),Be=fe("./node_modules/core-js/internals/shared-store.js");(Ae.exports=function(_e,Oe){return Be[_e]||(Be[_e]=Oe!==void 0?Oe:{})})("versions",[]).push({version:"3.16.0",mode:ze?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be){return ze(function(){var _e=""[Be]('"');return _e!==_e.toLowerCase()||_e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-integer.js"),Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/require-object-coercible.js"),Oe=function(He){return function(ke,Te){var Pe=Be(_e(ke)),Xe=ze(Te),Ke=Pe.length,qe,We;return Xe<0||Xe>=Ke?He?"":void 0:(qe=Pe.charCodeAt(Xe),qe<55296||qe>56319||Xe+1===Ke||(We=Pe.charCodeAt(Xe+1))<56320||We>57343?He?Pe.charAt(Xe):qe:He?Pe.slice(Xe,Xe+2):(qe-55296<<10)+(We-56320)+65536)}};Ae.exports={codeAt:Oe(!1),charAt:Oe(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/require-object-coercible.js"),Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/whitespaces.js"),Oe="["+_e+"]",He=RegExp("^"+Oe+Oe+"*"),ke=RegExp(Oe+Oe+"*$"),Te=function(Pe){return function(Xe){var Ke=Be(ze(Xe));return Pe&1&&(Ke=Ke.replace(He,"")),Pe&2&&(Ke=Ke.replace(ke,"")),Ke}};Ae.exports={start:Te(1),end:Te(2),trim:Te(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.max,_e=Math.min;Ae.exports=function(Oe,He){var ke=ze(Oe);return ke<0?Be(ke+He,0):_e(ke,He)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/indexed-object.js"),Be=fe("./node_modules/core-js/internals/require-object-coercible.js");Ae.exports=function(_e){return ze(Be(_e))}},"./node_modules/core-js/internals/to-integer.js":function(Ae){var we=Math.ceil,fe=Math.floor;Ae.exports=function(ze){return isNaN(ze=+ze)?0:(ze>0?fe:we)(ze)}},"./node_modules/core-js/internals/to-length.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.min;Ae.exports=function(_e){return _e>0?Be(ze(_e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/require-object-coercible.js");Ae.exports=function(Be){return Object(ze(Be))}},"./node_modules/core-js/internals/to-primitive.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/is-symbol.js"),_e=fe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Oe=fe("./node_modules/core-js/internals/well-known-symbol.js"),He=Oe("toPrimitive");Ae.exports=function(ke,Te){if(!ze(ke)||Be(ke))return ke;var Pe=ke[He],Xe;if(Pe!==void 0){if(Te===void 0&&(Te="default"),Xe=Pe.call(ke,Te),!ze(Xe)||Be(Xe))return Xe;throw TypeError("Can't convert object to primitive value")}return Te===void 0&&(Te="number"),_e(ke,Te)}},"./node_modules/core-js/internals/to-property-key.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-primitive.js"),Be=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(_e){var Oe=ze(_e,"string");return Be(Oe)?Oe:String(Oe)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/well-known-symbol.js"),Be=ze("toStringTag"),_e={};_e[Be]="z",Ae.exports=String(_e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(Be){if(ze(Be))throw TypeError("Cannot convert a Symbol value to a string");return String(Be)}},"./node_modules/core-js/internals/uid.js":function(Ae){var we=0,fe=Math.random();Ae.exports=function(ze){return"Symbol("+String(ze===void 0?"":ze)+")_"+(++we+fe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/native-symbol.js");Ae.exports=ze&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/well-known-symbol.js");we.f=ze},"./node_modules/core-js/internals/well-known-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/shared.js"),_e=fe("./node_modules/core-js/internals/has.js"),Oe=fe("./node_modules/core-js/internals/uid.js"),He=fe("./node_modules/core-js/internals/native-symbol.js"),ke=fe("./node_modules/core-js/internals/use-symbol-as-uid.js"),Te=Be("wks"),Pe=ze.Symbol,Xe=ke?Pe:Pe&&Pe.withoutSetter||Oe;Ae.exports=function(Ke){return(!_e(Te,Ke)||!(He||typeof Te[Ke]=="string"))&&(He&&_e(Pe,Ke)?Te[Ke]=Pe[Ke]:Te[Ke]=Xe("Symbol."+Ke)),Te[Ke]}},"./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,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/is-array.js"),Oe=fe("./node_modules/core-js/internals/is-object.js"),He=fe("./node_modules/core-js/internals/to-object.js"),ke=fe("./node_modules/core-js/internals/to-length.js"),Te=fe("./node_modules/core-js/internals/create-property.js"),Pe=fe("./node_modules/core-js/internals/array-species-create.js"),Xe=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=fe("./node_modules/core-js/internals/well-known-symbol.js"),qe=fe("./node_modules/core-js/internals/engine-v8-version.js"),We=Ke("isConcatSpreadable"),Ze=9007199254740991,$e="Maximum allowed index exceeded",rt=qe>=51||!Be(function(){var Je=[];return Je[We]=!1,Je.concat()[0]!==Je}),ht=Xe("concat"),dt=function(Je){if(!Oe(Je))return!1;var Lt=Je[We];return Lt!==void 0?!!Lt:_e(Je)},xt=!rt||!ht;ze({target:"Array",proto:!0,forced:xt},{concat:function(Lt){var Re=He(this),Rt=Pe(Re,0),Ft=0,bt,Tt,wt,it,je;for(bt=-1,wt=arguments.length;btZe)throw TypeError($e);for(Tt=0;Tt=Ze)throw TypeError($e);Te(Rt,Ft++,je)}return Rt.length=Ft,Rt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/add-to-unscopables.js"),_e=fe("./node_modules/core-js/internals/iterators.js"),Oe=fe("./node_modules/core-js/internals/internal-state.js"),He=fe("./node_modules/core-js/internals/define-iterator.js"),ke="Array Iterator",Te=Oe.set,Pe=Oe.getterFor(ke);Ae.exports=He(Array,"Array",function(Xe,Ke){Te(this,{type:ke,target:ze(Xe),index:0,kind:Ke})},function(){var Xe=Pe(this),Ke=Xe.target,qe=Xe.kind,We=Xe.index++;return!Ke||We>=Ke.length?(Xe.target=void 0,{value:void 0,done:!0}):qe=="keys"?{value:We,done:!1}:qe=="values"?{value:Ke[We],done:!1}:{value:[We,Ke[We]],done:!1}},"values"),_e.Arguments=_e.Array,Be("keys"),Be("values"),Be("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/indexed-object.js"),_e=fe("./node_modules/core-js/internals/to-indexed-object.js"),Oe=fe("./node_modules/core-js/internals/array-method-is-strict.js"),He=[].join,ke=Be!=Object,Te=Oe("join",",");ze({target:"Array",proto:!0,forced:ke||!Te},{join:function(Xe){return He.call(_e(this),Xe===void 0?",":Xe)}})},"./node_modules/core-js/modules/es.array.map.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/array-iteration.js").map,_e=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),Oe=_e("map");ze({target:"Array",proto:!0,forced:!Oe},{map:function(ke){return Be(this,ke,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/is-object.js"),_e=fe("./node_modules/core-js/internals/is-array.js"),Oe=fe("./node_modules/core-js/internals/to-absolute-index.js"),He=fe("./node_modules/core-js/internals/to-length.js"),ke=fe("./node_modules/core-js/internals/to-indexed-object.js"),Te=fe("./node_modules/core-js/internals/create-property.js"),Pe=fe("./node_modules/core-js/internals/well-known-symbol.js"),Xe=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=Xe("slice"),qe=Pe("species"),We=[].slice,Ze=Math.max;ze({target:"Array",proto:!0,forced:!Ke},{slice:function(rt,ht){var dt=ke(this),xt=He(dt.length),Je=Oe(rt,xt),Lt=Oe(ht===void 0?xt:ht,xt),Re,Rt,Ft;if(_e(dt)&&(Re=dt.constructor,typeof Re=="function"&&(Re===Array||_e(Re.prototype))?Re=void 0:Be(Re)&&(Re=Re[qe],Re===null&&(Re=void 0)),Re===Array||Re===void 0))return We.call(dt,Je,Lt);for(Rt=new(Re===void 0?Array:Re)(Ze(Lt-Je,0)),Ft=0;Je2){if(wt=rt(wt),it=wt.charCodeAt(0),it===43||it===45){if(je=wt.charCodeAt(2),je===88||je===120)return NaN}else if(it===48){switch(wt.charCodeAt(1)){case 66:case 98:at=2,Yt=49;break;case 79:case 111:at=8,Yt=55;break;default:return+wt}for(Vt=wt.slice(2),St=Vt.length,Qt=0;QtYt)return NaN;return parseInt(Vt,at)}}return+wt};if(_e(ht,!dt(" 0o1")||!dt("0b1")||dt("+0x1"))){for(var Re=function(wt){var it=arguments.length<1?0:wt,je=this;return je instanceof Re&&(Je?Ke(function(){xt.valueOf.call(je)}):ke(je)!=ht)?Te(new dt(Lt(it)),je,Re):Lt(it)},Rt=ze?We(dt):"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(","),Ft=0,bt;Rt.length>Ft;Ft++)He(dt,bt=Rt[Ft])&&!He(Re,bt)&&$e(Re,bt,Ze(dt,bt));Re.prototype=xt,xt.constructor=Re,Oe(Be,ht,Re)}},"./node_modules/core-js/modules/es.object.assign.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/object-assign.js");ze({target:"Object",stat:!0,forced:Object.assign!==Be},{assign:Be})},"./node_modules/core-js/modules/es.object.keys.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/to-object.js"),_e=fe("./node_modules/core-js/internals/object-keys.js"),Oe=fe("./node_modules/core-js/internals/fails.js"),He=Oe(function(){_e(1)});ze({target:"Object",stat:!0,forced:He},{keys:function(Te){return _e(Be(Te))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/redefine.js"),_e=fe("./node_modules/core-js/internals/object-to-string.js");ze||Be(Object.prototype,"toString",_e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/redefine.js"),Be=fe("./node_modules/core-js/internals/an-object.js"),_e=fe("./node_modules/core-js/internals/to-string.js"),Oe=fe("./node_modules/core-js/internals/fails.js"),He=fe("./node_modules/core-js/internals/regexp-flags.js"),ke="toString",Te=RegExp.prototype,Pe=Te[ke],Xe=Oe(function(){return Pe.call({source:"a",flags:"b"})!="/a/b"}),Ke=Pe.name!=ke;(Xe||Ke)&&ze(RegExp.prototype,ke,function(){var We=Be(this),Ze=_e(We.source),$e=We.flags,rt=_e($e===void 0&&We instanceof RegExp&&!("flags"in Te)?He.call(We):$e);return"/"+Ze+"/"+rt},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/string-multibyte.js").charAt,Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/internal-state.js"),Oe=fe("./node_modules/core-js/internals/define-iterator.js"),He="String Iterator",ke=_e.set,Te=_e.getterFor(He);Oe(String,"String",function(Pe){ke(this,{type:He,string:Be(Pe),index:0})},function(){var Xe=Te(this),Ke=Xe.string,qe=Xe.index,We;return qe>=Ke.length?{value:void 0,done:!0}:(We=ze(Ke,qe),Xe.index+=We.length,{value:We,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/create-html.js"),_e=fe("./node_modules/core-js/internals/string-html-forced.js");ze({target:"String",proto:!0,forced:_e("link")},{link:function(He){return Be(this,"a","href",He)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/descriptors.js"),_e=fe("./node_modules/core-js/internals/global.js"),Oe=fe("./node_modules/core-js/internals/has.js"),He=fe("./node_modules/core-js/internals/is-object.js"),ke=fe("./node_modules/core-js/internals/object-define-property.js").f,Te=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Pe=_e.Symbol;if(Be&&typeof Pe=="function"&&(!("description"in Pe.prototype)||Pe().description!==void 0)){var Xe={},Ke=function(){var ht=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),dt=this instanceof Ke?new Pe(ht):ht===void 0?Pe():Pe(ht);return ht===""&&(Xe[dt]=!0),dt};Te(Ke,Pe);var qe=Ke.prototype=Pe.prototype;qe.constructor=Ke;var We=qe.toString,Ze=String(Pe("test"))=="Symbol(test)",$e=/^Symbol\((.*)\)[^)]+$/;ke(qe,"description",{configurable:!0,get:function(){var ht=He(this)?this.valueOf():this,dt=We.call(ht);if(Oe(Xe,ht))return"";var xt=Ze?dt.slice(7,-1):dt.replace($e,"$1");return xt===""?void 0:xt}}),ze({global:!0,forced:!0},{Symbol:Ke})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/define-well-known-symbol.js");ze("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/global.js"),_e=fe("./node_modules/core-js/internals/get-built-in.js"),Oe=fe("./node_modules/core-js/internals/is-pure.js"),He=fe("./node_modules/core-js/internals/descriptors.js"),ke=fe("./node_modules/core-js/internals/native-symbol.js"),Te=fe("./node_modules/core-js/internals/fails.js"),Pe=fe("./node_modules/core-js/internals/has.js"),Xe=fe("./node_modules/core-js/internals/is-array.js"),Ke=fe("./node_modules/core-js/internals/is-object.js"),qe=fe("./node_modules/core-js/internals/is-symbol.js"),We=fe("./node_modules/core-js/internals/an-object.js"),Ze=fe("./node_modules/core-js/internals/to-object.js"),$e=fe("./node_modules/core-js/internals/to-indexed-object.js"),rt=fe("./node_modules/core-js/internals/to-property-key.js"),ht=fe("./node_modules/core-js/internals/to-string.js"),dt=fe("./node_modules/core-js/internals/create-property-descriptor.js"),xt=fe("./node_modules/core-js/internals/object-create.js"),Je=fe("./node_modules/core-js/internals/object-keys.js"),Lt=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),Re=fe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Rt=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ft=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),bt=fe("./node_modules/core-js/internals/object-define-property.js"),Tt=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),wt=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),it=fe("./node_modules/core-js/internals/redefine.js"),je=fe("./node_modules/core-js/internals/shared.js"),at=fe("./node_modules/core-js/internals/shared-key.js"),Yt=fe("./node_modules/core-js/internals/hidden-keys.js"),Vt=fe("./node_modules/core-js/internals/uid.js"),St=fe("./node_modules/core-js/internals/well-known-symbol.js"),Qt=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),cn=fe("./node_modules/core-js/internals/define-well-known-symbol.js"),Nn=fe("./node_modules/core-js/internals/set-to-string-tag.js"),fn=fe("./node_modules/core-js/internals/internal-state.js"),Ln=fe("./node_modules/core-js/internals/array-iteration.js").forEach,Cn=at("hidden"),Bn="Symbol",gn="prototype",Se=St("toPrimitive"),Fe=fn.set,ie=fn.getterFor(Bn),ae=Object[gn],se=Be.Symbol,oe=_e("JSON","stringify"),Ye=Ft.f,vt=bt.f,et=Re.f,lt=Tt.f,Pt=je("symbols"),Mt=je("op-symbols"),kt=je("string-to-symbol-registry"),$t=je("symbol-to-string-registry"),Sn=je("wks"),Bt=Be.QObject,nn=!Bt||!Bt[gn]||!Bt[gn].findChild,tn=He&&Te(function(){return xt(vt({},"a",{get:function(){return vt(this,"a",{value:7}).a}})).a!=7})?function(Qr,vr,Ar){var Tr=Ye(ae,vr);Tr&&delete ae[vr],vt(Qr,vr,Ar),Tr&&Qr!==ae&&vt(ae,vr,Tr)}:vt,zt=function(Qr,vr){var Ar=Pt[Qr]=xt(se[gn]);return Fe(Ar,{type:Bn,tag:Qr,description:vr}),He||(Ar.description=vr),Ar},pt=function(vr,Ar,Tr){vr===ae&&pt(Mt,Ar,Tr),We(vr);var Bi=rt(Ar);return We(Tr),Pe(Pt,Bi)?(Tr.enumerable?(Pe(vr,Cn)&&vr[Cn][Bi]&&(vr[Cn][Bi]=!1),Tr=xt(Tr,{enumerable:dt(0,!1)})):(Pe(vr,Cn)||vt(vr,Cn,dt(1,{})),vr[Cn][Bi]=!0),tn(vr,Bi,Tr)):vt(vr,Bi,Tr)},Wt=function(vr,Ar){We(vr);var Tr=$e(Ar),Bi=Je(Tr).concat(Lr(Tr));return Ln(Bi,function($i){(!He||xn.call(Tr,$i))&&pt(vr,$i,Tr[$i])}),vr},vn=function(vr,Ar){return Ar===void 0?xt(vr):Wt(xt(vr),Ar)},xn=function(vr){var Ar=rt(vr),Tr=lt.call(this,Ar);return this===ae&&Pe(Pt,Ar)&&!Pe(Mt,Ar)?!1:Tr||!Pe(this,Ar)||!Pe(Pt,Ar)||Pe(this,Cn)&&this[Cn][Ar]?Tr:!0},Wn=function(vr,Ar){var Tr=$e(vr),Bi=rt(Ar);if(!(Tr===ae&&Pe(Pt,Bi)&&!Pe(Mt,Bi))){var $i=Ye(Tr,Bi);return $i&&Pe(Pt,Bi)&&!(Pe(Tr,Cn)&&Tr[Cn][Bi])&&($i.enumerable=!0),$i}},br=function(vr){var Ar=et($e(vr)),Tr=[];return Ln(Ar,function(Bi){!Pe(Pt,Bi)&&!Pe(Yt,Bi)&&Tr.push(Bi)}),Tr},Lr=function(vr){var Ar=vr===ae,Tr=et(Ar?Mt:$e(vr)),Bi=[];return Ln(Tr,function($i){Pe(Pt,$i)&&(!Ar||Pe(ae,$i))&&Bi.push(Pt[$i])}),Bi};if(ke||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var vr=!arguments.length||arguments[0]===void 0?void 0:ht(arguments[0]),Ar=Vt(vr),Tr=function(Bi){this===ae&&Tr.call(Mt,Bi),Pe(this,Cn)&&Pe(this[Cn],Ar)&&(this[Cn][Ar]=!1),tn(this,Ar,dt(1,Bi))};return He&&nn&&tn(ae,Ar,{configurable:!0,set:Tr}),zt(Ar,vr)},it(se[gn],"toString",function(){return ie(this).tag}),it(se,"withoutSetter",function(Qr){return zt(Vt(Qr),Qr)}),Tt.f=xn,bt.f=pt,Ft.f=Wn,Lt.f=Re.f=br,Rt.f=Lr,Qt.f=function(Qr){return zt(St(Qr),Qr)},He&&(vt(se[gn],"description",{configurable:!0,get:function(){return ie(this).description}}),Oe||it(ae,"propertyIsEnumerable",xn,{unsafe:!0}))),ze({global:!0,wrap:!0,forced:!ke,sham:!ke},{Symbol:se}),Ln(Je(Sn),function(Qr){cn(Qr)}),ze({target:Bn,stat:!0,forced:!ke},{for:function(Qr){var vr=ht(Qr);if(Pe(kt,vr))return kt[vr];var Ar=se(vr);return kt[vr]=Ar,$t[Ar]=vr,Ar},keyFor:function(vr){if(!qe(vr))throw TypeError(vr+" is not a symbol");if(Pe($t,vr))return $t[vr]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),ze({target:"Object",stat:!0,forced:!ke,sham:!He},{create:vn,defineProperty:pt,defineProperties:Wt,getOwnPropertyDescriptor:Wn}),ze({target:"Object",stat:!0,forced:!ke},{getOwnPropertyNames:br,getOwnPropertySymbols:Lr}),ze({target:"Object",stat:!0,forced:Te(function(){Rt.f(1)})},{getOwnPropertySymbols:function(vr){return Rt.f(Ze(vr))}}),oe){var jr=!ke||Te(function(){var Qr=se();return oe([Qr])!="[null]"||oe({a:Qr})!="{}"||oe(Object(Qr))!="{}"});ze({target:"JSON",stat:!0,forced:jr},{stringify:function(vr,Ar,Tr){for(var Bi=[vr],$i=1,mi;arguments.length>$i;)Bi.push(arguments[$i++]);if(mi=Ar,!(!Ke(Ar)&&vr===void 0||qe(vr)))return Xe(Ar)||(Ar=function(Mi,pa){if(typeof mi=="function"&&(pa=mi.call(this,Mi,pa)),!qe(pa))return pa}),Bi[1]=Ar,oe.apply(null,Bi)}})}se[gn][Se]||wt(se[gn],Se,se[gn].valueOf),Nn(se,Bn),Yt[Cn]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/dom-iterables.js"),_e=fe("./node_modules/core-js/internals/array-for-each.js"),Oe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var He in Be){var ke=ze[He],Te=ke&&ke.prototype;if(Te&&Te.forEach!==_e)try{Oe(Te,"forEach",_e)}catch(Pe){Te.forEach=_e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/dom-iterables.js"),_e=fe("./node_modules/core-js/modules/es.array.iterator.js"),Oe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),He=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=He("iterator"),Te=He("toStringTag"),Pe=_e.values;for(var Xe in Be){var Ke=ze[Xe],qe=Ke&&Ke.prototype;if(qe){if(qe[ke]!==Pe)try{Oe(qe,ke,Pe)}catch(Ze){qe[ke]=Pe}if(qe[Te]||Oe(qe,Te,Xe),Be[Xe]){for(var We in _e)if(qe[We]!==_e[We])try{Oe(qe,We,_e[We])}catch(Ze){qe[We]=_e[We]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Ae){(function(we,fe){Ae.exports=fe()})(this,function(){"use strict";function we(Bt){var nn=typeof Bt;return Bt!==null&&(nn==="object"||nn==="function")}function fe(Bt){return typeof Bt=="function"}var ze=void 0;Array.isArray?ze=Array.isArray:ze=function(Bt){return Object.prototype.toString.call(Bt)==="[object Array]"};var Be=ze,_e=0,Oe=void 0,He=void 0,ke=function(nn,tn){Je[_e]=nn,Je[_e+1]=tn,_e+=2,_e===2&&(He?He(Lt):Rt())};function Te(Bt){He=Bt}function Pe(Bt){ke=Bt}var Xe=typeof window!="undefined"?window:void 0,Ke=Xe||{},qe=Ke.MutationObserver||Ke.WebKitMutationObserver,We=typeof self=="undefined"&&typeof he!="undefined"&&{}.toString.call(he)==="[object process]",Ze=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function $e(){return function(){return he.nextTick(Lt)}}function rt(){return typeof Oe!="undefined"?function(){Oe(Lt)}:xt()}function ht(){var Bt=0,nn=new qe(Lt),tn=document.createTextNode("");return nn.observe(tn,{characterData:!0}),function(){tn.data=Bt=++Bt%2}}function dt(){var Bt=new MessageChannel;return Bt.port1.onmessage=Lt,function(){return Bt.port2.postMessage(0)}}function xt(){var Bt=setTimeout;return function(){return Bt(Lt,1)}}var Je=new Array(1e3);function Lt(){for(var Bt=0;Bt<_e;Bt+=2){var nn=Je[Bt],tn=Je[Bt+1];nn(tn),Je[Bt]=void 0,Je[Bt+1]=void 0}_e=0}function Re(){try{var Bt=Function("return this")().require("vertx");return Oe=Bt.runOnLoop||Bt.runOnContext,rt()}catch(nn){return xt()}}var Rt=void 0;We?Rt=$e():qe?Rt=ht():Ze?Rt=dt():Xe===void 0?Rt=Re():Rt=xt();function Ft(Bt,nn){var tn=this,zt=new this.constructor(wt);zt[Tt]===void 0&&oe(zt);var pt=tn._state;if(pt){var Wt=arguments[pt-1];ke(function(){return Fe(pt,zt,Wt,tn._result)})}else gn(tn,zt,Bt,nn);return zt}function bt(Bt){var nn=this;if(Bt&&typeof Bt=="object"&&Bt.constructor===nn)return Bt;var tn=new nn(wt);return fn(tn,Bt),tn}var Tt=Math.random().toString(36).substring(2);function wt(){}var it=void 0,je=1,at=2;function Yt(){return new TypeError("You cannot resolve a promise with itself")}function Vt(){return new TypeError("A promises callback cannot return that same promise.")}function St(Bt,nn,tn,zt){try{Bt.call(nn,tn,zt)}catch(pt){return pt}}function Qt(Bt,nn,tn){ke(function(zt){var pt=!1,Wt=St(tn,nn,function(vn){pt||(pt=!0,nn!==vn?fn(zt,vn):Cn(zt,vn))},function(vn){pt||(pt=!0,Bn(zt,vn))},"Settle: "+(zt._label||" unknown promise"));!pt&&Wt&&(pt=!0,Bn(zt,Wt))},Bt)}function cn(Bt,nn){nn._state===je?Cn(Bt,nn._result):nn._state===at?Bn(Bt,nn._result):gn(nn,void 0,function(tn){return fn(Bt,tn)},function(tn){return Bn(Bt,tn)})}function Nn(Bt,nn,tn){nn.constructor===Bt.constructor&&tn===Ft&&nn.constructor.resolve===bt?cn(Bt,nn):tn===void 0?Cn(Bt,nn):fe(tn)?Qt(Bt,nn,tn):Cn(Bt,nn)}function fn(Bt,nn){if(Bt===nn)Bn(Bt,Yt());else if(we(nn)){var tn=void 0;try{tn=nn.then}catch(zt){Bn(Bt,zt);return}Nn(Bt,nn,tn)}else Cn(Bt,nn)}function Ln(Bt){Bt._onerror&&Bt._onerror(Bt._result),Se(Bt)}function Cn(Bt,nn){Bt._state===it&&(Bt._result=nn,Bt._state=je,Bt._subscribers.length!==0&&ke(Se,Bt))}function Bn(Bt,nn){Bt._state===it&&(Bt._state=at,Bt._result=nn,ke(Ln,Bt))}function gn(Bt,nn,tn,zt){var pt=Bt._subscribers,Wt=pt.length;Bt._onerror=null,pt[Wt]=nn,pt[Wt+je]=tn,pt[Wt+at]=zt,Wt===0&&Bt._state&&ke(Se,Bt)}function Se(Bt){var nn=Bt._subscribers,tn=Bt._state;if(nn.length!==0){for(var zt=void 0,pt=void 0,Wt=Bt._result,vn=0;vn>1,fe=-7,ze=Me?At-1:0,Be=Me?-1:1,_e=ce[he+ze];for(ze+=Be,Ne=_e&(1<<-fe)-1,_e>>=-fe,fe+=ve;fe>0;Ne=Ne*256+ce[he+ze],ze+=Be,fe-=8);for(Le=Ne&(1<<-fe)-1,Ne>>=-fe,fe+=Ue;fe>0;Le=Le*256+ce[he+ze],ze+=Be,fe-=8);if(Ne===0)Ne=1-we;else{if(Ne===Ae)return Le?NaN:(_e?-1:1)*(1/0);Le=Le+Math.pow(2,Ue),Ne=Ne-we}return(_e?-1:1)*Le*Math.pow(2,Ne-Ue)},Xt.write=function(ce,he,Me,Ue,At,Ne){var Le,ve,Ae,we=Ne*8-At-1,fe=(1<>1,Be=At===23?Math.pow(2,-24)-Math.pow(2,-77):0,_e=Ue?0:Ne-1,Oe=Ue?1:-1,He=he<0||he===0&&1/he<0?1:0;for(he=Math.abs(he),isNaN(he)||he===1/0?(ve=isNaN(he)?1:0,Le=fe):(Le=Math.floor(Math.log(he)/Math.LN2),he*(Ae=Math.pow(2,-Le))<1&&(Le--,Ae*=2),Le+ze>=1?he+=Be/Ae:he+=Be*Math.pow(2,1-ze),he*Ae>=2&&(Le++,Ae/=2),Le+ze>=fe?(ve=0,Le=fe):Le+ze>=1?(ve=(he*Ae-1)*Math.pow(2,At),Le=Le+ze):(ve=he*Math.pow(2,ze-1)*Math.pow(2,At),Le=0));At>=8;ce[Me+_e]=ve&255,_e+=Oe,ve/=256,At-=8);for(Le=Le<0;ce[Me+_e]=Le&255,_e+=Oe,Le/=256,we-=8);ce[Me+_e-Oe]|=He*128}},53307:function(Tn,Xt,ce){"use strict";ce.r(Xt),ce.d(Xt,{AcroForm:function(){return HA},AcroFormAppearance:function(){return xo},AcroFormButton:function(){return dl},AcroFormCheckBox:function(){return uu},AcroFormChoiceField:function(){return No},AcroFormComboBox:function(){return ds},AcroFormEditBox:function(){return ls},AcroFormListBox:function(){return El},AcroFormPasswordField:function(){return Al},AcroFormPushButton:function(){return zl},AcroFormRadioButton:function(){return nl},AcroFormTextField:function(){return Dl},GState:function(){return kp},ShadingPattern:function(){return l0},TilingPattern:function(){return u0},default:function(){return Ls},jsPDF:function(){return Ls}});var he=ce(43749),Me={},Ue=function(E,ne,te,de,ge){var Ce=new Worker(Me[ne]||(Me[ne]=URL.createObjectURL(new Blob([E+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Ce.onmessage=function(nt){var Ge=nt.data,ot=Ge.$e$;if(ot){var ft=new Error(ot[0]);ft.code=ot[1],ft.stack=ot[2],ge(ft,null)}else ge(null,Ge)},Ce.postMessage(te,de),Ce},At=Uint8Array,Ne=Uint16Array,Le=Int32Array,ve=new At([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ae=new At([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),we=new At([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fe=function(E,ne){for(var te=new Ne(31),de=0;de<31;++de)te[de]=ne+=1<>1|(Pe&21845)<<1;Xe=(Xe&52428)>>2|(Xe&13107)<<2,Xe=(Xe&61680)>>4|(Xe&3855)<<4,Te[Pe]=((Xe&65280)>>8|(Xe&255)<<8)>>1}for(var Ke=function(E,ne,te){for(var de=E.length,ge=0,Ce=new Ne(ne);ge>ot]=ft}else for(Ge=new Ne(de),ge=0;ge>15-E[ge]);return Ge},qe=new At(288),Pe=0;Pe<144;++Pe)qe[Pe]=8;for(var Pe=144;Pe<256;++Pe)qe[Pe]=9;for(var Pe=256;Pe<280;++Pe)qe[Pe]=7;for(var Pe=280;Pe<288;++Pe)qe[Pe]=8;for(var We=new At(32),Pe=0;Pe<32;++Pe)We[Pe]=5;var Ze=Ke(qe,9,0),$e=null,rt=Ke(We,5,0),ht=null,dt=function(E){for(var ne=E[0],te=1;tene&&(ne=E[te]);return ne},xt=function(E,ne,te){var de=ne/8|0;return(E[de]|E[de+1]<<8)>>(ne&7)&te},Je=function(E,ne){var te=ne/8|0;return(E[te]|E[te+1]<<8|E[te+2]<<16)>>(ne&7)},Lt=function(E){return(E+7)/8|0},Re=function(E,ne,te){return(ne==null||ne<0)&&(ne=0),(te==null||te>E.length)&&(te=E.length),new At(E.subarray(ne,te))},Rt={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},Ft=["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"],bt=function(E,ne,te){var de=new Error(ne||Ft[E]);if(de.code=E,Error.captureStackTrace&&Error.captureStackTrace(de,bt),!te)throw de;return de},Tt=function(E,ne,te,de){var ge=E.length,Ce=de?de.length:0;if(!ge||ne.f&&!ne.l)return te||new At(0);var nt=!te,Ge=nt||ne.i!=2,ot=ne.i;nt&&(te=new At(ge*3));var ft=function(so){var Uo=te.length;if(so>Uo){var Zo=new At(Math.max(Uo*2,so));Zo.set(te),te=Zo}},Et=ne.f||0,en=ne.p||0,sn=ne.b||0,Ct=ne.l,Hn=ne.d,In=ne.m,Zn=ne.n,wn=ge*8;do{if(!Ct){Et=xt(E,en,1);var Ir=xt(E,en+1,3);if(en+=3,Ir)if(Ir==1)Ct=$e,Hn=ht,In=9,Zn=5;else if(Ir==2){var ta=xt(E,en,31)+257,Wi=xt(E,en+10,15)+4,Yr=ta+xt(E,en+5,31)+1;en+=14;for(var sr=new At(Yr),ci=new At(19),yn=0;yn>4;if(Br<16)sr[yn++]=Br;else{var zi=0,Xi=0;for(Br==16?(Xi=3+xt(E,en,3),en+=2,zi=sr[yn-1]):Br==17?(Xi=3+xt(E,en,7),en+=3):Br==18&&(Xi=11+xt(E,en,127),en+=7);Xi--;)sr[yn++]=zi}}var Ci=sr.subarray(0,ta),Gi=sr.subarray(ta);In=dt(Ci),Zn=dt(Gi),Ct=Ke(Ci,In,1),Hn=Ke(Gi,Zn,1)}else bt(1);else{var Br=Lt(en)+4,ar=E[Br-4]|E[Br-3]<<8,wi=Br+ar;if(wi>ge){ot&&bt(0);break}Ge&&ft(sn+ar),te.set(E.subarray(Br,wi),sn),ne.b=sn+=ar,ne.p=en=wi*8,ne.f=Et;continue}if(en>wn){ot&&bt(0);break}}Ge&&ft(sn+131072);for(var fo=(1<>4;if(en+=zi&15,en>wn){ot&&bt(0);break}if(zi||bt(2),rr<256)te[sn++]=rr;else if(rr==256){hn=en,Ct=null;break}else{var hr=rr-254;if(rr>264){var yn=rr-257,Pr=ve[yn];hr=xt(E,en,(1<>4;ti||bt(3),en+=ti&15;var Gi=He[pi];if(pi>3){var Pr=Ae[pi];Gi+=Je(E,en)&(1<wn){ot&&bt(0);break}Ge&&ft(sn+131072);var Ti=sn+hr;if(sn>8},it=function(E,ne,te){te<<=ne&7;var de=ne/8|0;E[de]|=te,E[de+1]|=te>>8,E[de+2]|=te>>16},je=function(E,ne){for(var te=[],de=0;desn&&(sn=Ce[de].s);var Ct=new Ne(sn+1),Hn=at(te[Et-1],Ct,0);if(Hn>ne){var de=0,In=0,Zn=Hn-ne,wn=1<ne)In+=wn-(1<>=Zn;In>0;){var Br=Ce[de].s;Ct[Br]=0&&In;--de){var ar=Ce[de].s;Ct[ar]==ne&&(--Ct[ar],++In)}Hn=ne}return{t:new At(Ct),l:Hn}},at=function(E,ne,te){return E.s==-1?Math.max(at(E.l,ne,te+1),at(E.r,ne,te+1)):ne[E.s]=te},Yt=function(E){for(var ne=E.length;ne&&!E[--ne];);for(var te=new Ne(++ne),de=0,ge=E[0],Ce=1,nt=function(ot){te[de++]=ot},Ge=1;Ge<=ne;++Ge)if(E[Ge]==ge&&Ge!=ne)++Ce;else{if(!ge&&Ce>2){for(;Ce>138;Ce-=138)nt(32754);Ce>2&&(nt(Ce>10?Ce-11<<5|28690:Ce-3<<5|12305),Ce=0)}else if(Ce>3){for(nt(ge),--Ce;Ce>6;Ce-=6)nt(8304);Ce>2&&(nt(Ce-3<<5|8208),Ce=0)}for(;Ce--;)nt(ge);Ce=1,ge=E[Ge]}return{c:te.subarray(0,de),n:ne}},Vt=function(E,ne){for(var te=0,de=0;de>8,E[ge+2]=E[ge]^255,E[ge+3]=E[ge+1]^255;for(var Ce=0;Ce4&&!ci[we[Gn-1]];--Gn);var _r=ft+5<<3,Er=Vt(ge,qe)+Vt(Ce,We)+nt,Fi=Vt(ge,sn)+Vt(Ce,In)+nt+14+3*Gn+Vt(Wi,ci)+2*Wi[16]+3*Wi[17]+7*Wi[18];if(ot>=0&&_r<=Er&&_r<=Fi)return St(ne,Et,E.subarray(ot,ot+ft));var zi,Xi,Ci,Gi;if(wt(ne,Et,1+(Fi15&&(wt(ne,Et,rr[Yr]>>5&127),Et+=rr[Yr]>>12)}}else zi=Ze,Xi=qe,Ci=rt,Gi=We;for(var Yr=0;Yr255){var hr=Pr>>18&31;it(ne,Et,zi[hr+257]),Et+=Xi[hr+257],hr>7&&(wt(ne,Et,Pr>>23&31),Et+=ve[hr]);var ti=Pr&31;it(ne,Et,Ci[ti]),Et+=Gi[ti],ti>3&&(it(ne,Et,Pr>>5&8191),Et+=Ae[ti])}else it(ne,Et,zi[Pr]),Et+=Xi[Pr]}return it(ne,Et,zi[256]),Et+Xi[256]},cn=new Le([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Nn=new At(0),fn=function(E,ne,te,de,ge,Ce){var nt=Ce.z||E.length,Ge=new At(de+nt+5*(1+Math.ceil(nt/7e3))+ge),ot=Ge.subarray(de,Ge.length-ge),ft=Ce.l,Et=(Ce.r||0)&7;if(ne){Et&&(ot[0]=Ce.r>>3);for(var en=cn[ne-1],sn=en>>13,Ct=en&8191,Hn=(1<7e3||ci>24576)&&(zi>423||!ft)){Et=Qt(E,ot,0,ar,wi,ta,Yr,ci,Gn,sr-Gn,Et),ci=Wi=Yr=0,Gn=sr;for(var Xi=0;Xi<286;++Xi)wi[Xi]=0;for(var Xi=0;Xi<30;++Xi)ta[Xi]=0}var Ci=2,Gi=0,fo=Ct,Na=Er-Fi&32767;if(zi>2&&_r==Br(sr-Na))for(var hn=Math.min(sn,zi)-1,rr=Math.min(32767,sr),hr=Math.min(258,zi);Na<=rr&&--fo&&Er!=Fi;){if(E[sr+Ci]==E[sr+Ci-Na]){for(var Pr=0;PrCi){if(Ci=Pr,Gi=Na,Pr>hn)break;for(var ti=Math.min(Na,Pr-2),pi=0,Xi=0;Xipi&&(pi=ya,Fi=Ti)}}}Er=Fi,Fi=In[Er],Na+=Er-Fi&32767}if(Gi){ar[ci++]=268435456|_e[Ci]<<18|ke[Gi];var so=_e[Ci]&31,Uo=ke[Gi]&31;Yr+=ve[so]+Ae[Uo],++wi[257+so],++ta[Uo],yn=sr+Ci,++Wi}else ar[ci++]=E[sr],++wi[E[sr]]}}for(sr=Math.max(sr,yn);sr=nt&&(ot[Et/8|0]=ft,Zo=nt),Et=St(ot,Et+1,E.subarray(sr,Zo))}Ce.i=nt}return Re(Ge,0,de+Lt(Et)+ge)},Ln=null,Cn=function(){var E=-1;return{p:function(ne){for(var te=E,de=0;de>>8;E=te},d:function(){return~E}}},Bn=function(){var E=1,ne=0;return{p:function(te){for(var de=E,ge=ne,Ce=te.length|0,nt=0;nt!=Ce;){for(var Ge=Math.min(nt+2655,Ce);nt>16),ge=(ge&65535)+15*(ge>>16)}E=de,ne=ge},d:function(){return E%=65521,ne%=65521,(E&255)<<24|(E&65280)<<8|(ne&255)<<8|ne>>8}}},gn=function(E,ne,te,de,ge){if(!ge&&(ge={l:1},ne.dictionary)){var Ce=ne.dictionary.subarray(-32768),nt=new At(Ce.length+E.length);nt.set(Ce),nt.set(E,Ce.length),E=nt,ge.w=Ce.length}return fn(E,ne.level==null?6:ne.level,ne.mem==null?ge.l?Math.ceil(Math.max(8,Math.min(13,Math.log(E.length)))*1.5):20:12+ne.mem,te,de,ge)},Se=function(E,ne){var te={};for(var de in E)te[de]=E[de];for(var de in ne)te[de]=ne[de];return te},Fe=function(E,ne,te){for(var de=E(),ge=E.toString(),Ce=ge.slice(ge.indexOf("[")+1,ge.lastIndexOf("]")).replace(/\s+/g,"").split(","),nt=0;nt>>0},zt=function(E,ne){return tn(E,ne)+tn(E,ne+4)*4294967296},pt=function(E,ne,te){for(;te;++ne)E[ne]=te,te>>>=8},Wt=function(E,ne){var te=ne.filename;if(E[0]=31,E[1]=139,E[2]=8,E[8]=ne.level<2?4:ne.level==9?2:0,E[9]=3,ne.mtime!=0&&pt(E,4,Math.floor(new Date(ne.mtime||Date.now())/1e3)),te){E[3]=8;for(var de=0;de<=te.length;++de)E[de+10]=te.charCodeAt(de)}},vn=function(E){(E[0]!=31||E[1]!=139||E[2]!=8)&&bt(6,"invalid gzip data");var ne=E[3],te=10;ne&4&&(te+=(E[10]|E[11]<<8)+2);for(var de=(ne>>3&1)+(ne>>4&1);de>0;de-=!E[te++]);return te+(ne&2)},xn=function(E){var ne=E.length;return(E[ne-4]|E[ne-3]<<8|E[ne-2]<<16|E[ne-1]<<24)>>>0},Wn=function(E){return 10+(E.filename?E.filename.length+1:0)},br=function(E,ne){var te=ne.level,de=te==0?0:te<6?1:te==9?3:2;if(E[0]=120,E[1]=de<<6|(ne.dictionary&&32),E[1]|=31-(E[0]<<8|E[1])%31,ne.dictionary){var ge=Bn();ge.p(ne.dictionary),pt(E,2,ge.d())}},Lr=function(E,ne){return((E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31)&&bt(6,"invalid zlib data"),(E[1]>>5&1)==+!ne&&bt(6,"invalid zlib data: "+(E[1]&32?"need":"unexpected")+" dictionary"),(E[1]>>3&4)+2};function jr(E,ne){return typeof E=="function"&&(ne=E,E={}),this.ondata=ne,E}var Qr=null,vr=null;function Ar(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Ye],function(de){return Mt(Tr(de.data[0],de.data[1]))},0,te)}function Tr(E,ne){return gn(E,ne||{},0,0)}var Bi=null,$i=null;function mi(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe],function(de){return Mt(Mi(de.data[0],kt(de.data[1])))},1,te)}function Mi(E,ne){return Tt(E,{i:2},ne&&ne.out,ne&&ne.dictionary)}var pa=null,Dr=null;function _n(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Ye,vt,function(){return[no]}],function(de){return Mt(no(de.data[0],de.data[1]))},2,te)}function no(E,ne){ne||(ne={});var te=Cn(),de=E.length;te.p(E);var ge=gn(E,ne,Wn(ne),8),Ce=ge.length;return Wt(ge,ne),pt(ge,Ce-8,te.d()),pt(ge,Ce-4,de),ge}var Ki=null,Co=null;function ro(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe,et,function(){return[Pi]}],function(de){return Mt(Pi(de.data[0],de.data[1]))},3,te)}function Pi(E,ne){var te=vn(E);return te+8>E.length&&bt(6,"invalid gzip data"),Tt(E.subarray(te,-8),{i:2},ne&&ne.out||new At(xn(E)),ne&&ne.dictionary)}var Ii=null,Si=null;function gi(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Ye,lt,function(){return[Ea]}],function(de){return Mt(Ea(de.data[0],de.data[1]))},4,te)}function Ea(E,ne){ne||(ne={});var te=Bn();te.p(E);var de=gn(E,ne,ne.dictionary?6:2,4);return br(de,ne),pt(de,de.length-4,te.d()),de}var Fn=null,Dt=null;function Gt(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe,Pt,function(){return[Zt]}],function(de){return Mt(Zt(de.data[0],kt(de.data[1])))},5,te)}function Zt(E,ne){return Tt(E.subarray(Lr(E,ne&&ne.dictionary),-4),{i:2},ne&&ne.out,ne&&ne.dictionary)}var jt=null,on=null;function Mn(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),E[0]==31&&E[1]==139&&E[2]==8?ro(E,ne,te):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?mi(E,ne,te):Gt(E,ne,te)}function ir(E,ne){return E[0]==31&&E[1]==139&&E[2]==8?Pi(E,ne):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?Mi(E,ne):Zt(E,ne)}var qn=function(E,ne,te,de){for(var ge in E){var Ce=E[ge],nt=ne+ge,Ge=de;Array.isArray(Ce)&&(Ge=Se(de,Ce[1]),Ce=Ce[0]),Ce instanceof At?te[nt]=[Ce,Ge]:(te[nt+="/"]=[new At(0),Ge],qn(Ce,nt,te,de))}},pr=typeof TextEncoder!="undefined"&&new TextEncoder,Gr=typeof TextDecoder!="undefined"&&new TextDecoder,Zr=0;try{Gr.decode(Nn,{stream:!0}),Zr=1}catch(E){}var $r=function(E){for(var ne="",te=0;;){var de=E[te++],ge=(de>127)+(de>223)+(de>239);if(te+ge>E.length)return{s:ne,r:Re(E,te-1)};ge?ge==3?(de=((de&15)<<18|(E[te++]&63)<<12|(E[te++]&63)<<6|E[te++]&63)-65536,ne+=String.fromCharCode(55296|de>>10,56320|de&1023)):ge&1?ne+=String.fromCharCode((de&31)<<6|E[te++]&63):ne+=String.fromCharCode((de&15)<<12|(E[te++]&63)<<6|E[te++]&63):ne+=String.fromCharCode(de)}},Xn=null,Or=null;function ki(E,ne){if(ne){for(var te=new At(E.length),de=0;de>1)),nt=0,Ge=function(Et){Ce[nt++]=Et},de=0;deCe.length){var ot=new At(nt+8+(ge-de<<1));ot.set(Ce),Ce=ot}var ft=E.charCodeAt(de);ft<128||ne?Ge(ft):ft<2048?(Ge(192|ft>>6),Ge(128|ft&63)):ft>55295&&ft<57344?(ft=65536+(ft&1047552)|E.charCodeAt(++de)&1023,Ge(240|ft>>18),Ge(128|ft>>12&63),Ge(128|ft>>6&63),Ge(128|ft&63)):(Ge(224|ft>>12),Ge(128|ft>>6&63),Ge(128|ft&63))}return Re(Ce,0,nt)}function vi(E,ne){if(ne){for(var te="",de=0;de65535&&bt(9),ne+=de+4}return ne},mn=function(E,ne,te,de,ge,Ce,nt,Ge){var ot=de.length,ft=te.extra,Et=Ge&&Ge.length,en=oa(ft);pt(E,ne,nt!=null?33639248:67324752),ne+=4,nt!=null&&(E[ne++]=20,E[ne++]=te.os),E[ne]=20,ne+=2,E[ne++]=te.flag<<1|(Ce<0&&8),E[ne++]=ge&&8,E[ne++]=te.compression&255,E[ne++]=te.compression>>8;var sn=new Date(te.mtime==null?Date.now():te.mtime),Ct=sn.getFullYear()-1980;if((Ct<0||Ct>119)&&bt(10),pt(E,ne,Ct<<25|sn.getMonth()+1<<21|sn.getDate()<<16|sn.getHours()<<11|sn.getMinutes()<<5|sn.getSeconds()>>1),ne+=4,Ce!=-1&&(pt(E,ne,te.crc),pt(E,ne+4,Ce<0?-Ce-2:Ce),pt(E,ne+8,te.size)),pt(E,ne+12,ot),pt(E,ne+14,en),ne+=16,nt!=null&&(pt(E,ne,Et),pt(E,ne+6,te.attrs),pt(E,ne+10,nt),ne+=14),E.set(de,ne),ne+=ot,en)for(var Hn in ft){var In=ft[Hn],Zn=In.length;pt(E,ne,+Hn),pt(E,ne+2,Zn),E.set(In,ne+4),ne+=4+Zn}return Et&&(E.set(Ge,ne),ne+=Et),ne},mr=function(E,ne,te,de,ge){pt(E,ne,101010256),pt(E,ne+8,te),pt(E,ne+10,te),pt(E,ne+12,de),pt(E,ne+16,ge)},dr=null,Wr=null,wr=null,Mr=null;function Fr(E,ne,te){te||(te=ne,ne={}),typeof te!="function"&&bt(7);var de={};qn(E,"",de,ne);var ge=Object.keys(de),Ce=ge.length,nt=0,Ge=0,ot=Ce,ft=new Array(Ce),Et=[],en=function(){for(var Zn=0;Zn65535&&Er(bt(11,0,1),null),!_r)Er(null,Br);else if(ta<16e4)try{Er(null,Tr(Br,ar))}catch(Fi){Er(Fi,null)}else Et.push(Ar(Br,ar,Er))},In=0;In65535&&bt(11);var wn=Et?Tr(ot,ft):ot,Ir=wn.length,Br=Cn();Br.p(ot),de.push(Se(ft,{size:ot.length,crc:Br.d(),c:wn,f:en,m:Hn,u:sn!=nt.length||Hn&&Ct.length!=In,o:ge,compression:Et})),ge+=30+sn+Zn+Ir,Ce+=76+2*(sn+Zn)+(In||0)+Ir}for(var ar=new At(Ce+22),wi=ge,ta=Ce-ge,Wi=0;Wi65558)return nt(bt(13,0,1),null),ge;var ot=nn(E,Ge+8);if(ot){var ft=ot,Et=tn(E,Ge+16),en=Et==4294967295||ft==65535;if(en){var sn=tn(E,Ge-12);en=tn(E,sn)==101075792,en&&(ft=ot=tn(E,sn+32),Et=tn(E,sn+48))}for(var Ct=ne&&ne.filter,Hn=function(Zn){var wn=Ca(E,Et,en),Ir=wn[0],Br=wn[1],ar=wn[2],wi=wn[3],ta=wn[4],Wi=wn[5],Yr=xi(E,Wi);Et=ta;var sr=function(yn,Gn){yn?(ge(),nt(yn,null)):(Gn&&(Ce[wi]=Gn),--ot||nt(null,Ce))};if(!Ct||Ct({name:wi,size:Br,originalSize:ar,compression:Ir}))if(!Ir)sr(null,Re(E,Yr,Yr+Br));else if(Ir==8){var ci=E.subarray(Yr,Yr+Br);if(ar<524288||Br>.8*ar)try{sr(null,Mi(ci,{out:new At(ar)}))}catch(yn){sr(yn,null)}else de.push(mi(ci,{size:ar},sr))}else sr(bt(14,"unknown compression type "+Ir,1),null);else sr(null,null)},In=0;In65558)&&bt(13);var ge=nn(E,de+8);if(!ge)return{};var Ce=tn(E,de+16),nt=Ce==4294967295||ge==65535;if(nt){var Ge=tn(E,de-12);nt=tn(E,Ge)==101075792,nt&&(ge=tn(E,Ge+32),Ce=tn(E,Ge+48))}for(var ot=ne&&ne.filter,ft=0;ft{const E=new Uint8Array(4),ne=new Uint32Array(E.buffer);return!((ne[0]=1)&E[0])})(),Pa={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 ao{constructor(ne=ka,te={}){bc(this,"buffer");bc(this,"byteLength");bc(this,"byteOffset");bc(this,"length");bc(this,"offset");bc(this,"lastWrittenByte");bc(this,"littleEndian");bc(this,"_data");bc(this,"_mark");bc(this,"_marks");let de=!1;typeof ne=="number"?ne=new ArrayBuffer(ne):(de=!0,this.lastWrittenByte=ne.byteLength);const ge=te.offset?te.offset>>>0:0,Ce=ne.byteLength-ge;let nt=ge;(ArrayBuffer.isView(ne)||ne instanceof ao)&&(ne.byteLength!==ne.buffer.byteLength&&(nt=ne.byteOffset+ge),ne=ne.buffer),de?this.lastWrittenByte=Ce:this.lastWrittenByte=0,this.buffer=ne,this.length=Ce,this.byteLength=Ce,this.byteOffset=nt,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,nt,Ce),this._mark=0,this._marks=[]}available(ne=1){return this.offset+ne<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(ne=1){return this.offset+=ne,this}back(ne=1){return this.offset-=ne,this}seek(ne){return this.offset=ne,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 ne=this._marks.pop();if(ne===void 0)throw new Error("Mark stack empty");return this.seek(ne),this}rewind(){return this.offset=0,this}ensureAvailable(ne=1){if(!this.available(ne)){const de=(this.offset+ne)*2,ge=new Uint8Array(de);ge.set(new Uint8Array(this.buffer)),this.buffer=ge.buffer,this.length=de,this.byteLength=de,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(ne=1){return this.readArray(ne,"uint8")}readArray(ne,te){const de=Pa[te].BYTES_PER_ELEMENT*ne,ge=this.byteOffset+this.offset,Ce=this.buffer.slice(ge,ge+de);if(this.littleEndian===Xa&&te!=="uint8"&&te!=="int8"){const Ge=new Uint8Array(this.buffer.slice(ge,ge+de));Ge.reverse();const ot=new Pa[te](Ge.buffer);return this.offset+=de,ot.reverse(),ot}const nt=new Pa[te](Ce);return this.offset+=de,nt}readInt16(){const ne=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,ne}readUint16(){const ne=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,ne}readInt32(){const ne=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,ne}readUint32(){const ne=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat32(){const ne=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat64(){const ne=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigInt64(){const ne=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigUint64(){const ne=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,ne}readChar(){return String.fromCharCode(this.readInt8())}readChars(ne=1){let te="";for(let de=0;dethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const us=4,Ya=0,fi=1,Rr=2;function Ra(E){let ne=E.length;for(;--ne>=0;)E[ne]=0}const _a=0,Va=1,Mo=2,go=3,As=258,_o=29,Js=256,Sa=Js+1+_o,xa=30,Bo=19,So=2*Sa+1,Ms=15,er=16,Qs=7,fs=256,Zs=16,qs=17,ma=18,sa=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]),ra=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]),ua=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),cs=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ps=512,jo=new Array((Sa+2)*2);Ra(jo);const xs=new Array(xa*2);Ra(xs);const Cs=new Array(Ps);Ra(Cs);const $s=new Array(As-go+1);Ra($s);const ru=new Array(_o);Ra(ru);const or=new Array(xa);Ra(or);function Qn(E,ne,te,de,ge){this.static_tree=E,this.extra_bits=ne,this.extra_base=te,this.elems=de,this.max_length=ge,this.has_stree=E&&E.length}let Nr,Di,Io;function lr(E,ne){this.dyn_tree=E,this.max_code=0,this.stat_desc=ne}const Jn=E=>E<256?Cs[E]:Cs[256+(E>>>7)],Un=(E,ne)=>{E.pending_buf[E.pending++]=ne&255,E.pending_buf[E.pending++]=ne>>>8&255},cr=(E,ne,te)=>{E.bi_valid>er-te?(E.bi_buf|=ne<>er-E.bi_valid,E.bi_valid+=te-er):(E.bi_buf|=ne<{cr(E,te[ne*2],te[ne*2+1])},bi=(E,ne)=>{let te=0;do te|=E&1,E>>>=1,te<<=1;while(--ne>0);return te>>>1},xr=E=>{E.bi_valid===16?(Un(E,E.bi_buf),E.bi_buf=0,E.bi_valid=0):E.bi_valid>=8&&(E.pending_buf[E.pending++]=E.bi_buf&255,E.bi_buf>>=8,E.bi_valid-=8)},Hr=(E,ne)=>{const te=ne.dyn_tree,de=ne.max_code,ge=ne.stat_desc.static_tree,Ce=ne.stat_desc.has_stree,nt=ne.stat_desc.extra_bits,Ge=ne.stat_desc.extra_base,ot=ne.stat_desc.max_length;let ft,Et,en,sn,Ct,Hn,In=0;for(sn=0;sn<=Ms;sn++)E.bl_count[sn]=0;for(te[E.heap[E.heap_max]*2+1]=0,ft=E.heap_max+1;ftot&&(sn=ot,In++),te[Et*2+1]=sn,!(Et>de)&&(E.bl_count[sn]++,Ct=0,Et>=Ge&&(Ct=nt[Et-Ge]),Hn=te[Et*2],E.opt_len+=Hn*(sn+Ct),Ce&&(E.static_len+=Hn*(ge[Et*2+1]+Ct)));if(In!==0){do{for(sn=ot-1;E.bl_count[sn]===0;)sn--;E.bl_count[sn]--,E.bl_count[sn+1]+=2,E.bl_count[ot]--,In-=2}while(In>0);for(sn=ot;sn!==0;sn--)for(Et=E.bl_count[sn];Et!==0;)en=E.heap[--ft],!(en>de)&&(te[en*2+1]!==sn&&(E.opt_len+=(sn-te[en*2+1])*te[en*2],te[en*2+1]=sn),Et--)}},ji=(E,ne,te)=>{const de=new Array(Ms+1);let ge=0,Ce,nt;for(Ce=1;Ce<=Ms;Ce++)ge=ge+te[Ce-1]<<1,de[Ce]=ge;for(nt=0;nt<=ne;nt++){let Ge=E[nt*2+1];Ge!==0&&(E[nt*2]=bi(de[Ge]++,Ge))}},Ji=()=>{let E,ne,te,de,ge;const Ce=new Array(Ms+1);for(te=0,de=0;de<_o-1;de++)for(ru[de]=te,E=0;E<1<>=7;de{let ne;for(ne=0;ne{E.bi_valid>8?Un(E,E.bi_buf):E.bi_valid>0&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0},Ni=(E,ne,te,de)=>{const ge=ne*2,Ce=te*2;return E[ge]{const de=E.heap[te];let ge=te<<1;for(;ge<=E.heap_len&&(ge{let de,ge,Ce=0,nt,Ge;if(E.sym_next!==0)do de=E.pending_buf[E.sym_buf+Ce++]&255,de+=(E.pending_buf[E.sym_buf+Ce++]&255)<<8,ge=E.pending_buf[E.sym_buf+Ce++],de===0?Ur(E,ge,ne):(nt=$s[ge],Ur(E,nt+Js+1,ne),Ge=sa[nt],Ge!==0&&(ge-=ru[nt],cr(E,ge,Ge)),de--,nt=Jn(de),Ur(E,nt,te),Ge=ra[nt],Ge!==0&&(de-=or[nt],cr(E,de,Ge)));while(Ce{const te=ne.dyn_tree,de=ne.stat_desc.static_tree,ge=ne.stat_desc.has_stree,Ce=ne.stat_desc.elems;let nt,Ge,ot=-1,ft;for(E.heap_len=0,E.heap_max=So,nt=0;nt>1;nt>=1;nt--)ia(E,te,nt);ft=Ce;do nt=E.heap[1],E.heap[1]=E.heap[E.heap_len--],ia(E,te,1),Ge=E.heap[1],E.heap[--E.heap_max]=nt,E.heap[--E.heap_max]=Ge,te[ft*2]=te[nt*2]+te[Ge*2],E.depth[ft]=(E.depth[nt]>=E.depth[Ge]?E.depth[nt]:E.depth[Ge])+1,te[nt*2+1]=te[Ge*2+1]=ft,E.heap[1]=ft++,ia(E,te,1);while(E.heap_len>=2);E.heap[--E.heap_max]=E.heap[1],Hr(E,ne),ji(te,ot,E.bl_count)},da=(E,ne,te)=>{let de,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,ft=4;for(nt===0&&(ot=138,ft=3),ne[(te+1)*2+1]=65535,de=0;de<=te;de++)Ce=nt,nt=ne[(de+1)*2+1],!(++Ge{let de,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,ft=4;for(nt===0&&(ot=138,ft=3),de=0;de<=te;de++)if(Ce=nt,nt=ne[(de+1)*2+1],!(++Ge{let ne;for(da(E,E.dyn_ltree,E.l_desc.max_code),da(E,E.dyn_dtree,E.d_desc.max_code),Oi(E,E.bl_desc),ne=Bo-1;ne>=3&&E.bl_tree[cs[ne]*2+1]===0;ne--);return E.opt_len+=3*(ne+1)+5+5+4,ne},To=(E,ne,te,de)=>{let ge;for(cr(E,ne-257,5),cr(E,te-1,5),cr(E,de-4,4),ge=0;ge{let ne=4093624447,te;for(te=0;te<=31;te++,ne>>>=1)if(ne&1&&E.dyn_ltree[te*2]!==0)return Ya;if(E.dyn_ltree[9*2]!==0||E.dyn_ltree[10*2]!==0||E.dyn_ltree[13*2]!==0)return fi;for(te=32;te{Bu||(Ji(),Bu=!0),E.l_desc=new lr(E.dyn_ltree,Nr),E.d_desc=new lr(E.dyn_dtree,Di),E.bl_desc=new lr(E.bl_tree,Io),E.bi_buf=0,E.bi_valid=0,ca(E)},Su=(E,ne,te,de)=>{cr(E,(_a<<1)+(de?1:0),3),Xr(E),Un(E,te),Un(E,~te),te&&E.pending_buf.set(E.window.subarray(ne,ne+te),E.pending),E.pending+=te},Cr=E=>{cr(E,Va<<1,3),Ur(E,fs,jo),xr(E)},yr=(E,ne,te,de)=>{let ge,Ce,nt=0;E.level>0?(E.strm.data_type===Rr&&(E.strm.data_type=hs(E)),Oi(E,E.l_desc),Oi(E,E.d_desc),nt=co(E),ge=E.opt_len+3+7>>>3,Ce=E.static_len+3+7>>>3,Ce<=ge&&(ge=Ce)):ge=Ce=te+5,te+4<=ge&&ne!==-1?Su(E,ne,te,de):E.strategy===us||Ce===ge?(cr(E,(Va<<1)+(de?1:0),3),Ma(E,jo,xs)):(cr(E,(Mo<<1)+(de?1:0),3),To(E,E.l_desc.max_code+1,E.d_desc.max_code+1,nt+1),Ma(E,E.dyn_ltree,E.dyn_dtree)),ca(E),de&&Xr(E)},Eu=(E,ne,te)=>(E.pending_buf[E.sym_buf+E.sym_next++]=ne,E.pending_buf[E.sym_buf+E.sym_next++]=ne>>8,E.pending_buf[E.sym_buf+E.sym_next++]=te,ne===0?E.dyn_ltree[te*2]++:(E.matches++,ne--,E.dyn_ltree[($s[te]+Js+1)*2]++,E.dyn_dtree[Jn(ne)*2]++),E.sym_next===E.sym_end);var mo=gu,Qo=Su,Nl=yr,el=Eu,_l=Cr,al={_tr_init:mo,_tr_stored_block:Qo,_tr_flush_block:Nl,_tr_tally:el,_tr_align:_l},Bs=(E,ne,te,de)=>{let ge=E&65535|0,Ce=E>>>16&65535|0,nt=0;for(;te!==0;){nt=te>2e3?2e3:te,te-=nt;do ge=ge+ne[de++]|0,Ce=Ce+ge|0;while(--nt);ge%=65521,Ce%=65521}return ge|Ce<<16|0};const fl=()=>{let E,ne=[];for(var te=0;te<256;te++){E=te;for(var de=0;de<8;de++)E=E&1?3988292384^E>>>1:E>>>1;ne[te]=E}return ne},kc=new Uint32Array(fl());var Ho=(E,ne,te,de)=>{const ge=kc,Ce=de+te;E^=-1;for(let nt=de;nt>>8^ge[(E^ne[nt])&255];return E^-1},Do={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"},zo={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:ys,_tr_stored_block:bs,_tr_flush_block:Ds,_tr_tally:ol,_tr_align:Vs}=al,{Z_NO_FLUSH:Ol,Z_PARTIAL_FLUSH:ac,Z_FULL_FLUSH:ad,Z_FINISH:Fu,Z_BLOCK:oc,Z_OK:sc,Z_STREAM_END:wc,Z_STREAM_ERROR:Kl,Z_DATA_ERROR:$d,Z_BUF_ERROR:Hd,Z_DEFAULT_COMPRESSION:wd,Z_FILTERED:eA,Z_HUFFMAN_ONLY:Mc,Z_RLE:bA,Z_FIXED:$u,Z_DEFAULT_STRATEGY:Id,Z_UNKNOWN:yl,Z_DEFLATED:bl}=zo,Hl=9,zc=15,Ac=8,Ru=256+1+29,Aa=30,$o=19,_i=2*Ru+1,rs=15,Eo=3,tu=258,lc=tu+Eo+1,Kc=32,Pc=42,wA=57,xd=69,Il=73,Ld=91,Cl=103,Du=113,Uu=666,Jl=1,hl=2,fc=3,uc=4,_c=3,ec=(E,ne)=>(E.msg=Do[ne],ne),Wc=E=>E*2-(E>4?9:0),Vu=E=>{let ne=E.length;for(;--ne>=0;)E[ne]=0},jd=E=>{let ne,te,de,ge=E.w_size;ne=E.hash_size,de=ne;do te=E.head[--de],E.head[de]=te>=ge?te-ge:0;while(--ne);ne=ge,de=ne;do te=E.prev[--de],E.prev[de]=te>=ge?te-ge:0;while(--ne)};let od=(E,ne,te)=>(ne<{const ne=E.state;let te=ne.pending;te>E.avail_out&&(te=E.avail_out),te!==0&&(E.output.set(ne.pending_buf.subarray(ne.pending_out,ne.pending_out+te),E.next_out),E.next_out+=te,ne.pending_out+=te,E.total_out+=te,E.avail_out-=te,ne.pending-=te,ne.pending===0&&(ne.pending_out=0))},xc=(E,ne)=>{Ds(E,E.block_start>=0?E.block_start:-1,E.strstart-E.block_start,ne),E.block_start=E.strstart,Dd(E.strm)},iu=(E,ne)=>{E.pending_buf[E.pending++]=ne},uA=(E,ne)=>{E.pending_buf[E.pending++]=ne>>>8&255,E.pending_buf[E.pending++]=ne&255},yf=(E,ne,te,de)=>{let ge=E.avail_in;return ge>de&&(ge=de),ge===0?0:(E.avail_in-=ge,ne.set(E.input.subarray(E.next_in,E.next_in+ge),te),E.state.wrap===1?E.adler=Bs(E.adler,ne,ge,te):E.state.wrap===2&&(E.adler=Ho(E.adler,ne,ge,te)),E.next_in+=ge,E.total_in+=ge,ge)},GA=(E,ne)=>{let te=E.max_chain_length,de=E.strstart,ge,Ce,nt=E.prev_length,Ge=E.nice_match;const ot=E.strstart>E.w_size-lc?E.strstart-(E.w_size-lc):0,ft=E.window,Et=E.w_mask,en=E.prev,sn=E.strstart+tu;let Ct=ft[de+nt-1],Hn=ft[de+nt];E.prev_length>=E.good_match&&(te>>=2),Ge>E.lookahead&&(Ge=E.lookahead);do if(ge=ne,!(ft[ge+nt]!==Hn||ft[ge+nt-1]!==Ct||ft[ge]!==ft[de]||ft[++ge]!==ft[de+1])){de+=2,ge++;do;while(ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&dent){if(E.match_start=ne,nt=Ce,Ce>=Ge)break;Ct=ft[de+nt-1],Hn=ft[de+nt]}}while((ne=en[ne&Et])>ot&&--te!==0);return nt<=E.lookahead?nt:E.lookahead},sd=E=>{const ne=E.w_size;let te,de,ge;do{if(de=E.window_size-E.lookahead-E.strstart,E.strstart>=ne+(ne-lc)&&(E.window.set(E.window.subarray(ne,ne+ne-de),0),E.match_start-=ne,E.strstart-=ne,E.block_start-=ne,E.insert>E.strstart&&(E.insert=E.strstart),jd(E),de+=ne),E.strm.avail_in===0)break;if(te=yf(E.strm,E.window,E.strstart+E.lookahead,de),E.lookahead+=te,E.lookahead+E.insert>=Eo)for(ge=E.strstart-E.insert,E.ins_h=E.window[ge],E.ins_h=od(E,E.ins_h,E.window[ge+1]);E.insert&&(E.ins_h=od(E,E.ins_h,E.window[ge+Eo-1]),E.prev[ge&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=ge,ge++,E.insert--,!(E.lookahead+E.insert{let te=E.pending_buf_size-5>E.w_size?E.w_size:E.pending_buf_size-5,de,ge,Ce,nt=0,Ge=E.strm.avail_in;do{if(de=65535,Ce=E.bi_valid+42>>3,E.strm.avail_outge+E.strm.avail_in&&(de=ge+E.strm.avail_in),de>Ce&&(de=Ce),de>8,E.pending_buf[E.pending-2]=~de,E.pending_buf[E.pending-1]=~de>>8,Dd(E.strm),ge&&(ge>de&&(ge=de),E.strm.output.set(E.window.subarray(E.block_start,E.block_start+ge),E.strm.next_out),E.strm.next_out+=ge,E.strm.avail_out-=ge,E.strm.total_out+=ge,E.block_start+=ge,de-=ge),de&&(yf(E.strm,E.strm.output,E.strm.next_out,de),E.strm.next_out+=de,E.strm.avail_out-=de,E.strm.total_out+=de)}while(nt===0);return Ge-=E.strm.avail_in,Ge&&(Ge>=E.w_size?(E.matches=2,E.window.set(E.strm.input.subarray(E.strm.next_in-E.w_size,E.strm.next_in),0),E.strstart=E.w_size,E.insert=E.strstart):(E.window_size-E.strstart<=Ge&&(E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,E.insert>E.strstart&&(E.insert=E.strstart)),E.window.set(E.strm.input.subarray(E.strm.next_in-Ge,E.strm.next_in),E.strstart),E.strstart+=Ge,E.insert+=Ge>E.w_size-E.insert?E.w_size-E.insert:Ge),E.block_start=E.strstart),E.high_waterCe&&E.block_start>=E.w_size&&(E.block_start-=E.w_size,E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,Ce+=E.w_size,E.insert>E.strstart&&(E.insert=E.strstart)),Ce>E.strm.avail_in&&(Ce=E.strm.avail_in),Ce&&(yf(E.strm,E.window,E.strstart,Ce),E.strstart+=Ce,E.insert+=Ce>E.w_size-E.insert?E.w_size-E.insert:Ce),E.high_water>3,Ce=E.pending_buf_size-Ce>65535?65535:E.pending_buf_size-Ce,te=Ce>E.w_size?E.w_size:Ce,ge=E.strstart-E.block_start,(ge>=te||(ge||ne===Fu)&&ne!==Ol&&E.strm.avail_in===0&&ge<=Ce)&&(de=ge>Ce?Ce:ge,nt=ne===Fu&&E.strm.avail_in===0&&de===ge?1:0,bs(E,E.block_start,de,nt),E.block_start+=de,Dd(E.strm)),nt?fc:Jl)},ih=(E,ne)=>{let te,de;for(;;){if(E.lookahead=Eo&&(E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),te!==0&&E.strstart-te<=E.w_size-lc&&(E.match_length=GA(E,te)),E.match_length>=Eo)if(de=ol(E,E.strstart-E.match_start,E.match_length-Eo),E.lookahead-=E.match_length,E.match_length<=E.max_lazy_match&&E.lookahead>=Eo){E.match_length--;do E.strstart++,E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart;while(--E.match_length!==0);E.strstart++}else E.strstart+=E.match_length,E.match_length=0,E.ins_h=E.window[E.strstart],E.ins_h=od(E,E.ins_h,E.window[E.strstart+1]);else de=ol(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++;if(de&&(xc(E,!1),E.strm.avail_out===0))return Jl}return E.insert=E.strstart{let te,de,ge;for(;;){if(E.lookahead=Eo&&(E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),E.prev_length=E.match_length,E.prev_match=E.match_start,E.match_length=Eo-1,te!==0&&E.prev_length4096)&&(E.match_length=Eo-1)),E.prev_length>=Eo&&E.match_length<=E.prev_length){ge=E.strstart+E.lookahead-Eo,de=ol(E,E.strstart-1-E.prev_match,E.prev_length-Eo),E.lookahead-=E.prev_length-1,E.prev_length-=2;do++E.strstart<=ge&&(E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart);while(--E.prev_length!==0);if(E.match_available=0,E.match_length=Eo-1,E.strstart++,de&&(xc(E,!1),E.strm.avail_out===0))return Jl}else if(E.match_available){if(de=ol(E,0,E.window[E.strstart-1]),de&&xc(E,!1),E.strstart++,E.lookahead--,E.strm.avail_out===0)return Jl}else E.match_available=1,E.strstart++,E.lookahead--}return E.match_available&&(de=ol(E,0,E.window[E.strstart-1]),E.match_available=0),E.insert=E.strstart{let te,de,ge,Ce;const nt=E.window;for(;;){if(E.lookahead<=tu){if(sd(E),E.lookahead<=tu&&ne===Ol)return Jl;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=Eo&&E.strstart>0&&(ge=E.strstart-1,de=nt[ge],de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge])){Ce=E.strstart+tu;do;while(de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&geE.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=Eo?(te=ol(E,1,E.match_length-Eo),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(te=ol(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),te&&(xc(E,!1),E.strm.avail_out===0))return Jl}return E.insert=0,ne===Fu?(xc(E,!0),E.strm.avail_out===0?fc:uc):E.sym_next&&(xc(E,!1),E.strm.avail_out===0)?Jl:hl},rp=(E,ne)=>{let te;for(;;){if(E.lookahead===0&&(sd(E),E.lookahead===0)){if(ne===Ol)return Jl;break}if(E.match_length=0,te=ol(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,te&&(xc(E,!1),E.strm.avail_out===0))return Jl}return E.insert=0,ne===Fu?(xc(E,!0),E.strm.avail_out===0?fc:uc):E.sym_next&&(xc(E,!1),E.strm.avail_out===0)?Jl:hl};function hc(E,ne,te,de,ge){this.good_length=E,this.max_lazy=ne,this.nice_length=te,this.max_chain=de,this.func=ge}const cA=[new hc(0,0,0,0,xA),new hc(4,4,8,4,ih),new hc(4,5,16,8,ih),new hc(4,6,32,32,ih),new hc(4,4,16,16,bf),new hc(8,16,32,32,bf),new hc(8,16,128,128,bf),new hc(8,32,128,256,bf),new hc(32,128,258,1024,bf),new hc(32,258,258,4096,bf)],ip=E=>{E.window_size=2*E.w_size,Vu(E.head),E.max_lazy_match=cA[E.level].max_lazy,E.good_match=cA[E.level].good_length,E.nice_match=cA[E.level].nice_length,E.max_chain_length=cA[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=Eo-1,E.match_available=0,E.ins_h=0};function Nt(){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=bl,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(_i*2),this.dyn_dtree=new Uint16Array((2*Aa+1)*2),this.bl_tree=new Uint16Array((2*$o+1)*2),Vu(this.dyn_ltree),Vu(this.dyn_dtree),Vu(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(rs+1),this.heap=new Uint16Array(2*Ru+1),Vu(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ru+1),Vu(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 Ut=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.status!==Pc&&ne.status!==wA&&ne.status!==xd&&ne.status!==Il&&ne.status!==Ld&&ne.status!==Cl&&ne.status!==Du&&ne.status!==Uu?1:0},An=E=>{if(Ut(E))return ec(E,Kl);E.total_in=E.total_out=0,E.data_type=yl;const ne=E.state;return ne.pending=0,ne.pending_out=0,ne.wrap<0&&(ne.wrap=-ne.wrap),ne.status=ne.wrap===2?wA:ne.wrap?Pc:Du,E.adler=ne.wrap===2?0:1,ne.last_flush=-2,ys(ne),sc},En=E=>{const ne=An(E);return ne===sc&&ip(E.state),ne},Vn=(E,ne)=>Ut(E)||E.state.wrap!==2?Kl:(E.state.gzhead=ne,sc),On=(E,ne,te,de,ge,Ce)=>{if(!E)return Kl;let nt=1;if(ne===wd&&(ne=6),de<0?(nt=0,de=-de):de>15&&(nt=2,de-=16),ge<1||ge>Hl||te!==bl||de<8||de>15||ne<0||ne>9||Ce<0||Ce>$u||de===8&&nt!==1)return ec(E,Kl);de===8&&(de=9);const Ge=new Nt;return E.state=Ge,Ge.strm=E,Ge.status=Pc,Ge.wrap=nt,Ge.gzhead=null,Ge.w_bits=de,Ge.w_size=1<On(E,ne,bl,zc,Ac,Id),fr=(E,ne)=>{if(Ut(E)||ne>oc||ne<0)return E?ec(E,Kl):Kl;const te=E.state;if(!E.output||E.avail_in!==0&&!E.input||te.status===Uu&&ne!==Fu)return ec(E,E.avail_out===0?Hd:Kl);const de=te.last_flush;if(te.last_flush=ne,te.pending!==0){if(Dd(E),E.avail_out===0)return te.last_flush=-1,sc}else if(E.avail_in===0&&Wc(ne)<=Wc(de)&&ne!==Fu)return ec(E,Hd);if(te.status===Uu&&E.avail_in!==0)return ec(E,Hd);if(te.status===Pc&&te.wrap===0&&(te.status=Du),te.status===Pc){let ge=bl+(te.w_bits-8<<4)<<8,Ce=-1;if(te.strategy>=Mc||te.level<2?Ce=0:te.level<6?Ce=1:te.level===6?Ce=2:Ce=3,ge|=Ce<<6,te.strstart!==0&&(ge|=Kc),ge+=31-ge%31,uA(te,ge),te.strstart!==0&&(uA(te,E.adler>>>16),uA(te,E.adler&65535)),E.adler=1,te.status=Du,Dd(E),te.pending!==0)return te.last_flush=-1,sc}if(te.status===wA){if(E.adler=0,iu(te,31),iu(te,139),iu(te,8),te.gzhead)iu(te,(te.gzhead.text?1:0)+(te.gzhead.hcrc?2:0)+(te.gzhead.extra?4:0)+(te.gzhead.name?8:0)+(te.gzhead.comment?16:0)),iu(te,te.gzhead.time&255),iu(te,te.gzhead.time>>8&255),iu(te,te.gzhead.time>>16&255),iu(te,te.gzhead.time>>24&255),iu(te,te.level===9?2:te.strategy>=Mc||te.level<2?4:0),iu(te,te.gzhead.os&255),te.gzhead.extra&&te.gzhead.extra.length&&(iu(te,te.gzhead.extra.length&255),iu(te,te.gzhead.extra.length>>8&255)),te.gzhead.hcrc&&(E.adler=Ho(E.adler,te.pending_buf,te.pending,0)),te.gzindex=0,te.status=xd;else if(iu(te,0),iu(te,0),iu(te,0),iu(te,0),iu(te,0),iu(te,te.level===9?2:te.strategy>=Mc||te.level<2?4:0),iu(te,_c),te.status=Du,Dd(E),te.pending!==0)return te.last_flush=-1,sc}if(te.status===xd){if(te.gzhead.extra){let ge=te.pending,Ce=(te.gzhead.extra.length&65535)-te.gzindex;for(;te.pending+Ce>te.pending_buf_size;){let Ge=te.pending_buf_size-te.pending;if(te.pending_buf.set(te.gzhead.extra.subarray(te.gzindex,te.gzindex+Ge),te.pending),te.pending=te.pending_buf_size,te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex+=Ge,Dd(E),te.pending!==0)return te.last_flush=-1,sc;ge=0,Ce-=Ge}let nt=new Uint8Array(te.gzhead.extra);te.pending_buf.set(nt.subarray(te.gzindex,te.gzindex+Ce),te.pending),te.pending+=Ce,te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=Il}if(te.status===Il){if(te.gzhead.name){let ge=te.pending,Ce;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),Dd(E),te.pending!==0)return te.last_flush=-1,sc;ge=0}te.gzindexge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=Ld}if(te.status===Ld){if(te.gzhead.comment){let ge=te.pending,Ce;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),Dd(E),te.pending!==0)return te.last_flush=-1,sc;ge=0}te.gzindexge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge))}te.status=Cl}if(te.status===Cl){if(te.gzhead.hcrc){if(te.pending+2>te.pending_buf_size&&(Dd(E),te.pending!==0))return te.last_flush=-1,sc;iu(te,E.adler&255),iu(te,E.adler>>8&255),E.adler=0}if(te.status=Du,Dd(E),te.pending!==0)return te.last_flush=-1,sc}if(E.avail_in!==0||te.lookahead!==0||ne!==Ol&&te.status!==Uu){let ge=te.level===0?xA(te,ne):te.strategy===Mc?rp(te,ne):te.strategy===bA?M0(te,ne):cA[te.level].func(te,ne);if((ge===fc||ge===uc)&&(te.status=Uu),ge===Jl||ge===fc)return E.avail_out===0&&(te.last_flush=-1),sc;if(ge===hl&&(ne===ac?Vs(te):ne!==oc&&(bs(te,0,0,!1),ne===ad&&(Vu(te.head),te.lookahead===0&&(te.strstart=0,te.block_start=0,te.insert=0))),Dd(E),E.avail_out===0))return te.last_flush=-1,sc}return ne!==Fu?sc:te.wrap<=0?wc:(te.wrap===2?(iu(te,E.adler&255),iu(te,E.adler>>8&255),iu(te,E.adler>>16&255),iu(te,E.adler>>24&255),iu(te,E.total_in&255),iu(te,E.total_in>>8&255),iu(te,E.total_in>>16&255),iu(te,E.total_in>>24&255)):(uA(te,E.adler>>>16),uA(te,E.adler&65535)),Dd(E),te.wrap>0&&(te.wrap=-te.wrap),te.pending!==0?sc:wc)},ur=E=>{if(Ut(E))return Kl;const ne=E.state.status;return E.state=null,ne===Du?ec(E,$d):sc},Jr=(E,ne)=>{let te=ne.length;if(Ut(E))return Kl;const de=E.state,ge=de.wrap;if(ge===2||ge===1&&de.status!==Pc||de.lookahead)return Kl;if(ge===1&&(E.adler=Bs(E.adler,ne,te,0)),de.wrap=0,te>=de.w_size){ge===0&&(Vu(de.head),de.strstart=0,de.block_start=0,de.insert=0);let ot=new Uint8Array(de.w_size);ot.set(ne.subarray(te-de.w_size,te),0),ne=ot,te=de.w_size}const Ce=E.avail_in,nt=E.next_in,Ge=E.input;for(E.avail_in=te,E.next_in=0,E.input=ne,sd(de);de.lookahead>=Eo;){let ot=de.strstart,ft=de.lookahead-(Eo-1);do de.ins_h=od(de,de.ins_h,de.window[ot+Eo-1]),de.prev[ot&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=ot,ot++;while(--ft);de.strstart=ot,de.lookahead=Eo-1,sd(de)}return de.strstart+=de.lookahead,de.block_start=de.strstart,de.insert=de.lookahead,de.lookahead=0,de.match_length=de.prev_length=Eo-1,de.match_available=0,E.next_in=nt,E.input=Ge,E.avail_in=Ce,de.wrap=ge,sc};var hi=gr,ni=On,qi=En,Qi=An,Vi=Vn,ja=fr,Fa=ur,Ta=Jr,Ia="pako deflate (from Nodeca project)",$a={deflateInit:hi,deflateInit2:ni,deflateReset:qi,deflateResetKeep:Qi,deflateSetHeader:Vi,deflate:ja,deflateEnd:Fa,deflateSetDictionary:Ta,deflateInfo:Ia};const Ko=(E,ne)=>Object.prototype.hasOwnProperty.call(E,ne);var Jo=function(E){const ne=Array.prototype.slice.call(arguments,1);for(;ne.length;){const te=ne.shift();if(te){if(typeof te!="object")throw new TypeError(te+"must be non-object");for(const de in te)Ko(te,de)&&(E[de]=te[de])}}return E},Fo=E=>{let ne=0;for(let de=0,ge=E.length;de=252?6:E>=248?5:E>=240?4:E>=224?3:E>=192?2:1;lo[254]=lo[254]=1;var Oo=E=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(E);let ne,te,de,ge,Ce,nt=E.length,Ge=0;for(ge=0;ge>>6,ne[Ce++]=128|te&63):te<65536?(ne[Ce++]=224|te>>>12,ne[Ce++]=128|te>>>6&63,ne[Ce++]=128|te&63):(ne[Ce++]=240|te>>>18,ne[Ce++]=128|te>>>12&63,ne[Ce++]=128|te>>>6&63,ne[Ce++]=128|te&63);return ne};const vo=(E,ne)=>{if(ne<65534&&E.subarray&&_s)return String.fromCharCode.apply(null,E.length===ne?E:E.subarray(0,ne));let te="";for(let de=0;de{const te=ne||E.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(E.subarray(0,ne));let de,ge;const Ce=new Array(te*2);for(ge=0,de=0;de4){Ce[ge++]=65533,de+=Ge-1;continue}for(nt&=Ge===2?31:Ge===3?15:7;Ge>1&&de1){Ce[ge++]=65533;continue}nt<65536?Ce[ge++]=nt:(nt-=65536,Ce[ge++]=55296|nt>>10&1023,Ce[ge++]=56320|nt&1023)}return vo(Ce,ge)},bo=(E,ne)=>{ne=ne||E.length,ne>E.length&&(ne=E.length);let te=ne-1;for(;te>=0&&(E[te]&192)===128;)te--;return te<0||te===0?ne:te+lo[E[te]]>ne?te:ne},is={string2buf:Oo,buf2string:Ba,utf8border:bo};function tl(){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 as=tl;const za=Object.prototype.toString,{Z_NO_FLUSH:gs,Z_SYNC_FLUSH:Ns,Z_FULL_FLUSH:jl,Z_FINISH:Ll,Z_OK:ku,Z_STREAM_END:Mu,Z_DEFAULT_COMPRESSION:Is,Z_DEFAULT_STRATEGY:cc,Z_DEFLATED:wl}=zo;function du(E){this.options=ss.assign({level:Is,method:wl,chunkSize:16384,windowBits:15,memLevel:8,strategy:cc},E||{});let ne=this.options;ne.raw&&ne.windowBits>0?ne.windowBits=-ne.windowBits:ne.gzip&&ne.windowBits>0&&ne.windowBits<16&&(ne.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new as,this.strm.avail_out=0;let te=$a.deflateInit2(this.strm,ne.level,ne.method,ne.windowBits,ne.memLevel,ne.strategy);if(te!==ku)throw new Error(Do[te]);if(ne.header&&$a.deflateSetHeader(this.strm,ne.header),ne.dictionary){let de;if(typeof ne.dictionary=="string"?de=is.string2buf(ne.dictionary):za.call(ne.dictionary)==="[object ArrayBuffer]"?de=new Uint8Array(ne.dictionary):de=ne.dictionary,te=$a.deflateSetDictionary(this.strm,de),te!==ku)throw new Error(Do[te]);this._dict_set=!0}}du.prototype.push=function(E,ne){const te=this.strm,de=this.options.chunkSize;let ge,Ce;if(this.ended)return!1;for(ne===~~ne?Ce=ne:Ce=ne===!0?Ll:gs,typeof E=="string"?te.input=is.string2buf(E):za.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){if(te.avail_out===0&&(te.output=new Uint8Array(de),te.next_out=0,te.avail_out=de),(Ce===Ns||Ce===jl)&&te.avail_out<=6){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(ge=$a.deflate(te,Ce),ge===Mu)return te.next_out>0&&this.onData(te.output.subarray(0,te.next_out)),ge=$a.deflateEnd(this.strm),this.onEnd(ge),this.ended=!0,ge===ku;if(te.avail_out===0){this.onData(te.output);continue}if(Ce>0&&te.next_out>0){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(te.avail_in===0)break}return!0},du.prototype.onData=function(E){this.chunks.push(E)},du.prototype.onEnd=function(E){E===ku&&(this.result=ss.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function Au(E,ne){const te=new du(ne);if(te.push(E,!0),te.err)throw te.msg||Do[te.err];return te.result}function Ic(E,ne){return ne=ne||{},ne.raw=!0,Au(E,ne)}function wo(E,ne){return ne=ne||{},ne.gzip=!0,Au(E,ne)}var es=du,ts=Au,Po=Ic,Tl=wo,Wo=zo,Ss={Deflate:es,deflate:ts,deflateRaw:Po,gzip:Tl,constants:Wo};const sl=16209,pl=16191;var td=function(ne,te){let de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn,wn,Ir,Br,ar,wi,ta,Wi,Yr,sr,ci;const yn=ne.state;de=ne.next_in,sr=ne.input,ge=de+(ne.avail_in-5),Ce=ne.next_out,ci=ne.output,nt=Ce-(te-ne.avail_out),Ge=Ce+(ne.avail_out-257),ot=yn.dmax,ft=yn.wsize,Et=yn.whave,en=yn.wnext,sn=yn.window,Ct=yn.hold,Hn=yn.bits,In=yn.lencode,Zn=yn.distcode,wn=(1<>>24,Ct>>>=ar,Hn-=ar,ar=Br>>>16&255,ar===0)ci[Ce++]=Br&65535;else if(ar&16){wi=Br&65535,ar&=15,ar&&(Hn>>=ar,Hn-=ar),Hn<15&&(Ct+=sr[de++]<>>24,Ct>>>=ar,Hn-=ar,ar=Br>>>16&255,ar&16){if(ta=Br&65535,ar&=15,Hnot){ne.msg="invalid distance too far back",yn.mode=sl;break e}if(Ct>>>=ar,Hn-=ar,ar=Ce-nt,ta>ar){if(ar=ta-ar,ar>Et&&yn.sane){ne.msg="invalid distance too far back",yn.mode=sl;break e}if(Wi=0,Yr=sn,en===0){if(Wi+=ft-ar,ar2;)ci[Ce++]=Yr[Wi++],ci[Ce++]=Yr[Wi++],ci[Ce++]=Yr[Wi++],wi-=3;wi&&(ci[Ce++]=Yr[Wi++],wi>1&&(ci[Ce++]=Yr[Wi++]))}else{Wi=Ce-ta;do ci[Ce++]=ci[Wi++],ci[Ce++]=ci[Wi++],ci[Ce++]=ci[Wi++],wi-=3;while(wi>2);wi&&(ci[Ce++]=ci[Wi++],wi>1&&(ci[Ce++]=ci[Wi++]))}}else if(ar&64){ne.msg="invalid distance code",yn.mode=sl;break e}else{Br=Zn[(Br&65535)+(Ct&(1<>3,de-=wi,Hn-=wi<<3,Ct&=(1<{const ot=Ge.bits;let ft=0,Et=0,en=0,sn=0,Ct=0,Hn=0,In=0,Zn=0,wn=0,Ir=0,Br,ar,wi,ta,Wi,Yr=null,sr;const ci=new Uint16Array(Gu+1),yn=new Uint16Array(Gu+1);let Gn=null,_r,Er,Fi;for(ft=0;ft<=Gu;ft++)ci[ft]=0;for(Et=0;Et=1&&ci[sn]===0;sn--);if(Ct>sn&&(Ct=sn),sn===0)return ge[Ce++]=1<<24|64<<16|0,ge[Ce++]=1<<24|64<<16|0,Ge.bits=1,0;for(en=1;en0&&(E===zd||sn!==1))return-1;for(yn[1]=0,ft=1;ftQd||E===Rc&&wn>tc)return 1;for(;;){_r=ft-In,nt[Et]+1=sr?(Er=Gn[nt[Et]-sr],Fi=Yr[nt[Et]-sr]):(Er=96,Fi=0),Br=1<>In)+ar]=_r<<24|Er<<16|Fi|0;while(ar!==0);for(Br=1<>=1;if(Br!==0?(Ir&=Br-1,Ir+=Br):Ir=0,Et++,--ci[ft]===0){if(ft===sn)break;ft=ne[te+nt[Et]]}if(ft>Ct&&(Ir&ta)!==wi){for(In===0&&(In=Ct),Wi+=en,Hn=ft-In,Zn=1<Qd||E===Rc&&wn>tc)return 1;wi=Ir&ta,ge[wi]=Ct<<24|Hn<<16|Wi-Ce|0}}return Ir!==0&&(ge[Wi+Ir]=ft-In<<24|64<<16|0),Ge.bits=Ct,0};const ps=0,$l=1,Uc=2,{Z_FINISH:Nd,Z_BLOCK:Cd,Z_TREES:Hc,Z_OK:Yu,Z_STREAM_END:CA,Z_NEED_DICT:Zc,Z_STREAM_ERROR:Xu,Z_DATA_ERROR:jc,Z_MEM_ERROR:Nu,Z_BUF_ERROR:Hu,Z_DEFLATED:ld}=zo,dA=16180,Kd=16181,BA=16182,XA=16183,Eh=16184,Bl=16185,au=16186,Lc=16187,ou=16188,Bc=16189,Dc=16190,nc=16191,SA=16192,ah=16193,EA=16194,FA=16195,ml=16196,ju=16197,AA=16198,kA=16199,ud=16200,e0=16201,pc=16202,Fh=16203,t0=16204,Df=16205,oh=16206,Nf=16207,wf=16208,Li=16209,sh=16210,kh=16211,n0=852,MA=592,lh=15,xf=E=>(E>>>24&255)+(E>>>8&65280)+((E&65280)<<8)+((E&255)<<24);function Ou(){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 Cf=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.modekh?1:0},Mh=E=>{if(Cf(E))return Xu;const ne=E.state;return E.total_in=E.total_out=ne.total=0,E.msg="",ne.wrap&&(E.adler=ne.wrap&1),ne.mode=dA,ne.last=0,ne.havedict=0,ne.flags=-1,ne.dmax=32768,ne.head=null,ne.hold=0,ne.bits=0,ne.lencode=ne.lendyn=new Int32Array(n0),ne.distcode=ne.distdyn=new Int32Array(MA),ne.sane=1,ne.back=-1,Yu},_A=E=>{if(Cf(E))return Xu;const ne=E.state;return ne.wsize=0,ne.whave=0,ne.wnext=0,Mh(E)},uh=(E,ne)=>{let te;if(Cf(E))return Xu;const de=E.state;return ne<0?(te=0,ne=-ne):(te=(ne>>4)+5,ne<48&&(ne&=15)),ne&&(ne<8||ne>15)?Xu:(de.window!==null&&de.wbits!==ne&&(de.window=null),de.wrap=te,de.wbits=ne,_A(E))},IA=(E,ne)=>{if(!E)return Xu;const te=new Ou;E.state=te,te.strm=E,te.window=null,te.mode=dA;const de=uh(E,ne);return de!==Yu&&(E.state=null),de},JA=E=>IA(E,lh);let fu=!0,nd,Vc;const qA=E=>{if(fu){nd=new Int32Array(512),Vc=new Int32Array(32);let ne=0;for(;ne<144;)E.lens[ne++]=8;for(;ne<256;)E.lens[ne++]=9;for(;ne<280;)E.lens[ne++]=7;for(;ne<288;)E.lens[ne++]=8;for(Iu($l,E.lens,0,288,nd,0,E.work,{bits:9}),ne=0;ne<32;)E.lens[ne++]=5;Iu(Uc,E.lens,0,32,Vc,0,E.work,{bits:5}),fu=!1}E.lencode=nd,E.lenbits=9,E.distcode=Vc,E.distbits=5},Sl=(E,ne,te,de)=>{let ge;const Ce=E.state;return Ce.window===null&&(Ce.wsize=1<=Ce.wsize?(Ce.window.set(ne.subarray(te-Ce.wsize,te),0),Ce.wnext=0,Ce.whave=Ce.wsize):(ge=Ce.wsize-Ce.wnext,ge>de&&(ge=de),Ce.window.set(ne.subarray(te-de,te-de+ge),Ce.wnext),de-=ge,de?(Ce.window.set(ne.subarray(te-de,te),0),Ce.wnext=de,Ce.whave=Ce.wsize):(Ce.wnext+=ge,Ce.wnext===Ce.wsize&&(Ce.wnext=0),Ce.whave{let te,de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn=0,wn,Ir,Br,ar,wi,ta,Wi,Yr;const sr=new Uint8Array(4);let ci,yn;const Gn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Cf(E)||!E.output||!E.input&&E.avail_in!==0)return Xu;te=E.state,te.mode===nc&&(te.mode=SA),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,de=E.input,Ge=E.avail_in,ft=te.hold,Et=te.bits,en=Ge,sn=ot,Yr=Yu;e:for(;;)switch(te.mode){case dA:if(te.wrap===0){te.mode=SA;break}for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>8&255,te.check=Ho(te.check,sr,2,0),ft=0,Et=0,te.mode=Kd;break}if(te.head&&(te.head.done=!1),!(te.wrap&1)||(((ft&255)<<8)+(ft>>8))%31){E.msg="incorrect header check",te.mode=Li;break}if((ft&15)!==ld){E.msg="unknown compression method",te.mode=Li;break}if(ft>>>=4,Et-=4,Wi=(ft&15)+8,te.wbits===0&&(te.wbits=Wi),Wi>15||Wi>te.wbits){E.msg="invalid window size",te.mode=Li;break}te.dmax=1<>8&1),te.flags&512&&te.wrap&4&&(sr[0]=ft&255,sr[1]=ft>>>8&255,te.check=Ho(te.check,sr,2,0)),ft=0,Et=0,te.mode=BA;case BA:for(;Et<32;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>8&255,sr[2]=ft>>>16&255,sr[3]=ft>>>24&255,te.check=Ho(te.check,sr,4,0)),ft=0,Et=0,te.mode=XA;case XA:for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>8),te.flags&512&&te.wrap&4&&(sr[0]=ft&255,sr[1]=ft>>>8&255,te.check=Ho(te.check,sr,2,0)),ft=0,Et=0,te.mode=Eh;case Eh:if(te.flags&1024){for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>8&255,te.check=Ho(te.check,sr,2,0)),ft=0,Et=0}else te.head&&(te.head.extra=null);te.mode=Bl;case Bl:if(te.flags&1024&&(Ct=te.length,Ct>Ge&&(Ct=Ge),Ct&&(te.head&&(Wi=te.head.extra_len-te.length,te.head.extra||(te.head.extra=new Uint8Array(te.head.extra_len)),te.head.extra.set(de.subarray(Ce,Ce+Ct),Wi)),te.flags&512&&te.wrap&4&&(te.check=Ho(te.check,de,Ct,Ce)),Ge-=Ct,Ce+=Ct,te.length-=Ct),te.length))break e;te.length=0,te.mode=au;case au:if(te.flags&2048){if(Ge===0)break e;Ct=0;do Wi=de[Ce+Ct++],te.head&&Wi&&te.length<65536&&(te.head.name+=String.fromCharCode(Wi));while(Wi&&Ct>9&1,te.head.done=!0),E.adler=te.check=0,te.mode=nc;break;case Bc:for(;Et<32;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>=Et&7,Et-=Et&7,te.mode=oh;break}for(;Et<3;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>=1,Et-=1,ft&3){case 0:te.mode=ah;break;case 1:if(qA(te),te.mode=kA,ne===Hc){ft>>>=2,Et-=2;break e}break;case 2:te.mode=ml;break;case 3:E.msg="invalid block type",te.mode=Li}ft>>>=2,Et-=2;break;case ah:for(ft>>>=Et&7,Et-=Et&7;Et<32;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>16^65535)){E.msg="invalid stored block lengths",te.mode=Li;break}if(te.length=ft&65535,ft=0,Et=0,te.mode=EA,ne===Hc)break e;case EA:te.mode=FA;case FA:if(Ct=te.length,Ct){if(Ct>Ge&&(Ct=Ge),Ct>ot&&(Ct=ot),Ct===0)break e;ge.set(de.subarray(Ce,Ce+Ct),nt),Ge-=Ct,Ce+=Ct,ot-=Ct,nt+=Ct,te.length-=Ct;break}te.mode=nc;break;case ml:for(;Et<14;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>=5,Et-=5,te.ndist=(ft&31)+1,ft>>>=5,Et-=5,te.ncode=(ft&15)+4,ft>>>=4,Et-=4,te.nlen>286||te.ndist>30){E.msg="too many length or distance symbols",te.mode=Li;break}te.have=0,te.mode=ju;case ju:for(;te.have>>=3,Et-=3}for(;te.have<19;)te.lens[Gn[te.have++]]=0;if(te.lencode=te.lendyn,te.lenbits=7,ci={bits:te.lenbits},Yr=Iu(ps,te.lens,0,19,te.lencode,0,te.work,ci),te.lenbits=ci.bits,Yr){E.msg="invalid code lengths set",te.mode=Li;break}te.have=0,te.mode=AA;case AA:for(;te.have>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>=wn,Et-=wn,te.lens[te.have++]=Br;else{if(Br===16){for(yn=wn+2;Et>>=wn,Et-=wn,te.have===0){E.msg="invalid bit length repeat",te.mode=Li;break}Wi=te.lens[te.have-1],Ct=3+(ft&3),ft>>>=2,Et-=2}else if(Br===17){for(yn=wn+3;Et>>=wn,Et-=wn,Wi=0,Ct=3+(ft&7),ft>>>=3,Et-=3}else{for(yn=wn+7;Et>>=wn,Et-=wn,Wi=0,Ct=11+(ft&127),ft>>>=7,Et-=7}if(te.have+Ct>te.nlen+te.ndist){E.msg="invalid bit length repeat",te.mode=Li;break}for(;Ct--;)te.lens[te.have++]=Wi}}if(te.mode===Li)break;if(te.lens[256]===0){E.msg="invalid code -- missing end-of-block",te.mode=Li;break}if(te.lenbits=9,ci={bits:te.lenbits},Yr=Iu($l,te.lens,0,te.nlen,te.lencode,0,te.work,ci),te.lenbits=ci.bits,Yr){E.msg="invalid literal/lengths set",te.mode=Li;break}if(te.distbits=6,te.distcode=te.distdyn,ci={bits:te.distbits},Yr=Iu(Uc,te.lens,te.nlen,te.ndist,te.distcode,0,te.work,ci),te.distbits=ci.bits,Yr){E.msg="invalid distances set",te.mode=Li;break}if(te.mode=kA,ne===Hc)break e;case kA:te.mode=ud;case ud:if(Ge>=6&&ot>=258){E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=ft,te.bits=Et,td(E,sn),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,de=E.input,Ge=E.avail_in,ft=te.hold,Et=te.bits,te.mode===nc&&(te.back=-1);break}for(te.back=0;Zn=te.lencode[ft&(1<>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>ar)],wn=Zn>>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(ar+wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>=ar,Et-=ar,te.back+=ar}if(ft>>>=wn,Et-=wn,te.back+=wn,te.length=Br,Ir===0){te.mode=Df;break}if(Ir&32){te.back=-1,te.mode=nc;break}if(Ir&64){E.msg="invalid literal/length code",te.mode=Li;break}te.extra=Ir&15,te.mode=e0;case e0:if(te.extra){for(yn=te.extra;Et>>=te.extra,Et-=te.extra,te.back+=te.extra}te.was=te.length,te.mode=pc;case pc:for(;Zn=te.distcode[ft&(1<>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>ar)],wn=Zn>>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(ar+wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<>>=ar,Et-=ar,te.back+=ar}if(ft>>>=wn,Et-=wn,te.back+=wn,Ir&64){E.msg="invalid distance code",te.mode=Li;break}te.offset=Br,te.extra=Ir&15,te.mode=Fh;case Fh:if(te.extra){for(yn=te.extra;Et>>=te.extra,Et-=te.extra,te.back+=te.extra}if(te.offset>te.dmax){E.msg="invalid distance too far back",te.mode=Li;break}te.mode=t0;case t0:if(ot===0)break e;if(Ct=sn-ot,te.offset>Ct){if(Ct=te.offset-Ct,Ct>te.whave&&te.sane){E.msg="invalid distance too far back",te.mode=Li;break}Ct>te.wnext?(Ct-=te.wnext,Hn=te.wsize-Ct):Hn=te.wnext-Ct,Ct>te.length&&(Ct=te.length),In=te.window}else In=ge,Hn=nt-te.offset,Ct=te.length;Ct>ot&&(Ct=ot),ot-=Ct,te.length-=Ct;do ge[nt++]=In[Hn++];while(--Ct);te.length===0&&(te.mode=ud);break;case Df:if(ot===0)break e;ge[nt++]=te.length,ot--,te.mode=ud;break;case oh:if(te.wrap){for(;Et<32;){if(Ge===0)break e;Ge--,ft|=de[Ce++]<{if(Cf(E))return Xu;let ne=E.state;return ne.window&&(ne.window=null),E.state=null,Yu},$A=(E,ne)=>{if(Cf(E))return Xu;const te=E.state;return te.wrap&2?(te.head=ne,ne.done=!1,Yu):Xu},ef=(E,ne)=>{const te=ne.length;let de,ge,Ce;return Cf(E)||(de=E.state,de.wrap!==0&&de.mode!==Dc)?Xu:de.mode===Dc&&(ge=1,ge=Bs(ge,ne,te,0),ge!==de.check)?jc:(Ce=Sl(E,ne,te,te),Ce?(de.mode=sh,Nu):(de.havedict=1,Yu))};var _0=_A,Nc=uh,LA=Mh,I0=JA,Bf=IA,L0=Zl,Vl=Bd,_h=$A,Sf=ef,Ih="pako inflate (from Nodeca project)",Ei={inflateReset:_0,inflateReset2:Nc,inflateResetKeep:LA,inflateInit:I0,inflateInit2:Bf,inflate:L0,inflateEnd:Vl,inflateGetHeader:_h,inflateSetDictionary:Sf,inflateInfo:Ih};function om(){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 sm=om;const ap=Object.prototype.toString,{Z_NO_FLUSH:r0,Z_FINISH:tf,Z_OK:Tf,Z_STREAM_END:op,Z_NEED_DICT:rd,Z_STREAM_ERROR:Pf,Z_DATA_ERROR:i0,Z_MEM_ERROR:D0}=zo;function N0(E){this.options=ss.assign({chunkSize:1024*64,windowBits:15,to:""},E||{});const ne=this.options;ne.raw&&ne.windowBits>=0&&ne.windowBits<16&&(ne.windowBits=-ne.windowBits,ne.windowBits===0&&(ne.windowBits=-15)),ne.windowBits>=0&&ne.windowBits<16&&!(E&&E.windowBits)&&(ne.windowBits+=32),ne.windowBits>15&&ne.windowBits<48&&(ne.windowBits&15||(ne.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new as,this.strm.avail_out=0;let te=Ei.inflateInit2(this.strm,ne.windowBits);if(te!==Tf)throw new Error(Do[te]);if(this.header=new sm,Ei.inflateGetHeader(this.strm,this.header),ne.dictionary&&(typeof ne.dictionary=="string"?ne.dictionary=is.string2buf(ne.dictionary):ap.call(ne.dictionary)==="[object ArrayBuffer]"&&(ne.dictionary=new Uint8Array(ne.dictionary)),ne.raw&&(te=Ei.inflateSetDictionary(this.strm,ne.dictionary),te!==Tf)))throw new Error(Do[te])}N0.prototype.push=function(E,ne){const te=this.strm,de=this.options.chunkSize,ge=this.options.dictionary;let Ce,nt,Ge;if(this.ended)return!1;for(ne===~~ne?nt=ne:nt=ne===!0?tf:r0,ap.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){for(te.avail_out===0&&(te.output=new Uint8Array(de),te.next_out=0,te.avail_out=de),Ce=Ei.inflate(te,nt),Ce===rd&&ge&&(Ce=Ei.inflateSetDictionary(te,ge),Ce===Tf?Ce=Ei.inflate(te,nt):Ce===i0&&(Ce=rd));te.avail_in>0&&Ce===op&&te.state.wrap>0&&E[te.next_in]!==0;)Ei.inflateReset(te),Ce=Ei.inflate(te,nt);switch(Ce){case Pf:case i0:case rd:case D0:return this.onEnd(Ce),this.ended=!0,!1}if(Ge=te.avail_out,te.next_out&&(te.avail_out===0||Ce===op))if(this.options.to==="string"){let ot=is.utf8border(te.output,te.next_out),ft=te.next_out-ot,Et=is.buf2string(te.output,ot);te.next_out=ft,te.avail_out=de-ft,ft&&te.output.set(te.output.subarray(ot,ot+ft),0),this.onData(Et)}else this.onData(te.output.length===te.next_out?te.output:te.output.subarray(0,te.next_out));if(!(Ce===Tf&&Ge===0)){if(Ce===op)return Ce=Ei.inflateEnd(this.strm),this.onEnd(Ce),this.ended=!0,!0;if(te.avail_in===0)break}}return!0},N0.prototype.onData=function(E){this.chunks.push(E)},N0.prototype.onEnd=function(E){E===Tf&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ss.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function Lh(E,ne){const te=new N0(ne);if(te.push(E),te.err)throw te.msg||Do[te.err];return te.result}function sp(E,ne){return ne=ne||{},ne.raw=!0,Lh(E,ne)}var Bp=N0,O0=Lh,Wd=sp,Rf=Lh,Dh=zo,T0={Inflate:Bp,inflate:O0,inflateRaw:Wd,ungzip:Rf,constants:Dh};const{Deflate:Af,deflate:lm,deflateRaw:lp,gzip:Hm}=Ss,{Inflate:jm,inflate:Sp,inflateRaw:zs,ungzip:um}=T0;var up=Af,TA=lm,nf=lp,Uf=Hm,P0=jm,Nh=Sp,a0=zs,Oh=um,Ep=zo,cm={Deflate:up,deflate:TA,deflateRaw:nf,gzip:Uf,Inflate:P0,inflate:Nh,inflateRaw:a0,ungzip:Oh,constants:Ep};const R0=[];for(let E=0;E<256;E++){let ne=E;for(let te=0;te<8;te++)ne&1?ne=3988292384^ne>>>1:ne=ne>>>1;R0[E]=ne}const o0=4294967295;function dm(E,ne,te){let de=E;for(let ge=0;ge>>8;return de}function Qu(E,ne){return(dm(o0,E,ne)^o0)>>>0}function ch(E,ne,te){const de=E.readUint32(),ge=Qu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne-4,ne),ne);if(ge!==de)throw new Error(`CRC mismatch for chunk ${te}. Expected ${de}, found ${ge}`)}function Qm(E,ne){E.writeUint32(Qu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne,ne),ne))}function mc(E,ne,te){for(let de=0;de>1)&255}else{for(;Ce>1)&255;for(;Ce>1)&255}}function su(E,ne,te,de,ge){let Ce=0;if(te.length===0){for(;Ce=te||ta>=de))for(let Wi=0;Wi>8&255}const le=new Uint16Array([255]),Ve=new Uint8Array(le.buffer)[0]===255,mt=new Uint8Array(0);function It(E){const{data:ne,width:te,height:de,channels:ge,depth:Ce}=E,nt=Math.ceil(Ce/8)*ge,Ge=Math.ceil(Ce/8*ge*te),ot=new Uint8Array(de*Ge);let ft=mt,Et=0,en,sn;for(let Ct=0;Ct>8&255}const Jt=Uint8Array.of(137,80,78,71,13,10,26,10);function zn(E){E.writeBytes(Jt)}function tr(E){if(!ei(E.readBytes(Jt.length)))throw new Error("wrong PNG signature")}function ei(E){if(E.length79)throw new Error("keyword length must be between 1 and 79")}const yo=/^[\u0000-\u00FF]*$/;function ko(E){if(!yo.test(E))throw new Error("invalid latin1 text")}function Ao(E,ne,te){const de=ms(ne);E[de]=ws(ne,te-de.length-1)}function Ro(E,ne,te){Ga(ne),ko(te);const de=ne.length+1+te.length;E.writeUint32(de),E.writeChars(Kr),E.writeChars(ne),E.writeByte(Ri),E.writeChars(te),writeCrc(E,de+4)}function ms(E){for(E.mark();E.readByte()!==Ri;);const ne=E.offset;E.reset();const te=ga.decode(E.readBytes(ne-E.offset-1));return E.skip(1),Ga(te),te}function ws(E,ne){return ga.decode(E.readBytes(ne))}const Rs={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},zu={UNKNOWN:-1,DEFLATE:0},pd={UNKNOWN:-1,ADAPTIVE:0},Sc={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Od={NONE:0,BACKGROUND:1,PREVIOUS:2},Sd={SOURCE:0,OVER:1};class cd extends ao{constructor(te,de={}){super(te);bc(this,"_checkCrc");bc(this,"_inflator");bc(this,"_png");bc(this,"_apng");bc(this,"_end");bc(this,"_hasPalette");bc(this,"_palette");bc(this,"_hasTransparency");bc(this,"_transparency");bc(this,"_compressionMethod");bc(this,"_filterMethod");bc(this,"_interlaceMethod");bc(this,"_colorType");bc(this,"_isAnimated");bc(this,"_numberOfFrames");bc(this,"_numberOfPlays");bc(this,"_frames");bc(this,"_writingDataChunks");const{checkCrc:ge=!1}=de;this._checkCrc=ge,this._inflator=new P0,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=zu.UNKNOWN,this._filterMethod=pd.UNKNOWN,this._interlaceMethod=Sc.UNKNOWN,this._colorType=Rs.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(tr(this);!this._end;){const te=this.readUint32(),de=this.readChars(4);this.decodeChunk(te,de)}return this.decodeImage(),this._png}decodeApng(){for(tr(this);!this._end;){const te=this.readUint32(),de=this.readChars(4);this.decodeApngChunk(te,de)}return this.decodeApngImage(),this._apng}decodeChunk(te,de){const ge=this.offset;switch(de){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(te);break;case"IDAT":this.decodeIDAT(te);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(te);break;case"iCCP":this.decodeiCCP(te);break;case Kr:Ao(this._png.text,this,te);break;case"pHYs":this.decodepHYs();break;default:this.skip(te);break}if(this.offset-ge!==te)throw new Error(`Length mismatch while decoding chunk ${de}`);this._checkCrc?ch(this,te+4,de):this.skip(4)}decodeApngChunk(te,de){const ge=this.offset;switch(de!=="fdAT"&&de!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),de){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(te);break;default:this.decodeChunk(te,de),this.offset=ge+te;break}if(this.offset-ge!==te)throw new Error(`Length mismatch while decoding chunk ${de}`);this._checkCrc?ch(this,te+4,de):this.skip(4)}decodeIHDR(){const te=this._png;te.width=this.readUint32(),te.height=this.readUint32(),te.depth=Zd(this.readUint8());const de=this.readUint8();this._colorType=de;let ge;switch(de){case Rs.GREYSCALE:ge=1;break;case Rs.TRUECOLOUR:ge=3;break;case Rs.INDEXED_COLOUR:ge=1;break;case Rs.GREYSCALE_ALPHA:ge=2;break;case Rs.TRUECOLOUR_ALPHA:ge=4;break;case Rs.UNKNOWN:default:throw new Error(`Unknown color type: ${de}`)}if(this._png.channels=ge,this._compressionMethod=this.readUint8(),this._compressionMethod!==zu.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 te={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(te)}decodePLTE(te){if(te%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${te}`);const de=te/3;this._hasPalette=!0;const ge=[];this._palette=ge;for(let Ce=0;Cethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${te/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(te/2);for(let de=0;dethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${te} vs ${this._palette.length})`);let de=0;for(;de{const ot=((nt+de.yOffset)*this._png.width+de.xOffset+Ge)*this._png.channels,ft=(nt*de.width+Ge)*this._png.channels;return{index:ot,frameIndex:ft}};switch(de.blendOp){case Sd.SOURCE:for(let nt=0;ntde.at(-1)!==255);this.writeUint32(te.length),this.writeChars("tRNS");for(const de of te)this.writeByte(de.at(-1));writeCrc(this,4+te.length)}encodeIDAT(te){this.writeUint32(te.length),this.writeChars("IDAT"),this.writeBytes(te),writeCrc(this,te.length+4)}encodeData(){const{width:te,height:de,channels:ge,depth:Ce,data:nt}=this._png,Ge=Ce<=8?Math.ceil(te*Ce/8)*ge:Math.ceil(te*Ce/8*ge/2),ot=new IOBuffer().setBigEndian();let ft=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let sn=0;sn0)return E;throw new TypeError(`${ne} must be a positive integer`)}function Ec(E,ne){const{channels:te=4,depth:de=8}=E;if(te!==4&&te!==3&&te!==2&&te!==1)throw new RangeError(`unsupported number of channels: ${te}`);const ge={channels:te,depth:de,colorType:ColorType.UNKNOWN};switch(te){case 4:ge.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ge.colorType=ColorType.TRUECOLOUR;break;case 1:ne?ge.colorType=ColorType.INDEXED_COLOUR:ge.colorType=ColorType.GREYSCALE;break;case 2:ge.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ge}function Lu(E,ne,te,de){for(let ge=0;ge>8&255),te.writeByte(Br&255)}}return de}function Pl(E,ne,te,de){for(let ge=0;ge=200&&ne.status<=299}function dd(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(te){var ne=document.createEvent("MouseEvents");ne.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(ne)}}var Ph=Us.saveAs||((typeof window=="undefined"?"undefined":(0,he.Z)(window))!=="object"||window!==Us?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(E,ne,te){var de=Us.URL||Us.webkitURL,ge=document.createElement("a");ne=ne||E.name||"download",ge.download=ne,ge.rel="noopener",typeof E=="string"?(ge.href=E,ge.origin!==location.origin?jf(ge.href)?Gc(E,ne,te):dd(ge,ge.target="_blank"):dd(ge)):(ge.href=de.createObjectURL(E),setTimeout(function(){de.revokeObjectURL(ge.href)},4e4),setTimeout(function(){dd(ge)},0))}:"msSaveOrOpenBlob"in navigator?function(E,ne,te){if(ne=ne||E.name||"download",typeof E=="string")if(jf(E))Gc(E,ne,te);else{var de=document.createElement("a");de.href=E,de.target="_blank",setTimeout(function(){dd(de)})}else navigator.msSaveOrOpenBlob(function(ge,Ce){return Ce===void 0?Ce={autoBom:!1}:(0,he.Z)(Ce)!=="object"&&(hu.warn("Deprecated: Expected third argument to be a object"),Ce={autoBom:!Ce}),Ce.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ge.type)?new Blob(["\uFEFF",ge],{type:ge.type}):ge}(E,te),ne)}:function(E,ne,te,de){if((de=de||open("","_blank"))&&(de.document.title=de.document.body.innerText="downloading..."),typeof E=="string")return Gc(E,ne,te);var ge=E.type==="application/octet-stream",Ce=/constructor/i.test(Us.HTMLElement)||Us.safari,nt=/CriOS\/[\d]+/.test(navigator.userAgent);if((nt||ge&&Ce)&&(typeof FileReader=="undefined"?"undefined":(0,he.Z)(FileReader))==="object"){var Ge=new FileReader;Ge.onloadend=function(){var Et=Ge.result;Et=nt?Et:Et.replace(/^data:[^;]*;/,"data:attachment/file;"),de?de.location.href=Et:location=Et,de=null},Ge.readAsDataURL(E)}else{var ot=Us.URL||Us.webkitURL,ft=ot.createObjectURL(E);de?de.location=ft:location.href=ft,de=null,setTimeout(function(){ot.revokeObjectURL(ft)},4e4)}});function zm(E){var ne;E=E||"",this.ok=!1,E.charAt(0)=="#"&&(E=E.substr(1,6)),E={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"}[E=(E=E.replace(/ /g,"")).toLowerCase()]||E;for(var te=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Ge){return[parseInt(Ge[1]),parseInt(Ge[2]),parseInt(Ge[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ge){return[parseInt(Ge[1],16),parseInt(Ge[2],16),parseInt(Ge[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ge){return[parseInt(Ge[1]+Ge[1],16),parseInt(Ge[2]+Ge[2],16),parseInt(Ge[3]+Ge[3],16)]}}],de=0;de255?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 Ge=this.r.toString(16),ot=this.g.toString(16),ft=this.b.toString(16);return Ge.length==1&&(Ge="0"+Ge),ot.length==1&&(ot="0"+ot),ft.length==1&&(ft="0"+ft),"#"+Ge+ot+ft}}var ba=Us.atob.bind(Us),gc=Us.btoa.bind(Us);function Am(E,ne){var te=E[0],de=E[1],ge=E[2],Ce=E[3];te=fA(te,de,ge,Ce,ne[0],7,-680876936),Ce=fA(Ce,te,de,ge,ne[1],12,-389564586),ge=fA(ge,Ce,te,de,ne[2],17,606105819),de=fA(de,ge,Ce,te,ne[3],22,-1044525330),te=fA(te,de,ge,Ce,ne[4],7,-176418897),Ce=fA(Ce,te,de,ge,ne[5],12,1200080426),ge=fA(ge,Ce,te,de,ne[6],17,-1473231341),de=fA(de,ge,Ce,te,ne[7],22,-45705983),te=fA(te,de,ge,Ce,ne[8],7,1770035416),Ce=fA(Ce,te,de,ge,ne[9],12,-1958414417),ge=fA(ge,Ce,te,de,ne[10],17,-42063),de=fA(de,ge,Ce,te,ne[11],22,-1990404162),te=fA(te,de,ge,Ce,ne[12],7,1804603682),Ce=fA(Ce,te,de,ge,ne[13],12,-40341101),ge=fA(ge,Ce,te,de,ne[14],17,-1502002290),te=tA(te,de=fA(de,ge,Ce,te,ne[15],22,1236535329),ge,Ce,ne[1],5,-165796510),Ce=tA(Ce,te,de,ge,ne[6],9,-1069501632),ge=tA(ge,Ce,te,de,ne[11],14,643717713),de=tA(de,ge,Ce,te,ne[0],20,-373897302),te=tA(te,de,ge,Ce,ne[5],5,-701558691),Ce=tA(Ce,te,de,ge,ne[10],9,38016083),ge=tA(ge,Ce,te,de,ne[15],14,-660478335),de=tA(de,ge,Ce,te,ne[4],20,-405537848),te=tA(te,de,ge,Ce,ne[9],5,568446438),Ce=tA(Ce,te,de,ge,ne[14],9,-1019803690),ge=tA(ge,Ce,te,de,ne[3],14,-187363961),de=tA(de,ge,Ce,te,ne[8],20,1163531501),te=tA(te,de,ge,Ce,ne[13],5,-1444681467),Ce=tA(Ce,te,de,ge,ne[2],9,-51403784),ge=tA(ge,Ce,te,de,ne[7],14,1735328473),te=Td(te,de=tA(de,ge,Ce,te,ne[12],20,-1926607734),ge,Ce,ne[5],4,-378558),Ce=Td(Ce,te,de,ge,ne[8],11,-2022574463),ge=Td(ge,Ce,te,de,ne[11],16,1839030562),de=Td(de,ge,Ce,te,ne[14],23,-35309556),te=Td(te,de,ge,Ce,ne[1],4,-1530992060),Ce=Td(Ce,te,de,ge,ne[4],11,1272893353),ge=Td(ge,Ce,te,de,ne[7],16,-155497632),de=Td(de,ge,Ce,te,ne[10],23,-1094730640),te=Td(te,de,ge,Ce,ne[13],4,681279174),Ce=Td(Ce,te,de,ge,ne[0],11,-358537222),ge=Td(ge,Ce,te,de,ne[3],16,-722521979),de=Td(de,ge,Ce,te,ne[6],23,76029189),te=Td(te,de,ge,Ce,ne[9],4,-640364487),Ce=Td(Ce,te,de,ge,ne[12],11,-421815835),ge=Td(ge,Ce,te,de,ne[15],16,530742520),te=Vd(te,de=Td(de,ge,Ce,te,ne[2],23,-995338651),ge,Ce,ne[0],6,-198630844),Ce=Vd(Ce,te,de,ge,ne[7],10,1126891415),ge=Vd(ge,Ce,te,de,ne[14],15,-1416354905),de=Vd(de,ge,Ce,te,ne[5],21,-57434055),te=Vd(te,de,ge,Ce,ne[12],6,1700485571),Ce=Vd(Ce,te,de,ge,ne[3],10,-1894986606),ge=Vd(ge,Ce,te,de,ne[10],15,-1051523),de=Vd(de,ge,Ce,te,ne[1],21,-2054922799),te=Vd(te,de,ge,Ce,ne[8],6,1873313359),Ce=Vd(Ce,te,de,ge,ne[15],10,-30611744),ge=Vd(ge,Ce,te,de,ne[6],15,-1560198380),de=Vd(de,ge,Ce,te,ne[13],21,1309151649),te=Vd(te,de,ge,Ce,ne[4],6,-145523070),Ce=Vd(Ce,te,de,ge,ne[11],10,-1120210379),ge=Vd(ge,Ce,te,de,ne[2],15,718787259),de=Vd(de,ge,Ce,te,ne[9],21,-343485551),E[0]=NA(te,E[0]),E[1]=NA(de,E[1]),E[2]=NA(ge,E[2]),E[3]=NA(Ce,E[3])}function fm(E,ne,te,de,ge,Ce){return ne=NA(NA(ne,E),NA(de,Ce)),NA(ne<>>32-ge,te)}function fA(E,ne,te,de,ge,Ce,nt){return fm(ne&te|~ne&de,E,ne,ge,Ce,nt)}function tA(E,ne,te,de,ge,Ce,nt){return fm(ne&de|te&~de,E,ne,ge,Ce,nt)}function Td(E,ne,te,de,ge,Ce,nt){return fm(ne^te^de,E,ne,ge,Ce,nt)}function Vd(E,ne,te,de,ge,Ce,nt){return fm(te^(ne|~de),E,ne,ge,Ce,nt)}function fg(E){var ne,te=E.length,de=[1732584193,-271733879,-1732584194,271733878];for(ne=64;ne<=E.length;ne+=64)Am(de,hm(E.substring(ne-64,ne)));E=E.substring(ne-64);var ge=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ne=0;ne>2]|=E.charCodeAt(ne)<<(ne%4<<3);if(ge[ne>>2]|=128<<(ne%4<<3),ne>55)for(Am(de,ge),ne=0;ne<16;ne++)ge[ne]=0;return ge[14]=8*te,Am(de,ge),de}function hm(E){var ne,te=[];for(ne=0;ne<64;ne+=4)te[ne>>2]=E.charCodeAt(ne)+(E.charCodeAt(ne+1)<<8)+(E.charCodeAt(ne+2)<<16)+(E.charCodeAt(ne+3)<<24);return te}var af="0123456789abcdef".split("");function U0(E){for(var ne="",te=0;te<4;te++)ne+=af[E>>8*te+4&15]+af[E>>8*te&15];return ne}function md(E){return String.fromCharCode(255&E,(65280&E)>>8,(16711680&E)>>16,(4278190080&E)>>24)}function H0(E){return fg(E).map(md).join("")}var Km=function(E){for(var ne=0;ne>16)+(ne>>16)+(te>>16)<<16|65535&te}return E+ne&4294967295}function Gd(E,ne){var te,de,ge,Ce;if(E!==te){for(var nt=(ge=E,Ce=1+(256/E.length|0),new Array(Ce+1).join(ge)),Ge=[],ot=0;ot<256;ot++)Ge[ot]=ot;var ft=0;for(ot=0;ot<256;ot++){var Et=Ge[ot];ft=(ft+Et+nt.charCodeAt(ot))%256,Ge[ot]=Ge[ft],Ge[ft]=Et}te=E,de=Ge}else Ge=de;var en=ne.length,sn=0,Ct=0,Hn="";for(ot=0;ot\x80/\f\xA9\xFEdSiz";var Ce=(ne+this.padding).substr(0,32),nt=(te+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ce,nt),this.P=-(1+(255^ge)),this.encryptionKey=H0(Ce+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(de)).substr(0,5),this.U=Gd(this.encryptionKey,this.padding)}function RA(E){if(/[^\u0000-\u00ff]/.test(E))throw new Error("Invalid PDF Name Object: "+E+", Only accept ASCII characters.");for(var ne="",te=E.length,de=0;de126?"#"+("0"+ge.toString(16)).slice(-2):E[de]}return ne}function Wm(E){if((0,he.Z)(E)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ne={};this.subscribe=function(te,de,ge){if(ge=ge||!1,typeof te!="string"||typeof de!="function"||typeof ge!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ne.hasOwnProperty(te)||(ne[te]={});var Ce=Math.random().toString(35);return ne[te][Ce]=[de,!!ge],Ce},this.unsubscribe=function(te){for(var de in ne)if(ne[de][te])return delete ne[de][te],Object.keys(ne[de]).length===0&&delete ne[de],!0;return!1},this.publish=function(te){if(ne.hasOwnProperty(te)){var de=Array.prototype.slice.call(arguments,1),ge=[];for(var Ce in ne[te]){var nt=ne[te][Ce];try{nt[0].apply(E,de)}catch(Ge){Us.console&&hu.error("jsPDF PubSub Error",Ge.message,Ge)}nt[1]&&ge.push(Ce)}ge.length&&ge.forEach(this.unsubscribe)}},this.getTopics=function(){return ne}}function kp(E){if(!(this instanceof kp))return new kp(E);var ne="opacity,stroke-opacity".split(",");for(var te in E)E.hasOwnProperty(te)&&ne.indexOf(te)>=0&&(this[te]=E[te]);this.id="",this.objectNumber=-1}function cp(E,ne){this.gState=E,this.matrix=ne,this.id="",this.objectNumber=-1}function l0(E,ne,te,de,ge){if(!(this instanceof l0))return new l0(E,ne,te,de,ge);this.type=E==="axial"?2:3,this.coords=ne,this.colors=te,cp.call(this,de,ge)}function u0(E,ne,te,de,ge){if(!(this instanceof u0))return new u0(E,ne,te,de,ge);this.boundingBox=E,this.xStep=ne,this.yStep=te,this.stream="",this.cloneIndex=0,cp.call(this,de,ge)}function Ls(E){var ne,te=typeof arguments[0]=="string"?arguments[0]:"p",de=arguments[1],ge=arguments[2],Ce=arguments[3],nt=[],Ge=1,ot=16,ft="S",Et=null;(0,he.Z)(E=E||{})==="object"&&(te=E.orientation,de=E.unit||de,ge=E.format||ge,Ce=E.compress||E.compressPdf||Ce,(Et=E.encryption||null)!==null&&(Et.userPassword=Et.userPassword||"",Et.ownerPassword=Et.ownerPassword||"",Et.userPermissions=Et.userPermissions||[]),Ge=typeof E.userUnit=="number"?Math.abs(E.userUnit):1,E.precision!==void 0&&(ne=E.precision),E.floatPrecision!==void 0&&(ot=E.floatPrecision),ft=E.defaultPathOperation||"S"),nt=E.filters||(Ce===!0?["FlateEncode"]:nt),de=de||"mm",te=(""+(te||"P")).toLowerCase();var en=E.putOnlyUsedFonts||!1,sn={},Ct={internal:{},__private__:{}};Ct.__private__.PubSub=Wm;var Hn="1.3",In=Ct.__private__.getPdfVersion=function(){return Hn};Ct.__private__.setPdfVersion=function(ct){Hn=ct};var Zn={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]};Ct.__private__.getPageFormats=function(){return Zn};var wn=Ct.__private__.getPageFormat=function(ct){return Zn[ct]};ge=ge||"a4";var Ir="compat",Br="advanced",ar=Ir;function wi(){this.saveGraphicsState(),jn(new vl(nu,0,0,-nu,0,fp()*nu).toString()+" cm"),this.setFontSize(this.getFontSize()/nu),ft="n",ar=Br}function ta(){this.restoreGraphicsState(),ft="S",ar=Ir}var Wi=Ct.__private__.combineFontStyleAndFontWeight=function(ct,an){if(ct=="bold"&&an=="normal"||ct=="bold"&&an==400||ct=="normal"&&an=="italic"||ct=="bold"&&an=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return an&&(ct=an==400||an==="normal"?ct==="italic"?"italic":"normal":an!=700&&an!=="bold"||ct!=="normal"?(an==700?"bold":an)+""+ct:"bold"),ct};Ct.advancedAPI=function(ct){var an=ar===Ir;return an&&wi.call(this),typeof ct!="function"||(ct(this),an&&ta.call(this)),this},Ct.compatAPI=function(ct){var an=ar===Br;return an&&ta.call(this),typeof ct!="function"||(ct(this),an&&wi.call(this)),this},Ct.isAdvancedAPI=function(){return ar===Br};var Yr,sr=function(ct){if(ar!==Br)throw new Error(ct+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ci=Ct.roundToPrecision=Ct.__private__.roundToPrecision=function(ct,an){var $n=ne||an;if(isNaN(ct)||isNaN($n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ct.toFixed($n).replace(/0+$/,"")};Yr=Ct.hpf=Ct.__private__.hpf=typeof ot=="number"?function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,ot)}:ot==="smart"?function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,ct>-1&&ct<1?16:5)}:function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,16)};var yn=Ct.f2=Ct.__private__.f2=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f2");return ci(ct,2)},Gn=Ct.__private__.f3=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f3");return ci(ct,3)},_r=Ct.scale=Ct.__private__.scale=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.scale");return ar===Ir?ct*nu:ar===Br?ct:void 0},Er=function(ct){return _r(function(an){return ar===Ir?fp()-an:ar===Br?an:void 0}(ct))};Ct.__private__.setPrecision=Ct.setPrecision=function(ct){typeof parseInt(ct,10)=="number"&&(ne=parseInt(ct,10))};var Fi,zi="00000000000000000000000000000000",Xi=Ct.__private__.getFileId=function(){return zi},Ci=Ct.__private__.setFileId=function(ct){return zi=ct!==void 0&&/^[a-fA-F0-9]{32}$/.test(ct)?ct.toUpperCase():zi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Et!==null&&(mA=new Ah(Et.userPermissions,Et.userPassword,Et.ownerPassword,zi)),zi};Ct.setFileId=function(ct){return Ci(ct),this},Ct.getFileId=function(){return Xi()};var Gi=Ct.__private__.convertDateToPDFDate=function(ct){var an=ct.getTimezoneOffset(),$n=an<0?"+":"-",kr=Math.floor(Math.abs(an/60)),ai=Math.abs(an%60),ha=[$n,hr(kr),"'",hr(ai),"'"].join("");return["D:",ct.getFullYear(),hr(ct.getMonth()+1),hr(ct.getDate()),hr(ct.getHours()),hr(ct.getMinutes()),hr(ct.getSeconds()),ha].join("")},fo=Ct.__private__.convertPDFDateToDate=function(ct){var an=parseInt(ct.substr(2,4),10),$n=parseInt(ct.substr(6,2),10)-1,kr=parseInt(ct.substr(8,2),10),ai=parseInt(ct.substr(10,2),10),ha=parseInt(ct.substr(12,2),10),Ua=parseInt(ct.substr(14,2),10);return new Date(an,$n,kr,ai,ha,Ua,0)},Na=Ct.__private__.setCreationDate=function(ct){var an;if(ct===void 0&&(ct=new Date),ct instanceof Date)an=Gi(ct);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(ct))throw new Error("Invalid argument passed to jsPDF.setCreationDate");an=ct}return Fi=an},hn=Ct.__private__.getCreationDate=function(ct){var an=Fi;return ct==="jsDate"&&(an=fo(Fi)),an};Ct.setCreationDate=function(ct){return Na(ct),this},Ct.getCreationDate=function(ct){return hn(ct)};var rr,hr=Ct.__private__.padd2=function(ct){return("0"+parseInt(ct)).slice(-2)},Pr=Ct.__private__.padd2Hex=function(ct){return("00"+(ct=ct.toString())).substr(ct.length)},ti=0,pi=[],Ti=[],Ui=0,ya=[],so=[],Uo=!1,Zo=Ti;Ct.__private__.setCustomOutputDestination=function(ct){Uo=!0,Zo=ct};var Gs=function(ct){Uo||(Zo=ct)};Ct.__private__.resetCustomOutputDestination=function(){Uo=!1,Zo=Ti};var jn=Ct.__private__.out=function(ct){return ct=ct.toString(),Ui+=ct.length+1,Zo.push(ct),Zo},Xo=Ct.__private__.write=function(ct){return jn(arguments.length===1?ct.toString():Array.prototype.join.call(arguments," "))},pu=Ct.__private__.getArrayBuffer=function(ct){for(var an=ct.length,$n=new ArrayBuffer(an),kr=new Uint8Array($n);an--;)kr[an]=ct.charCodeAt(an);return $n},gl=[["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]];Ct.__private__.getStandardFonts=function(){return gl};var to=E.fontSize||16;Ct.__private__.setFontSize=Ct.setFontSize=function(ct){return to=ar===Br?ct/nu:ct,this};var ul,qo=Ct.__private__.getFontSize=Ct.getFontSize=function(){return ar===Ir?to:to*nu},Ks=E.R2L||!1;Ct.__private__.setR2L=Ct.setR2L=function(ct){return Ks=ct,this},Ct.__private__.getR2L=Ct.getR2L=function(){return Ks};var il,Tu=Ct.__private__.setZoomMode=function(ct){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ct))ul=ct;else if(isNaN(ct)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(ct)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ct+'" is not recognized.');ul=ct}else ul=parseInt(ct,10)};Ct.__private__.getZoomMode=function(){return ul};var Pu,Fl=Ct.__private__.setPageMode=function(ct){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ct)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ct+'" is not recognized.');il=ct};Ct.__private__.getPageMode=function(){return il};var _u=Ct.__private__.setLayoutMode=function(ct){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ct)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ct+'" is not recognized.');Pu=ct};Ct.__private__.getLayoutMode=function(){return Pu},Ct.__private__.setDisplayMode=Ct.setDisplayMode=function(ct,an,$n){return Tu(ct),_u(an),Fl($n),this};var yu={title:"",subject:"",author:"",keywords:"",creator:""};Ct.__private__.getDocumentProperty=function(ct){if(Object.keys(yu).indexOf(ct)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return yu[ct]},Ct.__private__.getDocumentProperties=function(){return yu},Ct.__private__.setDocumentProperties=Ct.setProperties=Ct.setDocumentProperties=function(ct){for(var an in yu)yu.hasOwnProperty(an)&&ct[an]&&(yu[an]=ct[an]);return this},Ct.__private__.setDocumentProperty=function(ct,an){if(Object.keys(yu).indexOf(ct)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return yu[ct]=an};var Os,nu,Ws,Yd,qu,mu={},bu={},gd=[],Ys={},Yc={},kl={},Gl={},Oc=null,Rl=0,cl=[],vc=new Wm(Ct),Dp=E.hotfixes||[],pA={},Q0={},A0=[],vl=function ct(an,$n,kr,ai,ha,Ua){if(!(this instanceof ct))return new ct(an,$n,kr,ai,ha,Ua);isNaN(an)&&(an=1),isNaN($n)&&($n=0),isNaN(kr)&&(kr=0),isNaN(ai)&&(ai=1),isNaN(ha)&&(ha=0),isNaN(Ua)&&(Ua=0),this._matrix=[an,$n,kr,ai,ha,Ua]};Object.defineProperty(vl.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(vl.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(vl.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(vl.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(vl.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(vl.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(vl.prototype,"a",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(vl.prototype,"b",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(vl.prototype,"c",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(vl.prototype,"d",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(vl.prototype,"e",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(vl.prototype,"f",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(vl.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(vl.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(vl.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(vl.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),vl.prototype.join=function(ct){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Yr).join(ct)},vl.prototype.multiply=function(ct){var an=ct.sx*this.sx+ct.shy*this.shx,$n=ct.sx*this.shy+ct.shy*this.sy,kr=ct.shx*this.sx+ct.sy*this.shx,ai=ct.shx*this.shy+ct.sy*this.sy,ha=ct.tx*this.sx+ct.ty*this.shx+this.tx,Ua=ct.tx*this.shy+ct.ty*this.sy+this.ty;return new vl(an,$n,kr,ai,ha,Ua)},vl.prototype.decompose=function(){var ct=this.sx,an=this.shy,$n=this.shx,kr=this.sy,ai=this.tx,ha=this.ty,Ua=Math.sqrt(ct*ct+an*an),Es=(ct/=Ua)*$n+(an/=Ua)*kr;$n-=ct*Es,kr-=an*Es;var Ts=Math.sqrt($n*$n+kr*kr);return Es/=Ts,ct*(kr/=Ts)>16&255,kr=Ts>>8&255,ai=255&Ts}if(kr===void 0||ha===void 0&&$n===kr&&kr===ai)an=typeof $n=="string"?$n+" "+Ua[0]:ct.precision===2?yn($n/255)+" "+Ua[0]:Gn($n/255)+" "+Ua[0];else if(ha===void 0||(0,he.Z)(ha)==="object"){if(ha&&!isNaN(ha.a)&&ha.a===0)return["1.","1.","1.",Ua[1]].join(" ");an=typeof $n=="string"?[$n,kr,ai,Ua[1]].join(" "):ct.precision===2?[yn($n/255),yn(kr/255),yn(ai/255),Ua[1]].join(" "):[Gn($n/255),Gn(kr/255),Gn(ai/255),Ua[1]].join(" ")}else an=typeof $n=="string"?[$n,kr,ai,ha,Ua[2]].join(" "):ct.precision===2?[yn($n),yn(kr),yn(ai),yn(ha),Ua[2]].join(" "):[Gn($n),Gn(kr),Gn(ai),Gn(ha),Ua[2]].join(" ");return an},Jf=Ct.__private__.getFilters=function(){return nt},mh=Ct.__private__.putStream=function(ct){var an=(ct=ct||{}).data||"",$n=ct.filters||Jf(),kr=ct.alreadyAppliedFilters||[],ai=ct.addLength1||!1,ha=an.length,Ua=ct.objectId,Es=function(Jc){return Jc};if(Et!==null&&Ua===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Et!==null&&(Es=mA.encryptor(Ua,0));var Ts={};$n===!0&&($n=["FlateEncode"]);var Ml=ct.additionalKeyValues||[],Xl=(Ts=Ls.API.processDataByFilters!==void 0?Ls.API.processDataByFilters(an,$n):{data:an,reverseChain:[]}).reverseChain+(Array.isArray(kr)?kr.join(" "):kr.toString());if(Ts.data.length!==0&&(Ml.push({key:"Length",value:Ts.data.length}),ai===!0&&Ml.push({key:"Length1",value:ha})),Xl.length!=0)if(Xl.split("/").length-1==1)Ml.push({key:"Filter",value:Xl});else{Ml.push({key:"Filter",value:"["+Xl+"]"});for(var Fs=0;Fs>"),Ts.data.length!==0&&(jn("stream"),jn(Es(Ts.data)),jn("endstream"))},Np=Ct.__private__.putPage=function(ct){var an=ct.number,$n=ct.data,kr=ct.objId,ai=ct.contentsObjId;Xc(kr,!0),jn("<>"),jn("endobj");var ha=$n.join(` `);return ar===Br&&(ha+=` Q`),Xc(ai,!0),mh({data:ha,filters:Jf(),objectId:ai}),jn("endobj"),kr},p0=Ct.__private__.putPages=function(){var ct,an,$n=[];for(ct=1;ct<=Rl;ct++)cl[ct].objId=rc(),cl[ct].contentsObjId=rc();for(ct=1;ct<=Rl;ct++)$n.push(Np({number:ct,data:so[ct],objId:cl[ct].objId,contentsObjId:cl[ct].contentsObjId,mediaBox:cl[ct].mediaBox,cropBox:cl[ct].cropBox,bleedBox:cl[ct].bleedBox,trimBox:cl[ct].trimBox,artBox:cl[ct].artBox,userUnit:cl[ct].userUnit,rootDictionaryObjId:h0,resourceDictionaryObjId:ph}));Xc(h0,!0),jn("<>"),jn("endobj"),vc.publish("postPutPages")},Op=function(ct){vc.publish("putFont",{font:ct,out:jn,newObject:Pd,putStream:mh}),ct.isAlreadyPutted!==!0&&(ct.objectNumber=Pd(),jn("<<"),jn("/Type /Font"),jn("/BaseFont /"+RA(ct.postScriptName)),jn("/Subtype /Type1"),typeof ct.encoding=="string"&&jn("/Encoding /"+ct.encoding),jn("/FirstChar 32"),jn("/LastChar 255"),jn(">>"),jn("endobj"))},Tp=function(ct){ct.objectNumber=Pd();var an=[];an.push({key:"Type",value:"/XObject"}),an.push({key:"Subtype",value:"/Form"}),an.push({key:"BBox",value:"["+[Yr(ct.x),Yr(ct.y),Yr(ct.x+ct.width),Yr(ct.y+ct.height)].join(" ")+"]"}),an.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"});var $n=ct.pages[1].join(` `);mh({data:$n,additionalKeyValues:an,objectId:ct.objectNumber}),jn("endobj")},gm=function(ct,an){an||(an=21);var $n=Pd(),kr=function(Ua,Es){var Ts,Ml=[],Xl=1/(Es-1);for(Ts=0;Ts<1;Ts+=Xl)Ml.push(Ts);if(Ml.push(1),Ua[0].offset!=0){var Fs={offset:0,color:Ua[0].color};Ua.unshift(Fs)}if(Ua[Ua.length-1].offset!=1){var kd={offset:1,color:Ua[Ua.length-1].color};Ua.push(kd)}for(var iA="",id=0,Jc=0;JcUa[id+1].offset;)id++;var aA=Ua[id].offset,KA=(Ts-aA)/(Ua[id+1].offset-aA),Y0=Ua[id].color,Wh=Ua[id+1].color;iA+=Pr(Math.round((1-KA)*Y0[0]+KA*Wh[0]).toString(16))+Pr(Math.round((1-KA)*Y0[1]+KA*Wh[1]).toString(16))+Pr(Math.round((1-KA)*Y0[2]+KA*Wh[2]).toString(16))}return iA.trim()}(ct.colors,an),ai=[];ai.push({key:"FunctionType",value:"0"}),ai.push({key:"Domain",value:"[0.0 1.0]"}),ai.push({key:"Size",value:"["+an+"]"}),ai.push({key:"BitsPerSample",value:"8"}),ai.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ai.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),mh({data:kr,additionalKeyValues:ai,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:$n}),jn("endobj"),ct.objectNumber=Pd(),jn("<< /ShadingType "+ct.type),jn("/ColorSpace /DeviceRGB");var ha="/Coords ["+Yr(parseFloat(ct.coords[0]))+" "+Yr(parseFloat(ct.coords[1]))+" ";ct.type===2?ha+=Yr(parseFloat(ct.coords[2]))+" "+Yr(parseFloat(ct.coords[3])):ha+=Yr(parseFloat(ct.coords[2]))+" "+Yr(parseFloat(ct.coords[3]))+" "+Yr(parseFloat(ct.coords[4]))+" "+Yr(parseFloat(ct.coords[5])),jn(ha+="]"),ct.matrix&&jn("/Matrix ["+ct.matrix.toString()+"]"),jn("/Function "+$n+" 0 R"),jn("/Extend [true true]"),jn(">>"),jn("endobj")},Pp=function(ct,an){var $n=rc(),kr=Pd();an.push({resourcesOid:$n,objectOid:kr}),ct.objectNumber=kr;var ai=[];ai.push({key:"Type",value:"/Pattern"}),ai.push({key:"PatternType",value:"1"}),ai.push({key:"PaintType",value:"1"}),ai.push({key:"TilingType",value:"1"}),ai.push({key:"BBox",value:"["+ct.boundingBox.map(Yr).join(" ")+"]"}),ai.push({key:"XStep",value:Yr(ct.xStep)}),ai.push({key:"YStep",value:Yr(ct.yStep)}),ai.push({key:"Resources",value:$n+" 0 R"}),ct.matrix&&ai.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"}),mh({data:ct.stream,additionalKeyValues:ai,objectId:ct.objectNumber}),jn("endobj")},Ym=function(ct){for(var an in ct.objectNumber=Pd(),jn("<<"),ct)switch(an){case"opacity":jn("/ca "+yn(ct[an]));break;case"stroke-opacity":jn("/CA "+yn(ct[an]))}jn(">>"),jn("endobj")},Xm=function(ct){Xc(ct.resourcesOid,!0),jn("<<"),jn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var an in jn("/Font <<"),mu)mu.hasOwnProperty(an)&&(en===!1||en===!0&&sn.hasOwnProperty(an))&&jn("/"+an+" "+mu[an].objectNumber+" 0 R");jn(">>")}(),function(){if(Object.keys(Ys).length>0){for(var an in jn("/Shading <<"),Ys)Ys.hasOwnProperty(an)&&Ys[an]instanceof l0&&Ys[an].objectNumber>=0&&jn("/"+an+" "+Ys[an].objectNumber+" 0 R");vc.publish("putShadingPatternDict"),jn(">>")}}(),function(an){if(Object.keys(Ys).length>0){for(var $n in jn("/Pattern <<"),Ys)Ys.hasOwnProperty($n)&&Ys[$n]instanceof Ct.TilingPattern&&Ys[$n].objectNumber>=0&&Ys[$n].objectNumber>")}}(ct.objectOid),function(){if(Object.keys(kl).length>0){var an;for(an in jn("/ExtGState <<"),kl)kl.hasOwnProperty(an)&&kl[an].objectNumber>=0&&jn("/"+an+" "+kl[an].objectNumber+" 0 R");vc.publish("putGStateDict"),jn(">>")}}(),function(){for(var an in jn("/XObject <<"),pA)pA.hasOwnProperty(an)&&pA[an].objectNumber>=0&&jn("/"+an+" "+pA[an].objectNumber+" 0 R");vc.publish("putXobjectDict"),jn(">>")}(),jn(">>"),jn("endobj")},wg=function(ct){bu[ct.fontName]=bu[ct.fontName]||{},bu[ct.fontName][ct.fontStyle]=ct.id},xg=function(ct,an,$n,kr,ai){var ha={id:"F"+(Object.keys(mu).length+1).toString(10),postScriptName:ct,fontName:an,fontStyle:$n,encoding:kr,isStandardFont:ai||!1,metadata:{}};return vc.publish("addFont",{font:ha,instance:this}),mu[ha.id]=ha,wg(ha),ha.id},If=Ct.__private__.pdfEscape=Ct.pdfEscape=function(ct,an){return function($n,kr){var ai,ha,Ua,Es,Ts,Ml,Xl,Fs,kd;if(Ua=(kr=kr||{}).sourceEncoding||"Unicode",Ts=kr.outputEncoding,(kr.autoencode||Ts)&&mu[Os].metadata&&mu[Os].metadata[Ua]&&mu[Os].metadata[Ua].encoding&&(Es=mu[Os].metadata[Ua].encoding,!Ts&&mu[Os].encoding&&(Ts=mu[Os].encoding),!Ts&&Es.codePages&&(Ts=Es.codePages[0]),typeof Ts=="string"&&(Ts=Es[Ts]),Ts)){for(Xl=!1,Ml=[],ai=0,ha=$n.length;ai>8&&(Xl=!0);$n=Ml.join("")}for(ai=$n.length;Xl===void 0&&ai!==0;)$n.charCodeAt(ai-1)>>8&&(Xl=!0),ai--;if(!Xl)return $n;for(Ml=kr.noBOM?[]:[254,255],ai=0,ha=$n.length;ai>8)>>8)throw new Error("Character at position "+ai+" of string '"+$n+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ml.push(kd),Ml.push(Fs-(kd<<8))}return String.fromCharCode.apply(void 0,Ml)}(ct,an).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Rp=Ct.__private__.beginPage=function(ct){so[++Rl]=[],cl[Rl]={objId:0,contentsObjId:0,userUnit:Number(Ge),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ct[0]),topRightY:Number(ct[1])}},vm(Rl),Gs(so[rr])},Jm=function(ct,an){var $n,kr,ai;switch(te=an||te,typeof ct=="string"&&($n=wn(ct.toLowerCase()),Array.isArray($n)&&(kr=$n[0],ai=$n[1])),Array.isArray(ct)&&(kr=ct[0]*nu,ai=ct[1]*nu),isNaN(kr)&&(kr=ge[0],ai=ge[1]),(kr>14400||ai>14400)&&(hu.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),kr=Math.min(14400,kr),ai=Math.min(14400,ai)),ge=[kr,ai],te.substr(0,1)){case"l":ai>kr&&(ge=[ai,kr]);break;case"p":kr>ai&&(ge=[ai,kr])}Rp(ge),Yl(Bm),jn(Sm),zp!==0&&jn(zp+" J"),ng!==0&&jn(ng+" j"),vc.publish("addPage",{pageNumber:Rl})},qm=function(ct){ct>0&&ct<=Rl&&(so.splice(ct,1),cl.splice(ct,1),Rl--,rr>Rl&&(rr=Rl),this.setPage(rr))},vm=function(ct){ct>0&&ct<=Rl&&(rr=ct)},ym=Ct.__private__.getNumberOfPages=Ct.getNumberOfPages=function(){return so.length-1},$m=function(ct,an,$n){var kr,ai=void 0;return $n=$n||{},ct=ct!==void 0?ct:mu[Os].fontName,an=an!==void 0?an:mu[Os].fontStyle,kr=ct.toLowerCase(),bu[kr]!==void 0&&bu[kr][an]!==void 0?ai=bu[kr][an]:bu[ct]!==void 0&&bu[ct][an]!==void 0?ai=bu[ct][an]:$n.disableWarning===!1&&hu.warn("Unable to look up font label for font '"+ct+"', '"+an+"'. Refer to getFontList() for available fonts."),ai||$n.noFallback||(ai=bu.times[an])==null&&(ai=bu.times.normal),ai},lf=Ct.__private__.putInfo=function(){var ct=Pd(),an=function(kr){return kr};for(var $n in Et!==null&&(an=mA.encryptor(ct,0)),jn("<<"),jn("/Producer ("+If(an("jsPDF "+Ls.version))+")"),yu)yu.hasOwnProperty($n)&&yu[$n]&&jn("/"+$n.substr(0,1).toUpperCase()+$n.substr(1)+" ("+If(an(yu[$n]))+")");jn("/CreationDate ("+If(an(Fi))+")"),jn(">>"),jn("endobj")},m0=Ct.__private__.putCatalog=function(ct){var an=(ct=ct||{}).rootDictionaryObjId||h0;switch(Pd(),jn("<<"),jn("/Type /Catalog"),jn("/Pages "+an+" 0 R"),ul||(ul="fullwidth"),ul){case"fullwidth":jn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":jn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":jn("/OpenAction [3 0 R /Fit]");break;case"original":jn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var $n=""+ul;$n.substr($n.length-1)==="%"&&(ul=parseInt(ul)/100),typeof ul=="number"&&jn("/OpenAction [3 0 R /XYZ null null "+yn(ul)+"]")}switch(Pu||(Pu="continuous"),Pu){case"continuous":jn("/PageLayout /OneColumn");break;case"single":jn("/PageLayout /SinglePage");break;case"two":case"twoleft":jn("/PageLayout /TwoColumnLeft");break;case"tworight":jn("/PageLayout /TwoColumnRight")}il&&jn("/PageMode /"+il),vc.publish("putCatalog"),jn(">>"),jn("endobj")},bm=Ct.__private__.putTrailer=function(){jn("trailer"),jn("<<"),jn("/Size "+(ti+1)),jn("/Root "+ti+" 0 R"),jn("/Info "+(ti-1)+" 0 R"),Et!==null&&jn("/Encrypt "+mA.oid+" 0 R"),jn("/ID [ <"+zi+"> <"+zi+"> ]"),jn(">>")},Rd=Ct.__private__.putHeader=function(){jn("%PDF-"+Hn),jn("%\xBA\xDF\xAC\xE0")},eg=Ct.__private__.putXRef=function(){var ct="0000000000";jn("xref"),jn("0 "+(ti+1)),jn("0000000000 65535 f ");for(var an=1;an<=ti;an++)typeof pi[an]=="function"?jn((ct+pi[an]()).slice(-10)+" 00000 n "):pi[an]!==void 0?jn((ct+pi[an]).slice(-10)+" 00000 n "):jn("0000000000 00000 n ")},g0=Ct.__private__.buildDocument=function(){var ct;ti=0,Ui=0,Ti=[],pi=[],ya=[],h0=rc(),ph=rc(),Gs(Ti),vc.publish("buildDocument"),Rd(),p0(),function(){vc.publish("putAdditionalObjects");for(var $n=0;$n"),jn("/O <"+mA.toHexString(mA.O)+">"),jn("/P "+mA.P),jn(">>"),jn("endobj")),lf(),m0();var an=Ui;return eg(),bm(),jn("startxref"),jn(""+an),jn("%%EOF"),Gs(so[rr]),Ti.join(` `)},Up=Ct.__private__.getBlob=function(ct){return new Blob([pu(ct)],{type:"application/pdf"})},Cg=Ct.output=Ct.__private__.output=(Yf=function(ct,an){switch(typeof(an=an||{})=="string"?an={filename:an}:an.filename=an.filename||"generated.pdf",ct){case void 0:return g0();case"save":Ct.save(an.filename);break;case"arraybuffer":return pu(g0());case"blob":return Up(g0());case"bloburi":case"bloburl":if(Us.URL!==void 0&&typeof Us.URL.createObjectURL=="function")return Us.URL&&Us.URL.createObjectURL(Up(g0()))||void 0;hu.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var $n="",kr=g0();try{$n=gc(kr)}catch(iA){$n=gc(unescape(encodeURIComponent(kr)))}return"data:application/pdf;filename="+an.filename+";base64,"+$n;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Us)==="[object Window]"){var ai="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ha=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';an.pdfObjectUrl&&(ai=an.pdfObjectUrl,ha="");var Ua='